vendor: 5,752 bytes, lines 1-11
1/*! 2 * jQuery JavaScript Library v3.7.0 3 * https://jquery.com/ 4 * 5 * Copyright OpenJS Foundation and other contributors 6 * Released under the MIT license 7 * https://jquery.org/license 8 * 9 * Date: 2023-05-11T18:29Z 10 */ 11!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){var i,r,o=(n=n||be).createElement("script");if(o.text=e,t)for(i in we)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function i(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[he.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,n=i(e);return!_e(e)&&!ve(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function s(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function a(e,t,n){return _e(t)?Te.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?Te.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Te.grep(e,function(e){return de.call(t,e)>-1!==n}):Te.filter(t,e,n)}function l(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return Te.each(e.match(Ue)||[],function(e,n){t[n]=!0}),t}function c(e){return e}function d(e){throw e}function f(e,t,n,i){var r;try{e&&_e(r=e.promise)?r.call(e).done(t).fail(n):e&&_e(r=e.then)?r.call(e,t,n):t.apply(undefined,[e].slice(i))}catch(e){n.apply(undefined,[e])}}function h(){be.removeEventListener("DOMContentLoaded",h),e.removeEventListener("load",h),Te.ready()}function p(e,t){return t.toUpperCase()}function m(e){return e.replace(Be,"ms-").replace($e,p)}function g(){this.expando=Te.expando+g.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Qe.test(e)?JSON.parse(e):e)}function _(e,t,n){var i;if(n===undefined&&1===e.nodeType)if(i="data-"+t.replace(Xe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=y(n)}catch(r){}Ke.set(e,t,n)}else n=undefined;return n}function v(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return Te.css(e,t,"")},l=a(),u=n&&n[3]||(Te.cssNumber[t]?"":"px"),c=e.nodeType&&(Te.cssNumber[t]||"px"!==u&&+l)&&Je.exec(Te.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)Te.style(e,t,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,Te.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function b(e){var t,n=e.ownerDocument,i=e.nodeName,r=ot[i];return r||(t=n.body.appendChild(n.createElement(i)),r=Te.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ot[i]=r,r)}function w(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=ze.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&rt(i)&&(r[o]=b(i))):"none"!==n&&(r[o]="none",ze.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}function S(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&o(e,t)?Te.merge([e],n):n}function E(e,t){for(var n=0,i=e.length;n<i;n++)ze.set(e[n],"globalEval",!t||ze.get(t[n],"globalEval"))}function T(e,t,n,r,o){for(var s,a,l,u,c,d,f=t.createDocumentFragment(),h=[],p=0,m=e.length;p<m;p++)if((s=e[p])||0===s)if("object"===i(s))Te.merge(h,s.nodeType?[s]:s);else if(ft.test(s)){for(a=a||f.appendChild(t.createElement("div")),l=(ut.exec(s)||["",""])[1].toLowerCase(),u=dt[l]||dt._default,a.innerHTML=u[1]+Te.htmlPrefilter(s)+u[2],d=u[0];d--;)a=a.lastChild;Te.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(t.createTextNode(s));for(f.textContent="",p=0;s=h[p++];)if(r&&Te.inArray(s,r)>-1)o&&o.push(s);else if(c=nt(s),a=S(f.appendChild(s),"script"),c&&E(a),n)for(d=0;s=a[d++];)ct.test(s.type||"")&&n.push(s);return f}function C(){return!0}function x(){return!1}function k(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=undefined),t)k(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=undefined):null==r&&("string"==typeof n?(r=i,i=undefined):(r=i,i=n,n=undefined)),!1===r)r=x;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return Te().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=Te.guid++)),e.each(function(){Te.event.add(this,t,r,i,n)})}function D(e,t,n){n?(ze.set(e,t,!1),Te.event.add(e,t,{namespace:!1,handler:function(e){var n,i=ze.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(Te.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=le.call(arguments),ze.set(this,t,i),this[t](),n=ze.get(this,t),ze.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(ze.set(this,t,Te.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=C)}})):ze.get(e,t)===undefined&&Te.event.add(e,t,C)}function O(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")&&Te(e).children("tbody")[0]||e}function A(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function N(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function P(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(ze.hasData(e)&&(a=ze.get(e).events))for(r in ze.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)Te.event.add(t,r,a[r][n]);Ke.hasData(e)&&(o=Ke.access(e),s=Te.extend({},o),Ke.set(t,s))}}function I(e,t){var n=t.nodeName.toLowerCase();
vendor: 9,074 bytes, line 11
11"input"===n&<.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function M(e,t,i,r){t=ue(t);var o,s,a,l,u,c,d=0,f=e.length,h=f-1,p=t[0],m=_e(p);if(m||f>1&&"string"==typeof p&&!ye.checkClone&&mt.test(p))return e.each(function(n){var o=e.eq(n);m&&(t[0]=p.call(this,n,o.html())),M(o,t,i,r)});if(f&&(s=(o=T(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=s),s||r)){for(l=(a=Te.map(S(o,"script"),A)).length;d<f;d++)u=o,d!==h&&(u=Te.clone(u,!0,!0),l&&Te.merge(a,S(u,"script"))),i.call(e[d],u,d);if(l)for(c=a[a.length-1].ownerDocument,Te.map(a,N),d=0;d<l;d++)u=a[d],ct.test(u.type||"")&&!ze.access(u,"globalEval")&&Te.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?Te._evalUrl&&!u.noModule&&Te._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):n(u.textContent.replace(gt,""),u,c))}return e}function L(e,t,n){for(var i,r=t?Te.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||Te.cleanData(S(i)),i.parentNode&&(n&&nt(i)&&E(S(i,"script")),i.parentNode.removeChild(i));return e}function j(e,t,n){var i,r,o,s,a=_t.test(t),l=e.style;return(n=n||vt(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(Oe,"$1")||undefined),""!==s||nt(e)||(s=Te.style(e,t)),!ye.pixelBoxStyles()&&yt.test(s)&&wt.test(t)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=r,l.maxWidth=o)),s!==undefined?s+"":s}function F(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function R(e){for(var t=e[0].toUpperCase()+e.slice(1),n=St.length;n--;)if((e=St[n]+t)in Et)return e}function H(e){var t=Te.cssProps[e]||Tt[e];return t||(e in Et?e:Tt[e]=R(e)||e)}function W(e,t,n){var i=Je.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function U(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0,u=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=Te.css(e,n+et[s],!0,r)),i?("content"===n&&(l-=Te.css(e,"padding"+et[s],!0,r)),"margin"!==n&&(l-=Te.css(e,"border"+et[s]+"Width",!0,r))):(l+=Te.css(e,"padding"+et[s],!0,r),"padding"!==n?l+=Te.css(e,"border"+et[s]+"Width",!0,r):a+=Te.css(e,"border"+et[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l+u}function Y(e,t,n){var i=vt(e),r=(!ye.boxSizingReliable()||n)&&"border-box"===Te.css(e,"boxSizing",!1,i),s=r,a=j(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(yt.test(a)){if(!n)return a;a="auto"}return(!ye.boxSizingReliable()&&r||!ye.reliableTrDimensions()&&o(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Te.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===Te.css(e,"boxSizing",!1,i),(s=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+U(e,t,n||(r?"border":"content"),s,i,a)+"px"}function V(e,t,n,i,r){return new V.prototype.init(e,t,n,i,r)}function q(){Ot&&(!1===be.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(q):e.setTimeout(q,Te.fx.interval),Te.fx.tick())}function B(){return e.setTimeout(function(){Dt=undefined}),Dt=Date.now()}function $(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=et[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function G(e,t,n){for(var i,r=(Q.tweeners[t]||[]).concat(Q.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function z(e,t,n){var i,r,o,s,a,l,u,c,d="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&rt(e),g=ze.get(e,"fxshow");for(i in n.queue||(null==(s=Te._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,Te.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],At.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||g[i]===undefined)continue;m=!0}h[i]=g&&g[i]||Te.style(e,i)}if((l=!Te.isEmptyObject(t))||!Te.isEmptyObject(h))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=ze.get(e,"display")),"none"===(c=Te.css(e,"display"))&&(u?c=u:(w([e],!0),u=e.style.display||u,c=Te.css(e,"display"),w([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===Te.css(e,"float")&&(l||(f.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=ze.access(e,"fxshow",{display:u}),o&&(g.hidden=!m),m&&w([e],!0),f.done(function(){for(i in m||w([e]),ze.remove(e,"fxshow"),h)Te.style(e,i,h[i])})),l=G(m?g[i]:0,i,f),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}function K(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=m(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=Te.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function Q(e,t,n){var i,r,o=0,s=Q.prefilters.length,a=Te.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Dt||B(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(i);return a.notifyWith(e,[u,i,n]),i<1&&s?n:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:Te.extend({},t),opts:Te.extend(!0,{specialEasing:{},easing:Te.easing._default},n),originalProperties:t,originalOptions:n,startTime:Dt||B(),duration:n.duration,tweens:[],createTween:function(t,n){var i=Te.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(K(c,u.opts.specialEasing);o<s;o++)if(i=Q.prefilters[o].call(u,e,c,u.opts))return _e(i.stop)&&(Te._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return Te.map(c,G,u),_e(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),Te.fx.timer(Te.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}function X(e){return(e.match(Ue)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function J(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Ue)||[]}function ee(e,t,n,r){var o;if(Array.isArray(t))Te.each(t,function(t,i){n||Yt.test(e)?r(e,i):ee(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==i(t))r(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,r)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(Ue)||[];if(_e(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function ne(e,t,n,i){function r(a){var l;return o[a]=!0,Te.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||s||o[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},s=e===en;return r(t.dataTypes[0])||!o["*"]&&r("*")}function ie(e,t){var n,i,r=Te.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&Te.extend(!0,e,i),e}function re(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===undefined&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function oe(e,t,n,i){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var se=[],ae=Object.getPrototypeOf,le=se.slice,ue=se.flat?function(e){return se.flat.call(e)}:function(e){return se.concat.apply([],e)},ce=se.push,de=se.indexOf,fe={},he=fe.toString,pe=fe.hasOwnProperty,me=pe.toString,ge=me.call(Object),ye={},_e=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},ve=function(e){return null!=e&&e===e.window},be=e.document,we={type:!0,src:!0,nonce:!0,noModule:!0},Se="3.7.0",Ee=/HTML$/i,Te=function(e,t){return new Te.fn.init(e,t)};Te.fn=Te.prototype={jquery:Se,constructor:Te,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Te.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Te.each(this,e)},map:function(e){return this.pushStack(Te.map(this,function(t,n){return e.call(t,n,t)}
vendor: 24,113 bytes, lines 11-12
11))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Te.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Te.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:se.sort,splice:se.splice},Te.extend=Te.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||_e(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(u&&i&&(Te.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||Te.isPlainObject(n)?n:{},r=!1,s[t]=Te.extend(u,o,i)):i!==undefined&&(s[t]=i));return s},Te.extend({expando:"jQuery"+(Se+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==he.call(e))&&(!(t=ae(e))||"function"==typeof(n=pe.call(t,"constructor")&&t.constructor)&&me.call(n)===ge)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){n(e,{nonce:t&&t.nonce},i)},each:function(e,t){var n,i=0;if(r(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r)return e.textContent;if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=Te.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?Te.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Ee.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,o,s=0,a=[];if(r(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return ue(a)},guid:1,support:ye}),"function"==typeof Symbol&&(Te.fn[Symbol.iterator]=se[Symbol.iterator]),Te.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var Ce=se.pop,xe=se.sort,ke=se.splice,De="[\\x20\\t\\r\\n\\f]",Oe=new RegExp("^"+De+"+|((?:^|[^\\\\])(?:\\\\.)*)"+De+"+$","g");Te.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var Ae=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Te.escapeSelector=function(e){return(e+"").replace(Ae,s)};var Ne=be,Pe=ce;!function(){function t(){try{return A.activeElement}catch(e){}}function n(e,t,i,r){var o,s,a,l,u,c,h,g=t&&t.ownerDocument,y=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return i;if(!r&&(f(t),t=t||A,P)){if(11!==y&&(u=ie.exec(e)))if(o=u[1]){if(9===y){if(!(a=t.getElementById(o)))return i;if(a.id===o)return L.call(i,a),i}else if(g&&(a=g.getElementById(o))&&n.contains(t,a)&&a.id===o)return L.call(i,a),i}else{if(u[2])return L.apply(i,t.getElementsByTagName(e)),i;if((o=u[3])&&t.getElementsByClassName)return L.apply(i,t.getElementsByClassName(o)),i}if(!(Y[e+" "]||I&&I.test(e))){if(h=e,g=t,1===y&&(X.test(e)||Q.test(e))){for((g=re.test(e)&&d(t.parentNode)||t)==t&&ye.scope||((l=t.getAttribute("id"))?l=Te.escapeSelector(l):t.setAttribute("id",l=j)),s=(c=p(e)).length;s--;)c[s]=(l?"#"+l:":scope")+" "+m(c[s]);h=c.join(",")}try{return L.apply(i,g.querySelectorAll(h)),i}catch(_){Y(e,!0)}finally{l===j&&t.removeAttribute("id")}}}return T(e.replace(Oe,"$1"),t,i,r)}function i(){function e(n,i){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function r(e){return e[j]=!0,e}function s(e){var t=A.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e){return function(t){return o(t,"input")&&t.type===e}}function l(e){return function(t){return(o(t,"input")||o(t,"button"))&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(e){var t,i=e?e.ownerDocument||e:Ne;return i!=A&&9===i.nodeType&&i.documentElement?(N=(A=i).documentElement,P=!Te.isXMLDoc(A),M=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,Ne!=A&&(t=A.defaultView)&&t.top!==t&&t.addEventListener("unload",ue),ye.getById=s(function(e){return N.appendChild(e).id=Te.expando,!A.getElementsByName||!A.getElementsByName(Te.expando).length}),ye.disconnectedMatch=s(function(e){return M.call(e,"*")}),ye.scope=s(function(){return A.querySelectorAll(":scope")}),ye.cssHas=s(function(){try{return A.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),ye.getById?(x.filter.ID=function(e){var t=e.replace(oe,ae);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var t=e.replace(oe,ae);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},x.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&P)return t.getElementsByClassName(e)},I=[],s(function(e){var t;N.appendChild(e).innerHTML="<a id='"+j+"' href='' disabled='disabled'></a><select id='"+j+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||I.push("\\["+De+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+j+"-]").length||I.push("~="),e.querySelectorAll("a#"+j+"+*").length||I.push(".#.+[+~]"),e.querySelectorAll(":checked").length||I.push(":checked"),(t=A.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),N.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),(t=A.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||I.push("\\["+De+"*name"+De+"*="+De+"*(?:''|\"\")")}),ye.cssHas||I.push(":has"),I=I.length&&new RegExp(I.join("|")),V=function(e,t){if(e===t)return O=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ye.sortDetached&&t.compareDocumentPosition(e)===i?e===A||e.ownerDocument==Ne&&n.contains(Ne,e)?-1:t===A||t.ownerDocument==Ne&&n.contains(Ne,t)?1:D?de.call(D,e)-de.call(D,t):0:4&i?-1:1)},A):A}function h(){}function p(e,t){var i,r,o,s,a,l,u,c=W[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],u=x.preFilter;a;){for(s in i&&!(r=K.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=Q.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(Oe," ")}),a=a.slice(i.length)),x.filter)!(r=ee[s].exec(a))||u[s]&&!(r=u[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return t?a.length:a?n.error(e):W(e,l).slice(0)}function m(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function g(e,t,n){var i=t.dir,r=t.next,s=r||i,a=n&&"parentNode"===s,l=R++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,u){var c,d,f=[F,l];if(u){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(d=t[j]||(t[j]={}),r&&o(t,r))t=t[i]||t;else{if((c=d[s])&&c[0]===F&&c[1]===l)return f[2]=c[2];if(d[s]=f,f[2]=e(t,n,u))return!0}return!1}}function y(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function _(e,t,i){for(var r=0,o=t.length;r<o;r++)n(e,t[r],i);return i}function v(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),u&&t.push(a)));return s}function b(e,t,n,i,o,s){return i&&!i[j]&&(i=b(i)),o&&!o[j]&&(o=b(o,s)),r(function(r,s,a,l){var u,c,d,f,h=[],p=[],m=s.length,g=r||_(t||"*",a.nodeType?[a]:a,[]),y=!e||!r&&t?g:v(g,h,e,a,l);if(n?n(y,f=o||(r?e:m||i)?[]:s,a,l):f=y,i)for(u=v(f,p),i(u,[],a,l),c=u.length;c--;)(d=u[c])&&(f[p[c]]=!(y[p[c]]=d));if(r){if(o||e){if(o){for(u=[],c=f.length;c--;)(d=f[c])&&u.push(y[c]=d);o(null,f=[],u,l)}for(c=f.length;c--;)(d=f[c])&&(u=o?de.call(r,d):h[c])>-1&&(r[u]=!(s[u]=d))}}else f=v(f===s?f.splice(m,f.length):f),o?o(null,s,f,l):L.apply(s,f)})}function w(e){for(var t,n,i,r=e.length,o=x.relative[e[0].type],s=o||x.relative[" "],a=o?1:0,l=g(function(e){return e===t},s,!0),u=g(function(e){return de.call(t,e)>-1},s,!0),c=[function(e,n,i){var r=!o&&(i||n!=k)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,r}];a<r;a++)if(n=x.relative[e[a].type])c=[g(y(c),n)];else{if((n=x.filter[e[a].type].apply(null,e[a].matches))[j]){for(i=++a;i<r&&!x.relative[e[i].type];i++);return b(a>1&&y(c),a>1&&m(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(Oe,"$1"),n,a<i&&w(e.slice(a,i)),i<r&&w(e=e.slice(i)),i<r&&m(e))}c.push(n)}return y(c)}function S(e,t){var n=t.length>0,i=e.length>0,o=function(r,o,s,a,l){var u,c,d,h=0,p="0",m=r&&[],g=[],y=k,_=r||i&&x.find.TAG("*",l),b=F+=null==y?1:Math.random()||.1,w=_.length;for(l&&(k=o==A||o||l);p!==w&&null!=(u=_[p]);p++){if(i&&u){for(c=0,o||u.ownerDocument==A||(f(u),s=!P);d=e[c++];)if(d(u,o||A,s)){L.call(a,u);break}l&&(F=b)}n&&((u=!d&&u)&&h--,r&&m.push(u))}if(h+=p,n&&p!==h){for(c=0;d=t[c++];)d(m,g,o,s);if(r){if(h>0)for(;p--;)m[p]||g[p]||(g[p]=Ce.call(a));g=v(g)}L.apply(a,g),l&&!r&&g.length>0&&h+t.length>1&&Te.uniqueSort(a)}return l&&(F=b,k=y),m};return n?r(o):o}function E(e,t){var n,i=[],r=[],o=U[e+" "];if(!o){for(t||(t=p(e)),n=t.length;n--;)(o=w(t[n]))[j]?i.push(o):r.push(o);(o=U(e,S(r,i))).selector=e}return o}function T(e,t,n,i){var r,o,s,a,l,u="function"==typeof e&&e,c=!i&&p(e=u.selector||e);if(n=n||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&P&&x.relative[o[1].type]){if(!(t=(x.find.ID(s.matches[0].replace(oe,ae),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=ee.needsContext.test(e)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(oe,ae),re.test(o[0].type)&&d(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&m(o)))return L.apply(n,i),n;break}}return(u||E(e,c))(i,t,!P,n,!t||re.test(e)&&d(t.parentNode)||t),n}var C,x,k,D,O,A,N,P,I,M,L=Pe,j=Te.expando,F=0,R=0,H=i(),W=i(),U=i(),Y=i(),V=function(e,t){return e===t&&(O=!0),0},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+De+"*("+B+")(?:"+De+"*([*^$|!~]?=)"+De+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+De+"*\\]",G=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",z=new RegExp(De+"+","g"),K=new RegExp("^"+De+"*,"+De+"*"),Q=new RegExp("^"+De+"*([>+~]|"+De+")"+De+"*"),X=new RegExp(De+"|>"),Z=new RegExp(G),J=new RegExp("^"+B+"$"),ee={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+De+"*(even|odd|(([+-]|)(\\d*)n|)"+De+"*(?:([+-]|)"+De+"*(\\d+)|))"+De+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+De+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+De+"*((?:-\\d)?\\d*)"+De+"*\\)|)(?=[^-]|$)","i")},te=/^(?:input|select|textarea|button)$/i,ne=/^h\d$/i,ie=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,re=/[+~]/,oe=new RegExp("\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\([^\\r\\n\\f])","g"),ae=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ue=function(){f()},ce=g(function(e){return!0===e.disabled&&o(e,"fieldset")},{dir:"parentNode",next:"legend"});try{L.apply(se=le.call(Ne.childNodes),Ne.childNodes),se[Ne.childNodes.length].nodeType}catch(fe){L={apply:function(e,t){Pe.apply(e,le.call(t))},call:function(e){Pe.apply(e,le.call(arguments,1))}}}for(C in n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if(f(e),P&&!Y[t+" "]&&(!I||!I.test(t)))try{var i=M.call(e,t);if(i||ye.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(fe){Y(t,!0)}return n(t,A,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!=A&&f(e),Te.contains(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!=A&&f(e);var n=x.attrHandle[t.toLowerCase()],i=n&&pe.call(x.attrHandle,t.toLowerCase())?n(e,t,!P):undefined;return i!==undefined?i:e.getAttribute(t)},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Te.uniqueSort=function(e){var t,n=[],i=0,r=0;if(O=!ye.sortStable,D=!ye.sortStable&&le.call(e,0),xe.call(e,V),O){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)ke.call(e,n[i],1)}return D=null,e},Te.fn.uniqueSort=function(){return this.pushStack(Te.uniqueSort(le.apply(this)))},(x=Te.expr={cacheLength:50,createPseudo:r,match:ee,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(oe,ae),e[3]=(e[3]||e[4]||e[5]||"").replace(oe,ae),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ee.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Z.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(oe,ae).toLowerCase();return"*"===e?function(){return!0}:function(e){return o(e,t)}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+De+")"+e+"("+De+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(r){var o=n.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===i:"!="===t?o!==i:"^="===t?i&&0===o.indexOf(i):"*="===t?i&&o.indexOf(i)>-1:"$="===t?i&&o.slice(-i.length)===i:"~="===t?(" "+o.replace(z," ")+" ").indexOf(i)>-1:"|="===t&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,u){var c,d,f,h,p,m=s!==a?"nextSibling":"previousSibling",g=t.parentNode,y=l&&t.nodeName.toLowerCase(),_=!u&&!l,v=!1;if(g){if(s){for(;m;){for(f=t;f=f[m];)if(l?o(f,y):1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&_){for(v=(h=(c=(d=g[j]||(g[j]={}))[e]||[])[0]===F&&c[1])&&c[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(v=h=0)||p.pop();)if(1===f.nodeType&&++v&&f===t){d[e]=[F,h,v];break}}else if(_&&(v=h=(c=(d=t[j]||(t[j]={}))[e]||[])[0]===F&&c[1]),!1===v)for(;(f=++h&&f&&f[m]||(v=h=0)||p.pop())&&((l?!o(f,y):1!==f.nodeType)||!++v||(_&&((d=f[j]||(f[j]={}))[e]=[F,v]),f!==t)););return(v-=r)===i||v%i==0&&v/i>=0}}},PSEUDO:function(e,t){var i,o=x.pseudos[e]||x.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[j]?o(t):o.length>1?(i=[e,e,"",t],x.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,n){for(var i,r=o(e,t),s=r.length;s--;)e[i=de.call(e,r[s])]=!(n[i]=r[s])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=E(e.replace(Oe,"$1"));return i[j]?r(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(t){return n(e,t).length>0}}),contains:r(function(e){return e=e.replace(oe,ae),function(t){return(t.textContent||Te.text(t)).indexOf(e)>-1}}),lang:r(function(e){return J.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(oe,ae).toLowerCase(),function(t){var n;do{if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===N},focus:function(e){return e===t()&&A.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){return o(e,"input")&&!!e.checked||o(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return ne.test(e.nodeName)},input:function(e){return te.test(e.nodeName)},button:function(e){return o(e,"input")&&"button"===e.type||o(e,"button")},text:function(e){var t 12;return o(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:c(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[C]=a(C);for(C in{submit:!0,reset:!0})x.pseudos[C]=l(C);h.prototype=x.filters=x.pseudos,x.setFilters=new h,ye.sortStable=j.split("").sort(V).join("")===j,f(),ye.sortDetached=s(function(e){return 1&e.compareDocumentPosition(A.createElement("fieldset"))}),Te.find=n,Te.expr[":"]=Te.expr.pseudos,Te.unique=Te.uniqueSort,n.compile=E,n.select=T,n.setDocument=f,n.escape=Te.escapeSelector,n.getText=Te.text,n.isXML=Te.isXMLDoc,n.selectors=Te.expr,n.support=Te.support,n.uniqueSort=Te.uniqueSort}();var Ie=function(e,t,n){for(var i=[],r=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&Te(e).is(n))break;i.push(e)}return i},Me=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Le=Te.expr.match.needsContext,je=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Te.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?Te.find.matchesSelector(i,e)?[i]:[]:Te.find.matches(e,Te.grep(t,function(e){return 1===e.nodeType}))},Te.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(Te(e).filter(function(){for(t=0;t<i;t++)if(Te.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)Te.find(e,r[t],n);return i>1?Te.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&Le.test(e)?Te(e):e||[],!1).length}});var Fe,Re=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Te.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Fe,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Re.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof Te?t[0]:t,Te.merge(this,Te.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:be,!0)),je.test(i[1])&&Te.isPlainObject(t))for(i in t)_e(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=be.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_e(e)?n.ready!==undefined?n.ready(e):e(Te):Te.makeArray(e,this)}).prototype=Te.fn,Fe=Te(be);var He=/^(?:parents|prev(?:Until|All))/,We={children:!0,contents:!0,next:!0,prev:!0};Te.fn.extend({has:function(e){var t=Te(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Te.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&Te(e);if(!Le.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Te.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Te.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(Te(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Te.uniqueSort(Te.merge(this.get(),Te(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Te.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ie(e,"parentNode")},parentsUntil:function(e,t,n){return Ie(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Ie(e,"nextSibling")},prevAll:function(e){return Ie(e,"previousSibling")},nextUntil:function(e,t,n){return Ie(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ie(e,"previousSibling",n)},siblings:function(e){return Me((e.parentNode||{}).firstChild,e)},children:function(e){return Me(e.firstChild)},contents:function(e){return null!=e.contentDocument&&ae(e.contentDocument)?e.contentDocument:(o(e,"template")&&(e=e.content||e),Te.merge([],e.childNodes))}},function(e,t){Te.fn[e]=function(n,i){var r=Te.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Te.filter(i,r)),this.length>1&&(We[e]||Te.uniqueSort(r),He.test(e)&&r.reverse()),this.pushStack(r)}});var Ue=/[^\x20\t\r\n\f]+/g;Te.Callbacks=function(e){e="string"==typeof e?u(e):Te.extend({},e);var t,n,r,o,s=[],a=[],l=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;l=-1)for(n=a.shift();++l<s.length;)!1===s[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(s=n?[]:"")},d={add:function(){return s&&(n&&!t&&(l=s.length-1,a.push(n)),function r(t){Te.each(t,function(t,n){_e(n)?e.unique&&d.has(n)||s.push(n):n&&n.length&&"string"!==i(n)&&r(n)})}(arguments),n&&!t&&c()),this},remove:function(){return Te.each(arguments,function(e,t){for(var n;(n=Te.inArray(t,s,n))>-1;)s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?Te.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=a=[],n||t||(s=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},Te.extend({Deferred:function(t){var n=[["notify","progress",Te.Callbacks("memory"),Te.Callbacks("memory"),2],["resolve","done",Te.Callbacks("once memory"),Te.Callbacks("once memory"),0,"resolved"],["reject","fail",Te.Callbacks("once memory"),Te.Callbacks("once memory"),1,"rejected"]],i="pe
12nding",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return r.then(null,e)},pipe:function(){var e=arguments;return Te.Deferred(function(t){Te.each(n,function(n,i){var r=_e(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&_e(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,i,r){function o(t,n,i,r){return function(){var a=this,l=arguments,u=function(){var e,u;if(!(t<s)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,_e(u)?r?u.call(e,o(s,n,c,r),o(s,n,d,r)):(s++,u.call(e,o(s,n,c,r),o(s,n,d,r),o(s,n,c,n.notifyWith))):(i!==c&&(a=undefined,l=[e]),(r||n.resolveWith)(a,l))}},f=r?u:function(){try{u()}catch(e){Te.Deferred.exceptionHook&&Te.Deferred.exceptionHook(e,f.error),t+1>=s&&(i!==d&&(a=undefined,l=[e]),n.rejectWith(a,l))}};t?f():(Te.Deferred.getErrorHook?f.error=Te.Deferred.getErrorHook():Te.Deferred.getStackHook&&(f.error=Te.Deferred.getStackHook()),e.setTimeout(f))}}var s=0;return Te.Deferred(function(e){n[0][3].add(o(0,e,_e(r)?r:c,e.notifyWith)),n[1][3].add(o(0,e,_e(t)?t:c)),n[2][3].add(o(0,e,_e(i)?i:d))}).promise()},promise:function(e){return null!=e?Te.extend(e,r):r}},o={};return Te.each(n,function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add(function(){i=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?undefined:this,arguments),this},o[t[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=le.call(arguments),o=Te.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(f(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||_e(r[n]&&r[n].then)))return o.then();for(;n--;)f(r[n],s(n),o.reject);return o.promise()}});var Ye=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Te.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Ye.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Te.readyException=function(t){e.setTimeout(function(){throw t})};var Ve=Te.Deferred();Te.fn.ready=function(e){return Ve.then(e)["catch"](function(e){Te.readyException(e)}),this},Te.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Te.readyWait:Te.isReady)||(Te.isReady=!0,!0!==e&&--Te.readyWait>0||Ve.resolveWith(be,[Te]))}}),Te.ready.then=Ve.then,"complete"===be.readyState||"loading"!==be.readyState&&!be.documentElement.doScroll?e.setTimeout(Te.ready):(be.addEventListener("DOMContentLoaded",h),e.addEventListener("load",h));var qe=function(e,t,n,r,o,s,a){var l=0,u=e.length,c=null==n;if("object"===i(n))for(l in o=!0,n)qe(e,t,l,n[l],!0,s,a);else if(r!==undefined&&(o=!0,_e(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(Te(e),n)})),t))for(;l<u;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return o?e:c?t.call(e):u?t(e[0],n):s},Be=/^-ms-/,$e=/-([a-z])/g,Ge=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ge(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[m(t)]=n;else for(i in t)r[m(i)]=t[i];return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][m(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,i=e[this.expando];if(i!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(m):(t=m(t))in i?[t]:t.match(Ue)||[]).length;for(;n--;)delete i[t[n]]}(t===undefined||Te.isEmptyObject(i))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!Te.isEmptyObject(t)}};var ze=new g,Ke=new g,Qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Xe=/[A-Z]/g;Te.extend({hasData:function(e){return Ke.hasData(e)||ze.hasData(e)},data:function(e,t,n){return Ke.access(e,t,n)},removeData:function(e,t){Ke.remove(e,t)},_data:function(e,t,n){return ze.access(e,t,n)},_removeData:function(e,t){ze.remove(e,t)}}),Te.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(e===undefined){if(this.length&&(r=Ke.get(o),1===o.nodeType&&!ze.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=m(i.slice(5)),_(o,i,r[i]));ze.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Ke.set(this,e)}):qe(this,function(t){var n;if(o&&t===undefined)return(n=Ke.get(o,e))!==undefined?n:(n=_(o,e))!==undefined?n:void 0;this.each(function(){Ke.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ke.remove(this,e)})}}),Te.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ze.get(e,t),n&&(!i||Array.isArray(n)?i=ze.access(e,t,Te.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=Te.queue(e,t),i=n.length,r=n.shift(),o=Te._queueHooks(e,t),s=function(){Te.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ze.get(e,n)||ze.access(e,n,{empty:Te.Callbacks("once memory").add(function(){ze.remove(e,[t+"queue",n])})})}}),Te.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Te.queue(this[0],e):t===undefined?this:this.each(function(){var n=Te.queue(this,e,t);Te._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Te.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Te.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=Te.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";s--;
vendor: 12,291 bytes, line 12
12)(n=ze.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var Ze=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Je=new RegExp("^(?:([+-])=|)("+Ze+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],tt=be.documentElement,nt=function(e){return Te.contains(e.ownerDocument,e)},it={composed:!0};tt.getRootNode&&(nt=function(e){return Te.contains(e.ownerDocument,e)||e.getRootNode(it)===e.ownerDocument});var rt=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&nt(e)&&"none"===Te.css(e,"display")},ot={};Te.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){rt(this)?Te(this).show():Te(this).hide()})}});var st,at,lt=/^(?:checkbox|radio)$/i,ut=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ct=/^$|^module$|\/(?:java|ecma)script/i;st=be.createDocumentFragment().appendChild(be.createElement("div")),(at=be.createElement("input")).setAttribute("type","radio"),at.setAttribute("checked","checked"),at.setAttribute("name","t"),st.appendChild(at),ye.checkClone=st.cloneNode(!0).cloneNode(!0).lastChild.checked,st.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!st.cloneNode(!0).lastChild.defaultValue,st.innerHTML="<option></option>",ye.option=!!st.lastChild;var dt={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,"",""]};dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td,ye.option||(dt.optgroup=dt.option=[1,"<select multiple='multiple'>","</select>"]);var ft=/<|&#?\w+;/,ht=/^([^.]*)(?:\.(.+)|)/;Te.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,u,c,d,f,h,p,m,g=ze.get(e);if(Ge(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&Te.find.matchesSelector(tt,r),n.guid||(n.guid=Te.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==Te&&Te.event.triggered!==t.type?Te.event.dispatch.apply(e,arguments):undefined}),u=(t=(t||"").match(Ue)||[""]).length;u--;)h=m=(a=ht.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),h&&(d=Te.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=Te.event.special[h]||{},c=Te.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Te.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(h,s)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),Te.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,u,c,d,f,h,p,m,g=ze.hasData(e)&&ze.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(Ue)||[""]).length;u--;)if(h=m=(a=ht.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),h){for(d=Te.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)c=f[o],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));s&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||Te.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)Te.event.remove(e,h+t[u],n,i,!0);Te.isEmptyObject(l)&&ze.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=Te.event.fix(e),u=(ze.get(this,"events")||Object.create(null))[l.type]||[],c=Te.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=Te.event.handlers.call(this,l,u),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,(i=((Te.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))!==undefined&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],s={},n=0;n<l;n++)s[r=(i=t[n]).selector+" "]===undefined&&(s[r]=i.needsContext?Te(r,this).index(u)>-1:Te.find(r,this,null,[u]).length),s[r]&&o.push(i);o.length&&a.push({elem:u,handlers:o})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(Te.Event.prototype,e,{enumerable:!0,configurable:!0,get:_e(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Te.expando]?e:new Te.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return lt.test(t.type)&&t.click&&o(t,"input")&&D(t,"click",!0),!1},trigger:function(e){var t=this||e;return lt.test(t.type)&&t.click&&o(t,"input")&&D(t,"click"),!0},_default:function(e){var t=e.target;return lt.test(t.type)&&t.click&&o(t,"input")&&ze.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Te.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Te.Event=function(e,t){if(!(this instanceof Te.Event))return new Te.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?C:x,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Te.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Te.expando]=!0},Te.Event.prototype={constructor:Te.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=C,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=C,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=C,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Te.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Te.event.addProp),Te.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(be.documentMode){var n=ze.get(this,"handle"),i=Te.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else Te.event.simulate(t,e.target,Te.event.fix(e))}Te.event.special[e]={setup:function(){var i;if(D(this,e,!0),!be.documentMode)return!1;(i=ze.get(this,t))||this.addEventListener(t,n),ze.set(this,t,(i||0)+1)},trigger:function(){return D(this,e),!0},teardown:function(){var e;if(!be.documentMode)return!1;(e=ze.get(this,t)-1)?ze.set(this,t,e):(this.removeEventListener(t,n),ze.remove(this,t))},_default:function(t){return ze.get(t.target,e)},delegateType:t},Te.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=be.documentMode?this:i,o=ze.get(r,t);o||(be.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),ze.set(r,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=be.documentMode?this:i,o=ze.get(r,t)-1;o?ze.set(r,t,o):(be.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),ze.remove(r,t))}}}),Te.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Te.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||Te.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Te.fn.extend({on:function(e,t,n,i){return k(this,e,t,n,i)},one:function(e,t,n,i){return k(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Te(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=x),this.each(function(){Te.event.remove(this,e,n,t)})}});var pt=/<script|<style|<link/i,mt=/checked\s*(?:[^=]|=\s*.checked.)/i,gt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Te.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=nt(e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Te.isXMLDoc(e)))for(s=S(a),i=0,r=(o=S(e)).length;i<r;i++)I(o[i],s[i]);if(t)if(n)for(o=o||S(e),s=s||S(a),i=0,r=o.length;i<r;i++)P(o[i],s[i]);else P(e,a);return(s=S(a,"script")).length>0&&E(s,!l&&S(e,"script")),a},cleanData:function(e){for(var t,n,i,r=Te.event.special,o=0;(n=e[o])!==undefined;o++)if(Ge(n)){if(t=n[ze.expando]){if(t.events)for(i in t.events)r[i]?Te.event.remove(n,i):Te.removeEvent(n,i,t.handle);n[ze.expando]=undefined}n[Ke.expando]&&(n[Ke.expando]=undefined)}}}),Te.fn.extend({detach:function(e){return L(this,e,!0)},remove:function(e){return L(this,e)},text:function(e){return qe(this,function(e){return e===undefined?Te.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return M(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||O(this,e).appendChild(e)})},prepend:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=O(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Te.cleanData(S(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Te.clone(this,e,t)})},html:function(e){return qe(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pt.test(e)&&!dt[(ut.exec(e)||["",""])[1].toLowerCase()]){e=Te.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(Te.cleanData(S(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return M(this,arguments,function(t){var n=this.parentNode;Te.inArray(this,e)<0&&(Te.cleanData(S(this)),n&&n.replaceChild(t,this))},e)}}),Te.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Te.fn[e]=function(e){for(var n,i=[],r=Te(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Te(r[s])[t](n),ce.apply(i,n.get());return this.pushStack(i)}});var yt=new RegExp("^("+Ze+")(?!px)[a-z%]+$","i"),_t=/^--/,vt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},bt=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},wt=new RegExp(et.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tt.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);
vendor: 1,167 bytes, line 12
12i="1%"!==t.top,l=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),r=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),tt.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var i,r,o,s,a,l,u=be.createElement("div"),c=be.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===c.style.backgroundClip,Te.extend(ye,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,i,r;return null==a&&(t=be.createElement("table"),n=be.createElement("tr"),i=be.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",tt.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,tt.removeChild(t)),a}}
vendor: 6,066 bytes, line 12
12))}();var St=["Webkit","Moz","ms"],Et=be.createElement("div").style,Tt={},Ct=/^(none|table(?!-c[ea]).+)/,xt={position:"absolute",visibility:"hidden",display:"block"},kt={letterSpacing:"0",fontWeight:"400"};Te.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=j(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=m(t),l=_t.test(t),u=e.style;if(l||(t=H(a)),s=Te.cssHooks[t]||Te.cssHooks[a],n===undefined)return s&&"get"in s&&(r=s.get(e,!1,i))!==undefined?r:u[t];"string"===(o=typeof n)&&(r=Je.exec(n))&&r[1]&&(n=v(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(Te.cssNumber[a]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,i))===undefined||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o,s,a=m(t);return _t.test(t)||(t=H(a)),(s=Te.cssHooks[t]||Te.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),r===undefined&&(r=j(e,t,i)),"normal"===r&&t in kt&&(r=kt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),Te.each(["height","width"],function(e,t){Te.cssHooks[t]={get:function(e,n,i){if(n)return!Ct.test(Te.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Y(e,t,i):bt(e,xt,function(){return Y(e,t,i)})},set:function(e,n,i){var r,o=vt(e),s=!ye.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===Te.css(e,"boxSizing",!1,o),l=i?U(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-U(e,t,"border",!1,o)-.5)),l&&(r=Je.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=Te.css(e,t)),W(e,n,l)}}}),Te.cssHooks.marginLeft=F(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(j(e,"marginLeft"))||e.getBoundingClientRect().left-bt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Te.each({margin:"",padding:"",border:"Width"},function(e,t){Te.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+et[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(Te.cssHooks[e+t].set=W)}),Te.fn.extend({css:function(e,t){return qe(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=vt(e),r=t.length;s<r;s++)o[t[s]]=Te.css(e,t[s],!1,i);return o}return n!==undefined?Te.style(e,t,n):Te.css(e,t)},e,t,arguments.length>1)}}),Te.Tween=V,V.prototype={constructor:V,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||Te.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Te.cssNumber[n]?"":"px")},cur:function(){var e=V.propHooks[this.prop];return e&&e.get?e.get(this):V.propHooks._default.get(this)},run:function(e){var t,n=V.propHooks[this.prop];return this.options.duration?this.pos=t=Te.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Te.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Te.fx.step[e.prop]?Te.fx.step[e.prop](e):1!==e.elem.nodeType||!Te.cssHooks[e.prop]&&null==e.elem.style[H(e.prop)]?e.elem[e.prop]=e.now:Te.style(e.elem,e.prop,e.now+e.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Te.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Te.fx=V.prototype.init,Te.fx.step={};var Dt,Ot,At=/^(?:toggle|show|hide)$/,Nt=/queueHooks$/;Te.Animation=Te.extend(Q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,Je.exec(t),n),n}]},tweener:function(e,t){_e(e)?(t=e,e=["*"]):e=e.match(Ue);for(var n,i=0,r=e.length;i<r;i++)n=e[i],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(t)},prefilters:[z],prefilter:function(e,t){t?Q.prefilters.unshift(e):Q.prefilters.push(e)}}),Te.speed=function(e,t,n){var i=e&&"object"==typeof e?Te.extend({},e):{complete:n||!n&&t||_e(e)&&e,duration:e,easing:n&&t||t&&!_e(t)&&t};return Te.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Te.fx.speeds?i.duration=Te.fx.speeds[i.duration]:i.duration=Te.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){_e(i.old)&&i.old.call(this),i.queue&&Te.dequeue(this,i.queue)},i},Te.fn.extend({fadeTo:function(e,t,n,i){return this.filter(rt).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=Te.isEmptyObject(e),o=Te.speed(t,n,i),s=function(){var t=Q(this,Te.extend({},e),o);(r||ze.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=undefined),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=Te.timers,s=ze.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&Nt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||Te.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ze.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=Te.timers,s=i?i.length:0;for(n.finish=!0,Te.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1)
vendor: 10,205 bytes, lines 12-13
12);for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),Te.each(["toggle","show","hide"],function(e,t){var n=Te.fn[t];Te.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate($(t,!0),e,i,r)}}),Te.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Te.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),Te.timers=[],Te.fx.tick=function(){var e,t=0,n=Te.timers;for(Dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Te.fx.stop(),Dt=undefined},Te.fx.timer=function(e){Te.timers.push(e),Te.fx.start()},Te.fx.interval=13,Te.fx.start=function(){Ot||(Ot=!0,q())},Te.fx.stop=function(){Ot=null},Te.fx.speeds={slow:600,fast:200,_default:400},Te.fn.delay=function(t,n){return t=Te.fx&&Te.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){ 13var e=be.createElement("input"),t=be.createElement("select").appendChild(be.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=t.selected,(e=be.createElement("input")).value="t",e.type="radio",ye.radioValue="t"===e.value}();var Pt,It=Te.expr.attrHandle;Te.fn.extend({attr:function(e,t){return qe(this,Te.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Te.removeAttr(this,e)})}}),Te.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Te.prop(e,t,n):(1===o&&Te.isXMLDoc(e)||(r=Te.attrHooks[t.toLowerCase()]||(Te.expr.match.bool.test(t)?Pt:undefined)),n!==undefined?null===n?void Te.removeAttr(e,t):r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Te.find.attr(e,t))?undefined:i)},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(Ue);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Pt={set:function(e,t,n){return!1===t?Te.removeAttr(e,n):e.setAttribute(n,n),n}},Te.each(Te.expr.match.bool.source.match(/\w+/g),function(e,t){var n=It[t]||Te.find.attr;It[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=It[s],It[s]=r,r=null!=n(e,t,i)?s:null,It[s]=o),r}});var Mt=/^(?:input|select|textarea|button)$/i,Lt=/^(?:a|area)$/i;Te.fn.extend({prop:function(e,t){return qe(this,Te.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Te.propFix[e]||e]})}}),Te.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Te.isXMLDoc(e)||(t=Te.propFix[t]||t,r=Te.propHooks[t]),n!==undefined?r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=Te.find.attr(e,"tabindex");return t?parseInt(t,10):Mt.test(e.nodeName)||Lt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ye.optSelected||(Te.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Te.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Te.propFix[this.toLowerCase()]=this}),Te.fn.extend({addClass:function(e){var t,n,i,r,o,s;return _e(e)?this.each(function(t){Te(this).addClass(e.call(this,t,Z(this)))}):(t=J(e)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+X(i)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=X(n),i!==s&&this.setAttribute("class",s)}}):this},removeClass:function(e){var t,n,i,r,o,s;return _e(e)?this.each(function(t){Te(this).removeClass(e.call(this,t,Z(this)))}):arguments.length?(t=J(e)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+X(i)+" "){for(o=0;o<t.length;o++)for(r=t[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=X(n),i!==s&&this.setAttribute("class",s)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,o,s=typeof e,a="string"===s||Array.isArray(e);return _e(e)?this.each(function(n){Te(this).toggleClass(e.call(this,n,Z(this),t),t)}):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=J(e),this.each(function(){if(a)for(o=Te(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else e!==undefined&&"boolean"!==s||((i=Z(this))&&ze.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":ze.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+X(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var jt=/\r/g;Te.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=_e(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,Te(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=Te.map(r,function(e){return null==e?"":e+""})),(t=Te.valHooks[this.type]||Te.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,r,"value")!==undefined||(this.value=r))})):r?(t=Te.valHooks[r.type]||Te.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&(n=t.get(r,"value"))!==undefined?n:"string"==typeof(n=r.value)?n.replace(jt,""):null==n?"":n:void 0}}),Te.extend({valHooks:{option:{get:function(e){var t=Te.find.attr(e,"value");return null!=t?t:X(Te.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?s+1:r.length;for(i=s<0?u:a?s:0;i<u;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Te(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,i,r=e.options,o=Te.makeArray(t),s=r.length;s--;)((i=r[s]).selected=Te.inArray(Te.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Te.each(["radio","checkbox"],function(){Te.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Te.inArray(Te(e).val(),t)>-1}},ye.checkOn||(Te.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ft=e.location,Rt={guid:Date.now()},Ht=/\?/;Te.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(r){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||Te.error("Invalid XML: "+(i?Te.map(i.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Wt=/^(?:focusinfocus|focusoutblur)$/,Ut=function(e){e.stopPropagation()};Te.extend(Te.event,{trigger:function(t,n,i,r){var o,s,a,l,u,c,d,f,h=[i||be],p=pe.call(t,"type")?t.type:t,m=pe.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=i=i||be,3!==i.nodeType&&8!==i.nodeType&&!Wt.test(p+Te.event.triggered)&&(p.indexOf(".")>-1&&(p=(m=p.split(".")).shift(),m.sort()),u=p.indexOf(":")<0&&"on"+p,(t=t[Te.expando]?t:new Te.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=i),n=null==n?[t]:Te.makeArray(n,[t]),d=Te.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(i,n))){if(!r&&!d.noBubble&&!ve(i)){for(l=d.delegateType||p,Wt.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(i.ownerDocument||be)&&h.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)f=s,t.type=o>1?l:d.bindType||p,(c=(ze.get(s,"events")||Object.create(null))[t.type]&&ze.get(s,"handle"))&&c.apply(s,n),(c=u&&s[u])&&c.apply&&Ge(s)&&(t.result=c.apply(s,n),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),n)||!Ge(i)||u&&_e(i[p])&&!ve(i)&&((a=i[u])&&(i[u]=null),Te.event.triggered=p,t.isPropagationStopped()&&f.addEventListener(p,Ut),i[p](),t.isPropagationStopped()&&f.removeEventListener(p,Ut),Te.event.triggered=undefined,a&&(i[u]=a)),t.result}},simulate:function(e,t,n){var i=Te.extend(new Te.Event,n,{type:e,isSimulated:!0});Te.event.trigger(i,null,t)}}),Te.fn.extend({trigger:function(e,t){return this.each(function(){Te.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Te.event.trigger(e,t,n,!0)}});var Yt=/\[\]$/,Vt=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;Te.param=function(e,t){var n,i=[],r=function(e,t){var n=_e(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Te.isPlainObject(e))Te.each(e,function(){r(this.name,this.value)});else for(n in e)ee(n,e[n],t,r);return i.join("&")},Te.fn.extend({serialize:function(){return Te.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Te.prop(this,"elements");return e?Te.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Te(this).is(":disabled")&&Bt.test(this.nodeName)&&!qt.test(e)&&(this.checked||!lt.test(e))}).map(function(e,t){var n=Te(this).val();return null==n?null:Array.isArray(n)?Te.map(n,function(e){return{name:t.name,value:e.replace(Vt,"\r\n")}}):{name:t.name,value:n.replace(Vt,"\r\n")}}).get()}});var $t=/%20/g,Gt=/#.*$/,zt=/([?&])_=[^&]*/,Kt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Qt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xt=/^(?:GET|HEAD)$/,Zt=/^\/\//,Jt={},en={},tn="*/".concat("*"),nn=be.createElement("a");nn.href=Ft.href,Te.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ft.href,type:"GET",isLocal:Qt.test(Ft.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":Te.parseXML}
vendor: 5,211 bytes, line 13
13,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,Te.ajaxSettings),t):ie(Te.ajaxSettings,e)},ajaxPrefilter:te(Jt),ajaxTransport:te(en),ajax:function(t,n){function i(t,n,i,a){var u,f,h,b,w,S=n;c||(c=!0,l&&e.clearTimeout(l),r=undefined,s=a||"",E.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(b=re(p,E,i)),!u&&Te.inArray("script",p.dataTypes)>-1&&Te.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=oe(p,b,E,u),u?(p.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(Te.lastModified[o]=w),(w=E.getResponseHeader("etag"))&&(Te.etag[o]=w)),204===t||"HEAD"===p.type?S="nocontent":304===t?S="notmodified":(S=b.state,f=b.data,u=!(h=b.error))):(h=S,!t&&S||(S="error",t<0&&(t=0))),E.status=t,E.statusText=(n||S)+"",u?y.resolveWith(m,[f,S,E]):y.rejectWith(m,[E,S,h]),E.statusCode(v),v=undefined,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[E,p,u?f:h]),_.fireWith(m,[E,S]),d&&(g.trigger("ajaxComplete",[E,p]),--Te.active||Te.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=undefined),n=n||{};var r,o,s,a,l,u,c,d,f,h,p=Te.ajaxSetup({},n),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?Te(m):Te.event,y=Te.Deferred(),_=Te.Callbacks("once memory"),v=p.statusCode||{},b={},w={},S="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Kt.exec(s);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||S;return r&&r.abort(t),i(0,t),this}};if(y.promise(E),p.url=((t||p.url||Ft.href)+"").replace(Zt,Ft.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Ue)||[""],null==p.crossDomain){u=be.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=nn.protocol+"//"+nn.host!=u.protocol+"//"+u.host}catch(T){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=Te.param(p.data,p.traditional)),ne(Jt,p,n,E),c)return E;for(f in(d=Te.event&&p.global)&&0==Te.active++&&Te.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Xt.test(p.type),o=p.url.replace(Gt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace($t,"+")):(h=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ht.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(zt,"$1"),h=(Ht.test(o)?"&":"?")+"_="+Rt.guid+++h),p.url=o+h),p.ifModified&&(Te.lastModified[o]&&E.setRequestHeader("If-Modified-Since",Te.lastModified[o]),Te.etag[o]&&E.setRequestHeader("If-None-Match",Te.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+tn+"; q=0.01":""):p.accepts["*"]),p.headers)E.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(m,E,p)||c))return E.abort();if(S="abort",_.add(p.complete),E.done(p.success),E.fail(p.error),r=ne(en,p,n,E)){if(E.readyState=1,d&&g.trigger("ajaxSend",[E,p]),c)return E;p.async&&p.timeout>0&&(l=e.setTimeout(function(){E.abort("timeout")},p.timeout));try{c=!1,r.send(b,i)}catch(T){if(c)throw T;i(-1,T)}}else i(-1,"No Transport");return E},getJSON:function(e,t,n){return Te.get(e,t,n,"json")},getScript:function(e,t){return Te.get(e,undefined,t,"script")}}),Te.each(["get","post"],function(e,t){Te[t]=function(e,n,i,r){return _e(n)&&(r=r||i,i=n,n=undefined),Te.ajax(Te.extend({url:e,type:t,dataType:r,data:n,success:i},Te.isPlainObject(e)&&e))}}),Te.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),Te._evalUrl=function(e,t,n){return Te.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Te.globalEval(e,t,n)}})},Te.fn.extend({wrapAll:function(e){var t;return this[0]&&(_e(e)&&(e=e.call(this[0])),t=Te(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _e(e)?this.each(function(t){Te(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Te(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_e(e);return this.each(function(n){Te(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Te(this).replaceWith(this.childNodes)}),this}}),Te.expr.pseudos.hidden=function(e){return!Te.expr.pseudos.visible(e)},Te.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Te.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};
vendor: 8,395 bytes, lines 13-18
13var rn={0:200,1223:204},on=Te.ajaxSettings.xhr();ye.cors=!!on&&"withCredentials"in on,ye.ajax=on=!!on,Te.ajaxTransport(function(t){var n,i;if(ye.cors||on&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(rn[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),a.onabort!==undefined?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}}),Te.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Te.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Te.globalEval(e),e}}}),Te.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Te.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=Te("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),be.head.appendChild(t[0])},abort:function(){n&&n()}}});var sn,an=[],ln=/(=)\?(?=&|$)|\?\?/;Te.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=an.pop()||Te.expando+"_"+Rt.guid++;return this[e]=!0,e}}),Te.ajaxPrefilter("json jsonp",function(t,n,i){var r,o,s,a=!1!==t.jsonp&&(ln.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ln.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=_e(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(ln,"$1"+r):!1!==t.jsonp&&(t.url+=(Ht.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||Te.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},i.always(function(){o===undefined?Te(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,an.push(r)),s&&_e(o)&&o(s[0]),s=o=undefined}),"script"}),ye.createHTMLDocument=((sn=be.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===sn.childNodes.length),Te.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ye.createHTMLDocument?((i=(t=be.implementation.createHTMLDocument("")).createElement("base")).href=be.location.href,t.head.appendChild(i)):t=be),o=!n&&[],(r=je.exec(e))?[t.createElement(r[1])]:(r=T([e],t,o),o&&o.length&&Te(o).remove(),Te.merge([],r.childNodes)));var i,r,o},Te.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=X(e.slice(a)),e=e.slice(0,a)),_e(t)?(n=t,t=undefined):t&&"object"==typeof t&&(r="POST"),s.length>0&&Te.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?Te("<div>").append(Te.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Te.expr.pseudos.animated=function(e){return Te.grep(Te.timers,function(t){return e===t.elem}).length},Te.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,u=Te.css(e,"position"),c=Te(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),o=Te.css(e,"top"),l=Te.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(s=(i=c.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),_e(t)&&(t=t.call(e,n,Te.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):c.css(d)}},Te.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){Te.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===Te.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Te.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=Te(e).offset()).top+=Te.css(e,"borderTopWidth",!0),r.left+=Te.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-Te.css(i,"marginTop",!0),left:t.left-r.left-Te.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Te.css(e,"position");)e=e.offsetParent;return e||tt})}}),Te.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Te.fn[e]=function(i){return qe(this,function(e,i,r){var o;if(ve(e)?o=e:9===e.nodeType&&(o=e.defaultView),r===undefined)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r},e,i,arguments.length)}}),Te.each(["top","left"],function(e,t){Te.cssHooks[t]=F(ye.pixelPosition,function(e,n){if(n)return n=j(e,t),yt.test(n)?Te(e).position()[t]+"px":n})}),Te.each({Height:"height",Width:"width"},function(e,t){Te.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){Te.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return qe(this,function(t,n,r){var o;return ve(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):r===undefined?Te.css(t,n,a):Te.style(t,n,r,a)},t,s?r:undefined,s)}})}),Te.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Te.fn[t]=function(e){return this.on(t,e)}}),Te.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Te.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){Te.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var un=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Te.proxy=function(e,t){var n,i,r;return"string"==typeof t&&(n=e[t],t=e,e=n),_e(e)?(i=le.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(le.call(arguments)))}).guid=e.guid=e.guid||Te.guid++,r):undefined},Te.holdReady=function(e){e?Te.readyWait++:Te.ready(!0)},Te.isArray=Array.isArray,Te.parseJSON=JSON.parse,Te.nodeName=o,Te.isFunction=_e,Te.isWindow=ve,Te.camelCase=m,Te.type=i,Te.now=Date.now,Te.isNumeric=function(e){var t=Te.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Te.trim=function(e){return null==e?"":(e+"").replace(un,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Te});var cn=e.jQuery,dn=e.$;return Te.noConflict=function(t){return e.$===Te&&(e.$=dn),t&&e.jQuery===Te&&(e.jQuery=cn),Te},void 0===t&&(e.jQuery=e.$=Te),Te}), 14/* 15 Copyright (C) Federico Zivolo 2020 16 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). 17 */ 18function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function e(e){return e&&"[object Function]"==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}
vendor: 15,230 bytes, line 18
18function n(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function i(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var r=t(e),o=r.overflow,s=r.overflowX,a=r.overflowY;return/(auto|scroll|overlay)/.test(o+a+s)?e:i(n(e))}function r(e){return e&&e.referenceNode?e.referenceNode:e}function o(e){return 11===e?re:10===e?oe:re||oe}function s(e){if(!e)return document.documentElement;for(var n=o(10)?document.body:null,i=e.offsetParent||null;i===n&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===t(i,"position")?s(i):i:e?e.ownerDocument.documentElement:document.documentElement}function a(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||s(e.firstElementChild)===e)}function l(e){return null===e.parentNode?e:l(e.parentNode)}function u(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var c=o.commonAncestorContainer;if(e!==c&&t!==c||i.contains(r))return a(c)?c:s(c);var d=l(e);return d.host?u(d.host,t):u(e,l(t).host)}function c(e){var t="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function d(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=c(t,"top"),r=c(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function f(e,t){var n="x"===t?"Left":"Top",i="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function h(e,t,n,i){return ee(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],o(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function p(e){var t=e.body,n=e.documentElement,i=o(10)&&getComputedStyle(n);return{height:h("Height",t,n,i),width:h("Width",t,n,i)}}function m(e){return ue({},e,{right:e.left+e.width,bottom:e.top+e.height})}function g(e){var n={};try{if(o(10)){n=e.getBoundingClientRect();var i=c(e,"top"),r=c(e,"left");n.top+=i,n.left+=r,n.bottom+=i,n.right+=r}else n=e.getBoundingClientRect()}catch(t){}var s={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},a="HTML"===e.nodeName?p(e.ownerDocument):{},l=a.width||e.clientWidth||s.width,u=a.height||e.clientHeight||s.height,d=e.offsetWidth-l,h=e.offsetHeight-u;if(d||h){var g=t(e);d-=f(g,"x"),h-=f(g,"y"),s.width-=d,s.height-=h}return m(s)}function y(e,n){var r=2<arguments.length&&void 0!==arguments[2]&&arguments[2],s=o(10),a="HTML"===n.nodeName,l=g(e),u=g(n),c=i(e),f=t(n),h=parseFloat(f.borderTopWidth),p=parseFloat(f.borderLeftWidth);r&&a&&(u.top=ee(u.top,0),u.left=ee(u.left,0));var y=m({top:l.top-u.top-h,left:l.left-u.left-p,width:l.width,height:l.height});if(y.marginTop=0,y.marginLeft=0,!s&&a){var _=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);y.top-=h-_,y.bottom-=h-_,y.left-=p-v,y.right-=p-v,y.marginTop=_,y.marginLeft=v}return(s&&!r?n.contains(c):n===c&&"BODY"!==c.nodeName)&&(y=d(y,n)),y}function _(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=y(e,n),r=ee(n.clientWidth,window.innerWidth||0),o=ee(n.clientHeight,window.innerHeight||0),s=t?0:c(n),a=t?0:c(n,"left");return m({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o})}function v(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===t(e,"position"))return!0;var r=n(e);return!!r&&v(r)}function b(e){if(!e||!e.parentElement||o())return document.documentElement;for(var n=e.parentElement;n&&"none"===t(n,"transform");)n=n.parentElement;return n||document.documentElement}function w(e,t,o,s){var a=4<arguments.length&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},c=a?b(e):u(e,r(t));if("viewport"===s)l=_(c,a);else{var d;"scrollParent"===s?"BODY"===(d=i(n(t))).nodeName&&(d=e.ownerDocument.documentElement):d="window"===s?e.ownerDocument.documentElement:s;var f=y(d,c,a);if("HTML"!==d.nodeName||v(c))l=f;else{var h=p(e.ownerDocument),m=h.height,g=h.width;l.top+=f.top-f.marginTop,l.bottom=m+f.top,l.left+=f.left-f.marginLeft,l.right=g+f.left}}var w="number"==typeof(o=o||0);return l.left+=w?o:o.left||0,l.top+=w?o:o.top||0,l.right-=w?o:o.right||0,l.bottom-=w?o:o.bottom||0,l}function S(e){return e.width*e.height}function E(e,t,n,i,r){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=w(n,i,o,r),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map(function(e){return ue({key:e},a[e],{area:S(a[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),c=0<u.length?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function T(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return y(n,i?b(t):u(t,r(n)),i)}function C(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function x(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function k(e,t,n){n=n.split("-")[0];var i=C(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[s]=t[s]+t[l]/2-i[l]/2,r[a]=n===a?t[a]-i[u]:t[x(a)],r}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function O(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=D(e,function(e){return e[t]===n});return e.indexOf(i)}function A(t,n,i){return(void 0===i?t:t.slice(0,O(t,"name",i))).forEach(function(t){t["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t["function"]||t.fn;t.enabled&&e(i)&&(n.offsets.popper=m(n.offsets.popper),n.offsets.reference=m(n.offsets.reference),n=i(n,t))}),n}function N(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=k(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=A(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function P(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function I(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if("undefined"!=typeof document.body.style[o])return o}return null}function M(){return this.state.isDestroyed=!0,P(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[I("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function L(e){var t=e.ownerDocument;return t?t.defaultView:window}function j(e,t,n,r){var o="BODY"===e.nodeName,s=o?e.ownerDocument.defaultView:e;s.addEventListener(t,n,{passive:!0}),o||j(i(s.parentNode),t,n,r),r.push(s)}function F(e,t,n,r){n.updateBound=r,L(e).addEventListener("resize",n.updateBound,{passive:!0});var o=i(e);return j(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function R(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function H(e,t){return L(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function W(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=H(this.reference,this.state))}function U(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&U(t[n])&&(i="px"),e.style[n]=t[n]+i})}function V(e,t){Object.keys(t).forEach(function(n){!1===t[n]?e.removeAttribute(n):e.setAttribute(n,t[n])})}function q(e,t){var n=e.offsets,i=n.popper,r=n.reference,o=J,s=function(e){return e},a=o(r.width),l=o(i.width),u=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),d=t?u||c||a%2==l%2?o:Z:s,f=t?o:s;return{left:d(1==a%2&&1==l%2&&!c&&t?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:d(i.right)}}function B(e,t,n){var i=D(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`";console.warn("`"+n+"` modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function $(e){return"end"===e?"start":"start"===e?"end":e}function G(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=fe.indexOf(e),i=fe.slice(n+1).concat(fe.slice(0,n));return t?i.reverse():i}function z(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return e;if(0===s.indexOf("%")){var a;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return m(a)[t]/100*o}return"vh"===s||"vw"===s?("vh"===s?ee(document.documentElement.clientHeight,window.innerHeight||0):ee(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}function K(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(D(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1===a?[s]:[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))];return(u=u.map(function(e,i){var r=(1===i?!o:o)?"height":"width",s=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return z(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){U(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),r}function Q(e,t){var n,i=t.offset,r=e.placement,o=e.offsets,s=o.popper,a=o.reference,l=r.split("-")[0];return n=U(+i)?[+i,0]:K(i,s,a,l),"left"===l?(s.top+=n[0],s.left-=n[1]):"right"===l?(s.top+=n[0],s.left+=n[1]):"top"===l?(s.left+=n[0],s.top-=n[1]):"bottom"===l&&(s.left+=n[0],s.top+=n[1]),e.popper=s,e}var X=Math.min,Z=Math.floor,J=Math.round,ee=Math.max,te="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,ne=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(te&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),ie=te&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ne))}},re=te&&!(!window.MSInputMethodContext||!document.documentMode),oe=te&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ae=function(){function e(e,t){for(var n,i=0;i<t.length;i++)(n=t[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),le=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ue=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ce=te&&/Firefox/i.test(navigator.userAgent),de=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],fe=de.slice(3),he={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},pe=function(){function t(n,i){var r=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};se(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=ie(this.update.bind(this)),this.options=ue({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(ue({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=ue({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ue({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return ae(t,[{key:"update",value:function(){return N.call(this)}},{key:"destroy",value:function(){return M.call(this)}},{key:"enableEventListeners",value:function(){return R.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),t}();return pe.Utils=("undefined"==typeof window?global:window).PopperUtils,pe.placements=de,pe.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:le({},l,o[l]),end:le({},l,o[l]+o[u]-s[u])};e.offsets.popper=ue({},s,c[i])}return e}},offset:{order:200,enabled:!0,fn:Q,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||s(e.instance.popper);e.instance.reference===n&&(n=s(n));var i=I("transform"),r=e.instance.popper.style,o=r.top,a=r.left,l=r[i];r.top="",r.left="",r[i]="";var u=w(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=a,r[i]=l,t.boundaries=u;var c=t.priority,d=e.offsets.popper,f={primary:function(e){var n=d[e];return d[e]<u[e]&&!t.escapeWithReference&&(n=ee(d[e],u[e])),le({},e,n)}
18,secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>u[e]&&!t.escapeWithReference&&(i=X(d[n],u[e]-("right"===e?d.width:d.height))),le({},n,i)}};return c.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";d=ue({},d,f[t](e))}),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Z,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,n){var i;if(!B(e.instance.modifiers,"arrow","keepTogether"))return e;var r=n.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],s=e.offsets,a=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",g=C(r)[c];l[p]-g<a[f]&&(e.offsets.popper[f]-=a[f]-(l[p]-g)),l[f]+g>a[p]&&(e.offsets.popper[f]+=l[f]+g-a[p]),e.offsets.popper=m(e.offsets.popper);var y=l[f]+l[c]/2-g/2,_=t(e.instance.popper),v=parseFloat(_["margin"+d]),b=parseFloat(_["border"+d+"Width"]),w=y-e.offsets.popper[f]-v-b;return w=ee(X(a[c]-g,w),0),e.arrowElement=r,e.offsets.arrow=(le(i={},f,J(w)),le(i,h,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(P(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=w(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=x(i),o=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case he.FLIP:s=[i,r];break;case he.CLOCKWISE:s=G(i);break;case he.COUNTERCLOCKWISE:s=G(i,!0);break;default:s=t.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return e;i=e.placement.split("-")[0],r=x(i);var u=e.offsets.popper,c=e.offsets.reference,d=Z,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)<d(c.right)||"top"===i&&d(u.bottom)>d(c.top)||"bottom"===i&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),y="left"===i&&h||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,_=-1!==["top","bottom"].indexOf(i),v=!!t.flipVariations&&(_&&"start"===o&&h||_&&"end"===o&&p||!_&&"start"===o&&m||!_&&"end"===o&&g),b=!!t.flipVariationsByContent&&(_&&"start"===o&&p||_&&"end"===o&&h||!_&&"start"===o&&g||!_&&"end"===o&&m),w=v||b;(f||y||w)&&(e.flipped=!0,(f||y)&&(i=s[l+1]),w&&(o=$(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=ue({},e.offsets.popper,k(e.instance.popper,e.offsets.reference,e.placement)),e=A(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=x(t),e.offsets.popper=m(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!B(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=D(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=D(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,l,u=void 0===o?t.gpuAcceleration:o,c=s(e.instance.popper),d=g(c),f={position:r.position},h=q(e,2>window.devicePixelRatio||!ce),p="bottom"===n?"top":"bottom",m="right"===i?"left":"right",y=I("transform");if(l="bottom"==p?"HTML"===c.nodeName?-c.clientHeight+h.bottom:-d.height+h.bottom:h.top,a="right"==m?"HTML"===c.nodeName?-c.clientWidth+h.right:-d.width+h.right:h.left,u&&y)f[y]="translate3d("+a+"px, "+l+"px, 0)",f[p]=0,f[m]=0,f.willChange="transform";else{var _="bottom"==p?-1:1,v="right"==m?-1:1;f[p]=l*_,f[m]=a*v,f.willChange=p+", "+m}var b={"x-placement":e.placement};return e.attributes=ue({},b,e.attributes),e.styles=ue({},f,e.styles),e.arrowStyles=ue({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return Y(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){var o=T(r,t,e,n.positionFixed),s=E(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),Y(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},pe}), 19/*! 20 * Bootstrap util.js v4.3.1 (https://getbootstrap.com/) 21 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 22 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 23 */ 24function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self).Util=t(e.jQuery)}(this,function(e){"use strict";function t(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function n(){return{bindType:o,delegateType:o,handle:function(t){return e(t.target).is(this)?t.handleObj.handler.apply(this,arguments):undefined}}}function i(t){var n=this,i=!1;return e(this).one(l.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||l.triggerTransitionEnd(n)},t),this}function r(){e.fn.emulateTransitionEnd=i,e.event.special[l.TRANSITION_END]=n()}e=e&&e.hasOwnProperty("default")?e["default"]:e;var o="transitionend",s=1e6,a=1e3,l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(Math.random()*s)}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(i){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),i=e(t).css("transition-delay"),r=parseFloat(n),o=parseFloat(i);return r||o?(n=n.split(",")[0],i=i.split(",")[0],(parseFloat(n)+parseFloat(i))*a):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(o)},supportsTransitionEnd:function(){return Boolean(o)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,n,i){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var o=i[r],s=n[r],a=s&&l.isElement(s)?"element":t(s);if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+r+'" provided type "'+a+'" but expected type "'+o+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentNode):null}};return r(),l}), 25/*! 26 * Bootstrap alert.js v4.3.1 (https://getbootstrap.com/) 27 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 28 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 29 */ 30function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Alert=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var r="alert",o="4.3.1",s="bs.alert",a="."+s,l=".data-api",u=e.fn[r],c={DISMISS:'[data-dismiss="alert"]'},d={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+l},f={ALERT:"alert",FADE:"fade",SHOW:"show"},h=function(){function n(e){this._element=e}var r=n.prototype;return r.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){e.removeData(this._element,s),this._element=null},r._getRootElement=function(n){var i=t.getSelectorFromElement(n),r=!1;
30return i&&(r=document.querySelector(i)),r||(r=e(n).closest("."+f.ALERT)[0]),r},r._triggerCloseEvent=function(t){var n=e.Event(d.CLOSE);return e(t).trigger(n),n},r._removeElement=function(n){var i=this;if(e(n).removeClass(f.SHOW),e(n).hasClass(f.FADE)){var r=t.getTransitionDurationFromElement(n);e(n).one(t.TRANSITION_END,function(e){return i._destroyElement(n,e)}).emulateTransitionEnd(r)}else this._destroyElement(n)},r._destroyElement=function(t){e(t).detach().trigger(d.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var i=e(this),r=i.data(s);r||(r=new n(this),i.data(s,r)),"close"===t&&r[t](this)})},n._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},i(n,null,[{key:"VERSION",get:function(){return o}}]),n}();return e(document).on(d.CLICK_DATA_API,c.DISMISS,h._handleDismiss(new h)),e.fn[r]=h._jQueryInterface,e.fn[r].Constructor=h,e.fn[r].noConflict=function(){return e.fn[r]=u,h._jQueryInterface},h}), 31/*! 32 * Bootstrap button.js v4.3.1 (https://getbootstrap.com/) 33 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 34 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 35 */ 36function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self).Button=t(e.jQuery)}(this,function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function n(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}e=e&&e.hasOwnProperty("default")?e["default"]:e;var i="button",r="4.3.1",o="bs.button",s="."+o,a=".data-api",l=e.fn[i],u={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},c={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},d={CLICK_DATA_API:"click"+s+a,FOCUS_BLUR_DATA_API:"focus"+s+a+" blur"+s+a},f=function(){function t(e){this._element=e}var i=t.prototype;return i.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(c.DATA_TOGGLE)[0];if(i){var r=this._element.querySelector(c.INPUT);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(u.ACTIVE))t=!1;else{var o=i.querySelector(c.ACTIVE);o&&e(o).removeClass(u.ACTIVE)}if(t){if(r.hasAttribute("disabled")||i.hasAttribute("disabled")||r.classList.contains("disabled")||i.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(u.ACTIVE),e(r).trigger("change")}r.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(u.ACTIVE)),t&&e(this._element).toggleClass(u.ACTIVE)},i.dispose=function(){e.removeData(this._element,o),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data(o);i||(i=new t(this),e(this).data(o,i)),"toggle"===n&&i[n]()})},n(t,null,[{key:"VERSION",get:function(){return r}}]),t}();return e(document).on(d.CLICK_DATA_API,c.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(u.BUTTON)||(n=e(n).closest(c.BUTTON)),f._jQueryInterface.call(e(n),"toggle")}).on(d.FOCUS_BLUR_DATA_API,c.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(c.BUTTON)[0];e(n).toggleClass(u.FOCUS,/^focus(in)?$/.test(t.type))}),e.fn[i]=f._jQueryInterface,e.fn[i].Constructor=f,e.fn[i].noConflict=function(){return e.fn[i]=l,f._jQueryInterface},f}), 37/*! 38 * Bootstrap carousel.js v4.3.1 (https://getbootstrap.com/) 39 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 40 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 41 */ 42function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Carousel=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
42))),i.forEach(function(t){r(e,t,n[t])})}return e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var s="carousel",a="4.3.1",l="bs.carousel",u="."+l,c=".data-api",d=e.fn[s],f=37,h=39,p=500,m=40,g={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},y={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},_={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},v={SLIDE:"slide"+u,SLID:"slid"+u,KEYDOWN:"keydown"+u,MOUSEENTER:"mouseenter"+u,MOUSELEAVE:"mouseleave"+u,TOUCHSTART:"touchstart"+u,TOUCHMOVE:"touchmove"+u,TOUCHEND:"touchend"+u,POINTERDOWN:"pointerdown"+u,POINTERUP:"pointerup"+u,DRAG_START:"dragstart"+u,LOAD_DATA_API:"load"+u+c,CLICK_DATA_API:"click"+u+c},b={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},w={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},S={TOUCH:"touch",PEN:"pen"},E=function(){function n(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(w.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var r=n.prototype;return r.next=function(){this._isSliding||this._slide(_.NEXT)},r.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},r.prev=function(){this._isSliding||this._slide(_.PREV)},r.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(w.NEXT_PREV)&&(t.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},r.cycle=function(e){e||(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))},r.to=function(t){var n=this;this._activeElement=this._element.querySelector(w.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(v.SLID,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var r=t>i?_.NEXT:_.PREV;this._slide(r,this._items[t])}},r.dispose=function(){e(this._element).off(u),e.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},r._getConfig=function(e){return e=o({},g,e),t.typeCheckConfig(s,e,y),e},r._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=m)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}},r._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(v.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(v.MOUSEENTER,function(e){return t.pause(e)}).on(v.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},r._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&S[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX},r=function(e){t._pointerEvent&&S[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},p+t._config.interval))};e(this._element.querySelectorAll(w.ITEM_IMG)).on(v.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(e(this._element).on(v.POINTERDOWN,function(e){return n(e)}),e(this._element).on(v.POINTERUP,function(e){return r(e)}),this._element.classList.add(b.POINTER_EVENT)):(e(this._element).on(v.TOUCHSTART,function(e){return n(e)}),e(this._element).on(v.TOUCHMOVE,function(e){return i(e)}),e(this._element).on(v.TOUCHEND,function(e){return r(e)}))}},r._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case f:e.preventDefault(),this.prev();break;case h:e.preventDefault(),this.next()}},r._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(w.ITEM)):[],this._items.indexOf(e)},r._getItemByDirection=function(e,t){var n=e===_.NEXT,i=e===_.PREV,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=(r+(e===_.PREV?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},r._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),r=this._getItemIndex(this._element.querySelector(w.ACTIVE_ITEM)),o=e.Event(v.SLIDE,{relatedTarget:t,direction:n,from:r,to:i});return e(this._element).trigger(o),o},r._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(w.ACTIVE));e(n).removeClass(b.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(b.ACTIVE)}},r._slide=function(n,i){var r,o,s,a=this,l=this._element.querySelector(w.ACTIVE_ITEM),u=this._getItemIndex(l),c=i||l&&this._getItemByDirection(n,l),d=this._getItemIndex(c),f=Boolean(this._interval);
42if(n===_.NEXT?(r=b.LEFT,o=b.NEXT,s=_.LEFT):(r=b.RIGHT,o=b.PREV,s=_.RIGHT),c&&e(c).hasClass(b.ACTIVE))this._isSliding=!1;else if(!this._triggerSlideEvent(c,s).isDefaultPrevented()&&l&&c){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(c);var h=e.Event(v.SLID,{relatedTarget:c,direction:s,from:u,to:d});if(e(this._element).hasClass(b.SLIDE)){e(c).addClass(o),t.reflow(c),e(l).addClass(r),e(c).addClass(r);var p=parseInt(c.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var m=t.getTransitionDurationFromElement(l);e(l).one(t.TRANSITION_END,function(){e(c).removeClass(r+" "+o).addClass(b.ACTIVE),e(l).removeClass(b.ACTIVE+" "+o+" "+r),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(h)},0)}).emulateTransitionEnd(m)}else e(l).removeClass(b.ACTIVE),e(c).addClass(b.ACTIVE),this._isSliding=!1,e(this._element).trigger(h);f&&this.cycle()}},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data(l),r=o({},g,e(this).data());"object"==typeof t&&(r=o({},r,t));var s="string"==typeof t?t:r.slide;if(i||(i=new n(this,r),e(this).data(l,i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if("undefined"==typeof i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else r.interval&&r.ride&&(i.pause(),i.cycle())})},n._dataApiClickHandler=function(i){var r=t.getSelectorFromElement(this);if(r){var s=e(r)[0];if(s&&e(s).hasClass(b.CAROUSEL)){var a=o({},e(s).data(),e(this).data()),u=this.getAttribute("data-slide-to");u&&(a.interval=!1),n._jQueryInterface.call(e(s),a),u&&e(s).data(l).to(u),i.preventDefault()}}},i(n,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return g}}]),n}();return e(document).on(v.CLICK_DATA_API,w.DATA_SLIDE,E._dataApiClickHandler),e(window).on(v.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(w.DATA_RIDE)),n=0,i=t.length;n<i;n++){var r=e(t[n]);E._jQueryInterface.call(r,r.data())}}),e.fn[s]=E._jQueryInterface,e.fn[s].Constructor=E,e.fn[s].noConflict=function(){return e.fn[s]=d,E._jQueryInterface},E}), 43/*! 44 * Bootstrap collapse.js v4.3.1 (https://getbootstrap.com/) 45 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 46 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 47 */ 48function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Collapse=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var s="collapse",a="4.3.1",l="bs.collapse",u="."+l,c=".data-api",d=e.fn[s],f={toggle:!0,parent:""},h={toggle:"boolean",parent:"(string|element)"},p={SHOW:"show"+u,SHOWN:"shown"+u,HIDE:"hide"+u,HIDDEN:"hidden"+u,CLICK_DATA_API:"click"+u+c},m={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},g={WIDTH:"width",HEIGHT:"height"},y={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},_=function(){function n(e,n){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(y.DATA_TOGGLE)),r
48=0,o=i.length;r<o;r++){var s=i[r],a=t.getSelectorFromElement(s),l=[].slice.call(document.querySelectorAll(a)).filter(function(t){return t===e});null!==a&&l.length>0&&(this._selector=a,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 r=n.prototype;return r.toggle=function(){e(this._element).hasClass(m.SHOW)?this.hide():this.show()},r.show=function(){var i,r,o=this;if(!this._isTransitioning&&!e(this._element).hasClass(m.SHOW)&&(this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(y.ACTIVES)).filter(function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(m.COLLAPSE)})).length&&(i=null),!(i&&(r=e(i).not(this._selector).data(l))&&r._isTransitioning))){var s=e.Event(p.SHOW);if(e(this._element).trigger(s),!s.isDefaultPrevented()){i&&(n._jQueryInterface.call(e(i).not(this._selector),"hide"),r||e(i).data(l,null));var a=this._getDimension();e(this._element).removeClass(m.COLLAPSE).addClass(m.COLLAPSING),this._element.style[a]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(m.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var u=function(){e(o._element).removeClass(m.COLLAPSING).addClass(m.COLLAPSE).addClass(m.SHOW),o._element.style[a]="",o.setTransitioning(!1),e(o._element).trigger(p.SHOWN)},c="scroll"+(a[0].toUpperCase()+a.slice(1)),d=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,u).emulateTransitionEnd(d),this._element.style[a]=this._element[c]+"px"}}},r.hide=function(){var n=this;if(!this._isTransitioning&&e(this._element).hasClass(m.SHOW)){var i=e.Event(p.HIDE);if(e(this._element).trigger(i),!i.isDefaultPrevented()){var r=this._getDimension();this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",t.reflow(this._element),e(this._element).addClass(m.COLLAPSING).removeClass(m.COLLAPSE).removeClass(m.SHOW);var o=this._triggerArray.length;if(o>0)for(var s=0;s<o;s++){var a=this._triggerArray[s],l=t.getSelectorFromElement(a);if(null!==l)e([].slice.call(document.querySelectorAll(l))).hasClass(m.SHOW)||e(a).addClass(m.COLLAPSED).attr("aria-expanded",!1)}this.setTransitioning(!0);var u=function(){n.setTransitioning(!1),e(n._element).removeClass(m.COLLAPSING).addClass(m.COLLAPSE).trigger(p.HIDDEN)};this._element.style[r]="";var c=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,u).emulateTransitionEnd(c)}}},r.setTransitioning=function(e){this._isTransitioning=e},r.dispose=function(){e.removeData(this._element,l),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},r._getConfig=function(e){return(e=o({},f,e)).toggle=Boolean(e.toggle),t.typeCheckConfig(s,e,h),e},r._getDimension=function(){return e(this._element).hasClass(g.WIDTH)?g.WIDTH:g.HEIGHT},r._getParent=function(){var i,r=this;t.isElement(this._config.parent)?(i=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(i=this._config.parent[0])):i=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',s=[].slice.call(i.querySelectorAll(o));return e(s).each(function(e,t){r._addAriaAndCollapsedClass(n._getTargetFromElement(t),[t])}),i},r._addAriaAndCollapsedClass=function(t,n){var i=e(t).hasClass(m.SHOW);n.length&&e(n).toggleClass(m.COLLAPSED,!i).attr("aria-expanded",i)},n._getTargetFromElement=function(e){var n=t.getSelectorFromElement(e);return n?document.querySelector(n):null},n._jQueryInterface=function(t){return this.each(function(){var i=e(this),r=i.data(l),s=o({},f,i.data(),"object"==typeof t&&t?t:{});if(!r&&s.toggle&&/show|hide/.test(t)&&(s.toggle=!1),r||(r=new n(this,s),i.data(l,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},i(n,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return f}}]),n}();return e(document).on(p.CLICK_DATA_API,y.DATA_TOGGLE,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var i=e(this),r=t.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(r));e(o).each(function(){var t=e(this),n=t.data(l)?"toggle":i.data();_._jQueryInterface.call(t,n)})}
48),e.fn[s]=_._jQueryInterface,e.fn[s].Constructor=_,e.fn[s].noConflict=function(){return e.fn[s]=d,_._jQueryInterface},_}), 49/*! 50 * Bootstrap dropdown.js v4.3.1 (https://getbootstrap.com/) 51 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 52 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 53 */ 54function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","popper.js","./util.js"],t):(e=e||self).Dropdown=t(e.jQuery,e.Popper,e.Util)}(this,function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){o(e,t,n[t])})}return e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t,n=n&&n.hasOwnProperty("default")?n["default"]:n;var a="dropdown",l="4.3.1",u="bs.dropdown",c="."+u,d=".data-api",f=e.fn[a],h=27,p=32,m=9,g=38,y=40,_=3,v=new RegExp(g+"|"+y+"|"+h),b={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,CLICK:"click"+c,CLICK_DATA_API:"click"+c+d,KEYDOWN_DATA_API:"keydown"+c+d,KEYUP_DATA_API:"keyup"+c+d},w={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},S={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)"},E={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},T={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},C={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},x=function(){function i(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var o=i.prototype;return o.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(w.DISABLED)){var r=i._getParentFromElement(this._element),o=e(this._menu).hasClass(w.SHOW);if(i._clearMenus(),!o){var s={relatedTarget:this._element},a=e.Event(b.SHOW,s);if(e(r).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var l=this._element;"parent"===this._config.reference?l=r:n.isElement(this._config.reference)&&(l=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(l=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(r).addClass(w.POSITION_STATIC),this._popper=new t(l,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(r).closest(S.NAVBAR_NAV).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(w.SHOW),e(r).toggleClass(w.SHOW).trigger(e.Event(b.SHOWN,s))}}}},o.show=function(){if(!(this._element.disabled||e(this._element).hasClass(w.DISABLED)||e(this._menu).hasClass(w.SHOW))){var t={relatedTarget:this._element},n=e.Event(b.SHOW,t),r=i._getParentFromElement(this._element);e(r).trigger(n),n.isDefaultPrevented()||(e(this._menu).toggleClass(w.SHOW),e(r).toggleClass(w.SHOW).trigger(e.Event(b.SHOWN,t)))}},o.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(w.DISABLED)&&e(this._menu).hasClass(w.SHOW)){var t={relatedTarget:this._element},n=e.Event(b.HIDE,t),r=i._getParentFromElement(this._element);e(r).trigger(n),n.isDefaultPrevented()||(e(this._menu).toggleClass(w.SHOW),e(r).toggleClass(w.SHOW).trigger(e.Event(b.HIDDEN,t)))}},o.dispose=function(){e.removeData(this._element,u),e(this._element).off(c),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},o.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},o._addEventListeners=function(){var t=this;e(this._element).on(b.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle(
54)})},o._getConfig=function(t){return t=s({},this.constructor.Default,e(this._element).data(),t),n.typeCheckConfig(a,t,this.constructor.DefaultType),t},o._getMenuElement=function(){if(!this._menu){var e=i._getParentFromElement(this._element);e&&(this._menu=e.querySelector(S.MENU))}return this._menu},o._getPlacement=function(){var t=e(this._element.parentNode),n=E.BOTTOM;return t.hasClass(w.DROPUP)?(n=E.TOP,e(this._menu).hasClass(w.MENURIGHT)&&(n=E.TOPEND)):t.hasClass(w.DROPRIGHT)?n=E.RIGHT:t.hasClass(w.DROPLEFT)?n=E.LEFT:e(this._menu).hasClass(w.MENURIGHT)&&(n=E.BOTTOMEND),n},o._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},o._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},o._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},i._jQueryInterface=function(t){return this.each(function(){var n=e(this).data(u);if(n||(n=new i(this,"object"==typeof t?t:null),e(this).data(u,n)),"string"==typeof t){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},i._clearMenus=function(t){if(!t||t.which!==_&&("keyup"!==t.type||t.which===m))for(var n=[].slice.call(document.querySelectorAll(S.DATA_TOGGLE)),r=0,o=n.length;r<o;r++){var s=i._getParentFromElement(n[r]),a=e(n[r]).data(u),l={relatedTarget:n[r]};if(t&&"click"===t.type&&(l.clickEvent=t),a){var c=a._menu;if(e(s).hasClass(w.SHOW)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&t.which===m)&&e.contains(s,t.target))){var d=e.Event(b.HIDE,l);e(s).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[r].setAttribute("aria-expanded","false"),e(c).removeClass(w.SHOW),e(s).removeClass(w.SHOW).trigger(e.Event(b.HIDDEN,l)))}}}},i._getParentFromElement=function(e){var t,i=n.getSelectorFromElement(e);return i&&(t=document.querySelector(i)),t||e.parentNode},i._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(t.which===p||t.which!==h&&(t.which!==y&&t.which!==g||e(t.target).closest(S.MENU).length)):v.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!e(this).hasClass(w.DISABLED))){var n=i._getParentFromElement(this),r=e(n).hasClass(w.SHOW);if(r&&(!r||t.which!==h&&t.which!==p)){var o=[].slice.call(n.querySelectorAll(S.VISIBLE_ITEMS));if(0!==o.length){var s=o.indexOf(t.target);t.which===g&&s>0&&s--,t.which===y&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}else{if(t.which===h){var a=n.querySelector(S.DATA_TOGGLE);e(a).trigger("focus")}e(this).trigger("click")}}},r(i,null,[{key:"VERSION",get:function(){return l}},{key:"Default",get:function(){return T}},{key:"DefaultType",get:function(){return C}}]),i}();return e(document).on(b.KEYDOWN_DATA_API,S.DATA_TOGGLE,x._dataApiKeydownHandler).on(b.KEYDOWN_DATA_API,S.MENU,x._dataApiKeydownHandler).on(b.CLICK_DATA_API+" "+b.KEYUP_DATA_API,x._clearMenus).on(b.CLICK_DATA_API,S.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),x._jQueryInterface.call(e(this),"toggle")}).on(b.CLICK_DATA_API,S.FORM_CHILD,function(e){e.stopPropagation()}),e.fn[a]=x._jQueryInterface,e.fn[a].Constructor=x,e.fn[a].noConflict=function(){return e.fn[a]=f,x._jQueryInterface},x}), 55/*! 56 * Bootstrap modal.js v4.3.1 (https://getbootstrap.com/) 57 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 58 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 59 */ 60function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Modal=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
60))),i.forEach(function(t){r(e,t,n[t])})}return e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var s="modal",a="4.3.1",l="bs.modal",u="."+l,c=".data-api",d=e.fn[s],f=27,h={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},m={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,FOCUSIN:"focusin"+u,RESIZE:"resize"+u,CLICK_DISMISS:"click.dismiss"+u,KEYDOWN_DISMISS:"keydown.dismiss"+u,MOUSEUP_DISMISS:"mouseup.dismiss"+u,MOUSEDOWN_DISMISS:"mousedown.dismiss"+u,CLICK_DATA_API:"click"+u+c},g={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},y={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},_=function(){function n(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(y.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var r=n.prototype;return r.toggle=function(e){return this._isShown?this.hide():this.show(e)},r.show=function(t){var n=this;if(!this._isShown&&!this._isTransitioning){e(this._element).hasClass(g.FADE)&&(this._isTransitioning=!0);var i=e.Event(m.SHOW,{relatedTarget:t});e(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(m.CLICK_DISMISS,y.DATA_DISMISS,function(e){return n.hide(e)}),e(this._dialog).on(m.MOUSEDOWN_DISMISS,function(){e(n._element).one(m.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},r.hide=function(n){var i=this;if(n&&n.preventDefault(),this._isShown&&!this._isTransitioning){var r=e.Event(m.HIDE);if(e(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var o=e(this._element).hasClass(g.FADE);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(m.FOCUSIN),e(this._element).removeClass(g.SHOW),e(this._element).off(m.CLICK_DISMISS),e(this._dialog).off(m.MOUSEDOWN_DISMISS),o){var s=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,function(e){return i._hideModal(e)}).emulateTransitionEnd(s)}else this._hideModal()}}},r.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return e(t).off(u)}),e(document).off(m.FOCUSIN),e.removeData(this._element,l),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},r.handleUpdate=function(){this._adjustDialog()},r._getConfig=function(e){return e=o({},h,e),t.typeCheckConfig(s,e,p),e},r._showElement=function(n){var i=this,r=e(this._element).hasClass(g.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),e(this._dialog).hasClass(g.SCROLLABLE)?this._dialog.querySelector(y.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,r&&t.reflow(this._element),e(this._element).addClass(g.SHOW),this._config.focus&&this._enforceFocus();var o=e.Event(m.SHOWN,{relatedTarget:n}),s=function(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,e(i._element).trigger(o)};if(r){var a=t.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(t.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},r._enforceFocus=function(){var t=this;e(document).off(m.FOCUSIN).on(m.FOCUSIN,function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()})},r._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(m.KEYDOWN_DISMISS,function(e){e.which===f&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(m.KEYDOWN_DISMISS)},r._setResizeEvent=function(){var t=this;this._isShown?e(window).on(m.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(m.RESIZE)},r._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass(g.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(m.HIDDEN)})},r._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},r._showBackdrop=function(n){var i=this,r=e(this._element).hasClass(g.FADE)?g.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=g.BACKDROP,r&&this._backdrop.classList.add(r),e(this._backdrop).appendTo(document.body),e(this._element).on(m.CLICK_DISMISS,function(e){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide())}),r&&t.reflow(this._backdrop),e(this._backdrop).addClass(g.SHOW),!n)return;if(!r)return void n();var o=t.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(t.TRANSITION_END,n).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(g.SHOW);var s=function(){i._removeBackdrop(),n&&n()};if(e(this._element).hasClass(g.FADE)){var a=t.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(t.TRANSITION_END,s).emulateTransitionEnd(a)}else s()}else n&&n()},r._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},r._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},r._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},r._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(y.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(y.STICKY_CONTENT));e(n).each(function(n,i){var r=i.style.paddingRight,o=e(i).css("padding-right");e(i).data("padding-right",r).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),e(i).each(function(n,i){var r=i.style.marginRight,o=e(i).css("margin-right");e(i).data("margin-right",r).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var r=document.body.style.paddingRight,o=e(document.body).css("padding-right");e(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}e(document.body).addClass(g.OPEN)},r._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(y.FIXED_CONTENT));e(t).each(function(t,n){var i=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+y.STICKY_CONTENT));e(n).each(function(t,n){var i=e(n).data("margin-right");void 0!==i&&e(n).css("margin-right",i).removeData("margin-right")});
60var i=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},r._getScrollbarWidth=function(){var e=document.createElement("div");e.className=g.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},n._jQueryInterface=function(t,i){return this.each(function(){var r=e(this).data(l),s=o({},h,e(this).data(),"object"==typeof t&&t?t:{});if(r||(r=new n(this,s),e(this).data(l,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t](i)}else s.show&&r.show(i)})},i(n,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return h}}]),n}();return e(document).on(m.CLICK_DATA_API,y.DATA_TOGGLE,function(n){var i,r=this,s=t.getSelectorFromElement(this);s&&(i=document.querySelector(s));var a=e(i).data(l)?"toggle":o({},e(i).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();var u=e(i).one(m.SHOW,function(t){t.isDefaultPrevented()||u.one(m.HIDDEN,function(){e(r).is(":visible")&&r.focus()})});_._jQueryInterface.call(e(i),a,this)}),e.fn[s]=_._jQueryInterface,e.fn[s].Constructor=_,e.fn[s].noConflict=function(){return e.fn[s]=d,_._jQueryInterface},_}), 61/*! 62 * Bootstrap tooltip.js v4.3.1 (https://getbootstrap.com/) 63 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 64 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 65 */ 66function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","popper.js","./util.js"],t):(e=e||self).Tooltip=t(e.jQuery,e.Popper,e.Util)}(this,function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){o(e,t,n[t])})}return e}function a(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===u.indexOf(n)||Boolean(e.nodeValue.match(d)||e.nodeValue.match(f));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1}function l(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(t),o=[].slice.call(i.body.querySelectorAll("*")),s=function(e){var n=o[e],i=n.nodeName.toLowerCase();if(-1===r.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var s=[].slice.call(n.attributes),l=[].concat(t["*"]||[],t[i]||[]);s.forEach(function(e){a(e,l)||n.removeAttribute(e.nodeName)})},l=0,u=o.length;l<u;l++)s(l,u);return i.body.innerHTML}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t,n=n&&n.hasOwnProperty("default")?n["default"]:n;var u=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],c={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},d=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,f=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,h="tooltip",p="4.3.1",m="bs.tooltip",g="."+m,y=e.fn[h],_="bs-tooltip",v=ne
66w RegExp("(^|\\s)"+_+"\\S+","g"),b=["sanitize","whiteList","sanitizeFn"],w={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},S={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},E={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:c},T={SHOW:"show",OUT:"out"},C={HIDE:"hide"+g,HIDDEN:"hidden"+g,SHOW:"show"+g,SHOWN:"shown"+g,INSERTED:"inserted"+g,CLICK:"click"+g,FOCUSIN:"focusin"+g,FOCUSOUT:"focusout"+g,MOUSEENTER:"mouseenter"+g,MOUSELEAVE:"mouseleave"+g},x={FADE:"fade",SHOW:"show"},k={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},D={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},O=function(){function i(e,n){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(n),this.tip=null,this._setListeners()}var o=i.prototype;return o.enable=function(){this._isEnabled=!0},o.disable=function(){this._isEnabled=!1},o.toggleEnabled=function(){this._isEnabled=!this._isEnabled},o.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(x.SHOW))return void this._leave(null,this);this._enter(null,this)}},o.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},o.show=function(){var i=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var r=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(r);var o=n.findShadowRoot(this.element),s=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!s)return;var a=this.getTipElement(),l=n.getUID(this.constructor.NAME);a.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&e(a).addClass(x.FADE);var u="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getAttachment(u);this.addAttachmentClass(c);var d=this._getContainer();e(a).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(a).appendTo(d),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new t(this.element,a,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:k.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&i._handlePopperPlacementChange(e)},onUpdate:function(e){return i._handlePopperPlacementChange(e)}}),e(a).addClass(x.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var f=function(){i.config.animation&&i._fixTransition();var t=i._hoverState;i._hoverState=null,e(i.element).trigger(i.constructor.Event.SHOWN),t===T.OUT&&i._leave(null,i)};if(e(this.tip).hasClass(x.FADE)){var h=n.getTransitionDurationFromElement(this.tip);e(this.tip).one(n.TRANSITION_END,f).emulateTransitionEnd(h)}else f()}},o.hide=function(t){var i=this,r=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),s=function(){i._hoverState!==T.SHOW&&r.parentNode&&r.parentNode.removeChild(r),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),e(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()};
66if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(r).removeClass(x.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[D.CLICK]=!1,this._activeTrigger[D.FOCUS]=!1,this._activeTrigger[D.HOVER]=!1,e(this.tip).hasClass(x.FADE)){var a=n.getTransitionDurationFromElement(r);e(r).one(n.TRANSITION_END,s).emulateTransitionEnd(a)}else s();this._hoverState=""}},o.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},o.isWithContent=function(){return Boolean(this.getTitle())},o.addAttachmentClass=function(t){e(this.getTipElement()).addClass(_+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},o.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(k.TOOLTIP_INNER)),this.getTitle()),e(t).removeClass(x.FADE+" "+x.SHOW)},o.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=l(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},o.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},o._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},o._getContainer=function(){return!1===this.config.container?document.body:n.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},o._getAttachment=function(e){return S[e.toUpperCase()]},o._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==D.MANUAL){var i=n===D.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,r=n===D.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(r,t.config.selector,function(e){return t._leave(e)})}}),e(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},o._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},o._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?D.FOCUS:D.HOVER]=!0),e(n.getTipElement()).hasClass(x.SHOW)||n._hoverState===T.SHOW?n._hoverState=T.SHOW:(clearTimeout(n._timeout),n._hoverState=T.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===T.SHOW&&n.show()},n.config.delay.show):n.show())},o._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?D.FOCUS:D.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=T.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===T.OUT&&n.hide()},n.config.delay.hide):n.hide())},o._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},o._getConfig=function(t){var i=e(this.element).data();
66return Object.keys(i).forEach(function(e){-1!==b.indexOf(e)&&delete i[e]}),"number"==typeof(t=s({},this.constructor.Default,i,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),n.typeCheckConfig(h,t,this.constructor.DefaultType),t.sanitize&&(t.template=l(t.template,t.whiteList,t.sanitizeFn)),t},o._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},o._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(v);null!==n&&n.length&&t.removeClass(n.join(""))},o._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},o._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(x.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},i._jQueryInterface=function(t){return this.each(function(){var n=e(this).data(m),r="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new i(this,r),e(this).data(m,n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},r(i,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return E}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return m}},{key:"Event",get:function(){return C}},{key:"EVENT_KEY",get:function(){return g}},{key:"DefaultType",get:function(){return w}}]),i}();return e.fn[h]=O._jQueryInterface,e.fn[h].Constructor=O,e.fn[h].noConflict=function(){return e.fn[h]=y,O._jQueryInterface},O}), 67/*! 68 * Bootstrap popover.js v4.3.1 (https://getbootstrap.com/) 69 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 70 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 71 */ 72function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./tooltip.js")):"function"==typeof define&&define.amd?define(["jquery","./tooltip.js"],t):(e=e||self).Popover=t(e.jQuery,e.Tooltip)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var a="popover",l="4.3.1",u="bs.popover",c="."+u,d=e.fn[a],f="bs-popover",h=new RegExp("(^|\\s)"+f+"\\S+","g"),p=o({},t.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>'}),m=o({},t.DefaultType,{content:"(string|element|function)"}),g={FADE:"fade",SHOW:"show"},y={TITLE:".popover-header",CONTENT:".popover-body"},_={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},v=function(t){function n(){return t.apply(this,arguments)||this}s(n,t);var r=n.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){e(this.getTipElement()).addClass(f+"-"+t)},r.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},r.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(y.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(y.CONTENT),n),t.removeClass(g.FADE+" "+g.SHOW)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(h);null!==n&&n.length>0&&t.removeClass(n.join(""))},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data(u),r="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new n(this,r),e(this).data(u,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method n
72amed "'+t+'"');i[t]()}})},i(n,null,[{key:"VERSION",get:function(){return l}},{key:"Default",get:function(){return p}},{key:"NAME",get:function(){return a}},{key:"DATA_KEY",get:function(){return u}},{key:"Event",get:function(){return _}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return m}}]),n}(t);return e.fn[a]=v._jQueryInterface,e.fn[a].Constructor=v,e.fn[a].noConflict=function(){return e.fn[a]=d,v._jQueryInterface},v}), 73/*! 74 * Bootstrap scrollspy.js v4.3.1 (https://getbootstrap.com/) 75 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 76 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 77 */ 78function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).ScrollSpy=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var s="scrollspy",a="4.3.1",l="bs.scrollspy",u="."+l,c=".data-api",d=e.fn[s],f={offset:10,method:"auto",target:""},h={offset:"number",method:"string",target:"(string|element)"},p={ACTIVATE:"activate"+u,SCROLL:"scroll"+u,LOAD_DATA_API:"load"+u+c},m={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},g={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"},y={OFFSET:"offset",POSITION:"position"},_=function(){function n(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+g.NAV_LINKS+","+this._config.target+" "+g.LIST_ITEMS+","+this._config.target+" "+g.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(p.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}
78var r=n.prototype;return r.refresh=function(){var n=this,i=this._scrollElement===this._scrollElement.window?y.OFFSET:y.POSITION,r="auto"===this._config.method?i:this._config.method,o=r===y.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var i,s=t.getSelectorFromElement(n);if(s&&(i=document.querySelector(s)),i){var a=i.getBoundingClientRect();if(a.width||a.height)return[e(i)[r]().top+o,s]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){n._offsets.push(e[0]),n._targets.push(e[1])})},r.dispose=function(){e.removeData(this._element,l),e(this._scrollElement).off(u),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},r._getConfig=function(n){if("string"!=typeof(n=o({},f,"object"==typeof n&&n?n:{})).target){var i=e(n.target).attr("id");i||(i=t.getUID(s),e(n.target).attr("id",i)),n.target="#"+i}return t.typeCheckConfig(s,n,h),n},r._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},r._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},r._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},r._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;){this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&("undefined"==typeof this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}},r._activate=function(t){this._activeTarget=t,this._clear();var n=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),i=e([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(m.DROPDOWN_ITEM)?(i.closest(g.DROPDOWN).find(g.DROPDOWN_TOGGLE).addClass(m.ACTIVE),i.addClass(m.ACTIVE)):(i.addClass(m.ACTIVE),i.parents(g.NAV_LIST_GROUP).prev(g.NAV_LINKS+", "+g.LIST_ITEMS).addClass(m.ACTIVE),i.parents(g.NAV_LIST_GROUP).prev(g.NAV_ITEMS).children(g.NAV_LINKS).addClass(m.ACTIVE)),e(this._scrollElement).trigger(p.ACTIVATE,{relatedTarget:t})},r._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(m.ACTIVE)}).forEach(function(e){return e.classList.remove(m.ACTIVE)})},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data(l);if(i||(i=new n(this,"object"==typeof t&&t),e(this).data(l,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},i(n,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return f}}]),n}();return e(window).on(p.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(g.DATA_SPY)),n=t.length;n--;){var i=e(t[n]);_._jQueryInterface.call(i,i.data())}}),e.fn[s]=_._jQueryInterface,e.fn[s].Constructor=_,e.fn[s].noConflict=function(){return e.fn[s]=d,_._jQueryInterface},_}), 79/*! 80 * Bootstrap tab.js v4.3.1 (https://getbootstrap.com/) 81 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 82 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 83 */ 84function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Tab=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var r="tab",o="4.3.1",s="bs.tab",a="."+s,l=".data-api",u=e.fn[r],c={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK_DATA_API:"click"+a+l},d={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},f={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"},h=function(){function n(e){this._element=e}var r=n.prototype;return r.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(d.ACTIVE)||e(this._element).hasClass(d.DISABLED))){var i,r,o=e(this._element).closest(f.NAV_LIST_GROUP)[0],s=t.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?f.ACTIVE_UL:f.ACTIVE;
84r=(r=e.makeArray(e(o).find(a)))[r.length-1]}var l=e.Event(c.HIDE,{relatedTarget:this._element}),u=e.Event(c.SHOW,{relatedTarget:r});if(r&&e(r).trigger(l),e(this._element).trigger(u),!u.isDefaultPrevented()&&!l.isDefaultPrevented()){s&&(i=document.querySelector(s)),this._activate(this._element,o);var h=function(){var t=e.Event(c.HIDDEN,{relatedTarget:n._element}),i=e.Event(c.SHOWN,{relatedTarget:r});e(r).trigger(t),e(n._element).trigger(i)};i?this._activate(i,i.parentNode,h):h()}}},r.dispose=function(){e.removeData(this._element,s),this._element=null},r._activate=function(n,i,r){var o=this,s=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?e(i).children(f.ACTIVE):e(i).find(f.ACTIVE_UL))[0],a=r&&s&&e(s).hasClass(d.FADE),l=function(){return o._transitionComplete(n,s,r)};if(s&&a){var u=t.getTransitionDurationFromElement(s);e(s).removeClass(d.SHOW).one(t.TRANSITION_END,l).emulateTransitionEnd(u)}else l()},r._transitionComplete=function(n,i,r){if(i){e(i).removeClass(d.ACTIVE);var o=e(i.parentNode).find(f.DROPDOWN_ACTIVE_CHILD)[0];o&&e(o).removeClass(d.ACTIVE),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}if(e(n).addClass(d.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),t.reflow(n),n.classList.contains(d.FADE)&&n.classList.add(d.SHOW),n.parentNode&&e(n.parentNode).hasClass(d.DROPDOWN_MENU)){var s=e(n).closest(f.DROPDOWN)[0];if(s){var a=[].slice.call(s.querySelectorAll(f.DROPDOWN_TOGGLE));e(a).addClass(d.ACTIVE)}n.setAttribute("aria-expanded",!0)}r&&r()},n._jQueryInterface=function(t){return this.each(function(){var i=e(this),r=i.data(s);if(r||(r=new n(this),i.data(s,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},i(n,null,[{key:"VERSION",get:function(){return o}}]),n}();return e(document).on(c.CLICK_DATA_API,f.DATA_TOGGLE,function(t){t.preventDefault(),h._jQueryInterface.call(e(this),"show")}),e.fn[r]=h._jQueryInterface,e.fn[r].Constructor=h,e.fn[r].noConflict=function(){return e.fn[r]=u,h._jQueryInterface},h}), 85/*! 86 * Bootstrap toast.js v4.3.1 (https://getbootstrap.com/) 87 * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 88 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 89 */ 90function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Toast=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}e=e&&e.hasOwnProperty("default")?e["default"]:e,t=t&&t.hasOwnProperty("default")?t["default"]:t;var s="toast",a="4.3.1",l="bs.toast",u="."+l,c=e.fn[s],d={CLICK_DISMISS:"click.dismiss"+u,HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u},f={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},h={animation:"boolean",autohide:"boolean",delay:"number"},p={animation:!0,autohide:!0,delay:500},m={DATA_DISMISS:'[data-dismiss="toast"]'},g=function(){function n(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var r=n.prototype;return r.show=function(){var n=this;e(this._element).trigger(d.SHOW),this._config.animation&&this._element.classList.add(f.FADE);var i=function(){n._element.classList.remove(f.SHOWING),n._element.classList.add(f.SHOW),e(n._element).trigger(d.SHOWN),n._config.autohide&&n.hide()};if(this._element.classList.remove(f.HIDE),this._element.classList.add(f.SHOWING),this._config.animation){var r=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,i).emulateTransitionEnd(r)}else i()},r.hide=function(t){var n=this;this._element.classList.contains(f.SHOW)&&(e(this._element).trigger(d.HIDE),t?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},r.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(f.SHOW)&&this._element.classList.remove(f.SHOW),e(this._element).off(d.CLICK_DISMISS),e.removeData(this._element,l),this._element=null,this._config=null},r._getConfig=function(n){return n=o({},p,e(this._element).data(),"object"==typeof n&&n?n:{}),t.typeCheckConfig(s,n,this.constructor.DefaultType),n},r._setListeners=function(){var t=this;e(this._element).on(d.CLICK_DISMISS,m.DATA_DISMISS,function(){return t.hide(!0)})},r._close=function(){var n=this,i=function(){n._element.classList.add(f.HIDE),e(n._element).trigger(d.HIDDEN)};if(this._element.classList.remove(f.SHOW),this._config.animation){var r=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,i).emulateTransitionEnd(r)}else i()},n._jQueryInterface=function(t){return this.each(function(){var i=e(this),r=i.data(l);if(r||(r=new n(this,"object"==typeof t&&t),i.data(l,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method n
90amed "'+t+'"');r[t](this)}})},i(n,null,[{key:"VERSION",get:function(){return a}},{key:"DefaultType",get:function(){return h}},{key:"Default",get:function(){return p}}]),n}();return e.fn[s]=g._jQueryInterface,e.fn[s].Constructor=g,e.fn[s].noConflict=function(){return e.fn[s]=c,g._jQueryInterface},g}),function(){function e(e){function t(t,n,i,r,o,s){for(;o>=0&&s>o;o+=e){var a=r?r[o]:o;i=n(i,t[a],a,t)}return i}return function(n,i,r,o){i=v(i,o,4);var s=!x(n)&&_.keys(n),a=(s||n).length,l=e>0?0:a-1;return arguments.length<3&&(r=n[s?s[l]:l],l+=e),t(n,i,r,s,l,a)}}function t(e){return function(t,n,i){n=b(n,i);for(var r=C(t),o=e>0?0:r-1;o>=0&&r>o;o+=e)if(n(t[o],o,t))return o;return-1}}function n(e,t,n){return function(i,r,o){var s=0,a=C(i);if("number"==typeof o)e>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return i[o=n(i,r)]===r?o:-1;if(r!=r)return(o=t(c.call(i,s,a),_.isNaN))>=0?o+s:-1;for(o=e>0?s:a-1;o>=0&&a>o;o+=e)if(i[o]===r)return o;return-1}}function i(e,t){var n=N.length,i=e.constructor,r=_.isFunction(i)&&i.prototype||a,o="constructor";for(_.has(e,o)&&!_.contains(t,o)&&t.push(o);n--;)(o=N[n])in e&&e[o]!==r[o]&&!_.contains(t,o)&&t.push(o)}var r=this,o=r._,s=Array.prototype,a=Object.prototype,l=Function.prototype,u=s.push,c=s.slice,d=a.toString,f=a.hasOwnProperty,h=Array.isArray,p=Object.keys,m=l.bind,g=Object.create,y=function(){},_=function(e){return e instanceof _?e:this instanceof _?void(this._wrapped=e):new _(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=_),exports._=_):r._=_,_.VERSION="1.8.3";var v=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,o){return e.call(t,n,i,r,o)}}return function(){return e.apply(t,arguments)}},b=function(e,t,n){return null==e?_.identity:_.isFunction(e)?v(e,t,n):_.isObject(e)?_.matcher(e):_.property(e)};_.iteratee=function(e,t){return b(e,t,1/0)};var w=function(e,t){return function(n){var i=arguments.length;if(2>i||null==n)return n;for(var r=1;i>r;r++)for(var o=arguments[r],s=e(o),a=s.length,l=0;a>l;l++){var u=s[l];t&&void 0!==n[u]||(n[u]=o[u])}return n}},S=function(e){if(!_.isObject(e))return{};if(g)return g(e);y.prototype=e;var t=new y;return y.prototype=null,t},E=function(e){return function(t){return null==t?void 0:t[e]}},T=Math.pow(2,53)-1,C=E("length"),x=function(e){var t=C(e);return"number"==typeof t&&t>=0&&T>=t};_.each=_.forEach=function(e,t,n){var i,r;if(t=v(t,n),x(e))for(i=0,r=e.length;r>i;i++)t(e[i],i,e);else{var o=_.keys(e);for(i=0,r=o.length;r>i;i++)t(e[o[i]],o[i],e)}return e},_.map=_.collect=function(e,t,n){t=b(t,n);for(var i=!x(e)&&_.keys(e),r=(i||e).length,o=Array(r),s=0;r>s;s++){var a=i?i[s]:s;o[s]=t(e[a],a,e)}return o},_.reduce=_.foldl=_.inject=e(1),_.reduceRight=_.foldr=e(-1),_.find=_.detect=function(e,t,n){var i;return void 0!==(i=x(e)?_.findIndex(e,t,n):_.findKey(e,t,n))&&-1!==i?e[i]:void 0},_.filter=_.select=function(e,t,n){var i=[];return t=b(t,n),_.each(e,function(e,n,r){t(e,n,r)&&i.push(e)}),i},_.reject=function(e,t,n){return _.filter(e,_.negate(b(t)),n)},_.every=_.all=function(e,t,n){t=b(t,n);for(var i=!x(e)&&_.keys(e),r=(i||e).length,o=0;r>o;o++){var s=i?i[o]:o;if(!t(e[s],s,e))return!1}return!0},_.some=_.any=function(e,t,n){t=b(t,n);for(var i=!x(e)&&_.keys(e),r=(i||e).length,o=0;r>o;o++){var s=i?i[o]:o;if(t(e[s],s,e))return!0}return!1},_.contains=_.includes=_.include=function(e,t,n,i){return x(e)||(e=_.values(e)),("number"!=typeof n||i)&&(n=0),_.indexOf(e,t,n)>=0},_.invoke=function(e,t){var n=c.call(arguments,2),i=_.isFunction(t);return _.map(e,function(e){var r=i?t:e[t];return null==r?r:r.apply(e,n)})},_.pluck=function(e,t){return _.map(e,_.property(t))},_.where=function(e,t){return _.filter(e,_.matcher(t))},_.findWhere=function(e,t){return _.find(e,_.matcher(t))},_.max=function(e,t,n){var i,r,o=-1/0,s=-1/0;if(null==t&&null!=e)for(var a=0,l=(e=x(e)?e:_.values(e)).length;l>a;a++)(i=e[a])>o&&(o=i);else t=b(t,n),_.each(e,function(e,n,i){((r=t(e,n,i))>s||r===-1/0&&o===-1/0)&&(o=e,s=r)});return o},_.min=function(e,t,n){var i,r,o=1/0,s=1/0;if(null==t&&null!=e)for(var a=0,l=(e=x(e)?e:_.values(e)).length;l>a;a++)i=e[a],o>i&&(o=i);else t=b(t,n),_.each(e,function(e,n,i){r=t(e,n,i),(s>r||1/0===r&&1/0===o)&&(o=e,s=r)});return o},_.shuffle=function(e){for(var t,n=x(e)?e:_.values(e),i=n.length,r=Array(i),o=0;i>o;o++)(t=_.random(0,o))!==o&&(r[o]=r[t]),r[t]=n[o];return r},_.sample=function(e,t,n){return null==t||n?(x(e)||(e=_.values(e)),e[_.random(e.length-1)]):_.shuffle(e).slice(0,Math.max(0,t))},_.sortBy=function(e,t,n){return t=b(t,n),_.pluck(_.map(e,function(e,n,i){return{value:e,index:n,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return e.index-t.index}),"value")};var k=function(e){return function(t,n,i){var r={};return n=b(n,i),_.each(t,function(i,o){var s=n(i,o,t);e(r,i,s)}),r}};_.groupBy=k(function(e,t,n){_.has(e,n)?e[n].push(t):e[n]=[t]}),_.indexBy=k(function(e,t,n){e[n]=t}),_.countBy=k(function(e,t,n){_.has(e,n)?e[n]++:e[n]=1}),_.toArray=function(e){return e?_.isArray(e)?c.call(e):x(e)?_.map(e,_.identity):_.values(e):[]},_.size=function(e){return null==e?0:x(e)?e.length:_.keys(e).length}
vendor: 4,425 bytes, line 90
90,_.partition=function(e,t,n){t=b(t,n);var i=[],r=[];return _.each(e,function(e,n,o){(t(e,n,o)?i:r).push(e)}),[i,r]},_.first=_.head=_.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:_.initial(e,e.length-t)},_.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},_.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:_.rest(e,Math.max(0,e.length-t))},_.rest=_.tail=_.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},_.compact=function(e){return _.filter(e,_.identity)};var D=function(e,t,n,i){for(var r=[],o=0,s=i||0,a=C(e);a>s;s++){var l=e[s];if(x(l)&&(_.isArray(l)||_.isArguments(l))){t||(l=D(l,t,n));var u=0,c=l.length;for(r.length+=c;c>u;)r[o++]=l[u++]}else n||(r[o++]=l)}return r};_.flatten=function(e,t){return D(e,t,!1)},_.without=function(e){return _.difference(e,c.call(arguments,1))},_.uniq=_.unique=function(e,t,n,i){_.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=b(n,i));for(var r=[],o=[],s=0,a=C(e);a>s;s++){var l=e[s],u=n?n(l,s,e):l;t?(s&&o===u||r.push(l),o=u):n?_.contains(o,u)||(o.push(u),r.push(l)):_.contains(r,l)||r.push(l)}return r},_.union=function(){return _.uniq(D(arguments,!0,!0))},_.intersection=function(e){for(var t=[],n=arguments.length,i=0,r=C(e);r>i;i++){var o=e[i];if(!_.contains(t,o)){for(var s=1;n>s&&_.contains(arguments[s],o);s++);s===n&&t.push(o)}}return t},_.difference=function(e){var t=D(arguments,!0,!0,1);return _.filter(e,function(e){return!_.contains(t,e)})},_.zip=function(){return _.unzip(arguments)},_.unzip=function(e){for(var t=e&&_.max(e,C).length||0,n=Array(t),i=0;t>i;i++)n[i]=_.pluck(e,i);return n},_.object=function(e,t){for(var n={},i=0,r=C(e);r>i;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},_.findIndex=t(1),_.findLastIndex=t(-1),_.sortedIndex=function(e,t,n,i){for(var r=(n=b(n,i,1))(t),o=0,s=C(e);s>o;){var a=Math.floor((o+s)/2);n(e[a])<r?o=a+1:s=a}return o},_.indexOf=n(1,_.findIndex,_.sortedIndex),_.lastIndexOf=n(-1,_.findLastIndex),_.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),o=0;i>o;o++,e+=n)r[o]=e;return r};var O=function(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var o=S(e.prototype),s=e.apply(o,r);return _.isObject(s)?s:o};_.bind=function(e,t){if(m&&e.bind===m)return m.apply(e,c.call(arguments,1));if(!_.isFunction(e))throw new TypeError("Bind must be called on a function");var n=c.call(arguments,2),i=function(){return O(e,i,t,this,n.concat(c.call(arguments)))};return i},_.partial=function(e){var t=c.call(arguments,1),n=function(){for(var i=0,r=t.length,o=Array(r),s=0;r>s;s++)o[s]=t[s]===_?arguments[i++]:t[s];for(;i<arguments.length;)o.push(arguments[i++]);return O(e,n,this,this,o)};return n},_.bindAll=function(e){var t,n,i=arguments.length;if(1>=i)throw new Error("bindAll must be passed function names");for(t=1;i>t;t++)e[n=arguments[t]]=_.bind(e[n],e);return e},_.memoize=function(e,t){var n=function(i){var r=n.cache,o=""+(t?t.apply(this,arguments):i);return _.has(r,o)||(r[o]=e.apply(this,arguments)),r[o]};return n.cache={},n},_.delay=function(e,t){var n=c.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},_.defer=_.partial(_.delay,_,1),_.throttle=function(e,t,n){var i,r,o,s=null,a=0;n||(n={});var l=function(){a=!1===n.leading?0:_.now(),s=null,o=e.apply(i,r),s||(i=r=null)};return function(){var u=_.now();a||!1!==n.leading||(a=u);var c=t-(u-a);return i=this,r=arguments,0>=c||c>t?(s&&(clearTimeout(s),s=null),a=u,o=e.apply(i,r),s||(i=r=null)):s||!1===n.trailing||(s=setTimeout(l,c)),o}},_.debounce=function(e,t,n){var i,r,o,s,a,l=function(){var u=_.now()-s;t>u&&u>=0?i=setTimeout(l,t-u):(i=null,n||(a=e.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,s=_.now();var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(a=e.apply(o,r),o=r=null),a}},_.wrap=function(e,t){return _.partial(t,e)},_.negate=function(e){return function(){return!e.apply(this,arguments)}},_.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},_.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},_.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}},_.once=_.partial(_.before,2);var A=!{toString:null}.propertyIsEnumerable("toString"),N=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
90ing"];_.keys=function(e){if(!_.isObject(e))return[];if(p)return p(e);var t=[];for(var n in e)_.has(e,n)&&t.push(n);return A&&i(e,t),t},_.allKeys=function(e){if(!_.isObject(e))return[];var t=[];for(var n in e)t.push(n);return A&&i(e,t),t},_.values=function(e){for(var t=_.keys(e),n=t.length,i=Array(n),r=0;n>r;r++)i[r]=e[t[r]];return i},_.mapObject=function(e,t,n){t=b(t,n);for(var i,r=_.keys(e),o=r.length,s={},a=0;o>a;a++)s[i=r[a]]=t(e[i],i,e);return s},_.pairs=function(e){for(var t=_.keys(e),n=t.length,i=Array(n),r=0;n>r;r++)i[r]=[t[r],e[t[r]]];return i},_.invert=function(e){for(var t={},n=_.keys(e),i=0,r=n.length;r>i;i++)t[e[n[i]]]=n[i];return t},_.functions=_.methods=function(e){var t=[];for(var n in e)_.isFunction(e[n])&&t.push(n);return t.sort()},_.extend=w(_.allKeys),_.extendOwn=_.assign=w(_.keys),_.findKey=function(e,t,n){t=b(t,n);for(var i,r=_.keys(e),o=0,s=r.length;s>o;o++)if(t(e[i=r[o]],i,e))return i},_.pick=function(e,t,n){var i,r,o={},s=e;if(null==s)return o;_.isFunction(t)?(r=_.allKeys(s),i=v(t,n)):(r=D(arguments,!1,!1,1),i=function(e,t,n){return t in n},s=Object(s));for(var a=0,l=r.length;l>a;a++){var u=r[a],c=s[u];i(c,u,s)&&(o[u]=c)}return o},_.omit=function(e,t,n){if(_.isFunction(t))t=_.negate(t);else{var i=_.map(D(arguments,!1,!1,1),String);t=function(e,t){return!_.contains(i,t)}}return _.pick(e,t,n)},_.defaults=w(_.allKeys,!0),_.create=function(e,t){var n=S(e);return t&&_.extendOwn(n,t),n},_.clone=function(e){return _.isObject(e)?_.isArray(e)?e.slice():_.extend({},e):e},_.tap=function(e,t){return t(e),e},_.isMatch=function(e,t){var n=_.keys(t),i=n.length;if(null==e)return!i;for(var r=Object(e),o=0;i>o;o++){var s=n[o];if(t[s]!==r[s]||!(s in r))return!1}return!0};var P=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof _&&(e=e._wrapped),t instanceof _&&(t=t._wrapped);var r=d.call(e);if(r!==d.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}var o="[object Array]"===r;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(_.isFunction(s)&&s instanceof s&&_.isFunction(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var l=(n=n||[]).length;l--;)if(n[l]===e)return i[l]===t;if(n.push(e),i.push(t),o){if((l=e.length)!==t.length)return!1;for(;l--;)if(!P(e[l],t[l],n,i))return!1}else{var u,c=_.keys(e);if(l=c.length,_.keys(t).length!==l)return!1;for(;l--;)if(u=c[l],!_.has(t,u)||!P(e[u],t[u],n,i))return!1}return n.pop(),i.pop(),!0};_.isEqual=function(e,t){return P(e,t)},_.isEmpty=function(e){return null==e||(x(e)&&(_.isArray(e)||_.isString(e)||_.isArguments(e))?0===e.length:0===_.keys(e).length)},_.isElement=function(e){return!(!e||1!==e.nodeType)},_.isArray=h||function(e){return"[object Array]"===d.call(e)},_.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},_.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){_["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}}),_.isArguments(arguments)||(_.isArguments=function(e){return _.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(_.isFunction=function(e){return"function"==typeof e||!1}),_.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},_.isNaN=function(e){return _.isNumber(e)&&e!==+e},_.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},_.isNull=function(e){return null===e},_.isUndefined=function(e){return void 0===e},_.has=function(e,t){return null!=e&&f.call(e,t)},_.noConflict=function(){return r._=o,this},_.identity=function(e){return e},_.constant=function(e){return function(){return e}},_.noop=function(){},_.property=E,_.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},_.matcher=_.matches=function(e){return e=_.extendOwn({},e),function(t){return _.isMatch(t,e)}},_.times=function(e,t,n){var i=Array(Math.max(0,e));t=v(t,n,1);for(var r=0;e>r;r++)i[r]=t(r);return i},_.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},_.now=Date.now||function(){return(new Date).getTime()};var I={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}
90,M=_.invert(I),L=function(e){var t=function(t){return e[t]},n="(?:"+_.keys(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}};_.escape=L(I),_.unescape=L(M),_.result=function(e,t,n){var i=null==e?void 0:e[t];return void 0===i&&(i=n),_.isFunction(i)?i.call(e):i};var j=0;_.uniqueId=function(e){var t=++j+"";return e?e+t:t},_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var F=/(.)^/,R={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\u2028|\u2029/g,W=function(e){return"\\"+R[e]};_.template=function(e,t,n){!t&&n&&(t=n),t=_.defaults({},t,_.templateSettings);var i=RegExp([(t.escape||F).source,(t.interpolate||F).source,(t.evaluate||F).source].join("|")+"|$","g"),r=0,o="__p+='";e.replace(i,function(t,n,i,s,a){return o+=e.slice(r,a).replace(H,W),r=a+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var s=new Function(t.variable||"obj","_",o)}catch(a){throw a.source=o,a}var l=function(e){return s.call(this,e,_)},u=t.variable||"obj";return l.source="function("+u+"){\n"+o+"}",l},_.chain=function(e){var t=_(e);return t._chain=!0,t};var U=function(e,t){return e._chain?_(t).chain():t};_.mixin=function(e){_.each(_.functions(e),function(t){var n=_[t]=e[t];_.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),U(this,n.apply(_,e))}})},_.mixin(_),_.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];_.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],U(this,n)}}),_.each(["concat","join","slice"],function(e){var t=s[e];_.prototype[e]=function(){return U(this,t.apply(this._wrapped,arguments))}}),_.prototype.value=function(){return this._wrapped},_.prototype.valueOf=_.prototype.toJSON=_.prototype.value,_.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return _})}.call(this),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return st.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(i(e,t))return;return 1}function o(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return i(t,"toString")&&(e.toString=t.toString),i(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return _e(e,t,n,i,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){if(null==e._isValid){var t=d(e),n=at.call(t.parsedDateParts,function(e){return null!=e});n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function h(e){var t=c(NaN);return null!=e?u(d(t),e):d(t).userInvalidated=!0,t}function p(e,t){var n,i,r,s=lt.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||
vendor: 3,566 bytes, line 90
90(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=d(t)),o(t._locale)||(e._locale=t._locale),0<s)for(n=0;n<s;n++)o(r=t[i=lt[n]])||(e[i]=r);return e}function m(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ut&&(ut=!0,e.updateOffset(this),ut=!1)}function g(e){return e instanceof m||null!=e&&null!=e._isAMomentObject}function y(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function _(t,n){var r=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var o,s,a=[],l=arguments.length,u=0;u<l;u++){if(o="","object"==typeof arguments[u]){for(s in o+="\n["+u+"] ",arguments[0])i(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[u];a.push(o)}y(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function v(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),ct[t]||(y(n),ct[t]=!0)}function b(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function w(e,t){var r,o=u({},e);for(r in t)i(t,r)&&(n(e[r])&&n(t[r])?(o[r]={},u(o[r],e[r]),u(o[r],t[r])):null!=t[r]?o[r]=t[r]:delete o[r]);for(r in e)i(e,r)&&!i(t,r)&&n(e[r])&&(o[r]=u({},o[r]));return o}function S(e){null!=e&&this.set(e)}function E(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}function T(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(gt[e]=r),t&&(gt[t[0]]=function(){return E(r.apply(this,arguments),t[1],t[2])}),n&&(gt[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function C(e,t){return e.isValid()?(t=x(t,e.localeData()),mt[t]=mt[t]||function(e){for(var t,n=e.match(ht),i=0,r=n.length;i<r;i++)gt[n[i]]?n[i]=gt[n[i]]:n[i]=(t=n[i]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var i="",o=0;o<r;o++)i+=b(n[o])?n[o].call(t,e):n[o];return i}}(t),mt[t](e)):e.localeData().invalidDate()}function x(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(pt.lastIndex=0;0<=i&&pt.test(e);)e=e.replace(pt,n),pt.lastIndex=0,--i;return e}function k(e,t){var n=e.toLowerCase();yt[n]=yt[n+"s"]=yt[t]=e}function D(e){return"string"==typeof e?yt[e]||yt[e.toLowerCase()]:void 0}function O(e){var t,n,r={};for(n in e)i(e,n)&&(t=D(n))&&(r[t]=e[n]);return r}function A(e,t){_t[e]=t}function N(e){return e%4==0&&e%100!=0||e%400==0}function P(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function I(e){var t=0;return 0!=(e=+e)&&isFinite(e)?P(e):t}function M(t,n){return function(i){return null!=i?(j(this,t,i),e.updateOffset(this,n),this):L(this,t)}}function L(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function j(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&N(e.year())&&1===e.month()&&29===e.date()?(n=I(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Y(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function F(e,t,n){Lt[e]=b(t)?t:function(e){return e&&n?n:t}}function R(e,t){return i(Lt,e)?Lt[e](t._strict,t._locale):new RegExp(H(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function H(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(e,t){var n,i,r=t;
vendor: 8,463 bytes, lines 90-91
90for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=I(e)}),i=e.length,n=0;n<i;n++)jt[e[n]]=r}function U(e,t){W(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function Y(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?N(e)?29:28:31-n%7%2}function V(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=I(t);else if(!s(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Y(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function q(t){return null!=t?(V(this,t),e.updateOffset(this,!0),this):L(this,"Month")}function B(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],o=0;o<12;o++)t=c([2e3,o]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),o=0;o<12;o++)n[o]=H(n[o]),i[o]=H(i[o]);for(o=0;o<24;o++)r[o]=H(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function $(e){return N(e)?366:365}function G(e,t,n,i,r,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,o,s),a}function z(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function K(e,t,n){return(n=7+t-n)-(7+z(e,0,n).getUTCDay()-t)%7-1}function Q(e,t,n,i,r){var o;n=(t=1+7*(t-1)+(7+n-i)%7+K(e,i,r))<=0?$(o=e-1)+t:t>$(e)?(o=e+1,t-$(e)):(o=e,t);return{year:o,dayOfYear:n}}function X(e,t,n){var i,r,o=K(e.year(),t,n);return(o=Math.floor((e.dayOfYear()-o-1)/7)+1)<1?i=o+Z(r=e.year()-1,t,n):o>Z(e.year(),t,n)?(i=o-Z(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Z(e,t,n){var i=K(e,t,n);t=K(e+1,t,n);return($(e)-i+t)/7}function J(e,t){return e.slice(t,7).concat(e.slice(0,t))}function ee(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],o=[],s=[],a=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=H(this.weekdaysMin(i,"")),n=H(this.weekdaysShort(i,"")),i=H(this.weekdays(i,"")),r.push(t),o.push(n),s.push(i),a.push(t),a.push(n),a.push(i);r.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function te(){return this.hours()%12||12}function ne(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ie(e,t){return t._meridiemParse}function re(e){return e&&e.toLowerCase().replace("_","-")}function oe(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=re(e[o]).split("-")).length,n=(n=re(e[o+1]))?n.split("-"):null;0<t;){if(i=se(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}o++}return on}function se(e){var t;if(void 0===an[e]&&"undefined"!=typeof module&&module&&module.exports&&null!=e.match("^[^/\\\\]*$"))try{t=on._abbr,require("./locale/"+e),ae(t)}catch(t){an[e]=null}return an[e]}function ae(e,t){return e&&((t=o(t)?ue(e):le(e,t))?on=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function le(e,t){if(null===t)return delete an[e],null;var n,i=sn;if(t.abbr=e,null!=an[e])v("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=an[e]._config;else if(null!=t.parentLocale)if(null!=an[t.parentLocale])i=an[t.parentLocale]._config;else{if(null==(n=se(t.parentLocale)))return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;i=n._config}return an[e]=new S(w(i,t)),ln[e]&&ln[e].forEach(function(e){le(e.name,e.config)}),ae(e),an[e]}function ue(e){var n;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return on;if(!t(e)){if(n=se(e))return n;e=[e]}return oe(e)}function ce(e){var t=e._a;return t&&-2===d(e).overflow&&(t=t[Rt]<0||11<t[Rt]?Rt:t[Ht]<1||t[Ht]>Y(t[Ft],t[Rt])?Ht:t[Wt]<0||24<t[Wt]||24===t[Wt]&&(0!==t[Ut]||0!==t[Yt]||0!==t[Vt])?Wt:t[Ut]<0||59<t[Ut]?Ut:t[Yt]<0||59<t[Yt]?Yt:t[Vt]<0||999<t[Vt]?Vt:-1,d(e)._overflowDayOfYear&&(t<Ft||Ht<t)&&(t=Ht),d(e)._overflowWeeks&&-1===t&&(t=qt),d(e)._overflowWeekday&&-1===t&&(t=Bt),d(e).overflow=t),e}function de(e){var t,n,i,r,o,s,a=e._i,l=un.exec(a)||cn.exec(a),u=(a=fn.length,hn.length);if(l){for(d(e).iso=!0,t=0,n=a;t<n;t++)if(fn[t][1].exec(l[1])){r=fn[t][0],i=!1!==fn[t][2];break}if(null==r)e._isValid=!1;else{if(l[3]){for(t=0,n=u;t<n;t++)if(hn[t][1].exec(l[3])){o=(l[2]||" ")+hn[t][0];break}if(null==o)return void(e._isValid=!1)}if(i||null==o){if(l[4]){if(!dn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(o||"")+(s||""),ge(e)}else e._isValid=!1}}else e._isValid=!1}function fe(e,t,n,i,r,o){return e=[function(e){return(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e}(e),Gt.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)],o&&e.push(parseInt(o,10)),e}function he(e){var t,n,i,r,o=mn.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(i=t=fe(o[4],o[3],o[2],o[5],o[6],o[7]),r=e,(n=o[1])&&Jt.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(d(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=o[8],i=o[9],r=o[10],n?gn[n]:i?0:((n=parseInt(r,10))-(i=n%100))/100*60+i),e._d=z.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0)):e._isValid=!1}function pe(e,t,n){return null!=e?e:null!=t?t:n}function me(t){var n,i,r,o,s,a,l,u,c,f,h,p=[];if(!t._d){for(r=t,o=new Date(e.now()),i=r._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],t._w&&null==t._a[Ht]&&null==t._a[Rt]&&(null!=(o=(r=t)._w).GG||null!=o.W||null!=o.E?(u=1,c=4,s=pe(o.GG,r._a[Ft],X(ve(),1,4).year),a=pe(o.W,1),((l=pe(o.E,1))<1||7<l)&&(f=!0)):(u=r._locale._week.dow,c=r._locale._week.doy,h=X(ve(),u,c),s=pe(o.gg,r._a[Ft],h.year),a=pe(o.w,h.week),null!=o.d?((l=o.d)<0||6<l)&&(f=!0):null!=o.e?(l=o.e+u,(o.e<0||6<o.e)&&(f=!0)):l=u),a<1||a>Z(s,u,c)?d(r)._overflowWeeks=!0:null!=f?d(r)._overflowWeekday=!0:(h=Q(s,a,l,u,c),r._a[Ft]=h.year,r._dayOfYear=h.dayOfYear)),null!=t._dayOfYear&&(o=pe(t._a[Ft],i[Ft]),(t._dayOfYear>$(o)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),f=z(o,0,t._dayOfYear),t._a[Rt]=f.getUTCMonth(),t._a[Ht]=f.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=p[n]=i[n];for(;n<7;n++)t._a[n]=p[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Wt]&&0===t._a[Ut]&&0===t._a[Yt]&&0===t._a[Vt]&&(t._nextDay=!0,t._a[Wt]=0),t._d=(t._useUTC?z:G).apply(null,p),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(d(t).weekdayMismatch=!0)}}function ge(t){if(t._f===e.ISO_8601)de(t);else if(t._f===e.RFC_2822)he(t);else{t._a=[], 91d(t).empty=!0;for(var n,r,o,s,a,l=""+t._i,u=l.length,c=0,f=x(t._f,t._locale).match(ht)||[],h=f.length,p=0;p<h;p++)r=f[p],(n=(l.match(R(r,t))||[])[0])&&(0<(o=l.substr(0,l.indexOf(n))).length&&d(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),c+=n.length),gt[r]?(n?d(t).empty=!1:d(t).unusedTokens.push(r),o=r,a=t,null!=(s=n)&&i(jt,o)&&jt[o](s,a._a,a,o)):t._strict&&!n&&d(t).unusedTokens.push(r);d(t).charsLeftOver=u-c,0<l.length&&d(t).unusedInput.push(l),t._a[Wt]<=12&&!0===d(t).bigHour&&0<t._a[Wt]&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[Wt]=function(e,t,n){return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(t._locale,t._a[Wt],t._meridiem),null!==(u=d(t).era)&&(t._a[Ft]=t._locale.erasConvertYear(u,t._a[Ft])),me(t),ce(t)}}function ye(i){var r,c,y,_=i._i,v=i._f;return i._locale=i._locale||ue(i._l),null===_||void 0===v&&""===_?h({nullInput:!0}):("string"==typeof _&&(i._i=_=i._locale.preparse(_)),g(_)?new m
91(ce(_)):(a(_)?i._d=_:t(v)?function(e){var t,n,i,r,o,s,a=!1,l=e._f.length;if(0===l)return d(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)o=0,s=!1,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],ge(t),f(t)&&(s=!0),o=(o+=d(t).charsLeftOver)+10*d(t).unusedTokens.length,d(t).score=o,a?o<i&&(i=o,n=t):(null==i||o<i||s)&&(i=o,n=t,s&&(a=!0));u(e,n||t)}(i):v?ge(i):o(v=(_=i)._i)?_._d=new Date(e.now()):a(v)?_._d=new Date(v.valueOf()):"string"==typeof v?(c=_,null!==(r=pn.exec(c._i))?c._d=new Date(+r[1]):(de(c),!1===c._isValid&&(delete c._isValid,he(c),!1===c._isValid&&(delete c._isValid,c._strict?c._isValid=!1:e.createFromInputFallback(c))))):t(v)?(_._a=l(v.slice(0),function(e){return parseInt(e,10)}),me(_)):n(v)?(r=_)._d||(y=void 0===(c=O(r._i)).day?c.date:c.day,r._a=l([c.year,c.month,y,c.hour,c.minute,c.second,c.millisecond],function(e){return e&&parseInt(e,10)}),me(r)):s(v)?_._d=new Date(v):e.createFromInputFallback(_),f(i)||(i._d=null),i))}function _e(e,i,o,s,a){var l={};return!0!==i&&!1!==i||(s=i,i=void 0),!0!==o&&!1!==o||(s=o,o=void 0),(n(e)&&r(e)||t(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=o,l._i=e,l._f=i,l._strict=s,(a=new m(ce(ye(a=l))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function ve(e,t,n,i){return _e(e,t,n,i,!1)}function be(e,n){var i,r;if(!(n=1===n.length&&t(n[0])?n[0]:n).length)return ve();for(i=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][e](i)||(i=n[r]);return i}function we(e){var t=(e=O(e)).year||0,n=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,o=yn.length;for(t in e)if(i(e,t)&&(-1===dt.call(yn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[yn[n]]){if(r)return!1;parseFloat(e[yn[n]])!==I(e[yn[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*u+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*n+12*t,this._data={},this._locale=ue(),this._bubble()}function Se(e){return e instanceof we}function Ee(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Te(e,t){T(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)})}function Ce(e,t){return null===(t=(t||"").match(e))?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(_n)||["-",0,0])[1]+I(e[2]))?0:"+"===e[0]?t:-t}function xe(t,n){var i;return n._isUTC?(n=n.clone(),i=(g(t)||a(t)?t:ve(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+i),e.updateOffset(n,!1),n):ve(t).local()}function ke(e){return-Math.round(e._d.getTimezoneOffset())}function De(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Oe(e,t){var n,r=e,o=null;return Se(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=vn.exec(e))?(n="-"===o[1]?-1:1,r={y:0,d:I(o[Ht])*n,h:I(o[Wt])*n,m:I(o[Ut])*n,s:I(o[Yt])*n,ms:I(Ee(1e3*o[Vt]))*n}):(o=bn.exec(e))?(n="-"===o[1]?-1:1,r={y:Ae(o[2],n),M:Ae(o[3],n),w:Ae(o[4],n),d:Ae(o[5],n),h:Ae(o[6],n),m:Ae(o[7],n),s:Ae(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=function(e,t){var n;return e.isValid()&&t.isValid()?(t=xe(t,e),e.isBefore(t)?n=Ne(e,t):((n=Ne(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(ve(r.from),ve(r.to)),(r={}).ms=t.milliseconds,r.M=t.months),o=new we(r),Se(e)&&i(e,"_locale")&&(o._locale=e._locale),Se(e)&&i(e,"_isValid")&&(o._isValid=e._isValid),o}function Ae(e,t){return e=e&&parseFloat(e.replace(",",".")),(isNaN(e)?0:e)*t}function Ne(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pe(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(v(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."),r=n,n=i,i=r),Ie(this,Oe(n,i),e),this}}function Ie(t,n,i,r){var o=n._milliseconds,s=Ee(n._days);n=Ee(n._months);t.isValid()&&(r=null==r||r,n&&V(t,L(t,"Month")+n*i),s&&j(t,"Date",L(t,"Date")+s*i),o&&t._d.setTime(t._d.valueOf()+o*i),r&&e.updateOffset(t,s||n))}function Me(e){return"string"==typeof e||e instanceof String}function Le(e){return g(e)||a(e)||Me(e)||s(e)||function(e){var n=t(e),i=!1;return n&&(i=0===e.filter(function(t){return!s(t)&&Me(e)}).length),n&&i}(e)||function(e){var t,o,s=n(e)&&!r(e),a=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;t<u;t+=1)o=l[t],a=a||i(e,o);return s&&a}(e)||null==e}function je(e,t){if(e.date()<t.date())return-je(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t=t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Fe(e){return void 0===e?this._locale._abbr:(null!=(e=ue(e))&&(this._locale=e),this)}function Re(){return this._locale}function He(e,t){return(e%t+t)%t}function We(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-wn:new Date(e,t,n).valueOf()}function Ue(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-wn:Date.UTC(e,t,n
91)}function Ye(e,t){return t.erasAbbrRegex(e)}function Ve(){for(var e=[],t=[],n=[],i=[],r=this.eras(),o=0,s=r.length;o<s;++o)t.push(H(r[o].name)),e.push(H(r[o].abbr)),n.push(H(r[o].narrow)),i.push(H(r[o].name)),i.push(H(r[o].abbr)),i.push(H(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function qe(e,t){T(0,[e,e.length],0,t)}function Be(e,t,n,i,r){var o;return null==e?X(this,i,r).year:(o=Z(e,i,r),function(e,t,n,i,r){return t=z((e=Q(e,t,n,i,r)).year,0,e.dayOfYear),this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=o<t?o:t,n,i,r))}function $e(e,t){t[Vt]=I(1e3*("0."+e))}function Ge(e){return e}function ze(e,t,n,i){var r=ue();i=c().set(i,t);return r[n](i,e)}function Ke(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ze(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=ze(e,r,n,"month");return i}function Qe(e,t,n,i){"boolean"==typeof e?s(t)&&(n=t,t=void 0):(t=e,e=!1,s(n=t)&&(n=t,t=void 0)),t=t||"";var r,o=ue(),a=e?o._week.dow:0,l=[];if(null!=n)return ze(t,(n+a)%7,i,"day");for(r=0;r<7;r++)l[r]=ze(t,(r+a)%7,i,"day");return l}function Xe(e,t,n,i){return t=Oe(t,n),e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function Ze(e){return e<0?Math.floor(e):Math.ceil(e)}function Je(e){return 4800*e/146097}function et(e){return 146097*e/4800}function tt(e){return function(){return this.as(e)}}function nt(e){return function(){return this.isValid()?this._data[e]:NaN}}function it(e,t,n,i){var r=Oe(e).abs(),o=kn(r.as("s")),s=kn(r.as("m")),a=kn(r.as("h")),l=kn(r.as("d")),u=kn(r.as("M")),c=kn(r.as("w"));r=kn(r.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(o=(o=null!=n.w?o||c<=1&&["w"]||c<n.w&&["ww",c]:o)||u<=1&&["M"]||u<n.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=t,o[3]=0<+e,o[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,o)}function rt(e){return(0<e)-(e<0)||+e}function ot(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,s,a=On(this._milliseconds)/1e3,l=On(this._days),u=On(this._months),c=this.asSeconds();return c?(t=P((e=P(a/60))/60),a%=60,e%=60,n=P(u/12),u%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=rt(this._months)!==rt(c)?"-":"",o=rt(this._days)!==rt(c)?"-":"",s=rt(this._milliseconds)!==rt(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}var st,at=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},lt=e.momentProperties=[],ut=!1,ct={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var dt,ft=Object.keys||function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n},ht=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mt={},gt={},yt={},_t={},vt=/\d/,bt=/\d\d/,wt=/\d{3}/,St=/\d{4}/,Et=/[+-]?\d{6}/,Tt=/\d\d?/,Ct=/\d\d\d\d?/,xt=/\d\d\d\d\d\d?/,kt=/\d{1,3}/,Dt=/\d{1,4}/,Ot=/[+-]?\d{1,6}/,At=/\d+/,Nt=/[+-]?\d+/,Pt=/Z|[+-]\d\d:?\d\d/gi,It=/Z|[+-]\d\d(?::?\d\d)?/gi,Mt=/[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,Lt={},jt={},Ft=0,Rt=1,Ht=2,Wt=3,Ut=4,Yt=5,Vt=6,qt=7,Bt=8;dt=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},T("M",["MM",2],"Mo",function(){return this.month()+1}),T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),T("MMMM",0,0,function(e){return this.localeData().months(this,e)}),k("month","M"),A("month",8),F("M",Tt),F("MM",Tt,bt),F("MMM",function(e,t){return t.monthsShortRegex(e)}),F("MMMM",function(e,t){return t.monthsRegex(e)}),W(["M","MM"],function(e,t){t[Rt]=I(e)-1}),W(["MMM","MMMM"],function(e,t,n,i){null!=(i=n._locale.monthsParse(e,i,n._strict))?t[Rt]=i:d(n).invalidMonth=e});var $t="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kt=Mt,Qt=Mt;T("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),T(0,["YY",2],0,function(){return this.year()%100}),T(0,["YYYY",4],0,"year"),T(0,["YYYYY",5],0,"year"),T(0,["YYYYYY",6,!0],0,"year"),k("year","y"),A("year",1),F("Y",Nt),F("YY",Tt,bt),F("YYYY",Dt,St),F("YYYYY",Ot,Et),F("YYYYYY",Ot,Et),W(["YYYYY","YYYYYY"],Ft),W("YYYY",function(t,n){n[Ft]=2===t.length?e.parseTwoDigitYear(t):I(t)}),W("YY",function(t,n){n[Ft]=e.parseTwoDigitYear(t)}),W("Y",function(e,t){t[Ft]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return I(e)+(68<I(e)?1900:2e3)};var Xt=M("FullYear",!0);T("w",["ww",2],"wo","week"),T("W",["WW",2],"Wo","isoWeek"),k("week","w"),k("isoWeek","W"),A("week",5),A("isoWeek",5),F("w",Tt),F("ww",Tt,bt),F("W",Tt),F("WW",Tt,bt),U(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=I(e)}),T("d",0,"do","day"),T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),T("e",0,0,"weekday"),T("E",0,0,"isoWeekday"),k("day","d"),k("weekday","e"),k("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),F("d",Tt),F("e",Tt),F("E",Tt),F("dd",function(e,t){return t.weekdaysMinRegex(e)}),F("ddd",function(e,t){return t.weekdaysShortRegex(e)}),F("dddd",function(e,t){return t.weekdaysRegex(e)}),U(["dd","ddd","dddd"],function(e,t,n,i){null!=(i=n._locale.weekdaysParse(e,i,n._strict))?t.d=i:d(n).invalidWeekday=e}),U(["d","e","E"],function(e,t,n,i){t[i]=I(e)});var Zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),en="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tn=Mt,nn=Mt,rn=Mt;T("H",["HH",2],0,"hour"),T("h",["hh",2],0,te),T("k",["kk",2],0,function(){return this.hours()||24}),T("hmm",0,0,function(){return""+te.apply(this)+E(this.minutes(),2)}
vendor: 4,410 bytes, line 91
91),T("hmmss",0,0,function(){return""+te.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),T("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),T("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),ne("a",!0),ne("A",!1),k("hour","h"),A("hour",13),F("a",ie),F("A",ie),F("H",Tt),F("h",Tt),F("k",Tt),F("HH",Tt,bt),F("hh",Tt,bt),F("kk",Tt,bt),F("hmm",Ct),F("hmmss",xt),F("Hmm",Ct),F("Hmmss",xt),W(["H","HH"],Wt),W(["k","kk"],function(e,t){e=I(e),t[Wt]=24===e?0:e}),W(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),W(["h","hh"],function(e,t,n){t[Wt]=I(e),d(n).bigHour=!0}),W("hmm",function(e,t,n){var i=e.length-2;t[Wt]=I(e.substr(0,i)),t[Ut]=I(e.substr(i)),d(n).bigHour=!0}),W("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Wt]=I(e.substr(0,i)),t[Ut]=I(e.substr(i,2)),t[Yt]=I(e.substr(r)),d(n).bigHour=!0}),W("Hmm",function(e,t){var n=e.length-2;t[Wt]=I(e.substr(0,n)),t[Ut]=I(e.substr(n))}),W("Hmmss",function(e,t){var n=e.length-4,i=e.length-2;t[Wt]=I(e.substr(0,n)),t[Ut]=I(e.substr(n,2)),t[Yt]=I(e.substr(i))}),Mt=M("Hours",!0);var on,sn={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:$t,monthsShort:Gt,week:{dow:0,doy:6},weekdays:Zt,weekdaysMin:en,weekdaysShort:Jt,meridiemParse:/[ap]\.?m?\.?/i},an={},ln={},un=/^\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)?)?$/,cn=/^\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)?)?$/,dn=/Z|[+-]\d\d(?::?\d\d)?/,fn=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],hn=[["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/]],pn=/^\/?Date\((-?\d+)/i,mn=/^(?:(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}))$/,gn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=_("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){},Ct=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ve.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()}),xt=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ve.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:h()});var yn=["year","quarter","month","week","day","hour","minute","second","millisecond"];Te("Z",":"),Te("ZZ",""),F("Z",It),F("ZZ",It),W(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ce(It,e)});var _n=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var vn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,bn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
91Oe.fn=we.prototype,Oe.invalid=function(){return Oe(NaN)},$t=Pe(1,"add"),Zt=Pe(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",en=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});var wn=126227808e5;T("N",0,0,"eraAbbr"),T("NN",0,0,"eraAbbr"),T("NNN",0,0,"eraAbbr"),T("NNNN",0,0,"eraName"),T("NNNNN",0,0,"eraNarrow"),T("y",["y",1],"yo","eraYear"),T("y",["yy",2],0,"eraYear"),T("y",["yyy",3],0,"eraYear"),T("y",["yyyy",4],0,"eraYear"),F("N",Ye),F("NN",Ye),F("NNN",Ye),F("NNNN",function(e,t){return t.erasNameRegex(e)}),F("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),W(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){(i=n._locale.erasParse(e,i,n._strict))?d(n).era=i:d(n).invalidEra=e}),F("y",At),F("yy",At),F("yyy",At),F("yyyy",At),F("yo",function(e,t){return t._eraYearOrdinalRegex||At}),W(["y","yy","yyy","yyyy"],Ft),W(["yo"],function(e,t,n){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ft]=n._locale.eraYearOrdinalParse(e,i):t[Ft]=parseInt(e,10)}),T(0,["gg",2],0,function(){return this.weekYear()%100}),T(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qe("gggg","weekYear"),qe("ggggg","weekYear"),qe("GGGG","isoWeekYear"),qe("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),F("G",Nt),F("g",Nt),F("GG",Tt,bt),F("gg",Tt,bt),F("GGGG",Dt,St),F("gggg",Dt,St),F("GGGGG",Ot,Et),F("ggggg",Ot,Et),U(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=I(e)}),U(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),T("Q",0,"Qo","quarter"),k("quarter","Q"),A("quarter",7),F("Q",vt),W("Q",function(e,t){t[Rt]=3*(I(e)-1)}),T("D",["DD",2],"Do","date"),k("date","D"),A("date",9),F("D",Tt),F("DD",Tt,bt),F("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),W(["D","DD"],Ht),W("Do",function(e,t){t[Ht]=I(e.match(Tt)[0])}),Dt=M("Date",!0),T("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),A("dayOfYear",4),F("DDD",kt),F("DDDD",wt),W(["DDD","DDDD"],function(e,t,n){n._dayOfYear=I(e)}),T("m",["mm",2],0,"minute"),k("minute","m"),A("minute",14),F("m",Tt),F("mm",Tt,bt),W(["m","mm"],Ut);var Sn;St=M("Minutes",!1),T("s",["ss",2],0,"second"),k("second","s"),A("second",15),F("s",Tt),F("ss",Tt,bt),W(["s","ss"],Yt),Ot=M("Seconds",!1);for(T("S",0,0,function(){return~~(this.millisecond()/100)}),T(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),T(0,["SSS",3],0,"millisecond"),T(0,["SSSS",4],0,function(){return 10*this.millisecond()}),T(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),T(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),T(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),T(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),T(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),k("millisecond","ms"),A("millisecond",16),F("S",kt,vt),F("SS",kt,bt),F("SSS",kt,wt),Sn="SSSS";Sn.length<=9;Sn+="S")F(Sn,At);for(Sn="S";Sn.length<=9;Sn+="S")W(Sn,$e);Et=M("Milliseconds",!1),T("z",0,0,"zoneAbbr"),T("zz",0,0,"zoneName"),(vt=m.prototype).add=$t,vt.calendar=function(t,o){1===arguments.length&&(arguments[0]?Le(arguments[0])?(t=arguments[0],o=void 0):function(e){for(var t=n(e)&&!r(e),o=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<s.length;a+=1)o=o||i(e,s[a]);return t&&o}(arguments[0])&&(o=arguments[0],t=void 0):o=t=void 0);var s=xe(t=t||ve(),this).startOf("day");s=e.calendarFormat(this,s)||"sameElse",o=o&&(b(o[s])?o[s].call(this,t):o[s]);return this.format(o||this.localeData().calendar(s,this,ve(t)))},vt.clone=function(){return new m(this)},vt.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=xe(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=D(t)){case"year":o=je(this,i)/12;break;case"month":o=je(this,i);break;case"quarter":o=je(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:P(o)},vt.endOf=function(t){var n,i;if(void 0===(t=D(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ue:We,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;
vendor: 4,218 bytes, line 91
91case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-He(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-He(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-He(n,1e3)-1}return this._d.setTime(n),e.updateOffset(this,!0),this},vt.format=function(t){return t=C(this,t=t||(this.isUtc()?e.defaultFormatUtc:e.defaultFormat)),this.localeData().postformat(t)},vt.from=function(e,t){return this.isValid()&&(g(e)&&e.isValid()||ve(e).isValid())?Oe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vt.fromNow=function(e){return this.from(ve(),e)},vt.to=function(e,t){return this.isValid()&&(g(e)&&e.isValid()||ve(e).isValid())?Oe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vt.toNow=function(e){return this.to(ve(),e)},vt.get=function(e){return b(this[e=D(e)])?this[e]():this},vt.invalidAt=function(){return d(this).overflow},vt.isAfter=function(e,t){return e=g(e)?e:ve(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},vt.isBefore=function(e,t){return e=g(e)?e:ve(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},vt.isBetween=function(e,t,n,i){return e=g(e)?e:ve(e),t=g(t)?t:ve(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},vt.isSame=function(e,t){e=g(e)?e:ve(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},vt.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vt.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vt.isValid=function(){return f(this)},vt.lang=en,vt.locale=Fe,vt.localeData=Re,vt.max=xt,vt.min=Ct,vt.parsingFlags=function(){return u({},d(this))},vt.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)i(e,t)&&n.push({unit:t,priority:_t[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=O(e)),r=n.length,o=0;o<r;o++)this[n[o].unit](e[n[o].unit]);else if(b(this[e=D(e)]))return this[e](t);return this},vt.startOf=function(t){var n,i;if(void 0===(t=D(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ue:We,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=He(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=He(n,6e4);break;case"second":n=this._d.valueOf(),n-=He(n,1e3)}return this._d.setTime(n),e.updateOffset(this,!0),this},vt.subtract=Zt,vt.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vt.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},vt.toDate=function(){return new Date(this.valueOf())},vt.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?C(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",C(t,"Z")):C(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 12,180 bytes, lines 91-92
91,vt.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol["for"]&&(vt[Symbol["for"]("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vt.toJSON=function(){return this.isValid()?this.toISOString():null},vt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vt.unix=function(){return Math.floor(this.valueOf()/1e3)},vt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vt.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},vt.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},vt.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},vt.eraYear=function(){for(var t,n,i=this.localeData().eras(),r=0,o=i.length;r<o;++r)if(t=i[r].since<=i[r].until?1:-1,n=this.clone().startOf("day").valueOf(),i[r].since<=n&&n<=i[r].until||i[r].until<=n&&n<=i[r].since)return(this.year()-e(i[r].since).year())*t+i[r].offset;return this.year()},vt.year=Xt,vt.isLeapYear=function(){return N(this.year())},vt.weekYear=function(e){return Be.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vt.isoWeekYear=function(e){return Be.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vt.quarter=vt.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vt.month=q,vt.daysInMonth=function(){return Y(this.year(),this.month())},vt.week=vt.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vt.isoWeek=vt.isoWeeks=function(e){var t=X(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vt.weeksInYear=function(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)},vt.weeksInWeekYear=function(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)},vt.isoWeeksInYear=function(){return Z(this.year(),1,4)},vt.isoWeeksInISOWeekYear=function(){return Z(this.isoWeekYear(),1,4)},vt.date=Dt,vt.day=vt.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},vt.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},vt.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},vt.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},vt.hour=vt.hours=Mt,vt.minute=vt.minutes=St,vt.second=vt.seconds=Ot,vt.millisecond=vt.milliseconds=Et,vt.utcOffset=function(t,n,i){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?o:ke(this);if("string"==typeof t){if(null===(t=Ce(It,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(r=ke(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!n||this._changeInProgress?Ie(this,Oe(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},vt.utc=function(e){return this.utcOffset(0,e)},vt.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ke(this),"m")),this},vt.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ce(Pt,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},vt.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ve(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vt.isLocal=function(){return!!this.isValid()&&!this._isUTC},vt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vt.isUtc=De,vt.isUTC=De,vt.zoneAbbr=function(){return this._isUTC?"UTC":""},vt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vt.dates=_("dates accessor is deprecated. Use date instead.",Dt),vt.months=_("months accessor is deprecated. Use month instead",q),vt.years=_("years accessor is deprecated. Use year instead",Xt),vt.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),vt.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),(t=ye(t))._a?(e=(t._isUTC?c:ve)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&I(e[s])!==I(t[s]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted}),(bt=S.prototype).calendar=function(e,t,n){return b(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},bt.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ht).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},bt.invalidDate=function(){return this._invalidDate},bt.ordinal=function(e){return this._ordinal.replace("%d",e)},bt.preparse=Ge,bt.postformat=Ge,bt.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return b(r)?r(e,t,n,i):r.replace(/%d/i,e)},bt.pastFuture=function(e,t){return b(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},bt.set=function(e){var t,n;for(n in e)i(e,n)&&(b(t=e[n])?this[n]=t:this["_"+n]=t) 92;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bt.eras=function(){for(var t,n=this._eras||ue("en")._eras,i=0,r=n.length;i<r;++i){switch(typeof n[i].since){case"string":t=e(n[i].since).startOf("day"),n[i].since=t.valueOf()}switch(typeof n[i].until){case"undefined":n[i].until=1/0;break;case"string":t=e(n[i].until).startOf("day").valueOf(),n[i].until=t.valueOf()}}return n},bt.erasParse=function(e,t,n){var i,r,o,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[o,s,a].indexOf(e))return l[i]},bt.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*i},bt.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||Ve.call(this),e?this._erasAbbrRegex:this._erasRegex},bt.erasNameRegex=function(e){return i(this,"_erasNameRegex")||Ve.call(this),e?this._erasNameRegex:this._erasRegex},bt.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||Ve.call(this),e?this._erasNarrowRegex:this._erasRegex},bt.months=function(e,n){return e?(t(this._months)?this._months:this._months[(this._months.isFormat||zt).test(n)?"format":"standalone"])[e.month()]:t(this._months)?this._months:this._months.standalone},bt.monthsShort=function(e,n){return e?(t(this._monthsShort)?this._monthsShort:this._monthsShort[zt.test(n)?"format":"standalone"])[e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bt.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,o;e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=dt.call(this._shortMonthsParse,e))?r:null:-1!==(r=dt.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=dt.call(this._shortMonthsParse,e))||-1!==(r=dt.call(this._longMonthsParse,e))?r:null:-1!==(r=dt.call(this._longMonthsParse,e))||-1!==(r=dt.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},bt.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||B.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=Qt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bt.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||B.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=Kt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bt.week=function(e){return X(e,this._week.dow,this._week.doy).week},bt.firstDayOfYear=function(){return this._week.doy},bt.firstDayOfWeek=function(){return this._week.dow},bt.weekdays=function(e,n){return n=t(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(n)?"format":"standalone"],!0===e?J(n,this._week.dow):e?n[e.day()]:n},bt.weekdaysMin=function(e){return!0===e?J(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},bt.weekdaysShort=function(e){return!0===e?J(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},bt.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o;e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=dt.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=dt.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=dt.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=dt.call(this._weekdaysParse,e))||-1!==(r=dt.call(this._shortWeekdaysParse,e))||-1!==(r=dt.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=dt.call(this._shortWeekdaysParse,e))||-1!==(r=dt.call(this._weekdaysParse,e))||-1!==(r=dt.call(this._minWeekdaysParse,e))?r:null:-1!==(r=dt.call(this._minWeekdaysParse,e))||-1!==(r=dt.call(this._weekdaysParse,e))||-1!==(r=dt.call(this._shortWeekdaysParse,e))?r:null}
vendor: 5,590 bytes, line 92
92.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},bt.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ee.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=tn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bt.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ee.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bt.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ee.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bt.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bt.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ae("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===I(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),e.lang=_("moment.lang is deprecated. Use moment.locale instead.",ae),e.langData=_("moment.langData is deprecated. Use moment.localeData instead.",ue);var En=Math.abs;kt=tt("ms"),wt=tt("s"),$t=tt("m"),xt=tt("h"),Ct=tt("d"),Zt=tt("w"),Mt=tt("M"),St=tt("Q"),Ot=tt("y");Et=nt("milliseconds"),Dt=nt("seconds"),Xt=nt("minutes"),bt=nt("hours");var Tn=nt("days"),Cn=nt("months"),xn=nt("years"),kn=Math.round,Dn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},On=Math.abs,An=we.prototype;return An.isValid=function(){return this._isValid},An.abs=function(){var e=this._data;return this._milliseconds=En(this._milliseconds),this._days=En(this._days),this._months=En(this._months),e.milliseconds=En(e.milliseconds),e.seconds=En(e.seconds),e.minutes=En(e.minutes),e.hours=En(e.hours),e.months=En(e.months),e.years=En(e.years),this},An.add=function(e,t){return Xe(this,e,t,1)},An.subtract=function(e,t){return Xe(this,e,t,-1)},An.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=D(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Je(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(et(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},An.asMilliseconds=kt,An.asSeconds=wt,An.asMinutes=$t,An.asHours=xt,An.asDays=Ct,An.asWeeks=Zt,An.asMonths=Mt,An.asQuarters=St,An.asYears=Ot,An.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*I(this._months/12):NaN},An._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*Ze(et(n)+t),n=t=0),i.milliseconds=e%1e3,e=P(e/1e3),i.seconds=e%60,e=P(e/60),i.minutes=e%60,e=P(e/60),i.hours=e%24,n+=e=P(Je(t+=P(e/24))),t-=Ze(et(e)),e=P(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},An.clone=function(){return Oe(this)},An.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},An.milliseconds=Et,An.seconds=Dt,An.minutes=Xt,An.hours=bt,An.days=Tn,An.weeks=function(){return P(this.days()/7)},An.months=Cn,An.years=xn,An.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Dn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Dn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=it(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},An.toISOString=ot,An.toString=ot,An.toJSON=ot,An.locale=Fe,An.localeData=Re,An.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ot),An.lang=en,T("X",0,0,"unix"),T("x",0,0,"valueOf"),F("x",Nt),F("X",/[+-]?\d+(\.\d{1,3})?/),W("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),W("x",function(e,t,n){n._d=new Date(I(e))}),e.version="2.29.4",st=ve,e.fn=vt,e.min=function(){return be("isBefore",[].slice.call(arguments,0))},e.max=function(){return be("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=c,e.unix=function(e){return ve(1e3*e)},e.months=function(e,t){return Ke(e,t,"months")}
92,e.isDate=a,e.locale=ae,e.invalid=h,e.duration=Oe,e.isMoment=g,e.weekdays=function(e,t,n){return Qe(e,t,n,"weekdays")},e.parseZone=function(){return ve.apply(null,arguments).parseZone()},e.localeData=ue,e.isDuration=Se,e.monthsShort=function(e,t){return Ke(e,t,"monthsShort")},e.weekdaysMin=function(e,t,n){return Qe(e,t,n,"weekdaysMin")},e.defineLocale=le,e.updateLocale=function(e,t){var n,i;return null!=t?(i=sn,null!=an[e]&&null!=an[e].parentLocale?an[e].set(w(an[e]._config,t)):(t=w(i=null!=(n=se(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new S(t)).parentLocale=an[e],an[e]=i),ae(e)):null!=an[e]&&(null!=an[e].parentLocale?(an[e]=an[e].parentLocale,e===ae()&&ae(e)):null!=an[e]&&delete an[e]),an[e]},e.locales=function(){return ft(an)},e.weekdaysShort=function(e,t,n){return Qe(e,t,n,"weekdaysShort")},e.normalizeUnits=D,e.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==Dn[e]&&(void 0===t?Dn[e]:(Dn[e]=t,"s"===e&&(Dn.ss=t-1),!0))},e.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},e.prototype=vt,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}), 93/*! 94 * Pikaday 95 * 96 * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday 97 */ 98function(e,t){"use strict";var n;if("object"==typeof exports){try{n=require("moment")}catch(i){}module.exports=t(n)}else"function"==typeof define&&define.amd?define(function(e){var r="moment";try{n=e(r)}catch(i){}return t(n)}):e.Pikaday=t(e.moment)}(this,function(e){"use strict";var t="function"==typeof e,n=!!window.addEventListener,i=window.document,r=window.setTimeout,o=function(e,t,i,r){n?e.addEventListener(t,i,!!r):e.attachEvent("on"+t,i)},s=function(e,t,i,r){n?e.removeEventListener(t,i,!!r):e.detachEvent("on"+t,i)},a=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},l=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},u=function(e,t){l(e,t)||(e.className=""===e.className?t:e.className+" "+t)},c=function(e,t){e.className=a((" "+e.className+" ").replace(" "+t+" "," "))},d=function(e){return/Array/.test(Object.prototype.toString.call(e))},f=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},h=function(e){var t=e.getDay();return 0===t||6===t},p=function(e){return e%4==0&&e%100!=0||e%400==0},m=function(e,t){return[31,p(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},g=function(e){f(e)&&e.setHours(0,0,0,0)},y=function(e,t){return e.getTime()===t.getTime()},_=function(e,t,n){var i,r;for(i in t)(r=e[i]!==undefined)&&"object"==typeof t[i]&&null!==t[i]&&t[i].nodeName===undefined?f(t[i])?n&&(e[i]=new Date(t[i].getTime())):d(t[i])?n&&(e[i]=t[i].slice(0)):e[i]=_({},t[i],n):!n&&r||(e[i]=t[i]);return e},v=function(e,t,n){var r;i.createEvent?((r=i.createEvent("HTMLEvents")).initEvent(t,!0,!1),r=_(r,n),e.dispatchEvent(r)):i.createEventObject&&(r=i.createEventObject(),r=_(r,n),e.fireEvent("on"+t,r))},b=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},w={field:null,bound:undefined,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:undefined,maxMonth:undefined,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:undefined,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
98ay","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},S=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},E=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+n+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+e.day+"</button></td>"},T=function(e,t){e.setHours(0,0,0,0);var n=e.getDate(),i=e.getDay(),r=t,o=r-1,s=7,a=function(e){return(e+s-1)%s};e.setDate(n+o-a(i));var l=new Date(e.getFullYear(),0,r),u=864e5,c=(e.getTime()-l.getTime())/u;return 1+Math.round((c-o+a(l.getDay()))/s)},C=function(n,i,r,o){var s=new Date(r,i,n);return'<td class="pika-week">'+(t?e(s).isoWeek():T(s,o))+"</td>"},x=function(e,t,n,i){return'<tr class="pika-row'+(n?" pick-whole-week":"")+(i?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"},k=function(e){return"<tbody>"+e.join("")+"</tbody>"},D=function(e){var t,n=[];for(e.showWeekNumber&&n.push("<th></th>"),t=0;t<7;t++)n.push('<th scope="col"><abbr title="'+S(e,t)+'">'+S(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?n.reverse():n).join("")+"</tr></thead>"},O=function(e,t,n,i,r,o){var s,a,l,u,c,f=e._o,h=n===f.minYear,p=n===f.maxYear,m='<div id="'+o+'" class="pika-title" role="heading" aria-live="assertive">',g=!0,y=!0;for(l=[],s=0;s<12;s++)l.push('<option value="'+(n===r?s-t:12+s-t)+'"'+(s===i?' selected="selected"':"")+(h&&s<f.minMonth||p&&s>f.maxMonth?' disabled="disabled"':"")+">"+f.i18n.months[s]+"</option>");for(u='<div class="pika-label">'+f.i18n.months[i]+'<select class="pika-select pika-select-month" tabindex="-1">'+l.join("")+"</select></div>",d(f.yearRange)?(s=f.yearRange[0],a=f.yearRange[1]+1):(s=n-f.yearRange,a=1+n+f.yearRange),l=[];s<a&&s<=f.maxYear;s++)s>=f.minYear&&l.push('<option value="'+s+'"'+(s===n?' selected="selected"':"")+">"+s+"</option>");return c='<div class="pika-label">'+n+f.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+l.join("")+"</select></div>",f.showMonthAfterYear?m+=c+u:m+=u+c,h&&(0===i||f.minMonth>=i)&&(g=!1),p&&(11===i||f.maxMonth<=i)&&(y=!1),0===t&&(m+='<button class="pika-prev'+(g?"":" is-disabled")+'" type="button">'+f.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(m+='<button class="pika-next'+(y?"":" is-disabled")+'" type="button">'+f.i18n.nextMonth+"</button>"),m+"</div>"},A=function(e,t,n){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+n+'">'+D(e)+k(t)+"</table>"},N=function(s){var a=this,u=a.config(s);a._onMouseDown=function(e){if(a._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(l(t,"is-disabled")||(!l(t,"pika-button")||l(t,"is-empty")||l(t.parentNode,"is-disabled")?l(t,"pika-prev")?a.prevMonth():l(t,"pika-next")&&a.nextMonth():(a.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),u.bound&&r(function(){a.hide(),u.blurFieldOnSelect&&u.field&&u.field.blur()},100))),l(t,"pika-select"))a._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},a._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(l(t,"pika-select-month")?a.gotoMonth(t.value):l(t,"pika-select-year")&&a.gotoYear(t.value))},a._onKeyChange=function(e){if(e=e||window.event,a.isVisible())switch(e.keyCode){case 13:case 27:u.field&&u.field.blur();break;case 37:a.adjustDate("subtract",1);break;case 38:a.adjustDate("subtract",7);break;case 39:a.adjustDate("add",1);break;
98case 40:a.adjustDate("add",7);break;case 8:case 46:a.setDate(null)}},a._parseFieldValue=function(){if(u.parse)return u.parse(u.field.value,u.format);if(t){var n=e(u.field.value,u.format,u.formatStrict);return n&&n.isValid()?n.toDate():null}return new Date(Date.parse(u.field.value))},a._onInputChange=function(e){var t;e.firedBy!==a&&(t=a._parseFieldValue(),f(t)&&a.setDate(t),a._v||a.show())},a._onInputFocus=function(){a.show()},a._onInputClick=function(){a.show()},a._onInputBlur=function(){var e=i.activeElement;do{if(l(e,"pika-single"))return}while(e=e.parentNode);a._c||(a._b=r(function(){a.hide()},50)),a._c=!1},a._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,i=t;if(t){!n&&l(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),o(t,"change",a._onChange)));do{if(l(i,"pika-single")||i===u.trigger)return}while(i=i.parentNode);a._v&&t!==u.trigger&&i!==u.trigger&&a.hide()}},a.el=i.createElement("div"),a.el.className="pika-single"+(u.isRTL?" is-rtl":"")+(u.theme?" "+u.theme:""),o(a.el,"mousedown",a._onMouseDown,!0),o(a.el,"touchend",a._onMouseDown,!0),o(a.el,"change",a._onChange),u.keyboardInput&&o(i,"keydown",a._onKeyChange),u.field&&(u.container?u.container.appendChild(a.el):u.bound?i.body.appendChild(a.el):u.field.parentNode.insertBefore(a.el,u.field.nextSibling),o(u.field,"change",a._onInputChange),u.defaultDate||(u.defaultDate=a._parseFieldValue(),u.setDefaultDate=!0));var c=u.defaultDate;f(c)?u.setDefaultDate?a.setDate(c,!0):a.gotoDate(c):a.gotoDate(new Date),u.bound?(this.hide(),a.el.className+=" is-bound",o(u.trigger,"click",a._onInputClick),o(u.trigger,"focus",a._onInputFocus),o(u.trigger,"blur",a._onInputBlur)):this.show()};return N.prototype={config:function(e){this._o||(this._o=_({},w,!0));var t=_(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(t.bound!==undefined?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,f(t.minDate)||(t.minDate=!1),f(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&this.setMaxDate(t.maxDate),d(t.yearRange)){var i=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||i,t.yearRange[1]=parseInt(t.yearRange[1],10)||i}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||w.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,f(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,i){t&&e.isMoment(n)&&this.setDate(n.toDate(),i)},getDate:function(){return f(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",v(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),f(e)){var n=this._o.minDate,i=this._o.maxDate;f(n)&&e<n?e=n:f(i)&&e>i&&(e=i),this._d=new Date(e.getTime()),g(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),v(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(e){var t=!0;if(f(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),i=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),r=e.getTime();i.setMonth(i.getMonth()+1),i.setDate(i.getDate()-1),t=r<n.getTime()||i.getTime()<r}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustDate:function(e,t){var n,i=this.getDate()||new Date,r=24*parseInt(t)*60*60*1e3;"add"===e?n=new Date(i.valueOf()+r):"subtract"===e&&(n=new Date(i.valueOf()-r)),this.setDate(n)},adjustCalendars:function(){this.calendars[0]=b(this.calendars[0]);for(var e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=b({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(g(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=w.minDate,this._o.minYear=w.minYear,this._o.minMonth=w.minMonth,this._o.startRange=w.startRange),this.draw()}
98,setMaxDate:function(e){e instanceof Date?(g(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=w.maxDate,this._o.maxYear=w.maxYear,this._o.maxMonth=w.maxMonth,this._o.endRange=w.endRange),this.draw()},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var t,n=this._o,i=n.minYear,o=n.maxYear,s=n.minMonth,a=n.maxMonth,l="";this._y<=i&&(this._y=i,!isNaN(s)&&this._m<s&&(this._m=s)),this._y>=o&&(this._y=o,!isNaN(a)&&this._m>a&&(this._m=a));for(var u=0;u<n.numberOfMonths;u++)t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2),l+='<div class="pika-lendar">'+O(this,u,this.calendars[u].year,this.calendars[u].month,this.calendars[0].year,t)+this.render(this.calendars[u].year,this.calendars[u].month,t)+"</div>";this.el.innerHTML=l,n.bound&&"hidden"!==n.field.type&&r(function(){n.trigger.focus()},1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,r,o,s,a,l,d,f,h,p;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,r=this.el.offsetHeight,o=window.innerWidth||i.documentElement.clientWidth,s=window.innerHeight||i.documentElement.clientHeight,a=window.pageYOffset||i.body.scrollTop||i.documentElement.scrollTop,h=!0,p=!0,"function"==typeof e.getBoundingClientRect)l=(f=e.getBoundingClientRect()).left+window.pageXOffset,d=f.bottom+window.pageYOffset;else for(l=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)l+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&l+n>o||this._o.position.indexOf("right")>-1&&l-n+e.offsetWidth>0)&&(l=l-n+e.offsetWidth,h=!1),(this._o.reposition&&d+r>s+a||this._o.position.indexOf("top")>-1&&d-r-e.offsetHeight>0)&&(d=d-r-e.offsetHeight,p=!1),this.el.style.left=l+"px",this.el.style.top=d+"px",u(this.el,h?"left-aligned":"right-aligned"),u(this.el,p?"bottom-aligned":"top-aligned"),c(this.el,h?"right-aligned":"left-aligned"),c(this.el,p?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var i=this._o,r=new Date,o=m(e,t),s=new Date(e,t,1).getDay(),a=[],l=[];g(r),i.firstDay>0&&(s-=i.firstDay)<0&&(s+=7);for(var u=0===t?11:t-1,c=11===t?0:t+1,d=0===t?e-1:e,p=11===t?e+1:e,_=m(d,u),v=o+s,b=v;b>7;)b-=7;v+=7-b;for(var w=!1,S=0,T=0;S<v;S++){var k=new Date(e,t,S-s+1),D=!!f(this._d)&&y(k,this._d),O=y(k,r),N=-1!==i.events.indexOf(k.toDateString()),P=S<s||S>=o+s,I=S-s+1,M=t,L=e,j=i.startRange&&y(i.startRange,k),F=i.endRange&&y(i.endRange,k),R=i.startRange&&i.endRange&&i.startRange<k&&k<i.endRange;P&&(S<s?(I=_+I,M=u,L=d):(I-=o,M=c,L=p));var H={day:I,month:M,year:L,hasEvent:N,isSelected:D,isToday:O,isDisabled:i.minDate&&k<i.minDate||i.maxDate&&k>i.maxDate||i.disableWeekends&&h(k)||i.disableDayFn&&i.disableDayFn(k),isEmpty:P,isStartRange:j,isEndRange:F,isInRange:R,showDaysInNextAndPreviousMonths:i.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:i.enableSelectionDaysInNextAndPreviousMonths};i.pickWholeWeek&&D&&(w=!0),l.push(E(H)),7==++T&&(i.showWeekNumber&&l.unshift(C(S-s,t,e,i.firstWeekOfYearMinDays)),a.push(x(l,i.isRTL,i.pickWholeWeek,w)),l=[],T=0,w=!1)}return A(i,a,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),c(this.el,"is-hidden"),this._o.bound&&(o(i,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&s(i,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),u(this.el,"is-hidden"),this._v=!1,e!==undefined&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),s(this.el,"mousedown",this._onMouseDown,!0),s(this.el,"touchend",this._onMouseDown,!0),s(this.el,"change",this._onChange),e.keyboardInput&&s(i,"keydown",this._onKeyChange),e.field&&(s(e.field,"change",this._onInputChange),e.bound&&(s(e.trigger,"click",this._onInputClick),s(e.trigger,"focus",this._onInputFocus),s(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},N}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exp
98orts.VueMultiselect=t():e.VueMultiselect=t()}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return!(0===e||(!Array.isArray(e)||0!==e.length)&&e)}function o(e,t){return void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false"),-1!==e.toString().toLowerCase().indexOf(t.trim())}function s(e,t,n,i){return e.filter(function(e){return o(i(e,n),t)})}function a(e){return e.filter(function(e){return!e.$isLabel})}function l(e,t){return function(n){return n.reduce(function(n,i){return i[e]&&i[e].length?(n.push({$groupLabel:i[t],$isLabel:!0}),n.concat(i[e])):n},[])}}function u(e,t,n,r,o){return function(a){return a.map(function(a){var l;if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var u=s(a[n],e,t,o);return u.length?(i(l={},r,a[r]),i(l,n,u),l):[]})}}Object.defineProperty(t,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=function(e){return e&&e.__esModule?e:{"default":e}}(n(2)),f=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}};t["default"]={data:function(){return{search:"",isOpen:!1,prefferedOpenDirection:"below",optimizedHeight:this.maxHeight,internalValue:this.value||0===this.value?(0,d["default"])(Array.isArray(this.value)?this.value:[this.value]):[]}},props:{internalSearch:{type:Boolean,"default":!0},options:{type:Array,required:!0},multiple:{type:Boolean,"default":!1},value:{type:null,"default":function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,"default":!0},clearOnSelect:{type:Boolean,"default":!0},hideSelected:{type:Boolean,"default":!1},placeholder:{type:String,"default":"Select option"},allowEmpty:{type:Boolean,"default":!0},resetAfter:{type:Boolean,"default":!1},closeOnSelect:{type:Boolean,"default":!0},customLabel:{type:Function,"default":function(e,t){return r(e)?"":t?e[t]:e}},taggable:{type:Boolean,"default":!1},tagPlaceholder:{type:String,"default":"Press enter to create a tag"},tagPosition:{type:String,"default":"top"},max:{type:[Number,Boolean],"default":!1},id:{"default":null},optionsLimit:{type:Number,"default":1e3},groupValues:{type:String},groupLabel:{type:String},blockKeys:{type:Array,"default":function(){return[]}},preserveSearch:{type:Boolean,"default":!1}},mounted:function(){this.multiple||this.clearOnSelect||console.warn("[Vue-Multiselect warn]: ClearOnSelect and Multiple props can\u2019t be both set to false."),!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false.")},computed:{filteredOptions:function(){var e=this.search||"",t=e.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,t,this.label):s(n,t,this.label,this.customLabel):this.groupValues?l(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(this.isNotSelected):n,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys:function(){var e=this;return this.trackBy?this.internalValue.map(function(t){return t[e.trackBy]}):this.internalValue},optionKeys:function(){var e=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map(function(t){return e.customLabel(t,e.label).toString().toLowerCase()})},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.internalValue=[])}
98,search:function(){this.$emit("search-change",this.search,this.id)},value:function(e){this.internalValue=this.getInternalValue(e)}},methods:{getValue:function(){return this.multiple?(0,d["default"])(this.internalValue):0===this.internalValue.length?null:(0,d["default"])(this.internalValue[0])},getInternalValue:function(e){return null==e?[]:this.multiple?(0,d["default"])(e):(0,d["default"])([e])},filterAndFlat:function(e,t,n){return f(u(t,n,this.groupValues,this.groupLabel,this.customLabel),l(this.groupValues,this.groupLabel))(e)},flatAndStrip:function(e){return f(l(this.groupValues,this.groupLabel),a)(e)},updateSearch:function(e){this.search=e},isExistingOption:function(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected:function(e){var t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isNotSelected:function(e){return!this.isSelected(e)},getOptionLabel:function(e){if(r(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;var t=this.customLabel(e,this.label);return r(t)?"":t},select:function(e,t){if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isLabel||e.$isDisabled)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e))return void("Tab"!==t&&this.removeElement(e));this.multiple?this.internalValue.push(e):this.internalValue=[e],this.$emit("select",(0,d["default"])(e),this.id),this.$emit("input",this.getValue(),this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},removeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var n="object"===(void 0===e?"undefined":c(e))?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);this.internalValue.splice(n,1),this.$emit("input",this.getValue(),this.id),this.$emit("remove",(0,d["default"])(e),this.id),this.closeOnSelect&&t&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var e=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick(function(){return e.$refs.search.focus()})):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.prefferedOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.prefferedOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,"default":!0},optionHeight:{type:Number,"default":40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},addPointerElement:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerRe
98set()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer].$isLabel&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer].$isLabel&&this.pointerBackward()):this.filteredOptions[0].$isLabel&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0)},pointerSet:function(e){this.pointer=e,this.pointerDirty=!0}}}},function(e,t){"use strict";function n(e){if(Array.isArray(e))return e.map(n);if(e&&"object"===(void 0===e?"undefined":i(e))){for(var t={},r=Object.keys(e),o=0,s=r.length;o<s;o++){var a=r[o];t[a]=n(e[a])}return t}return e}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=n},function(e,t,n){"use strict";function i(){n(6)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),o=n.n(r),s=n(8),a=i,l=n(7)(o.a,s.a,!1,a,null,null);t["default"]=l.exports},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.deepClone=t.pointerMixin=t.multiselectMixin=t.Multiselect=void 0;var r=i(n(3)),o=i(n(0)),s=i(n(1)),a=i(n(2));t["default"]=r["default"],t.Multiselect=r["default"],t.multiselectMixin=o["default"],t.pointerMixin=s["default"],t.deepClone=a["default"]},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(0)),o=i(n(1));t["default"]={name:"vue-multiselect",mixins:[r["default"],o["default"]],props:{name:{type:String,"default":""},selectLabel:{type:String,"default":"Press enter to select"},selectedLabel:{type:String,"default":"Selected"},deselectLabel:{type:String,"default":"Press enter to remove"},showLabels:{type:Boolean,"default":!0},limit:{type:Number,"default":99999},maxHeight:{type:Number,"default":300},limitText:{type:Function,"default":function(e){return"and "+e+" more"}},loading:{type:Boolean,"default":!1},disabled:{type:Boolean,"default":!1},openDirection:{type:String,"default":""},showNoResults:{type:Boolean,"default":!0},tabindex:{type:Number,"default":0}},computed:{visibleValue:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"auto"}:{width:"0",position:"absolute"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.prefferedOpenDirection}}}},function(){},function(e){e.exports=function(e,t,n,i,r,o){var s,a=e=e||{},l=typeof e["default"];"object"!==l&&"function"!==l||(s=e,a=e["default"]);var u,c="function"==typeof a?a.options:a;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId=r),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):i&&(u=i),u){var d=c.functional,f=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),f(e,t)}):c.beforeCreate=f?[].concat(f,u):[u]}return{esModule:s,exports:a,options:c}}},function(e,t){"use strict";var n={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multiselect","class":{"multiselect--active":e.isOpen,"multiselect--disabled":e.disabled,"multiselect--above":e.isAbove},attrs:{tabindex:e.searchable?-1:e.tabindex},on:{focus:function(){e.activate()},blur:function(){!e.searchable&&e.deactivate()},keydown:[function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key)?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerForward()):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key)?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerBackward()):null},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key)||!e._k(t.keyCode,"tab",9,t.key)?(t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null}],keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key))return null;e.deactivate()}}},[e._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.toggle(
98)}}})],{toggle:e.toggle}),e._v(" "),e._t("clear",null,{search:e.search}),e._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visibleValue.length>0,expression:"visibleValue.length > 0"}],staticClass:"multiselect__tags-wrap"},[e._l(e.visibleValue,function(t){return[e._t("tag",[n("span",{staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:e._s(e.getOptionLabel(t))}}),e._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keydown:function(n){if(!("button"in n)&&e._k(n.keyCode,"enter",13,n.key))return null;n.preventDefault(),e.removeElement(t)},mousedown:function(n){n.preventDefault(),e.removeElement(t)}}})])],{option:t,search:e.search,remove:e.removeElement})]})],2),e._v(" "),e.internalValue&&e.internalValue.length>e.limit?[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:e._s(e.limitText(e.internalValue.length-e.limit))}})]:e._e(),e._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[e._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),e._v(" "),e.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:e.inputStyle,attrs:{name:e.name,id:e.id,type:"text",autocomplete:"off",placeholder:e.placeholder,disabled:e.disabled,tabindex:e.tabindex},domProps:{value:e.isOpen?e.search:e.currentOptionLabel},on:{input:function(t){e.updateSearch(t.target.value)},focus:function(t){t.preventDefault(),e.activate()},blur:function(t){t.preventDefault(),e.deactivate()},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key))return null;e.deactivate()},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key))return null;t.preventDefault(),e.pointerForward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key))return null;t.preventDefault(),e.pointerBackward()},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key)?(t.preventDefault(),t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key))return null 99;t.stopPropagation(),e.removeLastElement()}]}}):e._e(),e._v(" "),e.searchable?e._e():n("span",{staticClass:"multiselect__single",domProps:{textContent:e._s(e.currentOptionLabel)},on:{mousedown:function(t){t.preventDefault(),e.toggle(t)}}})],2),e._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:e.optimizedHeight+"px"},on:{focus:e.activate,mousedown:function(e){e.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:e.contentStyle},[e._t("beforeList"),e._v(" "),e.multiple&&e.max===e.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[e._t("maxElements",[e._v("Maximum of "+e._s(e.max)+" options selected. First remove a selected option to select another.")])],2)]):e._e(),e._v(" "),!e.max||e.internalValue.length<e.max?e._l(e.filteredOptions,function(t,i){return n("li",{key:i,staticClass:"multiselect__element"},[t&&(t.$isLabel||t.$isDisabled)?e._e():n("span",{staticClass:"multiselect__option","class":e.optionHighlight(i,t),attrs:{"data-select":t&&t.isTag?e.tagPlaceholder:e.selectLabelText,"data-selected":e.selectedLabelText,"data-deselect":e.deselectLabelText},on:{click:function(n){n.stopPropagation(),e.select(t)},mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.pointerSet(i)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2),e._v(" "),t&&(t.$isLabel||t.$isDisabled)?n("span",{staticClass:"multiselect__option multiselect__option--disabled","class":e.optionHighlight(i,t)},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2):e._e()])}):e._e(),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoResults&&0===e.filteredOptions.length&&e.search&&!e.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noResult",[e._v("No elements found. Consider changing the search query.")])],2)]),e._v(" "),e._t("afterList")],2)])])],2)},staticRenderFns:[]};t.a=n}])}),function(){var e,t=[].slice;e=function(){var e,n,i,r,o,s,a;return s=/(^|[\s\n]|<[A-Za-z]*\/?>)((?:https?|ftp):\/\/[\-A-Z0-9+\u0026\u2019@#\/%?=()~_|!:,.;
99]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi,(o=1<=arguments.length?t.call(arguments,0):[]).length>0?(r=o[0],e=r.callback,i=function(){var e;for(n in e=[],r)a=r[n],"callback"!==n&&e.push(" "+n+"='"+a+"'");return e}().join(""),this.replace(s,function(t,n,r){return""+n+(("function"==typeof e?e(r):void 0)||"<a href='"+r+"'"+i+">"+r+"</a>")})):this.replace(s,"$1<a href='$2'>$2</a>")},String.prototype.autoLink=e}.call(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=e()}}(function(){var e;return function t(e,n,i){function r(s,a){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};e[s][0].call(c.exports,function(t){return r(e[s][1][t]||t)},c,c.exports,t,e,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t){function n(e,t){for(;e&&e.nodeType!==i;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=n},{}],2:[function(e,t){function n(e,t,n,r,o){var s=i.apply(this,arguments);return e.addEventListener(n,s,o),{destroy:function(){e.removeEventListener(n,s,o)}}}function i(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}var r=e("./closest");t.exports=n},{"./closest":1}],3:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],4:[function(e,t){function n(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return r(e,t,n);if(s.string(e))return o(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function r(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function o(e,t,n){return a(document.body,e,t,n)}var s=e("./is"),a=e("delegate");t.exports=n},{"./is":3,delegate:2}],5:[function(e,t){function n(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(e),i.removeAllRanges(),i.addRange(r),t=i.toString()}return t}t.exports=n},{}],6:[function(e,t){function n(){}n.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function i(){r.off(e,i),t.apply(n,arguments)}var r=this;return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),i=n[e],r=[];if(i&&t)for(var o=0,s=i.length;o<s;o++)i[o].fn!==t&&i[o].fn._!==t&&r.push(i[o]);return r.length?n[e]=r:delete n[e],this}},t.exports=n},{}],7:[function(t,n,i){!function(r,o){if("function"==typeof e&&e.amd)e(["module","select"],o);else if(void 0!==i)o(n,t("select"));
vendor: 6,808 bytes, line 99
99else{var s={exports:{}};o(s,r.select),r.clipboardAction=s.exports}}(this,function(e,t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(t),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){i(this,e),this.resolveOptions(t),this.initSelection()}return s(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r["default"])(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r["default"])(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})},{select:5}],8:[function(t,n,i){!function(r,o){if("function"==typeof e&&e.amd)e(["module","./clipboard-action","tiny-emitter","good-listener"],o);else if(void 0!==i)o(n,t("./clipboard-action"),t("tiny-emitter"),t("good-listener"));else{var s={exports:{}};o(s,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=s.exports}}(this,function(e,t,n,i){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var u=r(t),c=r(n),d=r(i),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),p=function(){function e(t,n){o(this,e);var i=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.resolveOptions(n),i.listenClick(t),i}return a(e,c["default"]),h(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===f(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,d["default"])(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new u["default"]({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return l("action",e)}},{key:"defaultTarget",value:function(e){var t=l("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return l("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),e}();e.exports=p})}
99,{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)});var Crowdly={makeLandingPageStore:function(e){var t=e.landing_page,n=e.passed_config||{},i=n.prefill||{};_.each(t.requested_fields,function(e){const t={},r=i["choice_"+e.id];r?t.answer=r:e.preferred_email&&n.email&&(t.answer=n.email),_.extend(e,{invalid:!1,answerContent:t,validationMessage:null})}),t.ugcTextFields=_.filter(t.requested_fields,{ugc_text:!0}),t.ugcFileFields=_.filter(t.requested_fields,{ugc_file:!0}),t.ugcVideoFields=_.filter(t.requested_fields,{ugc_video:!0});var r=e.success_page_preview;return{options:e,passedConfig:n,submitting:!1,submitted:!!r,page:1,landingPage:t,privateLink:r?{}:e.private_link,linkedSubmission:e.linked_submission,fbProfileInfo:{},formErrorMessage:null,thresholdData:null,quizOutcome:null,livePollResults:null,showHubActivations:e.show_success_page_activations,hubActivations:null,successPagePreview:r}},makeHubStore:function(e){e.hub_id,e.partner;return{options:e,showHubActivations:!0,hubActivations:null}}};Crowdly.Events=new function(){this.initialize_for_hub=function(){var e=Crowdly.Store;this.mixpanel_events=[],this.facebook_events=[],this.internal_events=[],this.base_props={hub_id:e.options.hub_id,partner_name:e.options.partner_name,partner_id:e.options.partner_id,environment:e.options.environment},this.base_props.unique_identifier=[this.base_props.environment,this.base_props.partner_name].join("__")},this.initialize=function(){var e=Crowdly.Store;this.mixpanel_events=[],this.facebook_events=[],this.internal_events=[],this.base_props={private_link_id:e.privateLink?e.privateLink.id:null,landing_page_id:e.landingPage.id,environment:e.options.environment,landing_page_name:e.landingPage.title,landing_page_title:e.landingPage.headline,partner_name:e.options.partner_name,opt_in_types:this.optInTypeProp(e.landingPage.opt_in_types)},this.base_props.unique_identifier=[this.base_props.environment,this.base_props.partner_name,this.base_props.landing_page_id].join("__")},this.optInTypeProp=function(e){return e&&0!==e.length?1===e.length?"facebook"===e[0]?"Facebook":"Email":"Both":"None"},this.trackMixpanel=function(e,t,n){if(!Crowdly.Store.successPagePreview){n=n||"landing_pages";if(mixpanel){var i="hub"===n?mixpanel.hub:mixpanel,r=$.extend({},this.base_props,t,{email:Crowdly.Store.fbProfileInfo?Crowdly.Store.fbProfileInfo.email:null,mixpanel_distinct_id:i.get_distinct_id?i.get_distinct_id():null});i.track(e,r),this.mixpanel_events.push({eventName:e,props:r})}}},this.trackFacebook=function(e,t){function n(){window.fbApiInitialized?fbq("track",e,{content_name:Crowdly.Store.landingPage.id}):setTimeout(function(){n()},50)}if(!Crowdly.Store.successPagePreview){var i=$.extend({},this.base_props,t,{email:Crowdly.Store.fbProfileInfo?Crowdly.Store.fbProfileInfo.email:null});n(),this.facebook_events.push({eventName:e,props:i})}},this.trackInternal=function(e){Crowdly.Store.successPagePreview||Crowdly.AjaxService.linkEvent(e).then(function(){Crowdly.Events.internal_events.push({eventName:e})})}},Crowdly.Errors=new function(){this.couldNotProcess=function(){Crowdly.Events.trackMixpanel("Processed",{status:"Unverified"}),Crowdly.Errors.couldNotVerify()},this.couldNotVerify=function(){Crowdly.Store.formErrorMessage="We're sorry, we were unable to verify your user because you are not an intended recipient."},this.couldNotSendForm=function(){Crowdly.Store.formErrorMessage="We're sorry, we couldn't send the form, please try again"}},Crowdly.AjaxService=new function(){this.initialize=function(){$.ajaxSetup({dataType:"json",method:"POST",headers:{"X-CSRF-Token":$('meta[name="csrf-token"]').attr("content")}})},this.markAsViewed=function(){var e,t=Crowdly.Store;return Boolean(t.privateLink)?e="/l/"+t.privateLink.id+"/viewing":Boolean(t.landingPage)&&(e=Boolean(t.linkedSubmission)?"/p/"+t.landingPage.id+"/viewing?linked_submission_id="+t.linkedSubmission.id:"/p/"+t.landingPage.id+"/viewing"),$.ajax({url:e})},this.getQuizOutcome=function(e){var t=Crowdly.Store;e||t.linkedSubmission;var n={url:"/l/"+e.id+"/quiz_outcome",method:"GET"};return $.ajax(n)},this.getUngatingProgress=function(){var e={url:"/p/"+Crowdly.Store.landingPage.id+"/ungating_progress",method:"GET"};return $.ajax(e)},this.getLivePollResults=function(){var e={url:"/p/"+Crowdly.Store.landingPage.id+"/live_poll_results",method:"GET"};return $.ajax(e)},this.loginFBUser=function(){var e=$.Deferred();return FB.login(e.resolve,{scope:Crowdly.Store.options.permissions_scope.join(",")}),e},this.getFBUserDetails=function(){var e=$.Deferred();return FB.api("/me",{fields:"name, first_name, last_name, email, picture"},e.resolve),e},this.createLink=function(){var e=mixpanel.get_distinct_id?mixpanel.get_distinct_id():null,t={landing_page_id:Crowdl
99y.Store.landingPage.id,mixpanel_distinct_id:e,provider:Crowdly.Store.submissionType,user_agent:window.navigator.userAgent,referring_url:document.referrer};const n=Crowdly.Store.passedConfig;n.source_type?(t.link_source_type=n.source_type,t.link_source_id=n.source_id):n.n_id&&(t.link_source_type="Notification",t.link_source_id=n.n_id);var i={url:"/l",data:$.param(t)};return $.ajax(i)},this.updateLink=function(){var e={returned_fields:JSON.stringify(Crowdly.Store.privateLink.returned_fields)},t={url:"/l/"+Crowdly.Store.privateLink.id,data:$.param(e),method:"PUT"};return $.ajax(t)},this.verifyFBUser=function(){var e=Crowdly.Store,t={url:"/l/"+e.privateLink.id+"/verify",data:$.param(e.authResponse)};return $.ajax(t)},this.verifySegmentUser=function(){var e=Crowdly.Store,t={email:e.submissionEmail},n={url:"/p/"+e.landingPage.id+"/verify_user_in_segment",data:$.param(t)};return $.ajax(n)},this.process=function(){var e=Crowdly.Store,t={me:e.fbProfileInfo};e.linkedSubmission&&(t.linked_submission_id=e.linkedSubmission.id);var n={url:"/l/"+e.privateLink.id+"/processing",data:t};return $.ajax(n)},this.linkEvent=function(e){var t=Crowdly.Store.privateLink;if(!e||!t)return $.Deferred().reject();var n={url:"/l/"+t.id+"/"+e,data:"{}"};return $.ajax(n)},this.fbShareDialog=function(e){var t={method:"share",href:e};FB.ui(t,function(){})},this.getHubActivations=function(){var e={url:"/w/"+Crowdly.Store.options.hub_slug+".json",method:"GET"};return $.ajax(e)},this.sendEmailShare=function(e){var t=Crowdly.Store;_data={email_addresses:e},t.privateLink&&(_data.private_link_id=t.privateLink.id);var n={url:"/p/"+t.landingPage.id+"/send_email_share",data:_data};return $.ajax(n)}},Crowdly.LandingPageUX=new function(){this.getQuizOutcome=function(e){Crowdly.AjaxService.getQuizOutcome(e).then(function(e){Crowdly.Store.quizOutcome=e.quiz_outcome})},this.getThresholdData=function(){Crowdly.Store.thresholdData=null,Crowdly.AjaxService.getUngatingProgress().then(function(e){var t=["ungating_threshold","ungating_progress","ungating_criteria","threshold_met","ungating_count"];Crowdly.Store.thresholdData=_.pick(e,t)})},this.getLivePollResults=function(){Crowdly.Store.livePollResults=null,Crowdly.AjaxService.getLivePollResults().then(function(e){Crowdly.Store.livePollResults=e.live_poll_results})},this.getHubActivations=function(){Crowdly.Store.hubActivations=null,Crowdly.AjaxService.getHubActivations().then(function(e){Crowdly.Store.hubActivations=e.activations})},this.startFbSubmissionProcess=function(){var e=Crowdly.AjaxService;return Crowdly.Store.submitting=!0,Crowdly.Store.submissionType="facebook",e.loginFBUser().then(_.bind(this.checkLogin,this)).then(_.bind(this.verifyUser,this)).then(_.bind(this.submitResponse,this)).then(e.getFBUserDetails).then(_.bind(this.finishFbProcessing,this)).then(_.bind(this.showSuccessPage,this)).always(function(){Crowdly.Store.submitting=!1})},this.startSubmissionProcess=function(e){return Crowdly.Store.submitting=!0,Crowdly.Store.submissionType="email",Crowdly.Store.submissionEmail=e,this.verifyUser().then(_.bind(this.submitResponse,this)).then(_.bind(this.finishProcessing,this)).then(_.bind(this.showSuccessPage,this)).always(function(){Crowdly.Store.submitting=!1})},this.checkLogin=function(e){var t=$.Deferred();return"connected"!==e.status?(Crowdly.Errors.couldNotVerify(),t.reject()):(Crowdly.Store.authResponse=e.authResponse,t.resolve())},this.submitResponse=function(){return Boolean(Crowdly.Store.privateLink)?this.sendAllFields():this.createPrivateLink().then(_.bind(this.privateLinkCreated,this))},this.privateLinkCreated=function(e){var t=["id","canonical_url","canonical_twitter_url","mailto_url","email_share_body"];Crowdly.Store.privateLink={},this.mergeLinkProps(e,t);var n="test"===Crowdly.Store.options.environment?/\.(local)/:/\.(com|social)/,i=e.canonical_url.split(n)[2];return window.history.pushState(null,null,i),this.sendAllFields()},this.createPrivateLink=function(){return Crowdly.AjaxService.createLink().fail(Crowdly.Errors.couldNotSendForm)},this.sendAllFields=function(){return Crowdly.Store.privateLink.returned_fields=_.map(Crowdly.Store.landingPage.requested_fields,function(e){return _.extend({requested_field_id:e.id},Crowdly.LandingPageUX.cleanField(e.answerContent))}),Crowdly.AjaxService.updateLink().then(_.bind(function(e){var t=["canonical_twitter_url","mailto_url"];this.mergeLinkProps(e,t)},this)).fail(Crowdly.Errors.couldNotSendForm)},this.cleanField=function(e){return e.uploads&&(e.uploads=_.map(e.uploads,function(e){return _.omit(e,"file_obj")})),e},this.mergeLinkProps=function(e,t){_.extend(Crowdly.Store.privateLink,_.pick(e,t))},this.verifyUser=function(){return Crowdly.Store.landingPage.gated?Crowdly.Store.privateLink?this.verifyFBUser():this.verifySegmentUser():$.Deferred().resolve()},this.verifyFBUser=function(){return Crowdly.AjaxService.verifyFBUser().fail(Crowdly.Errors.couldNotVerify)},this.verifySegmentUser=function(){return Crowdly.AjaxService.verifySegmentUser().fail(Crowdly.Errors.couldNotVerify)},this.finishProcessing=function(){return Crowdly.AjaxService.process().fail(Crowdly.Errors.couldNotProcess)},this.finishFbProcessing=function(e){return Crowdly.Store.fbProfileInfo=e,Crowdly.Store.privateLink.user_name=e.first_name,Crowdly.AjaxService.process().fail(Crowdly.Errors.couldNotProcess)},this.showSuccessPage=function(){Crowdly.Store.submitted=!0,Crowdly.Events.trackMixpanel("Processed",{status:"Confirmed"});var e={};Crowdly.Events.trackFacebook("CompleteRegistration",e)},this.scrollToEl=function(e){var t=$(e).position().top-100;$("html, body").animate({scrollTop:t})}},Crowdly.ActivationLandingPage=function(e){return Crowdly.Store=Crowdly.makeLandingPageStore(e),Crowdly.Events.initialize(),Crowdly.AjaxService.initialize(),e.visitor_is_a_person&&!e.success_page_preview&&(Crowdly.Events.trackMixpanel("View"),Crowdly.Events.trackMixpanel("View Mission",{},"hub"),Crowdly.AjaxService.markAsViewed()),new Vue({el:"#landing-page-wrapper",data:{mainStore:Crowdly.Store}})},Crowdly.Hub=function(e){return Crowdly.Store=Crowdly.makeHubStore(e),Crowdly.Events.initialize_for_hub(),Crowdly.AjaxService.initialize(),e.visitor_is_a_person,new Vue({el:"#hub-activations-wrapper",data:{mainStore:Crowdly.Store}})},Vue.component("main-content",{template:"#landing_page_content_vue",props:["mainStore"],data:function(){return{hideIntroButton:!1}},computed:{introButton:function(){return this.mainStore.landingPage.arbitrary_data_store.intro_button},showIntroButton:function(){return this.introButton&&!this.hideIntroButton},showIntro:function(){return!this.introButton||this.showIntroButton},lansinohClosedMessage:function(){return _.contains([1141,3435,3382],this.mainStore.landingPage.id)},pageCopyClasses:function(){return[this.mainStore.landingPage.opt_in?"opt-in":"splash-page"]},formClasses:function(){return[this.introButton?"single-column":""]},introButtonCSS:function(){var e=this.mainStore.options.mission_button_color||"#28a745";return{color:this.mainStore.options.hub_button_text_color||"#fff",backgroundColor:e}},pageCopyStyles:function(){return this.mainStore.landingPage.arbitrary_data_store.page_copy_styles||""}},methods:{clickedIntroButton:function(){this.hideIntroButton=!0}},mounted:function(){if(this.mainStore.landingPage.has_video_background){var e=document.getElementsByClassName("screencap-video")[0];$(e).css({display:"block"}
99),cloudinary.Cloudinary.DEFAULT_IMAGE_PARAMS.cloud_name="crowdly",cloudinary.Cloudinary["new"]({cloud_name:"crowdly"}).videoPlayer(e,{publicId:this.mainStore.landingPage.arbitrary_data_store.background_url_options.attachment_public_id,fontFace:"inherit"})}}}),Vue.component("hub-content",{template:"#hub_content_vue",props:["mainStore"],computed:{isNotHub:function(){return!1}},mounted:function(){this.mainStore.showHubActivations&&Crowdly.LandingPageUX.getHubActivations(),Crowdly.Events.trackMixpanel("View Hub",{partner_id:this.mainStore.partner_id})}}),Vue.component("top-half",{template:"#top_half_vue",props:["mainStore"],computed:{splashImage:function(){var e=this.mainStore.landingPage;return this.mainStore.submitted?e.success_header_url:e.header_url},splashImageCSS:function(){return{"background-image":"url("+this.splashImage+")"}},logoImage:function(){return this.mainStore.options.logo_image_url},logoImageCSS:function(){return{"background-image":"url("+this.mainStore.options.logo_image_url+")"}},logoImageUrlPresent:function(){return!_.isEmpty(this.mainStore.options.logo_image_url)}}}),Vue.component("initial-messaging",{template:"#initial_messaging_vue",props:["mainStore"],computed:{isSplashPage:function(){return!this.mainStore.landingPage.opt_in},hasQuiz:function(){return this.mainStore.landingPage.has_quiz},emailShareSubjectLine:function(){return this.mainStore.privateLink&&!_.isEmpty(this.mainStore.privateLink.email_share_subject_line)?this.mainStore.privateLink.email_share_subject_line:this.mainStore.landingPage.email_share_subject_line},emailShareBody:function(){return this.mainStore.privateLink&&!_.isEmpty(this.mainStore.privateLink.email_share_body)?this.mainStore.privateLink.email_share_body:this.mainStore.landingPage.email_share_body},showEmailShare:function(){this.mainStore.landingPage;return!_.isEmpty(this.emailShareSubjectLine)||!_.isEmpty(this.emailShareBody)}},mounted:function(){this.mainStore.landingPage.is_threshold_gated&&Crowdly.LandingPageUX.getThresholdData()}}),Vue.component("success-page",{template:"#success_page_vue",props:["mainStore"],data:function(){return{livePoll:"live_poll"===this.mainStore.landingPage.activation_type,uiHash:this.mainStore.options.ui_customization_hash}},computed:{showPollResults:function(){return this.livePoll&&!_.contains(this.mainStore.landingPage.custom_styles,"hide_poll_results")},hasUgcFields:function(){return this.mainStore.landingPage.has_ugc_fields},hasQuiz:function(){return this.mainStore.landingPage.has_quiz},isThresholdGated:function(){return this.mainStore.landingPage.is_threshold_gated},isNotHub:function(){return!0},emailShareSubjectLine:function(){return this.mainStore.privateLink&&!_.isEmpty(this.mainStore.privateLink.email_share_subject_line)?this.mainStore.privateLink.email_share_subject_line:this.mainStore.landingPage.email_share_subject_line},emailShareBody:function(){return this.mainStore.privateLink&&!_.isEmpty(this.mainStore.privateLink.email_share_body)?this.mainStore.privateLink.email_share_body:this.mainStore.landingPage.email_share_body},showEmailShare:function(){this.mainStore.landingPage;return!_.isEmpty(this.emailShareSubjectLine)||!_.isEmpty(this.emailShareBody)}},mounted:function(){this.mainStore.landingPage.is_threshold_gated&&Crowdly.LandingPageUX.getThresholdData(),this.livePoll&&Crowdly.LandingPageUX.getLivePollResults(),this.mainStore.showHubActivations&&(Crowdly.LandingPageUX.getHubActivations(),Crowdly.Events.trackMixpanel("View Activations on AP",{}),Crowdly.Events.trackMixpanel("View Activations on Mission",{partner_id:this.mainStore.landingPage.partner_id,landing_page_id:this.mainStore.landingPage.id,landing_page_name:this.mainStore.landingPage.title,landing_page_title:this.mainStore.landingPage.headline},"hub"))}}),Vue.component("quiz-outcome",{template:"#quiz_outcome_vue",props:["mainStore","quiz","newQuiz"],computed:{showEmailShare:function(){return this.$parent.showEmailShare},finalQuizOutcome:function(){return this.mainStore.quizOutcome},arbitraryDataStoreForOutcome:function(){return this.mainStore.landingPage.arbitrary_data_store[this.finalQuizOutcome]}
99,quizOutcomeTitle:function(){return this.existingQuiz?this.quizOutcomeTitleForVisitor:this.quizOutcomeTitleForUser},quizOutcomeTitleForUser:function(){return"Your result is: "+this.finalQuizOutcome},quizOutcomeTitleForVisitor:function(){return"Your friend's result was: "+this.finalQuizOutcome},quizOutcomeDescription:function(){return this.arbitraryDataStoreForOutcome.description},quizOutcomeImage:function(){return this.arbitraryDataStoreForOutcome.image},existingQuiz:function(){return!this.newQuiz}},mounted:function(){Crowdly.LandingPageUX.getQuizOutcome(this.quiz)}}),Vue.component("submission-content",{template:"#submission_content_vue",props:["mainStore","submission","newLink"],data:function(){return{showSeeMoreButton:!1,expandContent:!1,footerFixed:null}},computed:{headingString:function(){var e=this.submission.user_name;return"Share "+(this.newLink?"your":e+"'s")+" submission"},ugcContentClasses:function(){return{"expanded-content":this.expandContent}},ugcFileClasses:function(){return{"expanded-content":this.expandContent,"with-text":this.ugcTextAnswer}},existingLink:function(){return!this.newLink},firstUgcTextField:function(){return this.ugcFieldFor(this.mainStore.landingPage.ugcTextFields[0])},firstUgcFileField:function(){return this.ugcFieldFor(this.mainStore.landingPage.ugcFileFields[0])},firstUgcVideoField:function(){return this.ugcFieldFor(this.mainStore.landingPage.ugcVideoFields[0])},ugcTextAnswer:function(){return this.firstUgcTextField&&this.firstUgcTextField.answer||""},ugcFilePresent:function(){return this.firstUgcFileField&&""!==this.firstUgcFileField.answer},ugcVideoPresent:function(){return this.firstUgcVideoField&&""!==this.firstUgcVideoField.answer},hasMultipleUgcFiles:function(){return"~~UPLOADED~~"===this.firstUgcFileField.answer},firstUgcUpload:function(){return this.hasMultipleUgcFiles?this.firstUgcFileField.uploads[0]:this.firstUgcFileField},firstUgcVideoUpload:function(){return this.hasMultipleUgcFiles?this.firstUgcVideoField.uploads[0]:this.firstUgcVideoField},customCloudinaryUrl:function(){var e=this.cloudinaryPublicIdFor(this.firstUgcVideoUpload);return e?`https://player.cloudinary.com/embed/?cloud_name=crowdly&public_id=${e}&fluid=true&controls=true&autoplay=false&poster_options[transformation][start_offset]=0`:null},isRealImage:function(){return this.firstUgcUpload&&"image"===this.firstUgcUpload.resource_type&&"pdf"!==this.firstUgcUpload.format},ugcImagePreview:function(){return this.isRealImage?this.firstUgcUpload.answer:this.firstUgcUpload.thumbnail},footerClasses:function(){return{floating:this.footerFixed}}},mounted:function(){this.ugcVideoPresent&&this.seeMore(),this.$nextTick(function(){var e=$
99(this.$el).position().top-100;$("html, body").animate({scrollTop:e}),this.ugcFilePresent||this.checkSubmissionSize(),this.submission===this.mainStore.linkedSubmission&&this.watchFooter()})},methods:{normalizeReturnedField:function(e){if(e)return _.isArray(e)&&(e=e[0]),e.content_json?_.extend({},e.content_json,{requested_field_id:e.requested_field_id}):e}, 100cloudinaryPublicIdFor:function(e){if(!e)return null;if(e.public_id)return e.public_id;var t=(e.answer||e.url||"").match(/\/upload\/(?:v\d+\/)?(.+)\.[a-z0-9]+$/i);return t?t[1]:null},ugcFieldFor:function(e){if(e)return this.normalizeReturnedField(_.find(this.submission.returned_fields,function(t){return t.requested_field_id===e.id}))},onSeeMoreButtonClick:function(){var e=this.newLink?this.mainStore.privateLink:this.mainStore.linkedSubmission;Crowdly.Events.trackMixpanel("Submission See More Click",{new_link:this.newLink,submission_id:e.id}),this.seeMore()},onViewSubmissionButtonClick:function(){Crowdly.Events.trackMixpanel("Submission Success View Click",{submission_url:this.mainStore.privateLink.canonical_url})}
100,checkSubmissionSize:function(){var e=$(this.$el),t=e.find(".submission-content").height(),n=0;this.firstUgcTextField&&(n+=e.find(".submission-answers").height()),this.ugcFilePresent&&(n+=e.find(".submission-thumbnail")[0].naturalHeight),n>t&&(this.showSeeMoreButton=!0)},seeMore:function(){this.showSeeMoreButton=!1,this.expandContent=!0,this.watchFooterListener()},watchFooter:function(){$(window).bind("resize.footerListener",this.watchFooterListener),$(window).bind("scroll.footerListener",this.watchFooterListener),this.watchFooterListener()},watchFooterListener:function(){var e=$(".submission-footer-container");if(0!==e.length){$(".submission-footer");var t=-60,n=$(window),i=n.scrollTop()+n.height(),r=e.position().top+e.height();i<=r+t&&!0!==this.footerFixed?this.footerFixed=!0:i>r-t&&!1!==this.footerFixed&&(this.footerFixed=!1)}}}}),Vue.component("threshold-gated-progress",{template:"#threshold_gated_progress_vue",props:["thresholdData"],computed:{barPercent:function(){return 100*Math.min(this.thresholdData.ungating_progress,1)},ungatingBarCSS:function(){return{width:Math.max(this.barPercent,25)+"%"}},explanationString:function(){return this.thresholdData.threshold_met?["We received over ",this.thresholdData.ungating_threshold," ",this.thresholdData.ungating_criteria,"!"].join(""):["Once we reach ",this.thresholdData.ungating_threshold," ",this.thresholdData.ungating_criteria,", we'll unlock this content!"].join("")},ungatingBarString:function(){return this.thresholdData.threshold_met?"Content Unlocked! Connect to see it!":this.thresholdData.ungating_count+" of "+this.thresholdData.ungating_threshold}}}),Vue.component("cta-buttons",{template:"#cta_buttons_vue",props:["mainStore","submission","ugcTextField"],data:function(){return{uiHash:this.mainStore.options.ui_customization_hash}},computed:{preferredCanonicalUrl:function(){return this.submission?this.submission.canonical_url:this.mainStore.landingPage.canonical_url},sharingOptions:function(){var e=this.mainStore.landingPage,t=this.submission||{},n=Object.keys(t).length>0;return{showFb:e.include_share_button,showCopyLink:e.include_share_button,fbUrl:e.share_url||this.preferredCanonicalUrl,showTwitter:e.include_twitter_prompt,twitterUrl:n?t.canonical_twitter_url:e.canonical_twitter_url,showEmail:e.include_email_prompt,emailUrl:n?t.mailto_url:e.mailto_url,redirectUrl:this.unescapeHTMLString(e.redirect_button_url),redirectText:e.redirect_button_text}},firstUgcTextField:function(){return this.ugcFieldFor(this.mainStore.landingPage.ugcTextFields[0])},buttonStyles:function(){var e=this.mainStore.options.mission_button_color||"#28a745";return{color:this.mainStore.options.hub_button_text_color||"#fff",backgroundColor:e}}},mounted:function(){this.sharingOptions.showCopyLink&&new Clipboard(".st-copy-button").on("success",_.bind(this.onLinkCopySuccess,this))},methods:{unescapeHTMLString:function(e){return e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/�*39;/g,"'").replace(/"/g,'"'):""},normalizeReturnedField:function(e){if(e)return _.isArray(e)&&(e=e[0]),e.content_json?_.extend({},e.content_json,{requested_field_id:e.requested_field_id}):e},ugcFieldFor:function(e){if(e)return this.normalizeReturnedField(_.find(this.submission.returned_fields,function(t){return t.requested_field_id===e.id}))},onLinkCopySuccess:function(){this.copyButtonText="Copied!"},onFbShareButtonClick:function(){var e=this.sharingOptions.fbUrl;Crowdly.AjaxService.fbShareDialog(e),Crowdly.Events.trackMixpanel("Share Click",{share_url:e,share_channel:"facebook"}),Crowdly.Events.trackInternal("share_click")},onTwitterButtonClick:function(){Crowdly.Events.trackMixpanel("Share Click",{share_url:this.sharingOptions.twitterUrl,share_channel:"twitter"}),Crowdly.Events.trackInternal("share_click")},onRedirectButtonClick:function(){Crowdly.Events.trackMixpanel("Redirect Button Clicked",{button_url:Crowdly.Store.landingPage.redirect_button_url}),Crowdly.Events.trackInternal("cta_click")},onCopyLinkButtonClick:function(){Crowdly.Events.trackMixpanel("Share Click",{share_url:this.sharingOptions.fbUrl,share_channel:"copy_link"}),Crowdly.Events.trackInternal("share_click")},onEmailButtonClick:function(){Crowdly.Events.trackMixpanel("Share Click",{share_url:this.sharingOptions.emailUrl,share_channel:"email"}),Crowdly.Events.trackInternal("share_click")}}}),Vue.component("form-container",{template:"#form_container_vue",props:["mainStore"],data:function(){var e=this.mainStore.landingPage,t=e.requested_fields,n=this.randomizeFields(t,e);return{highestPageVisited:1,formReady:!1,multistep:e.multistep,livePoll:"live_poll"===e.activation_type,sortedFields:t,fieldsByPage:n,optInTypes:e.opt_in_types,uiHash:this.mainStore.options.ui_customization_hash}},computed:{hasPageNumbers:function(){return _.every(this.sortedFields,"page")},totalPages:function(){return this.hasPageNumbers?_.size(this.fieldsByPage):this.sortedFields.length},showPaginationUI:function(){return this.multistep&&this.totalPages>1},showPrevButton:function(){return this.mainStore.page>1},paginationButtonCSS:function(){var e=this.mainStore.options.mission_button_color||"#47f";return{color:this.mainStore.options.hub_button_text_color||"#fff",backgroundColor:e}},submitButtonCSS:function(){var e=_.assign({},this.paginationButtonCSS),t=this.uiHash.submit_with_email_button_color;return _.isEmpty(t)||(e.backgroundColor=t),e}
100,showPrevButtonClasses:function(){return[this.showNextButton?"two-buttons":"one-button"]},showNextButton:function(){return this.mainStore.page<this.totalPages},showNextButtonClasses:function(){return[this.showPrevButton?"two-buttons":"one-button"]},showSubmitButton:function(){return!!this.formReady&&(!this.multistep||this.mainStore.page===this.totalPages)},showFacebookSubmitButton:function(){return this.showSubmitButton&&_.contains(this.optInTypes,"facebook")},showEmailSubmitButton:function(){return this.showSubmitButton&&_.contains(this.optInTypes,"email")},paginatedRequestedFields:function(){if(this.formReady=!1,!this.multistep)return this.sortedFields;var e=this.mainStore.page;return this.hasPageNumbers?this.fieldsByPage[e]:this.sortedFields.slice(e-1,e)},emailField:function(){return _.find(this.sortedFields,"preferred_email")},requiredFields:function(){var e=_.filter(this.paginatedRequestedFields,"required");return this.showEmailSubmitButton&&!_.contains(e,this.emailField)&&e.push(this.emailField),e},invalidFields:function(){return _.filter(this.requiredFields,"invalid")},hasInvalidFields:function(){return this.invalidFields.length>0},emptyInvalidFields:function(){return _.reject(this.invalidFields,"validationMessage")},invalidFieldsMessage:function(){return this.uiHash.required_fields_validation+": "+_.map(this.emptyInvalidFields,"label").join(", ")},paginationProgress:function(){return this.mainStore.page/this.totalPages},barPercent:function(){return 100*Math.min(this.paginationProgress,1)},paginationProgressBarCSS:function(){var e={width:Math.max(this.barPercent,25)+"%"},t=this.mainStore.options.mission_button_color;return t&&(e.backgroundColor=t),e}},methods:{validateFields:function(e){return _.each(this.requiredFields,function(t){t.invalid=this.validateField(t,e)},this),!this.hasInvalidFields},validateField:function(e,t){var n=e.answerContent.answer;e.validationMessage=null;var i=e===this.emailField;if(!(i&&"email"===t||e.required))return!1;if(i)return this.validateEmailField(e,n);if(_.isArray(n)?0===n.length:_.includes([null,undefined,""],n))return!0;var r=e.extra_config.age_gate;return!!r&&this.validateAgeGate(e,n,r[0],r[1])},validateEmailField:function(e,t){return!this.validateEmail(t)&&(e.validationMessage="Please enter a valid email address",!0)},validateEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},validateAgeGate:function(e,t,n,i){var r=moment().subtract(n,i);return!moment(t).isBefore(moment(r))&&(e.validationMessage="Sorry, you must be "+n+" "+i+" or older.",!0)},afterRender:function(){this.formReady||(this.formReady=!0)},changePage:function(e){Crowdly.Store.page+=e,Crowdly.Store.page>this.highestPageVisited&&(this.scrollToTopOfForm(),this.highestPageVisited=Crowdly.Store.page)}
100,scrollToTopOfForm:function(){var e=$(".before-opt-in").position().top-100;window.scrollY>e&&$("html, body").animate({scrollTop:e})},onFbSubmitButtonClick:function(){this.validateFields("facebook")&&(Crowdly.Events.trackMixpanel("Submit",{opt_in_type:"Facebook"}),Crowdly.LandingPageUX.startFbSubmissionProcess())},onEmailSubmitButtonClick:function(){this.validateFields("email")&&(Crowdly.Events.trackMixpanel("Submit",{opt_in_type:"Email"}),Crowdly.LandingPageUX.startSubmissionProcess(this.emailField.answerContent.answer))},onSubmitButtonClick:function(){Crowdly.Events.trackMixpanel("Submit",{opt_in_type:"None"}),Crowdly.LandingPageUX.startSubmissionProcess()},onPrevButtonClick:function(){this.changePage(-1)},onNextButtonClick:function(){this.validateFields()&&(Crowdly.Events.trackMixpanel("Clicked Next",{page_number:Crowdly.Store.page}),this.changePage(1))},autoAdvance:function(){1===this.paginatedRequestedFields.length&&this.showNextButton&&this.onNextButtonClick()},randomizeFields(e,t){let n=_.toArray(_.groupBy(e,"page"));const i=t.arbitrary_data_store&&t.arbitrary_data_store.pageInfos,r=_.map(_.filter(i,"shuffle_pages"),"page"),o=_.map(_.filter(i,"shuffle_per_page"),"page");if(!_.isEmpty(r)){const t=_.shuffle(r),i={};r.forEach((e,n)=>i[e]=t[n]);const o=e.map((e,t)=>i[t+1]||t+1);n=n.map((e,t)=>n[o[t]-1])}_.isEmpty(o)||(n=n.map(e=>{const t=e[0].page||0;return _.contains(o,t)?_.shuffle(e):e}));let s={};return n.forEach((e,t)=>s[t+1]=e),s}},mounted:function(){this.afterRender()},updated:function(){this.afterRender()}}),Vue.component("create-your-own-submission-button",{template:"#create_your_own_submission_button_vue",props:["mainStore"],data:function(){return{uiHash:this.mainStore.options.ui_customization_hash}},methods:{onCreateSubmissionButtonClick:function(){Crowdly.Events.trackMixpanel("Submission CTA Click",{submission_url:this.mainStore.linkedSubmission.canonical_url}),Crowdly.LandingPageUX.scrollToEl(".initial-messaging")}}}),Vue.component("create-your-own-quiz-button",{template:"#create_your_own_quiz_button_vue",props:["mainStore"],data:function(){return{uiHash:this.mainStore.options.ui_customization_hash}},methods:{onCreateQuizButtonClick:function(){Crowdly.Events.trackMixpanel("Make My Own Quiz CTA Click",{quiz_url:this.mainStore.linkedSubmission.canonical_url}),Crowdly.LandingPageUX.scrollToEl(".initial-messaging")}}}),Vue.component("activation-page-field",{template:"#activation_page_field_vue",props:["mainStore","field"],components:{Multiselect:window.VueMultiselect["default"],Slider:window.vueBootstrapSlider},data:function(){var e=[],t=this.field.answerContent;t&&!_.isEmpty(t.answer)&&(e=t.answer);var n={multiselection:e,livePoll:"live_poll"===this.mainStore.landingPage.activation_type,textInputAttr:this.field.preferred_email?"email":"text",phoneDropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showSearchBox:!0,width:"300px"},phoneInputOptions:{placeholder:"Please enter your mobile number"}};return n["is_"+this.field.input_type]=!0,n},computed:{randomOrder:function(){return this.field.extra_config.random_order},sortedOptions:function(){return this.randomOrder?_.shuffle(this.field.input_options):this.field.input_options},showSlider:function(){return this.field.extra_config.use_slider},hasInput:function(){return!this.field.extra_config.hide_input},inputClasses:function(){return{"invalid-field":this.field.invalid}},fieldLabelClasses:function(){return{subheading:this.is_subheading}},hasHelperText:function(){return!_.isEmpty(this.field.helper_text)},autoLinkedHelperText:function(){return this.hasHelperText?this.field.helper_text.autoLink({target:"_blank"}):""},answer:function(){return this.field.answerContent.answer},optionsAsButtons:function(){return this.field.extra_config.options_as_buttons}},watch:{multiselection:function(e){this.isType("multiselect")&&(this.field.answerContent={answer:e.concat().sort()})}},created:function(){if(this.checked=Boolean(this.field.extra_config.prechecked),this.field.answerContent.answer===undefined)if(this.isType("checkbox")){var e=Boolean(this.field.extra_config.prechecked);this.setAnswer(e)}else this.isType("multiselect")?this.setAnswer([]):this.showSlider?this.setAnswer(this.field.input_options[0]||""):this.setAnswer("")},mounted:function(){if(this.field.element=this.$el,this.isType("datepicker")&&this.setupDatepicker(),this.field.has_video){var e=this.$el.getElementsByClassName("requested-field-video")[0];
100cloudinary.Cloudinary.DEFAULT_IMAGE_PARAMS.cloud_name="crowdly",cloudinary.Cloudinary["new"]({cloud_name:"crowdly"}).videoPlayer(e,{publicId:this.field.display_options.attachment_public_id,fontFace:"inherit"})}},methods:{isType:function(e){return this.field.input_type===e},isTemplateName:function(e){return this.field.template_name===e},setupDatepicker:function(){var e=this.$el.getElementsByClassName("datepicker")[0];new Pikaday({field:e,format:"L",yearRange:[1900,moment().year()+15],onSelect:this.setDateAnswer})},setAnswer:function(e){this.field.answerContent={answer:e},this.isType("checkbox")&&(this.checked=e)},setOptionButtonsAnswer:function(e){this.setAnswer(e),this.isType("multiselect")||this.$emit("auto-advance")},setDateAnswer:function(e){var t=moment(e).isAfter("1900-01-01","year")?moment(e).format("L"):null;this.setAnswer(t)},textInputChange:function(){this.field.invalid=!1,this.field.validationMessage=null},clickedSwitch:function(){_answer=!this.answer,this.setAnswer(_answer)}}}),Vue.component("file-upload-field",{template:"#file_upload_field_vue",props:["mainStore","field"],data:function(){return{uploading:!1,pendingFileName:null,uiHash:this.mainStore.options.ui_customization_hash}},computed:{uploadApiUrl:function(){return"https://api.cloudinary.com/v1_1/"+this.mainStore.options.cloudinary.cloud_name+"/upload"},uploadAjaxOptions:function(){return{url:this.uploadApiUrl,processData:!1,contentType:!1,dataType:!1,context:this,success:this.onUploadSuccess,error:this.onUploadError}},uploadMessage:function(){return this.uploading?"Uploading...":this.uploadError?"Uploading failed. Please try again.":this.field.answerContent&&this.field.answerContent.file_name?"Uploaded: "+this.field.answerContent.file_name:void 0},buttonStyles:function(){var e=this.mainStore.options.mission_button_color||"#28a745";return{color:this.mainStore.options.hub_button_text_color||"#fff",backgroundColor:e}}},methods:{onUploadSuccess:function(e){this.uploading=!1,this.field.answerContent={answer:e.secure_url,url:e.secure_url,thumbnail:"http://res.cloudinary.com/crowdly/"+e.resource_type+"/upload/t_ugc_thumb/v1/"+e.public_id+".png",file_name:this.pendingFileName,type:e.resource_type,format:e.format},this.pendingFileName=null},onUploadError:function(){this.uploading=!1,this.uploadError=!0},getAjaxOptions:function(e){var t=new FormData;return t.append("file",e.target.files[0]),t.append("upload_preset",this.mainStore.options.cloudinary.upload_preset),_.extend({data:t},this.uploadAjaxOptions)},uploadFile:function(e){return this.pendingFileName=e.target.files[0]&&e.target.files[0].name,this.field.answerContent={},this.uploadError=!1,this.uploading=!0,$.ajax(this.getAjaxOptions(e))}}}),Vue.component("api-video-upload-field",{template:"#api_video_upload_field",props:["mainStore","field"],data:function(){return{uploading:!1,uploadProgress:0,pendingFileName:null,uiHash:this.mainStore.options.ui_customization_hash}},computed:{uploadMessage:function(){return this.uploading?"Uploading...":this.uploadError?"Uploading failed. Please try again.":this.field.answerContent&&this.field.answerContent.file_name?"Uploaded: "+this.field.answerContent.file_name:void 0},uploadToken:function(){return this.mainStore.options.api_video.upload_token},barPercent:function(){return 100*Math.min(this.uploadProgress,1)},uploadBarCSS:function(){return{width:Math.max(this.barPercent,25)+"%"}},buttonStyles:function(){var e=this.mainStore.options.mission_button_color||"#28a745";return{color:this.mainStore.options.hub_button_text_color||"#fff",backgroundColor:e,cursor:"pointer"}}},methods:{uploadFile:function(e){this.pendingFileName=e.target.files[0]&&e.target.files[0].name,this.field.answerContent={},this.uploadError=!1,this.uploading=!0;var t=new VideoUploader({file:e.target.files[0],uploadToken:this.uploadToken});t.onProgress(_.bind(this.onUploadProgress,this)),t.upload().then(_.bind(this.onUploadSuccess,this))},launchCloudinaryWidget:function(){cloudinary.openUploadWidget({cloud_name:"crowdly",upload_preset:"gw40oacb",sources:["local","url","camera"],clientAllowedFormats:["webm","mp4","ogv"]},_.bind(this.onCloudinaryWidgetEvent,this))},onCloudinaryWidgetEvent:function(e,t){"success"===t.event&&(this.uploading=!1,this.field.answerContent={answer:t.info.secure_url,url:t.info.secure_url,thumbnail:t.info.thumbnail_url,file_name:t.info.original_filename,public_id:t.info.public_id,resource_type:"video",provider:"cloudinary",type:"video",format:"mp4"})},onUploadProgress:function(e){this.uploadProgress=Math.round(e.uploadedBytes/e.totalBytes*100)},onUploadSuccess:function(e){this.uploading=!1,this.field.answerContent={answer:e.assets.mp4,url:e.assets.mp4,thumbnail:e.assets.thumbnail,file_name:this.pendingFileName,type:"video",format:"mp4",provider:"api-video",player:e.assets.player},this.pendingFileName=null}}}),Vue.component("multifile-upload-field",{template:"#multifile_upload_field_vue",props:["mainStore","field"],components:{vueDropzone:window.vue2Dropzone},data:function(){return{dropzoneOptions:{url:this.uploadApiUrl,thumbnailHeight:200,thumbnailWidth:200,maxFilesize:1e4,addRemoveLinks:!0,thumbnailMethod:"contain",dictRemoveFile:"X",params:{}}}},computed:{dropzoneId:function(){return"dropzone-"+this.field.id},uploadAjaxOptions:function(){return{url:this.uploadApiUrl,processData:!1,contentType:!1,dataType:!1,context:this,success:this.onUploadSuccess,error:this.onUploadError}}},methods:{mountedEvent:function(){var e=this.field.answerContent.uploads;if(e){var t=this.$refs.myVueDropzone;_.each(e,function(e){t.manuallyAddFile(e.file_obj,e.answer)})}},uploadApiUrl:function(){return"https://api.cloudinary.com/v1_1/"+this.mainStore.options.cloudinary.cloud_name+"/upload"},sendingEvent:function(e,t,n){return this.field.answerContent.uploads||(this.field.answerContent={answer:"~~UPLOADED~~",uploads:[]}),n.append("upload_preset",this.mainStore.options.cloudinary.upload_preset),_.extend({data:n},this.uploadAjaxOptions)},successEvent:function(e,t){var n={answer:t.secure_url,url:t.secure_url,thumbnail:"http://res.cloudinary.com/crowdl
100y/"+t.resource_type+"/upload/t_ugc_thumb/v1/"+t.public_id+".png",type:t.resource_type,format:t.format,file_obj:e};this.field.answerContent.uploads.push(n)},queueCompleteEvent:function(){var e=this.field.answerContent.uploads,t=this.$refs.myVueDropzone.getAcceptedFiles(),n=_.map(t,function(t){return _.findWhere(e,{file_obj:t})});this.field.answerContent.uploads=n},errorEvent:function(){},removedEvent:function(e){var t=this.field.answerContent;t.uploads=_.reject(t.uploads,{file_obj:e})}}}),Vue.component("live-poll-results",{template:"#live_poll_results_vue",props:["mainStore"],computed:{choices:function(){return _.findWhere(this.mainStore.landingPage.requested_fields,"input_type","live_poll").input_options},answer:function(){var e=this.mainStore.privateLink;return e&&e.returned_fields?e.returned_fields[0].answer:null},resultsPlusResponse:function(){var e=_.assign({},this.mainStore.livePollResults);_.each(this.choices,function(t){e[t]=e[t]||0});var t=this.answer;return _.isEmpty(t)||!_.isNumber(e[t])?e:(e[t]+=1,e)},pollTotal:function(){return _.reduce(this.resultsPlusResponse,function(e,t){return e+t},0)},enhancedResults:function(){var e=this.pollTotal||1,t=_.map(this.resultsPlusResponse,function(t,n){var i=Math.round(t/e*100)+"%";return{choice:n,count:t,percent:i,percentCSS:{width:i}}});return _.sortBy(t,function(e){return-e.count})}}}),Vue.component("hub-activations",{template:"#hub_activations_vue",props:["mainStore","referringActivation"],methods:{onHubButtonClick:function(){Crowdly.Events.trackMixpanel("View Hub CTA Click");var e={source:"crowdly_canvas",action:"open_link",link:this.hubUrl};window.postMessage(JSON.stringify(e))}},computed:{referringActivationId:function(){return this.referringActivation?this.referringActivation.id:null},referringHubProps:function(){return _.find(this.mainStore.hubActivations||[],e=>e.landing_page_id==this.referringActivationId)},remainingHubProps:function(){return _.reject(this.mainStore.hubActivations||[],e=>e.landing_page_id==this.referringActivationId)},isNotHub:function(){return this.$parent.isNotHub},hubUrl:function(){var e=this.mainStore.options.hub_slug;return e?"/w/"+e:null},partnerHubReady:function(){return this.hubUrl},sortedActivations:function(){return _.sortBy(this.remainingHubProps,function(e){return null===e.hub_order?1e3:e.hub_order})},buttonColor:function(){return this.mainStore.options.hub_button_color||"#28a745"},buttonTextColor:function(){return this.mainStore.options.hub_button_text_color||"#fff"},buttonStyles:function(){return{"background-color":this.buttonColor,color:this.buttonTextColor}}}}),Vue.component("hub-activation",{template:"#hub_activation_vue",props:["mainStore","hubActivation"],methods:{onHubMissionClick:function(){Crowdly.Events.trackMixpanel("Hub Mission Click",{partner_id:this.hubActivation.partner_id,landing_page_id:this.hubActivation.id,landing_page_name:this.hubActivation.title,landing_page_title:this.hubActivation.headline,click_source:this.clickSource})},setActiveHub:function(){}},computed:{isNotHub:function(){return this.$parent.isNotHub},isOnHub:function(){return!this.isNotHub},clickSource:function(){return this.isNotHub?"Mission":"Hub"},endDate:function(){var e=this.hubActivation.include_in_hub_until;return moment(e).format("l")},missionCompleted:function(){return!1},cardClasses:function(){return{completed:this.missionCompleted,"col-sm-12 col-md-12 col-lg-6 col-xl-4":this.isNotHub,"col-sm-12 col-md-6 col-lg-4 col-xl-3":this.isOnHub}},badgeColor:function(){return this.hubActivation.hub_label_color},badgeTextColor:function(){return this.hubActivation.hub_label_text_color},buttonText:function(){return this.hubActivation.hub_button_text||"Go Now"},buttonIcon:function(){return this.hubActivation.hub_button_icon},buttonColor:function(){return this.mainStore.options.hub_button_color||"#28a745"},buttonTextColor:function(){return this.mainStore.options.hub_button_text_color||"#fff"},buttonStyles:function(){return{"background-color":this.buttonColor,color:this.buttonTextColor}},badgeClasses:function(){return{"badge-info":!this.badgeColor}},badgeStyles:function(){return _bgColor=this.badgeColor?{"background-color":this.badgeColor}:{},_textColor=this.badgeTextColor?{color:this.badgeTextColor}:{},Object.assign(_bgColor,_textColor)},headerImageUrl:function(){return this.hubActivation.hub_header_url||this.hubActivation.header_url}}}),Vue.component("option-buttons",{template:"#option_buttons_vue",props:["mainStore","field","multiple","hash","options","quiz"],computed:{optionsHash:function(){return this.hash?this.field.extra_config:_.object(this.options,this.options)},answer:function(){return this.field.answerContent.answer}}
100,methods:{clicked:function(e){var t=this.multiple?this.setMultiButtonAnswer(e):e;this.$emit("set-answer",t)},hasAnswer:function(e){return this.multiple?this.containsAnswer(e):this.answer===e},setMultiButtonAnswer:function(e){return(this.containsAnswer(e)?_.without(this.answer,e):_.union(this.answer,[e])).sort()},containsAnswer:function(e){return _.contains(this.answer,e)}}}),Vue.component("option-button",{template:"#option_button_vue",props:["mainStore","extraConfig","buttonKey","selected","multiple"],computed:{buttonClasses:function(){var e=[this.extraConfig.two_columns?"col-5":"col-11"];return this.selected&&e.push("selected"),e},labelIconClass:function(){var e=(this.extraConfig.option_label_icons||[])[this.buttonKey];return e?["fa "+e]:[]},selectionIconClass:function(){return this.multiple?[this.selected?"fa-check-square-o":"fa-square-o"]:[this.selected?"fa-dot-circle-o":"fa-circle-o"]},showIconContainer:function(){return this.labelIconClass.length>0},buttonColor:function(){return this.mainStore.options.mission_button_color||"#42a755"},buttonStyles:function(){return this.selected?{"background-color":this.buttonColor}:{}}}}),Vue.component("sortable-options",{template:"#sortable_options_vue",props:["mainStore","field","hash","options"],components:{draggable:window.vuedraggable},data:function(){const e=this.field.answerContent;return e.answer||(e.answer=this.options.concat()),{drag:!1}},computed:{optionsArray:function(){return this.field.answerContent.answer}}}),Vue.component("slider-field",{template:"#slider_field_vue",props:["mainStore","options","answer"],computed:{sliderChoice:function(){return _.indexOf(this.options,this.answer)},sliderTickValues:function(){return _.map(this.options,function(e,t){return t})},sliderTickLabels:function(){return[]},sliderLabels:function(){var e=this.sliderMin,t=this.sliderMax;return _labels=_.map(this.options,function(n,i){return _.contains([e,t],i)?n:""}),_labels.filter(function(e){return e})},sliderMin:function(){return _.min(this.sliderTickValues)},sliderMax:function(){return _.max(this.sliderTickValues)},sliderMinValue:function(){return this.sliderLabels[0]},sliderMaxValue:function(){return this.sliderLabels[1]},handleColor:function(){return this.mainStore.options.mission_button_color||"#47f"}},methods:{sliderChanged:function(e){this.$emit("set-answer",this.options[e.newValue])},sliderTooltipFormatter:function(e){return this.options[e]}},mounted:function(){$(".slider-handle").css({backgroundColor:this.handleColor,backgroundImage:"none"})}}),Vue.component("email-share",{template:"#email_share_vue",props:["mainStore"],data:function(){return{errors:[],sending:!1,sent:!1,uiHash:this.mainStore.options.ui_customization_hash}},computed:{isSending:function(){return this.sending},buttonText:function(){const e=this.uiHash.share_with_3_friends_button_label;return e||(this.isSending?"Sending":"Send Share")},emailShareSubjectLine:function(){return this.mainStore.privateLink&&!_.isEmpty(this.mainStore.privateLink.email_share_subject_line)?this.mainStore.privateLink.email_share_subject_line:this.mainStore.landingPage.email_share_subject_line},emailShareBody:function(){return this.mainStore.privateLink&&!_.isEmpty(this.mainStore.privateLink.email_share_body)?this.mainStore.privateLink.email_share_body:this.mainStore.landingPage.email_share_body}},methods:{clickedEmailShareButton:function(){var e=[this.mainStore.email_share_address1,this.mainStore.email_share_address2,this.mainStore.email_share_address3];return e=_.reject(e,_.isEmpty),this.errors=[],0===e.length?(this.errors.push("Please enter at least one email address."),!1):0===(e=this.validateEmails(e)).length?(this.errors.push("At least one email address looks wrong."),!1):(e&&(this.sending=!0),Crowdly.AjaxService.sendEmailShare(e),this.sent=!0,this.sending=!1,void Crowdly.Events.trackInternal("share_click"))},validateEmails:function(e){return e=_.select(e,this.validateEmail)},validateEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())}}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.