!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],x=C.document,i=Object.getPrototypeOf,a=t.slice,m=t.concat,l=t.push,r=t.indexOf,n={},o=n.toString,p=n.hasOwnProperty,s=p.toString,u=s.call(Object),g={};function v(e,t){var n=(t=t||x).createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function c(e,t){return t.toUpperCase()}var d="3.2.1",E=function(e,t){return new E.fn.init(e,t)},f=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,h=/^-ms-/,y=/-([a-z])/g;function _(e){var t=!!e&&"length"in e&&e.length,n=E.type(e);return"function"!==n&&!E.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&i|56320)}function r(){T()}var e,h,b,o,s,p,f,m,w,l,u,T,C,a,x,g,c,v,y,E="sizzle"+ +new Date,_=n.document,S=0,i=0,D=se(),k=se(),A=se(),O=function(e,t){return e===t&&(u=!0),0},I={}.hasOwnProperty,t=[],N=t.pop,M=t.push,j=t.push,L=t.slice,P=function(e,t){for(var n=0,i=e.length;n+~]|"+R+")"+R+"*"),B=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),V=new RegExp(W),Q=new RegExp("^"+Y+"$"),z={ID:new RegExp("^#("+Y+")"),CLASS:new RegExp("^\\.("+Y+")"),TAG:new RegExp("^("+Y+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{j.apply(t=L.call(_.childNodes),_.childNodes),t[_.childNodes.length].nodeType}catch(e){j={apply:t.length?function(e,t){M.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function oe(e,t,n,i){var r,o,s,a,l,u,c,d=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&((t?t.ownerDocument||t:_)!==C&&T(t),t=t||C,x)){if(11!==f&&(l=J.exec(e)))if(r=l[1]){if(9===f){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(d&&(s=d.getElementById(r))&&y(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return j.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return j.apply(n,t.getElementsByClassName(r)),n}if(h.qsa&&!A[e+" "]&&(!g||!g.test(e))){if(1!==f)d=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(ne,ie):t.setAttribute("id",a=E),o=(u=p(e)).length;o--;)u[o]="#"+a+" "+ve(u[o]);c=u.join(","),d=ee.test(e)&&me(t.parentNode)||t}if(c)try{return j.apply(n,d.querySelectorAll(c)),n}catch(e){}finally{a===E&&t.removeAttribute("id")}}}return m(e.replace(U,"$1"),t,n,i)}function se(){var i=[];return function e(t,n){return i.push(t+" ")>b.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function ae(e){return e[E]=!0,e}function le(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function he(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&re(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function pe(s){return ae(function(o){return o=+o,ae(function(e,t){for(var n,i=s([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=oe.support={},s=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=oe.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:_;return i!==C&&9===i.nodeType&&i.documentElement&&(a=(C=i).documentElement,x=!s(C),_!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",r,!1):n.attachEvent&&n.attachEvent("onunload",r)),h.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=le(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=X.test(C.getElementsByClassName),h.getById=le(function(e){return a.appendChild(e).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),h.getById?(b.filter.ID=function(e){var t=e.replace(te,d);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},b.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&x)return t.getElementsByClassName(e)},c=[],g=[],(h.qsa=X.test(C.querySelectorAll))&&(le(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+E+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||g.push(".#.+[+~]")}),le(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=X.test(v=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&le(function(e){h.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),c.push("!=",W)}),g=g.length&&new RegExp(g.join("|")),c=c.length&&new RegExp(c.join("|")),t=X.test(a.compareDocumentPosition),y=t||X.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===_&&y(_,e)?-1:t===C||t.ownerDocument===_&&y(_,t)?1:l?P(l,e)-P(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===C?-1:t===C?1:r?-1:o?1:l?P(l,e)-P(l,t):0;if(r===o)return ce(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ce(s[i],a[i]):s[i]===_?-1:a[i]===_?1:0}),C},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(B,"='$1']"),h.matchesSelector&&x&&!A[t+" "]&&(!c||!c.test(t))&&(!g||!g.test(t)))try{var n=v.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,d),e[3]=(e[3]||e[4]||e[5]||"").replace(te,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=D[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&D(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=oe.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,A=/^.[^:#\[\.,]*$/;function O(e,n,i){return E.isFunction(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?E.grep(e,function(e){return e===n!==i}):"string"!=typeof n?E.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||I,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):E.isFunction(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),k.test(i[1])&&E.isPlainObject(t))for(i in t)E.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=x.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=E.fn,I=E(x);var M=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]+)/i,ae=/^$|\/(?:java|ecma)script/i,le={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ue(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?E.merge([e],n):n}function ce(e,t){for(var n=0,i=e.length;nx",g.noCloneChecked=!!de.cloneNode(!0).lastChild.defaultValue;var me=x.documentElement,ge=/^key/,ve=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ye=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function be(){return!1}function we(){try{return x.activeElement}catch(e){}}function Te(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Te(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=be;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return E().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=E.guid++)),e.each(function(){E.event.add(this,t,r,i,n)})}E.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,u,c,d,f,h,p,m,g=B.get(t);if(g)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&E.find.matchesSelector(me,r),n.guid||(n.guid=E.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)h=m=(a=ye.exec(e[u])||[])[1],p=(a[2]||"").split(".").sort(),h&&(d=E.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=E.event.special[h]||{},c=E.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,s)||t.addEventListener&&t.addEventListener(h,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),E.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,u,c,d,f,h,p,m,g=B.hasData(e)&&B.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(P)||[""]).length;u--;)if(h=m=(a=ye.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),h){for(d=E.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)c=f[o],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));s&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||E.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)E.event.remove(e,h+t[u],n,i,!0);E.isEmptyObject(l)&&B.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=E.event.fix(e),l=new Array(arguments.length),u=(B.get(this,"events")||{})[a.type]||[],c=E.event.special[a.type]||{};for(l[0]=a,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,xe=/\s*$/g;function ke(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&E(">tbody",e)[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){var t=Se.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ie(e,t){var n,i,r,o,s,a,l,u;if(1===t.nodeType){if(B.hasData(e)&&(o=B.access(e),s=B.set(t,o),u=o.events))for(r in delete s.handle,s.events={},u)for(n=0,i=u[r].length;n")},clone:function(e,t,n){var i,r,o,s,a,l,u,c=e.cloneNode(!0),d=E.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=ue(c),i=0,r=(o=ue(e)).length;i").prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),x.head.appendChild(i[0])},abort:function(){r&&r()}}});var Gt,Bt=[],Vt=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||E.expando+"_"+Ct++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=E.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Vt,"$1"+i):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||E.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=C[i],C[i]=function(){o=arguments},n.always(function(){void 0===r?E(C).removeProp(i):C[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Bt.push(i)),o&&E.isFunction(r)&&r(o[0]),o=r=void 0}),"script"}),g.createHTMLDocument=((Gt=x.implementation.createHTMLDocument("").body).innerHTML="
",2===Gt.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(i)):t=x),o=!n&&[],(r=k.exec(e))?[t.createElement(r[1])]:(r=pe([e],t,o),o&&o.length&&E(o).remove(),E.merge([],r.childNodes)));var i,r,o},E.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1").append(E.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.expr.pseudos.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,u=E.css(e,"position"),c=E(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),o=E.css(e,"top"),l=E.css(e,"left"),r=("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(s=(i=c.position()).top,i.left):(s=parseFloat(o)||0,parseFloat(l)||0),E.isFunction(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):c.css(d)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,i,r,o=this[0];return o?o.getClientRects().length?(i=o.getBoundingClientRect(),n=(e=o.ownerDocument).documentElement,r=e.defaultView,{top:i.top+r.pageYOffset-n.clientTop,left:i.left+r.pageXOffset-n.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===E.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),D(e[0],"html")||(i=e.offset()),i={top:i.top+E.css(e[0],"borderTopWidth",!0),left:i.left+E.css(e[0],"borderLeftWidth",!0)}),{top:t.top-i.top-E.css(n,"marginTop",!0),left:t.left-i.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||me})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;E.fn[t]=function(e){return q(this,function(e,t,n){var i;return E.isWindow(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n?i?i[r]:e[t]:void(i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Ge(g.pixelPosition,function(e,t){if(t)return t=qe(e,n),We.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(s,a){E.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){E.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return q(this,function(e,t,n){var i;return E.isWindow(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?E.css(e,t,r):E.style(e,t,n,r)},a,n?e:void 0,n)}})}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=D,"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var Qt=C.jQuery,zt=C.$;return E.noConflict=function(e){return C.$===E&&(C.$=zt),e&&C.jQuery===E&&(C.jQuery=Qt),E},e||(C.jQuery=C.$=E),E}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function o(e){return e&&"[object Function]"==={}.toString.call(e)}function y(e,t){if(1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n}function _(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function b(e){if(!e||-1!==["HTML","BODY","#document"].indexOf(e.nodeName))return window.document.body;var t=y(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll)/.test(n+r+i)?e:b(_(e))}function w(e){var t=e&&e.offsetParent,n=t&&t.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===y(t,"position")?w(t):t:window.document.documentElement}function c(e){return null===e.parentNode?e:c(e.parentNode)}function T(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return window.document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s,a,l=o.commonAncestorContainer;if(e!==l&&t!==l||i.contains(r))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&w(s.firstElementChild)!==s?w(l):l;var u=c(e);return u.host?T(u.host,t):T(e,c(t).host)}function C(e,t){var n="top"===(1=i.clientWidth&&n>=i.clientHeight}),d=0r[e]&&!i.escapeWithReference&&(n=v(o[t],r[e]-("right"===e?o.width:o.height))),Y({},t,n)}};return n.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";o=G({},o,s[t](e))}),e.offsets.popper=o,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=M,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!m(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=e.offsets,o=r.popper,s=r.reference,a=-1!==["left","right"].indexOf(i),l=a?"height":"width",u=a?"top":"left",c=a?"left":"top",d=a?"bottom":"right",f=p(n)[l];s[d]-fo[d]&&(e.offsets.popper[u]+=s[u]+f-o[d]);var h=s[u]+s[l]/2-f/2-E(e.offsets.popper)[u];return h=j(v(o[l]-f,h),0),e.arrowElement=n,e.offsets.arrow={},e.offsets.arrow[u]=Math.round(h),e.offsets.arrow[c]="",e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(e(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=h(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement),v=p.placement.split("-")[0],y=k(v),_=p.placement.split("-")[1]||"",b=[];switch(m.behavior){case Q:b=[v,y];break;case z:b=r(v);break;case K:b=r(v,!0);break;default:b=m.behavior}return b.forEach(function(e,t){if(v!==e||b.length===t+1)return p;v=p.placement.split("-")[0],y=k(v);var n,i=p.offsets.popper,r=p.offsets.reference,o=M,s="left"===v&&o(i.right)>o(r.left)||"right"===v&&o(i.left)o(r.top)||"bottom"===v&&o(i.top)o(g.right),u=o(i.top)o(g.bottom),d="left"===v&&a||"right"===v&&l||"top"===v&&u||"bottom"===v&&c,f=-1!==["top","bottom"].indexOf(v),h=!!m.flipVariations&&(f&&"start"===_&&a||f&&"end"===_&&l||!f&&"start"===_&&u||!f&&"end"===_&&c);(s||d||h)&&(p.flipped=!0,(s||d)&&(v=b[t+1]),h&&(_="end"===(n=_)?"start":"start"===n?"end":n),p.placement=v+(_?"-"+_:""),p.offsets.popper=G({},p.offsets.popper,A(p.instance.popper,p.offsets.reference,p.placement)),p=I(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[t]-(a?r[s?"width":"height"]:0),e.placement=k(t),e.offsets.popper=E(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!m(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=O(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.rightthis._items.length-1||e<0))if(this._isSliding)C(this._element).one(M.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},Di._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},Di._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right
',trigger:"hover focus",title:"",delay:0,html:!(ye={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(ve={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},we={HIDE:"hide"+he,HIDDEN:"hidden"+he,SHOW:(be="show")+he,SHOWN:"shown"+he,INSERTED:"inserted"+he,CLICK:"click"+he,FOCUSIN:"focusin"+he,FOCUSOUT:"focusout"+he,MOUSEENTER:"mouseenter"+he,MOUSELEAVE:"mouseleave"+he},Te="fade",Ce="show",xe="hover",Ee="focus",(Si=fr.prototype).enable=function(){this._isEnabled=!0},Si.disable=function(){this._isEnabled=!1},Si.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Si.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=ce(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),ce(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(ce(this.getTipElement()).hasClass(Ce))return void this._leave(null,this);this._enter(null,this)}},Si.dispose=function(){clearTimeout(this._timeout),ce.removeData(this.element,this.constructor.DATA_KEY),ce(this.element).off(this.constructor.EVENT_KEY),ce(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&ce(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},Si.show=function(){var t=this;if("none"===ce(this.element).css("display"))throw new Error("Please use show on visible elements");var e=ce.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){ce(this.element).trigger(e);var n=ce.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var i=this.getTipElement(),r=Ui.getUID(this.constructor.NAME);i.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&ce(i).addClass(Te);var o="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(o);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:ce(this.config.container);ce(i).data(this.constructor.DATA_KEY,this),ce.contains(this.element.ownerDocument.documentElement,this.tip)||ce(i).appendTo(a),ce(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,i,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),ce(i).addClass(Ce),"ontouchstart"in document.documentElement&&ce("body").children().on("mouseover",null,ce.noop);var l=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,ce(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};Ui.supportsTransitionEnd()&&ce(this.tip).hasClass(Te)?ce(this.tip).one(Ui.TRANSITION_END,l).emulateTransitionEnd(fr._TRANSITION_DURATION):l()}},Si.hide=function(e){function t(){n._hoverState!==be&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),ce(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),r=ce.Event(this.constructor.Event.HIDE);ce(this.element).trigger(r),r.isDefaultPrevented()||(ce(i).removeClass(Ce),"ontouchstart"in document.documentElement&&ce("body").children().off("mouseover",null,ce.noop),this._activeTrigger.click=!1,this._activeTrigger[Ee]=!1,this._activeTrigger[xe]=!1,Ui.supportsTransitionEnd()&&ce(this.tip).hasClass(Te)?ce(i).one(Ui.TRANSITION_END,t).emulateTransitionEnd(150):t(),this._hoverState="")},Si.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Si.isWithContent=function(){return Boolean(this.getTitle())},Si.addAttachmentClass=function(e){ce(this.getTipElement()).addClass(me+"-"+e)},Si.getTipElement=function(){return this.tip=this.tip||ce(this.config.template)[0],this.tip},Si.setContent=function(){var e=ce(this.getTipElement());this.setElementContent(e.find(".tooltip-inner"),this.getTitle()),e.removeClass(Te+" "+Ce)},Si.setElementContent=function(e,t){var n=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?n?ce(t).parent().is(e)||e.empty().append(t):e.text(ce(t).text()):e[n?"html":"text"](t)},Si.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e=e||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},Si._getAttachment=function(e){return ye[e.toUpperCase()]},Si._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)ce(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if("manual"!==e){var t=e===xe?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===xe?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;ce(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}ce(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},Si._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Si._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||ce(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),ce(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Ee:xe]=!0),ce(t.getTipElement()).hasClass(Ce)||t._hoverState===be?t._hoverState=be:(clearTimeout(t._timeout),t._hoverState=be,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===be&&t.show()},t.config.delay.show):t.show())},Si._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||ce(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),ce(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Ee:xe]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},Si._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},Si._getConfig=function(e){return"number"==typeof(e=s({},this.constructor.Default,ce(this.element).data(),e)).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),Ui.typeCheckConfig(de,e,this.constructor.DefaultType),e},Si._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},Si._cleanTipClass=function(){var e=ce(this.getTipElement()),t=e.attr("class").match(ge);null!==t&&0

'}),Le=s({},qi.DefaultType,{content:"(string|element|function)"}),Pe={HIDE:"hide"+Oe,HIDDEN:"hidden"+Oe,SHOW:"show"+Oe,SHOWN:"shown"+Oe,INSERTED:"inserted"+Oe,CLICK:"click"+Oe,FOCUSIN:"focusin"+Oe,FOCUSOUT:"focusout"+Oe,MOUSEENTER:"mouseenter"+Oe,MOUSELEAVE:"mouseleave"+Oe},Fe=function(e){function i(){return e.apply(this,arguments)||this}n(i,e);var t=i.prototype;return t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(e){De(this.getTipElement()).addClass(Ne+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||De(this.config.template)[0],this.tip},t.setContent=function(){var e=De(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var e=De(this.getTipElement()),t=e.attr("class").match(Me);null!==t&&0=this._offsets[r]&&(void 0===this._offsets[r+1]||e li > .active",(xi=cr.prototype).show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&Ke(this._element).hasClass(tt)||Ke(this._element).hasClass("disabled"))){var e,i,t=Ke(this._element).closest(".nav, .list-group")[0],r=Ui.getSelectorFromElement(this._element);if(t){var o="UL"===t.nodeName?it:nt;i=(i=Ke.makeArray(Ke(t).find(o)))[i.length-1]}var s=Ke.Event(et.HIDE,{relatedTarget:this._element}),a=Ke.Event(et.SHOW,{relatedTarget:i});if(i&&Ke(i).trigger(s),Ke(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=Ke(r)[0]),this._activate(this._element,t);var l=function(){var e=Ke.Event(et.HIDDEN,{relatedTarget:n._element}),t=Ke.Event(et.SHOWN,{relatedTarget:i});Ke(i).trigger(e),Ke(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},xi.dispose=function(){Ke.removeData(this._element,Ze),this._element=null},xi._activate=function(e,t,n){function i(){return r._transitionComplete(e,o,n)}var r=this,o=("UL"===t.nodeName?Ke(t).find(it):Ke(t).children(nt))[0],s=n&&Ui.supportsTransitionEnd()&&o&&Ke(o).hasClass("fade");o&&s?Ke(o).one(Ui.TRANSITION_END,i).emulateTransitionEnd(150):i()},xi._transitionComplete=function(e,t,n){if(t){Ke(t).removeClass("show "+tt);var i=Ke(t.parentNode).find("> .dropdown-menu .active")[0];i&&Ke(i).removeClass(tt),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(Ke(e).addClass(tt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),Ui.reflow(e),Ke(e).addClass("show"),e.parentNode&&Ke(e.parentNode).hasClass("dropdown-menu")){var r=Ke(e).closest(".dropdown")[0];r&&Ke(r).find(".dropdown-toggle").addClass(tt),e.setAttribute("aria-expanded",!0)}n&&n()},cr._jQueryInterface=function(n){return this.each(function(){var e=Ke(this),t=e.data(Ze);if(t||(t=new cr(this),e.data(Ze,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},b(cr,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),rt=cr,Ke(document).on(et.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),rt._jQueryInterface.call(Ke(this),"show")}),Ke.fn.tab=rt._jQueryInterface,Ke.fn.tab.Constructor=rt,Ke.fn.tab.noConflict=function(){return Ke.fn.tab=Je,rt._jQueryInterface},jQuery,bi=!1,wi="",Ti={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},Ci={transitionEndSupported:function(){return bi},transitionEndSelector:function(){return wi},isChar:function(e){return void 0===e.which||"number"==typeof e.which&&0")[0]+">"}},function(){for(var e in bi=function(){if(window.QUnit)return!1;var e=document.createElement("bmd");for(var t in Ti)if(void 0!==e.style[t])return Ti[t];return!1}(),Ti)wi+=" "+Ti[e]}(),Ci),Bi=(ot=jQuery,st="is-filled",at="is-focused",lt={BMD_FORM_GROUP:".bmd-form-group"},ut={},(_i=ur.prototype).dispose=function(e){this.$element.data(e,null),this.$element=null,this.config=null},_i.addFormGroupFocus=function(){this.$element.prop("disabled")||this.$bmdFormGroup.addClass(at)},_i.removeFormGroupFocus=function(){this.$bmdFormGroup.removeClass(at)},_i.removeIsFilled=function(){this.$bmdFormGroup.removeClass(st)},_i.addIsFilled=function(){this.$bmdFormGroup.addClass(st)},_i.findMdbFormGroup=function(e){void 0===e&&(e=!0);var t=this.$element.closest(lt.BMD_FORM_GROUP);return 0===t.length&&e&&ot.error("Failed to find "+lt.BMD_FORM_GROUP+" for "+Gi.describe(this.$element)),t},ur),Vi=(ct=jQuery,ht={FORM_GROUP:".form-group",BMD_FORM_GROUP:"."+(dt="bmd-form-group"),BMD_LABEL_WILDCARD:"label[class^='"+"bmd-label"+"'], label[class*=' bmd-label']"},pt={validate:!"input-group",formGroup:{required:!(ft="has-danger")},bmdFormGroup:{template:"",create:!0,required:!0},label:{required:!1,selectors:[".form-control-label","> label"],className:"bmd-label-static"},requiredClasses:[],invalidComponentMatches:[],convertInputSizeVariations:!0},mt={"form-control-lg":"bmd-form-group-lg","form-control-sm":"bmd-form-group-sm"},function(r){function e(e,t,n){var i;return void 0===n&&(n={}),(i=r.call(this,e,ct.extend(!0,{},pt,t),n)||this)._rejectInvalidComponentMatches(),i.rejectWithoutRequiredStructure(),i._rejectWithoutRequiredClasses(),i.$formGroup=i.findFormGroup(i.config.formGroup.required),i.$bmdFormGroup=i.resolveMdbFormGroup(),i.$bmdLabel=i.resolveMdbLabel(),i.resolveMdbFormGroupSizing(),i.addFocusListener(),i.addChangeListener(),""!=i.$element.val()&&i.addIsFilled(),i}n(e,r);var t=e.prototype;return t.dispose=function(e){r.prototype.dispose.call(this,e),this.$bmdFormGroup=null,this.$formGroup=null},t.rejectWithoutRequiredStructure=function(){},t.addFocusListener=function(){var e=this;this.$element.on("focus",function(){e.addFormGroupFocus()}).on("blur",function(){e.removeFormGroupFocus()})},t.addChangeListener=function(){var t=this;this.$element.on("keydown paste",function(e){Gi.isChar(e)&&t.addIsFilled()}).on("keyup change",function(){t.isEmpty()?t.removeIsFilled():t.addIsFilled(),t.config.validate&&(void 0===t.$element[0].checkValidity||t.$element[0].checkValidity()?t.removeHasDanger():t.addHasDanger())})},t.addHasDanger=function(){this.$bmdFormGroup.addClass(ft)},t.removeHasDanger=function(){this.$bmdFormGroup.removeClass(ft)},t.isEmpty=function(){return null===this.$element.val()||void 0===this.$element.val()||""===this.$element.val()},t.resolveMdbFormGroup=function(){var e=this.findMdbFormGroup(!1);return void 0!==e&&0!==e.length||(!this.config.bmdFormGroup.create||void 0!==this.$formGroup&&0!==this.$formGroup.length?this.$formGroup.addClass(dt):this.outerElement().parent().hasClass("input-group")?this.outerElement().parent().wrap(this.config.bmdFormGroup.template):this.outerElement().wrap(this.config.bmdFormGroup.template),e=this.findMdbFormGroup(this.config.bmdFormGroup.required)),e},t.outerElement=function(){return this.$element},t.resolveMdbLabel=function(){var e=this.$bmdFormGroup.find(ht.BMD_LABEL_WILDCARD);return void 0!==e&&0!==e.length||void 0===(e=this.findMdbLabel(this.config.label.required))||0===e.length||e.addClass(this.config.label.className),e},t.findMdbLabel=function(e){void 0===e&&(e=!0);var t=null,n=this.config.label.selectors,i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var o;if(i){if(r>=n.length)break;o=n[r++]}else{if((r=n.next()).done)break;o=r.value}var s=o;if(void 0!==(t=ct.isFunction(s)?s(this):this.$bmdFormGroup.find(s))&&0=e.length)break;i=e[n++]}else{if((n=e.next()).done)break;i=n.value}i.rejectMatch(this.constructor.name,this.$element)}},t._rejectWithoutRequiredClasses=function(){var e=this.config.requiredClasses,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var i;if(t){if(n>=e.length)break;i=e[n++]}else{if((n=e.next()).done)break;i=n.value}var r=i,o=!1;if(-1!==r.indexOf("||")){var s=r.split("||"),a=Array.isArray(s),l=0;for(s=a?s:s[Symbol.iterator]();;){var u;if(a){if(l>=s.length)break;u=s[l++]}else{if((l=s.next()).done)break;u=l.value}var c=u;if(this.$element.hasClass(c)){o=!0;break}}}else this.$element.hasClass(r)&&(o=!0);o||ct.error(this.constructor.name+" element: "+Gi.describe(this.$element)+" requires class: "+r)}},e}(Bi)),Qi=(gt=jQuery,vt={label:{required:!1}},function(r){function e(e,t,n){var i;return(i=r.call(this,e,gt.extend(!0,{},vt,t),n)||this).decorateMarkup(),i}n(e,r);var t=e.prototype;return t.decorateMarkup=function(){var e=gt(this.config.template);this.$element.after(e),!1!==this.config.ripples&&e.bmdRipples()},t.outerElement=function(){return this.$element.parent().closest("."+this.outerClass)},t.rejectWithoutRequiredStructure=function(){Gi.assert(this.$element,"label"===!this.$element.parent().prop("tagName"),this.constructor.name+"'s "+Gi.describe(this.$element)+" parent element should be