function escape(n){var t=n;return t=t.replace(/&/g,"&amp;"),t=t.replace(/</g,"&lt;"),t=t.replace(/>/g,"&gt;"),t.replace(/"/g,"&quot;")}function diffString(n,t){var f,r,o;n=n.replace(/\s+$/,"");t=t.replace(/\s+$/,"");var i=diff(n==""?[]:n.split(/\s+/),t==""?[]:t.split(/\s+/)),e="",u=n.match(/\s+/g);if(u==null?u=["\n"]:u.push("\n"),f=t.match(/\s+/g),f==null?f=["\n"]:f.push("\n"),i.n.length==0)for(r=0;r<i.o.length;r++)e+="<del>"+escape(i.o[r])+u[r]+"<\/del>";else{if(i.n[0].text==null)for(t=0;t<i.o.length&&i.o[t].text==null;t++)e+="<del>"+escape(i.o[t])+u[t]+"<\/del>";for(r=0;r<i.n.length;r++)if(i.n[r].text==null)e+="<ins>"+escape(i.n[r])+f[r]+"<\/ins>";else{for(o="",t=i.n[r].row+1;t<i.o.length&&i.o[t].text==null;t++)o+="<del>"+escape(i.o[t])+u[t]+"<\/del>";e+=" "+i.n[r].text+f[r]+o}}return e}function randomColor(){return"rgb("+Math.random()*100+"%, "+Math.random()*100+"%, "+Math.random()*100+"%)"}function diffString2(n,t){var r,u,f,e,s,o,i;for(n=n.replace(/\s+$/,""),t=t.replace(/\s+$/,""),r=diff(n==""?[]:n.split(/\s+/),t==""?[]:t.split(/\s+/)),u=n.match(/\s+/g),u==null?u=["\n"]:u.push("\n"),f=t.match(/\s+/g),f==null?f=["\n"]:f.push("\n"),e="",s=[],i=0;i<r.o.length;i++)s[i]=randomColor(),e+=r.o[i].text!=null?escape(r.o[i].text)+u[i]:"<del>"+escape(r.o[i])+u[i]+"<\/del>";for(o="",i=0;i<r.n.length;i++)o+=r.n[i].text!=null?escape(r.n[i].text)+f[i]:"<ins>"+escape(r.n[i])+f[i]+"<\/ins>";return{o:e,n:o}}function diff(n,t){for(var r={},u={},i=0;i<t.length;i++)r[t[i]]==null&&(r[t[i]]={rows:[],o:null}),r[t[i]].rows.push(i);for(i=0;i<n.length;i++)u[n[i]]==null&&(u[n[i]]={rows:[],n:null}),u[n[i]].rows.push(i);for(i in r)r[i].rows.length==1&&typeof u[i]!="undefined"&&u[i].rows.length==1&&(t[r[i].rows[0]]={text:t[r[i].rows[0]],row:u[i].rows[0]},n[u[i].rows[0]]={text:n[u[i].rows[0]],row:r[i].rows[0]});for(i=0;i<t.length-1;i++)t[i].text!=null&&t[i+1].text==null&&t[i].row+1<n.length&&n[t[i].row+1].text==null&&t[i+1]==n[t[i].row+1]&&(t[i+1]={text:t[i+1],row:t[i].row+1},n[t[i].row+1]={text:n[t[i].row+1],row:i+1});for(i=t.length-1;i>0;i--)t[i].text!=null&&t[i-1].text==null&&t[i].row>0&&n[t[i].row-1].text==null&&t[i-1]==n[t[i].row-1]&&(t[i-1]={text:t[i-1],row:t[i].row-1},n[t[i].row-1]={text:n[t[i].row-1],row:i-1});return{o:n,n:t}}function formatState(n){if(!n.id||$($(n.element).data("content")).length===0)return n.text;return $($(n.element).data("content"))}function doClick(n,t){var r,i;r=window.event?window.event.keyCode:t.which;r==13&&(i=document.getElementById(n),i!=null&&(t.preventDefault(),i.click(),event.keyCode=0))}function toggleSelection(n){$("input[id*='Compare']:checked").length>2&&(n.checked=!1,bootbox.alert("Only 2 Versions can be selected vor comparing!"))}function RenderMessageDiff(n,t){var i=$("input[id*='Compare']:checked").first(),r=$("input[id*='Compare']:checked").eq(1);if(r.length&&i.length){var u=difflib.stringAsLines(i.parent().next().attr("value")),f=difflib.stringAsLines(r.parent().next().attr("value")),e=new difflib.SequenceMatcher(u,f),o=e.get_opcodes();$("#diffContent").html('<div class="diffContent table-responsive">'+diffview.buildView({baseTextLines:u,newTextLines:f,opcodes:o,baseTextName:i.parent().parent().next()[0].outerText,newTextName:r.parent().parent().next()[0].outerText,contextSize:3,viewType:1}).outerHTML+"<\/div>")}else r.length||i.length?bootbox.alert(t):bootbox.alert(n)}function getAlbumImagesData(n,t,i){var f=$("#PostAlbumsListPlaceholder").data("userid"),r={},u;r.UserId=f;r.PageSize=n;r.PageNumber=t;u=$("#PostAlbumsListPlaceholder").data("url")+"api/Album/GetAlbumImages";$.ajax({url:u,type:"POST",data:JSON.stringify(r),contentType:"application/json; charset=utf-8",success:function(r){if($("#PostAlbumsListPlaceholder ul").empty(),$("#PostAlbumsLoader").hide(),r.AttachmentList.length===0){var u=$("#PostAlbumsListPlaceholder ul"),f=$("#PostAlbumsListPlaceholder").data("notext");u.append('<li><div class="alert alert-info text-break" role="alert" style="white-space:normal">'+f+"<\/div><\/li>")}$.each(r.AttachmentList,function(n,t){var r=$("#PostAlbumsListPlaceholder ul"),i=$('<li class="list-group-item" style="white-space: nowrap; cursor: pointer;" />');i.attr("onclick",t.OnClick);t.DataURL&&(i.attr("title",'<img src="'+t.DataURL+'" style="max-width:200px" />'),i.attr("data-toggle","tooltip"));i.append(t.IconImage);r.append(i)});setPageNumberAlbums(n,t,r.TotalRecords);i&&jQuery(".albums-toggle").dropdown("toggle");jQuery("#PostAlbumsListPlaceholder ul li").tooltip({html:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner" style="max-width:250px"><\/div><\/div>',placement:"top"})},error:function(n,t,i){console.log(n);console.log(i);$("#PostAlbumsLoader").hide();$("#PostAlbumsListPlaceholder").html(n.statusText).fadeIn(1e3)}})}function setPageNumberAlbums(n,t,i){var f=Math.ceil(i/n),s=$("#AlbumsListPager"),r=$('<ul class="pagination pagination-sm" />'),e,o,u;for(s.empty(),r.wrap('<nav aria-label="Albums Page Results" />'),t>0&&r.append('<li class="page-item"><a href="javascript:getAlbumImagesData('+n+","+(t-1)+","+i+',true)" class="page-link"><i class="fas fa-angle-left"><\/i><\/a><\/li>'),e=t-2,o=t+3,e<0&&(e=0),o>f&&(o=f),e>0&&(r.append('<li class="page-item"><a href="javascript:getAlbumImagesData('+n+",0,"+i+', true);" class="page-link">1<\/a><\/li>'),r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>')),u=e;u<o;u++)u===t?r.append('<li class="page-item active"><span class="page-link">'+(u+1)+"<\/span>"):r.append('<li class="page-item"><a href="javascript:getAlbumImagesData('+n+","+u+","+i+',true);" class="page-link">'+(u+1)+"<\/a><\/li>");o<f&&(r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>'),r.append('<li class="page-item"><a href="javascript:getAlbumImagesData('+n+","+(f-1)+","+i+',true)" class="page-link">'+f+"<\/a><\/li>"));t<f-1&&r.append('<li class="page-item"><a href="javascript:getAlbumImagesData('+n+","+(t+1)+","+i+',true)" class="page-link"><i class="fas fa-angle-right"><\/i><\/a><\/li>');s.append(r)}function getPaginationData(n,t,i){var f=$("#PostAttachmentListPlaceholder").data("userid"),r={},u;r.UserId=f;r.PageSize=n;r.PageNumber=t;u=$("#PostAttachmentListPlaceholder").data("url")+"api/Attachment/GetAttachments";$.ajax({type:"POST",url:u,data:JSON.stringify(r),contentType:"application/json; charset=utf-8",dataType:"json",success:function(r){if($("#PostAttachmentListPlaceholder ul").empty(),$("#PostAttachmentLoader").hide(),r.AttachmentList.length===0){var u=$("#PostAttachmentListPlaceholder ul"),f=$("#PostAttachmentListPlaceholder").data("notext");u.append('<li><div class="alert alert-info text-break" role="alert" style="white-space:normal">'+f+"<\/div><\/li>")}$.each(r.AttachmentList,function(n,t){var r=$("#PostAttachmentListPlaceholder ul"),i=$('<li class="list-group-item" style="white-space: nowrap; cursor: pointer;" />');i.attr("onclick",t.OnClick);t.DataURL&&(i.attr("title",'<img src="'+t.DataURL+'" class="img-thumbnail" />'),i.attr("data-toggle","tooltip"));i.append(t.IconImage);r.append(i)});setPageNumberAttach(n,t,r.TotalRecords);i&&jQuery(".attachments-toggle").dropdown("toggle");jQuery("#PostAttachmentListPlaceholder ul li").tooltip({html:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner" style="max-width:250px"><\/div><\/div>',placement:"top"})},error:function(n){$("#PostAttachmentLoader").hide();$("#PostAttachmentListPlaceholder").html(n.statusText).fadeIn(1e3)}})}function setPageNumberAttach(n,t,i){var f=Math.ceil(i/n),s=$("#AttachmentsListPager"),r=$('<ul class="pagination pagination-sm" />'),e,o,u;for(s.empty(),r.wrap('<nav aria-label="Attachments Page Results" />'),t>0&&r.append('<li class="page-item"><a href="javascript:getPaginationData('+n+","+(t-1)+","+i+',true)" class="page-link"><i class="fas fa-angle-left"><\/i><\/a><\/li>'),e=t-2,o=t+3,e<0&&(e=0),o>f&&(o=f),e>0&&(r.append('<li class="page-item"><a href="javascript:getPaginationData('+n+",0,"+i+', true);" class="page-link">1<\/a><\/li>'),r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>')),u=e;u<o;u++)u===t?r.append('<li class="page-item active"><span class="page-link">'+(u+1)+"<\/span>"):r.append('<li class="page-item"><a href="javascript:getPaginationData('+n+","+u+","+i+',true);" class="page-link">'+(u+1)+"<\/a><\/li>");o<f&&(r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>'),r.append('<li class="page-item"><a href="javascript:getPaginationData('+n+","+(f-1)+","+i+',true)" class="page-link">'+f+"<\/a><\/li>"));t<f-1&&r.append('<li class="page-item"><a href="javascript:getPaginationData('+n+","+(t+1)+","+i+',true)" class="page-link"><i class="fas fa-angle-right"><\/i><\/a><\/li>');s.append(r)}function getNotifyData(n,t,i){var f=$("#NotifyListPlaceholder").data("userid"),r={},u;r.UserId=f;r.PageSize=n;r.PageNumber=t;u=$("#NotifyListPlaceholder").data("url")+"api/Notify/GetNotifications";$.ajax({type:"POST",url:u,data:JSON.stringify(r),contentType:"application/json; charset=utf-8",dataType:"json",success:function(r){$("#NotifyListPlaceholder ul").empty();$("#Loader").hide();r.AttachmentList.length>0&&($("#MarkRead").removeClass("d-none").addClass("d-block"),$.each(r.AttachmentList,function(n,t){var r=$("#NotifyListPlaceholder ul"),i=$('<li class="list-group-item list-group-item-action small text-wrap" style="width:15rem;" />');i.append(t.FileName);r.append(i)}),setPageNumberNotify(n,t,r.TotalRecords),i&&jQuery(".notify-toggle").dropdown("toggle"))},error:function(n){$("#Loader").hide();$("#NotifyListPlaceholder").html(n.statusText).fadeIn(1e3)}})}function setPageNumberNotify(n,t,i){var f=Math.ceil(i/n),s=$("#NotifyListPager"),r=$('<ul class="pagination pagination-sm" />'),e,o,u;for(s.empty(),r.wrap('<nav aria-label="Attachments Page Results" />'),t>0&&r.append('<li class="page-item"><a href="javascript:getNotifyData('+n+","+(t-1)+","+i+',true)" class="page-link"><i class="fas fa-angle-left"><\/i><\/a><\/li>'),e=t-2,o=t+3,e<0&&(e=0),o>f&&(o=f),e>0&&(r.append('<li class="page-item"><a href="javascript:getNotifyData('+n+",0,"+i+', true);" class="page-link">1<\/a><\/li>'),r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>')),u=e;u<o;u++)u===t?r.append('<li class="page-item active"><span class="page-link">'+(u+1)+"<\/span>"):r.append('<li class="page-item"><a href="javascript:getNotifyData('+n+","+u+","+i+',true);" class="page-link">'+(u+1)+"<\/a><\/li>");o<f&&(r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>'),r.append('<li class="page-item"><a href="javascript:getNotifyData('+n+","+(f-1)+","+i+',true)" class="page-link">'+f+"<\/a><\/li>"));t<f-1&&r.append('<li class="page-item"><a href="javascript:getNotifyData('+n+","+(t+1)+","+i+',true)" class="page-link"><i class="fas fa-angle-right"><\/i><\/a><\/li>');s.append(r)}function getSearchResultsData(n){var i=jQuery(".searchInput").val(),u=jQuery(".searchUserInput").val(),f=jQuery(".searchTagInput").val(),c=jQuery(".searchUserInput").data("display")==="True",l=jQuery(".resultsPage").val(),v=jQuery(".titleOnly").val(),e=jQuery(".searchWhat").val(),o=jQuery("#SearchResultsPlaceholder").data("minimum"),y=parseInt(jQuery(".searchForum").val()),t="",s,h,r,a;(i.length&&i.length>=o||u.length&&u.length>=o||f.length&&f.length>=o)&&(i.length&&i.length>=o&&(v==="1"?e==="0"?(s=i,t+=" Topic: ("+s.replace(/(^|\s+)/g,"$1+")+")"):e==="1"?t+=" Topic: "+i:e==="2"&&(t+=' Topic:"'+i+'"'):e==="0"?(s=i,t+="("+s.replace(/(^|\s+)/g,"$1+")+")"):e==="1"?t+=""+i:e==="2"&&(t+='"'+i+'"')),u.length&&u.length>=o&&(h=c?"AuthorDisplay":"Author",t.length&&(t+=" "),i.length?t+="AND "+h+":"+u:t="+"+h+":"+u),f.length&&f.length>=o&&(t.length&&(t+=" "),i.length?t+="AND TopicTags:"+f:t="+TopicTags:"+f),r={},r.ForumId=y,r.UserId=$("#SearchResultsPlaceholder").data("userid"),r.PageSize=l,r.Page=n,r.SearchTerm=t,a=$("#SearchResultsPlaceholder").data("url")+"api/Search/GetSearchResults",$.ajax({type:"POST",url:a,data:JSON.stringify(r),contentType:"application/json; charset=utf-8",dataType:"json",beforeSend:function(){$("#SearchResultsPlaceholder").empty();$("#loadModal").modal("show")},complete:function(){$("#loadModal").modal("hide")},success:function(t){var i,r;$("#loadModal").on("shown.bs.modal",function(){$("#loadModal").modal("hide")});var u=$("#SearchResultsPlaceholder").data("posted"),f=$("#SearchResultsPlaceholder").data("by"),e=$("#SearchResultsPlaceholder").data("lastpost"),o=$("#SearchResultsPlaceholder").data("topic");t.SearchResults.length===0?(i=$("#SearchResultsPlaceholder"),r=$("#SearchResultsPlaceholder").data("notext"),i.append('<div class="alert alert-warning text-center mt-3" role="alert">'+r+"<\/div>"),$("#SearchResultsPagerTop, #SearchResultsPagerBottom").empty()):($.each(t.SearchResults,function(n,t){var s=$("#SearchResultsPlaceholder"),i=" ",r;t.TopicTags&&(r=t.TopicTags.split(","),$(r).each(function(n,t){i+="<span class='badge badge-secondary mr-1'><i class='fas fa-tag mr-1'><\/i>"+t+"<\/span>"}));s.append('<div class="row"><div class="col"><div class="card border-0 w-100 mb-3"><div class="card-header bg-transparent border-top border-bottom-0 px-0 pb-0 pt-4 topicTitle"><h5> <a title="'+o+'" href="'+t.TopicUrl+'">'+t.Topic+'<\/a>&nbsp;<a title="'+e+'" href="'+t.MessageUrl+'"><i class="fas fa-external-link-alt"><\/i><\/a> <small class="text-muted">(<a href="'+t.ForumUrl+'">'+t.ForumName+'<\/a>)<\/small><\/h5><\/div><div class="card-body px-0"><h6 class="card-subtitle mb-2 text-muted">'+t.Description+'<\/h6><p class="card-text messageContent">'+t.Message+'<\/p><\/div><div class="card-footer bg-transparent border-top-0 px-0 py-2"> <small class="text-muted"><span class="fa-stack"><i class="fa fa-calendar-day fa-stack-1x text-secondary"><\/i><i class="fa fa-circle fa-badge-bg fa-inverse fa-outline-inverse"><\/i> <i class="fa fa-clock fa-badge text-secondary"><\/i> <\/span>'+u+" "+moment(t.Posted).fromNow()+' <i class="fa fa-user fa-fw text-secondary"><\/i>'+f+" "+(c?t.UserDisplayName:t.UserName)+i+"<\/small> <\/div><\/div><\/div><\/div>")}),setPageNumber(l,n,t.TotalRecords))},error:function(n){console.log(n);$("#SearchResultsPlaceholder").html(n.responseText).fadeIn(1e3)}}))}function setPageNumber(n,t,i){var f=Math.ceil(i/n),s=$("#SearchResultsPagerTop, #SearchResultsPagerBottom"),r=$('<ul class="pagination" />'),e,o,u;for(s.empty(),r.wrap('<nav aria-label="Search Page Results" />'),t>0&&r.append('<li class="page-item"><a href="javascript:getSearchResultsData('+(t-1)+')" class="page-link"><i class="fas fas fa-angle-left" aria-hidden="true"><\/i><\/a><\/li>'),e=t-2,o=t+3,e<0&&(e=0),o>f&&(o=f),e>0&&(r.append('<li class="page-item"><a href="javascript:getSearchResultsData(0);" class="page-link">1<\/a><\/li>'),r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>')),u=e;u<o;u++)u===t?r.append('<li class="page-item active"><span class="page-link">'+(u+1)+"<\/span>"):r.append('<li class="page-item"><a href="javascript:getSearchResultsData('+u+');" class="page-link">'+(u+1)+"<\/a><\/li>");o<f&&(r.append('<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">...<\/a><\/li>'),r.append('<li class="page-item"><a href="javascript:getSearchResultsData('+(f-1)+')" class="page-link">'+f+"<\/a><\/li>"));t<f-1&&r.append('<li class="page-item"><a href="javascript:getSearchResultsData('+(t+1)+')" class="page-link"><i class="fas fas fa-angle-right" aria-hidden="true"><\/i><\/a><\/li>');s.append(r)}(function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.moment=t()})(this,function(){"use strict";function n(){return ds.apply(null,arguments)}function ky(n){ds=n}function ti(n){return n instanceof Array||Object.prototype.toString.call(n)==="[object Array]"}function ou(n){return n!=null&&Object.prototype.toString.call(n)==="[object Object]"}function dy(n){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(n).length===0;for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function b(n){return n===void 0}function gi(n){return typeof n=="number"||Object.prototype.toString.call(n)==="[object Number]"}function gu(n){return n instanceof Date||Object.prototype.toString.call(n)==="[object Date]"}function gs(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function li(n,t){for(var i in t)l(t,i)&&(n[i]=t[i]);return l(t,"toString")&&(n.toString=t.toString),l(t,"valueOf")&&(n.valueOf=t.valueOf),n}function ii(n,t,i,r){return nl(n,t,i,r,!0).utc()}function gy(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function u(n){return n._pf==null&&(n._pf=gy()),n._pf}function ye(n){if(n._isValid==null){var t=u(n),r=nh.call(t.parsedDateParts,function(n){return n!=null}),i=!isNaN(n._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(n._strict&&(i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined),Object.isFrozen!=null&&Object.isFrozen(n))return i;n._isValid=i}return n._isValid}function nf(n){var t=ii(NaN);return n!=null?li(u(t),n):u(t).userInvalidated=!0,t}function pe(n,t){var i,r,f;if(b(t._isAMomentObject)||(n._isAMomentObject=t._isAMomentObject),b(t._i)||(n._i=t._i),b(t._f)||(n._f=t._f),b(t._l)||(n._l=t._l),b(t._strict)||(n._strict=t._strict),b(t._tzm)||(n._tzm=t._tzm),b(t._isUTC)||(n._isUTC=t._isUTC),b(t._offset)||(n._offset=t._offset),b(t._pf)||(n._pf=u(t)),b(t._locale)||(n._locale=t._locale),tf.length>0)for(i=0;i<tf.length;i++)r=tf[i],f=t[r],b(f)||(n[r]=f);return n}function su(t){pe(this,t);this._d=new Date(t._d!=null?t._d.getTime():NaN);this.isValid()||(this._d=new Date(NaN));rf===!1&&(rf=!0,n.updateOffset(this),rf=!1)}function ri(n){return n instanceof su||n!=null&&n._isAMomentObject!=null}function d(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function f(n){var t=+n,i=0;return t!==0&&isFinite(t)&&(i=d(t)),i}function th(n,t,i){for(var e=Math.min(n.length,t.length),o=Math.abs(n.length-t.length),u=0,r=0;r<e;r++)(i&&n[r]!==t[r]||!i&&f(n[r])!==f(t[r]))&&u++;return u+o}function ih(t){n.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function g(t,i){var r=!0;return li(function(){var e,u,f,o;if(n.deprecationHandler!=null&&n.deprecationHandler(null,t),r){for(e=[],f=0;f<arguments.length;f++){if(u="",typeof arguments[f]=="object"){u+="\n["+f+"] ";for(o in arguments[0])u+=o+": "+arguments[0][o]+", ";u=u.slice(0,-2)}else u=arguments[f];e.push(u)}ih(t+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);r=!1}return i.apply(this,arguments)},i)}function rh(t,i){n.deprecationHandler!=null&&n.deprecationHandler(t,i);we[t]||(ih(i),we[t]=!0)}function at(n){return n instanceof Function||Object.prototype.toString.call(n)==="[object Function]"}function np(n){var t;for(var i in n)t=n[i],at(t)?this[i]=t:this["_"+i]=t;this._config=n;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function uh(n,t){var r=li({},n);for(var i in t)l(t,i)&&(ou(n[i])&&ou(t[i])?(r[i]={},li(r[i],n[i]),li(r[i],t[i])):t[i]!=null?r[i]=t[i]:delete r[i]);for(i in n)l(n,i)&&!l(t,i)&&ou(n[i])&&(r[i]=li({},r[i]));return r}function be(n){n!=null&&this.set(n)}function tp(n,t,i){var r=this._calendar[n]||this._calendar.sameElse;return at(r)?r.call(t,i):r}function ip(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n])}function rp(){return this._invalidDate}function up(n){return this._ordinal.replace("%d",n)}function fp(n,t,i,r){var u=this._relativeTime[i];return at(u)?u(n,t,i,r):u.replace(/%d/i,n)}function ep(n,t){var i=this._relativeTime[n>0?"future":"past"];return at(i)?i(t):i.replace(/%s/i,t)}function p(n,t){var i=n.toLowerCase();hr[i]=hr[i+"s"]=hr[t]=n}function nt(n){return typeof n=="string"?hr[n]||hr[n.toLowerCase()]:undefined}function ke(n){var r={},t;for(var i in n)l(n,i)&&(t=nt(i),t&&(r[t]=n[i]));return r}function w(n,t){de[n]=t}function op(n){var t=[];for(var i in n)t.push({unit:i,priority:de[i]});return t.sort(function(n,t){return n.priority-t.priority}),t}function ei(n,t,i){var r=""+Math.abs(n),u=t-r.length,f=n>=0;return(f?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function r(n,t,i,r){var u=r;typeof r=="string"&&(u=function(){return this[r]()});n&&(cr[n]=u);t&&(cr[t[0]]=function(){return ei(u.apply(this,arguments),t[1],t[2])});i&&(cr[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function sp(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function hp(n){for(var t=n.match(ah),i=0,r=t.length;i<r;i++)t[i]=cr[t[i]]?cr[t[i]]:sp(t[i]);return function(i){for(var f="",u=0;u<r;u++)f+=at(t[u])?t[u].call(i,n):t[u];return f}}function ff(n,t){return n.isValid()?(t=vh(t,n.localeData()),ge[t]=ge[t]||hp(t),ge[t](n)):n.localeData().invalidDate()}function vh(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(uf.lastIndex=0;i>=0&&uf.test(n);)n=n.replace(uf,r),uf.lastIndex=0,i-=1;return n}function i(n,t,i){io[n]=at(t)?t:function(n){return n&&i?i:t}}function lp(n,t){return l(io,n)?io[n](t._strict,t._locale):new RegExp(ap(n))}function ap(n){return nr(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u}))}function nr(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function h(n,t){var i,r=t;for(typeof n=="string"&&(n=[n]),gi(t)&&(r=function(n,i){i[t]=f(n)}),i=0;i<n.length;i++)lf[n[i]]=r}function cu(n,t){h(n,function(n,i,r,u){r._w=r._w||{};t(n,r._w,r,u)})}function vp(n,t,i){t!=null&&l(lf,n)&&lf[n](t,i._a,i,n)}function lu(n){return af(n)?366:365}function af(n){return n%4==0&&n%100!=0||n%400==0}function wp(){return af(this.year())}function lr(t,i){return function(r){return r!=null?(kh(this,t,r),n.updateOffset(this,i),this):vf(this,t)}}function vf(n,t){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+t]():NaN}function kh(n,t,i){n.isValid()&&!isNaN(i)&&(t==="FullYear"&&af(n.year())&&n.month()===1&&n.date()===29?n._d["set"+(n._isUTC?"UTC":"")+t](i,n.month(),yf(i,n.month())):n._d["set"+(n._isUTC?"UTC":"")+t](i))}function bp(n){return(n=nt(n),at(this[n]))?this[n]():this}function kp(n,t){var r,i;if(typeof n=="object")for(n=ke(n),r=op(n),i=0;i<r.length;i++)this[r[i].unit](n[r[i].unit]);else if(n=nt(n),at(this[n]))return this[n](t);return this}function dp(n,t){return(n%t+t)%t}function yf(n,t){if(isNaN(n)||isNaN(t))return NaN;var i=dp(t,12);return n+=(t-i)/12,i===1?af(n)?29:28:31-i%7%2}function gp(n,t){return n?ti(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||uo).test(t)?"format":"standalone"][n.month()]:ti(this._months)?this._months:this._months.standalone}function nw(n,t){return n?ti(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[uo.test(t)?"format":"standalone"][n.month()]:ti(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function tw(n,t,i){var u,r,e,f=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],u=0;u<12;++u)e=ii([2e3,u]),this._shortMonthsParse[u]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[u]=this.months(e,"").toLocaleLowerCase();return i?t==="MMM"?(r=a.call(this._shortMonthsParse,f),r!==-1?r:null):(r=a.call(this._longMonthsParse,f),r!==-1?r:null):t==="MMM"?(r=a.call(this._shortMonthsParse,f),r!==-1)?r:(r=a.call(this._longMonthsParse,f),r!==-1?r:null):(r=a.call(this._longMonthsParse,f),r!==-1)?r:(r=a.call(this._shortMonthsParse,f),r!==-1?r:null)}function iw(n,t,i){var r,u,f;if(this._monthsParseExact)return tw.call(this,n,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if((u=ii([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(u,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(u,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(f="^"+this.months(u,"")+"|^"+this.monthsShort(u,""),this._monthsParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(n))||i&&t==="MMM"&&this._shortMonthsParse[r].test(n)||!i&&this._monthsParse[r].test(n))return r}function gh(n,t){var i;if(!n.isValid())return n;if(typeof t=="string")if(/^\d+$/.test(t))t=f(t);else if(t=n.localeData().monthsParse(t),!gi(t))return n;return i=Math.min(n.date(),yf(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n}function nc(t){return t!=null?(gh(this,t),n.updateOffset(this,!0),this):vf(this,"Month")}function rw(){return yf(this.year(),this.month())}function uw(n){return this._monthsParseExact?(l(this,"_monthsRegex")||rc.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=tc),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function fw(n){return this._monthsParseExact?(l(this,"_monthsRegex")||rc.call(this),n?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ic),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function rc(){function f(n,t){return t.length-n.length}for(var i=[],r=[],t=[],u,n=0;n<12;n++)u=ii([2e3,n]),i.push(this.monthsShort(u,"")),r.push(this.months(u,"")),t.push(this.months(u,"")),t.push(this.monthsShort(u,""));for(i.sort(f),r.sort(f),t.sort(f),n=0;n<12;n++)i[n]=nr(i[n]),r[n]=nr(r[n]);for(n=0;n<24;n++)t[n]=nr(t[n]);this._monthsRegex=new RegExp("^("+t.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ew(n,t,i,r,u,f,e){var o;return n<100&&n>=0?(o=new Date(n+400,t,i,r,u,f,e),isFinite(o.getFullYear())&&o.setFullYear(n)):o=new Date(n,t,i,r,u,f,e),o}function au(n){var t,i;return n<100&&n>=0?(i=Array.prototype.slice.call(arguments),i[0]=n+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n)):t=new Date(Date.UTC.apply(null,arguments)),t}function pf(n,t,i){var r=7+t-i,u=(7+au(n,0,r).getUTCDay()-t)%7;return-u+r-1}function uc(n,t,i,r,u){var s=(7+i-r)%7,h=pf(n,r,u),f=1+7*(t-1)+s+h,e,o;return f<=0?(e=n-1,o=lu(e)+f):f>lu(n)?(e=n+1,o=f-lu(n)):(e=n,o=f),{year:e,dayOfYear:o}}function vu(n,t,i){var e=pf(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1,f,u;return r<1?(u=n.year()-1,f=r+ir(u,t,i)):r>ir(n.year(),t,i)?(f=r-ir(n.year(),t,i),u=n.year()+1):(u=n.year(),f=r),{week:f,year:u}}function ir(n,t,i){var r=pf(n,t,i),u=pf(n+1,t,i);return(lu(n)-r+u)/7}function ow(n){return vu(n,this._week.dow,this._week.doy).week}function sw(){return this._week.dow}function hw(){return this._week.doy}function cw(n){var t=this.localeData().week(this);return n==null?t:this.add((n-t)*7,"d")}function lw(n){var t=vu(this,1,4).week;return n==null?t:this.add((n-t)*7,"d")}function aw(n,t){return typeof n!="string"?n:isNaN(n)?(n=t.weekdaysParse(n),typeof n=="number")?n:null:parseInt(n,10)}function vw(n,t){return typeof n=="string"?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}function eo(n,t){return n.slice(t,7).concat(n.slice(0,t))}function yw(n,t){var i=ti(this._weekdays)?this._weekdays:this._weekdays[n&&n!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return n===!0?eo(i,this._week.dow):n?i[n.day()]:i}function pw(n){return n===!0?eo(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort}function ww(n){return n===!0?eo(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin}function bw(n,t,i){var f,r,e,u=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)e=ii([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(e,"").toLocaleLowerCase();return i?t==="dddd"?(r=a.call(this._weekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=a.call(this._shortWeekdaysParse,u),r!==-1?r:null):(r=a.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="dddd"?(r=a.call(this._weekdaysParse,u),r!==-1)?r:(r=a.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=a.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=a.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=a.call(this._weekdaysParse,u),r!==-1)?r:(r=a.call(this._minWeekdaysParse,u),r!==-1?r:null):(r=a.call(this._minWeekdaysParse,u),r!==-1)?r:(r=a.call(this._weekdaysParse,u),r!==-1)?r:(r=a.call(this._shortWeekdaysParse,u),r!==-1?r:null)}function kw(n,t,i){var r,u,f;if(this._weekdaysParseExact)return bw.call(this,n,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if((u=ii([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(u,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(u,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(u,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(f="^"+this.weekdays(u,"")+"|^"+this.weekdaysShort(u,"")+"|^"+this.weekdaysMin(u,""),this._weekdaysParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(n))||i&&t==="ddd"&&this._shortWeekdaysParse[r].test(n)||i&&t==="dd"&&this._minWeekdaysParse[r].test(n)||!i&&this._weekdaysParse[r].test(n))return r}function dw(n){if(!this.isValid())return n!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return n!=null?(n=aw(n,this.localeData()),this.add(n-t,"d")):t}function gw(n){if(!this.isValid())return n!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return n==null?t:this.add(n-t,"d")}function nb(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var t=vw(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function tb(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||so.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=sc),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function ib(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||so.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hc),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function rb(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||so.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=cc),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function so(){function u(n,t){return t.length-n.length}for(var e=[],i=[],r=[],t=[],f,o,s,h,n=0;n<7;n++)f=ii([2e3,1]).day(n),o=this.weekdaysMin(f,""),s=this.weekdaysShort(f,""),h=this.weekdays(f,""),e.push(o),i.push(s),r.push(h),t.push(o),t.push(s),t.push(h);for(e.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=nr(i[n]),r[n]=nr(r[n]),t[n]=nr(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function ho(){return this.hours()%12||12}function ub(){return this.hours()||24}function lc(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ac(n,t){return t._meridiemParse}function fb(n){return(n+"").toLowerCase().charAt(0)==="p"}function eb(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"}function pc(n){return n?n.toLowerCase().replace("_","-"):n}function sb(n){for(var r=0,i,t,f,u;r<n.length;){for(u=pc(n[r]).split("-"),i=u.length,t=pc(n[r+1]),t=t?t.split("-"):null;i>0;){if(f=wf(u.slice(0,i).join("-")),f)return f;if(t&&t.length>=i&&th(u,t,!0)>=i-1)break;i--}r++}return pu}function wf(n){var t=null,i;if(!y[n]&&typeof module!="undefined"&&module&&module.exports)try{t=pu._abbr;i=require;i("./locale/"+n);ar(t)}catch(r){}return y[n]}function ar(n,t){var i;return n&&(i=b(t)?ai(n):co(n,t),i?pu=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),pu._abbr}function co(n,t){if(t!==null){var r,i=yc;if(t.abbr=n,y[n]!=null)rh("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=y[n]._config;else if(t.parentLocale!=null)if(y[t.parentLocale]!=null)i=y[t.parentLocale]._config;else if(r=wf(t.parentLocale),r!=null)i=r._config;else return yu[t.parentLocale]||(yu[t.parentLocale]=[]),yu[t.parentLocale].push({name:n,config:t}),null;return y[n]=new be(uh(i,t)),yu[n]&&yu[n].forEach(function(n){co(n.name,n.config)}),ar(n),y[n]}return delete y[n],null}function hb(n,t){if(t!=null){var i,r,u=yc;r=wf(n);r!=null&&(u=r._config);t=uh(u,t);i=new be(t);i.parentLocale=y[n];y[n]=i;ar(n)}else y[n]!=null&&(y[n].parentLocale!=null?y[n]=y[n].parentLocale:y[n]!=null&&delete y[n]);return y[n]}function ai(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return pu;if(!ti(n)){if(t=wf(n),t)return t;n=[n]}return sb(n)}function cb(){return fh(y)}function lo(n){var i,t=n._a;return t&&u(n).overflow===-2&&(i=t[oi]<0||t[oi]>11?oi:t[ui]<1||t[ui]>yf(t[vt],t[oi])?ui:t[v]<0||t[v]>24||t[v]===24&&(t[yt]!==0||t[si]!==0||t[tr]!==0)?v:t[yt]<0||t[yt]>59?yt:t[si]<0||t[si]>59?si:t[tr]<0||t[tr]>999?tr:-1,u(n)._overflowDayOfYear&&(i<vt||i>ui)&&(i=ui),u(n)._overflowWeeks&&i===-1&&(i=yp),u(n)._overflowWeekday&&i===-1&&(i=pp),u(n).overflow=i),n}function vr(n,t,i){return n!=null?n:t!=null?t:i}function lb(t){var i=new Date(n.now());return t._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}function ao(n){var t,i,r=[],f,o,e;if(!n._d){for(f=lb(n),n._w&&n._a[ui]==null&&n._a[oi]==null&&ab(n),n._dayOfYear!=null&&(e=vr(n._a[vt],f[vt]),(n._dayOfYear>lu(e)||n._dayOfYear===0)&&(u(n)._overflowDayOfYear=!0),i=au(e,0,n._dayOfYear),n._a[oi]=i.getUTCMonth(),n._a[ui]=i.getUTCDate()),t=0;t<3&&n._a[t]==null;++t)n._a[t]=r[t]=f[t];for(;t<7;t++)n._a[t]=r[t]=n._a[t]==null?t===2?1:0:n._a[t];n._a[v]===24&&n._a[yt]===0&&n._a[si]===0&&n._a[tr]===0&&(n._nextDay=!0,n._a[v]=0);n._d=(n._useUTC?au:ew).apply(null,r);o=n._useUTC?n._d.getUTCDay():n._d.getDay();n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[v]=24);n._w&&typeof n._w.d!="undefined"&&n._w.d!==o&&(u(n).weekdayMismatch=!0)}}function ab(n){var t,o,f,i,r,e,h,s,l;t=n._w;t.GG!=null||t.W!=null||t.E!=null?(r=1,e=4,o=vr(t.GG,n._a[vt],vu(c(),1,4).year),f=vr(t.W,1),i=vr(t.E,1),(i<1||i>7)&&(s=!0)):(r=n._locale._week.dow,e=n._locale._week.doy,l=vu(c(),r,e),o=vr(t.gg,n._a[vt],l.year),f=vr(t.w,l.week),t.d!=null?(i=t.d,(i<0||i>6)&&(s=!0)):t.e!=null?(i=t.e+r,(t.e<0||t.e>6)&&(s=!0)):i=r);f<1||f>ir(o,r,e)?u(n)._overflowWeeks=!0:s!=null?u(n)._overflowWeekday=!0:(h=uc(o,f,i,r,e),n._a[vt]=h.year,n._dayOfYear=h.dayOfYear)}function wc(n){var t,r,o=n._i,i=vb.exec(o)||yb.exec(o),s,e,f,h;if(i){for(u(n).iso=!0,t=0,r=bf.length;t<r;t++)if(bf[t][1].exec(i[1])){e=bf[t][0];s=bf[t][2]!==!1;break}if(e==null){n._isValid=!1;return}if(i[3]){for(t=0,r=vo.length;t<r;t++)if(vo[t][1].exec(i[3])){f=(i[2]||" ")+vo[t][0];break}if(f==null){n._isValid=!1;return}}if(!s&&f!=null){n._isValid=!1;return}if(i[4])if(pb.exec(i[4]))h="Z";else{n._isValid=!1;return}n._f=e+(f||"")+(h||"");yo(n)}else n._isValid=!1}function bb(n,t,i,r,u,f){var e=[kb(n),fo.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(u,10)];return f&&e.push(parseInt(f,10)),e}function kb(n){var t=parseInt(n,10);return t<=49?2e3+t:t<=999?1900+t:t}function db(n){return n.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function gb(n,t,i){if(n){var r=oo.indexOf(n),f=new Date(t[0],t[1],t[2]).getDay();if(r!==f)return u(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}function nk(n,t,i){if(n)return kc[n];if(t)return 0;var r=parseInt(i,10),u=r%100,f=(r-u)/100;return f*60+u}function dc(n){var t=bc.exec(db(n._i)),i;if(t){if(i=bb(t[4],t[3],t[2],t[5],t[6],t[7]),!gb(t[1],i,n))return;n._a=i;n._tzm=nk(t[8],t[9],t[10]);n._d=au.apply(null,n._a);n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);u(n).rfc2822=!0}else n._isValid=!1}function tk(t){var i=wb.exec(t._i);if(i!==null){t._d=new Date(+i[1]);return}if(wc(t),t._isValid===!1)delete t._isValid;else return;if(dc(t),t._isValid===!1)delete t._isValid;else return;n.createFromInputFallback(t)}function yo(t){if(t._f===n.ISO_8601){wc(t);return}if(t._f===n.RFC_2822){dc(t);return}t._a=[];u(t).empty=!0;for(var i=""+t._i,r,f,s,c=i.length,h=0,o=vh(t._f,t._locale).match(ah)||[],e=0;e<o.length;e++)f=o[e],r=(i.match(lp(f,t))||[])[0],r&&(s=i.substr(0,i.indexOf(r)),s.length>0&&u(t).unusedInput.push(s),i=i.slice(i.indexOf(r)+r.length),h+=r.length),cr[f]?(r?u(t).empty=!1:u(t).unusedTokens.push(f),vp(f,r,t)):t._strict&&!r&&u(t).unusedTokens.push(f);u(t).charsLeftOver=c-h;i.length>0&&u(t).unusedInput.push(i);t._a[v]<=12&&u(t).bigHour===!0&&t._a[v]>0&&(u(t).bigHour=undefined);u(t).parsedDateParts=t._a.slice(0);u(t).meridiem=t._meridiem;t._a[v]=ik(t._locale,t._a[v],t._meridiem);ao(t);lo(t)}function ik(n,t,i){var r;return i==null?t:n.meridiemHour!=null?n.meridiemHour(t,i):n.isPM!=null?(r=n.isPM(i),r&&t<12&&(t+=12),r||t!==12||(t=0),t):t}function rk(n){var t,e,f,r,i;if(n._f.length===0){u(n).invalidFormat=!0;n._d=new Date(NaN);return}for(r=0;r<n._f.length;r++)(i=0,t=pe({},n),n._useUTC!=null&&(t._useUTC=n._useUTC),t._f=n._f[r],yo(t),ye(t))&&(i+=u(t).charsLeftOver,i+=u(t).unusedTokens.length*10,u(t).score=i,(f==null||i<f)&&(f=i,e=t));li(n,e||t)}function uk(n){if(!n._d){var t=ke(n._i);n._a=gs([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)});ao(n)}}function fk(n){var t=new su(lo(gc(n)));return t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t}function gc(n){var t=n._i,i=n._f;return(n._locale=n._locale||ai(n._l),t===null||i===undefined&&t==="")?nf({nullInput:!0}):(typeof t=="string"&&(n._i=t=n._locale.preparse(t)),ri(t))?new su(lo(t)):(gu(t)?n._d=t:ti(i)?rk(n):i?yo(n):ek(n),ye(n)||(n._d=null),n)}function ek(t){var i=t._i;b(i)?t._d=new Date(n.now()):gu(i)?t._d=new Date(i.valueOf()):typeof i=="string"?tk(t):ti(i)?(t._a=gs(i.slice(0),function(n){return parseInt(n,10)}),ao(t)):ou(i)?uk(t):gi(i)?t._d=new Date(i):n.createFromInputFallback(t)}function nl(n,t,i,r,u){var f={};return(i===!0||i===!1)&&(r=i,i=undefined),(ou(n)&&dy(n)||ti(n)&&n.length===0)&&(n=undefined),f._isAMomentObject=!0,f._useUTC=f._isUTC=u,f._l=i,f._i=n,f._f=t,f._strict=r,fk(f)}function c(n,t,i,r){return nl(n,t,i,r,!1)}function rl(n,t){var r,i;if(t.length===1&&ti(t[0])&&(t=t[0]),!t.length)return c();for(r=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][n](r))&&(r=t[i]);return r}function ok(){var n=[].slice.call(arguments,0);return rl("isBefore",n)}function sk(){var n=[].slice.call(arguments,0);return rl("isAfter",n)}function hk(n){var i,r,t;for(i in n)if(!(a.call(yr,i)!==-1&&(n[i]==null||!isNaN(n[i]))))return!1;for(r=!1,t=0;t<yr.length;++t)if(n[yr[t]]){if(r)return!1;parseFloat(n[yr[t]])!==f(n[yr[t]])&&(r=!0)}return!0}function ck(){return this._isValid}function lk(){return pt(NaN)}function kf(n){var t=ke(n),i=t.year||0,r=t.quarter||0,u=t.month||0,f=t.week||t.isoWeek||0,e=t.day||0,o=t.hour||0,s=t.minute||0,h=t.second||0,c=t.millisecond||0;this._isValid=hk(t);this._milliseconds=+c+h*1e3+s*6e4+o*36e5;this._days=+e+f*7;this._months=+u+r*3+i*12;this._data={};this._locale=ai();this._bubble()}function po(n){return n instanceof kf}function wo(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function fl(n,t){r(n,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+ei(~~(n/60),2)+t+ei(~~n%60,2)})}function bo(n,t){var i=(t||"").match(n);if(i===null)return null;var e=i[i.length-1]||[],r=(e+"").match(el)||["-",0,0],u=+(r[1]*60)+f(r[2]);return u===0?0:r[0]==="+"?u:-u}function ko(t,i){var r,u;return i._isUTC?(r=i.clone(),u=(ri(t)||gu(t)?t.valueOf():c(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+u),n.updateOffset(r,!1),r):c(t).local()}function go(n){return-Math.round(n._d.getTimezoneOffset()/15)*15}function ak(t,i,r){var u=this._offset||0,f;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=bo(cf,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&i&&(f=go(this)),this._offset=t,this._isUTC=!0,f!=null&&this.add(f,"m"),u!==t&&(!i||this._changeInProgress?al(this,pt(t-u,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?u:go(this)}function vk(n,t){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()}function yk(n){return this.utcOffset(0,n)}function pk(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(go(this),"m")),this}function wk(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var n=bo(cp,this._i);n!=null?this.utcOffset(n):this.utcOffset(0,!0)}return this}function bk(n){return this.isValid()?(n=n?c(n).utcOffset():0,(this.utcOffset()-n)%60==0):!1}function kk(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dk(){var n,t;return b(this._isDSTShifted)?(n={},pe(n,this),n=gc(n),n._a?(t=n._isUTC?ii(n._a):c(n._a),this._isDSTShifted=this.isValid()&&th(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted):this._isDSTShifted}function gk(){return this.isValid()?!this._isUTC:!1}function nd(){return this.isValid()?this._isUTC:!1}function ol(){return this.isValid()?this._isUTC&&this._offset===0:!1}function pt(n,t){var i=n,r=null,u,e,o;return po(n)?i={ms:n._milliseconds,d:n._days,M:n._months}:gi(n)?(i={},t?i[t]=n:i.milliseconds=n):(r=sl.exec(n))?(u=r[1]==="-"?-1:1,i={y:0,d:f(r[ui])*u,h:f(r[v])*u,m:f(r[yt])*u,s:f(r[si])*u,ms:f(wo(r[tr]*1e3))*u}):(r=hl.exec(n))?(u=r[1]==="-"?-1:1,i={y:rr(r[2],u),M:rr(r[3],u),w:rr(r[4],u),d:rr(r[5],u),h:rr(r[6],u),m:rr(r[7],u),s:rr(r[8],u)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(o=td(c(i.from),c(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),e=new kf(i),po(n)&&l(n,"_locale")&&(e._locale=n._locale),e}function rr(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function cl(n,t){var i={};return i.months=t.month()-n.month()+(t.year()-n.year())*12,n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function td(n,t){var i;return(n.isValid()&&t.isValid())?(t=ko(t,n),n.isBefore(t)?i=cl(n,t):(i=cl(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function ll(n,t){return function(i,r){var u,f;return r===null||isNaN(+r)||(rh(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=i,i=r,r=f),i=typeof i=="string"?+i:i,u=pt(i,r),al(this,u,n),this}}function al(t,i,r,u){var o=i._milliseconds,f=wo(i._days),e=wo(i._months);t.isValid()&&(u=u==null?!0:u,e&&gh(t,vf(t,"Month")+e*r),f&&kh(t,"Date",vf(t,"Date")+f*r),o&&t._d.setTime(t._d.valueOf()+o*r),u&&n.updateOffset(t,f||e))}function id(n,t){var i=n.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function rd(t,i){var u=t||c(),f=ko(u,this).startOf("day"),r=n.calendarFormat(this,f)||"sameElse",e=i&&(at(i[r])?i[r].call(this,u):i[r]);return this.format(e||this.localeData().calendar(r,this,c(u)))}function ud(){return new su(this)}function fd(n,t){var i=ri(n)?n:c(n);return(this.isValid()&&i.isValid())?(t=nt(t)||"millisecond",t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function ed(n,t){var i=ri(n)?n:c(n);return(this.isValid()&&i.isValid())?(t=nt(t)||"millisecond",t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function od(n,t,i,r){var u=ri(n)?n:c(n),f=ri(t)?t:c(t);return(this.isValid()&&u.isValid()&&f.isValid())?(r=r||"()",(r[0]==="("?this.isAfter(u,i):!this.isBefore(u,i))&&(r[1]===")"?this.isBefore(f,i):!this.isAfter(f,i))):!1}function sd(n,t){var i=ri(n)?n:c(n),r;return(this.isValid()&&i.isValid())?(t=nt(t)||"millisecond",t==="millisecond"?this.valueOf()===i.valueOf():(r=i.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function hd(n,t){return this.isSame(n,t)||this.isAfter(n,t)}function cd(n,t){return this.isSame(n,t)||this.isBefore(n,t)}function ld(n,t,i){var r,f,u;if(!this.isValid())return NaN;if(r=ko(n,this),!r.isValid())return NaN;f=(r.utcOffset()-this.utcOffset())*6e4;t=nt(t);switch(t){case"year":u=ns(this,r)/12;break;case"month":u=ns(this,r);break;case"quarter":u=ns(this,r)/3;break;case"second":u=(this-r)/1e3;break;case"minute":u=(this-r)/6e4;break;case"hour":u=(this-r)/36e5;break;case"day":u=(this-r-f)/864e5;break;case"week":u=(this-r-f)/6048e5;break;default:u=this-r}return i?u:d(u)}function ns(n,t){var r=(t.year()-n.year())*12+(t.month()-n.month()),i=n.clone().add(r,"months"),u,f;return t-i<0?(u=n.clone().add(r-1,"months"),f=(t-i)/(i-u)):(u=n.clone().add(r+1,"months"),f=(t-i)/(u-i)),-(r+f)||0}function ad(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function vd(n){if(!this.isValid())return null;var i=n!==!0,t=i?this.clone().utc():this;return t.year()<0||t.year()>9999?ff(t,i?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):at(Date.prototype.toISOString)?i?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*6e4).toISOString().replace("Z",ff(t,"Z")):ff(t,i?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function yd(){var n,t;if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";n="moment";t="";this.isLocal()||(n=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z");var i="["+n+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",u=t+'[")]';return this.format(i+r+"-MM-DD[T]HH:mm:ss.SSS"+u)}function pd(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var i=ff(this,t);return this.localeData().postformat(i)}function wd(n,t){return this.isValid()&&(ri(n)&&n.isValid()||c(n).isValid())?pt({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bd(n){return this.from(c(),n)}function kd(n,t){return this.isValid()&&(ri(n)&&n.isValid()||c(n).isValid())?pt({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dd(n){return this.to(c(),n)}function pl(n){var t;return n===undefined?this._locale._abbr:(t=ai(n),t!=null&&(this._locale=t),this)}function wl(){return this._locale}function wr(n,t){return(n%t+t)%t}function kl(n,t,i){return n<100&&n>=0?new Date(n+400,t,i)-bl:new Date(n,t,i).valueOf()}function dl(n,t,i){return n<100&&n>=0?Date.UTC(n+400,t,i)-bl:Date.UTC(n,t,i)}function gd(t){var i,r;if(t=nt(t),t===undefined||t==="millisecond"||!this.isValid())return this;r=this._isUTC?dl:kl;switch(t){case"year":i=r(this.year(),0,1);break;case"quarter":i=r(this.year(),this.month()-this.month()%3,1);break;case"month":i=r(this.year(),this.month(),1);break;case"week":i=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":i=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":i=r(this.year(),this.month(),this.date());break;case"hour":i=this._d.valueOf();i-=wr(i+(this._isUTC?0:this.utcOffset()*pr),gf);break;case"minute":i=this._d.valueOf();i-=wr(i,pr);break;case"second":i=this._d.valueOf();i-=wr(i,df)}return this._d.setTime(i),n.updateOffset(this,!0),this}function ng(t){var i,r;if(t=nt(t),t===undefined||t==="millisecond"||!this.isValid())return this;r=this._isUTC?dl:kl;switch(t){case"year":i=r(this.year()+1,0,1)-1;break;case"quarter":i=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":i=r(this.year(),this.month()+1,1)-1;break;case"week":i=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":i=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":i=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":i=this._d.valueOf();i+=gf-wr(i+(this._isUTC?0:this.utcOffset()*pr),gf)-1;break;case"minute":i=this._d.valueOf();i+=pr-wr(i,pr)-1;break;case"second":i=this._d.valueOf();i+=df-wr(i,df)-1}return this._d.setTime(i),n.updateOffset(this,!0),this}function tg(){return this._d.valueOf()-(this._offset||0)*6e4}function ig(){return Math.floor(this.valueOf()/1e3)}function rg(){return new Date(this.valueOf())}function ug(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function fg(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function eg(){return this.isValid()?this.toISOString():null}function og(){return ye(this)}function sg(){return li({},u(this))}function hg(){return u(this).overflow}function cg(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ne(n,t){r(0,[n,n.length],0,t)}function lg(n){return gl.call(this,n,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ag(n){return gl.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function vg(){return ir(this.year(),1,4)}function yg(){var n=this.localeData()._week;return ir(this.year(),n.dow,n.doy)}function gl(n,t,i,r,u){var f;return n==null?vu(this,r,u).year:(f=ir(n,r,u),t>f&&(t=f),pg.call(this,n,t,i,r,u))}function pg(n,t,i,r,u){var e=uc(n,t,i,r,u),f=au(e.year,0,e.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}function wg(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}function bg(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?t:this.add(n-t,"d")}function kg(n,t){t[tr]=f(("0."+n)*1e3)}function dg(){return this._isUTC?"UTC":""}function gg(){return this._isUTC?"Coordinated Universal Time":""}function nn(n){return c(n*1e3)}function tn(){return c.apply(null,arguments).parseZone()}function ra(n){return n}function te(n,t,i,r){var u=ai(),f=ii().set(r,t);return u[i](f,n)}function ua(n,t,i){if(gi(n)&&(t=n,n=undefined),n=n||"",t!=null)return te(n,t,i,"month");for(var u=[],r=0;r<12;r++)u[r]=te(n,r,i,"month");return u}function rs(n,t,i,r){var o,f,u,e;if(typeof n=="boolean"?(gi(t)&&(i=t,t=undefined),t=t||""):(t=n,i=t,n=!1,gi(t)&&(i=t,t=undefined),t=t||""),o=ai(),f=n?o._week.dow:0,i!=null)return te(t,(i+f)%7,r,"day");for(e=[],u=0;u<7;u++)e[u]=te(t,(u+f)%7,r,"day");return e}function rn(n,t){return ua(n,t,"months")}function un(n,t){return ua(n,t,"monthsShort")}function fn(n,t,i){return rs(n,t,i,"weekdays")}function en(n,t,i){return rs(n,t,i,"weekdaysShort")}function on(n,t,i){return rs(n,t,i,"weekdaysMin")}function sn(){var n=this._data;return this._milliseconds=fi(this._milliseconds),this._days=fi(this._days),this._months=fi(this._months),n.milliseconds=fi(n.milliseconds),n.seconds=fi(n.seconds),n.minutes=fi(n.minutes),n.hours=fi(n.hours),n.months=fi(n.months),n.years=fi(n.years),this}function fa(n,t,i,r){var u=pt(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function hn(n,t){return fa(this,n,t,1)}function cn(n,t){return fa(this,n,t,-1)}function ea(n){return n<0?Math.floor(n):Math.ceil(n)}function ln(){var r=this._milliseconds,n=this._days,t=this._months,i=this._data,u,f,e,s,o;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=ea(us(t)+n)*864e5,n=0,t=0),i.milliseconds=r%1e3,u=d(r/1e3),i.seconds=u%60,f=d(u/60),i.minutes=f%60,e=d(f/60),i.hours=e%24,n+=d(e/24),o=d(oa(n)),t+=o,n-=ea(us(o)),s=d(t/12),t%=12,i.days=n,i.months=t,i.years=s,this}function oa(n){return n*4800/146097}function us(n){return n*146097/4800}function an(n){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if(n=nt(n),n==="month"||n==="quarter"||n==="year"){t=this._days+i/864e5;r=this._months+oa(t);switch(n){case"month":return r;case"quarter":return r/3;case"year":return r/12}}else{t=this._days+Math.round(us(this._months));switch(n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+n);}}}function vn(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+f(this._months/12)*31536e6:NaN}function hi(n){return function(){return this.as(n)}}function itt(){return pt(this)}function rtt(n){return n=nt(n),this.isValid()?this[n+"s"]():NaN}function ur(n){return function(){return this.isValid()?this._data[n]:NaN}}function ltt(){return d(this.days()/7)}function att(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function vtt(n,t,i){var r=pt(n).abs(),u=ci(r.as("s")),e=ci(r.as("m")),o=ci(r.as("h")),s=ci(r.as("d")),h=ci(r.as("M")),c=ci(r.as("y")),f=u<=wt.ss&&["s",u]||u<wt.s&&["ss",u]||e<=1&&["m"]||e<wt.m&&["mm",e]||o<=1&&["h"]||o<wt.h&&["hh",o]||s<=1&&["d"]||s<wt.d&&["dd",s]||h<=1&&["M"]||h<wt.M&&["MM",h]||c<=1&&["y"]||["yy",c];return f[2]=t,f[3]=+n>0,f[4]=i,att.apply(null,f)}function ytt(n){return n===undefined?ci:typeof n=="function"?(ci=n,!0):!1}function ptt(n,t){return wt[n]===undefined?!1:t===undefined?wt[n]:(wt[n]=t,n==="s"&&(wt.ss=t-1),!0)}function wtt(n){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=vtt(this,!n,t);return n&&(i=t.pastFuture(+this,i)),t.postformat(i)}function br(n){return(n>0)-(n<0)||+n}function re(){if(!this.isValid())return this.localeData().invalidDate();var t=ie(this._milliseconds)/1e3,y=ie(this._days),r=ie(this._months),i,s,h;i=d(t/60);s=d(i/60);t%=60;i%=60;h=d(r/12);r%=12;var c=h,l=r,a=y,u=s,f=i,e=t?t.toFixed(3).replace(/\.?0+$/,""):"",n=this.asSeconds();if(!n)return"P0D";var p=n<0?"-":"",v=br(this._months)!==br(n)?"-":"",w=br(this._days)!==br(n)?"-":"",o=br(this._milliseconds)!==br(n)?"-":"";return p+"P"+(c?v+c+"Y":"")+(l?v+l+"M":"")+(a?w+a+"D":"")+(u||f||e?"T":"")+(u?o+u+"H":"")+(f?o+f+"M":"")+(e?o+e+"S":"")}function tit(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function fr(n,t,i){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return i==="m"?t?"хвіліна":"хвіліну":i==="h"?t?"гадзіна":"гадзіну":n+" "+tit(r[i],+n)}function fs(n,t,i){return n+" "+rit({mm:"munutenn",MM:"miz",dd:"devezh"}[i],n)}function iit(n){switch(ka(n)){case 1:case 3:case 4:case 5:case 9:return n+" bloaz";default:return n+" vloaz"}}function ka(n){return n>9?ka(n%10):n}function rit(n,t){return t===2?uit(n):n}function uit(n){var t={m:"v",b:"v",d:"z"};return t[n.charAt(0)]===undefined?n:t[n.charAt(0)]+n.substring(1)}function yi(n,t,i){var r=n+" ";switch(i){case"ss":return r+(n===1?"sekunda":n===2||n===3||n===4?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(n===1?"minuta":n===2||n===3||n===4?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(n===1?"sat":n===2||n===3||n===4?"sata":"sati");case"dd":return r+(n===1?"dan":"dana");case"MM":return r+(n===1?"mjesec":n===2||n===3||n===4?"mjeseca":"mjeseci");case"yy":return r+(n===1?"godina":n===2||n===3||n===4?"godine":"godina")}}function kr(n){return n>1&&n<5&&~~(n/10)!=1}function rt(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?u+(kr(n)?"sekundy":"sekund"):u+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?u+(kr(n)?"minuty":"minut"):u+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?u+(kr(n)?"hodiny":"hodin"):u+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?u+(kr(n)?"dny":"dní"):u+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?u+(kr(n)?"měsíce":"měsíců"):u+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?u+(kr(n)?"roky":"let"):u+"lety"}}function pi(n,t,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?r[i][0]:r[i][1]}function wi(n,t,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?r[i][0]:r[i][1]}function bi(n,t,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[n+" Tage",n+" Tagen"],M:["ein Monat","einem Monat"],MM:[n+" Monate",n+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[n+" Jahre",n+" Jahren"]};return t?r[i][0]:r[i][1]}function bt(n,t,i,r){var u={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[n+"sekundi",n+"sekundit"],m:["ühe minuti","üks minut"],mm:[n+" minuti",n+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[n+" tunni",n+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[n+" kuu",n+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[n+" aasta",n+" aastat"]};return t?u[i][2]?u[i][2]:u[i][1]:r?u[i][0]:u[i][1]}function ut(n,t,i,r){var u="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":u=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":u=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":u=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":u=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":u=r?"vuoden":"vuotta"}return cit(n,r)+" "+u}function cit(n,t){return n<10?t?ov[n]:wu[n]:n}function ft(n,t,i){var r={s:["thodde secondanim","thodde second"],ss:[n+" secondanim",n+" second"],m:["eka mintan","ek minute"],mm:[n+" mintanim",n+" mintam"],h:["eka voran","ek vor"],hh:[n+" voranim",n+" voram"],d:["eka disan","ek dis"],dd:[n+" disanim",n+" dis"],M:["eka mhoinean","ek mhoino"],MM:[n+" mhoineanim",n+" mhoine"],y:["eka vorsan","ek voros"],yy:[n+" vorsanim",n+" vorsam"]};return t?r[i][0]:r[i][1]}function ki(n,t,i){var r=n+" ";switch(i){case"ss":return r+(n===1?"sekunda":n===2||n===3||n===4?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(n===1?"minuta":n===2||n===3||n===4?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(n===1?"sat":n===2||n===3||n===4?"sata":"sati");case"dd":return r+(n===1?"dan":"dana");case"MM":return r+(n===1?"mjesec":n===2||n===3||n===4?"mjeseca":"mjeseci");case"yy":return r+(n===1?"godina":n===2||n===3||n===4?"godine":"godina")}}function et(n,t,i,r){var u=n;switch(i){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return u+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return u+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return u+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return u+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return u+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return u+(r||t?" év":" éve")}return""}function yv(n){return(n?"":"[múlt] ")+"["+vv[this.day()]+"] LT[-kor]"}function dr(n){return n%100==11?!0:n%10==1?!1:!0}function kt(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return dr(n)?u+(t||r?"sekúndur":"sekúndum"):u+"sekúnda";case"m":return t?"mínúta":"mínútu";case"mm":return dr(n)?u+(t||r?"mínútur":"mínútum"):t?u+"mínúta":u+"mínútu";case"hh":return dr(n)?u+(t||r?"klukkustundir":"klukkustundum"):u+"klukkustund";case"d":return t?"dagur":r?"dag":"degi";case"dd":return dr(n)?t?u+"dagar":u+(r?"daga":"dögum"):t?u+"dagur":u+(r?"dag":"degi");case"M":return t?"mánuður":r?"mánuð":"mánuði";case"MM":return dr(n)?t?u+"mánuðir":u+(r?"mánuði":"mánuðum"):t?u+"mánuður":u+(r?"mánuð":"mánuði");case"y":return t||r?"ár":"ári";case"yy":return dr(n)?u+(t||r?"ár":"árum"):u+(t||r?"ár":"ári")}}function bu(n,t,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[i][0]:r[i][1]}function vit(n){var t=n.substr(0,n.indexOf(" "));return gr(t)?"a "+n:"an "+n}function yit(n){var t=n.substr(0,n.indexOf(" "));return gr(t)?"viru "+n:"virun "+n}function gr(n){if(n=parseInt(n,10),isNaN(n))return!1;if(n<0)return!0;if(n<10)return 4<=n&&n<=7?!0:!1;if(n<100){var t=n%10,i=n/10;return t===0?gr(i):gr(t)}if(n<1e4){while(n>=10)n=n/10;return gr(n)}return n=n/1e3,gr(n)}function pit(n,t,i,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function nu(n,t,i,r){return t?di(i)[0]:r?di(i)[1]:di(i)[2]}function ny(n){return n%10==0||n>10&&n<20}function di(n){return gv[n].split("_")}function tu(n,t,i,r){var u=n+" ";return n===1?u+nu(n,t,i[0],r):t?u+(ny(n)?di(i)[1]:di(i)[0]):r?u+di(i)[1]:u+(ny(n)?di(i)[1]:di(i)[2])}function ty(n,t,i){return i?t%10==1&&t%100!=11?n[2]:n[3]:t%10==1&&t%100!=11?n[0]:n[1]}function iu(n,t,i){return n+" "+ty(vs[i],n,t)}function ku(n,t,i){return ty(vs[i],n,t)}function wit(n,t){return t?"dažas sekundes":"dažām sekundēm"}function ot(n,t,i){switch(i){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return n+(t?" секунд":" секундын");case"m":case"mm":return n+(t?" минут":" минутын");case"h":case"hh":return n+(t?" цаг":" цагийн");case"d":case"dd":return n+(t?" өдөр":" өдрийн");case"M":case"MM":return n+(t?" сар":" сарын");case"y":case"yy":return n+(t?" жил":" жилийн");default:return n}}function st(n,t,i){var r="";if(t)switch(i){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(i){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,n)}function du(n){return n%10<5&&n%10>1&&~~(n/10)%10!=1}function er(n,t,i){var r=n+" ";switch(i){case"ss":return r+(du(n)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(du(n)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(du(n)?"godziny":"godzin");case"MM":return r+(du(n)?"miesiące":"miesięcy");case"yy":return r+(du(n)?"lata":"lat")}}function ru(n,t,i){var r=" ";return(n%100>=20||n>=100&&n%100==0)&&(r=" de "),n+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}function dit(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function or(n,t,i){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return i==="m"?t?"минута":"минуту":n+" "+dit(r[i],+n)}function uu(n){return n>1&&n<5}function ht(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?u+(uu(n)?"sekundy":"sekúnd"):u+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?u+(uu(n)?"minúty":"minút"):u+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?u+(uu(n)?"hodiny":"hodín"):u+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?u+(uu(n)?"dni":"dní"):u+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?u+(uu(n)?"mesiace":"mesiacov"):u+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?u+(uu(n)?"roky":"rokov"):u+"rokmi"}}function ct(n,t,i,r){var u=n+" ";switch(i){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return u+(n===1?t?"sekundo":"sekundi":n===2?t||r?"sekundi":"sekundah":n<5?t||r?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return u+(n===1?t?"minuta":"minuto":n===2?t||r?"minuti":"minutama":n<5?t||r?"minute":"minutami":t||r?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return u+(n===1?t?"ura":"uro":n===2?t||r?"uri":"urama":n<5?t||r?"ure":"urami":t||r?"ur":"urami");case"d":return t||r?"en dan":"enim dnem";case"dd":return u+(n===1?t||r?"dan":"dnem":n===2?t||r?"dni":"dnevoma":t||r?"dni":"dnevi");case"M":return t||r?"en mesec":"enim mesecem";case"MM":return u+(n===1?t||r?"mesec":"mesecem":n===2?t||r?"meseca":"mesecema":n<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci");case"y":return t||r?"eno leto":"enim letom";case"yy":return u+(n===1?t||r?"leto":"letom":n===2?t||r?"leti":"letoma":n<5?t||r?"leta":"leti":t||r?"let":"leti")}}function git(n){var t=n;return n.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":n.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":n.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq"}function nrt(n){var t=n;return n.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu’":n.indexOf("jar")!==-1?t.slice(0,-3)+"wen":n.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret"}function fu(n,t,i){var r=trt(n);switch(i){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function trt(n){var i=Math.floor(n%1e3/100),r=Math.floor(n%100/10),u=n%10,t="";return i>0&&(t+=le[i]+"vatlh"),r>0&&(t+=(t!==""?" ":"")+le[r]+"maH"),u>0&&(t+=(t!==""?" ":"")+le[u]),t===""?"pagh":t}function lt(n,t,i,r){var u={s:["viensas secunds","'iensas secunds"],ss:[n+" secunds",""+n+" secunds"],m:["'n míut","'iens míut"],mm:[n+" míuts",""+n+" míuts"],h:["'n þora","'iensa þora"],hh:[n+" þoras",""+n+" þoras"],d:["'n ziua","'iensa ziua"],dd:[n+" ziuas",""+n+" ziuas"],M:["'n mes","'iens mes"],MM:[n+" mesen",""+n+" mesen"],y:["'n ar","'iens ar"],yy:[n+" ars",""+n+" ars"]};return r?u[i][0]:t?u[i][0]:u[i][1]}function irt(n,t){var i=n.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function sr(n,t,i){var r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return i==="m"?t?"хвилина":"хвилину":i==="h"?t?"година":"годину":n+" "+irt(r[i],+n)}function rrt(n,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r;return n===!0?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):n?(r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",i[r][n.day()]):i.nominative}function eu(n){return function(){return n+"о"+(this.hours()===11?"б":"")+"] LT"}}var ds,nh,tf,rf,we,fh,eh,oh,sh,hh,ch,lh,hr,de,lf,ro,a,uo,dh,fo,tc,ic,fc,ec,oo,oc,sc,hc,cc,vc,bc,kc,tl,il,ul,yr,el,sl,hl,vl,yl,ts,is,na,ta,vi,ia,t,o,fi,ci,wt,ie,e,ca,la,ue,ya,pa,wa,ba,os,ss,fv,ev,wu,ov,as,sv,hv,cv,lv,av,vv,fe,pv,wv,bv,kv,ee,gv,vs,dt,iy,ry,uy,fy,ey,oy,ay,vy,oe,ws,se,bs,he,yy,py,gt,ni,wy,by,ce,le,ae,ks,ve;nh=Array.prototype.some?Array.prototype.some:function(n){for(var i=Object(this),r=i.length>>>0,t=0;t<r;t++)if(t in i&&n.call(this,i[t],t,i))return!0;return!1};tf=n.momentProperties=[];rf=!1;we={};n.suppressDeprecationWarnings=!1;n.deprecationHandler=null;fh=Object.keys?Object.keys:function(n){var t,i=[];for(t in n)l(n,t)&&i.push(t);return i};eh={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};oh={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};sh="Invalid date";hh="%d";ch=/\d{1,2}/;lh={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};hr={};de={};var ah=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,uf=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ge={},cr={};var yh=/\d/,k=/\d\d/,ph=/\d{3}/,no=/\d{4}/,ef=/[+-]?\d{6}/,s=/\d\d?/,wh=/\d\d\d\d?/,bh=/\d\d\d\d\d\d?/,of=/\d{1,3}/,to=/\d{1,4}/,sf=/[+-]?\d{1,6}/,hf=/[+-]?\d+/,cp=/Z|[+-]\d\d:?\d\d/gi,cf=/Z|[+-]\d\d(?::?\d\d)?/gi,hu=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,io={};lf={};var vt=0,oi=1,ui=2,v=3,yt=4,si=5,tr=6,yp=7,pp=8;r("Y",0,0,function(){var n=this.year();return n<=9999?""+n:"+"+n});r(0,["YY",2],0,function(){return this.year()%100});r(0,["YYYY",4],0,"year");r(0,["YYYYY",5],0,"year");r(0,["YYYYYY",6,!0],0,"year");p("year","y");w("year",1);i("Y",hf);i("YY",s,k);i("YYYY",to,no);i("YYYYY",sf,ef);i("YYYYYY",sf,ef);h(["YYYYY","YYYYYY"],vt);h("YYYY",function(t,i){i[vt]=t.length===2?n.parseTwoDigitYear(t):f(t)});h("YY",function(t,i){i[vt]=n.parseTwoDigitYear(t)});h("Y",function(n,t){t[vt]=parseInt(n,10)});n.parseTwoDigitYear=function(n){return f(n)+(f(n)>68?1900:2e3)};ro=lr("FullYear",!0);a=Array.prototype.indexOf?Array.prototype.indexOf:function(n){for(var t=0;t<this.length;++t)if(this[t]===n)return t;return-1};r("M",["MM",2],"Mo",function(){return this.month()+1});r("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)});r("MMMM",0,0,function(n){return this.localeData().months(this,n)});p("month","M");w("month",8);i("M",s);i("MM",s,k);i("MMM",function(n,t){return t.monthsShortRegex(n)});i("MMMM",function(n,t){return t.monthsRegex(n)});h(["M","MM"],function(n,t){t[oi]=f(n)-1});h(["MMM","MMMM"],function(n,t,i,r){var f=i._locale.monthsParse(n,r,i._strict);f!=null?t[oi]=f:u(i).invalidMonth=n});uo=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;dh="January_February_March_April_May_June_July_August_September_October_November_December".split("_");fo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");tc=hu;ic=hu;r("w",["ww",2],"wo","week");r("W",["WW",2],"Wo","isoWeek");p("week","w");p("isoWeek","W");w("week",5);w("isoWeek",5);i("w",s);i("ww",s,k);i("W",s);i("WW",s,k);cu(["w","ww","W","WW"],function(n,t,i,r){t[r.substr(0,1)]=f(n)});fc={dow:0,doy:6};r("d",0,"do","day");r("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)});r("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)});r("dddd",0,0,function(n){return this.localeData().weekdays(this,n)});r("e",0,0,"weekday");r("E",0,0,"isoWeekday");p("day","d");p("weekday","e");p("isoWeekday","E");w("day",11);w("weekday",11);w("isoWeekday",11);i("d",s);i("e",s);i("E",s);i("dd",function(n,t){return t.weekdaysMinRegex(n)});i("ddd",function(n,t){return t.weekdaysShortRegex(n)});i("dddd",function(n,t){return t.weekdaysRegex(n)});cu(["dd","ddd","dddd"],function(n,t,i,r){var f=i._locale.weekdaysParse(n,r,i._strict);f!=null?t.d=f:u(i).invalidWeekday=n});cu(["d","e","E"],function(n,t,i,r){t[r]=f(n)});ec="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");oo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");oc="Su_Mo_Tu_We_Th_Fr_Sa".split("_");sc=hu;hc=hu;cc=hu;r("H",["HH",2],0,"hour");r("h",["hh",2],0,ho);r("k",["kk",2],0,ub);r("hmm",0,0,function(){return""+ho.apply(this)+ei(this.minutes(),2)});r("hmmss",0,0,function(){return""+ho.apply(this)+ei(this.minutes(),2)+ei(this.seconds(),2)});r("Hmm",0,0,function(){return""+this.hours()+ei(this.minutes(),2)});r("Hmmss",0,0,function(){return""+this.hours()+ei(this.minutes(),2)+ei(this.seconds(),2)});lc("a",!0);lc("A",!1);p("hour","h");w("hour",13);i("a",ac);i("A",ac);i("H",s);i("h",s);i("k",s);i("HH",s,k);i("hh",s,k);i("kk",s,k);i("hmm",wh);i("hmmss",bh);i("Hmm",wh);i("Hmmss",bh);h(["H","HH"],v);h(["k","kk"],function(n,t){var i=f(n);t[v]=i===24?0:i});h(["a","A"],function(n,t,i){i._isPm=i._locale.isPM(n);i._meridiem=n});h(["h","hh"],function(n,t,i){t[v]=f(n);u(i).bigHour=!0});h("hmm",function(n,t,i){var r=n.length-2;t[v]=f(n.substr(0,r));t[yt]=f(n.substr(r));u(i).bigHour=!0});h("hmmss",function(n,t,i){var r=n.length-4,e=n.length-2;t[v]=f(n.substr(0,r));t[yt]=f(n.substr(r,2));t[si]=f(n.substr(e));u(i).bigHour=!0});h("Hmm",function(n,t){var i=n.length-2;t[v]=f(n.substr(0,i));t[yt]=f(n.substr(i))});h("Hmmss",function(n,t){var i=n.length-4,r=n.length-2;t[v]=f(n.substr(0,i));t[yt]=f(n.substr(i,2));t[si]=f(n.substr(r))});vc=/[ap]\.?m?\.?/i;var ob=lr("Hours",!0),yc={calendar:eh,longDateFormat:oh,invalidDate:sh,ordinal:hh,dayOfMonthOrdinalParse:ch,relativeTime:lh,months:dh,monthsShort:fo,week:fc,weekdays:ec,weekdaysMin:oc,weekdaysShort:oo,meridiemParse:vc},y={},yu={},pu;var vb=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yb=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pb=/Z|[+-]\d\d(?::?\d\d)?/,bf=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],vo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wb=/^\/?Date\((\-?\d+)/i;bc=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;kc={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};n.createFromInputFallback=g("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))});n.ISO_8601=function(){};n.RFC_2822=function(){};tl=g("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=c.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:nf()});il=g("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=c.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:nf()});ul=function(){return Date.now?Date.now():+new Date};yr=["year","quarter","month","week","day","hour","minute","second","millisecond"];fl("Z",":");fl("ZZ","");i("Z",cf);i("ZZ",cf);h(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=bo(cf,n)});el=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};sl=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/;hl=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;pt.fn=kf.prototype;pt.invalid=lk;vl=ll(1,"add");yl=ll(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";ts=g("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===undefined?this.localeData():this.locale(n)});var df=1e3,pr=60*df,gf=60*pr,bl=3506328*gf;for(r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ne("gggg","weekYear"),ne("ggggg","weekYear"),ne("GGGG","isoWeekYear"),ne("GGGGG","isoWeekYear"),p("weekYear","gg"),p("isoWeekYear","GG"),w("weekYear",1),w("isoWeekYear",1),i("G",hf),i("g",hf),i("GG",s,k),i("gg",s,k),i("GGGG",to,no),i("gggg",to,no),i("GGGGG",sf,ef),i("ggggg",sf,ef),cu(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=f(n)}),cu(["gg","GG"],function(t,i,r,u){i[u]=n.parseTwoDigitYear(t)}),r("Q",0,"Qo","quarter"),p("quarter","Q"),w("quarter",7),i("Q",yh),h("Q",function(n,t){t[oi]=(f(n)-1)*3}),r("D",["DD",2],"Do","date"),p("date","D"),w("date",9),i("D",s),i("DD",s,k),i("Do",function(n,t){return n?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),h(["D","DD"],ui),h("Do",function(n,t){t[ui]=f(n.match(s)[0])}),is=lr("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),p("dayOfYear","DDD"),w("dayOfYear",4),i("DDD",of),i("DDDD",ph),h(["DDD","DDDD"],function(n,t,i){i._dayOfYear=f(n)}),r("m",["mm",2],0,"minute"),p("minute","m"),w("minute",14),i("m",s),i("mm",s,k),h(["m","mm"],yt),na=lr("Minutes",!1),r("s",["ss",2],0,"second"),p("second","s"),w("second",15),i("s",s),i("ss",s,k),h(["s","ss"],si),ta=lr("Seconds",!1),r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return this.millisecond()*10}),r(0,["SSSSS",5],0,function(){return this.millisecond()*100}),r(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),r(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),r(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),r(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),p("millisecond","ms"),w("millisecond",16),i("S",of,yh),i("SS",of,k),i("SSS",of,ph),vi="SSSS";vi.length<=9;vi+="S")i(vi,/\d+/);for(vi="S";vi.length<=9;vi+="S")h(vi,kg);ia=lr("Milliseconds",!1);r("z",0,0,"zoneAbbr");r("zz",0,0,"zoneName");t=su.prototype;t.add=vl;t.calendar=rd;t.clone=ud;t.diff=ld;t.endOf=ng;t.format=pd;t.from=wd;t.fromNow=bd;t.to=kd;t.toNow=dd;t.get=bp;t.invalidAt=hg;t.isAfter=fd;t.isBefore=ed;t.isBetween=od;t.isSame=sd;t.isSameOrAfter=hd;t.isSameOrBefore=cd;t.isValid=og;t.lang=ts;t.locale=pl;t.localeData=wl;t.max=il;t.min=tl;t.parsingFlags=sg;t.set=kp;t.startOf=gd;t.subtract=yl;t.toArray=ug;t.toObject=fg;t.toDate=rg;t.toISOString=vd;t.inspect=yd;t.toJSON=eg;t.toString=ad;t.unix=ig;t.valueOf=tg;t.creationData=cg;t.year=ro;t.isLeapYear=wp;t.weekYear=lg;t.isoWeekYear=ag;t.quarter=t.quarters=wg;t.month=nc;t.daysInMonth=rw;t.week=t.weeks=cw;t.isoWeek=t.isoWeeks=lw;t.weeksInYear=yg;t.isoWeeksInYear=vg;t.date=is;t.day=t.days=dw;t.weekday=gw;t.isoWeekday=nb;t.dayOfYear=bg;t.hour=t.hours=ob;t.minute=t.minutes=na;t.second=t.seconds=ta;t.millisecond=t.milliseconds=ia;t.utcOffset=ak;t.utc=yk;t.local=pk;t.parseZone=wk;t.hasAlignedHourOffset=bk;t.isDST=kk;t.isLocal=gk;t.isUtcOffset=nd;t.isUtc=ol;t.isUTC=ol;t.zoneAbbr=dg;t.zoneName=gg;t.dates=g("dates accessor is deprecated. Use date instead.",is);t.months=g("months accessor is deprecated. Use month instead",nc);t.years=g("years accessor is deprecated. Use year instead",ro);t.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vk);t.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dk);o=be.prototype;o.calendar=tp;o.longDateFormat=ip;o.invalidDate=rp;o.ordinal=up;o.preparse=ra;o.postformat=ra;o.relativeTime=fp;o.pastFuture=ep;o.set=np;o.months=gp;o.monthsShort=nw;o.monthsParse=iw;o.monthsRegex=fw;o.monthsShortRegex=uw;o.week=ow;o.firstDayOfYear=hw;o.firstDayOfWeek=sw;o.weekdays=yw;o.weekdaysMin=ww;o.weekdaysShort=pw;o.weekdaysParse=kw;o.weekdaysRegex=tb;o.weekdaysShortRegex=ib;o.weekdaysMinRegex=rb;o.isPM=fb;o.meridiem=eb;ar("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=f(n%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});n.lang=g("moment.lang is deprecated. Use moment.locale instead.",ar);n.langData=g("moment.langData is deprecated. Use moment.localeData instead.",ai);fi=Math.abs;var yn=hi("ms"),pn=hi("s"),wn=hi("m"),bn=hi("h"),kn=hi("d"),dn=hi("w"),gn=hi("M"),ntt=hi("Q"),ttt=hi("y");var utt=ur("milliseconds"),ftt=ur("seconds"),ett=ur("minutes"),ott=ur("hours"),stt=ur("days"),htt=ur("months"),ctt=ur("years");ci=Math.round;wt={ss:44,s:45,m:45,h:22,d:26,M:11};ie=Math.abs;e=kf.prototype;e.isValid=ck;e.abs=sn;e.add=hn;e.subtract=cn;e.as=an;e.asMilliseconds=yn;e.asSeconds=pn;e.asMinutes=wn;e.asHours=bn;e.asDays=kn;e.asWeeks=dn;e.asMonths=gn;e.asQuarters=ntt;e.asYears=ttt;e.valueOf=vn;e._bubble=ln;e.clone=itt;e.get=rtt;e.milliseconds=utt;e.seconds=ftt;e.minutes=ett;e.hours=ott;e.days=stt;e.weeks=ltt;e.months=htt;e.years=ctt;e.humanize=wtt;e.toISOString=re;e.toString=re;e.toJSON=re;e.locale=pl;e.localeData=wl;e.toIsoString=g("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",re);e.lang=ts;r("X",0,0,"unix");r("x",0,0,"valueOf");i("x",hf);i("X",/[+-]?\d+(\.\d{1,3})?/);h("X",function(n,t,i){i._d=new Date(parseFloat(n,10)*1e3)});h("x",function(n,t,i){i._d=new Date(f(n))});
//! moment.js
n.version="2.24.0";ky(c);n.fn=t;n.min=ok;n.max=sk;n.now=ul;n.utc=ii;n.unix=nn;n.months=rn;n.isDate=gu;n.locale=ar;n.invalid=nf;n.duration=pt;n.isMoment=ri;n.weekdays=fn;n.parseZone=tn;n.localeData=ai;n.isDuration=po;n.monthsShort=un;n.weekdaysMin=on;n.defineLocale=co;n.updateLocale=hb;n.locales=cb;n.weekdaysShort=en;n.normalizeUnits=nt;n.relativeTimeRounding=ytt;n.relativeTimeThreshold=ptt;n.calendarFormat=id;n.prototype=t;n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};
//! moment.js locale configuration
n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(n){return/^nm$/i.test(n)},meridiem:function(n,t,i){return n<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}});
//! moment.js locale configuration
n.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});
//! moment.js locale configuration
var btt={"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","0":"0"},sa=function(n){return n===0?0:n===1?1:n===2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},ktt={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},tt=function(n){return function(t,i){var u=sa(t),r=ktt[n][sa(t)];return u===2&&(r=r[i?0:1]),r.replace(/%d/i,t)}},ha=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];n.defineLocale("ar-ly",{months:ha,monthsShort:ha,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(n){return"م"===n},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:tt("s"),ss:tt("s"),m:tt("m"),mm:tt("m"),h:tt("h"),hh:tt("h"),d:tt("d"),dd:tt("d"),M:tt("M"),MM:tt("M"),y:tt("y"),yy:tt("y")},preparse:function(n){return n.replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return btt[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}});
//! moment.js locale configuration
n.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});
//! moment.js locale configuration
ca={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"};la={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};n.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(n){return"م"===n},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(n){return n.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(n){return la[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return ca[n]}).replace(/,/g,"،")},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});
//! moment.js locale configuration
var dtt={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},gtt={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},aa=function(n){return n===0?0:n===1?1:n===2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},nit={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},it=function(n){return function(t,i){var u=aa(t),r=nit[n][aa(t)];return u===2&&(r=r[i?0:1]),r.replace(/%d/i,t)}},va=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];n.defineLocale("ar",{months:va,monthsShort:va,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(n){return"م"===n},meridiem:function(n){return n<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:it("s"),ss:it("s"),m:it("m"),mm:it("m"),h:it("h"),hh:it("h"),d:it("d"),dd:it("d"),M:it("M"),MM:it("M"),y:it("y"),yy:it("y")},preparse:function(n){return n.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(n){return gtt[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return dtt[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}});
//! moment.js locale configuration
ue={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(n){return/^(gündüz|axşam)$/.test(n)},meridiem:function(n){return n<4?"gecə":n<12?"səhər":n<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(n){if(n===0)return n+"-ıncı";var t=n%10,i=n%100-t,r=n>=100?100:null;return n+(ue[t]||ue[i]||ue[r])},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:fr,mm:fr,h:fr,hh:fr,d:"дзень",dd:fr,M:"месяц",MM:fr,y:"год",yy:fr},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(n){return/^(дня|вечара)$/.test(n)},meridiem:function(n){return n<4?"ночы":n<12?"раніцы":n<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return(n%10==2||n%10==3)&&n%100!=12&&n%100!=13?n+"-і":n+"-ы";case"D":return n+"-га";default:return n}},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(n){var t=n%10,i=n%100;return n===0?n+"-ев":i===0?n+"-ен":i>10&&i<20?n+"-ти":t===1?n+"-ви":t===2?n+"-ри":t===7||t===8?n+"-ми":n+"-ти"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});
//! moment.js locale configuration
ya={"1":"১","2":"২","3":"৩","4":"৪","5":"৫","6":"৬","7":"৭","8":"৮","9":"৯","0":"০"};pa={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};n.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(n){return n.replace(/[১২৩৪৫৬৭৮৯০]/g,function(n){return pa[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return ya[n]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(n,t){return n===12&&(n=0),t==="রাত"&&n>=4||t==="দুপুর"&&n<5||t==="বিকাল"?n+12:n},meridiem:function(n){return n<4?"রাত":n<10?"সকাল":n<17?"দুপুর":n<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});
//! moment.js locale configuration
wa={"1":"༡","2":"༢","3":"༣","4":"༤","5":"༥","6":"༦","7":"༧","8":"༨","9":"༩","0":"༠"};ba={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};n.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(n){return n.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(n){return ba[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return wa[n]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(n,t){return n===12&&(n=0),t==="མཚན་མོ"&&n>=4||t==="ཉིན་གུང"&&n<5||t==="དགོང་དག"?n+12:n},meridiem:function(n){return n<4?"མཚན་མོ":n<10?"ཞོགས་ཀས":n<17?"ཉིན་གུང":n<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:fs,h:"un eur",hh:"%d eur",d:"un devezh",dd:fs,M:"ur miz",MM:fs,y:"ur bloaz",yy:iit},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(n){var t=n===1?"añ":"vet";return n+t},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:yi,m:yi,mm:yi,h:yi,hh:yi,d:"dan",dd:yi,M:"mjesec",MM:yi,y:"godinu",yy:yi},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(n,t){var i=n===1?"r":n===2?"n":n===3?"r":n===4?"t":"è";return(t==="w"||t==="W")&&(i="a"),n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
var fit="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),eit="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),es=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],da=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;n.defineLocale("cs",{months:fit,monthsShort:eit,monthsRegex:da,monthsShortRegex:da,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:es,longMonthsParse:es,shortMonthsParse:es,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:rt,ss:rt,m:rt,mm:rt,h:rt,hh:rt,d:rt,dd:rt,M:rt,MM:rt,y:rt,yy:rt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(n){var t=/сехет$/i.exec(n)?"рен":/ҫул$/i.exec(n)?"тан":"ран";return n+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(n){var t=n,i="";return t>20?i=t===40||t===50||t===60||t===80||t===100?"fed":"ain":t>0&&(i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:pi,mm:"%d Minuten",h:pi,hh:"%d Stunden",d:pi,dd:pi,M:pi,MM:pi,y:pi,yy:pi},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:wi,mm:"%d Minuten",h:wi,hh:"%d Stunden",d:wi,dd:wi,M:wi,MM:wi,y:wi,yy:wi},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:bi,mm:"%d Minuten",h:bi,hh:"%d Stunden",d:bi,dd:bi,M:bi,MM:bi,y:bi,yy:bi},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
os=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"];ss=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];n.defineLocale("dv",{months:os,monthsShort:os,weekdays:ss,weekdaysShort:ss,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(n){return"މފ"===n},meridiem:function(n){return n<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(n){return n.replace(/،/g,",")},postformat:function(n){return n.replace(/,/g,"،")},week:{dow:7,doy:12}});
//! moment.js locale configuration
n.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(n,t){return n?typeof t=="string"&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[n.month()]:this._monthsNominativeEl[n.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(n,t,i){return n>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(n){return(n+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(n,t){var i=this._calendarEl[n],r=t&&t.hours();return at(i)&&(i=i.apply(t)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});
//! moment.js locale configuration
n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});
//! moment.js locale configuration
n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(n){return n.charAt(0).toLowerCase()==="p"},meridiem:function(n,t,i){return n>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});
//! moment.js locale configuration
var ga="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),oit="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),hs=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],nv=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?oit[n.month()]:ga[n.month()]:ga},monthsRegex:nv,monthsShortRegex:nv,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:hs,longMonthsParse:hs,shortMonthsParse:hs,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
var tv="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),sit="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),cs=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],iv=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?sit[n.month()]:tv[n.month()]:tv},monthsRegex:iv,monthsShortRegex:iv,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:cs,longMonthsParse:cs,shortMonthsParse:cs,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});
//! moment.js locale configuration
var rv="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),hit="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),ls=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],uv=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?hit[n.month()]:rv[n.month()]:rv},monthsRegex:uv,monthsShortRegex:uv,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:ls,longMonthsParse:ls,shortMonthsParse:ls,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:bt,ss:bt,m:bt,mm:bt,h:bt,hh:bt,d:bt,dd:"%d päeva",M:bt,MM:bt,y:bt,yy:bt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
fv={"1":"۱","2":"۲","3":"۳","4":"۴","5":"۵","6":"۶","7":"۷","8":"۸","9":"۹","0":"۰"};ev={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};n.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(n){return/بعد از ظهر/.test(n)},meridiem:function(n){return n<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(n){return n.replace(/[۰-۹]/g,function(n){return ev[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return fv[n]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});
//! moment.js locale configuration
wu="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ");ov=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",wu[7],wu[8],wu[9]];n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:ut,ss:ut,m:ut,mm:ut,h:ut,hh:ut,d:ut,dd:ut,M:ut,MM:ut,y:ut,yy:ut},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(n,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return n+(n===1?"er":"e");case"w":case"W":return n+(n===1?"re":"e")}}});
//! moment.js locale configuration
n.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(n,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return n+(n===1?"er":"e");case"w":case"W":return n+(n===1?"re":"e")}},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(n,t){switch(t){case"D":return n+(n===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(n===1?"er":"e");case"w":case"W":return n+(n===1?"re":"e")}},week:{dow:1,doy:4}});
//! moment.js locale configuration
as="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_");sv="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?sv[n.month()]:as[n.month()]:as},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(n){var t=n===1?"d":n%10==2?"na":"mh";return n+t},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(n){var t=n===1?"d":n%10==2?"na":"mh";return n+t},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(n){return n.indexOf("un")===0?"n"+n:"en "+n},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:ft,ss:ft,m:ft,mm:ft,h:ft,hh:ft,d:ft,dd:ft,M:ft,MM:ft,y:ft,yy:ft},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(n,t){switch(t){case"D":return n+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return n}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="rati")?n<4?n:n+12:t==="sokalli"?n:t==="donparam"?n>12?n:n+12:t==="sanje"?n+12:void 0},meridiem:function(n){return n<4?"rati":n<12?"sokalli":n<16?"donparam":n<20?"sanje":"rati"}});
//! moment.js locale configuration
hv={"1":"૧","2":"૨","3":"૩","4":"૪","5":"૫","6":"૬","7":"૭","8":"૮","9":"૯","0":"૦"};cv={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};n.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(n){return n.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(n){return cv[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return hv[n]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="રાત")?n<4?n:n+12:t==="સવાર"?n:t==="બપોર"?n>=10?n:n+12:t==="સાંજ"?n+12:void 0},meridiem:function(n){return n<4?"રાત":n<10?"સવાર":n<17?"બપોર":n<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(n){return n===2?"שעתיים":n+" שעות"},d:"יום",dd:function(n){return n===2?"יומיים":n+" ימים"},M:"חודש",MM:function(n){return n===2?"חודשיים":n+" חודשים"},y:"שנה",yy:function(n){return n===2?"שנתיים":n%10==0&&n!==10?n+" שנה":n+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(n){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(n)},meridiem:function(n,t,i){return n<5?"לפנות בוקר":n<10?"בבוקר":n<12?i?'לפנה"צ':"לפני הצהריים":n<18?i?'אחה"צ':"אחרי הצהריים":"בערב"}});
//! moment.js locale configuration
lv={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"};av={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};n.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return av[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return lv[n]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="रात")?n<4?n:n+12:t==="सुबह"?n:t==="दोपहर"?n>=10?n:n+12:t==="शाम"?n+12:void 0},meridiem:function(n){return n<4?"रात":n<10?"सुबह":n<17?"दोपहर":n<20?"शाम":"रात"},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:ki,m:ki,mm:ki,h:ki,hh:ki,d:"dan",dd:ki,M:"mjesec",MM:ki,y:"godinu",yy:ki},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
vv="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");n.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(n){return n.charAt(1).toLowerCase()==="u"},meridiem:function(n,t,i){return n<12?i===!0?"de":"DE":i===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return yv.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return yv.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:et,ss:et,m:et,mm:et,h:et,hh:et,d:et,dd:et,M:et,MM:et,y:et,yy:et},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(n){return/^(ցերեկվա|երեկոյան)$/.test(n)},meridiem:function(n){return n<4?"գիշերվա":n<12?"առավոտվա":n<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(n,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return n===1?n+"-ին":n+"-րդ";default:return n}},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="pagi")?n:t==="siang"?n>=11?n:n+12:t==="sore"||t==="malam"?n+12:void 0},meridiem:function(n){return n<11?"pagi":n<15?"siang":n<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:kt,ss:kt,m:kt,mm:kt,h:"klukkustund",hh:kt,d:kt,dd:kt,M:kt,MM:kt,y:kt,yy:kt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(n){return(/^[0-9].+$/.test(n)?"tra":"in")+" "+n},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(n){return(/^[0-9].+$/.test(n)?"tra":"in")+" "+n},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(n){return n==="午後"},meridiem:function(n){return n<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(n){return n.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(n){return this.week()<n.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";default:return n}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});
//! moment.js locale configuration
n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="enjing")?n:t==="siyang"?n>=11?n:n+12:t==="sonten"||t==="ndalu"?n+12:void 0},meridiem:function(n){return n<11?"enjing":n<15?"siyang":n<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(n){return/(წამი|წუთი|საათი|წელი)/.test(n)?n.replace(/ი$/,"ში"):n+"ში"},past:function(n){return/(წამი|წუთი|საათი|დღე|თვე)/.test(n)?n.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(n)?n.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(n){return n===0?n:n===1?n+"-ლი":n<20||n<=100&&n%20==0||n%100==0?"მე-"+n:n+"-ე"},week:{dow:1,doy:7}});
//! moment.js locale configuration
fe={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};n.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(n){var t=n%10,i=n>=100?100:null;return n+(fe[n]||fe[t]||fe[i])},week:{dow:1,doy:7}});
//! moment.js locale configuration
pv={"1":"១","2":"២","3":"៣","4":"៤","5":"៥","6":"៦","7":"៧","8":"៨","9":"៩","0":"០"};wv={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};n.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(n){return n==="ល្ងាច"},meridiem:function(n){return n<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(n){return n.replace(/[១២៣៤៥៦៧៨៩០]/g,function(n){return wv[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return pv[n]})},week:{dow:1,doy:4}});
//! moment.js locale configuration
bv={"1":"೧","2":"೨","3":"೩","4":"೪","5":"೫","6":"೬","7":"೭","8":"೮","9":"೯","0":"೦"};kv={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};n.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(n){return n.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(n){return kv[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return bv[n]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="ರಾತ್ರಿ")?n<4?n:n+12:t==="ಬೆಳಿಗ್ಗೆ"?n:t==="ಮಧ್ಯಾಹ್ನ"?n>=10?n:n+12:t==="ಸಂಜೆ"?n+12:void 0},meridiem:function(n){return n<4?"ರಾತ್ರಿ":n<10?"ಬೆಳಿಗ್ಗೆ":n<17?"ಮಧ್ಯಾಹ್ನ":n<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(n){return n+"ನೇ"},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"일";case"M":return n+"월";case"w":case"W":return n+"주";default:return n}},meridiemParse:/오전|오후/,isPM:function(n){return n==="오후"},meridiem:function(n){return n<12?"오전":"오후"}});
//! moment.js locale configuration
var lit={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},ait={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},dv=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];n.defineLocale("ku",{months:dv,monthsShort:dv,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(n){return/ئێواره‌/.test(n)},meridiem:function(n){return n<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(n){return n.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(n){return ait[n]}).replace(/،/g,",")},postformat:function(n){return n.replace(/\d/g,function(n){return lit[n]}).replace(/,/g,"،")},week:{dow:6,doy:12}});
//! moment.js locale configuration
ee={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};n.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(n){var t=n%10,i=n>=100?100:null;return n+(ee[n]||ee[t]||ee[i])},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:vit,past:yit,s:"e puer Sekonnen",ss:"%d Sekonnen",m:bu,mm:"%d Minutten",h:bu,hh:"%d Stonnen",d:bu,dd:"%d Deeg",M:bu,MM:"%d Méint",y:bu,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(n){return n==="ຕອນແລງ"},meridiem:function(n){return n<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(n){return"ທີ່"+n}});
//! moment.js locale configuration
gv={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:pit,ss:tu,m:nu,mm:tu,h:nu,hh:tu,d:nu,dd:tu,M:nu,MM:tu,y:nu,yy:tu},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(n){return n+"-oji"},week:{dow:1,doy:4}});
//! moment.js locale configuration
vs={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};n.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:wit,ss:iu,m:ku,mm:iu,h:ku,hh:iu,d:ku,dd:iu,M:ku,MM:iu,y:ku,yy:iu},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
dt={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,t,i){var r=dt.words[i];return i.length===1?t?r[0]:r[1]:n+" "+dt.correctGrammaticalCase(n,r)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:dt.translate,m:dt.translate,mm:dt.translate,h:dt.translate,hh:dt.translate,d:"dan",dd:dt.translate,M:"mjesec",MM:dt.translate,y:"godinu",yy:dt.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(n){var t=n%10,i=n%100;return n===0?n+"-ев":i===0?n+"-ен":i>10&&i<20?n+"-ти":t===1?n+"-ви":t===2?n+"-ри":t===7||t===8?n+"-ми":n+"-ти"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(n,t){return n===12&&(n=0),t==="രാത്രി"&&n>=4||t==="ഉച്ച കഴിഞ്ഞ്"||t==="വൈകുന്നേരം"?n+12:n},meridiem:function(n){return n<4?"രാത്രി":n<12?"രാവിലെ":n<17?"ഉച്ച കഴിഞ്ഞ്":n<20?"വൈകുന്നേരം":"രാത്രി"}});
//! moment.js locale configuration
n.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(n){return n==="ҮХ"},meridiem:function(n){return n<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:ot,ss:ot,m:ot,mm:ot,h:ot,hh:ot,d:ot,dd:ot,M:ot,MM:ot,y:ot,yy:ot},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+" өдөр";default:return n}}});
//! moment.js locale configuration
iy={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"};ry={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};n.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:st,ss:st,m:st,mm:st,h:st,hh:st,d:st,dd:st,M:st,MM:st,y:st,yy:st},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return ry[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return iy[n]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="रात्री")?n<4?n:n+12:t==="सकाळी"?n:t==="दुपारी"?n>=10?n:n+12:t==="सायंकाळी"?n+12:void 0},meridiem:function(n){return n<4?"रात्री":n<10?"सकाळी":n<17?"दुपारी":n<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="pagi")?n:t==="tengahari"?n>=11?n:n+12:t==="petang"||t==="malam"?n+12:void 0},meridiem:function(n){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="pagi")?n:t==="tengahari"?n>=11?n:n+12:t==="petang"||t==="malam"?n+12:void 0},meridiem:function(n){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
uy={"1":"၁","2":"၂","3":"၃","4":"၄","5":"၅","6":"၆","7":"၇","8":"၈","9":"၉","0":"၀"};fy={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};n.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(n){return n.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(n){return fy[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return uy[n]})},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
ey={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"};oy={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};n.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(n){return n.replace(/[१२३४५६७८९०]/g,function(n){return oy[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return ey[n]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="राति")?n<4?n:n+12:t==="बिहान"?n:t==="दिउँसो"?n>=10?n:n+12:t==="साँझ"?n+12:void 0},meridiem:function(n){return n<3?"राति":n<12?"बिहान":n<16?"दिउँसो":n<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});
//! moment.js locale configuration
var sy="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),bit="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ys=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],hy=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?bit[n.month()]:sy[n.month()]:sy},monthsRegex:hy,monthsShortRegex:hy,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:ys,longMonthsParse:ys,shortMonthsParse:ys,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}});
//! moment.js locale configuration
var cy="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),kit="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ps=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],ly=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?kit[n.month()]:cy[n.month()]:cy},monthsRegex:ly,monthsShortRegex:ly,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:ps,longMonthsParse:ps,shortMonthsParse:ps,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(n===1||n===8||n>=20?"ste":"de")},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
ay={"1":"੧","2":"੨","3":"੩","4":"੪","5":"੫","6":"੬","7":"੭","8":"੮","9":"੯","0":"੦"};vy={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};n.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(n){return n.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(n){return vy[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return ay[n]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="ਰਾਤ")?n<4?n:n+12:t==="ਸਵੇਰ"?n:t==="ਦੁਪਹਿਰ"?n>=10?n:n+12:t==="ਸ਼ਾਮ"?n+12:void 0},meridiem:function(n){return n<4?"ਰਾਤ":n<10?"ਸਵੇਰ":n<17?"ਦੁਪਹਿਰ":n<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});
//! moment.js locale configuration
oe="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_");ws="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");n.defineLocale("pl",{months:function(n,t){return n?t===""?"("+ws[n.month()]+"|"+oe[n.month()]+")":/D MMMM/.test(t)?ws[n.month()]:oe[n.month()]:oe},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:er,m:er,mm:er,h:er,hh:er,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:er,y:"rok",yy:er},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"});
//! moment.js locale configuration
n.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:ru,m:"un minut",mm:ru,h:"o oră",hh:ru,d:"o zi",dd:ru,M:"o lună",MM:ru,y:"un an",yy:ru},week:{dow:1,doy:7}});
//! moment.js locale configuration
se=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];n.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:se,longMonthsParse:se,shortMonthsParse:se,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(n){if(n.week()!==this.week())switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}else return this.day()===2?"[Во] dddd, [в] LT":"[В] dddd, [в] LT"},lastWeek:function(n){if(n.week()!==this.week())switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}else return this.day()===2?"[Во] dddd, [в] LT":"[В] dddd, [в] LT"},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:or,m:or,mm:or,h:"час",hh:or,d:"день",dd:or,M:"месяц",MM:or,y:"год",yy:or},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(n){return/^(дня|вечера)$/.test(n)},meridiem:function(n){return n<4?"ночи":n<12?"утра":n<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":return n+"-й";case"D":return n+"-го";case"w":case"W":return n+"-я";default:return n}},week:{dow:1,doy:4}});
//! moment.js locale configuration
bs=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"];he=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];n.defineLocale("sd",{months:bs,monthsShort:bs,weekdays:he,weekdaysShort:he,weekdaysMin:he,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(n){return"شام"===n},meridiem:function(n){return n<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(n){return n.replace(/،/g,",")},postformat:function(n){return n.replace(/,/g,"،")},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(n){return n+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(n){return n==="ප.ව."||n==="පස් වරු"},meridiem:function(n,t,i){return n>11?i?"ප.ව.":"පස් වරු":i?"පෙ.ව.":"පෙර වරු"}});
//! moment.js locale configuration
yy="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_");py="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");n.defineLocale("sk",{months:yy,monthsShort:py,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:ht,ss:ht,m:ht,mm:ht,h:ht,hh:ht,d:ht,dd:ht,M:ht,MM:ht,y:ht,yy:ht},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:ct,ss:ct,m:ct,mm:ct,h:ct,hh:ct,d:ct,dd:ct,M:ct,MM:ct,y:ct,yy:ct},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(n){return n.charAt(0)==="M"},meridiem:function(n){return n<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
gt={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,t,i){var r=gt.words[i];return i.length===1?t?r[0]:r[1]:n+" "+gt.correctGrammaticalCase(n,r)}};n.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:gt.translate,m:gt.translate,mm:gt.translate,h:gt.translate,hh:gt.translate,d:"дан",dd:gt.translate,M:"месец",MM:gt.translate,y:"годину",yy:gt.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
ni={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(n,t){return n===1?t[0]:n>=2&&n<=4?t[1]:t[2]},translate:function(n,t,i){var r=ni.words[i];return i.length===1?t?r[0]:r[1]:n+" "+ni.correctGrammaticalCase(n,r)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:ni.translate,m:ni.translate,mm:ni.translate,h:ni.translate,hh:ni.translate,d:"dan",dd:ni.translate,M:"mesec",MM:ni.translate,y:"godinu",yy:ni.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(n){return n<11?"ekuseni":n<15?"emini":n<19?"entsambama":"ebusuku"},meridiemHour:function(n,t){return(n===12&&(n=0),t==="ekuseni")?n:t==="emini"?n>=11?n:n+12:t==="entsambama"||t==="ebusuku"?n===0?0:n+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"e":t===1?"a":t===2?"a":t===3?"e":"e";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});
//! moment.js locale configuration
wy={"1":"௧","2":"௨","3":"௩","4":"௪","5":"௫","6":"௬","7":"௭","8":"௮","9":"௯","0":"௦"};by={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};n.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(n){return n+"வது"},preparse:function(n){return n.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(n){return by[n]})},postformat:function(n){return n.replace(/\d/g,function(n){return wy[n]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(n){return n<2?" யாமம்":n<6?" வைகறை":n<10?" காலை":n<14?" நண்பகல்":n<18?" எற்பாடு":n<22?" மாலை":" யாமம்"},meridiemHour:function(n,t){return n===12&&(n=0),t==="யாமம்"?n<2?n:n+12:t==="வைகறை"||t==="காலை"?n:t==="நண்பகல்"?n>=10?n:n+12:n+12},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="రాత్రి")?n<4?n:n+12:t==="ఉదయం"?n:t==="మధ్యాహ్నం"?n>=10?n:n+12:t==="సాయంత్రం"?n+12:void 0},meridiem:function(n){return n<4?"రాత్రి":n<10?"ఉదయం":n<17?"మధ్యాహ్నం":n<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});
//! moment.js locale configuration
n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
ce={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};n.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="шаб")?n<4?n:n+12:t==="субҳ"?n:t==="рӯз"?n>=11?n:n+12:t==="бегоҳ"?n+12:void 0},meridiem:function(n){return n<4?"шаб":n<11?"субҳ":n<16?"рӯз":n<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(n){var t=n%10,i=n>=100?100:null;return n+(ce[n]||ce[t]||ce[i])},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(n){return n==="หลังเที่ยง"},meridiem:function(n){return n<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});
//! moment.js locale configuration
n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}});
//! moment.js locale configuration
le="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");n.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:git,past:nrt,s:"puS lup",ss:fu,m:"wa’ tup",mm:fu,h:"wa’ rep",hh:fu,d:"wa’ jaj",dd:fu,M:"wa’ jar",MM:fu,y:"wa’ DIS",yy:fu},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});ae={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};n.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(n,t){switch(t){case"d":case"D":case"Do":case"DD":return n;default:if(n===0)return n+"'ıncı";var i=n%10,r=n%100-i,u=n>=100?100:null;return n+(ae[i]||ae[r]||ae[u])}},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(n){return"d'o"===n.toLowerCase()},meridiem:function(n,t,i){return n>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:lt,ss:lt,m:lt,mm:lt,h:lt,hh:lt,d:lt,dd:lt,M:lt,MM:lt,y:lt,yy:lt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});
//! moment.js locale configuration
n.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});
//! moment.js language configuration
n.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(n,t){return n===12&&(n=0),t==="يېرىم كېچە"||t==="سەھەر"||t==="چۈشتىن بۇرۇن"?n:t==="چۈشتىن كېيىن"||t==="كەچ"?n+12:n>=11?n:n+12},meridiem:function(n,t){var i=n*100+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"-كۈنى";case"w":case"W":return n+"-ھەپتە";default:return n}},preparse:function(n){return n.replace(/،/g,",")},postformat:function(n){return n.replace(/,/g,"،")},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:rrt,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:eu("[Сьогодні "),nextDay:eu("[Завтра "),lastDay:eu("[Вчора "),nextWeek:eu("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return eu("[Минулої] dddd [").call(this);case 1:case 2:case 4:return eu("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:sr,m:sr,mm:sr,h:"годину",hh:sr,d:"день",dd:sr,M:"місяць",MM:sr,y:"рік",yy:sr},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(n){return/^(дня|вечора)$/.test(n)},meridiem:function(n){return n<4?"ночі":n<12?"ранку":n<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(n,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return n+"-й";case"D":return n+"-го";default:return n}},week:{dow:1,doy:7}});
//! moment.js locale configuration
ks=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"];ve=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];n.defineLocale("ur",{months:ks,monthsShort:ks,weekdays:ve,weekdaysShort:ve,weekdaysMin:ve,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(n){return"شام"===n},meridiem:function(n){return n<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(n){return n.replace(/،/g,",")},postformat:function(n){return n.replace(/,/g,"،")},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});
//! moment.js locale configuration
n.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(n){return/^ch$/i.test(n)},meridiem:function(n,t,i){return n<12?i?"sa":"SA":i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=~~(n%100/10)==1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午"?n:t==="下午"||t==="晚上"?n+12:n>=11?n:n+12},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"周";default:return n}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});
//! moment.js locale configuration
n.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});
//! moment.js locale configuration
return n.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),n.locale("en"),n});
/*!
  * Bootstrap v4.4.1 (https://getbootstrap.com/)
  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
(function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery")):typeof define=="function"&&define.amd?define(["exports","jquery"],t):(n=n||self,t(n.bootstrap={},n.jQuery))})(this,function(n,t){"use strict";function af(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 w(n,t,i){return t&&af(n.prototype,t),i&&af(n,i),n}function fo(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function vf(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function f(n){for(var i,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},t%2?vf(Object(i),!0).forEach(function(t){fo(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):vf(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function eo(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function ho(n){return{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function co(){return{bindType:lr,delegateType:lr,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function lo(n){var u=this,r=!1;t(this).one(i.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||i.triggerTransitionEnd(u)},n),this}function ao(){t.fn.emulateTransitionEnd=lo;t.event.special[i.TRANSITION_END]=co()}function os(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}function ss(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},wf))}}function df(n){return n&&{}.toString.call(n)==="[object Function]"}function yt(n,t){if(n.nodeType!==1)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function pu(n){return n.nodeName==="HTML"?n:n.parentNode||n.host}function gi(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=yt(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:gi(pu(n))}function gf(n){return n&&n.referenceNode?n.referenceNode:n}function ri(n){return n===11?wu:n===10?bu:wu||bu}function ui(n){var r,t,i;if(!n)return document.documentElement;for(r=ri(10)?document.body:null,t=n.offsetParent||null;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return(i=t&&t.nodeName,!i||i==="BODY"||i==="HTML")?n?n.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(t.nodeName)!==-1&&yt(t,"position")==="static"?ui(t):t}function hs(n){var t=n.nodeName;return t==="BODY"?!1:t==="HTML"||ui(n.firstElementChild)===n}function ku(n){return n.parentNode!==null?ku(n.parentNode):n}function wr(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var f=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,e=f?n:t,o=f?t:n,r=document.createRange();return(r.setStart(e,0),r.setEnd(o,0),i=r.commonAncestorContainer,n!==i&&t!==i||e.contains(o))?hs(i)?i:ui(i):(u=ku(n),u.host?wr(u.host,t):wr(n,ku(t).host))}function fi(n){var f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",t=f==="top"?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return i==="BODY"||i==="HTML"?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function cs(n,t){var f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,r=fi(t,"top"),u=fi(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function ne(n,t){var i=t==="x"?"Left":"Top",r=i==="Left"?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function te(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],ri(10)?parseInt(i["offset"+n])+parseInt(r["margin"+(n==="Height"?"Top":"Left")])+parseInt(r["margin"+(n==="Height"?"Bottom":"Right")]):0)}function ie(n){var i=n.body,t=n.documentElement,r=ri(10)&&getComputedStyle(t);return{height:te("Height",i,t,r),width:te("Width",i,t,r)}}function st(n){return y({},n,{right:n.left+n.width,bottom:n.top+n.height})}function du(n){var t={},r,u,o;try{ri(10)?(t=n.getBoundingClientRect(),r=fi(n,"top"),u=fi(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(l){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s=n.nodeName==="HTML"?ie(n.ownerDocument):{},h=s.width||n.clientWidth||i.width,c=s.height||n.clientHeight||i.height,f=n.offsetWidth-h,e=n.offsetHeight-c;return(f||e)&&(o=yt(n),f-=ne(o,"x"),e-=ne(o,"y"),i.width-=f,i.height-=e),st(i)}function gu(n,t){var l=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,a=ri(10),v=t.nodeName==="HTML",u=du(n),r=du(t),s=gi(n),f=yt(t),h=parseFloat(f.borderTopWidth,10),c=parseFloat(f.borderLeftWidth,10),i,e,o;return l&&v&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=st({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&&s.nodeName!=="BODY")&&(i=cs(i,t)),i}function vs(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=n.ownerDocument.documentElement,i=gu(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),e=r?0:fi(t),o=r?0:fi(t,"left"),s={top:e-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:u,height:f};return st(s)}function re(n){var i=n.nodeName,t;return i==="BODY"||i==="HTML"?!1:yt(n,"position")==="fixed"?!0:(t=pu(n),!t)?!1:re(t)}function ue(n){if(!n||!n.parentElement||ri())return document.documentElement;for(var t=n.parentElement;t&&yt(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function nf(n,t,i,r){var s=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1,u={top:0,left:0},h=s?ue(n):wr(n,gf(t)),e,f,o;if(r==="viewport")u=vs(h,s);else if(e=void 0,r==="scrollParent"?(e=gi(pu(t)),e.nodeName==="BODY"&&(e=n.ownerDocument.documentElement)):e=r==="window"?n.ownerDocument.documentElement:r,f=gu(e,h,s),e.nodeName!=="HTML"||re(h))u=f;else{var c=ie(n.ownerDocument),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return i=i||0,o=typeof i=="number",u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function ys(n){var t=n.width,i=n.height;return t*i}function fe(n,t,i,r,u){var c=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(n.indexOf("auto")===-1)return n;var f=nf(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 y({key:n},e[n],{area:ys(e[n])})}).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=s.length>0?s[0].key:o[0].key,h=n.split("-")[1];return l+(h?"-"+h:"")}function ee(n,t,i){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,u=r?ue(t):wr(t,gf(i));return gu(i,u,r)}function oe(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function br(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 se(n,t,i){i=i.split("-")[0];var r=oe(n),e={width:r.width,height:r.height},u=["right","left"].indexOf(i)!==-1,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[br(f)],e}function nr(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ps(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=nr(n,function(n){return n[t]===i});return n.indexOf(r)}function he(n,t,i){var r=i===undefined?n:n.slice(0,ps(n,"name",i));return r.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n["function"]||n.fn;n.enabled&&df(i)&&(t.offsets.popper=st(t.offsets.popper),t.offsets.reference=st(t.offsets.reference),t=i(t,n))}),t}function ws(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};if(n.offsets.reference=ee(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=fe(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=se(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=he(this.modifiers,n),this.state.isCreated)this.options.onUpdate(n);else{this.state.isCreated=!0;this.options.onCreate(n)}}}function ce(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function tf(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,typeof document.body.style[r]!="undefined")return r;return null}function bs(){return this.state.isDestroyed=!0,ce(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[tf("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function le(n){var t=n.ownerDocument;return t?t.defaultView:window}function ae(n,t,i,r){var f=n.nodeName==="BODY",u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||ae(gi(u.parentNode),t,i,r);r.push(u)}function ks(n,t,i,r){i.updateBound=r;le(n).addEventListener("resize",i.updateBound,{passive:!0});var u=gi(n);return ae(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function ds(){this.state.eventsEnabled||(this.state=ks(this.reference,this.options,this.state,this.scheduleUpdate))}function gs(n,t){return le(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function nh(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=gs(this.reference,this.state))}function rf(n){return n!==""&&!isNaN(parseFloat(n))&&isFinite(n)}function uf(n,t){Object.keys(t).forEach(function(i){var r="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&rf(t[i])&&(r="px");n.style[i]=t[i]+r})}function th(n,t){Object.keys(t).forEach(function(i){var r=t[i];r!==!1?n.setAttribute(i,t[i]):n.removeAttribute(i)})}function ih(n){return uf(n.instance.popper,n.styles),th(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&uf(n.arrowElement,n.arrowStyles),n}function rh(n,t,i,r,u){var f=ee(u,t,n,i.positionFixed),e=fe(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),uf(t,{position:i.positionFixed?"fixed":"absolute"}),i}function uh(n,t){var u=n.offsets,i=u.popper,l=u.reference,r=Math.round,a=Math.floor,f=function(n){return n},e=r(l.width),o=r(i.width),v=["left","right"].indexOf(n.placement)!==-1,s=n.placement.indexOf("-")!==-1,y=e%2==o%2,p=e%2==1&&o%2==1,h=t?v||s||y?r:a:f,c=t?r:f;return{left:h(p&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function fh(n,t){var w=t.x,b=t.y,k=n.offsets.popper,o=nr(n.instance.modifiers,function(n){return n.name==="applyStyle"}).gpuAcceleration,a,v,p;o!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var d=o!==undefined?o:t.gpuAcceleration,u=ui(n.instance.popper),c=du(u),i={position:k.position},r=uh(n,window.devicePixelRatio<2||!ve),f=w==="bottom"?"top":"bottom",e=b==="right"?"left":"right",l=tf("transform"),s=void 0,h=void 0;return h=f==="bottom"?u.nodeName==="HTML"?-u.clientHeight+r.bottom:-c.height+r.bottom:r.top,s=e==="right"?u.nodeName==="HTML"?-u.clientWidth+r.right:-c.width+r.right:r.left,d&&l?(i[l]="translate3d("+s+"px, "+h+"px, 0)",i[f]=0,i[e]=0,i.willChange="transform"):(a=f==="bottom"?-1:1,v=e==="right"?-1:1,i[f]=h*a,i[e]=s*v,i.willChange=f+", "+e),p={"x-placement":n.placement},n.attributes=y({},p,n.attributes),n.styles=y({},i,n.styles),n.arrowStyles=y({},n.offsets.arrow,n.arrowStyles),n}function ye(n,t,i){var u=nr(n,function(n){var i=n.name;return i===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 eh(n,t){var o,r;if(!ye(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,typeof r=="string"){if(r=n.instance.popper.querySelector(r),!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,s=["left","right"].indexOf(p)!==-1,c=s?"height":"width",l=s?"Top":"Left",i=l.toLowerCase(),w=s?"left":"top",h=s?"bottom":"right",f=oe(r)[c];u[h]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[h]-f));u[i]+f>e[h]&&(n.offsets.popper[i]+=u[i]+f-e[h]);n.offsets.popper=st(n.offsets.popper);var b=u[i]+u[c]/2-f/2,y=yt(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=(o={},ei(o,i,Math.round(a)),ei(o,w,""),o),n}function oh(n){return n==="end"?"start":n==="start"?"end":n}function pe(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=kr.indexOf(n),i=kr.slice(t+1).concat(kr.slice(0,t));return r?i.reverse():i}function sh(n,t){if(ce(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var f=nf(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],e=br(i),r=n.placement.split("-")[1]||"",u=[];switch(t.behavior){case dr.FLIP:u=[i,e];break;case dr.CLOCKWISE:u=pe(i);break;case dr.COUNTERCLOCKWISE:u=pe(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=br(i);var c=n.offsets.popper,a=n.offsets.reference,h=Math.floor,k=i==="left"&&h(c.right)>h(a.left)||i==="right"&&h(c.left)<h(a.right)||i==="top"&&h(c.bottom)>h(a.top)||i==="bottom"&&h(c.top)<h(a.bottom),v=h(c.left)<h(f.left),p=h(c.right)>h(f.right),w=h(c.top)<h(f.top),b=h(c.bottom)>h(f.bottom),d=i==="left"&&v||i==="right"&&p||i==="top"&&w||i==="bottom"&&b,l=["top","bottom"].indexOf(i)!==-1,nt=!!t.flipVariations&&(l&&r==="start"&&v||l&&r==="end"&&p||!l&&r==="start"&&w||!l&&r==="end"&&b),tt=!!t.flipVariationsByContent&&(l&&r==="start"&&p||l&&r==="end"&&v||!l&&r==="start"&&b||!l&&r==="end"&&w),g=nt||tt;(k||d||g)&&(n.flipped=!0,(k||d)&&(i=u[s+1]),g&&(r=oh(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=y({},n.offsets.popper,se(n.instance.popper,n.offsets.reference,n.placement)),n=he(n.instance.modifiers,n,"flip"))}),n}function hh(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=["top","bottom"].indexOf(s)!==-1,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}function ch(n,t,i,r){var s=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+s[1],u=s[2],e,h,o;if(!f)return n;if(u.indexOf("%")===0){e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return h=st(e),h[t]/100*f}return u==="vh"||u==="vw"?(o=void 0,o=u==="vh"?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),o/100*f):f}function lh(n,t,i,r){var s=[0,0],h=["right","left"].indexOf(r)!==-1,u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(nr(u,function(n){return n.search(/,|\s/)!==-1})),o,e;return u[f]&&u[f].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=f!==-1?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],e=e.map(function(n,r){var f=(r===1?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return n[n.length-1]===""&&["+","-"].indexOf(t)!==-1?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return ch(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){rf(i)&&(s[t]+=i*(n[r-1]==="-"?-1:1))})}),s}function ah(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=rf(+f)?[+f,0]:lh(f,i,s,u),u==="left"?(i.top+=r[0],i.left-=r[1]):u==="right"?(i.top+=r[0],i.left+=r[1]):u==="top"?(i.left+=r[0],i.top-=r[1]):u==="bottom"&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}function vh(n,t){var f=t.boundariesElement||ui(n.instance.popper),u;n.instance.reference===f&&(f=ui(f));var e=tf("transform"),r=n.instance.popper.style,o=r.top,s=r.left,h=r[e];r.top="";r.left="";r[e]="";u=nf(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])),ei({},n,r)},secondary:function(n){var r=n==="right"?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-(n==="right"?i.width:i.height))),ei({},r,f)}};return c.forEach(function(n){var t=["left","top"].indexOf(n)!==-1?"primary":"secondary";i=y({},i,l[t](n))}),n.offsets.popper=i,n}function yh(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=["bottom","top"].indexOf(h)!==-1,t=o?"left":"top",s=o?"width":"height",c={start:ei({},t,i[t]),end:ei({},t,i[t]+i[s]-e[s])};n.offsets.popper=y({},e,c[u])}return n}function ph(n){if(!ye(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=nr(n.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(n.hide===!0)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(n.hide===!1)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}function wh(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=["left","right"].indexOf(t)!==-1,o=["top","left"].indexOf(t)===-1;return i[f?"left":"top"]=e[t]-(o?i[f?"width":"height"]:0),n.placement=br(r),n.offsets.popper=st(i),n}function lc(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return sc.indexOf(r)!==-1?Boolean(n.nodeValue.match(hc)||n.nodeValue.match(cc)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function ke(n,t,i){var r,e,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,u=s.parseFromString(n,"text/html"),h=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),c=function(n){var i=f[n],e=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[e]||[]);r.forEach(function(n){lc(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,e=f.length;r<e;r++)o=c(r),o==="continue";return u.body.innerHTML}var i,ii,wf,bf,kf,wu,bu,ve,ff,kr,dr;t=t&&t.hasOwnProperty("default")?t["default"]:t;var lr="transitionend",oo=1e6,so=1e3;i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*oo);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&t!=="#"||(i=n.getAttribute("href"),t=i&&i!=="#"?i.trim():"");try{return document.querySelector(t)?t:null}catch(r){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return!u&&!f?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*so)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(lr)},supportsTransitionEnd:function(){return Boolean(lr)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,r){for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=t[u],o=f&&i.isElement(f)?"element":ho(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?i.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};i.jQueryDetection();ao();var vi="alert",vo="4.4.1",ar="bs.alert",ou="."+ar,yo=t.fn[vi],su={CLOSE:"close"+ou,CLOSED:"closed"+ou,CLICK_DATA_API:"click"+ou+".data-api"},hu={ALERT:"alert",FADE:"fade",SHOW:"show"},dt=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,ar);this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=document.querySelector(u)),r||(r=t(n).closest("."+hu.ALERT)[0]),r},r._triggerCloseEvent=function(n){var i=t.Event(su.CLOSE);return t(n).trigger(i),i},r._removeElement=function(n){var u=this,r;if(t(n).removeClass(hu.SHOW),!t(n).hasClass(hu.FADE)){this._destroyElement(n);return}r=i.getTransitionDurationFromElement(n);t(n).one(i.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(r)},r._destroyElement=function(n){t(n).detach().trigger(su.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(ar);r||(r=new n(this),u.data(ar,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},w(n,null,[{key:"VERSION",get:function(){return vo}}]),n}();t(document).on(su.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,dt._handleDismiss(new dt));t.fn[vi]=dt._jQueryInterface;t.fn[vi].Constructor=dt;t.fn[vi].noConflict=function(){return t.fn[vi]=yo,dt._jQueryInterface};var yi="button",po="4.4.1",vr="bs.button",yr="."+vr,pr=".data-api",wo=t.fn[yi],v={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},b={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLES:'[data-toggle="buttons"]',DATA_TOGGLE:'[data-toggle="button"]',DATA_TOGGLES_BUTTONS:'[data-toggle="buttons"] .btn',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},cu={CLICK_DATA_API:"click"+yr+pr,FOCUS_BLUR_DATA_API:"focus"+yr+pr+" "+("blur"+yr+pr),LOAD_DATA_API:"load"+yr+pr},pi=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest(b.DATA_TOGGLES)[0],n,r;f&&(n=this._element.querySelector(b.INPUT),n&&(n.type==="radio"?n.checked&&this._element.classList.contains(v.ACTIVE)?i=!1:(r=f.querySelector(b.ACTIVE),r&&t(r).removeClass(v.ACTIVE)):n.type==="checkbox"?this._element.tagName==="LABEL"&&n.checked===this._element.classList.contains(v.ACTIVE)&&(i=!1):i=!1,i&&(n.checked=!this._element.classList.contains(v.ACTIVE),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(v.ACTIVE)),i&&t(this._element).toggleClass(v.ACTIVE))},i.dispose=function(){t.removeData(this._element,vr);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(vr);r||(r=new n(this),t(this).data(vr,r));i==="toggle"&&r[i]()})},w(n,null,[{key:"VERSION",get:function(){return po}}]),n}();t(document).on(cu.CLICK_DATA_API,b.DATA_TOGGLE_CARROT,function(n){var i=n.target,r;if(t(i).hasClass(v.BUTTON)||(i=t(i).closest(b.BUTTON)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(b.INPUT),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled"))){n.preventDefault();return}pi._jQueryInterface.call(t(i),"toggle")}}).on(cu.FOCUS_BLUR_DATA_API,b.DATA_TOGGLE_CARROT,function(n){var i=t(n.target).closest(b.BUTTON)[0];t(i).toggleClass(v.FOCUS,/^focus(in)?$/.test(n.type))});t(window).on(cu.LOAD_DATA_API,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(b.DATA_TOGGLES_BUTTONS)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(b.INPUT),f.checked||f.hasAttribute("checked")?t.classList.add(v.ACTIVE):t.classList.remove(v.ACTIVE);for(n=[].slice.call(document.querySelectorAll(b.DATA_TOGGLE)),i=0,e=n.length;i<e;i++)r=n[i],r.getAttribute("aria-pressed")==="true"?r.classList.add(v.ACTIVE):r.classList.remove(v.ACTIVE)});t.fn[yi]=pi._jQueryInterface;t.fn[yi].Constructor=pi;t.fn[yi].noConflict=function(){return t.fn[yi]=wo,pi._jQueryInterface};var gt="carousel",bo="4.4.1",wi="bs.carousel",s="."+wi,yf=".data-api",ko=t.fn[gt],go=37,ns=39,ts=500,is=40,lu={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},rs={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},nt={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},h={SLIDE:"slide"+s,SLID:"slid"+s,KEYDOWN:"keydown"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s,TOUCHSTART:"touchstart"+s,TOUCHMOVE:"touchmove"+s,TOUCHEND:"touchend"+s,POINTERDOWN:"pointerdown"+s,POINTERUP:"pointerup"+s,DRAG_START:"dragstart"+s,LOAD_DATA_API:"load"+s+yf,CLICK_DATA_API:"click"+s+yf},c={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},tt={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},pf={TOUCH:"touch",PEN:"pen"},ni=function(){function r(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=n;this._indicatorsElement=this._element.querySelector(tt.INDICATORS);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=r.prototype;return n.next=function(){this._isSliding||this._slide(nt.NEXT)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(nt.PREV)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(tt.NEXT_PREV)&&(i.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 u=this,i,r;if(this._activeElement=this._element.querySelector(tt.ACTIVE_ITEM),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(h.SLID,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?nt.NEXT:nt.PREV;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(s);t.removeData(this._element,wi);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=f({},lu,{},n),i.typeCheckConfig(gt,n,rs),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=is||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(h.KEYDOWN,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(h.MOUSEENTER,function(t){return n.pause(t)}).on(h.MOUSELEAVE,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&pf[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&pf[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},ts+n._config.interval))};t(this._element.querySelectorAll(tt.ITEM_IMG)).on(h.DRAG_START,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(h.POINTERDOWN,function(n){return i(n)});t(this._element).on(h.POINTERUP,function(n){return r(n)});this._element.classList.add(c.POINTER_EVENT)}else{t(this._element).on(h.TOUCHSTART,function(n){return i(n)});t(this._element).on(h.TOUCHMOVE,function(n){return u(n)});t(this._element).on(h.TOUCHEND,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case go:n.preventDefault();this.prev();break;case ns:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(tt.ITEM)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===nt.NEXT,e=n===nt.PREV,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===nt.PREV?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(tt.ACTIVE_ITEM)),r=t.Event(h.SLIDE,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(tt.ACTIVE)),t(r).removeClass(c.ACTIVE),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(c.ACTIVE))},n._slide=function(n,r){var v=this,f=this._element.querySelector(tt.ACTIVE_ITEM),b=this._getItemIndex(f),u=r||f&&this._getItemByDirection(n,f),k=this._getItemIndex(u),y=Boolean(this._interval),e,o,s,p,l,a,w;if(n===nt.NEXT?(e=c.LEFT,o=c.NEXT,s=nt.LEFT):(e=c.RIGHT,o=c.PREV,s=nt.RIGHT),u&&t(u).hasClass(c.ACTIVE)){this._isSliding=!1;return}(p=this._triggerSlideEvent(u,s),p.isDefaultPrevented())||f&&u&&(this._isSliding=!0,y&&this.pause(),this._setActiveIndicatorElement(u),l=t.Event(h.SLID,{relatedTarget:u,direction:s,from:b,to:k}),t(this._element).hasClass(c.SLIDE)?(t(u).addClass(o),i.reflow(u),t(f).addClass(e),t(u).addClass(e),a=parseInt(u.getAttribute("data-interval"),10),a?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=a):this._config.interval=this._config.defaultInterval||this._config.interval,w=i.getTransitionDurationFromElement(f),t(f).one(i.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(c.ACTIVE);t(f).removeClass(c.ACTIVE+" "+o+" "+e);v._isSliding=!1;setTimeout(function(){return t(v._element).trigger(l)},0)}).emulateTransitionEnd(w)):(t(f).removeClass(c.ACTIVE),t(u).addClass(c.ACTIVE),this._isSliding=!1,t(this._element).trigger(l)),y&&this.cycle())},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(wi),u=f({},lu,{},t(this).data()),e;if(typeof n=="object"&&(u=f({},u,{},n)),e=typeof n=="string"?n:u.slide,i||(i=new r(this,u),t(this).data(wi,i)),typeof n=="number")i.to(n);else if(typeof e=="string"){if(typeof i[e]=="undefined")throw new TypeError('No method named "'+e+'"');i[e]()}else u.interval&&u.ride&&(i.pause(),i.cycle())})},r._dataApiClickHandler=function(n){var s=i.getSelectorFromElement(this),u,o,e;s&&(u=t(s)[0],u&&t(u).hasClass(c.CAROUSEL))&&(o=f({},t(u).data(),{},t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),r._jQueryInterface.call(t(u),o),e&&t(u).data(wi).to(e),n.preventDefault())},w(r,null,[{key:"VERSION",get:function(){return bo}},{key:"Default",get:function(){return lu}}]),r}();t(document).on(h.CLICK_DATA_API,tt.DATA_SLIDE,ni._dataApiClickHandler);t(window).on(h.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(tt.DATA_RIDE)),n=0,u=r.length;n<u;n++)i=t(r[n]),ni._jQueryInterface.call(i,i.data())});t.fn[gt]=ni._jQueryInterface;t.fn[gt].Constructor=ni;t.fn[gt].noConflict=function(){return t.fn[gt]=ko,ni._jQueryInterface};var ti="collapse",us="4.4.1",vt="bs.collapse",bi="."+vt,fs=t.fn[ti],au={toggle:!0,parent:""},es={toggle:"boolean",parent:"(string|element)"},ki={SHOW:"show"+bi,SHOWN:"shown"+bi,HIDE:"hide"+bi,HIDDEN:"hidden"+bi,CLICK_DATA_API:"click"+bi+".data-api"},e={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},vu={WIDTH:"width",HEIGHT:"height"},yu={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},di=function(){function r(n,t){var u,r,e;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],'+('[data-toggle="collapse"][data-target="#'+n.id+'"]'))),u=[].slice.call(document.querySelectorAll(yu.DATA_TOGGLE)),r=0,e=u.length;r<e;r++){var o=u[r],f=i.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=r.prototype;return n.toggle=function(){t(this._element).hasClass(e.SHOW)?this.hide():this.show()},n.show=function(){var u=this,n,o,s,f;if(!this._isTransitioning&&!t(this._element).hasClass(e.SHOW)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(yu.ACTIVES)).filter(function(n){return typeof u._config.parent=="string"?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(e.COLLAPSE)}),n.length===0&&(n=null)),!n||(o=t(n).not(this._selector).data(vt),!o||!o._isTransitioning))&&(s=t.Event(ki.SHOW),t(this._element).trigger(s),!s.isDefaultPrevented())){n&&(r._jQueryInterface.call(t(n).not(this._selector),"hide"),o||t(n).data(vt,null));f=this._getDimension();t(this._element).removeClass(e.COLLAPSE).addClass(e.COLLAPSING);this._element.style[f]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(e.COLLAPSED).attr("aria-expanded",!0);this.setTransitioning(!0);var h=function(){t(u._element).removeClass(e.COLLAPSING).addClass(e.COLLAPSE).addClass(e.SHOW);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(ki.SHOWN)},c=f[0].toUpperCase()+f.slice(1),l="scroll"+c,a=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,h).emulateTransitionEnd(a);this._element.style[f]=this._element[l]+"px"}},n.hide=function(){var h=this,u,n,f,r,o,s,c,l,a;if(!this._isTransitioning&&t(this._element).hasClass(e.SHOW)&&(u=t.Event(ki.HIDE),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),t(this._element).addClass(e.COLLAPSING).removeClass(e.COLLAPSE).removeClass(e.SHOW),f=this._triggerArray.length,f>0)for(r=0;r<f;r++)o=this._triggerArray[r],s=i.getSelectorFromElement(o),s!==null&&(c=t([].slice.call(document.querySelectorAll(s))),c.hasClass(e.SHOW)||t(o).addClass(e.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);l=function(){h.setTransitioning(!1);t(h._element).removeClass(e.COLLAPSING).addClass(e.COLLAPSE).trigger(ki.HIDDEN)};this._element.style[n]="";a=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,l).emulateTransitionEnd(a)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,vt);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=f({},au,{},n),n.toggle=Boolean(n.toggle),i.typeCheckConfig(ti,n,es),n},n._getDimension=function(){var n=t(this._element).hasClass(vu.WIDTH);return n?vu.WIDTH:vu.HEIGHT},n._getParent=function(){var e=this,n,u,f;return i.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(r._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(e.SHOW);i.length&&t(i).toggleClass(e.COLLAPSED,!r).attr("aria-expanded",r)},r._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},r._jQueryInterface=function(n){return this.each(function(){var u=t(this),i=u.data(vt),e=f({},au,{},u.data(),{},typeof n=="object"&&n?n:{});if(!i&&e.toggle&&/show|hide/.test(n)&&(e.toggle=!1),i||(i=new r(this,e),u.data(vt,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},w(r,null,[{key:"VERSION",get:function(){return us}},{key:"Default",get:function(){return au}}]),r}();t(document).on(ki.CLICK_DATA_API,yu.DATA_TOGGLE,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),i=n.data(vt),u=i?"toggle":r.data();di._jQueryInterface.call(n,u)})});t.fn[ti]=di._jQueryInterface;t.fn[ti].Constructor=di;t.fn[ti].noConflict=function(){return t.fn[ti]=fs,di._jQueryInterface};
/**!
   * @fileOverview Kickass library to create and place poppers near their reference elements.
   * @version 1.16.0
   * @license
   * Copyright (c) 2016 Federico Zivolo and contributors
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission notice shall be included in all
   * copies or substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   * SOFTWARE.
   */
ii=typeof window!="undefined"&&typeof document!="undefined"&&typeof navigator!="undefined";wf=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(ii&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}();bf=ii&&window.Promise;kf=bf?os:ss;wu=ii&&!!(window.MSInputMethodContext&&document.documentMode);bu=ii&&/MSIE 10/.test(navigator.userAgent);var ls=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},as=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}}(),ei=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},y=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};ve=ii&&/Firefox/i.test(navigator.userAgent);ff=["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"];kr=ff.slice(3);dr={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};var bh={shift:{order:100,enabled:!0,fn:yh},offset:{order:200,enabled:!0,fn:ah,offset:0},preventOverflow:{order:300,enabled:!0,fn:vh,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:hh},arrow:{order:500,enabled:!0,fn:eh,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:sh,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:wh},hide:{order:800,enabled:!0,fn:ph},computeStyle:{order:850,enabled:!0,fn:fh,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:ih,onLoad:rh,gpuAcceleration:undefined}},kh={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:bh},pt=function(){function n(t,i){var r=this,u=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},f;ls(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=kf(this.update.bind(this));this.options=y({},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(y({},n.Defaults.modifiers,u.modifiers)).forEach(function(t){r.options.modifiers[t]=y({},n.Defaults.modifiers[t]||{},u.modifiers?u.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return y({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){if(n.enabled&&df(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 as(n,[{key:"update",value:function(){return ws.call(this)}},{key:"destroy",value:function(){return bs.call(this)}},{key:"enableEventListeners",value:function(){return ds.call(this)}},{key:"disableEventListeners",value:function(){return nh.call(this)}}]),n}();pt.Utils=(typeof window!="undefined"?window:global).PopperUtils;pt.placements=ff;pt.Defaults=kh;var oi="dropdown",dh="4.4.1",tr="bs.dropdown",et="."+tr,ef=".data-api",gh=t.fn[oi],ir=27,we=32,be=9,of=38,sf=40,nc=3,tc=new RegExp(of+"|"+sf+"|"+ir),l={HIDE:"hide"+et,HIDDEN:"hidden"+et,SHOW:"show"+et,SHOWN:"shown"+et,CLICK:"click"+et,CLICK_DATA_API:"click"+et+ef,KEYDOWN_DATA_API:"keydown"+et+ef,KEYUP_DATA_API:"keyup"+et+ef},u={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},it={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},si={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},ic={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},rc={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},ht=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 r=n.prototype;return r.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(u.DISABLED)){var i=t(this._menu).hasClass(u.SHOW);(n._clearMenus(),i)||this.show(!0)}},r.show=function(r){var e;if(r===void 0&&(r=!1),!this._element.disabled&&!t(this._element).hasClass(u.DISABLED)&&!t(this._menu).hasClass(u.SHOW)){var o={relatedTarget:this._element},s=t.Event(l.SHOW,o),f=n._getParentFromElement(this._element);if(t(f).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar&&r){if(typeof pt=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");e=this._element;this._config.reference==="parent"?e=f:i.isElement(this._config.reference)&&(e=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(e=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(f).addClass(u.POSITION_STATIC);this._popper=new pt(e,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(f).closest(it.NAVBAR_NAV).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(u.SHOW);t(f).toggleClass(u.SHOW).trigger(t.Event(l.SHOWN,o))}}},r.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(u.DISABLED)&&t(this._menu).hasClass(u.SHOW)){var i={relatedTarget:this._element},r=t.Event(l.HIDE,i),f=n._getParentFromElement(this._element);(t(f).trigger(r),r.isDefaultPrevented())||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(u.SHOW),t(f).toggleClass(u.SHOW).trigger(t.Event(l.HIDDEN,i)))}},r.dispose=function(){t.removeData(this._element,tr);t(this._element).off(et);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},r.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},r._addEventListeners=function(){var n=this;t(this._element).on(l.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},r._getConfig=function(n){return n=f({},this.constructor.Default,{},t(this._element).data(),{},n),i.typeCheckConfig(oi,n,this.constructor.DefaultType),n},r._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(it.MENU))}return this._menu},r._getPlacement=function(){var i=t(this._element.parentNode),n=si.BOTTOM;return i.hasClass(u.DROPUP)?(n=si.TOP,t(this._menu).hasClass(u.MENURIGHT)&&(n=si.TOPEND)):i.hasClass(u.DROPRIGHT)?n=si.RIGHT:i.hasClass(u.DROPLEFT)?n=si.LEFT:t(this._menu).hasClass(u.MENURIGHT)&&(n=si.BOTTOMEND),n},r._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},r._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=f({},n.offsets,{},t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},r._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),f({},n,{},this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(tr),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(tr,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var f,r,c,a,h;if(!i||i.which!==nc&&(i.type!=="keyup"||i.which===be))for(f=[].slice.call(document.querySelectorAll(it.DATA_TOGGLE)),r=0,c=f.length;r<c;r++){var e=n._getParentFromElement(f[r]),o=t(f[r]).data(tr),s={relatedTarget:f[r]};(i&&i.type==="click"&&(s.clickEvent=i),o)&&(a=o._menu,t(e).hasClass(u.SHOW))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===be)&&t.contains(e,i.target)||(h=t.Event(l.HIDE,s),t(e).trigger(h),h.isDefaultPrevented())||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),f[r].setAttribute("aria-expanded","false"),o._popper&&o._popper.destroy(),t(a).removeClass(u.SHOW),t(e).removeClass(u.SHOW).trigger(t.Event(l.HIDDEN,s))))}},n._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var e,o,s,f,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==we&&(i.which===ir||(i.which===sf||i.which===of)&&!t(i.target).closest(it.MENU).length):tc.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!t(this).hasClass(u.DISABLED))&&(e=n._getParentFromElement(this),o=t(e).hasClass(u.SHOW),o||i.which!==ir)){if(!o||o&&(i.which===ir||i.which===we)){i.which===ir&&(s=e.querySelector(it.DATA_TOGGLE),t(s).trigger("focus"));t(this).trigger("click");return}(f=[].slice.call(e.querySelectorAll(it.VISIBLE_ITEMS)).filter(function(n){return t(n).is(":visible")}),f.length!==0)&&(r=f.indexOf(i.target),i.which===of&&r>0&&r--,i.which===sf&&r<f.length-1&&r++,r<0&&(r=0),f[r].focus())}},w(n,null,[{key:"VERSION",get:function(){return dh}},{key:"Default",get:function(){return ic}},{key:"DefaultType",get:function(){return rc}}]),n}();t(document).on(l.KEYDOWN_DATA_API,it.DATA_TOGGLE,ht._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,it.MENU,ht._dataApiKeydownHandler).on(l.CLICK_DATA_API+" "+l.KEYUP_DATA_API,ht._clearMenus).on(l.CLICK_DATA_API,it.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();ht._jQueryInterface.call(t(this),"toggle")}).on(l.CLICK_DATA_API,it.FORM_CHILD,function(n){n.stopPropagation()});t.fn[oi]=ht._jQueryInterface;t.fn[oi].Constructor=ht;t.fn[oi].noConflict=function(){return t.fn[oi]=gh,ht._jQueryInterface};var hi="modal",uc="4.4.1",rr="bs.modal",a="."+rr,fc=t.fn[hi],ec=27,hf={backdrop:!0,keyboard:!0,focus:!0,show:!0},oc={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},r={HIDE:"hide"+a,HIDE_PREVENTED:"hidePrevented"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,FOCUSIN:"focusin"+a,RESIZE:"resize"+a,CLICK_DISMISS:"click.dismiss"+a,KEYDOWN_DISMISS:"keydown.dismiss"+a,MOUSEUP_DISMISS:"mouseup.dismiss"+a,MOUSEDOWN_DISMISS:"mousedown.dismiss"+a,CLICK_DATA_API:"click"+a+".data-api"},o={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show",STATIC:"modal-static"},ct={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},ur=function(){function u(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(ct.DIALOG);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=u.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,u;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(o.FADE)&&(this._isTransitioning=!0),u=t.Event(r.SHOW,{relatedTarget:n}),t(this._element).trigger(u),!this._isShown&&!u.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();t(this._element).on(r.CLICK_DISMISS,ct.DATA_DISMISS,function(n){return i.hide(n)});t(this._dialog).on(r.MOUSEDOWN_DISMISS,function(){t(i._element).one(r.MOUSEUP_DISMISS,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(n)})}},n.hide=function(n){var s=this,u,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(u=t.Event(r.HIDE),t(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(o.FADE),f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(r.FOCUSIN),t(this._element).removeClass(o.SHOW),t(this._element).off(r.CLICK_DISMISS),t(this._dialog).off(r.MOUSEDOWN_DISMISS),f?(e=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(n){return s._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(a)});t(document).off(r.FOCUSIN);t.removeData(this._element,rr);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._isTransitioning=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=f({},hf,{},n),i.typeCheckConfig(hi,n,oc),n},n._triggerBackdropTransition=function(){var f=this,n,u;if(this._config.backdrop==="static"){if(n=t.Event(r.HIDE_PREVENTED),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add(o.STATIC);u=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){f._element.classList.remove(o.STATIC)}).emulateTransitionEnd(u);this._element.focus()}else this.hide()},n._showElement=function(n){var u=this,e=t(this._element).hasClass(o.FADE),s=this._dialog?this._dialog.querySelector(ct.MODAL_BODY):null,h,f,c;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.setAttribute("aria-modal",!0);t(this._dialog).hasClass(o.SCROLLABLE)&&s?s.scrollTop=0:this._element.scrollTop=0;e&&i.reflow(this._element);t(this._element).addClass(o.SHOW);this._config.focus&&this._enforceFocus();h=t.Event(r.SHOWN,{relatedTarget:n});f=function(){u._config.focus&&u._element.focus();u._isTransitioning=!1;t(u._element).trigger(h)};e?(c=i.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(i.TRANSITION_END,f).emulateTransitionEnd(c)):f()},n._enforceFocus=function(){var n=this;t(document).off(r.FOCUSIN).on(r.FOCUSIN,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown&&this._config.keyboard)t(this._element).on(r.KEYDOWN_DISMISS,function(t){t.which===ec&&n._triggerBackdropTransition()});else this._isShown||t(this._element).off(r.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(r.RESIZE,function(t){return n.handleUpdate(t)});else t(window).off(r.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(o.OPEN);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(r.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var u=this,f=t(this._element).hasClass(o.FADE)?o.FADE:"",s,e,h;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=o.BACKDROP;f&&this._backdrop.classList.add(f);t(this._backdrop).appendTo(document.body);t(this._element).on(r.CLICK_DISMISS,function(n){if(u._ignoreBackdropClick){u._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&u._triggerBackdropTransition()});if(f&&i.reflow(this._backdrop),t(this._backdrop).addClass(o.SHOW),!n)return;if(!f){n();return}s=i.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(s)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(o.SHOW),e=function(){u._removeBackdrop();n&&n()},t(this._element).hasClass(o.FADE)?(h=i.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(i.TRANSITION_END,e).emulateTransitionEnd(h)):e()):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,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(ct.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(ct.STICKY_CONTENT)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(o.OPEN)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(ct.FIXED_CONTENT)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+ct.STICKY_CONTENT));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=o.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},u._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data(rr),e=f({},hf,{},t(this).data(),{},typeof n=="object"&&n?n:{});if(r||(r=new u(this,e),t(this).data(rr,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n](i)}else e.show&&r.show(i)})},w(u,null,[{key:"VERSION",get:function(){return uc}},{key:"Default",get:function(){return hf}}]),u}();t(document).on(r.CLICK_DATA_API,ct.DATA_TOGGLE,function(n){var e=this,u,o=i.getSelectorFromElement(this),s,h;o&&(u=document.querySelector(o));s=t(u).data(rr)?"toggle":f({},t(u).data(),{},t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();h=t(u).one(r.SHOW,function(n){if(!n.isDefaultPrevented())h.one(r.HIDDEN,function(){t(e).is(":visible")&&e.focus()})});ur._jQueryInterface.call(t(u),s,this)});t.fn[hi]=ur._jQueryInterface;t.fn[hi].Constructor=ur;t.fn[hi].noConflict=function(){return t.fn[hi]=fc,ur._jQueryInterface};var sc=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],hc=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,cc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;var wt="tooltip",ac="4.4.1",gr="bs.tooltip",k="."+gr,vc=t.fn[wt],de="bs-tooltip",yc=new RegExp("(^|\\s)"+de+"\\S+","g"),pc=["sanitize","whiteList","sanitizeFn"],wc={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},bc={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},kc={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:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},lt={SHOW:"show",OUT:"out"},dc={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:"show"+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},rt={FADE:"fade",SHOW:"show"},ge={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ut={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},bt=function(){function r(n,t){if(typeof pt=="undefined")throw new TypeError("Bootstrap's 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=r.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 r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(rt.SHOW)){this._leave(null,this);return}this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(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,u,f,h,r,e,c,o,l,s,a;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(u=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(u),f=i.findShadowRoot(this.element),h=t.contains(f!==null?f:this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!h)return;if(r=this.getTipElement(),e=i.getUID(this.constructor.NAME),r.setAttribute("id",e),this.element.setAttribute("aria-describedby",e),this.setContent(),this.config.animation&&t(r).addClass(rt.FADE),c=typeof this.config.placement=="function"?this.config.placement.call(this,r,this.element):this.config.placement,o=this._getAttachment(c),this.addAttachmentClass(o),l=this._getContainer(),t(r).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(l),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new pt(this.element,r,this._getPopperConfig(o)),t(r).addClass(rt.SHOW),"ontouchstart"in document.documentElement)t(document.body).children().on("mouseover",null,t.noop);s=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===lt.OUT&&n._leave(null,n)};t(this.tip).hasClass(rt.FADE)?(a=i.getTransitionDurationFromElement(this.tip),t(this.tip).one(i.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var r=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){r._hoverState!==lt.SHOW&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");t(r.element).trigger(r.constructor.Event.HIDDEN);r._popper!==null&&r._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(rt.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[ut.CLICK]=!1,this._activeTrigger[ut.FOCUS]=!1,this._activeTrigger[ut.HOVER]=!1,t(this.tip).hasClass(rt.FADE)?(o=i.getTransitionDurationFromElement(u),t(u).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(de+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(ge.TOOLTIP_INNER)),this.getTitle());t(n).removeClass(rt.FADE+" "+rt.SHOW)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=ke(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this,i={placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ge.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}};return f({},i,{},this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=f({},n.offsets,{},t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:i.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return bc[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==ut.MANUAL){var r=i===ut.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ut.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?ut.FOCUS:ut.HOVER]=!0),t(i.getTipElement()).hasClass(rt.SHOW)||i._hoverState===lt.SHOW){i._hoverState=lt.SHOW;return}if(clearTimeout(i._timeout),i._hoverState=lt.SHOW,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===lt.SHOW&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?ut.FOCUS:ut.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=lt.OUT,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===lt.OUT&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var r=t(this.element).data();return Object.keys(r).forEach(function(n){pc.indexOf(n)!==-1&&delete r[n]}),n=f({},this.constructor.Default,{},r,{},typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),i.typeCheckConfig(wt,n,this.constructor.DefaultType),n.sanitize&&(n.template=ke(n.template,n.whiteList,n.sanitizeFn)),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 i=t(this.getTipElement()),n=i.attr("class").match(yc);n!==null&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;n.getAttribute("x-placement")===null&&(t(n).removeClass(rt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(gr),u=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data(gr,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},w(r,null,[{key:"VERSION",get:function(){return ac}},{key:"Default",get:function(){return kc}},{key:"NAME",get:function(){return wt}},{key:"DATA_KEY",get:function(){return gr}},{key:"Event",get:function(){return dc}},{key:"EVENT_KEY",get:function(){return k}},{key:"DefaultType",get:function(){return wc}}]),r}();t.fn[wt]=bt._jQueryInterface;t.fn[wt].Constructor=bt;t.fn[wt].noConflict=function(){return t.fn[wt]=vc,bt._jQueryInterface};var ci="popover",gc="4.4.1",nu="bs.popover",d="."+nu,nl=t.fn[ci],no="bs-popover",tl=new RegExp("(^|\\s)"+no+"\\S+","g"),il=f({},bt.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>'}),rl=f({},bt.DefaultType,{content:"(string|element|function)"}),to={FADE:"fade",SHOW:"show"},io={TITLE:".popover-header",CONTENT:".popover-body"},ul={HIDE:"hide"+d,HIDDEN:"hidden"+d,SHOW:"show"+d,SHOWN:"shown"+d,INSERTED:"inserted"+d,CLICK:"click"+d,FOCUSIN:"focusin"+d,FOCUSOUT:"focusout"+d,MOUSEENTER:"mouseenter"+d,MOUSELEAVE:"mouseleave"+d},tu=function(n){function i(){return n.apply(this,arguments)||this}eo(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(no+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(io.TITLE),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(io.CONTENT),n);i.removeClass(to.FADE+" "+to.SHOW)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(tl);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(nu),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(nu,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},w(i,null,[{key:"VERSION",get:function(){return gc}},{key:"Default",get:function(){return il}},{key:"NAME",get:function(){return ci}},{key:"DATA_KEY",get:function(){return nu}},{key:"Event",get:function(){return ul}},{key:"EVENT_KEY",get:function(){return d}},{key:"DefaultType",get:function(){return rl}}]),i}(bt);t.fn[ci]=tu._jQueryInterface;t.fn[ci].Constructor=tu;t.fn[ci].noConflict=function(){return t.fn[ci]=nl,tu._jQueryInterface};var kt="scrollspy",fl="4.4.1",iu="bs.scrollspy",ru="."+iu,el=t.fn[kt],ro={offset:10,method:"auto",target:""},ol={offset:"number",method:"string",target:"(string|element)"},cf={ACTIVATE:"activate"+ru,SCROLL:"scroll"+ru,LOAD_DATA_API:"load"+ru+".data-api"},at={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},p={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"},lf={OFFSET:"offset",POSITION:"position"},fr=function(){function r(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+p.NAV_LINKS+","+(this._config.target+" "+p.LIST_ITEMS+",")+(this._config.target+" "+p.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(cf.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=r.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?lf.OFFSET:lf.POSITION,r=this._config.method==="auto"?f:this._config.method,e=r===lf.POSITION?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=i.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[r]().top+e,f]: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(){t.removeData(this._element,iu);t(this._scrollElement).off(ru);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(n=f({},ro,{},typeof n=="object"&&n?n:{}),typeof n.target!="string"){var r=t(n.target).attr("id");r||(r=i.getUID(kt),t(n.target).attr("id",r));n.target="#"+r}return i.typeCheckConfig(kt,n,ol),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(),e=this._config.offset+r-this._getOffsetHeight(),i,u,n,f;if(this._scrollHeight!==r&&this.refresh(),t>=e){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(u=this._offsets.length,n=u;n--;)f=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),f&&this._activate(this._targets[n])},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(at.DROPDOWN_ITEM)?(i.closest(p.DROPDOWN).find(p.DROPDOWN_TOGGLE).addClass(at.ACTIVE),i.addClass(at.ACTIVE)):(i.addClass(at.ACTIVE),i.parents(p.NAV_LIST_GROUP).prev(p.NAV_LINKS+", "+p.LIST_ITEMS).addClass(at.ACTIVE),i.parents(p.NAV_LIST_GROUP).prev(p.NAV_ITEMS).children(p.NAV_LINKS).addClass(at.ACTIVE));t(this._scrollElement).trigger(cf.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(at.ACTIVE)}).forEach(function(n){return n.classList.remove(at.ACTIVE)})},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(iu),u=typeof n=="object"&&n;if(i||(i=new r(this,u),t(this).data(iu,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},w(r,null,[{key:"VERSION",get:function(){return fl}},{key:"Default",get:function(){return ro}}]),r}();t(window).on(cf.LOAD_DATA_API,function(){for(var n,i=[].slice.call(document.querySelectorAll(p.DATA_SPY)),u=i.length,r=u;r--;)n=t(i[r]),fr._jQueryInterface.call(n,n.data())});t.fn[kt]=fr._jQueryInterface;t.fn[kt].Constructor=fr;t.fn[kt].noConflict=function(){return t.fn[kt]=el,fr._jQueryInterface};var er="tab",sl="4.4.1",uu="bs.tab",or="."+uu,hl=t.fn[er],sr={HIDE:"hide"+or,HIDDEN:"hidden"+or,SHOW:"show"+or,SHOWN:"shown"+or,CLICK_DATA_API:"click"+or+".data-api"},g={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},ot={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},hr=function(){function n(n){this._element=n}var r=n.prototype;return r.show=function(){var h=this,u,n,r,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(g.ACTIVE)||t(this._element).hasClass(g.DISABLED)||(r=t(this._element).closest(ot.NAV_LIST_GROUP)[0],f=i.getSelectorFromElement(this._element),r&&(c=r.nodeName==="UL"||r.nodeName==="OL"?ot.ACTIVE_UL:ot.ACTIVE,n=t.makeArray(t(r).find(c)),n=n[n.length-1]),e=t.Event(sr.HIDE,{relatedTarget:this._element}),o=t.Event(sr.SHOW,{relatedTarget:n}),n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,r),s=function(){var i=t.Event(sr.HIDDEN,{relatedTarget:h._element}),r=t.Event(sr.SHOWN,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},r.dispose=function(){t.removeData(this._element,uu);this._element=null},r._activate=function(n,r,u){var s=this,h=r&&(r.nodeName==="UL"||r.nodeName==="OL")?t(r).find(ot.ACTIVE_UL):t(r).children(ot.ACTIVE),f=h[0],c=u&&f&&t(f).hasClass(g.FADE),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=i.getTransitionDurationFromElement(f),t(f).removeClass(g.SHOW).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e()},r._transitionComplete=function(n,r,u){var f,e,o;r&&(t(r).removeClass(g.ACTIVE),f=t(r.parentNode).find(ot.DROPDOWN_ACTIVE_CHILD)[0],f&&t(f).removeClass(g.ACTIVE),r.getAttribute("role")==="tab"&&r.setAttribute("aria-selected",!1));t(n).addClass(g.ACTIVE);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);i.reflow(n);n.classList.contains(g.FADE)&&n.classList.add(g.SHOW);n.parentNode&&t(n.parentNode).hasClass(g.DROPDOWN_MENU)&&(e=t(n).closest(ot.DROPDOWN)[0],e&&(o=[].slice.call(e.querySelectorAll(ot.DROPDOWN_TOGGLE)),t(o).addClass(g.ACTIVE)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(uu);if(r||(r=new n(this),u.data(uu,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},w(n,null,[{key:"VERSION",get:function(){return sl}}]),n}();t(document).on(sr.CLICK_DATA_API,ot.DATA_TOGGLE,function(n){n.preventDefault();hr._jQueryInterface.call(t(this),"show")});t.fn[er]=hr._jQueryInterface;t.fn[er].Constructor=hr;t.fn[er].noConflict=function(){return t.fn[er]=hl,hr._jQueryInterface};var li="toast",cl="4.4.1",fu="bs.toast",cr="."+fu,ll=t.fn[li],ai={CLICK_DISMISS:"click.dismiss"+cr,HIDE:"hide"+cr,HIDDEN:"hidden"+cr,SHOW:"show"+cr,SHOWN:"shown"+cr},ft={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},al={animation:"boolean",autohide:"boolean",delay:"number"},uo={animation:!0,autohide:!0,delay:500},vl={DATA_DISMISS:'[data-dismiss="toast"]'},eu=function(){function r(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=r.prototype;return n.show=function(){var n=this,u=t.Event(ai.SHOW),r,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add(ft.FADE),r=function(){n._element.classList.remove(ft.SHOWING);n._element.classList.add(ft.SHOW);t(n._element).trigger(ai.SHOWN);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove(ft.HIDE),i.reflow(this._element),this._element.classList.add(ft.SHOWING),this._config.animation?(f=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(f)):r())},n.hide=function(){if(this._element.classList.contains(ft.SHOW)){var n=t.Event(ai.HIDE);(t(this._element).trigger(n),n.isDefaultPrevented())||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(ft.SHOW)&&this._element.classList.remove(ft.SHOW);t(this._element).off(ai.CLICK_DISMISS);t.removeData(this._element,fu);this._element=null;this._config=null},n._getConfig=function(n){return n=f({},uo,{},t(this._element).data(),{},typeof n=="object"&&n?n:{}),i.typeCheckConfig(li,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(ai.CLICK_DISMISS,vl.DATA_DISMISS,function(){return n.hide()})},n._close=function(){var n=this,r=function(){n._element.classList.add(ft.HIDE);t(n._element).trigger(ai.HIDDEN)},u;this._element.classList.remove(ft.SHOW);this._config.animation?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},r._jQueryInterface=function(n){return this.each(function(){var u=t(this),i=u.data(fu),f=typeof n=="object"&&n;if(i||(i=new r(this,f),u.data(fu,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n](this)}})},w(r,null,[{key:"VERSION",get:function(){return cl}},{key:"DefaultType",get:function(){return al}},{key:"Default",get:function(){return uo}}]),r}();t.fn[li]=eu._jQueryInterface;t.fn[li].Constructor=eu;t.fn[li].noConflict=function(){return t.fn[li]=ll,eu._jQueryInterface};n.Alert=dt;n.Button=pi;n.Carousel=ni;n.Collapse=di;n.Dropdown=ht;n.Modal=ur;n.Popover=tu;n.Scrollspy=fr;n.Tab=hr;n.Toast=eu;n.Tooltip=bt;n.Util=i;Object.defineProperty(n,"__esModule",{value:!0})});
/*! @preserve
 * bootbox.js
 * version: 5.4.0
 * author: Nick Payne <nick@kurai.co.uk>
 * license: MIT
 * http://bootboxjs.com/
 */
(function(n,t){"use strict";typeof define=="function"&&define.amd?define(["jquery"],t):typeof exports=="object"?module.exports=t(require("jquery")):n.bootbox=t(n.jQuery)})(this,function init(n,t){"use strict";function y(n,t){var r=n.length,i={};if(r<1||r>2)throw new Error("Invalid argument length");return r===2||typeof n[0]=="string"?(i[t[0]]=n[0],i[t[1]]=n[1]):i=n[0],i}function p(t,i,r){return n.extend(!0,{},t,y(i,r))}function o(n,t,i,r){var u,e,o;return r&&r[0]&&(u=r[0].locale||f.locale,e=r[0].swapButtonOrder||f.swapButtonOrder,e&&(t=t.reverse())),o={className:"bootbox-"+n,buttons:b(t,u)},w(p(o,r,i),t)}function w(n,i){var r={};return u(i,function(n,t){r[t]=!0}),u(n.buttons,function(n){if(r[n]===t)throw new Error('button key "'+n+'" is not allowed (options are '+i.join(" ")+")");}),n}function b(n,t){for(var r={},i=0,f=n.length;i<f;i++){var u=n[i],e=u.toLowerCase(),o=u.toUpperCase();r[e]={label:k(o,t)}}return r}function k(n,t){var i=e[t];return i?i[n]:e.en[n]}function d(t){var i,r;if(typeof t!="object")throw new Error("Please supply an object of options");if(!t.message)throw new Error('"message" option must not be null or an empty string.');return t=n.extend({},f,t),t.buttons||(t.buttons={}),i=t.buttons,r=c(i),u(i,function(u,f,e){if(n.isFunction(f)&&(f=i[u]={callback:f}),n.type(f)!=="object")throw new Error('button with key "'+u+'" must be an object');if(f.label||(f.label=u),!f.className){var o=!1;o=t.swapButtonOrder?e===0:e===r-1;f.className=r<=2&&o?"btn-primary":"btn-secondary btn-default"}}),t}function c(n){return Object.keys(n).length}function u(t,i){var r=0;n.each(t,function(n,t){i(n,t,r++)})}function l(n){n.data.dialog.find(".bootbox-accept").first().trigger("focus")}function g(n){n.target===n.data.dialog[0]&&n.data.dialog.remove()}function nt(n){n.target===n.data.dialog[0]&&(n.data.dialog.off("escape.close.bb"),n.data.dialog.off("click"))}function s(t,i,r){t.stopPropagation();t.preventDefault();var u=n.isFunction(r)&&r.call(i,t)===!1;u||i.modal("hide")}function tt(n,i,r){var e=!1,u=!0,f=!0;if(n==="date")i===t||(u=v(i))?r===t||(f=v(r))||console.warn('Browsers which natively support the "date" input type expect date values to be of the form "YYYY-MM-DD" (see ISO-8601 https://www.iso.org/iso-8601-date-and-time-format.html). Bootbox does not enforce this rule, but your max value may not be enforced by this browser.'):console.warn('Browsers which natively support the "date" input type expect date values to be of the form "YYYY-MM-DD" (see ISO-8601 https://www.iso.org/iso-8601-date-and-time-format.html). Bootbox does not enforce this rule, but your min value may not be enforced by this browser.');else if(n==="time")if(i===t||(u=a(i))){if(r!==t&&!(f=a(r)))throw new Error('"max" is not a valid time. See https://www.w3.org/TR/2012/WD-html-markup-20120315/datatypes.html#form.data.time for more information.');}else throw new Error('"min" is not a valid time. See https://www.w3.org/TR/2012/WD-html-markup-20120315/datatypes.html#form.data.time for more information.');else{if(i!==t&&isNaN(i)){u=!1;throw new Error('"min" must be a valid number. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-min for more information.');}if(r!==t&&isNaN(r)){f=!1;throw new Error('"max" must be a valid number. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-max for more information.');}}if(u&&f)if(r<=i)throw new Error('"max" must be greater than "min". See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-max for more information.');else e=!0;return e}function a(n){return/([01][0-9]|2[0-3]):[0-5][0-9]?:[0-5][0-9]/.test(n)}function v(n){return/(\d{4})-(\d{2})-(\d{2})/.test(n)}var i,h;Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,i=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(u){if(typeof u!="function"&&(typeof u!="object"||u===null))throw new TypeError("Object.keys called on non-object");var e=[],o,f;for(o in u)t.call(u,o)&&e.push(o);if(i)for(f=0;f<r;f++)t.call(u,n[f])&&e.push(n[f]);return e}}());i={};h="5.0.0";i.VERSION=h;var e={en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"}},r={dialog:'<div class="bootbox modal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-body"><div class="bootbox-body"><\/div><\/div><\/div><\/div><\/div>',header:'<div class="modal-header"><h5 class="modal-title"><\/h5><\/div>',footer:'<div class="modal-footer"><\/div>',closeButton:'<button type="button" class="bootbox-close-button close" aria-hidden="true">&times;<\/button>',form:'<form class="bootbox-form"><\/form>',button:'<button type="button" class="btn"><\/button>',option:"<option><\/option>",promptMessage:'<div class="bootbox-prompt-message"><\/div>',inputs:{text:'<input class="bootbox-input bootbox-input-text form-control" autocomplete="off" type="text" />',textarea:'<textarea class="bootbox-input bootbox-input-textarea form-control"><\/textarea>',email:'<input class="bootbox-input bootbox-input-email form-control" autocomplete="off" type="email" />',select:'<select class="bootbox-input bootbox-input-select form-control"><\/select>',checkbox:'<div class="form-check checkbox"><label class="form-check-label"><input class="form-check-input bootbox-input bootbox-input-checkbox" type="checkbox" /><\/label><\/div>',radio:'<div class="form-check radio"><label class="form-check-label"><input class="form-check-input bootbox-input bootbox-input-radio" type="radio" name="bootbox-radio" /><\/label><\/div>',date:'<input class="bootbox-input bootbox-input-date form-control" autocomplete="off" type="date" />',time:'<input class="bootbox-input bootbox-input-time form-control" autocomplete="off" type="time" />',number:'<input class="bootbox-input bootbox-input-number form-control" autocomplete="off" type="number" />',password:'<input class="bootbox-input bootbox-input-password form-control" autocomplete="off" type="password" />',range:'<input class="bootbox-input bootbox-input-range form-control-range" autocomplete="off" type="range" />'}},f={locale:"en",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body",value:"",inputType:"text",swapButtonOrder:!1,centerVertical:!1,multiple:!1,scrollable:!1};return i.locales=function(n){return n?e[n]:e},i.addLocale=function(t,r){return n.each(["OK","CANCEL","CONFIRM"],function(n,t){if(!r[t])throw new Error('Please supply a translation for "'+t+'"');}),e[t]={OK:r.OK,CANCEL:r.CANCEL,CONFIRM:r.CONFIRM},i},i.removeLocale=function(n){if(n!=="en")delete e[n];else throw new Error('"en" is used as the default and fallback locale and cannot be removed.');return i},i.setLocale=function(n){return i.setDefaults("locale",n)},i.setDefaults=function(){var t={};return arguments.length===2?t[arguments[0]]=arguments[1]:t=arguments[0],n.extend(f,t),i},i.hideAll=function(){return n(".bootbox").modal("hide"),i},i.init=function(t){return init(t||n)},i.dialog=function(i){var v,a;if(n.fn.modal===t)throw new Error('"$.fn.modal" is not defined; please double check you have included the Bootstrap JavaScript library. See https://getbootstrap.com/docs/4.4/getting-started/javascript/ for more details.');i=d(i);n.fn.modal.Constructor.VERSION?(i.fullBootstrapVersion=n.fn.modal.Constructor.VERSION,v=i.fullBootstrapVersion.indexOf("."),i.bootstrap=i.fullBootstrapVersion.substring(0,v)):(i.bootstrap="2",i.fullBootstrapVersion="2.3.2",console.warn("Bootbox will *mostly* work with Bootstrap 2, but we do not officially support it. Please upgrade, if possible."));var f=n(r.dialog),e=f.find(".modal-dialog"),h=f.find(".modal-body"),p=n(r.header),y=n(r.footer),w=i.buttons,o={onEscape:i.onEscape};if(h.find(".bootbox-body").html(i.message),c(i.buttons)>0&&(u(w,function(t,i){var u=n(r.button);u.data("bb-handler",t);u.addClass(i.className);switch(t){case"ok":case"confirm":u.addClass("bootbox-accept");break;case"cancel":u.addClass("bootbox-cancel")}u.html(i.label);y.append(u);o[t]=i.callback}),h.after(y)),i.animate===!0&&f.addClass("fade"),i.className&&f.addClass(i.className),i.size){i.fullBootstrapVersion.substring(0,3)<"3.1"&&console.warn('"size" requires Bootstrap 3.1.0 or higher. You appear to be using '+i.fullBootstrapVersion+". Please upgrade to use this option.");switch(i.size){case"small":case"sm":e.addClass("modal-sm");break;case"large":case"lg":e.addClass("modal-lg");break;case"extra-large":case"xl":e.addClass("modal-xl");i.fullBootstrapVersion.substring(0,3)<"4.2"&&console.warn('Using size "xl"/"extra-large" requires Bootstrap 4.2.0 or higher. You appear to be using '+i.fullBootstrapVersion+". Please upgrade to use this option.")}}i.scrollable&&(e.addClass("modal-dialog-scrollable"),i.fullBootstrapVersion.substring(0,3)<"4.3"&&console.warn('Using "scrollable" requires Bootstrap 4.3.0 or higher. You appear to be using '+i.fullBootstrapVersion+". Please upgrade to use this option."));i.title&&(h.before(p),f.find(".modal-title").html(i.title));i.closeButton&&(a=n(r.closeButton),i.title?i.bootstrap>3?f.find(".modal-header").append(a):f.find(".modal-header").prepend(a):a.prependTo(h));i.centerVertical&&(e.addClass("modal-dialog-centered"),i.fullBootstrapVersion<"4.0.0"&&console.warn('"centerVertical" requires Bootstrap 4.0.0-beta.3 or higher. You appear to be using '+i.fullBootstrapVersion+". Please upgrade to use this option."));f.one("hide.bs.modal",{dialog:f},nt);if(i.onHide)if(n.isFunction(i.onHide))f.on("hide.bs.modal",i.onHide);else throw new Error('Argument supplied to "onHide" must be a function');f.one("hidden.bs.modal",{dialog:f},g);if(i.onHidden)if(n.isFunction(i.onHidden))f.on("hidden.bs.modal",i.onHidden);else throw new Error('Argument supplied to "onHidden" must be a function');if(i.onShow)if(n.isFunction(i.onShow))f.on("show.bs.modal",i.onShow);else throw new Error('Argument supplied to "onShow" must be a function');f.one("shown.bs.modal",{dialog:f},l);if(i.onShown)if(n.isFunction(i.onShown))f.on("shown.bs.modal",i.onShown);else throw new Error('Argument supplied to "onShown" must be a function');if(i.backdrop!=="static")f.on("click.dismiss.bs.modal",function(n){(f.children(".modal-backdrop").length&&(n.currentTarget=f.children(".modal-backdrop").get(0)),n.target===n.currentTarget)&&f.trigger("escape.close.bb")});f.on("escape.close.bb",function(n){o.onEscape&&s(n,f,o.onEscape)});f.on("click",".modal-footer button:not(.disabled)",function(i){var r=n(this).data("bb-handler");r!==t&&s(i,f,o[r])});f.on("click",".bootbox-close-button",function(n){s(n,f,o.onEscape)});f.on("keyup",function(n){n.which===27&&f.trigger("escape.close.bb")});return n(i.container).append(f),f.modal({backdrop:i.backdrop?"static":!1,keyboard:!1,show:!1}),i.show&&f.modal("show"),f},i.alert=function(){var t;if(t=o("alert",["ok"],["message","callback"],arguments),t.callback&&!n.isFunction(t.callback))throw new Error('alert requires the "callback" property to be a function when provided');return t.buttons.ok.callback=t.onEscape=function(){return n.isFunction(t.callback)?t.callback.call(this):!0},i.dialog(t)},i.confirm=function(){var t;if(t=o("confirm",["cancel","confirm"],["message","callback"],arguments),!n.isFunction(t.callback))throw new Error("confirm requires a callback");return t.buttons.cancel.callback=t.onEscape=function(){return t.callback.call(this,!1)},t.buttons.confirm.callback=function(){return t.callback.call(this,!0)},i.dialog(t)},i.prompt=function(){var e,c,a,s,p,h,v,w,y,b;if(a=n(r.form),e=o("prompt",["cancel","confirm"],["title","callback"],arguments),e.value||(e.value=f.value),e.inputType||(e.inputType=f.inputType),p=e.show===t?f.show:e.show,e.show=!1,e.buttons.cancel.callback=e.onEscape=function(){return e.callback.call(this,null)},e.buttons.confirm.callback=function(){var t;if(e.inputType==="checkbox")t=s.find("input:checked").map(function(){return n(this).val()}).get();else if(e.inputType==="radio")t=s.find("input:checked").val();else{if(s[0].checkValidity&&!s[0].checkValidity())return!1;t=e.inputType==="select"&&e.multiple===!0?s.find("option:selected").map(function(){return n(this).val()}).get():s.val()}return e.callback.call(this,t)},!e.title)throw new Error("prompt requires a title");if(!n.isFunction(e.callback))throw new Error("prompt requires a callback");if(!r.inputs[e.inputType])throw new Error("Invalid prompt type");s=n(r.inputs[e.inputType]);switch(e.inputType){case"text":case"textarea":case"email":case"password":s.val(e.value);e.placeholder&&s.attr("placeholder",e.placeholder);e.pattern&&s.attr("pattern",e.pattern);e.maxlength&&s.attr("maxlength",e.maxlength);e.required&&s.prop({required:!0});e.rows&&!isNaN(parseInt(e.rows))&&e.inputType==="textarea"&&s.attr({rows:e.rows});break;case"date":case"time":case"number":case"range":if(s.val(e.value),e.placeholder&&s.attr("placeholder",e.placeholder),e.pattern&&s.attr("pattern",e.pattern),e.required&&s.prop({required:!0}),e.inputType!=="date"&&e.step)if(e.step==="any"||!isNaN(e.step)&&parseFloat(e.step)>0)s.attr("step",e.step);else throw new Error('"step" must be a valid positive number or the value "any". See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step for more information.');tt(e.inputType,e.min,e.max)&&(e.min!==t&&s.attr("min",e.min),e.max!==t&&s.attr("max",e.max));break;case"select":if(v={},h=e.inputOptions||[],!n.isArray(h))throw new Error("Please pass an array of input options");if(!h.length)throw new Error('prompt with "inputType" set to "select" requires at least one option');e.placeholder&&s.attr("placeholder",e.placeholder);e.required&&s.prop({required:!0});e.multiple&&s.prop({multiple:!0});u(h,function(i,u){var e=s,f;if(u.value===t||u.text===t)throw new Error('each option needs a "value" property and a "text" property');u.group&&(v[u.group]||(v[u.group]=n("<optgroup />").attr("label",u.group)),e=v[u.group]);f=n(r.option);f.attr("value",u.value).text(u.text);e.append(f)});u(v,function(n,t){s.append(t)});s.val(e.value);break;case"checkbox":if(w=n.isArray(e.value)?e.value:[e.value],h=e.inputOptions||[],!h.length)throw new Error('prompt with "inputType" set to "checkbox" requires at least one option');s=n('<div class="bootbox-checkbox-list"><\/div>');u(h,function(i,f){if(f.value===t||f.text===t)throw new Error('each option needs a "value" property and a "text" property');var o=n(r.inputs[e.inputType]);o.find("input").attr("value",f.value);o.find("label").append("\n"+f.text);u(w,function(n,t){t===f.value&&o.find("input").prop("checked",!0)});s.append(o)});break;case"radio":if(e.value!==t&&n.isArray(e.value))throw new Error('prompt with "inputType" set to "radio" requires a single, non-array value for "value"');if(h=e.inputOptions||[],!h.length)throw new Error('prompt with "inputType" set to "radio" requires at least one option');s=n('<div class="bootbox-radiobutton-list"><\/div>');y=!0;u(h,function(i,u){if(u.value===t||u.text===t)throw new Error('each option needs a "value" property and a "text" property');var f=n(r.inputs[e.inputType]);f.find("input").attr("value",u.value);f.find("label").append("\n"+u.text);e.value!==t&&u.value===e.value&&(f.find("input").prop("checked",!0),y=!1);s.append(f)});y&&s.find('input[type="radio"]').first().prop("checked",!0)}a.append(s);a.on("submit",function(n){n.preventDefault();n.stopPropagation();c.find(".bootbox-accept").trigger("click")});n.trim(e.message)!==""?(b=n(r.promptMessage).html(e.message),a.prepend(b),e.message=a):e.message=a;c=i.dialog(e);c.off("shown.bs.modal",l);c.on("shown.bs.modal",function(){s.focus()});return p===!0&&c.modal("show"),c},i});
/*! version : 4.17.47
 =========================================================
 bootstrap-datetimejs
 https://github.com/Eonasdan/bootstrap-datetimepicker
 Copyright (c) 2015 Jonathan Peterson
 =========================================================
 */
(function(n){"use strict";if(typeof define=="function"&&define.amd)define(["jquery","moment"],n);else if(typeof exports=="object")module.exports=n(require("jquery"),require("moment"));else{if(typeof jQuery=="undefined")throw"bootstrap-datetimepicker requires jQuery to be loaded first";if(typeof moment=="undefined")throw"bootstrap-datetimepicker requires Moment.js to be loaded first";n(jQuery,moment)}})(function(n,t){"use strict";if(!t)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var i=function(i,r){var u={},e,o,k=!0,s,l=!1,f=!1,d,nt=0,y,rt,b,ot=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],vt=["days","months","years","decades"],bt=["top","bottom","auto"],kt=["left","right","auto"],dt=["default","top","bottom"],gt={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},st={},yt=function(){return t.tz!==undefined&&r.timeZone!==undefined&&r.timeZone!==null&&r.timeZone!==""},g=function(n){var i;return i=n===undefined||n===null?t():t.isDate(n)||t.isMoment(n)?t(n):yt()?t.tz(n,rt,r.useStrict,r.timeZone):t(n,rt,r.useStrict),yt()&&i.tz(r.timeZone),i},p=function(n){if(typeof n!="string"||n.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(n){case"y":return y.indexOf("Y")!==-1;case"M":return y.indexOf("M")!==-1;case"d":return y.toLowerCase().indexOf("d")!==-1;case"h":case"H":return y.toLowerCase().indexOf("h")!==-1;case"m":return y.indexOf("m")!==-1;case"s":return y.indexOf("s")!==-1;default:return!1}},ht=function(){return p("h")||p("m")||p("s")},ct=function(){return p("y")||p("M")||p("d")},ei=function(){var t=n("<thead>").append(n("<tr>").append(n("<th>").addClass("prev").attr("data-action","previous").append(n("<span>").addClass(r.icons.previous))).append(n("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",r.calendarWeeks?"6":"5")).append(n("<th>").addClass("next").attr("data-action","next").append(n("<span>").addClass(r.icons.next)))),i=n("<tbody>").append(n("<tr>").append(n("<td>").attr("colspan",r.calendarWeeks?"8":"7")));return[n("<div>").addClass("datepicker-days").append(n("<table>").addClass("table-condensed").append(t).append(n("<tbody>"))),n("<div>").addClass("datepicker-months").append(n("<table>").addClass("table-condensed").append(t.clone()).append(i.clone())),n("<div>").addClass("datepicker-years").append(n("<table>").addClass("table-condensed").append(t.clone()).append(i.clone())),n("<div>").addClass("datepicker-decades").append(n("<table>").addClass("table-condensed").append(t.clone()).append(i.clone()))]},oi=function(){var t=n("<tr>"),i=n("<tr>"),u=n("<tr>");return p("h")&&(t.append(n("<td>").append(n("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(n("<span>").addClass(r.icons.up)))),i.append(n("<td>").append(n("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:r.tooltips.pickHour}).attr("data-action","showHours"))),u.append(n("<td>").append(n("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(n("<span>").addClass(r.icons.down))))),p("m")&&(p("h")&&(t.append(n("<td>").addClass("separator")),i.append(n("<td>").addClass("separator").html(":")),u.append(n("<td>").addClass("separator"))),t.append(n("<td>").append(n("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(n("<span>").addClass(r.icons.up)))),i.append(n("<td>").append(n("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:r.tooltips.pickMinute}).attr("data-action","showMinutes"))),u.append(n("<td>").append(n("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(n("<span>").addClass(r.icons.down))))),p("s")&&(p("m")&&(t.append(n("<td>").addClass("separator")),i.append(n("<td>").addClass("separator").html(":")),u.append(n("<td>").addClass("separator"))),t.append(n("<td>").append(n("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(n("<span>").addClass(r.icons.up)))),i.append(n("<td>").append(n("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:r.tooltips.pickSecond}).attr("data-action","showSeconds"))),u.append(n("<td>").append(n("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(n("<span>").addClass(r.icons.down))))),d||(t.append(n("<td>").addClass("separator")),i.append(n("<td>").append(n("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:r.tooltips.togglePeriod}))),u.append(n("<td>").addClass("separator"))),n("<div>").addClass("timepicker-picker").append(n("<table>").addClass("table-condensed").append([t,i,u]))},si=function(){var i=n("<div>").addClass("timepicker-hours").append(n("<table>").addClass("table-condensed")),r=n("<div>").addClass("timepicker-minutes").append(n("<table>").addClass("table-condensed")),u=n("<div>").addClass("timepicker-seconds").append(n("<table>").addClass("table-condensed")),t=[oi()];return p("h")&&t.push(i),p("m")&&t.push(r),p("s")&&t.push(u),t},hi=function(){var t=[];return r.showTodayButton&&t.push(n("<td>").append(n("<a>").attr({"data-action":"today",title:r.tooltips.today}).append(n("<span>").addClass(r.icons.today)))),!r.sideBySide&&ct()&&ht()&&t.push(n("<td>").append(n("<a>").attr({"data-action":"togglePicker",title:r.tooltips.selectTime}).append(n("<span>").addClass(r.icons.time)))),r.showClear&&t.push(n("<td>").append(n("<a>").attr({"data-action":"clear",title:r.tooltips.clear}).append(n("<span>").addClass(r.icons.clear)))),r.showClose&&t.push(n("<td>").append(n("<a>").attr({"data-action":"close",title:r.tooltips.close}).append(n("<span>").addClass(r.icons.close)))),n("<table>").addClass("table-condensed").append(n("<tbody>").append(n("<tr>").append(t)))},ci=function(){var t=n("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),f=n("<div>").addClass("datepicker").append(ei()),e=n("<div>").addClass("timepicker").append(si()),i=n("<ul>").addClass("list-unstyled"),u=n("<li>").addClass("picker-switch"+(r.collapse?" accordion-toggle":"")).append(hi());return(r.inline&&t.removeClass("dropdown-menu"),d&&t.addClass("usetwentyfour"),p("s")&&!d&&t.addClass("wider"),r.sideBySide&&ct()&&ht())?(t.addClass("timepicker-sbs"),r.toolbarPlacement==="top"&&t.append(u),t.append(n("<div>").addClass("row").append(f.addClass("col-md-6")).append(e.addClass("col-md-6"))),r.toolbarPlacement==="bottom"&&t.append(u),t):(r.toolbarPlacement==="top"&&i.append(u),ct()&&i.append(n("<li>").addClass(r.collapse&&ht()?"collapse in":"").append(f)),r.toolbarPlacement==="default"&&i.append(u),ht()&&i.append(n("<li>").addClass(r.collapse&&ct()?"collapse":"").append(e)),r.toolbarPlacement==="bottom"&&i.append(u),t.append(i))},li=function(){var t,u={};return t=i.is("input")||r.inline?i.data():i.find("input").data(),t.dateOptions&&t.dateOptions instanceof Object&&(u=n.extend(!0,u,t.dateOptions)),n.each(r,function(n){var i="date"+n.charAt(0).toUpperCase()+n.slice(1);t[i]!==undefined&&(u[n]=t[i])}),u},pt=function(){var o=(l||i).position(),s=(l||i).offset(),u=r.widgetPositioning.vertical,e=r.widgetPositioning.horizontal,t;if(r.widgetParent)t=r.widgetParent.append(f);else if(i.is("input"))t=i.after(f).parent();else{if(r.inline){t=i.append(f);return}t=i;i.children().first().after(f)}if(u==="auto"&&(u=s.top+f.height()*1.5>=n(window).height()+n(window).scrollTop()&&f.height()+i.outerHeight()<s.top?"top":"bottom"),e==="auto"&&(e=t.width()<s.left+f.outerWidth()/2&&s.left+f.outerWidth()>n(window).width()?"right":"left"),u==="top"?f.addClass("top").removeClass("bottom"):f.addClass("bottom").removeClass("top"),e==="right"?f.addClass("float-right"):f.removeClass("float-right"),t.css("position")==="static"&&(t=t.parents().filter(function(){return n(this).css("position")!=="static"}).first()),t.length===0)throw new Error("datetimepicker component should be placed within a non-static positioned container");f.css({top:u==="top"?"auto":o.top+i.outerHeight(),bottom:u==="top"?t.outerHeight()-(t===i?0:o.top):"auto",left:e==="left"?t===i?0:o.left:"auto",right:e==="left"?"auto":t.outerWidth()-i.outerWidth()-(t===i?0:o.left)})},it=function(n){(n.type!=="dp.change"||(!n.date||!n.date.isSame(n.oldDate))&&(n.date||n.oldDate))&&i.trigger(n)},ut=function(n){n==="y"&&(n="YYYY");it({type:"dp.update",change:n,viewDate:o.clone()})},ft=function(n){f&&(n&&(b=Math.max(nt,Math.min(3,b+n))),f.find(".datepicker > div").hide().filter(".datepicker-"+ot[b].clsName).show())},ai=function(){var t=n("<tr>"),i=o.clone().startOf("w").startOf("d");for(r.calendarWeeks===!0&&t.append(n("<th>").addClass("cw").text("#"));i.isBefore(o.clone().endOf("w"));)t.append(n("<th>").addClass("dow").text(i.format("dd"))),i.add(1,"d");f.find(".datepicker-days thead").append(t)},vi=function(n){return r.disabledDates[n.format("YYYY-MM-DD")]===!0},yi=function(n){return r.enabledDates[n.format("YYYY-MM-DD")]===!0},pi=function(n){return r.disabledHours[n.format("H")]===!0},wi=function(n){return r.enabledHours[n.format("H")]===!0},c=function(t,i){if(!t.isValid()||r.disabledDates&&i==="d"&&vi(t)||r.enabledDates&&i==="d"&&!yi(t)||r.minDate&&t.isBefore(r.minDate,i)||r.maxDate&&t.isAfter(r.maxDate,i)||r.daysOfWeekDisabled&&i==="d"&&r.daysOfWeekDisabled.indexOf(t.day())!==-1||r.disabledHours&&(i==="h"||i==="m"||i==="s")&&pi(t)||r.enabledHours&&(i==="h"||i==="m"||i==="s")&&!wi(t))return!1;if(r.disabledTimeIntervals&&(i==="h"||i==="m"||i==="s")){var u=!1;if(n.each(r.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return u=!0,!1}),u)return!1}return!0},bi=function(){for(var i=[],t=o.clone().startOf("y").startOf("d");t.isSame(o,"y");)i.push(n("<span>").attr("data-action","selectMonth").addClass("month").text(t.format("MMM"))),t.add(1,"M");f.find(".datepicker-months td").empty().append(i)},ki=function(){var i=f.find(".datepicker-months"),t=i.find("th"),u=i.find("tbody").find("span");t.eq(0).find("span").attr("title",r.tooltips.prevYear);t.eq(1).attr("title",r.tooltips.selectYear);t.eq(2).find("span").attr("title",r.tooltips.nextYear);i.find(".disabled").removeClass("disabled");c(o.clone().subtract(1,"y"),"y")||t.eq(0).addClass("disabled");t.eq(1).text(o.year());c(o.clone().add(1,"y"),"y")||t.eq(2).addClass("disabled");u.removeClass("active");e.isSame(o,"y")&&!k&&u.eq(e.month()).addClass("active");u.each(function(t){c(o.clone().month(t),"M")||n(this).addClass("disabled")})},di=function(){var i=f.find(".datepicker-years"),t=i.find("th"),n=o.clone().subtract(5,"y"),u=o.clone().add(6,"y"),s="";for(t.eq(0).find("span").attr("title",r.tooltips.prevDecade),t.eq(1).attr("title",r.tooltips.selectDecade),t.eq(2).find("span").attr("title",r.tooltips.nextDecade),i.find(".disabled").removeClass("disabled"),r.minDate&&r.minDate.isAfter(n,"y")&&t.eq(0).addClass("disabled"),t.eq(1).text(n.year()+"-"+u.year()),r.maxDate&&r.maxDate.isBefore(u,"y")&&t.eq(2).addClass("disabled");!n.isAfter(u,"y");)s+='<span data-action="selectYear" class="year'+(n.isSame(e,"y")&&!k?" active":"")+(c(n,"y")?"":" disabled")+'">'+n.year()+"<\/span>",n.add(1,"y");i.find("td").html(s)},gi=function(){var s=f.find(".datepicker-decades"),i=s.find("th"),n=t({y:o.year()-o.year()%100-1}),h=n.clone().add(100,"y"),y=n.clone(),a=!1,v=!1,u,l="";for(i.eq(0).find("span").attr("title",r.tooltips.prevCentury),i.eq(2).find("span").attr("title",r.tooltips.nextCentury),s.find(".disabled").removeClass("disabled"),(n.isSame(t({y:1900}))||r.minDate&&r.minDate.isAfter(n,"y"))&&i.eq(0).addClass("disabled"),i.eq(1).text(n.year()+"-"+h.year()),(n.isSame(t({y:2e3}))||r.maxDate&&r.maxDate.isBefore(h,"y"))&&i.eq(2).addClass("disabled");!n.isAfter(h,"y");)u=n.year()+12,a=r.minDate&&r.minDate.isAfter(n,"y")&&r.minDate.year()<=u,v=r.maxDate&&r.maxDate.isAfter(n,"y")&&r.maxDate.year()<=u,l+='<span data-action="selectDecade" class="decade'+(e.isAfter(n)&&e.year()<=u?" active":"")+(!c(n,"y")&&!a&&!v?" disabled":"")+'" data-selection="'+(n.year()+6)+'">'+(n.year()+1)+" - "+(n.year()+12)+"<\/span>",n.add(12,"y");l+="<span><\/span><span><\/span><span><\/span>";s.find("td").html(l);i.eq(1).text(y.year()+1+"-"+n.year())},et=function(){var h=f.find(".datepicker-days"),u=h.find("th"),t,a=[],s,i=[],l;if(ct()){for(u.eq(0).find("span").attr("title",r.tooltips.prevMonth),u.eq(1).attr("title",r.tooltips.selectMonth),u.eq(2).find("span").attr("title",r.tooltips.nextMonth),h.find(".disabled").removeClass("disabled"),u.eq(1).text(o.format(r.dayViewHeaderFormat)),c(o.clone().subtract(1,"M"),"M")||u.eq(0).addClass("disabled"),c(o.clone().add(1,"M"),"M")||u.eq(2).addClass("disabled"),t=o.clone().startOf("M").startOf("w").startOf("d"),l=0;l<42;l++)t.weekday()===0&&(s=n("<tr>"),r.calendarWeeks&&s.append('<td class="cw">'+t.week()+"<\/td>"),a.push(s)),i=["day"],t.isBefore(o,"M")&&i.push("old"),t.isAfter(o,"M")&&i.push("new"),t.isSame(e,"d")&&!k&&i.push("active"),c(t,"d")||i.push("disabled"),t.isSame(g(),"d")&&i.push("today"),(t.day()===0||t.day()===6)&&i.push("weekend"),it({type:"dp.classify",date:t,classNames:i}),s.append('<td data-action="selectDay" data-day="'+t.format("L")+'" class="'+i.join(" ")+'">'+t.date()+"<\/td>"),t.add(1,"d");h.find("tbody").empty().append(a);ki();di();gi()}},nr=function(){var u=f.find(".timepicker-hours table"),t=o.clone().startOf("d"),r=[],i=n("<tr>");for(o.hour()>11&&!d&&t.hour(12);t.isSame(o,"d")&&(d||o.hour()<12&&t.hour()<12||o.hour()>11);)t.hour()%4==0&&(i=n("<tr>"),r.push(i)),i.append('<td data-action="selectHour" class="hour'+(c(t,"h")?"":" disabled")+'">'+t.format(d?"HH":"hh")+"<\/td>"),t.add(1,"h");u.empty().append(r)},tr=function(){for(var s=f.find(".timepicker-minutes table"),t=o.clone().startOf("h"),u=[],i=n("<tr>"),e=r.stepping===1?5:r.stepping;o.isSame(t,"h");)t.minute()%(e*4)==0&&(i=n("<tr>"),u.push(i)),i.append('<td data-action="selectMinute" class="minute'+(c(t,"m")?"":" disabled")+'">'+t.format("mm")+"<\/td>"),t.add(e,"m");s.empty().append(u)},ir=function(){for(var u=f.find(".timepicker-seconds table"),t=o.clone().startOf("m"),r=[],i=n("<tr>");o.isSame(t,"m");)t.second()%20==0&&(i=n("<tr>"),r.push(i)),i.append('<td data-action="selectSecond" class="second'+(c(t,"s")?"":" disabled")+'">'+t.format("ss")+"<\/td>"),t.add(5,"s");u.empty().append(r)},rr=function(){var n,i,t=f.find(".timepicker span[data-time-component]");d||(n=f.find(".timepicker [data-action=togglePeriod]"),i=e.clone().add(e.hours()>=12?-12:12,"h"),n.text(e.format("A")),c(i,"h")?n.removeClass("disabled"):n.addClass("disabled"));t.filter("[data-time-component=hours]").text(e.format(d?"HH":"hh"));t.filter("[data-time-component=minutes]").text(e.format("mm"));t.filter("[data-time-component=seconds]").text(e.format("ss"));nr();tr();ir()},a=function(){f&&(et(),rr())},h=function(n){var t=k?null:e;if(!n){k=!0;s.val("");i.data("date","");it({type:"dp.change",date:!1,oldDate:t});a();return}if(n=n.clone().locale(r.locale),yt()&&n.tz(r.timeZone),r.stepping!==1)for(n.minutes(Math.round(n.minutes()/r.stepping)*r.stepping).seconds(0);r.minDate&&n.isBefore(r.minDate);)n.add(r.stepping,"minutes");c(n)?(e=n,o=e.clone(),s.val(e.format(y)),i.data("date",e.format(y)),k=!1,a(),it({type:"dp.change",date:e.clone(),oldDate:t})):(r.keepInvalid?it({type:"dp.change",date:n,oldDate:t}):s.val(k?"":e.format(y)),it({type:"dp.error",date:n,oldDate:t}))},v=function(){var t=!1;return f?(f.find(".collapse").each(function(){var i=n(this).data("collapse");return i&&i.transitioning?(t=!0,!1):!0}),t)?u:(l&&l.hasClass("btn")&&l.toggleClass("active"),f.hide(),n(window).off("resize",pt),f.off("click","[data-action]"),f.off("mousedown",!1),f.remove(),f=!1,it({type:"dp.hide",date:e.clone()}),s.blur(),o=e.clone(),u):u},ni=function(){h(null)},tt=function(n){return r.parseInputDate===undefined?(!t.isMoment(n)||n instanceof Date)&&(n=g(n)):n=r.parseInputDate(n),n},lt={next:function(){var n=ot[b].navFnc;o.add(ot[b].navStep,n);et();ut(n)},previous:function(){var n=ot[b].navFnc;o.subtract(ot[b].navStep,n);et();ut(n)},pickerSwitch:function(){ft(1)},selectMonth:function(t){var i=n(t.target).closest("tbody").find("span").index(n(t.target));o.month(i);b===nt?(h(e.clone().year(o.year()).month(o.month())),r.inline||v()):(ft(-1),et());ut("M")},selectYear:function(t){var i=parseInt(n(t.target).text(),10)||0;o.year(i);b===nt?(h(e.clone().year(o.year())),r.inline||v()):(ft(-1),et());ut("YYYY")},selectDecade:function(t){var i=parseInt(n(t.target).data("selection"),10)||0;o.year(i);b===nt?(h(e.clone().year(o.year())),r.inline||v()):(ft(-1),et());ut("YYYY")},selectDay:function(t){var i=o.clone();n(t.target).is(".old")&&i.subtract(1,"M");n(t.target).is(".new")&&i.add(1,"M");h(i.date(parseInt(n(t.target).text(),10)));ht()||r.keepOpen||r.inline||v()},incrementHours:function(){var n=e.clone().add(1,"h");c(n,"h")&&h(n)},incrementMinutes:function(){var n=e.clone().add(r.stepping,"m");c(n,"m")&&h(n)},incrementSeconds:function(){var n=e.clone().add(1,"s");c(n,"s")&&h(n)},decrementHours:function(){var n=e.clone().subtract(1,"h");c(n,"h")&&h(n)},decrementMinutes:function(){var n=e.clone().subtract(r.stepping,"m");c(n,"m")&&h(n)},decrementSeconds:function(){var n=e.clone().subtract(1,"s");c(n,"s")&&h(n)},togglePeriod:function(){h(e.clone().add(e.hours()>=12?-12:12,"h"))},togglePicker:function(t){var u=n(t.target),e=u.closest("ul"),i=e.find(".in"),o=e.find(".collapse:not(.in)"),f;if(i&&i.length){if(f=i.data("collapse"),f&&f.transitioning)return;i.collapse?(i.collapse("hide"),o.collapse("show")):(i.removeClass("in"),o.addClass("in"));u.is("span")?u.toggleClass(r.icons.time+" "+r.icons.date):u.find("span").toggleClass(r.icons.time+" "+r.icons.date)}},showPicker:function(){f.find(".timepicker > div:not(.timepicker-picker)").hide();f.find(".timepicker .timepicker-picker").show()},showHours:function(){f.find(".timepicker .timepicker-picker").hide();f.find(".timepicker .timepicker-hours").show()},showMinutes:function(){f.find(".timepicker .timepicker-picker").hide();f.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){f.find(".timepicker .timepicker-picker").hide();f.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var i=parseInt(n(t.target).text(),10);d||(e.hours()>=12?i!==12&&(i+=12):i===12&&(i=0));h(e.clone().hours(i));lt.showPicker.call(u)},selectMinute:function(t){h(e.clone().minutes(parseInt(n(t.target).text(),10)));lt.showPicker.call(u)},selectSecond:function(t){h(e.clone().seconds(parseInt(n(t.target).text(),10)));lt.showPicker.call(u)},clear:ni,today:function(){var n=g();c(n,"d")&&h(n)},close:v},ur=function(t){return n(t.currentTarget).is(".disabled")?!1:(lt[n(t.currentTarget).data("action")].apply(u,arguments),!1)},w=function(){var t,i={year:function(n){return n.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(n){return n.date(1).hours(0).seconds(0).minutes(0)},day:function(n){return n.hours(0).seconds(0).minutes(0)},hour:function(n){return n.seconds(0).minutes(0)},minute:function(n){return n.seconds(0)}};if(s.prop("disabled")||!r.ignoreReadonly&&s.prop("readonly")||f)return u;s.val()!==undefined&&s.val().trim().length!==0?h(tt(s.val().trim())):k&&r.useCurrent&&(r.inline||s.is("input")&&s.val().trim().length===0)&&(t=g(),typeof r.useCurrent=="string"&&(t=i[r.useCurrent](t)),h(t));f=ci();ai();bi();f.find(".timepicker-hours").hide();f.find(".timepicker-minutes").hide();f.find(".timepicker-seconds").hide();a();ft();n(window).on("resize",pt);f.on("click","[data-action]",ur);f.on("mousedown",!1);return l&&l.hasClass("btn")&&l.toggleClass("active"),pt(),f.show(),r.focusOnShow&&!s.is(":focus")&&s.focus(),it({type:"dp.show"}),u},wt=function(){return f?v():w()},ti=function(n){var o=null,t,e,c=[],l={},s=n.which,i,h,a="p";st[s]=a;for(t in st)st.hasOwnProperty(t)&&st[t]===a&&(c.push(t),parseInt(t,10)!==s&&(l[t]=!0));for(t in r.keyBinds)if(r.keyBinds.hasOwnProperty(t)&&typeof r.keyBinds[t]=="function"&&(i=t.split(" "),i.length===c.length&&gt[s]===i[i.length-1])){for(h=!0,e=i.length-2;e>=0;e--)if(!(gt[i[e]]in l)){h=!1;break}if(h){o=r.keyBinds[t];break}}o&&(o.call(u,f),n.stopPropagation(),n.preventDefault())},ii=function(n){st[n.which]="r";n.stopPropagation();n.preventDefault()},ri=function(t){var i=n(t.target).val().trim(),r=i?tt(i):null;return h(r),t.stopImmediatePropagation(),!1},fr=function(){s.on({change:ri,blur:r.debug?"":v,keydown:ti,keyup:ii,focus:r.allowInputToggle?w:""});if(i.is("input"))s.on({focus:w});else if(l){l.on("click",wt);l.on("mousedown",!1)}},er=function(){s.off({change:ri,blur:blur,keydown:ti,keyup:ii,focus:r.allowInputToggle?v:""});i.is("input")?s.off({focus:w}):l&&(l.off("click",wt),l.off("mousedown",!1))},ui=function(t){var i={};return n.each(t,function(){var n=tt(this);n.isValid()&&(i[n.format("YYYY-MM-DD")]=!0)}),Object.keys(i).length?i:!1},fi=function(t){var i={};return n.each(t,function(){i[this]=!0}),Object.keys(i).length?i:!1},at=function(){var n=r.format||"L LT";y=n.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(n){var t=e.localeData().longDateFormat(n)||n;return t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(n){return e.localeData().longDateFormat(n)||n})});rt=r.extraFormats?r.extraFormats.slice():[];rt.indexOf(n)<0&&rt.indexOf(y)<0&&rt.push(y);d=y.toLowerCase().indexOf("a")<1&&y.replace(/\[.*?\]/g,"").indexOf("h")<1;p("y")&&(nt=2);p("M")&&(nt=1);p("d")&&(nt=0);b=Math.max(nt,b);k||h(e)};if(u.destroy=function(){v();er();i.removeData("DateTimePicker");i.removeData("date")},u.toggle=wt,u.show=w,u.hide=v,u.disable=function(){return v(),l&&l.hasClass("btn")&&l.addClass("disabled"),s.prop("disabled",!0),u},u.enable=function(){return l&&l.hasClass("btn")&&l.removeClass("disabled"),s.prop("disabled",!1),u},u.ignoreReadonly=function(n){if(arguments.length===0)return r.ignoreReadonly;if(typeof n!="boolean")throw new TypeError("ignoreReadonly () expects a boolean parameter");return r.ignoreReadonly=n,u},u.options=function(t){if(arguments.length===0)return n.extend(!0,{},r);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return n.extend(!0,r,t),n.each(r,function(n,t){if(u[n]!==undefined)u[n](t);else throw new TypeError("option "+n+" is not recognized!");}),u},u.date=function(n){if(arguments.length===0)return k?null:e.clone();if(n!==null&&typeof n!="string"&&!t.isMoment(n)&&!(n instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return h(n===null?null:tt(n)),u},u.format=function(n){if(arguments.length===0)return r.format;if(typeof n!="string"&&(typeof n!="boolean"||n!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+n);return r.format=n,y&&at(),u},u.timeZone=function(n){if(arguments.length===0)return r.timeZone;if(typeof n!="string")throw new TypeError("newZone() expects a string parameter");return r.timeZone=n,u},u.dayViewHeaderFormat=function(n){if(arguments.length===0)return r.dayViewHeaderFormat;if(typeof n!="string")throw new TypeError("dayViewHeaderFormat() expects a string parameter");return r.dayViewHeaderFormat=n,u},u.extraFormats=function(n){if(arguments.length===0)return r.extraFormats;if(n!==!1&&!(n instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return r.extraFormats=n,rt&&at(),u},u.disabledDates=function(t){if(arguments.length===0)return r.disabledDates?n.extend({},r.disabledDates):r.disabledDates;if(!t)return r.disabledDates=!1,a(),u;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return r.disabledDates=ui(t),r.enabledDates=!1,a(),u},u.enabledDates=function(t){if(arguments.length===0)return r.enabledDates?n.extend({},r.enabledDates):r.enabledDates;if(!t)return r.enabledDates=!1,a(),u;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return r.enabledDates=ui(t),r.disabledDates=!1,a(),u},u.daysOfWeekDisabled=function(n){if(arguments.length===0)return r.daysOfWeekDisabled.splice(0);if(typeof n=="boolean"&&!n)return r.daysOfWeekDisabled=!1,a(),u;if(!(n instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(r.daysOfWeekDisabled=n.reduce(function(n,t){return(t=parseInt(t,10),t>6||t<0||isNaN(t))?n:(n.indexOf(t)===-1&&n.push(t),n)},[]).sort(),r.useCurrent&&!r.keepInvalid){for(var t=0;!c(e,"d");){if(e.add(1,"d"),t===31)throw"Tried 31 times to find a valid date";t++}h(e)}return a(),u},u.maxDate=function(n){if(arguments.length===0)return r.maxDate?r.maxDate.clone():r.maxDate;if(typeof n=="boolean"&&n===!1)return r.maxDate=!1,a(),u;typeof n=="string"&&(n==="now"||n==="moment")&&(n=g());var t=tt(n);if(!t.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+n);if(r.minDate&&t.isBefore(r.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+t.format(y));return r.maxDate=t,r.useCurrent&&!r.keepInvalid&&e.isAfter(n)&&h(r.maxDate),o.isAfter(t)&&(o=t.clone().subtract(r.stepping,"m")),a(),u},u.minDate=function(n){if(arguments.length===0)return r.minDate?r.minDate.clone():r.minDate;if(typeof n=="boolean"&&n===!1)return r.minDate=!1,a(),u;typeof n=="string"&&(n==="now"||n==="moment")&&(n=g());var t=tt(n);if(!t.isValid())throw new TypeError("minDate() Could not parse date parameter: "+n);if(r.maxDate&&t.isAfter(r.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+t.format(y));return r.minDate=t,r.useCurrent&&!r.keepInvalid&&e.isBefore(n)&&h(r.minDate),o.isBefore(t)&&(o=t.clone().add(r.stepping,"m")),a(),u},u.defaultDate=function(n){if(arguments.length===0)return r.defaultDate?r.defaultDate.clone():r.defaultDate;if(!n)return r.defaultDate=!1,u;typeof n=="string"&&(n=n==="now"||n==="moment"?g():g(n));var t=tt(n);if(!t.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+n);if(!c(t))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return r.defaultDate=t,(r.defaultDate&&r.inline||s.val().trim()==="")&&h(r.defaultDate),u},u.locale=function(n){if(arguments.length===0)return r.locale;if(!t.localeData(n))throw new TypeError("locale() locale "+n+" is not loaded from moment locales!");return r.locale=n,e.locale(r.locale),o.locale(r.locale),y&&at(),f&&(v(),w()),u},u.stepping=function(n){return arguments.length===0?r.stepping:(n=parseInt(n,10),(isNaN(n)||n<1)&&(n=1),r.stepping=n,u)},u.useCurrent=function(n){var t=["year","month","day","hour","minute"];if(arguments.length===0)return r.useCurrent;if(typeof n!="boolean"&&typeof n!="string")throw new TypeError("useCurrent() expects a boolean or string parameter");if(typeof n=="string"&&t.indexOf(n.toLowerCase())===-1)throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));return r.useCurrent=n,u},u.collapse=function(n){if(arguments.length===0)return r.collapse;if(typeof n!="boolean")throw new TypeError("collapse() expects a boolean parameter");return r.collapse===n?u:(r.collapse=n,f&&(v(),w()),u)},u.icons=function(t){if(arguments.length===0)return n.extend({},r.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return n.extend(r.icons,t),f&&(v(),w()),u},u.tooltips=function(t){if(arguments.length===0)return n.extend({},r.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return n.extend(r.tooltips,t),f&&(v(),w()),u},u.useStrict=function(n){if(arguments.length===0)return r.useStrict;if(typeof n!="boolean")throw new TypeError("useStrict() expects a boolean parameter");return r.useStrict=n,u},u.sideBySide=function(n){if(arguments.length===0)return r.sideBySide;if(typeof n!="boolean")throw new TypeError("sideBySide() expects a boolean parameter");return r.sideBySide=n,f&&(v(),w()),u},u.viewMode=function(n){if(arguments.length===0)return r.viewMode;if(typeof n!="string")throw new TypeError("viewMode() expects a string parameter");if(vt.indexOf(n)===-1)throw new TypeError("viewMode() parameter must be one of ("+vt.join(", ")+") value");return r.viewMode=n,b=Math.max(vt.indexOf(n),nt),ft(),u},u.toolbarPlacement=function(n){if(arguments.length===0)return r.toolbarPlacement;if(typeof n!="string")throw new TypeError("toolbarPlacement() expects a string parameter");if(dt.indexOf(n)===-1)throw new TypeError("toolbarPlacement() parameter must be one of ("+dt.join(", ")+") value");return r.toolbarPlacement=n,f&&(v(),w()),u},u.widgetPositioning=function(t){if(arguments.length===0)return n.extend({},r.widgetPositioning);if({}.toString.call(t)!=="[object Object]")throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if(typeof t.horizontal!="string")throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),kt.indexOf(t.horizontal)===-1)throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+kt.join(", ")+")");r.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if(typeof t.vertical!="string")throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),bt.indexOf(t.vertical)===-1)throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+bt.join(", ")+")");r.widgetPositioning.vertical=t.vertical}return a(),u},u.calendarWeeks=function(n){if(arguments.length===0)return r.calendarWeeks;if(typeof n!="boolean")throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return r.calendarWeeks=n,a(),u},u.showTodayButton=function(n){if(arguments.length===0)return r.showTodayButton;if(typeof n!="boolean")throw new TypeError("showTodayButton() expects a boolean parameter");return r.showTodayButton=n,f&&(v(),w()),u},u.showClear=function(n){if(arguments.length===0)return r.showClear;if(typeof n!="boolean")throw new TypeError("showClear() expects a boolean parameter");return r.showClear=n,f&&(v(),w()),u},u.widgetParent=function(t){if(arguments.length===0)return r.widgetParent;if(typeof t=="string"&&(t=n(t)),t!==null&&typeof t!="string"&&!(t instanceof n))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return r.widgetParent=t,f&&(v(),w()),u},u.keepOpen=function(n){if(arguments.length===0)return r.keepOpen;if(typeof n!="boolean")throw new TypeError("keepOpen() expects a boolean parameter");return r.keepOpen=n,u},u.focusOnShow=function(n){if(arguments.length===0)return r.focusOnShow;if(typeof n!="boolean")throw new TypeError("focusOnShow() expects a boolean parameter");return r.focusOnShow=n,u},u.inline=function(n){if(arguments.length===0)return r.inline;if(typeof n!="boolean")throw new TypeError("inline() expects a boolean parameter");return r.inline=n,u},u.clear=function(){return ni(),u},u.keyBinds=function(n){return arguments.length===0?r.keyBinds:(r.keyBinds=n,u)},u.getMoment=function(n){return g(n)},u.debug=function(n){if(typeof n!="boolean")throw new TypeError("debug() expects a boolean parameter");return r.debug=n,u},u.allowInputToggle=function(n){if(arguments.length===0)return r.allowInputToggle;if(typeof n!="boolean")throw new TypeError("allowInputToggle() expects a boolean parameter");return r.allowInputToggle=n,u},u.showClose=function(n){if(arguments.length===0)return r.showClose;if(typeof n!="boolean")throw new TypeError("showClose() expects a boolean parameter");return r.showClose=n,u},u.keepInvalid=function(n){if(arguments.length===0)return r.keepInvalid;if(typeof n!="boolean")throw new TypeError("keepInvalid() expects a boolean parameter");return r.keepInvalid=n,u},u.datepickerInput=function(n){if(arguments.length===0)return r.datepickerInput;if(typeof n!="string")throw new TypeError("datepickerInput() expects a string parameter");return r.datepickerInput=n,u},u.parseInputDate=function(n){if(arguments.length===0)return r.parseInputDate;if(typeof n!="function")throw new TypeError("parseInputDate() sholud be as function");return r.parseInputDate=n,u},u.disabledTimeIntervals=function(t){if(arguments.length===0)return r.disabledTimeIntervals?n.extend({},r.disabledTimeIntervals):r.disabledTimeIntervals;if(!t)return r.disabledTimeIntervals=!1,a(),u;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return r.disabledTimeIntervals=t,a(),u},u.disabledHours=function(t){if(arguments.length===0)return r.disabledHours?n.extend({},r.disabledHours):r.disabledHours;if(!t)return r.disabledHours=!1,a(),u;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(r.disabledHours=fi(t),r.enabledHours=!1,r.useCurrent&&!r.keepInvalid){for(var i=0;!c(e,"h");){if(e.add(1,"h"),i===24)throw"Tried 24 times to find a valid date";i++}h(e)}return a(),u},u.enabledHours=function(t){if(arguments.length===0)return r.enabledHours?n.extend({},r.enabledHours):r.enabledHours;if(!t)return r.enabledHours=!1,a(),u;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(r.enabledHours=fi(t),r.disabledHours=!1,r.useCurrent&&!r.keepInvalid){for(var i=0;!c(e,"h");){if(e.add(1,"h"),i===24)throw"Tried 24 times to find a valid date";i++}h(e)}return a(),u},u.viewDate=function(n){if(arguments.length===0)return o.clone();if(!n)return o=e.clone(),u;if(typeof n!="string"&&!t.isMoment(n)&&!(n instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return o=tt(n),ut(),u},i.is("input"))s=i;else if(s=i.find(r.datepickerInput),s.length===0)s=i.find("input");else if(!s.is("input"))throw new Error('CSS class "'+r.datepickerInput+'" cannot be applied to non input element');if(i.hasClass("input-group")&&(l=i.find(".datepickerbutton").length===0?i.find(".input-group-append"):i.find(".datepickerbutton")),!r.inline&&!s.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return e=g(),o=e.clone(),n.extend(!0,r,li()),u.options(r),at(),fr(),s.prop("disabled")&&u.disable(),s.is("input")&&s.val().trim().length!==0?h(tt(s.val().trim())):r.defaultDate&&s.attr("placeholder")===undefined&&h(r.defaultDate),r.inline&&w(),u};return n.fn.datetimepicker=function(t){t=t||{};var f=Array.prototype.slice.call(arguments,1),u=!0,r;if(typeof t=="object")return this.each(function(){var r=n(this),u;r.data("DateTimePicker")||(u=n.extend(!0,{},n.fn.datetimepicker.defaults,t),r.data("DateTimePicker",i(r,u)))});if(typeof t=="string")return(this.each(function(){var e=n(this),i=e.data("DateTimePicker");if(!i)throw new Error('bootstrap-datetimepicker("'+t+'") method was called on an element that is not using DateTimePicker');r=i[t].apply(i,f);u=r===i}),u||n.inArray(t,["destroy","hide","show","toggle"])>-1)?this:r;throw new TypeError("Invalid arguments for DateTimePicker: "+t);},n.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:t.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")?this.date(t.clone().subtract(7,"d")):this.date(t.clone().add(this.stepping(),"m"))}},down:function(n){if(!n){this.show();return}var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")?this.date(t.clone().add(7,"d")):this.date(t.clone().subtract(this.stepping(),"m"))},"control up":function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")?this.date(t.clone().subtract(1,"y")):this.date(t.clone().add(1,"h"))}},"control down":function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")?this.date(t.clone().add(1,"y")):this.date(t.clone().subtract(1,"h"))}},left:function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"d"))}},right:function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"d"))}},pageUp:function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"M"))}},pageDown:function(n){if(n){var t=this.date()||this.getMoment();n.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(n){n&&n.find(".timepicker").is(":visible")&&n.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},"delete":function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},n.fn.datetimepicker}),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?n(require("jquery")):n(jQuery)}(function(n){function r(t){var i=!1;return n('[data-notify="container"]').each(function(r,u){var f=n(u),e=f.find('[data-notify="title"]').html().trim(),o=f.find('[data-notify="message"]').html().trim(),s=e===n("<div>"+t.settings.content.title+"<\/div>").html().trim(),h=o===n("<div>"+t.settings.content.message+"<\/div>").html().trim(),c=f.hasClass("alert-"+t.settings.type);return s&&h&&c&&(i=!0),!i}),i}function i(i,u,f){var e={content:{message:typeof u=="object"?u.message:u,title:u.title?u.title:"",icon:u.icon?u.icon:"",url:u.url?u.url:"#",target:u.target?u.target:"-"}};f=n.extend(!0,{},e,f);this.settings=n.extend(!0,{},t,f);this._defaults=t;this.settings.content.target==="-"&&(this.settings.content.target=this.settings.url_target);this.animations={start:"webkitAnimationStart oanimationstart MSAnimationStart animationstart",end:"webkitAnimationEnd oanimationend MSAnimationEnd animationend"};typeof this.settings.offset=="number"&&(this.settings.offset={x:this.settings.offset,y:this.settings.offset});!this.settings.allow_duplicates&&(this.settings.allow_duplicates||r(this))||this.init()}var t={element:"body",position:null,type:"info",allow_dismiss:!0,allow_duplicates:!0,newest_on_top:!1,showProgressbar:!1,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:9999999,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:null,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},onShow:null,onShown:null,onClose:null,onClosed:null,onClick:null,icon_type:"class",template:'<div data-notify="container" class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-animation="false"><div class="toast-header"><span data-notify="icon" class="mr-2 text-{0}"><\/span><span class="mr-auto font-weight-bold" data-notify="title">{1}<\/span><button type="button" class="ml-2 mb-1 close" data-dismiss="toast" data-notify="dismiss" aria-label="Close"><span aria-hidden="true">&times;<\/span><\/button><\/div><div class="toast-body" data-notify="message">{2}<div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"><\/div><\/div><\/div>'};String.format=function(){var n=arguments,t=arguments[0];return t.replace(/(\{\{\d\}\}|\{\d\})/g,function(t){if(t.substring(0,2)==="{{")return t;var i=parseInt(t.match(/\d/)[0]);return n[i+1]})};n.extend(i.prototype,{init:function(){var n=this;this.buildNotify();this.settings.content.icon&&this.setIcon();this.settings.content.url!="#"&&this.styleURL();this.placement();this.bind();this.notify={$ele:this.$ele,update:function(t,i){var r={},u,f,e,o;typeof t=="string"?r[t]=i:r=t;for(u in r)switch(u){case"type":this.$ele.removeClass("alert-"+n.settings.type);this.$ele.find('[data-notify="progressbar"] > .progress-bar').removeClass("progress-bar-"+n.settings.type);n.settings.type=r[u];this.$ele.addClass("alert-"+r[u]).find('[data-notify="progressbar"] > .progress-bar').addClass("progress-bar-"+r[u]);break;case"icon":f=this.$ele.find('[data-notify="icon"]');n.settings.icon_type.toLowerCase()==="class"?f.removeClass(n.settings.content.icon).addClass(r[u]):(f.is("img")||f.find("img"),f.attr("src",r[u]));n.settings.content.icon=r[t];break;case"progress":e=n.settings.delay-n.settings.delay*(r[u]/100);this.$ele.data("notify-delay",e);this.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",r[u]).css("width",r[u]+"%");break;case"url":this.$ele.find('[data-notify="url"]').attr("href",r[u]);break;case"target":this.$ele.find('[data-notify="url"]').attr("target",r[u]);break;default:this.$ele.find('[data-notify="'+u+'"]').html(r[u])}o=this.$ele.outerHeight()+parseInt(n.settings.spacing)+parseInt(n.settings.offset.y);n.reposition(o)},close:function(){n.close()}}},buildNotify:function(){var t=this.settings.content;this.$ele=n(String.format(this.settings.template,this.settings.type,t.title,t.message,t.url,t.target));this.$ele.attr("data-notify-position",this.settings.placement.from+"-"+this.settings.placement.align);this.settings.allow_dismiss||this.$ele.find('[data-notify="dismiss"]').css("display","none");(this.settings.delay<=0&&!this.settings.showProgressbar||!this.settings.showProgressbar)&&this.$ele.find('[data-notify="progressbar"]').remove()},setIcon:function(){this.settings.icon_type.toLowerCase()==="class"?this.$ele.find('[data-notify="icon"]').addClass(this.settings.content.icon):this.$ele.find('[data-notify="icon"]').is("img")?this.$ele.find('[data-notify="icon"]').attr("src",this.settings.content.icon):this.$ele.find('[data-notify="icon"]').append('<img src="'+this.settings.content.icon+'" alt="Notify Icon" />')},styleDismiss:function(){this.$ele.find('[data-notify="dismiss"]').css({position:"absolute",right:"10px",top:"5px",zIndex:this.settings.z_index+2})},styleURL:function(){this.$ele.find('[data-notify="url"]').css({backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)",height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:this.settings.z_index+1})},placement:function(){var t=this,i=this.settings.offset.y,r={display:"inline-block",margin:"0px auto",opacity:100,"min-width":"300px",position:this.settings.position?this.settings.position:this.settings.element==="body"?"fixed":"absolute",transition:"all .5s ease-in-out",zIndex:this.settings.z_index},u=!1,f=this.settings;n('[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])').each(function(){i=Math.max(i,parseInt(n(this).css(f.placement.from))+parseInt(n(this).outerHeight())+parseInt(f.spacing))});this.settings.newest_on_top===!0&&(i=this.settings.offset.y);r[this.settings.placement.from]=i+"px";switch(this.settings.placement.align){case"left":case"right":r[this.settings.placement.align]=this.settings.offset.x+"px";break;case"center":r.left=0;r.right=0}this.$ele.css(r).addClass(this.settings.animate.enter);n.each(Array("webkit-","moz-","o-","ms-",""),function(n,i){t.$ele[0].style[i+"AnimationIterationCount"]=1});n(this.settings.element).append(this.$ele);this.settings.newest_on_top===!0&&(i=parseInt(i)+parseInt(this.settings.spacing)+this.$ele.outerHeight(),this.reposition(i));n.isFunction(t.settings.onShow)&&t.settings.onShow.call(this.$ele);this.$ele.one(this.animations.start,function(){u=!0}).one(this.animations.end,function(){t.$ele.removeClass(t.settings.animate.enter);n.isFunction(t.settings.onShown)&&t.settings.onShown.call(this)});setTimeout(function(){u||n.isFunction(t.settings.onShown)&&t.settings.onShown.call(this)},600)},bind:function(){var t=this,i;this.$ele.find('[data-notify="dismiss"]').on("click",function(){t.close()});if(n.isFunction(t.settings.onClick))this.$ele.on("click",function(n){n.target!=t.$ele.find('[data-notify="dismiss"]')[0]&&t.settings.onClick.call(this,n)});this.$ele.mouseover(function(){n(this).data("data-hover","true")}).mouseout(function(){n(this).data("data-hover","false")});this.$ele.data("data-hover","false");this.settings.delay>0&&(t.$ele.data("notify-delay",t.settings.delay),i=setInterval(function(){var n=parseInt(t.$ele.data("notify-delay"))-t.settings.timer,r;(t.$ele.data("data-hover")==="false"&&t.settings.mouse_over==="pause"||t.settings.mouse_over!="pause")&&(r=(t.settings.delay-n)/t.settings.delay*100,t.$ele.data("notify-delay",n),t.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",r).css("width",r+"%"));n<=-t.settings.timer&&(clearInterval(i),t.close())},t.settings.timer))},close:function(){var t=this,r=parseInt(this.$ele.css(this.settings.placement.from)),i=!1;this.$ele.attr("data-closing","true").addClass(this.settings.animate.exit);t.reposition(r);n.isFunction(t.settings.onClose)&&t.settings.onClose.call(this.$ele);this.$ele.one(this.animations.start,function(){i=!0}).one(this.animations.end,function(){n(this).remove();n.isFunction(t.settings.onClosed)&&t.settings.onClosed.call(this)});setTimeout(function(){i||(t.$ele.remove(),n.isFunction(t.settings.onClosed)&&t.settings.onClosed.call(this))},600)},reposition:function(t){var i=this,r='[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])',u=this.$ele.nextAll(r);this.settings.newest_on_top===!0&&(u=this.$ele.prevAll(r));u.each(function(){n(this).css(i.settings.placement.from,t);t=parseInt(t)+parseInt(i.settings.spacing)+n(this).outerHeight()})}});n.notify=function(n,t){var r=new i(this,n,t);return r.notify};n.notifyDefaults=function(i){return t=n.extend(!0,{},t,i)};n.notifyClose=function(t){typeof t=="undefined"||t==="all"?n("[data-notify]").find('[data-notify="dismiss"]').trigger("click"):t==="success"||t==="info"||t==="warning"||t==="danger"?n(".alert-"+t+"[data-notify]").find('[data-notify="dismiss"]').trigger("click"):t?n(t+"[data-notify]").find('[data-notify="dismiss"]').trigger("click"):n('[data-notify-position="'+t+'"]').find('[data-notify="dismiss"]').trigger("click")};n.notifyCloseExcept=function(t){t==="success"||t==="info"||t==="warning"||t==="danger"?n("[data-notify]").not(".alert-"+t).find('[data-notify="dismiss"]').trigger("click"):n("[data-notify]").not(t).find('[data-notify="dismiss"]').trigger("click")}}),function(n){"use strict";function r(n,t){return n+".touchspin_"+t}function i(t,i){return n.map(t,function(n){return r(n,i)})}var t=0;n.fn.TouchSpin=function(r){if(r==="destroy"){this.each(function(){var t=n(this),r=t.data();n(document).off(i(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],r.spinnerid).join(" "))});return}var u={min:0,max:100,initval:"",replacementval:"",step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalupclass:"glyphicon glyphicon-chevron-up",verticaldownclass:"glyphicon glyphicon-chevron-down",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn btn-secondary",buttonup_class:"btn btn-secondary",buttondown_txt:"-",buttonup_txt:"+"},f={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each(function(){function ut(){if(!o.data("alreadyinitialized")){if(o.data("alreadyinitialized",!0),t+=1,o.data("spinnerid",t),!o.is("input")){console.log("Must be an input.");return}ot();ft();w();ct();vt();yt();pt();wt();s.input.css("display","block")}}function ft(){e.initval!==""&&o.val()===""&&o.val(e.initval)}function et(n){ht(n);w();var t=s.input.val();t!==""&&(t=Number(s.input.val()),s.input.val(t.toFixed(e.decimals)))}function ot(){e=n.extend({},u,rt,st(),r)}function st(){var t={};return n.each(f,function(n,i){var r="bts-"+i+"";o.is("[data-"+r+"]")&&(t[n]=o.data(r))}),t}function ht(t){e=n.extend({},e,t)}function ct(){var n=o.val(),t=o.parent();n!==""&&(n=Number(n).toFixed(e.decimals));o.data("initvalue",n).val(n);o.addClass("form-control");t.hasClass("input-group")?lt(t):at()}function lt(t){t.addClass("bootstrap-touchspin");var u=o.prev(),f=o.next(),i,r,s='<span class="input-group-addon bootstrap-touchspin-prefix">'+e.prefix+"<\/span>",h='<span class="input-group-addon bootstrap-touchspin-postfix">'+e.postfix+"<\/span>";u.hasClass("input-group-prepend")?(i='<button class="'+e.buttondown_class+' bootstrap-touchspin-down" type="button">'+e.buttondown_txt+"<\/button>",u.append(i)):(i='<span class="input-group-prepend"><button class="'+e.buttondown_class+' bootstrap-touchspin-down" type="button">'+e.buttondown_txt+"<\/button><\/span>",n(i).insertBefore(o));f.hasClass("input-group-prepend")?(r='<button class="'+e.buttonup_class+' bootstrap-touchspin-up" type="button">'+e.buttonup_txt+"<\/button>",f.prepend(r)):(r='<span class="input-group-prepend"><button class="'+e.buttonup_class+' bootstrap-touchspin-up" type="button">'+e.buttonup_txt+"<\/button><\/span>",n(r).insertAfter(o));n(s).insertBefore(o);n(h).insertAfter(o);a=t}function at(){var t;t=e.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+e.prefix+'<\/span><span class="input-group-addon bootstrap-touchspin-postfix">'+e.postfix+'<\/span><span class="input-group-btn-vertical"><button class="'+e.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+e.verticalupclass+'"><\/i><\/button><button class="'+e.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+e.verticaldownclass+'"><\/i><\/button><\/span><\/div>':e.postfix===""?'<div class="input-group bootstrap-touchspin"><span class="input-group-prepend"><button class="'+e.buttondown_class+' bootstrap-touchspin-down" type="button">'+e.buttondown_txt+'<\/button><\/span><span class="input-group-addon bootstrap-touchspin-prefix">'+e.prefix+'<\/span><span class="input-group-append"><button class="'+e.buttonup_class+' bootstrap-touchspin-up" type="button">'+e.buttonup_txt+"<\/button><\/span><\/div>":'<div class="input-group bootstrap-touchspin"><span class="input-group-prepend"><button class="'+e.buttondown_class+' bootstrap-touchspin-down" type="button">'+e.buttondown_txt+'<\/button><\/span><span class="input-group-addon bootstrap-touchspin-prefix">'+e.prefix+'<\/span><span class="input-group-append"><button class="btn btn-secondary" disabled>'+e.postfix+'<\/button><button class="'+e.buttonup_class+' bootstrap-touchspin-up" type="button">'+e.buttonup_txt+"<\/button><\/span><\/div>";a=n(t).insertBefore(o);n(".bootstrap-touchspin-prefix",a).after(o);o.hasClass("input-sm")?a.addClass("input-group-sm"):o.hasClass("input-lg")&&a.addClass("input-group-lg")}function vt(){s={down:n(".bootstrap-touchspin-down",a),up:n(".bootstrap-touchspin-up",a),input:n("input",a),prefix:n(".bootstrap-touchspin-prefix",a).addClass(e.prefix_extraclass),postfix:n(".bootstrap-touchspin-postfix",a).addClass(e.postfix_extraclass)}}function yt(){e.prefix===""&&s.prefix.hide();e.postfix===""&&s.postfix.hide()}function pt(){o.on("keydown",function(n){var t=n.keyCode||n.which;t===38?(l!=="up"&&(v(),k()),n.preventDefault()):t===40&&(l!=="down"&&(y(),b()),n.preventDefault())});o.on("keyup",function(n){var t=n.keyCode||n.which;t===38?c():t===40&&c()});o.on("blur",function(){w()});s.down.on("keydown",function(n){var t=n.keyCode||n.which;(t===32||t===13)&&(l!=="down"&&(y(),b()),n.preventDefault())});s.down.on("keyup",function(n){var t=n.keyCode||n.which;(t===32||t===13)&&c()});s.up.on("keydown",function(n){var t=n.keyCode||n.which;(t===32||t===13)&&(l!=="up"&&(v(),k()),n.preventDefault())});s.up.on("keyup",function(n){var t=n.keyCode||n.which;(t===32||t===13)&&c()});s.down.on("mousedown.touchspin",function(n){(s.down.off("touchstart.touchspin"),o.is(":disabled"))||(y(),b(),n.preventDefault(),n.stopPropagation())});s.down.on("touchstart.touchspin",function(n){(s.down.off("mousedown.touchspin"),o.is(":disabled"))||(y(),b(),n.preventDefault(),n.stopPropagation())});s.up.on("mousedown.touchspin",function(n){(s.up.off("touchstart.touchspin"),o.is(":disabled"))||(v(),k(),n.preventDefault(),n.stopPropagation())});s.up.on("touchstart.touchspin",function(n){(s.up.off("mousedown.touchspin"),o.is(":disabled"))||(v(),k(),n.preventDefault(),n.stopPropagation())});s.up.on("mouseout touchleave touchend touchcancel",function(n){l&&(n.stopPropagation(),c())});s.down.on("mouseout touchleave touchend touchcancel",function(n){l&&(n.stopPropagation(),c())});s.down.on("mousemove touchmove",function(n){l&&(n.stopPropagation(),n.preventDefault())});s.up.on("mousemove touchmove",function(n){l&&(n.stopPropagation(),n.preventDefault())});n(document).on(i(["mouseup","touchend","touchcancel"],t).join(" "),function(n){l&&(n.preventDefault(),c())});n(document).on(i(["mousemove","touchmove","scroll","scrollstart"],t).join(" "),function(n){l&&(n.preventDefault(),c())});o.on("mousewheel DOMMouseScroll",function(n){if(e.mousewheel&&o.is(":focus")){var t=n.originalEvent.wheelDelta||-n.originalEvent.deltaY||-n.originalEvent.detail;n.stopPropagation();n.preventDefault();t<0?y():v()}})}function wt(){o.on("touchspin.uponce",function(){c();v()});o.on("touchspin.downonce",function(){c();y()});o.on("touchspin.startupspin",function(){k()});o.on("touchspin.startdownspin",function(){b()});o.on("touchspin.stopspin",function(){c()});o.on("touchspin.updatesettings",function(n,t){et(t)})}function bt(n){switch(e.forcestepdivisibility){case"round":return(Math.round(n/e.step)*e.step).toFixed(e.decimals);case"floor":return(Math.floor(n/e.step)*e.step).toFixed(e.decimals);case"ceil":return(Math.ceil(n/e.step)*e.step).toFixed(e.decimals);default:return n}}function w(){var i,n,t;if(i=o.val(),i===""){e.replacementval!==""&&(o.val(e.replacementval),o.trigger("change"));return}e.decimals>0&&i==="."||(n=parseFloat(i),isNaN(n)&&(n=e.replacementval!==""?e.replacementval:0),t=n,n.toString()!==i&&(t=n),n<e.min&&(t=e.min),n>e.max&&(t=e.max),t=bt(t),Number(i).toString()!==t.toString()&&(o.val(t),o.trigger("change")))}function it(){if(e.booster){var n=Math.pow(2,Math.floor(p/e.boostat))*e.step;return e.maxboostedstep&&n>e.maxboostedstep&&(n=e.maxboostedstep,h=Math.round(h/n)*n),Math.max(e.step,n)}return e.step}function v(){w();h=parseFloat(s.input.val());isNaN(h)&&(h=0);var n=h,t=it();h=h+t;h>e.max&&(h=e.max,o.trigger("touchspin.on.max"),c());s.input.val(Number(h).toFixed(e.decimals));n!==h&&o.trigger("change")}function y(){w();h=parseFloat(s.input.val());isNaN(h)&&(h=0);var n=h,t=it();h=h-t;h<e.min&&(h=e.min,o.trigger("touchspin.on.min"),c());s.input.val(h.toFixed(e.decimals));n!==h&&o.trigger("change")}function b(){c();p=0;l="down";o.trigger("touchspin.on.startspin");o.trigger("touchspin.on.startdownspin");nt=setTimeout(function(){d=setInterval(function(){p++;y()},e.stepinterval)},e.stepintervaldelay)}function k(){c();p=0;l="up";o.trigger("touchspin.on.startspin");o.trigger("touchspin.on.startupspin");tt=setTimeout(function(){g=setInterval(function(){p++;v()},e.stepinterval)},e.stepintervaldelay)}function c(){clearTimeout(nt);clearTimeout(tt);clearInterval(d);clearInterval(g);switch(l){case"up":o.trigger("touchspin.on.stopupspin");o.trigger("touchspin.on.stopspin");break;case"down":o.trigger("touchspin.on.stopdownspin");o.trigger("touchspin.on.stopspin")}p=0;l=!1}var e,o=n(this),rt=o.data(),a,s,h,d,g,nt,tt,p=0,l=!1;ut()})}}(jQuery);
/*!
 * Select2 4.0.13
 * https://select2.github.io
 *
 * Released under the MIT license
 * https://github.com/select2/select2/blob/master/LICENSE.md
 */
(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof module=="object"&&module.exports?module.exports=function(t,i){return i===undefined&&(i=typeof window!="undefined"?require("jquery"):require("jquery")(t)),n(i),i}:n(jQuery)})(function(n){var t=function(){var t;return n&&n.fn&&n.fn.select2&&n.fn.select2.amd&&(t=n.fn.select2.amd),function(){if(!t||!t.requirejs){t?i=t:t={};
/**
 * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
 * Released under MIT license, http://github.com/requirejs/almond/LICENSE
 */
var n,i,r;(function(t){function e(n,t){return d.call(n,t)}function l(n,t){var o,s,u,e,h,y,c,b,i,l,p,k,r=t&&t.split("/"),a=f.map,v=a&&a["*"]||{};if(n){for(n=n.split("/"),h=n.length-1,f.nodeIdCompat&&w.test(n[h])&&(n[h]=n[h].replace(w,"")),n[0].charAt(0)==="."&&r&&(k=r.slice(0,r.length-1),n=k.concat(n)),i=0;i<n.length;i++)if(p=n[i],p===".")n.splice(i,1),i-=1;else if(p==="..")if(i===0||i===1&&n[2]===".."||n[i-1]==="..")continue;else i>0&&(n.splice(i-1,2),i-=2);n=n.join("/")}if((r||v)&&a){for(o=n.split("/"),i=o.length;i>0;i-=1){if(s=o.slice(0,i).join("/"),r)for(l=r.length;l>0;l-=1)if(u=a[r.slice(0,l).join("/")],u&&(u=u[s],u)){e=u;y=i;break}if(e)break;!c&&v&&v[s]&&(c=v[s],b=i)}!e&&c&&(e=c,y=b);e&&(o.splice(0,y,e),n=o.join("/"))}return n}function b(n,i){return function(){var r=g.call(arguments,0);return typeof r[0]!="string"&&r.length===1&&r.push(null),o.apply(t,r.concat([n,i]))}}function nt(n){return function(t){return l(t,n)}}function tt(n){return function(t){u[n]=t}}function a(n){if(e(h,n)){var i=h[n];delete h[n];y[n]=!0;c.apply(t,i)}if(!e(u,n)&&!e(y,n))throw new Error("No "+n);return u[n]}function p(n){var i,t=n?n.indexOf("!"):-1;return t>-1&&(i=n.substring(0,t),n=n.substring(t+1,n.length)),[i,n]}function k(n){return n?p(n):[]}function it(n){return function(){return f&&f.config&&f.config[n]||{}}}var c,o,v,s,u={},h={},f={},y={},d=Object.prototype.hasOwnProperty,g=[].slice,w=/\.js$/;v=function(n,t){var r,u=p(n),i=u[0],f=t[1];return n=u[1],i&&(i=l(i,f),r=a(i)),i?n=r&&r.normalize?r.normalize(n,nt(f)):l(n,f):(n=l(n,f),u=p(n),i=u[0],n=u[1],i&&(r=a(i))),{f:i?i+"!"+n:n,n:n,pr:i,p:r}};s={require:function(n){return b(n)},exports:function(n){var t=u[n];return typeof t!="undefined"?t:u[n]={}},module:function(n){return{id:n,uri:"",exports:u[n],config:it(n)}}};c=function(n,i,r,f){var p,o,d,w,c,g,l=[],nt=typeof r,it;if(f=f||n,g=k(f),nt==="undefined"||nt==="function"){for(i=!i.length&&r.length?["require","exports","module"]:i,c=0;c<i.length;c+=1)if(w=v(i[c],g),o=w.f,o==="require")l[c]=s.require(n);else if(o==="exports")l[c]=s.exports(n),it=!0;else if(o==="module")p=l[c]=s.module(n);else if(e(u,o)||e(h,o)||e(y,o))l[c]=a(o);else if(w.p)w.p.load(w.n,b(f,!0),tt(o),{}),l[c]=u[o];else throw new Error(n+" missing "+o);d=r?r.apply(u[n],l):undefined;n&&(p&&p.exports!==t&&p.exports!==u[n]?u[n]=p.exports:d===t&&it||(u[n]=d))}else n&&(u[n]=r)};n=i=o=function(n,i,r,u,e){if(typeof n=="string")return s[n]?s[n](i):a(v(n,k(i)).f);if(!n.splice){if(f=n,f.deps&&o(f.deps,f.callback),!i)return;i.splice?(n=i,i=r,r=null):n=t}return i=i||function(){},typeof r=="function"&&(r=u,u=e),u?c(t,n,i,r):setTimeout(function(){c(t,n,i,r)},4),o};o.config=function(n){return o(n)};n._defined=u;r=function(n,t,i){if(typeof n!="string")throw new Error("See almond README: incorrect module build, no module name");t.splice||(i=t,t=[]);e(u,n)||e(h,n)||(h[n]=[n,t,i])};r.amd={jQuery:!0}})();t.requirejs=n;t.require=i;t.define=r}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=n||$;return t==null&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(n){function u(n){var i=n.prototype,r=[],t,u;for(t in i)(u=i[t],typeof u=="function")&&t!=="constructor"&&r.push(t);return r}var t={},i,r;return t.Extend=function(n,t){function r(){this.constructor=n}var u={}.hasOwnProperty;for(var i in t)u.call(t,i)&&(n[i]=t[i]);return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n},t.Decorate=function(n,t){function i(){var r=Array.prototype.unshift,u=t.prototype.constructor.length,i=n.prototype.constructor;u>0&&(r.call(arguments,n.prototype.constructor),i=t.prototype.constructor);i.apply(this,arguments)}function l(){this.constructor=i}var s=u(t),h=u(n),r,e,c,f,o;for(t.displayName=n.displayName,i.prototype=new l,r=0;r<h.length;r++)e=h[r],i.prototype[e]=n.prototype[e];for(c=function(n){var r=function(){},u;return n in i.prototype&&(r=i.prototype[n]),u=t.prototype[n],function(){var n=Array.prototype.unshift;return n.call(arguments,r),u.apply(this,arguments)}},f=0;f<s.length;f++)o=s[f],i.prototype[o]=c(o);return i},i=function(){this.listeners={}},i.prototype.on=function(n,t){this.listeners=this.listeners||{};n in this.listeners?this.listeners[n].push(t):this.listeners[n]=[t]},i.prototype.trigger=function(n){var i=Array.prototype.slice,t=i.call(arguments,1);this.listeners=this.listeners||{};t==null&&(t=[]);t.length===0&&t.push({});t[0]._type=n;n in this.listeners&&this.invoke(this.listeners[n],i.call(arguments,1));"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(n,t){for(var i=0,r=n.length;i<r;i++)n[i].apply(this,t)},t.Observable=i,t.generateChars=function(n){for(var r,t="",i=0;i<n;i++)r=Math.floor(Math.random()*36),t+=r.toString(36);return t},t.bind=function(n,t){return function(){n.apply(t,arguments)}},t._convertData=function(n){var f,r,i,u,t;for(f in n)if(r=f.split("-"),i=n,r.length!==1){for(u=0;u<r.length;u++)t=r[u],t=t.substring(0,1).toLowerCase()+t.substring(1),t in i||(i[t]={}),u==r.length-1&&(i[t]=n[f]),i=i[t];delete n[f]}return n},t.hasScroll=function(t,i){var u=n(i),f=i.style.overflowX,r=i.style.overflowY;return f===r&&(r==="hidden"||r==="visible")?!1:f==="scroll"||r==="scroll"?!0:u.innerHeight()<i.scrollHeight||u.innerWidth()<i.scrollWidth},t.escapeMarkup=function(n){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return typeof n!="string"?n:String(n).replace(/[&<>"'\/\\]/g,function(n){return t[n]})},t.appendMany=function(t,i){if(n.fn.jquery.substr(0,3)==="1.7"){var r=n();n.map(i,function(n){r=r.add(n)});i=r}t.append(i)},t.__cache={},r=0,t.GetUniqueElementId=function(n){var t=n.getAttribute("data-select2-id");return t==null&&(n.id?(t=n.id,n.setAttribute("data-select2-id",t)):(n.setAttribute("data-select2-id",++r),t=r.toString())),t},t.StoreData=function(n,i,r){var u=t.GetUniqueElementId(n);t.__cache[u]||(t.__cache[u]={});t.__cache[u][i]=r},t.GetData=function(i,r){var u=t.GetUniqueElementId(i);return r?t.__cache[u]?t.__cache[u][r]!=null?t.__cache[u][r]:n(i).data(r):n(i).data(r):t.__cache[u]},t.RemoveData=function(n){var i=t.GetUniqueElementId(n);t.__cache[i]!=null&&delete t.__cache[i];n.removeAttribute("data-select2-id")},t}),t.define("select2/results",["jquery","./utils"],function(n,t){function i(n,t,r){this.$element=n;this.data=r;this.options=t;i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=n('<ul class="select2-results__options" role="listbox"><\/ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var u=this.options.get("escapeMarkup"),i,r;this.clear();this.hideLoading();i=n('<li role="alert" aria-live="assertive" class="select2-results__option"><\/li>');r=this.options.get("translations").get(t.message);i.append(u(r(t.args)));i[0].className+=" select2-results__message";this.$results.append(i)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(n){var i,t,r,u;if(this.hideLoading(),i=[],n.results==null||n.results.length===0){this.$results.children().length===0&&this.trigger("results:message",{message:"noResults"});return}for(n.results=this.sort(n.results),t=0;t<n.results.length;t++)r=n.results[t],u=this.option(r),i.push(u);this.$results.append(i)},i.prototype.position=function(n,t){var i=t.find(".select2-results");i.append(n)},i.prototype.sort=function(n){var t=this.options.get("sorter");return t(n)},i.prototype.highlightFirstItem=function(){var n=this.$results.find(".select2-results__option[aria-selected]"),t=n.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):n.first().trigger("mouseenter");this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current(function(r){var u=n.map(r,function(n){return n.id.toString()}),f=i.$results.find(".select2-results__option[aria-selected]");f.each(function(){var r=n(this),i=t.GetData(this,"data"),f=""+i.id;i.element!=null&&i.element.selected||i.element==null&&n.inArray(f,u)>-1?r.attr("aria-selected","true"):r.attr("aria-selected","false")})})},i.prototype.showLoading=function(n){this.hideLoading();var i=this.options.get("translations").get("searching"),r={disabled:!0,loading:!0,text:i(n)},t=this.option(r);t.className+=" loading-results";this.$results.prepend(t)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var u=document.createElement("li"),r,l,o,a,s,f,p,h,e,v,y,c;u.className="select2-results__option";r={role:"option","aria-selected":"false"};l=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;(i.element!=null&&l.call(i.element,":disabled")||i.element==null&&i.disabled)&&(delete r["aria-selected"],r["aria-disabled"]="true");i.id==null&&delete r["aria-selected"];i._resultId!=null&&(u.id=i._resultId);i.title&&(u.title=i.title);i.children&&(r.role="group",r["aria-label"]=i.text,delete r["aria-selected"]);for(o in r)a=r[o],u.setAttribute(o,a);if(i.children){for(s=n(u),f=document.createElement("strong"),f.className="select2-results__group",p=n(f),this.template(i,f),h=[],e=0;e<i.children.length;e++)v=i.children[e],y=this.option(v),h.push(y);c=n("<ul><\/ul>",{"class":"select2-results__options select2-results__options--nested"});c.append(h);s.append(f);s.append(c)}else this.template(i,u);return t.StoreData(u,"data",i),u},i.prototype.bind=function(i){var r=this,u=i.id+"-results";this.$results.attr("id",u);i.on("results:all",function(n){r.clear();r.append(n.data);i.isOpen()&&(r.setClasses(),r.highlightFirstItem())});i.on("results:append",function(n){r.append(n.data);i.isOpen()&&r.setClasses()});i.on("query",function(n){r.hideMessages();r.showLoading(n)});i.on("select",function(){i.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())});i.on("unselect",function(){i.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())});i.on("open",function(){r.$results.attr("aria-expanded","true");r.$results.attr("aria-hidden","false");r.setClasses();r.ensureHighlightVisible()});i.on("close",function(){r.$results.attr("aria-expanded","false");r.$results.attr("aria-hidden","true");r.$results.removeAttr("aria-activedescendant")});i.on("results:toggle",function(){var n=r.getHighlightedResults();n.length!==0&&n.trigger("mouseup")});i.on("results:select",function(){var n=r.getHighlightedResults(),i;n.length!==0&&(i=t.GetData(n[0],"data"),n.attr("aria-selected")=="true"?r.trigger("close",{}):r.trigger("select",{data:i}))});i.on("results:previous",function(){var i=r.getHighlightedResults(),u=r.$results.find("[aria-selected]"),f=u.index(i),n,t;if(!(f<=0)){n=f-1;i.length===0&&(n=0);t=u.eq(n);t.trigger("mouseenter");var e=r.$results.offset().top,o=t.offset().top,s=r.$results.scrollTop()+(o-e);n===0?r.$results.scrollTop(0):o-e<0&&r.$results.scrollTop(s)}});i.on("results:next",function(){var e=r.getHighlightedResults(),t=r.$results.find("[aria-selected]"),o=t.index(e),i=o+1,n;if(!(i>=t.length)){n=t.eq(i);n.trigger("mouseenter");var u=r.$results.offset().top+r.$results.outerHeight(!1),f=n.offset().top+n.outerHeight(!1),s=r.$results.scrollTop()+f-u;i===0?r.$results.scrollTop(0):f>u&&r.$results.scrollTop(s)}});i.on("results:focus",function(n){n.element.addClass("select2-results__option--highlighted")});i.on("results:message",function(n){r.displayMessage(n)});if(n.fn.mousewheel)this.$results.on("mousewheel",function(n){var t=r.$results.scrollTop(),i=r.$results.get(0).scrollHeight-t+n.deltaY,u=n.deltaY>0&&t-n.deltaY<=0,f=n.deltaY<0&&i<=r.$results.height();u?(r.$results.scrollTop(0),n.preventDefault(),n.stopPropagation()):f&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),n.preventDefault(),n.stopPropagation())});this.$results.on("mouseup",".select2-results__option[aria-selected]",function(i){var f=n(this),u=t.GetData(this,"data");if(f.attr("aria-selected")==="true"){r.options.get("multiple")?r.trigger("unselect",{originalEvent:i,data:u}):r.trigger("close",{});return}r.trigger("select",{originalEvent:i,data:u})});this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var i=t.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted");r.trigger("results:focus",{data:i,element:n(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var n=this.getHighlightedResults();if(n.length!==0){var f=this.$results.find("[aria-selected]"),e=f.index(n),t=this.$results.offset().top,i=n.offset().top,r=this.$results.scrollTop()+(i-t),u=i-t;r-=n.outerHeight(!1)*2;e<=2?this.$results.scrollTop(0):(u>this.$results.outerHeight()||u<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(t,i){var u=this.options.get("templateResult"),f=this.options.get("escapeMarkup"),r=u(t,i);r==null?i.style.display="none":typeof r=="string"?i.innerHTML=f(r):n(i).append(r)},i}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(n,t,i){function r(n,t){this.$element=n;this.options=t;r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var i=n('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"><\/span>');return this._tabindex=0,t.GetData(this.$element[0],"old-tabindex")!=null?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):this.$element.attr("tabindex")!=null&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),i.attr("aria-disabled","false"),this.$selection=i,i},r.prototype.bind=function(n){var t=this,r=n.id+"-results";this.container=n;this.$selection.on("focus",function(n){t.trigger("focus",n)});this.$selection.on("blur",function(n){t._handleBlur(n)});this.$selection.on("keydown",function(n){t.trigger("keypress",n);n.which===i.SPACE&&n.preventDefault()});n.on("results:focus",function(n){t.$selection.attr("aria-activedescendant",n.data._resultId)});n.on("selection:update",function(n){t.update(n.data)});n.on("open",function(){t.$selection.attr("aria-expanded","true");t.$selection.attr("aria-owns",r);t._attachCloseHandler(n)});n.on("close",function(){t.$selection.attr("aria-expanded","false");t.$selection.removeAttr("aria-activedescendant");t.$selection.removeAttr("aria-owns");t.$selection.trigger("focus");t._detachCloseHandler(n)});n.on("enable",function(){t.$selection.attr("tabindex",t._tabindex);t.$selection.attr("aria-disabled","false")});n.on("disable",function(){t.$selection.attr("tabindex","-1");t.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(t){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||n.contains(i.$selection[0],document.activeElement)||i.trigger("blur",t)},1)},r.prototype._attachCloseHandler=function(i){n(document.body).on("mousedown.select2."+i.id,function(i){var r=n(i.target),u=r.closest(".select2"),f=n(".select2.select2-container--open");f.each(function(){if(this!=u[0]){var n=t.GetData(this,"element");n.select2("close")}})})},r.prototype._detachCloseHandler=function(t){n(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(n,t){var i=t.find(".selection");i.append(n)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.");},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(n,t,i){function r(){r.__super__.constructor.apply(this,arguments)}return i.Extend(r,t),r.prototype.render=function(){var n=r.__super__.render.call(this);return n.addClass("select2-selection--single"),n.html('<span class="select2-selection__rendered"><\/span><span class="select2-selection__arrow" role="presentation"><b role="presentation"><\/b><\/span>'),n},r.prototype.bind=function(n){var i=this,t;r.__super__.bind.apply(this,arguments);t=n.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",t).attr("role","textbox").attr("aria-readonly","true");this.$selection.attr("aria-labelledby",t);this.$selection.on("mousedown",function(n){n.which===1&&i.trigger("toggle",{originalEvent:n})});this.$selection.on("focus",function(){});this.$selection.on("blur",function(){});n.on("focus",function(){n.isOpen()||i.$selection.trigger("focus")})},r.prototype.clear=function(){var n=this.$selection.find(".select2-selection__rendered");n.empty();n.removeAttr("title")},r.prototype.display=function(n,t){var i=this.options.get("templateSelection"),r=this.options.get("escapeMarkup");return r(i(n,t))},r.prototype.selectionContainer=function(){return n("<span><\/span>")},r.prototype.update=function(n){var r;if(n.length===0){this.clear();return}var i=n[0],t=this.$selection.find(".select2-selection__rendered"),u=this.display(i,t);t.empty().append(u);r=i.title||i.text;r?t.attr("title",r):t.removeAttr("title")},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(n,t,i){function r(){r.__super__.constructor.apply(this,arguments)}return i.Extend(r,t),r.prototype.render=function(){var n=r.__super__.render.call(this);return n.addClass("select2-selection--multiple"),n.html('<ul class="select2-selection__rendered"><\/ul>'),n},r.prototype.bind=function(){var t=this;r.__super__.bind.apply(this,arguments);this.$selection.on("click",function(n){t.trigger("toggle",{originalEvent:n})});this.$selection.on("click",".select2-selection__choice__remove",function(r){if(!t.isDisabled()){var u=n(this),f=u.parent(),e=i.GetData(f[0],"data");t.trigger("unselect",{originalEvent:r,data:e})}})},r.prototype.clear=function(){var n=this.$selection.find(".select2-selection__rendered");n.empty();n.removeAttr("title")},r.prototype.display=function(n,t){var i=this.options.get("templateSelection"),r=this.options.get("escapeMarkup");return r(i(n,t))},r.prototype.selectionContainer=function(){return n('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;<\/span><\/li>')},r.prototype.update=function(n){var f,r,e,o;if(this.clear(),n.length!==0){for(f=[],r=0;r<n.length;r++){var u=n[r],t=this.selectionContainer(),s=this.display(u,t);t.append(s);e=u.title||u.text;e&&t.attr("title",e);i.StoreData(t[0],"data",u);f.push(t)}o=this.$selection.find(".select2-selection__rendered");i.appendMany(o,f)}},r}),t.define("select2/selection/placeholder",["../utils"],function(){function n(n,t,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder"));n.call(this,t,i)}return n.prototype.normalizePlaceholder=function(n,t){return typeof t=="string"&&(t={id:"",text:t}),t},n.prototype.createPlaceholder=function(n,t){var i=this.selectionContainer();return i.html(this.display(t)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},n.prototype.update=function(n,t){var r=t.length==1&&t[0].id!=this.placeholder.id,u=t.length>1,i;if(u||r)return n.call(this,t);this.clear();i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},n}),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(n,t,i){function r(){}return r.prototype.bind=function(n,t,i){var r=this;n.call(this,t,i);this.placeholder==null&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option.");this.$selection.on("mousedown",".select2-selection__clear",function(n){r._handleClear(n)});t.on("keypress",function(n){r._handleKeyboardClear(n,t)})},r.prototype._handleClear=function(n,t){var e,u,o,r,f;if(!this.isDisabled()&&(e=this.$selection.find(".select2-selection__clear"),e.length!==0)){if(t.stopPropagation(),u=i.GetData(e[0],"data"),o=this.$element.val(),this.$element.val(this.placeholder.id),r={data:u},this.trigger("clear",r),r.prevented){this.$element.val(o);return}for(f=0;f<u.length;f++)if(r={data:u[f]},this.trigger("unselect",r),r.prevented){this.$element.val(o);return}this.$element.trigger("input").trigger("change");this.trigger("toggle",{})}},r.prototype._handleKeyboardClear=function(n,i,r){r.isOpen()||(i.which==t.DELETE||i.which==t.BACKSPACE)&&this._handleClear(i)},r.prototype.update=function(t,r){if(t.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0)&&r.length!==0){var f=this.options.get("translations").get("removeAllItems"),u=n('<span class="select2-selection__clear" title="'+f()+'">&times;<\/span>');i.StoreData(u[0],"data",r);this.$selection.find(".select2-selection__rendered").prepend(u)}},r}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(n,t,i){function r(n,t,i){n.call(this,t,i)}return r.prototype.render=function(t){var i=n('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /><\/li>'),r;return this.$searchContainer=i,this.$search=i.find("input"),r=t.call(this),this._transferTabIndex(),r},r.prototype.bind=function(n,r,u){var f=this,s=r.id+"-results",e,o;n.call(this,r,u);r.on("open",function(){f.$search.attr("aria-controls",s);f.$search.trigger("focus")});r.on("close",function(){f.$search.val("");f.$search.removeAttr("aria-controls");f.$search.removeAttr("aria-activedescendant");f.$search.trigger("focus")});r.on("enable",function(){f.$search.prop("disabled",!1);f._transferTabIndex()});r.on("disable",function(){f.$search.prop("disabled",!0)});r.on("focus",function(){f.$search.trigger("focus")});r.on("results:focus",function(n){n.data._resultId?f.$search.attr("aria-activedescendant",n.data._resultId):f.$search.removeAttr("aria-activedescendant")});this.$selection.on("focusin",".select2-search--inline",function(n){f.trigger("focus",n)});this.$selection.on("focusout",".select2-search--inline",function(n){f._handleBlur(n)});this.$selection.on("keydown",".select2-search--inline",function(n){var u,r,e;n.stopPropagation();f.trigger("keypress",n);f._keyUpPrevented=n.isDefaultPrevented();u=n.which;u===i.BACKSPACE&&f.$search.val()===""&&(r=f.$searchContainer.prev(".select2-selection__choice"),r.length>0&&(e=t.GetData(r[0],"data"),f.searchRemoveChoice(e),n.preventDefault()))});this.$selection.on("click",".select2-search--inline",function(n){f.$search.val()&&n.stopPropagation()});e=document.documentMode;o=e&&e<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(){if(o){f.$selection.off("input.search input.searchcheck");return}f.$selection.off("keyup.search")});this.$selection.on("keyup.search input.search",".select2-search--inline",function(n){if(o&&n.type==="input"){f.$selection.off("input.search input.searchcheck");return}var t=n.which;t!=i.SHIFT&&t!=i.CTRL&&t!=i.ALT&&t!=i.TAB&&f.handleSearch(n)})},r.prototype._transferTabIndex=function(){this.$search.attr("tabindex",this.$selection.attr("tabindex"));this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(n,t){this.$search.attr("placeholder",t.text)},r.prototype.update=function(n,t){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder","");n.call(this,t);this.$selection.find(".select2-selection__rendered").append(this.$searchContainer);this.resizeSearch();i&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var n=this.$search.val();this.trigger("query",{term:n})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(n,t){this.trigger("unselect",{data:t});this.$search.val(t.text);this.handleSearch()},r.prototype.resizeSearch=function(){var n,t;this.$search.css("width","25px");n="";this.$search.attr("placeholder")!==""?n=this.$selection.find(".select2-selection__rendered").width():(t=this.$search.val().length+1,n=t*.75+"em");this.$search.css("width",n)},r}),t.define("select2/selection/eventRelay",["jquery"],function(n){function t(){}return t.prototype.bind=function(t,i,r){var u=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],e=["opening","closing","selecting","unselecting","clearing"];t.call(this,i,r);i.on("*",function(t,i){if(n.inArray(t,f)!==-1){i=i||{};var r=n.Event("select2:"+t,{params:i});(u.$element.trigger(r),n.inArray(t,e)!==-1)&&(i.prevented=r.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(n,t){function i(n){this.dict=n||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(n){return this.dict[n]},i.prototype.extend=function(t){this.dict=n.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(n){if(!(n in i._cache)){var r=t(n);i._cache[n]=r}return new i(i._cache[n])},i}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","Ａ":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","Ｂ":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","Ｃ":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","Ｄ":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","Ǳ":"DZ","Ǆ":"DZ","ǲ":"Dz","ǅ":"Dz","Ⓔ":"E","Ｅ":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","Ｆ":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","Ｇ":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","Ｈ":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","Ｋ":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","Ｌ":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","Ǉ":"LJ","ǈ":"Lj","Ⓜ":"M","Ｍ":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","Ｎ":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","Ǌ":"NJ","ǋ":"Nj","Ⓞ":"O","Ｏ":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","Ｐ":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Ｑ":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","Ｒ":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","Ｓ":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","Ｔ":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","Ｕ":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","Ｖ":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","Ｗ":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","Ｘ":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Ｙ":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Ｚ":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","ａ":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","ｂ":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","ｃ":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","ｄ":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","ǳ":"dz","ǆ":"dz","ⓔ":"e","ｅ":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","ｆ":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","ｇ":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","ｈ":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","ｉ":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","ｊ":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","ｋ":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","ｌ":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","ǉ":"lj","ⓜ":"m","ｍ":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","ｎ":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ŉ":"n","ꞑ":"n","ꞥ":"n","ǌ":"nj","ⓞ":"o","ｏ":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","ｐ":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","ｑ":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","ｒ":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","ｓ":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","ｔ":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","ｕ":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","ｖ":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","ｗ":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","ｘ":"x","ẋ":"x","ẍ":"x","ⓨ":"y","ｙ":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","ｚ":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),t.define("select2/data/base",["../utils"],function(n){function t(){t.__super__.constructor.call(this)}return n.Extend(t,n.Observable),t.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.");},t.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.");},t.prototype.bind=function(){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,i){var r=t.id+"-result-";return r+=n.generateChars(4),r+(i.id!=null?"-"+i.id.toString():"-"+n.generateChars(4))},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(n,t,i){function r(n,t){this.$element=n;this.options=t;r.__super__.constructor.call(this)}return t.Extend(r,n),r.prototype.current=function(n){var t=[],r=this;this.$element.find(":selected").each(function(){var n=i(this),u=r.item(n);t.push(u)});n(t)},r.prototype.select=function(n){var t=this,r;if(n.selected=!0,i(n.element).is("option")){n.element.selected=!0;this.$element.trigger("input").trigger("change");return}this.$element.prop("multiple")?this.current(function(r){var f=[],u,e;for(n=[n],n.push.apply(n,r),u=0;u<n.length;u++)e=n[u].id,i.inArray(e,f)===-1&&f.push(e);t.$element.val(f);t.$element.trigger("input").trigger("change")}):(r=n.id,this.$element.val(r),this.$element.trigger("input").trigger("change"))},r.prototype.unselect=function(n){var t=this;if(this.$element.prop("multiple")){if(n.selected=!1,i(n.element).is("option")){n.element.selected=!1;this.$element.trigger("input").trigger("change");return}this.current(function(r){for(var u,f=[],e=0;e<r.length;e++)u=r[e].id,u!==n.id&&i.inArray(u,f)===-1&&f.push(u);t.$element.val(f);t.$element.trigger("input").trigger("change")})}},r.prototype.bind=function(n){var t=this;this.container=n;n.on("select",function(n){t.select(n.data)});n.on("unselect",function(n){t.unselect(n.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this)})},r.prototype.query=function(n,t){var r=[],u=this,f=this.$element.children();f.each(function(){var t=i(this),e,f;(t.is("option")||t.is("optgroup"))&&(e=u.item(t),f=u.matches(n,e),f!==null&&r.push(f))});t({results:r})},r.prototype.addOptions=function(n){t.appendMany(this.$element,n)},r.prototype.option=function(n){var r,f,u;return n.children?(r=document.createElement("optgroup"),r.label=n.text):(r=document.createElement("option"),r.textContent!==undefined?r.textContent=n.text:r.innerText=n.text),n.id!==undefined&&(r.value=n.id),n.disabled&&(r.disabled=!0),n.selected&&(r.selected=!0),n.title&&(r.title=n.title),f=i(r),u=this._normalizeItem(n),u.element=r,t.StoreData(r,"data",u),f},r.prototype.item=function(n){var r={},f,e,u,o,s;if(r=t.GetData(n[0],"data"),r!=null)return r;if(n.is("option"))r={id:n.val(),text:n.text(),disabled:n.prop("disabled"),selected:n.prop("selected"),title:n.prop("title")};else if(n.is("optgroup")){for(r={text:n.prop("label"),children:[],title:n.prop("title")},f=n.children("option"),e=[],u=0;u<f.length;u++)o=i(f[u]),s=this.item(o),e.push(s);r.children=e}return r=this._normalizeItem(r),r.element=n[0],t.StoreData(n[0],"data",r),r},r.prototype._normalizeItem=function(n){n!==Object(n)&&(n={id:n,text:n});n=i.extend({},{text:""},n);return n.id!=null&&(n.id=n.id.toString()),n.text!=null&&(n.text=n.text.toString()),n._resultId==null&&n.id&&this.container!=null&&(n._resultId=this.generateResultId(this.container,n)),i.extend({},{selected:!1,disabled:!1},n)},r.prototype.matches=function(n,t){var i=this.options.get("matcher");return i(n,t)},r}),t.define("select2/data/array",["./select","../utils","jquery"],function(n,t,i){function r(n,t){this._dataToConvert=t.get("data")||[];r.__super__.constructor.call(this,n,t)}return t.Extend(r,n),r.prototype.bind=function(n,t){r.__super__.bind.call(this,n,t);this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(n){var t=this.$element.find("option").filter(function(t,i){return i.value==n.id.toString()});t.length===0&&(t=this.option(n),this.addOptions(t));r.__super__.select.call(this,n)},r.prototype.convertToOptions=function(n){function a(n){return function(){return i(this).val()==n.id}}for(var r,f,h,c=this,e=this.$element.find("option"),l=e.map(function(){return c.item(i(this)).id}).get(),o=[],u=0;u<n.length;u++){if(r=this._normalizeItem(n[u]),i.inArray(r.id,l)>=0){var s=e.filter(a(r)),v=this.item(s),y=i.extend(!0,{},r,v),p=this.option(y);s.replaceWith(p);continue}f=this.option(r);r.children&&(h=this.convertToOptions(r.children),t.appendMany(f,h));o.push(f)}return o},r}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(n,t,i){function r(n,t){this.ajaxOptions=this._applyDefaults(t.get("ajax"));this.ajaxOptions.processResults!=null&&(this.processResults=this.ajaxOptions.processResults);r.__super__.constructor.call(this,n,t)}return t.Extend(r,n),r.prototype._applyDefaults=function(n){var t={data:function(n){return i.extend({},n,{q:n.term})},transport:function(n,t,r){var u=i.ajax(n);return u.then(t),u.fail(r),u}};return i.extend({},t,n,!0)},r.prototype.processResults=function(n){return n},r.prototype.query=function(n,t){function f(){var f=r.transport(r,function(r){var f=u.processResults(r,n);u.options.get("debug")&&window.console&&console.error&&(f&&f.results&&i.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response."));t(f)},function(){"status"in f&&(f.status===0||f.status==="0")||u.trigger("results:message",{message:"errorLoading"})});u._request=f}var u=this,r;this._request!=null&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);r=i.extend({type:"GET"},this.ajaxOptions);typeof r.url=="function"&&(r.url=r.url.call(this.$element,n));typeof r.data=="function"&&(r.data=r.data.call(this.$element,n));this.ajaxOptions.delay&&n.term!=null?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(f,this.ajaxOptions.delay)):f()},r}),t.define("select2/data/tags",["jquery"],function(n){function t(t,i,r){var f=r.get("tags"),o=r.get("createTag"),e,u;if(o!==undefined&&(this.createTag=o),e=r.get("insertTag"),e!==undefined&&(this.insertTag=e),t.call(this,i,r),n.isArray(f))for(u=0;u<f.length;u++){var s=f[u],h=this._normalizeItem(s),c=this.option(h);this.$element.append(c)}}return t.prototype.query=function(n,t,i){function u(n,f){for(var o,c,e=n.results,s=0;s<e.length;s++){var h=e[s],l=h.children!=null&&!u({results:h.children},!0),a=(h.text||"").toUpperCase(),v=(t.term||"").toUpperCase(),y=a===v;if(y||l){if(f)return!1;n.data=e;i(n);return}}if(f)return!0;o=r.createTag(t);o!=null&&(c=r.option(o),c.attr("data-select2-tag",!0),r.addOptions([c]),r.insertTag(e,o));n.results=e;i(n)}var r=this;if(this._removeOldTags(),t.term==null||t.page!=null){n.call(this,t,i);return}n.call(this,t,u)},t.prototype.createTag=function(t,i){var r=n.trim(i.term);return r===""?null:{id:r,text:r}},t.prototype.insertTag=function(n,t,i){t.unshift(i)},t.prototype._removeOldTags=function(){var t=this.$element.find("option[data-select2-tag]");t.each(function(){this.selected||n(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(n){function t(n,t,i){var r=i.get("tokenizer");r!==undefined&&(this.tokenizer=r);n.call(this,t,i)}return t.prototype.bind=function(n,t,i){n.call(this,t,i);this.$search=t.dropdown.$search||t.selection.$search||i.find(".select2-search__field")},t.prototype.query=function(t,i,r){function e(t){var i=u._normalizeItem(t),f=u.$element.find("option").filter(function(){return n(this).val()===i.id}),r;f.length||(r=u.option(i),r.attr("data-select2-tag",!0),u._removeOldTags(),u.addOptions([r]));o(i)}function o(n){u.trigger("select",{data:n})}var u=this,f;i.term=i.term||"";f=this.tokenizer(i,this.options,e);f.term!==i.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.trigger("focus")),i.term=f.term);t.call(this,i,r)},t.prototype.tokenizer=function(t,i,r,u){for(var h=r.get("tokenSeparators")||[],e=i.term,f=0,c=this.createTag||function(n){return{id:n.term,text:n.term}},o;f<e.length;){if(o=e[f],n.inArray(o,h)===-1){f++;continue}var l=e.substr(0,f),a=n.extend({},i,{term:l}),s=c(a);if(s==null){f++;continue}u(s);e=e.substr(f+1)||"";f=0}return{term:e}},t}),t.define("select2/data/minimumInputLength",[],function(){function n(n,t,i){this.minimumInputLength=i.get("minimumInputLength");n.call(this,t,i)}return n.prototype.query=function(n,t,i){if(t.term=t.term||"",t.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}});return}n.call(this,t,i)},n}),t.define("select2/data/maximumInputLength",[],function(){function n(n,t,i){this.maximumInputLength=i.get("maximumInputLength");n.call(this,t,i)}return n.prototype.query=function(n,t,i){if(t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}});return}n.call(this,t,i)},n}),t.define("select2/data/maximumSelectionLength",[],function(){function n(n,t,i){this.maximumSelectionLength=i.get("maximumSelectionLength");n.call(this,t,i)}return n.prototype.bind=function(n,t,i){var r=this;n.call(this,t,i);t.on("select",function(){r._checkIfMaximumSelected()})},n.prototype.query=function(n,t,i){var r=this;this._checkIfMaximumSelected(function(){n.call(r,t,i)})},n.prototype._checkIfMaximumSelected=function(n,t){var i=this;this.current(function(n){var r=n!=null?n.length:0;if(i.maximumSelectionLength>0&&r>=i.maximumSelectionLength){i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}});return}t&&t()})},n}),t.define("select2/dropdown",["jquery","./utils"],function(n,t){function i(n,t){this.$element=n;this.options=t;i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=n('<span class="select2-dropdown"><span class="select2-results"><\/span><\/span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},i.prototype.bind=function(){},i.prototype.position=function(){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),t.define("select2/dropdown/search",["jquery","../utils"],function(n){function t(){}return t.prototype.render=function(t){var r=t.call(this),i=n('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /><\/span>');return this.$searchContainer=i,this.$search=i.find("input"),r.prepend(i),r},t.prototype.bind=function(t,i,r){var u=this,f=i.id+"-results";t.call(this,i,r);this.$search.on("keydown",function(n){u.trigger("keypress",n);u._keyUpPrevented=n.isDefaultPrevented()});this.$search.on("input",function(){n(this).off("keyup")});this.$search.on("keyup input",function(n){u.handleSearch(n)});i.on("open",function(){u.$search.attr("tabindex",0);u.$search.attr("aria-controls",f);u.$search.trigger("focus");window.setTimeout(function(){u.$search.trigger("focus")},0)});i.on("close",function(){u.$search.attr("tabindex",-1);u.$search.removeAttr("aria-controls");u.$search.removeAttr("aria-activedescendant");u.$search.val("");u.$search.trigger("blur")});i.on("focus",function(){i.isOpen()||u.$search.trigger("focus")});i.on("results:all",function(n){if(n.query.term==null||n.query.term===""){var t=u.showSearch(n);t?u.$searchContainer.removeClass("select2-search--hide"):u.$searchContainer.addClass("select2-search--hide")}});i.on("results:focus",function(n){n.data._resultId?u.$search.attr("aria-activedescendant",n.data._resultId):u.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(){if(!this._keyUpPrevented){var n=this.$search.val();this.trigger("query",{term:n})}this._keyUpPrevented=!1},t.prototype.showSearch=function(){return!0},t}),t.define("select2/dropdown/hidePlaceholder",[],function(){function n(n,t,i,r){this.placeholder=this.normalizePlaceholder(i.get("placeholder"));n.call(this,t,i,r)}return n.prototype.append=function(n,t){t.results=this.removePlaceholder(t.results);n.call(this,t)},n.prototype.normalizePlaceholder=function(n,t){return typeof t=="string"&&(t={id:"",text:t}),t},n.prototype.removePlaceholder=function(n,t){for(var u,r=t.slice(0),i=t.length-1;i>=0;i--)u=t[i],this.placeholder.id===u.id&&r.splice(i,1);return r},n}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function t(n,t,i,r){this.lastParams={};n.call(this,t,i,r);this.$loadingMore=this.createLoadingMore();this.loading=!1}return t.prototype.append=function(n,t){this.$loadingMore.remove();this.loading=!1;n.call(this,t);this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(n,t,i){var r=this;n.call(this,t,i);t.on("query",function(n){r.lastParams=n;r.loading=!0});t.on("query:append",function(n){r.lastParams=n;r.loading=!0});this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var r=n.contains(document.documentElement,this.$loadingMore[0]),t,i;!this.loading&&r&&(t=this.$results.offset().top+this.$results.outerHeight(!1),i=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1),t+50>=i&&this.loadMore())},t.prototype.loadMore=function(){this.loading=!0;var t=n.extend({},{page:1},this.lastParams);t.page++;this.trigger("query:append",t)},t.prototype.showLoadingMore=function(n,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"><\/li>'),i=this.options.get("translations").get("loadingMore");return t.html(i(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(n,t){function i(t,i,r){this.$dropdownParent=n(r.get("dropdownParent")||document.body);t.call(this,i,r)}return i.prototype.bind=function(n,t,i){var r=this;n.call(this,t,i);t.on("open",function(){r._showDropdown();r._attachPositioningHandler(t);r._bindContainerResultHandlers(t)});t.on("close",function(){r._hideDropdown();r._detachPositioningHandler(t)});this.$dropdownContainer.on("mousedown",function(n){n.stopPropagation()})},i.prototype.destroy=function(n){n.call(this);this.$dropdownContainer.remove()},i.prototype.position=function(n,t,i){t.attr("class",i.attr("class"));t.removeClass("select2");t.addClass("select2-container--open");t.css({position:"absolute",top:-999999});this.$container=i},i.prototype.render=function(t){var i=n("<span><\/span>"),r=t.call(this);return i.append(r),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},i.prototype._bindContainerResultHandlers=function(n,t){if(!this._containerResultsHandlersBound){var i=this;t.on("results:all",function(){i._positionDropdown();i._resizeDropdown()});t.on("results:append",function(){i._positionDropdown();i._resizeDropdown()});t.on("results:message",function(){i._positionDropdown();i._resizeDropdown()});t.on("select",function(){i._positionDropdown();i._resizeDropdown()});t.on("unselect",function(){i._positionDropdown();i._resizeDropdown()});this._containerResultsHandlersBound=!0}},i.prototype._attachPositioningHandler=function(i,r){var u=this,f="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id,e=this.$container.parents().filter(t.hasScroll);e.each(function(){t.StoreData(this,"select2-scroll-position",{x:n(this).scrollLeft(),y:n(this).scrollTop()})});e.on(f,function(){var i=t.GetData(this,"select2-scroll-position");n(this).scrollTop(i.y)});n(window).on(f+" "+o+" "+s,function(){u._positionDropdown();u._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,r){var u="scroll.select2."+r.id,f="resize.select2."+r.id,e="orientationchange.select2."+r.id,o=this.$container.parents().filter(t.hasScroll);o.off(u);n(window).off(u+" "+f+" "+e)},i.prototype._positionDropdown=function(){var s=n(window),e=this.$dropdown.hasClass("select2-dropdown--above"),v=this.$dropdown.hasClass("select2-dropdown--below"),t=null,i=this.$container.offset(),r,f;i.bottom=i.top+this.$container.outerHeight(!1);r={height:this.$container.outerHeight(!1)};r.top=i.top;r.bottom=i.top+r.height;var h={height:this.$dropdown.outerHeight(!1)},c={top:s.scrollTop(),bottom:s.scrollTop()+s.height()},l=c.top<i.top-h.height,a=c.bottom>i.bottom+h.height,o={left:i.left,top:r.bottom},u=this.$dropdownParent;u.css("position")==="static"&&(u=u.offsetParent());f={top:0,left:0};(n.contains(document.body,u[0])||u[0].isConnected)&&(f=u.offset());o.top-=f.top;o.left-=f.left;e||v||(t="below");a||!l||e?!l&&a&&e&&(t="below"):t="above";(t=="above"||e&&t!=="below")&&(o.top=r.top-f.top-h.height);t!=null&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+t),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+t));this.$dropdownContainer.css(o)},i.prototype._resizeDropdown=function(){var n={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(n.minWidth=n.width,n.position="relative",n.width="auto");this.$dropdown.css(n)},i.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent);this._positionDropdown();this._resizeDropdown()},i}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function n(t){for(var u,i=0,r=0;r<t.length;r++)u=t[r],u.children?i+=n(u.children):i++;return i}function t(n,t,i,r){this.minimumResultsForSearch=i.get("minimumResultsForSearch");this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity);n.call(this,t,i,r)}return t.prototype.showSearch=function(t,i){return n(i.data.results)<this.minimumResultsForSearch?!1:t.call(this,i)},t}),t.define("select2/dropdown/selectOnClose",["../utils"],function(n){function t(){}return t.prototype.bind=function(n,t,i){var r=this;n.call(this,t,i);t.on("close",function(n){r._handleSelectOnClose(n)})},t.prototype._handleSelectOnClose=function(t,i){var u,f,r;i&&i.originalSelect2Event!=null&&(u=i.originalSelect2Event,u._type==="select"||u._type==="unselect")||(f=this.getHighlightedResults(),f.length<1)||(r=n.GetData(f[0],"data"),r.element!=null&&r.element.selected||r.element==null&&r.selected)||this.trigger("select",{data:r})},t}),t.define("select2/dropdown/closeOnSelect",[],function(){function n(){}return n.prototype.bind=function(n,t,i){var r=this;n.call(this,t,i);t.on("select",function(n){r._selectTriggered(n)});t.on("unselect",function(n){r._selectTriggered(n)})},n.prototype._selectTriggered=function(n,t){var i=t.originalEvent;i&&(i.ctrlKey||i.metaKey)||this.trigger("close",{originalEvent:i,originalSelect2Event:t})},n}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(n){var t=n.input.length-n.maximum,i="Please delete "+t+" character";return t!=1&&(i+="s"),i},inputTooShort:function(n){var t=n.minimum-n.input.length;return"Please enter "+t+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(n){var t="You can only select "+n.maximum+" item";return n.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et){function ot(){this.reset()}ot.prototype.apply=function(c){var ht,ct,lt,at,vt,l,ot,st;for(c=n.extend(!0,{},this.defaults,c),c.dataAdapter==null&&(c.dataAdapter=c.ajax!=null?y:c.data!=null?v:a,c.minimumInputLength>0&&(c.dataAdapter=h.Decorate(c.dataAdapter,b)),c.maximumInputLength>0&&(c.dataAdapter=h.Decorate(c.dataAdapter,k)),c.maximumSelectionLength>0&&(c.dataAdapter=h.Decorate(c.dataAdapter,d)),c.tags&&(c.dataAdapter=h.Decorate(c.dataAdapter,p)),(c.tokenSeparators!=null||c.tokenizer!=null)&&(c.dataAdapter=h.Decorate(c.dataAdapter,w)),c.query!=null&&(ht=t(c.amdBase+"compat/query"),c.dataAdapter=h.Decorate(c.dataAdapter,ht)),c.initSelection!=null&&(ct=t(c.amdBase+"compat/initSelection"),c.dataAdapter=h.Decorate(c.dataAdapter,ct))),c.resultsAdapter==null&&(c.resultsAdapter=i,c.ajax!=null&&(c.resultsAdapter=h.Decorate(c.resultsAdapter,it)),c.placeholder!=null&&(c.resultsAdapter=h.Decorate(c.resultsAdapter,tt)),c.selectOnClose&&(c.resultsAdapter=h.Decorate(c.resultsAdapter,ft))),c.dropdownAdapter==null&&(c.multiple?c.dropdownAdapter=g:(lt=h.Decorate(g,nt),c.dropdownAdapter=lt),c.minimumResultsForSearch!==0&&(c.dropdownAdapter=h.Decorate(c.dropdownAdapter,ut)),c.closeOnSelect&&(c.dropdownAdapter=h.Decorate(c.dropdownAdapter,et)),(c.dropdownCssClass!=null||c.dropdownCss!=null||c.adaptDropdownCssClass!=null)&&(at=t(c.amdBase+"compat/dropdownCss"),c.dropdownAdapter=h.Decorate(c.dropdownAdapter,at)),c.dropdownAdapter=h.Decorate(c.dropdownAdapter,rt)),c.selectionAdapter==null&&(c.selectionAdapter=c.multiple?u:r,c.placeholder!=null&&(c.selectionAdapter=h.Decorate(c.selectionAdapter,f)),c.allowClear&&(c.selectionAdapter=h.Decorate(c.selectionAdapter,e)),c.multiple&&(c.selectionAdapter=h.Decorate(c.selectionAdapter,o)),(c.containerCssClass!=null||c.containerCss!=null||c.adaptContainerCssClass!=null)&&(vt=t(c.amdBase+"compat/containerCss"),c.selectionAdapter=h.Decorate(c.selectionAdapter,vt)),c.selectionAdapter=h.Decorate(c.selectionAdapter,s)),c.language=this._resolveLanguage(c.language),c.language.push("en"),l=[],ot=0;ot<c.language.length;ot++)st=c.language[ot],l.indexOf(st)===-1&&l.push(st);return c.language=l,c.translations=this._processTranslations(c.language,c.debug),c};ot.prototype.reset=function(){function i(n){function t(n){return l[n]||n}return n.replace(/[^\u0000-\u007E]/g,t)}function t(r,u){var f,e,o,s,h,c;if(n.trim(r.term)==="")return u;if(u.children&&u.children.length>0){for(f=n.extend(!0,{},u),e=u.children.length-1;e>=0;e--)o=u.children[e],s=t(r,o),s==null&&f.children.splice(e,1);return f.children.length>0?f:t(r,f)}return(h=i(u.text).toUpperCase(),c=i(r.term).toUpperCase(),h.indexOf(c)>-1)?u:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:h.escapeMarkup,language:{},matcher:t,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(n){return n},templateResult:function(n){return n.text},templateSelection:function(n){return n.text},theme:"default",width:"resolve"}};ot.prototype.applyFromElement=function(n,t){var i=n.language,r=this.defaults.language,u=t.prop("lang"),f=t.closest("[lang]").prop("lang"),e=Array.prototype.concat.call(this._resolveLanguage(u),this._resolveLanguage(i),this._resolveLanguage(r),this._resolveLanguage(f));return n.language=e,n};ot.prototype._resolveLanguage=function(t){var r,u,i,f,e;if(!t)return[];if(n.isEmptyObject(t))return[];if(n.isPlainObject(t))return[t];for(r=n.isArray(t)?t:[t],u=[],i=0;i<r.length;i++)u.push(r[i]),typeof r[i]=="string"&&r[i].indexOf("-")>0&&(f=r[i].split("-"),e=f[0],u.push(e));return u};ot.prototype._processTranslations=function(t,i){for(var u,r,e=new c,f=0;f<t.length;f++){if(u=new c,r=t[f],typeof r=="string")try{u=c.loadPath(r)}catch(o){try{r=this.defaults.amdLanguageBase+r;u=c.loadPath(r)}catch(s){i&&window.console&&console.warn&&console.warn('Select2: The language file for "'+r+'" could not be automatically loaded. A fallback will be used instead.')}}else u=n.isPlainObject(r)?new c(r):r;e.extend(u)}return e};ot.prototype.set=function(t,i){var f=n.camelCase(t),r={},u;r[f]=i;u=h._convertData(r);n.extend(!0,this.defaults,u)};return new ot}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(n,t,i,r){function u(t,u){if(this.options=t,u!=null&&this.fromElement(u),u!=null&&(this.options=i.applyFromElement(this.options,u)),this.options=i.apply(this.options),u&&u.is("input")){var f=n(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,f)}}return u.prototype.fromElement=function(n){function l(n,t){return t.toUpperCase()}var c=["select2"],f,e,s,o,u,i;for(this.options.multiple==null&&(this.options.multiple=n.prop("multiple")),this.options.disabled==null&&(this.options.disabled=n.prop("disabled")),this.options.dir==null&&(this.options.dir=n.prop("dir")?n.prop("dir"):n.closest("[dir]").prop("dir")?n.closest("[dir]").prop("dir"):"ltr"),n.prop("disabled",this.options.disabled),n.prop("multiple",this.options.multiple),r.GetData(n[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(n[0],"data",r.GetData(n[0],"select2Tags")),r.StoreData(n[0],"tags",!0)),r.GetData(n[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),n.attr("ajax--url",r.GetData(n[0],"ajaxUrl")),r.StoreData(n[0],"ajax-Url",r.GetData(n[0],"ajaxUrl"))),f={},e=0;e<n[0].attributes.length;e++)if(s=n[0].attributes[e].name,o="data-",s.substr(0,o.length)==o){var h=s.substring(o.length),a=r.GetData(n[0],h),v=h.replace(/-([a-z])/g,l);f[v]=a}t.fn.jquery&&t.fn.jquery.substr(0,2)=="1."&&n[0].dataset&&(f=t.extend(!0,{},n[0].dataset,f));u=t.extend(!0,{},r.GetData(n[0]),f);u=r._convertData(u);for(i in u)t.inArray(i,c)>-1||(t.isPlainObject(this.options[i])?t.extend(this.options[i],u[i]):this.options[i]=u[i]);return this},u.prototype.get=function(n){return this.options[n]},u.prototype.set=function(n,t){this.options[n]=t},u}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(n,t,i,r){var u=function(n,r){var e,o,f,s,h,c,l;i.GetData(n[0],"select2")!=null&&i.GetData(n[0],"select2").destroy();this.$element=n;this.id=this._generateId(n);r=r||{};this.options=new t(r,n);u.__super__.constructor.call(this);e=n.attr("tabindex")||0;i.StoreData(n[0],"old-tabindex",e);n.attr("tabindex","-1");o=this.options.get("dataAdapter");this.dataAdapter=new o(n,this.options);f=this.render();this._placeContainer(f);s=this.options.get("selectionAdapter");this.selection=new s(n,this.options);this.$selection=this.selection.render();this.selection.position(this.$selection,f);h=this.options.get("dropdownAdapter");this.dropdown=new h(n,this.options);this.$dropdown=this.dropdown.render();this.dropdown.position(this.$dropdown,f);c=this.options.get("resultsAdapter");this.results=new c(n,this.options,this.dataAdapter);this.$results=this.results.render();this.results.position(this.$results,this.$dropdown);l=this;this._bindAdapters();this._registerDomEvents();this._registerDataEvents();this._registerSelectionEvents();this._registerDropdownEvents();this._registerResultsEvents();this._registerEvents();this.dataAdapter.current(function(n){l.trigger("selection:update",{data:n})});n.addClass("select2-hidden-accessible");n.attr("aria-hidden","true");this._syncAttributes();i.StoreData(n[0],"select2",this);n.data("select2",this)};return i.Extend(u,i.Observable),u.prototype._generateId=function(n){var t="";return t=n.attr("id")!=null?n.attr("id"):n.attr("name")!=null?n.attr("name")+"-"+i.generateChars(2):i.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),"select2-"+t},u.prototype._placeContainer=function(n){n.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));t!=null&&n.css("width",t)},u.prototype._resolveWidth=function(n,t){var u,f,e,o,i,s,h,r,c;if(t=="resolve")return(u=this._resolveWidth(n,"style"),u!=null)?u:this._resolveWidth(n,"element");if(t=="element")return(f=n.outerWidth(!1),f<=0)?"auto":f+"px";if(t=="style"){if(e=n.attr("style"),typeof e!="string")return null;for(o=e.split(";"),i=0,s=o.length;i<s;i=i+1)if(h=o[i].replace(/\s/g,""),r=h.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),r!==null&&r.length>=1)return r[1];return null}return t=="computedstyle"?(c=window.getComputedStyle(n[0]),c.width):t},u.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container);this.selection.bind(this,this.$container);this.dropdown.bind(this,this.$container);this.results.bind(this,this.$container)},u.prototype._registerDomEvents=function(){var n=this,t;this.$element.on("change.select2",function(){n.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})});this.$element.on("focus.select2",function(t){n.trigger("focus",t)});this._syncA=i.bind(this._syncAttributes,this);this._syncS=i.bind(this._syncSubtree,this);this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;t!=null?(this._observer=new t(function(t){n._syncA();n._syncS(null,t)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",n._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",n._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",n._syncS,!1))},u.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(t,i){n.trigger(t,i)})},u.prototype._registerSelectionEvents=function(){var t=this,i=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()});this.selection.on("focus",function(n){t.focus(n)});this.selection.on("*",function(r,u){n.inArray(r,i)===-1&&t.trigger(r,u)})},u.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(t,i){n.trigger(t,i)})},u.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(t,i){n.trigger(t,i)})},u.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")});this.on("close",function(){n.$container.removeClass("select2-container--open")});this.on("enable",function(){n.$container.removeClass("select2-container--disabled")});this.on("disable",function(){n.$container.addClass("select2-container--disabled")});this.on("blur",function(){n.$container.removeClass("select2-container--focus")});this.on("query",function(t){n.isOpen()||n.trigger("open",{});this.dataAdapter.query(t,function(i){n.trigger("results:all",{data:i,query:t})})});this.on("query:append",function(t){this.dataAdapter.query(t,function(i){n.trigger("results:append",{data:i,query:t})})});this.on("keypress",function(t){var i=t.which;n.isOpen()?i===r.ESC||i===r.TAB||i===r.UP&&t.altKey?(n.close(t),t.preventDefault()):i===r.ENTER?(n.trigger("results:select",{}),t.preventDefault()):i===r.SPACE&&t.ctrlKey?(n.trigger("results:toggle",{}),t.preventDefault()):i===r.UP?(n.trigger("results:previous",{}),t.preventDefault()):i===r.DOWN&&(n.trigger("results:next",{}),t.preventDefault()):(i===r.ENTER||i===r.SPACE||i===r.DOWN&&t.altKey)&&(n.open(),t.preventDefault())})},u.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled"));this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},u.prototype._isChangeMutation=function(t,i){var r=!1,e=this,u,f;if(!t||!t.target||t.target.nodeName==="OPTION"||t.target.nodeName==="OPTGROUP"){if(i)if(i.addedNodes&&i.addedNodes.length>0)for(u=0;u<i.addedNodes.length;u++)f=i.addedNodes[u],f.selected&&(r=!0);else i.removedNodes&&i.removedNodes.length>0?r=!0:n.isArray(i)&&n.each(i,function(n,t){if(e._isChangeMutation(n,t))return r=!0,!1});else r=!0;return r}},u.prototype._syncSubtree=function(n,t){var i=this._isChangeMutation(n,t),r=this;i&&this.dataAdapter.current(function(n){r.trigger("selection:update",{data:n})})},u.prototype.trigger=function(n,t){var r=u.__super__.trigger,f={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"},e,i;if(t===undefined&&(t={}),n in f&&(e=f[n],i={prevented:!1,name:n,args:t},r.call(this,e,i),i.prevented)){t.prevented=!0;return}r.call(this,n,t)},u.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},u.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},u.prototype.close=function(n){this.isOpen()&&this.trigger("close",{originalEvent:n})},u.prototype.isEnabled=function(){return!this.isDisabled()},u.prototype.isDisabled=function(){return this.options.get("disabled")},u.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},u.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},u.prototype.focus=function(){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},u.prototype.enable=function(n){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.');(n==null||n.length===0)&&(n=[!0]);var t=!n[0];this.$element.prop("disabled",t)},u.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var n=[];return this.dataAdapter.current(function(t){n=t}),n},u.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),t==null||t.length===0)return this.$element.val();var i=t[0];n.isArray(i)&&(i=n.map(i,function(n){return n.toString()}));this.$element.val(i).trigger("input").trigger("change")},u.prototype.destroy=function(){this.$container.remove();this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA);this._observer!=null?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1));this._syncA=null;this._syncS=null;this.$element.off(".select2");this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex"));this.$element.removeClass("select2-hidden-accessible");this.$element.attr("aria-hidden","false");i.RemoveData(this.$element[0]);this.$element.removeData("select2");this.dataAdapter.destroy();this.selection.destroy();this.dropdown.destroy();this.results.destroy();this.dataAdapter=null;this.selection=null;this.dropdown=null;this.results=null},u.prototype.render=function(){var t=n('<span class="select2 select2-container"><span class="selection"><\/span><span class="dropdown-wrapper" aria-hidden="true"><\/span><\/span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),i.StoreData(t[0],"element",this.$element),t},u}),t.define("jquery-mousewheel",["jquery"],function(n){return n}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(n,t,i,r,u){if(n.fn.select2==null){var f=["open","close","destroy"];n.fn.select2=function(t){if(t=t||{},typeof t=="object")return this.each(function(){var r=n.extend(!0,{},t),u=new i(n(this),r)}),this;if(typeof t=="string"){var r,e=Array.prototype.slice.call(arguments,1);return(this.each(function(){var n=u.GetData(this,"select2");n==null&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2.");r=n[t].apply(n,e)}),n.inArray(t,f)>-1)?this:r}throw new Error("Invalid arguments for Select2: "+t);}}return n.fn.select2.defaults==null&&(n.fn.select2.defaults=r),i}),{define:t.define,require:t.require}}(),i=t.require("jquery.select2");return n.fn.select2.amd=t,i}),function(n){"use strict";function i(t,i){this.isInit=!0;this.itemsArray=[];this.$element=n(t);this.$element.addClass("sr-only");this.isSelect=t.tagName==="SELECT";this.multiple=this.isSelect&&t.hasAttribute("multiple");this.objectItems=i&&i.itemValue;this.placeholderText=t.hasAttribute("placeholder")?this.$element.attr("placeholder"):"";this.inputSize=Math.max(1,this.placeholderText.length);this.$container=n('<div class="bootstrap-tagsinput"><\/div>');this.$input=n('<input type="text" placeholder="'+this.placeholderText+'"/>').appendTo(this.$container);this.$element.before(this.$container);this.build(i);this.isInit=!1}function u(n,t){if(typeof n[t]!="function"){var i=n[t];n[t]=function(n){return n[i]}}}function f(n,t){if(typeof n[t]!="function"){var i=n[t];n[t]=function(){return i}}}function t(n){return n?e.text(n).html():""}function o(n){var t=0,i;return document.selection?(n.focus(),i=document.selection.createRange(),i.moveStart("character",-n.value.length),t=i.text.length):(n.selectionStart||n.selectionStart=="0")&&(t=n.selectionStart),t}function s(t,i){var r=!1;return n.each(i,function(n,i){if(typeof i=="number"&&t.which===i)return r=!0,!1;if(t.which===i.which){var u=!i.hasOwnProperty("altKey")||t.altKey===i.altKey,f=!i.hasOwnProperty("shiftKey")||t.shiftKey===i.shiftKey,e=!i.hasOwnProperty("ctrlKey")||t.ctrlKey===i.ctrlKey;if(u&&f&&e)return r=!0,!1}}),r}var r={tagClass:function(){return"badge badge-primary"},focusClass:"focus",itemValue:function(n){return n?n.toString():n},itemText:function(n){return this.itemValue(n)},itemTitle:function(){return null},freeInput:!0,addOnBlur:!0,maxTags:undefined,maxChars:undefined,confirmKeys:[13,44],delimiter:",",delimiterRegex:null,cancelConfirmKeysOnEmpty:!1,onTagExists:function(n,t){t.hide().fadeIn()},trimValue:!1,allowDuplicates:!1,triggerChange:!0,editOnBackspace:!1},e;i.prototype={constructor:i,add:function(i,r,u){var f=this,a,e,o,w,c,l,b,h;if((!f.options.maxTags||!(f.itemsArray.length>=f.options.maxTags))&&(i===!1||i)){if(typeof i=="string"&&f.options.trimValue&&(i=n.trim(i)),typeof i=="object"&&!f.objectItems)throw"Can't add objects when itemValue option is not set";if(!i.toString().match(/^\s*$/)){if(f.isSelect&&!f.multiple&&f.itemsArray.length>0&&f.remove(f.itemsArray[0]),typeof i=="string"&&this.$element[0].tagName==="INPUT"&&(a=f.options.delimiterRegex?f.options.delimiterRegex:f.options.delimiter,e=i.split(a),e.length>1)){for(o=0;o<e.length;o++)this.add(e[o],!0);r||f.pushVal(f.options.triggerChange);return}var s=f.options.itemValue(i),v=f.options.itemText(i),k=f.options.tagClass(i),y=f.options.itemTitle(i),p=n.grep(f.itemsArray,function(n){return f.options.itemValue(n)===s})[0];if(p&&!f.options.allowDuplicates){if(f.options.onTagExists){w=n(".badge",f.$container).filter(function(){return n(this).data("item")===p});f.options.onTagExists(i,w)}return}f.items().toString().length+i.length+1>f.options.maxInputLength||(c=n.Event("beforeItemAdd",{item:i,cancel:!1,options:u}),f.$element.trigger(c),c.cancel)||(f.itemsArray.push(i),l=n('<span class="'+t(k)+(y!==null?'" title="'+y:"")+'"><i class="fas fa-tag mr-1"><\/i>'+t(v)+'<span data-role="remove"><\/span><\/span>'),l.data("item",i),f.findInputWrapper().before(l),b=n('option[value="'+encodeURIComponent(s).replace(/"/g,'\\"')+'"]',f.$element).length||n('option[value="'+t(s).replace(/"/g,'\\"')+'"]',f.$element).length,f.isSelect&&!b&&(h=n("<option selected>"+t(v)+"<\/option>"),h.data("item",i),h.attr("value",s),f.$element.append(h)),r||f.pushVal(f.options.triggerChange),(f.options.maxTags===f.itemsArray.length||f.items().toString().length===f.options.maxInputLength)&&f.$container.addClass("bootstrap-tagsinput-max"),n(".typeahead, .twitter-typeahead",f.$container).length&&f.$input.typeahead("val",""),this.isInit?f.$element.trigger(n.Event("itemAddedOnInit",{item:i,options:u})):f.$element.trigger(n.Event("itemAdded",{item:i,options:u})))}}},remove:function(t,i,r){var u=this,f;if(u.objectItems&&(t=typeof t=="object"?n.grep(u.itemsArray,function(n){return u.options.itemValue(n)==u.options.itemValue(t)}):n.grep(u.itemsArray,function(n){return u.options.itemValue(n)==t}),t=t[t.length-1]),t){if(f=n.Event("beforeItemRemove",{item:t,cancel:!1,options:r}),u.$element.trigger(f),f.cancel)return;n(".badge",u.$container).filter(function(){return n(this).data("item")===t}).remove();n("option",u.$element).filter(function(){return n(this).data("item")===t}).remove();n.inArray(t,u.itemsArray)!==-1&&u.itemsArray.splice(n.inArray(t,u.itemsArray),1)}i||u.pushVal(u.options.triggerChange);u.options.maxTags>u.itemsArray.length&&u.$container.removeClass("bootstrap-tagsinput-max");u.$element.trigger(n.Event("itemRemoved",{item:t,options:r}))},removeAll:function(){var t=this;for(n(".badge",t.$container).remove(),n("option",t.$element).remove();t.itemsArray.length>0;)t.itemsArray.pop();t.pushVal(t.options.triggerChange)},refresh:function(){var i=this;n(".badge",i.$container).each(function(){var r=n(this),u=r.data("item"),e=i.options.itemValue(u),o=i.options.itemText(u),s=i.options.tagClass(u),f;r.attr("class",null);r.addClass("badge "+t(s));r.contents().filter(function(){return this.nodeType==3})[0].nodeValue=t(o);i.isSelect&&(f=n("option",i.$element).filter(function(){return n(this).data("item")===u}),f.attr("value",e))})},items:function(){return this.itemsArray},pushVal:function(){var t=this,i=n.map(t.items(),function(n){return t.options.itemValue(n).toString()});t.$element.val(i.join(t.options.delimiter));t.options.triggerChange&&t.$element.trigger("change")},build:function(t){var i=this,h,e;if(i.options=n.extend({},r,t),i.objectItems&&(i.options.freeInput=!1),u(i.options,"itemValue"),u(i.options,"itemText"),f(i.options,"tagClass"),i.options.typeahead&&(h=i.options.typeahead||{},f(h,"source"),i.$input.typeahead(n.extend({},h,{source:function(t,r){function f(n){for(var u,f=[],t=0;t<n.length;t++)u=i.options.itemText(n[t]),e[u]=n[t],f.push(u);r(f)}this.map={};var e=this.map,u=h.source(t);n.isFunction(u.success)?u.success(f):n.isFunction(u.then)?u.then(f):n.when(u).then(f)},updater:function(n){return i.add(this.map[n]),this.map[n]},matcher:function(n){return n.toLowerCase().indexOf(this.query.trim().toLowerCase())!==-1},sorter:function(n){return n.sort()},highlighter:function(n){var t=new RegExp("("+this.query+")","gi");return n.replace(t,"<strong>$1<\/strong>")}}))),i.options.typeaheadjs){e=i.options.typeaheadjs;n.isArray(e)||(e=[null,e]);n.fn.typeahead.apply(i.$input,e).on("typeahead:selected",n.proxy(function(n,t,r){var u=0;e.some(function(n,t){return n.name===r?(u=t,!0):!1});e[u].valueKey?i.add(t[e[u].valueKey]):i.add(t);i.$input.typeahead("val","")},i))}i.$container.on("click",n.proxy(function(){i.$element.attr("disabled")||i.$input.removeAttr("disabled");i.$input.focus()},i));if(i.options.addOnBlur&&i.options.freeInput)i.$input.on("focusout",n.proxy(function(){n(".typeahead, .twitter-typeahead",i.$container).length===0&&(i.add(i.$input.val()),i.$input.val(""))},i));i.$container.on({focusin:function(){i.$container.addClass(i.options.focusClass)},focusout:function(){i.$container.removeClass(i.options.focusClass)}});i.$container.on("keydown","input",n.proxy(function(t){var r=n(t.target),u=i.findInputWrapper(),f,e,s,h;if(i.$element.attr("disabled")){i.$input.attr("disabled","disabled");return}switch(t.which){case 8:o(r[0])===0&&(f=u.prev(),f.length&&(i.options.editOnBackspace===!0&&r.val(f.data("item")),i.remove(f.data("item"))));break;case 46:o(r[0])===0&&(e=u.next(),e.length&&i.remove(e.data("item")));break;case 37:s=u.prev();r.val().length===0&&s[0]&&(s.before(u),r.focus());break;case 39:h=u.next();r.val().length===0&&h[0]&&(h.after(u),r.focus())}var c=r.val().length,l=Math.ceil(c/5),a=c+l+1;r.attr("size",Math.max(this.inputSize,a))},i));i.$container.on("keypress","input",n.proxy(function(t){var u=n(t.target),r,f;if(i.$element.attr("disabled")){i.$input.attr("disabled","disabled");return}r=u.val();f=i.options.maxChars&&r.length>=i.options.maxChars;i.options.freeInput&&(s(t,i.options.confirmKeys)||f)&&(r.length!==0&&(i.add(f?r.substr(0,i.options.maxChars):r),u.val("")),i.options.cancelConfirmKeysOnEmpty===!1&&t.preventDefault());var e=u.val().length,o=Math.ceil(e/5),h=e+o+1;u.attr("size",Math.max(this.inputSize,h))},i));i.$container.on("click","[data-role=remove]",n.proxy(function(t){i.$element.attr("disabled")||i.remove(n(t.target).closest(".badge").data("item"))},i));i.options.itemValue===r.itemValue&&(i.$element[0].tagName==="INPUT"?i.add(i.$element.val()):n("option",i.$element).each(function(){i.add(n(this).attr("value"),!0)}))},destroy:function(){var n=this;n.$container.off("keypress","input");n.$container.off("click","[role=remove]");n.$container.remove();n.$element.removeData("tagsinput");n.$element.show()},focus:function(){this.$input.focus()},input:function(){return this.$input},findInputWrapper:function(){for(var t=this.$input[0],i=this.$container[0];t&&t.parentNode!==i;)t=t.parentNode;return n(t)}};n.fn.tagsinput=function(t,r,u){var f=[];return this.each(function(){var e=n(this).data("tagsinput"),o;e?t||r?e[t]!==undefined&&(o=e[t].length===3&&u!==undefined?e[t](r,null,u):e[t](r),o!==undefined&&f.push(o)):f.push(e):(e=new i(this,t),n(this).data("tagsinput",e),f.push(e),this.tagName==="SELECT"&&n("option",n(this)).attr("selected","selected"),n(this).val(n(this).val()))}),typeof t=="string"?f.length>1?f:f[0]:f};n.fn.tagsinput.Constructor=i;e=n("<div />");n(function(){n("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()})}(window.jQuery),function(n,t){"use strict";typeof module!="undefined"&&module.exports?module.exports=t(require("jquery")):typeof define=="function"&&define.amd?define(["jquery"],function(n){return t(n)}):t(n.jQuery)}(this,function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.defaults,r);this.matcher=this.options.matcher||this.matcher;this.sorter=this.options.sorter||this.sorter;this.select=this.options.select||this.select;this.autoSelect=typeof this.options.autoSelect=="boolean"?this.options.autoSelect:!0;this.highlighter=this.options.highlighter||this.highlighter;this.render=this.options.render||this.render;this.updater=this.options.updater||this.updater;this.displayText=this.options.displayText||this.displayText;this.itemLink=this.options.itemLink||this.itemLink;this.itemTitle=this.options.itemTitle||this.itemTitle;this.followLinkOnSelect=this.options.followLinkOnSelect||this.followLinkOnSelect;this.source=this.options.source;this.delay=this.options.delay;this.theme=this.options.theme&&this.options.themes&&this.options.themes[this.options.theme]||t.defaults.themes[t.defaults.theme];this.$menu=n(this.options.menu||this.theme.menu);this.$appendTo=this.options.appendTo?n(this.options.appendTo):null;this.fitToElement=typeof this.options.fitToElement=="boolean"?this.options.fitToElement:!1;this.shown=!1;this.listen();this.showHintOnFocus=typeof this.options.showHintOnFocus=="boolean"||this.options.showHintOnFocus==="all"?this.options.showHintOnFocus:!1;this.afterSelect=this.options.afterSelect;this.afterEmptySelect=this.options.afterEmptySelect;this.addItem=!1;this.value=this.$element.val()||this.$element.text();this.keyPressed=!1;this.focused=this.$element.is(":focus");this.changeInputOnSelect=this.options.changeInputOnSelect||this.changeInputOnSelect;this.changeInputOnMove=this.options.changeInputOnMove||this.changeInputOnMove;this.openLinkInNewTab=this.options.openLinkInNewTab||this.openLinkInNewTab;this.selectOnBlur=this.options.selectOnBlur||this.selectOnBlur;this.showCategoryHeader=this.options.showCategoryHeader||this.showCategoryHeader},i;t.prototype={constructor:t,setDefault:function(n){if(this.$element.data("active",n),this.autoSelect||n){var t=this.updater(n);t||(t="");this.$element.val(this.displayText(t)||t).text(this.displayText(t)||t).change();this.afterSelect(t)}return this.hide()},select:function(){var t=this.$menu.find(".active").data("value"),n;return this.$element.data("active",t),this.autoSelect||t?(n=this.updater(t),n||(n=""),this.changeInputOnSelect&&this.$element.val(this.displayText(n)||n).text(this.displayText(n)||n).change(),this.followLinkOnSelect&&this.itemLink(t)?(this.openLinkInNewTab?window.open(this.itemLink(t),"_blank"):document.location=this.itemLink(t),this.afterSelect(n)):this.followLinkOnSelect&&!this.itemLink(t)?this.afterEmptySelect(n):this.afterSelect(n)):this.afterEmptySelect(),this.hide()},updater:function(n){return n},setSource:function(n){this.source=n},show:function(){var i=n.extend({},this.$element.position(),{height:this.$element[0].offsetHeight}),u=typeof this.options.scrollHeight=="function"?this.options.scrollHeight.call():this.options.scrollHeight,t,r;this.shown?t=this.$menu:this.$appendTo?(t=this.$menu.appendTo(this.$appendTo),this.hasSameParent=this.$appendTo.is(this.$element.parent())):(t=this.$menu.insertAfter(this.$element),this.hasSameParent=!0);this.hasSameParent||(t.css("position","fixed"),r=this.$element.offset(),i.top=r.top,i.left=r.left);var f=n(t).parent().hasClass("dropup"),e=f?"auto":i.top+i.height+u,o=n(t).hasClass("dropdown-menu-right"),s=o?"auto":i.left;return t.css({top:e,left:s}).show(),this.options.fitToElement===!0&&t.css("width",this.$element.outerWidth()+"px"),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){if(this.query=typeof t!="undefined"&&t!==null?t:this.$element.val(),this.query.length<this.options.minLength&&!this.options.showHintOnFocus)return this.shown?this.hide():this;var i=n.proxy(function(){n.isFunction(this.source)&&this.source.length===3?this.source(this.query,n.proxy(this.process,this),n.proxy(this.process,this)):n.isFunction(this.source)?this.source(this.query,n.proxy(this.process,this)):this.source&&this.process(this.source)},this);clearTimeout(this.lookupWorker);this.lookupWorker=setTimeout(i,this.delay)},process:function(t){var i=this;return(t=n.grep(t,function(n){return i.matcher(n)}),t=this.sorter(t),!t.length&&!this.options.addItem)?this.shown?this.hide():this:(t.length>0?this.$element.data("active",t[0]):this.$element.data("active",null),this.options.items!="all"&&(t=t.slice(0,this.options.items)),this.options.addItem&&t.push(this.options.addItem),this.render(t).show())},matcher:function(n){var t=this.displayText(n);return~t.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(n){for(var r=[],u=[],f=[],t,i;t=n.shift();)i=this.displayText(t),i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?u.push(t):f.push(t):r.push(t);return r.concat(u,f)},highlighter:function(n){var u=this.query,e,o;if(u==="")return n;var r=n.match(/(>)([^<]*)(<)/g),i=[],f=[],t;if(r&&r.length)for(t=0;t<r.length;++t)r[t].length>2&&i.push(r[t]);else i=[],i.push(n);for(u=u.replace(/[\(\)\/\.\*\+\?\[\]]/g,function(n){return"\\"+n}),e=new RegExp(u,"g"),t=0;t<i.length;++t)o=i[t].match(e),o&&o.length>0&&f.push(i[t]);for(t=0;t<f.length;++t)n=n.replace(f[t],f[t].replace(e,"<strong>$&<\/strong>"));return n},render:function(t){var i=this,u=this,e=!1,f=[],r=i.options.separator;return n.each(t,function(n,i){n>0&&i[r]!==t[n-1][r]&&f.push({__type:"divider"});this.showCategoryHeader&&i[r]&&(n===0||i[r]!==t[n-1][r])&&f.push({__type:"category",name:i[r]});f.push(i)}),t=n(f).map(function(t,r){if((r.__type||!1)=="category")return n(i.options.headerHtml||i.theme.headerHtml).text(r.name)[0];if((r.__type||!1)=="divider")return n(i.options.headerDivider||i.theme.headerDivider)[0];var f=u.displayText(r);return t=n(i.options.item||i.theme.item).data("value",r),t.find(i.options.itemContentSelector||i.theme.itemContentSelector).addBack(i.options.itemContentSelector||i.theme.itemContentSelector).html(i.highlighter(f,r)),i.options.followLinkOnSelect&&t.find("a").attr("href",u.itemLink(r)),t.find("a").attr("title",u.itemTitle(r)),f==u.$element.val()&&(t.addClass("active"),u.$element.data("active",r),e=!0),t[0]}),this.autoSelect&&!e&&(t.filter(":not(.dropdown-header)").first().addClass("active"),this.$element.data("active",t.first().data("value"))),this.$menu.html(t),this},displayText:function(n){return typeof n!="undefined"&&typeof n.name!="undefined"?n.name:n},itemLink:function(){return null},itemTitle:function(){return null},next:function(){var r=this.$menu.find(".active").removeClass("active"),t=r.next(),i;for(t.length||(t=n(this.$menu.find(n(this.options.item||this.theme.item).prop("tagName"))[0]));t.hasClass("divider")||t.hasClass("dropdown-header");)t=t.next();t.addClass("active");i=this.updater(t.data("value"));this.changeInputOnMove&&this.$element.val(this.displayText(i)||i)},prev:function(){var r=this.$menu.find(".active").removeClass("active"),t=r.prev(),i;for(t.length||(t=this.$menu.find(n(this.options.item||this.theme.item).prop("tagName")).last());t.hasClass("divider")||t.hasClass("dropdown-header");)t=t.prev();t.addClass("active");i=this.updater(t.data("value"));this.changeInputOnMove&&this.$element.val(this.displayText(i)||i)},listen:function(){this.$element.on("focus.bootstrap3Typeahead",n.proxy(this.focus,this)).on("blur.bootstrap3Typeahead",n.proxy(this.blur,this)).on("keypress.bootstrap3Typeahead",n.proxy(this.keypress,this)).on("propertychange.bootstrap3Typeahead input.bootstrap3Typeahead",n.proxy(this.input,this)).on("keyup.bootstrap3Typeahead",n.proxy(this.keyup,this));if(this.eventSupported("keydown"))this.$element.on("keydown.bootstrap3Typeahead",n.proxy(this.keydown,this));var t=n(this.options.item||this.theme.item).prop("tagName");if("ontouchstart"in document.documentElement&&"onmousemove"in document.documentElement)this.$menu.on("touchstart",t,n.proxy(this.touchstart,this)).on("touchend",t,n.proxy(this.click,this)).on("click",n.proxy(this.click,this)).on("mouseenter",t,n.proxy(this.mouseenter,this)).on("mouseleave",t,n.proxy(this.mouseleave,this)).on("mousedown",n.proxy(this.mousedown,this));else if("ontouchstart"in document.documentElement)this.$menu.on("touchstart",t,n.proxy(this.touchstart,this)).on("touchend",t,n.proxy(this.click,this));else this.$menu.on("click",n.proxy(this.click,this)).on("mouseenter",t,n.proxy(this.mouseenter,this)).on("mouseleave",t,n.proxy(this.mouseleave,this)).on("mousedown",n.proxy(this.mousedown,this))},destroy:function(){this.$element.data("typeahead",null);this.$element.data("active",null);this.$element.unbind("focus.bootstrap3Typeahead").unbind("blur.bootstrap3Typeahead").unbind("keypress.bootstrap3Typeahead").unbind("propertychange.bootstrap3Typeahead input.bootstrap3Typeahead").unbind("keyup.bootstrap3Typeahead");this.eventSupported("keydown")&&this.$element.unbind("keydown.bootstrap3-typeahead");this.$menu.remove();this.destroyed=!0},eventSupported:function(n){var t=n in this.$element;return t||(this.$element.setAttribute(n,"return;"),t=typeof this.$element[n]=="function"),t},move:function(n){if(this.shown)switch(n.keyCode){case 9:case 13:case 27:n.preventDefault();break;case 38:if(n.shiftKey)return;n.preventDefault();this.prev();break;case 40:if(n.shiftKey)return;n.preventDefault();this.next()}},keydown:function(t){t.keyCode!==17&&(this.keyPressed=!0,this.suppressKeyPressRepeat=~n.inArray(t.keyCode,[40,38,9,13,27]),this.shown||t.keyCode!=40?this.move(t):this.lookup())},keypress:function(n){this.suppressKeyPressRepeat||this.move(n)},input:function(){var n=this.$element.val()||this.$element.text();this.value!==n&&(this.value=n,this.lookup())},keyup:function(n){if(!this.destroyed)switch(n.keyCode){case 9:if(!this.shown||this.showHintOnFocus&&!this.keyPressed)return;this.select();break;case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide()}},focus:function(){this.focused||(this.focused=!0,this.keyPressed=!1,this.options.showHintOnFocus&&this.skipShowHintOnFocus!==!0&&(this.options.showHintOnFocus==="all"?this.lookup(""):this.lookup()));this.skipShowHintOnFocus&&(this.skipShowHintOnFocus=!1)},blur:function(){this.mousedover||this.mouseddown||!this.shown?this.mouseddown&&(this.skipShowHintOnFocus=!0,this.$element.focus(),this.mouseddown=!1):(this.selectOnBlur&&this.select(),this.hide(),this.focused=!1,this.keyPressed=!1)},click:function(n){n.preventDefault();this.skipShowHintOnFocus=!0;this.select();this.$element.focus();this.hide()},mouseenter:function(t){this.mousedover=!0;this.$menu.find(".active").removeClass("active");n(t.currentTarget).addClass("active")},mouseleave:function(){this.mousedover=!1;!this.focused&&this.shown&&this.hide()},mousedown:function(){this.mouseddown=!0;this.$menu.one("mouseup",function(){this.mouseddown=!1}.bind(this))},touchstart:function(t){t.preventDefault();this.$menu.find(".active").removeClass("active");n(t.currentTarget).addClass("active")},touchend:function(n){n.preventDefault();this.select();this.$element.focus()}};i=n.fn.typeahead;n.fn.typeahead=function(i){var r=arguments;return typeof i=="string"&&i=="getActive"?this.data("active"):this.each(function(){var f=n(this),u=f.data("typeahead"),e=typeof i=="object"&&i;u||f.data("typeahead",u=new t(this,e));typeof i=="string"&&u[i]&&(r.length>1?u[i].apply(u,Array.prototype.slice.call(r,1)):u[i]())})};t.defaults={source:[],items:8,minLength:1,scrollHeight:0,autoSelect:!0,afterSelect:n.noop,afterEmptySelect:n.noop,addItem:!1,followLinkOnSelect:!1,delay:0,separator:"category",changeInputOnSelect:!0,changeInputOnMove:!0,openLinkInNewTab:!1,selectOnBlur:!0,showCategoryHeader:!0,theme:"bootstrap3",themes:{bootstrap3:{menu:'<ul class="typeahead dropdown-menu" role="listbox"><\/ul>',item:'<li><a class="dropdown-item" href="#" role="option"><\/a><\/li>',itemContentSelector:"a",headerHtml:'<li class="dropdown-header"><\/li>',headerDivider:'<li class="divider" role="separator"><\/li>'},bootstrap4:{menu:'<div class="typeahead dropdown-menu" role="listbox"><\/div>',item:'<button class="dropdown-item" role="option"><\/button>',itemContentSelector:".dropdown-item",headerHtml:'<h6 class="dropdown-header"><\/h6>',headerDivider:'<div class="dropdown-divider"><\/div>'}}};n.fn.typeahead.Constructor=t;n.fn.typeahead.noConflict=function(){return n.fn.typeahead=i,this};n(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(){var t=n(this);t.data("typeahead")||t.typeahead(t.data())})}),function(n){"use strict";typeof define=="function"&&define.amd?define(["./blueimp-helper"],n):(window.blueimp=window.blueimp||{},window.blueimp.Gallery=n(window.blueimp.helper||window.jQuery))}(function(n){"use strict";function t(n,i){if(document.body.style.maxHeight===undefined)return null;if(!this||this.options!==t.prototype.options)return new t(n,i);if(!n||!n.length){this.console.log("blueimp Gallery: No or empty list provided as first argument.",n);return}this.list=n;this.num=n.length;this.initOptions(i);this.initialize()}return n.extend(t.prototype,{options:{container:"#blueimp-gallery",slidesContainer:"div",titleElement:"h3",displayClass:"blueimp-gallery-display",controlsClass:"blueimp-gallery-controls",singleClass:"blueimp-gallery-single",leftEdgeClass:"blueimp-gallery-left",rightEdgeClass:"blueimp-gallery-right",playingClass:"blueimp-gallery-playing",slideClass:"slide",slideLoadingClass:"slide-loading",slideErrorClass:"slide-error",slideContentClass:"slide-content",toggleClass:"toggle",prevClass:"prev",nextClass:"next",closeClass:"close",playPauseClass:"play-pause",typeProperty:"type",titleProperty:"title",altTextProperty:"alt",urlProperty:"href",srcsetProperty:"urlset",displayTransition:!0,clearSlides:!0,stretchImages:!1,toggleControlsOnReturn:!0,toggleControlsOnSlideClick:!0,toggleSlideshowOnSpace:!0,enableKeyboardNavigation:!0,closeOnEscape:!0,closeOnSlideClick:!0,closeOnSwipeUpOrDown:!0,emulateTouchEvents:!0,stopTouchEventsPropagation:!1,hidePageScrollbars:!0,disableScroll:!0,carousel:!1,continuous:!0,unloadElements:!0,startSlideshow:!1,slideshowInterval:5e3,slideshowDirection:"ltr",index:0,preloadRange:2,transitionSpeed:400,slideshowTransitionSpeed:undefined,event:undefined,onopen:undefined,onopened:undefined,onslide:undefined,onslideend:undefined,onslidecomplete:undefined,onclose:undefined,onclosed:undefined},carouselOptions:{hidePageScrollbars:!1,toggleControlsOnReturn:!1,toggleSlideshowOnSpace:!1,enableKeyboardNavigation:!1,closeOnEscape:!1,closeOnSlideClick:!1,closeOnSwipeUpOrDown:!1,disableScroll:!1,startSlideshow:!0},console:window.console&&typeof window.console.log=="function"?window.console:{log:function(){}},support:function(t){function f(){var n=i.transition,r,u;document.body.appendChild(t);n&&(r=n.name.slice(0,-9)+"ransform",t.style[r]!==undefined&&(t.style[r]="translateZ(0)",u=window.getComputedStyle(t).getPropertyValue(n.prefix+"transform"),i.transform={prefix:n.prefix,name:r,translate:!0,translateZ:!!u&&u!=="none"}));t.style.backgroundSize!==undefined&&(i.backgroundSize={},t.style.backgroundSize="contain",i.backgroundSize.contain=window.getComputedStyle(t).getPropertyValue("background-size")==="contain",t.style.backgroundSize="cover",i.backgroundSize.cover=window.getComputedStyle(t).getPropertyValue("background-size")==="cover");document.body.removeChild(t)}var i={touch:window.ontouchstart!==undefined||window.DocumentTouch&&document instanceof DocumentTouch},u={webkitTransition:{end:"webkitTransitionEnd",prefix:"-webkit-"},MozTransition:{end:"transitionend",prefix:"-moz-"},OTransition:{end:"otransitionend",prefix:"-o-"},transition:{end:"transitionend",prefix:""}};for(var r in u)if(Object.prototype.hasOwnProperty.call(u,r)&&t.style[r]!==undefined){i.transition=u[r];i.transition.name=r;break}if(document.body)f();else n(document).on("DOMContentLoaded",f);return i}(document.createElement("div")),requestAnimationFrame:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,cancelAnimationFrame:window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame,initialize:function(){if(this.initStartIndex(),this.initWidget()===!1)return!1;this.initEventListeners();this.onslide(this.index);this.ontransitionend();this.options.startSlideshow&&this.play()},slide:function(n,t){window.clearTimeout(this.timeout);var r=this.index,i,f,u;if(r!==n&&this.num!==1){if(t||(t=this.options.transitionSpeed),this.support.transform){for(this.options.continuous||(n=this.circle(n)),i=Math.abs(r-n)/(r-n),this.options.continuous&&(f=i,i=-this.positions[this.circle(n)]/this.slideWidth,i!==f&&(n=-i*this.num+n)),u=Math.abs(r-n)-1;u;)u-=1,this.move(this.circle((n>r?n:r)-u-1),this.slideWidth*i,0);n=this.circle(n);this.move(r,this.slideWidth*i,t);this.move(n,0,t);this.options.continuous&&this.move(this.circle(n-i),-(this.slideWidth*i),0)}else n=this.circle(n),this.animate(r*-this.slideWidth,n*-this.slideWidth,t);this.onslide(n)}},getIndex:function(){return this.index},getNumber:function(){return this.num},prev:function(){(this.options.continuous||this.index)&&this.slide(this.index-1)},next:function(){(this.options.continuous||this.index<this.num-1)&&this.slide(this.index+1)},play:function(n){var t=this,i=this.index+(this.options.slideshowDirection==="rtl"?-1:1);window.clearTimeout(this.timeout);this.interval=n||this.options.slideshowInterval;this.elements[this.index]>1&&(this.timeout=this.setTimeout(!this.requestAnimationFrame&&this.slide||function(n,i){t.animationFrameId=t.requestAnimationFrame.call(window,function(){t.slide(n,i)})},[i,this.options.slideshowTransitionSpeed],this.interval));this.container.addClass(this.options.playingClass)},pause:function(){window.clearTimeout(this.timeout);this.interval=null;this.cancelAnimationFrame&&(this.cancelAnimationFrame.call(window,this.animationFrameId),this.animationFrameId=null);this.container.removeClass(this.options.playingClass)},add:function(n){var t;for(n.concat||(n=Array.prototype.slice.call(n)),this.list.concat||(this.list=Array.prototype.slice.call(this.list)),this.list=this.list.concat(n),this.num=this.list.length,this.num>2&&this.options.continuous===null&&(this.options.continuous=!0,this.container.removeClass(this.options.leftEdgeClass)),this.container.removeClass(this.options.rightEdgeClass).removeClass(this.options.singleClass),t=this.num-n.length;t<this.num;t+=1)this.addSlide(t),this.positionSlide(t);this.positions.length=this.num;this.initSlides(!0)},resetSlides:function(){this.slidesContainer.empty();this.unloadAllSlides();this.slides=[]},handleClose:function(){var n=this.options;this.destroyEventListeners();this.pause();this.container[0].style.display="none";this.container.removeClass(n.displayClass).removeClass(n.singleClass).removeClass(n.leftEdgeClass).removeClass(n.rightEdgeClass);n.hidePageScrollbars&&(document.body.style.overflow=this.bodyOverflowStyle);this.options.clearSlides&&this.resetSlides();this.options.onclosed&&this.options.onclosed.call(this)},close:function(){function t(i){i.target===n.container[0]&&(n.container.off(n.support.transition.end,t),n.handleClose())}var n=this;if(this.options.onclose&&this.options.onclose.call(this),this.support.transition&&this.options.displayTransition){this.container.on(this.support.transition.end,t);this.container.removeClass(this.options.displayClass)}else this.handleClose()},circle:function(n){return(this.num+n%this.num)%this.num},move:function(n,t,i){this.translateX(n,t,i);this.positions[n]=t},translate:function(n,t,i,r){if(this.slides[n]){var u=this.slides[n].style,e=this.support.transition,f=this.support.transform;u[e.name+"Duration"]=r+"ms";u[f.name]="translate("+t+"px, "+i+"px)"+(f.translateZ?" translateZ(0)":"")}},translateX:function(n,t,i){this.translate(n,t,0,i)},translateY:function(n,t,i){this.translate(n,0,t,i)},animate:function(n,t,i){if(!i){this.slidesContainer[0].style.left=t+"px";return}var r=this,u=(new Date).getTime(),f=window.setInterval(function(){var e=(new Date).getTime()-u;if(e>i){r.slidesContainer[0].style.left=t+"px";r.ontransitionend();window.clearInterval(f);return}r.slidesContainer[0].style.left=(t-n)*(Math.floor(e/i*100)/100)+n+"px"},4)},preventDefault:function(n){n.preventDefault?n.preventDefault():n.returnValue=!1},stopPropagation:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},onresize:function(){this.initSlides(!0)},onmousedown:function(n){if(n.which&&n.which===1&&n.target.nodeName!=="VIDEO"&&n.target.nodeName!=="AUDIO"){n.preventDefault();(n.originalEvent||n).touches=[{pageX:n.pageX,pageY:n.pageY}];this.ontouchstart(n)}},onmousemove:function(n){if(this.touchStart){(n.originalEvent||n).touches=[{pageX:n.pageX,pageY:n.pageY}];this.ontouchmove(n)}},onmouseup:function(n){if(this.touchStart){this.ontouchend(n);delete this.touchStart}},onmouseout:function(t){if(this.touchStart){var r=t.target,i=t.relatedTarget;if(!i||i!==r&&!n.contains(r,i))this.onmouseup(t)}},ontouchstart:function(n){this.options.stopTouchEventsPropagation&&this.stopPropagation(n);var t=(n.originalEvent||n).touches[0];this.touchStart={x:t.pageX,y:t.pageY,time:Date.now()};this.isScrolling=undefined;this.touchDelta={}},ontouchmove:function(n){this.options.stopTouchEventsPropagation&&this.stopPropagation(n);var u=(n.originalEvent||n).touches[0],f=(n.originalEvent||n).scale,t=this.index,i,r;if(!(u.length>1)&&(!f||f===1))if(this.options.disableScroll&&n.preventDefault(),this.touchDelta={x:u.pageX-this.touchStart.x,y:u.pageY-this.touchStart.y},i=this.touchDelta.x,this.isScrolling===undefined&&(this.isScrolling=this.isScrolling||Math.abs(i)<Math.abs(this.touchDelta.y)),this.isScrolling)this.translateY(t,this.touchDelta.y+this.positions[t],0);else for(n.preventDefault(),window.clearTimeout(this.timeout),this.options.continuous?r=[this.circle(t+1),t,this.circle(t-1)]:(this.touchDelta.x=i=i/(!t&&i>0||t===this.num-1&&i<0?Math.abs(i)/this.slideWidth+1:1),r=[t],t&&r.push(t-1),t<this.num-1&&r.unshift(t+1));r.length;)t=r.pop(),this.translateX(t,i+this.positions[t],0)},ontouchend:function(n){this.options.stopTouchEventsPropagation&&this.stopPropagation(n);var t=this.index,i=this.options.transitionSpeed,r=this.slideWidth,s=Number(Date.now()-this.touchStart.time)<250,h=s&&Math.abs(this.touchDelta.x)>20||Math.abs(this.touchDelta.x)>r/2,c=!t&&this.touchDelta.x>0||t===this.num-1&&this.touchDelta.x<0,a=!h&&this.options.closeOnSwipeUpOrDown&&(s&&Math.abs(this.touchDelta.y)>20||Math.abs(this.touchDelta.y)>this.slideHeight/2),u,f,o,e,l;if(this.options.continuous&&(c=!1),u=this.touchDelta.x<0?-1:1,this.isScrolling)a?this.close():this.translateY(t,0,i);else if(h&&!c){f=t+u;o=t-u;e=r*u;l=-r*u;this.options.continuous?(this.move(this.circle(f),e,0),this.move(this.circle(t-2*u),l,0)):f>=0&&f<this.num&&this.move(f,e,0);this.move(t,this.positions[t]+e,i);this.move(this.circle(o),this.positions[this.circle(o)]+e,i);t=this.circle(o);this.onslide(t)}else this.options.continuous?(this.move(this.circle(t-1),-r,i),this.move(t,0,i),this.move(this.circle(t+1),r,i)):(t&&this.move(t-1,-r,i),this.move(t,0,i),t<this.num-1&&this.move(t+1,r,i))},ontouchcancel:function(n){if(this.touchStart){this.ontouchend(n);delete this.touchStart}},ontransitionend:function(n){var t=this.slides[this.index];n&&t!==n.target||(this.interval&&this.play(),this.setTimeout(this.options.onslideend,[this.index,t]))},oncomplete:function(t){var r=t.target||t.srcElement,i=r&&r.parentNode,u;r&&i&&(u=this.getNodeIndex(i),n(i).removeClass(this.options.slideLoadingClass),t.type==="error"?(n(i).addClass(this.options.slideErrorClass),this.elements[u]=3):this.elements[u]=2,r.clientHeight>this.container[0].clientHeight&&(r.style.maxHeight=this.container[0].clientHeight),this.interval&&this.slides[this.index]===i&&this.play(),this.setTimeout(this.options.onslidecomplete,[u,i]))},onload:function(n){this.oncomplete(n)},onerror:function(n){this.oncomplete(n)},onkeydown:function(n){switch(n.which||n.keyCode){case 13:this.options.toggleControlsOnReturn&&(this.preventDefault(n),this.toggleControls());break;case 27:this.options.closeOnEscape&&(this.close(),n.stopImmediatePropagation());break;case 32:this.options.toggleSlideshowOnSpace&&(this.preventDefault(n),this.toggleSlideshow());break;case 37:this.options.enableKeyboardNavigation&&(this.preventDefault(n),this.prev());break;case 39:this.options.enableKeyboardNavigation&&(this.preventDefault(n),this.next())}},handleClick:function(t){function r(t){return n(f).hasClass(t)||n(u).hasClass(t)}var i=this.options,f=t.target||t.srcElement,u=f.parentNode;r(i.toggleClass)?(this.preventDefault(t),this.toggleControls()):r(i.prevClass)?(this.preventDefault(t),this.prev()):r(i.nextClass)?(this.preventDefault(t),this.next()):r(i.closeClass)?(this.preventDefault(t),this.close()):r(i.playPauseClass)?(this.preventDefault(t),this.toggleSlideshow()):u===this.slidesContainer[0]?i.closeOnSlideClick?(this.preventDefault(t),this.close()):i.toggleControlsOnSlideClick&&(this.preventDefault(t),this.toggleControls()):u.parentNode&&u.parentNode===this.slidesContainer[0]&&i.toggleControlsOnSlideClick&&(this.preventDefault(t),this.toggleControls())},onclick:function(n){if(this.options.emulateTouchEvents&&this.touchDelta&&(Math.abs(this.touchDelta.x)>20||Math.abs(this.touchDelta.y)>20)){delete this.touchDelta;return}return this.handleClick(n)},updateEdgeClasses:function(n){n?this.container.removeClass(this.options.leftEdgeClass):this.container.addClass(this.options.leftEdgeClass);n===this.num-1?this.container.addClass(this.options.rightEdgeClass):this.container.removeClass(this.options.rightEdgeClass)},handleSlide:function(n){this.options.continuous||this.updateEdgeClasses(n);this.loadElements(n);this.options.unloadElements&&this.unloadElements(n);this.setTitle(n)},onslide:function(n){this.index=n;this.handleSlide(n);this.setTimeout(this.options.onslide,[n,this.slides[n]])},setTitle:function(n){var t=this.slides[n].firstChild,i=t.title||t.alt,r=this.titleElement;r.length&&(this.titleElement.empty(),i&&r[0].appendChild(document.createTextNode(i)))},setTimeout:function(n,t,i){var r=this;return n&&window.setTimeout(function(){n.apply(r,t||[])},i||0)},imageFactory:function(t,i){function h(t){if(!c){if(t={type:t.type,target:r},!r.parentNode)return l.setTimeout(h,[t]);c=!0;n(f).off("load error",h);u&&t.type==="load"&&(r.style.background='url("'+e+'") center no-repeat',r.style.backgroundSize=u);i(t)}}var l=this,f=this.imagePrototype.cloneNode(!1),e=t,u=this.options.stretchImages,c,r,o,s;typeof e!="string"&&(e=this.getItemProperty(t,this.options.urlProperty),o=this.getItemProperty(t,this.options.titleProperty),s=this.getItemProperty(t,this.options.altTextProperty)||o);u===!0&&(u="contain");u=this.support.backgroundSize&&this.support.backgroundSize[u]&&u;u?r=this.elementPrototype.cloneNode(!1):(r=f,f.draggable=!1);o&&(r.title=o);s&&(r.alt=s);n(f).on("load error",h);return f.src=e,r},createElement:function(t,i){var u=t&&this.getItemProperty(t,this.options.typeProperty),e=u&&this[u.split("/")[0]+"Factory"]||this.imageFactory,r=t&&e.call(this,t,i),f=this.getItemProperty(t,this.options.srcsetProperty);return r||(r=this.elementPrototype.cloneNode(!1),this.setTimeout(i,[{type:"error",target:r}])),f&&r.setAttribute("srcset",f),n(r).addClass(this.options.slideContentClass),r},loadElement:function(t){this.elements[t]||(this.slides[t].firstChild?this.elements[t]=n(this.slides[t]).hasClass(this.options.slideErrorClass)?3:2:(this.elements[t]=1,n(this.slides[t]).addClass(this.options.slideLoadingClass),this.slides[t].appendChild(this.createElement(this.list[t],this.proxyListener))))},loadElements:function(n){for(var r=Math.min(this.num,this.options.preloadRange*2+1),i=n,t=0;t<r;t+=1)i+=t*(t%2==0?-1:1),i=this.circle(i),this.loadElement(i)},unloadElements:function(n){var t,i;for(t in this.elements)Object.prototype.hasOwnProperty.call(this.elements,t)&&(i=Math.abs(n-t),i>this.options.preloadRange&&i+this.options.preloadRange<this.num&&(this.unloadSlide(t),delete this.elements[t]))},addSlide:function(n){var t=this.slidePrototype.cloneNode(!1);t.setAttribute("data-index",n);this.slidesContainer[0].appendChild(t);this.slides.push(t)},positionSlide:function(n){var t=this.slides[n];t.style.width=this.slideWidth+"px";this.support.transform&&(t.style.left=n*-this.slideWidth+"px",this.move(n,this.index>n?-this.slideWidth:this.index<n?this.slideWidth:0,0))},initSlides:function(t){var r,i;for(t||(this.positions=[],this.positions.length=this.num,this.elements={},this.imagePrototype=document.createElement("img"),this.elementPrototype=document.createElement("div"),this.slidePrototype=document.createElement("div"),n(this.slidePrototype).addClass(this.options.slideClass),this.slides=this.slidesContainer[0].children,r=this.options.clearSlides||this.slides.length!==this.num),this.slideWidth=this.container[0].clientWidth,this.slideHeight=this.container[0].clientHeight,this.slidesContainer[0].style.width=this.num*this.slideWidth+"px",r&&this.resetSlides(),i=0;i<this.num;i+=1)r&&this.addSlide(i),this.positionSlide(i);this.options.continuous&&this.support.transform&&(this.move(this.circle(this.index-1),-this.slideWidth,0),this.move(this.circle(this.index+1),this.slideWidth,0));this.support.transform||(this.slidesContainer[0].style.left=this.index*-this.slideWidth+"px")},unloadSlide:function(n){var t,i;t=this.slides[n];i=t.firstChild;i!==null&&t.removeChild(i)},unloadAllSlides:function(){for(var n=0,t=this.slides.length;n<t;n++)this.unloadSlide(n)},toggleControls:function(){var n=this.options.controlsClass;this.container.hasClass(n)?this.container.removeClass(n):this.container.addClass(n)},toggleSlideshow:function(){this.interval?this.pause():this.play()},getNodeIndex:function(n){return parseInt(n.getAttribute("data-index"),10)},getNestedProperty:function(n,t){return t.replace(/\[(?:'([^']+)'|"([^"]+)"|(\d+))\]|(?:(?:^|\.)([^\.\[]+))/g,function(t,i,r,u,f){var e=f||i||r||u&&parseInt(u,10);t&&n&&(n=n[e])}),n},getDataProperty:function(t,i){var u,r;if(t.dataset?(u=i.replace(/-([a-z])/g,function(n,t){return t.toUpperCase()}),r=t.dataset[u]):t.getAttribute&&(r=t.getAttribute("data-"+i.replace(/([A-Z])/g,"-$1").toLowerCase())),typeof r=="string"){if(/^(true|false|null|-?\d+(\.\d+)?|\{[\s\S]*\}|\[[\s\S]*\])$/.test(r))try{return n.parseJSON(r)}catch(f){}return r}},getItemProperty:function(n,t){var i=this.getDataProperty(n,t);return i===undefined&&(i=n[t]),i===undefined&&(i=this.getNestedProperty(n,t)),i},initStartIndex:function(){var n=this.options.index,i=this.options.urlProperty,t;if(n&&typeof n!="number")for(t=0;t<this.num;t+=1)if(this.list[t]===n||this.getItemProperty(this.list[t],i)===this.getItemProperty(n,i)){n=t;break}this.index=this.circle(parseInt(n,10)||0)},initEventListeners:function(){function t(n){var t=i.support.transition&&i.support.transition.end===n.type?"transitionend":n.type;i["on"+t](n)}var i=this,r=this.slidesContainer;n(window).on("resize",t);n(document.body).on("keydown",t);this.container.on("click",t);if(this.support.touch)r.on("touchstart touchmove touchend touchcancel",t);else if(this.options.emulateTouchEvents&&this.support.transition)r.on("mousedown mousemove mouseup mouseout",t);if(this.support.transition)r.on(this.support.transition.end,t);this.proxyListener=t},destroyEventListeners:function(){var i=this.slidesContainer,t=this.proxyListener;n(window).off("resize",t);n(document.body).off("keydown",t);this.container.off("click",t);this.support.touch?i.off("touchstart touchmove touchend touchcancel",t):this.options.emulateTouchEvents&&this.support.transition&&i.off("mousedown mousemove mouseup mouseout",t);this.support.transition&&i.off(this.support.transition.end,t)},handleOpen:function(){this.options.onopened&&this.options.onopened.call(this)},initWidget:function(){function i(n){n.target===t.container[0]&&(t.container.off(t.support.transition.end,i),t.handleOpen())}var t=this;if(this.container=n(this.options.container),!this.container.length)return this.console.log("blueimp Gallery: Widget container not found.",this.options.container),!1;if(this.slidesContainer=this.container.find(this.options.slidesContainer).first(),!this.slidesContainer.length)return this.console.log("blueimp Gallery: Slides container not found.",this.options.slidesContainer),!1;if(this.titleElement=this.container.find(this.options.titleElement).first(),this.num===1&&this.container.addClass(this.options.singleClass),this.options.onopen&&this.options.onopen.call(this),this.support.transition&&this.options.displayTransition)this.container.on(this.support.transition.end,i);else this.handleOpen();this.options.hidePageScrollbars&&(this.bodyOverflowStyle=document.body.style.overflow,document.body.style.overflow="hidden");this.container[0].style.display="block";this.initSlides();this.container.addClass(this.options.displayClass)},initOptions:function(t){this.options=n.extend({},this.options);(t&&t.carousel||this.options.carousel&&(!t||t.carousel!==!1))&&n.extend(this.options,this.carouselOptions);n.extend(this.options,t);this.num<3&&(this.options.continuous=this.options.continuous?null:!1);this.support.transition||(this.options.emulateTouchEvents=!1);this.options.event&&this.preventDefault(this.options.event)}}),t}),function(n){"use strict";typeof define=="function"&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],n):n(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(n,t){"use strict";n.extend(t.prototype.options,{indicatorContainer:"ol",activeIndicatorClass:"active",thumbnailProperty:"thumbnail",thumbnailIndicators:!0});var i=t.prototype.initSlides,r=t.prototype.addSlide,u=t.prototype.resetSlides,f=t.prototype.handleClick,e=t.prototype.handleSlide,o=t.prototype.handleClose;return n.extend(t.prototype,{createIndicator:function(t){var r=this.indicatorPrototype.cloneNode(!1),f=this.getItemProperty(t,this.options.titleProperty),e=this.options.thumbnailProperty,i,u;return this.options.thumbnailIndicators&&(e&&(i=this.getItemProperty(t,e)),i===undefined&&(u=t.getElementsByTagName&&n(t).find("img")[0],u&&(i=u.src)),i&&(r.style.backgroundImage='url("'+i+'")')),f&&(r.title=f),r},addIndicator:function(n){if(this.indicatorContainer.length){var t=this.createIndicator(this.list[n]);t.setAttribute("data-index",n);this.indicatorContainer[0].appendChild(t);this.indicators.push(t)}},setActiveIndicator:function(t){this.indicators&&(this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),this.activeIndicator=n(this.indicators[t]),this.activeIndicator.addClass(this.options.activeIndicatorClass))},initSlides:function(n){n||(this.indicatorContainer=this.container.find(this.options.indicatorContainer),this.indicatorContainer.length&&(this.indicatorPrototype=document.createElement("li"),this.indicators=this.indicatorContainer[0].children));i.call(this,n)},addSlide:function(n){r.call(this,n);this.addIndicator(n)},resetSlides:function(){u.call(this);this.indicatorContainer.empty();this.indicators=[]},handleClick:function(n){var i=n.target||n.srcElement,t=i.parentNode;if(t===this.indicatorContainer[0])this.preventDefault(n),this.slide(this.getNodeIndex(i));else if(t.parentNode===this.indicatorContainer[0])this.preventDefault(n),this.slide(this.getNodeIndex(t));else return f.call(this,n)},handleSlide:function(n){e.call(this,n);this.setActiveIndicator(n)},handleClose:function(){this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass);o.call(this)}}),t}),function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery","./blueimp-gallery"],n):n(window.jQuery,window.blueimp.Gallery)}(function(n,t){"use strict";n(document).on("click","[data-gallery]",function(i){var e=n(this).data("gallery"),o=n(e),r=o.length&&o||n(t.prototype.options.container),s={onopen:function(){r.data("gallery",this).trigger("open")},onopened:function(){r.trigger("opened")},onslide:function(){r.trigger("slide",arguments)},onslideend:function(){r.trigger("slideend",arguments)},onslidecomplete:function(){r.trigger("slidecomplete",arguments)},onclose:function(){r.trigger("close")},onclosed:function(){r.trigger("closed").removeData("gallery")}},u=n.extend(r.data(),{container:r[0],index:this,event:i},s),f=n(this).closest("[data-gallery-group], body").find('[data-gallery="'+e+'"]');return u.filter&&(f=f.filter(u.filter)),new t(f,u)})}),function(n){n.fn.hovercard=function(t){var i={openOnLeft:!1,openOnTop:!1,cardImgSrc:"",detailsHTML:"",loadingHTML:"Loading...",errorHTML:"Sorry, no data found.",pointsText:"",postsText:"",background:"#ffffff",delay:0,autoAdjust:!0,onHoverIn:function(){},onHoverOut:function(){}};return t=n.extend(i,t),this.each(function(){function u(r){r.find(".hc-details").eq(0).stop(!0,!0).fadeOut(300,function(){i.css("zIndex","50");typeof t.onHoverOut=="function"&&t.onHoverOut.call(this)});n("body").off("keydown")}function e(n){var i=n.find(".hc-details").eq(0),r=n[0].getBoundingClientRect(),u=r.left+35+i.width(),f=r.top+35+i.height();t.openOnLeft||t.autoAdjust&&u>window.innerWidth?i.addClass("hc-details-open-left"):i.removeClass("hc-details-open-left");t.openOnTop||t.autoAdjust&&f>window.innerHeight?i.addClass("hc-details-open-top"):i.removeClass("hc-details-open-top")}function o(i,r,u,f,o){var s,c,l,a,v,h;switch(i){case"yaf":c="json";l=u;s=function(n){var i=n.Online?"green":"red";return'<div class="s-card s-card-pad"><div class="card rounded-0" style="width: 330px;"><div class="card-header position-relative"><h6 class="card-title text-center">'+(n.RealName?n.RealName:n.Name)+"<\/h6>"+(n.Avatar?'<img src="'+n.Avatar+'" class="rounded mx-auto d-block" style="width:75px" alt="" />':"")+(n.Avatar?'<div class="position-absolute" style="top:0;right:0;border-width: 0 25px 25px 0; border-style: solid; border-color: transparent '+i+';" ><\/div>':"")+'<\/div><div class="card-body p-2"><ul class="list-unstyled mt-1 mb-3">'+(n.Location?'<li class="px-2 py-1"><i class="fas fa-home mr-1"><\/i>'+n.Location+"<\/li>":"")+(n.Rank?'<li class="px-2 py-1"><i class="fas fa-graduation-cap mr-1"><\/i>'+n.Rank+"<\/li>":"")+(n.Interests?'<li class="px-2 py-1"><i class="fas fa-running mr-1"><\/i>'+n.Interests+"<\/li>":"")+(n.Joined?'<li class="px-2 py-1"><i class="fas fa-user-check mr-1"><\/i>'+n.Joined+"<\/li>":"")+(n.HomePage?'<li class="px-2 py-1"><i class="fas fa-globe mr-1"><\/i><a href="'+n.HomePage+'" target="_blank">'+n.HomePage+"<\/a><\/li>":"")+'<\/ul ><div class="row no-gutters"><div class="col-5 p-1 small bg-secondary text-white d-flex align-items-center justify-content-between">'+t.postsText+':&nbsp;<span class="badge badge-light rounded">'+n.Posts+"<\/span><\/div>"+(n.Points?'<div class="flex-grow-1"><\/div><div class="col-5 p-1 small bg-secondary text-white d-flex align-items-center justify-content-between">'+t.pointsText+':&nbsp;<span class="badge badge-light rounded">'+n.Points+"<\/span><\/div>":"")+"<\/div>"+(n.ProfileLink?'<div class="row no-gutters p-1"><a class="btn btn-secondary btn-sm" role="button" href="'+n.ProfileLink+'"><i class="fas fa-external-link-alt"><\/i><\/a><\/div>':"")+"<\/div><\/div><\/div>"};v=t.loadingHTML;h=t.errorHTML;a=function(){};f.append('<span class="s-action s-close"><a href="javascript:void(0)"><i class="fa fa-close fa-fw"><\/i><\/a><\/span>')}n.isEmptyObject(o)?n.ajax({url:l,type:"GET",dataType:c,timeout:6e3,cache:!0,beforeSend:function(){f.find(".s-message").remove();f.append('<p class="s-message">'+v+"<\/p>")},success:function(i){i.length<=0?f.find(".s-message").html(h):(f.find(".s-message").replaceWith(s(i)),n(".hc-details").hide(),e(f.closest(".hc-preview")),f.stop(!0,!0).delay(t.delay).fadeIn(),a(i))},error:function(n,t,i){f.find(".s-message").html(h+i)}}):f.prepend(s(o))}var i=n(this).eq(0),r,f;i.wrap('<div class="hc-preview" />');i.addClass("hc-name");r="";t.cardImgSrc.length>0&&(r='<img class="hc-pic" src="'+t.cardImgSrc+'" />');f='<div class="hc-details" >'+r+t.detailsHTML+"<\/div>";i.after(f);i.siblings(".hc-details").eq(0).css({background:t.background});i.closest(".hc-preview").hoverIntent(function(){var f=n(this),r,s,h;if(e(f),i.css("zIndex","200"),r=f.find(".hc-details").eq(0),r.stop(!0,!0).delay(t.delay).fadeIn(),typeof t.onHoverIn=="function"){r.find(".s-card").length<=0&&(s=t.customDataUrl,typeof i.attr("data-hovercard")=="undefined"||i.attr("data-hovercard").length>0&&(s=i.attr("data-hovercard")),o("yaf","",s,r,t.customCardJSON));n("body").on("keydown",function(n){n.keyCode===27&&u(f)});h=r.find(".s-close").eq(0);h.click(function(){u(f)});t.onHoverIn.call(this)}},function(){u(n(this))})})}}(jQuery),function(n){n.fn.hoverIntent=function(t,i,r){var u={interval:100,sensitivity:7,timeout:0};u=typeof t=="object"?n.extend(u,t):n.isFunction(i)?n.extend(u,{over:t,out:i,selector:r}):n.extend(u,{over:t,out:t,selector:i});var f,e,o,s,h=function(n){f=n.pageX;e=n.pageY},c=function(t,i){if(i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(o-f)+Math.abs(s-e)<u.sensitivity)return n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s=1,u.over.apply(i,[t]);o=f;s=e;i.hoverIntent_t=setTimeout(function(){c(t,i)},u.interval)},a=function(n,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,u.out.apply(t,[n])},l=function(t){var r=jQuery.extend({},t),i=this;if(i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),t.type=="mouseenter"){o=r.pageX;s=r.pageY;n(i).on("mousemove.hoverIntent",h);i.hoverIntent_s!=1&&(i.hoverIntent_t=setTimeout(function(){c(r,i)},u.interval))}else n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s==1&&(i.hoverIntent_t=setTimeout(function(){a(r,i)},u.timeout))};return this.on({"mouseenter.hoverIntent":l,"mouseleave.hoverIntent":l},u.selector)}}(jQuery);var _self=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{},Prism=function(n){function i(n,t,i,r,u){this.type=n;this.content=t;this.alias=i;this.length=(r||"").length|0;this.greedy=!!u}function f(){t.manual||t.highlightAll()}var u=/\blang(?:uage)?-([\w-]+)\b/i,h=0,t={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function(n){return n instanceof i?new i(n.type,t.util.encode(n.content),n.alias):Array.isArray(n)?n.map(t.util.encode):n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++h}),n.__id},clone:function o(n,i){var r,u,e=t.util.type(n),f;i=i||{};switch(e){case"Object":if(u=t.util.objId(n),i[u])return i[u];r={};i[u]=r;for(f in n)n.hasOwnProperty(f)&&(r[f]=o(n[f],i));return r;case"Array":return(u=t.util.objId(n),i[u])?i[u]:(r=[],i[u]=r,n.forEach(function(n,t){r[t]=o(n,i)}),r);default:return n}},getLanguage:function(n){while(n&&!u.test(n.className))n=n.parentElement;return n?(n.className.match(u)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){var t,n,i;if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error;}catch(r){if(t=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(r.stack)||[])[1],t){n=document.getElementsByTagName("script");for(i in n)if(n[i].src==t)return n[i]}return null}}},languages:{extend:function(n,i){var r=t.util.clone(t.languages[n]);for(var u in i)r[u]=i[u];return r},insertBefore:function(n,i,r,u){var o,f,e,s,h;u=u||t.languages;o=u[n];f={};for(e in o)if(o.hasOwnProperty(e)){if(e==i)for(s in r)r.hasOwnProperty(s)&&(f[s]=r[s]);r.hasOwnProperty(e)||(f[e]=o[e])}return h=u[n],u[n]=f,t.languages.DFS(t.languages,function(t,i){i===h&&t!=n&&(this[t]=f)}),f},DFS:function s(n,i,r,u){var o,e,f,h;u=u||{};o=t.util.objId;for(e in n)n.hasOwnProperty(e)&&(i.call(n,e,n[e],r||e),f=n[e],h=t.util.type(f),h!=="Object"||u[o(f)]?h!=="Array"||u[o(f)]||(u[o(f)]=!0,s(f,i,e,u)):(u[o(f)]=!0,s(f,i,null,u)))}},plugins:{},highlightAll:function(n,i){t.highlightAllUnder(document,n,i)},highlightAllUnder:function(n,i,r){var u={callback:r,container:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'},f,e;for(t.hooks.run("before-highlightall",u),u.elements=Array.prototype.slice.apply(u.container.querySelectorAll(u.selector)),t.hooks.run("before-all-elements-highlight",u),f=0;e=u.elements[f++];)t.highlightElement(e,i===!0,u.callback)},highlightElement:function(i,r,f){function h(n){e.highlightedCode=n;t.hooks.run("before-insert",e);e.element.innerHTML=e.highlightedCode;t.hooks.run("after-highlight",e);t.hooks.run("complete",e);f&&f.call(e.element)}var s=t.util.getLanguage(i),a=t.languages[s],o,l,e,c;if(i.className=i.className.replace(u,"").replace(/\s+/g," ")+" language-"+s,o=i.parentNode,o&&o.nodeName.toLowerCase()==="pre"&&(o.className=o.className.replace(u,"").replace(/\s+/g," ")+" language-"+s),l=i.textContent,e={element:i,language:s,grammar:a,code:l},t.hooks.run("before-sanity-check",e),!e.code){t.hooks.run("complete",e);f&&f.call(e.element);return}if(t.hooks.run("before-highlight",e),!e.grammar){h(t.util.encode(e.code));return}r&&n.Worker?(c=new Worker(t.filename),c.onmessage=function(n){h(n.data)},c.postMessage(JSON.stringify({language:e.language,code:e.code,immediateClose:!0}))):h(t.highlight(e.code,e.grammar,e.language))},highlight:function(n,r,u){var f={code:n,grammar:r,language:u};return t.hooks.run("before-tokenize",f),f.tokens=t.tokenize(f.code,f.grammar),t.hooks.run("after-tokenize",f),i.stringify(t.util.encode(f.tokens),f.language)},matchGrammar:function(n,r,u,f,e,o,s){var v,y,p,et,l,a,w,st,h,d,ct;for(v in u)if(u.hasOwnProperty(v)&&u[v])for(y=u[v],y=Array.isArray(y)?y:[y],p=0;p<y.length;++p){if(s&&s==v+","+p)return;var c=y[p],ut=c.inside,ft=!!c.lookbehind,nt=!!c.greedy,tt=0,lt=c.alias;for(nt&&!c.pattern.global&&(et=c.pattern.toString().match(/[imsuy]*$/)[0],c.pattern=RegExp(c.pattern.source,et+"g")),c=c.pattern||c,l=f,a=e;l<r.length;a+=r[l].length,++l){if(w=r[l],r.length>n.length)return;if(!(w instanceof i)){if(nt&&l!=r.length-1){if(c.lastIndex=a,h=c.exec(n),!h)break;var it=h.index+(ft&&h[1]?h[1].length:0),ot=h.index+h[0].length,b=l,k=a;for(st=r.length;b<st&&(k<ot||!r[b].type&&!r[b-1].greedy);++b)k+=r[b].length,it>=k&&(++l,a=k);if(r[l]instanceof i)continue;d=b-l;w=n.slice(a,k);h.index-=a}else c.lastIndex=0,h=c.exec(w),d=1;if(!h){if(o)break;continue}ft&&(tt=h[1]?h[1].length:0);var it=h.index+tt,h=h[0].slice(tt),ot=it+h.length,rt=w.slice(0,it),ht=w.slice(ot),g=[l,d];if(rt&&(++l,a+=rt.length,g.push(rt)),ct=new i(v,ut?t.tokenize(h,ut):h,lt,h,nt),g.push(ct),ht&&g.push(ht),Array.prototype.splice.apply(r,g),d!=1&&t.matchGrammar(n,r,u,l,a,!0,v+","+p),o)break}}}},tokenize:function(n,i){var f=[n],r=i.rest,u;if(r){for(u in r)i[u]=r[u];delete i.rest}return t.matchGrammar(n,f,i,0,0,!1),f},hooks:{all:{},add:function(n,i){var r=t.hooks.all;r[n]=r[n]||[];r[n].push(i)},run:function(n,i){var r=t.hooks.all[n],u,f;if(r&&r.length)for(u=0;f=r[u++];)f(i)}},Token:i},r,e;return(n.Prism=t,i.stringify=function(n,r){var u,e,f;return typeof n=="string"?n:Array.isArray(n)?n.map(function(n){return i.stringify(n,r)}).join(""):(u={type:n.type,content:i.stringify(n.content,r),tag:"span",classes:["token",n.type],attributes:{},language:r},n.alias&&(e=Array.isArray(n.alias)?n.alias:[n.alias],Array.prototype.push.apply(u.classes,e)),t.hooks.run("wrap",u),f=Object.keys(u.attributes).map(function(n){return n+'="'+(u.attributes[n]||"").replace(/"/g,"&quot;")+'"'}).join(" "),"<"+u.tag+' class="'+u.classes.join(" ")+'"'+(f?" "+f:"")+">"+u.content+"<\/"+u.tag+">")},!n.document)?n.addEventListener?(t.disableWorkerMessageHandler||n.addEventListener("message",function(i){var r=JSON.parse(i.data),u=r.language,f=r.code,e=r.immediateClose;n.postMessage(t.highlight(f,t.languages[u],u));e&&n.close()},!1),t):t:(r=t.util.currentScript(),r&&(t.filename=r.src,r.hasAttribute("data-manual")&&(t.manual=!0)),t.manual||(e=document.readyState,e==="loading"||e==="interactive"&&r&&r.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)),t)}(_self);typeof module!="undefined"&&module.exports&&(module.exports=Prism);typeof global!="undefined"&&(global.Prism=Prism);Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:(?!<!--)[^"'\]]|"[^"]*"|'[^']*'|<!--[\s\S]*?-->)*\]\s*)?>/i,greedy:!0},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(n,t){var i={},r,u;i["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]};i.cdata=/^<!\[CDATA\[|\]\]>$/i;r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};u={};u[n]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[[\s\S]*?\]\]>\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,n),"i"),lookbehind:!0,greedy:!0,inside:r};Prism.languages.insertBefore("markup","cdata",u)}});Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup,function(n){var i=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+i.source+"|[^\n\r()]*)\\)","i"),inside:{"function":/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+i.source+")*?(?=\\s*\\{)"),string:{pattern:i,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/};n.languages.css.atrule.inside.rest=n.languages.css;t=n.languages.markup;t&&(t.tag.addInlined("style","css"),n.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:t.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:n.languages.css}},alias:"language-css"}},t.tag))}(Prism);Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,"function":/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0},],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,"function":/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&|\|\||[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?[.?]?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*[\s\S]*?\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}});Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript");Prism.languages.js=Prism.languages.javascript;Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(?:abstract|add|alias|as|ascending|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|descending|do|double|dynamic|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|from|get|global|goto|group|if|implicit|in|int|interface|internal|into|is|join|let|lock|long|namespace|new|null|object|operator|orderby|out|override|params|partial|private|protected|public|readonly|ref|remove|return|sbyte|sealed|select|set|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|value|var|virtual|void|volatile|where|while|yield)\b/,string:[{pattern:/@("|')(?:\1\1|\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*?\1/,greedy:!0}],"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=\s+\w+)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|interface|new)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)f?/i,operator:/>>=?|<<=?|[-=]>|([-+&|?])\1|~|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/});Prism.languages.insertBefore("csharp","class-name",{"generic-method":{pattern:/\w+\s*<[^>\r\n]+?>\s*(?=\()/,inside:{"function":/^\w+/,"class-name":{pattern:/\b[A-Z]\w*(?:\.\w+)*\b/,inside:{punctuation:/\./}},keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp;Prism.languages.aspnet=Prism.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/i,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:Prism.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/i,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/i,alias:"tag"},rest:Prism.languages.csharp}}});Prism.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;Prism.languages.insertBefore("inside","punctuation",{directive:Prism.languages.aspnet.directive},Prism.languages.aspnet.tag.inside["attr-value"]);Prism.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}});Prism.languages.insertBefore("aspnet",Prism.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server['"]?)[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:Prism.languages.csharp||{}}}),function(n){var i="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={environment:{pattern:RegExp("\\$"+i),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+i),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/},u,f,t;for(n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+i),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s*(?:\r?\n|\r)[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s*(?:\r?\n|\r)[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:r}],environment:{pattern:RegExp("\\$?"+i),alias:"constant"},variable:r.variable,"function":{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],f=r.variable[1].inside,t=0;t<u.length;t++)f[u[t]]=n.languages.bash[u[t]];n.languages.shell=n.languages.bash}(Prism);Prism.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,"function":/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/};Prism.languages.c=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/});delete Prism.languages.c.boolean;Prism.languages.cpp=Prism.languages.extend("c",{"class-name":{pattern:/(\b(?:class|enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/});Prism.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),function(n){n.languages.css.selector={pattern:n.languages.css.selector,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,"class":/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:{pattern:/\[(?:[^[\]"']|("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1)*\]/,greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)[-*\w\xA0-\uFFFF]*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},attribute:{pattern:/^(\s*)[-\w\xA0-\uFFFF]+/,lookbehind:!0},value:[/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,{pattern:/(=\s*)[-\w\xA0-\uFFFF]+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],punctuation:/[()]/}};n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*/i,lookbehind:!0}});var t={pattern:/(\d)(?:%|[a-z]+)/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?\d*\.?\d+/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#(?:[\da-f]{1,2}){3,4}\b/i,alias:"color"},color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:rgb|hsl)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:rgb|hsl)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:i,"function":/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:i})}(Prism);Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m},function(n){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|null|open|opens|package|private|protected|provides|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,i=/\b[A-Z](?:\w*[a-z]\w*)?\b/;n.languages.java=n.languages.extend("clike",{"class-name":[i,/\b[A-Z]\w*(?=\s+\w+\s*[;,=())])/],keyword:t,"function":[n.languages.clike.function,{pattern:/(\:\:)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x[\da-f_]*\.?[\da-f_p+-]+\b|(?:\b\d[\d_]*\.?[\d_]*|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}});n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}});n.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(?:\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},"function":{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,"null":{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},"function":/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+\.?\d*|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};Prism.languages.vbnet=Prism.languages.extend("basic",{keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0}]});Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/};Prism.languages.vb=Prism.languages["visual-basic"],function(){function n(n,t){return Array.prototype.slice.call((t||document).querySelectorAll(n))}function r(n,t){return t=" "+t+" ",(" "+n.className+" ").replace(/[\n\t]/g," ").indexOf(t)>-1}function u(n){n()}function t(n,t,i){t=typeof t=="string"?t:n.getAttribute("data-line");var s=t.replace(/\s+/g,"").split(","),h=+n.getAttribute("data-line-offset")||0,c=f()?parseInt:parseFloat,l=c(getComputedStyle(n).lineHeight),o=r(n,"line-numbers"),a=o?n:n.querySelector("code")||n,e=[];return s.forEach(function(t){var v=t.split("-"),u=+v[0],f=+v[1]||u,r=n.querySelector('.line-highlight[data-range="'+t+'"]')||document.createElement("div"),s,c,y,p;e.push(function(){r.setAttribute("aria-hidden","true");r.setAttribute("data-range",t);r.className=(i||"")+" line-highlight"});o&&Prism.plugins.lineNumbers?(s=Prism.plugins.lineNumbers.getLine(n,u),c=Prism.plugins.lineNumbers.getLine(n,f),s&&(y=s.offsetTop+"px",e.push(function(){r.style.top=y})),c&&(p=c.offsetTop-s.offsetTop+c.offsetHeight+"px",e.push(function(){r.style.height=p}))):e.push(function(){r.setAttribute("data-start",u);f>u&&r.setAttribute("data-end",f);r.style.top=(u-h-1)*l+"px";r.textContent=new Array(f-u+2).join(" \n")});e.push(function(){a.appendChild(r)})}),function(){e.forEach(u)}}function e(){var r=location.hash.slice(1),u,f,i,e;(n(".temporary.line-highlight").forEach(function(n){n.parentNode.removeChild(n)}),u=(r.match(/\.([\d,-]+)$/)||[,""])[1],u&&!document.getElementById(r))&&(f=r.slice(0,r.lastIndexOf(".")),i=document.getElementById(f),i)&&(i.hasAttribute("data-line")||i.setAttribute("data-line",""),e=t(i,u,"temporary "),e(),document.querySelector(".temporary.line-highlight").scrollIntoView())}var f,i;typeof self!="undefined"&&self.Prism&&self.document&&document.querySelector&&(f=function(){var n;return function(){if(typeof n=="undefined"){var t=document.createElement("div");t.style.fontSize="13px";t.style.lineHeight="1.5";t.style.padding=0;t.style.border=0;t.innerHTML="&nbsp;<br />&nbsp;";document.body.appendChild(t);n=t.offsetHeight===38;document.body.removeChild(t)}return n}}(),i=0,Prism.hooks.add("before-sanity-check",function(t){var i=t.element.parentNode,u=i&&i.getAttribute("data-line"),r;i&&u&&/pre/i.test(i.nodeName)&&(r=0,n(".line-highlight",i).forEach(function(n){r+=n.textContent.length;n.parentNode.removeChild(n)}),r&&/^( \n)+$/.test(t.code.slice(-r))&&(t.code=t.code.slice(0,-r)))}),Prism.hooks.add("complete",function o(n){var u=n.element.parentNode,f=u&&u.getAttribute("data-line"),s,h,c;u&&f&&/pre/i.test(u.nodeName)&&(clearTimeout(i),s=Prism.plugins.lineNumbers,h=n.plugins&&n.plugins.lineNumbers,r(u,"line-numbers")&&s&&!h?Prism.hooks.add("line-numbers",o):(c=t(u,f),c(),i=setTimeout(e,1)))}),window.addEventListener("hashchange",e),window.addEventListener("resize",function(){var i=[];n("pre[data-line]").forEach(function(n){i.push(t(n))});i.forEach(u)}))}(),function(){if(typeof self!="undefined"&&self.Prism&&self.document){var n="line-numbers",t=/\n(?!$)/g,i=function(n){var e=r(n),u=e["white-space"];if(u==="pre-wrap"||u==="pre-line"){var f=n.querySelector("code"),o=n.querySelector(".line-numbers-rows"),i=n.querySelector(".line-numbers-sizer"),s=f.textContent.split(t);i||(i=document.createElement("span"),i.className="line-numbers-sizer",f.appendChild(i));i.style.display="block";s.forEach(function(n,t){i.textContent=n||"\n";var r=i.getBoundingClientRect().height;o.children[t].style.height=r+"px"});i.textContent="";i.style.display="none"}},r=function(n){return n?window.getComputedStyle?getComputedStyle(n):n.currentStyle||null:null};window.addEventListener("resize",function(){Array.prototype.forEach.call(document.querySelectorAll("pre."+n),i)});Prism.hooks.add("complete",function(n){var u,r,s,o,f;if(n.code&&(u=n.element,r=u.parentNode,r&&/pre/i.test(r.nodeName))&&!u.querySelector(".line-numbers-rows")){for(s=!1,o=/(?:^|\s)line-numbers(?:\s|$)/,f=u;f;f=f.parentNode)if(o.test(f.className)){s=!0;break}if(s){u.className=u.className.replace(o," ");o.test(r.className)||(r.className+=" line-numbers");var h=n.code.match(t),c=h?h.length+1:1,e,l=new Array(c+1).join("<span><\/span>");e=document.createElement("span");e.setAttribute("aria-hidden","true");e.className="line-numbers-rows";e.innerHTML=l;r.hasAttribute("data-start")&&(r.style.counterReset="linenumber "+(parseInt(r.getAttribute("data-start"),10)-1));n.element.appendChild(e);i(r);Prism.hooks.run("line-numbers",n)}}});Prism.hooks.add("line-numbers",function(n){n.plugins=n.plugins||{};n.plugins.lineNumbers=!0});Prism.plugins.lineNumbers={getLine:function(t,i){var e;if(t.tagName==="PRE"&&t.classList.contains(n)){var u=t.querySelector(".line-numbers-rows"),r=parseInt(t.getAttribute("data-start"),10)||1,f=r+(u.children.length-1);return i<r&&(i=r),i>f&&(i=f),e=i-r,u.children[e]}}}}}(),function(){if((typeof self=="undefined"||self.Prism)&&(typeof global=="undefined"||global.Prism)){var n=/\b([a-z]{3,7}:\/\/|tel:)[\w\-+%~/.:=&@]+(?:\?[\w\-+%~/.:=?&!$'()*,;@]*)?(?:#[\w\-+%~/.:#=?&!$'()*,;@]*)?/,t=/\b\S+@[\w.]+[a-z]{2}/,i=/\[([^\]]+)]\(([^)]+)\)/,r=["comment","url","attr-value","string"];Prism.plugins.autolinker={processGrammar:function(u){u&&!u["url-link"]&&(Prism.languages.DFS(u,function(u,f,e){r.indexOf(e)>-1&&!Array.isArray(f)&&(f.pattern||(f=this[u]={pattern:f}),f.inside=f.inside||{},e=="comment"&&(f.inside["md-link"]=i),e=="attr-value"?Prism.languages.insertBefore("inside","punctuation",{"url-link":n},f):f.inside["url-link"]=n,f.inside["email-link"]=t)}),u["url-link"]=n,u["email-link"]=t)}};Prism.hooks.add("before-highlight",function(n){Prism.plugins.autolinker.processGrammar(n.grammar)});Prism.hooks.add("wrap",function(n){var t,r;if(/-link$/.test(n.type)){n.tag="a";t=n.content;n.type=="email-link"&&t.indexOf("mailto:")!=0?t="mailto:"+t:n.type=="md-link"&&(r=n.content.match(i),t=r[2],n.content=r[1]);n.attributes.href=t;try{n.content=decodeURIComponent(n.content)}catch(u){}}})}}(),function(){function t(t){this.defaults=n({},t)}function r(n){return n.replace(/-(\w)/g,function(n,t){return t.toUpperCase()})}function i(n){for(var i=0,t=0;t<n.length;++t)n.charCodeAt(t)=="\t".charCodeAt(0)&&(i+=3);return n.length+i}var n=Object.assign||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n};(t.prototype={setDefaults:function(t){this.defaults=n(this.defaults,t)},normalize:function(t,i){var u,f;i=n(this.defaults,i);for(u in i)f=r(u),u!=="normalize"&&f!=="setDefaults"&&i[u]&&this[f]&&(t=this[f].call(this,t,i[u]));return t},leftTrim:function(n){return n.replace(/^\s+/,"")},rightTrim:function(n){return n.replace(/\s+$/,"")},tabsToSpaces:function(n,t){return t=t|0||4,n.replace(/\t/g,new Array(++t).join(" "))},spacesToTabs:function(n,t){return t=t|0||4,n.replace(RegExp(" {"+t+"}","g"),"\t")},removeTrailing:function(n){return n.replace(/\s*?$/gm,"")},removeInitialLineFeed:function(n){return n.replace(/^(?:\r?\n|\r)/,"")},removeIndent:function(n){var t=n.match(/^[^\S\n\r]*(?=\S)/gm);return!t||!t[0].length?n:(t.sort(function(n,t){return n.length-t.length}),!t[0].length)?n:n.replace(RegExp("^"+t[0],"gm"),"")},indent:function(n,t){return n.replace(/^[^\S\n\r]*(?=\S)/gm,new Array(++t).join("\t")+"$&")},breakLines:function(n,t){var r,u,f,o,e,s;for(t=t===!0?80:t|0||80,r=n.split("\n"),u=0;u<r.length;++u)if(!(i(r[u])<=t)){for(f=r[u].split(/(\s+)/g),o=0,e=0;e<f.length;++e)s=i(f[e]),o+=s,o>t&&(f[e]="\n"+f[e],o=s);r[u]=f.join("")}return r.join("\n")}},typeof module!="undefined"&&module.exports&&(module.exports=t),typeof Prism!="undefined")&&(Prism.plugins.NormalizeWhitespace=new t({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(n){var u=Prism.plugins.NormalizeWhitespace,t,f,r,i,c;if(!n.settings||n.settings["whitespace-normalization"]!==!1){if((!n.element||!n.element.parentNode)&&n.code){n.code=u.normalize(n.code,n.settings);return}if(t=n.element.parentNode,f=/(?:^|\s)no-whitespace-normalization(?:\s|$)/,n.code&&t&&t.nodeName.toLowerCase()==="pre"&&!f.test(t.className)&&!f.test(n.element.className)){var s=t.childNodes,e="",o="",h=!1;for(r=0;r<s.length;++r)i=s[r],i==n.element?h=!0:i.nodeName==="#text"&&(h?o+=i.nodeValue:e+=i.nodeValue,t.removeChild(i),--r);n.element.children.length&&Prism.plugins.KeepMarkup?(c=e+n.element.innerHTML+o,n.element.innerHTML=u.normalize(c,n.settings),n.code=n.element.textContent):(n.code=e+n.code+o,n.code=u.normalize(n.code,n.settings))}}}))}(),function(){var i,r;if(typeof self!="undefined"&&self.Prism&&self.document){var n=[],t={},u=function(){};Prism.plugins.toolbar={};i=Prism.plugins.toolbar.registerButton=function(i,r){var u;if(u=typeof r=="function"?r:function(n){var t;return typeof r.onClick=="function"?(t=document.createElement("button"),t.type="button",t.addEventListener("click",function(){r.onClick.call(this,n)})):typeof r.url=="string"?(t=document.createElement("a"),t.href=r.url):t=document.createElement("span"),r.className&&t.classList.add(r.className),t.textContent=r.text,t},i in t){console.warn('There is a button with the key "'+i+'" registered already.');return}n.push(t[i]=u)};r=Prism.plugins.toolbar.hook=function(i){var r=i.element.parentNode,f,e;r&&/pre/i.test(r.nodeName)&&(r.parentNode.classList.contains("code-toolbar")||(f=document.createElement("div"),f.classList.add("code-toolbar"),r.parentNode.insertBefore(f,r),f.appendChild(r),e=document.createElement("div"),e.classList.add("toolbar"),document.body.hasAttribute("data-toolbar-order")&&(n=document.body.getAttribute("data-toolbar-order").split(",").map(function(n){return t[n]||u})),n.forEach(function(n){var r=n(i),t;r&&(t=document.createElement("div"),t.classList.add("toolbar-item"),t.appendChild(r),e.appendChild(t))}),f.appendChild(e)))};i("label",function(n){var t=n.element.parentNode,i,r,u;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){u=t.getAttribute("data-label");try{r=document.querySelector("template#"+u)}catch(f){}return r?i=r.content:(t.hasAttribute("data-url")?(i=document.createElement("a"),i.href=t.getAttribute("data-url")):i=document.createElement("span"),i.textContent=u),i}});Prism.hooks.add("complete",r)}}(),function(){var n,t,i,r;if(typeof self!="undefined"&&self.Prism&&self.document){if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}n=window.ClipboardJS||undefined;n||typeof require!="function"||(n=require("clipboard"));t=[];n||(i=document.createElement("script"),r=document.querySelector("head"),i.onload=function(){if(n=window.ClipboardJS,n)while(t.length)t.pop()()},i.src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",r.appendChild(i));Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(i){function u(){var t=new n(r,{text:function(){return i.code}});t.on("success",function(){r.textContent="Copied!";f()});t.on("error",function(){r.textContent="Press Ctrl+C to copy";f()})}function f(){setTimeout(function(){r.textContent="Copy"},5e3)}var r=document.createElement("button");return r.textContent="Copy",n?u():t.push(u),r})}}(),function(n){var t=function(t){var i=this;this.sel=null;this.parentID=t.parentID;this.URL=t.URL;this.ToolTip=t.ToolTip;this.textSelection="";this.htmlSelection="";this.getSelectionText=function(n){var e="",t="",f=n||window.getSelection(),r,u,o;if(f.rangeCount){for(r=document.createElement("div"),u=0,o=f.rangeCount;u<o;++u)r.appendChild(f.getRangeAt(u).cloneContents());t=r.textContent;e=r.innerHTML}return i.textSelection=t,i.htmlSelection=e||t,t};this.selectionDirection=function(n){var t=n||window.getSelection(),i=document.createRange();return t.anchorNode?(i.setStart(t.anchorNode,t.anchorOffset),i.setEnd(t.focusNode,t.focusOffset),i.collapsed?"backward":"forward"):0};this.showPopunder=function(){var t,r,f,n,u,e;if(i.popunder=i.popunder||document.getElementById("selectionSharerPopunder"),t=window.getSelection(),r=i.getSelectionText(t),t.isCollapsed||r.length<10||!r.match(/ /))return i.hidePopunder();if(i.popunder.classList.contains("fixed"))return i.popunder.style.bottom=0;if(f=t.getRangeAt(0),n=f.endContainer.parentNode,i.popunder.classList.contains("show"))return Math.ceil(i.popunder.getBoundingClientRect().top)==Math.ceil(n.getBoundingClientRect().bottom)?void 0:i.hidePopunder(i.showPopunder);n.nextElementSibling?i.pushSiblings(n):(i.placeholder||(i.placeholder=document.createElement("div"),i.placeholder.className="selectionSharerPlaceholder"),u=window.getComputedStyle(n).marginBottom,i.placeholder.style.height=u,i.placeholder.style.marginBottom=-2*parseInt(u,10)+"px",n.parentNode.insertBefore(i.placeholder));e=window.pageYOffset+n.getBoundingClientRect().bottom;i.popunder.style.top=Math.ceil(e)+"px";setTimeout(function(){i.placeholder&&i.placeholder.classList.add("show");i.popunder.classList.add("show")},0)};this.pushSiblings=function(n){while(n=n.nextElementSibling)n.classList.add("selectionSharer"),n.classList.add("moveDown")};this.hidePopunder=function(n){if(n=n||function(){},i.popunder=="fixed")return i.popunder.style.bottom="-50px",n();i.popunder.classList.remove("show");i.placeholder&&i.placeholder.classList.remove("show");for(var t=document.getElementsByClassName("moveDown");el=t[0];)el.classList.remove("moveDown");setTimeout(function(){i.placeholder&&document.body.insertBefore(i.placeholder);n()},600)};this.show=function(n){setTimeout(function(){var r=window.getSelection(),f=i.getSelectionText(r),u;if(!r.isCollapsed&&f&&f.length>10&&f.match(/ /)){var o=r.getRangeAt(0),s=o.getBoundingClientRect().top-5,e=s+window.scrollY-i.$popover.height(),t=0;if(n)t=n.pageX;else{u=r.anchorNode.parentNode;t+=u.offsetWidth/2;do t+=u.offsetLeft;while(u=u.offsetParent)}switch(i.selectionDirection(r)){case"forward":t-=i.$popover.width();break;case"backward":t+=i.$popover.width();break;default:return}i.$popover.removeClass("anim").css("top",e+10).css("left",t).show();setTimeout(function(){i.$popover.addClass("anim").css("top",e)},0)}},10)};this.hide=function(){i.$popover.hide()};this.smart_truncate=function(n,t){if(!n||!n.length)return n;var r=n.length>t,i=r?n.substr(0,t-1):n;return i=r?i.substr(0,i.lastIndexOf(" ")):i,r?i+"...":i};this.shareQuote=function(t){t.preventDefault();var r=n(this).attr("id").replace("Message",""),u=i.htmlSelection.replace(/<p[^>]*>/ig,"\n").replace(/<\/p>|  /ig,"").trim(),f=i.URL+"&q="+r+"&text="+encodeURIComponent(u);window.location.href=f};this.render=function(){var t='<div class="selectionSharer" id="selectionSharerPopover" style="position:absolute;">  <div id="selectionSharerPopover-inner">    <ul>      <li><a class="action quote" id="Message'+i.parentID+'" href="" title="'+i.ToolTip+'"><i class="fas fa-quote-left"><\/i><\/a><\/li>    <\/ul>  <\/div>  <div class="selectionSharerPopover-clip"><span class="selectionSharerPopover-arrow"><\/span><\/div><\/div>',r='<div id="selectionSharerPopunder" class="selectionSharer">  <div id="selectionSharerPopunder-inner">    <label>'+i.ToolTip+'<\/label>    <ul>      <li><a class="action quote" id="Message'+i.parentID+'" href="" title="'+i.ToolTip+'"><i class="fas fa-quote-left"><\/i><\/a><\/li>    <\/ul>  <\/div><\/div>';i.$popover=n(t);i.$popover.find("a.quote").click(i.shareQuote);n("body").append(i.$popover);i.$popunder=n(r);i.$popunder.find("a.quote").click(i.shareQuote);n("body").append(i.$popunder)};this.setElements=function(t){typeof t=="string"&&(t=n(t));i.$elements=t instanceof n?t:n(t);i.$elements.mouseup(i.show).mousedown(i.hide);i.$elements.bind("touchstart",function(){i.isMobile=!0});document.onselectionchange=i.selectionChanged};this.selectionChanged=function(n){i.isMobile&&(i.lastSelectionChanged&&clearTimeout(i.lastSelectionChanged),i.lastSelectionChanged=setTimeout(function(){i.showPopunder(n)},300))};this.render()};n.fn.selectedQuoting=function(n){n.parentID=this.attr("id");var i=new t(n);return i.setElements(this),this}}(jQuery);
/*! tablesorter (FORK) - updated 2019-12-01 (v2.31.2)*/
(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof module=="object"&&typeof module.exports=="object"?module.exports=n(require("jquery")):n(jQuery)})(function(n){
/*! TableSorter (FORK) v2.31.2 */
(function(n){"use strict";var t=n.tablesorter={version:"2.31.3",parsers:[],widgets:[],defaults:{theme:"default",widthFixed:!1,showProcessing:!1,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:!0,tabIndex:!0,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:!0,delayInit:!1,serverSideSorting:!1,resort:!0,headers:{},ignoreCase:!0,sortForce:null,sortList:[],sortAppend:null,sortStable:!1,sortInitialOrder:"asc",sortLocaleCompare:!1,sortReset:!1,sortRestart:!1,emptyTo:"bottom",stringTo:"max",duplicateSpan:!0,textExtraction:"basic",textAttribute:"data-text",textSorter:null,numberSorter:null,initWidgets:!0,widgetClass:"widget-{name}",widgets:[],widgetOptions:{zebra:["even","odd"]},initialized:null,tableClass:"",cssAsc:"",cssDesc:"",cssNone:"",cssHeader:"",cssHeaderRow:"",cssProcessing:"",cssChildRow:"tablesorter-childRow",cssInfoBlock:"tablesorter-infoOnly",cssNoSort:"tablesorter-noSort",cssIgnoreRow:"tablesorter-ignoreRow",cssIcon:"tablesorter-icon",cssIconNone:"",cssIconAsc:"",cssIconDesc:"",cssIconDisabled:"",pointerClick:"click",pointerDown:"mousedown",pointerUp:"mouseup",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[],globalize:0,imgAttr:0},css:{table:"tablesorter",cssHasChild:"tablesorter-hasChildRow",childRow:"tablesorter-childRow",colgroup:"tablesorter-colgroup",header:"tablesorter-header",headerRow:"tablesorter-headerRow",headerIn:"tablesorter-header-inner",icon:"tablesorter-icon",processing:"tablesorter-processing",sortAsc:"tablesorter-headerAsc",sortDesc:"tablesorter-headerDesc",sortNone:"tablesorter-headerUnSorted"},language:{sortAsc:"Ascending sort applied, ",sortDesc:"Descending sort applied, ",sortNone:"No sort applied, ",sortDisabled:"sorting is disabled",nextAsc:"activate to apply an ascending sort",nextDesc:"activate to apply a descending sort",nextNone:"activate to remove the sort"},regex:{templateContent:/\{content\}/g,templateIcon:/\{icon\}/g,templateName:/\{name\}/i,spaces:/\s+/g,nonWord:/\W/g,formElements:/(input|select|button|textarea)/i,chunk:/(^([+\-]?(?:\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i,comma:/,/g,digitNonUS:/[\s|\.]/g,digitNegativeTest:/^\s*\([.\d]+\)/,digitNegativeReplace:/^\s*\(([.\d]+)\)/,digitTest:/^[\-+(]?\d+[)]?$/,digitReplace:/[,.'"\s]/g},string:{max:1,min:-1,emptymin:1,emptymax:-1,zero:0,none:0,"null":0,top:!0,bottom:!1},keyCodes:{enter:13},dates:{},instanceMethods:{},setup:function(i,r){if(!i||!i.tHead||i.tBodies.length===0||i.hasInitialized===!0){t.debug(r,"core")&&(i.hasInitialized?console.warn("Stopping initialization. Tablesorter has already been initialized"):console.error("Stopping initialization! No table, thead or tbody",i));return}var f="",u=n(i),e=n.metadata;i.hasInitialized=!1;i.isProcessing=!0;i.config=r;n.data(i,"tablesorter",r);t.debug(r,"core")&&(console[console.group?"group":"log"]("Initializing tablesorter v"+t.version),n.data(i,"startoveralltimer",new Date));r.supportsDataObject=function(n){return n[0]=parseInt(n[0],10),n[0]>1||n[0]===1&&parseInt(n[1],10)>=4}(n.fn.jquery.split("."));r.emptyTo=r.emptyTo.toLowerCase();r.stringTo=r.stringTo.toLowerCase();r.last={sortList:[],clickedIndex:-1};/tablesorter\-/.test(u.attr("class"))||(f=r.theme!==""?" tablesorter-"+r.theme:"");r.namespace=r.namespace?"."+r.namespace.replace(t.regex.nonWord,""):".tablesorter"+Math.random().toString(16).slice(2);r.table=i;r.$table=u.addClass(t.css.table+" "+r.tableClass+f+" "+r.namespace.slice(1)).attr("role","grid");r.$headers=u.find(r.selectorHeaders);r.$table.children().children("tr").attr("role","row");r.$tbodies=u.children("tbody:not(."+r.cssInfoBlock+")").attr({"aria-live":"polite","aria-relevant":"all"});r.$table.children("caption").length&&(f=r.$table.children("caption")[0],f.id||(f.id=r.namespace.slice(1)+"caption"),r.$table.attr("aria-labelledby",f.id));r.widgetInit={};r.textExtraction=r.$table.attr("data-text-extraction")||r.textExtraction||"basic";t.buildHeaders(r);t.fixColumnWidth(i);t.addWidgetFromClass(i);t.applyWidgetOptions(i);t.setupParsers(r);r.totalRows=0;r.debug&&t.validateOptions(r);r.delayInit||t.buildCache(r);t.bindEvents(i,r.$headers,!0);t.bindMethods(r);r.supportsDataObject&&typeof u.data().sortlist!="undefined"?r.sortList=u.data().sortlist:e&&u.metadata()&&u.metadata().sortlist&&(r.sortList=u.metadata().sortlist);t.applyWidget(i,!0);r.sortList.length>0?(r.last.sortList=r.sortList,t.sortOn(r,r.sortList,{},!r.initWidgets)):(t.setHeadersCss(r),r.initWidgets&&t.applyWidget(i,!1));r.showProcessing&&u.unbind("sortBegin"+r.namespace+" sortEnd"+r.namespace).bind("sortBegin"+r.namespace+" sortEnd"+r.namespace,function(n){clearTimeout(r.timerProcessing);t.isProcessing(i);n.type==="sortBegin"&&(r.timerProcessing=setTimeout(function(){t.isProcessing(i,!0)},500))});i.hasInitialized=!0;i.isProcessing=!1;t.debug(r,"core")&&(console.log("Overall initialization time:"+t.benchmark(n.data(i,"startoveralltimer"))),t.debug(r,"core")&&console.groupEnd&&console.groupEnd());u.triggerHandler("tablesorter-initialized",i);typeof r.initialized=="function"&&r.initialized(i)},bindMethods:function(i){var u=i.$table,r=i.namespace,f="sortReset update updateRows updateAll updateHeaders addRows updateCell updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave ".split(" ").join(r+" ");u.unbind(f.replace(t.regex.spaces," ")).bind("sortReset"+r,function(n,i){n.stopPropagation();t.sortReset(this.config,function(n){n.isApplyingWidgets?setTimeout(function(){t.applyWidget(n,"",i)},100):t.applyWidget(n,"",i)})}).bind("updateAll"+r,function(n,i,r){n.stopPropagation();t.updateAll(this.config,i,r)}).bind("update"+r+" updateRows"+r,function(n,i,r){n.stopPropagation();t.update(this.config,i,r)}).bind("updateHeaders"+r,function(n,i){n.stopPropagation();t.updateHeaders(this.config,i)}).bind("updateCell"+r,function(n,i,r,u){n.stopPropagation();t.updateCell(this.config,i,r,u)}).bind("addRows"+r,function(n,i,r,u){n.stopPropagation();t.addRows(this.config,i,r,u)}).bind("updateComplete"+r,function(){this.isUpdating=!1}).bind("sorton"+r,function(n,i,r,u){n.stopPropagation();t.sortOn(this.config,i,r,u)}).bind("appendCache"+r,function(i,r,u){i.stopPropagation();t.appendCache(this.config,u);n.isFunction(r)&&r(this)}).bind("updateCache"+r,function(n,i,r){n.stopPropagation();t.updateCache(this.config,i,r)}).bind("applyWidgetId"+r,function(n,i){n.stopPropagation();t.applyWidgetId(this,i)}).bind("applyWidgets"+r,function(n,i){n.stopPropagation();t.applyWidget(this,!1,i)}).bind("refreshWidgets"+r,function(n,i,r){n.stopPropagation();t.refreshWidgets(this,i,r)}).bind("removeWidget"+r,function(n,i,r){n.stopPropagation();t.removeWidget(this,i,r)}).bind("destroy"+r,function(n,i,r){n.stopPropagation();t.destroy(this,i,r)}).bind("resetToLoadState"+r,function(r){r.stopPropagation();t.removeWidget(this,!0,!1);var u=n.extend(!0,{},i.originalSettings);i=n.extend(!0,{},t.defaults,u);i.originalSettings=u;this.hasInitialized=!1;t.setup(this,i)})},bindEvents:function(i,r,u){i=n(i)[0];var e,f=i.config,o=f.namespace,s=null;u!==!0&&(r.addClass(o.slice(1)+"_extra_headers"),e=t.getClosest(r,"table"),e.length&&e[0].nodeName==="TABLE"&&e[0]!==i&&n(e[0]).addClass(o.slice(1)+"_extra_table"));e=(f.pointerDown+" "+f.pointerUp+" "+f.pointerClick+" sort keyup ").replace(t.regex.spaces," ").split(" ").join(o+" ");r.find(f.selectorSort).add(r.filter(f.selectorSort)).unbind(e).bind(e,function(i,r){var e,o,c,h=n(i.target),u=" "+i.type+" ";if(((i.which||i.button)===1||u.match(" "+f.pointerClick+" | sort | keyup "))&&(u!==" keyup "||i.which===t.keyCodes.enter)&&(!u.match(" "+f.pointerClick+" ")||typeof i.which=="undefined")&&(!u.match(" "+f.pointerUp+" ")||s===i.target||r===!0)){if(u.match(" "+f.pointerDown+" ")){s=i.target;c=h.jquery.split(".");c[0]==="1"&&c[1]<4&&i.preventDefault();return}if(s=null,e=t.getClosest(n(this),"."+t.css.header),t.regex.formElements.test(i.target.nodeName)||h.hasClass(f.cssNoSort)||h.parents("."+f.cssNoSort).length>0||e.hasClass("sorter-false")||h.parents("button").length>0)return!f.cancelSelection;f.delayInit&&t.isEmptyObject(f.cache)&&t.buildCache(f);f.last.clickedIndex=e.attr("data-column")||e.index();o=f.$headerIndexed[f.last.clickedIndex][0];o&&!o.sortDisabled&&t.initSort(f,o,i)}});f.cancelSelection&&r.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"})},buildHeaders:function(i){var u,f,e,r;for(i.headerList=[],i.headerContent=[],i.sortVars=[],t.debug(i,"core")&&(e=new Date),i.columns=t.computeColumnIndex(i.$table.children("thead, tfoot").children("tr")),f=i.cssIcon?'<i class="'+(i.cssIcon===t.css.icon?t.css.icon:i.cssIcon+" "+t.css.icon)+'"><\/i>':"",i.$headers=n(n.map(i.$table.find(i.selectorHeaders),function(r,u){var l,h,s,c,o,e=n(r);if(!t.getClosest(e,"tr").hasClass(i.cssIgnoreRow))return/(th|td)/i.test(r.nodeName)||(o=t.getClosest(e,"th, td"),e.attr("data-column",o.attr("data-column"))),l=t.getColumnData(i.table,i.headers,u,!0),i.headerContent[u]=e.html(),i.headerTemplate===""||e.find("."+t.css.headerIn).length||(c=i.headerTemplate.replace(t.regex.templateContent,e.html()).replace(t.regex.templateIcon,e.find("."+t.css.icon).length?"":f),i.onRenderTemplate&&(h=i.onRenderTemplate.apply(e,[u,c]),h&&typeof h=="string"&&(c=h)),e.html('<div class="'+t.css.headerIn+'">'+c+"<\/div>")),i.onRenderHeader&&i.onRenderHeader.apply(e,[u,i,i.$table]),s=parseInt(e.attr("data-column"),10),r.column=s,o=t.getOrder(t.getData(e,l,"sortInitialOrder")||i.sortInitialOrder),i.sortVars[s]={count:-1,order:o?i.sortReset?[1,0,2]:[1,0]:i.sortReset?[0,1,2]:[0,1],lockedOrder:!1,sortedBy:""},o=t.getData(e,l,"lockedOrder")||!1,typeof o!="undefined"&&o!==!1&&(i.sortVars[s].lockedOrder=!0,i.sortVars[s].order=t.getOrder(o)?[1,1]:[0,0]),i.headerList[u]=r,e.addClass(t.css.header+" "+i.cssHeader),t.getClosest(e,"tr").addClass(t.css.headerRow+" "+i.cssHeaderRow).attr("role","row"),i.tabIndex&&e.attr("tabindex",0),r})),i.$headerIndexed=[],r=0;r<i.columns;r++)t.isEmptyObject(i.sortVars[r])&&(i.sortVars[r]={}),u=i.$headers.filter('[data-column="'+r+'"]'),i.$headerIndexed[r]=u.length?u.not(".sorter-false").length?u.not(".sorter-false").filter(":last"):u.filter(":last"):n();i.$table.find(i.selectorHeaders).attr({scope:"col",role:"columnheader"});t.updateHeader(i);t.debug(i,"core")&&(console.log("Built headers:"+t.benchmark(e)),console.log(i.$headers))},addInstanceMethods:function(i){n.extend(t.instanceMethods,i)},setupParsers:function(n,i){var a,f,e,v,r,y,u,h,k,o,s,d,p,c,g=n.table,w=0,l=t.debug(n,"core"),b={};if(n.$tbodies=n.$table.children("tbody:not(."+n.cssInfoBlock+")"),p=typeof i=="undefined"?n.$tbodies:i,c=p.length,c===0)return l?console.warn("Warning: *Empty table!* Not building a parser cache"):"";for(l&&(d=new Date,console[console.group?"group":"log"]("Detecting parsers for each column")),f={extractors:[],parsers:[]};w<c;){if(a=p[w].rows,a.length)for(r=0,v=n.columns,y=0;y<v;y++){if(u=n.$headerIndexed[r],u&&u.length&&(h=t.getColumnData(g,n.headers,r),s=t.getParserById(t.getData(u,h,"extractor")),o=t.getParserById(t.getData(u,h,"sorter")),k=t.getData(u,h,"parser")==="false",n.empties[r]=(t.getData(u,h,"empty")||n.emptyTo||(n.emptyToBottom?"bottom":"top")).toLowerCase(),n.strings[r]=(t.getData(u,h,"string")||n.stringTo||"max").toLowerCase(),k&&(o=t.getParserById("no-parser")),s||(s=!1),o||(o=t.detectParserForColumn(n,a,-1,r)),l&&(b["("+r+") "+u.text()]={parser:o.id,extractor:s?s.id:"none",string:n.strings[r],empty:n.empties[r]}),f.parsers[r]=o,f.extractors[r]=s,e=u[0].colSpan-1,e>0))for(r+=e,v+=e;e+1>0;)f.parsers[r-e]=o,f.extractors[r-e]=s,e--;r++}w+=f.parsers.length?c:1}l&&(t.isEmptyObject(b)?console.warn("  No parsers detected!"):console[console.table?"table":"log"](b),console.log("Completed detecting parsers"+t.benchmark(d)),console.groupEnd&&console.groupEnd());n.parsers=f.parsers;n.extractors=f.extractors},addParser:function(n){for(var u=t.parsers.length,r=!0,i=0;i<u;i++)t.parsers[i].id.toLowerCase()===n.id.toLowerCase()&&(r=!1);r&&(t.parsers[t.parsers.length]=n)},getParserById:function(n){if(n=="false")return!1;for(var r=t.parsers.length,i=0;i<r;i++)if(t.parsers[i].id.toLowerCase()===n.toString().toLowerCase())return t.parsers[i];return!1},detectParserForColumn:function(i,r,u,f){for(var e,c,h,l=t.parsers.length,o=!1,s="",v=t.debug(i,"core"),a=!0;s===""&&a;)u++,h=r[u],h&&u<50?h.className.indexOf(t.cssIgnoreRow)<0&&(o=r[u].cells[f],s=t.getElementText(i,o,f),c=n(o),v&&console.log("Checking if value was empty on row "+u+", column: "+f+': "'+s+'"')):a=!1;while(--l>=0)if(e=t.parsers[l],e&&e.id!=="text"&&e.is&&e.is(s,i.table,o,c))return e;return t.getParserById("text")},getElementText:function(i,r,u){if(!r)return"";var o,e=i.textExtraction||"",f=r.jquery?r:n(r);return typeof e=="string"?e==="basic"&&typeof(o=f.attr(i.textAttribute))!="undefined"?n.trim(o):n.trim(r.textContent||f.text()):typeof e=="function"?n.trim(e(f[0],i.table,u)):typeof(o=t.getColumnData(i.table,e,u))=="function"?n.trim(o(f[0],i.table,u)):n.trim(f[0].textContent||f.text())},getParsedText:function(n,i,r,u){typeof u=="undefined"&&(u=t.getElementText(n,i,r));var f=""+u,e=n.parsers[r],o=n.extractors[r];return e&&(o&&typeof o.format=="function"&&(u=o.format(u,n.table,i,r)),f=e.id==="no-parser"?"":e.format(""+u,n.table,i,r),n.ignoreCase&&typeof f=="string"&&(f=f.toLowerCase())),f},buildCache:function(i,r,u){var a,s,w,v,e,y,g,h,nt,rt,o,ot,st,b,k,tt,c,f,ut,d,l,p,ft=i.table,et=i.parsers,it=t.debug(i,"core");if(i.$tbodies=i.$table.children("tbody:not(."+i.cssInfoBlock+")"),g=typeof u=="undefined"?i.$tbodies:u,i.cache={},i.totalRows=0,!et)return it?console.warn("Warning: *Empty table!* Not building a cache"):"";for(it&&(ot=new Date),i.showProcessing&&t.isProcessing(ft,!0),y=0;y<g.length;y++){for(tt=[],a=i.cache[y]={normalized:[]},st=g[y]&&g[y].rows.length||0,v=0;v<st;++v)if(b={child:[],raw:[]},h=n(g[y].rows[v]),nt=[],!h.hasClass(i.selectorRemove.slice(1))){if(h.hasClass(i.cssChildRow)&&v!==0){for(l=a.normalized.length-1,k=a.normalized[l][i.columns],k.$row=k.$row.add(h),h.prev().hasClass(i.cssChildRow)||h.prev().addClass(t.css.cssHasChild),rt=h.children("th, td"),l=k.child.length,k.child[l]=[],f=0,d=i.columns,e=0;e<d;e++)o=rt[e],o&&(k.child[l][e]=t.getParsedText(i,o,e),c=rt[e].colSpan-1,c>0&&(f+=c,d+=c)),f++;continue}for(b.$row=h,b.order=v,f=0,d=i.columns,e=0;e<d;++e){if(o=h[0].cells[e],o&&f<i.columns&&(ut=typeof et[f]!="undefined",!ut&&it&&console.warn("No parser found for row: "+v+", column: "+e+'; cell containing: "'+n(o).text()+'"; does it have a header?'),s=t.getElementText(i,o,f),b.raw[f]=s,w=t.getParsedText(i,o,f,s),nt[f]=w,ut&&(et[f].type||"").toLowerCase()==="numeric"&&(tt[f]=Math.max(Math.abs(w)||0,tt[f]||0)),c=o.colSpan-1,c>0)){for(p=0;p<=c;)w=i.duplicateSpan||p===0?s:typeof i.textExtraction!="string"?t.getElementText(i,o,f+p)||"":"",b.raw[f+p]=w,nt[f+p]=w,p++;f+=c;d+=c}f++}nt[i.columns]=b;a.normalized[a.normalized.length]=nt}a.colMax=tt;i.totalRows+=a.normalized.length}if(i.showProcessing&&t.isProcessing(ft),it){for(l=Math.min(5,i.cache[0].normalized.length),console[console.group?"group":"log"]("Building cache for "+i.totalRows+" rows (showing "+l+" rows in log) and "+i.columns+" columns"+t.benchmark(ot)),s={},e=0;e<i.columns;e++)for(f=0;f<l;f++)s["row: "+f]||(s["row: "+f]={}),s["row: "+f][i.$headerIndexed[e].text()]=i.cache[0].normalized[f][e];console[console.table?"table":"log"](s);console.groupEnd&&console.groupEnd()}n.isFunction(r)&&r(ft)},getColumnText:function(i,r,u,f){i=n(i)[0];var h,c,l,e,b,k,a,v,y,p,d=typeof u=="function",w=r==="all",o={raw:[],parsed:[],$cell:[]},s=i.config;if(t.isEmptyObject(s))t.debug(s,"core")&&console.warn("No cache found - aborting getColumnText function!");else{for(b=s.$tbodies.length,h=0;h<b;h++)for(l=s.cache[h].normalized,k=l.length,c=0;c<k;c++)(e=l[c],!f||e[s.columns].$row.is(f))&&(p=!0,v=w?e.slice(0,s.columns):e[r],e=e[s.columns],a=w?e.raw:e.raw[r],y=w?e.$row.children():e.$row.children().eq(r),d&&(p=u({tbodyIndex:h,rowIndex:c,parsed:v,raw:a,$row:e.$row,$cell:y})),p!==!1&&(o.parsed[o.parsed.length]=v,o.raw[o.raw.length]=a,o.$cell[o.$cell.length]=y));return o}},setHeadersCss:function(i){var r,e,f=i.sortList,o=f.length,c=t.css.sortNone+" "+i.cssNone,h=[t.css.sortAsc+" "+i.cssAsc,t.css.sortDesc+" "+i.cssDesc],s=[i.cssIconAsc,i.cssIconDesc,i.cssIconNone],v=["ascending","descending"],l=function(n,i){n.removeClass(c).addClass(h[i]).attr("aria-sort",v[i]).find("."+t.css.icon).removeClass(s[2]).addClass(s[i])},a=i.$table.find("tfoot tr").children("td, th").add(n(i.namespace+"_extra_headers")).removeClass(h.join(" ")),u=i.$headers.add(n("thead "+i.namespace+"_extra_headers")).removeClass(h.join(" ")).addClass(c).attr("aria-sort","none").find("."+t.css.icon).removeClass(s.join(" ")).end();for(u.not(".sorter-false").find("."+t.css.icon).addClass(s[2]),i.cssIconDisabled&&u.filter(".sorter-false").find("."+t.css.icon).addClass(i.cssIconDisabled),r=0;r<o;r++)if(f[r][1]!==2){if(u=i.$headers.filter(function(n){for(var r=!0,f=i.$headers.eq(n),u=parseInt(f.attr("data-column"),10),e=u+t.getClosest(f,"th, td")[0].colSpan;u<e;u++)r=r?r||t.isValueInArray(u,i.sortList)>-1:!1;return r}),u=u.not(".sorter-false").filter('[data-column="'+f[r][0]+'"]'+(o===1?":last":"")),u.length)for(e=0;e<u.length;e++)u[e].sortDisabled||l(u.eq(e),f[r][1]);a.length&&l(a.filter('[data-column="'+f[r][0]+'"]'),f[r][1])}for(o=i.$headers.length,r=0;r<o;r++)t.setColumnAriaLabel(i,i.$headers.eq(r))},getClosest:function(t,i){return n.fn.closest?t.closest(i):t.is(i)?t:t.parents(i).filter(":first")},setColumnAriaLabel:function(i,r,u){if(r.length){var s=parseInt(r.attr("data-column"),10),f=i.sortVars[s],e=r.hasClass(t.css.sortAsc)?"sortAsc":r.hasClass(t.css.sortDesc)?"sortDesc":"sortNone",o=n.trim(r.text())+": "+t.language[e];r.hasClass("sorter-false")||u===!1?o+=t.language.sortDisabled:(e=(f.count+1)%f.order.length,u=f.order[e],o+=t.language[u===0?"nextAsc":u===1?"nextDesc":"nextNone"]);r.attr("aria-label",o);f.sortedBy?r.attr("data-sortedBy",f.sortedBy):r.removeAttr("data-sortedBy")}},updateHeader:function(n){for(var f,r,u,e=n.table,o=n.$headers.length,i=0;i<o;i++)r=n.$headers.eq(i),u=t.getColumnData(e,n.headers,i,!0),f=t.getData(r,u,"sorter")==="false"||t.getData(r,u,"parser")==="false",t.setColumnSort(n,r,f)},setColumnSort:function(n,t,i){var r=n.table.id;t[0].sortDisabled=i;t[i?"addClass":"removeClass"]("sorter-false").attr("aria-disabled",""+i);n.tabIndex&&(i?t.removeAttr("tabindex"):t.attr("tabindex","0"));r&&(i?t.removeAttr("aria-controls"):t.attr("aria-controls",r))},updateHeaderSortCount:function(i,r){var f,u,s,o,h,c,l,e,a=r||i.sortList,v=a.length;for(i.sortList=[],o=0;o<v;o++)if(l=a[o],f=parseInt(l[0],10),f<i.columns){i.sortVars[f].order||(e=t.getOrder(i.sortInitialOrder)?i.sortReset?[1,0,2]:[1,0]:i.sortReset?[0,1,2]:[0,1],i.sortVars[f].order=e,i.sortVars[f].count=0);e=i.sortVars[f].order;u=(""+l[1]).match(/^(1|d|s|o|n)/);u=u?u[0]:"";switch(u){case"1":case"d":u=1;break;case"s":u=h||0;break;case"o":c=e[(h||0)%e.length];u=c===0?1:c===1?0:2;break;case"n":u=e[++i.sortVars[f].count%e.length];break;default:u=0}h=o===0?u:h;s=[f,parseInt(u,10)||0];i.sortList[i.sortList.length]=s;u=n.inArray(s[1],e);i.sortVars[f].count=u>=0?u:s[1]%e.length}},updateAll:function(n,i,r){var u=n.table;u.isUpdating=!0;t.refreshWidgets(u,!0,!0);t.buildHeaders(n);t.bindEvents(u,n.$headers,!0);t.bindMethods(n);t.commonUpdate(n,i,r)},update:function(n,i,r){var u=n.table;u.isUpdating=!0;t.updateHeader(n);t.commonUpdate(n,i,r)},updateHeaders:function(n,i){n.table.isUpdating=!0;t.buildHeaders(n);t.bindEvents(n.table,n.$headers,!0);t.resortComplete(n,i)},updateCell:function(i,r,u,f){if(n(r).closest("tr").hasClass(i.cssChildRow)){console.warn('Tablesorter Warning! "updateCell" for child row content has been disabled, use "update" instead');return}if(t.isEmptyObject(i.cache)){t.updateHeader(i);t.commonUpdate(i,u,f);return}i.table.isUpdating=!0;i.$table.find(i.selectorRemove).remove();var e,s,w,o,l,a,v=i.$tbodies,h=n(r),y=v.index(t.getClosest(h,"tbody")),p=i.cache[y],c=t.getClosest(h,"tr");if(r=h[0],v.length&&y>=0){if(w=v.eq(y).find("tr").not("."+i.cssChildRow).index(c),l=p.normalized[w],a=c[0].cells.length,a!==i.columns)for(o=0,e=!1,s=0;s<a;s++)e||c[0].cells[s]===r?e=!0:o+=c[0].cells[s].colSpan;else o=h.index();e=t.getElementText(i,r,o);l[i.columns].raw[o]=e;e=t.getParsedText(i,r,o,e);l[o]=e;(i.parsers[o].type||"").toLowerCase()==="numeric"&&(p.colMax[o]=Math.max(Math.abs(e)||0,p.colMax[o]||0));e=u!=="undefined"?u:i.resort;e!==!1?t.checkResort(i,e,f):t.resortComplete(i,f)}else t.debug(i,"core")&&console.error("updateCell aborted, tbody missing or not within the indicated table"),i.table.isUpdating=!1},addRows:function(i,r,u,f){var a,v,s,o,b,h,k,y,e,p,c,l,w,d=typeof r=="string"&&i.$tbodies.length===1&&/<tr/.test(r||""),g=i.table;if(d)r=n(r),i.$tbodies.append(r);else if(!r||!(r instanceof n)||t.getClosest(r,"table")[0]!==i.table)return t.debug(i,"core")&&console.error("addRows method requires (1) a jQuery selector reference to rows that have already been added to the table, or (2) row HTML string to be added to a table with only one tbody"),!1;if(g.isUpdating=!0,t.isEmptyObject(i.cache))t.updateHeader(i),t.commonUpdate(i,u,f);else{for(b=r.filter("tr").attr("role","row").length,s=i.$tbodies.index(r.parents("tbody").filter(":first")),i.parsers&&i.parsers.length||t.setupParsers(i),o=0;o<b;o++){for(e=0,k=r[o].cells.length,y=i.cache[s].normalized.length,c=[],p={child:[],raw:[],$row:r.eq(o),order:y},h=0;h<k;h++)l=r[o].cells[h],a=t.getElementText(i,l,e),p.raw[e]=a,v=t.getParsedText(i,l,e,a),c[e]=v,(i.parsers[e].type||"").toLowerCase()==="numeric"&&(i.cache[s].colMax[e]=Math.max(Math.abs(v)||0,i.cache[s].colMax[e]||0)),w=l.colSpan-1,w>0&&(e+=w),e++;c[i.columns]=p;i.cache[s].normalized[y]=c}t.checkResort(i,u,f)}},updateCache:function(n,i,r){n.parsers&&n.parsers.length||t.setupParsers(n,r);t.buildCache(n,i,r)},appendCache:function(n,i){var e,c,s,h,u,f,l,r=n.table,a=n.$tbodies,o=[],v=n.cache;if(t.isEmptyObject(v))return n.appender?n.appender(r,o):r.isUpdating?n.$table.triggerHandler("updateComplete",r):"";for(t.debug(n,"core")&&(l=new Date),f=0;f<a.length;f++)if(s=a.eq(f),s.length){for(h=t.processTbody(r,s,!0),e=v[f].normalized,c=e.length,u=0;u<c;u++)o[o.length]=e[u][n.columns].$row,n.appender&&(!n.pager||n.pager.removeRows||n.pager.ajax)||h.append(e[u][n.columns].$row);t.processTbody(r,h,!1)}n.appender&&n.appender(r,o);t.debug(n,"core")&&console.log("Rebuilt table"+t.benchmark(l));i||n.appender||t.applyWidget(r);r.isUpdating&&n.$table.triggerHandler("updateComplete",r)},commonUpdate:function(n,i,r){n.$table.find(n.selectorRemove).remove();t.setupParsers(n);t.buildCache(n);t.checkResort(n,i,r)},initSort:function(i,r,u){if(i.table.isUpdating)return setTimeout(function(){t.initSort(i,r,u)},50);var s,f,v,o,p,h,w,b=!u[i.sortMultiSortKey],y=i.table,k=i.$headers.length,c=t.getClosest(n(r),"th, td"),e=parseInt(c.attr("data-column"),10),a=u.type==="mouseup"?"user":u.type,l=i.sortVars[e].order;if(c=c[0],i.$table.triggerHandler("sortStart",y),h=(i.sortVars[e].count+1)%l.length,i.sortVars[e].count=u[i.sortResetKey]?2:h,i.sortRestart)for(v=0;v<k;v++)w=i.$headers.eq(v),h=parseInt(w.attr("data-column"),10),e!==h&&(b||w.hasClass(t.css.sortNone))&&(i.sortVars[h].count=-1);if(b){if(n.each(i.sortVars,function(n){i.sortVars[n].sortedBy=""}),i.sortList=[],i.last.sortList=[],i.sortForce!==null)for(s=i.sortForce,f=0;f<s.length;f++)s[f][0]!==e&&(i.sortList[i.sortList.length]=s[f],i.sortVars[s[f][0]].sortedBy="sortForce");if(o=l[i.sortVars[e].count],o<2&&(i.sortList[i.sortList.length]=[e,o],i.sortVars[e].sortedBy=a,c.colSpan>1))for(f=1;f<c.colSpan;f++)i.sortList[i.sortList.length]=[e+f,o],i.sortVars[e+f].count=n.inArray(o,l),i.sortVars[e+f].sortedBy=a}else if(i.sortList=n.extend([],i.last.sortList),t.isValueInArray(e,i.sortList)>=0)for(i.sortVars[e].sortedBy=a,f=0;f<i.sortList.length;f++)h=i.sortList[f],h[0]===e&&(h[1]=l[i.sortVars[e].count],h[1]===2&&(i.sortList.splice(f,1),i.sortVars[e].count=-1));else if(o=l[i.sortVars[e].count],i.sortVars[e].sortedBy=a,o<2&&(i.sortList[i.sortList.length]=[e,o],c.colSpan>1))for(f=1;f<c.colSpan;f++)i.sortList[i.sortList.length]=[e+f,o],i.sortVars[e+f].count=n.inArray(o,l),i.sortVars[e+f].sortedBy=a;if(i.last.sortList=n.extend([],i.sortList),i.sortList.length&&i.sortAppend&&(s=n.isArray(i.sortAppend)?i.sortAppend:i.sortAppend[i.sortList[0][0]],!t.isEmptyObject(s)))for(f=0;f<s.length;f++)if(s[f][0]!==e&&t.isValueInArray(s[f][0],i.sortList)<0){if(o=s[f][1],p=(""+o).match(/^(a|d|s|o|n)/),p){h=i.sortList[0][1];switch(p[0]){case"d":o=1;break;case"s":o=h;break;case"o":o=h===0?1:0;break;case"n":o=(h+1)%l.length;break;default:o=0}}i.sortList[i.sortList.length]=[s[f][0],o];i.sortVars[s[f][0]].sortedBy="sortAppend"}i.$table.triggerHandler("sortBegin",y);setTimeout(function(){t.setHeadersCss(i);t.multisort(i);t.appendCache(i);i.$table.triggerHandler("sortBeforeEnd",y);i.$table.triggerHandler("sortEnd",y)},1)},multisort:function(n){var u,c,r,l,s,f=n.table,h=[],i=0,e=n.textSorter||"",o=n.sortList,a=o.length,v=n.$tbodies.length;if(!n.serverSideSorting&&!t.isEmptyObject(n.cache)){if(t.debug(n,"core")&&(c=new Date),typeof e=="object")for(r=n.columns;r--;)s=t.getColumnData(f,e,r),typeof s=="function"&&(h[r]=s);for(u=0;u<v;u++)r=n.cache[u].colMax,l=n.cache[u].normalized,l.sort(function(u,s){for(var v,c,b,y,p,w,l=0;l<a;l++){if(c=o[l][0],b=o[l][1],i=b===0,n.sortStable&&u[c]===s[c]&&a===1)return u[n.columns].order-s[n.columns].order;if(v=/n/i.test(t.getSortType(n.parsers,c)),v&&n.strings[c]?(v=typeof t.string[n.strings[c]]=="boolean"?(i?1:-1)*(t.string[n.strings[c]]?-1:1):n.strings[c]?t.string[n.strings[c]]||0:0,y=n.numberSorter?n.numberSorter(u[c],s[c],i,r[c],f):t["sortNumeric"+(i?"Asc":"Desc")](u[c],s[c],v,r[c],c,n)):(p=i?u:s,w=i?s:u,y=typeof e=="function"?e(p[c],w[c],i,c,f):typeof h[c]=="function"?h[c](p[c],w[c],i,c,f):t["sortNatural"+(i?"Asc":"Desc")](u[c]||"",s[c]||"",c,n)),y)return y}return u[n.columns].order-s[n.columns].order});t.debug(n,"core")&&console.log("Applying sort "+o.toString()+t.benchmark(c))}},resortComplete:function(t,i){t.table.isUpdating&&t.$table.triggerHandler("updateComplete",t.table);n.isFunction(i)&&i(t.table)},checkResort:function(i,r,u){var f=n.isArray(r)?r:i.sortList,e=typeof r=="undefined"?i.resort:r;e===!1||i.serverSideSorting||i.table.isProcessing?(t.resortComplete(i,u),t.applyWidget(i.table,!1)):f.length?t.sortOn(i,f,function(){t.resortComplete(i,u)},!0):t.sortReset(i,function(){t.resortComplete(i,u);t.applyWidget(i.table,!1)})},sortOn:function(i,r,u,f){var o,e=i.table;for(i.$table.triggerHandler("sortStart",e),o=0;o<i.columns;o++)i.sortVars[o].sortedBy=t.isValueInArray(o,r)>-1?"sorton":"";t.updateHeaderSortCount(i,r);t.setHeadersCss(i);i.delayInit&&t.isEmptyObject(i.cache)&&t.buildCache(i);i.$table.triggerHandler("sortBegin",e);t.multisort(i);t.appendCache(i,f);i.$table.triggerHandler("sortBeforeEnd",e);i.$table.triggerHandler("sortEnd",e);t.applyWidget(e);n.isFunction(u)&&u(e)},sortReset:function(i,r){i.sortList=[];for(var u=0;u<i.columns;u++)i.sortVars[u].count=-1,i.sortVars[u].sortedBy="";t.setHeadersCss(i);t.multisort(i);t.appendCache(i);n.isFunction(r)&&r(i.table)},getSortType:function(n,t){return n&&n[t]?n[t].type||"":""},getOrder:function(n){return/^d/i.test(n)||n===1},sortNatural:function(n,i){if(n===i)return 0;n=(n||"").toString();i=(i||"").toString();var u,f,e,s,r,h,o=t.regex;if(o.hex.test(i)){if(u=parseInt(n.match(o.hex),16),f=parseInt(i.match(o.hex),16),u<f)return-1;if(u>f)return 1}for(u=n.replace(o.chunk,"\\0$1\\0").replace(o.chunks,"").split("\\0"),f=i.replace(o.chunk,"\\0$1\\0").replace(o.chunks,"").split("\\0"),h=Math.max(u.length,f.length),r=0;r<h;r++){if(e=isNaN(u[r])?u[r]||0:parseFloat(u[r])||0,s=isNaN(f[r])?f[r]||0:parseFloat(f[r])||0,isNaN(e)!==isNaN(s))return isNaN(e)?1:-1;if(typeof e!=typeof s&&(e+="",s+=""),e<s)return-1;if(e>s)return 1}return 0},sortNaturalAsc:function(n,i,r,u){if(n===i)return 0;var f=t.string[u.empties[r]||u.emptyTo];return n===""&&f!==0?typeof f=="boolean"?f?-1:1:-f||-1:i===""&&f!==0?typeof f=="boolean"?f?1:-1:f||1:t.sortNatural(n,i)},sortNaturalDesc:function(n,i,r,u){if(n===i)return 0;var f=t.string[u.empties[r]||u.emptyTo];return n===""&&f!==0?typeof f=="boolean"?f?-1:1:f||1:i===""&&f!==0?typeof f=="boolean"?f?1:-1:-f||-1:t.sortNatural(i,n)},sortText:function(n,t){return n>t?1:n<t?-1:0},getTextValue:function(n,t,i){if(i){for(var f=n?n.length:0,u=i+t,r=0;r<f;r++)u+=n.charCodeAt(r);return t*u}return 0},sortNumericAsc:function(n,i,r,u,f,e){if(n===i)return 0;var o=t.string[e.empties[f]||e.emptyTo];return n===""&&o!==0?typeof o=="boolean"?o?-1:1:-o||-1:i===""&&o!==0?typeof o=="boolean"?o?1:-1:o||1:(isNaN(n)&&(n=t.getTextValue(n,r,u)),isNaN(i)&&(i=t.getTextValue(i,r,u)),n-i)},sortNumericDesc:function(n,i,r,u,f,e){if(n===i)return 0;var o=t.string[e.empties[f]||e.emptyTo];return n===""&&o!==0?typeof o=="boolean"?o?-1:1:o||1:i===""&&o!==0?typeof o=="boolean"?o?1:-1:-o||-1:(isNaN(n)&&(n=t.getTextValue(n,r,u)),isNaN(i)&&(i=t.getTextValue(i,r,u)),i-n)},sortNumeric:function(n,t){return n-t},addWidget:function(n){n.id&&!t.isEmptyObject(t.getWidgetById(n.id))&&console.warn('"'+n.id+'" widget was loaded more than once!');t.widgets[t.widgets.length]=n},hasWidget:function(t,i){return t=n(t),t.length&&t[0].config&&t[0].config.widgetInit[i]||!1},getWidgetById:function(n){for(var i,u=t.widgets.length,r=0;r<u;r++)if(i=t.widgets[r],i&&i.id&&i.id.toLowerCase()===n.toLowerCase())return i},applyWidgetOptions:function(i){var u,r,e,f=i.config,o=f.widgets.length;if(o)for(u=0;u<o;u++)r=t.getWidgetById(f.widgets[u]),r&&r.options&&(e=n.extend(!0,{},r.options),f.widgetOptions=n.extend(!0,e,f.widgetOptions),n.extend(!0,t.defaults.widgetOptions,r.options))},addWidgetFromClass:function(n){var f,i,u=n.config,o="^"+u.widgetClass.replace(t.regex.templateName,"(\\S+)+")+"$",e=new RegExp(o,"g"),r=(n.className||"").split(t.regex.spaces);if(r.length)for(f=r.length,i=0;i<f;i++)r[i].match(e)&&(u.widgets[u.widgets.length]=r[i].replace(e,"$1"))},applyWidgetId:function(i,r,u){i=n(i)[0];var s,c,e,f=i.config,l=f.widgetOptions,h=t.debug(f,"core"),o=t.getWidgetById(r);o&&(e=o.id,s=!1,n.inArray(e,f.widgets)<0&&(f.widgets[f.widgets.length]=e),h&&(c=new Date),(u||!f.widgetInit[e])&&(f.widgetInit[e]=!0,i.hasInitialized&&t.applyWidgetOptions(i),typeof o.init=="function"&&(s=!0,h&&console[console.group?"group":"log"]("Initializing "+e+" widget"),o.init(i,o,f,l))),u||typeof o.format!="function"||(s=!0,h&&console[console.group?"group":"log"]("Updating "+e+" widget"),o.format(i,f,l,!1)),h&&s&&(console.log("Completed "+(u?"initializing ":"applying ")+e+" widget"+t.benchmark(c)),console.groupEnd&&console.groupEnd()))},applyWidget:function(i,r,u){i=n(i)[0];var e,h,c,f,a,o=i.config,s=t.debug(o,"core"),l=[];if(r===!1||!i.hasInitialized||!(i.isApplyingWidgets||i.isUpdating)){if(s&&(a=new Date),t.addWidgetFromClass(i),clearTimeout(o.timerReady),o.widgets.length){for(i.isApplyingWidgets=!0,o.widgets=n.grep(o.widgets,function(t,i){return n.inArray(t,o.widgets)===i}),c=o.widgets||[],h=c.length,e=0;e<h;e++)f=t.getWidgetById(c[e]),f&&f.id?(f.priority||(f.priority=10),l[e]=f):s&&console.warn('"'+c[e]+'" was enabled, but the widget code has not been loaded!');for(l.sort(function(n,t){return n.priority<t.priority?-1:n.priority===t.priority?0:1}),h=l.length,s&&console[console.group?"group":"log"]("Start "+(r?"initializing":"applying")+" widgets"),e=0;e<h;e++)f=l[e],f&&f.id&&t.applyWidgetId(i,f.id,r);s&&console.groupEnd&&console.groupEnd()}o.timerReady=setTimeout(function(){i.isApplyingWidgets=!1;n.data(i,"lastWidgetApplication",new Date);o.$table.triggerHandler("tablesorter-ready");r||typeof u!="function"||u(i);s&&(f=o.widgets.length,console.log("Completed "+(r===!0?"initializing ":"applying ")+f+" widget"+(f!==1?"s":"")+t.benchmark(a)))},10)}},removeWidget:function(i,r,u){i=n(i)[0];var e,f,o,h,s=i.config;if(r===!0)for(r=[],h=t.widgets.length,o=0;o<h;o++)f=t.widgets[o],f&&f.id&&(r[r.length]=f.id);else r=(n.isArray(r)?r.join(","):r||"").toLowerCase().split(/[\s,]+/);for(h=r.length,e=0;e<h;e++)f=t.getWidgetById(r[e]),o=n.inArray(r[e],s.widgets),o>=0&&u!==!0&&s.widgets.splice(o,1),f&&f.remove&&(t.debug(s,"core")&&console.log((u?"Refreshing":"Removing")+' "'+r[e]+'" widget'),f.remove(i,s,s.widgetOptions,u),s.widgetInit[r[e]]=!1);s.$table.triggerHandler("widgetRemoveEnd",i)},refreshWidgets:function(i,r,u){i=n(i)[0];for(var f,c=i.config,l=c.widgets,h=t.widgets,a=h.length,o=[],s=function(t){n(t).triggerHandler("refreshComplete")},e=0;e<a;e++)f=h[e],f&&f.id&&(r||n.inArray(f.id,l)<0)&&(o[o.length]=f.id);t.removeWidget(i,o.join(","),!0);u!==!0?(t.applyWidget(i,r||!1,s),r&&t.applyWidget(i,!1,s)):s(i)},benchmark:function(n){return" ("+((new Date).getTime()-n.getTime())+" ms)"},log:function(){console.log(arguments)},debug:function(n,t){return n&&(n.debug===!0||typeof n.debug=="string"&&n.debug.indexOf(t)>-1)},isEmptyObject:function(n){for(var t in n)return!1;return!0},isValueInArray:function(n,t){for(var r=t&&t.length||0,i=0;i<r;i++)if(t[i][0]===n)return i;return-1},formatFloat:function(i,r){if(typeof i!="string"||i==="")return i;var u,f=r&&r.config?r.config.usNumberFormat!==!1:typeof r!="undefined"?r:!0;return i=f?i.replace(t.regex.comma,""):i.replace(t.regex.digitNonUS,"").replace(t.regex.comma,"."),t.regex.digitNegativeTest.test(i)&&(i=i.replace(t.regex.digitNegativeReplace,"-$1")),u=parseFloat(i),isNaN(u)?n.trim(i):u},isDigit:function(n){return isNaN(n)?t.regex.digitTest.test(n.toString().replace(t.regex.digitReplace,"")):n!==""},computeColumnIndex:function(i,r){for(var c,u,l,e,v,o,y,p,s,w=r&&r.columns||0,f=[],a=new Array(w),h=0;h<i.length;h++)for(v=i[h].cells,c=0;c<v.length;c++){for(e=v[c],o=h,y=e.rowSpan||1,p=e.colSpan||1,typeof f[o]=="undefined"&&(f[o]=[]),u=0;u<f[o].length+1;u++)if(typeof f[o][u]=="undefined"){s=u;break}for(w&&e.cellIndex===s||(e.setAttribute?e.setAttribute("data-column",s):n(e).attr("data-column",s)),u=o;u<o+y;u++)for(typeof f[u]=="undefined"&&(f[u]=[]),a=f[u],l=s;l<s+p;l++)a[l]="x"}return t.checkColumnCount(i,f,a.length),a.length},checkColumnCount:function(n,t,i){for(var f,e=!0,u=[],r=0;r<t.length;r++)if(t[r]&&(f=t[r].length,t[r].length!==i)){e=!1;break}e||(n.each(function(n,t){var i=t.parentElement.nodeName;u.indexOf(i)<0&&u.push(i)}),console.error("Invalid or incorrect number of columns in the "+u.join(" or ")+"; expected "+i+", but found "+f+" columns"))},fixColumnWidth:function(i){i=n(i)[0];var o,s,e,h,f,r=i.config,u=r.$table.children("colgroup");if(u.length&&u.hasClass(t.css.colgroup)&&u.remove(),r.widthFixed&&r.$table.children("colgroup").length===0){for(u=n('<colgroup class="'+t.css.colgroup+'">'),o=r.$table.width(),e=r.$tbodies.find("tr:first").children(":visible"),h=e.length,f=0;f<h;f++)s=parseInt(e.eq(f).width()/o*1e3,10)/10+"%",u.append(n("<col>").css("width",s));r.$table.prepend(u)}},getData:function(t,i,r){var e,o,f="",u=n(t);return u.length?(e=n.metadata?u.metadata():!1,o=" "+(u.attr("class")||""),typeof u.data(r)!="undefined"||typeof u.data(r.toLowerCase())!="undefined"?f+=u.data(r)||u.data(r.toLowerCase()):e&&typeof e[r]!="undefined"?f+=e[r]:i&&typeof i[r]!="undefined"?f+=i[r]:o!==" "&&o.match(" "+r+"-")&&(f=o.match(new RegExp("\\s"+r+"-([\\w-]+)"))[1]||""),n.trim(f)):""},getColumnData:function(t,i,r,u,f){if(typeof i!="object"||i===null)return i;t=n(t)[0];var h,e,o=t.config,c=f||o.$headers,s=o.$headerIndexed&&o.$headerIndexed[r]||c.find('[data-column="'+r+'"]:last');if(typeof i[r]!="undefined")return u?i[r]:i[c.index(s)];for(e in i)if(typeof e=="string"&&(h=s.filter(e).add(s.find(e)),h.length))return i[e];return},isProcessing:function(i,r,u){i=n(i);var f=i[0].config,e=u||i.find("."+t.css.header);r?(typeof u!="undefined"&&f.sortList.length>0&&(e=e.filter(function(){return this.sortDisabled?!1:t.isValueInArray(parseFloat(n(this).attr("data-column")),f.sortList)>=0})),i.add(e).addClass(t.css.processing+" "+f.cssProcessing)):i.add(e).removeClass(t.css.processing+" "+f.cssProcessing)},processTbody:function(t,i,r){if(t=n(t)[0],r)return t.isProcessing=!0,i.before('<colgroup class="tablesorter-savemyplace"/>'),n.fn.detach?i.detach():i.remove();var u=n(t).find("colgroup.tablesorter-savemyplace");i.insertAfter(u);u.remove();t.isProcessing=!1},clearTableBody:function(t){n(t)[0].config.$tbodies.children().detach()},characterEquivalents:{a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõöō",O:"ÓÒÔÕÖŌ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},replaceAccents:function(n){var i,u="[",r=t.characterEquivalents;if(!t.characterRegex){t.characterRegexArray={};for(i in r)typeof i=="string"&&(u+=r[i],t.characterRegexArray[i]=new RegExp("["+r[i]+"]","g"));t.characterRegex=new RegExp(u+"]")}if(t.characterRegex.test(n))for(i in r)typeof i=="string"&&(n=n.replace(t.characterRegexArray[i],i));return n},validateOptions:function(i){var r,f,u,o,s="headers sortForce sortList sortAppend widgets".split(" "),e=i.originalSettings;if(e){t.debug(i,"core")&&(o=new Date);for(r in e)if(u=typeof t.defaults[r],u==="undefined")console.warn('Tablesorter Warning! "table.config.'+r+'" option not recognized');else if(u==="object")for(f in e[r])u=t.defaults[r]&&typeof t.defaults[r][f],n.inArray(r,s)<0&&u==="undefined"&&console.warn('Tablesorter Warning! "table.config.'+r+"."+f+'" option not recognized');t.debug(i,"core")&&console.log("validate options time:"+t.benchmark(o))}},restoreHeaders:function(i){for(var u,f=n(i)[0].config,e=f.$table.find(f.selectorHeaders),o=e.length,r=0;r<o;r++)u=e.eq(r),u.find("."+t.css.headerIn).length&&u.html(f.headerContent[r])},destroy:function(i,r,u){if(i=n(i)[0],i.hasInitialized){t.removeWidget(i,!0,!1);var o,e=n(i),f=i.config,s=e.find("thead:first"),h=s.find("tr."+t.css.headerRow).removeClass(t.css.headerRow+" "+f.cssHeaderRow),c=e.find("tfoot:first > tr").children("th, td");r===!1&&n.inArray("uitheme",f.widgets)>=0&&(e.triggerHandler("applyWidgetId",["uitheme"]),e.triggerHandler("applyWidgetId",["zebra"]));s.find("tr").not(h).remove();o="sortReset update updateRows updateAll updateHeaders updateCell addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets removeWidget destroy mouseup mouseleave "+"keypress sortBegin sortEnd resetToLoadState ".split(" ").join(f.namespace+" ");e.removeData("tablesorter").unbind(o.replace(t.regex.spaces," "));f.$headers.add(c).removeClass([t.css.header,f.cssHeader,f.cssAsc,f.cssDesc,t.css.sortAsc,t.css.sortDesc,t.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true");h.find(f.selectorSort).unbind("mousedown mouseup keypress ".split(" ").join(f.namespace+" ").replace(t.regex.spaces," "));t.restoreHeaders(i);e.toggleClass(t.css.table+" "+f.tableClass+" tablesorter-"+f.theme,r===!1);e.removeClass(f.namespace.slice(1));i.hasInitialized=!1;delete i.config.cache;typeof u=="function"&&u(i);t.debug(f,"core")&&console.log("tablesorter has been removed")}}};n.fn.tablesorter=function(i){return this.each(function(){var r=this,u=n.extend(!0,{},t.defaults,i,t.instanceMethods);u.originalSettings=i;!r.hasInitialized&&t.buildTable&&this.nodeName!=="TABLE"?t.buildTable(r,u):t.setup(r,u)})};window.console&&window.console.log||(t.logs=[],console={},console.log=console.warn=console.error=console.table=function(){var n=arguments.length>1?arguments:arguments[0];t.logs[t.logs.length]={date:Date.now(),log:n}});t.addParser({id:"no-parser",is:function(){return!1},format:function(){return""},type:"text"});t.addParser({id:"text",is:function(){return!0},format:function(i,r){var u=r.config;return i&&(i=n.trim(u.ignoreCase?i.toLocaleLowerCase():i),i=u.sortLocaleCompare?t.replaceAccents(i):i),i},type:"text"});t.regex.nondigit=/[^\w,. \-()]/g;t.addParser({id:"digit",is:function(n){return t.isDigit(n)},format:function(i,r){var u=t.formatFloat((i||"").replace(t.regex.nondigit,""),r);return i&&typeof u=="number"?u:i?n.trim(i&&r.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"});t.regex.currencyReplace=/[+\-,. ]/g;t.regex.currencyTest=/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/;t.addParser({id:"currency",is:function(n){return n=(n||"").replace(t.regex.currencyReplace,""),t.regex.currencyTest.test(n)},format:function(i,r){var u=t.formatFloat((i||"").replace(t.regex.nondigit,""),r);return i&&typeof u=="number"?u:i?n.trim(i&&r.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"});t.regex.urlProtocolTest=/^(https?|ftp|file):\/\//;t.regex.urlProtocolReplace=/(https?|ftp|file):\/\/(www\.)?/;t.addParser({id:"url",is:function(n){return t.regex.urlProtocolTest.test(n)},format:function(i){return i?n.trim(i.replace(t.regex.urlProtocolReplace,"")):i},type:"text"});t.regex.dash=/-/g;t.regex.isoDate=/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/;t.addParser({id:"isoDate",is:function(n){return t.regex.isoDate.test(n)},format:function(n){var i=n?new Date(n.replace(t.regex.dash,"/")):n;return i instanceof Date&&isFinite(i)?i.getTime():n},type:"numeric"});t.regex.percent=/%/g;t.regex.percentTest=/(\d\s*?%|%\s*?\d)/;t.addParser({id:"percent",is:function(n){return t.regex.percentTest.test(n)&&n.length<15},format:function(n,i){return n?t.formatFloat(n.replace(t.regex.percent,""),i):n},type:"numeric"});t.addParser({id:"image",is:function(n,t,i,r){return r.find("img").length>0},format:function(t,i,r){return n(r).find("img").attr(i.config.imgAttr||"alt")||t},parsed:!0,type:"text"});t.regex.dateReplace=/(\S)([AP]M)$/i;t.regex.usLongDateTest1=/^[A-Z]{3,10}\.?\s+\d{1,2},?\s+(\d{4})(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?$/i;t.regex.usLongDateTest2=/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i;t.addParser({id:"usLongDate",is:function(n){return t.regex.usLongDateTest1.test(n)||t.regex.usLongDateTest2.test(n)},format:function(n){var i=n?new Date(n.replace(t.regex.dateReplace,"$1 $2")):n;return i instanceof Date&&isFinite(i)?i.getTime():n},type:"numeric"});t.regex.shortDateTest=/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/;t.regex.shortDateReplace=/[\-.,]/g;t.regex.shortDateXXY=/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/;t.regex.shortDateYMD=/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/;t.convertFormat=function(n,i){n=(n||"").replace(t.regex.spaces," ").replace(t.regex.shortDateReplace,"/");i==="mmddyyyy"?n=n.replace(t.regex.shortDateXXY,"$3/$1/$2"):i==="ddmmyyyy"?n=n.replace(t.regex.shortDateXXY,"$3/$2/$1"):i==="yyyymmdd"&&(n=n.replace(t.regex.shortDateYMD,"$1/$2/$3"));var r=new Date(n);return r instanceof Date&&isFinite(r)?r.getTime():""};t.addParser({id:"shortDate",is:function(n){return n=(n||"").replace(t.regex.spaces," ").replace(t.regex.shortDateReplace,"/"),t.regex.shortDateTest.test(n)},format:function(n,i,r,u){if(n){var e=i.config,f=e.$headerIndexed[u],o=f.length&&f.data("dateFormat")||t.getData(f,t.getColumnData(i,e.headers,u),"dateFormat")||e.dateFormat;return f.length&&f.data("dateFormat",o),t.convertFormat(n,o)||n}return n},type:"numeric"});t.regex.timeTest=/^(0?[1-9]|1[0-2]):([0-5]\d)(\s[AP]M)$|^((?:[01]\d|[2][0-4]):[0-5]\d)$/i;t.regex.timeMatch=/(0?[1-9]|1[0-2]):([0-5]\d)(\s[AP]M)|((?:[01]\d|[2][0-4]):[0-5]\d)/i;t.addParser({id:"time",is:function(n){return t.regex.timeTest.test(n)},format:function(n){var f,e=(n||"").match(t.regex.timeMatch),i=new Date(n),u=n&&(e!==null?e[0]:"00:00 AM"),r=u?new Date("2000/01/01 "+u.replace(t.regex.dateReplace,"$1 $2")):u;return r instanceof Date&&isFinite(r)?(f=i instanceof Date&&isFinite(i)?i.getTime():0,f?parseFloat(r.getTime()+"."+i.getTime()):r.getTime()):n},type:"numeric"});t.addParser({id:"metadata",is:function(){return!1},format:function(t,i,r){var u=i.config,f=u.parserMetadataName?u.parserMetadataName:"sortValue";return n(r).metadata()[f]},type:"numeric"});t.addWidget({id:"zebra",priority:90,format:function(t,i,r){for(var e,o,s,h,f,c,a=new RegExp(i.cssChildRow,"i"),l=i.$tbodies.add(n(i.namespace+"_extra_table").children("tbody:not(."+i.cssInfoBlock+")")),u=0;u<l.length;u++)for(s=0,e=l.eq(u).children("tr:visible").not(i.selectorRemove),c=e.length,f=0;f<c;f++)o=e.eq(f),a.test(o[0].className)||s++,h=s%2==0,o.removeClass(r.zebra[h?1:0]).addClass(r.zebra[h?0:1])},remove:function(n,i,r,u){if(!u)for(var e,o=i.$tbodies,s=(r.zebra||["even","odd"]).join(" "),f=0;f<o.length;f++)e=t.processTbody(n,o.eq(f),!0),e.children().removeClass(s),t.processTbody(n,e,!1)}})})(n);
/*! Widget: storage - updated 2018-03-18 (v2.30.0) */
(function(n,t,i){"use strict";var r=n.tablesorter||{};n.extend(!0,r.defaults,{fixedUrl:"",widgetOptions:{storage_fixedUrl:"",storage_group:"",storage_page:"",storage_storageType:"",storage_tableId:"",storage_useSessionStorage:""}});r.storage=function(u,f,e,o){u=n(u)[0];var p,w,v,y=!1,c={},l=u.config,s=l&&l.widgetOptions,d=r.debug(l,"storage"),h=(o&&o.storageType||s&&s.storage_storageType).toString().charAt(0).toLowerCase(),g=h?"":o&&o.useSessionStorage||s&&s.storage_useSessionStorage,b=n(u),k=o&&o.id||b.attr(o&&o.group||s&&s.storage_group||"data-table-group")||s&&s.storage_tableId||u.id||n(".tablesorter").index(b),a=o&&o.url||b.attr(o&&o.page||s&&s.storage_page||"data-table-page")||s&&s.storage_fixedUrl||l&&l.fixedUrl||t.location.pathname;if(h!=="c"&&(h=h==="s"||g?"sessionStorage":"localStorage",h in t))try{t[h].setItem("_tmptest","temp");y=!0;t[h].removeItem("_tmptest")}catch(nt){console.warn(h+" is not supported in this browser")}if(d&&console.log("Storage >> Using",y?h:"cookies"),n.parseJSON&&(y?c=n.parseJSON(t[h][f]||"null")||{}:(w=i.cookie.split(/[;\s|=]/),p=n.inArray(f,w)+1,c=p!==0?n.parseJSON(w[p]||"null")||{}:{})),typeof e!="undefined"&&t.JSON&&JSON.hasOwnProperty("stringify"))c[a]||(c[a]={}),c[a][k]=e,y?t[h][f]=JSON.stringify(c):(v=new Date,v.setTime(v.getTime()+31536e6),i.cookie=f+"="+JSON.stringify(c).replace(/\"/g,'"')+"; expires="+v.toGMTString()+"; path=/");else return c&&c[a]?c[a][k]:""}})(n,window,document);
/*! Widget: uitheme - updated 2018-03-18 (v2.30.0) */
(function(n){"use strict";var t=n.tablesorter||{};t.themes={bootstrap:{table:"table table-bordered table-striped",caption:"caption",header:"bootstrap-header",sortNone:"",sortAsc:"",sortDesc:"",active:"",hover:"",icons:"",iconSortNone:"bootstrap-icon-unsorted",iconSortAsc:"glyphicon glyphicon-chevron-up",iconSortDesc:"glyphicon glyphicon-chevron-down",filterRow:"",footerRow:"",footerCells:"",even:"",odd:""},jui:{table:"ui-widget ui-widget-content ui-corner-all",caption:"ui-widget-content",header:"ui-widget-header ui-corner-all ui-state-default",sortNone:"",sortAsc:"",sortDesc:"",active:"ui-state-active",hover:"ui-state-hover",icons:"ui-icon",iconSortNone:"ui-icon-carat-2-n-s ui-icon-caret-2-n-s",iconSortAsc:"ui-icon-carat-1-n ui-icon-caret-1-n",iconSortDesc:"ui-icon-carat-1-s ui-icon-caret-1-s",filterRow:"",footerRow:"",footerCells:"",even:"ui-widget-content",odd:"ui-state-default"}};n.extend(t.css,{wrapper:"tablesorter-wrapper"});t.addWidget({id:"uitheme",priority:10,format:function(i,r,u){var s,b,l,a,d,v,y,k,h,e,g,nt,o,tt=t.themes,c=r.$table.add(n(r.namespace+"_extra_table")),p=r.$headers.add(n(r.namespace+"_extra_headers")),w=r.theme||"jui",f=tt[w]||{},rt=n.trim([f.sortNone,f.sortDesc,f.sortAsc,f.active].join(" ")),ut=n.trim([f.iconSortNone,f.iconSortDesc,f.iconSortAsc].join(" ")),it=t.debug(r,"uitheme");if(it&&(d=new Date),(!c.hasClass("tablesorter-"+w)||r.theme!==r.appliedTheme||!u.uitheme_applied)&&(u.uitheme_applied=!0,e=tt[r.appliedTheme]||{},o=!n.isEmptyObject(e),g=o?[e.sortNone,e.sortDesc,e.sortAsc,e.active].join(" "):"",nt=o?[e.iconSortNone,e.iconSortDesc,e.iconSortAsc].join(" "):"",o&&(u.zebra[0]=n.trim(" "+u.zebra[0].replace(" "+e.even,"")),u.zebra[1]=n.trim(" "+u.zebra[1].replace(" "+e.odd,"")),r.$tbodies.children().removeClass([e.even,e.odd].join(" "))),f.even&&(u.zebra[0]+=" "+f.even),f.odd&&(u.zebra[1]+=" "+f.odd),c.children("caption").removeClass(e.caption||"").addClass(f.caption),k=c.removeClass((r.appliedTheme?"tablesorter-"+(r.appliedTheme||""):"")+" "+(e.table||"")).addClass("tablesorter-"+w+" "+(f.table||"")).children("tfoot"),r.appliedTheme=r.theme,k.length&&k.children("tr").removeClass(e.footerRow||"").addClass(f.footerRow).children("th, td").removeClass(e.footerCells||"").addClass(f.footerCells),p.removeClass((o?[e.header,e.hover,g].join(" "):"")||"").addClass(f.header).not(".sorter-false").unbind("mouseenter.tsuitheme mouseleave.tsuitheme").bind("mouseenter.tsuitheme mouseleave.tsuitheme",function(t){n(this)[t.type==="mouseenter"?"addClass":"removeClass"](f.hover||"")}),p.each(function(){var i=n(this);i.find("."+t.css.wrapper).length||i.wrapInner('<div class="'+t.css.wrapper+'" style="position:relative;height:100%;width:100%"><\/div>')}),r.cssIcon&&p.find("."+t.css.icon).removeClass(o?[e.icons,nt].join(" "):"").addClass(f.icons||""),t.hasWidget(r.table,"filter")))if(b=function(){c.children("thead").children("."+t.css.filterRow).removeClass(o?e.filterRow||"":"").addClass(f.filterRow||"")},u.filter_initialized)b();else c.one("filterInit",function(){b()});for(s=0;s<r.columns;s++)v=r.$headers.add(n(r.namespace+"_extra_headers")).not(".sorter-false").filter('[data-column="'+s+'"]'),y=t.css.icon?v.find("."+t.css.icon):n(),h=p.not(".sorter-false").filter('[data-column="'+s+'"]:last'),h.length&&(v.removeClass(rt),y.removeClass(ut),h[0].sortDisabled?y.removeClass(f.icons||""):(l=f.sortNone,a=f.iconSortNone,h.hasClass(t.css.sortAsc)?(l=[f.sortAsc,f.active].join(" "),a=f.iconSortAsc):h.hasClass(t.css.sortDesc)&&(l=[f.sortDesc,f.active].join(" "),a=f.iconSortDesc),v.addClass(l),y.addClass(a||"")));it&&console.log("uitheme >> Applied "+w+" theme"+t.benchmark(d))},remove:function(n,i,r,u){if(r.uitheme_applied){var e=i.$table,o=i.appliedTheme||"jui",f=t.themes[o]||t.themes.jui,s=e.children("thead").children(),h=f.sortNone+" "+f.sortDesc+" "+f.sortAsc,c=f.iconSortNone+" "+f.iconSortDesc+" "+f.iconSortAsc;(e.removeClass("tablesorter-"+o+" "+f.table),r.uitheme_applied=!1,u)||(e.find(t.css.header).removeClass(f.header),s.unbind("mouseenter.tsuitheme mouseleave.tsuitheme").removeClass(f.hover+" "+h+" "+f.active).filter("."+t.css.filterRow).removeClass(f.filterRow),s.find("."+t.css.icon).removeClass(f.icons+" "+c))}}})})(n);
/*! Widget: columns - updated 5/24/2017 (v2.28.11) */
(function(n){"use strict";var t=n.tablesorter||{};t.addWidget({id:"columns",priority:65,options:{columns:["primary","secondary","tertiary"]},format:function(i,r,u){for(var a,h,c,p,v,f,k=r.$table,w=r.$tbodies,o=r.sortList,l=o.length,e=u&&u.columns||["primary","secondary","tertiary"],b=e.length-1,y=e.join(" "),s=0;s<w.length;s++)a=t.processTbody(i,w.eq(s),!0),h=a.children("tr"),h.each(function(){if(p=n(this),this.style.display!=="none"&&(v=p.children().removeClass(y),o&&o[0]&&(v.eq(o[0][0]).addClass(e[0]),l>1)))for(f=1;f<l;f++)v.eq(o[f][0]).addClass(e[f]||e[b])}),t.processTbody(i,a,!1);if(c=u.columns_thead!==!1?["thead tr"]:[],u.columns_tfoot!==!1&&c.push("tfoot tr"),c.length&&(h=k.find(c.join(",")).children().removeClass(y),l))for(f=0;f<l;f++)h.filter('[data-column="'+o[f][0]+'"]').addClass(e[f]||e[b])},remove:function(i,r,u){var f,e,s=r.$tbodies,o=(u.columns||["primary","secondary","tertiary"]).join(" ");for(r.$headers.removeClass(o),r.$table.children("tfoot").children("tr").children("th, td").removeClass(o),f=0;f<s.length;f++)e=t.processTbody(i,s.eq(f),!0),e.children("tr").each(function(){n(this).children().removeClass(o)}),t.processTbody(i,e,!1)}})})(n);
/*! Widget: filter - updated 2018-03-18 (v2.30.0) */
(function(n){"use strict";var i,r,t=n.tablesorter||{},u=t.css,f=t.keyCodes;n.extend(u,{filterRow:"tablesorter-filter-row",filter:"tablesorter-filter",filterDisabled:"disabled",filterRowHide:"hideme"});n.extend(f,{backSpace:8,escape:27,space:32,left:37,down:40});t.addWidget({id:"filter",priority:50,options:{filter_cellFilter:"",filter_childRows:!1,filter_childByColumn:!1,filter_childWithSibs:!0,filter_columnAnyMatch:!0,filter_columnFilters:!0,filter_cssFilter:"",filter_defaultAttrib:"data-value",filter_defaultFilter:{},filter_excludeFilter:{},filter_external:"",filter_filteredRow:"filtered",filter_filterLabel:'Filter "{{label}}" column by...',filter_formatter:null,filter_functions:null,filter_hideEmpty:!0,filter_hideFilters:!1,filter_ignoreCase:!0,filter_liveSearch:!0,filter_matchType:{input:"exact",select:"exact"},filter_onlyAvail:"filter-onlyAvail",filter_placeholder:{search:"",select:""},filter_reset:null,filter_resetOnEsc:!0,filter_saveFilters:!1,filter_searchDelay:300,filter_searchFiltered:!0,filter_selectSource:null,filter_selectSourceSeparator:"|",filter_serversideFiltering:!1,filter_startsWith:!1,filter_useParsedData:!1},format:function(n,t,r){t.$table.hasClass("hasFilters")||i.init(n,t,r)},remove:function(i,r,f,e){var o,s,c=r.$table,h=r.$tbodies,l="addRows updateCell update updateRows updateComplete appendCache filterReset filterAndSortReset filterFomatterUpdate filterEnd search stickyHeadersInit ".split(" ").join(r.namespace+"filter ");if(c.removeClass("hasFilters").unbind(l.replace(t.regex.spaces," ")).find("."+u.filterRow).remove(),f.filter_initialized=!1,!e){for(o=0;o<h.length;o++)s=t.processTbody(i,h.eq(o),!0),s.children().removeClass(f.filter_filteredRow).show(),t.processTbody(i,s,!1);f.filter_reset&&n(document).undelegate(f.filter_reset,"click"+r.namespace+"filter")}}});i=t.filter={regex:{regex:/^\/((?:\\\/|[^\/])+)\/([migyu]{0,5})?$/,child:/tablesorter-childRow/,filtered:/filtered/,type:/undefined|number/,exact:/(^[\"\'=]+)|([\"\'=]+$)/g,operators:/[<>=]/g,query:"(q|query)",wild01:/\?/g,wild0More:/\*/g,quote:/\"/g,isNeg1:/(>=?\s*-\d)/,isNeg2:/(<=?\s*\d)/},types:{or:function(t,u,f){if((r.orTest.test(u.iFilter)||r.orSplit.test(u.filter))&&!r.regex.test(u.filter)){for(var s,h,c,e=n.extend({},u),l=u.filter.split(r.orSplit),a=u.iFilter.split(r.orSplit),v=l.length,o=0;o<v;o++){e.nestedFilters=!0;e.filter=""+(i.parseFilter(t,l[o],u)||"");e.iFilter=""+(i.parseFilter(t,a[o],u)||"");h="("+(i.parseFilter(t,e.filter,u)||"")+")";try{if(c=new RegExp(u.isMatch?h:"^"+h+"$",t.widgetOptions.filter_ignoreCase?"i":""),s=c.test(e.exact)||i.processTypes(t,e,f),s)return s}catch(y){return null}}return s||!1}return null},and:function(t,u,f){if(r.andTest.test(u.filter)){for(var s,h,c,l,o=n.extend({},u),a=u.filter.split(r.andSplit),v=u.iFilter.split(r.andSplit),y=a.length,e=0;e<y;e++){o.nestedFilters=!0;o.filter=""+(i.parseFilter(t,a[e],u)||"");o.iFilter=""+(i.parseFilter(t,v[e],u)||"");c=("("+(i.parseFilter(t,o.filter,u)||"")+")").replace(r.wild01,"\\S{1}").replace(r.wild0More,"\\S*");try{l=new RegExp(u.isMatch?c:"^"+c+"$",t.widgetOptions.filter_ignoreCase?"i":"");h=l.test(o.exact)||i.processTypes(t,o,f);s=e===0?h:s&&h}catch(p){return null}}return s||!1}return null},regex:function(n,t){if(r.regex.test(t.filter)){var u,i=t.filter_regexCache[t.index]||r.regex.exec(t.filter),f=i instanceof RegExp;try{f||(t.filter_regexCache[t.index]=i=new RegExp(i[1],i[2]));u=i.test(t.exact)}catch(e){u=!1}return u}return null},operators:function(u,f){if(r.operTest.test(f.iFilter)&&f.iExact!==""){var s,e,h,c=u.table,l=f.parsed[f.index],o=t.formatFloat(f.iFilter.replace(r.operators,""),c),a=u.parsers[f.index]||{},v=o;return(l||a.type==="numeric")&&(h=n.trim(""+f.iFilter.replace(r.operators,"")),e=i.parseFilter(u,h,f,!0),o=typeof e=="number"&&e!==""&&!isNaN(e)?e:o),(l||a.type==="numeric")&&!isNaN(o)&&typeof f.cache!="undefined"?s=f.cache:(h=isNaN(f.iExact)?f.iExact.replace(t.regex.nondigit,""):f.iExact,s=t.formatFloat(h,c)),r.gtTest.test(f.iFilter)?e=r.gteTest.test(f.iFilter)?s>=o:s>o:r.ltTest.test(f.iFilter)&&(e=r.lteTest.test(f.iFilter)?s<=o:s<o),e||v!==""||(e=!0),e}return null},notMatch:function(t,u){if(r.notTest.test(u.iFilter)){var e,o=u.iFilter.replace("!",""),f=i.parseFilter(t,o,u)||"";return r.exact.test(f)?(f=f.replace(r.exact,""),f===""?!0:n.trim(f)!==u.iExact):(e=u.iExact.search(n.trim(f)),f===""?!0:u.anyMatch?e<0:!(t.widgetOptions.filter_startsWith?e===0:e>=0))}return null},exact:function(t,u){if(r.exact.test(u.iFilter)){var e=u.iFilter.replace(r.exact,""),f=i.parseFilter(t,e,u)||"";return u.anyMatch?n.inArray(f,u.rowArray)>=0:f==u.iExact}return null},range:function(n,u){if(r.toTest.test(u.iFilter)){var f,h,e,o,c=n.table,s=u.index,a=u.parsed[s],l=u.iFilter.split(r.toSplit);return h=l[0].replace(t.regex.nondigit,"")||"",e=t.formatFloat(i.parseFilter(n,h,u),c),h=l[1].replace(t.regex.nondigit,"")||"",o=t.formatFloat(i.parseFilter(n,h,u),c),(a||n.parsers[s].type==="numeric")&&(f=n.parsers[s].format(""+l[0],c,n.$headers.eq(s),s),e=f!==""&&!isNaN(f)?f:e,f=n.parsers[s].format(""+l[1],c,n.$headers.eq(s),s),o=f!==""&&!isNaN(f)?f:o),!a&&n.parsers[s].type!=="numeric"||isNaN(e)||isNaN(o)?(h=isNaN(u.iExact)?u.iExact.replace(t.regex.nondigit,""):u.iExact,f=t.formatFloat(h,c)):f=u.cache,e>o&&(h=e,e=o,o=h),f>=e&&f<=o||e===""||o===""}return null},wild:function(n,t){if(r.wildOrTest.test(t.iFilter)){var u=""+(i.parseFilter(n,t.iFilter,t)||"");!r.wildTest.test(u)&&t.nestedFilters&&(u=t.isMatch?u:"^("+u+")$");try{return new RegExp(u.replace(r.wild01,"\\S{1}").replace(r.wild0More,"\\S*"),n.widgetOptions.filter_ignoreCase?"i":"").test(t.exact)}catch(f){return null}}return null},fuzzy:function(n,t){if(r.fuzzyTest.test(t.iFilter)){for(var f=0,o=t.iExact.length,s=t.iFilter.slice(1),e=i.parseFilter(n,s,t)||"",u=0;u<o;u++)t.iExact[u]===e[f]&&(f+=1);return f===e.length}return null}},init:function(f){t.language=n.extend(!0,{},{to:"to",or:"or",and:"and"},t.language);var p,v,s,l,c,h,y,w,e=f.config,o=e.widgetOptions,a=function(n,t,i){return t=t.trim(),t===""?"":(n||"")+t+(i||"")};if(e.$table.addClass("hasFilters"),e.lastSearch=[],o.filter_searchTimer=null,o.filter_initTimer=null,o.filter_formatterCount=0,o.filter_formatterInit=[],o.filter_anyColumnSelector='[data-column="all"],[data-column="any"]',o.filter_multipleColumnSelector='[data-column*="-"],[data-column*=","]',h="\\{"+r.query+"\\}",n.extend(r,{child:new RegExp(e.cssChildRow),filtered:new RegExp(o.filter_filteredRow),alreadyFiltered:new RegExp("(\\s+(-"+a("|",t.language.or)+a("|",t.language.to)+")\\s+)","i"),toTest:new RegExp("\\s+(-"+a("|",t.language.to)+")\\s+","i"),toSplit:new RegExp("(?:\\s+(?:-"+a("|",t.language.to)+")\\s+)","gi"),andTest:new RegExp("\\s+("+a("",t.language.and,"|")+"&&)\\s+","i"),andSplit:new RegExp("(?:\\s+(?:"+a("",t.language.and,"|")+"&&)\\s+)","gi"),orTest:new RegExp("(\\|"+a("|\\s+",t.language.or,"\\s+")+")","i"),orSplit:new RegExp("(?:\\|"+a("|\\s+(?:",t.language.or,")\\s+")+")","gi"),iQuery:new RegExp(h,"i"),igQuery:new RegExp(h,"ig"),operTest:/^[<>]=?/,gtTest:/>/,gteTest:/>=/,ltTest:/</,lteTest:/<=/,notTest:/^\!/,wildOrTest:/[\?\*\|]/,wildTest:/\?\*/,fuzzyTest:/^~/,exactTest:/[=\"\|!]/}),h=e.$headers.filter(".filter-false, .parser-false").length,o.filter_columnFilters!==!1&&h!==e.$headers.length&&i.buildRow(f,e,o),s="addRows updateCell update updateRows updateComplete appendCache filterReset "+"filterAndSortReset filterResetSaved filterEnd search ".split(" ").join(e.namespace+"filter "),e.$table.bind(s,function(r,s){return h=o.filter_hideEmpty&&n.isEmptyObject(e.cache)&&!(e.delayInit&&r.type==="appendCache"),e.$table.find("."+u.filterRow).toggleClass(o.filter_filteredRow,h),/(search|filter)/.test(r.type)||(r.stopPropagation(),i.buildDefault(f,!0)),r.type==="filterReset"||r.type==="filterAndSortReset"?(e.$table.find("."+u.filter).add(o.filter_$externalFilters).val(""),r.type==="filterAndSortReset"?t.sortReset(this.config,function(){i.searching(f,[])}):i.searching(f,[])):r.type==="filterResetSaved"?t.storage(f,"tablesorter-filters",""):r.type==="filterEnd"?i.buildDefault(f,!0):(s=r.type==="search"?s:r.type==="updateComplete"?e.$table.data("lastSearch"):"",/(update|add)/.test(r.type)&&r.type!=="updateComplete"&&(e.lastCombinedFilter=null,e.lastSearch=[],setTimeout(function(){e.$table.triggerHandler("filterFomatterUpdate")},100)),i.searching(f,s,!0)),!1}),o.filter_reset&&(o.filter_reset instanceof n?o.filter_reset.click(function(){e.$table.triggerHandler("filterReset")}):n(o.filter_reset).length&&n(document).undelegate(o.filter_reset,"click"+e.namespace+"filter").delegate(o.filter_reset,"click"+e.namespace+"filter",function(){e.$table.triggerHandler("filterReset")})),o.filter_functions)for(c=0;c<e.columns;c++)if(y=t.getColumnData(f,o.filter_functions,c),y)if(l=e.$headerIndexed[c].removeClass("filter-select"),w=!(l.hasClass("filter-false")||l.hasClass("parser-false")),p="",y===!0&&w)i.buildSelect(f,c);else if(typeof y=="object"&&w){for(v in y)typeof v=="string"&&(p+=p===""?'<option value="">'+(l.data("placeholder")||l.attr("data-placeholder")||o.filter_placeholder.select||"")+"<\/option>":"",h=v,s=v,v.indexOf(o.filter_selectSourceSeparator)>=0&&(h=v.split(o.filter_selectSourceSeparator),s=h[1],h=h[0]),p+="<option "+(s===h?"":'data-function-name="'+v+'" ')+'value="'+h+'">'+s+"<\/option>");e.$table.find("thead").find("select."+u.filter+'[data-column="'+c+'"]').append(p);s=o.filter_selectSource;y=typeof s=="function"?!0:t.getColumnData(f,s,c);y&&i.buildSelect(e.table,c,"",!0,l.hasClass(o.filter_onlyAvail))}i.buildDefault(f,!0);i.bindSearch(f,e.$table.find("."+u.filter),!0);o.filter_external&&i.bindSearch(f,o.filter_external);o.filter_hideFilters&&i.hideFilters(e);e.showProcessing&&(s="filterStart filterEnd ".split(" ").join(e.namespace+"filter-sp "),e.$table.unbind(s.replace(t.regex.spaces," ")).bind(s,function(i,r){l=r?e.$table.find("."+u.header).filter("[data-column]").filter(function(){return r[n(this).data("column")]!==""}):"";t.isProcessing(f,i.type==="filterStart",r?l:"")}));e.filteredRows=e.totalRows;s="tablesorter-initialized pagerBeforeInitialized ".split(" ").join(e.namespace+"filter ");e.$table.unbind(s.replace(t.regex.spaces," ")).bind(s,function(){i.completeInit(this)});e.pager&&e.pager.initialized&&!o.filter_initialized?(e.$table.triggerHandler("filterFomatterUpdate"),setTimeout(function(){i.filterInitComplete(e)},100)):o.filter_initialized||i.completeInit(f)},completeInit:function(n){var r=n.config,f=r.widgetOptions,u=i.setDefaults(n,r,f)||[];u.length&&(r.delayInit&&u.join("")===""||t.setFilters(n,u,!0));r.$table.triggerHandler("filterFomatterUpdate");setTimeout(function(){f.filter_initialized||i.filterInitComplete(r)},100)},formatterUpdated:function(n,t){var r=n&&n.closest("table"),u=r.length&&r[0].config,i=u&&u.widgetOptions;i&&!i.filter_initialized&&(i.filter_formatterInit[t]=1)},filterInitComplete:function(r){var f,o,u=r.widgetOptions,s=0,e=function(){u.filter_initialized=!0;r.lastSearch=r.$table.data("lastSearch");r.$table.triggerHandler("filterInit",r);i.findRows(r.table,r.lastSearch||[]);t.debug(r,"filter")&&console.log("Filter >> Widget initialized")};if(n.isEmptyObject(u.filter_formatter))e();else{for(o=u.filter_formatterInit.length,f=0;f<o;f++)u.filter_formatterInit[f]===1&&s++;clearTimeout(u.filter_initTimer);u.filter_initialized||s!==u.filter_formatterCount?u.filter_initialized||(u.filter_initTimer=setTimeout(function(){e()},500)):e()}},processFilters:function(n,t){for(var r=[],u=t?encodeURIComponent:decodeURIComponent,f=n.length,i=0;i<f;i++)n[i]&&(r[i]=u(n[i]));return r},setDefaults:function(r,u,f){var h,s,e,c,l,o=t.getFilters(r)||[];if(f.filter_saveFilters&&t.storage&&(s=t.storage(r,"tablesorter-filters")||[],h=n.isArray(s),h&&s.join("")===""||!h||(o=i.processFilters(s))),o.join("")==="")for(l=u.$headers.add(f.filter_$externalFilters).filter("["+f.filter_defaultAttrib+"]"),e=0;e<=u.columns;e++)c=e===u.columns?"all":e,o[e]=l.filter('[data-column="'+c+'"]').attr(f.filter_defaultAttrib)||o[e]||"";return u.$table.data("lastSearch",o),o},parseFilter:function(n,t,i,r){return r||i.parsed[i.index]?n.parsers[i.index].format(t,n.table,[],i.index):t},buildRow:function(r,f,e){for(var l,p,h,b,w,a,v,c,y=e.filter_cellFilter,k=f.columns,d=n.isArray(y),s='<tr role="search" class="'+u.filterRow+" "+f.cssIgnoreRow+'">',o=0;o<k;o++)f.$headerIndexed[o].length&&(c=f.$headerIndexed[o]&&f.$headerIndexed[o][0].colSpan||0,s+=c>1?'<td data-column="'+o+"-"+(o+c-1)+'" colspan="'+c+'"':'<td data-column="'+o+'"',s+=d?y[o]?' class="'+y[o]+'"':"":y!==""?' class="'+y+'"':"",s+="><\/td>");for(f.$filters=n(s+="<\/tr>").appendTo(f.$table.children("thead").eq(0)).children("td"),o=0;o<k;o++)w=!1,h=f.$headerIndexed[o],h&&h.length&&(l=i.getColumnElm(f,f.$filters,o),v=t.getColumnData(r,e.filter_functions,o),b=e.filter_functions&&v&&typeof v!="function"||h.hasClass("filter-select"),p=t.getColumnData(r,f.headers,o),w=t.getData(h[0],p,"filter")==="false"||t.getData(h[0],p,"parser")==="false",b?s=n("<select>").appendTo(l):(v=t.getColumnData(r,e.filter_formatter,o),v?(e.filter_formatterCount++,s=v(l,o),s&&s.length===0&&(s=l.children("input")),s&&(s.parent().length===0||s.parent().length&&s.parent()[0]!==l[0])&&l.append(s)):s=n('<input type="search">').appendTo(l),s&&(c=h.data("placeholder")||h.attr("data-placeholder")||e.filter_placeholder.search||"",s.attr("placeholder",c))),s&&(a=(n.isArray(e.filter_cssFilter)?typeof e.filter_cssFilter[o]!="undefined"?e.filter_cssFilter[o]||"":"":e.filter_cssFilter)||"",s.addClass(u.filter+" "+a),a=e.filter_filterLabel,c=a.match(/{{([^}]+?)}}/g),c||(c=["{{label}}"]),n.each(c,function(t,i){var u=new RegExp(i,"g"),r=h.attr("data-"+i.replace(/{{|}}/g,"")),f=typeof r=="undefined"?h.text():r;a=a.replace(u,n.trim(f))}),s.attr({"data-column":l.attr("data-column"),"aria-label":a}),w&&(s.attr("placeholder","").addClass(u.filterDisabled)[0].disabled=!0)))},bindSearch:function(r,u,e){if(r=n(r)[0],u=n(u),u.length){var h,s=r.config,o=s.widgetOptions,c=s.namespace+"filter",l=o.filter_$externalFilters;e!==!0&&(h=o.filter_anyColumnSelector+","+o.filter_multipleColumnSelector,o.filter_$anyMatch=u.filter(h),o.filter_$externalFilters=l&&l.length?o.filter_$externalFilters.add(u):u,t.setFilters(r,s.$table.data("lastSearch")||[],e===!1));h="keypress keyup keydown search change input ".split(" ").join(c+" ");u.attr("data-lastSearchTime",(new Date).getTime()).unbind(h.replace(t.regex.spaces," ")).bind("keydown"+c,function(n){if(n.which===f.escape&&!r.config.widgetOptions.filter_resetOnEsc)return!1}).bind("keyup"+c,function(u){o=r.config.widgetOptions;var h=parseInt(n(this).attr("data-column"),10),e=typeof o.filter_liveSearch=="boolean"?o.filter_liveSearch:t.getColumnData(r,o.filter_liveSearch,h);if(typeof e=="undefined"&&(e=o.filter_liveSearch.fallback||!1),n(this).attr("data-lastSearchTime",(new Date).getTime()),u.which===f.escape)this.value=o.filter_resetOnEsc?"":s.lastSearch[h];else{if(this.value!==""&&(typeof e=="number"&&this.value.length<e||u.which!==f.enter&&u.which!==f.backSpace&&(u.which<f.space||u.which>=f.left&&u.which<=f.down)))return;if(e===!1&&this.value!==""&&u.which!==f.enter)return}i.searching(r,!0,!0,h)}).bind("search change keypress input blur ".split(" ").join(c+" "),function(u){var h=parseInt(n(this).attr("data-column"),10),e=u.type,c=typeof o.filter_liveSearch=="boolean"?o.filter_liveSearch:t.getColumnData(r,o.filter_liveSearch,h);r.config.widgetOptions.filter_initialized&&(u.which===f.enter||e==="search"||e==="blur"||(e==="change"||e==="input")&&(c===!0||c!==!0&&u.target.nodeName!=="INPUT")&&this.value!==s.lastSearch[h])&&(u.preventDefault(),n(this).attr("data-lastSearchTime",(new Date).getTime()),i.searching(r,e!=="keypress"||u.which===f.enter,!0,h))})}},searching:function(n,r,u,f){var o,e=n.config.widgetOptions;typeof f=="undefined"?o=!1:(o=typeof e.filter_liveSearch=="boolean"?e.filter_liveSearch:t.getColumnData(n,e.filter_liveSearch,f),typeof o=="undefined"&&(o=e.filter_liveSearch.fallback||!1));clearTimeout(e.filter_searchTimer);typeof r=="undefined"||r===!0?e.filter_searchTimer=setTimeout(function(){i.checkFilters(n,r,u)},o?e.filter_searchDelay:10):i.checkFilters(n,r,u)},equalFilters:function(t,i,r){var u,f=[],e=[],o=t.columns+1;for(i=n.isArray(i)?i:[],r=n.isArray(r)?r:[],u=0;u<o;u++)f[u]=i[u]||"",e[u]=r[u]||"";return f.join(",")===e.join(",")},checkFilters:function(r,f,e){var o=r.config,h=o.widgetOptions,l=n.isArray(f),s=l?f:t.getFilters(r,!0),c=s||[];if(n.isEmptyObject(o.cache)){o.delayInit&&(!o.pager||o.pager&&o.pager.initialized)&&t.updateCache(o,function(){i.checkFilters(r,!1,e)});return}if(l&&(t.setFilters(r,s,!1,e!==!0),h.filter_initialized||(o.lastSearch=[],o.lastCombinedFilter="")),h.filter_hideFilters&&o.$table.find("."+u.filterRow).triggerHandler(i.hideFiltersCheck(o)?"mouseleave":"mouseenter"),i.equalFilters(o,o.lastSearch,c)){if(f!==!1)return;o.lastCombinedFilter="";o.lastSearch=[]}if(s=s||[],s=Array.prototype.map?s.map(String):s.join("�").split("�"),h.filter_initialized&&o.$table.triggerHandler("filterStart",[s]),o.showProcessing)setTimeout(function(){return i.findRows(r,s,c),!1},30);else return i.findRows(r,s,c),!1},hideFiltersCheck:function(n){if(typeof n.widgetOptions.filter_hideFilters=="function"){var i=n.widgetOptions.filter_hideFilters(n);if(typeof i=="boolean")return i}return t.getFilters(n.$table).join("")===""},hideFilters:function(t,r){var f;(r||t.$table).find("."+u.filterRow).addClass(u.filterRowHide).bind("mouseenter mouseleave",function(r){var o=r,e=n(this);clearTimeout(f);f=setTimeout(function(){/enter|over/.test(o.type)?e.removeClass(u.filterRowHide):n(document.activeElement).closest("tr")[0]!==e[0]&&e.toggleClass(u.filterRowHide,i.hideFiltersCheck(t))},200)}).find("input, select").bind("focus blur",function(r){var e=r,o=n(this).closest("tr");clearTimeout(f);f=setTimeout(function(){clearTimeout(f);o.toggleClass(u.filterRowHide,i.hideFiltersCheck(t)&&e.type!=="focus")},200)})},defaultFilter:function(t,i){if(t==="")return t;var e=r.iQuery,s=i.match(r.igQuery).length,f=s>1?n.trim(t).split(/\s/):[n.trim(t)],h=f.length-1,o=0,u=i;for(h<1&&s>1&&(f[1]=f[0]);e.test(u);)u=u.replace(e,f[o++]||""),e.test(u)&&o<h&&(f[o]||"")!==""&&(u=i.replace(e,u));return u},getLatestSearch:function(t){return t?t.sort(function(t,i){return n(i).attr("data-lastSearchTime")-n(t).attr("data-lastSearchTime")}):t||n()},findRange:function(n,t,i){var a,o,l,f,e,h,s,r,c,u=[];if(/^[0-9]+$/.test(t))return[parseInt(t,10)];if(!i&&/-/.test(t))for(o=t.match(/(\d+)\s*-\s*(\d+)/g),c=o?o.length:0,r=0;r<c;r++){for(l=o[r].split(/\s*-\s*/),f=parseInt(l[0],10)||0,e=parseInt(l[1],10)||n.columns-1,f>e&&(a=f,f=e,e=a),e>=n.columns&&(e=n.columns-1);f<=e;f++)u[u.length]=f;t=t.replace(o[r],"")}if(!i&&/,/.test(t))for(h=t.split(/\s*,\s*/),c=h.length,s=0;s<c;s++)h[s]!==""&&(r=parseInt(h[s],10),r<n.columns&&(u[u.length]=r));if(!u.length)for(r=0;r<n.columns;r++)u[u.length]=r;return u},getColumnElm:function(t,r,u){return r.filter(function(){var r=i.findRange(t,n(this).attr("data-column"));return n.inArray(u,r)>-1})},multipleColumns:function(t,r){var u=t.widgetOptions,f=u.filter_initialized||!r.filter(u.filter_anyColumnSelector).length,e=n.trim(i.getLatestSearch(r).attr("data-column")||"");return i.findRange(t,e,!f)},processTypes:function(t,r,u){var f,o=null,e=null;for(f in i.types)n.inArray(f,u.excludeMatch)<0&&e===null&&(e=i.types[f](t,r,u),e!==null&&(r.matchedOn=f,o=e));return o},matchType:function(n,t){var r,f=n.widgetOptions,i=n.$headerIndexed[t];return i.hasClass("filter-exact")?r=!1:i.hasClass("filter-match")?r=!0:(f.filter_columnFilters?i=n.$filters.find("."+u.filter).add(f.filter_$externalFilters).filter('[data-column="'+t+'"]'):f.filter_$externalFilters&&(i=f.filter_$externalFilters.filter('[data-column="'+t+'"]')),r=i.length?n.widgetOptions.filter_matchType[(i[0].nodeName||"").toLowerCase()]==="match":!1),r},processRow:function(u,f,e){var a,c,v,y,s,h=u.widgetOptions,l=!0,p=h.filter_$anyMatch&&h.filter_$anyMatch.length,o=h.filter_$anyMatch&&h.filter_$anyMatch.length?i.multipleColumns(u,h.filter_$anyMatch):[];if(f.$cells=f.$row.children(),f.matchedOn=null,f.anyMatchFlag&&o.length>1||f.anyMatchFilter&&!p){if(f.anyMatch=!0,f.isMatch=!0,f.rowArray=f.$cells.map(function(i){if(n.inArray(i,o)>-1||f.anyMatchFilter&&!p)return f.parsed[i]?s=f.cacheArray[i]:(s=f.rawArray[i],s=n.trim(h.filter_ignoreCase?s.toLowerCase():s),u.sortLocaleCompare&&(s=t.replaceAccents(s))),s}).get(),f.filter=f.anyMatchFilter,f.iFilter=f.iAnyMatchFilter,f.exact=f.rowArray.join(" "),f.iExact=h.filter_ignoreCase?f.exact.toLowerCase():f.exact,f.cache=f.cacheArray.slice(0,-1).join(" "),e.excludeMatch=e.noAnyMatch,c=i.processTypes(u,f,e),c!==null)l=c;else if(h.filter_startsWith)for(l=!1,o=Math.min(u.columns,f.rowArray.length);!l&&o>0;)o--,l=l||f.rowArray[o].indexOf(f.iFilter)===0;else l=(f.iExact+f.childRowText).indexOf(f.iFilter)>=0;if(f.anyMatch=!1,f.filters.join("")===f.filter)return l}for(o=0;o<u.columns;o++)f.filter=f.filters[o],f.index=o,e.excludeMatch=e.excludeFilter[o],f.filter&&(f.cache=f.cacheArray[o],a=f.parsed[o]?f.cache:f.rawArray[o]||"",f.exact=u.sortLocaleCompare?t.replaceAccents(a):a,f.iExact=!r.type.test(typeof f.exact)&&h.filter_ignoreCase?f.exact.toLowerCase():f.exact,f.isMatch=i.matchType(u,o),a=l,y=h.filter_columnFilters?u.$filters.add(h.filter_$externalFilters).filter('[data-column="'+o+'"]').find("select option:selected").attr("data-function-name")||"":"",u.sortLocaleCompare&&(f.filter=t.replaceAccents(f.filter)),h.filter_defaultFilter&&r.iQuery.test(e.defaultColFilter[o])&&(f.filter=i.defaultFilter(f.filter,e.defaultColFilter[o])),f.iFilter=h.filter_ignoreCase?(f.filter||"").toLowerCase():f.filter,v=e.functions[o],c=null,v&&(typeof v=="function"?c=v(f.exact,f.cache,f.filter,o,f.$row,u,f):typeof v[y||f.filter]=="function"&&(s=y||f.filter,c=v[s](f.exact,f.cache,f.filter,o,f.$row,u,f))),c===null?(c=i.processTypes(u,f,e),s=v===!0&&(f.matchedOn==="and"||f.matchedOn==="or"),c===null||s?v===!0?a=f.isMatch?(""+f.iExact).search(f.iFilter)>=0:f.filter===f.exact:(s=(f.iExact+f.childRowText).indexOf(i.parseFilter(u,f.iFilter,f)),a=!h.filter_startsWith&&s>=0||h.filter_startsWith&&s===0):a=c):a=c,l=a?l:!1);return l},findRows:function(u,f,e){if(!i.equalFilters(u.config,u.config.lastSearch,e)&&u.config.widgetOptions.filter_initialized){var ot,st,nt,v,ft,w,it,vt,l,yt,p,ht,b,ct,pt,a,c,et,y,rt,lt,k,tt,d,ut=n.extend([],f),o=u.config,s=o.widgetOptions,at=t.debug(o,"filter"),h={anyMatch:!1,filters:f,filter_regexCache:[]},g={noAnyMatch:["range","operators"],functions:[],excludeFilter:[],defaultColFilter:[],defaultAnyFilter:t.getColumnData(u,s.filter_defaultFilter,o.columns,!0)||""};for(h.parsed=[],l=0;l<o.columns;l++)h.parsed[l]=s.filter_useParsedData||o.parsers&&o.parsers[l]&&o.parsers[l].parsed||t.getData&&t.getData(o.$headerIndexed[l],t.getColumnData(u,o.headers,l),"filter")==="parsed"||o.$headerIndexed[l].hasClass("filter-parsed"),g.functions[l]=t.getColumnData(u,s.filter_functions,l)||o.$headerIndexed[l].hasClass("filter-select"),g.defaultColFilter[l]=t.getColumnData(u,s.filter_defaultFilter,l)||"",g.excludeFilter[l]=(t.getColumnData(u,s.filter_excludeFilter,l,!0)||"").split(/\s+/);for(at&&(console.log("Filter >> Starting filter widget search",f),pt=new Date),o.filteredRows=0,o.totalRows=0,e=ut||[],it=0;it<o.$tbodies.length;it++){if(vt=t.processTbody(u,o.$tbodies.eq(it),!0),l=o.columns,st=o.cache[it].normalized,v=n(n.map(st,function(n){return n[l].$row.get()})),e.join("")===""||s.filter_serversideFiltering)v.removeClass(s.filter_filteredRow).not("."+o.cssChildRow).css("display","");else{if(v=v.not("."+o.cssChildRow),ot=v.length,(s.filter_$anyMatch&&s.filter_$anyMatch.length||typeof f[o.columns]!="undefined")&&(h.anyMatchFlag=!0,h.anyMatchFilter=""+(f[o.columns]||s.filter_$anyMatch&&i.getLatestSearch(s.filter_$anyMatch).val()||""),s.filter_columnAnyMatch)){for(rt=h.anyMatchFilter.split(r.andSplit),lt=!1,c=0;c<rt.length;c++)k=rt[c].split(":"),k.length>1&&(isNaN(k[0])?n.each(o.headerContent,function(n,t){t.toLowerCase().indexOf(k[0])>-1&&(tt=n,f[tt]=k[1])}):tt=parseInt(k[0],10)-1,tt>=0&&tt<o.columns&&(f[tt]=k[1],rt.splice(c,1),c--,lt=!0));lt&&(h.anyMatchFilter=rt.join(" && "))}if(y=s.filter_searchFiltered,ht=o.lastSearch||o.$table.data("lastSearch")||[],y)for(c=0;c<l+1;c++)a=f[c]||"",y||(c=l),y=y&&ht.length&&a.indexOf(ht[c]||"")===0&&!r.alreadyFiltered.test(a)&&!r.exactTest.test(a)&&!(r.isNeg1.test(a)||r.isNeg2.test(a))&&!(a!==""&&o.$filters&&o.$filters.filter('[data-column="'+c+'"]').find("select").length&&!i.matchType(o,c));for(et=v.not("."+s.filter_filteredRow).length,y&&et===0&&(y=!1),at&&console.log("Filter >> Searching through "+(y&&et<ot?et:"all")+" rows"),h.anyMatchFlag&&(o.sortLocaleCompare&&(h.anyMatchFilter=t.replaceAccents(h.anyMatchFilter)),s.filter_defaultFilter&&r.iQuery.test(g.defaultAnyFilter)&&(h.anyMatchFilter=i.defaultFilter(h.anyMatchFilter,g.defaultAnyFilter),y=!1),h.iAnyMatchFilter=(s.filter_ignoreCase&&o.ignoreCase)?h.anyMatchFilter.toLowerCase():h.anyMatchFilter),w=0;w<ot;w++)if(d=v[w].className,yt=w&&r.child.test(d),!yt&&(!y||!r.filtered.test(d))){if(h.$row=v.eq(w),h.rowIndex=w,h.cacheArray=st[w],nt=h.cacheArray[o.columns],h.rawArray=nt.raw,h.childRowText="",!s.filter_childByColumn){for(d="",p=nt.child,c=0;c<p.length;c++)d+=" "+p[c].join(" ")||"";h.childRowText=s.filter_childRows?s.filter_ignoreCase?d.toLowerCase():d:""}if(b=!1,ct=i.processRow(o,h,g),ft=nt.$row,a=ct?!0:!1,p=nt.$row.filter(":gt(0)"),s.filter_childRows&&p.length){if(s.filter_childByColumn)for(s.filter_childWithSibs||(p.addClass(s.filter_filteredRow),ft=ft.eq(0)),c=0;c<p.length;c++)h.$row=p.eq(c),h.cacheArray=nt.child[c],h.rawArray=h.cacheArray,a=i.processRow(o,h,g),b=b||a,!s.filter_childWithSibs&&a&&p.eq(c).removeClass(s.filter_filteredRow);b=b||ct}else b=a;ft.toggleClass(s.filter_filteredRow,!b)[0].display=b?"":"none"}}o.filteredRows+=v.not("."+s.filter_filteredRow).length;o.totalRows+=v.length;t.processTbody(u,vt,!1)}o.lastCombinedFilter=ut.join("");o.lastSearch=ut;o.$table.data("lastSearch",ut);s.filter_saveFilters&&t.storage&&t.storage(u,"tablesorter-filters",i.processFilters(ut,!0));at&&console.log("Filter >> Completed search"+t.benchmark(pt));s.filter_initialized&&(o.$table.triggerHandler("filterBeforeEnd",o),o.$table.triggerHandler("filterEnd",o));setTimeout(function(){t.applyWidget(o.table)},0)}},getOptionSource:function(r,u,f){r=n(r)[0];var h=r.config,c=h.widgetOptions,o=!1,s=c.filter_selectSource,l=h.$table.data("lastSearch")||[],e=typeof s=="function"?!0:t.getColumnData(r,s,u);if(f&&l[u]!==""&&(f=!1),e===!0)o=s(r,u,f);else{if(e instanceof n||n.type(e)==="string"&&e.indexOf("<\/option>")>=0)return e;if(n.isArray(e))o=e;else if(n.type(s)==="object"&&e&&(o=e(r,u,f),o===null))return null}return o===!1&&(o=i.getOptions(r,u,f)),i.processOptions(r,u,o)},processOptions:function(i,r,u){if(!n.isArray(u))return!1;i=n(i)[0];var h,f,e,a,c,v,o=i.config,l=typeof r!="undefined"&&r!==null&&r>=0&&r<o.columns,y=l?o.$headerIndexed[r].hasClass("filter-select-sort-desc"):!1,s=[];if(u=n.grep(u,function(t,i){return t.text?!0:n.inArray(t,u)===i}),l&&o.$headerIndexed[r].hasClass("filter-select-nosort"))return u;for(a=u.length,e=0;e<a;e++)f=u[e],v=f.text?f.text:f,c=(l&&o.parsers&&o.parsers.length&&o.parsers[r].format(v,i,[],r)||v).toString(),c=o.widgetOptions.filter_ignoreCase?c.toLowerCase():c,f.text?(f.parsed=c,s[s.length]=f):s[s.length]={text:f,parsed:c};for(h=o.textSorter||"",s.sort(function(n,u){var f=y?u.parsed:n.parsed,e=y?n.parsed:u.parsed;return l&&typeof h=="function"?h(f,e,!0,r,i):l&&typeof h=="object"&&h.hasOwnProperty(r)?h[r](f,e,!0,r,i):t.sortNatural?t.sortNatural(f,e):!0}),u=[],a=s.length,e=0;e<a;e++)u[u.length]=s[e];return u},getOptions:function(i,r,u){i=n(i)[0];for(var e,v,y,o,h,p,a,f=i.config,c=f.widgetOptions,s=[],l=0;l<f.$tbodies.length;l++)for(o=f.cache[l],v=f.cache[l].normalized.length,e=0;e<v;e++)if(y=o.row?o.row[e]:o.normalized[e][f.columns].$row[0],!u||!y.className.match(c.filter_filteredRow))if(c.filter_useParsedData||f.parsers[r].parsed||f.$headerIndexed[r].hasClass("filter-parsed")){if(s[s.length]=""+o.normalized[e][r],c.filter_childRows&&c.filter_childByColumn)for(a=o.normalized[e][f.columns].$row.length-1,h=0;h<a;h++)s[s.length]=""+o.normalized[e][f.columns].child[h][r]}else if(s[s.length]=o.normalized[e][f.columns].raw[r],c.filter_childRows&&c.filter_childByColumn)for(a=o.normalized[e][f.columns].$row.length,h=1;h<a;h++)p=o.normalized[e][f.columns].$row.eq(h).children().eq(r),s[s.length]=""+t.getElementText(f,p,r);return s},buildSelect:function(t,f,e,o,s){if(t=n(t)[0],f=parseInt(f,10),t.config.cache&&!n.isEmptyObject(t.config.cache)){var b,c,l,k,a,w,h,v=t.config,y=v.widgetOptions,d=v.$headerIndexed[f],p='<option value="">'+(d.data("placeholder")||d.attr("data-placeholder")||y.filter_placeholder.select||"")+"<\/option>",g=v.$table.find("thead").find("select."+u.filter+'[data-column="'+f+'"]').val();if(typeof e!="undefined"&&e!==""||(e=i.getOptionSource(t,f,s),e!==null)){if(n.isArray(e)){for(b=0;b<e.length;b++)if(h=e[b],h.text){h["data-function-name"]=typeof h.value=="undefined"?h.text:h.value;p+="<option";for(c in h)h.hasOwnProperty(c)&&c!=="text"&&(p+=" "+c+'="'+h[c].replace(r.quote,"&quot;")+'"');h.value||(p+=' value="'+h.text.replace(r.quote,"&quot;")+'"');p+=">"+h.text.replace(r.quote,"&quot;")+"<\/option>"}else""+h!="[object Object]"&&(l=h=(""+h).replace(r.quote,"&quot;"),c=l,l.indexOf(y.filter_selectSourceSeparator)>=0&&(k=l.split(y.filter_selectSourceSeparator),c=k[0],l=k[1]),p+=h!==""?"<option "+(c===l?"":'data-function-name="'+h+'" ')+'value="'+c+'">'+l+"<\/option>":"");e=[]}a=(v.$filters?v.$filters:v.$table.children("thead")).find("."+u.filter);y.filter_$externalFilters&&(a=a&&a.length?a.add(y.filter_$externalFilters):y.filter_$externalFilters);w=a.filter('select[data-column="'+f+'"]');w.length&&(w[o?"html":"append"](p),n.isArray(e)||w.append(e).val(g),w.val(g))}}},buildDefault:function(n,r){for(var f,o,e=n.config,s=e.widgetOptions,h=e.columns,u=0;u<h;u++)f=e.$headerIndexed[u],o=!(f.hasClass("filter-false")||f.hasClass("parser-false")),(f.hasClass("filter-select")||t.getColumnData(n,s.filter_functions,u)===!0)&&o&&i.buildSelect(n,u,"",r,f.hasClass(s.filter_onlyAvail))}};r=i.regex;t.getFilters=function(t,r,f,e){var h,l,o,a,v=[],s=t?n(t)[0].config:"",c=s?s.widgetOptions:"";if(r!==!0&&c&&!c.filter_columnFilters||n.isArray(f)&&i.equalFilters(s,f,s.lastSearch))return n(t).data("lastSearch")||[];if(s&&(s.$filters&&(l=s.$filters.find("."+u.filter)),c.filter_$externalFilters&&(l=l&&l.length?l.add(c.filter_$externalFilters):c.filter_$externalFilters),l&&l.length))for(v=f||[],h=0;h<s.columns+1;h++)a=h===s.columns?c.filter_anyColumnSelector+","+c.filter_multipleColumnSelector:'[data-column="'+h+'"]',o=l.filter(a),o.length&&(o=i.getLatestSearch(o),n.isArray(f)?(e&&o.length>1&&(o=o.slice(1)),h===s.columns&&(a=o.filter(c.filter_anyColumnSelector),o=a.length?a:o),o.val(f[h]).trigger("change"+s.namespace)):(v[h]=o.val()||"",h===s.columns?o.slice(1).filter('[data-column*="'+o.attr("data-column")+'"]').val(v[h]):o.slice(1).val(v[h])),h===s.columns&&o.length&&(c.filter_$anyMatch=o));return v};t.setFilters=function(r,u,f,e){var o=r?n(r)[0].config:"",s=t.getFilters(r,!0,u,e);return typeof f=="undefined"&&(f=!0),o&&f&&(o.lastCombinedFilter=null,o.lastSearch=[],i.searching(o.table,u,e),o.$table.triggerHandler("filterFomatterUpdate")),s.length!==0}})(n);
/*! Widget: stickyHeaders - updated 9/27/2017 (v2.29.0) */
(function(n,t){"use strict";function r(t,i){var r=isNaN(i.stickyHeaders_offset)?n(i.stickyHeaders_offset):[];return r.length?r.height()||0:parseInt(i.stickyHeaders_offset,10)||0}var i=n.tablesorter||{};n.extend(i.css,{sticky:"tablesorter-stickyHeader",stickyVis:"tablesorter-sticky-visible",stickyHide:"tablesorter-sticky-hidden",stickyWrap:"tablesorter-sticky-wrapper"});i.addHeaderResizeEvent=function(t,i,r){if(t=n(t)[0],t.config){var o=n.extend({},{timer:250},r),f=t.config,u=f.widgetOptions,e=function(n){var i,r,t,e,o,s,h=f.$headers.length;for(u.resize_flag=!0,r=[],i=0;i<h;i++)t=f.$headers.eq(i),e=t.data("savedSizes")||[0,0],o=t[0].offsetWidth,s=t[0].offsetHeight,(o!==e[0]||s!==e[1])&&(t.data("savedSizes",[o,s]),r.push(t[0]));r.length&&n!==!1&&f.$table.triggerHandler("resize",[r]);u.resize_flag=!1};if(clearInterval(u.resize_timer),i)return u.resize_flag=!1,!1;e(!1);u.resize_timer=setInterval(function(){u.resize_flag||e()},o.timer)}};i.addWidget({id:"stickyHeaders",priority:54,options:{stickyHeaders:"",stickyHeaders_appendTo:null,stickyHeaders_attachTo:null,stickyHeaders_xScroll:null,stickyHeaders_yScroll:null,stickyHeaders_offset:0,stickyHeaders_filteredToTop:!0,stickyHeaders_cloneId:"-sticky",stickyHeaders_addResizeEvent:!0,stickyHeaders_includeCaption:!0,stickyHeaders_zIndex:2},format:function(u,f,e){if(!f.$table.hasClass("hasStickyHeaders")&&(!(n.inArray("filter",f.widgets)>=0)||f.$table.hasClass("hasFilters"))){var y,nt,b,o=f.$table,h=n(e.stickyHeaders_attachTo||e.stickyHeaders_appendTo),a=f.namespace+"stickyheaders ",v=n(e.stickyHeaders_yScroll||e.stickyHeaders_attachTo||t),ut=n(e.stickyHeaders_xScroll||e.stickyHeaders_attachTo||t),ft=o.children("thead:first"),et=ft.children("tr").not(".sticky-false").children(),ot=o.children("tfoot"),st=r(f,e),c=o.parent().closest("."+i.css.table).hasClass("hasStickyHeaders")?o.parent().closest("table.tablesorter")[0].config.widgetOptions.$sticky.parent():[],p=c.length?c.height():0,s=e.$sticky=o.clone().addClass("containsStickyHeaders "+i.css.sticky+" "+e.stickyHeaders+" "+f.namespace.slice(1)+"_extra_table").wrap('<div class="'+i.css.stickyWrap+'">'),l=s.parent().addClass(i.css.stickyHide).css({position:h.length?"absolute":"fixed",padding:parseInt(s.parent().parent().css("padding-left"),10),top:st+p,left:0,visibility:"hidden",zIndex:e.stickyHeaders_zIndex||2}),k=s.children("thead:first"),w,tt="",it=function(n,i){for(var u,o,e,r,s=n.filter(":visible"),h=s.length,f=0;f<h;f++)e=i.filter(":visible").eq(f),r=s.eq(f),r.css("box-sizing")==="border-box"?u=r.outerWidth():e.css("border-collapse")==="collapse"?t.getComputedStyle?u=parseFloat(t.getComputedStyle(r[0],null).width):(o=parseFloat(r.css("border-width")),u=r.outerWidth()-parseFloat(r.css("padding-left"))-parseFloat(r.css("padding-right"))-o):u=r.width(),e.css({width:u,"min-width":u,"max-width":u})},rt=function(i){return i===!1&&c.length?o.position().left:h.length?parseInt(h.css("padding-left"),10)||0:o.offset().left-parseInt(o.css("margin-left"),10)-n(t).scrollLeft()},d=function(){l.css({left:rt(),width:o.outerWidth()});it(o,s);it(et,w)},g=function(t){if(o.is(":visible")){p=c.length?c.offset().top-v.scrollTop()+c.height():0;var y,k=o.offset(),g=r(f,e),s=n.isWindow(v[0]),ut=s?v.scrollTop():c.length?parseInt(c[0].style.top,10):v.offset().top,ft=h.length?ut:v.scrollTop(),nt=e.stickyHeaders_includeCaption?0:o.children("caption").height()||0,w=ft+g+p-nt,et=o.height()-(l.height()+(ot.height()||0))-nt,a=w>k.top&&w<k.top+et?"visible":"hidden",it=a==="visible"?i.css.stickyVis:i.css.stickyHide,b=!l.hasClass(it),u={visibility:a};h.length&&(b=!0,u.top=s?w-h.offset().top:h.scrollTop());y=rt(s);y!==parseInt(l.css("left"),10)&&(b=!0,u.left=y);u.top=(u.top||0)+(!s&&c.length?c.height():g+p);b&&l.removeClass(i.css.stickyVis+" "+i.css.stickyHide).addClass(it).css(u);(a!==tt||t)&&(d(),tt=a)}};if(h.length&&!h.css("position")&&h.css("position","relative"),s.attr("id")&&(s[0].id+=e.stickyHeaders_cloneId),s.find("> thead:gt(0), tr.sticky-false").hide(),s.find("> tbody, > tfoot").remove(),s.find("caption").toggle(e.stickyHeaders_includeCaption),w=k.children().children(),s.css({height:0,width:0,margin:0}),w.find("."+i.css.resizer).remove(),o.addClass("hasStickyHeaders").bind("pagerComplete"+a,function(){d()}),i.bindEvents(u,k.children().children("."+i.css.header)),e.stickyHeaders_appendTo?n(e.stickyHeaders_appendTo).append(l):o.after(l),f.onRenderHeader)for(b=k.children("tr").children(),nt=b.length,y=0;y<nt;y++)f.onRenderHeader.apply(b.eq(y),[y,f,s]);ut.add(v).unbind("scroll resize ".split(" ").join(a).replace(/\s+/g," ")).bind("scroll resize ".split(" ").join(a),function(n){g(n.type==="resize")});f.$table.unbind("stickyHeadersUpdate"+a).bind("stickyHeadersUpdate"+a,function(){g(!0)});e.stickyHeaders_addResizeEvent&&i.addHeaderResizeEvent(u);o.hasClass("hasFilters")&&e.filter_columnFilters&&(o.bind("filterEnd"+a,function(){var r=n(document.activeElement).closest("td"),u=r.parent().children().index(r);l.hasClass(i.css.stickyVis)&&e.stickyHeaders_filteredToTop&&(t.scrollTo(0,o.position().top),u>=0&&f.$filters&&f.$filters.eq(u).find("a, select, input").filter(":visible").focus())}),i.filter.bindSearch(o,w.find("."+i.css.filter)),e.filter_hideFilters&&i.filter.hideFilters(f,s));e.stickyHeaders_addResizeEvent&&o.bind("resize"+f.namespace+"stickyheaders",function(){d()});g(!0);o.triggerHandler("stickyHeadersInit")}},remove:function(r,u,f){var e=u.namespace+"stickyheaders ";u.$table.removeClass("hasStickyHeaders").unbind("pagerComplete resize filterEnd stickyHeadersUpdate ".split(" ").join(e).replace(/\s+/g," ")).next("."+i.css.stickyWrap).remove();f.$sticky&&f.$sticky.length&&f.$sticky.remove();n(t).add(f.stickyHeaders_xScroll).add(f.stickyHeaders_yScroll).add(f.stickyHeaders_attachTo).unbind("scroll resize ".split(" ").join(e).replace(/\s+/g," "));i.addHeaderResizeEvent(r,!0)}})})(n,window);
/*! Widget: resizable - updated 2018-03-26 (v2.30.2) */
(function(n,t){"use strict";var i=n.tablesorter||{};n.extend(i.css,{resizableContainer:"tablesorter-resizable-container",resizableHandle:"tablesorter-resizable-handle",resizableNoSelect:"tablesorter-disableSelection",resizableStorage:"tablesorter-resizable"});n(function(){var t="<style>body."+i.css.resizableNoSelect+" { -ms-user-select: none; -moz-user-select: -moz-none;-khtml-user-select: none; -webkit-user-select: none; user-select: none; }."+i.css.resizableContainer+" { position: relative; height: 1px; }."+i.css.resizableHandle+" { position: absolute; display: inline-block; width: 8px;top: 1px; cursor: ew-resize; z-index: 3; user-select: none; -moz-user-select: none; }<\/style>";n("head").append(t)});i.resizable={init:function(t,r){if(!t.$table.hasClass("hasResizable")){t.$table.addClass("hasResizable");var c,h,f,l,s,o=t.$table,e=o.parent(),a=parseInt(o.css("margin-top"),10),u=r.resizable_vars={useStorage:i.storage&&r.resizable!==!1,$wrap:e,mouseXPosition:0,$target:null,$next:null,overflow:e.css("overflow")==="auto"||e.css("overflow")==="scroll"||e.css("overflow-x")==="auto"||e.css("overflow-x")==="scroll",storedSizes:[]};for(i.resizableReset(t.table,!0),u.tableWidth=o.width(),u.fullWidth=Math.abs(e.width()-u.tableWidth)<20,u.useStorage&&u.overflow&&(i.storage(t.table,"tablesorter-table-original-css-width",u.tableWidth),s=i.storage(t.table,"tablesorter-table-resized-width")||"auto",i.resizable.setWidth(o,s,!0)),r.resizable_vars.storedSizes=l=(u.useStorage?i.storage(t.table,i.css.resizableStorage):[])||[],i.resizable.setWidths(t,r,l),i.resizable.updateStoredSizes(t,r),r.$resizable_container=n('<div class="'+i.css.resizableContainer+'">').css({top:a}).insertBefore(o),f=0;f<t.columns;f++)h=t.$headerIndexed[f],s=i.getColumnData(t.table,t.headers,f),c=i.getData(h,s,"resizable")==="false",c||n('<div class="'+i.css.resizableHandle+'">').appendTo(r.$resizable_container).attr({"data-column":f,unselectable:"on"}).data("header",h).bind("selectstart",!1);i.resizable.bindings(t,r)}},updateStoredSizes:function(n,t){var i,r,f=n.columns,u=t.resizable_vars;for(u.storedSizes=[],i=0;i<f;i++)r=n.$headerIndexed[i],u.storedSizes[i]=r.is(":visible")?r.width():0},setWidth:function(n,t,i){n.css({width:t,"min-width":i?t:"","max-width":i?t:""})},setWidths:function(t,r,u){var f,e,o=r.resizable_vars,s=n(t.namespace+"_extra_headers"),h=t.$table.children("colgroup").children("col");if(u=u||o.storedSizes||[],u.length){for(f=0;f<t.columns;f++)i.resizable.setWidth(t.$headerIndexed[f],u[f],o.overflow),s.length&&(e=s.eq(f).add(h.eq(f)),i.resizable.setWidth(e,u[f],o.overflow));e=n(t.namespace+"_extra_table");e.length&&!i.hasWidget(t.table,"scroller")&&i.resizable.setWidth(e,t.$table.outerWidth(),o.overflow)}},setHandlePosition:function(t,r){var f,u=t.$table.height(),e=r.$resizable_container.children(),o=Math.floor(e.width()/2);i.hasWidget(t.table,"scroller")&&(u=0,t.$table.closest("."+i.css.scrollerWrap).children().each(function(){var t=n(this);u+=t.filter('[style*="height"]').length?t.height():t.children("table").height()}));!r.resizable_includeFooter&&t.$table.children("tfoot").length&&(u-=t.$table.children("tfoot").height());f=parseFloat(n.fn.jquery)>=3.3?0:t.$table.position().left;e.each(function(){var e=n(this),h=parseInt(e.attr("data-column"),10),c=t.columns-1,s=e.data("header");s&&(s.is(":visible")&&(r.resizable_addLastColumn||!i.resizable.checkVisibleColumns(t,h))?(h<c||h===c&&r.resizable_addLastColumn)&&e.css({display:"inline-block",height:u,left:s.position().left-f+s.outerWidth()-o}):e.hide())})},checkVisibleColumns:function(n,t){for(var r=0,i=t+1;i<n.columns;i++)r+=n.$headerIndexed[i].is(":visible")?1:0;return r===0},toggleTextSelection:function(t,r,u){var f=t.namespace+"tsresize";r.resizable_vars.disabled=u;n("body").toggleClass(i.css.resizableNoSelect,u);u?n("body").attr("unselectable","on").bind("selectstart"+f,!1):n("body").removeAttr("unselectable").unbind("selectstart"+f)},bindings:function(r,u){var f=r.namespace+"tsresize";u.$resizable_container.children().bind("mousedown",function(t){var e,f=u.resizable_vars,s=n(r.namespace+"_extra_headers"),o=n(t.target).data("header");e=parseInt(o.attr("data-column"),10);f.$target=o=o.add(s.filter('[data-column="'+e+'"]'));f.target=e;f.$next=t.shiftKey||u.resizable_targetLast?o.parent().children().not(".resizable-false").filter(":last"):o.nextAll(":not(.resizable-false)").eq(0);e=parseInt(f.$next.attr("data-column"),10);f.$next=f.$next.add(s.filter('[data-column="'+e+'"]'));f.next=e;f.mouseXPosition=t.pageX;i.resizable.updateStoredSizes(r,u);i.resizable.toggleTextSelection(r,u,!0)});n(document).bind("mousemove"+f,function(n){var t=u.resizable_vars;t.disabled&&t.mouseXPosition!==0&&t.$target&&(u.resizable_throttle?(clearTimeout(t.timer),t.timer=setTimeout(function(){i.resizable.mouseMove(r,u,n)},isNaN(u.resizable_throttle)?5:u.resizable_throttle)):i.resizable.mouseMove(r,u,n))}).bind("mouseup"+f,function(){u.resizable_vars.disabled&&(i.resizable.toggleTextSelection(r,u,!1),i.resizable.stopResize(r,u),i.resizable.setHandlePosition(r,u))});n(t).bind("resize"+f+" resizeEnd"+f,function(){i.resizable.setHandlePosition(r,u)});r.$table.bind("columnUpdate pagerComplete resizableUpdate ".split(" ").join(f+" "),function(){i.resizable.setHandlePosition(r,u)}).bind("resizableReset"+f,function(){i.resizableReset(r.table)}).find("thead:first").add(n(r.namespace+"_extra_table").find("thead:first")).bind("contextmenu"+f,function(){var n=u.resizable_vars.storedSizes.length===0;return i.resizableReset(r.table),i.resizable.setHandlePosition(r,u),u.resizable_vars.storedSizes=[],n})},mouseMove:function(t,r,u){if(r.resizable_vars.mouseXPosition!==0&&r.resizable_vars.$target){var o,s=0,f=r.resizable_vars,h=f.$next,c=f.storedSizes[f.target],e=u.pageX-f.mouseXPosition;if(f.overflow){if(c+e>0){for(f.storedSizes[f.target]+=e,i.resizable.setWidth(f.$target,f.storedSizes[f.target],!0),o=0;o<t.columns;o++)s+=f.storedSizes[o];i.resizable.setWidth(t.$table.add(n(t.namespace+"_extra_table")),s)}h.length||(f.$wrap[0].scrollLeft=t.$table.width())}else f.fullWidth?(f.storedSizes[f.target]+=e,f.storedSizes[f.next]-=e,i.resizable.setWidths(t,r)):(f.storedSizes[f.target]+=e,i.resizable.setWidths(t,r));f.mouseXPosition=u.pageX;t.$table.triggerHandler("stickyHeadersUpdate")}},stopResize:function(n,t){var r=t.resizable_vars;i.resizable.updateStoredSizes(n,t);r.useStorage&&(i.storage(n.table,i.css.resizableStorage,r.storedSizes),i.storage(n.table,"tablesorter-table-resized-width",n.$table.width()));r.mouseXPosition=0;r.$target=r.$next=null;n.$table.triggerHandler("stickyHeadersUpdate");n.$table.triggerHandler("resizableComplete")}};i.addWidget({id:"resizable",priority:40,options:{resizable:!0,resizable_addLastColumn:!1,resizable_includeFooter:!0,resizable_widths:[],resizable_throttle:!1,resizable_targetLast:!1},init:function(n,t,r,u){i.resizable.init(r,u)},format:function(n,t,r){i.resizable.setHandlePosition(t,r)},remove:function(t,r,u,f){if(u.$resizable_container){var e=r.namespace+"tsresize";r.$table.add(n(r.namespace+"_extra_table")).removeClass("hasResizable").children("thead").unbind("contextmenu"+e);u.$resizable_container.remove();i.resizable.toggleTextSelection(r,u,!1);i.resizableReset(t,f);n(document).unbind("mousemove"+e+" mouseup"+e)}}});i.resizableReset=function(t,r){n(t).each(function(){var f,e,n=this.config,o=n&&n.widgetOptions,u=o.resizable_vars;if(t&&n&&n.$headerIndexed.length){for(u.overflow&&u.tableWidth&&(i.resizable.setWidth(n.$table,u.tableWidth,!0),u.useStorage&&i.storage(t,"tablesorter-table-resized-width",u.tableWidth)),f=0;f<n.columns;f++)e=n.$headerIndexed[f],o.resizable_widths&&o.resizable_widths[f]?i.resizable.setWidth(e,o.resizable_widths[f],u.overflow):e.hasClass("resizable-false")||i.resizable.setWidth(e,"",u.overflow);n.$table.triggerHandler("stickyHeadersUpdate");i.storage&&!r&&i.storage(this,i.css.resizableStorage,[])}})}})(n,window);
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) */
return function(n){"use strict";function i(i){var r=t.storage(i.table,"tablesorter-savesort");return r&&r.hasOwnProperty("sortList")&&n.isArray(r.sortList)?r.sortList:[]}function r(n,t){return(t||i(n)).join(",")!==n.sortList.join(",")}var t=n.tablesorter||{};t.addWidget({id:"saveSort",priority:20,options:{saveSort:!0},init:function(n,t,i,r){t.format(n,i,r,!0)},format:function(n,u,f,e){var s,h=u.$table,l=f.saveSort!==!1,o={sortList:u.sortList},c=t.debug(u,"saveSort");c&&(s=new Date);h.hasClass("hasSaveSort")?l&&n.hasInitialized&&t.storage&&r(u)&&(t.storage(n,"tablesorter-savesort",o),c&&console.log("saveSort >> Saving last sort: "+u.sortList+t.benchmark(s))):(h.addClass("hasSaveSort"),o="",t.storage&&(o=i(u),c&&console.log('saveSort >> Last sort loaded: "'+o+'"'+t.benchmark(s)),h.bind("saveSortReset",function(i){i.stopPropagation();t.storage(n,"tablesorter-savesort","")})),e&&o&&o.length>0?u.sortList=o:n.hasInitialized&&o&&o.length>0&&r(u,o)&&t.sortOn(u,o))},remove:function(n,i){i.$table.removeClass("hasSaveSort");t.storage&&t.storage(n,"tablesorter-savesort","")}})}(n),n.tablesorter});
/*!
* tablesorter (FORK) pager plugin
* updated 2018-03-19 (v2.30.1)
*/
(function(n){"use strict";var t=n.tablesorter;n.extend({tablesorterPager:new function(){this.defaults={container:null,ajaxUrl:null,customAjaxUrl:function(n,t){return t},ajaxError:null,ajaxObject:{dataType:"json"},processAjaxOnInit:!0,ajaxProcessing:function(){return[0,[],null]},output:"{startRow} to {endRow} of {totalRows} rows",updateArrows:!0,page:0,pageReset:0,size:10,maxOptionSize:20,savePages:!0,storageKey:"tablesorter-pager",fixedHeight:!1,countChildRows:!1,removeRows:!1,cssFirst:".first",cssPrev:".prev",cssNext:".next",cssLast:".last",cssGoto:".gotoPage",cssPageDisplay:".pagedisplay",cssPageSize:".pagesize",cssErrorRow:"tablesorter-errorRow",cssDisabled:"disabled",totalRows:0,totalPages:0,filteredRows:0,filteredPages:0,ajaxCounter:0,currentFilters:[],startRow:0,endRow:0,$size:null,last:{}};var it="filterInit filterStart filterEnd sortEnd disablePager enablePager destroyPager updateComplete pageSize pageSet pageAndSize pagerUpdate refreshComplete ",s=this,h=function(n,t,i){var r,u="addClass",e="removeClass",o=t.cssDisabled,s=!!i,h=s||t.page===0,c=f(n,t),l=s||t.page===c-1||c===0;t.updateArrows&&(r=t.$container.find(t.cssFirst+","+t.cssPrev),r[h?u:e](o),r.each(function(){this.ariaDisabled=h}),r=t.$container.find(t.cssNext+","+t.cssLast),r[l?u:e](o),r.each(function(){this.ariaDisabled=l}))},p=function(n,i){var f,u,e,r=n.config,o=r.$table.hasClass("hasFilters");if(o&&!i.ajax)if(t.isEmptyObject(r.cache))i.filteredRows=i.totalRows=r.$tbodies.eq(0).children("tr").not(i.countChildRows?"":"."+r.cssChildRow).length;else for(i.filteredRows=0,f=r.cache[0].normalized,e=f.length,u=0;u<e;u++)i.filteredRows+=i.regexRows.test(f[u][r.columns].$row[0].className)?0:1;else o||(i.filteredRows=i.totalRows)},r=function(i,r,u){if(!r.initializing){var b,s,l,k,a,nt,y,d,c=i.config,g=c.namespace+"pager",o=e(r,r.size,"get");if(o==="all"&&(o=r.totalRows),r.countChildRows&&(s[s.length]=c.cssChildRow),r.totalPages=Math.ceil(r.totalRows/o),c.totalRows=r.totalRows,v(i,r),p(i,r),c.filteredRows=r.filteredRows,r.filteredPages=Math.ceil(r.filteredRows/o)||0,f(i,r)>=0){if(s=o*r.page>r.filteredRows&&u,r.page=s?r.pageReset||0:r.page,r.startRow=s?o*r.page+1:r.filteredRows===0?0:o*r.page+1,r.endRow=Math.min(r.filteredRows,r.totalRows,o*(r.page+1)),l=r.$container.find(r.cssPageDisplay),typeof r.output=="function"?b=r.output(i,r):(d=l.attr("data-pager-output"+(r.filteredRows<r.totalRows?"-filtered":""))||r.output,b=(r.ajaxData&&r.ajaxData.output?r.ajaxData.output||d:d).replace(/\{page([\-+]\d+)?\}/gi,function(n,t){return r.totalPages?r.page+(t?parseInt(t,10):1):0}).replace(/\{\w+(\s*:\s*\w+)?\}/gi,function(n){var f,e,u=n.replace(/[{}\s]/g,""),t=u.split(":"),i=r.ajaxData,o=/(rows?|pages?)$/i.test(u)?0:"";return/(startRow|page)/.test(t[0])&&t[1]==="input"?(f=(""+(t[0]==="page"?r.totalPages:r.totalRows)).length,e=t[0]==="page"?r.page+1:r.startRow,'<input type="text" class="ts-'+t[0]+'" style="max-width:'+f+'em" value="'+e+'"/>'):t.length>1&&i&&i[t[0]]?i[t[0]][t[1]]:r[u]||(i?i[u]:o)||o})),k=r.$container.find(r.cssGoto),k.length){for(s="",y=rt(i,r),nt=y.length,a=0;a<nt;a++)s+='<option value="'+y[a]+'">'+y[a]+"<\/option>";k.html(s).val(r.page+1)}l.length&&(l[l[0].nodeName==="INPUT"?"val":"html"](b),l.find(".ts-startRow, .ts-page").unbind("change"+g).bind("change"+g,function(){var t=n(this).val(),i=n(this).hasClass("ts-startRow")?Math.floor(t/o)+1:t;c.$table.triggerHandler("pageSet"+g,[i])}))}h(i,r);w(i,r);r.initialized&&u!==!1&&(t.debug(c,"pager")&&console.log("Pager >> Triggering pagerComplete"),c.$table.triggerHandler("pagerComplete",r),r.savePages&&t.storage&&t.storage(i,r.storageKey,{page:r.page,size:o===r.totalRows?"all":o}))}},rt=function(t,i){for(var v,s,p,c,h,e=f(t,i)||1,o=Math.ceil(e/i.maxOptionSize/5)*5,y=e>i.maxOptionSize,w=i.page+1,l=o,a=e-o,r=[1],b=y?o:1,u=b;u<=e;)r[r.length]=u,u=u+(y?o:1);if(r[r.length]=e,y){for(s=[],v=Math.max(Math.floor(i.maxOptionSize/o)-1,5),l=w-v,l<1&&(l=1),a=w+v,a>e&&(a=e),u=l;u<=a;u++)s[s.length]=u;r=n.grep(r,function(t,i){return n.inArray(t,r)===i});c=r.length;h=s.length;c-h>o/2&&c+h>i.maxOptionSize&&(p=Math.floor(c/2)-Math.floor(h/2),Array.prototype.splice.apply(r,[p,h]));r=r.concat(s)}return r=n.grep(r,function(t,i){return n.inArray(t,r)===i}).sort(function(n,t){return n-t})},w=function(t,i){var f,e,r,o=t.config,u=o.$tbodies.eq(0);u.find("tr.pagerSavedHeightSpacer").remove();i.fixedHeight&&!i.isDisabled&&(e=n.data(t,"pagerSavedHeight"),e&&(r=0,n(t).css("border-spacing").split(" ").length>1&&(r=n(t).css("border-spacing").split(" ")[1].replace(/[^-\d\.]/g,"")),f=e-u.height()+r*i.size-r,f>5&&n.data(t,"pagerLastSize")===i.size&&u.children("tr:visible").length<(i.size==="all"?i.totalRows:i.size)&&u.append('<tr class="pagerSavedHeightSpacer '+o.selectorRemove.slice(1)+'" style="height:'+f+'px;"><\/tr>')))},c=function(t,i){var u,f=t.config,r=f.$tbodies.eq(0);r.find("tr.pagerSavedHeightSpacer").remove();r.children("tr:visible").length||r.append('<tr class="pagerSavedHeightSpacer '+f.selectorRemove.slice(1)+'"><td>&nbsp<\/td><\/tr>');u=r.children("tr").eq(0).height()*(i.size==="all"?i.totalRows:i.size);n.data(t,"pagerSavedHeight",u);w(t,i);n.data(t,"pagerLastSize",i.size)},o=function(n,i){if(!i.ajaxUrl){var r,e=0,o=n.config,u=o.$tbodies.eq(0).children("tr"),c=u.length,l=i.size==="all"?i.totalRows:i.size,s=i.page*l,h=s+l,a=0,f=0;for(i.cacheIndex=[],r=0;r<c;r++)i.regexFiltered.test(u[r].className)||(f===s&&u[r].className.match(o.cssChildRow)?u[r].style.display="none":(u[r].style.display=f>=s&&f<h?"":"none",a!==f&&f>=s&&f<h&&(i.cacheIndex[i.cacheIndex.length]=r,a=f),f+=u[r].className.match(o.cssChildRow+"|"+o.selectorRemove.slice(1))&&!i.countChildRows?0:1,f===h&&u[r].style.display!=="none"&&u[r].className.match(t.css.cssHasChild)&&(e=r)));if(e>0&&u[e].className.match(t.css.cssHasChild))while(++e<c&&u[e].className.match(o.cssChildRow))u[e].style.display=""}},b=function(t,i){i.size=e(i,i.$container.find(i.cssPageSize).val(),"get");u(t,i.size,i);h(t,i);i.removeRows||(o(t,i),n(t).bind("sortEnd filterEnd ".split(" ").join(t.config.namespace+"pager "),function(){o(t,i)}))},k=function(i,u,f,o,s,h){if(typeof f.ajaxProcessing=="function"){u.config.$tbodies.eq(0).empty();var p,c,tt,k,ot,w,it,b,d,y,v,rt,ut,st,ft,l=u.config,et=l.$table,nt="",a=f.ajaxProcessing(i,u,o)||[0,[]];if(t.showError(u),h)t.debug(l,"pager")&&console.error("Pager >> Ajax Error",o,s,h),t.showError(u,o,s,h),l.$tbodies.eq(0).children("tr").detach(),f.totalRows=0;else{if(n.isArray(a)?(tt=isNaN(a[0])&&!isNaN(a[1]),ut=a[tt?1:0],f.totalRows=isNaN(ut)?f.totalRows||0:ut,l.totalRows=l.filteredRows=f.filteredRows=f.totalRows,v=f.totalRows===0?[]:a[tt?0:1]||[],y=a[2]):(f.ajaxData=a,l.totalRows=f.totalRows=a.total,l.filteredRows=f.filteredRows=typeof a.filteredRows!="undefined"?a.filteredRows:a.total,y=a.headers,v=a.rows||[]),rt=v&&v.length,v instanceof jQuery)f.processAjaxOnInit&&(l.$tbodies.eq(0).empty(),l.$tbodies.eq(0).append(v));else if(rt){for(p=0;p<rt;p++){for(nt+="<tr>",c=0;c<v[p].length;c++)nt+=/^\s*<td/.test(v[p][c])?n.trim(v[p][c]):"<td>"+v[p][c]+"<\/td>";nt+="<\/tr>"}f.processAjaxOnInit&&l.$tbodies.eq(0).html(nt)}if(f.processAjaxOnInit=!0,y)for(k=et.hasClass("hasStickyHeaders"),w=k?l.widgetOptions.$sticky.children("thead:first").children("tr:not(."+l.cssIgnoreRow+")").children():"",ot=et.find("tfoot tr:first").children(),it=l.$headers.filter("th "),st=it.length,c=0;c<st;c++)b=it.eq(c),b.find("."+t.css.icon).length?(d=b.find("."+t.css.icon).clone(!0),b.find("."+t.css.headerIn).html(y[c]).append(d),k&&w.length&&(d=w.eq(c).find("."+t.css.icon).clone(!0),w.eq(c).find("."+t.css.headerIn).html(y[c]).append(d))):(b.find("."+t.css.headerIn).html(y[c]),k&&w.length&&(f.$container=f.$container.add(l.widgetOptions.$sticky),w.eq(c).find("."+t.css.headerIn).html(y[c]))),ot.eq(c).html(y[c])}l.showProcessing&&t.isProcessing(u);ft=e(f,f.size,"get");f.totalPages=ft==="all"?1:Math.ceil(f.totalRows/ft);f.last.totalRows=f.totalRows;f.last.currentFilters=f.currentFilters;f.last.sortList=(l.sortList||[]).join(",");r(u,f,!1);t.updateCache(l,function(){f.initialized&&setTimeout(function(){t.debug(l,"pager")&&console.log("Pager >> Triggering pagerChange");et.triggerHandler("pagerChange",f);t.applyWidget(u);r(u,f,!0)},0)})}f.initialized||g(u,f)},ut=function(i,r){var u=ft(i,r),f=n(document),s,e=i.config,o=e.namespace+"pager";u!==""&&(e.showProcessing&&t.isProcessing(i,!0),f.bind("ajaxError"+o,function(n,t,u,e){k(null,i,r,t,u,e);f.unbind("ajaxError"+o)}),s=++r.ajaxCounter,r.last.ajaxUrl=u,r.ajaxObject.url=u,r.ajaxObject.success=function(n,t,u){s<r.ajaxCounter||(k(n,i,r,u),f.unbind("ajaxError"+o),typeof r.oldAjaxSuccess=="function"&&r.oldAjaxSuccess(n))},t.debug(e,"pager")&&console.log("Pager >> Ajax initialized",r.ajaxObject),n.ajax(r.ajaxObject))},ft=function(i,r){var u,h,a=i.config,f=r.ajaxUrl?r.ajaxUrl.replace(/\{page([\-+]\d+)?\}/,function(n,t){return r.page+(t?parseInt(t,10):0)}).replace(/\{size\}/g,r.size):"",l=a.sortList,c=r.currentFilters||n(i).data("lastSearch")||[],o=f.match(/\{\s*sort(?:List)?\s*:\s*(\w*)\s*\}/),s=f.match(/\{\s*filter(?:List)?\s*:\s*(\w*)\s*\}/),e=[];if(o){for(o=o[1],h=l.length,u=0;u<h;u++)e[e.length]=o+"["+l[u][0]+"]="+l[u][1];f=f.replace(/\{\s*sort(?:List)?\s*:\s*(\w*)\s*\}/g,e.length?e.join("&"):o);e=[]}if(s){for(s=s[1],h=c.length,u=0;u<h;u++)c[u]&&(e[e.length]=s+"["+u+"]="+encodeURIComponent(c[u]));f=f.replace(/\{\s*filter(?:List)?\s*:\s*(\w*)\s*\}/g,e.length?e.join("&"):s);r.currentFilters=c}return typeof r.customAjaxUrl=="function"&&(f=r.customAjaxUrl(i,f)),t.debug(a,"pager")&&console.log("Pager >> Ajax url = "+f),f},l=function(i,u,f){var h,e,c,s,b=n(i),l=i.config,a=t.debug(l,"pager"),v=l.$table.hasClass("hasFilters"),k=u&&u.length||0,p=f.size==="all"?f.totalRows:f.size,w=f.page*p;if(k<1){a&&console.warn("Pager >> No rows for pager to render");return}if(f.page>=f.totalPages&&y(i,f),f.cacheIndex=[],f.isDisabled=!1,f.initialized&&(a&&console.log("Pager >> Triggering pagerChange"),b.triggerHandler("pagerChange",f)),f.removeRows){for(t.clearTableBody(i),h=t.processTbody(i,l.$tbodies.eq(0),!0),e=v?0:w,c=v?0:w,s=0;s<p&&e<u.length;)v&&f.regexFiltered.test(u[e][0].className)||(c++,c>w&&s<=p&&(s++,f.cacheIndex[f.cacheIndex.length]=e,h.append(u[e]))),e++;t.processTbody(i,h,!1)}else o(i,f);r(i,f);i.isUpdating&&(a&&console.log("Pager >> Triggering updateComplete"),b.triggerHandler("updateComplete",[i,!0]))},d=function(i,r){var u,f,e;for(r.ajax?h(i,r,!0):(n.data(i,"pagerLastPage",r.page),n.data(i,"pagerLastSize",r.size),r.page=0,r.size=r.totalRows,r.totalPages=1,n(i).addClass("pagerDisabled").removeAttr("aria-describedby").find("tr.pagerSavedHeightSpacer").remove(),l(i,i.config.rowsCopy,r),r.isDisabled=!0,t.applyWidget(i),t.debug(i.config,"pager")&&console.log("Pager >> Disabled")),f=r.$container.find(r.cssGoto+","+r.cssPageSize+", .ts-startRow, .ts-page"),e=f.length,u=0;u<e;u++)f.eq(u).addClass(r.cssDisabled)[0].disabled=!0,f[u].ariaDisabled=!0},a=function(n){var r=n.config,u=r.pager;t.updateCache(r,function(){var t,f=[],e=n.config.cache[0].normalized;for(u.totalRows=e.length,t=0;t<u.totalRows;t++)f[f.length]=e[t][r.columns].$row;r.rowsCopy=f;i(n,u,!0)})},i=function(i,r,u){if(!r.isDisabled){var o,e=i.config,s=t.debug(e,"pager"),h=n(i),f=r.last;if(u!==!1&&r.initialized&&t.isEmptyObject(e.cache))return a(i);r.ajax&&t.hasWidget(i,"filter")&&!e.widgetOptions.filter_initialized||(v(i,r),p(i,r),f.currentFilters=(f.currentFilters||[]).join("")===""?[]:f.currentFilters,r.currentFilters=(r.currentFilters||[]).join("")===""?[]:r.currentFilters,f.page!==r.page||f.size!==r.size||f.totalRows!==r.totalRows||(f.currentFilters||[]).join(",")!==(r.currentFilters||[]).join(",")||(f.ajaxUrl||"")!==(r.ajaxObject.url||"")||(f.optAjaxUrl||"")!==(r.ajaxUrl||"")||f.sortList!==(e.sortList||[]).join(","))&&(s&&console.log("Pager >> Changing to page "+r.page),r.last={page:r.page,size:r.size,sortList:(e.sortList||[]).join(","),totalRows:r.totalRows,currentFilters:r.currentFilters||[],ajaxUrl:r.ajaxObject.url||"",optAjaxUrl:r.ajaxUrl||""},r.ajax?r.processAjaxOnInit||t.isEmptyObject(r.initialRows)?ut(i,r):(r.processAjaxOnInit=!0,o=r.initialRows,r.totalRows=typeof o.total!="undefined"?o.total:s?console.error("Pager >> No initial total page set!")||0:0,r.filteredRows=typeof o.filtered!="undefined"?o.filtered:s?console.error("Pager >> No initial filtered page set!")||0:0,g(i,r)):r.ajax||l(i,e.rowsCopy,r),n.data(i,"pagerLastPage",r.page),r.initialized&&u!==!1&&(s&&console.log("Pager >> Triggering pageMoved"),h.triggerHandler("pageMoved",r),t.applyWidget(i),i.isUpdating&&(s&&console.log("Pager >> Triggering updateComplete"),h.triggerHandler("updateComplete",[i,!0]))))}},f=function(n,i){return t.hasWidget(n,"filter")?Math.min(i.totalPages,i.filteredPages):i.totalPages},v=function(n,t){var i=f(n,t)-1;return t.page=parseInt(t.page,10),(t.page<0||isNaN(t.page))&&(t.page=0),t.page>i&&i>=0&&(t.page=i),t.page},e=function(n,t,i){var r=parseInt(t,10)||n.size||n.settings.size||10;return n.initialized&&(/all/i.test(r+" "+t)||r===n.totalRows)?n.$container.find(n.cssPageSize+' option[value="all"]').length?"all":n.totalRows:i==="get"?r:n.size},u=function(t,i,r){r.size=e(r,i,"get");r.$container.find(r.cssPageSize).val(r.size);n.data(t,"pagerLastPage",v(t,r));n.data(t,"pagerLastSize",r.size);r.totalPages=r.size==="all"?1:Math.ceil(r.totalRows/r.size);r.filteredPages=r.size==="all"?1:Math.ceil(r.filteredRows/r.size)},et=function(n,t){t.page=0;i(n,t)},y=function(n,t){t.page=f(n,t)-1;i(n,t)},ot=function(n,t){t.page++;var r=f(n,t)-1;t.page>=r&&(t.page=r);i(n,t)},st=function(n,t){t.page--;t.page<=0&&(t.page=0);i(n,t)},g=function(i,u){u.initialized=!0;u.initializing=!1;t.debug(i.config,"pager")&&console.log("Pager >> Triggering pagerInitialized");n(i).triggerHandler("pagerInitialized",u);t.applyWidget(i);r(i,u)},ht=function(t,i){var r=t.config;r.pager=n.extend(!0,{},n.tablesorterPager.defaults,i.settings);tt(t,i.settings)},ct=function(n,i){var r=n.config,u=r.namespace+"pager",f=[i.cssFirst,i.cssPrev,i.cssNext,i.cssLast,i.cssGoto,i.cssPageSize].join(",");d(n,i);i.$container.hide().find(f).unbind(u);r.appender=null;r.$table.unbind(u);t.storage&&t.storage(n,i.storageKey,"");delete r.pager;delete r.rowsCopy},nt=function(r,o,s){var h,v,l,a=r.config;o.$container.find(o.cssGoto+","+o.cssPageSize+",.ts-startRow, .ts-page").removeClass(o.cssDisabled).removeAttr("disabled").each(function(){this.ariaDisabled=!1});o.isDisabled=!1;o.page=n.data(r,"pagerLastPage")||o.page||0;l=o.$container.find(o.cssPageSize);v=l.find("option[selected]").val();o.size=n.data(r,"pagerLastSize")||e(o,v,"get");o.totalPages=o.size==="all"?1:Math.ceil(f(r,o)/o.size);u(r,o.size,o);r.id&&!a.$table.attr("aria-describedby")&&(l=o.$container.find(o.cssPageDisplay),h=l.attr("id"),h||(h=r.id+"_pager_info",l.attr("id",h)),a.$table.attr("aria-describedby",h));c(r,o);s&&(t.update(a),u(r,o.size,o),i(r,o),b(r,o),t.debug(a,"pager")&&console.log("Pager >> Enabled"))},tt=function(f,h){var w,tt,ut,k,v=f.config,ft=v.widgetOptions,g=t.debug(v,"pager"),l=v.pager=n.extend(!0,{},n.tablesorterPager.defaults,h),lt=v.$table,p=v.namespace+"pager",rt=l.$container=n(l.container).addClass("tablesorter-pager").show();l.settings=n.extend(!0,{},n.tablesorterPager.defaults,h);g&&console.log("Pager >> Initializing");l.oldAjaxSuccess=l.oldAjaxSuccess||l.ajaxObject.success;v.appender=s.appender;l.initializing=!0;l.savePages&&t.storage&&(w=t.storage(f,l.storageKey)||{},l.page=isNaN(w.page)?l.page:w.page,l.size=w.size==="all"?w.size:(isNaN(w.size)?l.size:w.size)||l.setSize||10,u(f,l.size,l));l.regexRows=new RegExp("("+(ft.filter_filteredRow||"filtered")+"|"+v.selectorRemove.slice(1)+"|"+v.cssChildRow+")");l.regexFiltered=new RegExp(ft.filter_filteredRow||"filtered");lt.unbind(it.split(" ").join(p+" ").replace(/\s+/g," ")).bind("filterInit filterStart ".split(" ").join(p+" "),function(r,u){l.currentFilters=n.isArray(u)?u:v.$table.data("lastSearch");var e;if(l.ajax&&r.type==="filterInit")return i(f,l,!1);e=t.filter.equalFilters?t.filter.equalFilters(v,v.lastSearch,l.currentFilters):(v.lastSearch||[]).join("")!==(l.currentFilters||[]).join("");r.type!=="filterStart"||l.pageReset===!1||e||(l.page=l.pageReset)}).bind("filterEnd sortEnd ".split(" ").join(p+" "),function(){l.currentFilters=v.$table.data("lastSearch");(l.initialized||l.initializing)&&(v.delayInit&&v.rowsCopy&&v.rowsCopy.length===0&&a(f),r(f,l,!1),i(f,l,!1),t.applyWidget(f))}).bind("disablePager"+p,function(n){n.stopPropagation();d(f,l)}).bind("enablePager"+p,function(n){n.stopPropagation();nt(f,l,!0)}).bind("destroyPager"+p,function(n){n.stopPropagation();ct(f,l)}).bind("resetToLoadState"+p,function(n){n.stopPropagation();ht(f,l)}).bind("updateComplete"+p,function(n,t,i){if(n.stopPropagation(),t&&!i&&!l.ajax){var u=v.$tbodies.eq(0).children("tr").not(v.selectorRemove);l.totalRows=u.length-(l.countChildRows?0:u.filter("."+v.cssChildRow).length);l.totalPages=l.size==="all"?1:Math.ceil(l.totalRows/l.size);u.length&&v.rowsCopy&&v.rowsCopy.length===0&&a(t);l.page>=l.totalPages&&y(t,l);o(t,l);c(t,l);r(t,l,!0)}}).bind("pageSize refreshComplete ".split(" ").join(p+" "),function(n,t){n.stopPropagation();u(f,e(l,t,"get"),l);i(f,l);o(f,l);r(f,l,!1)}).bind("pageSet pagerUpdate ".split(" ").join(p+" "),function(n,t){n.stopPropagation();n.type==="pagerUpdate"&&(t=typeof t=="undefined"?l.page+1:t,l.last.page=!0);l.page=(parseInt(t,10)||1)-1;i(f,l,!0);r(f,l,!1)}).bind("pageAndSize"+p,function(n,t,s){n.stopPropagation();l.page=(parseInt(t,10)||1)-1;u(f,e(l,s,"get"),l);i(f,l,!0);o(f,l);r(f,l,!1)});tt=[l.cssFirst,l.cssPrev,l.cssNext,l.cssLast];ut=[et,st,ot,y];g&&!rt.length&&console.warn('Pager >> "container" not found');rt.find(tt.join(",")).attr("tabindex",0).unbind("click"+p).bind("click"+p,function(t){t.stopPropagation();var i,r=n(this),u=tt.length;if(!r.hasClass(l.cssDisabled))for(i=0;i<u;i++)if(r.is(tt[i])){ut[i](f,l);break}});k=rt.find(l.cssGoto);k.length?k.unbind("change"+p).bind("change"+p,function(){l.page=n(this).val()-1;i(f,l,!0);r(f,l,!1)}):g&&console.warn('Pager >> "goto" selector not found');k=rt.find(l.cssPageSize);k.length?(k.find("option").removeAttr("selected"),k.unbind("change"+p).bind("change"+p,function(){if(!n(this).hasClass(l.cssDisabled)){var t=n(this).val();u(f,t,l);i(f,l);c(f,l)}return!1})):g&&console.warn('Pager >> "size" selector not found');l.initialized=!1;lt.triggerHandler("pagerBeforeInitialized",l);nt(f,l,!1);typeof l.ajaxUrl=="string"?(l.ajax=!0,v.widgetOptions.filter_serversideFiltering=!0,v.serverSideSorting=!0,i(f,l)):(l.ajax=!1,t.appendCache(v,!0),b(f,l));l.ajax||l.initialized||(l.initializing=!1,l.initialized=!0,u(f,l.size,l),i(f,l),g&&console.log("Pager >> Triggering pagerInitialized"),v.$table.triggerHandler("pagerInitialized",l),v.widgetOptions.filter_initialized&&t.hasWidget(f,"filter")||r(f,l,!1));v.widgetInit.pager=!0};s.appender=function(t,i){var f=t.config,u=f.pager;u.ajax||(f.rowsCopy=i,u.totalRows=u.countChildRows?f.$tbodies.eq(0).children("tr").length:i.length,u.size=n.data(t,"pagerLastSize")||u.size||u.settings.size||10,u.totalPages=u.size==="all"?1:Math.ceil(u.totalRows/u.size),l(t,i,u),r(t,u,!1))};s.construct=function(n){return this.each(function(){this.config&&this.hasInitialized&&tt(this,n)})}}});t.showError=function(t,i,r,u){var c=n(t),f=c[0].config,s=f&&f.widgetOptions,a=f.pager&&f.pager.cssErrorRow||s&&s.pager_css&&s.pager_css.errorRow||"tablesorter-errorRow",l=typeof i,o=!0,e="",h=function(){f.$table.find("thead").find(f.selectorRemove).remove()};if(!c.length){console.error("tablesorter showError: no table parameter passed");return}if(typeof f.pager.ajaxError=="function"){if(o=f.pager.ajaxError(f,i,r,u),o===!1)return h();e=o}else if(typeof s.pager_ajaxError=="function"){if(o=s.pager_ajaxError(f,i,r,u),o===!1)return h();e=o}if(e==="")if(l==="object")e=i.status===0?"Not connected, verify Network":i.status===404?"Requested page not found [404]":i.status===500?"Internal Server Error [500]":u==="parsererror"?"Requested JSON parse failed":u==="timeout"?"Time out error":u==="abort"?"Ajax Request aborted":"Uncaught error: "+i.statusText+" ["+i.status+"]";else if(l==="string")e=i;else return h();n(/tr\>/.test(e)?e:'<tr><td colspan="'+f.columns+'">'+e+"<\/td><\/tr>").click(function(){n(this).remove()}).appendTo(f.$table.find("thead:first")).addClass(a+" "+f.selectorRemove.slice(1)).attr({role:"alert","aria-live":"assertive"})};n.fn.extend({tablesorterPager:n.tablesorterPager.construct})})(jQuery),function(n){"use strict";var i=n.tablesorter,t={init:function(i,r,u){var f,o=u.reflow_dataAttrib,s=u.reflow_headerAttrib,e=[];r.$table.addClass(u.reflow_className).off("refresh.tsreflow updateComplete.tsreflow2").on("refresh.tsreflow updateComplete.tsreflow2",function(){t.init(i,r,u)});r.$headers.each(function(){f=n(this);e.push(n.trim(f.attr(s)||f.text()))});r.$tbodies.children().each(function(){n(this).children().each(function(t){n(this).attr(o,e[t])})})},init2:function(r,u,f){var o,c,e,h,s,l,y=u.columns,v=f.reflow2_headerAttrib,a=[];u.$table.addClass(f.reflow2_className).off("refresh.tsreflow2 updateComplete.tsreflow2").on("refresh.tsreflow2 updateComplete.tsreflow2",function(){t.init2(r,u,f)});for(e=0;e<y;e++)h=u.$headers.filter('[data-column="'+e+'"]'),h.length>1?(s=[],h.each(function(){o=n(this);o.hasClass(f.reflow2_classIgnore)||s.push(o.attr(v)||o.text())})):s=[h.attr(v)||h.text()],a.push(s);s='<b class="'+u.selectorRemove.slice(1)+" "+f.reflow2_labelClass;u.$tbodies.children().each(function(){c=i.processTbody(r,n(this),!0);c.children().each(function(t){for(o=n(this),l=a[t].length,e=l-1;e>=0;)o.prepend(s+(e===0&&l>1?" "+f.reflow2_labelTop:"")+'">'+a[t][e]+"<\/b>"),e--});i.processTbody(r,c,!1)})},remove:function(n,t,i){t.$table.removeClass(i.reflow_className)},remove2:function(n,t,i){t.$table.removeClass(i.reflow2_className)}};i.addWidget({id:"reflow",options:{reflow_className:"ui-table-reflow",reflow_headerAttrib:"data-name",reflow_dataAttrib:"data-title"},init:function(n,i,r,u){t.init(n,r,u)},remove:function(n,i,r){t.remove(n,i,r)}});i.addWidget({id:"reflow2",options:{reflow2_className:"ui-table-reflow",reflow2_classIgnore:"ui-table-reflow-ignore",reflow2_headerAttrib:"data-name",reflow2_labelClass:"ui-table-cell-label",reflow2_labelTop:"ui-table-cell-label-top"},init:function(n,i,r,u){t.init2(n,r,u)},remove:function(n,i,r){t.remove2(n,i,r)}})}(jQuery);__whitespace={" ":!0,"\t":!0,"\n":!0,"\f":!0,"\r":!0};difflib={defaultJunkFunction:function(n){return n in __whitespace},stripLinebreaks:function(n){return n.replace(/^[\n\r]*|[\n\r]*$/g,"")},stringAsLines:function(n){for(var u=n.indexOf("\n"),r=n.indexOf("\r"),f=u>-1&&r>-1||r<0?"\n":"\r",t=n.split(f),i=0;i<t.length;i++)t[i]=difflib.stripLinebreaks(t[i]);return t},__reduce:function(n,t,i){var r,u;if(i!=null)r=i,u=0;else if(t)r=t[0],u=1;else return null;for(;u<t.length;u++)r=n(r,t[u]);return r},__ntuplecomp:function(n,t){for(var r=Math.max(n.length,t.length),i=0;i<r;i++){if(n[i]<t[i])return-1;if(n[i]>t[i])return 1}return n.length==t.length?0:n.length<t.length?-1:1},__calculate_ratio:function(n,t){return t?2*n/t:1},__isindict:function(n){return function(t){return t in n}},__dictget:function(n,t,i){return t in n?n[t]:i},SequenceMatcher:function(n,t,i){this.set_seqs=function(n,t){this.set_seq1(n);this.set_seq2(t)};this.set_seq1=function(n){n!=this.a&&(this.a=n,this.matching_blocks=this.opcodes=null)};this.set_seq2=function(n){n!=this.b&&(this.b=n,this.matching_blocks=this.opcodes=this.fullbcount=null,this.__chain_b())};this.__chain_b=function(){for(var o,u,f,n,e=this.b,s=e.length,t=this.b2j={},i={},r=0;r<e.length;r++)n=e[r],n in t?(o=t[n],s>=200&&o.length*100>s?(i[n]=1,delete t[n]):o.push(r)):t[n]=[r];for(n in i)delete t[n];if(u=this.isjunk,f={},u){for(n in i)u(n)&&(f[n]=1,delete i[n]);for(n in t)u(n)&&(f[n]=1,delete t[n])}this.isbjunk=difflib.__isindict(f);this.isbpopular=difflib.__isindict(i)};this.find_longest_match=function(n,t,i,r){for(var a,v,p,h=this.a,o=this.b,w=this.b2j,c=this.isbjunk,e=n,f=i,u=0,s=null,y={},b=[],l=n;l<t;l++){a={};v=difflib.__dictget(w,h[l],b);for(p in v)if(s=v[p],!(s<i)){if(s>=r)break;a[s]=k=difflib.__dictget(y,s-1,0)+1;k>u&&(e=l-k+1,f=s-k+1,u=k)}y=a}while(e>n&&f>i&&!c(o[f-1])&&h[e-1]==o[f-1])e--,f--,u++;while(e+u<t&&f+u<r&&!c(o[f+u])&&h[e+u]==o[f+u])u++;while(e>n&&f>i&&c(o[f-1])&&h[e-1]==o[f-1])e--,f--,u++;while(e+u<t&&f+u<r&&c(o[f+u])&&h[e+u]==o[f+u])u++;return[e,f,u]};this.get_matching_blocks=function(){var f,e,p;if(this.matching_blocks!=null)return this.matching_blocks;for(var v=this.a.length,y=this.b.length,o=[[0,v,0,y]],s=[],h,c,l,a,t,i,r,n,u;o.length;)t=o.pop(),h=t[0],c=t[1],l=t[2],a=t[3],u=this.find_longest_match(h,c,l,a),i=u[0],r=u[1],n=u[2],n&&(s.push(u),h<i&&l<r&&o.push([h,i,l,r]),i+n<c&&r+n<a&&o.push([i+n,c,r+n,a]));s.sort(difflib.__ntuplecomp);f=j1=k1=block=0;e=[];for(p in s)block=s[p],i2=block[0],j2=block[1],k2=block[2],f+k1==i2&&j1+k1==j2?k1+=k2:(k1&&e.push([f,j1,k1]),f=i2,j1=j2,k1=k2);return k1&&e.push([f,j1,k1]),e.push([v,y,0]),this.matching_blocks=e,this.matching_blocks};this.get_opcodes=function(){var e,n,t,o,i,s,h;if(this.opcodes!=null)return this.opcodes;var r=0,u=0,f=[];this.opcodes=f;s=this.get_matching_blocks();for(h in s)e=s[h],n=e[0],t=e[1],o=e[2],i="",r<n&&u<t?i="replace":r<n?i="delete":u<t&&(i="insert"),i&&f.push([i,r,n,u,t]),r=n+o,u=t+o,o&&f.push(["equal",n,r,t,u]);return f};this.get_grouped_opcodes=function(n){var i,t,o,r,f,u,e,h,s,c;n||(n=3);i=this.get_opcodes();i||(i=[["equal",0,1,0,1]]);i[0][0]=="equal"&&(t=i[0],o=t[0],r=t[1],f=t[2],u=t[3],e=t[4],i[0]=[o,Math.max(r,f-n),f,Math.max(u,e-n),e]);i[i.length-1][0]=="equal"&&(t=i[i.length-1],o=t[0],r=t[1],f=t[2],u=t[3],e=t[4],i[i.length-1]=[o,r,Math.min(f,r+n),u,Math.min(e,u+n)]);h=n+n;s=[];for(c in i)t=i[c],o=t[0],r=t[1],f=t[2],u=t[3],e=t[4],o=="equal"&&f-r>h&&(s.push([o,r,Math.min(f,r+n),u,Math.min(e,u+n)]),r=Math.max(r,f-n),u=Math.max(u,e-n)),s.push([o,r,f,u,e]);return s&&s[s.length-1][0]=="equal"&&s.pop(),s};this.ratio=function(){return matches=difflib.__reduce(function(n,t){return n+t[t.length-1]},this.get_matching_blocks(),0),difflib.__calculate_ratio(matches,this.a.length+this.b.length)};this.quick_ratio=function(){var i,n,t;if(this.fullbcount==null)for(this.fullbcount=i={},t=0;t<this.b.length;t++)n=this.b[t],i[n]=difflib.__dictget(i,n,0)+1;i=this.fullbcount;var r={},f=difflib.__isindict(r),u=numb=0;for(t=0;t<this.a.length;t++)n=this.a[t],numb=f(n)?r[n]:difflib.__dictget(i,n,0),r[n]=numb-1,numb>0&&u++;return difflib.__calculate_ratio(u,this.a.length+this.b.length)};this.real_quick_ratio=function(){var n=this.a.length,t=this.b.length;return _calculate_ratio(Math.min(n,t),n+t)};this.isjunk=i?i:difflib.defaultJunkFunction;this.a=this.b=null;this.set_seqs(n,t)}};diffview={buildView:function(n){function ut(n,t){var i=document.createElement(n);return i.className=t,i}function v(n,t){var i=document.createElement(n);return i.appendChild(document.createTextNode(t)),i}function e(n,t,i){var r=document.createElement(n);return r.className=t,r.innerHTML=i,r}function et(n,t,i,r,u){return t<i?(n.appendChild(v("th",(t+1).toString())),n.appendChild(e("td",u,r[t].replace(/\t/g,"    "))),t+1):(n.appendChild(document.createElement("th")),n.appendChild(ut("td","empty")),t)}function y(n,t,i,r,u){n.appendChild(v("th",t==null?"":(t+1).toString()));n.appendChild(v("th",i==null?"":(i+1).toString()));n.appendChild(e("td",u,r[t!=null?t:i].replace(/\t/g,"    ")))}var o=n.baseTextLines,h=n.newTextLines,l=n.opcodes,it=n.baseTextName?n.baseTextName:"Base Text",rt=n.newTextName?n.newTextName:"New Text",g=n.contextSize,a=n.viewType==0||n.viewType==1?n.viewType:0,s,t,c,ft,b,tt,i,d,r;if(o==null)throw"Cannot build diff view; baseTextLines is not defined.";if(h==null)throw"Cannot build diff view; newTextLines is not defined.";if(!l)throw"Canno build diff view; opcodes is not defined.";for(s=document.createElement("thead"),t=document.createElement("tr"),s.appendChild(t),a?(t.appendChild(document.createElement("th")),t.appendChild(document.createElement("th")),t.appendChild(e("th","texttitle",it+" vs. "+rt))):(t.appendChild(document.createElement("th")),t.appendChild(e("th","texttitle",it)),t.appendChild(document.createElement("th")),t.appendChild(e("th","texttitle",rt))),s=[s],c=[],r=0;r<l.length;r++){code=l[r];change=code[0];var u=code[1],p=code[2],f=code[3],w=code[4],ot=Math.max(p-u,w-f),k=[],nt=[];for(i=0;i<ot;i++){if(g&&l.length>1&&(r>0&&i==g||r==0&&i==0)&&change=="equal"&&(b=ot-(r==0?1:2)*g,b>1))if(k.push(t=document.createElement("tr")),u+=b,f+=b,i+=b-1,t.appendChild(v("th","...")),a||t.appendChild(e("td","skip","")),t.appendChild(v("th","...")),t.appendChild(e("td","skip","")),r+1==l.length)break;else continue;k.push(t=document.createElement("tr"));a?change=="insert"?y(t,null,f++,h,change):change=="replace"?(nt.push(ft=document.createElement("tr")),u<p&&y(t,u++,null,o,"bg-danger text-white"),f<w&&y(ft,null,f++,h,"bg-success text-white")):change=="delete"?y(t,u++,null,o,change):y(t,u++,f++,o,change):(tt=diffString2(u<p?o[u]:"",f<w?h[f]:""),u<p&&(o[u]=tt.o),f<w&&(h[f]=tt.n),u=et(t,u,p,o,change=="replace"?"bg-danger text-white":change),f=et(t,f,w,h,change=="replace"?"bg-success text-white":change))}for(i=0;i<k.length;i++)c.push(k[i]);for(i=0;i<nt.length;i++)c.push(nt[i])}d="combined <a href='http://snowtide.com/jsdifflib'>jsdifflib<\/a> ";d+="and John Resig's <a href='http://ejohn.org/projects/javascript-diff-algorithm/'>diff<\/a> ";d+="by <a href='http://richardbondi.net'>Richard Bondi<\/a>";c.push(t=e("th","author text-muted small",d));t.setAttribute("colspan",a?3:4);s.push(t=document.createElement("tbody"));for(r in c)t.appendChild(c[r]);t=ut("table","diff"+(a?" inlinediff table":""));for(r in s)t.appendChild(s[r]);return t}};$(document).on("click",'[data-toggle="confirm"]',function(n){n.preventDefault();var i=$(this).attr("href"),r=$(this).data("title"),t=$(this).data("confirm-event");bootbox.confirm({centerVertical:!0,message:r,buttons:{confirm:{label:'<i class="fa fa-check"><\/i> '+$(this).data("yes"),className:"btn-success"},cancel:{label:'<i class="fa fa-times"><\/i> '+$(this).data("no"),className:"btn-danger"}},callback:function(n){n&&(document.location.href=i,typeof t!="undefined"&&window[t]())}})});$(window).scroll(function(){$(this).scrollTop()>50?$(".scroll-top:hidden").stop(!0,!0).fadeIn():$(".scroll-top").stop(!0,!0).fadeOut()});$(function(){$(".btn-scroll").click(function(){return $("html,body").animate({scrollTop:$("header").offset().top},"1000"),!1})});jQuery(document).ready(function(){jQuery(".searchSimilarTopics").length&&jQuery(".searchSimilarTopics").keyup(function(){var u=jQuery(".searchSimilarTopics"),i=u.val(),n=jQuery("#SearchResultsPlaceholder"),t,r;i.length&&i.length>=4&&(t={},t.ForumId=0,t.UserId=n.data("userid"),t.PageSize=0,t.Page=0,t.SearchTerm=i,r=n.data("url")+"api/Search/GetSimilarTitles",$.ajax({type:"POST",url:r,dataType:"json",data:JSON.stringify(t),contentType:"application/json; charset=utf-8",beforeSend:function(){n.empty();n.remove("list-group");$("#loadModal").modal("show")},complete:function(){$("#loadModal").modal("hide")},success:function(t){if(n.empty(),n.remove("list-group"),t.TotalRecords>0){var i=$('<ul class="list-group list-similar" />');n.append(i);$.each(t.SearchResults,function(n,t){i.append('<li class="list-group-item"><a href="'+t.TopicUrl+'" target="_blank">'+t.Topic+"<\/a><\/li>")})}},error:function(t){n.html(t.statusText).fadeIn(1e3)}}))})});jQuery(document).ready(function(){$(".dropdown-menu a.dropdown-toggle").on("click",function(){var n=$(this),t=$(this).offsetParent(".dropdown-menu"),i;$(this).next().hasClass("show")||$(this).parents(".dropdown-menu").first().find(".show").removeClass("show");i=$(this).next(".dropdown-menu");i.toggleClass("show");$(this).parent("li").toggleClass("show");$(this).parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",function(){$(".dropdown-menu .show").removeClass("show")});return t.parent().hasClass("navbar-nav")||n.next().css({top:n[0].offsetTop,left:t.outerWidth()-4}),!1});if(jQuery("input[type='number']").TouchSpin({max:2147483647}),jQuery(".serverTime-Input").TouchSpin({min:-720,max:720}),$(".yaf-net .select2-select").each(function(){$(this).select2({theme:"bootstrap4",dropdownAutoWidth:!0,width:"style",placeholder:$(this).attr("placeholder")})}),jQuery(".yaf-net .select2-image-select").select2({theme:"bootstrap4",dropdownAutoWidth:!0,templateResult:formatState,templateSelection:formatState,width:"style"}),jQuery(".thanks-popover").popover({template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body popover-body-scrollable"><\/div><\/div>'}),jQuery('[data-toggle="tooltip"]').tooltip(),jQuery(".img-user-posted").each(function(){var n=jQuery(this),t;n.parents(".selectionQuoteable").length&&n.parent().attr("class")!=="yafsignature"&&(t=n.parents(".selectionQuoteable")[0].id,n.parents("a").length||n.wrap('<a href="'+n.attr("src")+'" title="'+n.attr("alt")+'" data-gallery="#blueimp-gallery-'+t+'" />'))}),jQuery(".attachedImage").each(function(){var n=jQuery(this),t=n.parents(".selectionQuoteable")[0].id;n.attr("data-gallery","#blueimp-gallery-"+t)}),jQuery("input[type='password']").keypress(function(n){var t=String.fromCharCode(n.which);t.toUpperCase()!==t||t.toLowerCase()===t||n.shiftKey?jQuery(".CapsLockWarning").hide():jQuery(".CapsLockWarning").show()}),jQuery("#PostAttachmentListPlaceholder").length)getPaginationData(5,0,!1);jQuery("#SearchResultsPlaceholder").length&&jQuery(".searchInput").keypress(function(n){var i=n.which,t;i===13&&(n.preventDefault(),t=0,getSearchResultsData(t))});$(".dropdown-notify").on("show.bs.dropdown",function(){getNotifyData(5,0,!1)})});jQuery(document).ready(function(){$(".list-group-item-menu, .message").each(function(){var n=$(this).find(".context-menu");$(this).on("contextmenu",function(t){return $(".context-menu").removeClass("show").hide(),n.css({display:"block"}).addClass("show").offset({left:t.pageX,top:t.pageY}),!1}).on("click",function(){n.removeClass("show").hide()});$(this).find(".context-menu a").on("click",function(){n.removeClass("show").hide()});$("body").click(function(){n.removeClass("show").hide()})})});jQuery(document).ready(function(){jQuery(".custom-file-input").on("change",function(){var n=$(this)[0].files[0].name;$(this).next(".custom-file-label").html(n)})});