if(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(E,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],T=E.document,r=Object.getPrototypeOf,s=t.slice,m=t.concat,l=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,u=a.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},c={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||T).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var d="3.4.1",D=function(e,t){return new D.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function f(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!b(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function i(){S()}var e,f,w,o,a,p,h,g,_,l,u,S,E,s,T,m,c,v,y,D="sizzle"+1*new Date,b=n.document,x=0,r=0,C=le(),k=le(),I=le(),R=le(),A=function(e,t){return e===t&&(u=!0),0},M={}.hasOwnProperty,t=[],O=t.pop,N=t.push,P=t.push,L=t.slice,H=function(e,t){for(var n=0,r=e.length;n+~]|"+j+")"+j+"*"),$=new RegExp(j+"|>"),G=new RegExp(U),Z=new RegExp("^"+z+"$"),Q={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,re=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=we(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(t=L.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){P={apply:t.length?function(e,t){N.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,n,r){var i,o,a,s,l,u,c,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:b)!==E&&S(t),t=t||E,T)){if(11!==h&&(l=te.exec(e)))if(i=l[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&y(t,a)&&a.id===i)return n.push(a),n}else{if(l[2])return P.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&f.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(i)),n}if(f.qsa&&!R[e+" "]&&(!m||!m.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(c=e,d=t,1===h&&$.test(e)){for((s=t.getAttribute("id"))?s=s.replace(ie,oe):t.setAttribute("id",s=D),o=(u=p(e)).length;o--;)u[o]="#"+s+" "+be(u[o]);c=u.join(","),d=ne.test(e)&&ve(t.parentNode)||t}try{return P.apply(n,d.querySelectorAll(c)),n}catch(t){R(e,!0)}finally{s===D&&t.removeAttribute("id")}}}return g(e.replace(B,"$1"),t,n,r)}function le(){var r=[];return function e(t,n){return r.push(t+" ")>w.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ue(e){return e[D]=!0,e}function ce(e){var t=E.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(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&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function me(a){return ue(function(o){return o=+o,ue(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},S=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:b;return r!==E&&9===r.nodeType&&r.documentElement&&(s=(E=r).documentElement,T=!a(E),b!==E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),f.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=ce(function(e){return e.appendChild(E.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=ee.test(E.getElementsByClassName),f.getById=ce(function(e){return s.appendChild(e).id=D,!E.getElementsByName||!E.getElementsByName(D).length}),f.getById?(w.filter.ID=function(e){var t=e.replace(re,d);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&T){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var n=e.replace(re,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&T){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},w.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&T)return t.getElementsByClassName(e)},c=[],m=[],(f.qsa=ee.test(E.querySelectorAll))&&(ce(function(e){s.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+D+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+D+"+*").length||m.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=E.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=ee.test(v=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ce(function(e){f.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),c.push("!=",U)}),m=m.length&&new RegExp(m.join("|")),c=c.length&&new RegExp(c.join("|")),t=ee.test(s.compareDocumentPosition),y=t||ee.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=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)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===E||e.ownerDocument===b&&y(b,e)?-1:t===E||t.ownerDocument===b&&y(b,t)?1:l?H(l,e)-H(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===E?-1:t===E?1:i?-1:o?1:l?H(l,e)-H(l,t):0;if(i===o)return he(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?he(a[r],s[r]):a[r]===b?-1:s[r]===b?1:0}),E},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==E&&S(e),f.matchesSelector&&T&&!R[t+" "]&&(!c||!c.test(t))&&(!m||!m.test(t)))try{var n=v.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){R(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,d),e[3]=(e[3]||e[4]||e[5]||"").replace(re,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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.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(re,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,n,r){return b(n)?D.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?D.grep(e,function(e){return e===n!==r}):"string"!=typeof n?D.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(D.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||A,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(D):D.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof D?t[0]:t,D.merge(this,D.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),I.test(r[1])&&D.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=T.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=D.fn,A=D(T);var O=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}D.fn.extend({has:function(e){var t=D(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?D.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var Se=/^key/,Ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function xe(){return!1}function Ce(e,t){return e===function(){try{return T.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=xe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return D().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=D.guid++)),e.each(function(){D.event.add(this,t,i,r,n)})}function Ie(e,i,o){o?(Q.set(e,i,!1),D.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(D.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:D.event.trigger(D.extend(r[0],D.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&D.event.add(e,i,De)}D.event={global:{},add:function(t,e,n,r,i){var o,a,s,l,u,c,d,h,f,p,g,m=Q.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&D.find.matchesSelector(ie,i),n.guid||(n.guid=D.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==D&&D.event.triggered!==e.type?D.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(L)||[""]).length;u--;)f=g=(s=Te.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f&&(d=D.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=D.event.special[f]||{},c=D.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&D.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(f,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),D.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,h,f,p,g,m=Q.hasData(e)&&Q.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(L)||[""]).length;u--;)if(f=g=(s=Te.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(d=D.event.special[f]||{},h=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||D.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)D.event.remove(e,f+t[u],n,r,!0);D.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=D.event.fix(e),l=new Array(arguments.length),u=(Q.get(this,"events")||{})[s.type]||[],c=D.event.special[s.type]||{};for(l[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Ne(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&D(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,r,i,o,a,s,l,u;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),u=o.events))for(i in delete a.handle,a.events={},u)for(n=0,r=u[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,l,u,c=e.cloneNode(!0),d=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||D.isXMLDoc(e)))for(a=me(c),r=0,i=(o=me(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(r[0])},abort:function(){i&&i()}}});var nn,rn=[],on=/(=)\?(?=&|$)|\?\?/;D.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=rn.pop()||D.expando+"_"+Nt++;return this[e]=!0,e}}),D.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(on.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(on,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||D.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=E[r],E[r]=function(){o=arguments},n.always(function(){void 0===i?D(E).removeProp(r):E[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,rn.push(r)),o&&b(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((nn=T.implementation.createHTMLDocument("").body).innerHTML="
",2===nn.childNodes.length),D.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(r)):t=T),o=!n&&[],(i=I.exec(e))?[t.createElement(i[1])]:(i=_e([e],t,o),o&&o.length&&D(o).remove(),D.merge([],i.childNodes)));var r,i,o},D.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(D.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},D.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){D.fn[t]=function(e){return this.on(t,e)}}),D.expr.pseudos.animated=function(t){return D.grep(D.timers,function(e){return t===e.elem}).length},D.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u=D.css(e,"position"),c=D(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=D.css(e,"top"),l=D.css(e,"left"),i=("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(a=(r=c.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,n,D.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},D.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){D.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===D.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===D.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=D(e).offset()).top+=D.css(e,"borderTopWidth",!0),i.left+=D.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-D.css(r,"marginTop",!0),left:t.left-i.left-D.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===D.css(e,"position");)e=e.offsetParent;return e||ie})}}),D.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;D.fn[t]=function(e){return Y(this,function(e,t,n){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),D.each(["top","left"],function(e,n){D.cssHooks[n]=Xe(y.pixelPosition,function(e,t){if(t)return t=Qe(e,n),$e.test(t)?D(e).position()[n]+"px":t})}),D.each({Height:"height",Width:"width"},function(a,s){D.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){D.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return Y(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?D.css(e,t,i):D.style(e,t,n,i)},s,n?e:void 0,n)}})}),D.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){D.fn[n]=function(e,t){return 0=r.clientWidth&&n>=r.clientHeight}),d=0l[e]&&!r.escapeWithReference&&(n=Math.min(c[t],l[e]-("right"===e?c.width:c.height))),E({},t,n)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=T({},c,d[t](e))}),e.offsets.popper=c,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,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!U(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",p=I(r)[u];s[f]-pa[f]&&(e.offsets.popper[d]+=s[d]+p-a[f]),e.offsets.popper=D(e.offsets.popper);var g=s[d]+s[u]/2-p/2,m=w(e.instance.popper),v=parseFloat(m["margin"+c]),y=parseFloat(m["border"+c+"Width"]),b=g-e.offsets.popper[d]-v-y;return b=Math.max(Math.min(a[u]-p,b),0),e.arrowElement=r,e.offsets.arrow=(E(n={},d,Math.round(b)),E(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(g,m){if(N(g.instance.modifiers,"inner"))return g;if(g.flipped&&g.placement===g.originalPlacement)return g;var v=f(g.instance.popper,g.instance.reference,m.padding,m.boundariesElement,g.positionFixed),y=g.placement.split("-")[0],b=R(y),w=g.placement.split("-")[1]||"",_=[];switch(m.behavior){case q:_=[y,b];break;case $:_=V(y);break;case G:_=V(y,!0);break;default:_=m.behavior}return _.forEach(function(e,t){if(y!==e||_.length===t+1)return g;y=g.placement.split("-")[0],b=R(y);var n=g.offsets.popper,r=g.offsets.reference,i=Math.floor,o="left"===y&&i(n.right)>i(r.left)||"right"===y&&i(n.left)i(r.top)||"bottom"===y&&i(n.top)i(v.right),l=i(n.top)i(v.bottom),c="left"===y&&a||"right"===y&&s||"top"===y&&l||"bottom"===y&&u,d=-1!==["top","bottom"].indexOf(y),h=!!m.flipVariations&&(d&&"start"===w&&a||d&&"end"===w&&s||!d&&"start"===w&&l||!d&&"end"===w&&u),f=!!m.flipVariationsByContent&&(d&&"start"===w&&s||d&&"end"===w&&a||!d&&"start"===w&&u||!d&&"end"===w&&l),p=h||f;(o||c||p)&&(g.flipped=!0,(o||c)&&(y=_[t+1]),p&&(w=function(e){return"end"===e?"start":"start"===e?"end":e}(w)),g.placement=y+(w?"-"+w:""),g.offsets.popper=T({},g.offsets.popper,A(g.instance.popper,g.offsets.reference,g.placement)),g=O(g.instance.modifiers,g,"flip"))}),g},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=R(t),e.offsets.popper=D(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!U(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=M(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)p(this._element).one($.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var r=ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right
',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:Tt,popperConfig:null},Ft="show",jt="out",zt={HIDE:"hide"+Rt,HIDDEN:"hidden"+Rt,SHOW:"show"+Rt,SHOWN:"shown"+Rt,INSERTED:"inserted"+Rt,CLICK:"click"+Rt,FOCUSIN:"focusin"+Rt,FOCUSOUT:"focusout"+Rt,MOUSEENTER:"mouseenter"+Rt,MOUSELEAVE:"mouseleave"+Rt},Wt="fade",Ut="show",Yt=".tooltip-inner",Bt=".arrow",Vt="hover",qt="focus",$t="click",Gt="manual",Zt=function(){function r(e,t){if(void 0===d)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=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=r.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=p(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.getTipElement()).hasClass(Ut))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&p(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},e.show=function(){var t=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var e=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(e);var n=g.findShadowRoot(this.element),r=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!r)return;var i=this.getTipElement(),o=g.getUID(this.constructor.NAME);i.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&p(i).addClass(Wt);var a="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(a);this.addAttachmentClass(s);var l=this._getContainer();p(i).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(i).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,i,this._getPopperConfig(s)),p(i).addClass(Ut),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,p(t.element).trigger(t.constructor.Event.SHOWN),e===jt&&t._leave(null,t)};if(p(this.tip).hasClass(Wt)){var c=g.getTransitionDurationFromElement(this.tip);p(this.tip).one(g.TRANSITION_END,u).emulateTransitionEnd(c)}else u()}},e.hide=function(e){function t(){n._hoverState!==Ft&&r.parentNode&&r.parentNode.removeChild(r),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),p(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,r=this.getTipElement(),i=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(i),!i.isDefaultPrevented()){if(p(r).removeClass(Ut),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[$t]=!1,this._activeTrigger[qt]=!1,this._activeTrigger[Vt]=!1,p(this.tip).hasClass(Wt)){var o=g.getTransitionDurationFromElement(r);p(r).one(g.TRANSITION_END,t).emulateTransitionEnd(o)}else t();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){p(this.getTipElement()).addClass(Mt+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(p(e.querySelectorAll(Yt)),this.getTitle()),p(e).removeClass(Wt+" "+Ut)},e.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Ct(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?p(t).parent().is(e)||e.empty().append(t):e.text(p(t).text())},e.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)},e._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Bt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},{},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:g.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},e._getAttachment=function(e){return Lt[e.toUpperCase()]},e._setListeners=function(){var r=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)p(r.element).on(r.constructor.Event.CLICK,r.config.selector,function(e){return r.toggle(e)});else if(e!==Gt){var t=e===Vt?r.constructor.Event.MOUSEENTER:r.constructor.Event.FOCUSIN,n=e===Vt?r.constructor.Event.MOUSELEAVE:r.constructor.Event.FOCUSOUT;p(r.element).on(t,r.config.selector,function(e){return r._enter(e)}).on(n,r.config.selector,function(e){return r._leave(e)})}}),this._hideModalHandler=function(){r.element&&r.hide()},p(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._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",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?qt:Vt]=!0),p(t.getTipElement()).hasClass(Ut)||t._hoverState===Ft?t._hoverState=Ft:(clearTimeout(t._timeout),t._hoverState=Ft,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===Ft&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?qt:Vt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=jt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===jt&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){var t=p(this.element).data();return Object.keys(t).forEach(function(e){-1!==Nt.indexOf(e)&&delete t[e]}),"number"==typeof(e=l({},this.constructor.Default,{},t,{},"object"==typeof e&&e?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()),g.typeCheckConfig(kt,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ct(e.template,e.whiteList,e.sanitizeFn)),e},e._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},e._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(Ot);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(p(e).removeClass(Wt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},r._jQueryInterface=function(n){return this.each(function(){var e=p(this).data(It),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new r(this,t),p(this).data(It,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},a(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Ht}},{key:"NAME",get:function(){return kt}},{key:"DATA_KEY",get:function(){return It}},{key:"Event",get:function(){return zt}},{key:"EVENT_KEY",get:function(){return Rt}},{key:"DefaultType",get:function(){return Pt}}]),r}();p.fn[kt]=Zt._jQueryInterface,p.fn[kt].Constructor=Zt,p.fn[kt].noConflict=function(){return p.fn[kt]=At,Zt._jQueryInterface};var Qt="popover",Xt="bs.popover",Jt="."+Xt,Kt=p.fn[Qt],en="bs-popover",tn=new RegExp("(^|\\s)"+en+"\\S+","g"),nn=l({},Zt.Default,{placement:"right",trigger:"click",content:"",template:''}),rn=l({},Zt.DefaultType,{content:"(string|element|function)"}),on="fade",an="show",sn=".popover-header",ln=".popover-body",un={HIDE:"hide"+Jt,HIDDEN:"hidden"+Jt,SHOW:"show"+Jt,SHOWN:"shown"+Jt,INSERTED:"inserted"+Jt,CLICK:"click"+Jt,FOCUSIN:"focusin"+Jt,FOCUSOUT:"focusout"+Jt,MOUSEENTER:"mouseenter"+Jt,MOUSELEAVE:"mouseleave"+Jt},cn=function(e){function r(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(r,e);var t=r.prototype;return t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(e){p(this.getTipElement()).addClass(en+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function(){var e=p(this.getTipElement());this.setElementContent(e.find(sn),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(ln),t),e.removeClass(on+" "+an)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(tn);null!==t&&0=this._offsets[i]&&(void 0===this._offsets[i+1]||eparseInt(r.css(t),10)?t:e}if("auto"===this.options.placement){this.$element.hasClass("in")||this.$element.css("visiblity","hidden !important").addClass("in");var t=s(window).width()/this.$element.outerWidth(),n=s(window).height()/this.$element.outerHeight(),r=this.$element;this.placement=ne){var n=parseInt(s("body").css(t),10)+s("body").width()-e;setTimeout(function(){s("body").css(t,n)},1)}s("body").on("touchmove.bs",function(e){s(event.target).closest(".offcanvas").length||e.preventDefault()})},i.prototype.enableScrolling=function(){s("body").off("touchmove.bs"),s("body").removeClass("lockIphone")},i.prototype.show=function(){if(!this.state){var e=s.Event("show.bs.offcanvas");this.$element.trigger(e),e.isDefaultPrevented()||this.hideOthers(s.proxy(function(){this.state="slide-in",this.$element.css("width",""),this.calcPlacement(),this.setWidth();var e=this.getCanvasElements(),t=this.placement,n=this.opposite(t),r=this.offset();-1!==e.index(this.$element)&&(s(this.$element).data("offcanvas-style",s(this.$element).attr("style")||""),this.$element.css(t,-1*r),this.$element.css(t)),e.addClass("canvas-sliding").each(function(){var e=s(this);void 0===e.data("offcanvas-style")&&e.data("offcanvas-style",e.attr("style")||""),"static"!==e.css("position")||o||e.css("position","relative"),"auto"!==e.css(t)&&"0px"!==e.css(t)||"auto"!==e.css(n)&&"0px"!==e.css(n)||e.css(t,0)}),this.options.disableScrolling&&this.disableScrolling(),(this.options.modal||this.options.backdrop)&&this.toggleBackdrop();function i(){"slide-in"==this.state&&(this.state="slid",e.removeClass("canvas-sliding").addClass("canvas-slid"),this.$element.trigger("shown.bs.offcanvas"))}setTimeout(s.proxy(function(){this.$element.addClass("in"),this.slide(e,r,s.proxy(i,this))},this),1)},this))}},i.prototype.hideOthers=function(i){var o=!1,e=this.$element.attr("id"),t=s('.offcanvas-clone:not([data-id="'+e+'"])');if(!t.length)return i();t.each(function(e,t){var n=s(t).attr("data-id"),r=s("#"+n);(o=r.hasClass("canvas-slid"))&&(r.one("hidden.bs.offcanvas",i),r.offcanvas("hide"))}),o||i()},i.prototype.hide=function(){if("slid"===this.state){var e=s.Event("hide.bs.offcanvas");if(this.$element.trigger(e),!e.isDefaultPrevented()){this.state="slide-out";var t=s(".canvas-slid"),n=(this.placement,-1*this.offset()),r=function(){"slide-out"==this.state&&(this.state=null,this.placement=null,this.$element.removeClass("in"),t.removeClass("canvas-sliding"),t.add(this.$element).add("body").each(function(){s(this).attr("style",s(this).data("offcanvas-style")).removeData("offcanvas-style")}),this.$element.css("width",""),this.$element.trigger("hidden.bs.offcanvas"))};this.options.disableScrolling&&this.enableScrolling(),(this.options.modal||this.options.backdrop)&&this.toggleBackdrop(),t.removeClass("canvas-slid").addClass("canvas-sliding"),setTimeout(s.proxy(function(){this.slide(t,n,s.proxy(r,this))},this),1)}}},i.prototype.toggle=function(){"slide-in"!==this.state&&"slide-out"!==this.state&&this["slid"===this.state?"hide":"show"]()},i.prototype.toggleBackdrop=function(e){e=e||s.noop;if("slide-in"==this.state){var t=s("body"),n=s.support.transition;this.$backdrop=s('");document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return r(e),t}()),y}function S(e){return e=Math.max(0,e),e=Math.round(e)}function E(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=S(e.offsetWidth-e.clientWidth-r-i),l={borderLeft:r,borderRight:i,borderTop:o,borderBottom:a,scrollbarBottom:S(e.offsetHeight-e.clientHeight-o-a),scrollbarLeft:0,scrollbarRight:0};return b()&&"rtl"===n.direction?l.scrollbarLeft=s:l.scrollbarRight=s,t&&(l.paddingLeft=parseInt(n.paddingLeft,10)||0,l.paddingRight=parseInt(n.paddingRight,10)||0,l.paddingTop=parseInt(n.paddingTop,10)||0,l.paddingBottom=parseInt(n.paddingBottom,10)||0),l}function T(e,t){void 0===t&&(t=!1);var n=D(e),r=E(e,t),i={left:n.left+r.borderLeft+r.scrollbarLeft,right:n.right-r.borderRight-r.scrollbarRight,top:n.top+r.borderTop,bottom:n.bottom-r.borderBottom-r.scrollbarBottom};return t&&(i.left+=r.paddingLeft,i.right-=r.paddingRight,i.top+=r.paddingTop,i.bottom-=r.paddingBottom),i}function D(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function x(e){return e.getBoundingClientRect().height+C(e)}function C(e){var t=window.getComputedStyle(e);return parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}function k(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function I(e){e.preventDefault()}function R(e,t,n,r){function i(e){var t=c(e.target,n);t&&r.call(t,e,t)}return e.addEventListener(t,i),function(){e.removeEventListener(t,i)}}var A=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];var M=["sun","mon","tue","wed","thu","fri","sat"];function O(e,t){var n=Y(e);return n[2]+=t,B(n)}function N(e,t){var n=Y(e);return n[6]+=t,B(n)}function P(e,t){return(t.valueOf()-e.valueOf())/864e5}function L(e,t){var n=j(e),r=j(t);return{years:0,months:0,days:Math.round(P(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function H(e,t){var n=F(e,t);return null!==n&&n%7==0?n/7:null}function F(e,t){return q(e)===q(t)?Math.round(P(e,t)):null}function j(e){return B([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function z(e,t,n,r){var i=B([t,0,1+function(e,t,n){var r=7+t-n;return-(7+B([e,0,r]).getUTCDay()-t)%7+r-1}(t,n,r)]),o=j(e),a=Math.round(P(i,o));return Math.floor(a/7)+1}function W(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function U(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function Y(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function B(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function V(e){return!isNaN(e.valueOf())}function q(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}var $=["years","months","days","milliseconds"],G=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Z(e,t){var n;return"string"==typeof e?function(e){var t=G.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Q(e):"number"==typeof e?Q(((n={})[t||"milliseconds"]=e,n)):null}function Q(e){return{years:e.years||e.year||0,months:e.months||e.month||0,days:(e.days||e.day||0)+7*X(e),milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)}}function X(e){return e.weeks||e.week||0}function J(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function K(e){return ee(e)/864e5}function ee(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function te(e,t){var n=e.milliseconds;if(n){if(n%1e3!=0)return{unit:"millisecond",value:n};if(n%6e4!=0)return{unit:"second",value:n/1e3};if(n%36e5!=0)return{unit:"minute",value:n/6e4};if(n)return{unit:"hour",value:n/36e5}}return e.days?t||e.days%7!=0?{unit:"day",value:e.days}:{unit:"week",value:e.days/7}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function ne(e){e.forEach(function(e){e.style.height=""})}function re(e){var t,n,r=[],i=[];for("string"==typeof e?i=e.split(/\s*,\s*/):"function"==typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t=ee(t)&&(r=O(r,1))}return e.start&&(n=j(e.start),r&&r<=n&&(r=O(n,1))),{start:n,end:r}}function me(e,t,n,r){return"year"===r?Z(n.diffWholeYears(e,t),"year"):"month"===r?Z(n.diffWholeMonths(e,t),"month"):L(e,t)}var ve=function(e,t){return(ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function ye(e,t){function n(){this.constructor=e}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var be=function(){return(be=Object.assign||function(e){for(var t,n=1,r=arguments.length;no&&i.push({start:o,end:r.start}),r.end>o&&(o=r.end);return ot.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function We(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"
")}function Nt(e){var t=[];for(var n in e){var r=e[n];null!=r&&""!==r&&t.push(n+":"+r)}return t.join(";")}function Pt(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var Lt={editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:null,overlap:null,allow:null,className:Pt,classNames:Pt,color:String,backgroundColor:String,borderColor:String,textColor:String};function Ht(e,t,n){var r=fe(e,Lt,{},n),i=function(e,t){return Array.isArray(e)?Ce(e,"",t,!0):"object"==typeof e&&e?Ce([e],"",t,!0):null!=e?String(e):null}(r.constraint,t);return{startEditable:null!=r.startEditable?r.startEditable:r.editable,durationEditable:null!=r.durationEditable?r.durationEditable:r.editable,constraints:null!=i?[i]:[],overlap:r.overlap,allows:null!=r.allow?[r.allow]:[],backgroundColor:r.backgroundColor||r.color,borderColor:r.borderColor||r.color,textColor:r.textColor,classNames:r.classNames.concat(r.className)}}function Ft(e,t,n,r){var i={},o={};for(var a in Lt){var s=e+se(a);i[a]=t[s],o[s]=!0}if("event"===e&&(i.editable=t.editable),r)for(var a in t)o[a]||(r[a]=t[a]);return Ht(i,n)}var jt={startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function zt(e){return e.reduce(Wt,jt)}function Wt(e,t){return{startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var Ut={id:String,groupId:String,title:String,url:String,rendering:String,extendedProps:null},Yt={start:null,date:null,end:null,allDay:null},Bt=0;function Vt(e,t,n,r){var i=function(e,t){var n=null;if(e){var r=t.state.eventSources[e];n=r.allDayDefault}null==n&&(n=t.opt("allDayDefault"));return n}(t,n),o={},a=function(e,t,n,r,i){for(var o=0;o'+i+"":""+i+""}function nn(e,t,n,r){var i,o,a=n.calendar,s=n.options,l=n.theme,u=n.dateEnv,c=[];return We(t.activeRange,e)?(c.push("fc-"+M[e.getUTCDay()]),s.monthMode&&u.getMonth(e)!==u.getMonth(t.currentRange.start)&&c.push("fc-other-month"),o=O(i=j(a.getNow()),1),e=n[t]&&e=n[t]&&e *",On.prototype.bgSegSelector=".fc-bgevent:not(.fc-nonbusiness)";var Pn=0;function Ln(e){return{id:String(Pn++),deps:e.deps||[],reducers:e.reducers||[],eventDefParsers:e.eventDefParsers||[],isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],eventResizeJoinTransforms:e.eventResizeJoinTransforms||[],viewContainerModifiers:e.viewContainerModifiers||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,defaultView:e.defaultView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{}}}var Hn=(Fn.prototype.add=function(e){if(!this.addedHash[e.id]){this.addedHash[e.id]=!0;for(var t=0,n=e.deps;te.fetchRange.end:!e.latestFetchId}(e,t,n)}),t,n)}function br(e,t,n,r){var i={};for(var o in e){var a=e[o];t[o]?i[o]=wr(a,n,r):i[o]=a}return i}function wr(o,a,s){var e=s.pluginSystem.hooks.eventSourceDefs[o.sourceDefId],l=String(vr++);return e.fetch({eventSource:o,calendar:s,range:a},function(e){var t,n,r=e.rawEvents,i=s.opt("eventSourceSuccess");o.success&&(n=o.success(r,e.xhr)),i&&(t=i(r,e.xhr)),r=n||t||r,s.dispatch({type:"RECEIVE_EVENTS",sourceId:o.sourceId,fetchId:l,fetchRange:a,rawEvents:r})},function(e){var t=s.opt("eventSourceFailure");console.warn(e.message,e),o.failure&&o.failure(e),t&&t(e),s.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:o.sourceId,fetchId:l,fetchRange:a,error:e})}),be({},o,{isFetching:!0,latestFetchId:l})}var _r=(Sr.prototype.buildPrev=function(e,t){var n=this.dateEnv,r=n.subtract(n.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(r,-1)},Sr.prototype.buildNext=function(e,t){var n=this.dateEnv,r=n.add(n.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(r,1)},Sr.prototype.build=function(e,t,n){var r,i,o,a,s,l,u,c;return void 0===n&&(n=!1),r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=function(e,t){return null!=t.start&&e=t.end?new Date(t.end.valueOf()-1):e}(e,r)),a=this.buildCurrentRangeInfo(e,t),s=/^(year|month|week|day)$/.test(a.unit),l=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),u=l=this.trimHiddenDays(l),this.options.showNonCurrentDates||(u=He(u,a.range)),i=Z(this.options.minTime),o=Z(this.options.maxTime),u=He(u=this.adjustActiveRange(u,i,o),r),c=je(a.range,r),{validRange:r,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:u,renderRange:l,minTime:i,maxTime:o,isValid:c,dateIncrement:this.buildDateIncrement(a.duration)}},Sr.prototype.buildValidRange=function(){return this.getRangeOption("validRange",this.calendar.getNow())||{start:null,end:null}},Sr.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.viewSpec,i=this.dateEnv,o=null,a=null,s=null;return r.duration?(o=r.duration,a=r.durationUnit,s=this.buildRangeFromDuration(e,t,o,a)):(n=this.options.dayCount)?(a="day",s=this.buildRangeFromDayCount(e,t,n)):(s=this.buildCustomVisibleRange(e))?a=i.greatestWholeUnit(s.start,s.end).unit:(a=te(o=this.getFallbackDuration()).unit,s=this.buildRangeFromDuration(e,t,o,a)),{duration:o,unit:a,range:s}},Sr.prototype.getFallbackDuration=function(){return Z({day:1})},Sr.prototype.adjustActiveRange=function(e,t,n){var r=this.dateEnv,i=e.start,o=e.end;return this.viewSpec.class.prototype.usesMinMaxTime&&(K(t)<0&&(i=j(i),i=r.add(i,t)),1 ")),h=!1):((n=v[e])?(i=function(e){n.click&&n.click.call(u,e)},(o=p.getCustomButtonIconClass(n))||(o=p.getIconClass(e))||(a=n.text)):(r=m[e])?(f.viewsWithButtons.push(e),i=function(){g.changeView(e)},(a=r.buttonTextOverride)||(o=p.getIconClass(e))||(a=r.buttonTextDefault)):g[e]&&(i=function(){g[e]()},(a=y[e])||(o=p.getIconClass(e))||(a=b[e])),i&&(l=["fc-"+e+"-button",p.getClass("button")],a?(s=Ot(a),c=""):o&&(s="",c=' aria-label="'+e+'"'),(u=w('")).addEventListener("click",i),d.push(u)))}),1"},gi.prototype.detachSegs=function(e,t){var n=this.containerElsByType[e];n&&(n.forEach(r),delete this.containerElsByType[e])},gi.prototype.computeSizes=function(e){for(var t in this.segsByType)(e||this.dirtySizeFlags[t])&&this.computeSegSizes(this.segsByType[t])},gi.prototype.assignSizes=function(e){for(var t in this.segsByType)(e||this.dirtySizeFlags[t])&&this.assignSegSizes(this.segsByType[t]);this.dirtySizeFlags={}},gi.prototype.computeSegSizes=function(e){},gi.prototype.assignSegSizes=function(e){},gi);function gi(){this.fillSegTag="div",this.dirtySizeFlags={},this.containerElsByType={},this.segsByType={}}function mi(e){this.timeZoneName=e}var vi=(yi.prototype.destroy=function(){},yi.prototype.setMirrorIsVisible=function(e){},yi.prototype.setMirrorNeedsRevert=function(e){},yi.prototype.setAutoScrollEnabled=function(e){},yi);function yi(e){this.emitter=new ln}function bi(e){var t=Kn(e.locale||"en",Jn([]).map);return e=be({timeZone:$n.timeZone,calendarSystem:"gregory"},e,{locale:t}),new ur(e)}var wi={startTime:Z,duration:Z,create:Boolean,sourceId:String},_i={create:!0};function Si(e,t){return!e||10"+(h?tn(d,u,{date:e,forceOff:!n||1===r},l):l)+""}var Ti,Di=(ye(xi,Ti=Rn),xi.prototype.render=function(e,t){var n=e.dates,r=e.datesRepDistinctDays,i=[];this.renderSkeleton(t),e.renderIntroHtml&&i.push(e.renderIntroHtml());for(var o=ot(t.options.columnHeaderFormat||Si(r,n.length)),a=0,s=n;a"+i.join("")+""},xi.prototype.destroy=function(){Ti.prototype.destroy.call(this),this.renderSkeleton.unrender()},xi.prototype._renderSkeleton=function(e){var t=e.theme,n=this.parentEl;n.innerHTML="",n.appendChild(this.el=w('
')),this.thead=this.el.querySelector("thead")},xi.prototype._unrenderSkeleton=function(){r(this.el)},xi);function xi(e){var t=Ti.call(this)||this;return t.renderSkeleton=Qt(t._renderSkeleton,t._unrenderSkeleton),t.parentEl=e,t}var Ci=(ki.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(O(e.end,-1)),r=Math.max(0,t),i=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(i=Math.floor(i))?{firstIndex:r,lastIndex:i,isStart:t===r,isEnd:n===i}:null},ki.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(P(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},ki);function ki(e,t){for(var n=e.start,r=e.end,i=[],o=[],a=-1;n=t.left&&e.left=t.top&&e.top'+x.htmlEscape(n)+""),r=''+(x.htmlEscape(a.title||"")||" ")+"",'
'+("rtl"===i.options.dir?r+" "+p:p+" "+r)+"
"+(c?'
':"")+(d?'
':"")+"
"},l.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}},l.prototype.computeDisplayEventEnd=function(){return!1},l);function l(){return null!==a&&a.apply(this,arguments)||this}var c,h=(t(f,c=s),f.prototype.attachSegs=function(e,t){var n=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach(function(e,t){e.querySelector(".fc-content-skeleton > table").appendChild(n[t].tbodyEl)}),t||this.dayGrid.removeSegPopover()},f.prototype.detachSegs=function(){for(var e,t=this.rowStructs||[];e=t.pop();)x.removeElement(e.tbodyEl);this.rowStructs=null},f.prototype.renderSegRows=function(e){var t,n,r=[];for(t=this.groupSegRows(e),n=0;n=e.firstCol)return!0;return!1}function m(e,t){return e.leftCol-t.leftCol}var v,y=(t(b,v=h),b.prototype.attachSegs=function(e,t){var i=t.sourceSeg,o=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach(function(e,t){var n,r=x.htmlToElement('
');n=(i&&i.row===t?i.el:e.querySelector(".fc-content-skeleton tbody")||e.querySelector(".fc-content-skeleton table")).getBoundingClientRect().top-e.getBoundingClientRect().top,r.style.top=n+"px",r.querySelector("table").appendChild(o[t].tbodyEl),e.appendChild(r)})},b);function b(){return null!==v&&v.apply(this,arguments)||this}var w,_='',S=(t(E,w=x.FillRenderer),E.prototype.renderSegs=function(e,t,n){"bgEvent"===e&&(n=n.filter(function(e){return e.eventRange.def.allDay})),w.prototype.renderSegs.call(this,e,t,n)},E.prototype.attachSegs=function(e,t){var n,r,i,o=[];for(n=0;n
')).getElementsByTagName("tr")[0],0'+x.htmlEscape(o)+'
',this.segContainerEl=this.el.querySelector(".fc-event-container")},C.prototype.queryHit=function(e,t,n,r){var i=this.props.date;if(e'),"rtl"===this.context.options.dir&&t.reverse(),""+t.join("")+""},M);function M(e){this.context=e}function O(e,t,n,r){var i=n.dateEnv,o=n.theme,a=x.rangeContainsMarker(t.activeRange,e),s=x.getDayClasses(e,t,n);return s.unshift("fc-day",o.getClass("widgetContent")),'"}var N,P=x.createFormatter({day:"numeric"}),L=x.createFormatter({week:"numeric"}),H=(t(F,N=x.DateComponent),F.prototype.render=function(e,t){var n=e.cells;this.rowCnt=n.length,this.colCnt=n[0].length,this.renderCells(n,e.isRigid),this.renderBusinessHours(t,e.businessHourSegs),this.renderDateSelection(t,e.dateSelectionSegs),this.renderBgEvents(t,e.bgEventSegs),this.renderFgEvents(t,e.fgEventSegs),this.renderEventSelection(e.eventSelection),this.renderEventDrag(e.eventDrag),this.renderEventResize(e.eventResize),this.segPopoverTile&&this.updateSegPopoverTile()},F.prototype.destroy=function(){N.prototype.destroy.call(this),this.renderCells.unrender()},F.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:x.addDays(n,1)}},F.prototype.updateSegPopoverTile=function(e,t){var n=this.props;this.segPopoverTile.receiveProps({date:e||this.segPopoverTile.props.date,fgSegs:t||this.segPopoverTile.props.fgSegs,eventSelection:n.eventSelection,eventDragInstances:n.eventDrag?n.eventDrag.affectedInstances:null,eventResizeInstances:n.eventResize?n.eventResize.affectedInstances:null},this.context)},F.prototype._renderCells=function(e,t){var n,r,i=this.context,o=i.calendar,a=i.view,s=i.isRtl,l=i.dateEnv,u=this.rowCnt,c=this.colCnt,d="";for(n=0;n
'+i.renderHtml({cells:this.props.cells[e],dateProfile:this.props.dateProfile,renderIntroHtml:this.renderProps.renderBgIntroHtml})+'
'+(this.getIsNumbersVisible()?""+this.renderNumberTrHtml(e)+"":"")+"
"},F.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.renderProps.cellWeekNumbersVisible||this.renderProps.colWeekNumbersVisible},F.prototype.getIsDayNumbersVisible=function(){return 1"+(t?"":n)+this.renderNumberCellsHtml(e)+(t?n:"")+""},F.prototype.renderNumberCellsHtml=function(e){var t,n,r=[];for(t=0;t",this.renderProps.cellWeekNumbersVisible&&e.getUTCDay()===n&&(a+=x.buildGotoAnchorHtml(o,i,{date:e,type:"week"},{class:"fc-week-number"},i.format(e,L))),l&&(a+=x.buildGotoAnchorHtml(o,i,e,{class:"fc-day-number"},i.format(e,P))),a+=""):""},F.prototype.updateSize=function(e){var t=this.context.calendar,n=this.fillRenderer,r=this.eventRenderer,i=this.mirrorRenderer;(e||this.isCellSizesDirty||t.isEventsUpdated)&&(this.buildPositionCaches(),this.isCellSizesDirty=!1),n.computeSizes(e),r.computeSizes(e),i.computeSizes(e),n.assignSizes(e),r.assignSizes(e),i.assignSizes(e)},F.prototype.buildPositionCaches=function(){this.buildColPositions(),this.buildRowPositions()},F.prototype.buildColPositions=function(){this.colPositions.build()},F.prototype.buildRowPositions=function(){this.rowPositions.build(),this.rowPositions.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},F.prototype.positionToHit=function(e,t){var n=this.colPositions,r=this.rowPositions,i=n.leftToIndex(e),o=r.topToIndex(t);if(null!=o&&null!=i)return{row:o,col:i,dateSpan:{range:this.getCellRange(o,i),allDay:!0},dayEl:this.getCellEl(o,i),relativeRect:{left:n.lefts[i],right:n.rights[i],top:r.tops[o],bottom:r.bottoms[o]}}},F.prototype.getCellEl=function(e,t){return this.cellEls[e*this.colCnt+t]},F.prototype._renderEventDrag=function(e){e&&(this.eventRenderer.hideByHash(e.affectedInstances),this.fillRenderer.renderSegs("highlight",this.context,e.segs))},F.prototype._unrenderEventDrag=function(e){e&&(this.eventRenderer.showByHash(e.affectedInstances),this.fillRenderer.unrender("highlight",this.context))},F.prototype._renderEventResize=function(e){e&&(this.eventRenderer.hideByHash(e.affectedInstances),this.fillRenderer.renderSegs("highlight",this.context,e.segs),this.mirrorRenderer.renderSegs(this.context,e.segs,{isResizing:!0,sourceSeg:e.sourceSeg}))},F.prototype._unrenderEventResize=function(e){e&&(this.eventRenderer.showByHash(e.affectedInstances),this.fillRenderer.unrender("highlight",this.context),this.mirrorRenderer.unrender(this.context,e.segs,{isResizing:!0,sourceSeg:e.sourceSeg}))},F.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},F.prototype.limitRows=function(e){var t,n,r=this.eventRenderer.rowStructs||[];for(t=0;tr)return t;return!1},F.prototype.limitRow=function(t,n){function e(e){for(;E tr > td").appendChild(t),t.classList.add("fc-day-grid-container");var n=x.createElement("div",{className:"fc-day-grid"});t.appendChild(n),this.dayGrid=new H(n,{renderNumberIntroHtml:this.renderDayGridNumberIntroHtml,renderBgIntroHtml:this.renderDayGridBgIntroHtml,renderIntroHtml:this.renderDayGridIntroHtml,colWeekNumbersVisible:this.colWeekNumbersVisible,cellWeekNumbersVisible:this.cellWeekNumbersVisible})},U.prototype._unrenderSkeleton=function(){this.el.classList.remove("fc-dayGrid-view"),this.dayGrid.destroy(),this.scroller.destroy()},U.prototype.renderSkeletonHtml=function(){var e=this.context,t=e.theme,n=e.options;return''+(n.columnHeader?'':"")+'
 
'},U.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},U.prototype.hasRigidRows=function(){var e=this.context.options.eventLimit;return e&&"number"!=typeof e},U.prototype.updateSize=function(e,t,n){j.prototype.updateSize.call(this,e,t,n),this.dayGrid.updateSize(e)},U.prototype.updateBaseSize=function(e,t,n){var r,i,o=this.dayGrid,a=this.context.options.eventLimit,s=this.header?this.header.el:null;o.rowEls?(this.colWeekNumbersVisible&&(this.weekNumberWidth=x.matchCellWidths(x.findElements(this.el,".fc-week-number"))),this.scroller.clear(),s&&x.uncompensateScroll(s),o.removeSegPopover(),a&&"number"==typeof a&&o.limitRows(a),r=this.computeScrollerHeight(t),this.setGridHeight(r,n),a&&"number"!=typeof a&&o.limitRows(a),n||(this.scroller.setHeight(r),((i=this.scroller.getScrollbarWidths()).left||i.right)&&(s&&x.compensateScroll(s,i),r=this.computeScrollerHeight(t),this.scroller.setHeight(r)),this.scroller.lockOverflow(i))):n||(r=this.computeScrollerHeight(t),this.scroller.setHeight(r))},U.prototype.computeScrollerHeight=function(e){return e-x.subtractInnerElHeight(this.el,this.scroller.el)},U.prototype.setGridHeight=function(e,t){this.context.options.monthMode?(t&&(e*=this.dayGrid.rowCnt/6),x.distributeHeight(this.dayGrid.rowEls,e,!t)):t?x.undistributeHeight(this.dayGrid.rowEls):x.distributeHeight(this.dayGrid.rowEls,e,!0)},U.prototype.computeDateScroll=function(e){return{top:0}},U.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},U.prototype.applyDateScroll=function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},U);function U(){var a=null!==j&&j.apply(this,arguments)||this;return a.processOptions=x.memoize(a._processOptions),a.renderSkeleton=x.memoizeRendering(a._renderSkeleton,a._unrenderSkeleton),a.renderHeadIntroHtml=function(){var e=a.context,t=e.theme,n=e.options;return a.colWeekNumbersVisible?'"+x.htmlEscape(n.weekLabel)+"":""},a.renderDayGridNumberIntroHtml=function(e,t){var n=a.context,r=n.options,i=n.dateEnv,o=t.props.cells[e][0].date;return a.colWeekNumbersVisible?'"+x.buildGotoAnchorHtml(r,i,{date:o,type:"week",forceOff:1===t.colCnt},i.format(o,z))+"":""},a.renderDayGridBgIntroHtml=function(){var e=a.context.theme;return a.colWeekNumbersVisible?'":""},a.renderDayGridIntroHtml=function(){return a.colWeekNumbersVisible?'":""},a}W.prototype.dateProfileGeneratorClass=n;var Y,B=(t(V,Y=x.DateComponent),V.prototype.firstContext=function(e){e.calendar.registerInteractiveComponent(this,{el:this.dayGrid.el})},V.prototype.destroy=function(){Y.prototype.destroy.call(this),this.context.calendar.unregisterInteractiveComponent(this)},V.prototype.render=function(e,t){var n=this.dayGrid,r=e.dateProfile,i=e.dayTable;n.receiveProps(d({},this.slicer.sliceProps(e,r,e.nextDayThreshold,t.calendar,n,i),{dateProfile:r,cells:i.cells,isRigid:e.isRigid}),t)},V.prototype.buildPositionCaches=function(){this.dayGrid.buildPositionCaches()},V.prototype.queryHit=function(e,t){var n=this.dayGrid.positionToHit(e,t);if(n)return{component:this.dayGrid,dateSpan:n.dateSpan,dayEl:n.dayEl,rect:{left:n.relativeRect.left,right:n.relativeRect.right,top:n.relativeRect.top,bottom:n.relativeRect.bottom},layer:0}},V);function V(e){var t=Y.call(this,e.el)||this;return t.slicer=new $,t.dayGrid=e,t}var q,$=(t(G,q=x.Slicer),G.prototype.sliceRange=function(e,t){return t.sliceRange(e)},G);function G(){return null!==q&&q.apply(this,arguments)||this}var Z,Q=(t(X,Z=W),X.prototype.render=function(e,t){Z.prototype.render.call(this,e,t);var n=this.props.dateProfile,r=this.dayTable=this.buildDayTable(n,e.dateProfileGenerator);this.header&&this.header.receiveProps({dateProfile:n,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt,renderIntroHtml:this.renderHeadIntroHtml},t),this.simpleDayGrid.receiveProps({dateProfile:n,dayTable:r,businessHours:e.businessHours,dateSelection:e.dateSelection,eventStore:e.eventStore,eventUiBases:e.eventUiBases,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isRigid:this.hasRigidRows(),nextDayThreshold:this.context.nextDayThreshold},t)},X.prototype._renderSkeleton=function(e){Z.prototype._renderSkeleton.call(this,e),e.options.columnHeader&&(this.header=new x.DayHeader(this.el.querySelector(".fc-head-container"))),this.simpleDayGrid=new B(this.dayGrid)},X.prototype._unrenderSkeleton=function(){Z.prototype._unrenderSkeleton.call(this),this.header&&this.header.destroy(),this.simpleDayGrid.destroy()},X);function X(){var e=null!==Z&&Z.apply(this,arguments)||this;return e.buildDayTable=x.memoize(J),e}function J(e,t){var n=new x.DaySeries(e.renderRange,t);return new x.DayTable(n,/year|month|week/.test(e.currentRangeUnit))}var K=x.createPlugin({defaultView:"dayGridMonth",views:{dayGrid:Q,dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});e.AbstractDayGridView=W,e.DayBgRow=A,e.DayGrid=H,e.DayGridSlicer=$,e.DayGridView=Q,e.SimpleDayGrid=B,e.buildBasicDayTable=J,e.default=K,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@fullcalendar/core")):"function"==typeof define&&define.amd?define(["exports","@fullcalendar/core"],t):t((e=e||self).FullCalendarGoogleCalendar={},e.FullCalendar)}(this,function(e,l){"use strict";var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n',e,""].join(""),l.id=f,(u?l:c).innerHTML+=i,c.appendChild(l),u||(c.style.background="",c.style.overflow="hidden",s=h.style.overflow,h.style.overflow="hidden",h.appendChild(c)),o=t(l,e),u?l.parentNode.removeChild(l):(c.parentNode.removeChild(c),h.style.overflow=s),!!o}var n,l,u={},h=d.documentElement,f="modernizr",c=d.createElement(f),p=c.style,g=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",v=m.split(" "),y=m.toLowerCase().split(" "),b="http://www.w3.org/2000/svg",w={},_=[],S=_.slice,E={}.hasOwnProperty;for(var T in l=a(E,"undefined")||a(E.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return E.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(r){var i=this;if("function"!=typeof i)throw new TypeError;var o=S.call(arguments,1),a=function(){if(this instanceof a){function e(){}e.prototype=i.prototype;var t=new e,n=i.apply(t,o.concat(S.call(arguments)));return Object(n)===n?n:t}return i.apply(r,o.concat(S.call(arguments)))};return a}),w.cssanimations=function(){return r("animationName")},w.csstransforms=function(){return!!r("transform")},w.csstransforms3d=function(){var n=!!r("perspective");return n&&"webkitPerspective"in h.style&&i("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e,t){n=9===e.offsetLeft&&3===e.offsetHeight}),n},w.csstransitions=function(){return r("transition")},w.svg=function(){return!!d.createElementNS&&!!d.createElementNS(b,"svg").createSVGRect},w.inlinesvg=function(){var e=d.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==b},w)l(w,T)&&(n=T.toLowerCase(),u[n]=w[T](),_.push((u[n]?"":"no-")+n));return u.addTest=function(e,t){if("object"==typeof e)for(var n in e)l(e,n)&&u.addTest(n,e[n]);else{if(e=e.toLowerCase(),u[e]!==o)return u;t="function"==typeof t?t():t,h.className+=" "+(t?"":"no-")+e,u[e]=t}return u},t(""),c=null,function(e,a){function s(){var e=p.elements;return"string"==typeof e?e.split(" "):e}function l(e){var t=f[e[d]];return t||(t={},h++,e[d]=h,f[h]=t),t}function r(e,t,n){return t=t||a,u?t.createElement(e):!(r=(n=n||l(t)).cache[e]?n.cache[e].cloneNode():c.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||o.test(e)||r.tagUrn?r:n.frag.appendChild(r);var r}function t(e){var t=l(e=e||a);return!p.shivCSS||n||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),u||function(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return p.shivMethods?r(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(p,n.frag)}(e,t),e}var n,u,i=e.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,d="_html5shiv",h=0,f={};!function(){try{var e=a.createElement("a");e.innerHTML="",n="hidden"in e,u=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){u=n=!0}}();var p={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==i.shivCSS,supportsUnknownElements:u,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:t,createElement:r,createDocumentFragment:function(e,t){if(e=e||a,u)return e.createDocumentFragment();for(var n=(t=t||l(e)).frag.cloneNode(),r=0,i=s(),o=i.length;r").attr("name",r.submitButton.name).val(u(r.submitButton).val()).appendTo(r.currentForm)),t=r.settings.submitHandler.call(r,r.currentForm,n),r.submitButton&&e.remove(),void 0!==t&&t)}return r.settings.debug&&n.preventDefault(),r.cancelSubmit?(r.cancelSubmit=!1,e()):r.form()?r.pendingRequest?!(r.formSubmitted=!0):e():(r.focusInvalid(),!1)})),r)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,t;return u(this[0]).is("form")?e=this.validate().form():(e=!0,t=u(this[0].form).validate(),this.each(function(){e=t.element(this)&&e})),e},removeAttrs:function(e){var n={},r=this;return u.each(e.split(/\s/),function(e,t){n[t]=r.attr(t),r.removeAttr(t)}),n},rules:function(e,t){var n,r,i,o,a,s,l=this[0];if(e)switch(r=(n=u.data(l.form,"validator").settings).rules,i=u.validator.staticRules(l),e){case"add":u.extend(i,u.validator.normalizeRule(t)),delete i.messages,r[l.name]=i,t.messages&&(n.messages[l.name]=u.extend(n.messages[l.name],t.messages));break;case"remove":return t?(s={},u.each(t.split(/\s/),function(e,t){s[t]=i[t],delete i[t],"required"===t&&u(l).removeAttr("aria-required")}),s):(delete r[l.name],i)}return(o=u.validator.normalizeRules(u.extend({},u.validator.classRules(l),u.validator.attributeRules(l),u.validator.dataRules(l),u.validator.staticRules(l)),l)).required&&(a=o.required,delete o.required,o=u.extend({required:a},o),u(l).attr("aria-required","true")),o.remote&&(a=o.remote,delete o.remote,o=u.extend(o,{remote:a})),o}}),u.extend(u.expr[":"],{blank:function(e){return!u.trim(""+u(e).val())},filled:function(e){return!!u.trim(""+u(e).val())},unchecked:function(e){return!u(e).prop("checked")}}),u.validator=function(e,t){this.settings=u.extend(!0,{},u.validator.defaults,e),this.currentForm=t,this.init()},u.validator.format=function(n,e){return 1===arguments.length?function(){var e=u.makeArray(arguments);return e.unshift(n),u.validator.format.apply(this,e)}:(2Warning: No message defined for "+e.name+"")},formatAndAdd:function(e,t){var n=this.defaultMessage(e,t.method),r=/\$?\{(\d+)\}/g;"function"==typeof n?n=n.call(this,t.parameters,e):r.test(n)&&(n=u.validator.format(n.replace(r,"{$1}"),t.parameters)),this.errorList.push({message:n,element:e,method:t.method}),this.errorMap[e.name]=n,this.submitted[e.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,n;for(e=0;this.errorList[e];e++)n=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return u(this.errorList).map(function(){return this.element})},showLabel:function(e,t){var n,r,i,o=this.errorsFor(e),a=this.idOrName(e),s=u(e).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(t)):(n=o=u("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(t||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement(n,u(e)):n.insertAfter(e),o.is("label")?o.attr("for",a):0===o.parents("label[for='"+a+"']").length&&(i=o.attr("id").replace(/(:|\.|\[|\])/g,"\\$1"),s?s.match(new RegExp("\\b"+i+"\\b"))||(s+=" "+i):s=i,u(e).attr("aria-describedby",s),(r=this.groups[e.name])&&u.each(this.groups,function(e,t){t===r&&u("[name='"+e+"']",this.currentForm).attr("aria-describedby",o.attr("id"))}))),!t&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,e)),this.toShow=this.toShow.add(o)},errorsFor:function(e){var t=this.idOrName(e),n=u(e).attr("aria-describedby"),r="label[for='"+t+"'], label[for='"+t+"'] *";return n&&(r=r+", #"+n.replace(/\s+/g,", #")),this.errors().filter(r)},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),u(e).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return u(this.currentForm).find("[name='"+e+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return u("option:selected",t).length;case"input":if(this.checkable(t))return this.findByName(t.name).filter(":checked").length}return e.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(e,t){return!!u(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!u.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,this.pending[e.name]=!0)},stopRequest:function(e,t){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(u(this.currentForm).submit(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(u(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return u.data(e,"previousValue")||u.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,t){e.constructor===String?this.classRuleSettings[e]=t:u.extend(this.classRuleSettings,e)},classRules:function(e){var t={},n=u(e).attr("class");return n&&u.each(n.split(" "),function(){this in u.validator.classRuleSettings&&u.extend(t,u.validator.classRuleSettings[this])}),t},attributeRules:function(e){var t,n,r={},i=u(e),o=e.getAttribute("type");for(t in u.validator.methods)n="required"===t?(""===(n=e.getAttribute(t))&&(n=!0),!!n):i.attr(t),/min|max/.test(t)&&(null===o||/number|range|text/.test(o))&&(n=Number(n)),n||0===n?r[t]=n:o===t&&"range"!==o&&(r[t]=!0);return r.maxlength&&/-1|2147483647|524288/.test(r.maxlength)&&delete r.maxlength,r},dataRules:function(e){var t,n,r={},i=u(e);for(t in u.validator.methods)void 0!==(n=i.data("rule"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()))&&(r[t]=n);return r},staticRules:function(e){var t={},n=u.data(e.form,"validator");return n.settings.rules&&(t=u.validator.normalizeRule(n.settings.rules[e.name])||{}),t},normalizeRules:function(r,i){return u.each(r,function(e,t){if(!1!==t){if(t.param||t.depends){var n=!0;switch(typeof t.depends){case"string":n=!!u(t.depends,i.form).length;break;case"function":n=t.depends.call(i,i)}n?r[e]=void 0===t.param||t.param:delete r[e]}}else delete r[e]}),u.each(r,function(e,t){r[e]=u.isFunction(t)?t(i):t}),u.each(["minlength","maxlength"],function(){r[this]&&(r[this]=Number(r[this]))}),u.each(["rangelength","range"],function(){var e;r[this]&&(u.isArray(r[this])?r[this]=[Number(r[this][0]),Number(r[this][1])]:"string"==typeof r[this]&&(e=r[this].replace(/[\[\]]/g,"").split(/[\s,]+/),r[this]=[Number(e[0]),Number(e[1])]))}),u.validator.autoCreateRanges&&(null!=r.min&&null!=r.max&&(r.range=[r.min,r.max],delete r.min,delete r.max),null!=r.minlength&&null!=r.maxlength&&(r.rangelength=[r.minlength,r.maxlength],delete r.minlength,delete r.maxlength)),r},normalizeRule:function(e){if("string"==typeof e){var t={};u.each(e.split(/\s/),function(){t[this]=!0}),e=t}return e},addMethod:function(e,t,n){u.validator.methods[e]=t,u.validator.messages[e]=void 0!==n?n:u.validator.messages[e],t.length<3&&u.validator.addClassRules(e,u.validator.normalizeRule(e))},methods:{required:function(e,t,n){if(!this.depend(n,t))return"dependency-mismatch";if("select"!==t.nodeName.toLowerCase())return this.checkable(t)?0=n[0]&&r<=n[1]},min:function(e,t,n){return this.optional(t)||n<=e},max:function(e,t,n){return this.optional(t)||e<=n},range:function(e,t,n){return this.optional(t)||e>=n[0]&&e<=n[1]},equalTo:function(e,t,n){var r=u(n);return this.settings.onfocusout&&r.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){u(t).valid()}),e===r.val()},remote:function(o,a,e){if(this.optional(a))return"dependency-mismatch";var s,t,l=this.previousValue(a);return this.settings.messages[a.name]||(this.settings.messages[a.name]={}),l.originalMessage=this.settings.messages[a.name].remote,this.settings.messages[a.name].remote=l.message,e="string"==typeof e&&{url:e}||e,l.old===o?l.valid:(l.old=o,(s=this).startRequest(a),(t={})[a.name]=o,u.ajax(u.extend(!0,{url:e,mode:"abort",port:"validate"+a.name,dataType:"json",data:t,context:s.currentForm,success:function(e){var t,n,r,i=!0===e||"true"===e;s.settings.messages[a.name].remote=l.originalMessage,i?(r=s.formSubmitted,s.prepareElement(a),s.formSubmitted=r,s.successList.push(a),delete s.invalid[a.name],s.showErrors()):(t={},n=e||s.defaultMessage(a,"remote"),t[a.name]=l.message=u.isFunction(n)?n(o):n,s.invalid[a.name]=!0,s.showErrors(t)),l.valid=i,s.stopRequest(a,i)}},e)),"pending")}}}),u.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var r,i={};u.ajaxPrefilter?u.ajaxPrefilter(function(e,t,n){var r=e.port;"abort"===e.mode&&(i[r]&&i[r].abort(),i[r]=n)}):(r=u.ajax,u.ajax=function(e){var t=("mode"in e?e:u.ajaxSettings).mode,n=("port"in e?e:u.ajaxSettings).port;return"abort"===t?(i[n]&&i[n].abort(),i[n]=r.apply(this,arguments),i[n]):r.apply(this,arguments)}),u.extend(u.fn,{validateDelegate:function(n,e,r){return this.bind(e,function(e){var t=u(e.target);if(t.is(n))return r.apply(t,arguments)})}})}),function(s,r,i,l){var u=s(r);s.fn.lazyload=function(e){function t(){var t=0;o.each(function(){var e=s(this);if(!a.skip_invisible||e.is(":visible"))if(s.abovethetop(this,a)||s.leftofbegin(this,a));else if(s.belowthefold(this,a)||s.rightoffold(this,a)){if(++t>a.failure_limit)return!1}else e.trigger("appear"),t=0})}var n,o=this,a={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:r,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return e&&(l!==e.failurelimit&&(e.failure_limit=e.failurelimit,delete e.failurelimit),l!==e.effectspeed&&(e.effect_speed=e.effectspeed,delete e.effectspeed),s.extend(a,e)),n=a.container===l||a.container===r?u:s(a.container),0===a.event.indexOf("scroll")&&n.bind(a.event,function(){return t()}),this.each(function(){var r=this,i=s(r);r.loaded=!1,i.attr("src")!==l&&!1!==i.attr("src")||!i.is("img")||i.attr("src",a.placeholder),i.one("appear",function(){if(!this.loaded){if(a.appear){var e=o.length;a.appear.call(r,e,a)}s("").bind("load",function(){var e=i.attr("data-"+a.data_attribute);i.hide(),i.is("img")?i.attr("src",e):i.css("background-image","url('"+e+"')"),i[a.effect](a.effect_speed),r.loaded=!0;var t=s.grep(o,function(e){return!e.loaded});if(o=s(t),a.load){var n=o.length;a.load.call(r,n,a)}}).attr("src",i.attr("data-"+a.data_attribute))}}),0!==a.event.indexOf("scroll")&&i.bind(a.event,function(){r.loaded||i.trigger("appear")})}),u.bind("resize",function(){t()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&u.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&o.each(function(){s(this).trigger("appear")})}),s(i).ready(function(){t()}),this},s.belowthefold=function(e,t){return(t.container===l||t.container===r?(r.innerHeight?r.innerHeight:u.height())+u.scrollTop():s(t.container).offset().top+s(t.container).height())<=s(e).offset().top-t.threshold},s.rightoffold=function(e,t){return(t.container===l||t.container===r?u.width()+u.scrollLeft():s(t.container).offset().left+s(t.container).width())<=s(e).offset().left-t.threshold},s.abovethetop=function(e,t){return(t.container===l||t.container===r?u.scrollTop():s(t.container).offset().top)>=s(e).offset().top+t.threshold+s(e).height()},s.leftofbegin=function(e,t){return(t.container===l||t.container===r?u.scrollLeft():s(t.container).offset().left)>=s(e).offset().left+t.threshold+s(e).width()},s.inviewport=function(e,t){return!(s.rightoffold(e,t)||s.leftofbegin(e,t)||s.belowthefold(e,t)||s.abovethetop(e,t))},s.extend(s.expr[":"],{"below-the-fold":function(e){return s.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!s.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return s.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!s.rightoffold(e,{threshold:0})},"in-viewport":function(e){return s.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!s.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return s.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!s.rightoffold(e,{threshold:0})}})}(jQuery,window,document),function(w,_,S){"use strict";function E(e){return t.hasOwnProperty(e)?e:"cover"}var u=/^.*(youtu\.be\/|youtube\.com\/v\/|youtube\.com\/embed\/|youtube\.com\/watch\?v=|youtube\.com\/watch\?.*\&v=)([^#\&\?]*).*/i;w.fn.backstretch=function(o,a){var s,l=arguments;return 0===w(_).scrollTop()&&_.scrollTo(0,0),this.each(function(e){var t=w(this),n=t.data("backstretch");if(n){if("string"==typeof l[0]&&"function"==typeof n[l[0]]){var r=n[l[0]].apply(n,Array.prototype.slice.call(l,1));return r===n&&(r=S),void(r!==S&&((s=s||[])[e]=r))}a=w.extend(n.options,a),"object"==typeof n&&"destroy"in n&&n.destroy(!0)}if(!o||o&&0===o.length){var i=t.css("background-image");i&&"none"!==i?o=[{url:t.css("backgroundImage").replace(/url\(|\)|"|'/g,"")}]:w.error("No images were supplied for Backstretch, or element must have a CSS-defined background image.")}n=new h(this,o,a||{}),t.data("backstretch",n)}),s?1===s.length?s[0]:s:this},w.backstretch=function(e,t){return w("body").backstretch(e,t).data("backstretch")},w.expr[":"].backstretch=function(e){return w(e).data("backstretch")!==S},w.fn.backstretch.defaults={duration:5e3,transition:"fade",transitionDuration:0,animateFirst:!0,alignX:.5,alignY:.5,paused:!1,start:0,preload:2,preloadSize:1,resolutionRefreshRate:2500,resolutionChangeRatioThreshold:.1};function v(e){return u.test(e.url)||e.isVideo}var n,c,s={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},itemWrapper:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"100%",height:"100%",zIndex:-999999},item:{position:"absolute",margin:0,padding:0,border:"none",width:"100%",height:"100%",maxWidth:"none"}},T=(c=function(e,t){if("string"==typeof e)e=e.replace(/{{(width|height)}}/g,t);else if(e instanceof Array)for(var n=0;n=t.length&&(r=n=0),i<0&&(i=r),i=Math.min(i,r);var a=t.slice(n+i,r-i);if(t=t.slice(n,i),!(r=t.length))return void p(t,o,!0);for(var s,l=0,u=function(){++l===r&&(p(t,o,!a),e(a,0,0,i,o))},c=0;c=this.images.length&&(this.options.start=this.images.length-1),this.options.start<0&&(this.options.start=0),this.isBody=e===document.body;var r=w(_);this.$container=w(e),this.$root=this.isBody?O?r:w(document):this.$container,this.originalImages=this.images,this.images=T(this.options.alwaysTestWindowResolution?r:this.$root,this.originalImages),D(this.images,this.options.start||0,this.options.preload||1);var i=this.$container.children(".backstretch").first();if(this.$wrap=i.length?i:w('
').css(this.options.bypassCss?{}:s.wrap).appendTo(this.$container),!this.options.bypassCss){if(!this.isBody){var o=this.$container.css("position"),a=this.$container.css("zIndex");this.$container.css({position:"static"===o?"relative":o,zIndex:"auto"===a?0:a}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&O?"fixed":"absolute"})}this.index=this.options.start,this.show(this.index),r.on("resize.backstretch",w.proxy(this.resize,this)).on("orientationchange.backstretch",w.proxy(function(){this.isBody&&0===_.pageYOffset&&(_.scrollTo(0,1),this.resize())},this))};function f(e){for(var t=0;tparseInt(n.width,10);)e[r]=e[r-1],--r;e[r]=n}return e}function m(e,t,n){for(var r,i,o=_.devicePixelRatio||1,a=A(),s=(M(),e=r)));u++);return n[Math.min(u,l)]}h.prototype={resize:function(){try{var e=this.options.alwaysTestWindowResolution?w(_):this.$root,t=e.width(),n=e.height(),r=t/(this._lastResizeContainerWidth||0),i=n/(this._lastResizeContainerHeight||0),o=this.options.resolutionChangeRatioThreshold||0;if((t!==this._lastResizeContainerWidth||n!==this._lastResizeContainerHeight)&&(Math.abs(r-1)>=o||isNaN(r)||Math.abs(i-1)>=o||isNaN(i))&&(this._lastResizeContainerWidth=t,this._lastResizeContainerHeight=n,this.images=T(e,this.originalImages),this.options.preload&&D(this.images,(this.index+1)%this.images.length,this.options.preload),1===this.images.length&&this._currentImage.url!==this.images[0].url)){var a=this;clearTimeout(a._selectAnotherResolutionTimeout),a._selectAnotherResolutionTimeout=setTimeout(function(){a.show(0)},this.options.resolutionRefreshRate)}var s,l,u={left:0,top:0,right:"auto",bottom:"auto"},c=this.isBody?this.$root.width():this.$root.innerWidth(),d=this.isBody?_.innerHeight?_.innerHeight:this.$root.height():this.$root.innerHeight(),h=this.$itemWrapper.data("width"),f=this.$itemWrapper.data("height"),p=h/f||1,g=this._currentImage.alignX===S?this.options.alignX:this._currentImage.alignX,m=this._currentImage.alignY===S?this.options.alignY:this._currentImage.alignY,v=E(this._currentImage.scale||this.options.scale);if("fit"===v||"fit-smaller"===v){if(l=f,c<(s=h)||d.backstretch-item").not(".deleteable").each(function(){w(this).find("img,video,iframe").css(u)});var b=w.Event("backstretch.resize",{relatedTarget:this.$container[0]});this.$container.trigger(b,this)}catch(e){}return this},show:function(c,d){if(!(Math.abs(c)>this.images.length-1)){var h=this,f=h.$wrap.find(">.backstretch-item").addClass("deleteable"),p=h.videoWrapper,g={relatedTarget:h.$container[0]};h.$container.trigger(w.Event("backstretch.before",g),[h,c]),this.index=c;var e=h.images[c];clearTimeout(h._cycleTimeout),delete h.videoWrapper;var m=v(e);return m?(h.videoWrapper=new y(e),h.$item=h.videoWrapper.$video.css("pointer-events","none")):h.$item=w(""),h.$itemWrapper=w('
').append(h.$item),this.options.bypassCss?h.$itemWrapper.css({display:"none"}):(h.$itemWrapper.css(s.itemWrapper),h.$item.css(s.item)),h.$item.bind(m?"canplay":"load",function(e){var t=w(this).parent(),n=t.data("options");d&&(n=w.extend({},n,d));var r=this.naturalWidth||this.videoWidth||this.width,i=this.naturalHeight||this.videoHeight||this.height;t.data("width",r).data("height",i);function o(e){return n[e]!==S?n[e]:h.options[e]}function a(){p&&(p.stop(),p.destroy()),f.remove(),!h.paused&&1").attr({src_to_load:o}).css({border:0,margin:0,padding:0}).data("player",r),e.loop&&n.on("ended.loop",function(){r.__manuallyStopped||r.play()}),r.ytReady=!1,t(),_.YT&&_.YT.loaded?(r._initYoutube(),n.trigger("initsuccess")):w(_).one("youtube_api_load",function(){r._initYoutube(),n.trigger("initsuccess")})}else{n=w("