var jwplayer,$jw,_userPlayerReady;(function(n,t){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function ir(n,t){t=t||u;var i=t.createElement("script");i.text=n;t.head.appendChild(i).parentNode.removeChild(i)}function fi(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return r==="function"||i.isWindow(n)?!1:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function l(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function oi(n,t,r){return i.isFunction(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):typeof t!="string"?i.grep(n,function(n){return ot.call(t,n)>-1!==r}):er.test(t)?i.filter(t,n,r):(t=i.filter(t,n),i.grep(n,function(n){return ot.call(t,n)>-1!==r&&n.nodeType===1}))}function ar(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ne(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function nt(n){return n}function pt(n){throw n;}function vr(n,t,r,u){var f;try{n&&i.isFunction(f=n.promise)?f.call(n).done(t).fail(r):n&&i.isFunction(f=n.then)?f.call(n,t,r):t.apply(undefined,[n].slice(u))}catch(n){r.apply(undefined,[n])}}function bt(){u.removeEventListener("DOMContentLoaded",bt);n.removeEventListener("load",bt);i.ready()}function ht(){this.expando=i.expando+ht.uid++}function re(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:te.test(n)?JSON.parse(n):n}function pr(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(ie,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=re(i)}catch(u){}e.set(n,t,i)}else i=undefined;return i}function kr(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||o!=="px"&&+s)&&ct.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f=f/e,i.style(n,t,f+o);while(e!==(e=c()/s)&&e!==1&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h)),h}function ue(n){var r,f=n.ownerDocument,u=n.nodeName,t=si[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),si[u]=t,t)}function tt(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&kt(u)&&(f[i]=ue(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function o(n,t){var r;return(r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[],t===undefined||t&&l(n,t))?i.merge([n],r):r}function hi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function iu(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||e===0)if(i.type(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(tu.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(gr.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&hi(s),r)for(v=0;e=s[v++];)nu.test(e.type||"")&&r.push(e)}return h}function gt(){return!0}function it(){return!1}function uu(){try{return u.activeElement}catch(n){}}function ci(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)ci(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=it;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function fu(n,t){return l(n,"table")&&l(t.nodeType!==11?t:t.firstChild,"tr")?i(">tbody",n)[0]||n:n}function ae(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function ve(n){var t=ce.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function eu(n,t){var f,c,o,s,h,l,a,u;if(t.nodeType===1){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),u=s.events,u)){delete h.handle;h.events={};for(o in u)for(f=0,c=u[o].length;f<c;f++)i.event.add(t,o,u[o][f])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function ye(n,t){var i=t.nodeName.toLowerCase();i==="input"&&dr.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function rt(n,t,u,e){t=gi.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,k=v-1,y=t[0],b=i.isFunction(y);if(b||v>1&&typeof y=="string"&&!f.checkClone&&he.test(y))return n.each(function(i){var r=n.eq(i);b&&(t[0]=y.call(this,i,r.html()));rt(r,t,u,e)});if(v&&(l=iu(t,n[0].ownerDocument,!1,n,e),p=l.firstChild,l.childNodes.length===1&&(l=p),p||e)){for(c=i.map(o(l,"script"),ae),a=c.length;h<v;h++)s=l,h!==k&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,ve),h=0;h<a;h++)s=c[h],nu.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):ir(s.textContent.replace(le,""),w))}return n}function ou(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&hi(o(u,"script")),u.parentNode.removeChild(u));return n}function lt(n,t,r){var o,s,h,u,e=n.style;return r=r||ni(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),!f.pixelMarginRight()&&li.test(u)&&su.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h)),u!==undefined?u+"":u}function hu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function be(n){if(n in vu)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=au.length;t--;)if(n=au[t]+i,n in vu)return n}function yu(n){var t=i.cssProps[n];return t||(t=i.cssProps[n]=be(n)||n),t}function pu(n,t,i){var r=ct.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function wu(n,t,r,u,f){for(var o=0,e=r===(u?"border":"content")?4:t==="width"?1:0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+b[e],!0,f)),u?(r==="content"&&(o-=i.css(n,"padding"+b[e],!0,f)),r!=="margin"&&(o-=i.css(n,"border"+b[e]+"Width",!0,f))):(o+=i.css(n,"padding"+b[e],!0,f),r!=="padding"&&(o+=i.css(n,"border"+b[e]+"Width",!0,f)));return o}function bu(n,t,r){var o,e=ni(n),u=lt(n,t,e),s=i.css(n,"boxSizing",!1,e)==="border-box";return li.test(u)?u:(o=s&&(f.boxSizingReliable()||u===n.style[t]),u==="auto"&&(u=n["offset"+t[0].toUpperCase()+t.slice(1)]),u=parseFloat(u)||0,u+wu(n,t,r||(s?"border":"content"),o,e)+"px")}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function ai(){ti&&(u.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(ai):n.setTimeout(ai,i.fx.interval),i.fx.tick())}function gu(){return n.setTimeout(function(){ut=undefined}),ut=i.now()}function ii(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=b[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function nf(n,t,i){for(var u,f=(a.tweeners[t]||[]).concat(a.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function ke(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&kt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],ku.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==undefined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(tt([n],!0),o=n.style.display||o,l=i.css(n,"display"),tt([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&tt([n],!0),v.done(function(){a||tt([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=nf(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function de(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function a(n,t,r){var e,o,s=0,l=a.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=ut||gu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return(f.notifyWith(n,[u,i,t]),i<1&&e)?t:(e||f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:ut||gu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(de(h,u.opts.specialEasing);s<l;s++)if(e=a.prefilters[s].call(u,n,h,u.opts),e)return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,nf,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u}function k(n){var t=n.match(h)||[];return t.join(" ")}function d(n){return n.getAttribute&&n.getAttribute("class")||""}function pi(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||ge.test(n)?u(n,i):pi(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)pi(n+"["+f+"]",t[f],r,u)}function cf(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])u[0]==="+"?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function lf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===wi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ki(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function so(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function ho(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}var p=[],u=n.document,pf=Object.getPrototypeOf,w=p.slice,gi=p.concat,ui=p.push,ot=p.indexOf,vt={},nr=vt.toString,yt=vt.hasOwnProperty,tr=yt.toString,wf=tr.call(Object),f={},rr="3.2.1",i=function(n,t){return new i.fn.init(n,t)},bf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,kf=/^-ms-/,df=/-([a-z])/g,gf=function(n,t){return t.toUpperCase()},y,ei,er,or,sr,hr,cr,lr,h,yr,wt,v,st,si,tu,ut,ti,ku,du,tf,ft,rf,uf,ff,vi,af,et,di,ri,vf,yf;i.fn=i.prototype={jquery:rr,constructor:i,length:0,toArray:function(){return w.call(this)},get:function(n){return n==null?w.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(w.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ui,sort:p.sort,splice:p.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[u]||{},u++),typeof n=="object"||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if((e=arguments[u])!=null)for(f in e)(r=n[f],t=e[f],n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(o?(o=!1,s=r&&Array.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(rr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return i.type(n)==="function"},isWindow:function(n){return n!=null&&n===n.window},isNumeric:function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},isPlainObject:function(n){var t,i;return!n||nr.call(n)!=="[object Object]"?!1:(t=pf(n),!t)?!0:(i=yt.call(t,"constructor")&&t.constructor,typeof i=="function"&&tr.call(i)===wf)},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?vt[nr.call(n)]||"object":typeof n},globalEval:function(n){ir(n)},camelCase:function(n){return n.replace(kf,"ms-").replace(df,gf)},each:function(n,t){var r,i=0;if(fi(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return n==null?"":(n+"").replace(bf,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(fi(Object(n))?i.merge(r,typeof n=="string"?[n]:n):ui.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:ot.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(fi(n))for(e=n.length;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return gi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return(typeof t=="string"&&(u=n[t],t=n,n=u),!i.isFunction(n))?undefined:(f=w.call(arguments,2),r=function(){return n.apply(t||this,f.concat(w.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},now:Date.now,support:f});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=p[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){vt["[object "+t+"]"]=t.toLowerCase()});y=function(n){function u(n,t,r,u){var s,w,l,a,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||v!==1&&v!==9&&v!==11)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(v!==11&&(d=cr.exec(n)))if(s=d[1]){if(v===9)if(l=t.getElementById(s)){if(l.id===s)return r.push(l),r}else return r;else if(p&&(l=p.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=d[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(e.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(v!==1)p=t,g=n;else if(t.nodeName.toLowerCase()!=="object"){for((a=t.getAttribute("id"))?a=a.replace(vi,yi):t.setAttribute("id",a=f),y=ft(n),w=y.length;w--;)y[w]="#"+a+" "+yt(y[w]);g=y.join(",");p=ni.test(n)&&ri(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(nt){}finally{a===f&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ti(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[f]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function vr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function bi(n){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&lr(t)===n:t.disabled===n:"label"in t?t.disabled===n:!1}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function ki(){}function yt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function pt(n,t,i){var r=t.dir,u=t.next,e=u||r,o=i&&e==="parentNode",s=di++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[f]||(t[f]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[e])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[e]=y,y[2]=n(t,i,h))return!0}return!1}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function yr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function wt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function fi(n,t,i,r,u,e){return r&&!r[f]&&(r=fi(r)),u&&!u[f]&&(u=fi(u,e)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||yr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?wt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=wt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=wt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=pt(function(n){return n===o},c,!0),a=pt(function(n){return nt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])e=[pt(ui(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(e),i>1&&yt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&yt(n))}e.push(u)}return ui(e)}function pr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=nr.call(l));w=wt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,e,t,st,oi,ft,bt,si,ht,w,ut,b,i,s,h,o,d,ct,et,f="sizzle"+1*new Date,c=n.document,v=0,di=0,hi=ti(),ci=ti(),lt=ti(),kt=function(n,t){return n===t&&(ut=!0),0},gi={}.hasOwnProperty,g=[],nr=g.pop,tr=g.push,k=g.push,li=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},dt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ai="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",gt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ai+")*)|.*)\\)|)",ir=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),rr=new RegExp("^"+r+"*,"+r+"*"),ur=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),fr=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),er=new RegExp(gt),or=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+ai),PSEUDO:new RegExp("^"+gt),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("^(?:"+dt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ni=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},vi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,yi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},pi=function(){b()},lr=pt(function(n){return n.disabled===!0&&("form"in n||"label"in n)},{dir:"parentNode",next:"legend"});try{k.apply(g=li.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(wr){k={apply:g.length?function(n,t){tr.apply(n,li.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}e=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l===i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,h=!oi(i),c!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),e.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=ot.test(i.getElementsByClassName),e.getById=a(function(n){return s.appendChild(n).id=f,!i.getElementsByName||!i.getElementsByName(f).length}),e.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i,u,f,r=t.getElementById(n);if(r){if(i=r.getAttributeNode("id"),i&&i.value===n)return[r];for(f=t.getElementsByName(n),u=0;r=f[u++];)if(i=r.getAttributeNode("id"),i&&i.value===n)return[r]}return[]}}),t.find.TAG=e.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):e.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&h)return t.getElementsByClassName(n)},d=[],o=[],(e.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+dt+")");n.querySelectorAll("[id~="+f+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+f+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(e.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){e.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",gt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},kt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!e.sortDetached&&t.compareDocumentPosition(n)===r)?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:r&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return wi(n,t)}else return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0},i)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(fr,"='$1']"),e.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||e.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(f){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var f=t.attrHandle[r.toLowerCase()],u=f&&gi.call(t.attrHandle,r.toLowerCase())?f(n,r,!h):undefined;return u!==undefined?u:e.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(vi,yi)};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!e.detectDuplicates,w=!e.sortStable&&n.slice(0),n.sort(kt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&er.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(ir," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",e=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=e&&t.nodeName.toLowerCase(),g=!h&&!e,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(e?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((e?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[f]?r(i):r.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,e)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=bt(n.replace(at,"$1"));return i[f]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return or.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:bi(!1),disabled:bi(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=ar(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=vr(rt);return ki.prototype=t.filters=t.pseudos,t.setFilters=new ki,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=rr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=ur.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},bt=u.compile=function(n,t){var r,u=[],e=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[f]?u.push(i):e.push(i);i=lt(n,pr(e,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var o,f,e,l,a,c=typeof n=="function"&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],s.length===1){if(f=s[0]=s[0].slice(0),f.length>2&&(e=f[0]).type==="ID"&&i.nodeType===9&&h&&t.relative[f[1].type]){if(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ni.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),n=u.length&&yt(f),!n)return k.apply(r,u),r;break}}}return(c||bt(n,s))(u,i,!h,r,!i||ni.test(n)&&ri(i.parentNode)||i),r},e.sortStable=f.split("").sort(kt).join("")===f,e.detectDuplicates=!!ut,b(),e.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),a(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),e.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(dt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=y;i.expr=y.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=y.uniqueSort;i.text=y.getText;i.isXMLDoc=y.isXML;i.contains=y.contains;i.escapeSelector=y.escape;var g=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},ur=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},fr=i.expr.match.needsContext;ei=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;er=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(oi(this,n||[],!1))},not:function(n){return this.pushStack(oi(this,n||[],!0))},is:function(n){return!!oi(this,typeof n=="string"&&fr.test(n)?i(n):n||[],!1).length}});sr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;hr=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||or,typeof n=="string"){if(f=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:sr.exec(n),f&&(f[1]||!t)){if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),ei.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&(this[0]=e,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):i.isFunction(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};hr.prototype=i.fn;or=i(u);cr=/^(?:parents|prev(?:Until|All))/;lr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e=typeof n!="string"&&i(n);if(!fr.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?ot.call(i(n),this[0]):ot.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return g(n,"parentNode")},parentsUntil:function(n,t,i){return g(n,"parentNode",i)},next:function(n){return ar(n,"nextSibling")},prev:function(n){return ar(n,"previousSibling")},nextAll:function(n){return g(n,"nextSibling")},prevAll:function(n){return g(n,"previousSibling")},nextUntil:function(n,t,i){return g(n,"nextSibling",i)},prevUntil:function(n,t,i){return g(n,"previousSibling",i)},siblings:function(n){return ur((n.parentNode||{}).firstChild,n)},children:function(n){return ur(n.firstChild)},contents:function(n){return l(n,"iframe")?n.contentDocument:(l(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(lr[n]||i.uniqueSort(f),cr.test(n)&&f.reverse()),this.pushStack(f)}});h=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){n=typeof n=="string"?ne(n):i.extend({},n);var e,r,h,u,t=[],o=[],f=-1,c=function(){for(u=u||n.once,h=e=!0;o.length;f=-1)for(r=o.shift();++f<t.length;)t[f].apply(r[0],r[1])===!1&&n.stopOnFalse&&(f=t.length,r=!1);n.memory||(r=!1);e=!1;u&&(t=r?[]:"")},s={add:function(){return t&&(r&&!e&&(f=t.length-1,o.push(r)),function u(r){i.each(r,function(r,f){i.isFunction(f)?n.unique&&s.has(f)||t.push(f):f&&f.length&&i.type(f)!=="string"&&u(f)})}(arguments),r&&!e&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=f&&f--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return u=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return u=o=[],r||e||(t=r=""),this},locked:function(){return!!u},fireWith:function(n,t){return u||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),e||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(t){var u=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],e="pending",f={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return f.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(u,function(u,f){var e=i.isFunction(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,f){function o(t,r,u,f){return function(){var s=this,h=arguments,l=function(){var n,c;if(!(t<e)){if(n=u.apply(s,h),n===r.promise())throw new TypeError("Thenable self-resolution");c=n&&(typeof n=="object"||typeof n=="function")&&n.then;i.isFunction(c)?f?c.call(n,o(e,r,nt,f),o(e,r,pt,f)):(e++,c.call(n,o(e,r,nt,f),o(e,r,pt,f),o(e,r,nt,r.notifyWith))):(u!==nt&&(s=undefined,h=[n]),(f||r.resolveWith)(s,h))}},c=f?l:function(){try{l()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,c.stackTrace);t+1>=e&&(u!==pt&&(s=undefined,h=[n]),r.rejectWith(s,h))}};t?c():(i.Deferred.getStackHook&&(c.stackTrace=i.Deferred.getStackHook()),n.setTimeout(c))}}var e=0;return i.Deferred(function(n){u[0][3].add(o(0,n,i.isFunction(f)?f:nt,n.notifyWith));u[1][3].add(o(0,n,i.isFunction(t)?t:nt));u[2][3].add(o(0,n,i.isFunction(r)?r:pt))}).promise()},promise:function(n){return n!=null?i.extend(n,f):f}},r={};return i.each(u,function(n,t){var i=t[2],o=t[5];f[t[1]]=i.add;o&&i.add(function(){e=o},u[3-n][2].disable,u[0][2].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),f.promise(r),t&&t.call(r,r),r},when:function(n){var f=arguments.length,t=f,e=Array(t),u=w.call(arguments),r=i.Deferred(),o=function(n){return function(t){e[n]=this;u[n]=arguments.length>1?w.call(arguments):t;--f||r.resolveWith(e,u)}};if(f<=1&&(vr(n,r.done(o(t)).resolve,r.reject,!f),r.state()==="pending"||i.isFunction(u[t]&&u[t].then)))return r.then();while(t--)vr(u[t],o(t),r.reject);return r.promise()}});yr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&yr.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};wt=i.Deferred();i.fn.ready=function(n){return wt.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||wt.resolveWith(u,[i])}});i.ready.then=wt.then;u.readyState!=="complete"&&(u.readyState==="loading"||u.documentElement.doScroll)?(u.addEventListener("DOMContentLoaded",bt),n.addEventListener("load",bt)):n.setTimeout(i.ready);v=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=r==null;if(i.type(r)==="object"){f=!0;for(s in r)v(n,t,s,r[s],!0,e,o)}else if(u!==undefined&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};st=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};ht.uid=1;ht.prototype={cache:function(n){var t=n[this.expando];return t||(t={},st(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,r){var u,f=this.cache(n);if(typeof t=="string")f[i.camelCase(t)]=r;else for(u in t)f[i.camelCase(u)]=t[u];return f},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][i.camelCase(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(Array.isArray(t)?t=t.map(i.camelCase):(t=i.camelCase(t),t=t in r?[t]:t.match(h)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new ht,e=new ht,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(n===undefined){if(this.length&&(s=e.get(u),u.nodeType===1&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,f.indexOf("data-")===0&&(f=i.camelCase(f.slice(5)),pr(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return typeof n=="object"?this.each(function(){e.set(this,n)}):v(this,function(t){var i;if(u&&t===undefined)return(i=e.get(u,n),i!==undefined)?i:(i=pr(u,n),i!==undefined)?i:void 0;this.each(function(){e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var wr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ct=new RegExp("^(?:([+-])=|)("+wr+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],kt=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&i.contains(n.ownerDocument,n)&&i.css(n,"display")==="none"},br=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};si={};i.fn.extend({show:function(){return tt(this,!0)},hide:function(){return tt(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){kt(this)?i(this).show():i(this).hide()})}});var dr=/^(?:checkbox|radio)$/i,gr=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,nu=/^$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;tu=/<|&#?\w+;/,function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var dt=u.documentElement,fe=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ru=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),e&&i.find.matchesSelector(dt,e),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(h)||[""],b=t.length;b--;)(w=ru.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;){if(c=ru.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!c||c.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var t=i.event.fix(n),u,c,s,e,f,l,h=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,e,u,o,s,c=[],h=t.delegateCount,r=n.target;if(h&&r.nodeType&&!(n.type==="click"&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&!(n.type==="click"&&r.disabled===!0)){for(o=[],s={},f=0;f<h;f++)e=t[f],u=e.selector+" ",s[u]===undefined&&(s[u]=e.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),s[u]&&o.push(e);o.length&&c.push({elem:r,handlers:o})}return r=this,h<t.length&&c.push({elem:r,handlers:t.slice(h)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:i.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==uu()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===uu()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&l(this,"input"))return this.click(),!1},_default:function(n){return l(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?gt:it,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=gt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=gt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=gt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&fe.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&ee.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return ci(this,n,t,i,r)},one:function(n,t,i,r){return ci(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=it),this.each(function(){i.event.remove(this,n,r,t)})}});var oe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,se=/<script|<style|<link/i,he=/checked\s*(?:[^=]|=\s*.checked.)/i,ce=/^true\/(.*)/,le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(oe,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!f.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(e=o(h),s=o(n),u=0,c=s.length;u<c;u++)ye(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;u<c;u++)eu(s[u],e[u]);else eu(n,h);return e=o(h,"script"),e.length>0&&hi(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;(t=n[o])!==undefined;o++)if(st(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=undefined}t[e.expando]&&(t[e.expando]=undefined)}}});i.fn.extend({detach:function(n){return ou(this,n,!0)},remove:function(n){return ou(this,n)},text:function(n){return v(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return rt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=fu(this,n);t.appendChild(n)}})},prepend:function(){return rt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=fu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return rt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return rt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return v(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!se.test(n)&&!c[(gr.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return rt(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ui.apply(f,u.get());return this.pushStack(f)}});var su=/^margin/,li=new RegExp("^("+wr+")(?!px)[a-z%]+$","i"),ni=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)};(function(){function r(){if(t){t.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";dt.appendChild(e);var i=n.getComputedStyle(t);o=i.top!=="1%";c=i.marginLeft==="2px";s=i.width==="4px";t.style.marginRight="50%";h=i.marginRight==="4px";dt.removeChild(e);t=null}}var o,s,h,c,e=u.createElement("div"),t=u.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle=t.style.backgroundClip==="content-box",e.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",e.appendChild(t),i.extend(f,{pixelPosition:function(){return r(),o},boxSizingReliable:function(){return r(),s},pixelMarginRight:function(){return r(),h},reliableMarginLeft:function(){return r(),c}}))})();var pe=/^(none|table(?!-c[ea]).+)/,cu=/^--/,we={position:"absolute",visibility:"hidden",display:"block"},lu={letterSpacing:"0",fontWeight:"400"},au=["Webkit","Moz","ms"],vu=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=lt(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var e,s,o,c=i.camelCase(t),l=cu.test(t),h=n.style;if(l||(t=yu(c)),o=i.cssHooks[t]||i.cssHooks[c],r!==undefined){if(s=typeof r,s==="string"&&(e=ct.exec(r))&&e[1]&&(r=kr(n,t,e),s="number"),r==null||r!==r)return;s==="number"&&(r+=e&&e[3]||(i.cssNumber[c]?"":"px"));f.clearCloneStyle||r!==""||t.indexOf("background")!==0||(h[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(l?h.setProperty(t,r):h[t]=r)}else return o&&"get"in o&&(e=o.get(n,!1,u))!==undefined?e:h[t]}},css:function(n,t,r,u){var f,o,e,s=i.camelCase(t),h=cu.test(t);return(h||(t=yu(s)),e=i.cssHooks[t]||i.cssHooks[s],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=lt(n,t,u)),f==="normal"&&t in lu&&(f=lu[t]),r===""||r)?(o=parseFloat(f),r===!0||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return pe.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?br(n,we,function(){return bu(n,t,u)}):bu(n,t,u)},set:function(n,r,u){var f,e=u&&ni(n),o=u&&wu(n,t,u,i.css(n,"boxSizing",!1,e)==="border-box",e);return o&&(f=ct.exec(r))&&(f[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),pu(n,r,o)}}});i.cssHooks.marginLeft=hu(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(lt(n,"marginLeft"))||n.getBoundingClientRect().left-br(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};su.test(n)||(i.cssHooks[n+t].set=pu)});i.fn.extend({css:function(n,t){return v(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=ni(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=s.prototype.init;i.fx.step={};ku=/^(?:toggle|show|hide)$/;du=/queueHooks$/;i.Animation=i.extend(a,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return kr(i.elem,n,ct.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;u<f;u++)r=n[u],a.tweeners[r]=a.tweeners[r]||[],a.tweeners[r].unshift(t)},prefilters:[ke],prefilter:function(n,t){t?a.prefilters.unshift(n):a.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return i.fx.off?u.duration=0:typeof u.duration!="number"&&(u.duration=u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default),(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(kt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=a(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&du.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(ii(t,!0),n,i,u)}});i.each({slideDown:ii("show"),slideUp:ii("hide"),slideToggle:ii("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(ut=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();ut=undefined};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){ti||(ti=!0,ai())};i.fx.stop=function(){ti=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=n.value!=="";f.optSelected=i.selected;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue=n.value==="t"}();ft=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return v(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?tf:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&t==="radio"&&l(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(h);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});tf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=ft[t]||i.find.attr;ft[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=ft[u],ft[u]=f,f=r(n,t,i)!=null?u:null,ft[u]=e),f}});rf=/^(?:input|select|textarea|button)$/i;uf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return v(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):rf.test(n.nodeName)||uf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,d(this)))});if(typeof n=="string"&&n)for(o=n.match(h)||[];r=this[c++];)if(u=d(r),t=r.nodeType===1&&" "+k(u)+" ",t){for(s=0;f=o[s++];)t.indexOf(" "+f+" ")<0&&(t+=f+" ");e=k(t);u!==e&&r.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,d(this)))});if(!arguments.length)return this.attr("class","");if(typeof n=="string"&&n)for(o=n.match(h)||[];r=this[c++];)if(u=d(r),t=r.nodeType===1&&" "+k(u)+" ",t){for(s=0;f=o[s++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=k(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return typeof t=="boolean"&&u==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,d(this),t),t)}):this.each(function(){var t,e,f,o;if(u==="string")for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else(n===undefined||u==="boolean")&&(t=d(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+k(d(t))+" ").indexOf(i)>-1)return!0;return!1}});ff=/\r/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;this.nodeType===1&&(u=f?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(u,"value"))!==undefined)?r:(r=u.value,typeof r=="string")?r.replace(ff,""):r==null?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:k(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f=n.type==="select-one",s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(t=o[r],(t.selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});vi=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=yt.call(t,"type")?t.type:t,y=yt.call(t,"namespace")?t.namespace.split("."):[];if((s=c=e=e||u,e.nodeType!==3&&e.nodeType!==8)&&!vi.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=e),f=f==null?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,vi.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&st(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||(!l._default||l._default.apply(p.pop(),f)===!1)&&st(e)&&a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=undefined,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var at=n.location,ef=i.now(),yi=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var ge=/\[\]$/,of=/\r?\n/g,no=/^(?:submit|button|image|reset|file)$/i,to=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){var r=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(r==null?"":r)};if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)pi(r,n[r],t,f);return u.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&to.test(this.nodeName)&&!no.test(n)&&(this.checked||!dr.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(of,"\r\n")}}):{name:t.name,value:r.replace(of,"\r\n")}}).get()}});var io=/%20/g,ro=/#.*$/,uo=/([?&])_=[^&]*/,fo=/^(.*?):[ \t]*([^\r\n]*)$/mg,eo=/^(?:GET|HEAD)$/,oo=/^\/\//,sf={},wi={},hf="*/".concat("*"),bi=u.createElement("a");return bi.href=at.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:at.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(at.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":hf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ki(ki(n,i.ajaxSettings),t):ki(i.ajaxSettings,n)},ajaxPrefilter:cf(sf),ajaxTransport:cf(wi),ajax:function(t,r){function b(t,r,u,h){var y,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),l=undefined,k=h||"",e.readyState=t>0?4:0,y=t>=200&&t<300||t===304,u&&(p=so(f,e,u)),p=ho(f,p,e,y),y?(f.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||f.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,y=!g)):(g=a,(t||!a)&&(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",y?tt.resolveWith(c,[rt,a,e]):tt.rejectWith(c,[e,a,g]),e.statusCode(w),w=undefined,v&&nt.trigger(y?"ajaxSuccess":"ajaxError",[e,f,y?rt:g]),it.fireWith(c,[e,a]),v&&(nt.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var l,o,k,y,d,a,s,v,g,p,f=i.ajaxSetup({},r),c=f.context||f,nt=f.context&&(c.nodeType||c.jquery)?i(c):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=f.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!y)for(y={};t=fo.exec(k);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return l&&l.abort(t),b(0,t),this}};if(tt.promise(e),f.url=((t||f.url||at.href)+"").replace(oo,at.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(h)||[""],f.crossDomain==null){a=u.createElement("a");try{a.href=f.url;a.href=a.href;f.crossDomain=bi.protocol+"//"+bi.host!=a.protocol+"//"+a.host}catch(et){f.crossDomain=!0}}if(f.data&&f.processData&&typeof f.data!="string"&&(f.data=i.param(f.data,f.traditional)),lf(sf,f,r,e),s)return e;v=i.event&&f.global;v&&i.active++==0&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!eo.test(f.type);o=f.url.replace(ro,"");f.hasContent?f.data&&f.processData&&(f.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(f.data=f.data.replace(io,"+")):(p=f.url.slice(o.length),f.data&&(o+=(yi.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(o=o.replace(uo,"$1"),p=(yi.test(o)?"&":"?")+"_="+ef+++p),f.url=o+p);f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&f.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", "+hf+"; q=0.01":""):f.accepts["*"]);for(g in f.headers)e.setRequestHeader(g,f.headers[g]);if(f.beforeSend&&(f.beforeSend.call(c,e,f)===!1||s))return e.abort();if(ft="abort",it.add(f.complete),e.done(f.success),e.fail(f.error),l=lf(wi,f,r,e),l){if(e.readyState=1,v&&nt.trigger("ajaxSend",[e,f]),s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=!1;l.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(i.isFunction(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},af={0:200,1223:204},et=i.ajaxSettings.xhr(),f.cors=!!et&&"withCredentials"in et,f.ajax=et=!!et,i.ajaxTransport(function(t){var i,r;if(f.cors||et&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(af[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),di=[],ri=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=di.pop()||i.expando+"_"+ef++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ri.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ri.test(t.data)&&"data");if(s||t.dataTypes[0]==="jsonp")return f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ri,"$1"+f):t.jsonp!==!1&&(t.url+=(yi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){e===undefined?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,di.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=undefined}),"script"}),f.createHTMLDocument=function(){var n=u.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,e,o;return(t||(f.createHTMLDocument?(t=u.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=u.location.href,t.head.appendChild(s)):t=u),e=ei.exec(n),o=!r&&[],e)?[t.createElement(e[1])]:(e=iu([n],t,o),o&&o.length&&i(o).remove(),i.merge([],e.childNodes))},i.fn.load=function(n,t,r){var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=k(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=undefined):t&&typeof t=="object"&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};l==="static"&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=(l==="absolute"||l==="fixed")&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));t.top!=null&&(f.top=t.top-u.top+h);t.left!=null&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,f,e,t=this[0];if(t)return t.getClientRects().length?(f=t.getBoundingClientRect(),r=t.ownerDocument,u=r.documentElement,e=r.defaultView,{top:f.top+e.pageYOffset-u.clientTop,left:f.left+e.pageXOffset-u.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var t,r,u=this[0],n={top:0,left:0};return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(t=this.offsetParent(),r=this.offset(),l(t[0],"html")||(n=t.offset()),n={top:n.top+i.css(t[0],"borderTopWidth",!0),left:n.left+i.css(t[0],"borderLeftWidth",!0)}),{top:r.top-n.top-i.css(u,"marginTop",!0),left:r.left-n.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||dt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(u){return v(this,function(n,u,f){var e;if(i.isWindow(n)?e=n:n.nodeType===9&&(e=n.defaultView),f===undefined)return e?e[t]:n[u];e?e.scrollTo(r?e.pageXOffset:f,r?f:e.pageYOffset):n[u]=f},n,u,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=hu(f.pixelPosition,function(n,r){if(r)return r=lt(n,t),li.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return v(this,function(t,r,f){var e;return i.isWindow(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}}),i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=l,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),vf=n.jQuery,yf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=yf),t&&n.jQuery===i&&(n.jQuery=vf),i},t||(n.jQuery=n.$=i),i}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define=="function"&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function o(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function f(n,t,i){return t&&o(n.prototype,t),i&&o(n,i),n}function s(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function u(n){for(var i,r,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},r=Object.keys(i),typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){s(n,t,i[t])});return n}function h(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}t=t&&t.hasOwnProperty("default")?t["default"]:t;i=i&&i.hasOwnProperty("default")?i["default"]:i;var r=function(n){function f(n){return{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function e(){return{bindType:i,delegateType:i,handle:function(t){return n(t.target).is(this)?t.handleObj.handler.apply(this,arguments):undefined}}}function o(i){var u=this,r=!1;n(this).one(t.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}function s(){n.fn.emulateTransitionEnd=o;n.event.special[t.TRANSITION_END]=e()}var i="transitionend",r=1e6,u=1e3,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*r);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target");t&&t!=="#"||(t=n.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(i){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=n(t).css("transition-duration"),r=parseFloat(i);return r?(i=i.split(",")[0],parseFloat(i)*u):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var o=r[u],e=i[u],s=e&&t.isElement(e)?"element":f(e);if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+s+'" ')+('but expected type "'+o+'".'));}}};return s(),t}(t),c=function(n){var i="alert",h="4.1.3",u="bs.alert",e="."+u,c=n.fn[i],o={CLOSE:"close"+e,CLOSED:"closed"+e,CLICK_DATA_API:"click"+e+".data-api"},s={ALERT:"alert",FADE:"fade",SHOW:"show"},t=function(){function t(n){this._element=n}var i=t.prototype;return i.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},i.dispose=function(){n.removeData(this._element,u);this._element=null},i._getRootElement=function(t){var u=r.getSelectorFromElement(t),i=!1;return u&&(i=document.querySelector(u)),i||(i=n(t).closest("."+s.ALERT)[0]),i},i._triggerCloseEvent=function(t){var i=n.Event(o.CLOSE);return n(t).trigger(i),i},i._removeElement=function(t){var u=this,i;if(n(t).removeClass(s.SHOW),!n(t).hasClass(s.FADE)){this._destroyElement(t);return}i=r.getTransitionDurationFromElement(t);n(t).one(r.TRANSITION_END,function(n){return u._destroyElement(t,n)}).emulateTransitionEnd(i)},i._destroyElement=function(t){n(t).detach().trigger(o.CLOSED).remove()},t._jQueryInterface=function(i){return this.each(function(){var f=n(this),r=f.data(u);r||(r=new t(this),f.data(u,r));i==="close"&&r[i](this)})},t._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},f(t,null,[{key:"VERSION",get:function(){return h}}]),t}();n(document).on(o.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,t._handleDismiss(new t));return n.fn[i]=t._jQueryInterface,n.fn[i].Constructor=t,n.fn[i].noConflict=function(){return n.fn[i]=c,t._jQueryInterface},t}(t),l=function(n){var r="button",c="4.1.3",e="bs.button",o="."+e,s=".data-api",l=n.fn[r],t={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},i={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},h={CLICK_DATA_API:"click"+o+s,FOCUS_BLUR_DATA_API:"focus"+o+s+" "+("blur"+o+s)},u=function(){function r(n){this._element=n}var u=r.prototype;return u.toggle=function(){var f=!0,o=!0,u=n(this._element).closest(i.DATA_TOGGLE)[0],r,e;if(u&&(r=this._element.querySelector(i.INPUT),r)){if(r.type==="radio"&&(r.checked&&this._element.classList.contains(t.ACTIVE)?f=!1:(e=u.querySelector(i.ACTIVE),e&&n(e).removeClass(t.ACTIVE))),f){if(r.hasAttribute("disabled")||u.hasAttribute("disabled")||r.classList.contains("disabled")||u.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(t.ACTIVE);n(r).trigger("change")}r.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(t.ACTIVE));f&&n(this._element).toggleClass(t.ACTIVE)},u.dispose=function(){n.removeData(this._element,e);this._element=null},r._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(e);i||(i=new r(this),n(this).data(e,i));t==="toggle"&&i[t]()})},f(r,null,[{key:"VERSION",get:function(){return c}}]),r}();n(document).on(h.CLICK_DATA_API,i.DATA_TOGGLE_CARROT,function(r){r.preventDefault();var f=r.target;n(f).hasClass(t.BUTTON)||(f=n(f).closest(i.BUTTON));u._jQueryInterface.call(n(f),"toggle")}).on(h.FOCUS_BLUR_DATA_API,i.DATA_TOGGLE_CARROT,function(r){var u=n(r.target).closest(i.BUTTON)[0];n(u).toggleClass(t.FOCUS,/^focus(in)?$/.test(r.type))});return n.fn[r]=u._jQueryInterface,n.fn[r].Constructor=u,n.fn[r].noConflict=function(){return n.fn[r]=l,u._jQueryInterface},u}(t),a=function(n){var h="carousel",y="4.1.3",l="bs.carousel",e="."+l,v=".data-api",p=n.fn[h],w=37,b=39,k=500,a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},d={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},i={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},o={SLIDE:"slide"+e,SLID:"slid"+e,KEYDOWN:"keydown"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e,TOUCHEND:"touchend"+e,LOAD_DATA_API:"load"+e+v,CLICK_DATA_API:"click"+e+v},t={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},s={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},c=function(){function v(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=this._element.querySelector(s.INDICATORS);this._addEventListeners()}var c=v.prototype;return c.next=function(){this._isSliding||this._slide(i.NEXT)},c.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&n(this._element).css("visibility")!=="hidden"&&this.next()},c.prev=function(){this._isSliding||this._slide(i.PREV)},c.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(s.NEXT_PREV)&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},c.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},c.to=function(t){var f=this,r,u;if(this._activeElement=this._element.querySelector(s.ACTIVE_ITEM),r=this._getItemIndex(this._activeElement),!(t>this._items.length-1)&&!(t<0)){if(this._isSliding){n(this._element).one(o.SLID,function(){return f.to(t)});return}if(r===t){this.pause();this.cycle();return}u=t>r?i.NEXT:i.PREV;this._slide(u,this._items[t])}},c.dispose=function(){n(this._element).off(e);n.removeData(this._element,l);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},c._getConfig=function(n){return n=u({},a,n),r.typeCheckConfig(h,n,d),n},c._addEventListeners=function(){var t=this;if(this._config.keyboard)n(this._element).on(o.KEYDOWN,function(n){return t._keydown(n)});if(this._config.pause==="hover"){n(this._element).on(o.MOUSEENTER,function(n){return t.pause(n)}).on(o.MOUSELEAVE,function(n){return t.cycle(n)});if("ontouchstart"in document.documentElement)n(this._element).on(o.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},k+t._config.interval)})}},c._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case w:n.preventDefault();this.prev();break;case b:n.preventDefault();this.next()}},c._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(s.ITEM)):[],this._items.indexOf(n)},c._getItemByDirection=function(n,t){var e=n===i.NEXT,o=n===i.PREV,r=this._getItemIndex(t),s=this._items.length-1,h=o&&r===0||e&&r===s,f,u;return h&&!this._config.wrap?t:(f=n===i.PREV?-1:1,u=(r+f)%this._items.length,u===-1?this._items[this._items.length-1]:this._items[u])},c._triggerSlideEvent=function(t,i){var u=this._getItemIndex(t),f=this._getItemIndex(this._element.querySelector(s.ACTIVE_ITEM)),r=n.Event(o.SLIDE,{relatedTarget:t,direction:i,from:f,to:u});return n(this._element).trigger(r),r},c._setActiveIndicatorElement=function(i){var u,r;this._indicatorsElement&&(u=[].slice.call(this._indicatorsElement.querySelectorAll(s.ACTIVE)),n(u).removeClass(t.ACTIVE),r=this._indicatorsElement.children[this._getItemIndex(i)],r&&n(r).addClass(t.ACTIVE))},c._slide=function(u,f){var y=this,h=this._element.querySelector(s.ACTIVE_ITEM),k=this._getItemIndex(h),e=f||h&&this._getItemByDirection(u,h),d=this._getItemIndex(e),p=Boolean(this._interval),c,l,a,w,v,b;if(u===i.NEXT?(c=t.LEFT,l=t.NEXT,a=i.LEFT):(c=t.RIGHT,l=t.PREV,a=i.RIGHT),e&&n(e).hasClass(t.ACTIVE)){this._isSliding=!1;return}(w=this._triggerSlideEvent(e,a),w.isDefaultPrevented())||h&&e&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(e),v=n.Event(o.SLID,{relatedTarget:e,direction:a,from:k,to:d}),n(this._element).hasClass(t.SLIDE)?(n(e).addClass(l),r.reflow(e),n(h).addClass(c),n(e).addClass(c),b=r.getTransitionDurationFromElement(h),n(h).one(r.TRANSITION_END,function(){n(e).removeClass(c+" "+l).addClass(t.ACTIVE);n(h).removeClass(t.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(b)):(n(h).removeClass(t.ACTIVE),n(e).addClass(t.ACTIVE),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},v._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r=u({},a,n(this).data()),f;if(typeof t=="object"&&(r=u({},r,t)),f=typeof t=="string"?t:r.slide,i||(i=new v(this,r),n(this).data(l,i)),typeof t=="number")i.to(t);else if(typeof f=="string"){if(typeof i[f]=="undefined")throw new TypeError('No method named "'+f+'"');i[f]()}else r.interval&&(i.pause(),i.cycle())})},v._dataApiClickHandler=function(i){var s=r.getSelectorFromElement(this),f,o,e;s&&(f=n(s)[0],f&&n(f).hasClass(t.CAROUSEL))&&(o=u({},n(f).data(),n(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),v._jQueryInterface.call(n(f),o),e&&n(f).data(l).to(e),i.preventDefault())},f(v,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return a}}]),v}();n(document).on(o.CLICK_DATA_API,s.DATA_SLIDE,c._dataApiClickHandler);n(window).on(o.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(s.DATA_RIDE)),t=0,u=r.length;t<u;t++)i=n(r[t]),c._jQueryInterface.call(i,i.data())});return n.fn[h]=c._jQueryInterface,n.fn[h].Constructor=c,n.fn[h].noConflict=function(){return n.fn[h]=p,c._jQueryInterface},c}(t),v=function(n){var e="collapse",v="4.1.3",i="bs.collapse",o="."+i,y=n.fn[e],c={toggle:!0,parent:""},p={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},t={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},l={WIDTH:"width",HEIGHT:"height"},a={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,i){var f,u,o;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(i),this._triggerArray=n.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]'))),f=[].slice.call(document.querySelectorAll(a.DATA_TOGGLE)),u=0,o=f.length;u<o;u++){var s=f[u],e=r.getSelectorFromElement(s),h=[].slice.call(document.querySelectorAll(e)).filter(function(n){return n===t});e!==null&&h.length>0&&(this._selector=e,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var o=h.prototype;return o.toggle=function(){n(this._element).hasClass(t.SHOW)?this.hide():this.show()},o.show=function(){var e=this,u,o,c,f;if(!this._isTransitioning&&!n(this._element).hasClass(t.SHOW)&&(this._parent&&(u=[].slice.call(this._parent.querySelectorAll(a.ACTIVES)).filter(function(n){return n.getAttribute("data-parent")===e._config.parent}),u.length===0&&(u=null)),!u||(o=n(u).not(this._selector).data(i),!o||!o._isTransitioning))&&(c=n.Event(s.SHOW),n(this._element).trigger(c),!c.isDefaultPrevented())){u&&(h._jQueryInterface.call(n(u).not(this._selector),"hide"),o||n(u).data(i,null));f=this._getDimension();n(this._element).removeClass(t.COLLAPSE).addClass(t.COLLAPSING);this._element.style[f]=0;this._triggerArray.length&&n(this._triggerArray).removeClass(t.COLLAPSED).attr("aria-expanded",!0);this.setTransitioning(!0);var l=function(){n(e._element).removeClass(t.COLLAPSING).addClass(t.COLLAPSE).addClass(t.SHOW);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},v=f[0].toUpperCase()+f.slice(1),y="scroll"+v,p=r.getTransitionDurationFromElement(this._element);n(this._element).one(r.TRANSITION_END,l).emulateTransitionEnd(p);this._element.style[f]=this._element[y]+"px"}},o.hide=function(){var c=this,f,i,e,u,o,h,l,a,v;if(!this._isTransitioning&&n(this._element).hasClass(t.SHOW)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(i=this._getDimension(),this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",r.reflow(this._element),n(this._element).addClass(t.COLLAPSING).removeClass(t.COLLAPSE).removeClass(t.SHOW),e=this._triggerArray.length,e>0)for(u=0;u<e;u++)o=this._triggerArray[u],h=r.getSelectorFromElement(o),h!==null&&(l=n([].slice.call(document.querySelectorAll(h))),l.hasClass(t.SHOW)||n(o).addClass(t.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);a=function(){c.setTransitioning(!1);n(c._element).removeClass(t.COLLAPSING).addClass(t.COLLAPSE).trigger(s.HIDDEN)};this._element.style[i]="";v=r.getTransitionDurationFromElement(this._element);n(this._element).one(r.TRANSITION_END,a).emulateTransitionEnd(v)}},o.setTransitioning=function(n){this._isTransitioning=n},o.dispose=function(){n.removeData(this._element,i);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},o._getConfig=function(n){return n=u({},c,n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(e,n,p),n},o._getDimension=function(){var t=n(this._element).hasClass(l.WIDTH);return t?l.WIDTH:l.HEIGHT},o._getParent=function(){var f=this,t=null,i,u;return r.isElement(this._config.parent)?(t=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent),i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',u=[].slice.call(t.querySelectorAll(i)),n(u).each(function(n,t){f._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},o._addAriaAndCollapsedClass=function(i,r){if(i){var u=n(i).hasClass(t.SHOW);r.length&&n(r).toggleClass(t.COLLAPSED,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},h._jQueryInterface=function(t){return this.each(function(){var f=n(this),r=f.data(i),e=u({},c,f.data(),typeof t=="object"&&t?t:{});if(!r&&e.toggle&&/show|hide/.test(t)&&(e.toggle=!1),r||(r=new h(this,e),f.data(i,r)),typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError('No method named "'+t+'"');r[t]()}})},f(h,null,[{key:"VERSION",get:function(){return v}},{key:"Default",get:function(){return c}}]),h}();n(document).on(s.CLICK_DATA_API,a.DATA_TOGGLE,function(t){t.currentTarget.tagName==="A"&&t.preventDefault();var u=n(this),f=r.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(f));n(e).each(function(){var t=n(this),r=t.data(i),f=r?"toggle":u.data();h._jQueryInterface.call(t,f)})});return n.fn[e]=h._jQueryInterface,n.fn[e].Constructor=h,n.fn[e].noConflict=function(){return n.fn[e]=y,h._jQueryInterface},h}(t),y=function(n){var c="dropdown",d="4.1.3",a="bs.dropdown",s="."+a,y=".data-api",g=n.fn[c],v=27,p=32,k=9,w=38,b=40,nt=3,tt=new RegExp(w+"|"+b+"|"+v),e={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK:"click"+s,CLICK_DATA_API:"click"+s+y,KEYDOWN_DATA_API:"keydown"+s+y,KEYUP_DATA_API:"keyup"+s+y},t={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},o={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},it={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},rt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},h=function(){function h(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var y=h.prototype;return y.toggle=function(){var u,l,s,c,f;if(!this._element.disabled&&!n(this._element).hasClass(t.DISABLED)&&(u=h._getParentFromElement(this._element),l=n(this._menu).hasClass(t.SHOW),h._clearMenus(),!l)&&(s={relatedTarget:this._element},c=n.Event(e.SHOW,s),n(u).trigger(c),!c.isDefaultPrevented())){if(!this._inNavbar){if(typeof i=="undefined")throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");f=this._element;this._config.reference==="parent"?f=u:r.isElement(this._config.reference)&&(f=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(f=this._config.reference[0]));this._config.boundary!=="scrollParent"&&n(u).addClass(t.POSITION_STATIC);this._popper=new i(f,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&n(u).closest(o.NAVBAR_NAV).length===0)n(document.body).children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(t.SHOW);n(u).toggleClass(t.SHOW).trigger(n.Event(e.SHOWN,s))}},y.dispose=function(){n.removeData(this._element,a);n(this._element).off(s);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},y.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},y._addEventListeners=function(){var t=this;n(this._element).on(e.CLICK,function(n){n.preventDefault();n.stopPropagation();t.toggle()})},y._getConfig=function(t){return t=u({},this.constructor.Default,n(this._element).data(),t),r.typeCheckConfig(c,t,this.constructor.DefaultType),t},y._getMenuElement=function(){if(!this._menu){var n=h._getParentFromElement(this._element);n&&(this._menu=n.querySelector(o.MENU))}return this._menu},y._getPlacement=function(){var r=n(this._element.parentNode),i=l.BOTTOM;return r.hasClass(t.DROPUP)?(i=l.TOP,n(this._menu).hasClass(t.MENURIGHT)&&(i=l.TOPEND)):r.hasClass(t.DROPRIGHT)?i=l.RIGHT:r.hasClass(t.DROPLEFT)?i=l.LEFT:n(this._menu).hasClass(t.MENURIGHT)&&(i=l.BOTTOMEND),i},y._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},y._getPopperConfig=function(){var i=this,n={},t;return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=u({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},this._config.display==="static"&&(t.modifiers.applyStyle={enabled:!1}),t},h._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(a),r=typeof t=="object"?t:null;if(i||(i=new h(this,r),n(this).data(a,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},h._clearMenus=function(i){var u,r,l,y,c;if(!i||i.which!==nt&&(i.type!=="keyup"||i.which===k))for(u=[].slice.call(document.querySelectorAll(o.DATA_TOGGLE)),r=0,l=u.length;r<l;r++){var f=h._getParentFromElement(u[r]),v=n(u[r]).data(a),s={relatedTarget:u[r]};(i&&i.type==="click"&&(s.clickEvent=i),v)&&(y=v._menu,n(f).hasClass(t.SHOW))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===k)&&n.contains(f,i.target)||(c=n.Event(e.HIDE,s),n(f).trigger(c),c.isDefaultPrevented())||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),u[r].setAttribute("aria-expanded","false"),n(y).removeClass(t.SHOW),n(f).removeClass(t.SHOW).trigger(n.Event(e.HIDDEN,s))))}},h._getParentFromElement=function(n){var t,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},h._dataApiKeydownHandler=function(i){var f,e,s,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==p&&(i.which===v||(i.which===b||i.which===w)&&!n(i.target).closest(o.MENU).length):tt.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!n(this).hasClass(t.DISABLED))){if(f=h._getParentFromElement(this),e=n(f).hasClass(t.SHOW),!e&&(i.which!==v||i.which!==p)||e&&(i.which===v||i.which===p)){i.which===v&&(s=f.querySelector(o.DATA_TOGGLE),n(s).trigger("focus"));n(this).trigger("click");return}(u=[].slice.call(f.querySelectorAll(o.VISIBLE_ITEMS)),u.length!==0)&&(r=u.indexOf(i.target),i.which===w&&r>0&&r--,i.which===b&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},f(h,null,[{key:"VERSION",get:function(){return d}},{key:"Default",get:function(){return it}},{key:"DefaultType",get:function(){return rt}}]),h}();n(document).on(e.KEYDOWN_DATA_API,o.DATA_TOGGLE,h._dataApiKeydownHandler).on(e.KEYDOWN_DATA_API,o.MENU,h._dataApiKeydownHandler).on(e.CLICK_DATA_API+" "+e.KEYUP_DATA_API,h._clearMenus).on(e.CLICK_DATA_API,o.DATA_TOGGLE,function(t){t.preventDefault();t.stopPropagation();h._jQueryInterface.call(n(this),"toggle")}).on(e.CLICK_DATA_API,o.FORM_CHILD,function(n){n.stopPropagation()});return n.fn[c]=h._jQueryInterface,n.fn[c].Constructor=h,n.fn[c].noConflict=function(){return n.fn[c]=g,h._jQueryInterface},h}(t,i),p=function(n){var s="modal",a="4.1.3",h="bs.modal",e="."+h,v=n.fn[s],y=27,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,FOCUSIN:"focusin"+e,RESIZE:"resize"+e,CLICK_DISMISS:"click.dismiss"+e,KEYDOWN_DISMISS:"keydown.dismiss"+e,MOUSEUP_DISMISS:"mouseup.dismiss"+e,MOUSEDOWN_DISMISS:"mousedown.dismiss"+e,CLICK_DATA_API:"click"+e+".data-api"},i={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},o={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},c=function(){function v(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(o.DIALOG);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._scrollbarWidth=0}var c=v.prototype;return c.toggle=function(n){return this._isShown?this.hide():this.show(n)},c.show=function(r){var u=this,f;if(!this._isTransitioning&&!this._isShown&&(n(this._element).hasClass(i.FADE)&&(this._isTransitioning=!0),f=n.Event(t.SHOW,{relatedTarget:r}),n(this._element).trigger(f),!this._isShown&&!f.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();n(document.body).addClass(i.OPEN);this._setEscapeEvent();this._setResizeEvent();n(this._element).on(t.CLICK_DISMISS,o.DATA_DISMISS,function(n){return u.hide(n)});n(this._dialog).on(t.MOUSEDOWN_DISMISS,function(){n(u._element).one(t.MOUSEUP_DISMISS,function(t){n(t.target).is(u._element)&&(u._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return u._showElement(r)})}},c.hide=function(u){var s=this,f,e,o;(u&&u.preventDefault(),!this._isTransitioning&&this._isShown)&&(f=n.Event(t.HIDE),n(this._element).trigger(f),this._isShown&&!f.isDefaultPrevented())&&(this._isShown=!1,e=n(this._element).hasClass(i.FADE),e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(t.FOCUSIN),n(this._element).removeClass(i.SHOW),n(this._element).off(t.CLICK_DISMISS),n(this._dialog).off(t.MOUSEDOWN_DISMISS),e?(o=r.getTransitionDurationFromElement(this._element),n(this._element).one(r.TRANSITION_END,function(n){return s._hideModal(n)}).emulateTransitionEnd(o)):this._hideModal())},c.dispose=function(){n.removeData(this._element,h);n(window,document,this._element,this._backdrop).off(e);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},c.handleUpdate=function(){this._adjustDialog()},c._getConfig=function(n){return n=u({},l,n),r.typeCheckConfig(s,n,p),n},c._showElement=function(u){var f=this,o=n(this._element).hasClass(i.FADE),s,e,h;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;o&&r.reflow(this._element);n(this._element).addClass(i.SHOW);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:u});e=function(){f._config.focus&&f._element.focus();f._isTransitioning=!1;n(f._element).trigger(s)};o?(h=r.getTransitionDurationFromElement(this._element),n(this._dialog).one(r.TRANSITION_END,e).emulateTransitionEnd(h)):e()},c._enforceFocus=function(){var i=this;n(document).off(t.FOCUSIN).on(t.FOCUSIN,function(t){document!==t.target&&i._element!==t.target&&n(i._element).has(t.target).length===0&&i._element.focus()})},c._setEscapeEvent=function(){var i=this;if(this._isShown&&this._config.keyboard)n(this._element).on(t.KEYDOWN_DISMISS,function(n){n.which===y&&(n.preventDefault(),i.hide())});else this._isShown||n(this._element).off(t.KEYDOWN_DISMISS)},c._setResizeEvent=function(){var i=this;if(this._isShown)n(window).on(t.RESIZE,function(n){return i.handleUpdate(n)});else n(window).off(t.RESIZE)},c._hideModal=function(){var r=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){n(document.body).removeClass(i.OPEN);r._resetAdjustments();r._resetScrollbar();n(r._element).trigger(t.HIDDEN)})},c._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},c._showBackdrop=function(u){var f=this,e=n(this._element).hasClass(i.FADE)?i.FADE:"",s,o,h;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=i.BACKDROP;e&&this._backdrop.classList.add(e);n(this._backdrop).appendTo(document.body);n(this._element).on(t.CLICK_DISMISS,function(n){if(f._ignoreBackdropClick){f._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(f._config.backdrop==="static"?f._element.focus():f.hide())});if(e&&r.reflow(this._backdrop),n(this._backdrop).addClass(i.SHOW),!u)return;if(!e){u();return}s=r.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(r.TRANSITION_END,u).emulateTransitionEnd(s)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(i.SHOW),o=function(){f._removeBackdrop();u&&u()},n(this._element).hasClass(i.FADE)?(h=r.getTransitionDurationFromElement(this._backdrop),n(this._backdrop).one(r.TRANSITION_END,o).emulateTransitionEnd(h)):o()):u&&u()},c._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},c._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},c._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},c._setScrollbar=function(){var t=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(o.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(o.STICKY_CONTENT)),n(i).each(function(i,r){var u=r.style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t._scrollbarWidth+"px")}),n(r).each(function(i,r){var u=r.style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)-t._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=n(document.body).css("padding-right"),n(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"))},c._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(o.FIXED_CONTENT)),i,t;n(r).each(function(t,i){var r=n(i).data("padding-right");n(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+o.STICKY_CONTENT));n(i).each(function(t,i){var r=n(i).data("margin-right");typeof r!="undefined"&&n(i).css("margin-right",r).removeData("margin-right")});t=n(document.body).data("padding-right");n(document.body).removeData("padding-right");document.body.style.paddingRight=t?t:""},c._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=i.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},v._jQueryInterface=function(t,i){return this.each(function(){var r=n(this).data(h),f=u({},l,n(this).data(),typeof t=="object"&&t?t:{});if(r||(r=new v(this,f),n(this).data(h,r)),typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError('No method named "'+t+'"');r[t](i)}else f.show&&r.show(i)})},f(v,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return l}}]),v}();n(document).on(t.CLICK_DATA_API,o.DATA_TOGGLE,function(i){var e=this,f,o=r.getSelectorFromElement(this),s,l;o&&(f=document.querySelector(o));s=n(f).data(h)?"toggle":u({},n(f).data(),n(this).data());(this.tagName==="A"||this.tagName==="AREA")&&i.preventDefault();l=n(f).one(t.SHOW,function(i){if(!i.isDefaultPrevented())l.one(t.HIDDEN,function(){n(e).is(":visible")&&e.focus()})});c._jQueryInterface.call(n(f),s,this)});return n.fn[s]=c._jQueryInterface,n.fn[s].Constructor=c,n.fn[s].noConflict=function(){return n.fn[s]=v,c._jQueryInterface},c}(t),e=function(n){var h="tooltip",y="4.1.3",c="bs.tooltip",t="."+c,p=n.fn[h],a="bs-tooltip",w=new RegExp("(^|\\s)"+a+"\\S+","g"),b={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)"},k={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},s={SHOW:"show",OUT:"out"},g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},e={FADE:"fade",SHOW:"show"},v={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},o={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},l=function(){function p(n,t){if(typeof i=="undefined")throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var l=p.prototype;return l.enable=function(){this._isEnabled=!0},l.disable=function(){this._isEnabled=!1},l.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(e.SHOW)){this._leave(null,this);return}this._enter(null,this)}},l.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper!==null&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},l.show=function(){var t=this,f,l,u,o,a,h,y,c,p;if(n(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;if(u=this.getTipElement(),o=r.getUID(this.constructor.NAME),u.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&n(u).addClass(e.FADE),a=typeof this.config.placement=="function"?this.config.placement.call(this,u,this.element):this.config.placement,h=this._getAttachment(a),this.addAttachmentClass(h),y=this.config.container===!1?document.body:n(document).find(this.config.container),n(u).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(u).appendTo(y),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,u,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}}),n(u).addClass(e.SHOW),"ontouchstart"in document.documentElement)n(document.body).children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===s.OUT&&t._leave(null,t)};n(this.tip).hasClass(e.FADE)?(p=r.getTransitionDurationFromElement(this.tip),n(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(p)):c()}},l.hide=function(t){var i=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),h=function(){i._hoverState!==s.SHOW&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");n(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();t&&t()},c;(n(this.element).trigger(f),f.isDefaultPrevented())||(n(u).removeClass(e.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[o.CLICK]=!1,this._activeTrigger[o.FOCUS]=!1,this._activeTrigger[o.HOVER]=!1,n(this.tip).hasClass(e.FADE)?(c=r.getTransitionDurationFromElement(u),n(u).one(r.TRANSITION_END,h).emulateTransitionEnd(c)):h(),this._hoverState="")},l.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},l.isWithContent=function(){return Boolean(this.getTitle())},l.addAttachmentClass=function(t){n(this.getTipElement()).addClass(a+"-"+t)},l.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},l.setContent=function(){var t=this.getTipElement();this.setElementContent(n(t.querySelectorAll(v.TOOLTIP_INNER)),this.getTitle());n(t).removeClass(e.FADE+" "+e.SHOW)},l.setElementContent=function(t,i){var r=this.config.html;typeof i=="object"&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},l.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},l._getAttachment=function(n){return k[n.toUpperCase()]},l._setListeners=function(){var t=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==o.MANUAL){var r=i===o.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===o.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},l._enter=function(t,i){var r=this.constructor.DATA_KEY;if(i=i||n(t.currentTarget).data(r),i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i)),t&&(i._activeTrigger[t.type==="focusin"?o.FOCUS:o.HOVER]=!0),n(i.getTipElement()).hasClass(e.SHOW)||i._hoverState===s.SHOW){i._hoverState=s.SHOW;return}if(clearTimeout(i._timeout),i._hoverState=s.SHOW,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===s.SHOW&&i.show()},i.config.delay.show)},l._leave=function(t,i){var r=this.constructor.DATA_KEY;if(i=i||n(t.currentTarget).data(r),i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i)),t&&(i._activeTrigger[t.type==="focusout"?o.FOCUS:o.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=s.OUT,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===s.OUT&&i.hide()},i.config.delay.hide)}},l._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},l._getConfig=function(t){return t=u({},this.constructor.Default,n(this.element).data(),typeof t=="object"&&t?t:{}),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),r.typeCheckConfig(h,t,this.constructor.DefaultType),t},l._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},l._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);t!==null&&t.length&&i.removeClass(t.join(""))},l._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},l._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;t.getAttribute("x-placement")===null&&(n(t).removeClass(e.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=typeof t=="object"&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(c,i)),typeof t=="string")){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(p,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return c}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[h]=l._jQueryInterface,n.fn[h].Constructor=l,n.fn[h].noConflict=function(){return n.fn[h]=p,l._jQueryInterface},l}(t,i),w=function(n){var i="popover",a="4.1.3",r="bs.popover",t="."+r,v=n.fn[i],s="bs-popover",y=new RegExp("(^|\\s)"+s+"\\S+","g"),p=u({},e.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),w=u({},e.DefaultType,{content:"(string|element|function)"}),c={FADE:"fade",SHOW:"show"},l={TITLE:".popover-header",CONTENT:".popover-body"},b={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},o=function(u){function e(){return u.apply(this,arguments)||this}h(e,u);var o=e.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){n(this.getTipElement()).addClass(s+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},o.setContent=function(){var i=n(this.getTipElement()),t;this.setElementContent(i.find(l.TITLE),this.getTitle());t=this._getContent();typeof t=="function"&&(t=t.call(this.element));this.setElementContent(i.find(l.CONTENT),t);i.removeClass(c.FADE+" "+c.SHOW)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(y);t!==null&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(r),u=typeof t=="object"?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,u),n(this).data(r,i)),typeof t=="string")){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(e,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return p}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return b}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return w}}]),e}(e);return n.fn[i]=o._jQueryInterface,n.fn[i].Constructor=o,n.fn[i].noConflict=function(){return n.fn[i]=v,o._jQueryInterface},o}(t),b=function(n){var i="scrollspy",v="4.1.3",s="bs.scrollspy",h="."+s,y=n.fn[i],a={offset:10,method:"auto",target:""},p={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+".data-api"},e={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},t={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},l={OFFSET:"offset",POSITION:"position"},o=function(){function y(i,r){var u=this;this._element=i;this._scrollElement=i.tagName==="BODY"?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+t.NAV_LINKS+","+(this._config.target+" "+t.LIST_ITEMS+",")+(this._config.target+" "+t.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n(this._scrollElement).on(c.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var o=y.prototype;return o.refresh=function(){var t=this,f=this._scrollElement===this._scrollElement.window?l.OFFSET:l.POSITION,i=this._config.method==="auto"?f:this._config.method,e=i===l.POSITION?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(t){var u,f=r.getSelectorFromElement(t),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[n(u)[i]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},o.dispose=function(){n.removeData(this._element,s);n(this._scrollElement).off(h);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},o._getConfig=function(t){if(t=u({},a,typeof t=="object"&&t?t:{}),typeof t.target!="string"){var f=n(t.target).attr("id");f||(f=r.getUID(i),n(t.target).attr("id",f));t.target="#"+f}return r.typeCheckConfig(i,t,p),t},o._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},o._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},o._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),e=this._config.offset+r-this._getOffsetHeight(),i,u,n,f;if(this._scrollHeight!==r&&this.refresh(),t>=e){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(u=this._offsets.length,n=u;n--;)f=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),f&&this._activate(this._targets[n])},o._activate=function(i){var u,r;this._activeTarget=i;this._clear();u=this._selector.split(",");u=u.map(function(n){return n+'[data-target="'+i+'"],'+(n+'[href="'+i+'"]')});r=n([].slice.call(document.querySelectorAll(u.join(","))));r.hasClass(e.DROPDOWN_ITEM)?(r.closest(t.DROPDOWN).find(t.DROPDOWN_TOGGLE).addClass(e.ACTIVE),r.addClass(e.ACTIVE)):(r.addClass(e.ACTIVE),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_LINKS+", "+t.LIST_ITEMS).addClass(e.ACTIVE),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_ITEMS).children(t.NAV_LINKS).addClass(e.ACTIVE));n(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:i})},o._clear=function(){var i=[].slice.call(document.querySelectorAll(this._selector));n(i).filter(t.ACTIVE).removeClass(e.ACTIVE)},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(s),r=typeof t=="object"&&t;if(i||(i=new y(this,r),n(this).data(s,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(y,null,[{key:"VERSION",get:function(){return v}},{key:"Default",get:function(){return a}}]),y}();n(window).on(c.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(t.DATA_SPY)),f=r.length,u=f;u--;)i=n(r[u]),o._jQueryInterface.call(i,i.data())});return n.fn[i]=o._jQueryInterface,n.fn[i].Constructor=o,n.fn[i].noConflict=function(){return n.fn[i]=y,o._jQueryInterface},o}(t),k=function(n){var u="tab",c="4.1.3",h="bs.tab",e="."+h,l=n.fn[u],o={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click"+e+".data-api"},t={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},i={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},s=function(){function u(n){this._element=n}var e=u.prototype;return e.show=function(){var a=this,e,u,f,s,v,h,c,l;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(t.ACTIVE)||n(this._element).hasClass(t.DISABLED)||(f=n(this._element).closest(i.NAV_LIST_GROUP)[0],s=r.getSelectorFromElement(this._element),f&&(v=f.nodeName==="UL"?i.ACTIVE_UL:i.ACTIVE,u=n.makeArray(n(f).find(v)),u=u[u.length-1]),h=n.Event(o.HIDE,{relatedTarget:this._element}),c=n.Event(o.SHOW,{relatedTarget:u}),u&&n(u).trigger(h),n(this._element).trigger(c),c.isDefaultPrevented()||h.isDefaultPrevented())||(s&&(e=document.querySelector(s)),this._activate(this._element,f),l=function(){var t=n.Event(o.HIDDEN,{relatedTarget:a._element}),i=n.Event(o.SHOWN,{relatedTarget:u});n(u).trigger(t);n(a._element).trigger(i)},e?this._activate(e,e.parentNode,l):l())},e.dispose=function(){n.removeData(this._element,h);this._element=null},e._activate=function(u,f,e){var l=this,s,c;s=f.nodeName==="UL"?n(f).find(i.ACTIVE_UL):n(f).children(i.ACTIVE);var o=s[0],a=e&&o&&n(o).hasClass(t.FADE),h=function(){return l._transitionComplete(u,o,e)};o&&a?(c=r.getTransitionDurationFromElement(o),n(o).one(r.TRANSITION_END,h).emulateTransitionEnd(c)):h()},e._transitionComplete=function(u,f,e){var o,s,h;f&&(n(f).removeClass(t.SHOW+" "+t.ACTIVE),o=n(f.parentNode).find(i.DROPDOWN_ACTIVE_CHILD)[0],o&&n(o).removeClass(t.ACTIVE),f.getAttribute("role")==="tab"&&f.setAttribute("aria-selected",!1));n(u).addClass(t.ACTIVE);u.getAttribute("role")==="tab"&&u.setAttribute("aria-selected",!0);r.reflow(u);n(u).addClass(t.SHOW);u.parentNode&&n(u.parentNode).hasClass(t.DROPDOWN_MENU)&&(s=n(u).closest(i.DROPDOWN)[0],s&&(h=[].slice.call(s.querySelectorAll(i.DROPDOWN_TOGGLE)),n(h).addClass(t.ACTIVE)),u.setAttribute("aria-expanded",!0));e&&e()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data(h);if(i||(i=new u(this),r.data(h,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(u,null,[{key:"VERSION",get:function(){return c}}]),u}();n(document).on(o.CLICK_DATA_API,i.DATA_TOGGLE,function(t){t.preventDefault();s._jQueryInterface.call(n(this),"show")});return n.fn[u]=s._jQueryInterface,n.fn[u].Constructor=s,n.fn[u].noConflict=function(){return n.fn[u]=l,s._jQueryInterface},s}(t);(function(n){if(typeof n=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split("."),i=9;if(t[0]<2&&t[1]<i||t[0]===1&&t[1]===i&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");})(t);n.Util=r;n.Alert=c;n.Button=l;n.Carousel=a;n.Collapse=v;n.Dropdown=y;n.Modal=p;n.Popover=w;n.Scrollspy=b;n.Tab=k;n.Tooltip=e;Object.defineProperty(n,"__esModule",{value:!0})});typeof jwplayer=="undefined"&&(jwplayer=function(n){if(jwplayer.api)return jwplayer.api.selectPlayer(n)},$jw=jwplayer,jwplayer.version="5.6.1768",function(n){function t(n){if(n!==null){var t=n.indexOf("://"),i=n.indexOf("?");return t>0&&(i<0||i>t)}}n.utils=function(){};n.utils.typeOf=function(n){var t=typeof n;return t==="object"&&(n?n instanceof Array&&(t="array"):t="null"),t};n.utils.extend=function(){var t=n.utils.extend.arguments,i,r;if(t.length>1){for(i=1;i<t.length;i++)for(r in t[i])t[0][r]=t[i][r];return t[0]}return null};n.utils.clone=function(){var r,t=n.utils.clone.arguments,i;if(t.length==1)switch(n.utils.typeOf(t[0])){case"object":r={};for(i in t[0])r[i]=n.utils.clone(t[0][i]);break;case"array":r=[];for(i in t[0])r[i]=n.utils.clone(t[0][i]);break;default:return t[0]}return r};n.utils.extension=function(n){if(n=n.substring(n.lastIndexOf("/")+1,n.length),n=n.split("?")[0],n.lastIndexOf(".")>-1)return n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase()};n.utils.html=function(n,t){n.innerHTML=t};n.utils.wrap=function(n,t){n.parentNode.replaceChild(t,n);t.appendChild(n)};n.utils.ajax=function(n,t,i){var r;r=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");r.onreadystatechange=function(){r.readyState===4&&(r.status===200?t&&t(r):i&&i(n))};try{r.open("GET",n,!0);r.send(null)}catch(u){i&&i(n)}return r};n.utils.load=function(n,t,i){n.onreadystatechange=function(){n.readyState===4&&(n.status===200?t&&t():i&&i())}};n.utils.find=function(n,t){return n.getElementsByTagName(t)};n.utils.append=function(n,t){n.appendChild(t)};n.utils.isIE=function(){return!+"\v1"||typeof ActiveXObject!="undefined"};n.utils.isLegacyAndroid=function(){var n=navigator.userAgent.toLowerCase();return n.match(/android 2.[012]/i)!==null};n.utils.isIOS=function(){var n=navigator.userAgent.toLowerCase();return n.match(/iP(hone|ad)/i)!==null};n.utils.getFirstPlaylistItemFromConfig=function(n){var t={},i;return i=n.playlist&&n.playlist.length?n.playlist[0]:n,t.file=i.file,t.levels=i.levels,t.streamer=i.streamer,t.playlistfile=i.playlistfile,t.provider=i.provider,t.provider||(t.file&&(t.file.toLowerCase().indexOf("youtube.com")>-1||t.file.toLowerCase().indexOf("youtu.be")>-1)&&(t.provider="youtube"),t.streamer&&t.streamer.toLowerCase().indexOf("rtmp://")==0&&(t.provider="rtmp"),i.type&&(t.provider=i.type.toLowerCase())),t};n.utils.getOuterHTML=function(n){var u;if(n.outerHTML)return n.outerHTML;var t=n.parentNode,i=document.createElement(t.tagName),r=document.createElement(n.tagName);return t.replaceChild(r,n),i.appendChild(n),u=i.innerHTML,t.replaceChild(n,r),u};n.utils.setOuterHTML=function(n,t){var i,r,u;n.outerHTML?n.outerHTML=t:(i=document.createElement("div"),i.innerHTML=t,r=document.createRange(),r.selectNodeContents(i),u=r.extractContents(),n.parentNode.insertBefore(u,n),n.parentNode.removeChild(n))};n.utils.hasFlash=function(){if(typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]!="undefined")return!0;if(typeof ActiveXObject!="undefined")try{return new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),!0}catch(n){}return!1};n.utils.getPluginName=function(n){return n.lastIndexOf("/")>=0&&(n=n.substring(n.lastIndexOf("/")+1,n.length)),n.lastIndexOf("-")>=0&&(n=n.substring(0,n.lastIndexOf("-"))),n.lastIndexOf(".swf")>=0&&(n=n.substring(0,n.lastIndexOf(".swf"))),n.lastIndexOf(".js")>=0&&(n=n.substring(0,n.lastIndexOf(".js"))),n};n.utils.getPluginVersion=function(n){return n.lastIndexOf("-")>=0?n.lastIndexOf(".js")>=0?n.substring(n.lastIndexOf("-")+1,n.lastIndexOf(".js")):n.lastIndexOf(".swf")>=0?n.substring(n.lastIndexOf("-")+1,n.lastIndexOf(".swf")):n.substring(n.lastIndexOf("-")+1):""};n.utils.getAbsolutePath=function(n,i){var f,s,r,e,o,u;if(i===undefined&&(i=document.location.href),n===undefined)return undefined;if(t(n))return n;for(f=i.substring(0,i.indexOf("://")+3),s=i.substring(f.length,i.indexOf("/",f.length+1)),n.indexOf("/")===0?r=n.split("/"):(e=i.split("?")[0],e=e.substring(f.length+s.length+1,e.lastIndexOf("/")),r=e.split("/").concat(n.split("/"))),o=[],u=0;u<r.length;u++)if(r[u]&&r[u]!==undefined&&r[u]!=".")r[u]==".."?o.pop():o.push(r[u]);else continue;return f+s+"/"+o.join("/")};n.utils.pluginPathType={ABSOLUTE:"ABSOLUTE",RELATIVE:"RELATIVE",CDN:"CDN"};n.utils.getPluginPathType=function(t){var i,u,r;if(typeof t=="string")return(t=t.split("?")[0],i=t.indexOf("://"),i>0)?n.utils.pluginPathType.ABSOLUTE:(u=t.indexOf("/"),r=n.utils.extension(t),i<0&&u<0&&(!r||!isNaN(r)))?n.utils.pluginPathType.CDN:n.utils.pluginPathType.RELATIVE};n.utils.mapEmpty=function(n){for(var t in n)return!1;return!0};n.utils.mapLength=function(n){var t=0;for(var i in n)t++;return t};n.utils.log=function(n,t){typeof console!="undefined"&&typeof console.log!="undefined"&&(t?console.log(n,t):console.log(n))};n.utils.css=function(t,i){if(t!==undefined)for(var r in i)try{if(typeof i[r]=="undefined")continue;else if(typeof i[r]=="number"&&!(r=="zIndex"||r=="opacity")){if(isNaN(i[r]))continue;i[r]=r.match(/color/i)?"#"+n.utils.strings.pad(i[r].toString(16),6):Math.ceil(i[r])+"px"}t.style[r]=i[r]}catch(u){}};n.utils.isYouTube=function(n){return n.indexOf("youtube.com")>-1||n.indexOf("youtu.be")>-1};n.utils.transform=function(n,t){n.style.webkitTransform=t;n.style.MozTransform=t;n.style.OTransform=t};n.utils.stretch=function(t,i,r,u,f,e){var o;if(typeof r!="undefined"&&typeof u!="undefined"&&typeof f!="undefined"&&typeof e!="undefined"){var s=r/f,h=u/e;i.style.overflow="hidden";n.utils.transform(i,"");o={};switch(t.toUpperCase()){case n.utils.stretching.NONE:o.width=f;o.height=e;break;case n.utils.stretching.UNIFORM:s>h?(o.width=f*h,o.height=e*h):(o.width=f*s,o.height=e*s);break;case n.utils.stretching.FILL:s>h?(o.width=f*s,o.height=e*s):(o.width=f*h,o.height=e*h);break;case n.utils.stretching.EXACTFIT:n.utils.transform(i,["scale(",s,",",h,")"," translate(0px,0px)"].join(""));o.width=f;o.height=e}o.top=(u-o.height)/2;o.left=(r-o.width)/2;n.utils.css(i,o)}};n.utils.stretching={NONE:"NONE",FILL:"FILL",UNIFORM:"UNIFORM",EXACTFIT:"EXACTFIT"};n.utils.deepReplaceKeyName=function(t,i,r){var u,f,e;switch(n.utils.typeOf(t)){case"array":for(u=0;u<t.length;u++)t[u]=n.utils.deepReplaceKeyName(t[u],i,r);break;case"object":for(f in t)e=f.replace(new RegExp(i,"g"),r),t[e]=n.utils.deepReplaceKeyName(t[f],i,r),f!=e&&delete t[f]}return t};n.utils.isInArray=function(n,t){if(!n||!(n instanceof Array))return!1;for(var i=0;i<n.length;i++)if(t===n[i])return!0;return!1}}(jwplayer),function(n){n.events=function(){};n.events.COMPLETE="COMPLETE";n.events.ERROR="ERROR"}(jwplayer),function(n){n.events.eventdispatcher=function(t){var u=t,i,r;this.resetEventListeners=function(){i={};r=[]};this.resetEventListeners();this.addEventListener=function(type,listener,count){try{i[type]===undefined&&(i[type]=[]);typeof listener=="string"&&eval("listener = "+listener);i[type].push({listener:listener,count:count})}catch(err){n.utils.log("error",err)}return!1};this.removeEventListener=function(t,r){try{for(var u=0;u<i[t].length;u++)if(i[t][lisenterIndex].toString()==r.toString()){i[t].slice(lisenterIndex,lisenterIndex+1);break}}catch(f){n.utils.log("error",f)}return!1};this.addGlobalListener=function(listener,count){try{typeof listener=="string"&&eval("listener = "+listener);r.push({listener:listener,count:count})}catch(err){n.utils.log("error",err)}return!1};this.removeGlobalListener=function(t){try{for(var i=0;i<r.length;i++)if(r[i].toString()==t.toString()){r.slice(i,i+1);break}}catch(u){n.utils.log("error",u)}return!1};this.sendEvent=function(t,f){var e,o;if(f===undefined&&(f={}),u&&n.utils.log(t,f),typeof i[t]!="undefined")for(e=0;e<i[t].length;e++){try{i[t][e].listener(f)}catch(s){n.utils.log("There was an error while handling a listener: "+s.toString(),i[t][e].listener)}i[t][e]&&(i[t][e].count===1?delete i[t][e]:i[t][e].count>0&&(i[t][e].count=i[t][e].count-1))}for(o=0;o<r.length;o++){try{r[o].listener(f)}catch(s){n.utils.log("There was an error while handling a listener: "+s.toString(),r[o].listener)}r[o]&&(r[o].count===1?delete r[o]:r[o].count>0&&(r[o].count=r[o].count-1))}}}}(jwplayer),function(n){var t={};n.utils.animations=function(){};n.utils.animations.transform=function(n,t){n.style.webkitTransform=t;n.style.MozTransform=t;n.style.OTransform=t;n.style.msTransform=t};n.utils.animations.transformOrigin=function(n,t){n.style.webkitTransformOrigin=t;n.style.MozTransformOrigin=t;n.style.OTransformOrigin=t;n.style.msTransformOrigin=t};n.utils.animations.rotate=function(t,i){n.utils.animations.transform(t,["rotate(",i,"deg)"].join(""))};n.utils.cancelAnimation=function(n){delete t[n.id]};n.utils.fadeTo=function(i,r,u,f,e,o){var h,c,l,s;if(t[i.id]==o||o===undefined){if(h=(new Date).getTime(),o>h&&setTimeout(function(){n.utils.fadeTo(i,r,u,f,0,o)},o-h),i.style.display="block",f===undefined&&(f=i.style.opacity===""?1:i.style.opacity),i.style.opacity==r&&i.style.opacity!==""&&o!==undefined){r===0&&(i.style.display="none");return}if(o===undefined&&(o=h,t[i.id]=o),e===undefined&&(e=0),c=(h-o)/(u*1e3),c=c>1?1:c,l=r-f,s=f+c*l,s>1?s=1:s<0&&(s=0),i.style.opacity=s,e>0){t[i.id]=o+e*1e3;n.utils.fadeTo(i,r,u,f,0,t[i.id]);return}setTimeout(function(){n.utils.fadeTo(i,r,u,f,0,o)},10)}}}(jwplayer),function(n){n.utils.arrays=function(){};n.utils.arrays.indexOf=function(n,t){for(var i=0;i<n.length;i++)if(n[i]==t)return i;return-1};n.utils.arrays.remove=function(t,i){var r=n.utils.arrays.indexOf(t,i);r>-1&&t.splice(r,1)}}(jwplayer),function(n){n.utils.extensionmap={"3gp":{html5:"video/3gpp",flash:"video"},"3gpp":{html5:"video/3gpp"},"3g2":{html5:"video/3gpp2",flash:"video"},"3gpp2":{html5:"video/3gpp2"},flv:{flash:"video"},f4a:{html5:"audio/mp4"},f4b:{html5:"audio/mp4",flash:"video"},f4v:{html5:"video/mp4",flash:"video"},mov:{html5:"video/quicktime",flash:"video"},m4a:{html5:"audio/mp4",flash:"video"},m4b:{html5:"audio/mp4"},m4p:{html5:"audio/mp4"},m4v:{html5:"video/mp4",flash:"video"},mp4:{html5:"video/mp4",flash:"video"},rbs:{flash:"sound"},aac:{html5:"audio/aac",flash:"video"},mp3:{html5:"audio/mp3",flash:"sound"},ogg:{html5:"audio/ogg"},ogv:{html5:"video/ogg"},webm:{html5:"video/webm"},m3u8:{html5:"audio/x-mpegurl"},gif:{flash:"image"},jpeg:{flash:"image"},jpg:{flash:"image"},swf:{flash:"image"},png:{flash:"image"},wav:{html5:"audio/x-wav"}}}(jwplayer),function(n){function i(t,i){return i===undefined?i=f[t]:n.utils.extend(i,f[t]),i}function r(n,r){var e,u,o,f;if(t[n.tagName.toLowerCase()]&&r===undefined)return t[n.tagName.toLowerCase()](n);r=i("element",r);e={};for(u in r)u!="length"&&(o=n.getAttribute(u),o===""||o===undefined||o===null||(e[r[u]]=n.getAttribute(u)));return f=n.style["#background-color"],!f||f=="transparent"||f=="rgba(0, 0, 0, 0)"||(e.screencolor=f),e}function u(t,u){var o,s,h,f;u=i("media",u);o=[];s=n.utils.selectors("source",t);for(h in s)isNaN(h)||o.push(e(s[h]));return f=r(t,u),f.file!==undefined&&(o[0]={file:f.file}),f.levels=o,f}function e(n,t){t=i("source",t);var u=r(n,t);return u.width=u.width?u.width:0,u.bitrate=u.bitrate?u.bitrate:0,u}function o(n,t){t=i("video",t);return u(n,t)}n.utils.mediaparser=function(){};var f={element:{width:"width",height:"height",id:"id","class":"className",name:"name"},media:{src:"file",preload:"preload",autoplay:"autostart",loop:"repeat",controls:"controls"},source:{src:"file",type:"type",media:"media","data-jw-width":"width","data-jw-bitrate":"bitrate"},video:{poster:"image"}},t={};n.utils.mediaparser.parseMedia=function(n){return r(n)};t.media=u;t.audio=u;t.source=e;t.video=o}(jwplayer),function(n){n.utils.loaderstatus={NEW:"NEW",LOADING:"LOADING",ERROR:"ERROR",COMPLETE:"COMPLETE"};n.utils.scriptloader=function(t){var i=n.utils.loaderstatus.NEW,r=new n.events.eventdispatcher;n.utils.extend(this,r);this.load=function(){if(i==n.utils.loaderstatus.NEW){i=n.utils.loaderstatus.LOADING;var u=document.createElement("script");u.onload=function(){i=n.utils.loaderstatus.COMPLETE;r.sendEvent(n.events.COMPLETE)};u.onerror=function(){i=n.utils.loaderstatus.ERROR;r.sendEvent(n.events.ERROR)};u.onreadystatechange=function(){(u.readyState=="loaded"||u.readyState=="complete")&&(i=n.utils.loaderstatus.COMPLETE,r.sendEvent(n.events.COMPLETE))};document.getElementsByTagName("head")[0].appendChild(u);u.src=t}};this.getStatus=function(){return i}}}(jwplayer),function(n){n.utils.selectors=function(t,i){i===undefined&&(i=document);t=n.utils.strings.trim(t);var r=t.charAt(0);return r=="#"?i.getElementById(t.substr(1)):r=="."?i.getElementsByClassName?i.getElementsByClassName(t.substr(1)):n.utils.selectors.getElementsByTagAndClass("*",t.substr(1)):t.indexOf(".")>0?(selectors=t.split("."),n.utils.selectors.getElementsByTagAndClass(selectors[0],selectors[1])):i.getElementsByTagName(t)};n.utils.selectors.getElementsByTagAndClass=function(n,t,i){var u,r,e,f;for(elements=[],i===undefined&&(i=document),u=i.getElementsByTagName(n),r=0;r<u.length;r++)if(u[r].className!==undefined)for(e=u[r].className.split(" "),f=0;f<e.length;f++)e[f]==t&&elements.push(u[r]);return elements}}(jwplayer),function(n){n.utils.strings=function(){};n.utils.strings.trim=function(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")};n.utils.strings.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.utils.strings.serialize=function(n){return n==null?null:n=="true"?!0:n=="false"?!1:isNaN(Number(n))||n.length>5||n.length==0?n:Number(n)};n.utils.strings.seconds=function(n){n=n.replace(",",".");var t=n.split(":"),i=0;return n.substr(-1)=="s"?i=Number(n.substr(0,n.length-1)):n.substr(-1)=="m"?i=Number(n.substr(0,n.length-1))*60:n.substr(-1)=="h"?i=Number(n.substr(0,n.length-1))*3600:t.length>1?(i=Number(t[t.length-1]),i+=Number(t[t.length-2])*60,t.length==3&&(i+=Number(t[t.length-3])*3600)):i=Number(n),i};n.utils.strings.xmlAttribute=function(n,t){for(var i in n.attributes)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()==t.toLowerCase())return n.attributes[i].value.toString();return""};n.utils.strings.jsonToString=function(t){var u=u||{},f,r,e,o,i;if(u&&u.stringify)return u.stringify(t);if(f=typeof t,f!="object"||t===null)if(f=="string")t='"'+t+'"';else return String(t);else{r=[];e=t&&t.constructor==Array;for(o in t){i=t[o];switch(typeof i){case"string":i='"'+i+'"';break;case"object":i!==null&&(i=n.utils.strings.jsonToString(i))}e?typeof i!="function"&&r.push(String(i)):typeof i!="function"&&r.push('"'+o+'":'+String(i))}return e?"["+String(r)+"]":"{"+String(r)+"}"}}}(jwplayer),function(n){function i(n){if(["true","false","t","f"].toString().indexOf(n.toLowerCase().replace(" ",""))>=0)return"boolean";if(t.test(n))return"color";if(isNaN(parseInt(n,10))||parseInt(n,10).toString().length!=n.length){if(!isNaN(parseFloat(n))&&parseFloat(n).toString().length==n.length)return"float"}else return"integer";return"string"}function r(n,t){if(t===null)return n;switch(t){case"color":return n.length>0?u(n):null;case"integer":return parseInt(n,10);case"float":return parseFloat(n);case"boolean":return n.toLowerCase()=="true"?!0:n=="1"?!0:!1}return n}function u(n){switch(n.toLowerCase()){case"blue":return parseInt("0000FF",16);case"green":return parseInt("00FF00",16);case"red":return parseInt("FF0000",16);case"cyan":return parseInt("00FFFF",16);case"magenta":return parseInt("FF00FF",16);case"yellow":return parseInt("FFFF00",16);case"black":return parseInt("000000",16);case"white":return parseInt("FFFFFF",16);default:return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),n.length==3&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}return parseInt("000000",16)}var t=new RegExp(/^(#|0x)[0-9a-fA-F]{3,6}/);n.utils.typechecker=function(n,t){return t=t===null?i(n):t,r(n,t)}}(jwplayer),function(n){var i={},t={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return t[r]=new n.plugins.pluginloader(new n.plugins.model(i),u),t[r]};n.plugins.registerPlugin=function(r,u,f){var e=n.utils.getPluginName(r),o;if(i[e])i[e].registerPlugin(r,u,f);else{n.utils.log("A plugin ("+r+") was registered with the player that was not loaded. Please check your configuration.");for(o in t)t[o].pluginFailed()}}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]}}}(jwplayer),function(n){n.plugins.pluginmodes={FLASH:"FLASH",JAVASCRIPT:"JAVASCRIPT",HYBRID:"HYBRID"};n.plugins.plugin=function(t){function o(){switch(n.utils.getPluginPathType(t)){case n.utils.pluginPathType.ABSOLUTE:return t;case n.utils.pluginPathType.RELATIVE:return n.utils.getAbsolutePath(t,window.location.href);case n.utils.pluginPathType.CDN:var i=n.utils.getPluginName(t),r=n.utils.getPluginVersion(t);return s+"/"+n.version.split(".")[0]+"/"+i+"/"+i+(r!==""?"-"+r:"")+".js"}}function h(){e=setTimeout(function(){r=n.utils.loaderstatus.COMPLETE;f.sendEvent(n.events.COMPLETE)},1e3)}function c(){r=n.utils.loaderstatus.ERROR;f.sendEvent(n.events.ERROR)}var s="http://plugins.longtailvideo.com",r=n.utils.loaderstatus.NEW,i,u,e,f=new n.events.eventdispatcher;n.utils.extend(this,f);this.load=function(){if(r==n.utils.loaderstatus.NEW){if(t.lastIndexOf(".swf")>0){i=t;r=n.utils.loaderstatus.COMPLETE;f.sendEvent(n.events.COMPLETE);return}r=n.utils.loaderstatus.LOADING;var u=new n.utils.scriptloader(o());u.addEventListener(n.events.COMPLETE,h);u.addEventListener(n.events.ERROR,c);u.load()}};this.registerPlugin=function(t,o,s){e&&(clearTimeout(e),e=undefined);o&&s?(i=s,u=o):typeof o=="string"?i=o:typeof o=="function"?u=o:o||s||(i=t);r=n.utils.loaderstatus.COMPLETE;f.sendEvent(n.events.COMPLETE)};this.getStatus=function(){return r};this.getPluginName=function(){return n.utils.getPluginName(t)};this.getFlashPath=function(){if(i)switch(n.utils.getPluginPathType(i)){case n.utils.pluginPathType.ABSOLUTE:return i;case n.utils.pluginPathType.RELATIVE:return t.lastIndexOf(".swf")>0?n.utils.getAbsolutePath(i,window.location.href):n.utils.getAbsolutePath(i,o());case n.utils.pluginPathType.CDN:return i.indexOf("-")>-1?i+"h":i+"-h"}return null};this.getJS=function(){return u};this.getPluginmode=function(){return typeof i!="undefined"&&typeof u!="undefined"?n.plugins.pluginmodes.HYBRID:typeof i!="undefined"?n.plugins.pluginmodes.FLASH:typeof u!="undefined"?n.plugins.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new u(n,t,i)};this.getURL=function(){return t}}}(jwplayer),function(n){n.plugins.pluginloader=function(t,i){function h(){f||(f=!0,u=n.utils.loaderstatus.COMPLETE,s.sendEvent(n.events.COMPLETE))}function e(){var t,i;if(!f){t=0;for(plugin in r)i=r[plugin].getStatus(),(i==n.utils.loaderstatus.LOADING||i==n.utils.loaderstatus.NEW)&&t++;t==0&&h()}}var r={},u=n.utils.loaderstatus.NEW,o=!1,f=!1,s=new n.events.eventdispatcher;n.utils.extend(this,s);this.setupPlugins=function(n,t,i){var s={length:0,plugins:{}},f={length:0,plugins:{}},u,o,e;for(u in r)if(o=r[u].getPluginName(),r[u].getFlashPath()&&(s.plugins[r[u].getFlashPath()]=t.plugins[u],s.plugins[r[u].getFlashPath()].pluginmode=r[u].getPluginmode(),s.length++),r[u].getJS()&&(e=document.createElement("div"),e.id=n.id+"_"+o,e.style.position="absolute",e.style.zIndex=f.length+10,f.plugins[o]=r[u].getNewInstance(n,t.plugins[u],e),f.length++,typeof f.plugins[o].resize!="undefined")){n.onReady(i(f.plugins[o],e,!0));n.onResize(i(f.plugins[o],e))}return n.plugins=f.plugins,s};this.load=function(){u=n.utils.loaderstatus.LOADING;o=!0;for(var f in i)r[f]=t.addPlugin(f),r[f].addEventListener(n.events.COMPLETE,e),r[f].addEventListener(n.events.ERROR,e);for(f in i)r[f].load();o=!1;e()};this.pluginFailed=function(){h()};this.getStatus=function(){return u}}}(jwplayer),function(n){var t=[];n.api=function(t){function c(n){return function(t,r,f,e){var o;r?(u[t]=r,o="jwplayer('"+n+"').callback('"+t+"')"):!r&&u[t]&&delete u[t];i.jwDockSetButton(t,o,f,e)}}function l(n){return function(t){var u=t.newstate,e=t.oldstate,i,r;if(u==n&&(i=f[u],i))for(r=0;r<i.length;r++)typeof i[r]=="function"&&i[r].call(this,{oldstate:e,newstate:u})}}function a(t,i){var r=n.utils.extend({},i),u,f;t!=n.api.events.JWPLAYER_FULLSCREEN||r.fullscreen?typeof r.data=="object"&&(r=n.utils.extend(r,r.data),delete r.data):(r.fullscreen=r.message=="true"?!0:!1,delete r.message);u=["position","duration","offset"];for(f in u)r[u[f]]&&(r[u[f]]=Math.round(r[u[f]]*1e3)/1e3);return r}this.container=t;this.id=t.id;var r={},f={},i=undefined,o=!1,e=[],h=n.utils.getOuterHTML(t),s={},u={};return this.getBuffer=function(){return this.callInternal("jwGetBuffer")},this.getContainer=function(){return this.container},this.getPlugin=function(n){var t=this.callInternal;return n=="dock"?{setButton:c(this.id),show:function(){return t("jwShowDock")},hide:function(){return t("jwHideDock")}}:n=="controlbar"?{show:function(){return t("jwShowControlbar")},hide:function(){return t("jwHideControlbar")}}:n=="display"?{show:function(){return t("jwShowDisplay")},hide:function(){return t("jwHideDisplay")}}:this.plugins[n]},this.callback=function(n){if(u[n])return u[n]()},this.getDuration=function(){return this.callInternal("jwGetDuration")},this.getFullscreen=function(){return this.callInternal("jwGetFullscreen")},this.getHeight=function(){return this.callInternal("jwGetHeight")},this.getLockState=function(){return this.callInternal("jwGetLockState")},this.getMeta=function(){return this.getItemMeta()},this.getMute=function(){return this.callInternal("jwGetMute")},this.getPlaylist=function(){var i=this.callInternal("jwGetPlaylist"),t;for(this.renderingMode=="flash"&&n.utils.deepReplaceKeyName(i,"__dot__","."),t=0;t<i.length;t++)i[t].index===undefined&&(i[t].index=t);return i},this.getPlaylistItem=function(n){return n===undefined&&(n=this.getCurrentItem()),this.getPlaylist()[n]},this.getPosition=function(){return this.callInternal("jwGetPosition")},this.getRenderingMode=function(){return this.renderingMode},this.getState=function(){return this.callInternal("jwGetState")},this.getVolume=function(){return this.callInternal("jwGetVolume")},this.getWidth=function(){return this.callInternal("jwGetWidth")},this.setFullscreen=function(n){return n===undefined?this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen")):this.callInternal("jwSetFullscreen",n),this},this.setMute=function(n){return n===undefined?this.callInternal("jwSetMute",!this.callInternal("jwGetMute")):this.callInternal("jwSetMute",n),this},this.lock=function(){return this},this.unlock=function(){return this},this.load=function(n){return this.callInternal("jwLoad",n),this},this.playlistItem=function(n){return this.callInternal("jwPlaylistItem",n),this},this.playlistPrev=function(){return this.callInternal("jwPlaylistPrev"),this},this.playlistNext=function(){return this.callInternal("jwPlaylistNext"),this},this.resize=function(n,t){return this.renderingMode=="html5"?i.jwResize(n,t):(this.container.width=n,this.container.height=t),this},this.play=function(t){return typeof t=="undefined"?(t=this.getState(),t==n.api.events.state.PLAYING||t==n.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")):this.callInternal("jwPlay",t),this},this.pause=function(t){return typeof t=="undefined"?(t=this.getState(),t==n.api.events.state.PLAYING||t==n.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")):this.callInternal("jwPause",t),this},this.stop=function(){return this.callInternal("jwStop"),this},this.seek=function(n){return this.callInternal("jwSeek",n),this},this.setVolume=function(n){return this.callInternal("jwSetVolume",n),this},this.onBufferChange=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_BUFFER,t)},this.onBufferFull=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_BUFFER_FULL,t)},this.onError=function(t){return this.eventListener(n.api.events.JWPLAYER_ERROR,t)},this.onFullscreen=function(t){return this.eventListener(n.api.events.JWPLAYER_FULLSCREEN,t)},this.onMeta=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_META,t)},this.onMute=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_MUTE,t)},this.onPlaylist=function(t){return this.eventListener(n.api.events.JWPLAYER_PLAYLIST_LOADED,t)},this.onPlaylistItem=function(t){return this.eventListener(n.api.events.JWPLAYER_PLAYLIST_ITEM,t)},this.onReady=function(t){return this.eventListener(n.api.events.API_READY,t)},this.onResize=function(t){return this.eventListener(n.api.events.JWPLAYER_RESIZE,t)},this.onComplete=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_COMPLETE,t)},this.onSeek=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_SEEK,t)},this.onTime=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_TIME,t)},this.onVolume=function(t){return this.eventListener(n.api.events.JWPLAYER_MEDIA_VOLUME,t)},this.onBuffer=function(t){return this.stateListener(n.api.events.state.BUFFERING,t)},this.onPause=function(t){return this.stateListener(n.api.events.state.PAUSED,t)},this.onPlay=function(t){return this.stateListener(n.api.events.state.PLAYING,t)},this.onIdle=function(t){return this.stateListener(n.api.events.state.IDLE,t)},this.remove=function(){r={};e=[];n.utils.getOuterHTML(this.container)!=h&&n.api.destroyPlayer(this.id,h)},this.setup=function(t){var r,i;return n.embed?(r=this.id,this.remove(),i=n(r),i.config=t,new n.embed(i)):this},this.registerPlugin=function(t,i,r){n.plugins.registerPlugin(t,i,r)},this.setPlayer=function(n,t){i=n;this.renderingMode=t},this.stateListener=function(t,i){return f[t]||(f[t]=[],this.eventListener(n.api.events.JWPLAYER_PLAYER_STATE,l(t))),f[t].push(i),this},this.addInternalListener=function(n,t){n.jwAddEventListener(t,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+t+'", dat); }')},this.eventListener=function(n,t){return r[n]||(r[n]=[],i&&o&&this.addInternalListener(i,n)),r[n].push(t),this},this.dispatchEvent=function(n){var i,t;if(r[n])for(i=a(n,arguments[1]),t=0;t<r[n].length;t++)typeof r[n][t]=="function"&&r[n][t].call(this,i)},this.callInternal=function(n,t){if(o)return typeof i!="undefined"&&typeof i[n]=="function"?t!==undefined?i[n](t):i[n]():null;e.push({method:n,parameters:t})},this.playerReady=function(t){var f,u;o=!0;i||this.setPlayer(document.getElementById(t.id));this.container=document.getElementById(this.id);for(f in r)this.addInternalListener(i,f);for(this.eventListener(n.api.events.JWPLAYER_PLAYLIST_ITEM,function(){s={}}),this.eventListener(n.api.events.JWPLAYER_MEDIA_META,function(t){n.utils.extend(s,t.metadata)}),this.dispatchEvent(n.api.events.API_READY);e.length>0;)u=e.shift(),this.callInternal(u.method,u.parameters)},this.getItemMeta=function(){return s},this.getCurrentItem=function(){return this.callInternal("jwGetPlaylistIndex")},this};n.api.selectPlayer=function(t){var i,r;return(t===undefined&&(t=0),t.nodeType?i=t:typeof t=="string"&&(i=document.getElementById(t)),i)?(r=n.api.playerById(i.id),r?r:n.api.addPlayer(new n.api(i))):typeof t=="number"?n.getPlayers()[t]:null};n.api.events={API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem"};n.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"};n.api.playerById=function(n){for(var i=0;i<t.length;i++)if(t[i].id==n)return t[i];return null};n.api.addPlayer=function(n){for(var i=0;i<t.length;i++)if(t[i]==n)return n;return t.push(n),n};n.api.destroyPlayer=function(i,r){for(var u,o,s,f=-1,e=0;e<t.length;e++)if(t[e].id==i){f=e;continue}return f>=0&&(u=document.getElementById(t[f].id),document.getElementById(t[f].id+"_wrapper")&&(u=document.getElementById(t[f].id+"_wrapper")),u&&(r?n.utils.setOuterHTML(u,r):(o=document.createElement("div"),s=u.id,u.id.indexOf("_wrapper")==u.id.length-8&&(newID=u.id.substring(0,u.id.length-8)),o.setAttribute("id",s),u.parentNode.replaceChild(o,u))),t.splice(f,1)),null};n.getPlayers=function(){return t.slice(0)}}(jwplayer),_userPlayerReady=typeof playerReady=="function"?playerReady:undefined,playerReady=function(n){var t=jwplayer.api.playerById(n.id);t&&t.playerReady(n);_userPlayerReady&&_userPlayerReady.call(this,n)},function(n){function t(){var r,i,u;if(!document.body)return setTimeout(t,15);for(r=n.utils.selectors.getElementsByTagAndClass("video","jwplayer"),i=0;i<r.length;i++)u=r[i],n(u.id).setup({})}n.embed=function(t){function e(n,t){for(var i in t)typeof n[i]=="function"&&n[i].call(n,t[i])}function u(){var u,f,o;if(r.getStatus()==n.utils.loaderstatus.COMPLETE){for(u=0;u<i.modes.length;u++)if(i.modes[u].type&&n.embed[i.modes[u].type]&&(f=i,i.modes[u].config&&(f=n.utils.extend(n.utils.clone(i),i.modes[u].config)),o=new n.embed[i.modes[u].type](document.getElementById(t.id),i.modes[u],f,r,t),o.supportsConfig()))return o.embed(),e(t,i.events),t;n.utils.log("No suitable players found");new n.embed.logo(n.utils.extend({hide:!0},i.components.logo),"none",t.id)}}var f=n.utils.mediaparser.parseMedia(t.container),i=new n.embed.config(n.utils.extend({width:400,height:300,components:{controlbar:{position:"over"}}},f,t.config),this),r=n.plugins.loadPlugins(t.id,i.plugins);return r.addEventListener(n.events.COMPLETE,u),r.addEventListener(n.events.ERROR,u),r.load(),t};t()}(jwplayer),function(n){function i(){return[{type:"flash",src:"/Static/dist/jwplayer/player.swf"},{type:"html5"},{type:"download"}]}function f(n){return n instanceof Array||typeof n=="object"&&!n.position&&!n.size}function r(n){return typeof n=="string"&&(parseInt(n).toString()==n||n.toLowerCase().indexOf("px")>-1)?parseInt(n):n}function e(t){var u={},f,r,i;switch(n.utils.typeOf(t.plugins)){case"object":for(f in t.plugins)u[n.utils.getPluginName(f)]=f;break;case"string":for(r=t.plugins.split(","),i=0;i<r.length;i++)u[n.utils.getPluginName(r[i])]=r[i]}return u}function u(t,i,r,u){var f,e;n.utils.typeOf(t[i])!="object"&&(t[i]={});f=t[i][r];n.utils.typeOf(f)!="object"&&(t[i][r]=f={});i=="plugins"?(e=n.utils.getPluginName(r),f[u]=t[e+"."+u],delete t[e+"."+u]):(f[u]=t[r+"."+u],delete t[r+"."+u])}var t=["playlist","dock","controlbar","logo"];n.embed.deserialize=function(i){var o=e(i);for(var r in i)if(r.indexOf(".")>-1){var s=r.split("."),f=s[0],r=s[1];n.utils.isInArray(t,f)?u(i,"components",f,r):o[f]&&u(i,"plugins",o[f],r)}return i};n.embed.config=function(u){var e=n.utils.extend({},u),a,c,h,l,o,s;if(f(e.playlist)&&(a=e.playlist,delete e.playlist),e=n.embed.deserialize(e),e.height=r(e.height),e.width=r(e.width),typeof e.plugins=="string")for(c=e.plugins.split(","),typeof e.plugins!="object"&&(e.plugins={}),h=0;h<c.length;h++)l=n.utils.getPluginName(c[h]),typeof e[l]=="object"?(e.plugins[c[h]]=e[l],delete e[l]):e.plugins[c[h]]={};for(o=0;o<t.length;o++)typeof e[t[o]]=="string"?(e.components[t[o]]||(e.components[t[o]]={}),t[o]=="logo"?e.components[t[o]].file=e[t[o]]:e.components[t[o]].position=e[t[o]],delete e[t[o]]):typeof e[t[o]]!="undefined"&&(e.components[t[o]]||(e.components[t[o]]={}),n.utils.extend(e.components[t[o]],e[t[o]]),delete e[t[o]]),typeof e[t[o]+"size"]!="undefined"&&(e.components[t[o]]||(e.components[t[o]]={}),e.components[t[o]].size=e[t[o]+"size"],delete e[t[o]+"size"]);return typeof e.icons!="undefined"&&(e.components.display||(e.components.display={}),e.components.display.icons=e.icons,delete e.icons),e.players&&(e.modes=e.players,delete e.players),e.flashplayer&&!e.modes?(s=i(),s[0].src=e.flashplayer,delete e.flashplayer):e.modes?(typeof e.modes=="string"?(s=i(),s[0].src=e.modes):e.modes instanceof Array?s=e.modes:typeof e.modes=="object"&&e.modes.type&&(s=[e.modes]),delete e.modes):s=i(),e.modes=s,a&&(e.playlist=a),e}}(jwplayer),function(n){n.embed.download=function(t,i,r,u,f){function e(t,i,r){var f,u;return r?!1:(f=["image","sound","youtube","http"],i&&f.toString().indexOf(i)>-1)?!0:(!i||i&&i=="video")&&(u=n.utils.extension(t),u&&n.utils.extensionmap[u])?!0:!1}this.embed=function(){function v(){_imageWidth=i.display_image.naturalWidth;_imageHeight=i.display_image.naturalHeight;y()}function y(){n.utils.stretch(n.utils.stretching.UNIFORM,i.display_image,o,e,_imageWidth,_imageHeight)}var w=n.utils.extend({},r),i={},o=r.width?r.width:480,e,s,h,c,u,a,l,p;typeof o!="number"&&(o=parseInt(o,10));e=r.height?r.height:320;typeof e!="number"&&(e=parseInt(e,10));u={};r.playlist&&r.playlist.length?(u.file=r.playlist[0].file,h=r.playlist[0].image,u.levels=r.playlist[0].levels):(u.file=r.file,h=r.image,u.levels=r.levels);u.file?s=u.file:u.levels&&u.levels.length&&(s=u.levels[0].file);c=s?"pointer":"auto";a={display:{style:{cursor:c,width:o,height:e,backgroundColor:"#000",position:"relative",textDecoration:"none",border:"none",display:"block"}},display_icon:{style:{cursor:c,position:"absolute",display:s?"block":"none",top:0,left:0,border:0,margin:0,padding:0,zIndex:3,width:50,height:50,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg==)"}},display_iconBackground:{style:{cursor:c,position:"absolute",display:s?"block":"none",top:(e-50)/2,left:(o-50)/2,border:0,width:50,height:50,margin:0,padding:0,zIndex:2,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC)"}},display_image:{style:{width:o,height:e,display:h?"block":"none",position:"absolute",cursor:c,left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1,border:"none"}}};l=function(i,r,u){var f=document.createElement(i);return f.id=u?u:t.id+"_jwplayer_"+r,n.utils.css(f,a[r].style),f};i.display=l("a","display",t.id);s&&i.display.setAttribute("href",n.utils.getAbsolutePath(s));i.display_image=l("img","display_image");i.display_image.setAttribute("alt","Click to download...");h&&i.display_image.setAttribute("src",n.utils.getAbsolutePath(h));!0&&(i.display_icon=l("div","display_icon"),i.display_iconBackground=l("div","display_iconBackground"),i.display.appendChild(i.display_image),i.display_iconBackground.appendChild(i.display_icon),i.display.appendChild(i.display_iconBackground));_css=n.utils.css;_hide=function(n){_css(n,{display:"none"})};i.display_image.onerror=function(){_hide(i.display_image)};i.display_image.onload=v;t.parentNode.replaceChild(i.display,t);p=r.plugins&&r.plugins.logo?r.plugins.logo:{};i.display.appendChild(new n.embed.logo(r.components.logo,"download",t.id));f.container=document.getElementById(f.id);f.setPlayer(i.display,"download")};this.supportsConfig=function(){var t,i;if(r){if(t=n.utils.getFirstPlaylistItemFromConfig(r),typeof t.file=="undefined"&&typeof t.levels=="undefined")return!0;if(t.file)return e(t.file,t.provider,t.playlistfile);if(t.levels&&t.levels.length)for(i=0;i<t.levels.length;i++)if(t.levels[i].file&&e(t.levels[i].file,t.provider,t.playlistfile))return!0}else return!0}}}(jwplayer),function(n){n.embed.flash=function(t,i,r,u,f){function e(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function h(t,i,r){return function(){var u,e;r&&document.getElementById(f.id+"_wrapper").appendChild(i);u=document.getElementById(f.id).getPluginConfig("display");t.resize(u.width,u.height);e={left:u.x,top:u.y};n.utils.css(i,e)}}function o(n,t){var f,i,r,u;if(n[t]){f=n[t];for(i in f)if(r=f[i],typeof r=="string")n[i]||(n[i]=r);else for(u in r)n[i+"."+u]||(n[i+"."+u]=r[u]);delete n[t]}}function c(t){var i,u,r,o,f,e;if(!t)return{};i={};u=[];for(r in t){o=n.utils.getPluginName(r);f=t[r];u.push(r);for(e in f)i[o+"."+e]=f[e]}return i.plugins=u.join(","),i}function s(t){var r=t.netstreambasepath?"":"netstreambasepath="+encodeURIComponent(window.location.href)+"&";for(var i in t)r+=typeof t[i]=="object"?i+"="+encodeURIComponent("[[JSON]]"+n.utils.strings.jsonToString(t[i]))+"&":i+"="+encodeURIComponent(t[i])+"&";return r.substring(0,r.length-1)}this.embed=function(){var k,d,p,w,g,b,v,a;r.id=f.id;var y,l=n.utils.extend({},r),nt=l.width,tt=l.height;for(t.id+"_wrapper"==t.parentNode.id?y=document.getElementById(t.id+"_wrapper"):(y=document.createElement("div"),y.id=t.id+"_wrapper",n.utils.wrap(t,y),n.utils.css(y,{position:"relative",width:nt,height:tt})),k=u.setupPlugins(f,l,h),k.length>0?n.utils.extend(l,c(k.plugins)):delete l.plugins,d=["height","width","modes","events"],p=0;p<d.length;p++)delete l[d[p]];w="opaque";l.wmode&&(w=l.wmode);o(l,"components");o(l,"providers");typeof l["dock.position"]!="undefined"&&l["dock.position"].toString().toLowerCase()=="false"&&(l.dock=l["dock.position"],delete l["dock.position"]);g="#000000";n.utils.isIE()?(v='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" bgcolor="'+g+'" width="100%" height="100%" id="'+t.id+'" name="'+t.id+'" tabindex=0"">',v+='<param name="movie" value="'+i.src+'">',v+='<param name="allowfullscreen" value="true">',v+='<param name="allowscriptaccess" value="always">',v+='<param name="seamlesstabbing" value="true">',v+='<param name="wmode" value="'+w+'">',v+='<param name="flashvars" value="'+s(l)+'">',v+="<\/object>",n.utils.setOuterHTML(t,v),b=document.getElementById(t.id)):(a=document.createElement("object"),a.setAttribute("type","application/x-shockwave-flash"),a.setAttribute("data",i.src),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("bgcolor","#000000"),a.setAttribute("id",t.id),a.setAttribute("name",t.id),a.setAttribute("tabindex",0),e(a,"allowfullscreen","true"),e(a,"allowscriptaccess","always"),e(a,"seamlesstabbing","true"),e(a,"wmode",w),e(a,"flashvars",s(l)),t.parentNode.replaceChild(a,t),b=a);f.container=b;f.setPlayer(b,"flash")};this.supportsConfig=function(){var t,i;if(n.utils.hasFlash())if(r){if(t=n.utils.getFirstPlaylistItemFromConfig(r),typeof t.file=="undefined"&&typeof t.levels=="undefined")return!0;if(t.file)return flashCanPlay(t.file,t.provider);if(t.levels&&t.levels.length)for(i=0;i<t.levels.length;i++)if(t.levels[i].file&&flashCanPlay(t.levels[i].file,t.provider))return!0}else return!0;return!1};flashCanPlay=function(t,i){var r;return i&&["video","http","sound","image"].toString().indexOf(i<0)?!0:(r=n.utils.extension(t),!r)?!0:n.utils.extensionmap[r]!==undefined&&n.utils.extensionmap[r].flash===undefined?!1:!0}}}(jwplayer),function(n){n.embed.html5=function(t,i,r,u,f){function e(n,i,r){return function(){var f=document.getElementById(t.id+"_displayarea"),u;r&&f.appendChild(i);u=f.style;n.resize(parseInt(u.width.replace("px","")),parseInt(u.height.replace("px","")));i.left=u.left;i.top=u.top}}this.embed=function(){var i,s,o,h;if(n.html5){for(u.setupPlugins(f,r,e),t.innerHTML="",i=n.utils.extend({screencolor:"0x000000"},r),s=["plugins","modes","events"],o=0;o<s.length;o++)delete i[s[o]];i.levels&&!i.sources&&(i.sources=r.levels);i.skin&&i.skin.toLowerCase().indexOf(".zip")>0&&(i.skin=i.skin.replace(/\.zip/i,".xml"));h=new(n.html5(t).setup)(i);f.container=document.getElementById(f.id);f.setPlayer(h,"html5")}else return null};this.supportsConfig=function(){var u=document.createElement("video"),t,i;if(!!u.canPlayType)if(r){if(t=n.utils.getFirstPlaylistItemFromConfig(r),typeof t.file=="undefined"&&typeof t.levels=="undefined")return!0;if(t.file)return html5CanPlay(u,t.file,t.provider,t.playlistfile);if(t.levels&&t.levels.length)for(i=0;i<t.levels.length;i++)if(t.levels[i].file&&html5CanPlay(u,t.levels[i].file,t.provider,t.playlistfile))return!0}else return!0;return!1};html5CanPlay=function(t,i,r,u){if(u)return!1;if(r&&r=="youtube")return!0;if(r&&r!="video"&&r!="http"&&r!="sound")return!1;var f=n.utils.extension(i);return!f||n.utils.extensionmap[f]===undefined?!0:n.utils.extensionmap[f].html5===undefined?!1:n.utils.isLegacyAndroid()&&f.match(/m4v|mp4/)?!0:browserCanPlay(t,n.utils.extensionmap[f].html5)};browserCanPlay=function(n,t){return t?n.canPlayType(t):!0}}}(jwplayer),function(n){n.embed.logo=function(t,i,r){function s(){h();l();a()}function h(){if(e.prefix){var t=n.version.split(/\W/).splice(0,2).join("/");e.prefix.indexOf(t)<0&&(e.prefix+=t+"/")}u=n.utils.extend({},e)}function c(){var n={border:"none",textDecoration:"none",position:"absolute",cursor:"pointer",zIndex:10},t,i;n.display=u.hide?"none":"block";t=u.position.toLowerCase().split("-");for(i in t)n[t[i]]=u.margin;return n}function l(){(f=document.createElement("img"),f.id=r+"_jwplayer_logo",f.style.display="none",f.onload=function(){_css(f,c());o()},u.file)&&(f.src=u.file.indexOf("http://")===0?u.file:u.prefix+u.file)}function a(){u.link?(f.onmouseover=y,f.onmouseout=o,f.onclick=v):this.mouseEnabled=!1}function v(n){typeof n!="undefined"&&(n.preventDefault(),n.stopPropagation());u.link&&window.open(u.link,"_blank");return}function o(){u.link&&(f.style.opacity=u.out);return}function y(){u.hide&&(f.style.opacity=u.over);return}var e={prefix:"http://l.longtailvideo.com/"+i+"/",file:"logo.png",link:"http://www.longtailvideo.com/players/jw-flv-player/",margin:8,out:.5,over:1,timeout:3,hide:!1,position:"bottom-left"},f,u;if(_css=n.utils.css,s(),u.file)return f}}(jwplayer),function(n){n.html5=function(t){var i=t;return this.setup=function(t){return n.utils.extend(this,new n.html5.api(i,t)),this},this}}(jwplayer),function(n){function i(t){return[n.html5.view.positions.TOP,n.html5.view.positions.RIGHT,n.html5.view.positions.BOTTOM,n.html5.view.positions.LEFT].toString().indexOf(t.toUpperCase())>-1}var t=n.utils.css;n.html5.view=function(r,u,f){function g(){function i(){return c.skin.getComponentSettings("display")&&c.skin.getComponentSettings("display").backgroundcolor?c.skin.getComponentSettings("display").backgroundcolor:parseInt("000000",16)}h=document.createElement("div");h.id=l.id;h.className=l.className;_videowrapper=document.createElement("div");_videowrapper.id=h.id+"_video_wrapper";l.id=h.id+"_video";t(h,{position:"relative",height:e.height,width:e.width,padding:0,backgroundColor:i(),zIndex:0});t(l,{width:e.width,height:e.height,top:0,left:0,zIndex:1,margin:"auto",display:"block"});t(_videowrapper,{overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0});n.utils.wrap(l,h);n.utils.wrap(l,_videowrapper);o=document.createElement("div");o.id=h.id+"_displayarea";h.appendChild(o)}function nt(){for(var n,t=0;t<e.plugins.order.length;t++)n=e.plugins.order[t],e.plugins.object[n].getDisplayElement!==undefined&&(e.plugins.object[n].height=s(e.plugins.object[n].getDisplayElement().style.height),e.plugins.object[n].width=s(e.plugins.object[n].getDisplayElement().style.width),e.plugins.config[n].currentPosition=e.plugins.config[n].position);b()}function b(){var t,i;if(e.getMedia()!==undefined)for(t=0;t<e.plugins.order.length;t++)i=e.plugins.order[t],e.plugins.object[i].getDisplayElement!==undefined&&(e.plugins.config[i].currentPosition=e.getMedia().hasChrome()?n.html5.view.positions.NONE:e.plugins.config[i].position);y(e.width,e.height)}function s(n){return typeof n=="string"?n===""?0:n.lastIndexOf("%")>-1?n:parseInt(n.replace("px",""),10):n}function tt(t){switch(t.keyCode){case 27:c.jwGetFullscreen()&&c.jwSetFullscreen(!1);break;case 32:c.jwGetState()!=n.api.events.state.IDLE&&c.jwGetState()!=n.api.events.state.PAUSED?c.jwPause():c.jwPlay()}}function y(n,i){var r,u;h.style.display!="none"&&(r=[].concat(e.plugins.order),r.reverse(),p=r.length+2,e.fullscreen?navigator.vendor.indexOf("Apple")!==0&&w(ut,r,!0):(e.width=n,e.height=i,a=n,v=i,t(o,{top:0,bottom:0,left:0,right:0,width:n,height:i}),t(h,{height:v,width:a}),u=w(it,r),u.length>0&&(p+=u.length,w(rt,u,!0))),k())}function w(i,r,u){for(var f,o,h=[],s=0;s<r.length;s++)f=r[s],e.plugins.object[f].getDisplayElement!==undefined&&(e.plugins.config[f].currentPosition!=n.html5.view.positions.NONE?(o=i(f,p--),o?(e.plugins.object[f].resize(o.width,o.height),u&&(delete o.width,delete o.height),t(e.plugins.object[f].getDisplayElement(),o)):h.push(f)):t(e.plugins.object[f].getDisplayElement(),{display:"none"}));return h}function it(n,t){if(e.plugins.object[n].getDisplayElement!==undefined&&e.plugins.config[n].position&&i(e.plugins.config[n].position)){e.plugins.object[n].getDisplayElement().parentNode===null&&h.appendChild(e.plugins.object[n].getDisplayElement());var r=ft(n);return r.zIndex=t,r}return!1}function rt(n,t){e.plugins.object[n].getDisplayElement().parentNode===null&&o.appendChild(e.plugins.object[n].getDisplayElement());var i=e.width,r=e.height;return typeof e.width=="string"&&e.width.lastIndexOf("%")>-1&&(percentage=parseFloat(e.width.substring(0,e.width.lastIndexOf("%")))/100,i=Math.round(window.innerWidth*percentage)),typeof e.height=="string"&&e.height.lastIndexOf("%")>-1&&(percentage=parseFloat(e.height.substring(0,e.height.lastIndexOf("%")))/100,r=Math.round(window.innerHeight*percentage)),{position:"absolute",width:i-s(o.style.left)-s(o.style.right),height:r-s(o.style.top)-s(o.style.bottom),zIndex:t}}function ut(n,t){return{position:"fixed",width:e.width,height:e.height,zIndex:t}}function k(){var i,r,t;(o.style.position="absolute",e.getMedia().getDisplayElement().style.position="absolute",e.getMedia().getDisplayElement().videoWidth!=0&&e.getMedia().getDisplayElement().videoHeight!=0)&&(o.style.width.toString().lastIndexOf("%")>-1||o.style.width.toString().lastIndexOf("%")>-1?(t=o.getBoundingClientRect(),i=Math.abs(t.left)+Math.abs(t.right),r=Math.abs(t.top)+Math.abs(t.bottom)):(i=s(o.style.width),r=s(o.style.height)),n.utils.stretch(c.jwGetStretching(),e.getMedia().getDisplayElement(),i,r,e.getMedia().getDisplayElement().videoWidth,e.getMedia().getDisplayElement().videoHeight))}function ft(t){var i={position:"absolute",margin:0,padding:0,top:null},r=e.plugins.config[t].currentPosition.toLowerCase();switch(r.toUpperCase()){case n.html5.view.positions.TOP:i.top=s(o.style.top);i.left=s(o.style.left);i.width=a-s(o.style.left)-s(o.style.right);i.height=e.plugins.object[t].height;o.style[r]=s(o.style[r])+e.plugins.object[t].height+"px";o.style.height=s(o.style.height)-i.height+"px";break;case n.html5.view.positions.RIGHT:i.top=s(o.style.top);i.right=s(o.style.right);i.width=i.width=e.plugins.object[t].width;i.height=v-s(o.style.top)-s(o.style.bottom);o.style[r]=s(o.style[r])+e.plugins.object[t].width+"px";o.style.width=s(o.style.width)-i.width+"px";break;case n.html5.view.positions.BOTTOM:i.bottom=s(o.style.bottom);i.left=s(o.style.left);i.width=a-s(o.style.left)-s(o.style.right);i.height=e.plugins.object[t].height;o.style[r]=s(o.style[r])+e.plugins.object[t].height+"px";o.style.height=s(o.style.height)-i.height+"px";break;case n.html5.view.positions.LEFT:i.top=s(o.style.top);i.left=s(o.style.left);i.width=e.plugins.object[t].width;i.height=v-s(o.style.top)-s(o.style.bottom);o.style[r]=s(o.style[r])+e.plugins.object[t].width+"px";o.style.width=s(o.style.width)-i.width+"px"}return i}var c=r,l=u,e=f,h,a,v,o,p,d;this.setup=function(t){l=t;g();nt();c.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_LOADED,b);c.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_META,function(){k()});var i;window.onresize!==null&&(i=window.onresize);window.onresize=function(n){if(i!==undefined)try{i(n)}catch(r){}if(c.jwGetFullscreen()){var t=document.body.getBoundingClientRect();e.width=Math.abs(t.left)+Math.abs(t.right);e.height=window.innerHeight}y(e.width,e.height)}};this.resize=y;this.fullscreen=function(n){var r,i;if(navigator.vendor.indexOf("Apple")===0){if(e.getMedia().getDisplayElement().webkitSupportsFullscreen)if(n)try{e.getMedia().getDisplayElement().webkitEnterFullscreen()}catch(u){}else try{e.getMedia().getDisplayElement().webkitExitFullscreen()}catch(u){}}else n?(document.onkeydown=tt,clearInterval(d),r=document.body.getBoundingClientRect(),e.width=Math.abs(r.left)+Math.abs(r.right),e.height=window.innerHeight,i={position:"fixed",width:"100%",height:"100%",top:0,left:0,zIndex:2147483e3},t(h,i),i.zIndex=1,t(e.getMedia().getDisplayElement(),i),i.zIndex=2,t(o,i)):(document.onkeydown="",e.width=a,e.height=v,t(h,{position:"relative",height:e.height,width:e.width,zIndex:0})),y(e.width,e.height)}};n.html5.view.positions={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",LEFT:"LEFT",OVER:"OVER",NONE:"NONE"}}(jwplayer),function(n){var t={backgroundcolor:"",margin:10,font:"Arial,sans-serif",fontsize:10,fontcolor:parseInt("000000",16),fontstyle:"normal",fontweight:"bold",buttoncolor:parseInt("ffffff",16),position:n.html5.view.positions.BOTTOM,idlehide:!1,layout:{left:{position:"left",elements:[{name:"play",type:"button"},{name:"divider",type:"divider"},{name:"prev",type:"button"},{name:"divider",type:"divider"},{name:"next",type:"button"},{name:"divider",type:"divider"},{name:"elapsed",type:"text"}]},center:{position:"center",elements:[{name:"time",type:"slider"}]},right:{position:"right",elements:[{name:"duration",type:"text"},{name:"blank",type:"button"},{name:"divider",type:"divider"},{name:"mute",type:"button"},{name:"volume",type:"slider"},{name:"divider",type:"divider"},{name:"fullscreen",type:"button"}]}}};_css=n.utils.css;_hide=function(n){_css(n,{display:"none"})};_show=function(n){_css(n,{display:"block"})};n.html5.controlbar=function(i,r){function h(){return k||(k=u.skin.getSkinElement("controlbar","background"),k||(k={width:0,height:0,src:null})),k}function ht(){var i,n,r,t;v=0;y=0;et=0;p||(i={height:h().height,backgroundColor:s.backgroundcolor},e=document.createElement("div"),e.id=u.id+"_jwplayer_controlbar",_css(e,i));n=u.skin.getSkinElement("controlbar","capLeft");r=u.skin.getSkinElement("controlbar","capRight");n&&o("capLeft","left",!1,e);t={position:"absolute",height:h().height,left:n?n.width:0,zIndex:0};d("background",e,t,"img");h().src&&(f.background.src=h().src);t.zIndex=1;d("elements",e,t);r&&o("capRight","right",!1,e)}function ct(){var t=["timeSlider","volumeSlider","timeSliderRail","volumeSliderRail"],i,n;for(i in t)n=t[i],typeof f[n]!="undefined"&&(l[n]=f[n].getBoundingClientRect())}function ut(){tt||(n.utils.cancelAnimation(e),dt()?n.utils.fadeTo(e,1,0,1,0):n.utils.fadeTo(e,0,.1,1,2))}function dt(){return tt?!1:u.jwGetState()==n.api.events.state.IDLE||u.jwGetState()==n.api.events.state.PAUSED?s.idlehide?!1:!0:u.jwGetFullscreen()?!1:s.position==n.html5.view.positions.OVER?!1:!0}function d(n,t,i,r){var u;return p?u=document.getElementById(e.id+"_"+n):(r||(r="div"),u=document.createElement(r),f[n]=u,u.id=e.id+"_"+n,t.appendChild(u)),i!==undefined&&_css(u,i),u}function lt(){ft(s.layout.left);ft(s.layout.right,-1);ft(s.layout.center)}function ft(t,i){var f=t.position=="right"?"right":"left",u=n.utils.extend([],t.elements),r;for(i!==undefined&&u.reverse(),r=0;r<u.length;r++)ni(u[r],f)}function gt(){return et++}function ni(n,t){var i,e,s,p,c,r,l;if(n.type=="divider"){o("divider"+gt(),t,!0,undefined,undefined,n.width,n.element);return}switch(n.name){case"play":o("playButton",t,!1);o("pauseButton",t,!0);a("playButton","jwPlay");a("pauseButton","jwPause");break;case"prev":o("prevButton",t,!0);a("prevButton","jwPlaylistPrev");break;case"next":o("nextButton",t,!0);a("nextButton","jwPlaylistNext");break;case"elapsed":o("elapsedText",t,!0);break;case"time":e=u.skin.getSkinElement("controlbar","timeSliderCapLeft")===undefined?0:u.skin.getSkinElement("controlbar","timeSliderCapLeft").width;s=u.skin.getSkinElement("controlbar","timeSliderCapRight")===undefined?0:u.skin.getSkinElement("controlbar","timeSliderCapRight").width;i=t=="left"?e:s;p=u.skin.getSkinElement("controlbar","timeSliderRail").width+e+s;c={height:h().height,position:"absolute",top:0,width:p};c[t]=t=="left"?v:y;r=d("timeSlider",f.elements,c);o("timeSliderCapLeft",t,!0,r,t=="left"?0:i);o("timeSliderRail",t,!1,r,i);o("timeSliderBuffer",t,!1,r,i);o("timeSliderProgress",t,!1,r,i);o("timeSliderThumb",t,!1,r,i);o("timeSliderCapRight",t,!0,r,t=="right"?0:i);vt("time");break;case"fullscreen":o("fullscreenButton",t,!1);o("normalscreenButton",t,!0);a("fullscreenButton","jwSetFullscreen",!0);a("normalscreenButton","jwSetFullscreen",!1);break;case"volume":e=u.skin.getSkinElement("controlbar","volumeSliderCapLeft")===undefined?0:u.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;s=u.skin.getSkinElement("controlbar","volumeSliderCapRight")===undefined?0:u.skin.getSkinElement("controlbar","volumeSliderCapRight").width;i=t=="left"?e:s;p=u.skin.getSkinElement("controlbar","volumeSliderRail").width+e+s;c={height:h().height,position:"absolute",top:0,width:p};c[t]=t=="left"?v:y;l=d("volumeSlider",f.elements,c);o("volumeSliderCapLeft",t,!0,l,t=="left"?0:i);o("volumeSliderRail",t,!0,l,i);o("volumeSliderProgress",t,!1,l,i);o("volumeSliderCapRight",t,!0,l,t=="right"?0:i);vt("volume");break;case"mute":o("muteButton",t,!1);o("unmuteButton",t,!0);a("muteButton","jwSetMute",!0);a("unmuteButton","jwSetMute",!1);break;case"duration":o("durationText",t,!0)}}function o(t,i,r,e,o,c,l){var a,w,k,b;(u.skin.getSkinElement("controlbar",t)!==undefined||t.indexOf("Text")>0||t.indexOf("divider")===0)&&(a={height:h().height,position:"absolute",display:"block",top:0},(t.indexOf("next")===0||t.indexOf("prev")===0)&&u.jwGetPlaylist().length<2&&(r=!1,a.display="none"),t.indexOf("Text")>0?(t.innerhtml="00:00",a.font=s.fontsize+"px/"+(h().height+1)+"px "+s.font,a.color=s.fontcolor,a.textAlign="center",a.fontWeight=s.fontweight,a.fontStyle=s.fontstyle,a.cursor="default",w=14+3*s.fontsize):t.indexOf("divider")===0?c?isNaN(parseInt(c))||(w=parseInt(c)):l?(k=u.skin.getSkinElement("controlbar",l),k&&(a.background="url("+k.src+") repeat-x center left",w=k.width)):(a.background="url("+u.skin.getSkinElement("controlbar","divider").src+") repeat-x center left",w=u.skin.getSkinElement("controlbar","divider").width):(a.background="url("+u.skin.getSkinElement("controlbar",t).src+") repeat-x center left",w=u.skin.getSkinElement("controlbar",t).width),i=="left"?(a.left=isNaN(o)?v:o,r&&(v+=w)):i=="right"&&(a.right=isNaN(o)?y:o,r&&(y+=w)),n.utils.typeOf(e)=="undefined"&&(e=f.elements),a.width=w,p?_css(f[t],a):(b=d(t,e,a),u.skin.getSkinElement("controlbar",t+"Over")!==undefined&&(b.onmouseover=function(){b.style.backgroundImage=["url(",u.skin.getSkinElement("controlbar",t+"Over").src,")"].join("")},b.onmouseout=function(){b.style.backgroundImage=["url(",u.skin.getSkinElement("controlbar",t).src,")"].join("")})))}function ti(){u.jwAddEventListener(n.api.events.JWPLAYER_PLAYLIST_LOADED,ii);u.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_BUFFER,it);u.jwAddEventListener(n.api.events.JWPLAYER_PLAYER_STATE,pt);u.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_TIME,g);u.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_MUTE,yt);u.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_VOLUME,kt);u.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_COMPLETE,ui)}function ii(){ht();lt();bt();at()}function at(){g({id:u.id,duration:u.jwGetDuration(),position:0});it({id:u.id,bufferProgress:0});yt({id:u.id,mute:u.jwGetMute()});pt({id:u.id,newstate:n.api.events.state.IDLE});kt({id:u.id,volume:u.jwGetVolume()})}function a(n,t,i){if(!p&&u.skin.getSkinElement("controlbar",n)!==undefined){var r=f[n];r!==null&&(_css(r,{cursor:"pointer"}),r.onmouseup=t=="fullscreen"?function(n){n.stopPropagation();u.jwSetFullscreen(!u.jwGetFullscreen())}:function(n){n.stopPropagation();i!==null?u[t](i):u[t]()})}}function vt(n){if(!p){var t=f[n+"Slider"];_css(f.elements,{cursor:"pointer"});_css(t,{cursor:"pointer"});t.onmousedown=function(){w=n};t.onmouseup=function(n){n.stopPropagation();ri(n.pageX)};t.onmousemove=function(t){if(w=="time"){rt=!0;var i=t.pageX-l[n+"Slider"].left-window.pageXOffset;_css(f.timeSliderThumb,{left:i})}}}}function ri(t){var f,i,r;rt=!1;w=="time"?(f=t-l.timeSliderRail.left+window.pageXOffset,i=f/l.timeSliderRail.width*c,i<0?i=0:i>c&&(i=c-3),(u.jwGetState()==n.api.events.state.PAUSED||u.jwGetState()==n.api.events.state.IDLE)&&u.jwPlay(),u.jwSeek(i)):w=="volume"&&(f=t-l.volumeSliderRail.left-window.pageXOffset,r=Math.round(f/l.volumeSliderRail.width*100),r<0?r=0:r>100&&(r=100),u.jwGetMute()&&u.jwSetMute(!1),u.jwSetVolume(r));w="none"}function it(n){if(n.bufferPercent!==null&&(nt=n.bufferPercent),l.timeSliderRail){var t=l.timeSliderRail.width,i=isNaN(Math.round(t*nt/100))?0:Math.round(t*nt/100);_css(f.timeSliderBuffer,{width:i})}}function yt(n){n.mute?(_hide(f.muteButton),_show(f.unmuteButton),_hide(f.volumeSliderProgress)):(_show(f.muteButton),_hide(f.unmuteButton),_show(f.volumeSliderProgress))}function pt(t){t.newstate==n.api.events.state.BUFFERING||t.newstate==n.api.events.state.PLAYING?(_show(f.pauseButton),_hide(f.playButton)):(_hide(f.pauseButton),_show(f.playButton));ut();t.newstate==n.api.events.state.IDLE?(_hide(f.timeSliderBuffer),_hide(f.timeSliderProgress),_hide(f.timeSliderThumb),g({id:u.id,duration:u.jwGetDuration(),position:0})):(_show(f.timeSliderBuffer),t.newstate!=n.api.events.state.BUFFERING&&(_show(f.timeSliderProgress),_show(f.timeSliderThumb)))}function ui(t){it({bufferPercent:0});g(n.utils.extend(t,{position:0,duration:c}))}function g(n){var i,t,r,u;n.position!==null&&(b=n.position);n.duration!==null&&(c=n.duration);i=b/c;t=l.timeSliderRail;t&&(r=isNaN(Math.round(t.width*i))?0:Math.round(t.width*i),u=r,f.timeSliderProgress&&(f.timeSliderProgress.style.width=r+"px",rt||f.timeSliderThumb&&(f.timeSliderThumb.style.left=u+"px")));f.durationText&&(f.durationText.innerHTML=wt(c));f.elapsedText&&(f.elapsedText.innerHTML=wt(b))}function wt(n){return str="00:00",n>0&&(str=(Math.floor(n/60)<10?"0"+Math.floor(n/60)+":":Math.floor(n/60)+":")+(Math.floor(n%60)<10?"0"+Math.floor(n%60):Math.floor(n%60))),str}function fi(){var r,i,t=document.getElementById(e.id+"_elements").childNodes;for(var n in document.getElementById(e.id+"_elements").childNodes)isNaN(parseInt(n,10))||(t[n].id.indexOf(e.id+"_divider")===0&&i&&i.id.indexOf(e.id+"_divider")===0&&t[n].style.backgroundImage==i.style.backgroundImage?t[n].style.display="none":t[n].id.indexOf(e.id+"_divider")===0&&r&&r.style.display!="none"&&(t[n].style.display="block"),t[n].style.display!="none"&&(i=t[n]),r=t[n])}function bt(){var t,i,r,o,c;return fi(),u.jwGetFullscreen()?(_show(f.normalscreenButton),_hide(f.fullscreenButton)):(_hide(f.normalscreenButton),_show(f.fullscreenButton)),t={width:ot},i={},s.position==n.html5.view.positions.OVER||u.jwGetFullscreen()?(t.left=s.margin,t.width-=2*s.margin,t.top=st-h().height-s.margin,t.height=h().height):t.left=0,r=u.skin.getSkinElement("controlbar","capLeft"),o=u.skin.getSkinElement("controlbar","capRight"),i.left=r?r.width:0,i.width=t.width-i.left-(o?o.width:0),c=u.skin.getSkinElement("controlbar","timeSliderCapLeft")===undefined?0:u.skin.getSkinElement("controlbar","timeSliderCapLeft").width,_css(f.timeSliderRail,{width:i.width-v-y,left:c}),f.timeSliderCapRight!==undefined&&_css(f.timeSliderCapRight,{left:c+(i.width-v-y)}),_css(e,t),_css(f.elements,i),_css(f.background,i),ct(),t}function kt(n){if(f.volumeSliderRail!==undefined){var t=isNaN(n.volume/100)?1:n.volume/100,i=parseInt(f.volumeSliderRail.style.width.replace("px",""),10),r=isNaN(Math.round(i*t))?0:Math.round(i*t),o=parseInt(f.volumeSliderRail.style.right.replace("px",""),10),e=u.skin.getSkinElement("controlbar","volumeSliderCapLeft")===undefined?0:u.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;_css(f.volumeSliderProgress,{width:r,left:e});f.volumeSliderCapLeft!==undefined&&_css(f.volumeSliderCapLeft,{left:0})}}function ei(){ht();lt();ct();p=!0;ti();at();e.style.opacity=s.idlehide?0:1}var u=i,s=n.utils.extend({},t,u.skin.getComponentSettings("controlbar"),r);if(s.position!=n.html5.view.positions.NONE&&typeof n.html5.view.positions[s.position]!="undefined"){n.utils.mapLength(u.skin.getComponentLayout("controlbar"))>0&&(s.layout=u.skin.getComponentLayout("controlbar"));var e,et,v,y,w="none",rt,b,c,nt,ot,st,f={},p=!1,l={},k,tt=!1;return this.getDisplayElement=function(){return e},this.resize=function(t,i){n.utils.cancelAnimation(e);document.getElementById(u.id).onmousemove=ut;ot=t;st=i;ut();var r=bt();return g({id:u.id,duration:c,position:b}),it({id:u.id,bufferPercent:nt}),r},this.show=function(){tt=!1;_show(e)},this.hide=function(){tt=!0;_hide(e)},ei(),this}}}(jwplayer),function(n){n.html5.controller=function(t,i,r,u){function a(n){e.sendEvent(n.type,n)}function s(){try{return f.playlist[f.item].levels[0].file.length>0&&(l||f.state==n.api.events.state.IDLE?(f.addEventListener(n.api.events.JWPLAYER_MEDIA_BUFFER_FULL,function(){f.getMedia().play()}),f.addEventListener(n.api.events.JWPLAYER_MEDIA_TIME,function(n){n.position>=f.playlist[f.item].start&&h>=0&&(f.playlist[f.item].start=h,h=-1)}),f.config.repeat&&f.addEventListener(n.api.events.JWPLAYER_MEDIA_COMPLETE,function(){setTimeout(ft,25)}),f.getMedia().load(f.playlist[f.item]),l=!1):f.state==n.api.events.state.PAUSED&&f.getMedia().play()),!0}catch(t){e.sendEvent(n.api.events.JWPLAYER_ERROR,t)}return!1}function k(){try{if(f.playlist[f.item].levels[0].file.length>0)switch(f.state){case n.api.events.state.PLAYING:case n.api.events.state.BUFFERING:f.getMedia().pause()}return!0}catch(t){e.sendEvent(n.api.events.JWPLAYER_ERROR,t)}return!1}function d(t){try{if(f.playlist[f.item].levels[0].file.length>0){typeof t!="number"&&(t=parseFloat(t));switch(f.state){case n.api.events.state.IDLE:h<0&&(h=f.playlist[f.item].start,f.playlist[f.item].start=t);s();break;case n.api.events.state.PLAYING:case n.api.events.state.PAUSED:case n.api.events.state.BUFFERING:f.seek(t)}}return!0}catch(i){e.sendEvent(n.api.events.JWPLAYER_ERROR,i)}return!1}function v(){try{return f.playlist[f.item].levels[0].file.length>0&&f.state!=n.api.events.state.IDLE&&f.getMedia().stop(),!0}catch(t){e.sendEvent(n.api.events.JWPLAYER_ERROR,t)}return!1}function y(){try{return f.playlist[f.item].levels[0].file.length>0&&(f.config.shuffle?o(p()):f.item+1==f.playlist.length?o(0):o(f.item+1)),f.state!=n.api.events.state.PLAYING&&f.state!=n.api.events.state.BUFFERING&&s(),!0}catch(t){e.sendEvent(n.api.events.JWPLAYER_ERROR,t)}return!1}function g(){try{return f.playlist[f.item].levels[0].file.length>0&&(f.config.shuffle?o(p()):f.item===0?o(f.playlist.length-1):o(f.item-1)),f.state!=n.api.events.state.PLAYING&&f.state!=n.api.events.state.BUFFERING&&s(),!0}catch(t){e.sendEvent(n.api.events.JWPLAYER_ERROR,t)}return!1}function p(){var n=null;if(f.playlist.length>1)while(n===null)n=Math.floor(Math.random()*f.playlist.length),n==f.item&&(n=null);else n=0;return n}function o(t){f.resetEventListeners();f.addGlobalListener(a);try{if(f.playlist[t].levels[0].file.length>0){var i=f.state;i!==n.api.events.state.IDLE&&v();f.item=t;l=!0;f.setActiveMediaProvider(f.playlist[f.item]);e.sendEvent(n.api.events.JWPLAYER_PLAYLIST_ITEM,{index:t});(i==n.api.events.state.PLAYING||i==n.api.events.state.BUFFERING||f.config.chromeless||r.config.autostart===!0)&&s()}return!0}catch(u){e.sendEvent(n.api.events.JWPLAYER_ERROR,u)}return!1}function nt(t){try{switch(typeof t){case"number":f.getMedia().volume(t);break;case"string":f.getMedia().volume(parseInt(t,10))}return!0}catch(i){e.sendEvent(n.api.events.JWPLAYER_ERROR,i)}return!1}function tt(t){try{return typeof t=="undefined"?f.getMedia().mute(!f.mute):t.toString().toLowerCase()=="true"?f.getMedia().mute(!0):f.getMedia().mute(!1),!0}catch(i){e.sendEvent(n.api.events.JWPLAYER_ERROR,i)}return!1}function it(t,i){try{return f.width=t,f.height=i,c.resize(t,i),e.sendEvent(n.api.events.JWPLAYER_RESIZE,{width:f.width,height:f.height}),!0}catch(r){e.sendEvent(n.api.events.JWPLAYER_ERROR,r)}return!1}function rt(t){try{return typeof t=="undefined"?(f.fullscreen=!f.fullscreen,c.fullscreen(!f.fullscreen)):t.toString().toLowerCase()=="true"?(f.fullscreen=!0,c.fullscreen(!0)):(f.fullscreen=!1,c.fullscreen(!1)),e.sendEvent(n.api.events.JWPLAYER_RESIZE,{width:f.width,height:f.height}),e.sendEvent(n.api.events.JWPLAYER_FULLSCREEN,{fullscreen:t}),!0}catch(i){e.sendEvent(n.api.events.JWPLAYER_ERROR,i)}return!1}function ut(t){try{return v(),f.loadPlaylist(t),o(f.item),!0}catch(i){e.sendEvent(n.api.events.JWPLAYER_ERROR,i)}return!1}function ft(){f.resetEventListeners();f.addGlobalListener(a);switch(f.config.repeat.toUpperCase()){case n.html5.controller.repeatoptions.SINGLE:s();break;case n.html5.controller.repeatoptions.ALWAYS:f.item!=f.playlist.length-1||f.config.shuffle?y():(o(0),s());break;case n.html5.controller.repeatoptions.LIST:f.item!=f.playlist.length-1||f.config.shuffle?y():o(0)}}var et=t,f=r,c=u,w=i,l=!0,h=-1,b=f.config.debug!==undefined&&f.config.debug.toString().toLowerCase()=="console",e=new n.html5.eventdispatcher(w.id,b);n.utils.extend(this,e);f.addGlobalListener(a);n.html5.controller.repeatoptions={LIST:"LIST",ALWAYS:"ALWAYS",SINGLE:"SINGLE",NONE:"NONE"};this.play=s;this.pause=k;this.seek=d;this.stop=v;this.next=y;this.prev=g;this.item=o;this.setVolume=nt;this.setMute=tt;this.resize=it;this.setFullscreen=rt;this.load=ut}}(jwplayer),function(n){n.html5.defaultSkin=function(){return this.text='<?xml version="1.0" ?><skin author="LongTail Video" name="Five" version="1.0"><settings><setting name="backcolor" value="0xFFFFFF"/><setting name="frontcolor" value="0x000000"/><setting name="lightcolor" value="0x000000"/><setting name="screencolor" value="0x000000"/><\/settings><components><component name="controlbar"><settings><setting name="margin" value="20"/><setting name="fontsize" value="11"/><\/settings><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNrslLENwAAIwxLU/09j5AiOgD5hVQzNAVY8JK4qEfHMIKBnd2+BQlBINaiRtL/aV2rdzYBsM6CIONbI1NZENTr3RwdB2PlnJgJ6BRgA4hwu5Qg5iswAAAAASUVORK5CYII="/><element name="capLeft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="capRight" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="divider" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="playButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEhJREFUeNpiYqABYBo1dNRQ+hr6H4jvA3E8NS39j4SpZvh/LJig4YxEGEqy3kET+w+AOGFQRhTJhrEQkGcczfujhg4CQwECDADpTRWU/B3wHQAAAABJRU5ErkJggg=="/><element name="pauseButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAChJREFUeNpiYBgFo2DwA0YC8v/R1P4nRu+ooaOGUtnQUTAKhgIACDAAFCwQCfAJ4gwAAAAASUVORK5CYII="/><element name="prevButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtJREFUeNpiYBgFo2Dog/9QDAPyQHweTYwiQ/2B+D0Wi8g2tB+JTdBQRiIMJVkvEy0iglhDF9Aq9uOpHVEwoE+NJDUKRsFgAAABBgDe2hqZcNNL0AAAAABJRU5ErkJggg=="/><element name="nextButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUeNpiYBgFo2Dog/9AfB6I5dHE/lNqKAi/B2J/ahsKw/3EGMpIhKEk66WJoaR6fz61IyqemhEFSlL61ExSo2AUDAYAEGAAiG4hj+5t7M8AAAAASUVORK5CYII="/><element name="timeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNpiYBgFo2AU0Bwwzluw+D8tLWARFhKiqQ9YuLg4aWsBGxs7bS1gZ6e5BWyjSX0UjIKhDgACDABlYQOGh5pYywAAAABJRU5ErkJggg=="/><element name="timeSliderBuffer" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFo2AU0Bww1jc0/aelBSz8/Pw09QELOzs7bS1gY2OjrQWsrKy09gHraFIfBaNgqAOAAAMAvy0DChXHsZMAAAAASUVORK5CYII="/><element name="timeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiYBgFo2AU0BwwAvF/WlrARGsfjFow8BaMglEwCugAAAIMAOHfAQunR+XzAAAAAElFTkSuQmCC"/><element name="timeSliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAYAAAA870V8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpiZICA/yCCiQEJUJcDEGAAY0gBD1/m7Q0AAAAASUVORK5CYII="/><element name="muteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiYBgFIw3MB+L/5Gj8j6yRiRTFyICJXHfTXyMLAXlGati4YDRFDj8AEGAABk8GSqqS4CoAAAAASUVORK5CYII="/><element name="unmuteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFgxz8p7bm+cQa+h8LHy7GhEcjIz4bmAjYykiun/8j0fakGPIfTfPgiSr6aB4FVAcAAQYAWdwR1G1Wd2gAAAAASUVORK5CYII="/><element name="volumeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGpJREFUeNpi/P//PwM9ABMDncCoRYPfIqqDZcuW1UPp/6AUDcNM1DQYKtRAlaAj1mCSLSLXYIIWUctgDItoZfDA5aOoqKhGEANIM9LVR7SymGDQUctikuOIXkFNdhHEOFrDjlpEd4sAAgwAriRMub95fu8AAAAASUVORK5CYII="/><element name="volumeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUeNpi/P//PwM9ABMDncCoRYPfIlqAeij9H5SiYZiqBqPTlFqE02BKLSLaYFItIttgQhZRzWB8FjENiuRJ7aAbsMQwYMl7wDIsWUUQ42gNO2oR3S0CCDAAKhKq6MLLn8oAAAAASUVORK5CYII="/><element name="fullscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpiYBgFo2DQA0YC8v/xqP1PjDlMRDrEgUgxkgHIlfZoriVGjmzLsLFHAW2D6D8eA/9Tw7L/BAwgJE90PvhPpNgoGAVDEQAEGAAMdhTyXcPKcAAAAABJRU5ErkJggg=="/><element name="normalscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNpiYBgFo2DIg/9UUkOUAf8JiFFsyX88fJyAkcQgYMQjNkzBoAgiezyRbE+tFGSPxQJ7auYBmma0UTAKBhgABBgAJAEY6zON61sAAAAASUVORK5CYII="/><\/elements><\/component><component name="display"><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC"/><element name="playIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg=="/><element name="muteIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNrs1jEOgCAMBVAg7t5/8qaoIy4uoobyXsLCxA+0NCUAAADGUWvdQoQ41x4ixNBB2hBvBskdD3w5ZCkl3+33VqI0kjBBlh9rp+uTcyOP33TnolfsU85XX3yIRpQph8ZQY3wTZtU5AACASA4BBgDHoVuY1/fvOQAAAABJRU5ErkJggg=="/><element name="errorIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWlJREFUeNrsl+1twjAQhsHq/7BBYQLYIBmBDcoGMAIjtBPQTcII2SDtBDBBwrU6pGsUO7YbO470PtKJkz9iH++d4ywWAAAAAABgljRNsyWr2bZzDuJG1rLdZhcMbTjrBCGDyUKsqQLFciJb9bSvuG/WagRVRUVUI6gqy5HVeKWfSgRyJruKIU//TrZTSn2nmlaXThrloi/v9F2STC1W4+Aw5cBzkquRc09bofFNc6YLxEON0VUZS5FPTftO49vMjRsIF3RhOGr7/D/pJw+FKU+q0vDyq8W42jCunDqI3LC5XxNj2wHLU1XjaRnb0Lhykhqhhd8MtSF5J9tbjCv4mXGvKJz/65FF/qJryyaaIvzP2QRxZTX2nTuXjvV/VPFSwyLnW7mpH99yTh1FEVro6JBSd40/pMrRdV8vPtcKl28T2pT8TnFZ4yNosct3Q0io6JfBiz1FlGdqVQH3VHnepAEAAAAAADDzEGAAcTwB10jWgxcAAAAASUVORK5CYII="/><element name="bufferIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuhJREFUeNrsWr9rU1EUznuNGqvFQh1ULOhiBx0KDtIuioO4pJuik3FxFfUPaAV1FTdx0Q5d2g4FFxehTnEpZHFoBy20tCIWtGq0TZP4HfkeHB5N8m6Sl/sa74XDybvv3vvOd8/Pe4lXrVZT3dD8VJc0B8QBcUAcEAfESktHGeR5XtMfqFQq/f92zPe/NbtGlKTdCY30kuxrpMGO94BlQCXs+rbh3ONgA6BlzP1p20d80gEI5hmA2A92Qua1Q2PtAFISM+bvjMG8U+Q7oA3rQGASwrYCU6WpNdLGYbA+Pq5jjXIiwi8EEa2UDbQSaKOIuV+SlkcCrfjY8XTI9EpKGwP0C2kru2hLtHqa4zoXtZRWyvi4CLwv9Opr6Hkn6A9HKgEANsQ1iqC3Ub/vRUk2JgmRkatK36kVrnt0qObunwUdUUMXMWYpakJsO5Am8tAw2GBIgwWA+G2S2dMpiw0gDioQRQJoKhRb1QiDwlHZUABYbaXWsm5ae6loTE4ZDxN4CZar8foVzOJ2iyZ2kWF3t7YIevffaMT5yJ70kQb2fQ1sE5SHr2wazs2wgMxgbsEKEAgxAvZUJbQLBGTSBMgNrncJbA6AljtS/eKDJ0Ez+DmrQEzXS2h1Ck25kAg0IZcUOaydCy4sYnN2fOA+2AP16gNoHALlQ+fwH7XO4CxLenUpgj4xr6ugY2roPMbMx+Xs18m/E8CVEIhxsNeg83XWOAN6grG3lGbk8uE5fr4B/WH3cJw+co/l9nTYsSGYCJ/lY5/qv0thn6nrIWmjeJcPSnWOeY++AkF8tpJHIMAUs/MaBBpj3znZfQo5psY+ZrG4gv5HickjEOymKjEeRpgyST6IuZcTcWbnjcgdPi5ghxciRKsl1lDSsgwA1i8fssonJgzmTSqfGUkCENndNdAL7PS6QQ7ZYISTo+1qq0LEWjTWcvY4isa4z+yfQB+7ooyHVg5RI7/i1Ijn/vnggDggDogD4oC00P4KMACd/juEHOrS4AAAAABJRU5ErkJggg=="/><\/elements><\/component><component name="dock"><elements><element name="button" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUeNrs0cEJACAQA8Eofu0fu/W6EM5ZSAFDRpKTBs00CQQEBAQEBAQEBAQEBAQEBATkK8iqbY+AgICAgICAgICAgICAgICAgIC86QowAG5PAQzEJ0lKAAAAAElFTkSuQmCC"/><\/elements><\/component><component name="playlist"><elements><element name="item" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAIAAAC1nk4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUeNrs2NEJwCAMBcBYuv/CFuIE9VN47WWCR7iocXR3pdWdGPqqwIoMjYfQeAiNh9B4JHc6MHQVHnjggQceeOCBBx77TifyeOY0iHi8DqIdEY8dD5cL094eePzINB5CO/LwcOTptNB4CP25L4TIbZzpU7UEGAA5wz1uF5rF9AAAAABJRU5ErkJggg=="/><element name="sliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNrsy6ENACAMAMHClp2wYxZLAg5Fcu9e3OjuOKqqfTMzbs14CIZhGIZhGIZhGP4VLwEGAK/BBnVFpB0oAAAAAElFTkSuQmCC"/><element name="sliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNrsy7ENACAMBLE8++8caFFKKiRffU53112SGs3ttOohGIZhGIZhGIZh+Fe8BRgAiaUGde6NOSEAAAAASUVORK5CYII="/><\/elements><\/component><\/components><\/skin>',this.xml=null,window.DOMParser?(parser=new DOMParser,this.xml=parser.parseFromString(this.text,"text/xml")):(this.xml=new ActiveXObject("Microsoft.XMLDOM"),this.xml.async="false",this.xml.loadXML(this.text)),this}}(jwplayer),function(n){_css=n.utils.css;_hide=function(n){_css(n,{display:"none"})};_show=function(n){_css(n,{display:"block"})};n.html5.display=function(t,i){function it(){r.display=e("div","display");r.display_text=e("div","display_text");r.display.appendChild(r.display_text);r.display_image=e("img","display_image");r.display_image.onerror=function(){_hide(r.display_image)};r.display_image.onload=d;r.display_icon=e("div","display_icon");r.display_iconBackground=e("div","display_iconBackground");r.display.appendChild(r.display_image);r.display_iconBackground.appendChild(r.display_icon);r.display.appendChild(r.display_iconBackground);rt()}function d(){b=r.display_image.naturalWidth;k=r.display_image.naturalHeight;g()}function g(){n.utils.stretch(u.jwGetStretching(),r.display_image,o,f,b,k)}function e(n,t){var i=document.createElement(n);return i.id=u.id+"_jwplayer_"+t,_css(i,v[t].style),i}function rt(){for(var n in r)v[n].click!==undefined&&(r[n].onclick=v[n].click)}function ut(t){typeof t.preventDefault!="undefined"?t.preventDefault():t.returnValue=!1;u.jwGetState()!=n.api.events.state.PLAYING?u.jwPlay():u.jwPause()}function s(n){if(c||!w.icons){y();return}_show(r.display_iconBackground);r.display_icon.style.backgroundImage=["url(",u.skin.getSkinElement("display",n).src,")"].join("");_css(r.display_icon,{display:"block",width:u.skin.getSkinElement("display",n).width,height:u.skin.getSkinElement("display",n).height,top:(u.skin.getSkinElement("display","background").height-u.skin.getSkinElement("display",n).height)/2,left:(u.skin.getSkinElement("display","background").width-u.skin.getSkinElement("display",n).width)/2});u.skin.getSkinElement("display",n+"Over")!==undefined?(r.display_icon.onmouseover=function(){r.display_icon.style.backgroundImage=["url(",u.skin.getSkinElement("display",n+"Over").src,")"].join("")},r.display_icon.onmouseout=function(){r.display_icon.style.backgroundImage=["url(",u.skin.getSkinElement("display",n).src,")"].join("")}):(r.display_icon.onmouseover=null,r.display_icon.onmouseout=null)}function y(){_hide(r.display_icon);_hide(r.display_iconBackground)}function ft(n){c=!0;y();r.display_text.innerHTML=n.error;_show(r.display_text);r.display_text.style.top=(f-r.display_text.getBoundingClientRect().height)/2+"px"}function p(){var n=r.display_image;r.display_image=e("img","display_image");r.display_image.onerror=function(){_hide(r.display_image)};r.display_image.onload=d;r.display.replaceChild(r.display_image,n)}function l(t){(t.type==n.api.events.JWPLAYER_PLAYER_STATE||t.type==n.api.events.JWPLAYER_PLAYLIST_ITEM)&&c&&(c=!1,_hide(r.display_text));h!==undefined&&(clearInterval(h),h=null,n.utils.animations.rotate(r.display_icon,0));switch(u.jwGetState()){case n.api.events.state.BUFFERING:s("bufferIcon");a=0;h=setInterval(function(){a+=nt;n.utils.animations.rotate(r.display_icon,a%360)},tt);s("bufferIcon");break;case n.api.events.state.PAUSED:u.jwGetPlaylist()[u.jwGetItem()].provider!="sound"&&_css(r.display_image,{background:"transparent no-repeat center center"});s("playIcon");break;case n.api.events.state.IDLE:u.jwGetPlaylist()[u.jwGetItem()].image?(_css(r.display_image,{display:"block"}),r.display_image.src=n.utils.getAbsolutePath(u.jwGetPlaylist()[u.jwGetItem()].image)):p();s("playIcon");break;default:u.jwGetMute()&&w.showmute?(u.jwGetPlaylist()[u.jwGetItem()].provider!="sound"&&p(),s("muteIcon")):(u.jwGetPlaylist()[u.jwGetItem()].provider!="sound"&&p(),_hide(r.display_iconBackground),_hide(r.display_icon))}}var w=n.utils.extend({},{icons:!0},i),u=t,r={},o,f,b,k,a,h,c,nt=u.skin.getComponentSettings("display").bufferrotation===undefined?15:parseInt(u.skin.getComponentSettings("display").bufferrotation,10),tt=u.skin.getComponentSettings("display").bufferinterval===undefined?100:parseInt(u.skin.getComponentSettings("display").bufferinterval,10),v={display:{style:{cursor:"pointer",top:0,left:0,overflow:"hidden"},click:ut},display_icon:{style:{cursor:"pointer",position:"absolute",top:(u.skin.getSkinElement("display","background").height-u.skin.getSkinElement("display","playIcon").height)/2,left:(u.skin.getSkinElement("display","background").width-u.skin.getSkinElement("display","playIcon").width)/2,border:0,margin:0,padding:0,zIndex:3}},display_iconBackground:{style:{cursor:"pointer",position:"absolute",top:(f-u.skin.getSkinElement("display","background").height)/2,left:(o-u.skin.getSkinElement("display","background").width)/2,border:0,backgroundImage:["url(",u.skin.getSkinElement("display","background").src,")"].join(""),width:u.skin.getSkinElement("display","background").width,height:u.skin.getSkinElement("display","background").height,margin:0,padding:0,zIndex:2}},display_image:{style:{display:"none",width:o,height:f,position:"absolute",cursor:"pointer",left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1}},display_text:{style:{zIndex:4,position:"relative",opacity:.8,backgroundColor:parseInt("000000",16),color:parseInt("ffffff",16),textAlign:"center",fontFamily:"Arial,sans-serif",padding:"0 5px",fontSize:14}}};return u.jwAddEventListener(n.api.events.JWPLAYER_PLAYER_STATE,l),u.jwAddEventListener(n.api.events.JWPLAYER_MEDIA_MUTE,l),u.jwAddEventListener(n.api.events.JWPLAYER_PLAYLIST_ITEM,l),u.jwAddEventListener(n.api.events.JWPLAYER_ERROR,ft),it(),this.getDisplayElement=function(){return r.display},this.resize=function(n,t){o=n;f=t;_css(r.display,{width:n,height:t});_css(r.display_text,{width:n-10,top:(f-r.display_text.getBoundingClientRect().height)/2});_css(r.display_iconBackground,{top:(f-u.skin.getSkinElement("display","background").height)/2,left:(o-u.skin.getSkinElement("display","background").width)/2});g();l({})},this.show=function(){_show(r.display_icon);_show(r.display_iconBackground)},this.hide=function(){y()},this}}(jwplayer),function(n){_css=n.utils.css;n.html5.dock=function(t,i){function c(){return{align:n.html5.view.positions.RIGHT}}function h(i,f){var l,a;if(o=i,s=f,u.length>0){var h=10,v=i-t.skin.getSkinElement("dock","button").width-h,c=h,y=-1;for(e.align==n.html5.view.positions.LEFT&&(y=1,v=h),l=0;l<u.length;l++)a=Math.floor(c/f),c+t.skin.getSkinElement("dock","button").height+h>(a+1)*f&&(c=(a+1)*f+h,a=Math.floor(c/f)),r[u[l]].div.style.top=c%f+"px",r[u[l]].div.style.left=v+(t.skin.getSkinElement("dock","button").width+h)*a*y+"px",c+=t.skin.getSkinElement("dock","button").height+h}}var e=n.utils.extend({},c(),i);if(e.align!="FALSE"){var r={},u=[],o,s,f=document.createElement("div");return f.id=t.id+"_jwplayer_dock",this.getDisplayElement=function(){return f},this.setButton=function(i,e,c,l){!e&&r[i]?(n.utils.arrays.remove(u,i),f.removeChild(r[i].div),delete r[i]):e&&(r[i]||(r[i]={}),r[i].handler=e,r[i].outGraphic=c,r[i].overGraphic=l,r[i].div||(u.push(i),r[i].div=document.createElement("div"),r[i].div.style.position="relative",f.appendChild(r[i].div),r[i].div.appendChild(document.createElement("img")),r[i].div.childNodes[0].style.position="absolute",r[i].div.childNodes[0].style.left=0,r[i].div.childNodes[0].style.top=0,r[i].div.childNodes[0].style.zIndex=10,r[i].div.childNodes[0].style.cursor="pointer",r[i].div.appendChild(document.createElement("img")),r[i].div.childNodes[1].style.position="absolute",r[i].div.childNodes[1].style.left=0,r[i].div.childNodes[1].style.top=0,t.skin.getSkinElement("dock","button")&&(r[i].div.childNodes[1].src=t.skin.getSkinElement("dock","button").src),r[i].div.childNodes[1].style.zIndex=9,r[i].div.childNodes[1].style.cursor="pointer",r[i].div.onmouseover=function(){r[i].overGraphic&&(r[i].div.childNodes[0].src=r[i].overGraphic);t.skin.getSkinElement("dock","buttonOver")&&(r[i].div.childNodes[1].src=t.skin.getSkinElement("dock","buttonOver").src)},r[i].div.onmouseout=function(){r[i].outGraphic&&(r[i].div.childNodes[0].src=r[i].outGraphic);t.skin.getSkinElement("dock","button")&&(r[i].div.childNodes[1].src=t.skin.getSkinElement("dock","button").src)},r[i].overGraphic&&(r[i].div.childNodes[0].src=r[i].overGraphic),r[i].outGraphic&&(r[i].div.childNodes[0].src=r[i].outGraphic),t.skin.getSkinElement("dock","button")&&(r[i].div.childNodes[1].src=t.skin.getSkinElement("dock","button").src)),e&&(r[i].div.onclick=function(u){u.preventDefault();n(t.id).callback(i);r[i].overGraphic&&(r[i].div.childNodes[0].src=r[i].overGraphic);t.skin.getSkinElement("dock","button")&&(r[i].div.childNodes[1].src=t.skin.getSkinElement("dock","button").src)}));h(o,s)},this.resize=h,this.show=function(){_css(f,{display:"block"})},this.hide=function(){_css(f,{display:"none"})},this}}}(jwplayer),function(n){n.html5.eventdispatcher=function(t,i){var r=new n.events.eventdispatcher(i);n.utils.extend(this,r);this.sendEvent=function(i,u){u===undefined&&(u={});n.utils.extend(u,{id:t,version:n.version,type:i});r.sendEvent(i,u)}}}(jwplayer),function(n){var t={prefix:"http://l.longtailvideo.com/html5/",file:"logo.png",link:"http://www.longtailvideo.com/players/jw-flv-player/",margin:8,out:.5,over:1,timeout:3,hide:!0,position:"bottom-left"};_css=n.utils.css;n.html5.logo=function(i,r){function h(){c();l();a()}function c(){if(t.prefix){var f=i.version.split(/\W/).splice(0,2).join("/");t.prefix.indexOf(f)<0&&(t.prefix+=f+"/")}r.position==n.html5.view.positions.OVER&&(r.position=t.position);u=n.utils.extend({},t)}function l(){(f=document.createElement("img"),f.id=e.id+"_jwplayer_logo",f.style.display="none",f.onload=function(){_css(f,p());e.jwAddEventListener(n.api.events.JWPLAYER_PLAYER_STATE,k);s()},u.file)&&(f.src=u.file.indexOf("http://")===0?u.file:u.prefix+u.file)}function a(){u.link?(f.onmouseover=y,f.onmouseout=s,f.onclick=v):this.mouseEnabled=!1}function v(n){typeof n!="undefined"&&n.stopPropagation();e.jwPause();e.jwSetFullscreen(!1);u.link&&window.open(u.link,"_blank");return}function s(){u.link&&(f.style.opacity=u.out);return}function y(){u.hide&&(f.style.opacity=u.over);return}function p(){var n={textDecoration:"none",position:"absolute",cursor:"pointer"},t,i;n.display=u.hide?"none":"block";t=u.position.toLowerCase().split("-");for(i in t)n[t[i]]=u.margin;return n}function w(){u.hide&&(f.style.display="block",f.style.opacity=0,n.utils.fadeTo(f,u.out,.1,parseFloat(f.style.opacity)),o=setTimeout(function(){b()},u.timeout*1e3))}function b(){u.hide&&n.utils.fadeTo(f,0,.1,parseFloat(f.style.opacity))}function k(t){t.newstate==n.api.events.state.BUFFERING&&(clearTimeout(o),w())}var e=i,o,u,f;if(h(),u.file)return this.resize=function(){},this.getDisplayElement=function(){return f},this}}(jwplayer),function(n){var t={ended:n.api.events.state.IDLE,playing:n.api.events.state.PLAYING,pause:n.api.events.state.PAUSED,buffering:n.api.events.state.BUFFERING},i=n.utils.css;n.html5.mediavideo=function(r,u){function et(){}function c(){}function s(n){t[n.type]&&l(t[n.type])}function l(t){var r,i;if(!nt&&(b&&(t=n.api.events.state.IDLE),t!=n.api.events.state.PAUSED||h!=n.api.events.state.IDLE)){if(t==n.api.events.state.PLAYING&&h==n.api.events.state.IDLE){l(n.api.events.state.BUFFERING);o.sendEvent(n.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:e.buffer});ot();return}h!=t&&(r=h,e.state=t,h=t,i=!1,t==n.api.events.state.IDLE&&(st(),e.position>=e.duration&&(e.position>0||e.duration>0)&&(i=!0),f.style.display=="none"||e.config.chromeless||(f.style.display="none")),o.sendEvent(n.api.events.JWPLAYER_PLAYER_STATE,{oldstate:r,newstate:t}),i&&o.sendEvent(n.api.events.JWPLAYER_MEDIA_COMPLETE));b=!1}}function it(t){var i={height:t.target.videoHeight,width:t.target.videoWidth,duration:Math.round(t.target.duration*10)/10};(e.duration===0||isNaN(e.duration))&&(e.duration=Math.round(t.target.duration*10)/10);e.playlist[e.item]=n.utils.extend(e.playlist[e.item],i);o.sendEvent(n.api.events.JWPLAYER_MEDIA_META,{metadata:i})}function tt(t){if(!b){if(t!==undefined&&t.target!==undefined&&((e.duration===0||isNaN(e.duration))&&(e.duration=Math.round(t.target.duration*10)/10),!k&&f.readyState>0&&l(n.api.events.state.PLAYING),h==n.api.events.state.PLAYING)){if(!k&&f.readyState>0){k=!0;try{f.currentTime=e.playlist[e.item].start}catch(i){}f.volume=e.volume/100;f.muted=e.mute}e.position=Math.round(t.target.currentTime*10)/10;o.sendEvent(n.api.events.JWPLAYER_MEDIA_TIME,{position:t.target.currentTime,duration:t.target.duration})}rt(t)}}function ot(){p===!1&&h==n.api.events.state.BUFFERING&&(o.sendEvent(n.api.events.JWPLAYER_MEDIA_BUFFER_FULL),p=!0)}function vt(){var n=(v[v.length-1]-v[0])/v.length;ft=setTimeout(function(){a||rt({lengthComputable:!0,loaded:1,total:1})},n*10)}function rt(t){var i,r;t!==undefined&&t.lengthComputable&&t.total?(lt(),i=t.loaded/t.total*100,r=i/100*(e.duration-f.currentTime),50<i&&!a&&(clearTimeout(ft),vt())):f.buffered!==undefined&&f.buffered.length>0&&(maxBufferIndex=0,maxBufferIndex>=0&&(i=f.buffered.end(maxBufferIndex)/f.duration*100,r=f.buffered.end(maxBufferIndex)-f.currentTime));ot();a||(i==100&&a===!1&&(a=!0),i!==null&&i>e.buffer&&(e.buffer=Math.round(i),o.sendEvent(n.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:Math.round(i)})))}function yt(){w===null&&(w=setInterval(function(){tt()},100))}function st(){clearInterval(w);w=null}function pt(t){var i="There was an error: ",r;if(t.target.error&&t.target.tagName.toLowerCase()=="video"||t.target.parentNode.error&&t.target.parentNode.tagName.toLowerCase()=="video"){r=t.target.error===undefined?t.target.parentNode.error:t.target.error;switch(r.code){case r.MEDIA_ERR_ABORTED:i="You aborted the video playback: ";break;case r.MEDIA_ERR_NETWORK:i="A network error caused the video download to fail part-way: ";break;case r.MEDIA_ERR_DECODE:i="The video playback was aborted due to a corruption problem or because the video used features your browser did not support: ";break;case r.MEDIA_ERR_SRC_NOT_SUPPORTED:i="The video could not be loaded, either because the server or network failed or because the format is not supported: ";break;default:i="An unknown error occurred: "}}else if(t.target.tagName.toLowerCase()=="source"){if(y--,y>0)return;i="The video could not be loaded, either because the server or network failed or because the format is not supported: "}else{n.utils.log("Erroneous error received. Continuing...");return}ct();i+=ht();nt=!0;o.sendEvent(n.api.events.JWPLAYER_ERROR,{error:i});return}function ht(){var t="",i,r,u;for(i in g.levels)r=g.levels[i],u=f.ownerDocument.createElement("source"),t+=n.utils.getAbsolutePath(r.file),i<g.levels.length-1&&(t+=", ");return t}function ct(){var i,t;for(f.pause(),f.removeAttribute("src"),i=f.getElementsByTagName("source"),t=0;t<i.length;t++)f.removeChild(i[t]);typeof f.load=="function"&&f.load();st();e.position=0;b=!0;l(n.api.events.state.IDLE)}function lt(){var n=(new Date).getTime();v.push(n)}function at(n){switch(n.provider){case"youtube":bt(n);break;default:wt(n,document.createElement("video"))}}function wt(t,i){var h,u,r,s,c,l;for(e.duration=t.duration,d=!1,g=t,i.preload="none",i.setAttribute("x-webkit-airplay","allow"),nt=!1,y=0,h=0;h<t.levels.length;h++)u=t.levels[h],s=n.utils.extension(u.file),u.type===undefined?n.utils.extensionmap[s]!==undefined&&n.utils.extensionmap[s].html5!==undefined&&(r=n.utils.extensionmap[s].html5):r=u.type,(!r||i.canPlayType(r)||n.utils.isLegacyAndroid()&&s.match(/m4v|mp4/))&&(c=f.ownerDocument.createElement("source"),c.src=n.utils.getAbsolutePath(u.file),r&&!n.utils.isLegacyAndroid()&&(c.type=r),y++,i.appendChild(c));y===0&&(nt=!0,o.sendEvent(n.api.events.JWPLAYER_ERROR,{error:"The media could not be loaded because the format is not supported by your browser: "+ht()}));e.config.chromeless&&(i.poster=n.utils.getAbsolutePath(t.image),i.controls="controls");i.style.top=f.style.top;i.style.left=f.style.left;i.style.width=f.style.width;i.style.height=f.style.height;i.style.zIndex=f.style.zIndex;i.onload=et;i.volume=0;f.parentNode.replaceChild(i,f);i.id=f.id;f=i;for(l in ut)f.addEventListener(l,function(n){n.target.parentNode!==null&&ut[n.type](n)},!0)}function bt(n){var i=n.levels[0].file,t=document.createElement("object"),e,o,u,s,h,c;i=["http://www.youtube.com/v/",kt(i),"&amp;hl=en_US&amp;fs=1&autoplay=1"].join("");e={movie:i,allowFullScreen:"true",allowscriptaccess:"always"};for(o in e)u=document.createElement("param"),u.name=o,u.value=e[o],t.appendChild(u);s=document.createElement("embed");h={src:i,type:"application/x-shockwave-flash",allowscriptaccess:"always",allowfullscreen:"true",width:document.getElementById(r.id).style.width,height:document.getElementById(r.id).style.height};for(c in h)s[c]=h[c];t.appendChild(s);t.style.position=f.style.position;t.style.top=f.style.top;t.style.left=f.style.left;t.style.width=document.getElementById(r.id).style.width;t.style.height=document.getElementById(r.id).style.height;t.style.zIndex=2147483e3;f.parentNode.replaceChild(t,f);t.id=f.id;f=t;d=!0}function kt(n){for(var r=n.split(/\?|\#\!/),t="",i=0;i<r.length;i++)r[i].substr(0,2)=="v="&&(t=r[i].substr(2));return t==""&&(t=n.indexOf("/v/")>=0?n.substr(n.indexOf("/v/")+3):n.indexOf("youtu.be")>=0?n.substr(n.indexOf("youtu.be/")+9):n),t.indexOf("?")>-1&&(t=t.substr(0,t.indexOf("?"))),t.indexOf("&")>-1&&(t=t.substr(0,t.indexOf("&"))),t}var ut={abort:c,canplay:s,canplaythrough:s,durationchange:it,emptied:c,ended:s,error:pt,loadeddata:it,loadedmetadata:it,loadstart:s,pause:s,play:tt,playing:s,progress:rt,ratechange:c,seeked:s,seeking:s,stalled:s,suspend:s,timeupdate:tt,volumechange:c,waiting:s,canshowcurrentframe:c,dataunavailable:c,empty:c,load:et,loadedfirstframe:c},o=new n.html5.eventdispatcher;n.utils.extend(this,o);var e=r,f=u,p,a,h=n.api.events.state.IDLE,w=null,b,k=!1,d=!1,g,y,v=[],ft,nt=!1;return this.getDisplayElement=function(){return f},this.play=function(){h!=n.api.events.state.PLAYING&&(f.style.display!="block"&&(f.style.display="block"),f.play(),yt(),p&&l(n.api.events.state.PLAYING))},this.pause=function(){f.pause();l(n.api.events.state.PAUSED)},this.seek=function(n){e.duration===0||isNaN(e.duration)||e.position===0||isNaN(e.position)||(f.currentTime=n,f.play())},this.stop=ct,this.volume=function(t){f.volume=t/100;e.volume=t;o.sendEvent(n.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(t)})},this.mute=function(t){f.muted=t;e.mute=t;o.sendEvent(n.api.events.JWPLAYER_MEDIA_MUTE,{mute:t})},this.resize=function(t,r){!1&&i(f,{width:t,height:r});o.sendEvent(n.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:e.fullscreen,width:t,hieght:r})},this.fullscreen=function(n){n===!0?this.resize("100%","100%"):this.resize(e.config.width,e.config.height)},this.load=function(t){at(t);o.sendEvent(n.api.events.JWPLAYER_MEDIA_LOADED);p=!1;a=!1;k=!1;e.config.chromeless||d||(v=[],lt(),l(n.api.events.state.BUFFERING),setTimeout(function(){tt()},25))},this.hasChrome=function(){return d},this.embed=at,this}}(jwplayer),function(n){var t=["width","height","start","duration","volume","mute","fullscreen","item","plugins","stretching"];n.html5.model=function(i,r,u){function ut(){var n=null;if(f.playlist.length>1)while(n===null)n=Math.floor(Math.random()*f.playlist.length),n==f.item&&(n=null);else n=0;return n}function ft(t){t.type==n.api.events.JWPLAYER_MEDIA_LOADED&&(p=o.getDisplayElement());a.sendEvent(t.type,t)}var rt=i,p=r,f={id:p.id,playlist:[],state:n.api.events.state.IDLE,position:0,buffer:0,config:{width:480,height:320,item:-1,skin:undefined,file:undefined,image:undefined,start:0,duration:0,bufferlength:5,volume:90,mute:!1,fullscreen:!1,repeat:"none",stretching:n.utils.stretching.UNIFORM,autostart:!1,debug:undefined,screencolor:undefined}},o,a=new n.html5.eventdispatcher,s,g,c,h,l,nt,w,v,y,b,k,tt,e,d,it;n.utils.extend(f,a);for(s in u){typeof u[s]=="string"&&(g=/color$/.test(s)?"color":null,u[s]=n.utils.typechecker(u[s],g));c=f.config;h=s.split(".");for(l in h)l==h.length-1?c[h[l]]=u[s]:(c[h[l]]===undefined&&(c[h[l]]={}),c=c[h[l]])}for(nt in t)w=t[nt],f[w]=f.config[w];if(v=["display","logo","controlbar","dock"].concat([]),f.plugins!==undefined&&typeof f.plugins=="string"){y=f.plugins.split(",");for(b in y)typeof y[b]=="string"&&v.push(y[b].replace(/^\s+|\s+$/g,""))}if(typeof f.config.chromeless=="undefined"&&n.utils.isIOS()&&(f.config.chromeless=!0),f.config.chromeless&&(v=["logo"],(f.config.repeat===undefined||f.config.repeat=="none")&&(f.config.repeat="list")),f.plugins={order:v,config:{},object:{}},typeof f.config.components!="undefined")for(k in f.config.components)f.plugins.config[k]=f.config.components[k];for(tt in f.plugins.order)e=f.plugins.order[tt],d=f.config[e]===undefined?{}:f.config[e],f.plugins.config[e]=f.plugins.config[e]===undefined?d:n.utils.extend(f.plugins.config[e],d),f.plugins.config[e].position=typeof f.plugins.config[e].position=="undefined"?n.html5.view.positions.OVER:f.plugins.config[e].position.toString().toUpperCase();return typeof f.plugins.config.dock!="undefined"&&(typeof f.plugins.config.dock!="object"&&(it=f.plugins.config.dock.toString().toUpperCase(),f.plugins.config.dock={position:it}),typeof f.plugins.config.dock.position!="undefined"&&(f.plugins.config.dock.align=f.plugins.config.dock.position,f.plugins.config.dock.position=n.html5.view.positions.OVER)),f.loadPlaylist=function(arg,ready){var input,config;if(typeof arg=="string")try{input=eval(arg)}catch(err){input=arg}else input=arg;switch(n.utils.typeOf(input)){case"object":config=input;break;case"array":config={playlist:input};break;default:config={file:input}}f.playlist=new n.html5.playlist(config);f.config.shuffle?f.item=ut():(f.config.item>=f.playlist.length?f.config.item=f.playlist.length-1:f.config.item<0&&(f.config.item=0),f.item=f.config.item);ready||a.sendEvent(n.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:f.playlist});f.setActiveMediaProvider(f.playlist[f.item])},f.setActiveMediaProvider=function(t){return o!==undefined&&o.resetEventListeners(),o=new n.html5.mediavideo(f,p),o.addGlobalListener(ft),f.config.chromeless&&o.load(t),!0},f.getMedia=function(){return o},f.seek=function(t){return a.sendEvent(n.api.events.JWPLAYER_MEDIA_SEEK,{position:f.position,offset:t}),o.seek(t)},f.setupPlugins=function(){var i,t;for(i in f.plugins.order)try{t=f.plugins.order[i];n.html5[t]!==undefined?f.plugins.object[t]=new n.html5[t](rt,f.plugins.config[t]):f.plugins.order.splice(i,i+1)}catch(r){n.utils.log("Could not setup "+t)}},f}}(jwplayer),function(n){n.html5.playlist=function(t){var i=[],r;if(t.playlist&&t.playlist instanceof Array&&t.playlist.length>0)for(r in t.playlist)isNaN(parseInt(r))||i.push(new n.html5.playlistitem(t.playlist[r]));else i.push(new n.html5.playlistitem(t));return i}}(jwplayer),function(n){function t(t){var i,r,u;if(n.utils.isYouTube(t.file))return"youtube";if(i=n.utils.extension(t.file),i&&n.utils.extensionmap[i]?r=n.utils.extensionmap[i].html5:t.type&&(r=t.type),r){if(u=r.split("/")[0],u=="audio")return"sound";if(u=="video")return u}return""}n.html5.playlistitem=function(i){var r=n.utils.extend({},{author:"",date:"",description:"",image:"",link:"",mediaid:"",tags:"",title:"",provider:"",file:"",streamer:"",duration:-1,start:0,currentLevel:-1,levels:[]},i);return r.type&&(r.provider=r.type,delete r.type),r.levels.length===0&&(r.levels[0]=new n.html5.playlistitemlevel(r)),r.provider=r.provider?r.provider.toLowerCase():t(r.levels[0]),r}}(jwplayer),function(n){n.html5.playlistitemlevel=function(n){var t={file:"",streamer:"",bitrate:0,width:0};for(var i in t)n[i]!==undefined&&(t[i]=n[i]);return t}}(jwplayer),function(n){n.html5.skin=function(){var t={},i=!1;this.load=function(r,u){new n.html5.skinloader(r,function(n){i=!0;t=n;u()},function(){new n.html5.skinloader("",function(n){i=!0;t=n;u()})})};this.getSkinElement=function(r,u){if(i)try{return t[r].elements[u]}catch(f){n.utils.log("No such skin component / element: ",[r,u])}return null};this.getComponentSettings=function(n){return i?t[n].settings:null};this.getComponentLayout=function(n){return i?t[n].layout:null}}}(jwplayer),function(n){n.html5.skinloader=function(t,i,r){function v(){typeof f!="string"||f===""?e(n.html5.defaultSkin().xml):n.utils.ajax(n.utils.getAbsolutePath(f),function(t){try{if(t.responseXML!==null){e(t.responseXML);return}}catch(i){}e(n.html5.defaultSkin().xml)},function(){e(n.html5.defaultSkin().xml)})}function e(t){var o=t.getElementsByTagName("component"),f,i,ut,g,a,v,p,c,w,nt,b,r,k,tt,it,e,l,d,rt;if(o.length!==0)for(f=0;f<o.length;f++){for(i=o[f].getAttribute("name"),ut={settings:{},elements:{},layout:{}},u[i]=ut,g=o[f].getElementsByTagName("elements")[0].getElementsByTagName("element"),a=0;a<g.length;a++)y(g[a],i);if(v=o[f].getElementsByTagName("settings")[0],v!==undefined&&v.childNodes.length>0)for(p=v.getElementsByTagName("setting"),c=0;c<p.length;c++){var ft=p[c].getAttribute("name"),et=p[c].getAttribute("value"),ot=/color$/.test(ft)?"color":null;u[i].settings[ft]=n.utils.typechecker(et,ot)}if(w=o[f].getElementsByTagName("layout")[0],w!==undefined&&w.childNodes.length>0)for(nt=w.getElementsByTagName("group"),b=0;b<nt.length;b++){for(r=nt[b],u[i].layout[r.getAttribute("position")]={elements:[]},k=0;k<r.attributes.length;k++)tt=r.attributes[k],u[i].layout[r.getAttribute("position")][tt.name]=tt.value;for(it=r.getElementsByTagName("*"),e=0;e<it.length;e++){for(l=it[e],u[i].layout[r.getAttribute("position")].elements.push({type:l.tagName}),d=0;d<l.attributes.length;d++)rt=l.attributes[d],u[i].layout[r.getAttribute("position")].elements[e][rt.name]=rt.value;u[i].layout[r.getAttribute("position")].elements[e].name===undefined&&(u[i].layout[r.getAttribute("position")].elements[e].name=l.tagName)}}h=!1;s()}}function s(){clearInterval(o);c||(o=setInterval(function(){p()},100))}function y(t,i){var r=new Image,l=t.getAttribute("name"),e=t.getAttribute("src"),o,h,v;e.indexOf("data:image/png;base64,")===0?o=e:(h=n.utils.getAbsolutePath(f),v=h.substr(0,h.lastIndexOf("/")),o=[v,i,e].join("/"));u[i].elements[l]={height:0,width:0,src:"",ready:!1};r.onload=function(){w(r,l,i)};r.onerror=function(){c=!0;s();a()};r.src=o}function p(){var n,t;for(n in u)if(n!="properties")for(t in u[n].elements)if(!u[n].elements[t].ready)return;h===!1&&(clearInterval(o),l(u))}function w(n,t,i){u[i].elements[t].height=n.height;u[i].elements[t].width=n.width;u[i].elements[t].src=n.src;u[i].elements[t].ready=!0;s()}var u={},l=i,a=r,h=!0,o,f=t,c=!1;v()}}(jwplayer),function(n){n.html5.api=function(t,i){function c(){f.state==n.api.events.state.PLAYING||f.state==n.api.events.state.BUFFERING?u.pause():u.play()}function e(n){return function(){return f[n]}}function s(n,t,i){return function(){var r=f.plugins.object[n];r&&r[t]&&typeof r[t]=="function"&&r[t].apply(r,i)}}function l(t,i,u){return function(){t.loadPlaylist(t.config,!0);t.setupPlugins();i.setup(t.getMedia().getDisplayElement());var f={id:r.id,version:r.version};u.sendEvent(n.api.events.JWPLAYER_READY,f);playerReady!==undefined&&playerReady(f);window[t.config.playerReady]!==undefined&&window[t.config.playerReady](f);t.sendEvent(n.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:t.playlist});u.item(t.item)}}var r={},o=document.createElement("div");t.parentNode.replaceChild(o,t);o.id=t.id;r.version=n.version;r.id=o.id;var f=new n.html5.model(r,o,i),h=new n.html5.view(r,o,f),u=new n.html5.controller(r,o,f,h);return r.skin=new n.html5.skin,r.jwPlay=function(n){typeof n=="undefined"?c():n.toString().toLowerCase()=="true"?u.play():u.pause()},r.jwPause=function(n){typeof n=="undefined"?c():n.toString().toLowerCase()=="true"?u.pause():u.play()},r.jwStop=u.stop,r.jwSeek=u.seek,r.jwPlaylistItem=u.item,r.jwPlaylistNext=u.next,r.jwPlaylistPrev=u.prev,r.jwResize=u.resize,r.jwLoad=u.load,r.jwGetItem=e("item"),r.jwGetPosition=e("position"),r.jwGetDuration=e("duration"),r.jwGetBuffer=e("buffer"),r.jwGetWidth=e("width"),r.jwGetHeight=e("height"),r.jwGetFullscreen=e("fullscreen"),r.jwSetFullscreen=u.setFullscreen,r.jwGetVolume=e("volume"),r.jwSetVolume=u.setVolume,r.jwGetMute=e("mute"),r.jwSetMute=u.setMute,r.jwGetStretching=e("stretching"),r.jwGetState=e("state"),r.jwGetVersion=function(){return r.version},r.jwGetPlaylist=function(){return f.playlist},r.jwGetPlaylistIndex=r.jwGetItem,r.jwAddEventListener=u.addEventListener,r.jwRemoveEventListener=u.removeEventListener,r.jwSendEvent=u.sendEvent,r.jwDockSetButton=function(n,t,i,r){f.plugins.object.dock&&f.plugins.object.dock.setButton&&f.plugins.object.dock.setButton(n,t,i,r)},r.jwShowControlbar=s("controlbar","show"),r.jwHideControlbar=s("controlbar","hide"),r.jwShowDock=s("dock","show"),r.jwHideDock=s("dock","hide"),r.jwShowDisplay=s("display","show"),r.jwHideDisplay=s("display","hide"),r.jwGetLevel=function(){},r.jwGetBandwidth=function(){},r.jwGetLockState=function(){},r.jwLock=function(){},r.jwUnlock=function(){},f.config.chromeless?setTimeout(l(f,h,u),25):r.skin.load(f.config.skin,l(f,h,u)),r}}(jwplayer)),function(n,t,i){function r(i){var r=t.console;e[i]||(e[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function f(t,i,u,f){if(Object.defineProperty)try{Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:function(){return r(f),u},set:function(n){r(f);u=n}});return}catch(e){}n._definePropertyBroken=!0;t[i]=u}var e,h,c,y,p,tt,it,rt,ut;n.migrateVersion="1.4.1";e={};n.migrateWarnings=[];t.console&&t.console.log&&t.console.log("JQMIGRATE: Migrate is installed"+(n.migrateMute?"":" with logging active")+", version "+n.migrateVersion);n.migrateTrace===i&&(n.migrateTrace=!0);n.migrateReset=function(){e={};n.migrateWarnings.length=0};document.compatMode==="BackCompat"&&r("jQuery is not compatible with Quirks Mode");var l=n("<input/>",{size:1}).attr("size")&&n.attrFn,a=n.attr,ft=n.attrHooks.value&&n.attrHooks.value.get||function(){return null},et=n.attrHooks.value&&n.attrHooks.value.set||function(){return i},ot=/^(?:input|button)$/i,st=/^[238]$/,ht=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ct=/^(?:checked|selected)$/i;f(n,"attrFn",l||{},"jQuery.attrFn is deprecated");n.attr=function(t,u,f,e){var o=u.toLowerCase(),s=t&&t.nodeType;return e&&(a.length<4&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!st.test(s)&&(l?u in l:n.isFunction(n.fn[u])))?n(t)[u](f):(u==="type"&&f!==i&&ot.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!n.attrHooks[o]&&ht.test(o)&&(n.attrHooks[o]={get:function(t,r){var u,f=n.prop(t,r);return f===!0||typeof f!="boolean"&&(u=t.getAttributeNode(r))&&u.nodeValue!==!1?r.toLowerCase():i},set:function(t,i,r){var u;return i===!1?n.removeAttr(t,r):(u=n.propFix[r]||r,u in t&&(t[u]=!0),t.setAttribute(r,r.toLowerCase())),r}},ct.test(o)&&r("jQuery.fn.attr('"+o+"') might use property instead of attribute")),a.call(n,t,u,f))};n.attrHooks.value={get:function(n,t){var i=(n.nodeName||"").toLowerCase();return i==="button"?ft.apply(this,arguments):(i!=="input"&&i!=="option"&&r("jQuery.fn.attr('value') no longer gets properties"),t in n?n.value:null)},set:function(n,t){var i=(n.nodeName||"").toLowerCase();if(i==="button")return et.apply(this,arguments);i!=="input"&&i!=="option"&&r("jQuery.fn.attr('value', val) no longer sets properties");n.value=t}};var o,u,v=n.fn.init,s=n.find,lt=n.parseJSON,at=/^\s*</,vt=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,yt=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,pt=/^([^<]*)(<[\w\W]+>)([^>]*)$/;n.fn.init=function(t,u,f){var o,e;return t&&typeof t=="string"&&!n.isPlainObject(u)&&(o=pt.exec(n.trim(t)))&&o[0]&&(at.test(t)||r("$(html) HTML strings must start with '<' character"),o[3]&&r("$(html) HTML text after last tag is ignored"),o[0].charAt(0)==="#"&&(r("HTML string cannot start with a '#' character"),n.error("JQMIGRATE: Invalid selector string (XSS)")),u&&u.context&&u.context.nodeType&&(u=u.context),n.parseHTML)?v.call(this,n.parseHTML(o[2],u&&u.ownerDocument||u||document,!0),u,f):(e=v.apply(this,arguments),t&&t.selector!==i?(e.selector=t.selector,e.context=t.context):(e.selector=typeof t=="string"?t:"",t&&(e.context=t.nodeType?t:u||document)),e)};n.fn.init.prototype=n.fn;n.find=function(n){var t=Array.prototype.slice.call(arguments);if(typeof n=="string"&&vt.test(n))try{document.querySelector(n)}catch(i){n=n.replace(yt,function(n,t,i,r){return"["+t+i+'"'+r+'"]'});try{document.querySelector(n);r("Attribute selector with '#' must be quoted: "+t[0]);t[0]=n}catch(u){r("Attribute selector with '#' was not fixed: "+t[0])}}return s.apply(this,t)};for(h in s)Object.prototype.hasOwnProperty.call(s,h)&&(n.find[h]=s[h]);n.parseJSON=function(n){return n?lt.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)};n.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}};n.browser||(o=n.uaMatch(navigator.userAgent),u={},o.browser&&(u[o.browser]=!0,u.version=o.version),u.chrome?u.webkit=!0:u.webkit&&(u.safari=!0),n.browser=u);f(n,"browser",n.browser,"jQuery.browser is deprecated");n.boxModel=n.support.boxModel=document.compatMode==="CSS1Compat";f(n,"boxModel",n.boxModel,"jQuery.boxModel is deprecated");f(n.support,"boxModel",n.support.boxModel,"jQuery.support.boxModel is deprecated");n.sub=function(){function t(n,i){return new t.fn.init(n,i)}n.extend(!0,t,this);t.superclass=this;t.fn=t.prototype=this();t.fn.constructor=t;t.sub=this.sub;t.fn.init=function(r,u){var f=n.fn.init.call(this,r,u,i);return f instanceof t?f:t(f)};t.fn.init.prototype=t.fn;var i=t(document);return r("jQuery.sub() is deprecated"),t};n.fn.size=function(){return r("jQuery.fn.size() is deprecated; use the .length property"),this.length};c=!1;n.swap&&n.each(["height","width","reliableMarginRight"],function(t,i){var r=n.cssHooks[i]&&n.cssHooks[i].get;r&&(n.cssHooks[i].get=function(){var n;return c=!0,n=r.apply(this,arguments),c=!1,n})});n.swap=function(n,t,i,u){var e,f,o={};c||r("jQuery.swap() is undocumented and deprecated");for(f in t)o[f]=n.style[f],n.style[f]=t[f];e=i.apply(n,u||[]);for(f in t)n.style[f]=o[f];return e};n.ajaxSetup({converters:{"text json":n.parseJSON}});y=n.fn.data;n.fn.data=function(t){var f,u,e=this[0];return e&&t==="events"&&arguments.length===1&&(f=n.data(e,t),u=n._data(e,t),(f===i||f===u)&&u!==i)?(r("Use of jQuery.fn.data('events') is deprecated"),u):y.apply(this,arguments)};p=/\/(java|ecma)script/i;n.clean||(n.clean=function(t,i,u,f){i=i||document;i=!i.nodeType&&i[0]||i;i=i.ownerDocument||i;r("jQuery.clean() is deprecated");var o,e,h,c,s=[];if(n.merge(s,n.buildFragment(t,i).childNodes),u)for(h=function(n){if(!n.type||p.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},o=0;(e=s[o])!=null;o++)n.nodeName(e,"script")&&h(e)||(u.appendChild(e),typeof e.getElementsByTagName!="undefined"&&(c=n.grep(n.merge([],e.getElementsByTagName("script")),h),s.splice.apply(s,[o+1,0].concat(c)),o+=c.length));return s});var wt=n.event.add,bt=n.event.remove,kt=n.event.trigger,dt=n.fn.toggle,w=n.fn.live,b=n.fn.die,gt=n.fn.load,k="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",d=new RegExp("\\b(?:"+k+")\\b"),g=/(?:^|\s)hover(\.\S+|)\b/,nt=function(t){return typeof t!="string"||n.event.special.hover?t:(g.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(g,"mouseenter$1 mouseleave$1"))};n.event.props&&n.event.props[0]!=="attrChange"&&n.event.props.unshift("attrChange","attrName","relatedNode","srcElement");n.event.dispatch&&f(n.event,"handle",n.event.dispatch,"jQuery.event.handle is undocumented and deprecated");n.event.add=function(n,t,i,u,f){n!==document&&d.test(t)&&r("AJAX events should be attached to document: "+t);wt.call(this,n,nt(t||""),i,u,f)};n.event.remove=function(n,t,i,r,u){bt.call(this,n,nt(t)||"",i,r,u)};n.each(["load","unload","error"],function(t,i){n.fn[i]=function(){var n=Array.prototype.slice.call(arguments,0);return i==="load"&&typeof n[0]=="string"?gt.apply(this,n):(r("jQuery.fn."+i+"() is deprecated"),n.splice(0,0,i),arguments.length)?this.bind.apply(this,n):(this.triggerHandler.apply(this,n),this)}});n.fn.toggle=function(t,i){if(!n.isFunction(t)||!n.isFunction(i))return dt.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var u=arguments,e=t.guid||n.guid++,f=0,o=function(i){var r=(n._data(this,"lastToggle"+t.guid)||0)%f;return n._data(this,"lastToggle"+t.guid,r+1),i.preventDefault(),u[r].apply(this,arguments)||!1};for(o.guid=e;f<u.length;)u[f++].guid=e;return this.click(o)};n.fn.live=function(t,i,u){if(r("jQuery.fn.live() is deprecated"),w)return w.apply(this,arguments);n(this.context).on(t,this.selector,i,u);return this};n.fn.die=function(t,i){return(r("jQuery.fn.die() is deprecated"),b)?b.apply(this,arguments):(n(this.context).off(t,this.selector||"**",i),this)};n.event.trigger=function(n,t,i,u){return i||d.test(n)||r("Global events are undocumented and deprecated"),kt.call(this,n,t,i||document,u)};n.each(k.split("|"),function(t,i){n.event.special[i]={setup:function(){var t=this;return t!==document&&(n.event.add(document,i+"."+n.guid,function(){n.event.trigger(i,Array.prototype.slice.call(arguments,1),t,!0)}),n._data(this,i,n.guid++)),!1},teardown:function(){return this!==document&&n.event.remove(document,i+"."+n._data(this,i)),!1}}});n.event.special.ready={setup:function(){this===document&&r("'ready' event is deprecated")}};tt=n.fn.andSelf||n.fn.addBack;it=n.fn.find;n.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),tt.apply(this,arguments)};n.fn.find=function(n){var t=it.apply(this,arguments);return t.context=this.context,t.selector=this.selector?this.selector+" "+n:n,t};n.Callbacks&&(rt=n.Deferred,ut=[["resolve","done",n.Callbacks("once memory"),n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory"),n.Callbacks("memory")]],n.Deferred=function(t){var i=rt(),u=i.promise();return i.pipe=u.pipe=function(){var t=arguments;return r("deferred.pipe() is deprecated"),n.Deferred(function(r){n.each(ut,function(f,e){var o=n.isFunction(t[f])&&t[f];i[e[1]](function(){var t=o&&o.apply(this,arguments);t&&n.isFunction(t.promise)?t.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[e[0]+"With"](this===u?r.promise():this,o?[t]:arguments)})});t=null}).promise()},i.isResolved=function(){return r("deferred.isResolved is deprecated"),i.state()==="resolved"},i.isRejected=function(){return r("deferred.isRejected is deprecated"),i.state()==="rejected"},t&&t.call(i,i),i})}(jQuery,window),function(n){typeof define=="function"&&define.amd&&define.amd.jQuery?define(["jquery"],n):typeof module!="undefined"&&module.exports?n(require("jquery")):n(jQuery)}(function(n){"use strict";function ft(t){return t&&t.allowPageScroll===undefined&&(t.swipe!==undefined||t.swipeStatus!==undefined)&&(t.allowPageScroll=o),t.click!==undefined&&t.tap===undefined&&(t.tap=t.click),t||(t={}),t=n.extend({},n.fn.swipe.defaults,t),this.each(function(){var r=n(this),i=r.data(c);i||(i=new et(this,t),r.data(c,i))})}function et(ft,et){function tr(t){var r,f,u,e;if(!pu())return n(t.target).closest(et.excludedElements,ot).length>0?void 0:(r=t.originalEvent?t.originalEvent:t,r.pointerType&&r.pointerType=="mouse"&&et.fallbackToMouseEvents==!1)?void 0:(u=r.touches,e=u?u[0]:r,st=rt,u?ct=u.length:et.preventDefaultEvents!==!1&&t.preventDefault(),at=0,vt=null,yt=null,kt=null,lt=0,dt=0,gt=0,pt=1,bt=0,ci=ku(),dr(),wi(0,e),!u||ct===et.fingers||et.fingers===a||vi()?(gi=ti(),ct==2&&(wi(1,u[1]),dt=gt=hr(ht[0].start,ht[1].start)),(et.swipeStatus||et.pinchStatus)&&(f=wt(r,st))):f=!1,f===!1)?(st=i,wt(r,st),f):(et.hold&&(ei=setTimeout(n.proxy(function(){ot.trigger("hold",[r.target]);et.hold&&(f=et.hold.call(ot,r,r.target))},this),et.longTapThreshold)),pi(!0),null)}function ir(n){var f=n.originalEvent?n.originalEvent:n,e,h;if(st!==t&&st!==i&&!yi()){var o,r=f.touches,c=r?r[0]:f,u=gr(c);li=ti();r&&(ct=r.length);et.hold&&clearTimeout(ei);st=s;ct==2&&(dt==0?(wi(1,r[1]),dt=gt=hr(ht[0].start,ht[1].start)):(gr(r[1]),gt=hr(ht[0].end,ht[1].end),kt=gu(ht[0].end,ht[1].end)),pt=du(dt,gt),bt=Math.abs(dt-gt));ct===et.fingers||et.fingers===a||!r||vi()?(vt=iu(u.start,u.end),yt=iu(u.last,u.end),uu(n,yt),at=nf(u.start,u.end),lt=tu(),bu(vt,at),o=wt(f,st),(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)&&(e=!0,et.triggerOnTouchLeave&&(h=rf(this),e=uf(u.end,h)),!et.triggerOnTouchEnd&&e?st=fr(s):et.triggerOnTouchLeave&&!e&&(st=fr(t)),(st==i||st==t)&&wt(f,st))):(st=i,wt(f,st));o===!1&&(st=i,wt(f,st))}}function rr(n){var r=n.originalEvent?n.originalEvent:n,u=r.touches;if(u){if(u.length&&!yi())return yu(r),!0;if(u.length&&yi())return!0}return yi()&&(ct=nr),li=ti(),lt=tu(),or()||!er()?(st=i,wt(r,st)):et.triggerOnTouchEnd||et.triggerOnTouchEnd===!1&&st===s?(et.preventDefaultEvents!==!1&&n.cancelable!==!1&&n.preventDefault(),st=t,wt(r,st)):!et.triggerOnTouchEnd&&br()?(st=t,ui(r,st,w)):st===s&&(st=i,wt(r,st)),pi(!1),null}function ri(){ct=0;li=0;gi=0;dt=0;gt=0;pt=1;dr();pi(!1)}function ur(n){var i=n.originalEvent?n.originalEvent:n;et.triggerOnTouchLeave&&(st=fr(t),wt(i,st))}function cr(){ot.off(si,tr);ot.off(hi,ri);ot.off(ki,ir);ot.off(di,rr);ii&&ot.off(ii,ur);pi(!1)}function fr(n){var r=n,f=lr(),u=er(),e=or();return!f||e?r=i:u&&n==s&&(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)?r=t:!u&&n==t&&et.triggerOnTouchLeave&&(r=i),r}function wt(n,r){var u,f=n.touches;return(eu()||yr())&&(u=ui(n,r,g)),(fu()||vi())&&u!==!1&&(u=ui(n,r,nt)),au()&&u!==!1?u=ui(n,r,tt):vu()&&u!==!1?u=ui(n,r,it):lu()&&u!==!1&&(u=ui(n,r,w)),r===i&&ri(n),r===t&&(f?f.length||ri(n):ri(n)),u}function ui(o,s,h){var c;if(h==g){if(ot.trigger("swipeStatus",[s,vt||null,at||0,lt||0,ct,ht,yt]),et.swipeStatus&&(c=et.swipeStatus.call(ot,o,s,vt||null,at||0,lt||0,ct,ht,yt),c===!1))return!1;if(s==t&&vr()){if(clearTimeout(fi),clearTimeout(ei),ot.trigger("swipe",[vt,at,lt,ct,ht,yt]),et.swipe&&(c=et.swipe.call(ot,o,vt,at,lt,ct,ht,yt),c===!1))return!1;switch(vt){case r:ot.trigger("swipeLeft",[vt,at,lt,ct,ht,yt]);et.swipeLeft&&(c=et.swipeLeft.call(ot,o,vt,at,lt,ct,ht,yt));break;case u:ot.trigger("swipeRight",[vt,at,lt,ct,ht,yt]);et.swipeRight&&(c=et.swipeRight.call(ot,o,vt,at,lt,ct,ht,yt));break;case f:ot.trigger("swipeUp",[vt,at,lt,ct,ht,yt]);et.swipeUp&&(c=et.swipeUp.call(ot,o,vt,at,lt,ct,ht,yt));break;case e:ot.trigger("swipeDown",[vt,at,lt,ct,ht,yt]);et.swipeDown&&(c=et.swipeDown.call(ot,o,vt,at,lt,ct,ht,yt))}}}if(h==nt){if(ot.trigger("pinchStatus",[s,kt||null,bt||0,lt||0,ct,pt,ht]),et.pinchStatus&&(c=et.pinchStatus.call(ot,o,s,kt||null,bt||0,lt||0,ct,pt,ht),c===!1))return!1;if(s==t&&ar())switch(kt){case y:ot.trigger("pinchIn",[kt||null,bt||0,lt||0,ct,pt,ht]);et.pinchIn&&(c=et.pinchIn.call(ot,o,kt||null,bt||0,lt||0,ct,pt,ht));break;case p:ot.trigger("pinchOut",[kt||null,bt||0,lt||0,ct,pt,ht]);et.pinchOut&&(c=et.pinchOut.call(ot,o,kt||null,bt||0,lt||0,ct,pt,ht))}}return h==w?(s===i||s===t)&&(clearTimeout(fi),clearTimeout(ei),sr()&&!su()?(ni=ti(),fi=setTimeout(n.proxy(function(){ni=null;ot.trigger("tap",[o.target]);et.tap&&(c=et.tap.call(ot,o,o.target))},this),et.doubleTapThreshold)):(ni=null,ot.trigger("tap",[o.target]),et.tap&&(c=et.tap.call(ot,o,o.target)))):h==tt?(s===i||s===t)&&(clearTimeout(fi),clearTimeout(ei),ni=null,ot.trigger("doubletap",[o.target]),et.doubleTap&&(c=et.doubleTap.call(ot,o,o.target))):h==it&&(s===i||s===t)&&(clearTimeout(fi),ni=null,ot.trigger("longtap",[o.target]),et.longTap&&(c=et.longTap.call(ot,o,o.target))),c}function er(){var n=!0;return et.threshold!==null&&(n=at>=et.threshold),n}function or(){var n=!1;return et.cancelThreshold!==null&&vt!==null&&(n=nu(vt)-at>=et.cancelThreshold),n}function ru(){return et.pinchThreshold!==null?bt>=et.pinchThreshold:!0}function lr(){return et.maxTimeThreshold?lt>=et.maxTimeThreshold?!1:!0:!0}function uu(n,t){if(et.preventDefaultEvents!==!1)if(et.allowPageScroll===o)n.preventDefault();else{var i=et.allowPageScroll===d;switch(t){case r:(et.swipeLeft&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case u:(et.swipeRight&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case f:(et.swipeUp&&i||!i&&et.allowPageScroll!=k)&&n.preventDefault();break;case e:(et.swipeDown&&i||!i&&et.allowPageScroll!=k)&&n.preventDefault()}}}function ar(){var n=pr(),t=wr(),i=ru();return n&&t&&i}function vi(){return!!(et.pinchStatus||et.pinchIn||et.pinchOut)}function fu(){return!!(ar()&&vi())}function vr(){var n=lr(),t=er(),i=pr(),r=wr(),u=or();return!u&&r&&i&&t&&n}function yr(){return!!(et.swipe||et.swipeStatus||et.swipeLeft||et.swipeRight||et.swipeUp||et.swipeDown)}function eu(){return!!(vr()&&yr())}function pr(){return ct===et.fingers||et.fingers===a||!l}function wr(){return ht[0].end.x!==0}function br(){return!!et.tap}function sr(){return!!et.doubleTap}function ou(){return!!et.longTap}function kr(){if(ni==null)return!1;var n=ti();return sr()&&n-ni<=et.doubleTapThreshold}function su(){return kr()}function hu(){return(ct===1||!l)&&(isNaN(at)||at<et.threshold)}function cu(){return lt>et.longTapThreshold&&at<ut}function lu(){return!!(hu()&&br())}function au(){return!!(kr()&&sr())}function vu(){return!!(cu()&&ou())}function yu(n){ai=ti();nr=n.touches.length+1}function dr(){ai=0;nr=0}function yi(){var n=!1,t;return ai&&(t=ti()-ai,t<=et.fingerReleaseThreshold&&(n=!0)),n}function pu(){return!!(ot.data(c+"_intouch")===!0)}function pi(n){if(ot){if(n===!0){ot.on(ki,ir);ot.on(di,rr);if(ii)ot.on(ii,ur)}else ot.off(ki,ir,!1),ot.off(di,rr,!1),ii&&ot.off(ii,ur,!1);ot.data(c+"_intouch",n===!0)}}function wi(n,t){var i={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return i.start.x=i.last.x=i.end.x=t.pageX||t.clientX,i.start.y=i.last.y=i.end.y=t.pageY||t.clientY,ht[n]=i,i}function gr(n){var i=n.identifier!==undefined?n.identifier:0,t=wu(i);return t===null&&(t=wi(i,n)),t.last.x=t.end.x,t.last.y=t.end.y,t.end.x=n.pageX||n.clientX,t.end.y=n.pageY||n.clientY,t}function wu(n){return ht[n]||null}function bu(n,t){n!=o&&(t=Math.max(t,nu(n)),ci[n].distance=t)}function nu(n){return ci[n]?ci[n].distance:undefined}function ku(){var n={};return n[r]=bi(r),n[u]=bi(u),n[f]=bi(f),n[e]=bi(e),n}function bi(n){return{direction:n,distance:0}}function tu(){return li-gi}function hr(n,t){var i=Math.abs(n.x-t.x),r=Math.abs(n.y-t.y);return Math.round(Math.sqrt(i*i+r*r))}function du(n,t){var i=t/n*1;return i.toFixed(2)}function gu(){return pt<1?p:y}function nf(n,t){return Math.round(Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2)))}function tf(n,t){var r=n.x-t.x,u=t.y-n.y,f=Math.atan2(u,r),i=Math.round(f*180/Math.PI);return i<0&&(i=360-Math.abs(i)),i}function iu(n,t){if(ff(n,t))return o;var i=tf(n,t);return i<=45&&i>=0?r:i<=360&&i>=315?r:i>=135&&i<=225?u:i>45&&i<135?e:f}function ti(){var n=new Date;return n.getTime()}function rf(t){t=n(t);var i=t.offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}function uf(n,t){return n.x>t.left&&n.x<t.right&&n.y>t.top&&n.y<t.bottom}function ff(n,t){return n.x==t.x&&n.y==t.y}var et=n.extend({},et),oi=l||h||!et.fallbackToMouseEvents,si=oi?h?v?"MSPointerDown":"pointerdown":"touchstart":"mousedown",ki=oi?h?v?"MSPointerMove":"pointermove":"touchmove":"mousemove",di=oi?h?v?"MSPointerUp":"pointerup":"touchend":"mouseup",ii=oi?h?"mouseleave":null:"mouseleave",hi=h?v?"MSPointerCancel":"pointercancel":"touchcancel",at=0,vt=null,yt=null,lt=0,dt=0,gt=0,pt=1,bt=0,kt=0,ci=null,ot=n(ft),st="start",ct=0,ht={},gi=0,li=0,ai=0,nr=0,ni=0,fi=null,ei=null;try{ot.on(si,tr);ot.on(hi,ri)}catch(ef){n.error("events not supported "+si+","+hi+" on jQuery.swipe")}this.enable=function(){this.disable();ot.on(si,tr);ot.on(hi,ri);return ot};this.disable=function(){return cr(),ot};this.destroy=function(){cr();ot.data(c,null);ot=null};this.option=function(t,i){if(typeof t=="object")et=n.extend(et,t);else if(et[t]!==undefined){if(i===undefined)return et[t];et[t]=i}else if(t)n.error("Option "+t+" does not exist on jQuery.swipe.options");else return et;return null}}var r="left",u="right",f="up",e="down",y="in",p="out",o="none",d="auto",g="swipe",nt="pinch",w="tap",tt="doubletap",it="longtap",b="horizontal",k="vertical",a="all",ut=10,rt="start",s="move",t="end",i="cancel",l="ontouchstart"in window,v=window.navigator.msPointerEnabled&&!window.PointerEvent&&!l,h=(window.PointerEvent||window.navigator.msPointerEnabled)&&!l,c="TouchSwipe";n.fn.swipe=function(t){var r=n(this),i=r.data(c);if(i&&typeof t=="string"){if(i[t])return i[t].apply(i,Array.prototype.slice.call(arguments,1));n.error("Method "+t+" does not exist on jQuery.swipe")}else if(i&&typeof t=="object")i.option.apply(i,arguments);else if(!i&&(typeof t=="object"||!t))return ft.apply(this,arguments);return r};n.fn.swipe.version="1.6.18";n.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0};n.fn.swipe.phases={PHASE_START:rt,PHASE_MOVE:s,PHASE_END:t,PHASE_CANCEL:i};n.fn.swipe.directions={LEFT:r,RIGHT:u,UP:f,DOWN:e,IN:y,OUT:p};n.fn.swipe.pageScroll={NONE:o,HORIZONTAL:b,VERTICAL:k,AUTO:d};n.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:a}}),function(n){var r={vertical:!1,rtl:!1,start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,setupCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,animationStepCallback:null,buttonNextHTML:"<div><\/div>",buttonPrevHTML:"<div><\/div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null,itemFallbackDimension:null},i=!1,t;n(window).bind("load.jcarousel",function(){i=!0});n.jcarousel=function(t,u){var h,c;this.options=n.extend({},r,u||{});this.autoStopped=this.locked=!1;this.buttonPrevState=this.buttonNextState=this.buttonPrev=this.buttonNext=this.list=this.clip=this.container=null;u&&u.rtl!==void 0||(this.options.rtl=(n(t).attr("dir")||n("html").attr("dir")||"").toLowerCase()=="rtl");this.wh=this.options.vertical?"height":"width";this.lt=this.options.vertical?"top":this.options.rtl?"right":"left";for(var e="",s=t.className.split(" "),o=0;o<s.length;o++)if(s[o].indexOf("jcarousel-skin")!=-1){n(t).removeClass(s[o]);e=s[o];break}t.nodeName.toUpperCase()=="UL"||t.nodeName.toUpperCase()=="OL"?(this.list=n(t),this.clip=this.list.parents(".jcarousel-clip"),this.container=this.list.parents(".jcarousel-container")):(this.container=n(t),this.list=this.container.find("ul,ol").eq(0),this.clip=this.container.find(".jcarousel-clip"));this.clip.length===0&&(this.clip=this.list.wrap("<div><\/div>").parent());this.container.length===0&&(this.container=this.clip.wrap("<div><\/div>").parent());e!==""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1&&this.container.wrap('<div class=" '+e+'"><\/div>');this.buttonPrev=n(".jcarousel-prev",this.container);this.buttonPrev.length===0&&this.options.buttonPrevHTML!==null&&(this.buttonPrev=n(this.options.buttonPrevHTML).appendTo(this.container));this.buttonPrev.addClass(this.className("jcarousel-prev"));this.buttonNext=n(".jcarousel-next",this.container);this.buttonNext.length===0&&this.options.buttonNextHTML!==null&&(this.buttonNext=n(this.options.buttonNextHTML).appendTo(this.container));this.buttonNext.addClass(this.className("jcarousel-next"));this.clip.addClass(this.className("jcarousel-clip")).css({position:"relative"});this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,margin:0,padding:0}).css(this.options.rtl?"right":"left",0);this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});!this.options.vertical&&this.options.rtl&&this.container.addClass("jcarousel-direction-rtl").attr("dir","rtl");var l=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null,e=this.list.children("li"),f=this;e.length>0&&(h=0,c=this.options.offset,e.each(function(){f.format(this,c++);h+=f.dimension(this,l)}),this.list.css(this.wh,h+100+"px"),u&&u.size!==void 0||(this.options.size=e.length));this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){f.next()};this.funcPrev=function(){f.prev()};this.funcResize=function(){f.resizeTimer&&clearTimeout(f.resizeTimer);f.resizeTimer=setTimeout(function(){f.reload()},100)};this.options.initCallback!==null&&this.options.initCallback(this,"init");!i&&n.browser.safari?(this.buttons(!1,!1),n(window).bind("load.jcarousel",function(){f.setup()})):this.setup()};t=n.jcarousel;t.fn=t.prototype={jcarousel:"0.2.8"};t.fn.extend=t.extend=n.extend;t.fn.extend({setup:function(){if(this.prevLast=this.prevFirst=this.last=this.first=null,this.animating=!1,this.tail=this.resizeTimer=this.timer=null,this.inTail=!1,!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var t=this.pos(this.options.start,!0);this.prevFirst=this.prevLast=null;this.animate(t,!1);n(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize);this.options.setupCallback!==null&&this.options.setupCallback(this)}},reset:function(){this.list.empty();this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");this.options.initCallback!==null&&this.options.initCallback(this,"reset");this.setup()},reload:function(){if(this.tail!==null&&this.inTail&&this.list.css(this.lt,t.intval(this.list.css(this.lt))+this.tail),this.tail=null,this.inTail=!1,this.options.reloadCallback!==null&&this.options.reloadCallback(this),this.options.visible!==null){var i=this,u=Math.ceil(this.clipping()/this.options.visible),n=0,r=0;this.list.children("li").each(function(t){n+=i.dimension(this,u);t+1<i.first&&(r=n)});this.list.css(this.wh,n+"px");this.list.css(this.lt,-r+"px")}this.scroll(this.first,!1)},lock:function(){this.locked=!0;this.buttons()},unlock:function(){this.locked=!1;this.buttons()},size:function(n){return n!==void 0&&(this.options.size=n,this.locked||this.buttons()),this.options.size},has:function(n,t){var i,r;for(t!==void 0&&t||(t=n),this.options.size!==null&&t>this.options.size&&(t=this.options.size),i=n;i<=t;i++)if(r=this.get(i),!r.length||r.hasClass("jcarousel-item-placeholder"))return!1;return!0},get:function(t){return n(">.jcarousel-item-"+t,this.list)},add:function(i,r){var u=this.get(i),f=0,e=n(r),s,o;if(u.length===0){for(o=t.intval(i),u=this.create(i);;)if(s=this.get(--o),o<=0||s.length){o<=0?this.list.prepend(u):s.after(u);break}}else f=this.dimension(u);return e.get(0).nodeName.toUpperCase()=="LI"?(u.replaceWith(e),u=e):u.empty().append(r),this.format(u.removeClass(this.className("jcarousel-item-placeholder")),i),e=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null,f=this.dimension(u,e)-f,i>0&&i<this.first&&this.list.css(this.lt,t.intval(this.list.css(this.lt))-f+"px"),this.list.css(this.wh,t.intval(this.list.css(this.wh))+f+"px"),u},remove:function(n){var i=this.get(n),r;!i.length||n>=this.first&&n<=this.last||(r=this.dimension(i),n<this.first&&this.list.css(this.lt,t.intval(this.list.css(this.lt))+r+"px"),i.remove(),this.list.css(this.wh,t.intval(this.list.css(this.wh))-r+"px"))},next:function(){this.tail!==null&&!this.inTail?this.scrollTail(!1):this.scroll((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!==null&&this.last==this.options.size?1:this.first+this.options.scroll)},prev:function(){this.tail!==null&&this.inTail?this.scrollTail(!0):this.scroll((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!==null&&this.first==1?this.options.size:this.first-this.options.scroll)},scrollTail:function(n){if(!this.locked&&!this.animating&&this.tail){this.pauseAuto();var i=t.intval(this.list.css(this.lt)),i=n?i+this.tail:i-this.tail;this.inTail=!n;this.prevFirst=this.first;this.prevLast=this.last;this.animate(i)}},scroll:function(n,t){this.locked||this.animating||(this.pauseAuto(),this.animate(this.pos(n),t))},pos:function(n,i){var s=t.intval(this.list.css(this.lt));if(this.locked||this.animating)return s;this.options.wrap!="circular"&&(n=n<1?1:this.options.size&&n>this.options.size?this.options.size:n);for(var e=this.first>n,c=this.options.wrap!="circular"&&this.first<=1?1:this.first,o=e?this.get(c):this.get(this.last),r=e?c:c-1,u=null,f=0,v=!1,h=0;e?--r>=n:++r<n;)u=this.get(r),v=!u.length,u.length===0&&(u=this.create(r).addClass(this.className("jcarousel-item-placeholder")),o[e?"before":"after"](u),this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(r<=0||r>this.options.size))&&(o=this.get(this.index(r)),o.length&&(u=this.add(r,o.clone(!0)))),o=u,h=this.dimension(u),v&&(f+=h),this.first!==null&&(this.options.wrap=="circular"||r>=1&&(this.options.size===null||r<=this.options.size))&&(s=e?s+h:s-h);for(var c=this.clipping(),y=[],a=0,l=0,o=this.get(n-1),r=n;++a;){if(u=this.get(r),v=!u.length,u.length===0&&(u=this.create(r).addClass(this.className("jcarousel-item-placeholder")),o.length===0?this.list.prepend(u):o[e?"before":"after"](u),this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(r<=0||r>this.options.size)&&(o=this.get(this.index(r)),o.length&&(u=this.add(r,o.clone(!0))))),o=u,h=this.dimension(u),h===0)throw Error("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...");if(this.options.wrap!="circular"&&this.options.size!==null&&r>this.options.size?y.push(u):v&&(f+=h),l+=h,l>=c)break;r++}for(u=0;u<y.length;u++)y[u].remove();if(f>0&&(this.list.css(this.wh,this.dimension(this.list)+f+"px"),e&&(s-=f,this.list.css(this.lt,t.intval(this.list.css(this.lt))-f+"px"))),f=n+a-1,this.options.wrap!="circular"&&this.options.size&&f>this.options.size&&(f=this.options.size),r>f)for(a=0,r=f,l=0;++a;){if(u=this.get(r--),!u.length)break;if(l+=this.dimension(u),l>=c)break}for(r=f-a+1,this.options.wrap!="circular"&&r<1&&(r=1),this.inTail&&e&&(s+=this.tail,this.inTail=!1),this.tail=null,this.options.wrap!="circular"&&f==this.options.size&&f-a+1>=1&&(e=t.intval(this.get(f).css(this.options.vertical?"marginBottom":"marginRight")),l-e>c)&&(this.tail=l-c-e),i&&n===this.options.size&&this.tail&&(s-=this.tail,this.inTail=!0);n-->r;)s+=this.dimension(this.get(n));return this.prevFirst=this.first,this.prevLast=this.last,this.first=r,this.last=f,s},animate:function(t,i){var r,f,u;this.locked||this.animating||(this.animating=!0,r=this,u=function(){if(r.animating=!1,t===0&&r.list.css(r.lt,0),!r.autoStopped&&(r.options.wrap=="circular"||r.options.wrap=="both"||r.options.wrap=="last"||r.options.size===null||r.last<r.options.size||r.last==r.options.size&&r.tail!==null&&!r.inTail)&&r.startAuto(),r.buttons(),r.notify("onAfterAnimation"),r.options.wrap=="circular"&&r.options.size!==null)for(var n=r.prevFirst;n<=r.prevLast;n++)n===null||n>=r.first&&n<=r.last||!(n<1||n>r.options.size)||r.remove(n)},this.notify("onBeforeAnimation"),this.options.animation&&i!==!1?(f=this.options.vertical?{top:t}:this.options.rtl?{right:t}:{left:t},u={duration:this.options.animation,easing:this.options.easing,complete:u},n.isFunction(this.options.animationStepCallback)&&(u.step=this.options.animationStepCallback),this.list.animate(f,u)):(this.list.css(this.lt,t+"px"),u()))},startAuto:function(n){if(n!==void 0&&(this.options.auto=n),this.options.auto===0)return this.stopAuto();if(this.timer===null){this.autoStopped=!1;var t=this;this.timer=window.setTimeout(function(){t.next()},this.options.auto*1e3)}},stopAuto:function(){this.pauseAuto();this.autoStopped=!0},pauseAuto:function(){this.timer!==null&&(window.clearTimeout(this.timer),this.timer=null)},buttons:function(n,t){n==null&&(n=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="first"||this.options.size===null||this.last<this.options.size),!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!==null&&this.last>=this.options.size)&&(n=this.tail!==null&&!this.inTail);t!=null||(t=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="last"||this.first>1),this.locked||this.options.wrap&&this.options.wrap!="last"||this.options.size===null||this.first!=1)||(t=this.tail!==null&&this.inTail);var i=this;this.buttonNext.length>0?(this.buttonNext.unbind(this.options.buttonNextEvent+".jcarousel",this.funcNext),n&&this.buttonNext.bind(this.options.buttonNextEvent+".jcarousel",this.funcNext),this.buttonNext[n?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",n?!1:!0),this.options.buttonNextCallback!==null&&this.buttonNext.data("jcarouselstate")!=n&&this.buttonNext.each(function(){i.options.buttonNextCallback(i,this,n)}).data("jcarouselstate",n)):this.options.buttonNextCallback!==null&&this.buttonNextState!=n&&this.options.buttonNextCallback(i,null,n);this.buttonPrev.length>0?(this.buttonPrev.unbind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev),t&&this.buttonPrev.bind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev),this.buttonPrev[t?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",t?!1:!0),this.options.buttonPrevCallback!==null&&this.buttonPrev.data("jcarouselstate")!=t&&this.buttonPrev.each(function(){i.options.buttonPrevCallback(i,this,t)}).data("jcarouselstate",t)):this.options.buttonPrevCallback!==null&&this.buttonPrevState!=t&&this.options.buttonPrevCallback(i,null,t);this.buttonNextState=n;this.buttonPrevState=t},notify:function(n){var t=this.prevFirst===null?"init":this.prevFirst<this.first?"next":"prev";this.callback("itemLoadCallback",n,t);this.prevFirst!==this.first&&(this.callback("itemFirstInCallback",n,t,this.first),this.callback("itemFirstOutCallback",n,t,this.prevFirst));this.prevLast!==this.last&&(this.callback("itemLastInCallback",n,t,this.last),this.callback("itemLastOutCallback",n,t,this.prevLast));this.callback("itemVisibleInCallback",n,t,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",n,t,this.prevFirst,this.prevLast,this.first,this.last)},callback:function(t,i,r,u,f,e,o){var h,c,t,s;if(!(this.options[t]==null||typeof this.options[t]!="object"&&i!="onAfterAnimation")&&(h=typeof this.options[t]=="object"?this.options[t][i]:this.options[t],n.isFunction(h)))if(c=this,u===void 0)h(c,r,i);else if(f===void 0)this.get(u).each(function(){h(c,this,u,r,i)});else for(t=function(n){c.get(n).each(function(){h(c,this,n,r,i)})},s=u;s<=f;s++)s===null||s>=e&&s<=o||t(s)},create:function(n){return this.format("<li><\/li>",n)},format:function(t,i){for(var t=n(t),u=t.get(0).className.split(" "),r=0;r<u.length;r++)u[r].indexOf("jcarousel-")!=-1&&t.removeClass(u[r]);return t.addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+i)).css({float:this.options.rtl?"right":"left","list-style":"none"}).attr("jcarouselindex",i),t},className:function(n){return n+" "+n+(this.options.vertical?"-vertical":"-horizontal")},dimension:function(i,r){var u=n(i),f;return r==null?this.options.vertical?u.outerHeight(!0)||t.intval(this.options.itemFallbackDimension):u.outerWidth(!0)||t.intval(this.options.itemFallbackDimension):(f=this.options.vertical?r-t.intval(u.css("marginTop"))-t.intval(u.css("marginBottom")):r-t.intval(u.css("marginLeft"))-t.intval(u.css("marginRight")),n(u).css(this.wh,f+"px"),this.dimension(u))},clipping:function(){return this.options.vertical?this.clip[0].offsetHeight-t.intval(this.clip.css("borderTopWidth"))-t.intval(this.clip.css("borderBottomWidth")):this.clip[0].offsetWidth-t.intval(this.clip.css("borderLeftWidth"))-t.intval(this.clip.css("borderRightWidth"))},index:function(n,t){return t==null&&(t=this.options.size),Math.round(((n-1)/t-Math.floor((n-1)/t))*t)+1}});t.extend({defaults:function(t){return n.extend(r,t||{})},intval:function(n){return n=parseInt(n,10),isNaN(n)?0:n},windowLoaded:function(){i=!0}});n.fn.jcarousel=function(i){if(typeof i=="string"){var r=n(this).data("jcarousel"),u=Array.prototype.slice.call(arguments,1);return r[i].apply(r,u)}return this.each(function(){var r=n(this).data("jcarousel");r?(i&&n.extend(r.options,i),r.reload()):n(this).data("jcarousel",new t(this,i))})}}(jQuery),function(n){var i={autoPlay:!0,speed:5e3,text:{play:"",stop:"",previous:"Previous",next:"Next"},transition:[1],showCaption:!0,IESafe:!1,showTooltips:!1,carousel:!1,carouselVertical:!1,animationFinished:null,buildFinished:null,bindFinished:null,startOn:0,thumbOpacity:.4,hoverPause:!1},t;n.fn.PikaChoose=function(i){return this.each(function(){n(this).data("pikachoose",new t(this,i))})};n.PikaChoose=function(t,r){var u,f,e,o;if(this.options=n.extend({},i,r||{}),this.list=null,this.image=null,this.anchor=null,this.caption=null,this.imgNav=null,this.imgPlay=null,this.imgPrev=null,this.imgNext=null,this.textNext=null,this.textPrev=null,this.previous=null,this.next=null,this.aniWrap=null,this.aniDiv=null,this.aniImg=null,this.thumbs=null,this.transition=null,this.active=null,this.tooltip=null,this.animating=!1,this.stillOut=null,this.counter=null,this.timeOut=null,typeof this.options.data!="undefined"&&(t=n("<ul><\/ul>").appendTo(t),n.each(this.options.data,function(){var i;typeof this.link!="undefined"?(i=n("<li><a href='"+this.link+"'><img><\/a><\/li>").appendTo(t),typeof this.title!="undefined"&&i.find("a").attr("title",this.title)):i=n("<li><img><\/li>").appendTo(t);typeof this.caption!="undefined"&&i.append("<span>"+this.caption+"<\/span>");typeof this.thumbnail!="undefined"?(i.find("img").attr("ref",this.image),i.find("img").attr("src",this.thumbnail)):i.find("img").attr("src",this.image)})),t.nodeName=="UL"||t.nodeName=="OL"||t instanceof jQuery)this.list=n(t),this.build(),this.bindEvents();else return;for(u=0,f=0,e=0;e<25;e++)o='<div col="'+u+'" row="'+f+'"><\/div>',this.aniDiv.append(o),u++,u==5&&(f++,u=0)};t=n.PikaChoose;t.fn=t.prototype={pikachoose:"4.3.1"};n.fn.pikachoose=n.fn.PikaChoose;t.fn.extend=t.extend=n.extend;t.fn.extend({build:function(){this.step=0;this.wrap=n("<div class='pika-stage'><\/div>").insertBefore(this.list);this.image=n("<img>").appendTo(this.wrap);this.imgNav=n("<div class='pika-imgnav'><\/div>").insertAfter(this.image);this.imgPlay=n("<a><\/a>").appendTo(this.imgNav);this.counter=n("<span class='pika-counter'><\/span>").appendTo(this.imgNav);this.options.autoPlay?this.imgPlay.addClass("pause"):this.imgPlay.addClass("play");this.imgPrev=n("<a class='previous'><\/a>").insertAfter(this.imgPlay);this.imgNext=n("<a class='next'><\/a>").insertAfter(this.imgPrev);this.caption=n("<div class='caption'><\/div>").insertAfter(this.imgNav).hide();this.tooltip=n("<div class='pika-tooltip'><\/div>").insertAfter(this.list).hide();this.aniWrap=n("<div class='pika-aniwrap'><\/div>").insertAfter(this.caption);this.aniImg=n("<img>").appendTo(this.aniWrap).hide();this.aniDiv=n("<div class='pika-ani'><\/div>").appendTo(this.aniWrap);this.textNav=n("<div class='pika-textnav'><\/div>").insertAfter(this.aniWrap);this.textPrev=n("<a class='previous'>"+this.options.text.previous+"<\/a>").appendTo(this.textNav);this.textNext=n("<a class='next'>"+this.options.text.next+"<\/a>").appendTo(this.textNav);this.list.addClass("pika-thumbs");this.list.children("li").wrapInner("<div class='clip' />");this.thumbs=this.list.find("img");this.active=this.thumbs.eq(this.options.startOn);this.finishAnimating({source:this.active.attr("ref")||this.active.attr("src"),caption:this.active.parents("li:first").find("span:first").html(),clickThrough:this.active.parent().attr("href")||"",clickThroughTitle:this.active.parent().attr("title")||""});var t=this;this.thumbs.each(function(){t.createThumb(n(this),t)});this.options.carousel&&this.list.jcarousel({vertical:this.options.carouselVertical,initCallback:function(n){jQuery(n.list).find("img").click(function(){var t=parseInt(jQuery(this).parents(".jcarousel-item").attr("jcarouselindex")),i=jQuery(this).parents("ul").find("li:last").index()==t-1?!0:!1;i||(t=t-2<=0?0:t-2);t++;n.scroll(t)})}});typeof this.options.buildFinished=="function"&&this.options.buildFinished(this)},createThumb:function(t){var i=t,r=this,u;i.hide();n.data(t[0],"clickThrough",i.parent("a").attr("href")||"");n.data(t[0],"clickThroughTitle",i.parent("a").attr("title")||"");i.parent("a").length>0&&i.unwrap();n.data(t[0],"caption",i.next("span").html()||"");i.next("span").remove();n.data(t[0],"source",i.attr("ref")||i.attr("src"));n.data(t[0],"order",i.closest("ul").find("li").index(i.parents("li")));u=n.data(t[0]);n("<img />").bind("load",{data:u},function(){var s,h,f,o,l,a,v;typeof r.options.buildThumbStart=="function"&&r.options.buildThumbStart(r);var c=n(this),t=this.width,e=this.height;t===0&&(t=c.attr("width"));e===0&&(e=c.attr("height"));s=parseInt(i.parents(".clip").css("width").slice(0,-2))/t;h=parseInt(i.parents(".clip").css("height").slice(0,-2))/e;s<h?(f=h,o=(t*f-parseInt(i.parents(".clip").css("width").slice(0,-2)))/-2,o=Math.round(o),i.css({left:o})):(f=s,i.css({top:0}));l=Math.round(t*f);a=Math.round(e*f);i.css("position","relative");v={width:l+"px",height:a+"px"};i.css(v);i.hover(function(){(clearTimeout(r.stillOut),n(this).stop(!0,!0).fadeTo(250,1),r.options.showTooltips)&&r.tooltip.show().stop(!0,!0).html(u.caption).animate({top:n(this).parent().position().top,left:n(this).parent().position().left,opacity:1},"fast")},function(){n(this).hasClass("active")||(n(this).stop(!0,!0).fadeTo(250,r.options.thumbOpacity),r.stillOut=setTimeout(r.hideTooltip,700))});u.order==r.options.startOn?(i.fadeTo(250,1),i.addClass("active"),i.parents("li").eq(0).addClass("active")):i.fadeTo(250,r.options.thumbOpacity);typeof r.options.buildThumbFinish=="function"&&r.options.buildThumbFinish(r)}).attr("src",i.attr("src"))},bindEvents:function(){this.thumbs.bind("click",{self:this},this.imgClick);this.imgNext.bind("click",{self:this},this.nextClick);this.textNext.bind("click",{self:this},this.nextClick);this.imgPrev.bind("click",{self:this},this.prevClick);this.textPrev.bind("click",{self:this},this.prevClick);this.imgPlay.bind("click",{self:this},this.playClick);this.wrap.bind("mouseenter",{self:this},function(n){n.data.self.imgNav.stop(!0,!0).fadeIn("slow");n.data.self.options.hoverPause==!0&&clearTimeout(n.data.self.timeOut)});this.wrap.bind("mouseleave",{self:this},function(n){n.data.self.imgNav.stop(!0,!0).fadeOut("slow");n.data.self.options.autoPlay==!0&&n.data.self.options.hoverPause&&(n.data.self.timeOut=setTimeout(function(n){return function(){n.nextClick()}}(n.data.self),n.data.self.options.speed))});this.tooltip.bind("mouseenter",{self:this},function(n){clearTimeout(n.data.self.stillOut)});this.tooltip.bind("mouseleave",{self:this},function(n){n.data.self.stillOut=setTimeout(n.data.self.hideTooltip,700)});typeof this.options.bindsFinished=="function"&&this.options.bindsFinished(this)},hideTooltip:function(){n(".pika-tooltip").animate({opacity:.01})},imgClick:function(t,i){var r=t.data.self,u=n.data(this);if(!r.animating){if(typeof i=="undefined"||i.how!="auto")r.options.autoPlay&&r.imgPlay.trigger("click");else if(r.options.autoPlay==!1)return!1;r.caption.fadeOut("slow");r.animating=!0;r.active.fadeTo(300,r.options.thumbOpacity).removeClass("active");r.active.parents(".active").eq(0).removeClass("active");r.active=n(this);r.active.addClass("active").fadeTo(200,1);r.active.parents("li").eq(0).addClass("active");n("<img />").bind("load",{self:r,data:u},function(){r.aniDiv.css({height:r.image.height(),width:r.image.width()}).fadeIn("fast");r.aniDiv.children("div").css({width:"20%",height:"20%",float:"left"});var t=0;r.options.transition[0]==-1?t=Math.floor(Math.random()*7)+1:(t=r.options.transition[r.step],r.step++,r.step>=r.options.transition.length&&(r.step=0));r.options.IESafe&&n.browser.msie&&(t=1);r.doAnimation(t,u)}).attr("src",n.data(this).source)}},doAnimation:function(t,i){var r=this;r.image.stop(!0,!1);r.caption.stop().fadeOut();var e=r.aniDiv.children("div").eq(0).width(),u=r.aniDiv.children("div").eq(0).height(),f=new Image;n(f).attr("src",i.source);(f.height!=r.image.height()||f.width!=r.image.width())&&t!=0&&t!=1&&t!=7&&(t=1);r.aniDiv.css({height:f.height,width:f.width});r.aniDiv.children().each(function(){var t=n(this),r=Math.floor(t.parent().width()/5)*t.attr("col"),u=Math.floor(t.parent().height()/5)*t.attr("row");t.css({background:"url("+i.source+") -"+r+"px -"+u+"px",width:"0px",height:"0px",position:"absolute",top:u+"px",left:r+"px",float:"none"})});r.aniDiv.hide();r.aniImg.hide();switch(t){case 0:r.image.stop(!0,!0).fadeOut("slow",function(){r.image.attr("src",i.source).fadeIn("slow",function(){r.finishAnimating(i)})});break;case 1:r.aniDiv.hide();r.aniImg.height(r.image.height()).hide().attr("src",i.source);n.when(r.image.fadeOut("slow"),r.aniImg.eq(0).fadeIn("slow")).done(function(){r.finishAnimating(i)});break;case 2:r.aniDiv.show().children().hide().each(function(t){var f=t*30;n(this).css({opacity:.1}).show().delay(f).animate({opacity:1,width:e,height:u},200,"linear",function(){r.aniDiv.find("div").index(this)==24&&r.finishAnimating(i)})});break;case 3:r.aniDiv.show().children("div:lt(5)").hide().each(function(){var t=n(this).attr("col")*100;n(this).css({opacity:.1,width:e}).show().delay(t).animate({opacity:1,height:r.image.height()},700,"linear",function(){r.aniDiv.find(" div").index(this)==4&&r.finishAnimating(i)})});break;case 4:r.aniDiv.show().children().hide().each(function(t){if(!(t>4)){var f=n(this).attr("col")*10;u=r.gapper(n(this),u);n(this).css({opacity:.1,height:"100%"}).show().animate({opacity:1,width:e},500,"linear",function(){r.aniDiv.find(" div").index(this)==4&&r.finishAnimating(i)})}});break;case 5:r.aniDiv.show().children().show().each(function(t){var f=t*Math.floor(Math.random()*5)*7;u=r.gapper(n(this),u);n(".animation div").index(this)==24&&(f=600);n(this).css({height:u,width:e,opacity:.01}).delay(f).animate({opacity:1},600,function(){r.aniDiv.find(" div").index(this)==24&&r.finishAnimating(i)})});break;case 6:r.aniDiv.height(r.image.height()).hide().css({background:"url("+i.source+") top left no-repeat"});r.aniDiv.children("div").hide();r.aniDiv.css({width:0}).show().animate({width:r.image.width()},"slow",function(){r.finishAnimating(i);r.aniDiv.css({background:"transparent"})});break;case 7:r.wrap.css({overflow:"hidden"});r.aniImg.height(r.image.height()).hide().attr("src",i.source);r.aniDiv.hide();r.image.css({position:"relative"}).animate({left:"-"+r.wrap.outerWidth()+"px"});r.aniImg.show();r.aniWrap.css({left:r.wrap.outerWidth()}).show().animate({left:"0px"},"slow",function(){r.finishAnimating(i)})}},finishAnimating:function(t){var r,u,i;this.animating=!1;this.image.attr("src",t.source);this.image.css({left:"0"});this.image.show();i=this;n("<img />").bind("load",function(){i.aniImg.hide();i.aniDiv.hide()}).attr("src",t.source);r=this.list.find("img").index(this.active);r++;u=this.list.find("img").length;this.counter.html(r+"/"+u);t.clickThrough!=""?(this.anchor==null&&(this.anchor=this.image.wrap("<a>").parent()),this.anchor.attr("href",t.clickThrough),this.anchor.attr("title",t.clickThroughTitle)):(this.image.parent("a").length>0&&this.image.unwrap(),this.anchor=null);this.options.showCaption&&t.caption!=""&&t.caption!=null&&this.caption.html(t.caption).fadeTo("slow",1);this.options.autoPlay==!0&&(i=this,this.timeOut=setTimeout(function(n){return function(){n.nextClick()}}(this),this.options.speed,this.timeOut));typeof this.options.animationFinished=="function"&&this.options.animationFinished(this)},gapper:function(n,t){return n.attr("row")==9&&n.attr("col")==0?ani_divs.height()-t*9:t},nextClick:function(n){var r="natural",t,i;try{t=n.data.self;typeof n.data.self.options.next=="function"&&n.data.self.options.next(this)}catch(u){t=this;r="auto"}i=t.active.parents("li:first").next().find("img");i.length==0&&(i=t.list.find("img").eq(0));i.trigger("click",{how:r})},prevClick:function(n){typeof n.data.self.options.previous=="function"&&n.data.self.options.previous(this);var i=n.data.self,t=i.active.parents("li:first").prev().find("img");t.length==0&&(t=i.list.find("img:last"));t.trigger("click")},playClick:function(n){var t=n.data.self;t.options.autoPlay=!t.options.autoPlay;t.imgPlay.toggleClass("play").toggleClass("pause");t.options.autoPlay&&t.nextClick()}})}(jQuery),function(){function n(t,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!t[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){var i=t[f][1][n];return u(i||n)},s,s.exports,n,t,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}return n}()({1:[function(n,t){"use strict";var i=window.jQuery,r=n("c2-debounce-af"),u=function(){var n=this;return function(t){var u={jwplayer:"jwplayer",youtube:"youtube"},o=i(t).find(".video-container > div").attr("id"),c=i("#"+o),s=i(t).attr("data-video-src"),l=i(t).attr("data-poster-image"),f=i(t).attr("data-video-player"),h=function(){var n=i(t).outerWidth();return n*.5625},e=null,a={flashplayer:"/Static/dist/jwplayer/player.swf",file:s,skin:"/Static/dist/jwplayer/glow/glow.xml",image:l,width:i(t).outerWidth(),height:h()},v=function(){var n='<iframe width="560" height="315"\n                src="https://www.youtube.com/embed/'+s+'" frameborder="0"\n                allow="autoplay; encrypted-media" allowfullscreen="true"><\/iframe>';c.append(n)},y=function(){if(f===u.jwplayer&&e!==null){var n=i(t).outerWidth(),r=h();e.resize(n,r)}};f===u.jwplayer&&(e=jwplayer(o).setup(a));f===u.youtube&&v();i(window).on("resize",r(y.bind(n),500))}}();t.exports=function(n){new u(n)}},{"c2-debounce-af":10}],2:[function(n,t){"use strict";var i=n("jquery"),e=n("moment"),r=n("query-string-handler"),u,f;n("fullcalendar");u=n("modal-handler");u.config({zIndexStart:9e3});f=function(){return function(n){var t=i(n),h=i("#calendar-details"),c=t.data("web-service"),f=i('input[name="category-filter"]'),o={category:r.getValue("category")},l="(max-width: 767.98px)",a=function(){f.click(function(){var n=i(this).val();o.category=n;r.replace({category:n});i(".calendar-container").each(function(){i(this).fullCalendar("refetchEvents")})})},v=function(){f.siblings("label").on("keydown",function(n){n.keyCode===13&&i(this).prev('input[type="radio"]').trigger("click")})},y=function(){var n=o.category,t=function(n,t){n.each(function(){if(i(this).val()===t)return i(this).trigger("click"),!1})},u=function(){var n=f.filter(":checked").val();return n!==undefined&&(o.category=n,r.replace({category:n}),i(".calendar-container").each(function(){i(this).fullCalendar("refetchEvents")})),!1};n!==undefined&&t(f,n);n===undefined&&u()},s=function(){window.matchMedia(l).matches?(i(".calendar-container").each(function(){i(this).fullCalendar("changeView","listMonth")}),t.find(".fc-toolbar .fc-right").hide()):t.find(".fc-toolbar .fc-right").show()},p=function(n){return n.displayDate+" "+n.displayTime},w=function(n,t,r){var f="",o,e,u,s,c,l,a,v,y;r.type==="month"&&i("#EventModal-"+n.occurrenceId).length>0||(r.type==="month"?(f=i("<div/>",{"class":"EventModal Modal "+n.categoryClass,id:"EventModal-"+n.occurrenceId}),h.append(f)):(f=i("<div/>",{"class":"EventDetails "+n.categoryClass}),i(t).find(".fc-list-item-title").append(f)),o=i("<button/>",{"class":"close",type:"button","aria-label":"Close"}),f.append(o),e=i("<div/>",{"class":"event-details"}),f.append(e),u=i("<div/>",{"class":"content"}),e.append(u),s=i("<h3/>",{text:n.title}),u.append(s),c=i("<div/>",{"class":"date",html:'<span class="label">'+n.dateLabelText+":<\/span> "+p(n)}),u.append(c),n.location&&(l=i("<div/>",{"class":"location",html:'<span class="label">'+n.locationLabelText+":<\/span> "+n.location}),u.append(l)),n.description&&(a=i("<div/>",{"class":"description",html:n.description}),u.append(a)),n.link&&(v=i("<a/>",{"class":"link",href:n.link,text:n.linkText}),u.append(v)),n.downloadLink&&(y=i("<a/>",{"class":"download-link",href:n.downloadLink,text:n.downloadLinkText}),u.append(y)))},b=function(n,t){var e,f,r;t.type==="month"?(e="#EventModal-"+n.attr("data-id"),f=u.create(e),f.open(),f.$el.find(".close").click(function(){f.close();f.$el.removeAttr("style")})):(r=n.find(".EventDetails"),r.hasClass("active")?r.find(".link").click(function(){var n=i(this).attr("href");window.location.href=n}):(r.addClass("active"),r.slideDown(),r.find(".close").click(function(n){n.stopPropagation();r.removeClass("active");r.slideUp()})))},k=function(n,t,r){n.fullCalendar({themeSystem:"bootstrap4",bootstrapFontAwesome:{listMonth:"fa-th-list",month:"fa-th"},events:{url:c,data:o},header:t,defaultView:"month",defaultDate:r,eventLimit:!0,lazyFetching:!0,displayEventTime:!0,eventRender:function(n,t,i){if(t.addClass(n.categoryClass),n.url===""||n.url===undefined)if(i.type==="month")t.attr("href","#");else{var r=t.children(".fc-list-item-title").children("a");r.attr("href","#")}t.attr("data-id",n.occurrenceId);w(n,t,i)},loading:function(n){i("#calendar-loading").toggle(n)},eventClick:function(n,t,r){if(n.url===""&&t.target.className!=="link"){t.preventDefault();var u=i(t.currentTarget);b(u,r)}}})};k(t,{left:"prev,next today",center:"title",right:"listMonth,month"},e());i(window).resize(function(){s()});y();a();v();s()}}();t.exports=function(n){new f(n)}},{fullcalendar:12,jquery:13,"modal-handler":14,moment:16,"query-string-handler":17}],3:[function(n){"use strict";var t=window.jQuery,i=n("./print");t("table").wrap('<div class="Responsive-Table"><\/div>');t(".print-page").length>0&&new i(".print-page");t(".sidebar_title").length>0&&t(".sidebar_title").each(function(){t(this).children("span").length>0||t(this).wrapInner("<span><\/span>")})},{"./print":5}],4:[function(n,t){"use strict";var i=window.jQuery,r=function(){return function(){var r=i(".PagedList-skipToPrevious a"),u=i(".PagedList-skipToNext a"),n,t;r.append('<span class="Hidden">Previous page<\/span>');u.append('<span class="Hidden">Next page<\/span>');i(".PagedList-skipToLast")&&(n=i(".PagedList-skipToLast a"),n.append('<span class="Hidden">Last page<\/span>'));i(".PagedList-skipToFirst")&&(t=i(".PagedList-skipToFirst a"),t.append('<span class="Hidden">First page<\/span>'))}}();t.exports=function(n){new r(n)}},{}],5:[function(n,t){"use strict";var i=window.jQuery,r=function(){return function(n){i(n).click(function(){return window.print(),!1})}}();t.exports=function(n){new r(n)}},{}],6:[function(n,t){"use strict";var i=window.jQuery,r=function(){return function(n){var t=i(n),r=t.find(".jcarousel-skin-pika"),u;r.length>0&&(u=t.attr("data-carousel-speed"),r.find("li").length>1?(r.PikaChoose({carousel:!0,speed:u*1e3}),t.swipe({excludedElements:".jcarousel-container, .gallery-title",swipe:function(n){n==="left"&&t.find("a.next").click();n==="right"&&t.find("a.previous").click()}})):(t.addClass("oneSlide"),r.PikaChoose({autoPlay:!1})))}}();t.exports=function(n){new r(n)}},{}],7:[function(n,t){"use strict";var i=window.jQuery,r=function(){return function(n){var u=i(n),s=u.attr("data-webservice"),v=u.attr("data-pagereference"),f=u.find(".txtSearchKeyword"),r=u.find(".SearchSuggestionList"),e="",h=[],y=500,c=0,t="",o=function(n,t){t&&(f.get(0).value=n);e=n},p=function(){s&&i.ajax({method:"GET",url:s,data:{q:e,currentPageContentLink:v}}).done(function(n){var t=n;e===""&&(t={suggestions:[]});h=t.SuggestionItems;w(h)})},w=function(n){k();n&&n.length>0&&n.map(function(n){var t=b(n.Url,n.Title);r.append(t);d()})},b=function(n,t){var r=decodeURIComponent(t),u=decodeURIComponent(n),i=i='<li><a href="'+u+"?q="+t+'&sortby=Relevance">'+r+"<\/a><\/li>";return i},k=function(){r.find("li").each(function(){i(this).remove()});l()},d=function(){r.removeClass("hide")},l=function(){r.addClass("hide")},g=function(){var n=event.target!==f&&event.target!==r?!0:!1;r.hasClass("hide")||n&&l()},a=function(n){clearTimeout(c);c=setTimeout(function(){o(n);p()},y)},nt=function(n){var i=r.find("li"),u,f;n.keyCode==40?(t===""?t=0:t+1<i.length&&t++,u=i.get(t),u!=undefined&&(i.removeClass("selected"),i.get(t).className="selected"),o(u.firstElementChild.innerText,!0)):n.keyCode==38&&(t===""?t=0:t>0&&t--,f=i.get(t),f!=undefined&&(console.log("List item is not undefined."),i.removeClass("selected"),i.get(t).className="selected"),o(f.firstElementChild.innerText,!0))};f.on("keyup",function(n){n.keyCode==38||n.keyCode==40?nt(n):a(i(this).val())});f.on("focus",function(){var n=i(this).val();n!==""&&a(i(this).val())});i(document).on("click",function(){g()})}}();t.exports=function(n){new r(n)}},{}],8:[function(n,t){"use strict";var i=n("query-string-handler"),r=function(){return function(){var t=document.getElementById("SearchSortBy"),n=void 0,r=function(){n=i.getValue("sortby");t.value=n};r()}}();t.exports=function(){new r}},{"query-string-handler":17}],9:[function(n){"use strict";var t=window.jQuery,i;n("./mod/global");var r=n("./mod/block-video"),u=n("./mod/calendar"),f=n("./mod/pagination"),e=n("./mod/school/block-image-gallery"),s=n("./mod/search"),o=n("./mod/school/quick-search");t("#SearchSortBy").length>0;t(".pagination").length>0&&t(".pagination").each(function(){new f(this)});t(".VideoBlock").length>0&&t(".VideoBlock").each(function(){new r(this)});t(".ImageGallerySchoolBlock").length>0&&t(".ImageGallerySchoolBlock").each(function(){new e(this)});t("#school-calendar").length>0&&new u("#school-calendar");t(".quick-search").length>0&&t(".quick-search").each(function(){new o(this)});i=t("#content").data("above-image");i.length>0&&t(".homepage").length==0&&t(".above-content-image").css("background-image","url("+i)},{"./mod/block-video":1,"./mod/calendar":2,"./mod/global":3,"./mod/pagination":4,"./mod/school/block-image-gallery":6,"./mod/school/quick-search":7,"./mod/search":8}],10:[function(n,t){"use strict";function i(n){if(typeof window!="undefined"&&!("requestAnimationFrame"in window))return n;var t=null;return function(){for(var r=arguments.length,u=Array(r),i=0;i<r;i++)u[i]=arguments[i];t!==null&&cancelAnimationFrame(t);t=requestAnimationFrame(function(){n.apply(undefined,u);t=null})}}t.exports=i},{}],11:[function(n,t){"use strict";var u=function(n,t){var i=this;if(typeof n=="string"&&n.length&&typeof t!="undefined"){if(n.indexOf(" ")>-1){n.split(" ").forEach(function(n){u.call(i,n,t)});return}this._events=this._events||{};this._events[n]=this._events[n]||[];this._events[n].push(t)}},f=function(n,t){var r=this,i;if(typeof n=="string"&&n.length){if(n.indexOf(" ")>-1){n.split(" ").forEach(function(n){f.call(r,n,t)});return}if(this._events=this._events||{},n in this._events!=!1){if(typeof t=="undefined"){delete this._events[n];return}i=this._events[n].indexOf(t);i>-1&&(this._events[n].length===1?delete this._events[n]:this._events[n].splice(i,1))}}},i=function(n){for(var f,e=this,r=arguments.length,u=Array(r>1?r-1:0),t=1;t<r;t++)u[t-1]=arguments[t];(f=n.lastIndexOf(":"),f>-1&&i.call.apply(i,[this,n.substring(0,f)].concat(u)),this._events=this._events||{},n in this._events!=!1)&&this._events[n].forEach(function(n){n.apply(e,u)})},e=function(){},r=e.prototype,o;r.on=u;r.off=f;r.emit=i;r.bind=u;r.unbind=f;r.trigger=i;o=function(n){return arguments.length===0?new e:(typeof n=="function"&&(n.prototype.on=u,n.prototype.off=f,n.prototype.emit=i),typeof n=="object"&&(n.on=u,n.off=f,n.emit=i),n)};o.EventConstructor=e;t.exports=o},{}],12:[function(n,t,i){(function(r,u){typeof i=="object"&&typeof t=="object"?t.exports=u(n("moment"),n("jquery")):typeof define=="function"&&define.amd?define(["moment","jquery"],u):typeof i=="object"?i.FullCalendar=u(n("moment"),n("jquery")):r.FullCalendar=u(r.moment,r.jQuery)})(typeof self!="undefined"?self:this,function(n,t){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=236)}([function(t){t.exports=n},,function(n,t){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])};t.__extends=function(n,t){function r(){this.constructor=n}i(n,t);n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}},function(n){n.exports=t},function(n,t,i){function nt(n,t){t.left&&n.css({"border-left-width":1,"margin-left":t.left-1});t.right&&n.css({"border-right-width":1,"margin-right":t.right-1})}function tt(n){n.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function it(){r("body").addClass("fc-not-allowed")}function rt(){r("body").removeClass("fc-not-allowed")}function ut(n,t,i){var u=Math.floor(t/n.length),e=Math.floor(t-u*(n.length-1)),f=[],o=[],s=[],h=0;c(n);n.each(function(t,i){var l=t===n.length-1?e:u,c=r(i).outerHeight(!0);c<l?(f.push(i),o.push(c),s.push(r(i).height())):h+=c});i&&(t-=h,u=Math.floor(t/f.length),e=Math.floor(t-u*(f.length-1)));r(f).each(function(n,t){var i=n===f.length-1?e:u,h=o[n],c=s[n],l=i-(h-c);h<i&&r(t).height(l)})}function c(n){n.height("")}function ft(n){var t=0;return n.find("> *").each(function(n,i){var u=r(i).outerWidth();u>t&&(t=u)}),t++,n.width(t),t}function et(n,t){var i=n.add(t),r;return i.css({position:"relative",left:-1}),r=n.outerHeight()-t.outerHeight(),i.css({position:"",left:""}),r}function ot(n){var i=n.css("position"),t=n.parents().filter(function(){var n=r(this);return/(auto|scroll)/.test(n.css("overflow")+n.css("overflow-y")+n.css("overflow-x"))}).eq(0);return i==="fixed"||!t.length?r(n[0].ownerDocument||document):t}function st(n,t){var i=n.offset(),r=i.left-(t?t.left:0),u=i.top-(t?t.top:0);return{left:r,right:r+n.outerWidth(),top:u,bottom:u+n.outerHeight()}}function ht(n,t){var i=n.offset(),r=l(n),u=i.left+f(n,"border-left-width")+r.left-(t?t.left:0),e=i.top+f(n,"border-top-width")+r.top-(t?t.top:0);return{left:u,right:u+n[0].clientWidth,top:e,bottom:e+n[0].clientHeight}}function ct(n,t){var i=n.offset(),r=i.left+f(n,"border-left-width")+f(n,"padding-left")-(t?t.left:0),u=i.top+f(n,"border-top-width")+f(n,"padding-top")-(t?t.top:0);return{left:r,right:r+n.width(),top:u,bottom:u+n.height()}}function l(n){var t=n[0].offsetWidth-n[0].clientWidth,r=n[0].offsetHeight-n[0].clientHeight,i;return t=a(t),r=a(r),i={left:0,right:0,top:0,bottom:r},lt()&&n.css("direction")==="rtl"?i.left=t:i.right=t,i}function a(n){return n=Math.max(0,n),Math.round(n)}function lt(){return s===null&&(s=at()),s}function at(){var n=r("<div><div/><\/div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),t=n.children(),i=t.offset().left>n.offset().left;return n.remove(),i}function f(n,t){return parseFloat(n.css(t))||0}function vt(n){return n.which===1&&!n.ctrlKey}function yt(n){var t=n.originalEvent.touches;return t&&t.length?t[0].pageX:n.pageX}function pt(n){var t=n.originalEvent.touches;return t&&t.length?t[0].pageY:n.pageY}function wt(n){return/^touch/.test(n.type)}function bt(n){n.addClass("fc-unselectable").on("selectstart",h)}function kt(n){n.removeClass("fc-unselectable").off("selectstart",h)}function h(n){n.preventDefault()}function dt(n,t){var i={left:Math.max(n.left,t.left),right:Math.min(n.right,t.right),top:Math.max(n.top,t.top),bottom:Math.min(n.bottom,t.bottom)};return i.left<i.right&&i.top<i.bottom?i:!1}function gt(n,t){return{left:Math.min(Math.max(n.left,t.left),t.right),top:Math.min(Math.max(n.top,t.top),t.bottom)}}function ni(n){return{left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}}function ti(n,t){return{left:n.left-t.left,top:n.top-t.top}}function ii(n){var f=[],i=[],u,t;for(typeof n=="string"?i=n.split(/\s*,\s*/):typeof n=="function"?i=[n]:r.isArray(n)&&(i=n),u=0;u<i.length;u++)t=i[u],typeof t=="string"?f.push(t.charAt(0)==="-"?{field:t.substring(1),order:-1}:{field:t,order:1}):typeof t=="function"&&f.push({func:t});return f}function ri(n,t,i,r,u){for(var e,f=0;f<i.length;f++)if(e=v(n,t,i[f],r,u),e)return e;return 0}function v(n,t,i,r,u){if(i.func)return i.func(n,t);var f=n[i.field],e=t[i.field];return f==null&&r&&(f=r[i.field]),e==null&&u&&(e=u[i.field]),y(f,e)*(i.order||1)}function y(n,t){return!n&&!t?0:t==null?-1:n==null?1:r.type(n)==="string"||r.type(t)==="string"?String(n).localeCompare(String(t)):n-t}function ui(n,t){return u.duration({days:n.clone().stripTime().diff(t.clone().stripTime(),"days"),ms:n.time()-t.time()})}function fi(n,t){return u.duration({days:n.clone().stripTime().diff(t.clone().stripTime(),"days")})}function ei(n,t,i){return u.duration(Math.round(n.diff(t,i,!0)),i)}function p(n,i){for(var u,f,r=0;r<t.unitsDesc.length;r++)if(u=t.unitsDesc[r],f=si(u,n,i),f>=1&&e(f))break;return u}function oi(n,t){var i=p(n);return i==="week"&&typeof t=="object"&&t.days&&(i="day"),i}function si(n,t,i){return i!=null?i.diff(t,n,!0):u.isDuration(t)?t.as(n):t.end.diff(t.start,n,!0)}function hi(n,t,i){var r;return o(i)?(t-n)/i:(r=i.asMonths(),Math.abs(r)>=1&&e(r))?t.diff(n,"months",!0)/r:t.diff(n,"days",!0)/i.asDays()}function ci(n,t){var i,r;return o(n)||o(t)?n/t:(i=n.asMonths(),r=t.asMonths(),Math.abs(i)>=1&&e(i)&&Math.abs(r)>=1&&e(r))?i/r:n.asDays()/t.asDays()}function li(n,t){var i;return o(n)?u.duration(n*t):(i=n.asMonths(),Math.abs(i)>=1&&e(i))?u.duration({months:i*t}):u.duration({days:n.asDays()*t})}function o(n){return Boolean(n.hours()||n.minutes()||n.seconds()||n.milliseconds())}function ai(n){return Object.prototype.toString.call(n)==="[object Date]"||n instanceof Date}function vi(n){return typeof n=="string"&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(n)}function w(){for(var n,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return n=window.console,n&&n.log?n.log.apply(n,i):void 0}function yi(){for(var n,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return n=window.console,n&&n.warn?n.warn.apply(n,i):w.apply(null,i)}function k(n,t){var u={},i,r,e,o,f,s;if(t)for(i=0;i<t.length;i++){for(r=t[i],e=[],o=n.length-1;o>=0;o--)if(f=n[o][r],typeof f=="object")e.unshift(f);else if(f!==undefined){u[r]=f;break}e.length&&(u[r]=k(e))}for(i=n.length-1;i>=0;i--){s=n[i];for(r in s)r in u||(u[r]=s[r])}return u}function pi(n,t){for(var i in n)d(n,i)&&(t[i]=n[i])}function d(n,t){return b.call(n,t)}function wi(n,t,i){if(r.isFunction(n)&&(n=[n]),n){for(var u=void 0,f=void 0,u=0;u<n.length;u++)f=n[u].apply(t,i)||f;return f}}function bi(n,t){for(var r=0,i=0;i<n.length;)t(n[i])?(n.splice(i,1),r++):i++;return r}function ki(n,t){for(var r=0,i=0;i<n.length;)n[i]===t?(n.splice(i,1),r++):i++;return r}function di(n,t){var r=n.length,i;if(r==null||r!==t.length)return!1;for(i=0;i<r;i++)if(n[i]!==t[i])return!1;return!0}function gi(){for(var n,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(n=0;n<t.length;n++)if(t[n]!==undefined)return t[n]}function g(n){return(n+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function nr(n){return n.replace(/&.*?;/g,"")}function tr(n){var t=[];return r.each(n,function(n,i){i!=null&&t.push(n+":"+i)}),t.join(";")}function ir(n){var t=[];return r.each(n,function(n,i){i!=null&&t.push(n+'="'+g(i)+'"')}),t.join(" ")}function rr(n){return n.charAt(0).toUpperCase()+n.slice(1)}function ur(n,t){return n-t}function e(n){return n%1==0}function fr(n,t){var i=n[t];return function(){return i.apply(n,arguments)}}function er(n,t,i){i===void 0&&(i=!1);var r,u,f,o,e,s=function(){var h=+new Date-o;h<t?r=setTimeout(s,t-h):(r=null,i||(e=n.apply(f,u),f=u=null))};return function(){f=this;u=arguments;o=+new Date;var h=i&&!r;return r||(r=setTimeout(s,t)),h&&(e=n.apply(f,u),f=u=null),e}}var u,r,s,b;Object.defineProperty(t,"__esModule",{value:!0});u=i(0);r=i(3);t.compensateScroll=nt;t.uncompensateScroll=tt;t.disableCursor=it;t.enableCursor=rt;t.distributeHeight=ut;t.undistributeHeight=c;t.matchCellWidths=ft;t.subtractInnerElHeight=et;t.getScrollParent=ot;t.getOuterRect=st;t.getClientRect=ht;t.getContentRect=ct;t.getScrollbarWidths=l;s=null;t.isPrimaryMouseButton=vt;t.getEvX=yt;t.getEvY=pt;t.getEvIsTouch=wt;t.preventSelection=bt;t.allowSelection=kt;t.preventDefault=h;t.intersectRects=dt;t.constrainPoint=gt;t.getRectCenter=ni;t.diffPoints=ti;t.parseFieldSpecs=ii;t.compareByFieldSpecs=ri;t.compareByFieldSpec=v;t.flexibleCompare=y;t.dayIDs=["sun","mon","tue","wed","thu","fri","sat"];t.unitsDesc=["year","month","week","day","hour","minute","second","millisecond"];t.diffDayTime=ui;t.diffDay=fi;t.diffByUnit=ei;t.computeGreatestUnit=p;t.computeDurationGreatestUnit=oi;t.divideRangeByDuration=hi;t.divideDurationByDuration=ci;t.multiplyDuration=li;t.durationHasTime=o;t.isNativeDate=ai;t.isTimeString=vi;t.log=w;t.warn=yi;b={}.hasOwnProperty;t.mergeProps=k;t.copyOwnProps=pi;t.hasOwnProp=d;t.applyAll=wi;t.removeMatching=bi;t.removeExact=ki;t.isArraysEqual=di;t.firstDefined=gi;t.htmlEscape=g;t.stripHtmlEntities=nr;t.cssToStr=tr;t.attrsToStr=ir;t.capitaliseFirstLetter=rr;t.compareNumbers=ur;t.isInt=e;t.proxy=fr;t.debounce=er},function(n,t,i){function e(n,t){return n.startMs-t.startMs}Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=i(10),f=function(){function n(n,t){this.isStart=!0;this.isEnd=!0;r.isMoment(n)&&(n=n.clone().stripZone());r.isMoment(t)&&(t=t.clone().stripZone());n&&(this.startMs=n.valueOf());t&&(this.endMs=t.valueOf())}return n.invertRanges=function(t,i){var o=[],r=i.startMs,f,u;for(t.sort(e),f=0;f<t.length;f++)u=t[f],u.startMs>r&&o.push(new n(r,u.startMs)),u.endMs>r&&(r=u.endMs);return r<i.endMs&&o.push(new n(r,i.endMs)),o},n.prototype.intersect=function(t){var i=this.startMs,r=this.endMs,u=null;return t.startMs!=null&&(i=i==null?t.startMs:Math.max(i,t.startMs)),t.endMs!=null&&(r=r==null?t.endMs:Math.min(r,t.endMs)),(i==null||r==null||i<r)&&(u=new n(i,r),u.isStart=this.isStart&&i===this.startMs,u.isEnd=this.isEnd&&r===this.endMs),u},n.prototype.intersectsWith=function(n){return(this.endMs==null||n.startMs==null||this.endMs>n.startMs)&&(this.startMs==null||n.endMs==null||this.startMs<n.endMs)},n.prototype.containsRange=function(n){return(this.startMs==null||n.startMs!=null&&n.startMs>=this.startMs)&&(this.endMs==null||n.endMs!=null&&n.endMs<=this.endMs)},n.prototype.containsDate=function(n){var t=n.valueOf();return(this.startMs==null||t>=this.startMs)&&(this.endMs==null||t<this.endMs)},n.prototype.constrainDate=function(n){var t=n.valueOf();return this.startMs!=null&&t<this.startMs&&(t=this.startMs),this.endMs!=null&&t>=this.endMs&&(t=this.endMs-1),t},n.prototype.equals=function(n){return this.startMs===n.startMs&&this.endMs===n.endMs},n.prototype.clone=function(){var t=new n(this.startMs,this.endMs);return t.isStart=this.isStart,t.isEnd=this.isEnd,t},n.prototype.getStart=function(){return this.startMs!=null?u.default.utc(this.startMs).stripZone():null},n.prototype.getEnd=function(){return this.endMs!=null?u.default.utc(this.endMs).stripZone():null},n.prototype.as=function(n){return r.utc(this.endMs).diff(r.utc(this.startMs),n,!0)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),e=i(3),r=i(208),o=i(33),s=i(49),u=function(n){function t(i){var r=n.call(this)||this;return r.calendar=i,r.className=[],r.uid=String(t.uuid++),r}return f.__extends(t,n),t.parse=function(n,t){var i=new this(t);return typeof n=="object"&&i.applyProps(n)?i:!1},t.normalizeId=function(n){return n?String(n):null},t.prototype.fetch=function(){},t.prototype.removeEventDefsById=function(){},t.prototype.removeAllEventDefs=function(){},t.prototype.getPrimitive=function(){},t.prototype.parseEventDefs=function(n){for(var i,r=[],t=0;t<n.length;t++)i=this.parseEventDef(n[t]),i&&r.push(i);return r},t.prototype.parseEventDef=function(n){var t=this.calendar.opt("eventDataTransform"),i=this.eventDataTransform;return t&&(n=t(n,this.calendar)),i&&(n=i(n,this.calendar)),s.default.parse(n,this)},t.prototype.applyManualStandardProps=function(n){return n.id!=null&&(this.id=t.normalizeId(n.id)),e.isArray(n.className)?this.className=n.className:typeof n.className=="string"&&(this.className=n.className.split(/\s+/)),!0},t.uuid=0,t.defineStandardProps=r.default.defineStandardProps,t.copyVerbatimStandardProps=r.default.copyVerbatimStandardProps,t}(o.default);t.default=u;r.default.mixInto(u);u.defineStandardProps({id:!1,className:!1,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0,editable:!0,startEditable:!0,durationEditable:!0,rendering:!0,overlap:!0,constraint:!0,allDayDefault:!0,eventDataTransform:!0})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(14),e=0,o=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.listenTo=function(n,t,i){if(typeof t=="object")for(var r in t)t.hasOwnProperty(r)&&this.listenTo(n,r,t[r]);else if(typeof t=="string")n.on(t+"."+this.getListenerNamespace(),u.proxy(i,this))},t.prototype.stopListeningTo=function(n,t){n.off((t||"")+"."+this.getListenerNamespace())},t.prototype.getListenerNamespace=function(){return this.listenerId==null&&(this.listenerId=e++),"_listener"+this.listenerId},t}(f.default);t.default=o},,,function(n,t,i){function v(n,t){return f.format.call(n,t)}function s(n,t,i){t===void 0&&(t=!1);i===void 0&&(i=!1);var u=n[0],s=n.length===1&&typeof u=="string",e,o,v,f;return r.isMoment(u)||c.isNativeDate(u)||u===undefined?f=r.apply(null,n):(e=!1,o=!1,s?l.test(u)?(u+="-01",n=[u],e=!0,o=!0):(v=a.exec(u))&&(e=!v[5],o=!0):h.isArray(u)&&(o=!0),f=t||e?r.utc.apply(r,n):r.apply(null,n),e?(f._ambigTime=!0,f._ambigZone=!0):i&&(o?f._ambigZone=!0:s&&f.utcOffset(u))),f._fullCalendar=!0,f}var f,e,o;Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),h=i(3),c=i(4),l=/^\s*\d{4}-\d\d$/,a=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,u=r.fn;t.newMomentProto=u;f=h.extend({},u);t.oldMomentProto=f;e=r.momentProperties;e.push("_fullCalendar");e.push("_ambigTime");e.push("_ambigZone");t.oldMomentFormat=v;o=function(){return s(arguments)};t.default=o;o.utc=function(){var n=s(arguments,!0);return n.hasTime()&&n.utc(),n};o.parseZone=function(){return s(arguments,!0,!0)};u.week=u.weeks=function(n){var t=this._locale._fullCalendar_weekCalc;return n==null&&typeof t=="function"?t(this):t==="ISO"?f.isoWeek.apply(this,arguments):f.week.apply(this,arguments)};u.time=function(n){if(!this._fullCalendar)return f.time.apply(this,arguments);if(n==null)return r.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1;r.isDuration(n)||r.isMoment(n)||(n=r.duration(n));var t=0;return r.isDuration(n)&&(t=Math.floor(n.asDays())*24),this.hours(t+n.hours()).minutes(n.minutes()).seconds(n.seconds()).milliseconds(n.milliseconds())};u.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this};u.hasTime=function(){return!this._ambigTime};u.stripZone=function(){var n;return this._ambigZone||(n=this._ambigTime,this.utc(!0),this._ambigTime=n||!1,this._ambigZone=!0),this};u.hasZone=function(){return!this._ambigZone};u.local=function(n){return f.local.call(this,this._ambigZone||n),this._ambigTime=!1,this._ambigZone=!1,this};u.utc=function(n){return f.utc.call(this,n),this._ambigTime=!1,this._ambigZone=!1,this};u.utcOffset=function(n){return n!=null&&(this._ambigTime=!1,this._ambigZone=!1),f.utcOffset.apply(this,arguments)}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(3),f=i(14),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.on=function(n,t){r(this).on(n,this._prepareIntercept(t));return this},t.prototype.one=function(n,t){r(this).one(n,this._prepareIntercept(t));return this},t.prototype._prepareIntercept=function(n){var t=function(t,i){return n.apply(i.context||this,i.args||[])};return n.guid||(n.guid=r.guid++),t.guid=n.guid,t},t.prototype.off=function(n,t){return r(this).off(n,t),this},t.prototype.trigger=function(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return r(this).triggerHandler(n,{args:i}),this},t.prototype.triggerWith=function(n,t,i){return r(this).triggerHandler(n,{context:t,args:i}),this},t.prototype.hasHandlers=function(n){var t=r._data(this,"events");return t&&t[n]&&t[n].length>0},t}(f.default);t.default=e},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.isAllDay=!1;this.unzonedRange=n;this.isAllDay=t}return n.prototype.toLegacy=function(n){return{start:n.msToMoment(this.unzonedRange.startMs,this.isAllDay),end:n.msToMoment(this.unzonedRange.endMs,this.isAllDay)}},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),e=i(34),o=i(209),r=i(17),u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return f.__extends(t,n),t.prototype.buildInstances=function(){return[this.buildInstance()]},t.prototype.buildInstance=function(){return new o.default(this,this.dateProfile)},t.prototype.isAllDay=function(){return this.dateProfile.isAllDay()},t.prototype.clone=function(){var t=n.prototype.clone.call(this);return t.dateProfile=this.dateProfile,t},t.prototype.rezone=function(){var n=this.source.calendar,t=this.dateProfile;this.dateProfile=new r.default(n.moment(t.start),t.end?n.moment(t.end):null,n)},t.prototype.applyManualStandardProps=function(t){var u=n.prototype.applyManualStandardProps.call(this,t),i=r.default.parse(t,this.source);return i?(this.dateProfile=i,t.date!=null&&(this.miscProps.date=t.date),u):!1},t}(e.default);t.default=u;u.defineStandardProps({start:!1,date:!1,end:!1,allDay:!1})},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(){}return n.mixInto=function(n){var t=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){n.prototype[i]||(n.prototype[i]=t.prototype[i])})},n.mixOver=function(n){var t=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){n.prototype[i]=t.prototype[i]})},n}();t.default=i},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n){this.view=n._getView();this.component=n}return n.prototype.opt=function(n){return this.view.opt(n)},n.prototype.end=function(){},n}();t.default=i},function(n,t,i){var r,u,f,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,e,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai;Object.defineProperty(t,"__esModule",{value:!0});t.version="3.9.0";t.internalApiVersion=12;r=i(4);t.applyAll=r.applyAll;t.debounce=r.debounce;t.isInt=r.isInt;t.htmlEscape=r.htmlEscape;t.cssToStr=r.cssToStr;t.proxy=r.proxy;t.capitaliseFirstLetter=r.capitaliseFirstLetter;t.getOuterRect=r.getOuterRect;t.getClientRect=r.getClientRect;t.getContentRect=r.getContentRect;t.getScrollbarWidths=r.getScrollbarWidths;t.preventDefault=r.preventDefault;t.parseFieldSpecs=r.parseFieldSpecs;t.compareByFieldSpecs=r.compareByFieldSpecs;t.compareByFieldSpec=r.compareByFieldSpec;t.flexibleCompare=r.flexibleCompare;t.computeGreatestUnit=r.computeGreatestUnit;t.divideRangeByDuration=r.divideRangeByDuration;t.divideDurationByDuration=r.divideDurationByDuration;t.multiplyDuration=r.multiplyDuration;t.durationHasTime=r.durationHasTime;t.log=r.log;t.warn=r.warn;t.removeExact=r.removeExact;t.intersectRects=r.intersectRects;u=i(47);t.formatDate=u.formatDate;t.formatRange=u.formatRange;t.queryMostGranularFormatUnit=u.queryMostGranularFormatUnit;f=i(31);t.datepickerLocale=f.datepickerLocale;t.locale=f.locale;o=i(10);t.moment=o.default;s=i(11);t.EmitterMixin=s.default;h=i(7);t.ListenerMixin=h.default;c=i(48);t.Model=c.default;l=i(207);t.Constraints=l.default;a=i(5);t.UnzonedRange=a.default;v=i(12);t.ComponentFootprint=v.default;y=i(212);t.BusinessHourGenerator=y.default;p=i(34);t.EventDef=p.default;w=i(37);t.EventDefMutation=w.default;b=i(38);t.EventSourceParser=b.default;k=i(6);t.EventSource=k.default;d=i(51);t.defineThemeSystem=d.defineThemeSystem;g=i(18);t.EventInstanceGroup=g.default;nt=i(52);t.ArrayEventSource=nt.default;tt=i(215);t.FuncEventSource=tt.default;it=i(216);t.JsonFeedEventSource=it.default;rt=i(36);t.EventFootprint=rt.default;ut=i(33);t.Class=ut.default;ft=i(14);t.Mixin=ft.default;et=i(53);t.CoordCache=et.default;ot=i(54);t.DragListener=ot.default;st=i(20);t.Promise=st.default;ht=i(217);t.TaskQueue=ht.default;ct=i(218);t.RenderQueue=ct.default;lt=i(39);t.Scroller=lt.default;at=i(19);t.Theme=at.default;vt=i(219);t.DateComponent=vt.default;yt=i(40);t.InteractiveDateComponent=yt.default;pt=i(220);t.Calendar=pt.default;wt=i(41);t.View=wt.default;e=i(22);t.defineView=e.defineView;t.getViewConfig=e.getViewConfig;bt=i(55);t.DayTableMixin=bt.default;kt=i(56);t.BusinessHourRenderer=kt.default;dt=i(42);t.EventRenderer=dt.default;gt=i(57);t.FillRenderer=gt.default;ni=i(58);t.HelperRenderer=ni.default;ti=i(222);t.ExternalDropping=ti.default;ii=i(223);t.EventResizing=ii.default;ri=i(59);t.EventPointing=ri.default;ui=i(224);t.EventDragging=ui.default;fi=i(225);t.DateSelecting=fi.default;ei=i(60);t.StandardInteractionsMixin=ei.default;oi=i(226);t.AgendaView=oi.default;si=i(227);t.TimeGrid=si.default;hi=i(61);t.DayGrid=hi.default;ci=i(62);t.BasicView=ci.default;li=i(229);t.MonthView=li.default;ai=i(230);t.ListView=ai.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(5),u=function(){function n(n,t,i){this.start=n;this.end=t||null;this.unzonedRange=this.buildUnzonedRange(i)}return n.parse=function(t,i){var o=t.start||t.date,s=t.end;if(!o)return!1;var f=i.calendar,u=f.moment(o),r=s?f.moment(s):null,e=t.allDay,h=f.opt("forceEventDuration");return u.isValid()?(!r||r.isValid()&&r.isAfter(u)||(r=null),e==null&&(e=i.allDayDefault,e==null&&(e=f.opt("allDayDefault"))),e===!0?(u.stripTime(),r&&r.stripTime()):e===!1&&(u.hasTime()||u.time(0),r&&!r.hasTime()&&r.time(0)),!r&&h&&(r=f.getDefaultEventEnd(!u.hasTime(),u)),new n(u,r,f)):!1},n.isStandardProp=function(n){return n==="start"||n==="date"||n==="end"||n==="allDay"},n.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},n.prototype.buildUnzonedRange=function(n){var t=this.start.clone().stripZone().valueOf(),i=this.getEnd(n).stripZone().valueOf();return new r.default(t,i)},n.prototype.getEnd=function(n){return this.end?this.end.clone():n.getDefaultEventEnd(this.isAllDay(),this.start)},n}();t.default=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(5),r=i(35),u=i(211),e=function(){function n(n){this.eventInstances=n||[]}return n.prototype.getAllEventRanges=function(n){return n?this.sliceNormalRenderRanges(n):this.eventInstances.map(r.eventInstanceToEventRange)},n.prototype.sliceRenderRanges=function(n){return this.isInverse()?this.sliceInverseRenderRanges(n):this.sliceNormalRenderRanges(n)},n.prototype.sliceNormalRenderRanges=function(n){for(var f=this.eventInstances,i,r,e=[],t=0;t<f.length;t++)i=f[t],r=i.dateProfile.unzonedRange.intersect(n),r&&e.push(new u.default(r,i.def,i));return e},n.prototype.sliceInverseRenderRanges=function(n){var t=this.eventInstances.map(r.eventInstanceToUnzonedRange),i=this.getEventDef();return t=f.default.invertRanges(t,n),t.map(function(n){return new u.default(n,i)})},n.prototype.isInverse=function(){return this.getEventDef().hasInverseRendering()},n.prototype.getEventDef=function(){return this.explicitEventDef||this.eventInstances[0].def},n}();t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),r=function(){function n(n){this.optionsManager=n;this.processIconOverride()}return n.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.optionsManager.get(this.iconOverrideOption))},n.prototype.setIconOverride=function(n){var t,i;if(u.isPlainObject(n)){t=u.extend({},this.iconClasses);for(i in n)t[i]=this.applyIconOverridePrefix(n[i]);this.iconClasses=t}else n===!1&&(this.iconClasses={})},n.prototype.applyIconOverridePrefix=function(n){var t=this.iconOverridePrefix;return t&&n.indexOf(t)!==0&&(n=t+n),n},n.prototype.getClass=function(n){return this.classes[n]||""},n.prototype.getIconClass=function(n){var t=this.iconClasses[n];return t?this.baseIconClass+" "+t:""},n.prototype.getCustomButtonIconClass=function(n){var t;return this.iconOverrideCustomButtonOption&&(t=n[this.iconOverrideCustomButtonOption],t)?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},n}();t.default=r;r.prototype.classes={};r.prototype.iconClasses={};r.prototype.baseIconClass="";r.prototype.iconOverridePrefix=""},function(n,t,i){function f(n,t){n.then=function(i){return typeof i=="function"?u.resolve(i(t)):n}}function e(n){n.then=function(t,i){return typeof i=="function"&&i(),n}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u={construct:function(n){var t=r.Deferred(),i=t.promise();return typeof n=="function"&&n(function(n){t.resolve(n);f(i,n)},function(){t.reject();e(i)}),i},resolve:function(n){var i=r.Deferred().resolve(n),t=i.promise();return f(t,n),t},reject:function(){var t=r.Deferred().reject(),n=t.promise();return e(n),n}};t.default=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),o=i(16),s=i(11),h=i(7);o.touchMouseIgnoreWait=500;var r=null,f=0,e=function(){function n(){this.isTouching=!1;this.mouseIgnoreDepth=0}return n.get=function(){return r||(r=new n,r.bind()),r},n.needed=function(){n.get();f++},n.unneeded=function(){f--;f||(r.unbind(),r=null)},n.prototype.bind=function(){var n=this;this.listenTo(u(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu});window.addEventListener("touchmove",this.handleTouchMoveProxy=function(t){n.handleTouchMove(u.Event(t))},{passive:!1});window.addEventListener("scroll",this.handleScrollProxy=function(t){n.handleScroll(u.Event(t))},!0)},n.prototype.unbind=function(){this.stopListeningTo(u(document));window.removeEventListener("touchmove",this.handleTouchMoveProxy);window.removeEventListener("scroll",this.handleScrollProxy,!0)},n.prototype.handleTouchStart=function(n){this.stopTouch(n,!0);this.isTouching=!0;this.trigger("touchstart",n)},n.prototype.handleTouchMove=function(n){this.isTouching&&this.trigger("touchmove",n)},n.prototype.handleTouchCancel=function(n){this.isTouching&&(this.trigger("touchcancel",n),this.stopTouch(n))},n.prototype.handleTouchEnd=function(n){this.stopTouch(n)},n.prototype.handleMouseDown=function(n){this.shouldIgnoreMouse()||this.trigger("mousedown",n)},n.prototype.handleMouseMove=function(n){this.shouldIgnoreMouse()||this.trigger("mousemove",n)},n.prototype.handleMouseUp=function(n){this.shouldIgnoreMouse()||this.trigger("mouseup",n)},n.prototype.handleClick=function(n){this.shouldIgnoreMouse()||this.trigger("click",n)},n.prototype.handleSelectStart=function(n){this.trigger("selectstart",n)},n.prototype.handleContextMenu=function(n){this.trigger("contextmenu",n)},n.prototype.handleScroll=function(n){this.trigger("scroll",n)},n.prototype.stopTouch=function(n,t){t===void 0&&(t=!1);this.isTouching&&(this.isTouching=!1,this.trigger("touchend",n),t||this.startTouchMouseIgnore())},n.prototype.startTouchMouseIgnore=function(){var t=this,n=o.touchMouseIgnoreWait;n&&(this.mouseIgnoreDepth++,setTimeout(function(){t.mouseIgnoreDepth--},n))},n.prototype.shouldIgnoreMouse=function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)},n}();t.default=e;h.default.mixInto(e);s.default.mixInto(e)},function(n,t,i){function u(n,i){t.viewHash[n]=i}function f(n){return t.viewHash[n]}Object.defineProperty(t,"__esModule",{value:!0});var r=i(16);t.viewHash={};r.views=t.viewHash;t.defineView=u;t.getViewConfig=f},function(n,t,i){function u(n,t){return!n&&!t?!0:n&&t?n.component===t.component&&f(n,t)&&f(t,n):!1}function f(n,t){for(var i in n)if(!/^(component|left|right|top|bottom)$/.test(i)&&n[i]!==t[i])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(4),o=i(54),s=function(n){function t(t,i){var r=n.call(this,i)||this;return r.component=t,r}return e.__extends(t,n),t.prototype.handleInteractionStart=function(t){var f=this.subjectEl,u,e,i;this.component.hitsNeeded();this.computeScrollBounds();t?(e={left:r.getEvX(t),top:r.getEvY(t)},i=e,f&&(u=r.getOuterRect(f),i=r.constrainPoint(i,u)),this.origHit=this.queryHit(i.left,i.top),f&&this.options.subjectCenter&&(this.origHit&&(u=r.intersectRects(this.origHit,u)||u),i=r.getRectCenter(u)),this.coordAdjust=r.diffPoints(i,e)):(this.origHit=null,this.coordAdjust=null);n.prototype.handleInteractionStart.call(this,t)},t.prototype.handleDragStart=function(t){var i;n.prototype.handleDragStart.call(this,t);i=this.queryHit(r.getEvX(t),r.getEvY(t));i&&this.handleHitOver(i)},t.prototype.handleDrag=function(t,i,f){var e;n.prototype.handleDrag.call(this,t,i,f);e=this.queryHit(r.getEvX(f),r.getEvY(f));u(e,this.hit)||(this.hit&&this.handleHitOut(),e&&this.handleHitOver(e))},t.prototype.handleDragEnd=function(t){this.handleHitDone();n.prototype.handleDragEnd.call(this,t)},t.prototype.handleHitOver=function(n){var t=u(n,this.origHit);this.hit=n;this.trigger("hitOver",this.hit,t,this.origHit)},t.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},t.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},t.prototype.handleInteractionEnd=function(t,i){n.prototype.handleInteractionEnd.call(this,t,i);this.origHit=null;this.hit=null;this.component.hitsNotNeeded()},t.prototype.handleScrollEnd=function(){n.prototype.handleScrollEnd.call(this);this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},t.prototype.queryHit=function(n,t){return this.coordAdjust&&(n+=this.coordAdjust.left,t+=this.coordAdjust.top),this.component.queryHit(n,t)},t}(o.default);t.default=s},,,,,,,,function(n,t,i){function v(n){r.each(a,function(t,i){n[t]==null&&(n[t]=i(n))})}function y(n,i,u){var e=t.localeOptionHash[n]||(t.localeOptionHash[n]={}),f;e.isRTL=u.isRTL;e.weekNumberTitle=u.weekHeader;r.each(c,function(n,t){e[n]=t(u)});f=r.datepicker;f&&(f.regional[i]=f.regional[n]=u,f.regional.en=f.regional[""],f.setDefaults(u))}function o(n,i){var f,e;f=t.localeOptionHash[n]||(t.localeOptionHash[n]={});i&&(f=t.localeOptionHash[n]=u.mergeOptions([f,i]));e=s(n);r.each(l,function(n,t){f[n]==null&&(f[n]=t(e,f))});u.globalDefaults.locale=n}function s(n){return e.localeData(n)||e.localeData("en")}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),e=i(0),h=i(16),u=i(32),f=i(4);t.localeOptionHash={};h.locales=t.localeOptionHash;var c={buttonText:function(n){return{prev:f.stripHtmlEntities(n.prevText),next:f.stripHtmlEntities(n.nextText),today:f.stripHtmlEntities(n.currentText)}},monthYearFormat:function(n){return n.showMonthAfterYear?"YYYY["+n.yearSuffix+"] MMMM":"MMMM YYYY["+n.yearSuffix+"]"}},l={dayOfMonthFormat:function(n,t){var i=n.longDateFormat("l");return i=i.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),t.isRTL?i+=" ddd":i="ddd "+i,i},mediumTimeFormat:function(n){return n.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(n){return n.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(n){return n.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(n){return n.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(n){return n.longDateFormat("LT").replace(/\s*a$/i,"")}},a={smallDayDateFormat:function(n){return n.isRTL?"D dd":"dd D"},weekFormat:function(n){return n.isRTL?"w[ "+n.weekNumberTitle+"]":"["+n.weekNumberTitle+" ]w"},smallWeekFormat:function(n){return n.isRTL?"w["+n.weekNumberTitle+"]":"["+n.weekNumberTitle+"]w"}};t.populateInstanceComputableOptions=v;t.datepickerLocale=y;t.locale=o;t.getMomentLocaleData=s;o("en",u.englishDefaults)},function(n,t,i){function f(n){return r.mergeProps(n,u)}var r,u;Object.defineProperty(t,"__esModule",{value:!0});r=i(4);t.globalDefaults={titleRangeSeparator:" – ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,locale:null,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},allDayText:"all-day",agendaEventMinHeight:0,theme:!1,dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3};t.englishDefaults={dayPopoverFormat:"dddd, MMMM D"};t.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};u=["header","footer","buttonText","buttonIcons","themeButtonIcons"];t.mergeOptions=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=function(){function n(){}return n.extend=function(n){var t=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(this);return r.copyOwnProps(n,t.prototype),t},n.mixin=function(n){r.copyOwnProps(n,this.prototype)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(208),f=function(){function n(n){this.source=n;this.className=[];this.miscProps={}}return n.parse=function(n,t){var i=new this(t);return i.applyProps(n)?i:!1},n.normalizeId=function(n){return String(n)},n.generateId=function(){return"_fc"+n.uuid++},n.prototype.clone=function(){var t=new this.constructor(this.source);return t.id=this.id,t.rawId=this.rawId,t.uid=this.uid,n.copyVerbatimStandardProps(this,t),t.className=this.className.slice(),t.miscProps=r.extend({},this.miscProps),t},n.prototype.hasInverseRendering=function(){return this.getRendering()==="inverse-background"},n.prototype.hasBgRendering=function(){var n=this.getRendering();return n==="inverse-background"||n==="background"},n.prototype.getRendering=function(){return this.rendering!=null?this.rendering:this.source.rendering},n.prototype.getConstraint=function(){return this.constraint!=null?this.constraint:this.source.constraint!=null?this.source.constraint:this.source.calendar.opt("eventConstraint")},n.prototype.getOverlap=function(){return this.overlap!=null?this.overlap:this.source.overlap!=null?this.source.overlap:this.source.calendar.opt("eventOverlap")},n.prototype.isStartExplicitlyEditable=function(){return this.startEditable!=null?this.startEditable:this.source.startEditable},n.prototype.isDurationExplicitlyEditable=function(){return this.durationEditable!=null?this.durationEditable:this.source.durationEditable},n.prototype.isExplicitlyEditable=function(){return this.editable!=null?this.editable:this.source.editable},n.prototype.toLegacy=function(){var t=r.extend({},this.miscProps);return t._id=this.uid,t.source=this.source,t.className=this.className.slice(),t.allDay=this.isAllDay(),this.rawId!=null&&(t.id=this.rawId),n.copyVerbatimStandardProps(this,t),t},n.prototype.applyManualStandardProps=function(t){return this.id=t.id!=null?n.normalizeId(this.rawId=t.id):n.generateId(),this.uid=t._id!=null?String(t._id):n.generateId(),r.isArray(t.className)&&(this.className=t.className),typeof t.className=="string"&&(this.className=t.className.split(/\s+/)),!0},n.prototype.applyMiscProps=function(n){r.extend(this.miscProps,n)},n.uuid=0,n.defineStandardProps=u.default.defineStandardProps,n.copyVerbatimStandardProps=u.default.copyVerbatimStandardProps,n}();t.default=f;u.default.mixInto(f);f.defineStandardProps({_id:!1,id:!1,className:!1,source:!1,title:!0,url:!0,rendering:!0,constraint:!0,overlap:!0,editable:!0,startEditable:!0,durationEditable:!0,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0})},function(n,t,i){function e(n,t){for(var r=[],i=0;i<n.length;i++)r.push.apply(r,n[i].buildInstances(t));return r}function o(n){return new r.default(n.dateProfile.unzonedRange,n.def,n)}function s(n){return new u.default(new f.default(n.unzonedRange,n.eventDef.isAllDay()),n.eventDef,n.eventInstance)}function h(n){return n.dateProfile.unzonedRange}function c(n){return n.componentFootprint}Object.defineProperty(t,"__esModule",{value:!0});var r=i(211),u=i(36),f=i(12);t.eventDefsToEventInstances=e;t.eventInstanceToEventRange=o;t.eventRangeToEventFootprint=s;t.eventInstanceToUnzonedRange=h;t.eventFootprintToComponentFootprint=c},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t,i){this.componentFootprint=n;this.eventDef=t;i&&(this.eventInstance=i)}return n.prototype.getEventLegacy=function(){return(this.eventInstance||this.eventDef).toLegacy()},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(4),r=i(17),u=i(34),e=i(50),o=i(13),s=function(){function n(){}return n.createFromRawProps=function(t,i,o){var l=t.def,y={},c={},p={},w={},b=null,k=null,s,a,v,h;for(s in i)r.default.isStandardProp(s)?y[s]=i[s]:l.isStandardProp(s)?c[s]=i[s]:l.miscProps[s]!==i[s]&&(p[s]=i[s]);return a=r.default.parse(y,l.source),a&&(v=e.default.createFromDiff(t.dateProfile,a,o)),c.id!==l.id&&(b=c.id),f.isArraysEqual(c.className,l.className)||(k=c.className),u.default.copyVerbatimStandardProps(c,w),h=new n,h.eventDefId=b,h.className=k,h.verbatimStandardProps=w,h.miscProps=p,v&&(h.dateMutation=v),h},n.prototype.mutateSingle=function(n){var t;return this.dateMutation&&(t=n.dateProfile,n.dateProfile=this.dateMutation.buildNewDateProfile(t,n.source.calendar)),this.eventDefId!=null&&(n.id=u.default.normalizeId(n.rawId=this.eventDefId)),this.className&&(n.className=this.className),this.verbatimStandardProps&&o.default.copyVerbatimStandardProps(this.verbatimStandardProps,n),this.miscProps&&n.applyMiscProps(this.miscProps),t?function(){n.dateProfile=t}:function(){}},n.prototype.setDateMutation=function(n){this.dateMutation=n&&!n.isEmpty()?n:null},n.prototype.isEmpty=function(){return!this.dateMutation},n}();t.default=s},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={sourceClasses:[],registerClass:function(n){this.sourceClasses.unshift(n)},parse:function(n,t){for(var u=this.sourceClasses,r,i=0;i<u.length;i++)if(r=u[i].parse(n,t),r)return r}}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(4),e=i(33),o=function(n){function t(t){var i=n.call(this)||this;return t=t||{},i.overflowX=t.overflowX||t.overflow||"auto",i.overflowY=t.overflowY||t.overflow||"auto",i}return r.__extends(t,n),t.prototype.render=function(){this.el=this.renderEl();this.applyOverflow()},t.prototype.renderEl=function(){return this.scrollEl=u('<div class="fc-scroller"><\/div>')},t.prototype.clear=function(){this.setHeight("auto");this.applyOverflow()},t.prototype.destroy=function(){this.el.remove()},t.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},t.prototype.lockOverflow=function(n){var t=this.overflowX,i=this.overflowY;n=n||this.getScrollbarWidths();t==="auto"&&(t=n.top||n.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden");i==="auto"&&(i=n.left||n.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden");this.scrollEl.css({"overflow-x":t,"overflow-y":i})},t.prototype.setHeight=function(n){this.scrollEl.height(n)},t.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},t.prototype.setScrollTop=function(n){this.scrollEl.scrollTop(n)},t.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},t.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},t.prototype.getScrollbarWidths=function(){return f.getScrollbarWidths(this.scrollEl)},t}(e.default);t.default=o},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),u=i(3),r=i(4),e=i(219),o=i(21),s=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.segSelector=".fc-event-container > *",r.dateSelectingClass&&(r.dateClicking=new r.dateClickingClass(r)),r.dateSelectingClass&&(r.dateSelecting=new r.dateSelectingClass(r)),r.eventPointingClass&&(r.eventPointing=new r.eventPointingClass(r)),r.eventDraggingClass&&r.eventPointing&&(r.eventDragging=new r.eventDraggingClass(r,r.eventPointing)),r.eventResizingClass&&r.eventPointing&&(r.eventResizing=new r.eventResizingClass(r,r.eventPointing)),r.externalDroppingClass&&(r.externalDropping=new r.externalDroppingClass(r)),r}return f.__extends(t,n),t.prototype.setElement=function(t){n.prototype.setElement.call(this,t);this.dateClicking&&this.dateClicking.bindToEl(t);this.dateSelecting&&this.dateSelecting.bindToEl(t);this.bindAllSegHandlersToEl(t)},t.prototype.removeElement=function(){this.endInteractions();n.prototype.removeElement.call(this)},t.prototype.executeEventUnrender=function(){this.endInteractions();n.prototype.executeEventUnrender.call(this)},t.prototype.bindGlobalHandlers=function(){n.prototype.bindGlobalHandlers.call(this);this.externalDropping&&this.externalDropping.bindToDocument()},t.prototype.unbindGlobalHandlers=function(){n.prototype.unbindGlobalHandlers.call(this);this.externalDropping&&this.externalDropping.unbindFromDocument()},t.prototype.bindDateHandlerToEl=function(n,t,i){var r=this;this.el.on(t,function(n){if(!u(n.target).is(r.segSelector+":not(.fc-helper),"+r.segSelector+":not(.fc-helper) *,.fc-more,a[data-goto]"))return i.call(r,n)})},t.prototype.bindAllSegHandlersToEl=function(n){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.bindToEl(n)})},t.prototype.bindSegHandlerToEl=function(n,t,i){var r=this;n.on(t,this.segSelector,function(n){var f=u(n.currentTarget),t;if(!f.is(".fc-helper")&&(t=f.data("fc-seg"),t&&!r.shouldIgnoreEventPointing()))return i.call(r,t,n)})},t.prototype.shouldIgnoreMouse=function(){return o.default.get().shouldIgnoreMouse()},t.prototype.shouldIgnoreTouch=function(){var n=this._getView();return n.isSelected||n.selectedEvent},t.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},t.prototype.canStartSelection=function(n,t){return r.getEvIsTouch(t)&&!this.canStartResize(n,t)&&(this.isEventDefDraggable(n.footprint.eventDef)||this.isEventDefResizable(n.footprint.eventDef))},t.prototype.canStartDrag=function(n,t){return!this.canStartResize(n,t)&&this.isEventDefDraggable(n.footprint.eventDef)},t.prototype.canStartResize=function(n,t){var f=this._getView(),i=n.footprint.eventDef;return(!r.getEvIsTouch(t)||f.isEventDefSelected(i))&&this.isEventDefResizable(i)&&u(t.target).is(".fc-resizer")},t.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(n){n&&n.end()})},t.prototype.isEventDefDraggable=function(n){return this.isEventDefStartEditable(n)},t.prototype.isEventDefStartEditable=function(n){var t=n.isStartExplicitlyEditable();return t==null&&(t=this.opt("eventStartEditable"),t==null&&(t=this.isEventDefGenerallyEditable(n))),t},t.prototype.isEventDefGenerallyEditable=function(n){var t=n.isExplicitlyEditable();return t==null&&(t=this.opt("editable")),t},t.prototype.isEventDefResizableFromStart=function(n){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(n)},t.prototype.isEventDefResizableFromEnd=function(n){return this.isEventDefResizable(n)},t.prototype.isEventDefResizable=function(n){var t=n.isDurationExplicitlyEditable();return t==null&&(t=this.opt("eventDurationEditable"),t==null&&(t=this.isEventDefGenerallyEditable(n))),t},t.prototype.diffDates=function(n,t){return this.largeUnit?r.diffByUnit(n,t,this.largeUnit):r.diffDayTime(n,t)},t.prototype.isEventInstanceGroupAllowed=function(n){for(var r=this._getView(),u=this.dateProfile,i=this.eventRangesToEventFootprints(n.getAllEventRanges()),t=0;t<i.length;t++)if(!u.validUnzonedRange.containsRange(i[t].componentFootprint.unzonedRange))return!1;return r.calendar.constraints.isEventInstanceGroupAllowed(n)},t.prototype.isExternalInstanceGroupAllowed=function(n){for(var r=this._getView(),u=this.dateProfile,i=this.eventRangesToEventFootprints(n.getAllEventRanges()),t=0;t<i.length;t++)if(!u.validUnzonedRange.containsRange(i[t].componentFootprint.unzonedRange))return!1;for(t=0;t<i.length;t++)if(!r.calendar.constraints.isSelectionFootprintAllowed(i[t].componentFootprint))return!1;return!0},t}(e.default);t.default=s},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),u=i(3),f=i(0),e=i(4),h=i(218),c=i(221),l=i(40),o=i(21),a=i(5),r=function(n){function t(t,i){var r=n.call(this,null,i.options)||this;return r.batchRenderDepth=0,r.isSelected=!1,r.calendar=t,r.viewSpec=i,r.type=i.type,r.name=r.type,r.initRenderQueue(),r.initHiddenDays(),r.dateProfileGenerator=new r.dateProfileGeneratorClass(r),r.bindBaseRenderHandlers(),r.eventOrderSpecs=e.parseFieldSpecs(r.opt("eventOrder")),r.initialize&&r.initialize(),r}return s.__extends(t,n),t.prototype._getView=function(){return this},t.prototype.opt=function(n){return this.options[n]},t.prototype.initRenderQueue=function(){this.renderQueue=new h.default({event:this.opt("eventRenderWait")});this.renderQueue.on("start",this.onRenderQueueStart.bind(this));this.renderQueue.on("stop",this.onRenderQueueStop.bind(this));this.on("before:change",this.startBatchRender);this.on("change",this.stopBatchRender)},t.prototype.onRenderQueueStart=function(){this.calendar.freezeContentHeight();this.addScroll(this.queryScroll())},t.prototype.onRenderQueueStop=function(){this.calendar.updateViewSize()&&this.popScroll();this.calendar.thawContentHeight()},t.prototype.startBatchRender=function(){this.batchRenderDepth++||this.renderQueue.pause()},t.prototype.stopBatchRender=function(){--this.batchRenderDepth||this.renderQueue.resume()},t.prototype.requestRender=function(n,t,i){this.renderQueue.queue(n,t,i)},t.prototype.whenSizeUpdated=function(n){if(this.renderQueue.isRunning)this.renderQueue.one("stop",n.bind(this));else n.call(this)},t.prototype.computeTitle=function(n){var t;return t=/^(year|month)$/.test(n.currentRangeUnit)?n.currentUnzonedRange:n.activeUnzonedRange,this.formatRange({start:this.calendar.msToMoment(t.startMs,n.isRangeAllDay),end:this.calendar.msToMoment(t.endMs,n.isRangeAllDay)},n.isRangeAllDay,this.opt("titleFormat")||this.computeTitleFormat(n),this.opt("titleRangeSeparator"))},t.prototype.computeTitleFormat=function(n){var t=n.currentRangeUnit;return t==="year"?"YYYY":t==="month"?this.opt("monthYearFormat"):n.currentUnzonedRange.as("days")>1?"ll":"LL"},t.prototype.setDate=function(n){var t=this.get("dateProfile"),i=this.dateProfileGenerator.build(n,undefined,!0);t&&t.activeUnzonedRange.equals(i.activeUnzonedRange)||this.set("dateProfile",i)},t.prototype.unsetDate=function(){this.unset("dateProfile")},t.prototype.fetchInitialEvents=function(n){var t=this.calendar,i=n.isRangeAllDay&&!this.usesMinMaxTime;return t.requestEvents(t.msToMoment(n.activeUnzonedRange.startMs,i),t.msToMoment(n.activeUnzonedRange.endMs,i))},t.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},t.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},t.prototype.setEvents=function(n){this.set("currentEvents",n);this.set("hasEvents",!0)},t.prototype.unsetEvents=function(){this.unset("currentEvents");this.unset("hasEvents")},t.prototype.resetEvents=function(n){this.startBatchRender();this.unsetEvents();this.setEvents(n);this.stopBatchRender()},t.prototype.requestDateRender=function(n){var t=this;this.requestRender(function(){t.executeDateRender(n)},"date","init")},t.prototype.requestDateUnrender=function(){var n=this;this.requestRender(function(){n.executeDateUnrender()},"date","destroy")},t.prototype.executeDateRender=function(t){n.prototype.executeDateRender.call(this,t);this.render&&this.render();this.trigger("datesRendered");this.addScroll({isDateInit:!0});this.startNowIndicator()},t.prototype.executeDateUnrender=function(){this.unselect();this.stopNowIndicator();this.trigger("before:datesUnrendered");this.destroy&&this.destroy();n.prototype.executeDateUnrender.call(this)},t.prototype.bindBaseRenderHandlers=function(){var n=this;this.on("datesRendered",function(){n.whenSizeUpdated(n.triggerViewRender)});this.on("before:datesUnrendered",function(){n.triggerViewDestroy()})},t.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},t.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},t.prototype.requestEventsRender=function(n){var t=this;this.requestRender(function(){t.executeEventRender(n);t.whenSizeUpdated(t.triggerAfterEventsRendered)},"event","init")},t.prototype.requestEventsUnrender=function(){var n=this;this.requestRender(function(){n.triggerBeforeEventsDestroyed();n.executeEventUnrender()},"event","destroy")},t.prototype.requestBusinessHoursRender=function(n){var t=this;this.requestRender(function(){t.renderBusinessHours(n)},"businessHours","init")},t.prototype.requestBusinessHoursUnrender=function(){var n=this;this.requestRender(function(){n.unrenderBusinessHours()},"businessHours","destroy")},t.prototype.bindGlobalHandlers=function(){n.prototype.bindGlobalHandlers.call(this);this.listenTo(o.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},t.prototype.unbindGlobalHandlers=function(){n.prototype.unbindGlobalHandlers.call(this);this.stopListeningTo(o.default.get())},t.prototype.startNowIndicator=function(){var r=this,t,i,n;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit(),t&&(i=e.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),n=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){r.nowIndicatorTimeoutID=null;i();n=+f.duration(1,t);n=Math.max(100,n);r.nowIndicatorIntervalID=setInterval(i,n)},n)))},t.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},t.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},t.prototype.updateSize=function(t,i,r){this.setHeight?this.setHeight(t,i):n.prototype.updateSize.call(this,t,i,r);this.updateNowIndicator()},t.prototype.addScroll=function(n){var t=this.queuedScroll||(this.queuedScroll={});u.extend(t,n)},t.prototype.popScroll=function(){this.applyQueuedScroll();this.queuedScroll=null},t.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},t.prototype.queryScroll=function(){var n={};return this.isDatesRendered&&u.extend(n,this.queryDateScroll()),n},t.prototype.applyScroll=function(n){n.isDateInit&&this.isDatesRendered&&u.extend(n,this.computeInitialDateScroll());this.isDatesRendered&&this.applyDateScroll(n)},t.prototype.computeInitialDateScroll=function(){return{}},t.prototype.queryDateScroll=function(){return{}},t.prototype.applyDateScroll=function(){},t.prototype.reportEventDrop=function(n,t,i,r){var e=this.calendar.eventManager,o=e.mutateEventsWithId(n.def.id,t),u=t.dateMutation;u&&(n.dateProfile=u.buildNewDateProfile(n.dateProfile,this.calendar));this.triggerEventDrop(n,u&&u.dateDelta||f.duration(),o,i,r)},t.prototype.triggerEventDrop=function(n,t,i,r,u){this.publiclyTrigger("eventDrop",{context:r[0],args:[n.toLegacy(),t,i,u,{},this]})},t.prototype.reportExternalDrop=function(n,t,i,r,u,f){t&&this.calendar.eventManager.addEventDef(n,i);this.triggerExternalDrop(n,t,r,u,f)},t.prototype.triggerExternalDrop=function(n,t,i,r,u){this.publiclyTrigger("drop",{context:i[0],args:[n.dateProfile.start.clone(),r,u,this]});t&&this.publiclyTrigger("eventReceive",{context:this,args:[n.buildInstance().toLegacy(),this]})},t.prototype.reportEventResize=function(n,t,i,r){var u=this.calendar.eventManager,f=u.mutateEventsWithId(n.def.id,t);n.dateProfile=t.dateMutation.buildNewDateProfile(n.dateProfile,this.calendar);this.triggerEventResize(n,t.dateMutation.endDelta,f,i,r)},t.prototype.triggerEventResize=function(n,t,i,r,u){this.publiclyTrigger("eventResize",{context:r[0],args:[n.toLegacy(),t,i,u,{},this]})},t.prototype.select=function(n,t){this.unselect(t);this.renderSelectionFootprint(n);this.reportSelection(n,t)},t.prototype.renderSelectionFootprint=function(t){this.renderSelection?this.renderSelection(t.toLegacy(this.calendar)):n.prototype.renderSelectionFootprint.call(this,t)},t.prototype.reportSelection=function(n,t){this.isSelected=!0;this.triggerSelect(n,t)},t.prototype.triggerSelect=function(n,t){var i=this.calendar.footprintToDateProfile(n);this.publiclyTrigger("select",{context:this,args:[i.start,i.end,t,this]})},t.prototype.unselect=function(n){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[n,this]}))},t.prototype.selectEventInstance=function(n){this.selectedEventInstance&&this.selectedEventInstance===n||(this.unselectEventInstance(),this.getEventSegs().forEach(function(t){t.footprint.eventInstance===n&&t.el&&t.el.addClass("fc-selected")}),this.selectedEventInstance=n)},t.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(n){n.el&&n.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},t.prototype.isEventDefSelected=function(n){return this.selectedEventInstance&&this.selectedEventInstance.def.id===n.id},t.prototype.handleDocumentMousedown=function(n){e.isPrimaryMouseButton(n)&&this.processUnselect(n)},t.prototype.processUnselect=function(n){this.processRangeUnselect(n);this.processEventUnselect(n)},t.prototype.processRangeUnselect=function(n){var t;this.isSelected&&this.opt("unselectAuto")&&(t=this.opt("unselectCancel"),t&&u(n.target).closest(t).length||this.unselect(n))},t.prototype.processEventUnselect=function(n){this.selectedEventInstance&&(u(n.target).closest(".fc-selected").length||this.unselectEventInstance())},t.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},t.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},t.prototype.triggerDayClick=function(n,t,i){var r=this.calendar.footprintToDateProfile(n);this.publiclyTrigger("dayClick",{context:t,args:[r.start,i,this]})},t.prototype.isDateInOtherMonth=function(){return!1},t.prototype.getUnzonedRangeOption=function(n){var t=this.opt(n);return typeof t=="function"&&(t=t.apply(null,Array.prototype.slice.call(arguments,1))),t?this.calendar.parseUnzonedRange(t):void 0},t.prototype.initHiddenDays=function(){var t=this.opt("hiddenDays")||[],i=[],r=0,n;for(this.opt("weekends")===!1&&t.push(0,6),n=0;n<7;n++)(i[n]=u.inArray(n,t)!==-1)||r++;if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=i},t.prototype.trimHiddenDays=function(n){var t=n.getStart(),i=n.getEnd();return(t&&(t=this.skipHiddenDays(t)),i&&(i=this.skipHiddenDays(i,-1,!0)),t===null||i===null||t<i)?new a.default(t,i):null},t.prototype.isHiddenDay=function(n){return f.isMoment(n)&&(n=n.day()),this.isHiddenDayHash[n]},t.prototype.skipHiddenDays=function(n,t,i){t===void 0&&(t=1);i===void 0&&(i=!1);for(var r=n.clone();this.isHiddenDayHash[(r.day()+(i?t:0)+7)%7];)r.add(t,"days");return r},t}(l.default);t.default=r;r.prototype.usesMinMaxTime=!1;r.prototype.dateProfileGeneratorClass=c.default;r.watch("displayingDates",["isInDom","dateProfile"],function(n){this.requestDateRender(n.dateProfile)},function(){this.requestDateUnrender()});r.watch("displayingBusinessHours",["displayingDates","businessHourGenerator"],function(n){this.requestBusinessHoursRender(n.businessHourGenerator)},function(){this.requestBusinessHoursUnrender()});r.watch("initialEvents",["dateProfile"],function(n){return this.fetchInitialEvents(n.dateProfile)});r.watch("bindingEvents",["initialEvents"],function(n){this.setEvents(n.initialEvents);this.bindEventChanges()},function(){this.unbindEventChanges();this.unsetEvents()});r.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()});r.watch("title",["dateProfile"],function(n){return this.title=this.computeTitle(n.dateProfile)});r.watch("legacyDateProps",["dateProfile"],function(n){var i=this.calendar,t=n.dateProfile;this.start=i.msToMoment(t.activeUnzonedRange.startMs,t.isRangeAllDay);this.end=i.msToMoment(t.activeUnzonedRange.endMs,t.isRangeAllDay);this.intervalStart=i.msToMoment(t.currentUnzonedRange.startMs,t.isRangeAllDay);this.intervalEnd=i.msToMoment(t.currentUnzonedRange.endMs,t.isRangeAllDay)})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n,t){this.view=n._getView();this.component=n;this.fillRenderer=t}return n.prototype.opt=function(n){return this.view.opt(n)},n.prototype.rangeUpdated=function(){var n,t;this.eventTimeFormat=this.opt("eventTimeFormat")||this.opt("timeFormat")||this.computeEventTimeFormat();n=this.opt("displayEventTime");n==null&&(n=this.computeDisplayEventTime());t=this.opt("displayEventEnd");t==null&&(t=this.computeDisplayEventEnd());this.displayEventTime=n;this.displayEventEnd=t},n.prototype.render=function(n){var e=this.component._getDateProfile(),f,t,i,r=[],u=[];for(f in n)t=n[f],i=t.sliceRenderRanges(e.activeUnzonedRange),t.getEventDef().hasBgRendering()?r.push.apply(r,i):u.push.apply(u,i);this.renderBgRanges(r);this.renderFgRanges(u)},n.prototype.unrender=function(){this.unrenderBgRanges();this.unrenderFgRanges()},n.prototype.renderFgRanges=function(n){var i=this.component.eventRangesToEventFootprints(n),t=this.component.eventFootprintsToSegs(i);t=this.renderFgSegEls(t);this.renderFgSegs(t)!==!1&&(this.fgSegs=t)},n.prototype.unrenderFgRanges=function(){this.unrenderFgSegs(this.fgSegs||[]);this.fgSegs=null},n.prototype.renderBgRanges=function(n){var i=this.component.eventRangesToEventFootprints(n),t=this.component.eventFootprintsToSegs(i);this.renderBgSegs(t)!==!1&&(this.bgSegs=t)},n.prototype.unrenderBgRanges=function(){this.unrenderBgSegs();this.bgSegs=null},n.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},n.prototype.renderFgSegs=function(){return!1},n.prototype.unrenderFgSegs=function(){},n.prototype.renderBgSegs=function(n){var t=this;if(this.fillRenderer)this.fillRenderer.renderSegs("bgEvent",n,{getClasses:function(n){return t.getBgClasses(n.footprint.eventDef)},getCss:function(n){return{"background-color":t.getBgColor(n.footprint.eventDef)}},filterEl:function(n,i){return t.filterEventRenderEl(n.footprint,i)}});else return!1},n.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},n.prototype.renderFgSegEls=function(n,t){var e=this;t===void 0&&(t=!1);var o=this.view.hasPublicHandlers("eventRender"),u="",f=[],i;if(n.length){for(i=0;i<n.length;i++)this.beforeFgSegHtml(n[i]),u+=this.fgSegHtml(n[i],t);r(u).each(function(t,i){var s=n[t],u=r(i);o&&(u=e.filterEventRenderEl(s.footprint,u));u&&(u.data("fc-seg",s),s.el=u,f.push(s))})}return f},n.prototype.beforeFgSegHtml=function(){},n.prototype.fgSegHtml=function(){},n.prototype.getSegClasses=function(n,t,i){var r=["fc-event",n.isStart?"fc-start":"fc-not-start",n.isEnd?"fc-end":"fc-not-end"].concat(this.getClasses(n.footprint.eventDef));return t&&r.push("fc-draggable"),i&&r.push("fc-resizable"),this.view.isEventDefSelected(n.footprint.eventDef)&&r.push("fc-selected"),r},n.prototype.filterEventRenderEl=function(n,t){var u=n.getEventLegacy(),i=this.view.publiclyTrigger("eventRender",{context:u,args:[u,t,this.view]});return i===!1?t=null:i&&i!==!0&&(t=r(i)),t},n.prototype.getTimeText=function(n,t,i){return this._getTimeText(n.eventInstance.dateProfile.start,n.eventInstance.dateProfile.end,n.componentFootprint.isAllDay,t,i)},n.prototype._getTimeText=function(n,t,i,r,u){return(r==null&&(r=this.eventTimeFormat),u==null&&(u=this.displayEventEnd),this.displayEventTime&&!i)?u&&t?this.view.formatRange({start:n,end:t},!1,r):n.format(r):""},n.prototype.computeEventTimeFormat=function(){return this.opt("smallTimeFormat")},n.prototype.computeDisplayEventTime=function(){return!0},n.prototype.computeDisplayEventEnd=function(){return!0},n.prototype.getBgClasses=function(n){var t=this.getClasses(n);return t.push("fc-bgevent"),t},n.prototype.getClasses=function(n){for(var i=this.getStylingObjs(n),r=[],t=0;t<i.length;t++)r.push.apply(r,i[t].eventClassName||i[t].className||[]);return r},n.prototype.getSkinCss=function(n){return{"background-color":this.getBgColor(n),"border-color":this.getBorderColor(n),color:this.getTextColor(n)}},n.prototype.getBgColor=function(n){for(var i=this.getStylingObjs(n),r,t=0;t<i.length&&!r;t++)r=i[t].eventBackgroundColor||i[t].eventColor||i[t].backgroundColor||i[t].color;return r||(r=this.opt("eventBackgroundColor")||this.opt("eventColor")),r},n.prototype.getBorderColor=function(n){for(var i=this.getStylingObjs(n),r,t=0;t<i.length&&!r;t++)r=i[t].eventBorderColor||i[t].eventColor||i[t].borderColor||i[t].color;return r||(r=this.opt("eventBorderColor")||this.opt("eventColor")),r},n.prototype.getTextColor=function(n){for(var r=this.getStylingObjs(n),i,t=0;t<r.length&&!i;t++)i=r[t].eventTextColor||r[t].textColor;return i||(i=this.opt("eventTextColor")),i},n.prototype.getStylingObjs=function(n){var t=this.getFallbackStylingObjs(n);return t.unshift(n),t},n.prototype.getFallbackStylingObjs=function(n){return[n.source]},n.prototype.sortEventSegs=function(n){n.sort(u.proxy(this,"compareEventSegs"))},n.prototype.compareEventSegs=function(n,t){var i=n.footprint,r=t.footprint,o=i.componentFootprint,s=r.componentFootprint,f=o.unzonedRange,e=s.unzonedRange;return f.startMs-e.startMs||e.endMs-e.startMs-(f.endMs-f.startMs)||s.isAllDay-o.isAllDay||u.compareByFieldSpecs(i.eventDef,r.eventDef,this.view.eventOrderSpecs,i.eventDef.miscProps,r.eventDef.miscProps)},n}();t.default=f},,,,,function(n,t,i){function u(n){return n.locale()!=="en"?n.clone().locale("en"):n}function v(n,t){return it(y(t).fakeFormatString,n)}function g(n,t,i,u,f){var e;return n=r.default.parseZone(n),t=r.default.parseZone(t),e=n.localeData(),i=e.longDateFormat(i)||i,nt(y(i),n,t,u||" - ",f)}function nt(n,t,i,r,u){for(var o=n.sameUnits,y=t.clone().stripZone(),p=i.clone().stripZone(),c=s(n.fakeFormatString,t),d=s(n.fakeFormatString,i),w="",e,v="",h,l="",a="",b="",f=0;f<o.length&&(!o[f]||y.isSame(p,o[f]));f++)w+=c[f];for(e=o.length-1;e>f&&(!o[e]||y.isSame(p,o[e]));e--){if(e-1===f&&c[e]===".")break;v=c[e]+v}for(h=f;h<=e;h++)l+=c[h],a+=d[h];return(l||a)&&(b=u?a+r+l:l+r+a),k(w+b+v)}function y(n){return e[n]||(e[n]=tt(n))}function tt(n){var t=o(n);return{fakeFormatString:w(t),sameUnits:b(t)}}function o(n){for(var i=[],t,r=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;t=r.exec(n);)t[1]?i.push.apply(i,p(t[1])):t[2]?i.push({maybe:o(t[2])}):t[3]?i.push({token:t[3]}):t[5]&&i.push.apply(i,p(t[5]));return i}function p(n){return n===". "?["."," "]:[n]}function w(n){for(var i=[],t,r=0;r<n.length;r++)t=n[r],typeof t=="string"?i.push("["+t+"]"):t.token?t.token in l?i.push(c+"["+t.token+"]"):i.push(t.token):t.maybe&&i.push(f+w(t.maybe)+f);return i.join(h)}function b(n){for(var t=[],i,u,r=0;r<n.length;r++)i=n[r],i.token?(u=a[i.token.charAt(0)],t.push(u?u.unit:"second")):i.maybe?t.push.apply(t,b(i.maybe)):t.push(null);return t}function it(n,t){return k(s(n,t).join(""))}function s(n,t){for(var f=[],o=r.oldMomentFormat(t,n),e=o.split(h),u,i=0;i<e.length;i++)u=e[i],u.charAt(0)===c?f.push(l[u.substring(1)](t)):f.push(u);return f}function k(n){return n.replace(d,function(n,t){return t.match(/[1-9]/)?t:""})}function rt(n){for(var f=o(n),u,r,t,i=0;i<f.length;i++)u=f[i],u.token&&(r=a[u.token.charAt(0)],r&&(!t||r.value>t.value)&&(t=r));return t?t.unit:null}var r,e;Object.defineProperty(t,"__esModule",{value:!0});r=i(10);r.newMomentProto.format=function(){return this._fullCalendar&&arguments[0]?v(this,arguments[0]):this._ambigTime?r.oldMomentFormat(u(this),"YYYY-MM-DD"):this._ambigZone?r.oldMomentFormat(u(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?r.oldMomentFormat(u(this)):r.oldMomentProto.format.apply(this,arguments)};r.newMomentProto.toISOString=function(){return this._ambigTime?r.oldMomentFormat(u(this),"YYYY-MM-DD"):this._ambigZone?r.oldMomentFormat(u(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?r.oldMomentProto.toISOString.apply(u(this),arguments):r.oldMomentProto.toISOString.apply(this,arguments)};var h="\x0b",c="\x1f",f="\x1e",d=new RegExp(f+"([^"+f+"]*)"+f,"g"),l={t:function(n){return r.oldMomentFormat(n,"a").charAt(0)},T:function(n){return r.oldMomentFormat(n,"A").charAt(0)}},a={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}};t.formatDate=v;t.formatRange=g;e={};t.queryMostGranularFormatUnit=rt},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(33),e=i(11),o=i(7),r=function(n){function t(){var t=n.call(this)||this;return t._watchers={},t._props={},t.applyGlobalWatchers(),t.constructed(),t}return u.__extends(t,n),t.watch=function(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.prototype.hasOwnProperty("_globalWatchArgs")||(this.prototype._globalWatchArgs=Object.create(this.prototype._globalWatchArgs));this.prototype._globalWatchArgs[n]=i},t.prototype.constructed=function(){},t.prototype.applyGlobalWatchers=function(){var n=this._globalWatchArgs;for(var t in n)this.watch.apply(this,[t].concat(n[t]))},t.prototype.has=function(n){return n in this._props},t.prototype.get=function(n){return n===undefined?this._props:this._props[n]},t.prototype.set=function(n,t){var i;typeof n=="string"?(i={},i[n]=t===undefined?null:t):i=n;this.setProps(i)},t.prototype.reset=function(n){var r=this._props,i={};for(var t in r)i[t]=undefined;for(t in n)i[t]=n[t];this.setProps(i)},t.prototype.unset=function(n){for(var r={},i=typeof n=="string"?[n]:n,t=0;t<i.length;t++)r[i[t]]=undefined;this.setProps(r)},t.prototype.setProps=function(n){var r={},u=0,t,i;for(t in n)i=n[t],(typeof i=="object"||i!==this._props[t])&&(r[t]=i,u++);if(u){this.trigger("before:batchChange",r);for(t in r)i=r[t],this.trigger("before:change",t,i),this.trigger("before:change:"+t,i);for(t in r)i=r[t],i===undefined?delete this._props[t]:this._props[t]=i,this.trigger("change:"+t,i),this.trigger("change",t,i);this.trigger("batchChange",r)}},t.prototype.watch=function(n,t,i,r){var u=this;this.unwatch(n);this._watchers[n]=this._watchDeps(t,function(t){var r=i.call(u,t);r&&r.then?(u.unset(n),r.then(function(t){u.set(n,t)})):u.set(n,r)},function(t){u.unset(n);r&&r.call(u,t)})},t.prototype.unwatch=function(n){var t=this._watchers[n];t&&(delete this._watchers[n],t.teardown())},t.prototype._watchDeps=function(n,t,i){var o=this,s=0,f=n.length,r=0,u={},e=[],h=!1,l=function(){s++;s===1&&r===f&&(h=!0,i(u),h=!1)},a=function(n,i,e){i===undefined?(e||u[n]===undefined||r--,delete u[n]):(e||u[n]!==undefined||r++,u[n]=i);s--;s||r===f&&(h||t(u))},c=function(n,t){o.on(n,t);e.push([n,t])};return n.forEach(function(n){var t=!1;n.charAt(0)==="?"&&(n=n.substring(1),t=!0);c("before:change:"+n,function(i){l(n,i,t)});c("change:"+n,function(i){a(n,i,t)})}),n.forEach(function(n){var t=!1;n.charAt(0)==="?"&&(n=n.substring(1),t=!0);o.has(n)?(u[n]=o.get(n),r++):t&&r++}),r===f&&t(u),{teardown:function(){for(var n=0;n<e.length;n++)o.off(e[n][0],e[n][1]);e=null;r===f&&i()},flash:function(){r===f&&(i(),t(u))}}},t.prototype.flash=function(n){var t=this._watchers[n];t&&t.flash()},t}(f.default);t.default=r;r.prototype._globalWatchArgs={};e.default.mixInto(r);o.default.mixInto(r)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=i(4),f=i(13),e=i(210);t.default={parse:function(n,t){return u.isTimeString(n.start)||r.isDuration(n.start)||u.isTimeString(n.end)||r.isDuration(n.end)?e.default.parse(n,t):f.default.parse(n,t)}}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(4),u=i(17),f=function(){function n(){this.clearEnd=!1;this.forceTimed=!1;this.forceAllDay=!1}return n.createFromDiff=function(t,i,u){function h(n,t){return u?r.diffByUnit(n,t,u):i.isAllDay()?r.diffDay(n,t):r.diffDayTime(n,t)}var c=t.end&&!i.end,l=t.isAllDay()&&!i.isAllDay(),a=!t.isAllDay()&&i.isAllDay(),e,o,s,f;return e=h(i.start,t.start),i.end&&(o=h(i.unzonedRange.getEnd(),t.unzonedRange.getEnd()),s=o.subtract(e)),f=new n,f.clearEnd=c,f.forceTimed=l,f.forceAllDay=a,f.setDateDelta(e),f.setEndDelta(s),f},n.prototype.buildNewDateProfile=function(n,t){var r=n.start.clone(),i=null,f=!1;return n.end&&!this.clearEnd?i=n.end.clone():this.endDelta&&!i&&(i=t.getDefaultEventEnd(n.isAllDay(),r)),this.forceTimed?(f=!0,r.hasTime()||r.time(0),i&&!i.hasTime()&&i.time(0)):this.forceAllDay&&(r.hasTime()&&r.stripTime(),i&&i.hasTime()&&i.stripTime()),this.dateDelta&&(f=!0,r.add(this.dateDelta),i&&i.add(this.dateDelta)),this.endDelta&&(f=!0,i.add(this.endDelta)),this.startDelta&&(f=!0,r.add(this.startDelta)),f&&(r=t.applyTimezone(r),i&&(i=t.applyTimezone(i))),!i&&t.opt("forceEventDuration")&&(i=t.getDefaultEventEnd(n.isAllDay(),r)),new u.default(r,i,t)},n.prototype.setDateDelta=function(n){this.dateDelta=n&&n.valueOf()?n:null},n.prototype.setStartDelta=function(n){this.startDelta=n&&n.valueOf()?n:null},n.prototype.setEndDelta=function(n){this.endDelta=n&&n.valueOf()?n:null},n.prototype.isEmpty=function(){return!this.clearEnd&&!this.forceTimed&&!this.forceAllDay&&!this.dateDelta&&!this.startDelta&&!this.endDelta},n}();t.default=f},function(n,t,i){function e(n,t){r[n]=t}function o(n){return n?n===!0?f.default:r[n]:u.default}Object.defineProperty(t,"__esModule",{value:!0});var u=i(213),f=i(214),r={};t.defineThemeSystem=e;t.getThemeSystemClass=o},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(3),o=i(4),s=i(20),u=i(6),h=i(13),f=function(n){function t(t){var i=n.call(this,t)||this;return i.eventDefs=[],i}return e.__extends(t,n),t.parse=function(n,t){var i;return(r.isArray(n.events)?i=n:r.isArray(n)&&(i={events:n}),i)?u.default.parse.call(this,i,t):!1},t.prototype.setRawEventDefs=function(n){this.rawEventDefs=n;this.eventDefs=this.parseEventDefs(n)},t.prototype.fetch=function(n,t,i){var u=this.eventDefs,r;if(this.currentTimezone!=null&&this.currentTimezone!==i)for(r=0;r<u.length;r++)u[r]instanceof h.default&&u[r].rezone();return this.currentTimezone=i,s.default.resolve(u)},t.prototype.addEventDef=function(n){this.eventDefs.push(n)},t.prototype.removeEventDefsById=function(n){return o.removeMatching(this.eventDefs,function(t){return t.id===n})},t.prototype.removeAllEventDefs=function(){this.eventDefs=[]},t.prototype.getPrimitive=function(){return this.rawEventDefs},t.prototype.applyManualStandardProps=function(t){var i=n.prototype.applyManualStandardProps.call(this,t);return this.setRawEventDefs(t.events),i},t}(u.default);t.default=f;f.defineStandardProps({events:!1})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n){this.isHorizontal=!1;this.isVertical=!1;this.els=r(n.els);this.isHorizontal=n.isHorizontal;this.isVertical=n.isVertical;this.forcedOffsetParentEl=n.offsetParent?r(n.offsetParent):null}return n.prototype.build=function(){var n=this.forcedOffsetParentEl;!n&&this.els.length>0&&(n=this.els.eq(0).offsetParent());this.origin=n?n.offset():null;this.boundingRect=this.queryBoundingRect();this.isHorizontal&&this.buildElHorizontals();this.isVertical&&this.buildElVerticals()},n.prototype.clear=function(){this.origin=null;this.boundingRect=null;this.lefts=null;this.rights=null;this.tops=null;this.bottoms=null},n.prototype.ensureBuilt=function(){this.origin||this.build()},n.prototype.buildElHorizontals=function(){var n=[],t=[];this.els.each(function(i,u){var f=r(u),e=f.offset().left,o=f.outerWidth();n.push(e);t.push(e+o)});this.lefts=n;this.rights=t},n.prototype.buildElVerticals=function(){var n=[],t=[];this.els.each(function(i,u){var f=r(u),e=f.offset().top,o=f.outerHeight();n.push(e);t.push(e+o)});this.tops=n;this.bottoms=t},n.prototype.getHorizontalIndex=function(n){this.ensureBuilt();for(var i=this.lefts,r=this.rights,u=i.length,t=0;t<u;t++)if(n>=i[t]&&n<r[t])return t},n.prototype.getVerticalIndex=function(n){this.ensureBuilt();for(var i=this.tops,r=this.bottoms,u=i.length,t=0;t<u;t++)if(n>=i[t]&&n<r[t])return t},n.prototype.getLeftOffset=function(n){return this.ensureBuilt(),this.lefts[n]},n.prototype.getLeftPosition=function(n){return this.ensureBuilt(),this.lefts[n]-this.origin.left},n.prototype.getRightOffset=function(n){return this.ensureBuilt(),this.rights[n]},n.prototype.getRightPosition=function(n){return this.ensureBuilt(),this.rights[n]-this.origin.left},n.prototype.getWidth=function(n){return this.ensureBuilt(),this.rights[n]-this.lefts[n]},n.prototype.getTopOffset=function(n){return this.ensureBuilt(),this.tops[n]},n.prototype.getTopPosition=function(n){return this.ensureBuilt(),this.tops[n]-this.origin.top},n.prototype.getBottomOffset=function(n){return this.ensureBuilt(),this.bottoms[n]},n.prototype.getBottomPosition=function(n){return this.ensureBuilt(),this.bottoms[n]-this.origin.top},n.prototype.getHeight=function(n){return this.ensureBuilt(),this.bottoms[n]-this.tops[n]},n.prototype.queryBoundingRect=function(){var n;return this.els.length>0&&(n=u.getScrollParent(this.els.eq(0)),!n.is(document))?u.getClientRect(n):null},n.prototype.isPointInBounds=function(n,t){return this.isLeftInBounds(n)&&this.isTopInBounds(t)},n.prototype.isLeftInBounds=function(n){return!this.boundingRect||n>=this.boundingRect.left&&n<this.boundingRect.right},n.prototype.isTopInBounds=function(n){return!this.boundingRect||n>=this.boundingRect.top&&n<this.boundingRect.bottom},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),r=i(4),o=i(7),f=i(21),e=function(){function n(n){this.isInteracting=!1;this.isDistanceSurpassed=!1;this.isDelayEnded=!1;this.isDragging=!1;this.isTouch=!1;this.isGeneric=!1;this.shouldCancelTouchScroll=!0;this.scrollAlwaysKills=!1;this.isAutoScroll=!1;this.scrollSensitivity=30;this.scrollSpeed=200;this.scrollIntervalMs=50;this.options=n||{}}return n.prototype.startInteraction=function(n,t){if(t===void 0&&(t={}),n.type==="mousedown"){if(f.default.get().shouldIgnoreMouse())return;if(r.isPrimaryMouseButton(n))n.preventDefault();else return}this.isInteracting||(this.delay=r.firstDefined(t.delay,this.options.delay,0),this.minDistance=r.firstDefined(t.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,r.preventSelection(u("body")),this.isInteracting=!0,this.isTouch=r.getEvIsTouch(n),this.isGeneric=n.type==="dragstart",this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=r.getEvX(n),this.originY=r.getEvY(n),this.scrollEl=r.getScrollParent(u(n.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(n),this.startDelay(n),this.minDistance||this.handleDistanceSurpassed(n))},n.prototype.handleInteractionStart=function(n){this.trigger("interactionStart",n)},n.prototype.endInteraction=function(n,t){this.isInteracting&&(this.endDrag(n),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(n,t),r.allowSelection(u("body")))},n.prototype.handleInteractionEnd=function(n,t){this.trigger("interactionEnd",n,t||!1)},n.prototype.bindHandlers=function(){var n=f.default.get();this.isGeneric?this.listenTo(u(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(n,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(n,{mousemove:this.handleMouseMove,mouseup:this.endInteraction});this.listenTo(n,{selectstart:r.preventDefault,contextmenu:r.preventDefault})},n.prototype.unbindHandlers=function(){this.stopListeningTo(f.default.get());this.stopListeningTo(u(document))},n.prototype.startDrag=function(n,t){this.startInteraction(n,t);this.isDragging||(this.isDragging=!0,this.handleDragStart(n))},n.prototype.handleDragStart=function(n){this.trigger("dragStart",n)},n.prototype.handleMove=function(n){var t=r.getEvX(n)-this.originX,i=r.getEvY(n)-this.originY,u=this.minDistance,f;this.isDistanceSurpassed||(f=t*t+i*i,f>=u*u&&this.handleDistanceSurpassed(n));this.isDragging&&this.handleDrag(t,i,n)},n.prototype.handleDrag=function(n,t,i){this.trigger("drag",n,t,i);this.updateAutoScroll(i)},n.prototype.endDrag=function(n){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(n))},n.prototype.handleDragEnd=function(n){this.trigger("dragEnd",n)},n.prototype.startDelay=function(n){var t=this;this.delay?this.delayTimeoutId=setTimeout(function(){t.handleDelayEnd(n)},this.delay):this.handleDelayEnd(n)},n.prototype.handleDelayEnd=function(n){this.isDelayEnded=!0;this.isDistanceSurpassed&&this.startDrag(n)},n.prototype.handleDistanceSurpassed=function(n){this.isDistanceSurpassed=!0;this.isDelayEnded&&this.startDrag(n)},n.prototype.handleTouchMove=function(n){this.isDragging&&this.shouldCancelTouchScroll&&n.preventDefault();this.handleMove(n)},n.prototype.handleMouseMove=function(n){this.handleMove(n)},n.prototype.handleTouchScroll=function(n){(!this.isDragging||this.scrollAlwaysKills)&&this.endInteraction(n,!0)},n.prototype.trigger=function(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.options[n]&&this.options[n].apply(this,i);this["_"+n]&&this["_"+n].apply(this,i)},n.prototype.initAutoScroll=function(){var n=this.scrollEl;this.isAutoScroll=this.options.scroll&&n&&!n.is(window)&&!n.is(document);this.isAutoScroll&&this.listenTo(n,"scroll",r.debounce(this.handleDebouncedScroll,100))},n.prototype.destroyAutoScroll=function(){this.endAutoScroll();this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},n.prototype.computeScrollBounds=function(){this.isAutoScroll&&(this.scrollBounds=r.getOuterRect(this.scrollEl))},n.prototype.updateAutoScroll=function(n){var t=this.scrollSensitivity,i=this.scrollBounds,u,f,e,o,s=0,h=0;i&&(u=(t-(r.getEvY(n)-i.top))/t,f=(t-(i.bottom-r.getEvY(n)))/t,e=(t-(r.getEvX(n)-i.left))/t,o=(t-(i.right-r.getEvX(n)))/t,u>=0&&u<=1?s=u*this.scrollSpeed*-1:f>=0&&f<=1&&(s=f*this.scrollSpeed),e>=0&&e<=1?h=e*this.scrollSpeed*-1:o>=0&&o<=1&&(h=o*this.scrollSpeed));this.setScrollVel(s,h)},n.prototype.setScrollVel=function(n,t){this.scrollTopVel=n;this.scrollLeftVel=t;this.constrainScrollVel();(this.scrollTopVel||this.scrollLeftVel)&&!this.scrollIntervalId&&(this.scrollIntervalId=setInterval(r.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},n.prototype.constrainScrollVel=function(){var n=this.scrollEl;this.scrollTopVel<0?n.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&n.scrollTop()+n[0].clientHeight>=n[0].scrollHeight&&(this.scrollTopVel=0);this.scrollLeftVel<0?n.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&n.scrollLeft()+n[0].clientWidth>=n[0].scrollWidth&&(this.scrollLeftVel=0)},n.prototype.scrollIntervalFunc=function(){var n=this.scrollEl,t=this.scrollIntervalMs/1e3;this.scrollTopVel&&n.scrollTop(n.scrollTop()+this.scrollTopVel*t);this.scrollLeftVel&&n.scrollLeft(n.scrollLeft()+this.scrollLeftVel*t);this.constrainScrollVel();this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},n.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},n.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},n.prototype.handleScrollEnd=function(){},n}();t.default=e;o.default.mixInto(e)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=i(14),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.updateDayTable=function(){for(var r=this,o=r.view,s=o.calendar,i=s.msToUtcMoment(r.dateProfile.renderUnzonedRange.startMs,!0),c=s.msToUtcMoment(r.dateProfile.renderUnzonedRange.endMs,!0),u=-1,f=[],n=[],t,h,e;i.isBefore(c);)o.isHiddenDay(i)?f.push(u+.5):(u++,f.push(u),n.push(i.clone())),i.add(1,"days");if(this.breakOnWeeks){for(h=n[0].day(),t=1;t<n.length;t++)if(n[t].day()===h)break;e=Math.ceil(n.length/t)}else e=1,t=n.length;this.dayDates=n;this.dayIndices=f;this.daysPerRow=t;this.rowCnt=e;this.updateDayTableCols()},t.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt();this.colHeadFormat=this.opt("columnHeaderFormat")||this.opt("columnFormat")||this.computeColHeadFormat()},t.prototype.computeColCnt=function(){return this.daysPerRow},t.prototype.getCellDate=function(n,t){return this.dayDates[this.getCellDayIndex(n,t)].clone()},t.prototype.getCellRange=function(n,t){var i=this.getCellDate(n,t),r=i.clone().add(1,"days");return{start:i,end:r}},t.prototype.getCellDayIndex=function(n,t){return n*this.daysPerRow+this.getColDayIndex(t)},t.prototype.getColDayIndex=function(n){return this.isRTL?this.colCnt-1-n:n},t.prototype.getDateDayIndex=function(n){var t=this.dayIndices,i=n.diff(this.dayDates[0],"days");return i<0?t[0]-1:i>=t.length?t[t.length-1]+1:t[i]},t.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},t.prototype.sliceRangeByRow=function(n){for(var f=this.daysPerRow,e=this.view.computeDayRange(n),o=this.getDateDayIndex(e.start),s=this.getDateDayIndex(e.end.clone().subtract(1,"days")),h=[],u,c,t,i,r=0;r<this.rowCnt;r++)u=r*f,c=u+f-1,t=Math.max(o,u),i=Math.min(s,c),t=Math.ceil(t),i=Math.floor(i),t<=i&&h.push({row:r,firstRowDayIndex:t-u,lastRowDayIndex:i-u,isStart:t===o,isEnd:i===s});return h},t.prototype.sliceRangeByDay=function(n){for(var e=this.daysPerRow,o=this.view.computeDayRange(n),s=this.getDateDayIndex(o.start),h=this.getDateDayIndex(o.end.clone().subtract(1,"days")),c=[],u,l,f,t,i,r=0;r<this.rowCnt;r++)for(u=r*e,l=u+e-1,f=u;f<=l;f++)t=Math.max(s,f),i=Math.min(h,f),t=Math.ceil(t),i=Math.floor(i),t<=i&&c.push({row:r,firstRowDayIndex:t-u,lastRowDayIndex:i-u,isStart:t===s,isEnd:i===h});return c},t.prototype.renderHeadHtml=function(){var n=this.view.calendar.theme;return'<div class="fc-row '+n.getClass("headerRow")+'"><table class="'+n.getClass("tableGrid")+'"><thead>'+this.renderHeadTrHtml()+"<\/thead><\/table><\/div>"},t.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},t.prototype.renderHeadTrHtml=function(){return"<tr>"+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+"<\/tr>"},t.prototype.renderHeadDateCellsHtml=function(){for(var t=[],i,n=0;n<this.colCnt;n++)i=this.getCellDate(0,n),t.push(this.renderHeadDateCellHtml(i));return t.join("")},t.prototype.renderHeadDateCellHtml=function(n,t,i){var u=this,o=u.view,s=u.dateProfile.activeUnzonedRange.containsDate(n),f=["fc-day-header",o.calendar.theme.getClass("widgetHeader")],e;return e=typeof u.opt("columnHeaderHtml")=="function"?u.opt("columnHeaderHtml")(n):typeof u.opt("columnHeaderText")=="function"?r.htmlEscape(u.opt("columnHeaderText")(n)):r.htmlEscape(n.format(u.colHeadFormat)),u.rowCnt===1?f=f.concat(u.getDayClasses(n,!0)):f.push("fc-"+r.dayIDs[n.day()]),'<th class="'+f.join(" ")+'"'+((s&&u.rowCnt)===1?' data-date="'+n.format("YYYY-MM-DD")+'"':"")+(t>1?' colspan="'+t+'"':"")+(i?" "+i:"")+">"+(s?o.buildGotoAnchorHtml({date:n,forceOff:u.rowCnt>1||u.colCnt===1},e):e)+"<\/th>"},t.prototype.renderBgTrHtml=function(n){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(n))+this.renderBgCellsHtml(n)+(this.isRTL?this.renderBgIntroHtml(n):"")+"<\/tr>"},t.prototype.renderBgIntroHtml=function(){return this.renderIntroHtml()},t.prototype.renderBgCellsHtml=function(n){for(var i=[],r,t=0;t<this.colCnt;t++)r=this.getCellDate(n,t),i.push(this.renderBgCellHtml(r));return i.join("")},t.prototype.renderBgCellHtml=function(n,t){var i=this,u=i.view,f=i.dateProfile.activeUnzonedRange.containsDate(n),r=i.getDayClasses(n);return r.unshift("fc-day",u.calendar.theme.getClass("widgetContent")),'<td class="'+r.join(" ")+'"'+(f?' data-date="'+n.format("YYYY-MM-DD")+'"':"")+(t?" "+t:"")+"><\/td>"},t.prototype.renderIntroHtml=function(){},t.prototype.bookendCells=function(n){var t=this.renderIntroHtml();t&&(this.isRTL?n.append(t):n.prepend(t))},t}(f.default);t.default=e},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.component=n;this.fillRenderer=t}return n.prototype.render=function(n){var t=this.component,i=t._getDateProfile().activeUnzonedRange,r=n.buildEventInstanceGroup(t.hasAllDayBusinessHours,i),u=r?t.eventRangesToEventFootprints(r.sliceRenderRanges(i)):[];this.renderEventFootprints(u)},n.prototype.renderEventFootprints=function(n){var t=this.component.eventFootprintsToSegs(n);this.renderSegs(t);this.segs=t},n.prototype.renderSegs=function(n){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",n,{getClasses:function(){return["fc-nonbusiness","fc-bgevent"]}})},n.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours");this.segs=null},n.prototype.getSegs=function(){return this.segs||[]},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n){this.fillSegTag="div";this.component=n;this.elsByFill={}}return n.prototype.renderFootprint=function(n,t,i){this.renderSegs(n,this.component.componentFootprintToSegs(t),i)},n.prototype.renderSegs=function(n,t,i){var r;return t=this.buildSegEls(n,t,i),r=this.attachSegEls(n,t),r&&this.reportEls(n,r),t},n.prototype.unrender=function(n){var t=this.elsByFill[n];t&&(t.remove(),delete this.elsByFill[n])},n.prototype.buildSegEls=function(n,t,i){var o=this,f="",e=[],u;if(t.length){for(u=0;u<t.length;u++)f+=this.buildSegHtml(n,t[u],i);r(f).each(function(n,u){var s=t[n],f=r(u);i.filterEl&&(f=i.filterEl(s,f));f&&(f=r(f),f.is(o.fillSegTag)&&(s.el=f,e.push(s)))})}return e},n.prototype.buildSegHtml=function(n,t,i){var r=i.getClasses?i.getClasses(t):[],f=u.cssToStr(i.getCss?i.getCss(t):{});return"<"+this.fillSegTag+(r.length?' class="'+r.join(" ")+'"':"")+(f?' style="'+f+'"':"")+" />"},n.prototype.attachSegEls=function(){},n.prototype.reportEls=function(n,t){this.elsByFill[n]=this.elsByFill[n]?this.elsByFill[n].add(t):r(t)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(13),u=i(36),f=i(6),e=function(){function n(n,t){this.view=n._getView();this.component=n;this.eventRenderer=t}return n.prototype.renderComponentFootprint=function(n){this.renderEventFootprints([this.fabricateEventFootprint(n)])},n.prototype.renderEventDraggingFootprints=function(n,t,i){this.renderEventFootprints(n,t,"fc-dragging",i?null:this.view.opt("dragOpacity"))},n.prototype.renderEventResizingFootprints=function(n,t){this.renderEventFootprints(n,t,"fc-resizing")},n.prototype.renderEventFootprints=function(n,t,i,r){for(var f=this.component.eventFootprintsToSegs(n),e="fc-helper "+(i||""),f=this.eventRenderer.renderFgSegEls(f),u=0;u<f.length;u++)f[u].el.addClass(e);if(r!=null)for(u=0;u<f.length;u++)f[u].el.css("opacity",r);this.helperEls=this.renderSegs(f,t)},n.prototype.renderSegs=function(){},n.prototype.unrender=function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},n.prototype.fabricateEventFootprint=function(n){var i=this.view.calendar,o=i.footprintToDateProfile(n),t=new r.default(new f.default(i)),e;return t.dateProfile=o,e=t.buildInstance(),new u.default(n,t,e)},n}();t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(21),f=i(15),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.bindToEl=function(n){var t=this.component;t.bindSegHandlerToEl(n,"click",this.handleClick.bind(this));t.bindSegHandlerToEl(n,"mouseenter",this.handleMouseover.bind(this));t.bindSegHandlerToEl(n,"mouseleave",this.handleMouseout.bind(this))},t.prototype.handleClick=function(n,t){var i=this.component.publiclyTrigger("eventClick",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,this.view]});i===!1&&t.preventDefault()},t.prototype.handleMouseover=function(n,t){u.default.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=n,this.view.isEventDefResizable(n.footprint.eventDef)&&n.el.addClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseover",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,this.view]}))},t.prototype.handleMouseout=function(n,t){this.mousedOverSeg&&(this.mousedOverSeg=null,this.view.isEventDefResizable(n.footprint.eventDef)&&n.el.removeClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseout",{context:n.el[0],args:[n.footprint.getEventLegacy(),t||{},this.view]}))},t.prototype.end=function(){this.mousedOverSeg&&this.handleMouseout(this.mousedOverSeg)},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(14),e=i(245),o=i(225),s=i(59),h=i(224),c=i(223),l=i(222),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(f.default);t.default=r;r.prototype.dateClickingClass=e.default;r.prototype.dateSelectingClass=o.default;r.prototype.eventPointingClass=s.default;r.prototype.eventDraggingClass=h.default;r.prototype.eventResizingClass=c.default;r.prototype.externalDroppingClass=l.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),r=i(3),h=i(4),f=i(53),c=i(249),e=i(5),o=i(12),l=i(36),a=i(56),v=i(60),y=i(40),p=i(55),w=i(250),b=i(251),k=i(252),u=function(n){function t(t){var i=n.call(this,t)||this;return i.cellWeekNumbersVisible=!1,i.bottomCoordPadding=0,i.isRigid=!1,i.hasAllDayBusinessHours=!0,i}return s.__extends(t,n),t.prototype.componentFootprintToSegs=function(n){for(var r=this.sliceRangeByRow(n.unzonedRange),t,i=0;i<r.length;i++)t=r[i],this.isRTL?(t.leftCol=this.daysPerRow-1-t.lastRowDayIndex,t.rightCol=this.daysPerRow-1-t.firstRowDayIndex):(t.leftCol=t.firstRowDayIndex,t.rightCol=t.lastRowDayIndex);return r},t.prototype.renderDates=function(n){this.dateProfile=n;this.updateDayTable();this.renderGrid()},t.prototype.unrenderDates=function(){this.removeSegPopover()},t.prototype.renderGrid=function(){var i=this.view,r=this.rowCnt,e=this.colCnt,u="",n,t;for(this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),n=0;n<r;n++)u+=this.renderDayRowHtml(n,this.isRigid);for(this.el.html(u),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new f.default({els:this.rowEls,isVertical:!0}),this.colCoordCache=new f.default({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),n=0;n<r;n++)for(t=0;t<e;t++)this.publiclyTrigger("dayRender",{context:i,args:[this.getCellDate(n,t),this.getCellEl(n,t),i]})},t.prototype.renderDayRowHtml=function(n,t){var i=this.view.calendar.theme,r=["fc-row","fc-week",i.getClass("dayRow")];return t&&r.push("fc-rigid"),'<div class="'+r.join(" ")+'"><div class="fc-bg"><table class="'+i.getClass("tableGrid")+'">'+this.renderBgTrHtml(n)+'<\/table><\/div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(n)+"<\/thead>":"")+"<\/table><\/div><\/div>"},t.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},t.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},t.prototype.renderNumberTrHtml=function(n){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(n))+this.renderNumberCellsHtml(n)+(this.isRTL?this.renderNumberIntroHtml(n):"")+"<\/tr>"},t.prototype.renderNumberIntroHtml=function(){return this.renderIntroHtml()},t.prototype.renderNumberCellsHtml=function(n){for(var i=[],r,t=0;t<this.colCnt;t++)r=this.getCellDate(n,t),i.push(this.renderNumberCellHtml(r));return i.join("")},t.prototype.renderNumberCellHtml=function(n){var r=this.view,t="",u=this.dateProfile.activeUnzonedRange.containsDate(n),f=this.getIsDayNumbersVisible()&&u,i,e;return!f&&!this.cellWeekNumbersVisible?"<td/>":(i=this.getDayClasses(n),i.unshift("fc-day-top"),this.cellWeekNumbersVisible&&(e=n._locale._fullCalendar_weekCalc==="ISO"?1:n._locale.firstDayOfWeek()),t+='<td class="'+i.join(" ")+'"'+(u?' data-date="'+n.format()+'"':"")+">",this.cellWeekNumbersVisible&&n.day()===e&&(t+=r.buildGotoAnchorHtml({date:n,type:"week"},{"class":"fc-week-number"},n.format("w"))),f&&(t+=r.buildGotoAnchorHtml(n,{"class":"fc-day-number"},n.format("D"))),t+"<\/td>")},t.prototype.prepareHits=function(){this.colCoordCache.build();this.rowCoordCache.build();this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},t.prototype.releaseHits=function(){this.colCoordCache.clear();this.rowCoordCache.clear()},t.prototype.queryHit=function(n,t){if(this.colCoordCache.isLeftInBounds(n)&&this.rowCoordCache.isTopInBounds(t)){var i=this.colCoordCache.getHorizontalIndex(n),r=this.rowCoordCache.getVerticalIndex(t);if(r!=null&&i!=null)return this.getCellHit(r,i)}},t.prototype.getHitFootprint=function(n){var t=this.getCellRange(n.row,n.col);return new o.default(new e.default(t.start,t.end),!0)},t.prototype.getHitEl=function(n){return this.getCellEl(n.row,n.col)},t.prototype.getCellHit=function(n,t){return{row:n,col:t,component:this,left:this.colCoordCache.getLeftOffset(t),right:this.colCoordCache.getRightOffset(t),top:this.rowCoordCache.getTopOffset(n),bottom:this.rowCoordCache.getBottomOffset(n)}},t.prototype.getCellEl=function(n,t){return this.cellEls.eq(n*this.colCnt+t)},t.prototype.executeEventUnrender=function(){this.removeSegPopover();n.prototype.executeEventUnrender.call(this)},t.prototype.getOwnEventSegs=function(){return n.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},t.prototype.renderDrag=function(n,t,i){for(var r=0;r<n.length;r++)this.renderHighlight(n[r].componentFootprint);if(n.length&&t&&t.component!==this)return this.helperRenderer.renderEventDraggingFootprints(n,t,i),!0},t.prototype.unrenderDrag=function(){this.unrenderHighlight();this.helperRenderer.unrender()},t.prototype.renderEventResize=function(n,t,i){for(var r=0;r<n.length;r++)this.renderHighlight(n[r].componentFootprint);this.helperRenderer.renderEventResizingFootprints(n,t,i)},t.prototype.unrenderEventResize=function(){this.unrenderHighlight();this.helperRenderer.unrender()},t.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},t.prototype.limitRows=function(n){for(var r=this.eventRenderer.rowStructs||[],i,t=0;t<r.length;t++)this.unlimitRow(t),i=n?typeof n=="number"?n:this.computeRowLevelLimit(t):!1,i!==!1&&this.limitRow(t,i)},t.prototype.computeRowLevelLimit=function(n){function s(n,t){i=Math.max(i,r(t).outerHeight())}for(var e=this.rowEls.eq(n),o=e.height(),f=this.eventRenderer.rowStructs[n].tbodyEl.children(),u,i,t=0;t<f.length;t++)if(u=f.eq(t).removeClass("fc-limited"),i=0,u.find("> td > :first-child").each(s),u.position().top+i>o)return t;return!1},t.prototype.limitRow=function(n,t){var g=this,f=this.eventRenderer.rowStructs[n],y=[],i=0,p,w,b,c,e,u,k,l,o,nt,d,s,a,h,v,tt=function(f){while(i<f)u=g.getCellSegs(n,i,t),u.length&&(o=w[t-1][i],v=g.renderMoreLink(n,i,u),h=r("<div/>").append(v),o.append(h),y.push(h[0])),i++};if(t&&t<f.segLevels.length){for(p=f.segLevels[t-1],w=f.cellMatrix,b=f.tbodyEl.children().slice(t).addClass("fc-limited").get(),c=0;c<p.length;c++){for(e=p[c],tt(e.leftCol),l=[],k=0;i<=e.rightCol;)u=this.getCellSegs(n,i,t),l.push(u),k+=u.length,i++;if(k){for(o=w[t-1][e.leftCol],nt=o.attr("rowspan")||1,d=[],s=0;s<l.length;s++)a=r('<td class="fc-more-cell"/>').attr("rowspan",nt),u=l[s],v=this.renderMoreLink(n,e.leftCol+s,[e].concat(u)),h=r("<div/>").append(v),a.append(h),d.push(a[0]),y.push(a[0]);o.addClass("fc-limited").after(r(d));b.push(o[0])}}tt(this.colCnt);f.moreEls=r(y);f.limitedEls=r(b)}},t.prototype.unlimitRow=function(n){var t=this.eventRenderer.rowStructs[n];t.moreEls&&(t.moreEls.remove(),t.moreEls=null);t.limitedEls&&(t.limitedEls.removeClass("fc-limited"),t.limitedEls=null)},t.prototype.renderMoreLink=function(n,t,i){var u=this,f=this.view;return r('<a class="fc-more"/>').text(this.getMoreLinkText(i.length)).on("click",function(e){var o=u.opt("eventLimitClick"),s=u.getCellDate(n,t),h=r(e.currentTarget),l=u.getCellEl(n,t),a=u.getCellSegs(n,t),c=u.resliceDaySegs(a,s),v=u.resliceDaySegs(i,s);typeof o=="function"&&(o=u.publiclyTrigger("eventLimitClick",{context:f,args:[{date:s.clone(),dayEl:l,moreEl:h,segs:c,hiddenSegs:v},e,f]}));o==="popover"?u.showSegPopover(n,t,h,c):typeof o=="string"&&f.calendar.zoomTo(s,o)})},t.prototype.showSegPopover=function(n,t,i,r){var u=this,e=this.view,o=i.parent(),s,f;s=this.rowCnt===1?e.el:this.rowEls.eq(n);f={className:"fc-more-popover "+e.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(n,t,r),parentEl:e.el,top:s.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){u.popoverSegs&&u.triggerBeforeEventSegsDestroyed(u.popoverSegs);u.segPopover.removeElement();u.segPopover=null;u.popoverSegs=null}};this.isRTL?f.right=o.offset().left+o.outerWidth()+1:f.left=o.offset().left-1;this.segPopover=new c.default(f);this.segPopover.show();this.bindAllSegHandlersToEl(this.segPopover.el);this.triggerAfterEventSegsRendered(r)},t.prototype.renderSegPopoverContent=function(n,t,i){var o=this.view,f=o.calendar.theme,s=this.getCellDate(n,t).format(this.opt("dayPopoverFormat")),e=r('<div class="fc-header '+f.getClass("popoverHeader")+'"><span class="fc-close '+f.getIconClass("close")+'"><\/span><span class="fc-title">'+h.htmlEscape(s)+'<\/span><div class="fc-clear"/><\/div><div class="fc-body '+f.getClass("popoverContent")+'"><div class="fc-event-container"><\/div><\/div>'),c=e.find(".fc-event-container"),u;for(i=this.eventRenderer.renderFgSegEls(i,!0),this.popoverSegs=i,u=0;u<i.length;u++)this.hitsNeeded(),i[u].hit=this.getCellHit(n,t),this.hitsNotNeeded(),c.append(i[u].el);return e},t.prototype.resliceDaySegs=function(n,t){for(var h=t.clone(),c=h.clone().add(1,"days"),a=new e.default(h,c),s=[],i,u,f=0;f<n.length;f++)i=n[f],u=i.footprint.componentFootprint.unzonedRange.intersect(a),u&&s.push(r.extend({},i,{footprint:new l.default(new o.default(u,i.footprint.componentFootprint.isAllDay),i.footprint.eventDef,i.footprint.eventInstance),isStart:i.isStart&&u.isStart,isEnd:i.isEnd&&u.isEnd}));return this.eventRenderer.sortEventSegs(s),s},t.prototype.getMoreLinkText=function(n){var t=this.opt("eventLimitText");return typeof t=="function"?t(n):"+"+n+" "+t},t.prototype.getCellSegs=function(n,t,i){for(var f=this.eventRenderer.rowStructs[n].segMatrix,r=i||0,e=[],u;r<f.length;)u=f[r][t],u&&e.push(u),r++;return e},t}(y.default);t.default=u;u.prototype.eventRendererClass=w.default;u.prototype.businessHourRendererClass=a.default;u.prototype.helperRendererClass=b.default;u.prototype.fillRendererClass=k.default;v.default.mixInto(u);p.default.mixInto(u)},function(n,t,i){function l(n){return function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.colWeekNumbersVisible=!1,t}return f.__extends(t,n),t.prototype.renderHeadIntroHtml=function(){var n=this.view;return this.colWeekNumbersVisible?'<th class="fc-week-number '+n.calendar.theme.getClass("widgetHeader")+'" '+n.weekNumberStyleAttr()+"><span>"+r.htmlEscape(this.opt("weekNumberTitle"))+"<\/span><\/th>":""},t.prototype.renderNumberIntroHtml=function(n){var t=this.view,i=this.getCellDate(n,0);return this.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+">"+t.buildGotoAnchorHtml({date:i,type:"week",forceOff:this.colCnt===1},i.format("w"))+"<\/td>":""},t.prototype.renderBgIntroHtml=function(){var n=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number '+n.calendar.theme.getClass("widgetContent")+'" '+n.weekNumberStyleAttr()+"><\/td>":""},t.prototype.renderIntroHtml=function(){var n=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number" '+n.weekNumberStyleAttr()+"><\/td>":""},t.prototype.getIsNumbersVisible=function(){return e.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},t}(n)}Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),o=i(3),r=i(4),s=i(39),h=i(41),c=i(228),e=i(61),u=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.dayGrid=r.instantiateDayGrid(),r.dayGrid.isRigid=r.hasRigidRows(),r.opt("weekNumbers")&&(r.opt("weekNumbersWithinDays")?(r.dayGrid.cellWeekNumbersVisible=!0,r.dayGrid.colWeekNumbersVisible=!1):(r.dayGrid.cellWeekNumbersVisible=!1,r.dayGrid.colWeekNumbersVisible=!0)),r.addChild(r.dayGrid),r.scroller=new s.default({overflowX:"hidden",overflowY:"auto"}),r}return f.__extends(t,n),t.prototype.instantiateDayGrid=function(){var n=l(this.dayGridClass);return new n(this)},t.prototype.executeDateRender=function(t){this.dayGrid.breakOnWeeks=/year|month|week/.test(t.currentRangeUnit);n.prototype.executeDateRender.call(this,t)},t.prototype.renderSkeleton=function(){var n,t;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml());this.scroller.render();n=this.scroller.el.addClass("fc-day-grid-container");t=o('<div class="fc-day-grid" />').appendTo(n);this.el.find(".fc-body > tr > td").append(n);this.dayGrid.headContainerEl=this.el.find(".fc-head-container");this.dayGrid.setElement(t)},t.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement();this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var n=this.calendar.theme;return'<table class="'+n.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+n.getClass("widgetHeader")+'">&nbsp;<\/td><\/tr><\/thead>':"")+'<tbody class="fc-body"><tr><td class="'+n.getClass("widgetContent")+'"><\/td><\/tr><\/tbody><\/table>'},t.prototype.weekNumberStyleAttr=function(){return this.weekNumberWidth!=null?'style="width:'+this.weekNumberWidth+'px"':""},t.prototype.hasRigidRows=function(){var n=this.opt("eventLimit");return n&&typeof n!="number"},t.prototype.updateSize=function(t,i,u){var e=this.opt("eventLimit"),s=this.dayGrid.headContainerEl.find(".fc-row"),f,o;if(!this.dayGrid.rowEls){i||(f=this.computeScrollerHeight(t),this.scroller.setHeight(f));return}n.prototype.updateSize.call(this,t,i,u);this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=r.matchCellWidths(this.el.find(".fc-week-number")));this.scroller.clear();r.uncompensateScroll(s);this.dayGrid.removeSegPopover();e&&typeof e=="number"&&this.dayGrid.limitRows(e);f=this.computeScrollerHeight(t);this.setGridHeight(f,i);e&&typeof e!="number"&&this.dayGrid.limitRows(e);i||(this.scroller.setHeight(f),o=this.scroller.getScrollbarWidths(),(o.left||o.right)&&(r.compensateScroll(s,o),f=this.computeScrollerHeight(t),this.scroller.setHeight(f)),this.scroller.lockOverflow(o))},t.prototype.computeScrollerHeight=function(n){return n-r.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.setGridHeight=function(n,t){t?r.undistributeHeight(this.dayGrid.rowEls):r.distributeHeight(this.dayGrid.rowEls,n,!0)},t.prototype.computeInitialDateScroll=function(){return{top:0}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(n){n.top!==undefined&&this.scroller.setScrollTop(n.top)},t}(h.default);t.default=u;u.prototype.dateProfileGeneratorClass=c.default;u.prototype.dayGridClass=e.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){function h(n,t,i){for(var r=0;r<n.length;r++)if(!t(n[r].eventInstance.toLegacy(),i?i.toLegacy():null))return!1;return!0}function c(n,t){for(var e=t.toLegacy(),u,f,r,i=0;i<n.length;i++)if((u=n[i].eventInstance,f=u.def,r=f.getOverlap(),r===!1)||typeof r=="function"&&!r(u.toLegacy(),e))return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0});var u=i(5),f=i(12),e=i(49),o=i(6),r=i(35),s=function(){function n(n,t){this.eventManager=n;this._calendar=t}return n.prototype.opt=function(n){return this._calendar.opt(n)},n.prototype.isEventInstanceGroupAllowed=function(n){for(var u=n.getEventDef(),i=this.eventRangesToEventFootprints(n.getAllEventRanges()),e=this.getPeerEventInstances(u),o=e.map(r.eventInstanceToEventRange),s=this.eventRangesToEventFootprints(o),h=u.getConstraint(),c=u.getOverlap(),f=this.opt("eventAllow"),t=0;t<i.length;t++)if(!this.isFootprintAllowed(i[t].componentFootprint,s,h,c,i[t].eventInstance))return!1;if(f)for(t=0;t<i.length;t++)if(f(i[t].componentFootprint.toLegacy(this._calendar),i[t].getEventLegacy())===!1)return!1;return!0},n.prototype.getPeerEventInstances=function(n){return this.eventManager.getEventInstancesWithoutId(n.id)},n.prototype.isSelectionFootprintAllowed=function(n){var i=this.eventManager.getEventInstances(),u=i.map(r.eventInstanceToEventRange),f=this.eventRangesToEventFootprints(u),t;return this.isFootprintAllowed(n,f,this.opt("selectConstraint"),this.opt("selectOverlap"))?(t=this.opt("selectAllow"),t?t(n.toLegacy(this._calendar))!==!1:!0):!1},n.prototype.isFootprintAllowed=function(n,t,i,r,u){var e,f;if(i!=null&&(e=this.constraintValToFootprints(i,n.isAllDay),!this.isFootprintWithinConstraints(n,e)))return!1;if(f=this.collectOverlapEventFootprints(t,n),r===!1){if(f.length)return!1}else if(typeof r=="function"&&!h(f,r,u))return!1;return u&&!c(f,u)?!1:!0},n.prototype.isFootprintWithinConstraints=function(n,t){for(var i=0;i<t.length;i++)if(this.footprintContainsFootprint(t[i],n))return!0;return!1},n.prototype.constraintValToFootprints=function(n,t){var i;return n==="businessHours"?this.buildCurrentBusinessFootprints(t):typeof n=="object"?(i=this.parseEventDefToInstances(n),i?this.eventInstancesToFootprints(i):this.parseFootprints(n)):n!=null?(i=this.eventManager.getEventInstancesWithId(n),this.eventInstancesToFootprints(i)):void 0},n.prototype.buildCurrentBusinessFootprints=function(n){var t=this._calendar.view,r=t.get("businessHourGenerator"),u=t.dateProfile.activeUnzonedRange,i=r.buildEventInstanceGroup(n,u);return i?this.eventInstancesToFootprints(i.eventInstances):[]},n.prototype.eventInstancesToFootprints=function(n){var t=n.map(r.eventInstanceToEventRange),i=this.eventRangesToEventFootprints(t);return i.map(r.eventFootprintToComponentFootprint)},n.prototype.collectOverlapEventFootprints=function(n,t){for(var r=[],i=0;i<n.length;i++)this.footprintsIntersect(t,n[i].componentFootprint)&&r.push(n[i]);return r},n.prototype.parseEventDefToInstances=function(n){var i=this.eventManager,t=e.default.parse(n,new o.default(this._calendar));return t?t.buildInstances(i.currentPeriod.unzonedRange):!1},n.prototype.eventRangesToEventFootprints=function(n){for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.eventRangeToEventFootprints(n[t]));return i},n.prototype.eventRangeToEventFootprints=function(n){return[r.eventRangeToEventFootprint(n)]},n.prototype.parseFootprints=function(n){var t,i;return n.start&&(t=this._calendar.moment(n.start),t.isValid()||(t=null)),n.end&&(i=this._calendar.moment(n.end),i.isValid()||(i=null)),[new f.default(new u.default(t,i),t&&!t.hasTime()||i&&!i.hasTime())]},n.prototype.footprintContainsFootprint=function(n,t){return n.unzonedRange.containsRange(t.unzonedRange)},n.prototype.footprintsIntersect=function(n,t){return n.unzonedRange.intersectsWith(t.unzonedRange)},n}();t.default=s},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(4),e=i(14),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t.defineStandardProps=function(n){var t=this.prototype;t.hasOwnProperty("standardPropMap")||(t.standardPropMap=Object.create(t.standardPropMap));f.copyOwnProps(n,t.standardPropMap)},t.copyVerbatimStandardProps=function(n,t){var r=this.prototype.standardPropMap;for(var i in r)n[i]!=null&&r[i]===!0&&(t[i]=n[i])},t.prototype.applyProps=function(n){var i=this.standardPropMap,r={},u={};for(var t in n)i[t]===!0?this[t]=n[t]:i[t]===!1?r[t]=n[t]:u[t]=n[t];return this.applyMiscProps(u),this.applyManualStandardProps(r)},t.prototype.applyManualStandardProps=function(){return!0},t.prototype.applyMiscProps=function(){},t.prototype.isStandardProp=function(n){return n in this.standardPropMap},t}(e.default);t.default=r;r.prototype.standardPropMap={}},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.def=n;this.dateProfile=t}return n.prototype.toLegacy=function(){var n=this.dateProfile,t=this.def.toLegacy();return t.start=n.start.clone(),t.end=n.end?n.end.clone():null,t},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),o=i(3),r=i(0),f=i(34),s=i(209),h=i(17),u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return e.__extends(t,n),t.prototype.isAllDay=function(){return!this.startTime&&!this.endTime},t.prototype.buildInstances=function(n){for(var f=this.source.calendar,t=n.getStart(),o=n.getEnd(),r,i,u,e=[];t.isBefore(o);)(!this.dowHash||this.dowHash[t.day()])&&(r=f.applyTimezone(t),i=r.clone(),u=null,this.startTime?i.time(this.startTime):i.stripTime(),this.endTime&&(u=r.clone().time(this.endTime)),e.push(new s.default(this,new h.default(i,u,f)))),t.add(1,"days");return e},t.prototype.setDow=function(n){this.dowHash||(this.dowHash={});for(var t=0;t<n.length;t++)this.dowHash[n[t]]=!0},t.prototype.clone=function(){var t=n.prototype.clone.call(this);return t.startTime&&(t.startTime=r.duration(this.startTime)),t.endTime&&(t.endTime=r.duration(this.endTime)),this.dowHash&&(t.dowHash=o.extend({},this.dowHash)),t},t}(f.default);t.default=u;u.prototype.applyProps=function(n){var t=f.default.prototype.applyProps.call(this,n);return n.start&&(this.startTime=r.duration(n.start)),n.end&&(this.endTime=r.duration(n.end)),n.dow&&this.setDow(n.dow),t};u.defineStandardProps({start:!1,end:!1,dow:!1})},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t,i){this.unzonedRange=n;this.eventDef=t;i&&(this.eventInstance=i)}return n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(35),f=i(18),e=i(210),o=i(6),s={start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},h=function(){function n(n,t){this.rawComplexDef=n;this.calendar=t}return n.prototype.buildEventInstanceGroup=function(n,t){var i=this.buildEventDefs(n),r;if(i.length)return r=new f.default(u.eventDefsToEventInstances(i,t)),r.explicitEventDef=i[0],r},n.prototype.buildEventDefs=function(n){var i=this.rawComplexDef,t=[],f=!1,u,e=[];for(i===!0?t=[{}]:r.isPlainObject(i)?t=[i]:r.isArray(i)&&(t=i,f=!0),u=0;u<t.length;u++)(!f||t[u].dow)&&e.push(this.buildEventDef(n,t[u]));return e},n.prototype.buildEventDef=function(n,t){var i=r.extend({},s,t);return n&&(i.start=null,i.end=null),e.default.parse(i,new o.default(this.calendar))},n}();t.default=h},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(19),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(f.default);t.default=r;r.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button",cornerLeft:"fc-corner-left",cornerRight:"fc-corner-right",stateDefault:"fc-state-default",stateActive:"fc-state-active",stateDisabled:"fc-state-disabled",stateHover:"fc-state-hover",stateDown:"fc-state-down",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"};r.prototype.baseIconClass="fc-icon";r.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-left-single-arrow",next:"fc-icon-right-single-arrow",prevYear:"fc-icon-left-double-arrow",nextYear:"fc-icon-right-double-arrow"};r.prototype.iconOverrideOption="buttonIcons";r.prototype.iconOverrideCustomButtonOption="icon";r.prototype.iconOverridePrefix="fc-icon-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(19),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(f.default);t.default=r;r.prototype.classes={widget:"ui-widget",widgetHeader:"ui-widget-header",widgetContent:"ui-widget-content",buttonGroup:"fc-button-group",button:"ui-button",cornerLeft:"ui-corner-left",cornerRight:"ui-corner-right",stateDefault:"ui-state-default",stateActive:"ui-state-active",stateDisabled:"ui-state-disabled",stateHover:"ui-state-hover",stateDown:"ui-state-down",today:"ui-state-highlight",popoverHeader:"ui-widget-header",popoverContent:"ui-widget-content",headerRow:"ui-widget-header",dayRow:"ui-widget-content",listView:"ui-widget-content"};r.prototype.baseIconClass="ui-icon";r.prototype.iconClasses={close:"ui-icon-closethick",prev:"ui-icon-circle-triangle-w",next:"ui-icon-circle-triangle-e",prevYear:"ui-icon-seek-prev",nextYear:"ui-icon-seek-next"};r.prototype.iconOverrideOption="themeButtonIcons";r.prototype.iconOverrideCustomButtonOption="themeIcon";r.prototype.iconOverridePrefix="ui-icon-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(3),o=i(20),u=i(6),f=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return e.__extends(t,n),t.parse=function(n,t){var i;return(r.isFunction(n.events)?i=n:r.isFunction(n)&&(i={events:n}),i)?u.default.parse.call(this,i,t):!1},t.prototype.fetch=function(n,t,i){var r=this;return this.calendar.pushLoading(),o.default.construct(function(u){r.func.call(r.calendar,n.clone(),t.clone(),i,function(n){r.calendar.popLoading();u(r.parseEventDefs(n))})})},t.prototype.getPrimitive=function(){return this.func},t.prototype.applyManualStandardProps=function(t){var i=n.prototype.applyManualStandardProps.call(this,t);return this.func=t.events,i},t}(u.default);t.default=f;f.defineStandardProps({events:!1})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),r=i(3),u=i(4),s=i(20),f=i(6),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return o.__extends(t,n),t.parse=function(n,t){var i;return(typeof n.url=="string"?i=n:typeof n=="string"&&(i={url:n}),i)?f.default.parse.call(this,i,t):!1},t.prototype.fetch=function(n,i,f){var e=this,o=this.ajaxSettings,h=o.success,c=o.error,l=this.buildRequestParams(n,i,f);return this.calendar.pushLoading(),s.default.construct(function(n,i){r.ajax(r.extend({},t.AJAX_DEFAULTS,o,{url:e.url,data:l,success:function(t,f,o){var s;e.calendar.popLoading();t?(s=u.applyAll(h,e,[t,f,o]),r.isArray(s)&&(t=s),n(e.parseEventDefs(t))):i()},error:function(n,t,r){e.calendar.popLoading();u.applyAll(c,e,[n,t,r]);i()}}))})},t.prototype.buildRequestParams=function(n,t,i){var s=this.calendar,h=this.ajaxSettings,f,e,o,c,u={};return f=this.startParam,f==null&&(f=s.opt("startParam")),e=this.endParam,e==null&&(e=s.opt("endParam")),o=this.timezoneParam,o==null&&(o=s.opt("timezoneParam")),c=r.isFunction(h.data)?h.data():h.data||{},r.extend(u,c),u[f]=n.format(),u[e]=t.format(),i&&i!=="local"&&(u[o]=i),u},t.prototype.getPrimitive=function(){return this.url},t.prototype.applyMiscProps=function(n){this.ajaxSettings=n},t.AJAX_DEFAULTS={dataType:"json",cache:!1},t}(f.default);t.default=e;e.defineStandardProps({url:!0,startParam:!0,endParam:!0,timezoneParam:!0})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(11),r=function(){function n(){this.q=[];this.isPaused=!1;this.isRunning=!1}return n.prototype.queue=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.q.push.apply(this.q,t);this.tryStart()},n.prototype.pause=function(){this.isPaused=!0},n.prototype.resume=function(){this.isPaused=!1;this.tryStart()},n.prototype.getIsIdle=function(){return!this.isRunning&&!this.isPaused},n.prototype.tryStart=function(){!this.isRunning&&this.canRunNext()&&(this.isRunning=!0,this.trigger("start"),this.runRemaining())},n.prototype.canRunNext=function(){return!this.isPaused&&this.q.length},n.prototype.runRemaining=function(){var t=this,i,n;do if(i=this.q.shift(),n=this.runTask(i),n&&n.then){n.then(function(){t.canRunNext()&&t.runRemaining()});return}while(this.canRunNext());this.trigger("stop");this.isRunning=!1;this.tryStart()},n.prototype.runTask=function(n){return n()},n}();t.default=r;u.default.mixInto(r)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(217),f=function(n){function t(t){var i=n.call(this)||this;return i.waitsByNamespace=t||{},i}return r.__extends(t,n),t.prototype.queue=function(n,t,i){var u={func:n,namespace:t,type:i},r;t&&(r=this.waitsByNamespace[t]);this.waitNamespace&&(t===this.waitNamespace&&r!=null?this.delayWait(r):(this.clearWait(),this.tryStart()));this.compoundTask(u)&&(this.waitNamespace||r==null?this.tryStart():this.startWait(t,r))},t.prototype.startWait=function(n,t){this.waitNamespace=n;this.spawnWait(t)},t.prototype.delayWait=function(n){clearTimeout(this.waitId);this.spawnWait(n)},t.prototype.spawnWait=function(n){var t=this;this.waitId=setTimeout(function(){t.waitNamespace=null;t.tryStart()},n)},t.prototype.clearWait=function(){this.waitNamespace&&(clearTimeout(this.waitId),this.waitId=null,this.waitNamespace=null)},t.prototype.canRunNext=function(){var i,t;if(!n.prototype.canRunNext.call(this))return!1;if(this.waitNamespace){for(i=this.q,t=0;t<i.length;t++)if(i[t].namespace!==this.waitNamespace)return!0;return!1}return!0},t.prototype.runTask=function(n){n.func()},t.prototype.compoundTask=function(n){var i=this.q,r=!0,t,u;if(n.namespace&&n.type==="destroy")for(t=i.length-1;t>=0;t--){u=i[t];switch(u.type){case"init":r=!1;case"add":case"remove":i.splice(t,1)}}return r&&i.push(n),r},t}(u.default);t.default=f},function(n,t,i){function a(n){var r,i,u=[],t;for(r in n)for(i=n[r].eventInstances,t=0;t<i.length;t++)u.push(i[t].toLegacy());return u}Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(3),e=i(0),r=i(4),o=i(10),s=i(47),h=i(237),c=i(35),l=function(n){function t(i,r){var u=n.call(this)||this;return u.isRTL=!1,u.hitsNeededDepth=0,u.hasAllDayBusinessHours=!1,u.isDatesRendered=!1,i&&(u.view=i),r&&(u.options=r),u.uid=String(t.guid++),u.childrenByUid={},u.nextDayThreshold=e.duration(u.opt("nextDayThreshold")),u.isRTL=u.opt("isRTL"),u.fillRendererClass&&(u.fillRenderer=new u.fillRendererClass(u)),u.eventRendererClass&&(u.eventRenderer=new u.eventRendererClass(u,u.fillRenderer)),u.helperRendererClass&&u.eventRenderer&&(u.helperRenderer=new u.helperRendererClass(u,u.eventRenderer)),u.businessHourRendererClass&&u.fillRenderer&&(u.businessHourRenderer=new u.businessHourRendererClass(u,u.fillRenderer)),u}return u.__extends(t,n),t.prototype.addChild=function(n){return this.childrenByUid[n.uid]?!1:(this.childrenByUid[n.uid]=n,!0)},t.prototype.removeChild=function(n){return this.childrenByUid[n.uid]?(delete this.childrenByUid[n.uid],!0):!1},t.prototype.updateSize=function(){this.callChildren("updateSize",arguments)},t.prototype.opt=function(n){return this._getView().opt(n)},t.prototype.publiclyTrigger=function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return t=this._getCalendar(),t.publiclyTrigger.apply(t,i)},t.prototype.hasPublicHandlers=function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return t=this._getCalendar(),t.hasPublicHandlers.apply(t,i)},t.prototype.executeDateRender=function(n){this.dateProfile=n;this.renderDates(n);this.isDatesRendered=!0;this.callChildren("executeDateRender",arguments)},t.prototype.executeDateUnrender=function(){this.callChildren("executeDateUnrender",arguments);this.dateProfile=null;this.unrenderDates();this.isDatesRendered=!1},t.prototype.renderDates=function(){},t.prototype.unrenderDates=function(){},t.prototype.getNowIndicatorUnit=function(){},t.prototype.renderNowIndicator=function(){this.callChildren("renderNowIndicator",arguments)},t.prototype.unrenderNowIndicator=function(){this.callChildren("unrenderNowIndicator",arguments)},t.prototype.renderBusinessHours=function(n){this.businessHourRenderer&&this.businessHourRenderer.render(n);this.callChildren("renderBusinessHours",arguments)},t.prototype.unrenderBusinessHours=function(){this.callChildren("unrenderBusinessHours",arguments);this.businessHourRenderer&&this.businessHourRenderer.unrender()},t.prototype.executeEventRender=function(n){this.eventRenderer?(this.eventRenderer.rangeUpdated(),this.eventRenderer.render(n)):this.renderEvents&&this.renderEvents(a(n));this.callChildren("executeEventRender",arguments)},t.prototype.executeEventUnrender=function(){this.callChildren("executeEventUnrender",arguments);this.eventRenderer?this.eventRenderer.unrender():this.destroyEvents&&this.destroyEvents()},t.prototype.getBusinessHourSegs=function(){var n=this.getOwnBusinessHourSegs();return this.iterChildren(function(t){n.push.apply(n,t.getBusinessHourSegs())}),n},t.prototype.getOwnBusinessHourSegs=function(){return this.businessHourRenderer?this.businessHourRenderer.getSegs():[]},t.prototype.getEventSegs=function(){var n=this.getOwnEventSegs();return this.iterChildren(function(t){n.push.apply(n,t.getEventSegs())}),n},t.prototype.getOwnEventSegs=function(){return this.eventRenderer?this.eventRenderer.getSegs():[]},t.prototype.triggerAfterEventsRendered=function(){this.triggerAfterEventSegsRendered(this.getEventSegs());this.publiclyTrigger("eventAfterAllRender",{context:this,args:[this]})},t.prototype.triggerAfterEventSegsRendered=function(n){var t=this;this.hasPublicHandlers("eventAfterRender")&&n.forEach(function(n){var i;n.el&&(i=n.footprint.getEventLegacy(),t.publiclyTrigger("eventAfterRender",{context:i,args:[i,n.el,t]}))})},t.prototype.triggerBeforeEventsDestroyed=function(){this.triggerBeforeEventSegsDestroyed(this.getEventSegs())},t.prototype.triggerBeforeEventSegsDestroyed=function(n){var t=this;this.hasPublicHandlers("eventDestroy")&&n.forEach(function(n){var i;n.el&&(i=n.footprint.getEventLegacy(),t.publiclyTrigger("eventDestroy",{context:i,args:[i,n.el,t]}))})},t.prototype.showEventsWithId=function(n){this.getEventSegs().forEach(function(t){t.footprint.eventDef.id===n&&t.el&&t.el.css("visibility","")});this.callChildren("showEventsWithId",arguments)},t.prototype.hideEventsWithId=function(n){this.getEventSegs().forEach(function(t){t.footprint.eventDef.id===n&&t.el&&t.el.css("visibility","hidden")});this.callChildren("hideEventsWithId",arguments)},t.prototype.renderDrag=function(n,t,i){var r=!1;return this.iterChildren(function(u){u.renderDrag(n,t,i)&&(r=!0)}),r},t.prototype.unrenderDrag=function(){this.callChildren("unrenderDrag",arguments)},t.prototype.renderEventResize=function(){this.callChildren("renderEventResize",arguments)},t.prototype.unrenderEventResize=function(){this.callChildren("unrenderEventResize",arguments)},t.prototype.renderSelectionFootprint=function(n){this.renderHighlight(n);this.callChildren("renderSelectionFootprint",arguments)},t.prototype.unrenderSelection=function(){this.unrenderHighlight();this.callChildren("unrenderSelection",arguments)},t.prototype.renderHighlight=function(n){this.fillRenderer&&this.fillRenderer.renderFootprint("highlight",n,{getClasses:function(){return["fc-highlight"]}});this.callChildren("renderHighlight",arguments)},t.prototype.unrenderHighlight=function(){this.fillRenderer&&this.fillRenderer.unrender("highlight");this.callChildren("unrenderHighlight",arguments)},t.prototype.hitsNeeded=function(){this.hitsNeededDepth++||this.prepareHits();this.callChildren("hitsNeeded",arguments)},t.prototype.hitsNotNeeded=function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits();this.callChildren("hitsNotNeeded",arguments)},t.prototype.prepareHits=function(){},t.prototype.releaseHits=function(){},t.prototype.queryHit=function(n,t){var r=this.childrenByUid,u,i;for(u in r)if(i=r[u].queryHit(n,t),i)break;return i},t.prototype.getSafeHitFootprint=function(n){var t=this.getHitFootprint(n);return this.dateProfile.activeUnzonedRange.containsRange(t.unzonedRange)?t:null},t.prototype.getHitFootprint=function(){},t.prototype.getHitEl=function(){},t.prototype.eventRangesToEventFootprints=function(n){for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.eventRangeToEventFootprints(n[t]));return i},t.prototype.eventRangeToEventFootprints=function(n){return[c.eventRangeToEventFootprint(n)]},t.prototype.eventFootprintsToSegs=function(n){for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.eventFootprintToSegs(n[t]));return i},t.prototype.eventFootprintToSegs=function(n){for(var u=n.componentFootprint.unzonedRange,r,t=this.componentFootprintToSegs(n.componentFootprint),i=0;i<t.length;i++)r=t[i],u.isStart||(r.isStart=!1),u.isEnd||(r.isEnd=!1),r.footprint=n;return t},t.prototype.componentFootprintToSegs=function(){return[]},t.prototype.callChildren=function(n,t){this.iterChildren(function(i){i[n].apply(i,t)})},t.prototype.iterChildren=function(n){var t=this.childrenByUid;for(var i in t)n(t[i])},t.prototype._getCalendar=function(){var n=this;return n.calendar||n.view.calendar},t.prototype._getView=function(){return this.view},t.prototype._getDateProfile=function(){return this._getView().get("dateProfile")},t.prototype.buildGotoAnchorHtml=function(n,t,i){var u,e,s,h;return f.isPlainObject(n)?(u=n.date,e=n.type,s=n.forceOff):u=n,u=o.default(u),h={date:u.format("YYYY-MM-DD"),type:e||"day"},typeof t=="string"&&(i=t,t=null),t=t?" "+r.attrsToStr(t):"",i=i||"",!s&&this.opt("navLinks")?"<a"+t+' data-goto="'+r.htmlEscape(JSON.stringify(h))+'">'+i+"<\/a>":"<span"+t+">"+i+"<\/span>"},t.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||r.htmlEscape(this.opt("allDayText"))},t.prototype.getDayClasses=function(n,t){var u=this._getView(),i=[],f;return this.dateProfile.activeUnzonedRange.containsDate(n)?(i.push("fc-"+r.dayIDs[n.day()]),u.isDateInOtherMonth(n,this.dateProfile)&&i.push("fc-other-month"),f=u.calendar.getNow(),n.isSame(f,"day")?(i.push("fc-today"),t!==!0&&i.push(u.calendar.theme.getClass("today"))):n<f?i.push("fc-past"):i.push("fc-future")):i.push("fc-disabled-day"),i},t.prototype.formatRange=function(n,t,i,r){var u=n.end;return t&&(u=u.clone().subtract(1)),s.formatRange(n.start,u,i,r,this.isRTL)},t.prototype.currentRangeAs=function(n){return this._getDateProfile().currentUnzonedRange.as(n)},t.prototype.computeDayRange=function(n){var r=this._getCalendar(),i=r.msToUtcMoment(n.startMs,!0),u=r.msToUtcMoment(n.endMs),f=+u.time(),t=u.clone().stripTime();return f&&f>=this.nextDayThreshold&&t.add(1,"days"),t<=i&&(t=i.clone().add(1,"days")),{start:i,end:t}},t.prototype.isMultiDayRange=function(n){var t=this.computeDayRange(n);return t.end.diff(t.start,"days")>1},t.guid=0,t}(h.default);t.default=l},function(n,t,i){function v(n,t){return t==null?n:r.isFunction(t)?n.filter(t):(t+="",n.filter(function(n){return n.id==t||n._id===t}))}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),f=i(0),s=i(4),e=i(32),y=i(238),h=i(21),p=i(11),w=i(7),c=i(239),b=i(240),k=i(241),d=i(207),g=i(31),u=i(10),l=i(5),nt=i(12),tt=i(17),it=i(242),rt=i(212),a=i(38),ut=i(49),ft=i(13),et=i(37),ot=i(6),st=i(51),o=function(){function n(n,t){this.loadingLevel=0;this.ignoreUpdateViewSize=0;this.freezeContentHeightDepth=0;h.default.needed();this.el=n;this.viewsByType={};this.optionsManager=new b.default(this,t);this.viewSpecManager=new k.default(this.optionsManager,this);this.initMomentInternals();this.initCurrentDate();this.initEventManager();this.constraints=new d.default(this.eventManager,this);this.constructed()}return n.prototype.constructed=function(){},n.prototype.getView=function(){return this.view},n.prototype.publiclyTrigger=function(n,t){var f=this.opt(n),u,i;return r.isPlainObject(t)?(u=t.context,i=t.args):r.isArray(t)&&(i=t),u==null&&(u=this.el[0]),i||(i=[]),this.triggerWith(n,u,i),f?f.apply(u,i):void 0},n.prototype.hasPublicHandlers=function(n){return this.hasHandlers(n)||this.opt(n)},n.prototype.option=function(n,t){var i;if(typeof n=="string"){if(t===undefined)return this.optionsManager.get(n);i={};i[n]=t;this.optionsManager.add(i)}else typeof n=="object"&&this.optionsManager.add(n)},n.prototype.opt=function(n){return this.optionsManager.get(n)},n.prototype.instantiateView=function(n){var t=this.viewSpecManager.getViewSpec(n);if(!t)throw new Error('View type "'+n+'" is not valid');return new t["class"](this,t)},n.prototype.isValidViewType=function(n){return Boolean(this.viewSpecManager.getViewSpec(n))},n.prototype.changeView=function(n,t){t&&(t.start&&t.end?this.optionsManager.recordOverrides({visibleRange:t}):this.currentDate=this.moment(t).stripZone());this.renderView(n)},n.prototype.zoomTo=function(n,t){var i;t=t||"day";i=this.viewSpecManager.getViewSpec(t)||this.viewSpecManager.getUnitViewSpec(t);this.currentDate=n.clone();this.renderView(i?i.type:null)},n.prototype.initCurrentDate=function(){var n=this.opt("defaultDate");this.currentDate=n!=null?this.moment(n).stripZone():this.getNow()},n.prototype.prev=function(){var n=this.view,t=n.dateProfileGenerator.buildPrev(n.get("dateProfile"));t.isValid&&(this.currentDate=t.date,this.renderView())},n.prototype.next=function(){var n=this.view,t=n.dateProfileGenerator.buildNext(n.get("dateProfile"));t.isValid&&(this.currentDate=t.date,this.renderView())},n.prototype.prevYear=function(){this.currentDate.add(-1,"years");this.renderView()},n.prototype.nextYear=function(){this.currentDate.add(1,"years");this.renderView()},n.prototype.today=function(){this.currentDate=this.getNow();this.renderView()},n.prototype.gotoDate=function(n){this.currentDate=this.moment(n).stripZone();this.renderView()},n.prototype.incrementDate=function(n){this.currentDate.add(f.duration(n));this.renderView()},n.prototype.getDate=function(){return this.applyTimezone(this.currentDate)},n.prototype.pushLoading=function(){this.loadingLevel++||this.publiclyTrigger("loading",[!0,this.view])},n.prototype.popLoading=function(){--this.loadingLevel||this.publiclyTrigger("loading",[!1,this.view])},n.prototype.render=function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.updateViewSize()):this.initialRender()},n.prototype.initialRender=function(){var n=this,t=this.el;t.addClass("fc");t.on("click.fc","a[data-goto]",function(t){var o=r(t.currentTarget),f=o.data("goto"),e=n.moment(f.date),u=f.type,i=n.view.opt("navLink"+s.capitaliseFirstLetter(u)+"Click");typeof i=="function"?i(e,t):(typeof i=="string"&&(u=i),n.zoomTo(e,u))});this.optionsManager.watch("settingTheme",["?theme","?themeSystem"],function(i){var f=st.getThemeSystemClass(i.themeSystem||i.theme),r=new f(n.optionsManager),u=r.getClass("widget");n.theme=r;u&&t.addClass(u)},function(){var i=n.theme.getClass("widget");n.theme=null;i&&t.removeClass(i)});this.optionsManager.watch("settingBusinessHourGenerator",["?businessHours"],function(t){n.businessHourGenerator=new rt.default(t.businessHours,n);n.view&&n.view.set("businessHourGenerator",n.businessHourGenerator)},function(){n.businessHourGenerator=null});this.optionsManager.watch("applyingDirClasses",["?isRTL","?locale"],function(n){t.toggleClass("fc-ltr",!n.isRTL);t.toggleClass("fc-rtl",n.isRTL)});this.contentEl=r("<div class='fc-view-container'/>").prependTo(t);this.initToolbars();this.renderHeader();this.renderFooter();this.renderView(this.opt("defaultView"));this.opt("handleWindowResize")&&r(window).resize(this.windowResizeProxy=s.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},n.prototype.destroy=function(){this.view&&this.clearView();this.toolbarsManager.proxyCall("removeElement");this.contentEl.remove();this.el.removeClass("fc fc-ltr fc-rtl");this.optionsManager.unwatch("settingTheme");this.optionsManager.unwatch("settingBusinessHourGenerator");this.el.off(".fc");this.windowResizeProxy&&(r(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null);h.default.unneeded()},n.prototype.elementVisible=function(){return this.el.is(":visible")},n.prototype.bindViewHandlers=function(n){var t=this;n.watch("titleForCalendar",["title"],function(i){n===t.view&&t.setToolbarsTitle(i.title)});n.watch("dateProfileForCalendar",["dateProfile"],function(i){n===t.view&&(t.currentDate=i.dateProfile.date,t.updateToolbarButtons(i.dateProfile))})},n.prototype.unbindViewHandlers=function(n){n.unwatch("titleForCalendar");n.unwatch("dateProfileForCalendar")},n.prototype.renderView=function(n){var i=this.view,t;this.freezeContentHeight();i&&n&&i.type!==n&&this.clearView();!this.view&&n&&(t=this.view=this.viewsByType[n]||(this.viewsByType[n]=this.instantiateView(n)),this.bindViewHandlers(t),t.startBatchRender(),t.setElement(r("<div class='fc-view fc-"+n+"-view' />").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",n));this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),t&&t.stopBatchRender());this.thawContentHeight()},n.prototype.clearView=function(){var n=this.view;this.toolbarsManager.proxyCall("deactivateButton",n.type);this.unbindViewHandlers(n);n.removeElement();n.unsetDate();this.view=null},n.prototype.reinitView=function(){var n=this.view,t=n.queryScroll();this.freezeContentHeight();this.clearView();this.calcSize();this.renderView(n.type);this.view.applyScroll(t);this.thawContentHeight()},n.prototype.getSuggestedViewHeight=function(){return this.suggestedViewHeight==null&&this.calcSize(),this.suggestedViewHeight},n.prototype.isHeightAuto=function(){return this.opt("contentHeight")==="auto"||this.opt("height")==="auto"},n.prototype.updateViewSize=function(n){n===void 0&&(n=!1);var t=this.view,i;if(!this.ignoreUpdateViewSize&&t)return n&&(this.calcSize(),i=t.queryScroll()),this.ignoreUpdateViewSize++,t.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),n),this.ignoreUpdateViewSize--,n&&t.applyScroll(i),!0},n.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},n.prototype._calcSize=function(){var t=this.opt("contentHeight"),n=this.opt("height");this.suggestedViewHeight=typeof t=="number"?t:typeof t=="function"?t():typeof n=="number"?n-this.queryToolbarsHeight():typeof n=="function"?n()-this.queryToolbarsHeight():n==="parent"?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},n.prototype.windowResize=function(n){n.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},n.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},n.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},n.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--;this.contentEl.css({width:"",height:"",overflow:""});this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},n.prototype.initToolbars=function(){this.header=new c.default(this,this.computeHeaderOptions());this.footer=new c.default(this,this.computeFooterOptions());this.toolbarsManager=new y.default([this.header,this.footer])},n.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},n.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},n.prototype.renderHeader=function(){var n=this.header;n.setToolbarOptions(this.computeHeaderOptions());n.render();n.el&&this.el.prepend(n.el)},n.prototype.renderFooter=function(){var n=this.footer;n.setToolbarOptions(this.computeFooterOptions());n.render();n.el&&this.el.append(n.el)},n.prototype.setToolbarsTitle=function(n){this.toolbarsManager.proxyCall("updateTitle",n)},n.prototype.updateToolbarButtons=function(n){var i=this.getNow(),t=this.view,r=t.dateProfileGenerator.build(i),u=t.dateProfileGenerator.buildPrev(t.get("dateProfile")),f=t.dateProfileGenerator.buildNext(t.get("dateProfile"));this.toolbarsManager.proxyCall(r.isValid&&!n.currentUnzonedRange.containsDate(i)?"enableButton":"disableButton","today");this.toolbarsManager.proxyCall(u.isValid?"enableButton":"disableButton","prev");this.toolbarsManager.proxyCall(f.isValid?"enableButton":"disableButton","next")},n.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce(function(n,t){var i=t.el?t.el.outerHeight(!0):0;return n+i},0)},n.prototype.select=function(){this.view.select(this.buildSelectFootprint.apply(this,arguments))},n.prototype.unselect=function(){this.view&&this.view.unselect()},n.prototype.buildSelectFootprint=function(n,t){var i=this.moment(n).stripZone(),r;return r=t?this.moment(t).stripZone():i.hasTime()?i.clone().add(this.defaultTimedEventDuration):i.clone().add(this.defaultAllDayEventDuration),new nt.default(new l.default(i,r),!i.hasTime())},n.prototype.initMomentInternals=function(){var n=this;this.defaultAllDayEventDuration=f.duration(this.opt("defaultAllDayEventDuration"));this.defaultTimedEventDuration=f.duration(this.opt("defaultTimedEventDuration"));this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(t){var r=t.weekNumberCalculation,u=t.firstDay,f,i;r==="iso"&&(r="ISO");i=Object.create(g.getMomentLocaleData(t.locale));t.monthNames&&(i._months=t.monthNames);t.monthNamesShort&&(i._monthsShort=t.monthNamesShort);t.dayNames&&(i._weekdays=t.dayNames);t.dayNamesShort&&(i._weekdaysShort=t.dayNamesShort);u==null&&r==="ISO"&&(u=1);u!=null&&(f=Object.create(i._week),f.dow=u,i._week=f);(r==="ISO"||r==="local"||typeof r=="function")&&(i._fullCalendar_weekCalc=r);n.localeData=i;n.currentDate&&n.localizeMoment(n.currentDate)})},n.prototype.moment=function(){for(var n,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return this.opt("timezone")==="local"?(n=u.default.apply(null,t),n.hasTime()&&n.local()):n=this.opt("timezone")==="UTC"?u.default.utc.apply(null,t):u.default.parseZone.apply(null,t),this.localizeMoment(n),n},n.prototype.msToMoment=function(n,t){var i=u.default.utc(n);return t?i.stripTime():i=this.applyTimezone(i),this.localizeMoment(i),i},n.prototype.msToUtcMoment=function(n,t){var i=u.default.utc(n);return t&&i.stripTime(),this.localizeMoment(i),i},n.prototype.localizeMoment=function(n){n._locale=this.localeData},n.prototype.getIsAmbigTimezone=function(){return this.opt("timezone")!=="local"&&this.opt("timezone")!=="UTC"},n.prototype.applyTimezone=function(n){if(!n.hasTime())return n.clone();var t=this.moment(n.toArray()),r=n.time().asMilliseconds()-t.time().asMilliseconds(),i;return r&&(i=t.clone().add(r),n.time().asMilliseconds()-i.time().asMilliseconds()==0&&(t=i)),t},n.prototype.footprintToDateProfile=function(n,t){t===void 0&&(t=!1);var r=u.default.utc(n.unzonedRange.startMs),i;return t||(i=u.default.utc(n.unzonedRange.endMs)),n.isAllDay?(r.stripTime(),i&&i.stripTime()):(r=this.applyTimezone(r),i&&(i=this.applyTimezone(i))),new tt.default(r,i,this)},n.prototype.getNow=function(){var n=this.opt("now");return typeof n=="function"&&(n=n()),this.moment(n).stripZone()},n.prototype.humanizeDuration=function(n){return n.locale(this.opt("locale")).humanize()},n.prototype.parseUnzonedRange=function(n){var t=null,i=null;return(n.start&&(t=this.moment(n.start).stripZone()),n.end&&(i=this.moment(n.end).stripZone()),!t&&!i)?null:t&&i&&i.isBefore(t)?null:new l.default(t,i)},n.prototype.initEventManager=function(){var t=this,n=new it.default(this),i=this.opt("eventSources")||[],r=this.opt("events");this.eventManager=n;r&&i.unshift(r);n.on("release",function(n){t.trigger("eventsReset",n)});n.freeze();i.forEach(function(i){var r=a.default.parse(i,t);r&&n.addSource(r)});n.thaw()},n.prototype.requestEvents=function(n,t){return this.eventManager.requestEvents(n,t,this.opt("timezone"),!this.opt("lazyFetching"))},n.prototype.getEventEnd=function(n){return n.end?n.end.clone():this.getDefaultEventEnd(n.allDay,n.start)},n.prototype.getDefaultEventEnd=function(n,t){var i=t.clone();return n?i.stripTime().add(this.defaultAllDayEventDuration):i.add(this.defaultTimedEventDuration),this.getIsAmbigTimezone()&&i.stripZone(),i},n.prototype.rerenderEvents=function(){this.view.flash("displayingEvents")},n.prototype.refetchEvents=function(){this.eventManager.refetchAllSources()},n.prototype.renderEvents=function(n,t){this.eventManager.freeze();for(var i=0;i<n.length;i++)this.renderEvent(n[i],t);this.eventManager.thaw()},n.prototype.renderEvent=function(n,t){t===void 0&&(t=!1);var i=this.eventManager,r=ut.default.parse(n,n.source||i.stickySource);r&&i.addEventDef(r,t)},n.prototype.removeEvents=function(n){var i=this.eventManager,r=[],u={},f,t;if(n==null)i.removeAllEventDefs();else{for(i.getEventInstances().forEach(function(n){r.push(n.toLegacy())}),r=v(r,n),t=0;t<r.length;t++)f=this.eventManager.getEventDefByUid(r[t]._id),u[f.id]=!0;i.freeze();for(t in u)i.removeEventDefsById(t);i.thaw()}},n.prototype.clientEvents=function(n){var t=[];return this.eventManager.getEventInstances().forEach(function(n){t.push(n.toLegacy())}),v(t,n)},n.prototype.updateEvents=function(n){this.eventManager.freeze();for(var t=0;t<n.length;t++)this.updateEvent(n[t]);this.eventManager.thaw()},n.prototype.updateEvent=function(n){var t=this.eventManager.getEventDefByUid(n._id),i,r;t instanceof ft.default&&(i=t.buildInstance(),r=et.default.createFromRawProps(i,n,null),this.eventManager.mutateEventsWithId(t.id,r))},n.prototype.getEventSources=function(){return this.eventManager.otherSources.slice()},n.prototype.getEventSourceById=function(n){return this.eventManager.getSourceById(ot.default.normalizeId(n))},n.prototype.addEventSource=function(n){var t=a.default.parse(n,this);t&&this.eventManager.addSource(t)},n.prototype.removeEventSources=function(n){var t=this.eventManager,r,i;if(n==null)this.eventManager.removeAllSources();else{for(r=t.multiQuerySources(n),t.freeze(),i=0;i<r.length;i++)t.removeSource(r[i]);t.thaw()}},n.prototype.removeEventSource=function(n){var t=this.eventManager,r=t.querySources(n),i;for(t.freeze(),i=0;i<r.length;i++)t.removeSource(r[i]);t.thaw()},n.prototype.refetchEventSources=function(n){var t=this.eventManager,r=t.multiQuerySources(n),i;for(t.freeze(),i=0;i<r.length;i++)t.refetchSource(r[i]);t.thaw()},n.defaults=e.globalDefaults,n.englishDefaults=e.englishDefaults,n.rtlDefaults=e.rtlDefaults,n}();t.default=o;p.default.mixInto(o);w.default.mixInto(o)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),f=i(4),u=i(5),e=function(){function n(n){this._view=n}return n.prototype.opt=function(n){return this._view.opt(n)},n.prototype.trimHiddenDays=function(n){return this._view.trimHiddenDays(n)},n.prototype.msToUtcMoment=function(n,t){return this._view.calendar.msToUtcMoment(n,t)},n.prototype.buildPrev=function(n){var t=n.date.clone().startOf(n.currentRangeUnit).subtract(n.dateIncrement);return this.build(t,-1)},n.prototype.buildNext=function(n){var t=n.date.clone().startOf(n.currentRangeUnit).add(n.dateIncrement);return this.build(t,1)},n.prototype.build=function(n,t,i){i===void 0&&(i=!1);var l=!n.hasTime(),e,s=null,h=null,f,c,o,u,a;return e=this.buildValidRange(),e=this.trimHiddenDays(e),i&&(n=this.msToUtcMoment(e.constrainDate(n),l)),f=this.buildCurrentRangeInfo(n,t),c=/^(year|month|week|day)$/.test(f.unit),o=this.buildRenderRange(this.trimHiddenDays(f.unzonedRange),f.unit,c),o=this.trimHiddenDays(o),u=o.clone(),this.opt("showNonCurrentDates")||(u=u.intersect(f.unzonedRange)),s=r.duration(this.opt("minTime")),h=r.duration(this.opt("maxTime")),u=this.adjustActiveRange(u,s,h),u=u.intersect(e),u&&(n=this.msToUtcMoment(u.constrainDate(n),l)),a=f.unzonedRange.intersectsWith(e),{validUnzonedRange:e,currentUnzonedRange:f.unzonedRange,currentRangeUnit:f.unit,isRangeAllDay:c,activeUnzonedRange:u,renderUnzonedRange:o,minTime:s,maxTime:h,isValid:a,date:n,dateIncrement:this.buildDateIncrement(f.duration)}},n.prototype.buildValidRange=function(){return this._view.getUnzonedRangeOption("validRange",this._view.calendar.getNow())||new u.default},n.prototype.buildCurrentRangeInfo=function(n,t){var e=this._view.viewSpec,u=null,i=null,r=null,o;return e.duration?(u=e.duration,i=e.durationUnit,r=this.buildRangeFromDuration(n,t,u,i)):(o=this.opt("dayCount"))?(i="day",r=this.buildRangeFromDayCount(n,t,o)):(r=this.buildCustomVisibleRange(n))?i=f.computeGreatestUnit(r.getStart(),r.getEnd()):(u=this.getFallbackDuration(),i=f.computeGreatestUnit(u),r=this.buildRangeFromDuration(n,t,u,i)),{duration:u,unit:i,unzonedRange:r}},n.prototype.getFallbackDuration=function(){return r.duration({days:1})},n.prototype.adjustActiveRange=function(n,t,i){var r=n.getStart(),f=n.getEnd();return this._view.usesMinMaxTime&&(t<0&&r.time(0).add(t),i>864e5&&f.time(i-864e5)),new u.default(r,f)},n.prototype.buildRangeFromDuration=function(n,t,i,e){function v(){o=n.clone().startOf(s);a=o.clone().add(i);l=new u.default(o,a)}var s=this.opt("dateAlignment"),h,c,o,a,l;return s||(h=this.opt("dateIncrement"),h?(c=r.duration(h),s=c<i?f.computeDurationGreatestUnit(c,h):e):s=e),i.as("days")<=1&&this._view.isHiddenDay(o)&&(o=this._view.skipHiddenDays(o,t),o.startOf("day")),v(),this.trimHiddenDays(l)||(n=this._view.skipHiddenDays(n,t),v()),l},n.prototype.buildRangeFromDayCount=function(n,t,i){var e=this.opt("dateAlignment"),o=0,r=n.clone(),f;e&&r.startOf(e);r.startOf("day");r=this._view.skipHiddenDays(r,t);f=r.clone();do f.add(1,"day"),this._view.isHiddenDay(f)||o++;while(o<i);return new u.default(r,f)},n.prototype.buildCustomVisibleRange=function(n){var t=this._view.getUnzonedRangeOption("visibleRange",this._view.calendar.applyTimezone(n));return t&&(t.startMs==null||t.endMs==null)?null:t},n.prototype.buildRenderRange=function(n){return n.clone()},n.prototype.buildDateIncrement=function(n){var t=this.opt("dateIncrement"),i;return t?r.duration(t):(i=this.opt("dateAlignment"))?r.duration(1,i):n?n:r.duration({days:1})},n}();t.default=e},function(n,t,i){function w(n){var e=f.dataAttrPrefix,t,i,o,s;return e&&(e+="-"),t=n.data(e+"event")||null,t&&(t=typeof t=="object"?r.extend({},t):{},i=t.start,i==null&&(i=t.time),o=t.duration,s=t.stick,delete t.start,delete t.time,delete t.duration,delete t.stick),i==null&&(i=n.data(e+"start")),i==null&&(i=n.data(e+"time")),o==null&&(o=n.data(e+"duration")),s==null&&(s=n.data(e+"stick")),i=i!=null?u.duration(i):null,o=o!=null?u.duration(o):null,s=Boolean(s),{eventProps:t,startTime:i,duration:o,stick:s}}Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),r=i(3),u=i(0),f=i(16),e=i(4),h=i(10),c=i(7),l=i(23),a=i(13),v=i(18),y=i(6),p=i(15),o=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.isDragging=!1,t}return s.__extends(t,n),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.bindToDocument=function(){this.listenTo(r(document),{dragstart:this.handleDragStart,sortstart:this.handleDragStart})},t.prototype.unbindFromDocument=function(){this.stopListeningTo(r(document))},t.prototype.handleDragStart=function(n,t){var i,u;this.opt("droppable")&&(i=r((t?t.item:null)||n.target),u=this.opt("dropAccept"),(r.isFunction(u)?u.call(i[0],i):i.is(u))&&(this.isDragging||this.listenToExternalDrag(i,n,t)))},t.prototype.listenToExternalDrag=function(n,t,i){var f=this,u=this.component,s=this.view,o=w(n),r,h=this.dragListener=new l.default(u,{interactionStart:function(){f.isDragging=!0},hitOver:function(n){var t=!0,h=n.component.getSafeHitFootprint(n),i;h?(r=f.computeExternalDrop(h,o),r?(i=new v.default(r.buildInstances()),t=o.eventProps?u.isEventInstanceGroupAllowed(i):u.isExternalInstanceGroupAllowed(i)):t=!1):t=!1;t||(r=null,e.disableCursor());r&&u.renderDrag(u.eventRangesToEventFootprints(i.sliceRenderRanges(u.dateProfile.renderUnzonedRange,s.calendar)))},hitOut:function(){r=null},hitDone:function(){e.enableCursor();u.unrenderDrag()},interactionEnd:function(t){r&&s.reportExternalDrop(r,Boolean(o.eventProps),Boolean(o.stick),n,t,i);f.isDragging=!1;f.dragListener=null}});h.startDrag(t)},t.prototype.computeExternalDrop=function(n,t){var f=this.view.calendar,i=h.default.utc(n.unzonedRange.startMs).stripZone(),u;return n.isAllDay&&(t.startTime?i.time(t.startTime):i.stripTime()),t.duration&&(u=i.clone().add(t.duration)),i=f.applyTimezone(i),u&&(u=f.applyTimezone(u)),a.default.parse(r.extend({},t.eventProps,{start:i,end:u}),new y.default(f))},t}(p.default);t.default=o;c.default.mixInto(o);f.dataAttrPrefix=""},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),r=i(3),u=i(4),f=i(37),e=i(50),s=i(23),h=i(15),c=function(n){function t(t,i){var r=n.call(this,t)||this;return r.isResizing=!1,r.eventPointing=i,r}return o.__extends(t,n),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.bindToEl=function(n){var t=this.component;t.bindSegHandlerToEl(n,"mousedown",this.handleMouseDown.bind(this));t.bindSegHandlerToEl(n,"touchstart",this.handleTouchStart.bind(this))},t.prototype.handleMouseDown=function(n,t){this.component.canStartResize(n,t)&&this.buildDragListener(n,r(t.target).is(".fc-start-resizer")).startInteraction(t,{distance:5})},t.prototype.handleTouchStart=function(n,t){this.component.canStartResize(n,t)&&this.buildDragListener(n,r(t.target).is(".fc-start-resizer")).startInteraction(t)},t.prototype.buildDragListener=function(n,t){var r=this,f=this.component,e=this.view,h=e.calendar,l=h.eventManager,c=n.el,a=n.footprint.eventDef,v=n.footprint.eventInstance,o,i;return this.dragListener=new s.default(f,{scroll:this.opt("dragScroll"),subjectEl:c,interactionStart:function(){o=!1},dragStart:function(t){o=!0;r.eventPointing.handleMouseout(n,t);r.segResizeStart(n,t)},hitOver:function(o,s,c){var v=!0,y=f.getSafeHitFootprint(c),p=f.getSafeHitFootprint(o),w;y&&p?(i=t?r.computeEventStartResizeMutation(y,p,n.footprint):r.computeEventEndResizeMutation(y,p,n.footprint),i?(w=l.buildMutatedEventInstanceGroup(a.id,i),v=f.isEventInstanceGroupAllowed(w)):v=!1):v=!1;v?i.isEmpty()&&(i=null):(i=null,u.disableCursor());i&&(e.hideEventsWithId(n.footprint.eventDef.id),e.renderEventResize(f.eventRangesToEventFootprints(w.sliceRenderRanges(f.dateProfile.renderUnzonedRange,h)),n))},hitOut:function(){i=null},hitDone:function(){e.unrenderEventResize(n);e.showEventsWithId(n.footprint.eventDef.id);u.enableCursor()},interactionEnd:function(t){o&&r.segResizeStop(n,t);i&&e.reportEventResize(v,i,c,t);r.dragListener=null}})},t.prototype.segResizeStart=function(n,t){this.isResizing=!0;this.component.publiclyTrigger("eventResizeStart",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.segResizeStop=function(n,t){this.isResizing=!1;this.component.publiclyTrigger("eventResizeStop",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.computeEventStartResizeMutation=function(n,t,i){var o=i.componentFootprint.unzonedRange,s=this.component.diffDates(t.unzonedRange.getStart(),n.unzonedRange.getStart()),r,u;return o.getStart().add(s)<o.getEnd()?(r=new e.default,r.setStartDelta(s),u=new f.default,u.setDateMutation(r),u):!1},t.prototype.computeEventEndResizeMutation=function(n,t,i){var o=i.componentFootprint.unzonedRange,s=this.component.diffDates(t.unzonedRange.getEnd(),n.unzonedRange.getEnd()),r,u;return o.getEnd().add(s)>o.getStart()?(r=new e.default,r.setEndDelta(s),u=new f.default,u.setDateMutation(r),u):!1},t}(h.default);t.default=c},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=i(37),e=i(50),o=i(54),s=i(23),h=i(244),c=i(15),l=function(n){function t(t,i){var r=n.call(this,t)||this;return r.isDragging=!1,r.eventPointing=i,r}return u.__extends(t,n),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.getSelectionDelay=function(){var n=this.opt("eventLongPressDelay");return n==null&&(n=this.opt("longPressDelay")),n},t.prototype.bindToEl=function(n){var t=this.component;t.bindSegHandlerToEl(n,"mousedown",this.handleMousedown.bind(this));t.bindSegHandlerToEl(n,"touchstart",this.handleTouchStart.bind(this))},t.prototype.handleMousedown=function(n,t){!this.component.shouldIgnoreMouse()&&this.component.canStartDrag(n,t)&&this.buildDragListener(n).startInteraction(t,{distance:5})},t.prototype.handleTouchStart=function(n,t){var i=this.component,r={delay:this.view.isEventDefSelected(n.footprint.eventDef)?0:this.getSelectionDelay()};i.canStartDrag(n,t)?this.buildDragListener(n).startInteraction(t,r):i.canStartSelection(n,t)&&this.buildSelectListener(n).startInteraction(t,r)},t.prototype.buildSelectListener=function(n){var u=this,t=this.view,f=n.footprint.eventDef,i=n.footprint.eventInstance,r;return this.dragListener?this.dragListener:r=this.dragListener=new o.default({dragStart:function(){r.isTouch&&!t.isEventDefSelected(f)&&i&&t.selectEventInstance(i)},interactionEnd:function(){u.dragListener=null}})},t.prototype.buildDragListener=function(n){var u=this,e=this.component,t=this.view,v=t.calendar,p=v.eventManager,y=n.el,c=n.footprint.eventDef,l=n.footprint.eventInstance,a,f,i,o;return this.dragListener?this.dragListener:o=this.dragListener=new s.default(t,{scroll:this.opt("dragScroll"),subjectEl:y,subjectCenter:!0,interactionStart:function(i){n.component=e;a=!1;f=new h.default(n.el,{additionalClass:"fc-dragging",parentEl:t.el,opacity:o.isTouch?null:u.opt("dragOpacity"),revertDuration:u.opt("dragRevertDuration"),zIndex:2});f.hide();f.start(i)},dragStart:function(i){o.isTouch&&!t.isEventDefSelected(c)&&l&&t.selectEventInstance(l);a=!0;u.eventPointing.handleMouseout(n,i);u.segDragStart(n,i);t.hideEventsWithId(n.footprint.eventDef.id)},hitOver:function(s,h,l){var a=!0,y,w,b;n.hit&&(l=n.hit);y=l.component.getSafeHitFootprint(l);w=s.component.getSafeHitFootprint(s);y&&w?(i=u.computeEventDropMutation(y,w,c),i?(b=p.buildMutatedEventInstanceGroup(c.id,i),a=e.isEventInstanceGroupAllowed(b)):a=!1):a=!1;a||(i=null,r.disableCursor());i&&t.renderDrag(e.eventRangesToEventFootprints(b.sliceRenderRanges(e.dateProfile.renderUnzonedRange,v)),n,o.isTouch)?f.hide():f.show();h&&(i=null)},hitOut:function(){t.unrenderDrag(n);f.show();i=null},hitDone:function(){r.enableCursor()},interactionEnd:function(r){delete n.component;f.stop(!i,function(){a&&(t.unrenderDrag(n),u.segDragStop(n,r));t.showEventsWithId(n.footprint.eventDef.id);i&&t.reportEventDrop(l,i,y,r)});u.dragListener=null}})},t.prototype.segDragStart=function(n,t){this.isDragging=!0;this.component.publiclyTrigger("eventDragStart",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.segDragStop=function(n,t){this.isDragging=!1;this.component.publiclyTrigger("eventDragStop",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.computeEventDropMutation=function(n,t){var i=new f.default;return i.setDateMutation(this.computeEventDateMutation(n,t)),i},t.prototype.computeEventDateMutation=function(n,t){var r=n.unzonedRange.getStart(),h=t.unzonedRange.getStart(),u=!1,f=!1,o=!1,s,i;return n.isAllDay!==t.isAllDay&&(u=!0,t.isAllDay?(o=!0,r.stripTime()):f=!0),s=this.component.diffDates(h,r),i=new e.default,i.clearEnd=u,i.forceTimed=f,i.forceAllDay=o,i.setDateDelta(s),i},t}(c.default);t.default=l},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=i(23),e=i(12),o=i(5),s=i(15),h=function(n){function t(t){var i=n.call(this,t)||this;return i.dragListener=i.buildDragListener(),i}return u.__extends(t,n),t.prototype.end=function(){this.dragListener.endInteraction()},t.prototype.getDelay=function(){var n=this.opt("selectLongPressDelay");return n==null&&(n=this.opt("longPressDelay")),n},t.prototype.bindToEl=function(n){var t=this,i=this.component,u=this.dragListener;i.bindDateHandlerToEl(n,"mousedown",function(n){t.opt("selectable")&&!i.shouldIgnoreMouse()&&u.startInteraction(n,{distance:t.opt("selectMinDistance")})});i.bindDateHandlerToEl(n,"touchstart",function(n){t.opt("selectable")&&!i.shouldIgnoreTouch()&&u.startInteraction(n,{delay:t.getDelay()})});r.preventSelection(n)},t.prototype.buildDragListener=function(){var i=this,t=this.component,n;return new f.default(t,{scroll:this.opt("dragScroll"),interactionStart:function(){n=null},dragStart:function(n){i.view.unselect(n)},hitOver:function(u,f,e){var o,s;e&&(o=t.getSafeHitFootprint(e),s=t.getSafeHitFootprint(u),n=o&&s?i.computeSelection(o,s):null,n?t.renderSelectionFootprint(n):n===!1&&r.disableCursor())},hitOut:function(){n=null;t.unrenderSelection()},hitDone:function(){r.enableCursor()},interactionEnd:function(t,r){!r&&n&&i.view.reportSelection(n,t)}})},t.prototype.computeSelection=function(n,t){var i=this.computeSelectionFootprint(n,t);return i&&!this.isSelectionFootprintAllowed(i)?!1:i},t.prototype.computeSelectionFootprint=function(n,t){var i=[n.unzonedRange.startMs,n.unzonedRange.endMs,t.unzonedRange.startMs,t.unzonedRange.endMs];return i.sort(r.compareNumbers),new e.default(new o.default(i[0],i[3]),n.isAllDay)},t.prototype.isSelectionFootprintAllowed=function(n){return this.component.dateProfile.validUnzonedRange.containsRange(n.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(n)},t}(s.default);t.default=h},function(n,t,i){function o(n){for(var i=[],r=[],t=0;t<n.length;t++)n[t].componentFootprint.isAllDay?i.push(n[t]):r.push(n[t]);return{allDay:i,timed:r}}Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),h=i(0),c=i(3),r=i(4),l=i(39),a=i(41),v=i(227),y=i(61),p=5,f,e,u=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.usesMinMaxTime=!0,r.timeGrid=r.instantiateTimeGrid(),r.addChild(r.timeGrid),r.opt("allDaySlot")&&(r.dayGrid=r.instantiateDayGrid(),r.addChild(r.dayGrid)),r.scroller=new l.default({overflowX:"hidden",overflowY:"auto"}),r}return s.__extends(t,n),t.prototype.instantiateTimeGrid=function(){var n=new this.timeGridClass(this);return r.copyOwnProps(f,n),n},t.prototype.instantiateDayGrid=function(){var n=new this.dayGridClass(this);return r.copyOwnProps(e,n),n},t.prototype.renderSkeleton=function(){var n,t;this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml());this.scroller.render();n=this.scroller.el.addClass("fc-time-grid-container");t=c('<div class="fc-time-grid" />').appendTo(n);this.el.find(".fc-body > tr > td").append(n);this.timeGrid.headContainerEl=this.el.find(".fc-head-container");this.timeGrid.setElement(t);this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},t.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement();this.dayGrid&&this.dayGrid.removeElement();this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var n=this.calendar.theme;return'<table class="'+n.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+n.getClass("widgetHeader")+'">&nbsp;<\/td><\/tr><\/thead>':"")+'<tbody class="fc-body"><tr><td class="'+n.getClass("widgetContent")+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+n.getClass("widgetHeader")+'"/>':"")+"<\/td><\/tr><\/tbody><\/table>"},t.prototype.axisStyleAttr=function(){return this.axisWidth!=null?'style="width:'+this.axisWidth+'px"':""},t.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},t.prototype.updateSize=function(t,i,u){var e,f,o,s;if(n.prototype.updateSize.call(this,t,i,u),this.axisWidth=r.matchCellWidths(this.el.find(".fc-axis")),!this.timeGrid.colEls){i||(f=this.computeScrollerHeight(t),this.scroller.setHeight(f));return}s=this.el.find(".fc-row:not(.fc-scroller *)");this.timeGrid.bottomRuleEl.hide();this.scroller.clear();r.uncompensateScroll(s);this.dayGrid&&(this.dayGrid.removeSegPopover(),e=this.opt("eventLimit"),e&&typeof e!="number"&&(e=p),e&&this.dayGrid.limitRows(e));i||(f=this.computeScrollerHeight(t),this.scroller.setHeight(f),o=this.scroller.getScrollbarWidths(),(o.left||o.right)&&(r.compensateScroll(s,o),f=this.computeScrollerHeight(t),this.scroller.setHeight(f)),this.scroller.lockOverflow(o),this.timeGrid.getTotalSlatHeight()<f&&this.timeGrid.bottomRuleEl.show())},t.prototype.computeScrollerHeight=function(n){return n-r.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.computeInitialDateScroll=function(){var t=h.duration(this.opt("scrollTime")),n=this.timeGrid.computeTimeTop(t);return n=Math.ceil(n),n&&n++,{top:n}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(n){n.top!==undefined&&this.scroller.setScrollTop(n.top)},t.prototype.getHitFootprint=function(n){return n.component.getHitFootprint(n)},t.prototype.getHitEl=function(n){return n.component.getHitEl(n)},t.prototype.executeEventRender=function(n){var r={},u={},t,i;for(t in n)i=n[t],i.getEventDef().isAllDay()?r[t]=i:u[t]=i;this.timeGrid.executeEventRender(u);this.dayGrid&&this.dayGrid.executeEventRender(r)},t.prototype.renderDrag=function(n,t,i){var u=o(n),r=!1;return r=this.timeGrid.renderDrag(u.timed,t,i),this.dayGrid&&(r=this.dayGrid.renderDrag(u.allDay,t,i)||r),r},t.prototype.renderEventResize=function(n,t,i){var r=o(n);this.timeGrid.renderEventResize(r.timed,t,i);this.dayGrid&&this.dayGrid.renderEventResize(r.allDay,t,i)},t.prototype.renderSelectionFootprint=function(n){n.isAllDay?this.dayGrid&&this.dayGrid.renderSelectionFootprint(n):this.timeGrid.renderSelectionFootprint(n)},t}(a.default);t.default=u;u.prototype.timeGridClass=v.default;u.prototype.dayGridClass=y.default;f={renderHeadIntroHtml:function(){var n=this.view,t=n.calendar,i=t.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs,!0),u;return this.opt("weekNumbers")?(u=i.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+t.theme.getClass("widgetHeader")+'" '+n.axisStyleAttr()+">"+n.buildGotoAnchorHtml({date:i,type:"week",forceOff:this.colCnt>1},r.htmlEscape(u))+"<\/th>"):'<th class="fc-axis '+t.theme.getClass("widgetHeader")+'" '+n.axisStyleAttr()+"><\/th>"},renderBgIntroHtml:function(){var n=this.view;return'<td class="fc-axis '+n.calendar.theme.getClass("widgetContent")+'" '+n.axisStyleAttr()+"><\/td>"},renderIntroHtml:function(){var n=this.view;return'<td class="fc-axis" '+n.axisStyleAttr()+"><\/td>"}};e={renderBgIntroHtml:function(){var n=this.view;return'<td class="fc-axis '+n.calendar.theme.getClass("widgetContent")+'" '+n.axisStyleAttr()+"><span>"+n.getAllDayHtml()+"<\/span><\/td>"},renderIntroHtml:function(){var n=this.view;return'<td class="fc-axis" '+n.axisStyleAttr()+"><\/td>"}}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var l=i(2),f=i(3),r=i(0),e=i(4),a=i(40),v=i(56),y=i(60),p=i(55),s=i(53),o=i(5),h=i(12),w=i(246),b=i(247),k=i(248),c=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],u=function(n){function t(t){var i=n.call(this,t)||this;return i.processOptions(),i}return l.__extends(t,n),t.prototype.componentFootprintToSegs=function(n){for(var i=this.sliceRangeByTimes(n.unzonedRange),t=0;t<i.length;t++)i[t].col=this.isRTL?this.daysPerRow-1-i[t].dayIndex:i[t].dayIndex;return i},t.prototype.sliceRangeByTimes=function(n){for(var r=[],t,i=0;i<this.daysPerRow;i++)t=n.intersect(this.dayRanges[i]),t&&r.push({startMs:t.startMs,endMs:t.endMs,isStart:t.isStart,isEnd:t.isEnd,dayIndex:i});return r},t.prototype.processOptions=function(){var t=this.opt("slotDuration"),i=this.opt("snapDuration"),n;t=r.duration(t);i=i?r.duration(i):t;this.slotDuration=t;this.snapDuration=i;this.snapsPerSlot=t/i;n=this.opt("slotLabelFormat");f.isArray(n)&&(n=n[n.length-1]);this.labelFormat=n||this.opt("smallTimeFormat");n=this.opt("slotLabelInterval");this.labelInterval=n?r.duration(n):this.computeLabelInterval(t)},t.prototype.computeLabelInterval=function(n){for(var i,u,t=c.length-1;t>=0;t--)if(i=r.duration(c[t]),u=e.divideDurationByDuration(i,n),e.isInt(u)&&u>1)return i;return r.duration(n)},t.prototype.renderDates=function(n){this.dateProfile=n;this.updateDayTable();this.renderSlats();this.renderColumns()},t.prototype.unrenderDates=function(){this.unrenderColumns()},t.prototype.renderSkeleton=function(){var n=this.view.calendar.theme;this.el.html('<div class="fc-bg"><\/div><div class="fc-slats"><\/div><hr class="fc-divider '+n.getClass("widgetHeader")+'" style="display:none" />');this.bottomRuleEl=this.el.find("hr")},t.prototype.renderSlats=function(){var n=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html('<table class="'+n.getClass("tableGrid")+'">'+this.renderSlatRowHtml()+"<\/table>");this.slatEls=this.slatContainerEl.find("tr");this.slatCoordCache=new s.default({els:this.slatEls,isVertical:!0})},t.prototype.renderSlatRowHtml=function(){for(var o=this.view,s=o.calendar,h=s.theme,c=this.isRTL,n=this.dateProfile,l="",t=r.duration(+n.minTime),a=r.duration(0),i,u,f;t<n.maxTime;)i=s.msToUtcMoment(n.renderUnzonedRange.startMs).time(t),u=e.isInt(e.divideDurationByDuration(a,this.labelInterval)),f='<td class="fc-axis fc-time '+h.getClass("widgetContent")+'" '+o.axisStyleAttr()+">"+(u?"<span>"+e.htmlEscape(i.format(this.labelFormat))+"<\/span>":"")+"<\/td>",l+='<tr data-time="'+i.format("HH:mm:ss")+'"'+(u?"":' class="fc-minor"')+">"+(c?"":f)+'<td class="'+h.getClass("widgetContent")+'"/>'+(c?f:"")+"<\/tr>",t.add(this.slotDuration),a.add(this.slotDuration);return l},t.prototype.renderColumns=function(){var n=this.dateProfile,t=this.view.calendar.theme;this.dayRanges=this.dayDates.map(function(t){return new o.default(t.clone().add(n.minTime),t.clone().add(n.maxTime))});this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml());this.el.find("> .fc-bg").html('<table class="'+t.getClass("tableGrid")+'">'+this.renderBgTrHtml(0)+"<\/table>");this.colEls=this.el.find(".fc-day, .fc-disabled-day");this.colCoordCache=new s.default({els:this.colEls,isHorizontal:!0});this.renderContentSkeleton()},t.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},t.prototype.renderContentSkeleton=function(){for(var i="",n,t=0;t<this.colCnt;t++)i+='<td><div class="fc-content-col"><div class="fc-event-container fc-helper-container"><\/div><div class="fc-event-container"><\/div><div class="fc-highlight-container"><\/div><div class="fc-bgevent-container"><\/div><div class="fc-business-container"><\/div><\/div><\/td>';n=this.contentSkeletonEl=f('<div class="fc-content-skeleton"><table><tr>'+i+"<\/tr><\/table><\/div>");this.colContainerEls=n.find(".fc-content-col");this.helperContainerEls=n.find(".fc-helper-container");this.fgContainerEls=n.find(".fc-event-container:not(.fc-helper-container)");this.bgContainerEls=n.find(".fc-bgevent-container");this.highlightContainerEls=n.find(".fc-highlight-container");this.businessContainerEls=n.find(".fc-business-container");this.bookendCells(n.find("tr"));this.el.append(n)},t.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl&&(this.contentSkeletonEl.remove(),this.contentSkeletonEl=null,this.colContainerEls=null,this.helperContainerEls=null,this.fgContainerEls=null,this.bgContainerEls=null,this.highlightContainerEls=null,this.businessContainerEls=null)},t.prototype.groupSegsByCol=function(n){for(var i=[],t=0;t<this.colCnt;t++)i.push([]);for(t=0;t<n.length;t++)i[n[t].col].push(n[t]);return i},t.prototype.attachSegsByCol=function(n,t){for(var u,r,i=0;i<this.colCnt;i++)for(u=n[i],r=0;r<u.length;r++)t.eq(i).append(u[r].el)},t.prototype.getNowIndicatorUnit=function(){return"minute"},t.prototype.renderNowIndicator=function(n){if(this.colContainerEls){for(var i=this.componentFootprintToSegs(new h.default(new o.default(n,n.valueOf()+1),!1)),u=this.computeDateTop(n,n),r=[],t=0;t<i.length;t++)r.push(f('<div class="fc-now-indicator fc-now-indicator-line"><\/div>').css("top",u).appendTo(this.colContainerEls.eq(i[t].col))[0]);i.length>0&&r.push(f('<div class="fc-now-indicator fc-now-indicator-arrow"><\/div>').css("top",u).appendTo(this.el.find(".fc-content-skeleton"))[0]);this.nowIndicatorEls=f(r)}},t.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},t.prototype.updateSize=function(t,i,r){n.prototype.updateSize.call(this,t,i,r);this.slatCoordCache.build();r&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},t.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},t.prototype.computeDateTop=function(n,t){return this.computeTimeTop(r.duration(n-t.clone().stripTime()))},t.prototype.computeTimeTop=function(n){var r=this.slatEls.length,f=this.dateProfile,t=(n-f.minTime)/this.slotDuration,i,u;return t=Math.max(0,t),t=Math.min(r,t),i=Math.floor(t),i=Math.min(i,r-1),u=t-i,this.slatCoordCache.getTopPosition(i)+this.slatCoordCache.getHeight(i)*u},t.prototype.updateSegVerticals=function(n){this.computeSegVerticals(n);this.assignSegVerticals(n)},t.prototype.computeSegVerticals=function(n){for(var u=this.opt("agendaEventMinHeight"),t,r,i=0;i<n.length;i++)t=n[i],r=this.dayDates[t.dayIndex],t.top=this.computeDateTop(t.startMs,r),t.bottom=Math.max(t.top+u,this.computeDateTop(t.endMs,r))},t.prototype.assignSegVerticals=function(n){for(var i,t=0;t<n.length;t++)i=n[t],i.el.css(this.generateSegVerticalCss(i))},t.prototype.generateSegVerticalCss=function(n){return{top:n.top,bottom:-n.bottom}},t.prototype.prepareHits=function(){this.colCoordCache.build();this.slatCoordCache.build()},t.prototype.releaseHits=function(){this.colCoordCache.clear()},t.prototype.queryHit=function(n,t){var u=this.snapsPerSlot,f=this.colCoordCache,e=this.slatCoordCache,i,r;if(f.isLeftInBounds(n)&&e.isTopInBounds(t)&&(i=f.getHorizontalIndex(n),r=e.getVerticalIndex(t),i!=null&&r!=null)){var o=e.getTopOffset(r),s=e.getHeight(r),c=(t-o)/s,h=Math.floor(c*u),l=r*u+h,a=o+h/u*s,v=o+(h+1)/u*s;return{col:i,snap:l,component:this,left:f.getLeftOffset(i),right:f.getRightOffset(i),top:a,bottom:v}}},t.prototype.getHitFootprint=function(n){var t=this.getCellDate(0,n.col),r=this.computeSnapTime(n.snap),i;return t.time(r),i=t.clone().add(this.snapDuration),new h.default(new o.default(t,i),!1)},t.prototype.computeSnapTime=function(n){return r.duration(this.dateProfile.minTime+this.snapDuration*n)},t.prototype.getHitEl=function(n){return this.colEls.eq(n.col)},t.prototype.renderDrag=function(n,t,i){var r;if(t){if(n.length)return this.helperRenderer.renderEventDraggingFootprints(n,t,i),!0}else for(r=0;r<n.length;r++)this.renderHighlight(n[r].componentFootprint)},t.prototype.unrenderDrag=function(){this.unrenderHighlight();this.helperRenderer.unrender()},t.prototype.renderEventResize=function(n,t,i){this.helperRenderer.renderEventResizingFootprints(n,t,i)},t.prototype.unrenderEventResize=function(){this.helperRenderer.unrender()},t.prototype.renderSelectionFootprint=function(n){this.opt("selectHelper")?this.helperRenderer.renderComponentFootprint(n):this.renderHighlight(n)},t.prototype.unrenderSelection=function(){this.helperRenderer.unrender();this.unrenderHighlight()},t}(a.default);t.default=u;u.prototype.eventRendererClass=w.default;u.prototype.businessHourRendererClass=v.default;u.prototype.helperRendererClass=b.default;u.prototype.fillRendererClass=k.default;y.default.mixInto(u);p.default.mixInto(u)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(5),f=i(221),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.buildRenderRange=function(t,i,r){var e=n.prototype.buildRenderRange.call(this,t,i,r),o=this.msToUtcMoment(e.startMs,r),f=this.msToUtcMoment(e.endMs,r);return/^(year|month)$/.test(i)&&(o.startOf("week"),f.weekday()&&f.add(1,"week").startOf("week")),new u.default(o,f)},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(0),e=i(4),o=i(62),s=i(253),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.setGridHeight=function(n,t){t&&(n*=this.dayGrid.rowCnt/6);e.distributeHeight(this.dayGrid.rowEls,n,!t)},t.prototype.isDateInOtherMonth=function(n,t){return n.month()!==f.utc(t.currentUnzonedRange.startMs).month()},t}(o.default);t.default=r;r.prototype.dateProfileGeneratorClass=s.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),e=i(3),r=i(4),o=i(5),s=i(41),h=i(39),c=i(254),l=i(255),u=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.segSelector=".fc-list-item",r.scroller=new h.default({overflowX:"hidden",overflowY:"auto"}),r}return f.__extends(t,n),t.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView"));this.scroller.render();this.scroller.el.appendTo(this.el);this.contentEl=this.scroller.scrollEl},t.prototype.unrenderSkeleton=function(){this.scroller.destroy()},t.prototype.updateSize=function(t,i,r){n.prototype.updateSize.call(this,t,i,r);this.scroller.clear();i||this.scroller.setHeight(this.computeScrollerHeight(t))},t.prototype.computeScrollerHeight=function(n){return n-r.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.renderDates=function(n){for(var i=this.calendar,t=i.msToUtcMoment(n.renderUnzonedRange.startMs,!0),f=i.msToUtcMoment(n.renderUnzonedRange.endMs,!0),r=[],u=[];t<f;)r.push(t.clone()),u.push(new o.default(t,t.clone().add(1,"day"))),t.add(1,"day");this.dayDates=r;this.dayRanges=u},t.prototype.componentFootprintToSegs=function(n){for(var u=this.dayRanges,i,r,f=[],t=0;t<u.length;t++)if(i=n.unzonedRange.intersect(u[t]),i&&(r={startMs:i.startMs,endMs:i.endMs,isStart:i.isStart,isEnd:i.isEnd,dayIndex:t},f.push(r),!r.isEnd&&!n.isAllDay&&t+1<u.length&&n.unzonedRange.endMs<u[t+1].startMs+this.nextDayThreshold)){r.endMs=n.unzonedRange.endMs;r.isEnd=!0;break}return f},t.prototype.renderEmptyMessage=function(){this.contentEl.html('<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+r.htmlEscape(this.opt("noEventsMessage"))+"<\/div><\/div><\/div>")},t.prototype.renderSegList=function(n){for(var u=this.groupSegsByDay(n),i,r,f=e('<table class="fc-list-table '+this.calendar.theme.getClass("tableList")+'"><tbody/><\/table>'),o=f.find("tbody"),t=0;t<u.length;t++)if(i=u[t],i)for(o.append(this.dayHeaderHtml(this.dayDates[t])),this.eventRenderer.sortEventSegs(i),r=0;r<i.length;r++)o.append(i[r].el);this.contentEl.empty().append(f)},t.prototype.groupSegsByDay=function(n){for(var r=[],i,t=0;t<n.length;t++)i=n[t],(r[i.dayIndex]||(r[i.dayIndex]=[])).push(i);return r},t.prototype.dayHeaderHtml=function(n){var t=this.opt("listDayFormat"),i=this.opt("listDayAltFormat");return'<tr class="fc-list-heading" data-date="'+n.format("YYYY-MM-DD")+'"><td class="'+(this.calendar.theme.getClass("tableListHeading")||this.calendar.theme.getClass("widgetHeader"))+'" colspan="3">'+(t?this.buildGotoAnchorHtml(n,{"class":"fc-list-heading-main"},r.htmlEscape(n.format(t))):"")+(i?this.buildGotoAnchorHtml(n,{"class":"fc-list-heading-alt"},r.htmlEscape(n.format(i))):"")+"<\/td><\/tr>"},t}(s.default);t.default=u;u.prototype.eventRendererClass=c.default;u.prototype.eventPointingClass=l.default},,,,,,function(n,t,i){var r=i(3),u=i(16),f=i(4),e=i(220);i(10);i(47);i(256);i(257);i(260);i(261);i(262);i(263);r.fullCalendar=u;r.fn.fullCalendar=function(n){var i=Array.prototype.slice.call(arguments,1),t=this;return this.each(function(u,o){var h=r(o),s=h.data("fullCalendar"),c;typeof n=="string"?n==="getCalendar"?u||(t=s):n==="destroy"?s&&(s.destroy(),h.removeData("fullCalendar")):s?r.isFunction(s[n])?(c=s[n].apply(s,i),u||(t=c),n==="destroy"&&h.removeData("fullCalendar")):f.warn("'"+n+"' is an unknown FullCalendar method."):f.warn("Attempting to call a FullCalendar method on an element with no calendar."):s||(s=new e.default(h,n),h.data("fullCalendar",s),s.render())}),t};n.exports=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(48),f=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.setElement=function(n){this.el=n;this.bindGlobalHandlers();this.renderSkeleton();this.set("isInDom",!0)},t.prototype.removeElement=function(){this.unset("isInDom");this.unrenderSkeleton();this.unbindGlobalHandlers();this.el.remove()},t.prototype.bindGlobalHandlers=function(){},t.prototype.unbindGlobalHandlers=function(){},t.prototype.renderSkeleton=function(){},t.prototype.unrenderSkeleton=function(){},t}(u.default);t.default=f},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n){this.items=n||[]}return n.prototype.proxyCall=function(n){for(var i,r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return i=[],this.items.forEach(function(t){i.push(t[n].apply(t,r))}),i},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n,t){this.el=null;this.viewsWithButtons=[];this.calendar=n;this.toolbarOptions=t}return n.prototype.setToolbarOptions=function(n){this.toolbarOptions=n},n.prototype.render=function(){var t=this.toolbarOptions.layout,n=this.el;t?(n?n.empty():n=this.el=r("<div class='fc-toolbar "+this.toolbarOptions.extraClasses+"'/>"),n.append(this.renderSection("left")).append(this.renderSection("right")).append(this.renderSection("center")).append('<div class="fc-clear"/>')):this.removeElement()},n.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},n.prototype.renderSection=function(n){var s=this,i=this.calendar,t=i.theme,f=i.optionsManager,h=i.viewSpecManager,e=r('<div class="fc-'+n+'"/>'),o=this.toolbarOptions.layout[n],c=f.get("customButtons")||{},l=f.overrides.buttonText||{},a=f.get("buttonText")||{};return o&&r.each(o.split(" "),function(n,f){var o=r(),y=!0,v;r.each(f.split(","),function(n,f){var w,k,b,p,v,d,nt,e,g;f==="title"?(o=o.add(r("<h2>&nbsp;<\/h2>")),y=!1):((w=c[f])?(b=function(n){w.click&&w.click.call(e[0],n)},(p=t.getCustomButtonIconClass(w))||(p=t.getIconClass(f))||(v=w.text)):(k=h.getViewSpec(f))?(s.viewsWithButtons.push(f),b=function(){i.changeView(f)},(v=k.buttonTextOverride)||(p=t.getIconClass(f))||(v=k.buttonTextDefault)):i[f]&&(b=function(){i[f]()},(v=l[f])||(p=t.getIconClass(f))||(v=a[f])),b&&(nt=["fc-"+f+"-button",t.getClass("button"),t.getClass("stateDefault")],v?(d=u.htmlEscape(v),g=""):p&&(d="<span class='"+p+"'><\/span>",g=' aria-label="'+f+'"'),e=r('<button type="button" class="'+nt.join(" ")+'"'+g+">"+d+"<\/button>").click(function(n){e.hasClass(t.getClass("stateDisabled"))||(b(n),(e.hasClass(t.getClass("stateActive"))||e.hasClass(t.getClass("stateDisabled")))&&e.removeClass(t.getClass("stateHover")))}).mousedown(function(){e.not("."+t.getClass("stateActive")).not("."+t.getClass("stateDisabled")).addClass(t.getClass("stateDown"))}).mouseup(function(){e.removeClass(t.getClass("stateDown"))}).hover(function(){e.not("."+t.getClass("stateActive")).not("."+t.getClass("stateDisabled")).addClass(t.getClass("stateHover"))},function(){e.removeClass(t.getClass("stateHover")).removeClass(t.getClass("stateDown"))}),o=o.add(e)))});y&&o.first().addClass(t.getClass("cornerLeft")).end().last().addClass(t.getClass("cornerRight")).end();o.length>1?(v=r("<div/>"),y&&v.addClass(t.getClass("buttonGroup")),v.append(o),e.append(v)):e.append(o)}),e},n.prototype.updateTitle=function(n){this.el&&this.el.find("h2").text(n)},n.prototype.activateButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").addClass(this.calendar.theme.getClass("stateActive"))},n.prototype.deactivateButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").removeClass(this.calendar.theme.getClass("stateActive"))},n.prototype.disableButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").prop("disabled",!0).addClass(this.calendar.theme.getClass("stateDisabled"))},n.prototype.enableButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").prop("disabled",!1).removeClass(this.calendar.theme.getClass("stateDisabled"))},n.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),o=i(3),f=i(4),r=i(32),u=i(31),s=i(48),h=function(n){function t(t,i){var r=n.call(this)||this;return r._calendar=t,r.overrides=o.extend({},i),r.dynamicOverrides={},r.compute(),r}return e.__extends(t,n),t.prototype.add=function(n){var i=0,t;this.recordOverrides(n);for(t in n)i++;if(i===1){if(t==="height"||t==="contentHeight"||t==="aspectRatio"){this._calendar.updateViewSize(!0);return}if(t==="defaultDate")return;if(t==="businessHours")return;if(/^(event|select)(Overlap|Constraint|Allow)$/.test(t))return;if(t==="timezone"){this._calendar.view.flash("initialEvents");return}}this._calendar.renderHeader();this._calendar.renderFooter();this._calendar.viewsByType={};this._calendar.reinitView()},t.prototype.compute=function(){var t,n,o,i,e;t=f.firstDefined(this.dynamicOverrides.locale,this.overrides.locale);n=u.localeOptionHash[t];n||(t=r.globalDefaults.locale,n=u.localeOptionHash[t]||{});o=f.firstDefined(this.dynamicOverrides.isRTL,this.overrides.isRTL,n.isRTL,r.globalDefaults.isRTL);i=o?r.rtlDefaults:{};this.dirDefaults=i;this.localeDefaults=n;e=r.mergeOptions([r.globalDefaults,i,n,this.overrides,this.dynamicOverrides]);u.populateInstanceComputableOptions(e);this.reset(e)},t.prototype.recordOverrides=function(n){for(var t in n)this.dynamicOverrides[t]=n[t];this._calendar.viewSpecManager.clearCache();this.compute()},t}(s.default);t.default=h},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),f=i(3),e=i(22),u=i(4),r=i(32),s=i(31),h=function(){function n(n,t){this.optionsManager=n;this._calendar=t;this.clearCache()}return n.prototype.clearCache=function(){this.viewSpecCache={}},n.prototype.getViewSpec=function(n){var t=this.viewSpecCache;return t[n]||(t[n]=this.buildViewSpec(n))},n.prototype.getUnitViewSpec=function(n){var t,i,r;if(f.inArray(n,u.unitsDesc)!==-1)for(t=this._calendar.header.getViewsWithButtons(),f.each(e.viewHash,function(n){t.push(n)}),i=0;i<t.length;i++)if(r=this.getViewSpec(t[i]),r&&r.singleUnit===n)return r},n.prototype.buildViewSpec=function(n){for(var a=this.optionsManager.overrides.views||{},v=[],y=[],l=[],f=n,t,s,i,h,c;f;)t=e.viewHash[f],s=a[f],f=null,typeof t=="function"&&(t={"class":t}),t&&(v.unshift(t),y.unshift(t.defaults||{}),i=i||t.duration,f=f||t.type),s&&(l.unshift(s),i=i||s.duration,f=f||s.type);return(t=u.mergeProps(v),t.type=n,!t["class"])?!1:(i=i||this.optionsManager.dynamicOverrides.duration||this.optionsManager.overrides.duration,i&&(h=o.duration(i),h.valueOf()&&(c=u.computeDurationGreatestUnit(h,i),t.duration=h,t.durationUnit=c,h.as(c)===1&&(t.singleUnit=c,l.unshift(a[c]||{})))),t.defaults=r.mergeOptions(y),t.overrides=r.mergeOptions(l),this.buildViewSpecOptions(t),this.buildViewSpecButtonText(t,n),t)},n.prototype.buildViewSpecOptions=function(n){var t=this.optionsManager;n.options=r.mergeOptions([r.globalDefaults,n.defaults,t.dirDefaults,t.localeDefaults,t.overrides,n.overrides,t.dynamicOverrides]);s.populateInstanceComputableOptions(n.options)},n.prototype.buildViewSpecButtonText=function(n,t){function i(i){var r=i.buttonText||{};return r[t]||(n.buttonTextKey?r[n.buttonTextKey]:null)||(n.singleUnit?r[n.singleUnit]:null)}var u=this.optionsManager;n.buttonTextOverride=i(u.dynamicOverrides)||i(u.overrides)||n.overrides.buttonText;n.buttonTextDefault=i(u.localeDefaults)||i(u.dirDefaults)||n.defaults.buttonText||i(r.globalDefaults)||(n.duration?this._calendar.humanizeDuration(n.duration):null)||t},n}();t.default=h},function(n,t,i){function y(n,t){return n.getPrimitive()===t.getPrimitive()}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),f=i(4),e=i(243),o=i(52),s=i(6),h=i(38),c=i(13),l=i(18),a=i(11),v=i(7),u=function(){function n(n){this.calendar=n;this.stickySource=new o.default(n);this.otherSources=[]}return n.prototype.requestEvents=function(n,t,i,r){return!r&&this.currentPeriod&&this.currentPeriod.isWithinRange(n,t)&&i===this.currentPeriod.timezone||this.setPeriod(new e.default(n,t,i)),this.currentPeriod.whenReleased()},n.prototype.addSource=function(n){this.otherSources.push(n);this.currentPeriod&&this.currentPeriod.requestSource(n)},n.prototype.removeSource=function(n){f.removeExact(this.otherSources,n);this.currentPeriod&&this.currentPeriod.purgeSource(n)},n.prototype.removeAllSources=function(){this.otherSources=[];this.currentPeriod&&this.currentPeriod.purgeAllSources()},n.prototype.refetchSource=function(n){var t=this.currentPeriod;t&&(t.freeze(),t.purgeSource(n),t.requestSource(n),t.thaw())},n.prototype.refetchAllSources=function(){var n=this.currentPeriod;n&&(n.freeze(),n.purgeAllSources(),n.requestSources(this.getSources()),n.thaw())},n.prototype.getSources=function(){return[this.stickySource].concat(this.otherSources)},n.prototype.multiQuerySources=function(n){n?r.isArray(n)||(n=[n]):n=[];for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.querySources(n[t]));return i},n.prototype.querySources=function(n){for(var u=this.otherSources,t,i=0;i<u.length;i++)if(t=u[i],t===n)return[t];return(t=this.getSourceById(s.default.normalizeId(n)),t)?[t]:(n=h.default.parse(n,this.calendar),n?r.grep(u,function(t){return y(n,t)}):void 0)},n.prototype.getSourceById=function(n){return r.grep(this.otherSources,function(t){return t.id&&t.id===n})[0]},n.prototype.setPeriod=function(n){this.currentPeriod&&(this.unbindPeriod(this.currentPeriod),this.currentPeriod=null);this.currentPeriod=n;this.bindPeriod(n);n.requestSources(this.getSources())},n.prototype.bindPeriod=function(n){this.listenTo(n,"release",function(n){this.trigger("release",n)})},n.prototype.unbindPeriod=function(n){this.stopListeningTo(n)},n.prototype.getEventDefByUid=function(n){if(this.currentPeriod)return this.currentPeriod.getEventDefByUid(n)},n.prototype.addEventDef=function(n,t){t&&this.stickySource.addEventDef(n);this.currentPeriod&&this.currentPeriod.addEventDef(n)},n.prototype.removeEventDefsById=function(n){this.getSources().forEach(function(t){t.removeEventDefsById(n)});this.currentPeriod&&this.currentPeriod.removeEventDefsById(n)},n.prototype.removeAllEventDefs=function(){this.getSources().forEach(function(n){n.removeAllEventDefs()});this.currentPeriod&&this.currentPeriod.removeAllEventDefs()},n.prototype.mutateEventsWithId=function(n,t){var i=this.currentPeriod,r,u=[];return i?(i.freeze(),r=i.getEventDefsById(n),r.forEach(function(n){i.removeEventDef(n);u.push(t.mutateSingle(n));i.addEventDef(n)}),i.thaw(),function(){i.freeze();for(var n=0;n<r.length;n++)i.removeEventDef(r[n]),u[n](),i.addEventDef(r[n]);i.thaw()}):function(){}},n.prototype.buildMutatedEventInstanceGroup=function(n,t){for(var f=this.getEventDefsById(n),r,u=[],i=0;i<f.length;i++)r=f[i].clone(),r instanceof c.default&&(t.mutateSingle(r),u.push.apply(u,r.buildInstances()));return new l.default(u)},n.prototype.freeze=function(){this.currentPeriod&&this.currentPeriod.freeze()},n.prototype.thaw=function(){this.currentPeriod&&this.currentPeriod.thaw()},n.prototype.getEventDefsById=function(n){return this.currentPeriod.getEventDefsById(n)},n.prototype.getEventInstances=function(){return this.currentPeriod.getEventInstances()},n.prototype.getEventInstancesWithId=function(n){return this.currentPeriod.getEventInstancesWithId(n)},n.prototype.getEventInstancesWithoutId=function(n){return this.currentPeriod.getEventInstancesWithoutId(n)},n}();t.default=u;a.default.mixInto(u);v.default.mixInto(u)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(3),r=i(4),u=i(20),o=i(11),s=i(5),h=i(18),f=function(){function n(n,t,i){this.pendingCnt=0;this.freezeDepth=0;this.stuntedReleaseCnt=0;this.releaseCnt=0;this.start=n;this.end=t;this.timezone=i;this.unzonedRange=new s.default(n.clone().stripZone(),t.clone().stripZone());this.requestsByUid={};this.eventDefsByUid={};this.eventDefsById={};this.eventInstanceGroupsById={}}return n.prototype.isWithinRange=function(n,t){return!n.isBefore(this.start)&&!t.isAfter(this.end)},n.prototype.requestSources=function(n){this.freeze();for(var t=0;t<n.length;t++)this.requestSource(n[t]);this.thaw()},n.prototype.requestSource=function(n){var i=this,t={source:n,status:"pending",eventDefs:null};this.requestsByUid[n.uid]=t;this.pendingCnt+=1;n.fetch(this.start,this.end,this.timezone).then(function(n){t.status!=="cancelled"&&(t.status="completed",t.eventDefs=n,i.addEventDefs(n),i.pendingCnt--,i.tryRelease())},function(){t.status!=="cancelled"&&(t.status="failed",i.pendingCnt--,i.tryRelease())})},n.prototype.purgeSource=function(n){var t=this.requestsByUid[n.uid];t&&(delete this.requestsByUid[n.uid],t.status==="pending"?(t.status="cancelled",this.pendingCnt--,this.tryRelease()):t.status==="completed"&&t.eventDefs.forEach(this.removeEventDef.bind(this)))},n.prototype.purgeAllSources=function(){var t=this.requestsByUid,i,n,r=0;for(i in t)n=t[i],n.status==="pending"?n.status="cancelled":n.status==="completed"&&r++;this.requestsByUid={};this.pendingCnt=0;r&&this.removeAllEventDefs()},n.prototype.getEventDefByUid=function(n){return this.eventDefsByUid[n]},n.prototype.getEventDefsById=function(n){var t=this.eventDefsById[n];return t?t.slice():[]},n.prototype.addEventDefs=function(n){for(var t=0;t<n.length;t++)this.addEventDef(n[t])},n.prototype.addEventDef=function(n){var r=this.eventDefsById,i=n.id,f=r[i]||(r[i]=[]),u=n.buildInstances(this.unzonedRange),t;for(f.push(n),this.eventDefsByUid[n.uid]=n,t=0;t<u.length;t++)this.addEventInstance(u[t],i)},n.prototype.removeEventDefsById=function(n){var t=this;this.getEventDefsById(n).forEach(function(n){t.removeEventDef(n)})},n.prototype.removeAllEventDefs=function(){var n=e.isEmptyObject(this.eventDefsByUid);this.eventDefsByUid={};this.eventDefsById={};this.eventInstanceGroupsById={};n||this.tryRelease()},n.prototype.removeEventDef=function(n){var i=this.eventDefsById,t=i[n.id];delete this.eventDefsByUid[n.uid];t&&(r.removeExact(t,n),t.length||delete i[n.id],this.removeEventInstancesForDef(n))},n.prototype.getEventInstances=function(){var t=this.eventInstanceGroupsById,n=[];for(var i in t)n.push.apply(n,t[i].eventInstances);return n},n.prototype.getEventInstancesWithId=function(n){var t=this.eventInstanceGroupsById[n];return t?t.eventInstances.slice():[]},n.prototype.getEventInstancesWithoutId=function(n){var i=this.eventInstanceGroupsById,t=[];for(var r in i)r!==n&&t.push.apply(t,i[r].eventInstances);return t},n.prototype.addEventInstance=function(n,t){var i=this.eventInstanceGroupsById,r=i[t]||(i[t]=new h.default);r.eventInstances.push(n);this.tryRelease()},n.prototype.removeEventInstancesForDef=function(n){var i=this.eventInstanceGroupsById,t=i[n.id],u;t&&(u=r.removeMatching(t.eventInstances,function(t){return t.def===n}),t.eventInstances.length||delete i[n.id],u&&this.tryRelease())},n.prototype.tryRelease=function(){this.pendingCnt||(this.freezeDepth?this.stuntedReleaseCnt++:this.release())},n.prototype.release=function(){this.releaseCnt++;this.trigger("release",this.eventInstanceGroupsById)},n.prototype.whenReleased=function(){var n=this;return this.releaseCnt?u.default.resolve(this.eventInstanceGroupsById):u.default.construct(function(t){n.one("release",t)})},n.prototype.freeze=function(){this.freezeDepth++||(this.stuntedReleaseCnt=0)},n.prototype.thaw=function(){--this.freezeDepth||!this.stuntedReleaseCnt||this.pendingCnt||this.release()},n}();t.default=f;o.default.mixInto(f)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),r=i(4),e=i(7),f=function(){function n(n,t){this.isFollowing=!1;this.isHidden=!1;this.isAnimating=!1;this.options=t=t||{};this.sourceEl=n;this.parentEl=t.parentEl?u(t.parentEl):n.parent()}return n.prototype.start=function(n){this.isFollowing||(this.isFollowing=!0,this.y0=r.getEvY(n),this.x0=r.getEvX(n),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),r.getEvIsTouch(n)?this.listenTo(u(document),"touchmove",this.handleMove):this.listenTo(u(document),"mousemove",this.handleMove))},n.prototype.stop=function(n,t){var i=this,r=this.options.revertDuration,f=function(){i.isAnimating=!1;i.removeElement();i.top0=i.left0=null;t&&t()};this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(u(document)),n&&r&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:r,complete:f})):f())},n.prototype.getEl=function(){var n=this.el;return n||(n=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}),n.addClass("fc-unselectable"),n.appendTo(this.parentEl)),n},n.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},n.prototype.updatePosition=function(){var n,t;this.getEl();this.top0==null&&(n=this.sourceEl.offset(),t=this.el.offsetParent().offset(),this.top0=n.top-t.top,this.left0=n.left-t.left);this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},n.prototype.handleMove=function(n){this.topDelta=r.getEvY(n)-this.y0;this.leftDelta=r.getEvX(n)-this.x0;this.isHidden||this.updatePosition()},n.prototype.hide=function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},n.prototype.show=function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())},n}();t.default=f;e.default.mixInto(f)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(23),f=i(15),e=function(n){function t(t){var i=n.call(this,t)||this;return i.dragListener=i.buildDragListener(),i}return r.__extends(t,n),t.prototype.end=function(){this.dragListener.endInteraction()},t.prototype.bindToEl=function(n){var t=this.component,i=this.dragListener;t.bindDateHandlerToEl(n,"mousedown",function(n){t.shouldIgnoreMouse()||i.startInteraction(n)});t.bindDateHandlerToEl(n,"touchstart",function(n){t.shouldIgnoreTouch()||i.startInteraction(n)})},t.prototype.buildDragListener=function(){var r=this,i=this.component,n,t=new u.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){n=t.origHit},hitOver:function(t,i){i||(n=null)},hitOut:function(){n=null},interactionEnd:function(t,u){var f;!u&&n&&(f=i.getSafeHitFootprint(n),f&&r.view.triggerDayClick(f,i.getHitEl(n),t))}});return t.shouldCancelTouchScroll=!1,t.scrollAlwaysKills=!0,t},t}(f.default);t.default=e},function(n,t,i){function h(n){for(var i=[],u,t,r=0;r<n.length;r++){for(u=n[r],t=0;t<i.length;t++)if(!f(u,i[t]).length)break;u.level=t;(i[t]||(i[t]=[])).push(u)}return i}function c(n){for(var e,i,r,u,t=0;t<n.length;t++)for(e=n[t],i=0;i<e.length;i++)for(r=e[i],r.forwardSegs=[],u=t+1;u<n.length;u++)f(r,n[u],r.forwardSegs)}function u(n){var f=n.forwardSegs,i=0,t,r;if(n.forwardPressure===undefined){for(t=0;t<f.length;t++)r=f[t],u(r),i=Math.max(i,1+r.forwardPressure);n.forwardPressure=i}}function f(n,t,i){i===void 0&&(i=[]);for(var r=0;r<t.length;r++)l(n,t[r])&&i.push(t[r]);return i}function l(n,t){return n.bottom>t.top&&n.top<t.bottom}Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(4),o=i(42),s=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.timeGrid=t,r}return e.__extends(t,n),t.prototype.renderFgSegs=function(n){this.renderFgSegsIntoContainers(n,this.timeGrid.fgContainerEls)},t.prototype.renderFgSegsIntoContainers=function(n,t){for(var r=this.timeGrid.groupSegsByCol(n),i=0;i<this.timeGrid.colCnt;i++)this.updateFgSegCoords(r[i]);this.timeGrid.attachSegsByCol(r,t)},t.prototype.unrenderFgSegs=function(){this.fgSegs&&this.fgSegs.forEach(function(n){n.el.remove()})},t.prototype.computeEventTimeFormat=function(){return this.opt("noMeridiemTimeFormat")},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.fgSegHtml=function(n,t){var u=this.view,l=u.calendar,a=n.footprint.componentFootprint,s=a.isAllDay,i=n.footprint.eventDef,w=u.isEventDefDraggable(i),b=!t&&n.isStart&&u.isEventDefResizableFromStart(i),v=!t&&n.isEnd&&u.isEventDefResizableFromEnd(i),y=this.getSegClasses(n,w,b||v),p=r.cssToStr(this.getSkinCss(i)),f,h,c,e,o;return y.unshift("fc-time-grid-event","fc-v-event"),u.isMultiDayRange(a.unzonedRange)?(n.isStart||n.isEnd)&&(e=l.msToMoment(n.startMs),o=l.msToMoment(n.endMs),f=this._getTimeText(e,o,s),h=this._getTimeText(e,o,s,"LT"),c=this._getTimeText(e,o,s,null,!1)):(f=this.getTimeText(n.footprint),h=this.getTimeText(n.footprint,"LT"),c=this.getTimeText(n.footprint,null,!1)),'<a class="'+y.join(" ")+'"'+(i.url?' href="'+r.htmlEscape(i.url)+'"':"")+(p?' style="'+p+'"':"")+'><div class="fc-content">'+(f?'<div class="fc-time" data-start="'+r.htmlEscape(c)+'" data-full="'+r.htmlEscape(h)+'"><span>'+r.htmlEscape(f)+"<\/span><\/div>":"")+(i.title?'<div class="fc-title">'+r.htmlEscape(i.title)+"<\/div>":"")+'<\/div><div class="fc-bg"/>'+(v?'<div class="fc-resizer fc-end-resizer" />':"")+"<\/a>"},t.prototype.updateFgSegCoords=function(n){this.timeGrid.computeSegVerticals(n);this.computeFgSegHorizontals(n);this.timeGrid.assignSegVerticals(n);this.assignFgSegHorizontals(n)},t.prototype.computeFgSegHorizontals=function(n){var r,i,t;if(this.sortEventSegs(n),r=h(n),c(r),i=r[0]){for(t=0;t<i.length;t++)u(i[t]);for(t=0;t<i.length;t++)this.computeFgSegForwardBack(i[t],0,0)}},t.prototype.computeFgSegForwardBack=function(n,t,i){var r=n.forwardSegs,u;if(n.forwardCoord===undefined)for(r.length?(this.sortForwardSegs(r),this.computeFgSegForwardBack(r[0],t+1,i),n.forwardCoord=r[0].backwardCoord):n.forwardCoord=1,n.backwardCoord=n.forwardCoord-(n.forwardCoord-i)/(t+1),u=0;u<r.length;u++)this.computeFgSegForwardBack(r[u],0,n.forwardCoord)},t.prototype.sortForwardSegs=function(n){n.sort(r.proxy(this,"compareForwardSegs"))},t.prototype.compareForwardSegs=function(n,t){return t.forwardPressure-n.forwardPressure||(n.backwardCoord||0)-(t.backwardCoord||0)||this.compareEventSegs(n,t)},t.prototype.assignFgSegHorizontals=function(n){for(var t,i=0;i<n.length;i++)t=n[i],t.el.css(this.generateFgSegHorizontalCss(t)),t.bottom-t.top<30&&t.el.addClass("fc-short")},t.prototype.generateFgSegHorizontalCss=function(n){var e=this.opt("slotEventOverlap"),i=n.backwardCoord,r=n.forwardCoord,t=this.timeGrid.generateSegVerticalCss(n),o=this.timeGrid.isRTL,u,f;return e&&(r=Math.min(1,i+(r-i)*2)),o?(u=1-r,f=i):(u=i,f=1-r),t.zIndex=n.level+1,t.left=u*100+"%",t.right=f*100+"%",e&&n.forwardPressure&&(t[o?"marginLeft":"marginRight"]=20),t},t}(o.default);t.default=s},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(58),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.renderSegs=function(n,t){var e=[],r,f,i;for(this.eventRenderer.renderFgSegsIntoContainers(n,this.component.helperContainerEls),r=0;r<n.length;r++)f=n[r],t&&t.col===f.col&&(i=t.el,f.el.css({left:i.css("left"),right:i.css("right"),"margin-left":i.css("margin-left"),"margin-right":i.css("margin-right")})),e.push(f.el[0]);return u(e)},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(57),f=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.attachSegEls=function(n,t){var i=this.component,r;return n==="bgEvent"?r=i.bgContainerEls:n==="businessHours"?r=i.businessContainerEls:n==="highlight"&&(r=i.highlightContainerEls),i.updateSegVerticals(t),i.attachSegsByCol(i.groupSegsByCol(t),r),t.map(function(n){return n.el[0]})},t}(u.default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),f=i(4),e=i(7),u=function(){function n(n){this.isHidden=!0;this.margin=10;this.options=n||{}}return n.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},n.prototype.hide=function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},n.prototype.render=function(){var t=this,n=this.options;this.el=r('<div class="fc-popover"/>').addClass(n.className||"").css({top:0,left:0}).append(n.content).appendTo(n.parentEl);this.el.on("click",".fc-close",function(){t.hide()});n.autoHide&&this.listenTo(r(document),"mousedown",this.documentMousedown)},n.prototype.documentMousedown=function(n){this.el&&!r(n.target).closest(this.el).length&&this.hide()},n.prototype.removeElement=function(){this.hide();this.el&&(this.el.remove(),this.el=null);this.stopListeningTo(r(document),"mousedown")},n.prototype.position=function(){var n=this.options,c=this.el.offsetParent().offset(),l=this.el.outerWidth(),a=this.el.outerHeight(),s=r(window),t=f.getScrollParent(this.el),e,o,h,i,u;i=n.top||0;u=n.left!==undefined?n.left:n.right!==undefined?n.right-l:0;t.is(window)||t.is(document)?(t=s,e=0,o=0):(h=t.offset(),e=h.top,o=h.left);e+=s.scrollTop();o+=s.scrollLeft();n.viewportConstrain!==!1&&(i=Math.min(i,e+t.outerHeight()-a-this.margin),i=Math.max(i,e+this.margin),u=Math.min(u,o+t.outerWidth()-l-this.margin),u=Math.max(u,o+this.margin));this.el.css({top:i-c.top,left:u-c.left})},n.prototype.trigger=function(n){this.options[n]&&this.options[n].apply(this,Array.prototype.slice.call(arguments,1))},n}();t.default=u;e.default.mixInto(u)},function(n,t,i){function s(n,t){for(var r,i=0;i<t.length;i++)if(r=t[i],r.leftCol<=n.rightCol&&r.rightCol>=n.leftCol)return!0;return!1}function h(n,t){return n.leftCol-t.leftCol}Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),r=i(3),u=i(4),e=i(42),o=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.dayGrid=t,r}return f.__extends(t,n),t.prototype.renderBgRanges=function(t){t=r.grep(t,function(n){return n.eventDef.isAllDay()});n.prototype.renderBgRanges.call(this,t)},t.prototype.renderFgSegs=function(n){var t=this.rowStructs=this.renderSegRows(n);this.dayGrid.rowEls.each(function(n,i){r(i).find(".fc-content-skeleton > table").append(t[n].tbodyEl)})},t.prototype.unrenderFgSegs=function(){for(var t=this.rowStructs||[],n;n=t.pop();)n.tbodyEl.remove();this.rowStructs=null},t.prototype.renderSegRows=function(n){for(var r=[],i=this.groupSegRows(n),t=0;t<i.length;t++)r.push(this.renderSegRow(t,i[t]));return r},t.prototype.renderSegRow=function(n,t){function p(n){while(u<n)i=(h[f-1]||[])[u],i?i.attr("rowspan",parseInt(i.attr("rowspan")||1,10)+1):(i=r("<td/>"),o.append(i)),s[f][u]=i,h[f][u]=i,u++}for(var w=this.dayGrid.colCnt,a=this.buildSegLevels(t),b=Math.max(1,a.length),y=r("<tbody/>"),v=[],s=[],h=[],c,u,o,l,e,i,f=0;f<b;f++){if(c=a[f],u=0,o=r("<tr/>"),v.push([]),s.push([]),h.push([]),c)for(l=0;l<c.length;l++){for(e=c[l],p(e.leftCol),i=r('<td class="fc-event-container"/>').append(e.el),e.leftCol!==e.rightCol?i.attr("colspan",e.rightCol-e.leftCol+1):h[f][u]=i;u<=e.rightCol;)s[f][u]=i,v[f][u]=e,u++;o.append(i)}p(w);this.dayGrid.bookendCells(o);y.append(o)}return{row:n,tbodyEl:y,cellMatrix:s,segMatrix:v,segLevels:a,segs:t}},t.prototype.buildSegLevels=function(n){var i=[],r,u,t;for(this.sortEventSegs(n),r=0;r<n.length;r++){for(u=n[r],t=0;t<i.length;t++)if(!s(u,i[t]))break;u.level=t;(i[t]||(i[t]=[])).push(u)}for(t=0;t<i.length;t++)i[t].sort(h);return i},t.prototype.groupSegRows=function(n){for(var i=[],t=0;t<this.dayGrid.rowCnt;t++)i.push([]);for(t=0;t<n.length;t++)i[n[t].row].push(n[t]);return i},t.prototype.computeEventTimeFormat=function(){return this.opt("extraSmallTimeFormat")},t.prototype.computeDisplayEventEnd=function(){return this.dayGrid.colCnt===1},t.prototype.fgSegHtml=function(n,t){var r=this.view,i=n.footprint.eventDef,s=n.footprint.componentFootprint.isAllDay,v=r.isEventDefDraggable(i),h=!t&&s&&n.isStart&&r.isEventDefResizableFromStart(i),c=!t&&s&&n.isEnd&&r.isEventDefResizableFromEnd(i),l=this.getSegClasses(n,v,h||c),a=u.cssToStr(this.getSkinCss(i)),f="",e,o;return l.unshift("fc-day-grid-event","fc-h-event"),n.isStart&&(e=this.getTimeText(n.footprint),e&&(f='<span class="fc-time">'+u.htmlEscape(e)+"<\/span>")),o='<span class="fc-title">'+(u.htmlEscape(i.title||"")||"&nbsp;")+"<\/span>",'<a class="'+l.join(" ")+'"'+(i.url?' href="'+u.htmlEscape(i.url)+'"':"")+(a?' style="'+a+'"':"")+'><div class="fc-content">'+(this.dayGrid.isRTL?o+" "+f:f+" "+o)+"<\/div>"+(h?'<div class="fc-resizer fc-start-resizer" />':"")+(c?'<div class="fc-resizer fc-end-resizer" />':"")+"<\/a>"},t}(e.default);t.default=o},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(3),f=i(58),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.renderSegs=function(n,t){var i=[],u;return u=this.eventRenderer.renderSegRows(n),this.component.rowEls.each(function(n,f){var o=r(f),s=r('<div class="fc-helper-skeleton"><table/><\/div>'),e,h;t&&t.row===n?h=t.el.position().top:(e=o.find(".fc-content-skeleton tbody"),e.length||(e=o.find(".fc-content-skeleton table")),h=e.position().top);s.css("top",h).find("table").append(u[n].tbodyEl);o.append(s);i.push(s[0])}),r(i)},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(57),e=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.fillSegTag="td",t}return r.__extends(t,n),t.prototype.attachSegEls=function(n,t){for(var f=[],r,u,i=0;i<t.length;i++)r=t[i],u=this.renderFillRow(n,r),this.component.rowEls.eq(r.row).append(u),f.push(u[0]);return f},t.prototype.renderFillRow=function(n,t){var o=this.component.colCnt,r=t.leftCol,f=t.rightCol+1,s,e,i;return s=n==="businessHours"?"bgevent":n.toLowerCase(),e=u('<div class="fc-'+s+'-skeleton"><table><tr/><\/table><\/div>'),i=e.find("tr"),r>0&&i.append('<td colspan="'+r+'"/>'),i.append(t.el.attr("colspan",f-r)),f<o&&i.append('<td colspan="'+(o-f)+'"/>'),this.component.bookendCells(i),e},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(228),f=i(5),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.buildRenderRange=function(t,i,r){var e=n.prototype.buildRenderRange.call(this,t,i,r),o=this.msToUtcMoment(e.startMs,r),u=this.msToUtcMoment(e.endMs,r),s;return this.opt("fixedWeekCount")&&(s=Math.ceil(u.diff(o,"weeks",!0)),u.add(6-s,"weeks")),new f.default(o,u)},t}(u.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=i(42),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.renderFgSegs=function(n){n.length?this.component.renderSegList(n):this.component.renderEmptyMessage()},t.prototype.fgSegHtml=function(n){var t=this.view,u=t.calendar,f=u.theme,e=n.footprint,i=e.eventDef,o=e.componentFootprint,s=i.url,h=["fc-list-item"].concat(this.getClasses(i)),c=this.getBgColor(i),l;return l=o.isAllDay?t.getAllDayHtml():t.isMultiDayRange(o.unzonedRange)?n.isStart||n.isEnd?r.htmlEscape(this._getTimeText(u.msToMoment(n.startMs),u.msToMoment(n.endMs),o.isAllDay)):t.getAllDayHtml():r.htmlEscape(this.getTimeText(e)),s&&h.push("fc-has-url"),'<tr class="'+h.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+f.getClass("widgetContent")+'">'+(l||"")+"<\/td>":"")+'<td class="fc-list-item-marker '+f.getClass("widgetContent")+'"><span class="fc-event-dot"'+(c?' style="background-color:'+c+'"':"")+'><\/span><\/td><td class="fc-list-item-title '+f.getClass("widgetContent")+'"><a'+(s?' href="'+r.htmlEscape(s)+'"':"")+">"+r.htmlEscape(i.title||"")+"<\/a><\/td><\/tr>"},t.prototype.computeEventTimeFormat=function(){return this.opt("mediumTimeFormat")},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(59),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.handleClick=function(t,i){var r;n.prototype.handleClick.call(this,t,i);u(i.target).closest("a[href]").length||(r=t.footprint.eventDef.url,r&&!i.isDefaultPrevented()&&(window.location.href=r))},t}(f.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(38),u=i(52),f=i(215),e=i(216);r.default.registerClass(u.default);r.default.registerClass(f.default);r.default.registerClass(e.default)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(51),u=i(213),f=i(214),e=i(258),o=i(259);r.defineThemeSystem("standard",u.default);r.defineThemeSystem("jquery-ui",f.default);r.defineThemeSystem("bootstrap3",e.default);r.defineThemeSystem("bootstrap4",o.default)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(19),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(f.default);t.default=r;r.prototype.classes={widget:"fc-bootstrap3",tableGrid:"table-bordered",tableList:"table",tableListHeading:"active",buttonGroup:"btn-group",button:"btn btn-default",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"panel panel-default",popoverHeader:"panel-heading",popoverContent:"panel-body",headerRow:"panel-default",dayRow:"panel-default",listView:"panel panel-default"};r.prototype.baseIconClass="glyphicon";r.prototype.iconClasses={close:"glyphicon-remove",prev:"glyphicon-chevron-left",next:"glyphicon-chevron-right",prevYear:"glyphicon-backward",nextYear:"glyphicon-forward"};r.prototype.iconOverrideOption="bootstrapGlyphicons";r.prototype.iconOverrideCustomButtonOption="bootstrapGlyphicon";r.prototype.iconOverridePrefix="glyphicon-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(19),r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(f.default);t.default=r;r.prototype.classes={widget:"fc-bootstrap4",tableGrid:"table-bordered",tableList:"table",tableListHeading:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"card card-primary",popoverHeader:"card-header",popoverContent:"card-body",headerRow:"table-bordered",dayRow:"table-bordered",listView:"card card-primary"};r.prototype.baseIconClass="fa";r.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"};r.prototype.iconOverrideOption="bootstrapFontAwesome";r.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome";r.prototype.iconOverridePrefix="fa-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(22),u=i(62),f=i(229);r.defineView("basic",{"class":u.default});r.defineView("basicDay",{type:"basic",duration:{days:1}});r.defineView("basicWeek",{type:"basic",duration:{weeks:1}});r.defineView("month",{"class":f.default,duration:{months:1},defaults:{fixedWeekCount:!0}})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(22),u=i(226);r.defineView("agenda",{"class":u.default,defaults:{allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0}});r.defineView("agendaDay",{type:"agenda",duration:{days:1}});r.defineView("agendaWeek",{type:"agenda",duration:{weeks:1}})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(22),u=i(230);r.defineView("list",{"class":u.default,buttonTextKey:"list",defaults:{buttonText:"list",listDayFormat:"LL",noEventsMessage:"No events to display"}});r.defineView("listDay",{type:"list",duration:{days:1},defaults:{listDayFormat:"dddd"}});r.defineView("listWeek",{type:"list",duration:{weeks:1},defaults:{listDayFormat:"dddd",listDayAltFormat:"LL"}});r.defineView("listMonth",{type:"list",duration:{month:1},defaults:{listDayAltFormat:"dddd"}});r.defineView("listYear",{type:"list",duration:{year:1},defaults:{listDayAltFormat:"dddd"}})},function(n,t){Object.defineProperty(t,"__esModule",{value:!0})}])})},{jquery:13,moment:16}],13:[function(n,t){(function(n,i){"use strict";typeof t=="object"&&typeof t.exports=="object"?t.exports=n.document?i(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return i(n)}:i(n)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function hr(n,t,i){t=t||f;var r,u=t.createElement("script");if(u.text=n,i)for(r in ne)i[r]&&(u[r]=i[r]);t.head.appendChild(u).parentNode.removeChild(u)}function it(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?bt[or.call(n)]||"object":typeof n}function hi(n){var t=!!n&&"length"in n&&n.length,i=it(n);return u(n)||tt(n)?!1:i==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function v(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function li(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):typeof t!="string"?i.grep(n,function(n){return wt.call(t,n)>-1!==r}):i.filter(t,n,r)}function kr(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ie(n){var t={};return i.each(n.match(l)||[],function(n,i){t[i]=!0}),t}function ut(n){return n}function dt(n){throw n;}function dr(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(undefined,[n].slice(r))}catch(n){i.apply(undefined,[n])}}function ni(){f.removeEventListener("DOMContentLoaded",ni);n.removeEventListener("load",ni);i.ready()}function fe(n,t){return t.toUpperCase()}function y(n){return n.replace(re,"ms-").replace(ue,fe)}function at(){this.expando=i.expando+at.uid++}function se(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:ee.test(n)?JSON.parse(n):n}function nu(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(oe,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=se(i)}catch(u){}o.set(n,t,i)}else i=undefined;return i}function ru(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||e!=="px"&&+o)&&vt.exec(i.css(n,t));if(f&&f[3]!==e){for(o=o/2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f=f/h;f=f*2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function he(n){var r,f=n.ownerDocument,u=n.nodeName,t=ai[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),ai[u]=t,t)}function ft(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&ti(u)&&(f[i]=he(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function s(n,t){var r;return(r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[],t===undefined||t&&v(n,t))?i.merge([n],r):r}function vi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function su(n,t,r,u,f){for(var e,o,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||e===0)if(it(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(ou.test(e)){for(o=o||h.appendChild(t.createElement("div")),p=(fu.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);o=h.firstChild;o.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=i.contains(e.ownerDocument,e),o=s(h.appendChild(e),"script"),w&&vi(o),r)for(v=0;e=o[v++];)eu.test(e.type||"")&&r.push(e)}return h}function ri(){return!0}function et(){return!1}function cu(){try{return f.activeElement}catch(n){}}function yi(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)yi(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=et;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function lu(n,t){return v(n,"table")&&v(t.nodeType!==11?t:t.firstChild,"tr")?i(n).children("tbody")[0]||n:n}function we(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function be(n){return(n.type||"").slice(0,5)==="true/"?n.type=n.type.slice(5):n.removeAttribute("type"),n}function au(n,t){var f,c,e,s,h,l,a,u;if(t.nodeType===1){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),u=s.events,u)){delete h.handle;h.events={};for(e in u)for(f=0,c=u[e].length;f<c;f++)i.event.add(t,e,u[e][f])}o.hasData(n)&&(l=o.access(n),a=i.extend({},l),o.set(t,a))}}function ke(n,t){var i=t.nodeName.toLowerCase();i==="input"&&uu.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function ot(n,t,f,o){t=er.apply([],t);var a,w,l,v,h,b,c=0,y=n.length,d=y-1,p=t[0],k=u(p);if(k||y>1&&typeof p=="string"&&!e.checkClone&&ye.test(p))return n.each(function(i){var r=n.eq(i);k&&(t[0]=p.call(this,i,r.html()));ot(r,t,f,o)});if(y&&(a=su(t,n[0].ownerDocument,!1,n,o),w=a.firstChild,a.childNodes.length===1&&(a=w),w||o)){for(l=i.map(s(a,"script"),we),v=l.length;c<y;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(b=l[l.length-1].ownerDocument,i.map(l,be),c=0;c<v;c++)h=l[c],eu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(b,h)&&(h.src&&(h.type||"").toLowerCase()!=="module"?i._evalUrl&&i._evalUrl(h.src):hr(h.textContent.replace(pe,""),b,h))}return n}function vu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(s(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&vi(s(u,"script")),u.parentNode.removeChild(u));return n}function yt(n,t,r){var o,s,h,u,f=n.style;return r=r||ui(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),!e.pixelBoxStyles()&&pi.test(u)&&de.test(t)&&(o=f.width,s=f.minWidth,h=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=o,f.minWidth=s,f.maxWidth=h)),u!==undefined?u+"":u}function yu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function to(n){if(n in ku)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=bu.length;t--;)if(n=bu[t]+i,n in ku)return n}function du(n){var t=i.cssProps[n];return t||(t=i.cssProps[n]=to(n)||n),t}function gu(n,t,i){var r=vt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function wi(n,t,r,u,f,e){var o=t==="width"?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)r==="margin"&&(s+=i.css(n,r+w[o],!0,f)),u?(r==="content"&&(s-=i.css(n,"padding"+w[o],!0,f)),r!=="margin"&&(s-=i.css(n,"border"+w[o]+"Width",!0,f))):(s+=i.css(n,"padding"+w[o],!0,f),r!=="padding"?s+=i.css(n,"border"+w[o]+"Width",!0,f):h+=i.css(n,"border"+w[o]+"Width",!0,f));return!u&&e>=0&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))),s}function nf(n,t,r){var f=ui(n),u=yt(n,t,f),s=i.css(n,"boxSizing",!1,f)==="border-box",o=s;if(pi.test(u)){if(!r)return u;u="auto"}return o=o&&(e.boxSizingReliable()||u===n.style[t]),u!=="auto"&&(parseFloat(u)||i.css(n,"display",!1,f)!=="inline")||(u=n["offset"+t[0].toUpperCase()+t.slice(1)],o=!0),u=parseFloat(u)||0,u+wi(n,t,r||(s?"border":"content"),o,f,u)+"px"}function h(n,t,i,r,u){return new h.prototype.init(n,t,i,r,u)}function bi(){fi&&(f.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(bi):n.setTimeout(bi,i.fx.interval),i.fx.tick())}function uf(){return n.setTimeout(function(){st=undefined}),st=Date.now()}function ei(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function ff(n,t,i){for(var u,f=(a.tweeners[t]||[]).concat(a.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function io(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&ti(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],tf.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==undefined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(ft([n],!0),o=n.style.display||o,l=i.css(n,"display"),ft([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&ft([n],!0),v.done(function(){a||ft([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=ff(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function ro(n,t){var r,f,e,u,o;for(r in n)if(f=y(r),e=t[f],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function a(n,t,r){var o,s,h=0,v=a.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=st||uf(),t=Math.max(0,f.startTime+f.duration-o),h=t/f.duration||0,i=1-h,r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return(e.notifyWith(n,[f,i,t]),i<1&&u)?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:st||uf(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(ro(c,f.opts.specialEasing);h<v;h++)if(o=a.prefilters[h].call(f,n,c,f.opts),o)return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,ff,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function g(n){var t=n.match(l)||[];return t.join(" ")}function nt(n){return n.getAttribute&&n.getAttribute("class")||""}function ki(n){return Array.isArray(n)?n:typeof n=="string"?n.match(l)||[]:[]}function tr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||uo.test(n)?u(n,i):tr(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||it(t)!=="object")u(n,t);else for(f in t)tr(n+"["+f+"]",t[f],r,u)}function yf(n){return function(t,i){typeof t!="string"&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(l)||[];if(u(i))while(r=e[f++])r[0]==="+"?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function pf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===ir;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ur(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function vo(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function yo(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}var k=[],f=n.document,df=Object.getPrototypeOf,d=k.slice,er=k.concat,si=k.push,wt=k.indexOf,bt={},or=bt.toString,kt=bt.hasOwnProperty,sr=kt.toString,gf=sr.call(Object),e={},u=function(n){return typeof n=="function"&&typeof n.nodeType!="number"},tt=function(n){return n!=null&&n===n.window},ne={type:!0,src:!0,noModule:!0},cr="3.3.1",i=function(n,t){return new i.fn.init(n,t)},te=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,b,ci,vr,yr,pr,wr,br,l,gr,gt,lt,ai,ou,st,fi,tf,rf,ef,ht,of,sf,hf,di,gi,wf,ct,fr,oi,bf,kf;i.fn=i.prototype={jquery:cr,constructor:i,length:0,toArray:function(){return d.call(this)},get:function(n){return n==null?d.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:si,sort:k.sort,splice:k.splice};i.extend=i.fn.extend=function(){var o,e,r,t,s,h,n=arguments[0]||{},f=1,l=arguments.length,c=!1;for(typeof n=="boolean"&&(c=n,n=arguments[f]||{},f++),typeof n=="object"||u(n)||(n={}),f===l&&(n=this,f--);f<l;f++)if((o=arguments[f])!=null)for(e in o)(r=n[e],t=o[e],n!==t)&&(c&&t&&(i.isPlainObject(t)||(s=Array.isArray(t)))?(s?(s=!1,h=r&&Array.isArray(r)?r:[]):h=r&&i.isPlainObject(r)?r:{},n[e]=i.extend(c,h,t)):t!==undefined&&(n[e]=t));return n};i.extend({expando:"jQuery"+(cr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!n||or.call(n)!=="[object Object]"?!1:(t=df(n),!t)?!0:(i=kt.call(t,"constructor")&&t.constructor,typeof i=="function"&&sr.call(i)===gf)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n){hr(n)},each:function(n,t){var r,i=0;if(hi(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return n==null?"":(n+"").replace(te,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(hi(Object(n))?i.merge(r,typeof n=="string"?[n]:n):si.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:wt.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(hi(n))for(e=n.length;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return er.apply([],f)},guid:1,support:e});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=k[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){bt["[object "+t+"]"]=t.toLowerCase()});b=function(n){function u(n,t,r,u){var s,w,l,a,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||v!==1&&v!==9&&v!==11)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(v!==11&&(d=cr.exec(n)))if(s=d[1]){if(v===9)if(l=t.getElementById(s)){if(l.id===s)return r.push(l),r}else return r;else if(p&&(l=p.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=d[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(e.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(v!==1)p=t,g=n;else if(t.nodeName.toLowerCase()!=="object"){for((a=t.getAttribute("id"))?a=a.replace(vi,yi):t.setAttribute("id",a=f),y=ft(n),w=y.length;w--;)y[w]="#"+a+" "+yt(y[w]);g=y.join(",");p=ni.test(n)&&ri(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(nt){}finally{a===f&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ti(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[f]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function vr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function bi(n){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&lr(t)===n:t.disabled===n:"label"in t?t.disabled===n:!1}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function ki(){}function yt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function pt(n,t,i){var r=t.dir,u=t.next,e=u||r,o=i&&e==="parentNode",s=di++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[f]||(t[f]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[e])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[e]=y,y[2]=n(t,i,h))return!0}return!1}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function yr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function wt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function fi(n,t,i,r,u,e){return r&&!r[f]&&(r=fi(r)),u&&!u[f]&&(u=fi(u,e)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||yr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?wt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=wt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=wt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=pt(function(n){return n===o},c,!0),a=pt(function(n){return nt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])e=[pt(ui(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(e),i>1&&yt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&yt(n))}e.push(u)}return ui(e)}function pr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=nr.call(l));w=wt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,e,t,st,oi,ft,bt,si,ht,w,ut,b,i,s,h,o,d,ct,et,f="sizzle"+1*new Date,c=n.document,v=0,di=0,hi=ti(),ci=ti(),lt=ti(),kt=function(n,t){return n===t&&(ut=!0),0},gi={}.hasOwnProperty,g=[],nr=g.pop,tr=g.push,k=g.push,li=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},dt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ai="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",gt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ai+")*)|.*)\\)|)",ir=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),rr=new RegExp("^"+r+"*,"+r+"*"),ur=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),fr=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),er=new RegExp(gt),or=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+ai),PSEUDO:new RegExp("^"+gt),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("^(?:"+dt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ni=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},vi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,yi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},pi=function(){b()},lr=pt(function(n){return n.disabled===!0&&("form"in n||"label"in n)},{dir:"parentNode",next:"legend"});try{k.apply(g=li.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(wr){k={apply:g.length?function(n,t){tr.apply(n,li.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}e=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l===i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,h=!oi(i),c!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),e.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=ot.test(i.getElementsByClassName),e.getById=a(function(n){return s.appendChild(n).id=f,!i.getElementsByName||!i.getElementsByName(f).length}),e.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i,u,f,r=t.getElementById(n);if(r){if(i=r.getAttributeNode("id"),i&&i.value===n)return[r];for(f=t.getElementsByName(n),u=0;r=f[u++];)if(i=r.getAttributeNode("id"),i&&i.value===n)return[r]}return[]}}),t.find.TAG=e.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):e.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&h)return t.getElementsByClassName(n)},d=[],o=[],(e.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+dt+")");n.querySelectorAll("[id~="+f+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+f+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(e.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){e.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",gt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},kt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!e.sortDetached&&t.compareDocumentPosition(n)===r)?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:r&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return wi(n,t)}else return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0},i)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(fr,"='$1']"),e.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||e.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(f){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var f=t.attrHandle[r.toLowerCase()],u=f&&gi.call(t.attrHandle,r.toLowerCase())?f(n,r,!h):undefined;return u!==undefined?u:e.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(vi,yi)};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!e.detectDuplicates,w=!e.sortStable&&n.slice(0),n.sort(kt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&er.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(ir," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",e=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=e&&t.nodeName.toLowerCase(),g=!h&&!e,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(e?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((e?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[f]?r(i):r.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,e)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=bt(n.replace(at,"$1"));return i[f]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return or.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:bi(!1),disabled:bi(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=ar(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=vr(rt);return ki.prototype=t.filters=t.pseudos,t.setFilters=new ki,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=rr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=ur.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},bt=u.compile=function(n,t){var r,u=[],e=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[f]?u.push(i):e.push(i);i=lt(n,pr(e,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var o,f,e,l,a,c=typeof n=="function"&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],s.length===1){if(f=s[0]=s[0].slice(0),f.length>2&&(e=f[0]).type==="ID"&&i.nodeType===9&&h&&t.relative[f[1].type]){if(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ni.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),n=u.length&&yt(f),!n)return k.apply(r,u),r;break}}}return(c||bt(n,s))(u,i,!h,r,!i||ni.test(n)&&ri(i.parentNode)||i),r},e.sortStable=f.split("").sort(kt).join("")===f,e.detectDuplicates=!!ut,b(),e.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),a(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),e.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(dt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=b;i.expr=b.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=b.uniqueSort;i.text=b.getText;i.isXMLDoc=b.isXML;i.contains=b.contains;i.escapeSelector=b.escape;var rt=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},lr=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},ar=i.expr.match.needsContext;ci=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(li(this,n||[],!1))},not:function(n){return this.pushStack(li(this,n||[],!0))},is:function(n){return!!li(this,typeof n=="string"&&ar.test(n)?i(n):n||[],!1).length}});yr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;pr=i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||vr,typeof n=="string"){if(e=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:yr.exec(n),e&&(e[1]||!t)){if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),ci.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return o=f.getElementById(e[2]),o&&(this[0]=o,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};pr.prototype=i.fn;vr=i(f);wr=/^(?:parents|prev(?:Until|All))/;br={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e=typeof n!="string"&&i(n);if(!ar.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?wt.call(i(n),this[0]):wt.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return rt(n,"parentNode")},parentsUntil:function(n,t,i){return rt(n,"parentNode",i)},next:function(n){return kr(n,"nextSibling")},prev:function(n){return kr(n,"previousSibling")},nextAll:function(n){return rt(n,"nextSibling")},prevAll:function(n){return rt(n,"previousSibling")},nextUntil:function(n,t,i){return rt(n,"nextSibling",i)},prevUntil:function(n,t,i){return rt(n,"previousSibling",i)},siblings:function(n){return lr((n.parentNode||{}).firstChild,n)},children:function(n){return lr(n.firstChild)},contents:function(n){return v(n,"iframe")?n.contentDocument:(v(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(br[n]||i.uniqueSort(f),wr.test(n)&&f.reverse()),this.pushStack(f)}});l=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){n=typeof n=="string"?ie(n):i.extend({},n);var o,r,c,f,t=[],s=[],e=-1,l=function(){for(f=f||n.once,c=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)t[e].apply(r[0],r[1])===!1&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},h={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&h.has(r)||t.push(r):r&&r.length&&it(r)!=="string"&&f(r)})}(arguments),r&&!o&&l()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],s.push(t),o||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h};i.extend({Deferred:function(t){var f=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,e){function s(t,r,f,e){return function(){var h=this,c=arguments,a=function(){var n,i;if(!(t<o)){if(n=f.apply(h,c),n===r.promise())throw new TypeError("Thenable self-resolution");i=n&&(typeof n=="object"||typeof n=="function")&&n.then;u(i)?e?i.call(n,s(o,r,ut,e),s(o,r,dt,e)):(o++,i.call(n,s(o,r,ut,e),s(o,r,dt,e),s(o,r,ut,r.notifyWith))):(f!==ut&&(h=undefined,c=[n]),(e||r.resolveWith)(h,c))}},l=e?a:function(){try{a()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,l.stackTrace);t+1>=o&&(f!==dt&&(h=undefined,c=[n]),r.rejectWith(h,c))}};t?l():(i.Deferred.getStackHook&&(l.stackTrace=i.Deferred.getStackHook()),n.setTimeout(l))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ut,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ut));f[2][3].add(s(0,n,u(r)?r:dt))}).promise()},promise:function(n){return n!=null?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),e.promise(r),t&&t.call(r,r),r},when:function(n){var e=arguments.length,t=e,o=Array(t),f=d.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=arguments.length>1?d.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(dr(n,r.done(s(t)).resolve,r.reject,!e),r.state()==="pending"||u(f[t]&&f[t].then)))return r.then();while(t--)dr(f[t],s(t),r.reject);return r.promise()}});gr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&gr.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};gt=i.Deferred();i.fn.ready=function(n){return gt.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||gt.resolveWith(f,[i])}});i.ready.then=gt.then;f.readyState!=="complete"&&(f.readyState==="loading"||f.documentElement.doScroll)?(f.addEventListener("DOMContentLoaded",ni),n.addEventListener("load",ni)):n.setTimeout(i.ready);var p=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=r==null;if(it(r)==="object"){e=!0;for(h in r)p(n,t,h,r[h],!0,o,s)}else if(f!==undefined&&(e=!0,u(f)||(s=!0),c&&(s?(t.call(n,f),t=null):(c=t,t=function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},re=/^-ms-/,ue=/-([a-z])/g;lt=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};at.uid=1;at.prototype={cache:function(n){var t=n[this.expando];return t||(t={},lt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if(typeof t=="string")u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(Array.isArray(t)?t=t.map(y):(t=y(t),t=t in r?[t]:t.match(l)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new at,o=new at,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,oe=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var f,u,e,i=this[0],s=i&&i.attributes;if(n===undefined){if(this.length&&(e=o.get(i),i.nodeType===1&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&(u=s[f].name,u.indexOf("data-")===0&&(u=y(u.slice(5)),nu(i,u,e[u])));r.set(i,"hasDataAttrs",!0)}return e}return typeof n=="object"?this.each(function(){o.set(this,n)}):p(this,function(t){var r;if(i&&t===undefined)return(r=o.get(i,n),r!==undefined)?r:(r=nu(i,n),r!==undefined)?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){o.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var tu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,vt=new RegExp("^(?:([+-])=|)("+tu+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],ti=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&i.contains(n.ownerDocument,n)&&i.css(n,"display")==="none"},iu=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};ai={};i.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){ti(this)?i(this).show():i(this).hide()})}});var uu=/^(?:checkbox|radio)$/i,fu=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,eu=/^$|^module$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;ou=/<|&#?\w+;/,function(){var i=f.createDocumentFragment(),n=i.appendChild(f.createElement("div")),t=f.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);e.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var ii=f.documentElement,ce=/^key/,le=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,hu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,h,s,c,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),e&&i.find.matchesSelector(ii,e),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(l)||[""],b=t.length;b--;)(w=hu.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(c=p[o])||(c=p[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,h,v,p,s,c,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(l)||[""],p=t.length;p--;){if(h=hu.exec(t[p])||[],o=d=h[1],b=(h[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(c=i.event.special[o]||{},o=(f?c.delegateType:c.bindType)||o,a=v[o]||[],h=h[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!h||h.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(a.splice(y,1),s.selector&&a.delegateCount--,c.remove&&c.remove.call(n,s));k&&!a.length&&(c.teardown&&c.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var t=i.event.fix(n),u,c,s,e,f,l,h=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,e,u,o,s,c=[],h=t.delegateCount,r=n.target;if(h&&r.nodeType&&!(n.type==="click"&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&!(n.type==="click"&&r.disabled===!0)){for(o=[],s={},f=0;f<h;f++)e=t[f],u=e.selector+" ",s[u]===undefined&&(s[u]=e.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),s[u]&&o.push(e);o.length&&c.push({elem:r,handlers:o})}return r=this,h<t.length&&c.push({elem:r,handlers:t.slice(h)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cu()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===cu()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&v(this,"input"))return this.click(),!1},_default:function(n){return v(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?ri:et,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ri;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ri;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ri;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&ce.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&le.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return yi(this,n,t,i,r)},one:function(n,t,i,r){return yi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=et),this.each(function(){i.event.remove(this,n,r,t)})}});var ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ve=/<script|<style|<link/i,ye=/checked\s*(?:[^=]|=\s*.checked.)/i,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(ae,"<$1><\/$2>")},clone:function(n,t,r){var u,c,o,f,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!e.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=s(h),o=s(n),u=0,c=o.length;u<c;u++)ke(o[u],f[u]);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)au(o[u],f[u]);else au(n,h);return f=s(h,"script"),f.length>0&&vi(f,!l&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;(t=n[e])!==undefined;e++)if(lt(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=undefined}t[o.expando]&&(t[o.expando]=undefined)}}});i.fn.extend({detach:function(n){return vu(this,n,!0)},remove:function(n){return vu(this,n)},text:function(n){return p(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return ot(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=lu(this,n);t.appendChild(n)}})},prepend:function(){return ot(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=lu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return ot(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return ot(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return p(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!ve.test(n)&&!c[(fu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return ot(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),si.apply(f,u.get());return this.pushStack(f)}});var pi=new RegExp("^("+tu+")(?!px)[a-z%]+$","i"),ui=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},de=new RegExp(w.join("|"),"i");(function(){function r(){if(t){o.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";ii.appendChild(o).appendChild(t);var i=n.getComputedStyle(t);s=i.top!=="1%";a=u(i.marginLeft)===12;t.style.right="60%";l=u(i.right)===36;h=u(i.width)===36;t.style.position="absolute";c=t.offsetWidth===36||"absolute";ii.removeChild(o);t=null}}function u(n){return Math.round(parseFloat(n))}var s,h,c,l,a,o=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle=t.style.backgroundClip==="content-box",i.extend(e,{boxSizingReliable:function(){return r(),h},pixelBoxStyles:function(){return r(),l},pixelPosition:function(){return r(),s},reliableMarginLeft:function(){return r(),a},scrollboxSize:function(){return r(),c}}))})();var ge=/^(none|table(?!-c[ea]).+)/,pu=/^--/,no={position:"absolute",visibility:"hidden",display:"block"},wu={letterSpacing:"0",fontWeight:"400"},bu=["Webkit","Moz","ms"],ku=f.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=yt(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var f,s,o,c=y(t),l=pu.test(t),h=n.style;if(l||(t=du(c)),o=i.cssHooks[t]||i.cssHooks[c],r!==undefined){if(s=typeof r,s==="string"&&(f=vt.exec(r))&&f[1]&&(r=ru(n,t,f),s="number"),r==null||r!==r)return;s==="number"&&(r+=f&&f[3]||(i.cssNumber[c]?"":"px"));e.clearCloneStyle||r!==""||t.indexOf("background")!==0||(h[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(l?h.setProperty(t,r):h[t]=r)}else return o&&"get"in o&&(f=o.get(n,!1,u))!==undefined?f:h[t]}},css:function(n,t,r,u){var f,o,e,s=y(t),h=pu.test(t);return(h||(t=du(s)),e=i.cssHooks[t]||i.cssHooks[s],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=yt(n,t,u)),f==="normal"&&t in wu&&(f=wu[t]),r===""||r)?(o=parseFloat(f),r===!0||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return ge.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?iu(n,no,function(){return nf(n,t,u)}):nf(n,t,u)},set:function(n,r,u){var s,f=ui(n),h=i.css(n,"boxSizing",!1,f)==="border-box",o=u&&wi(n,t,u,h,f);return h&&e.scrollboxSize()===f.position&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-wi(n,t,"border",!1,f)-.5)),o&&(s=vt.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),gu(n,r,o)}}});i.cssHooks.marginLeft=yu(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(yt(n,"marginLeft"))||n.getBoundingClientRect().left-iu(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};n!=="margin"&&(i.cssHooks[n+t].set=gu)});i.fn.extend({css:function(n,t){return p(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=ui(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=h;h.prototype={constructor:h,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=h.propHooks[this.prop];return n&&n.get?n.get(this):h.propHooks._default.get(this)},run:function(n){var t,r=h.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):h.propHooks._default.set(this),this}};h.prototype.init.prototype=h.prototype;h.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};h.propHooks.scrollTop=h.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=h.prototype.init;i.fx.step={};tf=/^(?:toggle|show|hide)$/;rf=/queueHooks$/;i.Animation=i.extend(a,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return ru(i.elem,n,vt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(l);for(var i,r=0,f=n.length;r<f;r++)i=n[r],a.tweeners[i]=a.tweeners[i]||[],a.tweeners[i].unshift(t)},prefilters:[io],prefilter:function(n,t){t?a.prefilters.unshift(n):a.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=0:typeof f.duration!="number"&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),(f.queue==null||f.queue===!0)&&(f.queue="fx"),f.old=f.complete,f.complete=function(){u(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(ti).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=a(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&rf.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(ei(t,!0),n,i,u)}});i.each({slideDown:ei("show"),slideUp:ei("hide"),slideToggle:ei("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(st=Date.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();st=undefined};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){fi||(fi=!0,bi())};i.fx.stop=function(){fi=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=f.createElement("input"),t=f.createElement("select"),i=t.appendChild(f.createElement("option"));n.type="checkbox";e.checkOn=n.value!=="";e.optSelected=i.selected;n=f.createElement("input");n.value="t";n.type="radio";e.radioValue=n.value==="t"}();ht=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return p(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?ef:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&t==="radio"&&v(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(l);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});ef={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=ht[t]||i.find.attr;ht[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=ht[u],ht[u]=f,f=r(n,t,i)!=null?u:null,ht[u]=e),f}});of=/^(?:input|select|textarea|button)$/i;sf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return p(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):of.test(n.nodeName)||sf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,nt(this)))});if(f=ki(n),f.length)while(r=this[c++])if(e=nt(r),t=r.nodeType===1&&" "+g(e)+" ",t){for(h=0;o=f[h++];)t.indexOf(" "+o+" ")<0&&(t+=o+" ");s=g(t);e!==s&&r.setAttribute("class",s)}return this},removeClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,nt(this)))});if(!arguments.length)return this.attr("class","");if(f=ki(n),f.length)while(r=this[c++])if(e=nt(r),t=r.nodeType===1&&" "+g(e)+" ",t){for(h=0;o=f[h++];)while(t.indexOf(" "+o+" ")>-1)t=t.replace(" "+o+" "," ");s=g(t);e!==s&&r.setAttribute("class",s)}return this},toggleClass:function(n,t){var f=typeof n,e=f==="string"||Array.isArray(n);return typeof t=="boolean"&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,nt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=ki(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(n===undefined||f==="boolean")&&(t=nt(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+g(nt(t))+" ").indexOf(i)>-1)return!0;return!1}});hf=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;this.nodeType===1&&(u=e?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(f,"value"))!==undefined)?r:(r=f.value,typeof r=="string")?r.replace(hf,""):r==null?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:g(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f=n.type==="select-one",s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(t=o[r],(t.selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!v(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};e.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});e.focusin="onfocusin"in n;di=/^(?:focusinfocus|focusoutblur)$/;gi=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,w,b=[o||f],h=kt.call(t,"type")?t.type:t,p=kt.call(t,"namespace")?t.namespace.split("."):[];if((c=w=l=o=o||f,o.nodeType!==3&&o.nodeType!==8)&&!di.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),v=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=s?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=o),e=e==null?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||a.trigger.apply(o,e)!==!1)){if(!s&&!a.noBubble&&!tt(o)){for(d=a.delegateType||h,di.test(d+h)||(c=c.parentNode);c;c=c.parentNode)b.push(c),l=c;l===(o.ownerDocument||f)&&b.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=b[k++])&&!t.isPropagationStopped();)w=c,t.type=k>1?d:a.bindType||h,y=(r.get(c,"events")||{})[t.type]&&r.get(c,"handle"),y&&y.apply(c,e),y=v&&c[v],y&&y.apply&&lt(c)&&(t.result=y.apply(c,e),t.result===!1&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||(!a._default||a._default.apply(b.pop(),e)===!1)&&lt(o)&&v&&u(o[h])&&!tt(o)&&(l=o[v],l&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&w.addEventListener(h,gi),o[h](),t.isPropagationStopped()&&w.removeEventListener(h,gi),i.event.triggered=undefined,l&&(o[v]=l)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});e.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var pt=n.location,cf=Date.now(),nr=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var uo=/\[\]$/,lf=/\r?\n/g,fo=/^(?:submit|button|image|reset|file)$/i,eo=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,f=[],e=function(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(i==null?"":i)};if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)tr(r,n[r],t,e);return f.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&eo.test(this.nodeName)&&!fo.test(n)&&(this.checked||!uu.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(lf,"\r\n")}}):{name:t.name,value:r.replace(lf,"\r\n")}}).get()}});var oo=/%20/g,so=/#.*$/,ho=/([?&])_=[^&]*/,co=/^(.*?):[ \t]*([^\r\n]*)$/mg,lo=/^(?:GET|HEAD)$/,ao=/^\/\//,af={},ir={},vf="*/".concat("*"),rr=f.createElement("a");return rr.href=pt.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(pt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":vf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ur(ur(n,i.ajaxSettings),t):ur(i.ajaxSettings,n)},ajaxPrefilter:yf(af),ajaxTransport:yf(ir),ajax:function(t,r){function b(t,r,f,l){var y,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),c=undefined,k=l||"",e.readyState=t>0?4:0,y=t>=200&&t<300||t===304,f&&(p=vo(u,e,f)),p=yo(u,p,e,y),y?(u.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||u.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,y=!g)):(g=a,(t||!a)&&(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",y?tt.resolveWith(h,[rt,a,e]):tt.rejectWith(h,[e,a,g]),e.statusCode(w),w=undefined,v&&nt.trigger(y?"ajaxSuccess":"ajaxError",[e,u,y?rt:g]),it.fireWith(h,[e,a]),v&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var c,o,k,y,d,a,s,v,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!y)for(y={};t=co.exec(k);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return c&&c.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||pt.href)+"").replace(ao,pt.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(l)||[""],u.crossDomain==null){a=f.createElement("a");try{a.href=u.url;a.href=a.href;u.crossDomain=rr.protocol+"//"+rr.host!=a.protocol+"//"+a.host}catch(et){u.crossDomain=!0}}if(u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),pf(af,u,r,e),s)return e;v=i.event&&u.global;v&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!lo.test(u.type);o=u.url.replace(so,"");u.hasContent?u.data&&u.processData&&(u.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(u.data=u.data.replace(oo,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||typeof u.data=="string")&&(o+=(nr.test(o)?"&":"?")+u.data,delete u.data),u.cache===!1&&(o=o.replace(ho,"$1"),p=(nr.test(o)?"&":"?")+"_="+cf+++p),u.url=o+p);u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType);e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+vf+"; q=0.01":""):u.accepts["*"]);for(g in u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(u.beforeSend.call(h,e,u)===!1||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),c=pf(ir,u,r,e),c){if(e.readyState=1,v&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&u.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;c.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,f,e){return u(r)&&(e=e||f,f=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return u(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=u(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},wf={0:200,1223:204},ct=i.ajaxSettings.xhr(),e.cors=!!ct&&"withCredentials"in ct,e.ajax=ct=!!ct,i.ajaxTransport(function(t){var i,r;if(e.cors||ct&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.ontimeout=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(wf[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(u,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}}),fr=[],oi=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=fr.pop()||i.expando+"_"+cf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=t.jsonp!==!1&&(oi.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&oi.test(t.data)&&"data");if(h||t.dataTypes[0]==="jsonp")return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(oi,"$1"+e):t.jsonp!==!1&&(t.url+=(nr.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){o===undefined?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,fr.push(e));s&&u(o)&&o(s[0]);s=o=undefined}),"script"}),e.createHTMLDocument=function(){var n=f.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,u,o;return(t||(e.createHTMLDocument?(t=f.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=f.location.href,t.head.appendChild(s)):t=f),u=ci.exec(n),o=!r&&[],u)?[t.createElement(u[1])]:(u=su([n],t,o),o&&o.length&&i(o).remove(),i.merge([],u.childNodes))},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return o>-1&&(f=g(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=undefined):t&&typeof t=="object"&&(s="POST"),e.length>0&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var o,s,h,c,f,l,y,a=i.css(n,"position"),v=i(n),e={};a==="static"&&(n.style.position="relative");f=v.offset();h=i.css(n,"top");l=i.css(n,"left");y=(a==="absolute"||a==="fixed")&&(h+l).indexOf("auto")>-1;y?(o=v.position(),c=o.top,s=o.left):(c=parseFloat(h)||0,s=parseFloat(l)||0);u(t)&&(t=t.call(n,r,i.extend({},f)));t.top!=null&&(e.top=t.top-f.top+c);t.left!=null&&(e.left=t.left-f.left+s);"using"in t?t.using.call(n,e):v.css(e)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,u,f,t=this[0],r={top:0,left:0};if(i.css(t,"position")==="fixed")u=t.getBoundingClientRect();else{for(u=this.offset(),f=t.ownerDocument,n=t.offsetParent||f.documentElement;n&&(n===f.body||n===f.documentElement)&&i.css(n,"position")==="static";)n=n.parentNode;n&&n!==t&&n.nodeType===1&&(r=i(n).offset(),r.top+=i.css(n,"borderTopWidth",!0),r.left+=i.css(n,"borderLeftWidth",!0))}return{top:u.top-r.top-i.css(t,"marginTop",!0),left:u.left-r.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||ii})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return p(this,function(n,i,u){var f;if(tt(n)?f=n:n.nodeType===9&&(f=n.defaultView),u===undefined)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=yu(e.pixelPosition,function(n,r){if(r)return r=yt(n,t),pi.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return p(this,function(t,r,f){var e;return tt(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}}),i.proxy=function(n,t){var f,e,r;return(typeof t=="string"&&(f=n[t],t=n,n=f),!u(n))?undefined:(e=d.call(arguments,2),r=function(){return n.apply(t||this,e.concat(d.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=v,i.isFunction=u,i.isWindow=tt,i.camelCase=y,i.type=it,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),bf=n.jQuery,kf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=kf),t&&n.jQuery===i&&(n.jQuery=bf),i},t||(n.jQuery=n.$=i),i})},{}],14:[function(n,t){"use strict";var r=n("jquery"),h=n("c2-event-handler"),s=h({}),i={},y=0,u=[],c=[],e={zIndexStart:1e3,appendTo:document.forms.length>0&&document.forms[0].parentElement===document.body?document.forms[0]:document.body},l={overlayHTML:'<div class="Overlay" data-state="off"><\/div>',attr:"data-state",onState:"on",offState:"off",verticallyCenterModal:!0},a=function(n){var t=r(window).height(),i=n.outerHeight(),u=r(window).scrollTop();return Math.max((t-i)/2,0)+u},o=function(){return u.length===0?null:u[u.length-1]},f=function(n,t,i){this.$el=n;this.el=n[0];this.id=t;this.opts=r.extend({},l,i);this.isOpen=!1;this.opts.overlayHTML&&(this.$overlay=r(this.opts.overlayHTML),this.$overlay.appendTo(e.appendTo));this.$el.appendTo(e.appendTo);this.$el.attr({tabindex:"-1",role:"dialog"})},v;h(f);f.prototype.open=function(){if(!this.isOpen){this.isOpen=!0;u.push(this);c.push(document.activeElement);var n={zIndex:e.zIndexStart+u.length};this.opts.overlayHTML&&this.$overlay.css(n).attr(this.opts.attr,this.opts.onState);this.opts.verticallyCenterModal&&(n.top=a(this.$el));this.$el.css(n).attr(this.opts.attr,this.opts.onState);this.emit("open");s.emit("open",this)}};f.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var n=u.indexOf(this),t;n>-1&&(u.splice(n,1),t=c.splice(n,1)[0]);this.opts.overlayHTML&&this.$overlay.attr(this.opts.attr,this.opts.offState);this.$el.attr(this.opts.attr,this.opts.offState);t.focus();this.emit("close");s.emit("close",this)}};f.prototype.verticallyCenter=function(){this.$el.css({top:a(this.$el)})};var p=function(n){r.extend(e,n)},w=function(n){r.extend(l,n)},b=function(n,t){var u,e,o;return typeof n=="string"&&(u=n.indexOf("#")===0?n.substr(1):n,i.hasOwnProperty(u))?i[u]:(e=r(n),!e.length)?void 0:(u=e[0].id||"_"+ ++y,i.hasOwnProperty(u))?i[u]:(o=new f(e,u,t),i[u]=o,o)},k=function(){while(u.length>0)o().close()},d=function(){var n=o();n&&n.close()},g=function(n){i.hasOwnProperty(n)&&i[n].open()},nt=function(n){i.hasOwnProperty(n)&&i[n].close()},tt=function(n){i.hasOwnProperty(n)&&i[n].verticallyCenter()};r(document).on("keydown",function(n){if(n.which===27){var t=o();t&&t.close()}}).on("focus","body",function(n){var t=o();t&&!t.el.contains(n.target)&&(n.stopPropagation(),t.el.focus())});v=r.extend(s,{config:p,setDefaults:w,create:b,closeAll:k,closeActive:d,open:g,close:nt,verticallyCenter:tt});t.exports=v},{"c2-event-handler":11,jquery:15}],15:[function(n,t){(function(n,i){"use strict";typeof t=="object"&&typeof t.exports=="object"?t.exports=n.document?i(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return i(n)}:i(n)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function gi(n,t){t=t||u;var i=t.createElement("script");i.text=n;t.head.appendChild(i).parentNode.removeChild(i)}function ui(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return r==="function"||i.isWindow(n)?!1:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function fi(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if(typeof t=="string"){if(gf.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return lt.call(t,n)>-1!==r&&n.nodeType===1})}function hr(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ne(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function d(n){return n}function yt(n){throw n;}function cr(n,t,r){var u;try{n&&i.isFunction(u=n.promise)?u.call(n).done(t).fail(r):n&&i.isFunction(u=n.then)?u.call(n,t,r):t.call(undefined,n)}catch(n){r.call(undefined,n)}}function wt(){u.removeEventListener("DOMContentLoaded",wt);n.removeEventListener("load",wt);i.ready()}function ot(){this.expando=i.expando+ot.uid++}function ar(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(ie,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=i==="true"?!0:i==="false"?!1:i==="null"?null:+i+""===i?+i:te.test(i)?JSON.parse(i):i}catch(u){}e.set(n,t,i)}else i=undefined;return i}function pr(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||o!=="px"&&+s)&&st.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f=f/e,i.style(n,t,f+o);while(e!==(e=c()/s)&&e!==1&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h)),h}function re(n){var r,f=n.ownerDocument,u=n.nodeName,t=ei[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),ei[u]=t,t)}function g(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&bt(u)&&(f[i]=re(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function o(n,t){var r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[];return t===undefined||t&&i.nodeName(n,t)?i.merge([n],r):r}function oi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function gr(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||e===0)if(i.type(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(dr.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(br.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&oi(s),r)for(v=0;e=s[v++];)kr.test(e.type||"")&&r.push(e)}return h}function dt(){return!0}function nt(){return!1}function tu(){try{return u.activeElement}catch(n){}}function si(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)si(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=nt;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function iu(n,t){return i.nodeName(n,"table")&&i.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n:n}function le(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function ae(n){var t=he.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ru(n,t){var f,c,o,s,h,l,a,u;if(t.nodeType===1){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),u=s.events,u)){delete h.handle;h.events={};for(o in u)for(f=0,c=u[o].length;f<c;f++)i.event.add(t,o,u[o][f])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function ve(n,t){var i=t.nodeName.toLowerCase();i==="input"&&wr.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function tt(n,t,u,e){t=bi.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,k=v-1,y=t[0],b=i.isFunction(y);if(b||v>1&&typeof y=="string"&&!f.checkClone&&se.test(y))return n.each(function(i){var r=n.eq(i);b&&(t[0]=y.call(this,i,r.html()));tt(r,t,u,e)});if(v&&(l=gr(t,n[0].ownerDocument,!1,n,e),p=l.firstChild,l.childNodes.length===1&&(l=p),p||e)){for(c=i.map(o(l,"script"),le),a=c.length;h<v;h++)s=l,h!==k&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,ae),h=0;h<a;h++)s=c[h],kr.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):gi(s.textContent.replace(ce,""),w))}return n}function uu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&oi(o(u,"script")),u.parentNode.removeChild(u));return n}function ht(n,t,r){var o,s,h,u,e=n.style;return r=r||gt(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),!f.pixelMarginRight()&&hi.test(u)&&fu.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h)),u!==undefined?u+"":u}function eu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function cu(n){if(n in hu)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=su.length;t--;)if(n=su[t]+i,n in hu)return n}function lu(n,t,i){var r=st.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function au(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:t==="width"?1:0,o=0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+w[e],!0,f)),u?(r==="content"&&(o-=i.css(n,"padding"+w[e],!0,f)),r!=="margin"&&(o-=i.css(n,"border"+w[e]+"Width",!0,f))):(o+=i.css(n,"padding"+w[e],!0,f),r!=="padding"&&(o+=i.css(n,"border"+w[e]+"Width",!0,f)));return o}function vu(n,t,r){var u,o=!0,e=gt(n),s=i.css(n,"boxSizing",!1,e)==="border-box";if(n.getClientRects().length&&(u=n.getBoundingClientRect()[t]),u<=0||u==null){if(u=ht(n,t,e),(u<0||u==null)&&(u=n.style[t]),hi.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+au(n,t,r||(s?"border":"content"),o,e)+"px"}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function wu(){rt&&(n.requestAnimationFrame(wu),i.fx.tick())}function bu(){return n.setTimeout(function(){it=undefined}),it=i.now()}function ni(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function ku(n,t,i){for(var u,f=(l.tweeners[t]||[]).concat(l.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function we(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&bt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],yu.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==undefined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(g([n],!0),o=n.style.display||o,l=i.css(n,"display"),g([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&g([n],!0),v.done(function(){a||g([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=ku(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function be(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function l(n,t,r){var f,o,s=0,a=l.prefilters.length,e=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=it||bu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,f=u.tweens.length;r<f;r++)u.tweens[r].run(i);return e.notifyWith(n,[u,i,t]),i<1&&f?t:(e.resolveWith(n,[u]),!1)},u=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:it||bu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?(e.notifyWith(n,[u,1,0]),e.resolveWith(n,[u,t])):e.rejectWith(n,[u,t]),this}}),h=u.props;for(be(h,u.opts.specialEasing);s<a;s++)if(f=l.prefilters[s].call(u,n,h,u.opts),f)return i.isFunction(f.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(f.stop,f)),f;return i.map(h,ku,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function b(n){return n.getAttribute&&n.getAttribute("class")||""}function ai(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||ke.test(n)?u(n,i):ai(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)ai(n+"["+f+"]",t[f],r,u)}function sf(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])u[0]==="+"?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function hf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===vi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function pi(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function eo(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function oo(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function lf(n){return i.isWindow(n)?n:n.nodeType===9&&n.defaultView}var y=[],u=n.document,yf=Object.getPrototypeOf,p=y.slice,bi=y.concat,ri=y.push,lt=y.indexOf,at={},ki=at.toString,vt=at.hasOwnProperty,di=vt.toString,pf=di.call(Object),f={},nr="3.0.0",i=function(n,t){return new i.fn.init(n,t)},wf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bf=/^-ms-/,kf=/-([a-z])/g,df=function(n,t){return t.toUpperCase()},v,ur,fr,er,or,sr,h,lr,pt,a,et,ei,dr,it,rt,yu,pu,du,ut,gu,nf,ti,tf,rf,ci,cf,ft,wi,ii,af,vf;i.fn=i.prototype={jquery:nr,constructor:i,length:0,toArray:function(){return p.call(this)},get:function(n){return n!=null?n<0?this[n+this.length]:this[n]:p.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(p.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ri,sort:y.sort,splice:y.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[u]||{},u++),typeof n=="object"||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if((e=arguments[u])!=null)for(f in e)(r=n[f],t=e[f],n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=i.isArray(t)))?(o?(o=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(nr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray,isWindow:function(n){return n!=null&&n===n.window},isNumeric:function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},isPlainObject:function(n){var t,i;return!n||ki.call(n)!=="[object Object]"?!1:(t=yf(n),!t)?!0:(i=vt.call(t,"constructor")&&t.constructor,typeof i=="function"&&di.call(i)===pf)},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?at[ki.call(n)]||"object":typeof n},globalEval:function(n){gi(n)},camelCase:function(n){return n.replace(bf,"ms-").replace(kf,df)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ui(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return n==null?"":(n+"").replace(wf,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(ui(Object(n))?i.merge(r,typeof n=="string"?[n]:n):ri.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:lt.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ui(n))for(e=n.length;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return bi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return(typeof t=="string"&&(u=n[t],t=n,n=u),!i.isFunction(n))?undefined:(f=p.call(arguments,2),r=function(){return n.apply(t||this,f.concat(p.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},now:Date.now,support:f});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=y[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){at["[object "+t+"]"]=t.toLowerCase()});v=function(n){function u(n,t,r,u){var s,w,l,a,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||v!==1&&v!==9&&v!==11)return r;if(!u&&((t?t.ownerDocument||t:h)!==i&&b(t),t=t||i,c)){if(v!==11&&(d=cr.exec(n)))if(s=d[1]){if(v===9)if(l=t.getElementById(s)){if(l.id===s)return r.push(l),r}else return r;else if(p&&(l=p.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=d[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(v!==1)p=t,g=n;else if(t.nodeName.toLowerCase()!=="object"){for((a=t.getAttribute("id"))?a=a.replace(vi,yi):t.setAttribute("id",a=e),y=ft(n),w=y.length;w--;)y[w]="#"+a+" "+yt(y[w]);g=y.join(",");p=ni.test(n)&&ri(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(nt){}finally{a===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ti(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function vr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function bi(n){return function(t){return"label"in t&&t.disabled===n||"form"in t&&t.disabled===n||"form"in t&&t.disabled===!1&&(t.isDisabled===n||t.isDisabled!==!n&&("label"in t||!lr(t))!==n)}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function ki(){}function yt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function pt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&f==="parentNode",s=di++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u)}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[e]||(t[e]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[f]=y,y[2]=n(t,i,h))return!0}}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function yr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function wt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function fi(n,t,i,r,u,f){return r&&!r[e]&&(r=fi(r)),u&&!u[e]&&(u=fi(u,f)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||yr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?wt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=wt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=wt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=pt(function(n){return n===o},c,!0),a=pt(function(n){return nt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])f=[pt(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(f),i>1&&yt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&yt(n))}f.push(u)}return ui(f)}function pr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,h,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),h=!c);d=n[nt++];)if(d(y,s||i,h)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,h);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=nr.call(l));w=wt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,f,t,st,oi,ft,bt,si,ht,w,ut,b,i,s,c,o,d,ct,et,e="sizzle"+1*new Date,h=n.document,v=0,di=0,hi=ti(),ci=ti(),lt=ti(),kt=function(n,t){return n===t&&(ut=!0),0},gi={}.hasOwnProperty,g=[],nr=g.pop,tr=g.push,k=g.push,li=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},dt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ai="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",gt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ai+")*)|.*)\\)|)",ir=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),rr=new RegExp("^"+r+"*,"+r+"*"),ur=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),fr=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),er=new RegExp(gt),or=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+ai),PSEUDO:new RegExp("^"+gt),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("^(?:"+dt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ni=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},vi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,yi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},pi=function(){b()},lr=pt(function(n){return n.disabled===!0},{dir:"parentNode",next:"legend"});try{k.apply(g=li.call(h.childNodes),h.childNodes);g[h.childNodes.length].nodeType}catch(wr){k={apply:g.length?function(n,t){tr.apply(n,li.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:h;return l===i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,c=!oi(i),h!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&c){var i=t.getElementById(n);return i?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=f.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&c)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+dt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",gt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},kt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!f.sortDetached&&t.compareDocumentPosition(n)===r)?n===i||n.ownerDocument===h&&et(h,n)?-1:t===i||t.ownerDocument===h&&et(h,t)?1:w?nt(w,n)-nt(w,t):0:r&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return wi(n,t)}else return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===h?-1:e[u]===h?1:0},i)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(fr,"='$1']"),f.matchesSelector&&c&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(e){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&gi.call(t.attrHandle,r.toLowerCase())?e(n,r,!c):undefined;return u!==undefined?u:f.attributes||!c?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(vi,yi)};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(kt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&er.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(ir," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",f=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((f?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=bt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return or.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:bi(!1),disabled:bi(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=ar(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=vr(rt);return ki.prototype=t.filters=t.pseudos,t.setFilters=new ki,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=rr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=ur.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},bt=u.compile=function(n,t){var r,u=[],f=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[e]?u.push(i):f.push(i);i=lt(n,pr(f,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var s,e,o,a,v,l=typeof n=="function"&&n,h=!u&&ft(n=l.selector||n);if(r=r||[],h.length===1){if(e=h[0]=h[0].slice(0),e.length>2&&(o=e[0]).type==="ID"&&f.getById&&i.nodeType===9&&c&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],i)l&&(i=i.parentNode);else return r;n=n.slice(e.shift().value.length)}for(s=vt.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(u=v(o.matches[0].replace(y,p),ni.test(e[0].type)&&ri(i.parentNode)||i))){if(e.splice(s,1),n=u.length&&yt(e),!n)return k.apply(r,u),r;break}}}return(l||bt(n,h))(u,i,!c,r,!i||ni.test(n)&&ri(i.parentNode)||i),r},f.sortStable=e.split("").sort(kt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),a(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(dt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=v;i.expr=v.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=v.uniqueSort;i.text=v.getText;i.isXMLDoc=v.isXML;i.contains=v.contains;i.escapeSelector=v.escape;var k=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},tr=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},ir=i.expr.match.needsContext,rr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,gf=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(fi(this,n||[],!1))},not:function(n){return this.pushStack(fi(this,n||[],!0))},is:function(n){return!!fi(this,typeof n=="string"&&ir.test(n)?i(n):n||[],!1).length}});fr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;er=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||ur,typeof n=="string"){if(f=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:fr.exec(n),f&&(f[1]||!t)){if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),rr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&(this[0]=e,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):i.isFunction(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};er.prototype=i.fn;ur=i(u);or=/^(?:parents|prev(?:Until|All))/;sr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e=typeof n!="string"&&i(n);if(!ir.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?lt.call(i(n),this[0]):lt.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return k(n,"parentNode")},parentsUntil:function(n,t,i){return k(n,"parentNode",i)},next:function(n){return hr(n,"nextSibling")},prev:function(n){return hr(n,"previousSibling")},nextAll:function(n){return k(n,"nextSibling")},prevAll:function(n){return k(n,"previousSibling")},nextUntil:function(n,t,i){return k(n,"nextSibling",i)},prevUntil:function(n,t,i){return k(n,"previousSibling",i)},siblings:function(n){return tr((n.parentNode||{}).firstChild,n)},children:function(n){return tr(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(sr[n]||i.uniqueSort(f),or.test(n)&&f.reverse()),this.pushStack(f)}});h=/\S+/g;i.Callbacks=function(n){n=typeof n=="string"?ne(n):i.extend({},n);var f,r,h,e,t=[],o=[],u=-1,c=function(){for(e=n.once,h=f=!0;o.length;u=-1)for(r=o.shift();++u<t.length;)t[u].apply(r[0],r[1])===!1&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);f=!1;e&&(t=r?[]:"")},s={add:function(){return t&&(r&&!f&&(u=t.length-1,o.push(r)),function e(r){i.each(r,function(r,u){i.isFunction(u)?n.unique&&s.has(u)||t.push(u):u&&u.length&&i.type(u)!=="string"&&e(u)})}(arguments),r&&!f&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var f;(f=i.inArray(r,t,f))>-1;)t.splice(f,1),f<=u&&u--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return e=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return e=o=[],r||f||(t=r=""),this},locked:function(){return!!e},fireWith:function(n,t){return e||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),f||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(t){var u=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],e="pending",f={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return f.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(u,function(u,f){var e=i.isFunction(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,f){function o(t,r,u,f){return function(){var s=this,h=arguments,l=function(){var n,c;if(!(t<e)){if(n=u.apply(s,h),n===r.promise())throw new TypeError("Thenable self-resolution");c=n&&(typeof n=="object"||typeof n=="function")&&n.then;i.isFunction(c)?f?c.call(n,o(e,r,d,f),o(e,r,yt,f)):(e++,c.call(n,o(e,r,d,f),o(e,r,yt,f),o(e,r,d,r.notifyWith))):(u!==d&&(s=undefined,h=[n]),(f||r.resolveWith)(s,h))}},c=f?l:function(){try{l()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,c.stackTrace);t+1>=e&&(u!==yt&&(s=undefined,h=[n]),r.rejectWith(s,h))}};t?c():(i.Deferred.getStackHook&&(c.stackTrace=i.Deferred.getStackHook()),n.setTimeout(c))}}var e=0;return i.Deferred(function(n){u[0][3].add(o(0,n,i.isFunction(f)?f:d,n.notifyWith));u[1][3].add(o(0,n,i.isFunction(t)?t:d));u[2][3].add(o(0,n,i.isFunction(r)?r:yt))}).promise()},promise:function(n){return n!=null?i.extend(n,f):f}},r={};return i.each(u,function(n,t){var i=t[2],o=t[5];f[t[1]]=i.add;o&&i.add(function(){e=o},u[3-n][2].disable,u[0][2].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),f.promise(r),t&&t.call(r,r),r},when:function(n){var f=arguments.length,t=f,e=Array(t),u=p.call(arguments),r=i.Deferred(),o=function(n){return function(t){e[n]=this;u[n]=arguments.length>1?p.call(arguments):t;--f||r.resolveWith(e,u)}};if(f<=1&&(cr(n,r.done(o(t)).resolve,r.reject),r.state()==="pending"||i.isFunction(u[t]&&u[t].then)))return r.then();while(t--)cr(u[t],o(t),r.reject);return r.promise()}});lr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&lr.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};pt=i.Deferred();i.fn.ready=function(n){return pt.then(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||pt.resolveWith(u,[i])}});i.ready.then=pt.then;u.readyState!=="complete"&&(u.readyState==="loading"||u.documentElement.doScroll)?(u.addEventListener("DOMContentLoaded",wt),n.addEventListener("load",wt)):n.setTimeout(i.ready);a=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=r==null;if(i.type(r)==="object"){f=!0;for(s in r)a(n,t,s,r[s],!0,e,o)}else if(u!==undefined&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};et=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};ot.uid=1;ot.prototype={cache:function(n){var t=n[this.expando];return t||(t={},et(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,r){var u,f=this.cache(n);if(typeof t=="string")f[i.camelCase(t)]=r;else for(u in t)f[i.camelCase(u)]=t[u];return f},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][i.camelCase(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(i.isArray(t)?t=t.map(i.camelCase):(t=i.camelCase(t),t=t in r?[t]:t.match(h)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new ot,e=new ot,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(n===undefined){if(this.length&&(s=e.get(u),u.nodeType===1&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,f.indexOf("data-")===0&&(f=i.camelCase(f.slice(5)),ar(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return typeof n=="object"?this.each(function(){e.set(this,n)}):a(this,function(t){var i;if(u&&t===undefined)return(i=e.get(u,n),i!==undefined)?i:(i=ar(u,n),i!==undefined)?i:void 0;this.each(function(){e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var vr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,st=new RegExp("^(?:([+-])=|)("+vr+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],bt=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&i.contains(n.ownerDocument,n)&&i.css(n,"display")==="none"},yr=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};ei={};i.fn.extend({show:function(){return g(this,!0)},hide:function(){return g(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){bt(this)?i(this).show():i(this).hide()})}});var wr=/^(?:checkbox|radio)$/i,br=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,kr=/^$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;dr=/<|&#?\w+;/,function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var kt=u.documentElement,ue=/^key/,fe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),e&&i.find.matchesSelector(kt,e),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(h)||[""],b=t.length;b--;)(w=nu.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;){if(c=nu.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!c||c.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var t=i.event.fix(n),u,c,s,e,f,l,h=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var e,u,f,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&(n.type!=="click"||isNaN(n.button)||n.button<1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&(r.disabled!==!0||n.type!=="click")){for(u=[],e=0;e<s;e++)o=t[e],f=o.selector+" ",u[f]===undefined&&(u[f]=o.needsContext?i(f,this).index(r)>-1:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:i.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==tu()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===tu()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&i.nodeName(this,"input"))return this.click(),!1},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?dt:nt,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=dt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=dt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=dt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&ue.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&fe.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return si(this,n,t,i,r)},one:function(n,t,i,r){return si(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=nt),this.each(function(){i.event.remove(this,n,r,t)})}});var ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,oe=/<script|<style|<link/i,se=/checked\s*(?:[^=]|=\s*.checked.)/i,he=/^true\/(.*)/,ce=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(ee,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!f.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(e=o(h),s=o(n),u=0,c=s.length;u<c;u++)ve(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;u<c;u++)ru(s[u],e[u]);else ru(n,h);return e=o(h,"script"),e.length>0&&oi(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;(t=n[o])!==undefined;o++)if(et(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=undefined}t[e.expando]&&(t[e.expando]=undefined)}}});i.fn.extend({detach:function(n){return uu(this,n,!0)},remove:function(n){return uu(this,n)},text:function(n){return a(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return tt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=iu(this,n);t.appendChild(n)}})},prepend:function(){return tt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=iu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return tt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return tt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return a(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!oe.test(n)&&!c[(br.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return tt(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ri.apply(f,u.get());return this.pushStack(f)}});var fu=/^margin/,hi=new RegExp("^("+vr+")(?!px)[a-z%]+$","i"),gt=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)};(function(){function r(){if(t){t.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";kt.appendChild(e);var i=n.getComputedStyle(t);o=i.top!=="1%";c=i.marginLeft==="2px";s=i.width==="4px";t.style.marginRight="50%";h=i.marginRight==="4px";kt.removeChild(e);t=null}}var o,s,h,c,e=u.createElement("div"),t=u.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle=t.style.backgroundClip==="content-box",e.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",e.appendChild(t),i.extend(f,{pixelPosition:function(){return r(),o},boxSizingReliable:function(){return r(),s},pixelMarginRight:function(){return r(),h},reliableMarginLeft:function(){return r(),c}}))})();var ye=/^(none|table(?!-c[ea]).+)/,pe={position:"absolute",visibility:"hidden",display:"block"},ou={letterSpacing:"0",fontWeight:"400"},su=["Webkit","Moz","ms"],hu=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=ht(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;if(t=i.cssProps[s]||(i.cssProps[s]=cu(s)||s),o=i.cssHooks[t]||i.cssHooks[s],r!==undefined){if(h=typeof r,h==="string"&&(e=st.exec(r))&&e[1]&&(r=pr(n,t,e),h="number"),r==null||r!==r)return;h==="number"&&(r+=e&&e[3]||(i.cssNumber[s]?"":"px"));f.clearCloneStyle||r!==""||t.indexOf("background")!==0||(c[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(c[t]=r)}else return o&&"get"in o&&(e=o.get(n,!1,u))!==undefined?e:c[t]}},css:function(n,t,r,u){var f,s,o,e=i.camelCase(t);return(t=i.cssProps[e]||(i.cssProps[e]=cu(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),f===undefined&&(f=ht(n,t,u)),f==="normal"&&t in ou&&(f=ou[t]),r===""||r)?(s=parseFloat(f),r===!0||isFinite(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return ye.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?yr(n,pe,function(){return vu(n,t,u)}):vu(n,t,u)},set:function(n,r,u){var f,e=u&&gt(n),o=u&&au(n,t,u,i.css(n,"boxSizing",!1,e)==="border-box",e);return o&&(f=st.exec(r))&&(f[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),lu(n,r,o)}}});i.cssHooks.marginLeft=eu(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(ht(n,"marginLeft"))||n.getBoundingClientRect().left-yr(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};fu.test(n)||(i.cssHooks[n+t].set=lu)});i.fn.extend({css:function(n,t){return a(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=gt(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=s.prototype.init;i.fx.step={};yu=/^(?:toggle|show|hide)$/;pu=/queueHooks$/;i.Animation=i.extend(l,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return pr(i.elem,n,st.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;u<f;u++)r=n[u],l.tweeners[r]=l.tweeners[r]||[],l.tweeners[r].unshift(t)},prefilters:[we],prefilter:function(n,t){t?l.prefilters.unshift(n):l.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return f.duration=i.fx.off||u.hidden?0:typeof f.duration=="number"?f.duration:f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default,(f.queue==null||f.queue===!0)&&(f.queue="fx"),f.old=f.complete,f.complete=function(){i.isFunction(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(bt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=l(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&pu.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(ni(t,!0),n,i,u)}});i.each({slideDown:ni("show"),slideUp:ni("hide"),slideToggle:ni("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(it=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();it=undefined};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){rt||(rt=n.requestAnimationFrame?n.requestAnimationFrame(wu):n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.cancelAnimationFrame?n.cancelAnimationFrame(rt):n.clearInterval(rt);rt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=n.value!=="";f.optSelected=i.selected;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue=n.value==="t"}();ut=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return a(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?du:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(h);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});du={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=ut[t]||i.find.attr;ut[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=ut[u],ut[u]=f,f=r(n,t,i)!=null?u:null,ut[u]=e),f}});gu=/^(?:input|select|textarea|button)$/i;nf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return a(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):gu.test(n.nodeName)||nf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});ti=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,b(this)))});if(typeof n=="string"&&n)for(o=n.match(h)||[];r=this[c++];)if(u=b(r),t=r.nodeType===1&&(" "+u+" ").replace(ti," "),t){for(s=0;f=o[s++];)t.indexOf(" "+f+" ")<0&&(t+=f+" ");e=i.trim(t);u!==e&&r.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,b(this)))});if(!arguments.length)return this.attr("class","");if(typeof n=="string"&&n)for(o=n.match(h)||[];r=this[c++];)if(u=b(r),t=r.nodeType===1&&(" "+u+" ").replace(ti," "),t){for(s=0;f=o[s++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return typeof t=="boolean"&&u==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,b(this),t),t)}):this.each(function(){var t,e,f,o;if(u==="string")for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else(n===undefined||u==="boolean")&&(t=b(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+b(t)+" ").replace(ti," ").indexOf(i)>-1)return!0;return!1}});tf=/\r/g;rf=/[\x20\t\r\n\f]+/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;this.nodeType===1&&(u=f?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":i.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(u,"value"))!==undefined)?r:(r=u.value,typeof r=="string"?r.replace(tf,""):r==null?"":r):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:i.trim(i.text(n)).replace(rf," ")}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u=n.type==="select-one",s=u?null:[],h=u?r+1:o.length,f=r<0?h:u?r:0;f<h;f++)if(t=o[f],(t.selected||f===r)&&!t.disabled&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),u)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});ci=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=vt.call(t,"type")?t.type:t,y=vt.call(t,"namespace")?t.namespace.split("."):[];if((s=c=e=e||u,e.nodeType!==3&&e.nodeType!==8)&&!ci.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=e),f=f==null?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,ci.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&et(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||(!l._default||l._default.apply(p.pop(),f)===!1)&&et(e)&&a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=undefined,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ct=n.location,uf=i.now(),li=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var ke=/\[\]$/,ff=/\r?\n/g,de=/^(?:submit|button|image|reset|file)$/i,ge=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){var r=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(r==null?"":r)};if(i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)ai(r,n[r],t,f);return u.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&ge.test(this.nodeName)&&!de.test(n)&&(this.checked||!wr.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(ff,"\r\n")}}):{name:t.name,value:r.replace(ff,"\r\n")}}).get()}});var no=/%20/g,to=/#.*$/,io=/([?&])_=[^&]*/,ro=/^(.*?):[ \t]*([^\r\n]*)$/mg,uo=/^(?:GET|HEAD)$/,fo=/^\/\//,ef={},vi={},of="*/".concat("*"),yi=u.createElement("a");return yi.href=ct.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":of,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?pi(pi(n,i.ajaxSettings),t):pi(i.ajaxSettings,n)},ajaxPrefilter:sf(ef),ajaxTransport:sf(vi),ajax:function(t,r){function b(t,r,u,h){var y,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),l=undefined,k=h||"",e.readyState=t>0?4:0,y=t>=200&&t<300||t===304,u&&(p=eo(f,e,u)),p=oo(f,p,e,y),y?(f.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||f.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,y=!g)):(g=a,(t||!a)&&(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",y?tt.resolveWith(c,[rt,a,e]):tt.rejectWith(c,[e,a,g]),e.statusCode(w),w=undefined,v&&nt.trigger(y?"ajaxSuccess":"ajaxError",[e,f,y?rt:g]),it.fireWith(c,[e,a]),v&&(nt.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var l,o,k,y,d,a,s,v,g,p,f=i.ajaxSetup({},r),c=f.context||f,nt=f.context&&(c.nodeType||c.jquery)?i(c):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=f.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!y)for(y={};t=ro.exec(k);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return l&&l.abort(t),b(0,t),this}};if(tt.promise(e),f.url=((t||f.url||ct.href)+"").replace(fo,ct.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(h)||[""],f.crossDomain==null){a=u.createElement("a");try{a.href=f.url;a.href=a.href;f.crossDomain=yi.protocol+"//"+yi.host!=a.protocol+"//"+a.host}catch(et){f.crossDomain=!0}}if(f.data&&f.processData&&typeof f.data!="string"&&(f.data=i.param(f.data,f.traditional)),hf(ef,f,r,e),s)return e;v=i.event&&f.global;v&&i.active++==0&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!uo.test(f.type);o=f.url.replace(to,"");f.hasContent?f.data&&f.processData&&(f.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(f.data=f.data.replace(no,"+")):(p=f.url.slice(o.length),f.data&&(o+=(li.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(o=o.replace(io,""),p=(li.test(o)?"&":"?")+"_="+uf+++p),f.url=o+p);f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&f.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", "+of+"; q=0.01":""):f.accepts["*"]);for(g in f.headers)e.setRequestHeader(g,f.headers[g]);if(f.beforeSend&&(f.beforeSend.call(c,e,f)===!1||s))return e.abort();if(ft="abort",it.add(f.complete),e.done(f.success),e.fail(f.error),l=hf(vi,f,r,e),l){if(e.readyState=1,v&&nt.trigger("ajaxSend",[e,f]),s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=!1;l.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(i.isFunction(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},cf={0:200,1223:204},ft=i.ajaxSettings.xhr(),f.cors=!!ft&&"withCredentials"in ft,f.ajax=ft=!!ft,i.ajaxTransport(function(t){var i,r;if(f.cors||ft&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(cf[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),wi=[],ii=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=wi.pop()||i.expando+"_"+uf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ii.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ii.test(t.data)&&"data");if(s||t.dataTypes[0]==="jsonp")return f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ii,"$1"+f):t.jsonp!==!1&&(t.url+=(li.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){e===undefined?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,wi.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=undefined}),"script"}),f.createHTMLDocument=function(){var n=u.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,e,o;return(t||(f.createHTMLDocument?(t=u.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=u.location.href,t.head.appendChild(s)):t=u),e=rr.exec(n),o=!r&&[],e)?[t.createElement(e[1])]:(e=gr([n],t,o),o&&o.length&&i(o).remove(),i.merge([],e.childNodes))},i.fn.load=function(n,t,r){var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=undefined):t&&typeof t=="object"&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};l==="static"&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=(l==="absolute"||l==="fixed")&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));t.top!=null&&(f.top=t.top-u.top+h);t.left!=null&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var u,f,t,e,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),t.width||t.height)?(e=r.ownerDocument,f=lf(e),u=e.documentElement,{top:t.top+f.pageYOffset-u.clientTop,left:t.left+f.pageXOffset-u.clientLeft}):t:{top:0,left:0}},position:function(){if(this[0]){var t,r,u=this[0],n={top:0,left:0};return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(t=this.offsetParent(),r=this.offset(),i.nodeName(t[0],"html")||(n=t.offset()),n={top:n.top+i.css(t[0],"borderTopWidth",!0),left:n.left+i.css(t[0],"borderLeftWidth",!0)}),{top:r.top-n.top-i.css(u,"marginTop",!0),left:r.left-n.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||kt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return a(this,function(n,i,u){var f=lf(n);if(u===undefined)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=eu(f.pixelPosition,function(n,r){if(r)return r=ht(n,t),hi.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return a(this,function(t,r,f){var e;return i.isWindow(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}}),i.parseJSON=JSON.parse,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),af=n.jQuery,vf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=vf),t&&n.jQuery===i&&(n.jQuery=af),i},t||(n.jQuery=n.$=i),i})},{}],16:[function(n,t,i){(function(n,r){typeof i=="object"&&typeof t!="undefined"?t.exports=r():typeof define=="function"&&define.amd?define(r):n.moment=r()})(this,function(){"use strict";function r(){return yf.apply(null,arguments)}function th(n){yf=n}function rt(n){return n instanceof Array||Object.prototype.toString.call(n)==="[object Array]"}function vi(n){return n!=null&&Object.prototype.toString.call(n)==="[object Object]"}function ih(n){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(n).length===0;for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function b(n){return n===void 0}function ni(n){return typeof n=="number"||Object.prototype.toString.call(n)==="[object Number]"}function tr(n){return n instanceof Date||Object.prototype.toString.call(n)==="[object Date]"}function pf(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function v(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function wt(n,t){for(var i in t)v(t,i)&&(n[i]=t[i]);return v(t,"toString")&&(n.toString=t.toString),v(t,"valueOf")&&(n.valueOf=t.valueOf),n}function st(n,t,i,r){return wo(n,t,i,r,!0).utc()}function rh(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function e(n){return n._pf==null&&(n._pf=rh()),n._pf}function ru(n){if(n._isValid==null){var t=e(n),r=wf.call(t.parsedDateParts,function(n){return n!=null}),i=!isNaN(n._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(n._strict&&(i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined),Object.isFrozen!=null&&Object.isFrozen(n))return i;n._isValid=i}return n._isValid}function ir(n){var t=st(NaN);return n!=null?wt(e(t),n):e(t).userInvalidated=!0,t}function uu(n,t){var i,r,u;if(b(t._isAMomentObject)||(n._isAMomentObject=t._isAMomentObject),b(t._i)||(n._i=t._i),b(t._f)||(n._f=t._f),b(t._l)||(n._l=t._l),b(t._strict)||(n._strict=t._strict),b(t._tzm)||(n._tzm=t._tzm),b(t._isUTC)||(n._isUTC=t._isUTC),b(t._offset)||(n._offset=t._offset),b(t._pf)||(n._pf=e(t)),b(t._locale)||(n._locale=t._locale),rr.length>0)for(i=0;i<rr.length;i++)r=rr[i],u=t[r],b(u)||(n[r]=u);return n}function yi(n){uu(this,n);this._d=new Date(n._d!=null?n._d.getTime():NaN);this.isValid()||(this._d=new Date(NaN));ur===!1&&(ur=!0,r.updateOffset(this),ur=!1)}function bt(n){return n instanceof yi||n!=null&&n._isAMomentObject!=null}function nt(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function o(n){var t=+n,i=0;return t!==0&&isFinite(t)&&(i=nt(t)),i}function bf(n,t,i){for(var f=Math.min(n.length,t.length),e=Math.abs(n.length-t.length),u=0,r=0;r<f;r++)(i&&n[r]!==t[r]||!i&&o(n[r])!==o(t[r]))&&u++;return u+e}function kf(n){r.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+n)}function tt(n,t){var i=!0;return wt(function(){var e,u,f,o;if(r.deprecationHandler!=null&&r.deprecationHandler(null,n),i){for(e=[],f=0;f<arguments.length;f++){if(u="",typeof arguments[f]=="object"){u+="\n["+f+"] ";for(o in arguments[0])u+=o+": "+arguments[0][o]+", ";u=u.slice(0,-2)}else u=arguments[f];e.push(u)}kf(n+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);i=!1}return t.apply(this,arguments)},t)}function df(n,t){r.deprecationHandler!=null&&r.deprecationHandler(n,t);fu[n]||(kf(t),fu[n]=!0)}function ht(n){return n instanceof Function||Object.prototype.toString.call(n)==="[object Function]"}function uh(n){var t;for(var i in n)t=n[i],ht(t)?this[i]=t:this["_"+i]=t;this._config=n;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function gf(n,t){var r=wt({},n);for(var i in t)v(t,i)&&(vi(n[i])&&vi(t[i])?(r[i]={},wt(r[i],n[i]),wt(r[i],t[i])):t[i]!=null?r[i]=t[i]:delete r[i]);for(i in n)v(n,i)&&!v(t,i)&&vi(n[i])&&(r[i]=wt({},r[i]));return r}function eu(n){n!=null&&this.set(n)}function fh(n,t,i){var r=this._calendar[n]||this._calendar.sameElse;return ht(r)?r.call(t,i):r}function eh(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n])}function oh(){return this._invalidDate}function sh(n){return this._ordinal.replace("%d",n)}function hh(n,t,i,r){var u=this._relativeTime[i];return ht(u)?u(n,t,i,r):u.replace(/%d/i,n)}function ch(n,t){var i=this._relativeTime[n>0?"future":"past"];return ht(i)?i(t):i.replace(/%s/i,t)}function k(n,t){var i=n.toLowerCase();ei[i]=ei[i+"s"]=ei[t]=n}function it(n){return typeof n=="string"?ei[n]||ei[n.toLowerCase()]:undefined}function ou(n){var r={},t;for(var i in n)v(n,i)&&(t=it(i),t&&(r[t]=n[i]));return r}function d(n,t){su[n]=t}function lh(n){var t=[];for(var i in n)t.push({unit:i,priority:su[i]});return t.sort(function(n,t){return n.priority-t.priority}),t}function at(n,t,i){var r=""+Math.abs(n),u=t-r.length,f=n>=0;return(f?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function f(n,t,i,r){var u=r;typeof r=="string"&&(u=function(){return this[r]()});n&&(oi[n]=u);t&&(oi[t[0]]=function(){return at(u.apply(this,arguments),t[1],t[2])});i&&(oi[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function ah(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function vh(n){for(var t=n.match(oe),i=0,r=t.length;i<r;i++)t[i]=oi[t[i]]?oi[t[i]]:ah(t[i]);return function(i){for(var f="",u=0;u<r;u++)f+=ht(t[u])?t[u].call(i,n):t[u];return f}}function er(n,t){return n.isValid()?(t=se(t,n.localeData()),hu[t]=hu[t]||vh(t),hu[t](n)):n.localeData().invalidDate()}function se(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(fr.lastIndex=0;i>=0&&fr.test(n);)n=n.replace(fr,r),fr.lastIndex=0,i-=1;return n}function u(n,t,i){au[n]=ht(t)?t:function(n){return n&&i?i:t}}function ph(n,t){return v(au,n)?au[n](t._strict,t._locale):new RegExp(wh(n))}function wh(n){return ti(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u}))}function ti(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function l(n,t){var i,r=t;for(typeof n=="string"&&(n=[n]),ni(t)&&(r=function(n,i){i[t]=o(n)}),i=0;i<n.length;i++)ar[n[i]]=r}function wi(n,t){l(n,function(n,i,r,u){r._w=r._w||{};t(n,r._w,r,u)})}function bh(n,t,i){t!=null&&v(ar,n)&&ar[n](t,i._a,i,n)}function bi(n){return vr(n)?366:365}function vr(n){return n%4==0&&n%100!=0||n%400==0}function gh(){return vr(this.year())}function si(n,t){return function(i){return i!=null?(ve(this,n,i),r.updateOffset(this,t),this):yr(this,n)}}function yr(n,t){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+t]():NaN}function ve(n,t,i){n.isValid()&&!isNaN(i)&&(t==="FullYear"&&vr(n.year())&&n.month()===1&&n.date()===29?n._d["set"+(n._isUTC?"UTC":"")+t](i,n.month(),pr(i,n.month())):n._d["set"+(n._isUTC?"UTC":"")+t](i))}function nc(n){return(n=it(n),ht(this[n]))?this[n]():this}function tc(n,t){var r,i;if(typeof n=="object")for(n=ou(n),r=lh(n),i=0;i<r.length;i++)this[r[i].unit](n[r[i].unit]);else if(n=it(n),ht(this[n]))return this[n](t);return this}function ic(n,t){return(n%t+t)%t}function pr(n,t){if(isNaN(n)||isNaN(t))return NaN;var i=ic(t,12);return n+=(t-i)/12,i===1?vr(n)?29:28:31-i%7%2}function rc(n,t){return n?rt(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||yu).test(t)?"format":"standalone"][n.month()]:rt(this._months)?this._months:this._months.standalone}function uc(n,t){return n?rt(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[yu.test(t)?"format":"standalone"][n.month()]:rt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function fc(n,t,i){var u,r,e,f=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],u=0;u<12;++u)e=st([2e3,u]),this._shortMonthsParse[u]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[u]=this.months(e,"").toLocaleLowerCase();return i?t==="MMM"?(r=y.call(this._shortMonthsParse,f),r!==-1?r:null):(r=y.call(this._longMonthsParse,f),r!==-1?r:null):t==="MMM"?(r=y.call(this._shortMonthsParse,f),r!==-1)?r:(r=y.call(this._longMonthsParse,f),r!==-1?r:null):(r=y.call(this._longMonthsParse,f),r!==-1)?r:(r=y.call(this._shortMonthsParse,f),r!==-1?r:null)}function ec(n,t,i){var r,u,f;if(this._monthsParseExact)return fc.call(this,n,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if((u=st([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(u,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(u,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(f="^"+this.months(u,"")+"|^"+this.monthsShort(u,""),this._monthsParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(n))||i&&t==="MMM"&&this._shortMonthsParse[r].test(n)||!i&&this._monthsParse[r].test(n))return r}function pe(n,t){var i;if(!n.isValid())return n;if(typeof t=="string")if(/^\d+$/.test(t))t=o(t);else if(t=n.localeData().monthsParse(t),!ni(t))return n;return i=Math.min(n.date(),pr(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n}function we(n){return n!=null?(pe(this,n),r.updateOffset(this,!0),this):yr(this,"Month")}function oc(){return pr(this.year(),this.month())}function sc(n){return this._monthsParseExact?(v(this,"_monthsRegex")||de.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(v(this,"_monthsShortRegex")||(this._monthsShortRegex=be),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function hc(n){return this._monthsParseExact?(v(this,"_monthsRegex")||de.call(this),n?this._monthsStrictRegex:this._monthsRegex):(v(this,"_monthsRegex")||(this._monthsRegex=ke),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function de(){function f(n,t){return t.length-n.length}for(var i=[],r=[],t=[],u,n=0;n<12;n++)u=st([2e3,n]),i.push(this.monthsShort(u,"")),r.push(this.months(u,"")),t.push(this.months(u,"")),t.push(this.monthsShort(u,""));for(i.sort(f),r.sort(f),t.sort(f),n=0;n<12;n++)i[n]=ti(i[n]),r[n]=ti(r[n]);for(n=0;n<24;n++)t[n]=ti(t[n]);this._monthsRegex=new RegExp("^("+t.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function cc(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<100&&n>=0&&isFinite(o.getFullYear())&&o.setFullYear(n),o}function ki(n){var t=new Date(Date.UTC.apply(null,arguments));return n<100&&n>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n),t}function wr(n,t,i){var r=7+t-i,u=(7+ki(n,0,r).getUTCDay()-t)%7;return-u+r-1}function ge(n,t,i,r,u){var s=(7+i-r)%7,h=wr(n,r,u),f=1+7*(t-1)+s+h,e,o;return f<=0?(e=n-1,o=bi(e)+f):f>bi(n)?(e=n+1,o=f-bi(n)):(e=n,o=f),{year:e,dayOfYear:o}}function di(n,t,i){var e=wr(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1,f,u;return r<1?(u=n.year()-1,f=r+ri(u,t,i)):r>ri(n.year(),t,i)?(f=r-ri(n.year(),t,i),u=n.year()+1):(u=n.year(),f=r),{week:f,year:u}}function ri(n,t,i){var r=wr(n,t,i),u=wr(n+1,t,i);return(bi(n)-r+u)/7}function lc(n){return di(n,this._week.dow,this._week.doy).week}function ac(){return this._week.dow}function vc(){return this._week.doy}function yc(n){var t=this.localeData().week(this);return n==null?t:this.add((n-t)*7,"d")}function pc(n){var t=di(this,1,4).week;return n==null?t:this.add((n-t)*7,"d")}function wc(n,t){return typeof n!="string"?n:isNaN(n)?(n=t.weekdaysParse(n),typeof n=="number")?n:null:parseInt(n,10)}function bc(n,t){return typeof n=="string"?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}function kc(n,t){return n?rt(this._weekdays)?this._weekdays[n.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][n.day()]:rt(this._weekdays)?this._weekdays:this._weekdays.standalone}function dc(n){return n?this._weekdaysShort[n.day()]:this._weekdaysShort}function gc(n){return n?this._weekdaysMin[n.day()]:this._weekdaysMin}function nl(n,t,i){var f,r,e,u=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)e=st([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(e,"").toLocaleLowerCase();return i?t==="dddd"?(r=y.call(this._weekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=y.call(this._shortWeekdaysParse,u),r!==-1?r:null):(r=y.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="dddd"?(r=y.call(this._weekdaysParse,u),r!==-1)?r:(r=y.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=y.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=y.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=y.call(this._weekdaysParse,u),r!==-1)?r:(r=y.call(this._minWeekdaysParse,u),r!==-1?r:null):(r=y.call(this._minWeekdaysParse,u),r!==-1)?r:(r=y.call(this._weekdaysParse,u),r!==-1)?r:(r=y.call(this._shortWeekdaysParse,u),r!==-1?r:null)}function tl(n,t,i){var r,u,f;if(this._weekdaysParseExact)return nl.call(this,n,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if((u=st([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(u,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(u,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(u,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(f="^"+this.weekdays(u,"")+"|^"+this.weekdaysShort(u,"")+"|^"+this.weekdaysMin(u,""),this._weekdaysParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(n))||i&&t==="ddd"&&this._shortWeekdaysParse[r].test(n)||i&&t==="dd"&&this._minWeekdaysParse[r].test(n)||!i&&this._weekdaysParse[r].test(n))return r}function il(n){if(!this.isValid())return n!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return n!=null?(n=wc(n,this.localeData()),this.add(n-t,"d")):t}function rl(n){if(!this.isValid())return n!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return n==null?t:this.add(n-t,"d")}function ul(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var t=bc(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function fl(n){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||bu.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(v(this,"_weekdaysRegex")||(this._weekdaysRegex=ro),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function el(n){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||bu.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(v(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=uo),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ol(n){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||bu.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(v(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fo),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bu(){function u(n,t){return t.length-n.length}for(var e=[],i=[],r=[],t=[],f,o,s,h,n=0;n<7;n++)f=st([2e3,1]).day(n),o=this.weekdaysMin(f,""),s=this.weekdaysShort(f,""),h=this.weekdays(f,""),e.push(o),i.push(s),r.push(h),t.push(o),t.push(s),t.push(h);for(e.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=ti(i[n]),r[n]=ti(r[n]),t[n]=ti(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function ku(){return this.hours()%12||12}function sl(){return this.hours()||24}function eo(n,t){f(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function oo(n,t){return t._meridiemParse}function hl(n){return(n+"").toLowerCase().charAt(0)==="p"}function cl(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"}function co(n){return n?n.toLowerCase().replace("_","-"):n}function al(n){for(var r=0,i,t,f,u;r<n.length;){for(u=co(n[r]).split("-"),i=u.length,t=co(n[r+1]),t=t?t.split("-"):null;i>0;){if(f=br(u.slice(0,i).join("-")),f)return f;if(t&&t.length>=i&&bf(u,t,!0)>=i-1)break;i--}r++}return nr}function br(i){var r=null,u;if(!w[i]&&typeof t!="undefined"&&t&&t.exports)try{r=nr._abbr;u=n;u("./locale/"+i);hi(r)}catch(f){}return w[i]}function hi(n,t){var i;return n&&(i=b(t)?kt(n):du(n,t),i?nr=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),nr._abbr}function du(n,t){if(t!==null){var r,i=ho;if(t.abbr=n,w[n]!=null)df("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=w[n]._config;else if(t.parentLocale!=null)if(w[t.parentLocale]!=null)i=w[t.parentLocale]._config;else if(r=br(t.parentLocale),r!=null)i=r._config;else return gi[t.parentLocale]||(gi[t.parentLocale]=[]),gi[t.parentLocale].push({name:n,config:t}),null;return w[n]=new eu(gf(i,t)),gi[n]&&gi[n].forEach(function(n){du(n.name,n.config)}),hi(n),w[n]}return delete w[n],null}function vl(n,t){if(t!=null){var i,r,u=ho;r=br(n);r!=null&&(u=r._config);t=gf(u,t);i=new eu(t);i.parentLocale=w[n];w[n]=i;hi(n)}else w[n]!=null&&(w[n].parentLocale!=null?w[n]=w[n].parentLocale:w[n]!=null&&delete w[n]);return w[n]}function kt(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return nr;if(!rt(n)){if(t=br(n),t)return t;n=[n]}return al(n)}function yl(){return ne(w)}function gu(n){var i,t=n._a;return t&&e(n).overflow===-2&&(i=t[vt]<0||t[vt]>11?vt:t[ct]<1||t[ct]>pr(t[ut],t[vt])?ct:t[p]<0||t[p]>24||t[p]===24&&(t[ft]!==0||t[yt]!==0||t[ii]!==0)?p:t[ft]<0||t[ft]>59?ft:t[yt]<0||t[yt]>59?yt:t[ii]<0||t[ii]>999?ii:-1,e(n)._overflowDayOfYear&&(i<ut||i>ct)&&(i=ct),e(n)._overflowWeeks&&i===-1&&(i=kh),e(n)._overflowWeekday&&i===-1&&(i=dh),e(n).overflow=i),n}function ci(n,t,i){return n!=null?n:t!=null?t:i}function pl(n){var t=new Date(r.now());return n._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function nf(n){var t,i,r=[],u,o,f;if(!n._d){for(u=pl(n),n._w&&n._a[ct]==null&&n._a[vt]==null&&wl(n),n._dayOfYear!=null&&(f=ci(n._a[ut],u[ut]),(n._dayOfYear>bi(f)||n._dayOfYear===0)&&(e(n)._overflowDayOfYear=!0),i=ki(f,0,n._dayOfYear),n._a[vt]=i.getUTCMonth(),n._a[ct]=i.getUTCDate()),t=0;t<3&&n._a[t]==null;++t)n._a[t]=r[t]=u[t];for(;t<7;t++)n._a[t]=r[t]=n._a[t]==null?t===2?1:0:n._a[t];n._a[p]===24&&n._a[ft]===0&&n._a[yt]===0&&n._a[ii]===0&&(n._nextDay=!0,n._a[p]=0);n._d=(n._useUTC?ki:cc).apply(null,r);o=n._useUTC?n._d.getUTCDay():n._d.getDay();n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[p]=24);n._w&&typeof n._w.d!="undefined"&&n._w.d!==o&&(e(n).weekdayMismatch=!0)}}function wl(n){var t,o,u,i,r,f,h,s,c;t=n._w;t.GG!=null||t.W!=null||t.E!=null?(r=1,f=4,o=ci(t.GG,n._a[ut],di(a(),1,4).year),u=ci(t.W,1),i=ci(t.E,1),(i<1||i>7)&&(s=!0)):(r=n._locale._week.dow,f=n._locale._week.doy,c=di(a(),r,f),o=ci(t.gg,n._a[ut],c.year),u=ci(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(s=!0)):t.e!=null?(i=t.e+r,(t.e<0||t.e>6)&&(s=!0)):i=r);u<1||u>ri(o,r,f)?e(n)._overflowWeeks=!0:s!=null?e(n)._overflowWeekday=!0:(h=ge(o,u,i,r,f),n._a[ut]=h.year,n._dayOfYear=h.dayOfYear)}function lo(n){var t,r,o=n._i,i=bl.exec(o)||kl.exec(o),s,f,u,h;if(i){for(e(n).iso=!0,t=0,r=kr.length;t<r;t++)if(kr[t][1].exec(i[1])){f=kr[t][0];s=kr[t][2]!==!1;break}if(f==null){n._isValid=!1;return}if(i[3]){for(t=0,r=tf.length;t<r;t++)if(tf[t][1].exec(i[3])){u=(i[2]||" ")+tf[t][0];break}if(u==null){n._isValid=!1;return}}if(!s&&u!=null){n._isValid=!1;return}if(i[4])if(dl.exec(i[4]))h="Z";else{n._isValid=!1;return}n._f=f+(u||"")+(h||"");rf(n)}else n._isValid=!1}function na(n,t,i,r,u,f){var e=[ta(n),pu.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(u,10)];return f&&e.push(parseInt(f,10)),e}function ta(n){var t=parseInt(n,10);return t<=49?2e3+t:t<=999?1900+t:t}function ia(n){return n.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ra(n,t,i){if(n){var r=wu.indexOf(n),u=new Date(t[0],t[1],t[2]).getDay();if(r!==u)return e(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}function ua(n,t,i){if(n)return vo[n];if(t)return 0;var r=parseInt(i,10),u=r%100,f=(r-u)/100;return f*60+u}function yo(n){var t=ao.exec(ia(n._i)),i;if(t){if(i=na(t[4],t[3],t[2],t[5],t[6],t[7]),!ra(t[1],i,n))return;n._a=i;n._tzm=ua(t[8],t[9],t[10]);n._d=ki.apply(null,n._a);n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);e(n).rfc2822=!0}else n._isValid=!1}function fa(n){var t=gl.exec(n._i);if(t!==null){n._d=new Date(+t[1]);return}if(lo(n),n._isValid===!1)delete n._isValid;else return;if(yo(n),n._isValid===!1)delete n._isValid;else return;r.createFromInputFallback(n)}function rf(n){if(n._f===r.ISO_8601){lo(n);return}if(n._f===r.RFC_2822){yo(n);return}n._a=[];e(n).empty=!0;for(var t=""+n._i,i,u,s,c=t.length,h=0,o=se(n._f,n._locale).match(oe)||[],f=0;f<o.length;f++)u=o[f],i=(t.match(ph(u,n))||[])[0],i&&(s=t.substr(0,t.indexOf(i)),s.length>0&&e(n).unusedInput.push(s),t=t.slice(t.indexOf(i)+i.length),h+=i.length),oi[u]?(i?e(n).empty=!1:e(n).unusedTokens.push(u),bh(u,i,n)):n._strict&&!i&&e(n).unusedTokens.push(u);e(n).charsLeftOver=c-h;t.length>0&&e(n).unusedInput.push(t);n._a[p]<=12&&e(n).bigHour===!0&&n._a[p]>0&&(e(n).bigHour=undefined);e(n).parsedDateParts=n._a.slice(0);e(n).meridiem=n._meridiem;n._a[p]=ea(n._locale,n._a[p],n._meridiem);nf(n);gu(n)}function ea(n,t,i){var r;return i==null?t:n.meridiemHour!=null?n.meridiemHour(t,i):n.isPM!=null?(r=n.isPM(i),r&&t<12&&(t+=12),r||t!==12||(t=0),t):t}function oa(n){var t,f,u,r,i;if(n._f.length===0){e(n).invalidFormat=!0;n._d=new Date(NaN);return}for(r=0;r<n._f.length;r++)(i=0,t=uu({},n),n._useUTC!=null&&(t._useUTC=n._useUTC),t._f=n._f[r],rf(t),ru(t))&&(i+=e(t).charsLeftOver,i+=e(t).unusedTokens.length*10,e(t).score=i,(u==null||i<u)&&(u=i,f=t));wt(n,f||t)}function sa(n){if(!n._d){var t=ou(n._i);n._a=pf([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)});nf(n)}}function ha(n){var t=new yi(gu(po(n)));return t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t}function po(n){var t=n._i,i=n._f;return(n._locale=n._locale||kt(n._l),t===null||i===undefined&&t==="")?ir({nullInput:!0}):(typeof t=="string"&&(n._i=t=n._locale.preparse(t)),bt(t))?new yi(gu(t)):(tr(t)?n._d=t:rt(i)?oa(n):i?rf(n):ca(n),ru(n)||(n._d=null),n)}function ca(n){var t=n._i;b(t)?n._d=new Date(r.now()):tr(t)?n._d=new Date(t.valueOf()):typeof t=="string"?fa(n):rt(t)?(n._a=pf(t.slice(0),function(n){return parseInt(n,10)}),nf(n)):vi(t)?sa(n):ni(t)?n._d=new Date(t):r.createFromInputFallback(n)}function wo(n,t,i,r,u){var f={};return(i===!0||i===!1)&&(r=i,i=undefined),(vi(n)&&ih(n)||rt(n)&&n.length===0)&&(n=undefined),f._isAMomentObject=!0,f._useUTC=f._isUTC=u,f._l=i,f._i=n,f._f=t,f._strict=r,ha(f)}function a(n,t,i,r){return wo(n,t,i,r,!1)}function go(n,t){var r,i;if(t.length===1&&rt(t[0])&&(t=t[0]),!t.length)return a();for(r=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][n](r))&&(r=t[i]);return r}function la(){var n=[].slice.call(arguments,0);return go("isBefore",n)}function aa(){var n=[].slice.call(arguments,0);return go("isAfter",n)}function va(n){var i,r,t;for(i in n)if(!(y.call(li,i)!==-1&&(n[i]==null||!isNaN(n[i]))))return!1;for(r=!1,t=0;t<li.length;++t)if(n[li[t]]){if(r)return!1;parseFloat(n[li[t]])!==o(n[li[t]])&&(r=!0)}return!0}function ya(){return this._isValid}function pa(){return et(NaN)}function dr(n){var t=ou(n),i=t.year||0,r=t.quarter||0,u=t.month||0,f=t.week||0,e=t.day||0,o=t.hour||0,s=t.minute||0,h=t.second||0,c=t.millisecond||0;this._isValid=va(t);this._milliseconds=+c+h*1e3+s*6e4+o*36e5;this._days=+e+f*7;this._months=+u+r*3+i*12;this._data={};this._locale=kt();this._bubble()}function uf(n){return n instanceof dr}function ff(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function ts(n,t){f(n,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+at(~~(n/60),2)+t+at(~~n%60,2)})}function ef(n,t){var i=(t||"").match(n);if(i===null)return null;var f=i[i.length-1]||[],r=(f+"").match(is)||["-",0,0],u=+(r[1]*60)+o(r[2]);return u===0?0:r[0]==="+"?u:-u}function of(n,t){var i,u;return t._isUTC?(i=t.clone(),u=(bt(n)||tr(n)?n.valueOf():a(n).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+u),r.updateOffset(i,!1),i):a(n).local()}function sf(n){return-Math.round(n._d.getTimezoneOffset()/15)*15}function wa(n,t,i){var u=this._offset||0,f;if(!this.isValid())return n!=null?this:NaN;if(n!=null){if(typeof n=="string"){if(n=ef(lr,n),n===null)return this}else Math.abs(n)<16&&!i&&(n=n*60);return!this._isUTC&&t&&(f=sf(this)),this._offset=n,this._isUTC=!0,f!=null&&this.add(f,"m"),u!==n&&(!t||this._changeInProgress?ss(this,et(n-u,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?u:sf(this)}function ba(n,t){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()}function ka(n){return this.utcOffset(0,n)}function da(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(sf(this),"m")),this}function ga(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var n=ef(yh,this._i);n!=null?this.utcOffset(n):this.utcOffset(0,!0)}return this}function nv(n){return this.isValid()?(n=n?a(n).utcOffset():0,(this.utcOffset()-n)%60==0):!1}function tv(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function iv(){var n,t;return b(this._isDSTShifted)?(n={},uu(n,this),n=po(n),n._a?(t=n._isUTC?st(n._a):a(n._a),this._isDSTShifted=this.isValid()&&bf(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted):this._isDSTShifted}function rv(){return this.isValid()?!this._isUTC:!1}function uv(){return this.isValid()?this._isUTC:!1}function rs(){return this.isValid()?this._isUTC&&this._offset===0:!1}function et(n,t){var i=n,r=null,u,f,e;return uf(n)?i={ms:n._milliseconds,d:n._days,M:n._months}:ni(n)?(i={},t?i[t]=n:i.milliseconds=n):(r=us.exec(n))?(u=r[1]==="-"?-1:1,i={y:0,d:o(r[ct])*u,h:o(r[p])*u,m:o(r[ft])*u,s:o(r[yt])*u,ms:o(ff(r[ii]*1e3))*u}):(r=fs.exec(n))?(u=r[1]==="-"?-1:r[1]==="+"?1:1,i={y:ui(r[2],u),M:ui(r[3],u),w:ui(r[4],u),d:ui(r[5],u),h:ui(r[6],u),m:ui(r[7],u),s:ui(r[8],u)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(e=fv(a(i.from),a(i.to)),i={},i.ms=e.milliseconds,i.M=e.months),f=new dr(i),uf(n)&&v(n,"_locale")&&(f._locale=n._locale),f}function ui(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function es(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+(t.year()-n.year())*12,n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function fv(n,t){var i;return(n.isValid()&&t.isValid())?(t=of(t,n),n.isBefore(t)?i=es(n,t):(i=es(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function os(n,t){return function(i,r){var u,f;return r===null||isNaN(+r)||(df(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=i,i=r,r=f),i=typeof i=="string"?+i:i,u=et(i,r),ss(this,u,n),this}}function ss(n,t,i,u){var o=t._milliseconds,f=ff(t._days),e=ff(t._months);n.isValid()&&(u=u==null?!0:u,e&&pe(n,yr(n,"Month")+e*i),f&&ve(n,"Date",yr(n,"Date")+f*i),o&&n._d.setTime(n._d.valueOf()+o*i),u&&r.updateOffset(n,f||e))}function ev(n,t){var i=n.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function ov(n,t){var u=n||a(),f=of(u,this).startOf("day"),i=r.calendarFormat(this,f)||"sameElse",e=t&&(ht(t[i])?t[i].call(this,u):t[i]);return this.format(e||this.localeData().calendar(i,this,a(u)))}function sv(){return new yi(this)}function hv(n,t){var i=bt(n)?n:a(n);return(this.isValid()&&i.isValid())?(t=it(b(t)?"millisecond":t),t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function cv(n,t){var i=bt(n)?n:a(n);return(this.isValid()&&i.isValid())?(t=it(b(t)?"millisecond":t),t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function lv(n,t,i,r){return r=r||"()",(r[0]==="("?this.isAfter(n,i):!this.isBefore(n,i))&&(r[1]===")"?this.isBefore(t,i):!this.isAfter(t,i))}function av(n,t){var i=bt(n)?n:a(n),r;return(this.isValid()&&i.isValid())?(t=it(t||"millisecond"),t==="millisecond"?this.valueOf()===i.valueOf():(r=i.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function vv(n,t){return this.isSame(n,t)||this.isAfter(n,t)}function yv(n,t){return this.isSame(n,t)||this.isBefore(n,t)}function pv(n,t,i){var r,f,u;if(!this.isValid())return NaN;if(r=of(n,this),!r.isValid())return NaN;f=(r.utcOffset()-this.utcOffset())*6e4;t=it(t);switch(t){case"year":u=hf(this,r)/12;break;case"month":u=hf(this,r);break;case"quarter":u=hf(this,r)/3;break;case"second":u=(this-r)/1e3;break;case"minute":u=(this-r)/6e4;break;case"hour":u=(this-r)/36e5;break;case"day":u=(this-r-f)/864e5;break;case"week":u=(this-r-f)/6048e5;break;default:u=this-r}return i?u:nt(u)}function hf(n,t){var r=(t.year()-n.year())*12+(t.month()-n.month()),i=n.clone().add(r,"months"),u,f;return t-i<0?(u=n.clone().add(r-1,"months"),f=(t-i)/(i-u)):(u=n.clone().add(r+1,"months"),f=(t-i)/(u-i)),-(r+f)||0}function wv(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function bv(n){if(!this.isValid())return null;var i=n!==!0,t=i?this.clone().utc():this;return t.year()<0||t.year()>9999?er(t,i?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ht(Date.prototype.toISOString)?i?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*6e4).toISOString().replace("Z",er(t,"Z")):er(t,i?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function kv(){var n,t;if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";n="moment";t="";this.isLocal()||(n=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z");var i="["+n+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",u=t+'[")]';return this.format(i+r+"-MM-DD[T]HH:mm:ss.SSS"+u)}function dv(n){n||(n=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=er(this,n);return this.localeData().postformat(t)}function gv(n,t){return this.isValid()&&(bt(n)&&n.isValid()||a(n).isValid())?et({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ny(n){return this.from(a(),n)}function ty(n,t){return this.isValid()&&(bt(n)&&n.isValid()||a(n).isValid())?et({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function iy(n){return this.to(a(),n)}function ls(n){var t;return n===undefined?this._locale._abbr:(t=kt(n),t!=null&&(this._locale=t),this)}function as(){return this._locale}function ry(n){n=it(n);switch(n){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return n==="week"&&this.weekday(0),n==="isoWeek"&&this.isoWeekday(1),n==="quarter"&&this.month(Math.floor(this.month()/3)*3),this}function uy(n){return(n=it(n),n===undefined||n==="millisecond")?this:(n==="date"&&(n="day"),this.startOf(n).add(1,n==="isoWeek"?"week":n).subtract(1,"ms"))}function fy(){return this._d.valueOf()-(this._offset||0)*6e4}function ey(){return Math.floor(this.valueOf()/1e3)}function oy(){return new Date(this.valueOf())}function sy(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function hy(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function cy(){return this.isValid()?this.toISOString():null}function ly(){return ru(this)}function ay(){return wt({},e(this))}function vy(){return e(this).overflow}function yy(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function gr(n,t){f(0,[n,n.length],0,t)}function py(n){return vs.call(this,n,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function wy(n){return vs.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function by(){return ri(this.year(),1,4)}function ky(){var n=this.localeData()._week;return ri(this.year(),n.dow,n.doy)}function vs(n,t,i,r,u){var f;return n==null?di(this,r,u).year:(f=ri(n,r,u),t>f&&(t=f),dy.call(this,n,t,i,r,u))}function dy(n,t,i,r,u){var e=ge(n,t,i,r,u),f=ki(e.year,0,e.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}function gy(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}function np(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?t:this.add(n-t,"d")}function tp(n,t){t[ii]=o(("0."+n)*1e3)}function ip(){return this._isUTC?"UTC":""}function rp(){return this._isUTC?"Coordinated Universal Time":""}function up(n){return a(n*1e3)}function fp(){return a.apply(null,arguments).parseZone()}function bs(n){return n}function nu(n,t,i,r){var u=kt(),f=st().set(r,t);return u[i](f,n)}function ks(n,t,i){if(ni(n)&&(t=n,n=undefined),n=n||"",t!=null)return nu(n,t,i,"month");for(var u=[],r=0;r<12;r++)u[r]=nu(n,r,i,"month");return u}function af(n,t,i,r){var o,f,u,e;if(typeof n=="boolean"?(ni(t)&&(i=t,t=undefined),t=t||""):(t=n,i=t,n=!1,ni(t)&&(i=t,t=undefined),t=t||""),o=kt(),f=n?o._week.dow:0,i!=null)return nu(t,(i+f)%7,r,"day");for(e=[],u=0;u<7;u++)e[u]=nu(t,(u+f)%7,r,"day");return e}function ep(n,t){return ks(n,t,"months")}function op(n,t){return ks(n,t,"monthsShort")}function sp(n,t,i){return af(n,t,i,"weekdays")}function hp(n,t,i){return af(n,t,i,"weekdaysShort")}function cp(n,t,i){return af(n,t,i,"weekdaysMin")}function lp(){var n=this._data;return this._milliseconds=lt(this._milliseconds),this._days=lt(this._days),this._months=lt(this._months),n.milliseconds=lt(n.milliseconds),n.seconds=lt(n.seconds),n.minutes=lt(n.minutes),n.hours=lt(n.hours),n.months=lt(n.months),n.years=lt(n.years),this}function ds(n,t,i,r){var u=et(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function ap(n,t){return ds(this,n,t,1)}function vp(n,t){return ds(this,n,t,-1)}function gs(n){return n<0?Math.floor(n):Math.ceil(n)}function yp(){var r=this._milliseconds,n=this._days,t=this._months,i=this._data,u,f,e,s,o;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=gs(vf(t)+n)*864e5,n=0,t=0),i.milliseconds=r%1e3,u=nt(r/1e3),i.seconds=u%60,f=nt(u/60),i.minutes=f%60,e=nt(f/60),i.hours=e%24,n+=nt(e/24),o=nt(nh(n)),t+=o,n-=gs(vf(o)),s=nt(t/12),t%=12,i.days=n,i.months=t,i.years=s,this}function nh(n){return n*4800/146097}function vf(n){return n*146097/4800}function pp(n){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if(n=it(n),n==="month"||n==="year")return t=this._days+i/864e5,r=this._months+nh(t),n==="month"?r:r/12;t=this._days+Math.round(vf(this._months));switch(n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+n);}}function wp(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+o(this._months/12)*31536e6:NaN}function gt(n){return function(){return this.as(n)}}function uw(){return et(this)}function fw(n){return n=it(n),this.isValid()?this[n+"s"]():NaN}function fi(n){return function(){return this.isValid()?this._data[n]:NaN}}function vw(){return nt(this.days()/7)}function yw(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function pw(n,t,i){var r=et(n).abs(),u=pt(r.as("s")),e=pt(r.as("m")),o=pt(r.as("h")),s=pt(r.as("d")),h=pt(r.as("M")),c=pt(r.as("y")),f=u<=ot.ss&&["s",u]||u<ot.s&&["ss",u]||e<=1&&["m"]||e<ot.m&&["mm",e]||o<=1&&["h"]||o<ot.h&&["hh",o]||s<=1&&["d"]||s<ot.d&&["dd",s]||h<=1&&["M"]||h<ot.M&&["MM",h]||c<=1&&["y"]||["yy",c];return f[2]=t,f[3]=+n>0,f[4]=i,yw.apply(null,f)}function ww(n){return n===undefined?pt:typeof n=="function"?(pt=n,!0):!1}function bw(n,t){return ot[n]===undefined?!1:t===undefined?ot[n]:(ot[n]=t,n==="s"&&(ot.ss=t-1),!0)}function kw(n){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=pw(this,!n,t);return n&&(i=t.pastFuture(+this,i)),t.postformat(i)}function ai(n){return(n>0)-(n<0)||+n}function iu(){if(!this.isValid())return this.localeData().invalidDate();var t=tu(this._milliseconds)/1e3,y=tu(this._days),r=tu(this._months),i,s,h;i=nt(t/60);s=nt(i/60);t%=60;i%=60;h=nt(r/12);r%=12;var c=h,l=r,a=y,u=s,f=i,e=t?t.toFixed(3).replace(/\.?0+$/,""):"",n=this.asSeconds();if(!n)return"P0D";var p=n<0?"-":"",v=ai(this._months)!==ai(n)?"-":"",w=ai(this._days)!==ai(n)?"-":"",o=ai(this._milliseconds)!==ai(n)?"-":"";return p+"P"+(c?v+c+"Y":"")+(l?v+l+"M":"")+(a?w+a+"D":"")+(u||f||e?"T":"")+(u?o+u+"H":"")+(f?o+f+"M":"")+(e?o+e+"S":"")}var yf,wf,rr,ur,fu,ne,te,ie,re,ue,fe,ee,ei,su,ar,vu,y,yu,ye,pu,be,ke,no,to,wu,io,ro,uo,fo,so,ao,vo,bo,ko,ns,li,is,us,fs,hs,cs,cf,lf,ys,ps,dt,ws,i,h,lt,pt,ot,tu,s;wf=Array.prototype.some?Array.prototype.some:function(n){for(var i=Object(this),r=i.length>>>0,t=0;t<r;t++)if(t in i&&n.call(this,i[t],t,i))return!0;return!1};rr=r.momentProperties=[];ur=!1;fu={};r.suppressDeprecationWarnings=!1;r.deprecationHandler=null;ne=Object.keys?Object.keys:function(n){var t,i=[];for(t in n)v(n,t)&&i.push(t);return i};te={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};ie={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};re="Invalid date";ue="%d";fe=/\d{1,2}/;ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};ei={};su={};var oe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,fr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,hu={},oi={};var he=/\d/,g=/\d\d/,ce=/\d{3}/,cu=/\d{4}/,or=/[+-]?\d{6}/,c=/\d\d?/,le=/\d\d\d\d?/,ae=/\d\d\d\d\d\d?/,sr=/\d{1,3}/,lu=/\d{1,4}/,hr=/[+-]?\d{1,6}/,cr=/[+-]?\d+/,yh=/Z|[+-]\d\d:?\d\d/gi,lr=/Z|[+-]\d\d(?::?\d\d)?/gi,pi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,au={};ar={};var ut=0,vt=1,ct=2,p=3,ft=4,yt=5,ii=6,kh=7,dh=8;f("Y",0,0,function(){var n=this.year();return n<=9999?""+n:"+"+n});f(0,["YY",2],0,function(){return this.year()%100});f(0,["YYYY",4],0,"year");f(0,["YYYYY",5],0,"year");f(0,["YYYYYY",6,!0],0,"year");k("year","y");d("year",1);u("Y",cr);u("YY",c,g);u("YYYY",lu,cu);u("YYYYY",hr,or);u("YYYYYY",hr,or);l(["YYYYY","YYYYYY"],ut);l("YYYY",function(n,t){t[ut]=n.length===2?r.parseTwoDigitYear(n):o(n)});l("YY",function(n,t){t[ut]=r.parseTwoDigitYear(n)});l("Y",function(n,t){t[ut]=parseInt(n,10)});r.parseTwoDigitYear=function(n){return o(n)+(o(n)>68?1900:2e3)};vu=si("FullYear",!0);y=Array.prototype.indexOf?Array.prototype.indexOf:function(n){for(var t=0;t<this.length;++t)if(this[t]===n)return t;return-1};f("M",["MM",2],"Mo",function(){return this.month()+1});f("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)});f("MMMM",0,0,function(n){return this.localeData().months(this,n)});k("month","M");d("month",8);u("M",c);u("MM",c,g);u("MMM",function(n,t){return t.monthsShortRegex(n)});u("MMMM",function(n,t){return t.monthsRegex(n)});l(["M","MM"],function(n,t){t[vt]=o(n)-1});l(["MMM","MMMM"],function(n,t,i,r){var u=i._locale.monthsParse(n,r,i._strict);u!=null?t[vt]=u:e(i).invalidMonth=n});yu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;ye="January_February_March_April_May_June_July_August_September_October_November_December".split("_");pu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");be=pi;ke=pi;f("w",["ww",2],"wo","week");f("W",["WW",2],"Wo","isoWeek");k("week","w");k("isoWeek","W");d("week",5);d("isoWeek",5);u("w",c);u("ww",c,g);u("W",c);u("WW",c,g);wi(["w","ww","W","WW"],function(n,t,i,r){t[r.substr(0,1)]=o(n)});no={dow:0,doy:6};f("d",0,"do","day");f("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)});f("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)});f("dddd",0,0,function(n){return this.localeData().weekdays(this,n)});f("e",0,0,"weekday");f("E",0,0,"isoWeekday");k("day","d");k("weekday","e");k("isoWeekday","E");d("day",11);d("weekday",11);d("isoWeekday",11);u("d",c);u("e",c);u("E",c);u("dd",function(n,t){return t.weekdaysMinRegex(n)});u("ddd",function(n,t){return t.weekdaysShortRegex(n)});u("dddd",function(n,t){return t.weekdaysRegex(n)});wi(["dd","ddd","dddd"],function(n,t,i,r){var u=i._locale.weekdaysParse(n,r,i._strict);u!=null?t.d=u:e(i).invalidWeekday=n});wi(["d","e","E"],function(n,t,i,r){t[r]=o(n)});to="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");wu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");io="Su_Mo_Tu_We_Th_Fr_Sa".split("_");ro=pi;uo=pi;fo=pi;f("H",["HH",2],0,"hour");f("h",["hh",2],0,ku);f("k",["kk",2],0,sl);f("hmm",0,0,function(){return""+ku.apply(this)+at(this.minutes(),2)});f("hmmss",0,0,function(){return""+ku.apply(this)+at(this.minutes(),2)+at(this.seconds(),2)});f("Hmm",0,0,function(){return""+this.hours()+at(this.minutes(),2)});f("Hmmss",0,0,function(){return""+this.hours()+at(this.minutes(),2)+at(this.seconds(),2)});eo("a",!0);eo("A",!1);k("hour","h");d("hour",13);u("a",oo);u("A",oo);u("H",c);u("h",c);u("k",c);u("HH",c,g);u("hh",c,g);u("kk",c,g);u("hmm",le);u("hmmss",ae);u("Hmm",le);u("Hmmss",ae);l(["H","HH"],p);l(["k","kk"],function(n,t){var i=o(n);t[p]=i===24?0:i});l(["a","A"],function(n,t,i){i._isPm=i._locale.isPM(n);i._meridiem=n});l(["h","hh"],function(n,t,i){t[p]=o(n);e(i).bigHour=!0});l("hmm",function(n,t,i){var r=n.length-2;t[p]=o(n.substr(0,r));t[ft]=o(n.substr(r));e(i).bigHour=!0});l("hmmss",function(n,t,i){var r=n.length-4,u=n.length-2;t[p]=o(n.substr(0,r));t[ft]=o(n.substr(r,2));t[yt]=o(n.substr(u));e(i).bigHour=!0});l("Hmm",function(n,t){var i=n.length-2;t[p]=o(n.substr(0,i));t[ft]=o(n.substr(i))});l("Hmmss",function(n,t){var i=n.length-4,r=n.length-2;t[p]=o(n.substr(0,i));t[ft]=o(n.substr(i,2));t[yt]=o(n.substr(r))});so=/[ap]\.?m?\.?/i;var ll=si("Hours",!0),ho={calendar:te,longDateFormat:ie,invalidDate:re,ordinal:ue,dayOfMonthOrdinalParse:fe,relativeTime:ee,months:ye,monthsShort:pu,week:no,weekdays:to,weekdaysMin:io,weekdaysShort:wu,meridiemParse:so},w={},gi={},nr;var bl=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kl=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dl=/Z|[+-]\d\d(?::?\d\d)?/,kr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],tf=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gl=/^\/?Date\((\-?\d+)/i;for(ao=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},r.createFromInputFallback=tt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){},bo=tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=a.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:ir()}),ko=tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=a.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:ir()}),ns=function(){return Date.now?Date.now():+new Date},li=["year","quarter","month","week","day","hour","minute","second","millisecond"],ts("Z",":"),ts("ZZ",""),u("Z",lr),u("ZZ",lr),l(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=ef(lr,n)}),is=/([\+\-]|\d\d)/gi,r.updateOffset=function(){},us=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,fs=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,et.fn=dr.prototype,et.invalid=pa,hs=os(1,"add"),cs=os(-1,"subtract"),r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",cf=tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===undefined?this.localeData():this.locale(n)}),f(0,["gg",2],0,function(){return this.weekYear()%100}),f(0,["GG",2],0,function(){return this.isoWeekYear()%100}),gr("gggg","weekYear"),gr("ggggg","weekYear"),gr("GGGG","isoWeekYear"),gr("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),d("weekYear",1),d("isoWeekYear",1),u("G",cr),u("g",cr),u("GG",c,g),u("gg",c,g),u("GGGG",lu,cu),u("gggg",lu,cu),u("GGGGG",hr,or),u("ggggg",hr,or),wi(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=o(n)}),wi(["gg","GG"],function(n,t,i,u){t[u]=r.parseTwoDigitYear(n)}),f("Q",0,"Qo","quarter"),k("quarter","Q"),d("quarter",7),u("Q",he),l("Q",function(n,t){t[vt]=(o(n)-1)*3}),f("D",["DD",2],"Do","date"),k("date","D"),d("date",9),u("D",c),u("DD",c,g),u("Do",function(n,t){return n?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),l(["D","DD"],ct),l("Do",function(n,t){t[ct]=o(n.match(c)[0])}),lf=si("Date",!0),f("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),d("dayOfYear",4),u("DDD",sr),u("DDDD",ce),l(["DDD","DDDD"],function(n,t,i){i._dayOfYear=o(n)}),f("m",["mm",2],0,"minute"),k("minute","m"),d("minute",14),u("m",c),u("mm",c,g),l(["m","mm"],ft),ys=si("Minutes",!1),f("s",["ss",2],0,"second"),k("second","s"),d("second",15),u("s",c),u("ss",c,g),l(["s","ss"],yt),ps=si("Seconds",!1),f("S",0,0,function(){return~~(this.millisecond()/100)}),f(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),f(0,["SSS",3],0,"millisecond"),f(0,["SSSS",4],0,function(){return this.millisecond()*10}),f(0,["SSSSS",5],0,function(){return this.millisecond()*100}),f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),k("millisecond","ms"),d("millisecond",16),u("S",sr,he),u("SS",sr,g),u("SSS",sr,ce),dt="SSSS";dt.length<=9;dt+="S")u(dt,/\d+/);for(dt="S";dt.length<=9;dt+="S")l(dt,tp);ws=si("Milliseconds",!1);f("z",0,0,"zoneAbbr");f("zz",0,0,"zoneName");i=yi.prototype;i.add=hs;i.calendar=ov;i.clone=sv;i.diff=pv;i.endOf=uy;i.format=dv;i.from=gv;i.fromNow=ny;i.to=ty;i.toNow=iy;i.get=nc;i.invalidAt=vy;i.isAfter=hv;i.isBefore=cv;i.isBetween=lv;i.isSame=av;i.isSameOrAfter=vv;i.isSameOrBefore=yv;i.isValid=ly;i.lang=cf;i.locale=ls;i.localeData=as;i.max=ko;i.min=bo;i.parsingFlags=ay;i.set=tc;i.startOf=ry;i.subtract=cs;i.toArray=sy;i.toObject=hy;i.toDate=oy;i.toISOString=bv;i.inspect=kv;i.toJSON=cy;i.toString=wv;i.unix=ey;i.valueOf=fy;i.creationData=yy;i.year=vu;i.isLeapYear=gh;i.weekYear=py;i.isoWeekYear=wy;i.quarter=i.quarters=gy;i.month=we;i.daysInMonth=oc;i.week=i.weeks=yc;i.isoWeek=i.isoWeeks=pc;i.weeksInYear=ky;i.isoWeeksInYear=by;i.date=lf;i.day=i.days=il;i.weekday=rl;i.isoWeekday=ul;i.dayOfYear=np;i.hour=i.hours=ll;i.minute=i.minutes=ys;i.second=i.seconds=ps;i.millisecond=i.milliseconds=ws;i.utcOffset=wa;i.utc=ka;i.local=da;i.parseZone=ga;i.hasAlignedHourOffset=nv;i.isDST=tv;i.isLocal=rv;i.isUtcOffset=uv;i.isUtc=rs;i.isUTC=rs;i.zoneAbbr=ip;i.zoneName=rp;i.dates=tt("dates accessor is deprecated. Use date instead.",lf);i.months=tt("months accessor is deprecated. Use month instead",we);i.years=tt("years accessor is deprecated. Use year instead",vu);i.zone=tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ba);i.isDSTShifted=tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",iv);h=eu.prototype;h.calendar=fh;h.longDateFormat=eh;h.invalidDate=oh;h.ordinal=sh;h.preparse=bs;h.postformat=bs;h.relativeTime=hh;h.pastFuture=ch;h.set=uh;h.months=rc;h.monthsShort=uc;h.monthsParse=ec;h.monthsRegex=hc;h.monthsShortRegex=sc;h.week=lc;h.firstDayOfYear=vc;h.firstDayOfWeek=ac;h.weekdays=kc;h.weekdaysMin=gc;h.weekdaysShort=dc;h.weekdaysParse=tl;h.weekdaysRegex=fl;h.weekdaysShortRegex=el;h.weekdaysMinRegex=ol;h.isPM=hl;h.meridiem=cl;hi("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=o(n%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});r.lang=tt("moment.lang is deprecated. Use moment.locale instead.",hi);r.langData=tt("moment.langData is deprecated. Use moment.localeData instead.",kt);lt=Math.abs;var bp=gt("ms"),kp=gt("s"),dp=gt("m"),gp=gt("h"),nw=gt("d"),tw=gt("w"),iw=gt("M"),rw=gt("y");var ew=fi("milliseconds"),ow=fi("seconds"),sw=fi("minutes"),hw=fi("hours"),cw=fi("days"),lw=fi("months"),aw=fi("years");return pt=Math.round,ot={ss:44,s:45,m:45,h:22,d:26,M:11},tu=Math.abs,s=dr.prototype,s.isValid=ya,s.abs=lp,s.add=ap,s.subtract=vp,s.as=pp,s.asMilliseconds=bp,s.asSeconds=kp,s.asMinutes=dp,s.asHours=gp,s.asDays=nw,s.asWeeks=tw,s.asMonths=iw,s.asYears=rw,s.valueOf=wp,s._bubble=yp,s.clone=uw,s.get=fw,s.milliseconds=ew,s.seconds=ow,s.minutes=sw,s.hours=hw,s.days=cw,s.weeks=vw,s.months=lw,s.years=aw,s.humanize=kw,s.toISOString=iu,s.toString=iu,s.toJSON=iu,s.locale=ls,s.localeData=as,s.toIsoString=tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",iu),s.lang=cf,f("X",0,0,"unix"),f("x",0,0,"valueOf"),u("x",cr),u("X",/[+-]?\d+(\.\d{1,3})?/),l("X",function(n,t,i){i._d=new Date(parseFloat(n,10)*1e3)}),l("x",function(n,t,i){i._d=new Date(o(n))}),r.version="2.22.2",th(a),r.fn=i,r.min=la,r.max=aa,r.now=ns,r.utc=st,r.unix=up,r.months=ep,r.isDate=tr,r.locale=hi,r.invalid=ir,r.duration=et,r.isMoment=bt,r.weekdays=sp,r.parseZone=fp,r.localeData=kt,r.isDuration=uf,r.monthsShort=op,r.weekdaysMin=cp,r.defineLocale=du,r.updateLocale=vl,r.locales=yl,r.weekdaysShort=hp,r.normalizeUnits=it,r.relativeTimeRounding=ww,r.relativeTimeThreshold=bw,r.calendarFormat=ev,r.prototype=i,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},r})},{}],17:[function(n,t){"use strict";var e=n("c2-event-handler"),u;e="default"in e?e["default"]:e;u={};u.typeof=function(n){return n&&typeof Symbol!="undefined"&&n.constructor===Symbol?"symbol":typeof n};u;var r=e({}),o=typeof history.pushState!="undefined",h={},s=undefined,i=undefined,f=function f(n,t){if((n===null||(typeof n=="undefined"?"undefined":u.typeof(n))!=="object")&&(n={}),t===null||(typeof t=="undefined"?"undefined":u.typeof(t))!=="object")return n;Object.keys(t).forEach(function(i){n[i]=u.typeof(t[i])==="object"&&t[i]!==null?f({},t[i]):t[i]});for(var e=arguments.length,i=Array(e>2?e-2:0),r=2;r<e;r++)i[r-2]=arguments[r];return i.length?(i.unshift(n),f.apply(this,i)):n},a=function(n){s&&Object.keys(s).forEach(function(t){if(typeof n[t]=="string")switch(s[t]){case"object":n[t]=JSON.parse(n[t]);break;case"boolean":n[t]=Boolean(n[t]);break;case"number":n[t]=Number(n[t]);break;case"float":n[t]=parseFloat(n[t]);break;case"int":n[t]=parseInt(n[t],10)}})},c=function(){var n=f({},h);return location.search.substring(1).split("&").forEach(function(t){var i=t.split("=");i.length>1&&(n[i[0]]=decodeURIComponent(i[1]))}),a(n),n},v=function(){if(window.location.pathname)return window.location.pathname;var n=window.location.href,t=n.indexOf("?");return t===-1?n:n.substring(0,t)},l=function(n){for(var o,s,c,r=arguments.length,e=Array(r>1?r-1:0),t=1;t<r;t++)e[t-1]=arguments[t];return(o=e.length?f.apply(undefined,[{},i].concat(e)):i,s=Object.keys(o),s.length===0)?v():(c=s.map(function(n){var t=o[n],i="";if(t!==h[n])switch(typeof t=="undefined"?"undefined":u.typeof(t)){case"object":i=t===null?"":JSON.stringify(t);break;case"number":case"boolean":i=String(t);break;case"string":i=t}return i&&n+"="+encodeURIComponent(i)}).filter(function(n){return n}).join(n?"&amp;":"&"),c?"?"+c:v())},y=function(){var n=!1;return document.readyState==="complete"?n=!0:window.addEventListener("load",function(){setTimeout(function(){n=!0},0)}),function(){n&&(i=c(),r.emit("pop"))}}();o&&window.addEventListener("popstate",y);i=c();r.update=function(){i=c()};r.setDefaults=function(n){h=n;i=f({},n,i)};r.setTypes=function(n){s=n;a(i)};r.getValue=function(n){return u.typeof(i[n])==="object"&&i[n]!==null?f({},i[n]):i[n]};r.toString=l;r.push=function(n,t){if((typeof n=="undefined"?"undefined":u.typeof(n))==="object"){var e=f(i,n);o&&history.pushState(e,t||null,l());r.emit("push")}};r.replace=function(n,t){if((typeof n=="undefined"?"undefined":u.typeof(n))==="object"){var e=f(i,n);o&&history.replaceState(e,t||null,l());r.emit("replace")}};r.clone=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return f.apply(undefined,[{},i].concat(r))};r.clear=function(){var n=arguments.length<=0||arguments[0]===undefined?"push":arguments[0],t=arguments.length<=1||arguments[1]===undefined?undefined:arguments[1];(i={},o&&["replace","push"].indexOf(n)!==-1)&&this[n]({},t)};t.exports=r},{"c2-event-handler":11}]},{},[9])