073e48c396
* 391 Notification refactorings (#441) * Refactor notifications to allow easier plugins * Notification refactoring * Formatting * Move news to NewsService; cleanup of events * More refactoring; added send email out for news item and the template * Formatting * Formatting * Fix missing newsRepo (#445) * Refactor and add importer to Installer module #443 (#444) * Refactor and add importer to Installer module #443 * Refactor for finances to use in import * Import groups into roles * Formatting * Formatting * Add interface in installer for import * Notes about importing * Check for installer folder * Formatting * Fix pirep->user mapping * Unused import * Formatting * Replace importer with AJAX powered; better error handling #443 (#447) * Replace importer with AJAX powered; better error handling #443 * Formatting * Fix command line importer * Remove bootstrap cache (#448) * Cleanup the bootstrap/cache directory when packaging * Fix removal of bootstrap cache * Formatting * Stricter checks on ACARS API data (#451) * Stricter checks on ACARS API data * More checks * Fix for flight_number check forcing to exist * Allow nullable on flight_id * Avoid proc_open use #455 (#456) * Use PhpExecutableFinder() closes #457 #458 (#460) * Use DateTimeZone instead of int for creating datetime closes #461 * Fix CSV imports giving Storage class not found #454 (#462) * Fix CSV imports giving Storage class not found #454 * Update yarn files for security alert * Add PHP 7.4 support (#464) * Add PHP 7.4 to build matrix * DB fix * YAML parser fix in test data * Show versions * Package updates * Track used ICAOs * 7.4 METAR parsing fix * METAR parser fix * Formatting * Add meters to response units * Call instance for unit conversion * Return value * Catch exception for unknown quantity * Comment fix * Formatting * METAR parsing fixes on PHP 7.4 * Package updates * More random airport ID * More random airport ID * Properly disable toolbar * Semver written out to version file * Use dev as default identifier * Fix BindingResolutionError when debug toolbar isn't present (#465) * Fix BindingResolutionError when debug toolbar isn't present * Formatting * Split the importer module out from the installer module (#468) * Split the importer module out from the installer module * Cleanup of unused imports * Move updater into separate module #453 * Remove unused imports/formatting * Disable the install and importer modules at the end of the setup * Unused imports; update IJ style * test explicit stage for php+mysql * add more to matrix * Add different MariaDB versions * undo * Cleanup Model doc * Pilots cannot use the dashboard or flights without admin rights (#481) * Use auth middleware instead of specific groups for logged in state * Auth check for admin access * Check user admin access for updates * Formatting * Allow nullable field and calculate distance if nulled for flight import #478 (#482) * Check for no roles being attached #480 (#483) * Return the flight fares if there are no subfleet fares #488 (#489) * Return the flight fares if there are no subfleet fares #488 * Formatting * Formatting * Account for units when entering fuel amounts #493 * Search for ICAO not working properly (#496) * /flights and /flights/search direct to the same endpoint * Properly set the distance/planned_distance on save (#497) * 491 Installation Error (#495) * Disable CSRF token * Add error handling around looking up the theme and set a default * Note about logs in issue template * Formatting * Fix GeoService errors when viewing PIREP #498 (#499) * Add new command to export a specific PIREP for debugging (#501) * Set a default model value for airports on PIREP (#500) * Set a default model value for airports on PIREP * Fix airport icao reference * Default airport models * Catch broader exception writing out config files #491 * style * Add reference to docs on doc site (#502) * Properly create/update rows importing #486 (#503) * Add base Dockerfile for Dockerhub builds (#504) * New subfleet not being attached to an airline on import #479 (#505) * Fix subfleet not being attached to an airline on creation in import #479 * Call airline name with optional() around subfleet * Minor cleanup * Search flights by subfleet #484 (#506) * API level search of flights #484 * Add Subfleet to flights page for search * Make the fuel used optional (#512) * Add make to Docker container * Add getRootDomain() to Utils (#514) * Show admin dropdown for admin-access ability (#515) * Show admin dropdown for admin-access ability closes #509 * Formatting * Check user permissions on the routes #508 (#516) * Check user permissions on the routes #508 * Formatting * Return default value on exception for setting() * Correct text for no subfleets #507 (#518) * Add a public_url() helper #513 (#519) * Reduce number of queries for update check (#520) * Try to clear caches before updating (#522) * Try to clear caches before updating * Add clear-compiled to maintenance cache list * Formatting * Set PIREPs page to public (#526) Set PIREPs page to public * Fix live and route map errors #527 (#528) * Add menu bar for mobile (#529) * Format all blade templates to 2 spaces #530 (#531) * Fix PIREP edit endpoint closes #533 (#534) * Fix import during flight cron #532 (#535) * PIREPS resource except for show (#536) * Use optional() around the airport fields (#537) * Use optional() around the airport fields * Add null-coalesce around full_name * Add link to download ACARS config from profile (#539) * Add link to download ACARS config from profile * Formatting * Update xml config file template (#540)
6 lines
144 KiB
JavaScript
6 lines
144 KiB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return Ni.apply(null,arguments)}function e(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function n(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function r(t){return void 0===t}function o(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function a(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function c(t,e,n,i){return be(t,e,n,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function d(t){return null==t._pf&&(t._pf=h()),t._pf}function f(t){if(null==t._isValid){var e=d(t),n=Mi.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function m(t){var e=c(NaN);return null!=t?u(d(e),t):d(e).userInvalidated=!0,e}function p(t,e){var n,i,o;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=d(e)),r(e._locale)||(t._locale=e._locale),ki.length>0)for(n=0;n<ki.length;n++)i=ki[n],o=e[i],r(o)||(t[i]=o);return t}function g(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Li&&(Li=!0,t.updateOffset(this),Li=!1)}function _(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function v(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=v(e)),n}function E(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&s++;return s+o}function T(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,n){var i=!0;return u(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),i){for(var r,o=[],s=0;s<arguments.length;s++){if(r="","object"==typeof arguments[s]){r+="\n["+s+"] ";for(var a in arguments[0])r+=a+": "+arguments[0][a]+", ";r=r.slice(0,-2)}else r=arguments[s];o.push(r)}T(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function S(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Pi[e]||(T(n),Pi[e]=!0)}function b(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function D(t){var e,n;for(n in t)e=t[n],b(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function O(t,e){var i,r=u({},t);for(i in e)l(e,i)&&(n(t[i])&&n(e[i])?(r[i]={},u(r[i],t[i]),u(r[i],e[i])):null!=e[i]?r[i]=e[i]:delete r[i]);for(i in t)l(t,i)&&!l(e,i)&&n(t[i])&&(r[i]=u({},r[i]));return r}function C(t){null!=t&&this.set(t)}function I(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return b(i)?i.call(e,n):i}function A(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function N(){return this._invalidDate}function M(t){return this._ordinal.replace("%d",t)}function k(t,e,n,i){var r=this._relativeTime[n];return b(r)?r(t,e,n,i):r.replace(/%d/i,t)}function L(t,e){var n=this._relativeTime[t>0?"future":"past"];return b(n)?n(e):n.replace(/%s/i,e)}function P(t,e){var n=t.toLowerCase();Fi[n]=Fi[n+"s"]=Fi[e]=t}function H(t){return"string"==typeof t?Fi[t]||Fi[t.toLowerCase()]:void 0}function R(t){var e,n,i={};for(n in t)l(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}function x(t,e){Ui[t]=e}function W(t){var e=[];for(var n in t)e.push({unit:n,priority:Ui[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function Y(t,e,n){var i=""+Math.abs(t),r=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function F(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Bi[t]=r),e&&(Bi[e[0]]=function(){return Y(r.apply(this,arguments),e[1],e[2])}),n&&(Bi[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,i=t.match(Vi);for(e=0,n=i.length;e<n;e++)Bi[i[e]]?i[e]=Bi[i[e]]:i[e]=U(i[e]);return function(e){var r,o="";for(r=0;r<n;r++)o+=b(i[r])?i[r].call(e,t):i[r];return o}}function j(t,e){return t.isValid()?(e=G(e,t.localeData()),Gi[e]=Gi[e]||V(e),Gi[e](t)):t.localeData().invalidDate()}function G(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(ji.lastIndex=0;i>=0&&ji.test(t);)t=t.replace(ji,n),ji.lastIndex=0,i-=1;return t}function B(t,e,n){ur[t]=b(e)?e:function(t,i){return t&&n?n:e}}function q(t,e){return l(ur,t)?ur[t](e._strict,e._locale):new RegExp(K(t))}function K(t){return z(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}))}function z(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),o(e)&&(i=function(t,n){n[e]=y(t)}),n=0;n<t.length;n++)cr[t[n]]=i}function Z(t,e){Q(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function X(t,e,n){null!=e&&l(cr,t)&&cr[t](e,n._a,n,t)}function $(t){return J(t)?366:365}function J(t){return t%4==0&&t%100!=0||t%400==0}function tt(){return J(this.year())}function et(e,n){return function(i){return null!=i?(it(this,e,i),t.updateOffset(this,n),this):nt(this,e)}}function nt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function it(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&J(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),at(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function rt(t){return t=H(t),b(this[t])?this[t]():this}function ot(t,e){if("object"==typeof t){t=R(t);for(var n=W(t),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit])}else if(t=H(t),b(this[t]))return this[t](e);return this}function st(t,e){return(t%e+e)%e}function at(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=st(e,12);return t+=(e-n)/12,1===n?J(t)?29:28:31-n%7%2}function lt(t,n){return t?e(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||wr).test(n)?"format":"standalone"][t.month()]:e(this._months)?this._months:this._months.standalone}function ut(t,n){return t?e(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[wr.test(n)?"format":"standalone"][t.month()]:e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(t,e,n){var i,r,o,s=t.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"===e?(r=Er.call(this._shortMonthsParse,s),-1!==r?r:null):(r=Er.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===e?-1!==(r=Er.call(this._shortMonthsParse,s))?r:(r=Er.call(this._longMonthsParse,s),-1!==r?r:null):-1!==(r=Er.call(this._longMonthsParse,s))?r:(r=Er.call(this._shortMonthsParse,s),-1!==r?r:null)}function ht(t,e,n){var i,r,o;if(this._monthsParseExact)return ct.call(this,t,e,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]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function dt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=y(e);else if(e=t.localeData().monthsParse(e),!o(e))return t;return n=Math.min(t.date(),at(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ft(e){return null!=e?(dt(this,e),t.updateOffset(this,!0),this):nt(this,"Month")}function mt(){return at(this.year(),this.month())}function pt(t){return this._monthsParseExact?(l(this,"_monthsRegex")||_t.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=Dr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(t){return this._monthsParseExact?(l(this,"_monthsRegex")||_t.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Or),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function _t(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],o=[];for(e=0;e<12;e++)n=c([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)i[e]=z(i[e]),r[e]=z(r[e]);for(e=0;e<24;e++)o[e]=z(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function vt(t,e,n,i,r,o,s){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,i,r,o,s),a}function yt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Et(t,e,n){var i=7+e-n;return-(7+yt(t,0,i).getUTCDay()-e)%7+i-1}function Tt(t,e,n,i,r){var o,s,a=(7+n-i)%7,l=Et(t,i,r),u=1+7*(e-1)+a+l;return u<=0?(o=t-1,s=$(o)+u):u>$(t)?(o=t+1,s=u-$(t)):(o=t,s=u),{year:o,dayOfYear:s}}function wt(t,e,n){var i,r,o=Et(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return s<1?(r=t.year()-1,i=s+St(r,e,n)):s>St(t.year(),e,n)?(i=s-St(t.year(),e,n),r=t.year()+1):(r=t.year(),i=s),{week:i,year:r}}function St(t,e,n){var i=Et(t,e,n),r=Et(t+1,e,n);return($(t)-i+r)/7}function bt(t){return wt(t,this._week.dow,this._week.doy).week}function Dt(){return this._week.dow}function Ot(){return this._week.doy}function Ct(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function It(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function At(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Nt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Mt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function kt(t,n){var i=e(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?Mt(i,this._week.dow):t?i[t.day()]:i}function Lt(t){return!0===t?Mt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Pt(t){return!0===t?Mt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ht(t,e,n){var i,r,o,s=t.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"===e?(r=Er.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===e?(r=Er.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=Er.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===e?-1!==(r=Er.call(this._weekdaysParse,s))?r:-1!==(r=Er.call(this._shortWeekdaysParse,s))?r:(r=Er.call(this._minWeekdaysParse,s),-1!==r?r:null):"ddd"===e?-1!==(r=Er.call(this._shortWeekdaysParse,s))?r:-1!==(r=Er.call(this._weekdaysParse,s))?r:(r=Er.call(this._minWeekdaysParse,s),-1!==r?r:null):-1!==(r=Er.call(this._minWeekdaysParse,s))?r:-1!==(r=Er.call(this._weekdaysParse,s))?r:(r=Er.call(this._shortWeekdaysParse,s),-1!==r?r:null)}function Rt(t,e,n){var i,r,o;if(this._weekdaysParseExact)return Ht.call(this,t,e,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]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function xt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=At(t,this.localeData()),this.add(t-e,"d")):e}function Wt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Yt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Nt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ft(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Mr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ut(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kr),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function jt(){function t(t,e){return e.length-t.length}var e,n,i,r,o,s=[],a=[],l=[],u=[];for(e=0;e<7;e++)n=c([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(i),a.push(r),l.push(o),u.push(i),u.push(r),u.push(o);for(s.sort(t),a.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)a[e]=z(a[e]),l[e]=z(l[e]),u[e]=z(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Gt(){return this.hours()%12||12}function Bt(){return this.hours()||24}function qt(t,e){F(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Kt(t,e){return e._meridiemParse}function zt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Zt(t){return t?t.toLowerCase().replace("_","-"):t}function Xt(t){for(var e,n,i,r,o=0;o<t.length;){for(r=Zt(t[o]).split("-"),e=r.length,n=Zt(t[o+1]),n=n?n.split("-"):null;e>0;){if(i=$t(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&E(r,n,!0)>=e-1)break;e--}o++}return Pr}function $t(t){var e=null;if(!Wr[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Pr._abbr;require("./locale/"+t),Jt(e)}catch(t){}return Wr[t]}function Jt(t,e){var n;return t&&(n=r(e)?ne(t):te(t,e),n?Pr=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Pr._abbr}function te(t,e){if(null!==e){var n,i=xr;if(e.abbr=t,null!=Wr[t])S("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=Wr[t]._config;else if(null!=e.parentLocale)if(null!=Wr[e.parentLocale])i=Wr[e.parentLocale]._config;else{if(null==(n=$t(e.parentLocale)))return Yr[e.parentLocale]||(Yr[e.parentLocale]=[]),Yr[e.parentLocale].push({name:t,config:e}),null;i=n._config}return Wr[t]=new C(O(i,e)),Yr[t]&&Yr[t].forEach(function(t){te(t.name,t.config)}),Jt(t),Wr[t]}return delete Wr[t],null}function ee(t,e){if(null!=e){var n,i,r=xr;i=$t(t),null!=i&&(r=i._config),e=O(r,e),n=new C(e),n.parentLocale=Wr[t],Wr[t]=n,Jt(t)}else null!=Wr[t]&&(null!=Wr[t].parentLocale?Wr[t]=Wr[t].parentLocale:null!=Wr[t]&&delete Wr[t]);return Wr[t]}function ne(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Pr;if(!e(t)){if(n=$t(t))return n;t=[t]}return Xt(t)}function ie(){return Hi(Wr)}function re(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[dr]<0||n[dr]>11?dr:n[fr]<1||n[fr]>at(n[hr],n[dr])?fr:n[mr]<0||n[mr]>24||24===n[mr]&&(0!==n[pr]||0!==n[gr]||0!==n[_r])?mr:n[pr]<0||n[pr]>59?pr:n[gr]<0||n[gr]>59?gr:n[_r]<0||n[_r]>999?_r:-1,d(t)._overflowDayOfYear&&(e<hr||e>fr)&&(e=fr),d(t)._overflowWeeks&&-1===e&&(e=vr),d(t)._overflowWeekday&&-1===e&&(e=yr),d(t).overflow=e),t}function oe(t,e,n){return null!=t?t:null!=e?e:n}function se(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ae(t){var e,n,i,r,o,s=[];if(!t._d){for(i=se(t),t._w&&null==t._a[fr]&&null==t._a[dr]&&le(t),null!=t._dayOfYear&&(o=oe(t._a[hr],i[hr]),(t._dayOfYear>$(o)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=yt(o,0,t._dayOfYear),t._a[dr]=n.getUTCMonth(),t._a[fr]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[mr]&&0===t._a[pr]&&0===t._a[gr]&&0===t._a[_r]&&(t._nextDay=!0,t._a[mr]=0),t._d=(t._useUTC?yt:vt).apply(null,s),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[mr]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(d(t).weekdayMismatch=!0)}}function le(t){var e,n,i,r,o,s,a,l;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,s=4,n=oe(e.GG,t._a[hr],wt(De(),1,4).year),i=oe(e.W,1),((r=oe(e.E,1))<1||r>7)&&(l=!0);else{o=t._locale._week.dow,s=t._locale._week.doy;var u=wt(De(),o,s);n=oe(e.gg,t._a[hr],u.year),i=oe(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(l=!0)):r=o}i<1||i>St(n,o,s)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(a=Tt(n,i,r,o,s),t._a[hr]=a.year,t._dayOfYear=a.dayOfYear)}function ue(t){var e,n,i,r,o,s,a=t._i,l=Fr.exec(a)||Ur.exec(a);if(l){for(d(t).iso=!0,e=0,n=jr.length;e<n;e++)if(jr[e][1].exec(l[1])){r=jr[e][0],i=!1!==jr[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=Gr.length;e<n;e++)if(Gr[e][1].exec(l[3])){o=(l[2]||" ")+Gr[e][0];break}if(null==o)return void(t._isValid=!1)}if(!i&&null!=o)return void(t._isValid=!1);if(l[4]){if(!Vr.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=r+(o||"")+(s||""),_e(t)}else t._isValid=!1}function ce(t,e,n,i,r,o){var s=[he(t),br.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&s.push(parseInt(o,10)),s}function he(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function de(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function fe(t,e,n){if(t){if(Ar.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return d(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function me(t,e,n){if(t)return Kr[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}function pe(t){var e=qr.exec(de(t._i));if(e){var n=ce(e[4],e[3],e[2],e[5],e[6],e[7]);if(!fe(e[1],n,t))return;t._a=n,t._tzm=me(e[8],e[9],e[10]),t._d=yt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),d(t).rfc2822=!0}else t._isValid=!1}function ge(e){var n=Br.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));ue(e),!1===e._isValid&&(delete e._isValid,pe(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function _e(e){if(e._f===t.ISO_8601)return void ue(e);if(e._f===t.RFC_2822)return void pe(e);e._a=[],d(e).empty=!0;var n,i,r,o,s,a=""+e._i,l=a.length,u=0;for(r=G(e._f,e._locale).match(Vi)||[],n=0;n<r.length;n++)o=r[n],i=(a.match(q(o,e))||[])[0],i&&(s=a.substr(0,a.indexOf(i)),s.length>0&&d(e).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),u+=i.length),Bi[o]?(i?d(e).empty=!1:d(e).unusedTokens.push(o),X(o,i,e)):e._strict&&!i&&d(e).unusedTokens.push(o);d(e).charsLeftOver=l-u,a.length>0&&d(e).unusedInput.push(a),e._a[mr]<=12&&!0===d(e).bigHour&&e._a[mr]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[mr]=ve(e._locale,e._a[mr],e._meridiem),ae(e),re(e)}function ve(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function ye(t){var e,n,i,r,o;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],_e(e),f(e)&&(o+=d(e).charsLeftOver,o+=10*d(e).unusedTokens.length,d(e).score=o,(null==i||o<i)&&(i=o,n=e));u(t,n||e)}function Ee(t){if(!t._d){var e=R(t._i);t._a=a([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ae(t)}}function Te(t){var e=new g(re(we(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function we(t){var n=t._i,i=t._f;return t._locale=t._locale||ne(t._l),null===n||void 0===i&&""===n?m({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),_(n)?new g(re(n)):(s(n)?t._d=n:e(i)?ye(t):i?_e(t):Se(t),f(t)||(t._d=null),t))}function Se(i){var l=i._i;r(l)?i._d=new Date(t.now()):s(l)?i._d=new Date(l.valueOf()):"string"==typeof l?ge(i):e(l)?(i._a=a(l.slice(0),function(t){return parseInt(t,10)}),ae(i)):n(l)?Ee(i):o(l)?i._d=new Date(l):t.createFromInputFallback(i)}function be(t,r,o,s,a){var l={};return!0!==o&&!1!==o||(s=o,o=void 0),(n(t)&&i(t)||e(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=o,l._i=t,l._f=r,l._strict=s,Te(l)}function De(t,e,n,i){return be(t,e,n,i,!1)}function Oe(t,n){var i,r;if(1===n.length&&e(n[0])&&(n=n[0]),!n.length)return De();for(i=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][t](i)||(i=n[r]);return i}function Ce(){return Oe("isBefore",[].slice.call(arguments,0))}function Ie(){return Oe("isAfter",[].slice.call(arguments,0))}function Ae(t){for(var e in t)if(-1===Er.call(Xr,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<Xr.length;++i)if(t[Xr[i]]){if(n)return!1;parseFloat(t[Xr[i]])!==y(t[Xr[i]])&&(n=!0)}return!0}function Ne(){return this._isValid}function Me(){return Ze(NaN)}function ke(t){var e=R(t),n=e.year||0,i=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=Ae(e),this._milliseconds=+c+1e3*u+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=ne(),this._bubble()}function Le(t){return t instanceof ke}function Pe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function He(t,e){F(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+Y(~~(t/60),2)+e+Y(~~t%60,2)})}function Re(t,e){var n=(e||"").match(t);if(null===n)return null;var i=n[n.length-1]||[],r=(i+"").match($r)||["-",0,0],o=60*r[1]+y(r[2]);return 0===o?0:"+"===r[0]?o:-o}function xe(e,n){var i,r;return n._isUTC?(i=n.clone(),r=(_(e)||s(e)?e.valueOf():De(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),t.updateOffset(i,!1),i):De(e).local()}function We(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ye(e,n,i){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Re(sr,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&n&&(r=We(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!n||this._changeInProgress?en(this,Ze(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:We(this)}function Fe(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ue(t){return this.utcOffset(0,t)}function Ve(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this}function je(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(or,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ge(t){return!!this.isValid()&&(t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Be(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t={};if(p(t,this),t=we(t),t._a){var e=t._isUTC?c(t._a):De(t._a);this._isDSTShifted=this.isValid()&&E(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ke(){return!!this.isValid()&&!this._isUTC}function ze(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ze(t,e){var n,i,r,s=t,a=null;return Le(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(s={},e?s[e]=t:s.milliseconds=t):(a=Jr.exec(t))?(n="-"===a[1]?-1:1,s={y:0,d:y(a[fr])*n,h:y(a[mr])*n,m:y(a[pr])*n,s:y(a[gr])*n,ms:y(Pe(1e3*a[_r]))*n}):(a=to.exec(t))?(n="-"===a[1]?-1:1,s={y:Xe(a[2],n),M:Xe(a[3],n),w:Xe(a[4],n),d:Xe(a[5],n),h:Xe(a[6],n),m:Xe(a[7],n),s:Xe(a[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(r=Je(De(s.from),De(s.to)),s={},s.ms=r.milliseconds,s.M=r.months),i=new ke(s),Le(t)&&l(t,"_locale")&&(i._locale=t._locale),i}function Xe(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function $e(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Je(t,e){var n;return t.isValid()&&e.isValid()?(e=xe(e,t),t.isBefore(e)?n=$e(t,e):(n=$e(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),n="string"==typeof n?+n:n,r=Ze(n,i),en(this,r,t),this}}function en(e,n,i,r){var o=n._milliseconds,s=Pe(n._days),a=Pe(n._months);e.isValid()&&(r=null==r||r,a&&dt(e,nt(e,"Month")+a*i),s&&it(e,"Date",nt(e,"Date")+s*i),o&&e._d.setTime(e._d.valueOf()+o*i),r&&t.updateOffset(e,s||a))}function nn(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function rn(e,n){var i=e||De(),r=xe(i,this).startOf("day"),o=t.calendarFormat(this,r)||"sameElse",s=n&&(b(n[o])?n[o].call(this,i):n[o]);return this.format(s||this.localeData().calendar(o,this,De(i)))}function on(){return new g(this)}function sn(t,e){var n=_(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&(e=H(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function an(t,e){var n=_(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&(e=H(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function ln(t,e,n,i){var r=_(t)?t:De(t),o=_(e)?e:De(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function un(t,e){var n,i=_(t)?t:De(t);return!(!this.isValid()||!i.isValid())&&(e=H(e)||"millisecond","millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function cn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function dn(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(i=xe(t,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":o=fn(this,i)/12;break;case"month":o=fn(this,i);break;case"quarter":o=fn(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:v(o)}function fn(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return e-o<0?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)||0}function mn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?j(n,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",j(n,"Z")):j(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)}function _n(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=j(this,e);return this.localeData().postformat(n)}function vn(t,e){return this.isValid()&&(_(t)&&t.isValid()||De(t).isValid())?Ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function yn(t){return this.from(De(),t)}function En(t,e){return this.isValid()&&(_(t)&&t.isValid()||De(t).isValid())?Ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Tn(t){return this.to(De(),t)}function wn(t){var e;return void 0===t?this._locale._abbr:(e=ne(t),null!=e&&(this._locale=e),this)}function Sn(){return this._locale}
|
|
function bn(t,e){return(t%e+e)%e}function Dn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-ao:new Date(t,e,n).valueOf()}function On(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-ao:Date.UTC(t,e,n)}function Cn(e){var n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?On:Dn;switch(e){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-=bn(n+(this._isUTC?0:this.utcOffset()*oo),so);break;case"minute":n=this._d.valueOf(),n-=bn(n,oo);break;case"second":n=this._d.valueOf(),n-=bn(n,ro)}return this._d.setTime(n),t.updateOffset(this,!0),this}function In(e){var n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?On:Dn;switch(e){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;case"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+=so-bn(n+(this._isUTC?0:this.utcOffset()*oo),so)-1;break;case"minute":n=this._d.valueOf(),n+=oo-bn(n,oo)-1;break;case"second":n=this._d.valueOf(),n+=ro-bn(n,ro)-1}return this._d.setTime(n),t.updateOffset(this,!0),this}function An(){return this._d.valueOf()-6e4*(this._offset||0)}function Nn(){return Math.floor(this.valueOf()/1e3)}function Mn(){return new Date(this.valueOf())}function kn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Ln(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Pn(){return this.isValid()?this.toISOString():null}function Hn(){return f(this)}function Rn(){return u({},d(this))}function xn(){return d(this).overflow}function Wn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Yn(t,e){F(0,[t,t.length],0,e)}function Fn(t){return Gn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Un(t){return Gn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return St(this.year(),1,4)}function jn(){var t=this.localeData()._week;return St(this.year(),t.dow,t.doy)}function Gn(t,e,n,i,r){var o;return null==t?wt(this,i,r).year:(o=St(t,i,r),e>o&&(e=o),Bn.call(this,t,e,n,i,r))}function Bn(t,e,n,i,r){var o=Tt(t,e,n,i,r),s=yt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function qn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Kn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function zn(t,e){e[_r]=y(1e3*("0."+t))}function Qn(){return this._isUTC?"UTC":""}function Zn(){return this._isUTC?"Coordinated Universal Time":""}function Xn(t){return De(1e3*t)}function $n(){return De.apply(null,arguments).parseZone()}function Jn(t){return t}function ti(t,e,n,i){var r=ne(),o=c().set(i,e);return r[n](o,t)}function ei(t,e,n){if(o(t)&&(e=t,t=void 0),t=t||"",null!=e)return ti(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=ti(t,i,n,"month");return r}function ni(t,e,n,i){"boolean"==typeof t?(o(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,o(e)&&(n=e,e=void 0),e=e||"");var r=ne(),s=t?r._week.dow:0;if(null!=n)return ti(e,(n+s)%7,i,"day");var a,l=[];for(a=0;a<7;a++)l[a]=ti(e,(a+s)%7,i,"day");return l}function ii(t,e){return ei(t,e,"months")}function ri(t,e){return ei(t,e,"monthsShort")}function oi(t,e,n){return ni(t,e,n,"weekdays")}function si(t,e,n){return ni(t,e,n,"weekdaysShort")}function ai(t,e,n){return ni(t,e,n,"weekdaysMin")}function li(){var t=this._data;return this._milliseconds=go(this._milliseconds),this._days=go(this._days),this._months=go(this._months),t.milliseconds=go(t.milliseconds),t.seconds=go(t.seconds),t.minutes=go(t.minutes),t.hours=go(t.hours),t.months=go(t.months),t.years=go(t.years),this}function ui(t,e,n,i){var r=Ze(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function ci(t,e){return ui(this,t,e,1)}function hi(t,e){return ui(this,t,e,-1)}function di(t){return t<0?Math.floor(t):Math.ceil(t)}function fi(){var t,e,n,i,r,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*di(pi(a)+s),s=0,a=0),l.milliseconds=o%1e3,t=v(o/1e3),l.seconds=t%60,e=v(t/60),l.minutes=e%60,n=v(e/60),l.hours=n%24,s+=v(n/24),r=v(mi(s)),a+=r,s-=di(pi(r)),i=v(a/12),a%=12,l.days=s,l.months=a,l.years=i,this}function mi(t){return 4800*t/146097}function pi(t){return 146097*t/4800}function gi(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+mi(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(pi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function _i(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN}function vi(t){return function(){return this.as(t)}}function yi(){return Ze(this)}function Ei(t){return t=H(t),this.isValid()?this[t+"s"]():NaN}function Ti(t){return function(){return this.isValid()?this._data[t]:NaN}}function wi(){return v(this.days()/7)}function Si(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function bi(t,e,n){var i=Ze(t).abs(),r=Lo(i.as("s")),o=Lo(i.as("m")),s=Lo(i.as("h")),a=Lo(i.as("d")),l=Lo(i.as("M")),u=Lo(i.as("y")),c=r<=Po.ss&&["s",r]||r<Po.s&&["ss",r]||o<=1&&["m"]||o<Po.m&&["mm",o]||s<=1&&["h"]||s<Po.h&&["hh",s]||a<=1&&["d"]||a<Po.d&&["dd",a]||l<=1&&["M"]||l<Po.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,Si.apply(null,c)}function Di(t){return void 0===t?Lo:"function"==typeof t&&(Lo=t,!0)}function Oi(t,e){return void 0!==Po[t]&&(void 0===e?Po[t]:(Po[t]=e,"s"===t&&(Po.ss=e-1),!0))}function Ci(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=bi(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ii(t){return(t>0)-(t<0)||+t}function Ai(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i=Ho(this._milliseconds)/1e3,r=Ho(this._days),o=Ho(this._months);t=v(i/60),e=v(t/60),i%=60,t%=60,n=v(o/12),o%=12;var s=n,a=o,l=r,u=e,c=t,h=i?i.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",m=Ii(this._months)!==Ii(d)?"-":"",p=Ii(this._days)!==Ii(d)?"-":"",g=Ii(this._milliseconds)!==Ii(d)?"-":"";return f+"P"+(s?m+s+"Y":"")+(a?m+a+"M":"")+(l?p+l+"D":"")+(u||c||h?"T":"")+(u?g+u+"H":"")+(c?g+c+"M":"")+(h?g+h+"S":"")}var Ni,Mi;Mi=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var ki=t.momentProperties=[],Li=!1,Pi={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Hi;Hi=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var Ri={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},xi={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"},Wi=/\d{1,2}/,Yi={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Fi={},Ui={},Vi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ji=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Gi={},Bi={},qi=/\d/,Ki=/\d\d/,zi=/\d{3}/,Qi=/\d{4}/,Zi=/[+-]?\d{6}/,Xi=/\d\d?/,$i=/\d\d\d\d?/,Ji=/\d\d\d\d\d\d?/,tr=/\d{1,3}/,er=/\d{1,4}/,nr=/[+-]?\d{1,6}/,ir=/\d+/,rr=/[+-]?\d+/,or=/Z|[+-]\d\d:?\d\d/gi,sr=/Z|[+-]\d\d(?::?\d\d)?/gi,ar=/[+-]?\d+(\.\d{1,3})?/,lr=/[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,ur={},cr={},hr=0,dr=1,fr=2,mr=3,pr=4,gr=5,_r=6,vr=7,yr=8;F("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),P("year","y"),x("year",1),B("Y",rr),B("YY",Xi,Ki),B("YYYY",er,Qi),B("YYYYY",nr,Zi),B("YYYYYY",nr,Zi),Q(["YYYYY","YYYYYY"],hr),Q("YYYY",function(e,n){n[hr]=2===e.length?t.parseTwoDigitYear(e):y(e)}),Q("YY",function(e,n){n[hr]=t.parseTwoDigitYear(e)}),Q("Y",function(t,e){e[hr]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)};var Er,Tr=et("FullYear",!0);Er=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),F("MMMM",0,0,function(t){return this.localeData().months(this,t)}),P("month","M"),x("month",8),B("M",Xi),B("MM",Xi,Ki),B("MMM",function(t,e){return e.monthsShortRegex(t)}),B("MMMM",function(t,e){return e.monthsRegex(t)}),Q(["M","MM"],function(t,e){e[dr]=y(t)-1}),Q(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[dr]=r:d(n).invalidMonth=t});var wr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Sr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),br="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dr=lr,Or=lr;F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),x("week",5),x("isoWeek",5),B("w",Xi),B("ww",Xi,Ki),B("W",Xi),B("WW",Xi,Ki),Z(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=y(t)});var Cr={dow:0,doy:6};F("d",0,"do","day"),F("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),F("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),F("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),x("day",11),x("weekday",11),x("isoWeekday",11),B("d",Xi),B("e",Xi),B("E",Xi),B("dd",function(t,e){return e.weekdaysMinRegex(t)}),B("ddd",function(t,e){return e.weekdaysShortRegex(t)}),B("dddd",function(t,e){return e.weekdaysRegex(t)}),Z(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:d(n).invalidWeekday=t}),Z(["d","e","E"],function(t,e,n,i){e[i]=y(t)});var Ir="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ar="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mr=lr,kr=lr,Lr=lr;F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Gt),F("k",["kk",2],0,Bt),F("hmm",0,0,function(){return""+Gt.apply(this)+Y(this.minutes(),2)}),F("hmmss",0,0,function(){return""+Gt.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),F("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),F("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),qt("a",!0),qt("A",!1),P("hour","h"),x("hour",13),B("a",Kt),B("A",Kt),B("H",Xi),B("h",Xi),B("k",Xi),B("HH",Xi,Ki),B("hh",Xi,Ki),B("kk",Xi,Ki),B("hmm",$i),B("hmmss",Ji),B("Hmm",$i),B("Hmmss",Ji),Q(["H","HH"],mr),Q(["k","kk"],function(t,e,n){var i=y(t);e[mr]=24===i?0:i}),Q(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Q(["h","hh"],function(t,e,n){e[mr]=y(t),d(n).bigHour=!0}),Q("hmm",function(t,e,n){var i=t.length-2;e[mr]=y(t.substr(0,i)),e[pr]=y(t.substr(i)),d(n).bigHour=!0}),Q("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[mr]=y(t.substr(0,i)),e[pr]=y(t.substr(i,2)),e[gr]=y(t.substr(r)),d(n).bigHour=!0}),Q("Hmm",function(t,e,n){var i=t.length-2;e[mr]=y(t.substr(0,i)),e[pr]=y(t.substr(i))}),Q("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[mr]=y(t.substr(0,i)),e[pr]=y(t.substr(i,2)),e[gr]=y(t.substr(r))});var Pr,Hr=/[ap]\.?m?\.?/i,Rr=et("Hours",!0),xr={calendar:Ri,longDateFormat:xi,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Wi,relativeTime:Yi,months:Sr,monthsShort:br,week:Cr,weekdays:Ir,weekdaysMin:Nr,weekdaysShort:Ar,meridiemParse:Hr},Wr={},Yr={},Fr=/^\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)?)?$/,Ur=/^\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)?)?$/,Vr=/Z|[+-]\d\d(?::?\d\d)?/,jr=[["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}/]],Gr=[["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/]],Br=/^\/?Date\((\-?\d+)/i,qr=/^(?:(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}))$/,Kr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var zr=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Qr=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()}),Zr=function(){return Date.now?Date.now():+new Date},Xr=["year","quarter","month","week","day","hour","minute","second","millisecond"];He("Z",":"),He("ZZ",""),B("Z",sr),B("ZZ",sr),Q(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(sr,t)});var $r=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Jr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,to=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Ze.fn=ke.prototype,Ze.invalid=Me;var eo=tn(1,"add"),no=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var io=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),ro=1e3,oo=60*ro,so=60*oo,ao=3506328*so;F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Yn("gggg","weekYear"),Yn("ggggg","weekYear"),Yn("GGGG","isoWeekYear"),Yn("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),x("weekYear",1),x("isoWeekYear",1),B("G",rr),B("g",rr),B("GG",Xi,Ki),B("gg",Xi,Ki),B("GGGG",er,Qi),B("gggg",er,Qi),B("GGGGG",nr,Zi),B("ggggg",nr,Zi),Z(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=y(t)}),Z(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),F("Q",0,"Qo","quarter"),P("quarter","Q"),x("quarter",7),B("Q",qi),Q("Q",function(t,e){e[dr]=3*(y(t)-1)}),F("D",["DD",2],"Do","date"),P("date","D"),x("date",9),B("D",Xi),B("DD",Xi,Ki),B("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Q(["D","DD"],fr),Q("Do",function(t,e){e[fr]=y(t.match(Xi)[0])});var lo=et("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),x("dayOfYear",4),B("DDD",tr),B("DDDD",zi),Q(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),F("m",["mm",2],0,"minute"),P("minute","m"),x("minute",14),B("m",Xi),B("mm",Xi,Ki),Q(["m","mm"],pr);var uo=et("Minutes",!1);F("s",["ss",2],0,"second"),P("second","s"),x("second",15),B("s",Xi),B("ss",Xi,Ki),Q(["s","ss"],gr);var co=et("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),x("millisecond",16),B("S",tr,qi),B("SS",tr,Ki),B("SSS",tr,zi);var ho;for(ho="SSSS";ho.length<=9;ho+="S")B(ho,ir);for(ho="S";ho.length<=9;ho+="S")Q(ho,zn);var fo=et("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var mo=g.prototype;mo.add=eo,mo.calendar=rn,mo.clone=on,mo.diff=dn,mo.endOf=In,mo.format=_n,mo.from=vn,mo.fromNow=yn,mo.to=En,mo.toNow=Tn,mo.get=rt,mo.invalidAt=xn,mo.isAfter=sn,mo.isBefore=an,mo.isBetween=ln,mo.isSame=un,mo.isSameOrAfter=cn,mo.isSameOrBefore=hn,mo.isValid=Hn,mo.lang=io,mo.locale=wn,mo.localeData=Sn,mo.max=Qr,mo.min=zr,mo.parsingFlags=Rn,mo.set=ot,mo.startOf=Cn,mo.subtract=no,mo.toArray=kn,mo.toObject=Ln,mo.toDate=Mn,mo.toISOString=pn,mo.inspect=gn,mo.toJSON=Pn,mo.toString=mn,mo.unix=Nn,mo.valueOf=An,mo.creationData=Wn,mo.year=Tr,mo.isLeapYear=tt,mo.weekYear=Fn,mo.isoWeekYear=Un,mo.quarter=mo.quarters=qn,mo.month=ft,mo.daysInMonth=mt,mo.week=mo.weeks=Ct,mo.isoWeek=mo.isoWeeks=It,mo.weeksInYear=jn,mo.isoWeeksInYear=Vn,mo.date=lo,mo.day=mo.days=xt,mo.weekday=Wt,mo.isoWeekday=Yt,mo.dayOfYear=Kn,mo.hour=mo.hours=Rr,mo.minute=mo.minutes=uo,mo.second=mo.seconds=co,mo.millisecond=mo.milliseconds=fo,mo.utcOffset=Ye,mo.utc=Ue,mo.local=Ve,mo.parseZone=je,mo.hasAlignedHourOffset=Ge,mo.isDST=Be,mo.isLocal=Ke,mo.isUtcOffset=ze,mo.isUtc=Qe,mo.isUTC=Qe,mo.zoneAbbr=Qn,mo.zoneName=Zn,mo.dates=w("dates accessor is deprecated. Use date instead.",lo),mo.months=w("months accessor is deprecated. Use month instead",ft),mo.years=w("years accessor is deprecated. Use year instead",Tr),mo.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fe),mo.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var po=C.prototype;po.calendar=I,po.longDateFormat=A,po.invalidDate=N,po.ordinal=M,po.preparse=Jn,po.postformat=Jn,po.relativeTime=k,po.pastFuture=L,po.set=D,po.months=lt,po.monthsShort=ut,po.monthsParse=ht,po.monthsRegex=gt,po.monthsShortRegex=pt,po.week=bt,po.firstDayOfYear=Ot,po.firstDayOfWeek=Dt,po.weekdays=kt,po.weekdaysMin=Pt,po.weekdaysShort=Lt,po.weekdaysParse=Rt,po.weekdaysRegex=Ft,po.weekdaysShortRegex=Ut,po.weekdaysMinRegex=Vt,po.isPM=zt,po.meridiem=Qt,Jt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),t.lang=w("moment.lang is deprecated. Use moment.locale instead.",Jt),t.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ne);var go=Math.abs,_o=vi("ms"),vo=vi("s"),yo=vi("m"),Eo=vi("h"),To=vi("d"),wo=vi("w"),So=vi("M"),bo=vi("Q"),Do=vi("y"),Oo=Ti("milliseconds"),Co=Ti("seconds"),Io=Ti("minutes"),Ao=Ti("hours"),No=Ti("days"),Mo=Ti("months"),ko=Ti("years"),Lo=Math.round,Po={ss:44,s:45,m:45,h:22,d:26,M:11},Ho=Math.abs,Ro=ke.prototype;return Ro.isValid=Ne,Ro.abs=li,Ro.add=ci,Ro.subtract=hi,Ro.as=gi,Ro.asMilliseconds=_o,Ro.asSeconds=vo,Ro.asMinutes=yo,Ro.asHours=Eo,Ro.asDays=To,Ro.asWeeks=wo,Ro.asMonths=So,Ro.asQuarters=bo,Ro.asYears=Do,Ro.valueOf=_i,Ro._bubble=fi,Ro.clone=yi,Ro.get=Ei,Ro.milliseconds=Oo,Ro.seconds=Co,Ro.minutes=Io,Ro.hours=Ao,Ro.days=No,Ro.weeks=wi,Ro.months=Mo,Ro.years=ko,Ro.humanize=Ci,Ro.toISOString=Ai,Ro.toString=Ai,Ro.toJSON=Ai,Ro.locale=wn,Ro.localeData=Sn,Ro.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ai),Ro.lang=io,F("X",0,0,"unix"),F("x",0,0,"valueOf"),B("x",rr),B("X",ar),Q("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Q("x",function(t,e,n){n._d=new Date(y(t))}),t.version="2.24.0",function(t){Ni=t}(De),t.fn=mo,t.min=Ce,t.max=Ie,t.now=Zr,t.utc=c,t.unix=Xn,t.months=ii,t.isDate=s,t.locale=Jt,t.invalid=m,t.duration=Ze,t.isMoment=_,t.weekdays=oi,t.parseZone=$n,t.localeData=ne,t.isDuration=Le,t.monthsShort=ri,t.weekdaysMin=ai,t.defineLocale=te,t.updateLocale=ee,t.locales=ie,t.weekdaysShort=si,t.normalizeUnits=H,t.relativeTimeRounding=Di,t.relativeTimeThreshold=Oi,t.calendarFormat=nn,t.prototype=mo,t.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"},t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";function t(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function e(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},ct))}}function n(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function i(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,i=n.getComputedStyle(t,null);return e?i[e]:i}function r(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=i(t),n=e.overflow,s=e.overflowX;return/(auto|scroll|overlay)/.test(n+e.overflowY+s)?t:o(r(t))}function s(t){return t&&t.referenceNode?t.referenceNode:t}function a(t){return 11===t?ft:10===t?mt:ft||mt}function l(t){if(!t)return document.documentElement;for(var e=a(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===i(n,"position")?l(n):n:t?t.ownerDocument.documentElement:document.documentElement}function u(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||l(t.firstElementChild)===t)}function c(t){return null!==t.parentNode?c(t.parentNode):t}function h(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s=o.commonAncestorContainer;if(t!==s&&e!==s||i.contains(r))return u(s)?s:l(s);var a=c(t);return a.host?h(a.host,e):h(t,c(e).host)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[n]}return t[n]}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=d(e,"top"),r=d(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}function m(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function p(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],a(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function g(t){var e=t.body,n=t.documentElement,i=a(10)&&getComputedStyle(n);return{height:p("Height",e,n,i),width:p("Width",e,n,i)}}function _(t){return vt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function v(t){var e={};try{if(a(10)){e=t.getBoundingClientRect();var n=d(t,"top"),r=d(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?g(t.ownerDocument):{},l=s.width||t.clientWidth||o.width,u=s.height||t.clientHeight||o.height,c=t.offsetWidth-l,h=t.offsetHeight-u;if(c||h){var f=i(t);c-=m(f,"x"),h-=m(f,"y"),o.width-=c,o.height-=h}return _(o)}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=a(10),s="HTML"===e.nodeName,l=v(t),u=v(e),c=o(t),h=i(e),d=parseFloat(h.borderTopWidth,10),m=parseFloat(h.borderLeftWidth,10);n&&s&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var p=_({top:l.top-u.top-d,left:l.left-u.left-m,width:l.width,height:l.height});if(p.marginTop=0,p.marginLeft=0,!r&&s){var g=parseFloat(h.marginTop,10),y=parseFloat(h.marginLeft,10);p.top-=d-g,p.bottom-=d-g,p.left-=m-y,p.right-=m-y,p.marginTop=g,p.marginLeft=y}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=f(p,e)),p}function E(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=y(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:d(n),a=e?0:d(n,"left");return _({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o})}function T(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===i(t,"position"))return!0;var n=r(t);return!!n&&T(n)}function w(t){if(!t||!t.parentElement||a())return document.documentElement;for(var e=t.parentElement;e&&"none"===i(e,"transform");)e=e.parentElement;return e||document.documentElement}function S(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},u=a?w(t):h(t,s(e));if("viewport"===i)l=E(u,a);else{var c=void 0;"scrollParent"===i?(c=o(r(e)),"BODY"===c.nodeName&&(c=t.ownerDocument.documentElement)):c="window"===i?t.ownerDocument.documentElement:i;var d=y(c,u,a);if("HTML"!==c.nodeName||T(u))l=d;else{var f=g(t.ownerDocument),m=f.height,p=f.width;l.top+=d.top-d.marginTop,l.bottom=m+d.top,l.left+=d.left-d.marginLeft,l.right=p+d.left}}n=n||0;var _="number"==typeof n;return l.left+=_?n:n.left||0,l.top+=_?n:n.top||0,l.right-=_?n:n.right||0,l.bottom-=_?n:n.bottom||0,l}function b(t){return t.width*t.height}function D(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=S(n,i,o,r),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return vt({key:t},a[t],{area:b(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function O(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return y(n,i?w(e):h(e,s(n)),i)}function C(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),i=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),r=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+i}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function A(t,e,n){n=n.split("-")[0];var i=C(t),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]=e[s]+e[l]/2-i[l]/2,r[a]=n===a?e[a]-i[u]:e[I(a)],r}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=N(t,function(t){return t[e]===n});return t.indexOf(i)}function k(t,e,i){return(void 0===i?t:t.slice(0,M(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&&n(i)&&(e.offsets.popper=_(e.offsets.popper),e.offsets.reference=_(e.offsets.reference),e=i(e,t))}),e}function L(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=k(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function P(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function H(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function R(){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[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function x(t){var e=t.ownerDocument;return e?e.defaultView:window}function W(t,e,n,i){var r="BODY"===t.nodeName,s=r?t.ownerDocument.defaultView:t;s.addEventListener(e,n,{passive:!0}),r||W(o(s.parentNode),e,n,i),i.push(s)}function Y(t,e,n,i){n.updateBound=i,x(t).addEventListener("resize",n.updateBound,{passive:!0});var r=o(t);return W(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function F(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function U(t,e){return x(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function V(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function j(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function G(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&j(e[n])&&(i="px"),t.style[n]=e[n]+i})}
|
|
function B(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function q(t){return G(t.instance.popper,t.styles),B(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&G(t.arrowElement,t.arrowStyles),t}function K(t,e,n,i,r){var o=O(r,e,t,n.positionFixed),s=D(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),G(e,{position:n.positionFixed?"fixed":"absolute"}),n}function z(t,e){var n=t.offsets,i=n.popper,r=n.reference,o=Math.round,s=Math.floor,a=function(t){return t},l=o(r.width),u=o(i.width),c=-1!==["left","right"].indexOf(t.placement),h=-1!==t.placement.indexOf("-"),d=l%2==u%2,f=l%2==1&&u%2==1,m=e?c||h||d?o:s:a,p=e?o:a;return{left:m(f&&!h&&e?i.left-1:i.left),top:p(i.top),bottom:p(i.bottom),right:m(i.right)}}function Q(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=N(t.instance.modifiers,function(t){return"applyStyle"===t.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 s=void 0!==o?o:e.gpuAcceleration,a=l(t.instance.popper),u=v(a),c={position:r.position},h=z(t,window.devicePixelRatio<2||!yt),d="bottom"===n?"top":"bottom",f="right"===i?"left":"right",m=H("transform"),p=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+h.bottom:-u.height+h.bottom:h.top,p="right"===f?"HTML"===a.nodeName?-a.clientWidth+h.right:-u.width+h.right:h.left,s&&m)c[m]="translate3d("+p+"px, "+g+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var _="bottom"===d?-1:1,y="right"===f?-1:1;c[d]=g*_,c[f]=p*y,c.willChange=d+", "+f}var E={"x-placement":t.placement};return t.attributes=vt({},E,t.attributes),t.styles=vt({},c,t.styles),t.arrowStyles=vt({},t.offsets.arrow,t.arrowStyles),t}function Z(t,e,n){var i=N(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function X(t,e){var n;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,a=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",h=u?"Top":"Left",d=h.toLowerCase(),f=u?"left":"top",m=u?"bottom":"right",p=C(r)[c];l[m]-p<a[d]&&(t.offsets.popper[d]-=a[d]-(l[m]-p)),l[d]+p>a[m]&&(t.offsets.popper[d]+=l[d]+p-a[m]),t.offsets.popper=_(t.offsets.popper);var g=l[d]+l[c]/2-p/2,v=i(t.instance.popper),y=parseFloat(v["margin"+h],10),E=parseFloat(v["border"+h+"Width"],10),T=g-t.offsets.popper[d]-y-E;return T=Math.max(Math.min(a[c]-p,T),0),t.arrowElement=r,t.offsets.arrow=(n={},_t(n,d,Math.round(T)),_t(n,f,""),n),t}function $(t){return"end"===t?"start":"start"===t?"end":t}function J(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Tt.indexOf(t),i=Tt.slice(n+1).concat(Tt.slice(0,n));return e?i.reverse():i}function tt(t,e){if(P(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=S(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=I(i),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case wt.FLIP:s=[i,r];break;case wt.CLOCKWISE:s=J(i);break;case wt.COUNTERCLOCKWISE:s=J(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],r=I(i);var u=t.offsets.popper,c=t.offsets.reference,h=Math.floor,d="left"===i&&h(u.right)>h(c.left)||"right"===i&&h(u.left)<h(c.right)||"top"===i&&h(u.bottom)>h(c.top)||"bottom"===i&&h(u.top)<h(c.bottom),f=h(u.left)<h(n.left),m=h(u.right)>h(n.right),p=h(u.top)<h(n.top),g=h(u.bottom)>h(n.bottom),_="left"===i&&f||"right"===i&&m||"top"===i&&p||"bottom"===i&&g,v=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(v&&"start"===o&&f||v&&"end"===o&&m||!v&&"start"===o&&p||!v&&"end"===o&&g),E=!!e.flipVariationsByContent&&(v&&"start"===o&&m||v&&"end"===o&&f||!v&&"start"===o&&g||!v&&"end"===o&&p),T=y||E;(d||_||T)&&(t.flipped=!0,(d||_)&&(i=s[l+1]),T&&(o=$(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=vt({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=k(t.instance.modifiers,t,"flip"))}),t}function et(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[a])&&(t.offsets.popper[l]=o(i[a])),t}function nt(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return _(a)[e]/100*o}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function it(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(N(s,function(t){return-1!==t.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.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return nt(t,r,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,i){j(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}function rt(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,s=r.reference,a=i.split("-")[0],l=void 0;return l=j(+n)?[+n,0]:it(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t}function ot(t,e){var n=e.boundariesElement||l(t.instance.popper);t.instance.reference===n&&(n=l(n));var i=H("transform"),r=t.instance.popper.style,o=r.top,s=r.left,a=r[i];r.top="",r.left="",r[i]="";var u=S(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=s,r[i]=a,e.boundaries=u;var c=e.priority,h=t.offsets.popper,d={primary:function(t){var n=h[t];return h[t]<u[t]&&!e.escapeWithReference&&(n=Math.max(h[t],u[t])),_t({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=h[n];return h[t]>u[t]&&!e.escapeWithReference&&(i=Math.min(h[n],u[t]-("right"===t?h.width:h.height))),_t({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=vt({},h,d[e](t))}),t.offsets.popper=h,t}function st(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:_t({},l,o[l]),end:_t({},l,o[l]+o[u]-s[u])};t.offsets.popper=vt({},s,c[i])}return t}function at(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function lt(t){var e=t.placement,n=e.split("-")[0],i=t.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),t.placement=I(e),t.offsets.popper=_(r),t}var ut="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,ct=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(ut&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}(),ht=ut&&window.Promise,dt=ht?t:e,ft=ut&&!(!window.MSInputMethodContext||!document.documentMode),mt=ut&&/MSIE 10/.test(navigator.userAgent),pt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},gt=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),_t=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},vt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},yt=ut&&/Firefox/i.test(navigator.userAgent),Et=["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"],Tt=Et.slice(3),wt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},St={shift:{order:100,enabled:!0,fn:st},offset:{order:200,enabled:!0,fn:rt,offset:0},preventOverflow:{order:300,enabled:!0,fn:ot,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:et},arrow:{order:500,enabled:!0,fn:X,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:tt,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:lt},hide:{order:800,enabled:!0,fn:at},computeStyle:{order:850,enabled:!0,fn:Q,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:q,onLoad:K,gpuAcceleration:void 0}},bt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:St},Dt=function(){function t(e,i){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};pt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=dt(this.update.bind(this)),this.options=vt({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(vt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=vt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return vt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&n(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 gt(t,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return F.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();return Dt.Utils=("undefined"!=typeof window?window:global).PopperUtils,Dt.placements=Et,Dt.Defaults=bt,Dt}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.PopperUtils={})}(this,function(t){"use strict";function e(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,i=n.getComputedStyle(t,null);return e?i[e]:i}function n(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function i(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var r=e(t),o=r.overflow,s=r.overflowX;return/(auto|scroll|overlay)/.test(o+r.overflowY+s)?t:i(n(t))}function r(t){return t&&t.referenceNode?t.referenceNode:t}function o(t){return 11===t?q:10===t?K:q||K}function s(t){if(!t)return document.documentElement;for(var n=o(10)?document.body:null,i=t.offsetParent||null;i===n&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===e(i,"position")?s(i):i:t?t.ownerDocument.documentElement:document.documentElement}function a(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||s(t.firstElementChild)===t)}function l(t){return null!==t.parentNode?l(t.parentNode):t}function u(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var c=o.commonAncestorContainer;if(t!==c&&e!==c||i.contains(r))return a(c)?c:s(c);var h=l(t);return h.host?u(h.host,e):u(t,l(e).host)}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[n]}return t[n]}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=c(e,"top"),r=c(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}function d(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function f(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],o(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function m(t){var e=t.body,n=t.documentElement,i=o(10)&&getComputedStyle(n);return{height:f("Height",e,n,i),width:f("Width",e,n,i)}}function p(t){return z({},t,{right:t.left+t.width,bottom:t.top+t.height})}function g(t){var n={};try{if(o(10)){n=t.getBoundingClientRect();var i=c(t,"top"),r=c(t,"left");n.top+=i,n.left+=r,n.bottom+=i,n.right+=r}else n=t.getBoundingClientRect()}catch(t){}var s={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},a="HTML"===t.nodeName?m(t.ownerDocument):{},l=a.width||t.clientWidth||s.width,u=a.height||t.clientHeight||s.height,h=t.offsetWidth-l,f=t.offsetHeight-u;if(h||f){var g=e(t);h-=d(g,"x"),f-=d(g,"y"),s.width-=h,s.height-=f}return p(s)}function _(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=o(10),a="HTML"===n.nodeName,l=g(t),u=g(n),c=i(t),d=e(n),f=parseFloat(d.borderTopWidth,10),m=parseFloat(d.borderLeftWidth,10);r&&a&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var _=p({top:l.top-u.top-f,left:l.left-u.left-m,width:l.width,height:l.height});if(_.marginTop=0,_.marginLeft=0,!s&&a){var v=parseFloat(d.marginTop,10),y=parseFloat(d.marginLeft,10);_.top-=f-v,_.bottom-=f-v,_.left-=m-y,_.right-=m-y,_.marginTop=v,_.marginLeft=y}return(s&&!r?n.contains(c):n===c&&"BODY"!==c.nodeName)&&(_=h(_,n)),_}function v(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=_(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:c(n),a=e?0:c(n,"left");return p({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o})}function y(t){var i=t.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===e(t,"position"))return!0;var r=n(t);return!!r&&y(r)}function E(t){if(!t||!t.parentElement||o())return document.documentElement;for(var n=t.parentElement;n&&"none"===e(n,"transform");)n=n.parentElement;return n||document.documentElement}function T(t,e,o,s){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},c=a?E(t):u(t,r(e));if("viewport"===s)l=v(c,a);else{var h=void 0;"scrollParent"===s?(h=i(n(e)),"BODY"===h.nodeName&&(h=t.ownerDocument.documentElement)):h="window"===s?t.ownerDocument.documentElement:s;var d=_(h,c,a);if("HTML"!==h.nodeName||y(c))l=d;else{var f=m(t.ownerDocument),p=f.height,g=f.width;l.top+=d.top-d.marginTop,l.bottom=p+d.top,l.left+=d.left-d.marginLeft,l.right=g+d.left}}o=o||0;var T="number"==typeof o;return l.left+=T?o:o.left||0,l.top+=T?o:o.top||0,l.right-=T?o:o.right||0,l.bottom-=T?o:o.bottom||0,l}function w(t){return t.width*t.height}function S(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=T(n,i,o,r),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return z({key:t},a[t],{area:w(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function b(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function D(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Q))}}function O(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function C(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=O(t,function(t){return t[e]===n});return t.indexOf(i)}function I(t){var e=void 0;if("HTML"===t.nodeName){var n=m(t.ownerDocument);e={width:n.width,height:n.height,left:0,top:0}}else e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop};return p(e)}function A(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),i=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),r=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+i}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function M(t,e,n){n=n.split("-")[0];var i=A(t),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]=e[s]+e[l]/2-i[l]/2,r[a]=n===a?e[a]-i[u]:e[N(a)],r}function k(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(n,i?E(e):u(e,r(n)),i)}function L(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function P(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function H(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function R(t,e,n){var i=O(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function x(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function W(t){var e=t.ownerDocument;return e?e.defaultView:window}function Y(t,e){return W(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function F(t,e,n){return(void 0===n?t:t.slice(0,C(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&P(n)&&(e.offsets.popper=p(e.offsets.popper),e.offsets.reference=p(e.offsets.reference),e=n(e,t))}),e}function U(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function V(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&x(e[n])&&(i="px"),t.style[n]=e[n]+i})}function j(t,e,n,r){var o="BODY"===t.nodeName,s=o?t.ownerDocument.defaultView:t;s.addEventListener(e,n,{passive:!0}),o||j(i(s.parentNode),e,n,r),r.push(s)}function G(t,e,n,r){n.updateBound=r,W(t).addEventListener("resize",n.updateBound,{passive:!0});var o=i(t);return j(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}var B="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,q=B&&!(!window.MSInputMethodContext||!document.documentMode),K=B&&/MSIE 10/.test(navigator.userAgent),z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Q=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(B&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}(),Z=B&&window.Promise,X=Z?b:D,$={computeAutoPlacement:S,debounce:X,findIndex:C,getBordersSize:d,getBoundaries:T,getBoundingClientRect:g,getClientRect:p,getOffsetParent:s,getOffsetRect:I,getOffsetRectRelativeToArbitraryNode:_,getOuterSizes:A,getParentNode:n,getPopperOffsets:M,getReferenceOffsets:k,getScroll:c,getScrollParent:i,getStyleComputedProperty:e,getSupportedPropertyName:L,getWindowSizes:m,isFixed:y,isFunction:P,isModifierEnabled:H,isModifierRequired:R,isNumeric:x,removeEventListeners:Y,runModifiers:F,setAttributes:U,setStyles:V,setupEventListeners:G};t.computeAutoPlacement=S,t.debounce=X,t.findIndex=C,t.getBordersSize=d,t.getBoundaries=T,t.getBoundingClientRect=g,t.getClientRect=p,t.getOffsetParent=s,t.getOffsetRect=I,t.getOffsetRectRelativeToArbitraryNode=_,t.getOuterSizes=A,t.getParentNode=n,t.getPopperOffsets=M,t.getReferenceOffsets=k,t.getScroll=c,t.getScrollParent=i,t.getStyleComputedProperty=e,t.getSupportedPropertyName=L,t.getWindowSizes=m,t.isFixed=y,t.isFunction=P,t.isModifierEnabled=H,t.isModifierRequired=R,t.isNumeric=x,t.removeEventListeners=Y,t.runModifiers=F,t.setAttributes=U,t.setStyles=V,t.setupEventListeners=G,t.default=$,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):(t=t||self,e(t.bootstrap={},t.jQuery,t.Popper))}(this,function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){o(t,e,n[e])})}return t}function a(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function l(t){return{}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()}function u(){return{bindType:f,delegateType:f,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}}function c(t){var n=this,i=!1;return e(this).one(m.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||m.triggerTransitionEnd(n)},t),this}function h(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===ut.indexOf(n)||Boolean(t.nodeValue.match(dt)||t.nodeValue.match(ft));for(var i=e.filter(function(t){return t instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1}function d(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=new window.DOMParser,r=i.parseFromString(t,"text/html"),o=Object.keys(e),s=[].slice.call(r.body.querySelectorAll("*")),a=0,l=s.length;a<l;a++){(function(t,n){var i=s[t],r=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),l=[].concat(e["*"]||[],e[r]||[]);a.forEach(function(t){h(t,l)||i.removeAttribute(t.nodeName)})})(a)}return r.body.innerHTML}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var f="transitionend",m={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){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],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(f)},supportsTransitionEnd:function(){return Boolean(f)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=e[i],s=o&&m.isElement(o)?"element":l(o);if(!new RegExp(r).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?m.findShadowRoot(t.parentNode):null}};!function(){e.fn.emulateTransitionEnd=c,e.event.special[m.TRANSITION_END]=u()}();var p="alert",g=e.fn[p],_={DISMISS:'[data-dismiss="alert"]'},v={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},y={ALERT:"alert",FADE:"fade",SHOW:"show"},E=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=m.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest("."+y.ALERT)[0]),i},n._triggerCloseEvent=function(t){var n=e.Event(v.CLOSE);return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass(y.SHOW),!e(t).hasClass(y.FADE))return void this._destroyElement(t);var i=m.getTransitionDurationFromElement(t);e(t).one(m.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(i)},n._destroyElement=function(t){e(t).detach().trigger(v.CLOSED).remove()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),r=i.data("bs.alert");r||(r=new t(this),i.data("bs.alert",r)),"close"===n&&r[n](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(v.CLICK_DATA_API,_.DISMISS,E._handleDismiss(new E)),e.fn[p]=E._jQueryInterface,e.fn[p].Constructor=E,e.fn[p].noConflict=function(){return e.fn[p]=g,E._jQueryInterface};var T=e.fn.button,w={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},S={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},b={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},D=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(S.DATA_TOGGLE)[0];if(i){var r=this._element.querySelector(S.INPUT);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(w.ACTIVE))t=!1;else{var o=i.querySelector(S.ACTIVE);o&&e(o).removeClass(w.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(w.ACTIVE),e(r).trigger("change")}r.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(w.ACTIVE)),t&&e(this._element).toggleClass(w.ACTIVE)},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(b.CLICK_DATA_API,S.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(w.BUTTON)||(n=e(n).closest(S.BUTTON)),D._jQueryInterface.call(e(n),"toggle")}).on(b.FOCUS_BLUR_DATA_API,S.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(S.BUTTON)[0];e(n).toggleClass(w.FOCUS,/^focus(in)?$/.test(t.type))}),e.fn.button=D._jQueryInterface,e.fn.button.Constructor=D,e.fn.button.noConflict=function(){return e.fn.button=T,D._jQueryInterface};var O="carousel",C=".bs.carousel",I=e.fn[O],A={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},N={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},M={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},k={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},L={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"},P={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"]'},H={TOUCH:"touch",PEN:"pen"},R=function(){function t(t,e){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(e),this._element=t,this._indicatorsElement=this._element.querySelector(P.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(M.NEXT)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(M.PREV)},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(P.NEXT_PREV)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(P.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)return void e(this._element).one(k.SLID,function(){return n.to(t)})
|
|
;if(i===t)return this.pause(),void this.cycle();var r=t>i?M.NEXT:M.PREV;this._slide(r,this._items[t])}},n.dispose=function(){e(this._element).off(C),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=s({},A,t),m.typeCheckConfig(O,t,N),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(k.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(k.MOUSEENTER,function(e){return t.pause(e)}).on(k.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&H[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&&H[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)},500+t._config.interval))};e(this._element.querySelectorAll(P.ITEM_IMG)).on(k.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(k.POINTERDOWN,function(t){return n(t)}),e(this._element).on(k.POINTERUP,function(t){return r(t)}),this._element.classList.add(L.POINTER_EVENT)):(e(this._element).on(k.TOUCHSTART,function(t){return n(t)}),e(this._element).on(k.TOUCHMOVE,function(t){return i(t)}),e(this._element).on(k.TOUCHEND,function(t){return r(t)}))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(P.ITEM)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===M.NEXT,i=t===M.PREV,r=this._getItemIndex(e),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return e;var s=t===M.PREV?-1:1,a=(r+s)%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),r=this._getItemIndex(this._element.querySelector(P.ACTIVE_ITEM)),o=e.Event(k.SLIDE,{relatedTarget:t,direction:n,from:r,to:i});return e(this._element).trigger(o),o},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(P.ACTIVE));e(n).removeClass(L.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(L.ACTIVE)}},n._slide=function(t,n){var i,r,o,s=this,a=this._element.querySelector(P.ACTIVE_ITEM),l=this._getItemIndex(a),u=n||a&&this._getItemByDirection(t,a),c=this._getItemIndex(u),h=Boolean(this._interval);if(t===M.NEXT?(i=L.LEFT,r=L.NEXT,o=M.LEFT):(i=L.RIGHT,r=L.PREV,o=M.RIGHT),u&&e(u).hasClass(L.ACTIVE))return void(this._isSliding=!1);if(!this._triggerSlideEvent(u,o).isDefaultPrevented()&&a&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var d=e.Event(k.SLID,{relatedTarget:u,direction:o,from:l,to:c});if(e(this._element).hasClass(L.SLIDE)){e(u).addClass(r),m.reflow(u),e(a).addClass(i),e(u).addClass(i);var f=parseInt(u.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var p=m.getTransitionDurationFromElement(a);e(a).one(m.TRANSITION_END,function(){e(u).removeClass(i+" "+r).addClass(L.ACTIVE),e(a).removeClass(L.ACTIVE+" "+r+" "+i),s._isSliding=!1,setTimeout(function(){return e(s._element).trigger(d)},0)}).emulateTransitionEnd(p)}else e(a).removeClass(L.ACTIVE),e(u).addClass(L.ACTIVE),this._isSliding=!1,e(this._element).trigger(d);h&&this.cycle()}},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.carousel"),r=s({},A,e(this).data());"object"==typeof n&&(r=s({},r,n));var o="string"==typeof n?n:r.slide;if(i||(i=new t(this,r),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof o){if(void 0===i[o])throw new TypeError('No method named "'+o+'"');i[o]()}else r.interval&&r.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var i=m.getSelectorFromElement(this);if(i){var r=e(i)[0];if(r&&e(r).hasClass(L.CAROUSEL)){var o=s({},e(r).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),t._jQueryInterface.call(e(r),o),a&&e(r).data("bs.carousel").to(a),n.preventDefault()}}},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return A}}]),t}();e(document).on(k.CLICK_DATA_API,P.DATA_SLIDE,R._dataApiClickHandler),e(window).on(k.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(P.DATA_RIDE)),n=0,i=t.length;n<i;n++){var r=e(t[n]);R._jQueryInterface.call(r,r.data())}}),e.fn[O]=R._jQueryInterface,e.fn[O].Constructor=R,e.fn[O].noConflict=function(){return e.fn[O]=I,R._jQueryInterface};var x="collapse",W=e.fn[x],Y={toggle:!0,parent:""},F={toggle:"boolean",parent:"(string|element)"},U={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},V={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},j={WIDTH:"width",HEIGHT:"height"},G={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},B=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(G.DATA_TOGGLE)),i=0,r=n.length;i<r;i++){var o=n[i],s=m.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&a.length>0&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){e(this._element).hasClass(V.SHOW)?this.hide():this.show()},n.show=function(){var n=this;if(!this._isTransitioning&&!e(this._element).hasClass(V.SHOW)){var i,r;if(this._parent&&(i=[].slice.call(this._parent.querySelectorAll(G.ACTIVES)).filter(function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(V.COLLAPSE)}),0===i.length&&(i=null)),!(i&&(r=e(i).not(this._selector).data("bs.collapse"))&&r._isTransitioning)){var o=e.Event(U.SHOW);if(e(this._element).trigger(o),!o.isDefaultPrevented()){i&&(t._jQueryInterface.call(e(i).not(this._selector),"hide"),r||e(i).data("bs.collapse",null));var s=this._getDimension();e(this._element).removeClass(V.COLLAPSE).addClass(V.COLLAPSING),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(V.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var a=function(){e(n._element).removeClass(V.COLLAPSING).addClass(V.COLLAPSE).addClass(V.SHOW),n._element.style[s]="",n.setTransitioning(!1),e(n._element).trigger(U.SHOWN)},l=s[0].toUpperCase()+s.slice(1),u="scroll"+l,c=m.getTransitionDurationFromElement(this._element);e(this._element).one(m.TRANSITION_END,a).emulateTransitionEnd(c),this._element.style[s]=this._element[u]+"px"}}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(V.SHOW)){var n=e.Event(U.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",m.reflow(this._element),e(this._element).addClass(V.COLLAPSING).removeClass(V.COLLAPSE).removeClass(V.SHOW);var r=this._triggerArray.length;if(r>0)for(var o=0;o<r;o++){var s=this._triggerArray[o],a=m.getSelectorFromElement(s);if(null!==a){var l=e([].slice.call(document.querySelectorAll(a)));l.hasClass(V.SHOW)||e(s).addClass(V.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0);var u=function(){t.setTransitioning(!1),e(t._element).removeClass(V.COLLAPSING).addClass(V.COLLAPSE).trigger(U.HIDDEN)};this._element.style[i]="";var c=m.getTransitionDurationFromElement(this._element);e(this._element).one(m.TRANSITION_END,u).emulateTransitionEnd(c)}}},n.setTransitioning=function(t){this._isTransitioning=t},n.dispose=function(){e.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(t){return t=s({},Y,t),t.toggle=Boolean(t.toggle),m.typeCheckConfig(x,t,F),t},n._getDimension=function(){return e(this._element).hasClass(j.WIDTH)?j.WIDTH:j.HEIGHT},n._getParent=function(){var n,i=this;m.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(n.querySelectorAll(r));return e(o).each(function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),n},n._addAriaAndCollapsedClass=function(t,n){var i=e(t).hasClass(V.SHOW);n.length&&e(n).toggleClass(V.COLLAPSED,!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=m.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),r=i.data("bs.collapse"),o=s({},Y,i.data(),"object"==typeof n&&n?n:{});if(!r&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),r||(r=new t(this,o),i.data("bs.collapse",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Y}}]),t}();e(document).on(U.CLICK_DATA_API,G.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=e(this),i=m.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));e(r).each(function(){var t=e(this),i=t.data("bs.collapse"),r=i?"toggle":n.data();B._jQueryInterface.call(t,r)})}),e.fn[x]=B._jQueryInterface,e.fn[x].Constructor=B,e.fn[x].noConflict=function(){return e.fn[x]=W,B._jQueryInterface};var q="dropdown",K=e.fn[q],z=new RegExp("38|40|27"),Q={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},Z={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},X={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)"},$={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},J={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},tt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},et=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=t.prototype;return i.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(Z.DISABLED)){var i=t._getParentFromElement(this._element),r=e(this._menu).hasClass(Z.SHOW);if(t._clearMenus(),!r){var o={relatedTarget:this._element},s=e.Event(Q.SHOW,o);if(e(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:m.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(i).addClass(Z.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(i).closest(X.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(Z.SHOW),e(i).toggleClass(Z.SHOW).trigger(e.Event(Q.SHOWN,o))}}}},i.show=function(){if(!(this._element.disabled||e(this._element).hasClass(Z.DISABLED)||e(this._menu).hasClass(Z.SHOW))){var n={relatedTarget:this._element},i=e.Event(Q.SHOW,n),r=t._getParentFromElement(this._element);e(r).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(Z.SHOW),e(r).toggleClass(Z.SHOW).trigger(e.Event(Q.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(Z.DISABLED)&&e(this._menu).hasClass(Z.SHOW)){var n={relatedTarget:this._element},i=e.Event(Q.HIDE,n),r=t._getParentFromElement(this._element);e(r).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(Z.SHOW),e(r).toggleClass(Z.SHOW).trigger(e.Event(Q.HIDDEN,n)))}},i.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;e(this._element).on(Q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},i._getConfig=function(t){return t=s({},this.constructor.Default,e(this._element).data(),t),m.typeCheckConfig(q,t,this.constructor.DefaultType),t},i._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(X.MENU))}return this._menu},i._getPlacement=function(){var t=e(this._element.parentNode),n=$.BOTTOM;return t.hasClass(Z.DROPUP)?(n=$.TOP,e(this._menu).hasClass(Z.MENURIGHT)&&(n=$.TOPEND)):t.hasClass(Z.DROPRIGHT)?n=$.RIGHT:t.hasClass(Z.DROPLEFT)?n=$.LEFT:e(this._menu).hasClass(Z.MENURIGHT)&&(n=$.BOTTOMEND),n},i._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.dropdown"),r="object"==typeof n?n:null;if(i||(i=new t(this,r),e(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(X.DATA_TOGGLE)),r=0,o=i.length;r<o;r++){var s=t._getParentFromElement(i[r]),a=e(i[r]).data("bs.dropdown"),l={relatedTarget:i[r]};if(n&&"click"===n.type&&(l.clickEvent=n),a){var u=a._menu;if(e(s).hasClass(Z.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&e.contains(s,n.target))){var c=e.Event(Q.HIDE,l);e(s).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),i[r].setAttribute("aria-expanded","false"),e(u).removeClass(Z.SHOW),e(s).removeClass(Z.SHOW).trigger(e.Event(Q.HIDDEN,l)))}}}},t._getParentFromElement=function(t){var e,n=m.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||e(n.target).closest(X.MENU).length)):z.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!e(this).hasClass(Z.DISABLED))){var i=t._getParentFromElement(this),r=e(i).hasClass(Z.SHOW);if(!r||r&&(27===n.which||32===n.which)){if(27===n.which){var o=i.querySelector(X.DATA_TOGGLE);e(o).trigger("focus")}return void e(this).trigger("click")}var s=[].slice.call(i.querySelectorAll(X.VISIBLE_ITEMS));if(0!==s.length){var a=s.indexOf(n.target);38===n.which&&a>0&&a--,40===n.which&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return J}},{key:"DefaultType",get:function(){return tt}}]),t}();e(document).on(Q.KEYDOWN_DATA_API,X.DATA_TOGGLE,et._dataApiKeydownHandler).on(Q.KEYDOWN_DATA_API,X.MENU,et._dataApiKeydownHandler).on(Q.CLICK_DATA_API+" "+Q.KEYUP_DATA_API,et._clearMenus).on(Q.CLICK_DATA_API,X.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),et._jQueryInterface.call(e(this),"toggle")}).on(Q.CLICK_DATA_API,X.FORM_CHILD,function(t){t.stopPropagation()}),e.fn[q]=et._jQueryInterface,e.fn[q].Constructor=et,e.fn[q].noConflict=function(){return e.fn[q]=K,et._jQueryInterface};var nt=e.fn.modal,it={backdrop:!0,keyboard:!0,focus:!0,show:!0},rt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},ot={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},st={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},at={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"},lt=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(at.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(t){return this._isShown?this.hide():this.show(t)},n.show=function(t){var n=this;if(!this._isShown&&!this._isTransitioning){e(this._element).hasClass(st.FADE)&&(this._isTransitioning=!0);var i=e.Event(ot.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(ot.CLICK_DISMISS,at.DATA_DISMISS,function(t){return n.hide(t)}),e(this._dialog).on(ot.MOUSEDOWN_DISMISS,function(){e(n._element).one(ot.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},n.hide=function(t){var n=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=e.Event(ot.HIDE);if(e(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var r=e(this._element).hasClass(st.FADE);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(ot.FOCUSIN),e(this._element).removeClass(st.SHOW),e(this._element).off(ot.CLICK_DISMISS),e(this._dialog).off(ot.MOUSEDOWN_DISMISS),r){var o=m.getTransitionDurationFromElement(this._element);e(this._element).one(m.TRANSITION_END,function(t){return n._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return e(t).off(".bs.modal")}),e(document).off(ot.FOCUSIN),e.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(t){return t=s({},it,t),m.typeCheckConfig("modal",t,rt),t},n._showElement=function(t){var n=this,i=e(this._element).hasClass(st.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(st.SCROLLABLE)?this._dialog.querySelector(at.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&m.reflow(this._element),e(this._element).addClass(st.SHOW),this._config.focus&&this._enforceFocus();var r=e.Event(ot.SHOWN,{relatedTarget:t}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(r)};if(i){var s=m.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},n._enforceFocus=function(){var t=this;e(document).off(ot.FOCUSIN).on(ot.FOCUSIN,function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()})},n._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(ot.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(ot.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var t=this;this._isShown?e(window).on(ot.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(ot.RESIZE)},n._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(st.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(ot.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(t){var n=this,i=e(this._element).hasClass(st.FADE)?st.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=st.BACKDROP,i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on(ot.CLICK_DISMISS,function(t){if(n._ignoreBackdropClick)return void(n._ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&m.reflow(this._backdrop),e(this._backdrop).addClass(st.SHOW),!t)return;if(!i)return void t();var r=m.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(st.SHOW);var o=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass(st.FADE)){var s=m.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else t&&t()},n._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(at.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(at.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(st.OPEN)},n._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(at.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(""+at.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")});var i=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var t=document.createElement("div");t.className=st.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(n,i){return this.each(function(){var r=e(this).data("bs.modal"),o=s({},it,e(this).data(),"object"==typeof n&&n?n:{});if(r||(r=new t(this,o),e(this).data("bs.modal",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](i)}else o.show&&r.show(i)})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return it}}]),t}();e(document).on(ot.CLICK_DATA_API,at.DATA_TOGGLE,function(t){var n,i=this,r=m.getSelectorFromElement(this);r&&(n=document.querySelector(r));var o=e(n).data("bs.modal")?"toggle":s({},e(n).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var a=e(n).one(ot.SHOW,function(t){t.isDefaultPrevented()||a.one(ot.HIDDEN,function(){e(i).is(":visible")&&i.focus()})});lt._jQueryInterface.call(e(n),o,this)}),e.fn.modal=lt._jQueryInterface,e.fn.modal.Constructor=lt,e.fn.modal.noConflict=function(){return e.fn.modal=nt,lt._jQueryInterface};var ut=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ct=/^aria-[\w-]*$/i,ht={"*":["class","dir","id","lang","role",ct],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:[]},dt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,ft=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,mt="tooltip",pt=e.fn[mt],gt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),_t=["sanitize","whiteList","sanitizeFn"],vt={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"},yt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Et={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:ht},Tt={SHOW:"show",OUT:"out"},wt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},St={FADE:"fade",SHOW:"show"},bt={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},Dt={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Ot=function(){function t(t,e){if(void 0===n)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.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(St.SHOW))return void this._leave(null,this);this._enter(null,this)}},i.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},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var r=m.findShadowRoot(this.element),o=e.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!o)return;var s=this.getTipElement(),a=m.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(s).addClass(St.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(l);this.addAttachmentClass(u);var c=this._getContainer();e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo(c),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:u,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:bt.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(s).addClass(St.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var h=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===Tt.OUT&&t._leave(null,t)};if(e(this.tip).hasClass(St.FADE)){
|
|
var d=m.getTransitionDurationFromElement(this.tip);e(this.tip).one(m.TRANSITION_END,h).emulateTransitionEnd(d)}else h()}},i.hide=function(t){var n=this,i=this.getTipElement(),r=e.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==Tt.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(r),!r.isDefaultPrevented()){if(e(i).removeClass(St.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[Dt.CLICK]=!1,this._activeTrigger[Dt.FOCUS]=!1,this._activeTrigger[Dt.HOVER]=!1,e(this.tip).hasClass(St.FADE)){var s=m.getTransitionDurationFromElement(i);e(i).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(bt.TOOLTIP_INNER)),this.getTitle()),e(t).removeClass(St.FADE+" "+St.SHOW)},i.setElementContent=function(t,n){if("object"==typeof n&&(n.nodeType||n.jquery))return void(this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text()));this.config.html?(this.config.sanitize&&(n=d(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n)},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return yt[t.toUpperCase()]},i._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!==Dt.MANUAL){var i=n===Dt.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,r=n===Dt.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()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,n){var i=this.constructor.DATA_KEY;return n=n||e(t.currentTarget).data(i),n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?Dt.FOCUS:Dt.HOVER]=!0),e(n.getTipElement()).hasClass(St.SHOW)||n._hoverState===Tt.SHOW?void(n._hoverState=Tt.SHOW):(clearTimeout(n._timeout),n._hoverState=Tt.SHOW,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===Tt.SHOW&&n.show()},n.config.delay.show)):void n.show())},i._leave=function(t,n){var i=this.constructor.DATA_KEY;if(n=n||e(t.currentTarget).data(i),n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?Dt.FOCUS:Dt.HOVER]=!1),!n._isWithActiveTrigger()){if(clearTimeout(n._timeout),n._hoverState=Tt.OUT,!n.config.delay||!n.config.delay.hide)return void n.hide();n._timeout=setTimeout(function(){n._hoverState===Tt.OUT&&n.hide()},n.config.delay.hide)}},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach(function(t){-1!==_t.indexOf(t)&&delete n[t]}),t=s({},this.constructor.Default,n,"object"==typeof t&&t?t:{}),"number"==typeof 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()),m.typeCheckConfig(mt,t,this.constructor.DefaultType),t.sanitize&&(t.template=d(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(gt);null!==n&&n.length&&t.removeClass(n.join(""))},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(St.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.tooltip"),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,r),e(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Et}},{key:"NAME",get:function(){return mt}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return wt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return vt}}]),t}();e.fn[mt]=Ot._jQueryInterface,e.fn[mt].Constructor=Ot,e.fn[mt].noConflict=function(){return e.fn[mt]=pt,Ot._jQueryInterface};var Ct="popover",It=e.fn[Ct],At=new RegExp("(^|\\s)bs-popover\\S+","g"),Nt=s({},Ot.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>'}),Mt=s({},Ot.DefaultType,{content:"(string|element|function)"}),kt={FADE:"fade",SHOW:"show"},Lt={TITLE:".popover-header",CONTENT:".popover-body"},Pt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Ht=function(t){function n(){return t.apply(this,arguments)||this}a(n,t);var i=n.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(Lt.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(Lt.CONTENT),n),t.removeClass(kt.FADE+" "+kt.SHOW)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(At);null!==n&&n.length>0&&t.removeClass(n.join(""))},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data("bs.popover"),r="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new n(this,r),e(this).data("bs.popover",i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Nt}},{key:"NAME",get:function(){return Ct}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Pt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Mt}}]),n}(Ot);e.fn[Ct]=Ht._jQueryInterface,e.fn[Ct].Constructor=Ht,e.fn[Ct].noConflict=function(){return e.fn[Ct]=It,Ht._jQueryInterface};var Rt="scrollspy",xt=e.fn[Rt],Wt={offset:10,method:"auto",target:""},Yt={offset:"number",method:"string",target:"(string|element)"},Ft={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Ut={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Vt={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"},jt={OFFSET:"offset",POSITION:"position"},Gt=function(){function t(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+" "+Vt.NAV_LINKS+","+this._config.target+" "+Vt.LIST_ITEMS+","+this._config.target+" "+Vt.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(Ft.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?jt.OFFSET:jt.POSITION,i="auto"===this._config.method?n:this._config.method,r=i===jt.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var n,o=m.getSelectorFromElement(t);if(o&&(n=document.querySelector(o)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[i]().top+r,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if(t=s({},Wt,"object"==typeof t&&t?t:{}),"string"!=typeof t.target){var n=e(t.target).attr("id");n||(n=m.getUID(Rt),e(t.target).attr("id",n)),t.target="#"+n}return m.typeCheckConfig(Rt,t,Yt),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];return void(this._activeTarget!==i&&this._activate(i))}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length,o=r;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},n._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(Ut.DROPDOWN_ITEM)?(i.closest(Vt.DROPDOWN).find(Vt.DROPDOWN_TOGGLE).addClass(Ut.ACTIVE),i.addClass(Ut.ACTIVE)):(i.addClass(Ut.ACTIVE),i.parents(Vt.NAV_LIST_GROUP).prev(Vt.NAV_LINKS+", "+Vt.LIST_ITEMS).addClass(Ut.ACTIVE),i.parents(Vt.NAV_LIST_GROUP).prev(Vt.NAV_ITEMS).children(Vt.NAV_LINKS).addClass(Ut.ACTIVE)),e(this._scrollElement).trigger(Ft.ACTIVATE,{relatedTarget:t})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Ut.ACTIVE)}).forEach(function(t){return t.classList.remove(Ut.ACTIVE)})},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.scrollspy"),r="object"==typeof n&&n;if(i||(i=new t(this,r),e(this).data("bs.scrollspy",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Wt}}]),t}();e(window).on(Ft.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Vt.DATA_SPY)),n=t.length,i=n;i--;){var r=e(t[i]);Gt._jQueryInterface.call(r,r.data())}}),e.fn[Rt]=Gt._jQueryInterface,e.fn[Rt].Constructor=Gt,e.fn[Rt].noConflict=function(){return e.fn[Rt]=xt,Gt._jQueryInterface};var Bt=e.fn.tab,qt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Kt={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},zt={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"},Qt=function(){function t(t){this._element=t}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Kt.ACTIVE)||e(this._element).hasClass(Kt.DISABLED))){var n,i,r=e(this._element).closest(zt.NAV_LIST_GROUP)[0],o=m.getSelectorFromElement(this._element);if(r){var s="UL"===r.nodeName||"OL"===r.nodeName?zt.ACTIVE_UL:zt.ACTIVE;i=e.makeArray(e(r).find(s)),i=i[i.length-1]}var a=e.Event(qt.HIDE,{relatedTarget:this._element}),l=e.Event(qt.SHOW,{relatedTarget:i});if(i&&e(i).trigger(a),e(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(n=document.querySelector(o)),this._activate(this._element,r);var u=function(){var n=e.Event(qt.HIDDEN,{relatedTarget:t._element}),r=e.Event(qt.SHOWN,{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(r)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var r=this,o=!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(zt.ACTIVE):e(n).find(zt.ACTIVE_UL),s=o[0],a=i&&s&&e(s).hasClass(Kt.FADE),l=function(){return r._transitionComplete(t,s,i)};if(s&&a){var u=m.getTransitionDurationFromElement(s);e(s).removeClass(Kt.SHOW).one(m.TRANSITION_END,l).emulateTransitionEnd(u)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass(Kt.ACTIVE);var r=e(n.parentNode).find(zt.DROPDOWN_ACTIVE_CHILD)[0];r&&e(r).removeClass(Kt.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(Kt.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m.reflow(t),t.classList.contains(Kt.FADE)&&t.classList.add(Kt.SHOW),t.parentNode&&e(t.parentNode).hasClass(Kt.DROPDOWN_MENU)){var o=e(t).closest(zt.DROPDOWN)[0];if(o){var s=[].slice.call(o.querySelectorAll(zt.DROPDOWN_TOGGLE));e(s).addClass(Kt.ACTIVE)}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),r=i.data("bs.tab");if(r||(r=new t(this),i.data("bs.tab",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(qt.CLICK_DATA_API,zt.DATA_TOGGLE,function(t){t.preventDefault(),Qt._jQueryInterface.call(e(this),"show")}),e.fn.tab=Qt._jQueryInterface,e.fn.tab.Constructor=Qt,e.fn.tab.noConflict=function(){return e.fn.tab=Bt,Qt._jQueryInterface};var Zt=e.fn.toast,Xt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},$t={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},Jt={animation:"boolean",autohide:"boolean",delay:"number"},te={animation:!0,autohide:!0,delay:500},ee={DATA_DISMISS:'[data-dismiss="toast"]'},ne=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this;e(this._element).trigger(Xt.SHOW),this._config.animation&&this._element.classList.add($t.FADE);var n=function(){t._element.classList.remove($t.SHOWING),t._element.classList.add($t.SHOW),e(t._element).trigger(Xt.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove($t.HIDE),this._element.classList.add($t.SHOWING),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);e(this._element).one(m.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(t){var n=this;this._element.classList.contains($t.SHOW)&&(e(this._element).trigger(Xt.HIDE),t?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains($t.SHOW)&&this._element.classList.remove($t.SHOW),e(this._element).off(Xt.CLICK_DISMISS),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=s({},te,e(this._element).data(),"object"==typeof t&&t?t:{}),m.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on(Xt.CLICK_DISMISS,ee.DATA_DISMISS,function(){return t.hide(!0)})},n._close=function(){var t=this,n=function(){t._element.classList.add($t.HIDE),e(t._element).trigger(Xt.HIDDEN)};if(this._element.classList.remove($t.SHOW),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);e(this._element).one(m.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),r=i.data("bs.toast"),o="object"==typeof n&&n;if(r||(r=new t(this,o),i.data("bs.toast",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}})},r(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Jt}},{key:"Default",get:function(){return te}}]),t}();e.fn.toast=ne._jQueryInterface,e.fn.toast.Constructor=ne,e.fn.toast.noConflict=function(){return e.fn.toast=Zt,ne._jQueryInterface},function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=m,t.Alert=E,t.Button=D,t.Carousel=R,t.Collapse=B,t.Dropdown=et,t.Modal=lt,t.Popover=Ht,t.Scrollspy=Gt,t.Tab=Qt,t.Toast=ne,t.Tooltip=Ot,Object.defineProperty(t,"__esModule",{value:!0})});
|