Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
sala_palatului
/
public
/
js
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
admin_app.js
| Size :
2.54
MB
Copy
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=252)}([function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,i){return jt(e,t,n,i,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function m(e){if(null==e._isValid){var t=p(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=f(NaN);return null!=e?h(p(t),e):p(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var v=r.momentProperties=[];function y(e,t){var n,i,r;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)a(r=t[i=v[n]])||(e[i]=r);return e}var b=!1;function _(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function A(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function C(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&A(e[i])!==A(t[i]))&&s++;return s+o}function k(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return h(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,o=[],s=0;s<arguments.length;s++){if(i="","object"==typeof arguments[s]){for(var a in i+="\n["+s+"] ",arguments[0])i+=a+": "+arguments[0][a]+", ";i=i.slice(0,-2)}else i=arguments[s];o.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var S,L={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),L[e]||(k(t),L[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=h({},e);for(n in t)d(t,n)&&(s(e[n])&&s(t[n])?(i[n]={},h(i[n],e[n]),h(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)d(e,n)&&!d(t,n)&&s(e[n])&&(i[n]=h({},i[n]));return i}function I(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var j={};function O(e,t){var n=e.toLowerCase();j[n]=j[n+"s"]=j[t]=e}function F(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function N(e){var t,n,i={};for(n in e)d(e,n)&&(t=F(n))&&(i[t]=e[n]);return i}var Y={};function P(e,t){Y[e]=t}function R(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var B=/(\[[^\[]*\])|(\\)?([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,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},$={};function W(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&($[e]=r),t&&($[t[0]]=function(){return R(r.apply(this,arguments),t[1],t[2])}),n&&($[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function G(e,t){return e.isValid()?(t=V(t,e.localeData()),z[t]=z[t]||function(e){var t,n,i,r=e.match(B);for(t=0,n=r.length;t<n;t++)$[r[t]]?r[t]=$[r[t]]:r[t]=(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=D(r[i])?r[i].call(t,e):r[i];return o}}(t),z[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,i),H.lastIndex=0,n-=1;return e}var U=/\d/,Z=/\d\d/,X=/\d{3}/,Q=/\d{4}/,K=/[+-]?\d{6}/,J=/\d\d?/,q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,se=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[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,ce={};function ue(e,t,n){ce[e]=D(t)?t:function(e,i){return e&&n?n:t}}function de(e,t){return d(ce,e)?ce[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=A(e)}),n=0;n<e.length;n++)fe[e[n]]=i}function me(e,t){pe(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ge(e,t,n){null!=t&&d(fe,e)&&fe[e](t,n._a,n,e)}var ve=0,ye=1,be=2,_e=3,we=4,xe=5,Ae=6,Ce=7,ke=8;function Me(e){return Se(e)?366:365}function Se(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),O("year","y"),P("year",1),ue("Y",oe),ue("YY",J,Z),ue("YYYY",ne,Q),ue("YYYYY",ie,K),ue("YYYYYY",ie,K),pe(["YYYYY","YYYYYY"],ve),pe("YYYY",function(e,t){t[ve]=2===e.length?r.parseTwoDigitYear(e):A(e)}),pe("YY",function(e,t){t[ve]=r.parseTwoDigitYear(e)}),pe("Y",function(e,t){t[ve]=parseInt(e,10)}),r.parseTwoDigitYear=function(e){return A(e)+(A(e)>68?1900:2e3)};var Le,Ee=De("FullYear",!0);function De(e,t){return function(n){return null!=n?(Ie(this,e,n),r.updateOffset(this,t),this):Te(this,e)}}function Te(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),je(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function je(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Se(e)?29:28:31-i%7%2}Le=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),P("month",8),ue("M",J),ue("MM",J,Z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),pe(["M","MM"],function(e,t){t[ye]=A(e)-1}),pe(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[ye]=r:p(n).invalidMonth=e});var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ye(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Le.call(this._shortMonthsParse,s))?r:null:-1!==(r=Le.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=Le.call(this._shortMonthsParse,s))?r:-1!==(r=Le.call(this._longMonthsParse,s))?r:null:-1!==(r=Le.call(this._longMonthsParse,s))?r:-1!==(r=Le.call(this._shortMonthsParse,s))?r:null}function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=A(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),je(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Pe(this,e),r.updateOffset(this,!0),this):Te(this,"Month")}var Be=le,He=le;function ze(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=he(i[t]),r[t]=he(r[t]);for(t=0;t<24;t++)o[t]=he(o[t]);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 $e(e,t,n,i,r,o,s){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,o,s),a}function We(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ge(e,t,n){var i=7+t-n;return-(7+We(e,0,i).getUTCDay()-t)%7+i-1}function Ve(e,t,n,i,r){var o,s,a=1+7*(t-1)+(7+n-i)%7+Ge(e,i,r);return a<=0?s=Me(o=e-1)+a:a>Me(e)?(o=e+1,s=a-Me(e)):(o=e,s=a),{year:o,dayOfYear:s}}function Ue(e,t,n){var i,r,o=Ge(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?i=s+Ze(r=e.year()-1,t,n):s>Ze(e.year(),t,n)?(i=s-Ze(e.year(),t,n),r=e.year()+1):(r=e.year(),i=s),{week:i,year:r}}function Ze(e,t,n){var i=Ge(e,t,n),r=Ge(e+1,t,n);return(Me(e)-i+r)/7}function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),P("week",5),P("isoWeek",5),ue("w",J),ue("ww",J,Z),ue("W",J),ue("WW",J,Z),me(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=A(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),ue("d",J),ue("e",J),ue("E",J),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,i){t[i]=A(e)});var Qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qe(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Le.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Le.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Le.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Le.call(this._weekdaysParse,s))?r:-1!==(r=Le.call(this._shortWeekdaysParse,s))?r:-1!==(r=Le.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Le.call(this._shortWeekdaysParse,s))?r:-1!==(r=Le.call(this._weekdaysParse,s))?r:-1!==(r=Le.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Le.call(this._minWeekdaysParse,s))?r:-1!==(r=Le.call(this._weekdaysParse,s))?r:-1!==(r=Le.call(this._shortWeekdaysParse,s))?r:null}var et=le,tt=le,nt=le;function it(){function e(e,t){return t.length-e.length}var t,n,i,r,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(i),a.push(r),l.push(o),c.push(i),c.push(r),c.push(o);for(s.sort(e),a.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)a[t]=he(a[t]),l[t]=he(l[t]),c[t]=he(c[t]);this._weekdaysRegex=new RegExp("^("+c.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 rt(){return this.hours()%12||12}function ot(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,rt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+rt.apply(this)+R(this.minutes(),2)}),W("hmmss",0,0,function(){return""+rt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),ot("a",!0),ot("A",!1),O("hour","h"),P("hour",13),ue("a",st),ue("A",st),ue("H",J),ue("h",J),ue("k",J),ue("HH",J,Z),ue("hh",J,Z),ue("kk",J,Z),ue("hmm",q),ue("hmmss",ee),ue("Hmm",q),ue("Hmmss",ee),pe(["H","HH"],_e),pe(["k","kk"],function(e,t,n){var i=A(e);t[_e]=24===i?0:i}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[_e]=A(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var i=e.length-2;t[_e]=A(e.substr(0,i)),t[we]=A(e.substr(i)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[_e]=A(e.substr(0,i)),t[we]=A(e.substr(i,2)),t[xe]=A(e.substr(r)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var i=e.length-2;t[_e]=A(e.substr(0,i)),t[we]=A(e.substr(i))}),pe("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[_e]=A(e.substr(0,i)),t[we]=A(e.substr(i,2)),t[xe]=A(e.substr(r))});var at,lt=De("Hours",!0),ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Fe,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Qe,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},ut={},dt={};function ht(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var i=null;if(!ut[t]&&void 0!==e&&e&&e.exports)try{i=at._abbr,n(260)("./"+t),pt(i)}catch(e){}return ut[t]}function pt(e,t){var n;return e&&((n=a(t)?gt(e):mt(e,t))?at=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null!==t){var n,i=ct;if(t.abbr=e,null!=ut[e])E("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=ut[e]._config;else if(null!=t.parentLocale)if(null!=ut[t.parentLocale])i=ut[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ut[e]=new I(T(i,t)),dt[e]&&dt[e].forEach(function(e){mt(e.name,e.config)}),pt(e),ut[e]}return delete ut[e],null}function gt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!o(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=ht(e[o]).split("-")).length,n=(n=ht(e[o+1]))?n.split("-"):null;t>0;){if(i=ft(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&C(r,n,!0)>=t-1)break;t--}o++}return at}(e)}function vt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>je(n[ve],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[xe]||0!==n[Ae])?_e:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[Ae]<0||n[Ae]>999?Ae:-1,p(e)._overflowDayOfYear&&(t<ve||t>be)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Ce),p(e)._overflowWeekday&&-1===t&&(t=ke),p(e).overflow=t),e}function yt(e,t,n){return null!=e?e:null!=t?t:n}function bt(e){var t,n,i,o,s,a=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ye]&&function(e){var t,n,i,r,o,s,a,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,s=4,n=yt(t.GG,e._a[ve],Ue(Ot(),1,4).year),i=yt(t.W,1),((r=yt(t.E,1))<1||r>7)&&(l=!0);else{o=e._locale._week.dow,s=e._locale._week.doy;var c=Ue(Ot(),o,s);n=yt(t.gg,e._a[ve],c.year),i=yt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>Ze(n,o,s)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(a=Ve(n,i,r,o,s),e._a[ve]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(s=yt(e._a[ve],i[ve]),(e._dayOfYear>Me(s)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=We(s,0,e._dayOfYear),e._a[ye]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?We:$e).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var _t=/^\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)?)?$/,wt=/^\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)?)?$/,xt=/Z|[+-]\d\d(?::?\d\d)?/,At=[["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}/]],Ct=[["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/]],kt=/^\/?Date\((\-?\d+)/i;function Mt(e){var t,n,i,r,o,s,a=e._i,l=_t.exec(a)||wt.exec(a);if(l){for(p(e).iso=!0,t=0,n=At.length;t<n;t++)if(At[t][1].exec(l[1])){r=At[t][0],i=!1!==At[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=Ct.length;t<n;t++)if(Ct[t][1].exec(l[3])){o=(l[2]||" ")+Ct[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!xt.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(o||"")+(s||""),Tt(e)}else e._isValid=!1}var St=/^(?:(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}))$/;function Lt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var Et={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,i,r,o,s,a,l=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(t=l[4],n=l[3],i=l[2],r=l[5],o=l[6],s=l[7],a=[Lt(t),Ne.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(o,10)],s&&a.push(parseInt(s,10)),a);if(!function(e,t,n){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return Et[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(l[8],l[9],l[10]),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Tt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var t,n,i,o,s,a=""+e._i,l=a.length,c=0;for(i=V(e._f,e._locale).match(B)||[],t=0;t<i.length;t++)o=i[t],(n=(a.match(de(o,e))||[])[0])&&((s=a.substr(0,a.indexOf(n))).length>0&&p(e).unusedInput.push(s),a=a.slice(a.indexOf(n)+n.length),c+=n.length),$[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ge(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,a.length>0&&p(e).unusedInput.push(a),e._a[_e]<=12&&!0===p(e).bigHour&&e._a[_e]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[_e]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[_e],e._meridiem),bt(e),vt(e)}else Dt(e);else Mt(e)}function It(e){var t=e._i,n=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(vt(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,i,r,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Tt(t),m(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==i||o<i)&&(i=o,n=t));h(e,n||t)}(e):n?Tt(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=kt.exec(e._i);null===t?(Mt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),bt(e)):s(t)?function(e){if(!e._d){var t=N(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),bt(e)}}(e):l(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function jt(e,t,n,i,r){var a={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,function(e){var t=new _(vt(It(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(a)}function Ot(e,t,n,i){return jt(e,t,n,i,!1)}r.createFromInputFallback=M("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){};var Ft=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Nt=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function Yt(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=N(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Le.call(Pt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Pt.length;++i)if(e[Pt[i]]){if(n)return!1;parseFloat(e[Pt[i]])!==A(e[Pt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=gt(),this._bubble()}function Bt(e){return e instanceof Rt}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+R(~~(e/60),2)+t+R(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),ue("Z",ae),ue("ZZ",ae),pe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Wt(ae,e)});var $t=/([\+\-]|\d\d)/gi;function Wt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match($t)||["-",0,0],r=60*i[1]+A(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Gt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||c(e)?e.valueOf():Ot(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Ot(e).local()}function Vt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Zt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qt(e,t){var n,i,r,o=e,s=null;return Bt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=Zt.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:A(s[be])*n,h:A(s[_e])*n,m:A(s[we])*n,s:A(s[xe])*n,ms:A(Ht(1e3*s[Ae]))*n}):(s=Xt.exec(e))?(n="-"===s[1]?-1:1,o={y:Kt(s[2],n),M:Kt(s[3],n),w:Kt(s[4],n),d:Kt(s[5],n),h:Kt(s[6],n),m:Kt(s[7],n),s:Kt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Gt(t,e),e.isBefore(t)?n=Jt(e,t):((n=Jt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Ot(o.from),Ot(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new Rt(o),Bt(e)&&d(e,"_locale")&&(i._locale=e._locale),i}function Kt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),en(this,Qt(n="string"==typeof n?+n:n,i),e),this}}function en(e,t,n,i){var o=t._milliseconds,s=Ht(t._days),a=Ht(t._months);e.isValid()&&(i=null==i||i,a&&Pe(e,Te(e,"Month")+a*n),s&&Ie(e,"Date",Te(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Qt.fn=Rt.prototype,Qt.invalid=function(){return Qt(NaN)};var tn=qt(1,"add"),nn=qt(-1,"subtract");function rn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function on(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sn=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function an(){return this._locale}var ln=1e3,cn=60*ln,un=60*cn,dn=3506328*un;function hn(e,t){return(e%t+t)%t}function fn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-dn:new Date(e,t,n).valueOf()}function pn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-dn:Date.UTC(e,t,n)}function mn(e,t){W(0,[e,e.length],0,t)}function gn(e,t,n,i,r){var o;return null==e?Ue(this,i,r).year:(t>(o=Ze(e,i,r))&&(t=o),vn.call(this,e,t,n,i,r))}function vn(e,t,n,i,r){var o=Ve(e,t,n,i,r),s=We(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),mn("gggg","weekYear"),mn("ggggg","weekYear"),mn("GGGG","isoWeekYear"),mn("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),ue("G",oe),ue("g",oe),ue("GG",J,Z),ue("gg",J,Z),ue("GGGG",ne,Q),ue("gggg",ne,Q),ue("GGGGG",ie,K),ue("ggggg",ie,K),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=A(e)}),me(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),P("quarter",7),ue("Q",U),pe("Q",function(e,t){t[ye]=3*(A(e)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),P("date",9),ue("D",J),ue("DD",J,Z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],be),pe("Do",function(e,t){t[be]=A(e.match(J)[0])});var yn=De("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),P("dayOfYear",4),ue("DDD",te),ue("DDDD",X),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=A(e)}),W("m",["mm",2],0,"minute"),O("minute","m"),P("minute",14),ue("m",J),ue("mm",J,Z),pe(["m","mm"],we);var bn=De("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),P("second",15),ue("s",J),ue("ss",J,Z),pe(["s","ss"],xe);var _n,wn=De("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),P("millisecond",16),ue("S",te,U),ue("SS",te,Z),ue("SSS",te,X),_n="SSSS";_n.length<=9;_n+="S")ue(_n,re);function xn(e,t){t[Ae]=A(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")pe(_n,xn);var An=De("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var Cn=_.prototype;function kn(e){return e}Cn.add=tn,Cn.calendar=function(e,t){var n=e||Ot(),i=Gt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(D(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Ot(n)))},Cn.clone=function(){return new _(this)},Cn.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Gt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=F(t)){case"year":o=rn(this,i)/12;break;case"month":o=rn(this,i);break;case"quarter":o=rn(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:x(o)},Cn.endOf=function(e){var t;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?pn:fn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=un-hn(t+(this._isUTC?0:this.utcOffset()*cn),un)-1;break;case"minute":t=this._d.valueOf(),t+=cn-hn(t,cn)-1;break;case"second":t=this._d.valueOf(),t+=ln-hn(t,ln)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},Cn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=G(this,e);return this.localeData().postformat(t)},Cn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Ot(e).isValid())?Qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Cn.fromNow=function(e){return this.from(Ot(),e)},Cn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Ot(e).isValid())?Qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Cn.toNow=function(e){return this.to(Ot(),e)},Cn.get=function(e){return D(this[e=F(e)])?this[e]():this},Cn.invalidAt=function(){return p(this).overflow},Cn.isAfter=function(e,t){var n=w(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Cn.isBefore=function(e,t){var n=w(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Cn.isBetween=function(e,t,n,i){var r=w(e)?e:Ot(e),o=w(t)?t:Ot(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n))},Cn.isSame=function(e,t){var n,i=w(e)?e:Ot(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Cn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Cn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Cn.isValid=function(){return m(this)},Cn.lang=sn,Cn.locale=on,Cn.localeData=an,Cn.max=Nt,Cn.min=Ft,Cn.parsingFlags=function(){return h({},p(this))},Cn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:Y[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=N(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(D(this[e=F(e)]))return this[e](t);return this},Cn.startOf=function(e){var t;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?pn:fn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hn(t+(this._isUTC?0:this.utcOffset()*cn),un);break;case"minute":t=this._d.valueOf(),t-=hn(t,cn);break;case"second":t=this._d.valueOf(),t-=hn(t,ln)}return this._d.setTime(t),r.updateOffset(this,!0),this},Cn.subtract=nn,Cn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Cn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Cn.toDate=function(){return new Date(this.valueOf())},Cn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?G(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(n,"Z")):G(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Cn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},Cn.toJSON=function(){return this.isValid()?this.toISOString():null},Cn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Cn.unix=function(){return Math.floor(this.valueOf()/1e3)},Cn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Cn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Cn.year=Ee,Cn.isLeapYear=function(){return Se(this.year())},Cn.weekYear=function(e){return gn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Cn.isoWeekYear=function(e){return gn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Cn.quarter=Cn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Cn.month=Re,Cn.daysInMonth=function(){return je(this.year(),this.month())},Cn.week=Cn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Cn.isoWeek=Cn.isoWeeks=function(e){var t=Ue(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Cn.weeksInYear=function(){var e=this.localeData()._week;return Ze(this.year(),e.dow,e.doy)},Cn.isoWeeksInYear=function(){return Ze(this.year(),1,4)},Cn.date=yn,Cn.day=Cn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Cn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Cn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Cn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Cn.hour=Cn.hours=lt,Cn.minute=Cn.minutes=bn,Cn.second=Cn.seconds=wn,Cn.millisecond=Cn.milliseconds=An,Cn.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Wt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Vt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?en(this,Qt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Vt(this)},Cn.utc=function(e){return this.utcOffset(0,e)},Cn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Vt(this),"m")),this},Cn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Wt(se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Cn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Cn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Cn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Cn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Cn.isUtc=Ut,Cn.isUTC=Ut,Cn.zoneAbbr=function(){return this._isUTC?"UTC":""},Cn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Cn.dates=M("dates accessor is deprecated. Use date instead.",yn),Cn.months=M("months accessor is deprecated. Use month instead",Re),Cn.years=M("years accessor is deprecated. Use year instead",Ee),Cn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Cn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=It(e))._a){var t=e._isUTC?f(e._a):Ot(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Mn=I.prototype;function Sn(e,t,n,i){var r=gt(),o=f().set(i,t);return r[n](o,e)}function Ln(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Sn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Sn(e,i,n,"month");return r}function En(e,t,n,i){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var r,o=gt(),s=e?o._week.dow:0;if(null!=n)return Sn(t,(n+s)%7,i,"day");var a=[];for(r=0;r<7;r++)a[r]=Sn(t,(r+s)%7,i,"day");return a}Mn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return D(i)?i.call(t,n):i},Mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Mn.invalidDate=function(){return this._invalidDate},Mn.ordinal=function(e){return this._ordinal.replace("%d",e)},Mn.preparse=kn,Mn.postformat=kn,Mn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return D(r)?r(e,t,n,i):r.replace(/%d/i,e)},Mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},Mn.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Mn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},Mn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Ye.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([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"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},Mn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Mn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Mn.week=function(e){return Ue(e,this._week.dow,this._week.doy).week},Mn.firstDayOfYear=function(){return this._week.doy},Mn.firstDayOfWeek=function(){return this._week.dow},Mn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Xe(n,this._week.dow):e?n[e.day()]:n},Mn.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Mn.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Mn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([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"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},Mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},pt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===A(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",pt),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",gt);var Dn=Math.abs;function Tn(e,t,n,i){var r=Qt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function In(e){return e<0?Math.floor(e):Math.ceil(e)}function jn(e){return 4800*e/146097}function On(e){return 146097*e/4800}function Fn(e){return function(){return this.as(e)}}var Nn=Fn("ms"),Yn=Fn("s"),Pn=Fn("m"),Rn=Fn("h"),Bn=Fn("d"),Hn=Fn("w"),zn=Fn("M"),$n=Fn("Q"),Wn=Fn("y");function Gn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vn=Gn("milliseconds"),Un=Gn("seconds"),Zn=Gn("minutes"),Xn=Gn("hours"),Qn=Gn("days"),Kn=Gn("months"),Jn=Gn("years"),qn=Math.round,ei={ss:44,s:45,m:45,h:22,d:26,M:11};function ti(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var ni=Math.abs;function ii(e){return(e>0)-(e<0)||+e}function ri(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=ni(this._milliseconds)/1e3,i=ni(this._days),r=ni(this._months);e=x(n/60),t=x(e/60),n%=60,e%=60;var o=x(r/12),s=r%=12,a=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=ii(this._months)!==ii(d)?"-":"",p=ii(this._days)!==ii(d)?"-":"",m=ii(this._milliseconds)!==ii(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(a?p+a+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var oi=Rt.prototype;return oi.isValid=function(){return this._isValid},oi.abs=function(){var e=this._data;return this._milliseconds=Dn(this._milliseconds),this._days=Dn(this._days),this._months=Dn(this._months),e.milliseconds=Dn(e.milliseconds),e.seconds=Dn(e.seconds),e.minutes=Dn(e.minutes),e.hours=Dn(e.hours),e.months=Dn(e.months),e.years=Dn(e.years),this},oi.add=function(e,t){return Tn(this,e,t,1)},oi.subtract=function(e,t){return Tn(this,e,t,-1)},oi.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+jn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(On(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},oi.asMilliseconds=Nn,oi.asSeconds=Yn,oi.asMinutes=Pn,oi.asHours=Rn,oi.asDays=Bn,oi.asWeeks=Hn,oi.asMonths=zn,oi.asQuarters=$n,oi.asYears=Wn,oi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*A(this._months/12):NaN},oi._bubble=function(){var e,t,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*In(On(a)+s),s=0,a=0),l.milliseconds=o%1e3,e=x(o/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,s+=x(n/24),r=x(jn(s)),a+=r,s-=In(On(r)),i=x(a/12),a%=12,l.days=s,l.months=a,l.years=i,this},oi.clone=function(){return Qt(this)},oi.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},oi.milliseconds=Vn,oi.seconds=Un,oi.minutes=Zn,oi.hours=Xn,oi.days=Qn,oi.weeks=function(){return x(this.days()/7)},oi.months=Kn,oi.years=Jn,oi.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Qt(e).abs(),r=qn(i.as("s")),o=qn(i.as("m")),s=qn(i.as("h")),a=qn(i.as("d")),l=qn(i.as("M")),c=qn(i.as("y")),u=r<=ei.ss&&["s",r]||r<ei.s&&["ss",r]||o<=1&&["m"]||o<ei.m&&["mm",o]||s<=1&&["h"]||s<ei.h&&["hh",s]||a<=1&&["d"]||a<ei.d&&["dd",a]||l<=1&&["M"]||l<ei.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,ti.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},oi.toISOString=ri,oi.toString=ri,oi.toJSON=ri,oi.locale=on,oi.localeData=an,oi.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ri),oi.lang=sn,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ue("x",oe),ue("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(A(e))}),r.version="2.24.0",t=Ot,r.fn=Cn,r.min=function(){return Yt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Yt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Ot(1e3*e)},r.months=function(e,t){return Ln(e,t,"months")},r.isDate=c,r.locale=pt,r.invalid=g,r.duration=Qt,r.isMoment=w,r.weekdays=function(e,t,n){return En(e,t,n,"weekdays")},r.parseZone=function(){return Ot.apply(null,arguments).parseZone()},r.localeData=gt,r.isDuration=Bt,r.monthsShort=function(e,t){return Ln(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return En(e,t,n,"weekdaysMin")},r.defineLocale=mt,r.updateLocale=function(e,t){if(null!=t){var n,i,r=ct;null!=(i=ft(e))&&(r=i._config),t=T(r,t),(n=new I(t)).parentLocale=ut[e],ut[e]=n,pt(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?ut[e]=ut[e].parentLocale:null!=ut[e]&&delete ut[e]);return ut[e]},r.locales=function(){return S(ut)},r.weekdaysShort=function(e,t,n){return En(e,t,n,"weekdaysShort")},r.normalizeUnits=F,r.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==ei[e]&&(void 0===t?ei[e]:(ei[e]=t,"s"===e&&(ei.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=Cn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(26)(e))},function(e,t,n){"use strict";function i(e,t,n,i,r,o,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return i})},function(e,t,n){e.exports=n(256)},function(e,t,n){e.exports=n(49)},function(e,t,n){"use strict";var i=n(19),r=n(32),o=Object.prototype.toString;function s(e){return"[object Array]"===o.call(e)}function a(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}e.exports={isArray:s,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:r,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return a(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,i){"object"==typeof t[i]&&"object"==typeof n?t[i]=e(t[i],n):t[i]=n}for(var i=0,r=arguments.length;i<r;i++)c(arguments[i],n);return t},extend:function(e,t,n){return c(t,function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){"use strict";(function(t){var i=n(4),r=n(34),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,l={adapter:("undefined"!=typeof XMLHttpRequest?a=n(20):void 0!==t&&(a=n(20)),a),transformRequest:[function(e,t){return r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){l.headers[e]={}}),i.forEach(["post","put","patch"],function(e){l.headers[e]=i.merge(o)}),e.exports=l}).call(this,n(10))},function(e,t,n){"use strict";function i(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function r(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function o(e,t){for(var n in t)e[n]=t[n];return e}var s={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,i=t.children,r=t.parent,s=t.data;s.routerView=!0;for(var a=r.$createElement,l=n.name,c=r.$route,u=r._routerViewCache||(r._routerViewCache={}),d=0,h=!1;r&&r._routerRoot!==r;){var f=r.$vnode&&r.$vnode.data;f&&(f.routerView&&d++,f.keepAlive&&r._inactive&&(h=!0)),r=r.$parent}if(s.routerViewDepth=d,h)return a(u[l],s,i);var p=c.matched[d];if(!p)return u[l]=null,a();var m=u[l]=p.components[l];s.registerRouteInstance=function(e,t){var n=p.instances[l];(t&&n!==e||!t&&n===e)&&(p.instances[l]=t)},(s.hook||(s.hook={})).prepatch=function(e,t){p.instances[l]=t.componentInstance},s.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==p.instances[l]&&(p.instances[l]=e.componentInstance)};var g=s.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(c,p.props&&p.props[l]);if(g){g=s.props=o({},g);var v=s.attrs=s.attrs||{};for(var y in g)m.props&&y in m.props||(v[y]=g[y],delete g[y])}return a(m,s,i)}};var a=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},c=/%2C/g,u=function(e){return encodeURIComponent(e).replace(a,l).replace(c,",")},d=decodeURIComponent;function h(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),i=d(n.shift()),r=n.length>0?d(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]}),t):t}function f(e){var t=e?Object.keys(e).map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return u(t);if(Array.isArray(n)){var i=[];return n.forEach(function(e){void 0!==e&&(null===e?i.push(u(t)):i.push(u(t)+"="+u(e)))}),i.join("&")}return u(t)+"="+u(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}var p=/\/?$/;function m(e,t,n,i){var r=i&&i.options.stringifyQuery,o=t.query||{};try{o=g(o)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:b(t,r),matched:e?y(e):[]};return n&&(s.redirectedFrom=b(n,r)),Object.freeze(s)}function g(e){if(Array.isArray(e))return e.map(g);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=g(e[n]);return t}return e}var v=m(null,{path:"/"});function y(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function b(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;return void 0===r&&(r=""),(n||"/")+(t||f)(i)+r}function _(e,t){return t===v?e===t:!!t&&(e.path&&t.path?e.path.replace(p,"")===t.path.replace(p,"")&&e.hash===t.hash&&w(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&w(e.query,t.query)&&w(e.params,t.params)))}function w(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&n.every(function(n){var i=e[n],r=t[n];return"object"==typeof i&&"object"==typeof r?w(i,r):String(i)===String(r)})}function x(e,t,n){var i=e.charAt(0);if("/"===i)return e;if("?"===i||"#"===i)return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var o=e.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?r.pop():"."!==a&&r.push(a)}return""!==r[0]&&r.unshift(""),r.join("/")}function A(e){return e.replace(/\/\//g,"/")}var C=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},k=R,M=T,S=function(e,t){return j(T(e,t))},L=j,E=P,D=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function T(e,t){for(var n,i=[],r=0,o=0,s="",a=t&&t.delimiter||"/";null!=(n=D.exec(e));){var l=n[0],c=n[1],u=n.index;if(s+=e.slice(o,u),o=u+l.length,c)s+=c[1];else{var d=e[o],h=n[2],f=n[3],p=n[4],m=n[5],g=n[6],v=n[7];s&&(i.push(s),s="");var y=null!=h&&null!=d&&d!==h,b="+"===g||"*"===g,_="?"===g||"*"===g,w=n[2]||a,x=p||m;i.push({name:f||r++,prefix:h||"",delimiter:w,optional:_,repeat:b,partial:y,asterisk:!!v,pattern:x?F(x):v?".*":"[^"+O(w)+"]+?"})}}return o<e.length&&(s+=e.substr(o)),s&&i.push(s),i}function I(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function j(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,i){for(var r="",o=n||{},s=(i||{}).pretty?I:encodeURIComponent,a=0;a<e.length;a++){var l=e[a];if("string"!=typeof l){var c,u=o[l.name];if(null==u){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(C(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=s(u[d]),!t[a].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(u),!t[a].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');r+=l.prefix+c}}else r+=l}return r}}function O(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function F(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function N(e,t){return e.keys=t,e}function Y(e){return e.sensitive?"":"i"}function P(e,t,n){C(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,r=!1!==n.end,o="",s=0;s<e.length;s++){var a=e[s];if("string"==typeof a)o+=O(a);else{var l=O(a.prefix),c="(?:"+a.pattern+")";t.push(a),a.repeat&&(c+="(?:"+l+c+")*"),o+=c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=O(n.delimiter||"/"),d=o.slice(-u.length)===u;return i||(o=(d?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=r?"$":i&&d?"":"(?="+u+"|$)",N(new RegExp("^"+o,Y(n)),t)}function R(e,t,n){return C(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return N(e,t)}(e,t):C(e)?function(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(R(e[r],t,n).source);return N(new RegExp("(?:"+i.join("|")+")",Y(n)),t)}(e,t,n):function(e,t,n){return P(T(e,n),t,n)}(e,t,n)}k.parse=M,k.compile=S,k.tokensToFunction=L,k.tokensToRegExp=E;var B=Object.create(null);function H(e,t,n){t=t||{};try{var i=B[e]||(B[e]=k.compile(e));return t.pathMatch&&(t[0]=t.pathMatch),i(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function z(e,t,n,i){var r="string"==typeof e?{path:e}:e;if(r._normalized)return r;if(r.name)return o({},e);if(!r.path&&r.params&&t){(r=o({},r))._normalized=!0;var s=o(o({},t.params),r.params);if(t.name)r.name=t.name,r.params=s;else if(t.matched.length){var a=t.matched[t.matched.length-1].path;r.path=H(a,s,t.path)}else 0;return r}var l=function(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}(r.path||""),c=t&&t.path||"/",u=l.path?x(l.path,c,n||r.append):c,d=function(e,t,n){void 0===t&&(t={});var i,r=n||h;try{i=r(e||"")}catch(e){i={}}for(var o in t)i[o]=t[o];return i}(l.query,r.query,i&&i.options.parseQuery),f=r.hash||l.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:d,hash:f}}var $,W=[String,Object],G=[String,Array],V=function(){},U={name:"RouterLink",props:{to:{type:W,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:G,default:"click"}},render:function(e){var t=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),s=r.location,a=r.route,l=r.href,c={},u=n.options.linkActiveClass,d=n.options.linkExactActiveClass,h=null==u?"router-link-active":u,f=null==d?"router-link-exact-active":d,g=null==this.activeClass?h:this.activeClass,v=null==this.exactActiveClass?f:this.exactActiveClass,y=a.redirectedFrom?m(null,z(a.redirectedFrom),null,n):a;c[v]=_(i,y),c[g]=this.exact?c[v]:function(e,t){return 0===e.path.replace(p,"/").indexOf(t.path.replace(p,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(i,y);var b=function(e){Z(e)&&(t.replace?n.replace(s,V):n.push(s,V))},w={click:Z};Array.isArray(this.event)?this.event.forEach(function(e){w[e]=b}):w[this.event]=b;var x={class:c},A=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:a,navigate:b,isActive:c[g],isExactActive:c[v]});if(A){if(1===A.length)return A[0];if(A.length>1||!A.length)return 0===A.length?e():e("span",{},A)}if("a"===this.tag)x.on=w,x.attrs={href:l};else{var C=function e(t){if(t)for(var n,i=0;i<t.length;i++){if("a"===(n=t[i]).tag)return n;if(n.children&&(n=e(n.children)))return n}}(this.$slots.default);if(C){C.isStatic=!1;var k=C.data=o({},C.data);for(var M in k.on=k.on||{},k.on){var S=k.on[M];M in w&&(k.on[M]=Array.isArray(S)?S:[S])}for(var L in w)L in k.on?k.on[L].push(w[L]):k.on[L]=b;(C.data.attrs=o({},C.data.attrs)).href=l}else x.on=w}return e(this.tag,x,this.$slots.default)}};function Z(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}var X="undefined"!=typeof window;function Q(e,t,n,i){var r=t||[],o=n||Object.create(null),s=i||Object.create(null);e.forEach(function(e){!function e(t,n,i,r,o,s){var a=r.path;var l=r.name;0;var c=r.pathToRegexpOptions||{};var u=function(e,t,n){n||(e=e.replace(/\/$/,""));if("/"===e[0])return e;if(null==t)return e;return A(t.path+"/"+e)}(a,o,c.strict);"boolean"==typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var d={path:u,regex:K(u,c),components:r.components||{default:r.component},instances:{},name:l,parent:o,matchAs:s,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};r.children&&r.children.forEach(function(r){var o=s?A(s+"/"+r.path):void 0;e(t,n,i,r,d,o)});n[d.path]||(t.push(d.path),n[d.path]=d);if(void 0!==r.alias)for(var h=Array.isArray(r.alias)?r.alias:[r.alias],f=0;f<h.length;++f){0;var p={path:h[f],children:r.children};e(t,n,i,p,o,d.path||"/")}l&&(i[l]||(i[l]=d))}(r,o,s,e)});for(var a=0,l=r.length;a<l;a++)"*"===r[a]&&(r.push(r.splice(a,1)[0]),l--,a--);return{pathList:r,pathMap:o,nameMap:s}}function K(e,t){return k(e,[],t)}function J(e,t){var n=Q(e),i=n.pathList,r=n.pathMap,o=n.nameMap;function s(e,n,s){var a=z(e,n,!1,t),c=a.name;if(c){var u=o[c];if(!u)return l(null,a);var d=u.regex.keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof a.params&&(a.params={}),n&&"object"==typeof n.params)for(var h in n.params)!(h in a.params)&&d.indexOf(h)>-1&&(a.params[h]=n.params[h]);return a.path=H(u.path,a.params),l(u,a,s)}if(a.path){a.params={};for(var f=0;f<i.length;f++){var p=i[f],m=r[p];if(q(m.regex,a.path,a.params))return l(m,a,s)}}return l(null,a)}function a(e,n){var i=e.redirect,r="function"==typeof i?i(m(e,n,null,t)):i;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return l(null,n);var a=r,c=a.name,u=a.path,d=n.query,h=n.hash,f=n.params;if(d=a.hasOwnProperty("query")?a.query:d,h=a.hasOwnProperty("hash")?a.hash:h,f=a.hasOwnProperty("params")?a.params:f,c){o[c];return s({_normalized:!0,name:c,query:d,hash:h,params:f},void 0,n)}if(u){var p=function(e,t){return x(e,t.parent?t.parent.path:"/",!0)}(u,e);return s({_normalized:!0,path:H(p,f),query:d,hash:h},void 0,n)}return l(null,n)}function l(e,n,i){return e&&e.redirect?a(e,i||n):e&&e.matchAs?function(e,t,n){var i=s({_normalized:!0,path:H(n,t.params)});if(i){var r=i.matched,o=r[r.length-1];return t.params=i.params,l(o,t)}return l(null,t)}(0,n,e.matchAs):m(e,n,i,t)}return{match:s,addRoutes:function(e){Q(e,i,r,o)}}}function q(e,t,n){var i=t.match(e);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var s=e.keys[r-1],a="string"==typeof i[r]?decodeURIComponent(i[r]):i[r];s&&(n[s.name||"pathMatch"]=a)}return!0}var ee=X&&window.performance&&window.performance.now?window.performance:Date;function te(){return ee.now().toFixed(3)}var ne=te();function ie(){return ne}function re(e){return ne=e}var oe=Object.create(null);function se(){var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,"");window.history.replaceState({key:ie()},"",t),window.addEventListener("popstate",function(e){le(),e.state&&e.state.key&&re(e.state.key)})}function ae(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$nextTick(function(){var o=function(){var e=ie();if(e)return oe[e]}(),s=r.call(e,t,n,i?o:null);s&&("function"==typeof s.then?s.then(function(e){fe(e,o)}).catch(function(e){0}):fe(s,o))})}}function le(){var e=ie();e&&(oe[e]={x:window.pageXOffset,y:window.pageYOffset})}function ce(e){return de(e.x)||de(e.y)}function ue(e){return{x:de(e.x)?e.x:window.pageXOffset,y:de(e.y)?e.y:window.pageYOffset}}function de(e){return"number"==typeof e}var he=/^#\d/;function fe(e,t){var n,i="object"==typeof e;if(i&&"string"==typeof e.selector){var r=he.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(r){var o=e.offset&&"object"==typeof e.offset?e.offset:{};t=function(e,t){var n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}(r,o={x:de((n=o).x)?n.x:0,y:de(n.y)?n.y:0})}else ce(e)&&(t=ue(e))}else i&&ce(e)&&(t=ue(e));t&&window.scrollTo(t.x,t.y)}var pe,me=X&&((-1===(pe=window.navigator.userAgent).indexOf("Android 2.")&&-1===pe.indexOf("Android 4.0")||-1===pe.indexOf("Mobile Safari")||-1!==pe.indexOf("Chrome")||-1!==pe.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history);function ge(e,t){le();var n=window.history;try{t?n.replaceState({key:ie()},"",e):n.pushState({key:re(te())},"",e)}catch(n){window.location[t?"replace":"assign"](e)}}function ve(e){ge(e,!0)}function ye(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],function(){i(r+1)}):i(r+1)};i(0)}function be(e){return function(t,n,r){var o=!1,s=0,a=null;_e(e,function(e,t,n,l){if("function"==typeof e&&void 0===e.cid){o=!0,s++;var c,u=Ae(function(t){var i;((i=t).__esModule||xe&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:$.extend(t),n.components[l]=t,--s<=0&&r()}),d=Ae(function(e){var t="Failed to resolve async component "+l+": "+e;a||(a=i(e)?e:new Error(t),r(a))});try{c=e(u,d)}catch(e){d(e)}if(c)if("function"==typeof c.then)c.then(u,d);else{var h=c.component;h&&"function"==typeof h.then&&h.then(u,d)}}}),o||r()}}function _e(e,t){return we(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function we(e){return Array.prototype.concat.apply([],e)}var xe="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Ae(e){var t=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var Ce=function(e){function t(t){e.call(this),this.name=this._name="NavigationDuplicated",this.message='Navigating to current location ("'+t.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new e).stack,writable:!0,configurable:!0})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error);Ce._name="NavigationDuplicated";var ke=function(e,t){this.router=e,this.base=function(e){if(!e)if(X){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Me(e,t,n,i){var r=_e(e,function(e,i,r,o){var s=function(e,t){"function"!=typeof e&&(e=$.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map(function(e){return n(e,i,r,o)}):n(s,i,r,o)});return we(i?r.reverse():r)}function Se(e,t){if(t)return function(){return e.apply(t,arguments)}}ke.prototype.listen=function(e){this.cb=e},ke.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},ke.prototype.onError=function(e){this.errorCbs.push(e)},ke.prototype.transitionTo=function(e,t,n){var i=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){n&&n(e),e&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)}))})},ke.prototype.confirmTransition=function(e,t,n){var o=this,s=this.current,a=function(e){!r(Ce,e)&&i(e)&&(o.errorCbs.length?o.errorCbs.forEach(function(t){t(e)}):console.error(e)),n&&n(e)};if(_(e,s)&&e.matched.length===s.matched.length)return this.ensureURL(),a(new Ce(e));var l=function(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}(this.current.matched,e.matched),c=l.updated,u=l.deactivated,d=l.activated,h=[].concat(function(e){return Me(e,"beforeRouteLeave",Se,!0)}(u),this.router.beforeHooks,function(e){return Me(e,"beforeRouteUpdate",Se)}(c),d.map(function(e){return e.beforeEnter}),be(d));this.pending=e;var f=function(t,n){if(o.pending!==e)return a();try{t(e,s,function(e){!1===e||i(e)?(o.ensureURL(!0),a(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(a(),"object"==typeof e&&e.replace?o.replace(e):o.push(e)):n(e)})}catch(e){a(e)}};ye(h,f,function(){var n=[];ye(function(e,t,n){return Me(e,"beforeRouteEnter",function(e,i,r,o){return function(e,t,n,i,r){return function(o,s,a){return e(o,s,function(e){"function"==typeof e&&i.push(function(){!function e(t,n,i,r){n[i]&&!n[i]._isBeingDestroyed?t(n[i]):r()&&setTimeout(function(){e(t,n,i,r)},16)}(e,t.instances,n,r)}),a(e)})}}(e,r,o,t,n)})}(d,n,function(){return o.current===e}).concat(o.router.resolveHooks),f,function(){if(o.pending!==e)return a();o.pending=null,t(e),o.router.app&&o.router.app.$nextTick(function(){n.forEach(function(e){e()})})})})},ke.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,t)})};var Le=function(e){function t(t,n){var i=this;e.call(this,t,n);var r=t.options.scrollBehavior,o=me&&r;o&&se();var s=Ee(this.base);window.addEventListener("popstate",function(e){var n=i.current,r=Ee(i.base);i.current===v&&r===s||i.transitionTo(r,function(e){o&&ae(t,e,n,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,function(e){ge(A(i.base+e.fullPath)),ae(i.router,e,r,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,function(e){ve(A(i.base+e.fullPath)),ae(i.router,e,r,!1),t&&t(e)},n)},t.prototype.ensureURL=function(e){if(Ee(this.base)!==this.current.fullPath){var t=A(this.base+this.current.fullPath);e?ge(t):ve(t)}},t.prototype.getCurrentLocation=function(){return Ee(this.base)},t}(ke);function Ee(e){var t=decodeURI(window.location.pathname);return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var De=function(e){function t(t,n,i){e.call(this,t,n),i&&function(e){var t=Ee(e);if(!/^\/#/.test(t))return window.location.replace(A(e+"/#"+t)),!0}(this.base)||Te()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router.options.scrollBehavior,n=me&&t;n&&se(),window.addEventListener(me?"popstate":"hashchange",function(){var t=e.current;Te()&&e.transitionTo(Ie(),function(i){n&&ae(e.router,i,t,!0),me||Fe(i.fullPath)})})},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,function(e){Oe(e.fullPath),ae(i.router,e,r,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,function(e){Fe(e.fullPath),ae(i.router,e,r,!1),t&&t(e)},n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Ie()!==t&&(e?Oe(t):Fe(t))},t.prototype.getCurrentLocation=function(){return Ie()},t}(ke);function Te(){var e=Ie();return"/"===e.charAt(0)||(Fe("/"+e),!1)}function Ie(){var e=window.location.href,t=e.indexOf("#");if(t<0)return"";var n=(e=e.slice(t+1)).indexOf("?");if(n<0){var i=e.indexOf("#");e=i>-1?decodeURI(e.slice(0,i))+e.slice(i):decodeURI(e)}else n>-1&&(e=decodeURI(e.slice(0,n))+e.slice(n));return e}function je(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Oe(e){me?ge(je(e)):window.location.hash=e}function Fe(e){me?ve(je(e)):window.location.replace(je(e))}var Ne=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){t.index=n,t.updateRoute(i)},function(e){r(Ce,e)&&(t.index=n)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(ke),Ye=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!me&&!1!==e.fallback,this.fallback&&(t="hash"),X||(t="abstract"),this.mode=t,t){case"history":this.history=new Le(this,e.base);break;case"hash":this.history=new De(this,e.base,this.fallback);break;case"abstract":this.history=new Ne(this,e.base);break;default:0}},Pe={currentRoute:{configurable:!0}};function Re(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ye.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Pe.currentRoute.get=function(){return this.history&&this.history.current},Ye.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null)}),!this.app){this.app=e;var n=this.history;if(n instanceof Le)n.transitionTo(n.getCurrentLocation());else if(n instanceof De){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Ye.prototype.beforeEach=function(e){return Re(this.beforeHooks,e)},Ye.prototype.beforeResolve=function(e){return Re(this.resolveHooks,e)},Ye.prototype.afterEach=function(e){return Re(this.afterHooks,e)},Ye.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ye.prototype.onError=function(e){this.history.onError(e)},Ye.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){i.history.push(e,t,n)});this.history.push(e,t,n)},Ye.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){i.history.replace(e,t,n)});this.history.replace(e,t,n)},Ye.prototype.go=function(e){this.history.go(e)},Ye.prototype.back=function(){this.go(-1)},Ye.prototype.forward=function(){this.go(1)},Ye.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Ye.prototype.resolve=function(e,t,n){var i=z(e,t=t||this.history.current,n,this),r=this.match(i,t),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(e,t,n){var i="hash"===n?"#"+t:t;return e?A(e+"/"+i):i}(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},Ye.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ye.prototype,Pe),Ye.install=function e(t){if(!e.installed||$!==t){e.installed=!0,$=t;var n=function(e){return void 0!==e},i=function(e,t){var i=e.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",s),t.component("RouterLink",U);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}},Ye.version="3.1.3",X&&window.Vue&&window.Vue.use(Ye),t.a=Ye},,function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=a(h);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=(s=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),o=i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"});return[n].concat(o).concat([r]).join("\n")}var s;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},,,function(e,t,n){var i,r,o={},s=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=i.apply(this,arguments)),r}),a=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var i=a.call(this,e,n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}}(),c=null,u=0,d=[],h=n(65);function f(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=o[i.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](i.parts[s]);for(;s<i.parts.length;s++)r.parts.push(b(i.parts[s],t))}else{var a=[];for(s=0;s<i.parts.length;s++)a.push(b(i.parts[s],t));o[i.id]={id:i.id,refs:1,parts:a}}}}function p(e,t){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=t.base?o[0]+t.base:o[0],a={css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=d[d.length-1];if("top"===e.insertAt)i?i.nextSibling?n.insertBefore(t,i.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=l(e.insertAt.before,n);n.insertBefore(t,r)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function v(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var i=function(){0;return n.nc}();i&&(e.attrs.nonce=i)}return y(t,e.attrs),m(e,t),t}function y(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function b(e,t){var n,i,r,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var s=u++;n=c||(c=v(t)),i=x.bind(null,n,s,!1),r=x.bind(null,n,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),m(e,t),t}(t),i=C.bind(null,n,t),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),i=A.bind(null,n),r=function(){g(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var i=[],r=0;r<n.length;r++){var s=n[r];(a=o[s.id]).refs--,i.push(a)}e&&f(p(e,t),t);for(r=0;r<i.length;r++){var a;if(0===(a=i[r]).refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete o[a.id]}}}};var _,w=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function x(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=w(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function A(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var i=n.css,r=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||o)&&(i=h(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([i],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}},function(e,t,n){var i=n(66);"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(14)(i,r);i.locals&&(e.exports=i.locals)},function(e,t,n){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t,n){return(a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&s(r,n.prototype),r}).apply(null,arguments)}function l(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}var u=function(e){return Object.keys(e).map(function(t){return e[t]})},d=function(e){return Array.prototype.slice.call(e)},h=function(e){console.warn("".concat("SweetAlert2:"," ").concat(e))},f=function(e){console.error("".concat("SweetAlert2:"," ").concat(e))},p=[],m=function(e,t){var n;n='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),-1===p.indexOf(n)&&(p.push(n),h(n))},g=function(e){return"function"==typeof e?e():e},v=function(e){return e&&Promise.resolve(e)===e},y=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),b=function(e){var t={};for(var n in e)t[e[n]]="swal2-"+e[n];return t},_=b(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),w=b(["success","warning","info","question","error"]),x={previousBodyPadding:null},A=function(e,t){return e.classList.contains(t)},C=function(t,n,i){if(function(e){d(e.classList).forEach(function(t){-1===u(_).indexOf(t)&&-1===u(w).indexOf(t)&&e.classList.remove(t)})}(t),n&&n[i]){if("string"!=typeof n[i]&&!n[i].forEach)return h("Invalid type of customClass.".concat(i,'! Expected string or iterable object, got "').concat(e(n[i]),'"'));E(t,n[i])}};function k(e,t){if(!t)return null;switch(t){case"select":case"textarea":case"file":return T(e,_[t]);case"checkbox":return e.querySelector(".".concat(_.checkbox," input"));case"radio":return e.querySelector(".".concat(_.radio," input:checked"))||e.querySelector(".".concat(_.radio," input:first-child"));case"range":return e.querySelector(".".concat(_.range," input"));default:return T(e,_.input)}}var M,S=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},L=function(e,t,n){e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach(function(t){e.forEach?e.forEach(function(e){n?e.classList.add(t):e.classList.remove(t)}):n?e.classList.add(t):e.classList.remove(t)}))},E=function(e,t){L(e,t,!0)},D=function(e,t){L(e,t,!1)},T=function(e,t){for(var n=0;n<e.childNodes.length;n++)if(A(e.childNodes[n],t))return e.childNodes[n]},I=function(e,t,n){n||0===parseInt(n)?e.style[t]="number"==typeof n?n+"px":n:e.style.removeProperty(t)},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.opacity="",e.style.display=t},O=function(e){e.style.opacity="",e.style.display="none"},F=function(e,t,n){t?j(e,n):O(e)},N=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},Y=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),i=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||i>0},P=function(){return document.body.querySelector("."+_.container)},R=function(e){var t=P();return t?t.querySelector(e):null},B=function(e){return R("."+e)},H=function(){return B(_.popup)},z=function(){var e=H();return d(e.querySelectorAll("."+_.icon))},$=function(){var e=z().filter(function(e){return N(e)});return e.length?e[0]:null},W=function(){return B(_.title)},G=function(){return B(_.content)},V=function(){return B(_.image)},U=function(){return B(_["progress-steps"])},Z=function(){return B(_["validation-message"])},X=function(){return R("."+_.actions+" ."+_.confirm)},Q=function(){return R("."+_.actions+" ."+_.cancel)},K=function(){return B(_.actions)},J=function(){return B(_.header)},q=function(){return B(_.footer)},ee=function(){return B(_.close)},te=function(){var e=d(H().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(e,t){return(e=parseInt(e.getAttribute("tabindex")))>(t=parseInt(t.getAttribute("tabindex")))?1:e<t?-1:0}),t=d(H().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter(function(e){return"-1"!==e.getAttribute("tabindex")});return function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(e.concat(t)).filter(function(e){return N(e)})},ne=function(){return!ie()&&!document.body.classList.contains(_["no-backdrop"])},ie=function(){return document.body.classList.contains(_["toast-shown"])},re=function(){return"undefined"==typeof window||"undefined"==typeof document},oe='\n <div aria-labelledby="'.concat(_.title,'" aria-describedby="').concat(_.content,'" class="').concat(_.popup,'" tabindex="-1">\n <div class="').concat(_.header,'">\n <ul class="').concat(_["progress-steps"],'"></ul>\n <div class="').concat(_.icon," ").concat(w.error,'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n </div>\n <div class="').concat(_.icon," ").concat(w.question,'"></div>\n <div class="').concat(_.icon," ").concat(w.warning,'"></div>\n <div class="').concat(_.icon," ").concat(w.info,'"></div>\n <div class="').concat(_.icon," ").concat(w.success,'">\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n </div>\n <img class="').concat(_.image,'" />\n <h2 class="').concat(_.title,'" id="').concat(_.title,'"></h2>\n <button type="button" class="').concat(_.close,'"></button>\n </div>\n <div class="').concat(_.content,'">\n <div id="').concat(_.content,'"></div>\n <input class="').concat(_.input,'" />\n <input type="file" class="').concat(_.file,'" />\n <div class="').concat(_.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(_.select,'"></select>\n <div class="').concat(_.radio,'"></div>\n <label for="').concat(_.checkbox,'" class="').concat(_.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(_.label,'"></span>\n </label>\n <textarea class="').concat(_.textarea,'"></textarea>\n <div class="').concat(_["validation-message"],'" id="').concat(_["validation-message"],'"></div>\n </div>\n <div class="').concat(_.actions,'">\n <button type="button" class="').concat(_.confirm,'">OK</button>\n <button type="button" class="').concat(_.cancel,'">Cancel</button>\n </div>\n <div class="').concat(_.footer,'">\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),se=function(e){Vt.isVisible()&&M!==e.target.value&&Vt.resetValidationMessage(),M=e.target.value},ae=function(e){var t;if((t=P())&&(t.parentNode.removeChild(t),D([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]])),re())f("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=_.container,n.innerHTML=oe;var i,r,o,s,a,l,c,u,d,h="string"==typeof(i=e.target)?document.querySelector(i):i;h.appendChild(n),function(e){var t=H();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")}(e),function(e){"rtl"===window.getComputedStyle(e).direction&&E(P(),_.rtl)}(h),r=G(),o=T(r,_.input),s=T(r,_.file),a=r.querySelector(".".concat(_.range," input")),l=r.querySelector(".".concat(_.range," output")),c=T(r,_.select),u=r.querySelector(".".concat(_.checkbox," input")),d=T(r,_.textarea),o.oninput=se,s.onchange=se,c.onchange=se,u.onchange=se,d.oninput=se,a.oninput=function(e){se(e),l.value=a.value},a.onchange=function(e){se(e),a.nextSibling.value=a.value}}},le=function(t,n){t instanceof HTMLElement?n.appendChild(t):"object"===e(t)?ce(n,t):t&&(n.innerHTML=t)},ce=function(e,t){if(e.innerHTML="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},ue=function(){if(re())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1}(),de=function(e,t){var n=K(),i=X(),r=Q();t.showConfirmButton||t.showCancelButton||O(n),C(n,t.customClass,"actions"),he(i,"confirm",t),he(r,"cancel",t),t.buttonsStyling?function(e,t,n){E([e,t],_.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(t.style.backgroundColor=n.cancelButtonColor);var i=window.getComputedStyle(e).getPropertyValue("background-color");e.style.borderLeftColor=i,e.style.borderRightColor=i}(i,r,t):(D([i,r],_.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),t.reverseButtons&&i.parentNode.insertBefore(r,i)};function he(e,t,n){F(e,n["showC"+t.substring(1)+"Button"],"inline-block"),e.innerHTML=n[t+"ButtonText"],e.setAttribute("aria-label",n[t+"ButtonAriaLabel"]),e.className=_[t],C(e,n.customClass,t+"Button"),E(e,n[t+"ButtonClass"])}var fe=function(e,t){var n=P();n&&(function(e,t){"string"==typeof t?e.style.background=t:t||E([document.documentElement,document.body],_["no-backdrop"])}(n,t.backdrop),!t.backdrop&&t.allowOutsideClick&&h('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(e,t){t in _?E(e,_[t]):(h('The "position" parameter is not valid, defaulting to "center"'),E(e,_.center))}(n,t.position),function(e,t){if(t&&"string"==typeof t){var n="grow-"+t;n in _&&E(e,_[n])}}(n,t.grow),C(n,t.customClass,"container"),t.customContainerClass&&E(n,t.customContainerClass))},pe={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},me=["input","file","range","select","radio","checkbox","textarea"],ge=function(e){if(!we[e.input])return f('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=_e(e.input),n=we[e.input](t,e);j(n),setTimeout(function(){S(n)})},ve=function(e,t){var n=k(G(),e);if(n)for(var i in function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t].name;-1===["type","value","style"].indexOf(n)&&e.removeAttribute(n)}}(n),t)"range"===e&&"placeholder"===i||n.setAttribute(i,t[i])},ye=function(e){var t=_e(e.input);e.inputClass&&E(t,e.inputClass),e.customClass&&E(t,e.customClass.input)},be=function(e,t){e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},_e=function(e){var t=_[e]?_[e]:_.input;return T(G(),t)},we={};we.text=we.email=we.password=we.number=we.tel=we.url=function(t,n){return"string"==typeof n.inputValue||"number"==typeof n.inputValue?t.value=n.inputValue:v(n.inputValue)||h('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(e(n.inputValue),'"')),be(t,n),t.type=n.input,t},we.file=function(e,t){return be(e,t),e},we.range=function(e,t){var n=e.querySelector("input"),i=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,i.value=t.inputValue,e},we.select=function(e,t){if(e.innerHTML="",t.inputPlaceholder){var n=document.createElement("option");n.innerHTML=t.inputPlaceholder,n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return e},we.radio=function(e){return e.innerHTML="",e},we.checkbox=function(e,t){var n=k(G(),"checkbox");return n.value=1,n.id=_.checkbox,n.checked=Boolean(t.inputValue),e.querySelector("span").innerHTML=t.inputPlaceholder,e},we.textarea=function(e,t){if(e.value=t.inputValue,be(e,t),"MutationObserver"in window){var n=parseInt(window.getComputedStyle(H()).width),i=parseInt(window.getComputedStyle(H()).paddingLeft)+parseInt(window.getComputedStyle(H()).paddingRight);new MutationObserver(function(){var t=e.offsetWidth+i;H().style.width=t>n?t+"px":null}).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var xe=function(e,t){var n=G().querySelector("#"+_.content);t.html?(le(t.html,n),j(n,"block")):t.text?(n.textContent=t.text,j(n,"block")):O(n),function(e,t){var n=G(),i=pe.innerParams.get(e),r=!i||t.input!==i.input;me.forEach(function(e){var i=_[e],o=T(n,i);ve(e,t.inputAttributes),o.className=i,r&&O(o)}),t.input&&(r&&ge(t),ye(t))}(e,t),C(G(),t.customClass,"content")},Ae=function(){for(var e=z(),t=0;t<e.length;t++)O(e[t])},Ce=function(){for(var e=H(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),i=0;i<n.length;i++)n[i].style.backgroundColor=t},ke=function(e,t){var n=U();if(!t.progressSteps||0===t.progressSteps.length)return O(n);j(n),n.innerHTML="";var i=parseInt(null===t.currentProgressStep?Vt.getQueueStep():t.currentProgressStep);i>=t.progressSteps.length&&h("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(function(e,r){var o=function(e){var t=document.createElement("li");return E(t,_["progress-step"]),t.innerHTML=e,t}(e);if(n.appendChild(o),r===i&&E(o,_["active-progress-step"]),r!==t.progressSteps.length-1){var s=function(e){var t=document.createElement("li");return E(t,_["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t}(e);n.appendChild(s)}})},Me=function(e,t){var n=J();C(n,t.customClass,"header"),ke(e,t),function(e,t){var n=pe.innerParams.get(e);if(n&&t.type===n.type&&$())C($(),t.customClass,"icon");else if(Ae(),t.type)if(Ce(),-1!==Object.keys(w).indexOf(t.type)){var i=R(".".concat(_.icon,".").concat(w[t.type]));j(i),C(i,t.customClass,"icon"),L(i,"swal2-animate-".concat(t.type,"-icon"),t.animation)}else f('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.type,'"'))}(e,t),function(e,t){var n=V();if(!t.imageUrl)return O(n);j(n),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),I(n,"width",t.imageWidth),I(n,"height",t.imageHeight),n.className=_.image,C(n,t.customClass,"image"),t.imageClass&&E(n,t.imageClass)}(0,t),function(e,t){var n=W();F(n,t.title||t.titleText),t.title&&le(t.title,n),t.titleText&&(n.innerText=t.titleText),C(n,t.customClass,"title")}(0,t),function(e,t){var n=ee();n.innerHTML=t.closeButtonHtml,C(n,t.customClass,"closeButton"),F(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)}(0,t)},Se=function(e,t){!function(e,t){var n=H();I(n,"width",t.width),I(n,"padding",t.padding),t.background&&(n.style.background=t.background),n.className=_.popup,t.toast?(E([document.documentElement,document.body],_["toast-shown"]),E(n,_.toast)):E(n,_.modal),C(n,t.customClass,"popup"),"string"==typeof t.customClass&&E(n,t.customClass),L(n,_.noanimation,!t.animation)}(0,t),fe(0,t),Me(e,t),xe(e,t),de(0,t),function(e,t){var n=q();F(n,t.footer),t.footer&&le(t.footer,n),C(n,t.customClass,"footer")}(0,t),"function"==typeof t.onRender&&t.onRender(H())},Le=function(){return X()&&X().click()},Ee=[],De=function(){var e=H();e||Vt.fire(""),e=H();var t=K(),n=X(),i=Q();j(t),j(n),E([e,t],_.loading),n.disabled=!0,i.disabled=!0,e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},Te={},Ie=function(){return new Promise(function(e){var t=window.scrollX,n=window.scrollY;Te.restoreFocusTimeout=setTimeout(function(){Te.previousActiveElement&&Te.previousActiveElement.focus?(Te.previousActiveElement.focus(),Te.previousActiveElement=null):document.body&&document.body.focus(),e()},100),void 0!==t&&void 0!==n&&window.scrollTo(t,n)})},je={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onOpen:null,onRender:null,onClose:null,onAfterClose:null,scrollbarPadding:!0},Oe=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],Fe={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},Ne=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Ye=function(e){return Object.prototype.hasOwnProperty.call(je,e)},Pe=function(e){return Fe[e]},Re=function(e){Ye(e)||h('Unknown parameter "'.concat(e,'"'))},Be=function(e){-1!==Ne.indexOf(e)&&h('The parameter "'.concat(e,'" is incompatible with toasts'))},He=function(e){Pe(e)&&m(e,Pe(e))},ze=function(e){for(var t in e)Re(t),e.toast&&Be(t),He()},$e=Object.freeze({isValidParameter:Ye,isUpdatableParameter:function(e){return-1!==Oe.indexOf(e)},isDeprecatedParameter:Pe,argsToParams:function(t){var n={};switch(e(t[0])){case"object":r(n,t[0]);break;default:["title","html","type"].forEach(function(i,r){switch(e(t[r])){case"string":n[i]=t[r];break;case"undefined":break;default:f("Unexpected type of ".concat(i,'! Expected "string", got ').concat(e(t[r])))}})}return n},isVisible:function(){return N(H())},clickConfirm:Le,clickCancel:function(){return Q()&&Q().click()},getContainer:P,getPopup:H,getTitle:W,getContent:G,getImage:V,getIcon:$,getIcons:z,getCloseButton:ee,getActions:K,getConfirmButton:X,getCancelButton:Q,getHeader:J,getFooter:q,getFocusableElements:te,getValidationMessage:Z,isLoading:function(){return H().hasAttribute("data-loading")},fire:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a(this,t)},mixin:function(e){return function(n){function a(){return t(this,a),l(this,o(a).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(a,n),i(a,[{key:"_main",value:function(t){return c(o(a.prototype),"_main",this).call(this,r({},e,t))}}]),a}(this)},queue:function(e){var t=this;Ee=e;var n=function(e,t){Ee=[],document.body.removeAttribute("data-swal2-queue-step"),e(t)},i=[];return new Promise(function(e){!function r(o,s){o<Ee.length?(document.body.setAttribute("data-swal2-queue-step",o),t.fire(Ee[o]).then(function(t){void 0!==t.value?(i.push(t.value),r(o+1,s)):n(e,{dismiss:t.dismiss})})):n(e,{value:i})}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(e,t){return t&&t<Ee.length?Ee.splice(t,0,e):Ee.push(e)},deleteQueueStep:function(e){void 0!==Ee[e]&&Ee.splice(e,1)},showLoading:De,enableLoading:De,getTimerLeft:function(){return Te.timeout&&Te.timeout.getTimerLeft()},stopTimer:function(){return Te.timeout&&Te.timeout.stop()},resumeTimer:function(){return Te.timeout&&Te.timeout.start()},toggleTimer:function(){var e=Te.timeout;return e&&(e.running?e.stop():e.start())},increaseTimer:function(e){return Te.timeout&&Te.timeout.increase(e)},isTimerRunning:function(){return Te.timeout&&Te.timeout.isRunning()}});function We(){var e=pe.innerParams.get(this),t=pe.domCache.get(this);e.showConfirmButton||(O(t.confirmButton),e.showCancelButton||O(t.actions)),D([t.popup,t.actions],_.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.cancelButton.disabled=!1}var Ge=function(){null===x.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(x.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=x.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var e=document.createElement("div");e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}()+"px")},Ve=function(){null!==x.previousBodyPadding&&(document.body.style.paddingRight=x.previousBodyPadding+"px",x.previousBodyPadding=null)},Ue=function(){var e,t=P();t.ontouchstart=function(n){var i;e=n.target===t||!((i=t).scrollHeight>i.clientHeight)&&"INPUT"!==n.target.tagName},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},Ze=function(){if(A(document.body,_.iosfix)){var e=parseInt(document.body.style.top,10);D(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},Xe=function(){return!!window.MSInputMethodContext&&!!document.documentMode},Qe=function(){var e=P(),t=H();e.style.removeProperty("align-items"),t.offsetTop<0&&(e.style.alignItems="flex-start")},Ke=function(){"undefined"!=typeof window&&Xe()&&window.removeEventListener("resize",Qe)},Je=function(){d(document.body.children).forEach(function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},qe={swalPromiseResolve:new WeakMap};function et(e,t,n,i){n?ot(e,i):(Ie().then(function(){return ot(e,i)}),Te.keydownTarget.removeEventListener("keydown",Te.keydownHandler,{capture:Te.keydownListenerCapture}),Te.keydownHandlerAdded=!1),t.parentNode&&t.parentNode.removeChild(t),ne()&&(Ve(),Ze(),Ke(),Je()),D([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"],_["toast-column"]])}function tt(e){var t=H();if(t&&!A(t,_.hide)){var n=pe.innerParams.get(this);if(n){var i=qe.swalPromiseResolve.get(this);D(t,_.show),E(t,_.hide),nt(this,t,n),i(e||{})}}}var nt=function(e,t,n){var i=P(),r=ue&&Y(t),o=n.onClose,s=n.onAfterClose;null!==o&&"function"==typeof o&&o(t),r?it(e,t,i,s):et(e,i,ie(),s)},it=function(e,t,n,i){Te.swalCloseEventFinishedCallback=et.bind(null,e,n,ie(),i),t.addEventListener(ue,function(e){e.target===t&&(Te.swalCloseEventFinishedCallback(),delete Te.swalCloseEventFinishedCallback)})},rt=function(e){for(var t in e)e[t]=new WeakMap},ot=function(e,t){setTimeout(function(){null!==t&&"function"==typeof t&&t(),H()||function(e){delete e.params,delete Te.keydownHandler,delete Te.keydownTarget,rt(pe),rt(qe)}(e)})};function st(e,t,n){var i=pe.domCache.get(e);t.forEach(function(e){i[e].disabled=n})}function at(e,t){if(!e)return!1;if("radio"===e.type)for(var n=e.parentNode.parentNode.querySelectorAll("input"),i=0;i<n.length;i++)n[i].disabled=t;else e.disabled=t}var lt=function(){function e(n,i){t(this,e),this.callback=n,this.remaining=i,this.running=!1,this.start()}return i(e,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),e}(),ct={email:function(e,t){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function ut(e){!function(e){e.inputValidator||Object.keys(ct).forEach(function(t){e.input===t&&(e.inputValidator=ct[t])})}(e),e.showLoaderOnConfirm&&!e.preConfirm&&h("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),e.animation=g(e.animation),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(h('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),ae(e)}function dt(e,t){e.removeEventListener(ue,dt),t.style.overflowY="auto"}var ht,ft=function(e,t){ue&&Y(t)?(e.style.overflowY="hidden",t.addEventListener(ue,dt.bind(null,t,e))):e.style.overflowY="auto"},pt=function(e,t){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!A(document.body,_.iosfix)){var e=document.body.scrollTop;document.body.style.top=-1*e+"px",E(document.body,_.iosfix),Ue()}}(),"undefined"!=typeof window&&Xe()&&(Qe(),window.addEventListener("resize",Qe)),d(document.body.children).forEach(function(e){e===P()||function(e,t){if("function"==typeof e.contains)return e.contains(t)}(e,P())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}),t&&Ge(),setTimeout(function(){e.scrollTop=0})},mt=function(e,t,n){n.animation&&E(t,_.show),j(t),E([document.documentElement,document.body,e],_.shown),n.heightAuto&&n.backdrop&&!n.toast&&E([document.documentElement,document.body],_["height-auto"])},gt=function(e){return e.checked?1:0},vt=function(e){return e.checked?e.value:null},yt=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},bt=function(t,n){var i=G(),r=function(e){return wt[n.input](i,xt(e),n)};v(n.inputOptions)?(De(),n.inputOptions.then(function(e){t.hideLoading(),r(e)})):"object"===e(n.inputOptions)?r(n.inputOptions):f("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(n.inputOptions)))},_t=function(e,t){var n=e.getInput();O(n),t.inputValue.then(function(i){n.value="number"===t.input?parseFloat(i)||0:i+"",j(n),n.focus(),e.hideLoading()}).catch(function(t){f("Error in inputValue promise: "+t),n.value="",j(n),n.focus(),e.hideLoading()})},wt={select:function(e,t,n){var i=T(e,_.select);t.forEach(function(e){var t=e[0],r=e[1],o=document.createElement("option");o.value=t,o.innerHTML=r,n.inputValue.toString()===t.toString()&&(o.selected=!0),i.appendChild(o)}),i.focus()},radio:function(e,t,n){var i=T(e,_.radio);t.forEach(function(e){var t=e[0],r=e[1],o=document.createElement("input"),s=document.createElement("label");o.type="radio",o.name=_.radio,o.value=t,n.inputValue.toString()===t.toString()&&(o.checked=!0);var a=document.createElement("span");a.innerHTML=r,a.className=_.label,s.appendChild(o),s.appendChild(a),i.appendChild(s)});var r=i.querySelectorAll("input");r.length&&r[0].focus()}},xt=function(e){var t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(function(e,n){t.push([n,e])}):Object.keys(e).forEach(function(n){t.push([n,e[n]])}),t},At=function(e,t){var n=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return gt(n);case"radio":return vt(n);case"file":return yt(n);default:return t.inputAutoTrim?n.value.trim():n.value}}(e,t);t.inputValidator?(e.disableInput(),Promise.resolve().then(function(){return t.inputValidator(n,t.validationMessage)}).then(function(i){e.enableButtons(),e.enableInput(),i?e.showValidationMessage(i):kt(e,t,n)})):e.getInput().checkValidity()?kt(e,t,n):(e.enableButtons(),e.showValidationMessage(t.validationMessage))},Ct=function(e,t){e.closePopup({value:t})},kt=function(e,t,n){t.showLoaderOnConfirm&&De(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then(function(){return t.preConfirm(n,t.validationMessage)}).then(function(t){N(Z())||!1===t?e.hideLoading():Ct(e,void 0===t?n:t)})):Ct(e,n)},Mt=function(e,t,n){for(var i=te(),r=0;r<i.length;r++)return(t+=n)===i.length?t=0:-1===t&&(t=i.length-1),i[t].focus();H().focus()},St=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],Lt=["Escape","Esc"],Et=function(e,t,n,i){n.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Dt(e,t,n):"Tab"===t.key?Tt(t,n):-1!==St.indexOf(t.key)?It():-1!==Lt.indexOf(t.key)&&jt(t,n,i)},Dt=function(e,t,n){if(!t.isComposing&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;Le(),t.preventDefault()}},Tt=function(e,t){for(var n=e.target,i=te(),r=-1,o=0;o<i.length;o++)if(n===i[o]){r=o;break}e.shiftKey?Mt(0,r,-1):Mt(0,r,1),e.stopPropagation(),e.preventDefault()},It=function(){var e=X(),t=Q();document.activeElement===e&&N(t)?t.focus():document.activeElement===t&&N(e)&&e.focus()},jt=function(e,t,n){g(t.allowEscapeKey)&&(e.preventDefault(),n(y.esc))},Ot=function(e,t,n){e.popup.onclick=function(){t.showConfirmButton||t.showCancelButton||t.showCloseButton||t.input||n(y.close)}},Ft=!1,Nt=function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(Ft=!0)}}},Yt=function(e){e.container.onmousedown=function(){e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(Ft=!0)}}},Pt=function(e,t,n){e.container.onclick=function(i){Ft?Ft=!1:i.target===e.container&&g(t.allowOutsideClick)&&n(y.backdrop)}},Rt=function(e,t,n){return new Promise(function(i){var r,o,s,a=function(t){e.closePopup({dismiss:t})};qe.swalPromiseResolve.set(e,i),Ht(Te,n,a),t.confirmButton.onclick=function(){return function(e,t){e.disableButtons(),t.input?At(e,t):kt(e,t,!0)}(e,n)},t.cancelButton.onclick=function(){return function(e,t){e.disableButtons(),t(y.cancel)}(e,a)},t.closeButton.onclick=function(){return a(y.close)},function(e,t,n){t.toast?Ot(e,t,n):(Nt(e),Yt(e),Pt(e,t,n))}(t,n,a),function(e,t,n,i){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return Et(e,t,n,i)},t.keydownTarget=n.keydownListenerCapture?window:H(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}(e,Te,n,a),n.toast&&(n.input||n.footer||n.showCloseButton)?E(document.body,_["toast-column"]):D(document.body,_["toast-column"]),function(e,t){"select"===t.input||"radio"===t.input?bt(e,t):-1!==["text","email","number","tel","textarea"].indexOf(t.input)&&v(t.inputValue)&&_t(e,t)}(e,n),r=n,o=P(),s=H(),"function"==typeof r.onBeforeOpen&&r.onBeforeOpen(s),mt(o,s,r),ft(o,s),ne()&&pt(o,r.scrollbarPadding),ie()||Te.previousActiveElement||(Te.previousActiveElement=document.activeElement),"function"==typeof r.onOpen&&setTimeout(function(){return r.onOpen(s)}),zt(t,n),t.container.scrollTop=0})},Bt=function(e){var t={popup:H(),container:P(),content:G(),actions:K(),confirmButton:X(),cancelButton:Q(),closeButton:ee(),validationMessage:Z(),progressSteps:U()};return pe.domCache.set(e,t),t},Ht=function(e,t,n){t.timer&&(e.timeout=new lt(function(){n("timer"),delete e.timeout},t.timer))},zt=function(e,t){if(!t.toast)return g(t.allowEnterKey)?t.focusCancel&&N(e.cancelButton)?e.cancelButton.focus():t.focusConfirm&&N(e.confirmButton)?e.confirmButton.focus():void Mt(0,-1,1):$t()},$t=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},Wt=Object.freeze({hideLoading:We,disableLoading:We,getInput:function(e){var t=pe.innerParams.get(e||this),n=pe.domCache.get(e||this);return n?k(n.content,t.input):null},close:tt,closePopup:tt,closeModal:tt,closeToast:tt,enableButtons:function(){st(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){st(this,["confirmButton","cancelButton"],!0)},enableConfirmButton:function(){m("Swal.enableConfirmButton()","Swal.getConfirmButton().removeAttribute('disabled')"),st(this,["confirmButton"],!1)},disableConfirmButton:function(){m("Swal.disableConfirmButton()","Swal.getConfirmButton().setAttribute('disabled', '')"),st(this,["confirmButton"],!0)},enableInput:function(){return at(this.getInput(),!1)},disableInput:function(){return at(this.getInput(),!0)},showValidationMessage:function(e){var t=pe.domCache.get(this);t.validationMessage.innerHTML=e;var n=window.getComputedStyle(t.popup);t.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),t.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),j(t.validationMessage);var i=this.getInput();i&&(i.setAttribute("aria-invalid",!0),i.setAttribute("aria-describedBy",_["validation-message"]),S(i),E(i,_.inputerror))},resetValidationMessage:function(){var e=pe.domCache.get(this);e.validationMessage&&O(e.validationMessage);var t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),D(t,_.inputerror))},getProgressSteps:function(){return m("Swal.getProgressSteps()","const swalInstance = Swal.fire({progressSteps: ['1', '2', '3']}); const progressSteps = swalInstance.params.progressSteps"),pe.innerParams.get(this).progressSteps},setProgressSteps:function(e){m("Swal.setProgressSteps()","Swal.update()");var t=r({},pe.innerParams.get(this),{progressSteps:e});ke(this,t),pe.innerParams.set(this,t)},showProgressSteps:function(){var e=pe.domCache.get(this);j(e.progressSteps)},hideProgressSteps:function(){var e=pe.domCache.get(this);O(e.progressSteps)},_main:function(e){ze(e),H()&&Te.swalCloseEventFinishedCallback&&(Te.swalCloseEventFinishedCallback(),delete Te.swalCloseEventFinishedCallback),Te.deferDisposalTimer&&(clearTimeout(Te.deferDisposalTimer),delete Te.deferDisposalTimer);var t=r({},je,e);ut(t),Object.freeze(t),Te.timeout&&(Te.timeout.stop(),delete Te.timeout),clearTimeout(Te.restoreFocusTimeout);var n=Bt(this);return Se(this,t),pe.innerParams.set(this,t),Rt(this,n,t)},update:function(e){var t=H();if(!t||A(t,_.hide))return h("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");var n={};Object.keys(e).forEach(function(t){Vt.isUpdatableParameter(t)?n[t]=e[t]:h('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});var i=r({},pe.innerParams.get(this),n);Se(this,i),pe.innerParams.set(this,i),Object.defineProperties(this,{params:{value:r({},this.params,e),writable:!1,enumerable:!0}})}});function Gt(){if("undefined"!=typeof window){"undefined"==typeof Promise&&f("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),ht=this;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=Object.freeze(this.constructor.argsToParams(t));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});var r=this._main(this.params);pe.promise.set(this,r)}}Gt.prototype.then=function(e){return pe.promise.get(this).then(e)},Gt.prototype.finally=function(e){return pe.promise.get(this).finally(e)},r(Gt.prototype,Wt),r(Gt,$e),Object.keys(Wt).forEach(function(e){Gt[e]=function(){var t;if(ht)return(t=ht)[e].apply(t,arguments)}}),Gt.DismissReason=y,Gt.version="8.19.0";var Vt=Gt;return Vt.default=Vt,Vt}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2)},function(e,t,n){"use strict";n.r(t),function(e){for(var n="undefined"!=typeof window&&"undefined"!=typeof document,i=["Edge","Trident","Firefox"],r=0,o=0;o<i.length;o+=1)if(n&&navigator.userAgent.indexOf(i[o])>=0){r=1;break}var s=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},r))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:u(c(e))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?h:d||h}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s,a,l=o.commonAncestorContainer;if(e!==l&&t!==l||i.contains(r))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&p(s.firstElementChild)!==s?p(l):l;var c=m(e);return c.host?g(c.host,t):g(e,m(t).host)}function v(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function y(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function b(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,i=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,i),width:b("Width",t,n,i)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},x=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),A=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function k(e){return C({},e,{right:e.left+e.width,bottom:e.top+e.height})}function M(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=v(e,"top"),i=v(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?_(e.ownerDocument):{},s=o.width||e.clientWidth||r.right-r.left,a=o.height||e.clientHeight||r.bottom-r.top,c=e.offsetWidth-s,u=e.offsetHeight-a;if(c||u){var d=l(e);c-=y(d,"x"),u-=y(d,"y"),r.width-=c,r.height-=u}return k(r)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=f(10),r="HTML"===t.nodeName,o=M(e),s=M(t),a=u(e),c=l(t),d=parseFloat(c.borderTopWidth,10),h=parseFloat(c.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=k({top:o.top-s.top-d,left:o.left-s.left-h,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){var m=parseFloat(c.marginTop,10),g=parseFloat(c.marginLeft,10);p.top-=d-m,p.bottom-=d-m,p.left-=h-g,p.right-=h-g,p.marginTop=m,p.marginLeft=g}return(i&&!n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=v(t,"top"),r=v(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}(p,t)),p}function L(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function E(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},s=r?L(e):g(e,t);if("viewport"===i)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=S(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:v(n),a=t?0:v(n,"left");return k({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o})}(s,r);else{var a=void 0;"scrollParent"===i?"BODY"===(a=u(c(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===i?e.ownerDocument.documentElement:i;var d=S(a,s,r);if("HTML"!==a.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(t,"position"))return!0;var i=c(t);return!!i&&e(i)}(s))o=d;else{var h=_(e.ownerDocument),f=h.height,p=h.width;o.top+=d.top-d.marginTop,o.bottom=f+d.top,o.left+=d.left-d.marginLeft,o.right=p+d.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function D(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=E(n,i,o,r),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map(function(e){return C({key:e},a[e],{area:(t=a[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function T(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,i?L(t):g(t,n),i)}function I(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function j(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function O(e,t,n){n=n.split("-")[0];var i=I(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[s]=t[s]+t[l]/2-i[l]/2,r[a]=n===a?t[a]-i[c]:t[j(a)],r}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=F(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=n(t,e))}),t}function Y(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=D(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=O(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function P(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function R(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if(void 0!==document.body.style[o])return o}return null}function B(){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[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(e){var t=e.ownerDocument;return t?t.defaultView:window}function z(e,t,n,i){n.updateBound=i,H(e).addEventListener("resize",n.updateBound,{passive:!0});var r=u(e);return function e(t,n,i,r){var o="BODY"===t.nodeName,s=o?t.ownerDocument.defaultView:t;s.addEventListener(n,i,{passive:!0}),o||e(u(s.parentNode),n,i,r),r.push(s)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function $(){this.state.eventsEnabled||(this.state=z(this.reference,this.options,this.state,this.scheduleUpdate))}function W(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,H(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(i="px"),e.style[n]=t[n]+i})}var U=n&&/Firefox/i.test(navigator.userAgent);function Z(e,t,n){var i=F(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var X=["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"],Q=X.slice(3);function K(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(e),i=Q.slice(n+1).concat(Q.slice(0,n));return t?i.reverse():i}var J={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function q(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(F(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map(function(e,i){var r=(1===i?!o:o)?"height":"width",s=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return k(a)[t]/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}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){G(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),r}var ee={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:A({},l,o[l]),end:A({},l,o[l]+o[c]-s[c])};e.offsets.popper=C({},s,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,r=e.offsets,o=r.popper,s=r.reference,a=i.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:q(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]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var i=R("transform"),r=e.instance.popper.style,o=r.top,s=r.left,a=r[i];r.top="",r.left="",r[i]="";var l=E(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=s,r[i]=a,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),A({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),A({},n,i)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=C({},u,d[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[c]),n[l]>o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,s=o.popper,a=o.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=I(i)[u];a[p]-m<s[h]&&(e.offsets.popper[h]-=s[h]-(a[p]-m)),a[h]+m>s[p]&&(e.offsets.popper[h]+=a[h]+m-s[p]),e.offsets.popper=k(e.offsets.popper);var g=a[h]+a[u]/2-m/2,v=l(e.instance.popper),y=parseFloat(v["margin"+d],10),b=parseFloat(v["border"+d+"Width"],10),_=g-e.offsets.popper[h]-y-b;return _=Math.max(Math.min(s[u]-m,_),0),e.arrowElement=i,e.offsets.arrow=(A(n={},h,Math.round(_)),A(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(P(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=j(i),o=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case J.FLIP:s=[i,r];break;case J.CLOCKWISE:s=K(i);break;case J.COUNTERCLOCKWISE:s=K(i,!0);break;default:s=t.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return e;i=e.placement.split("-")[0],r=j(i);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===i&&f||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,y=-1!==["top","bottom"].indexOf(i),b=!!t.flipVariations&&(y&&"start"===o&&f||y&&"end"===o&&p||!y&&"start"===o&&m||!y&&"end"===o&&g),_=!!t.flipVariationsByContent&&(y&&"start"===o&&p||y&&"end"===o&&f||!y&&"start"===o&&g||!y&&"end"===o&&m),w=b||_;(h||v||w)&&(e.flipped=!0,(h||v)&&(i=s[l+1]),w&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=C({},e.offsets.popper,O(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=j(t),e.offsets.popper=k(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=F(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:t.gpuAcceleration,a=p(e.instance.popper),l=M(a),c={position:r.position},u=function(e,t){var n=e.offsets,i=n.popper,r=n.reference,o=Math.round,s=Math.floor,a=function(e){return e},l=o(r.width),c=o(i.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),h=t?u||d||l%2==c%2?o:s:a,f=t?o:a;return{left:h(l%2==1&&c%2==1&&!d&&t?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:h(i.right)}}(e,window.devicePixelRatio<2||!U),d="bottom"===n?"top":"bottom",h="right"===i?"left":"right",f=R("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&f)c[f]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,y="right"===h?-1:1;c[d]=g*v,c[h]=m*y,c.willChange=d+", "+h}var b={"x-placement":e.placement};return e.attributes=C({},b,e.attributes),e.styles=C({},c,e.styles),e.arrowStyles=C({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return V(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){var o=T(r,t,e,n.positionFixed),s=D(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),V(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},te=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=s(this.update.bind(this)),this.options=C({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},e.Defaults.modifiers,r.modifiers)).forEach(function(t){i.options.modifiers[t]=C({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return C({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&a(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return x(e,[{key:"update",value:function(){return Y.call(this)}},{key:"destroy",value:function(){return B.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();te.Utils=("undefined"!=typeof window?window:e).PopperUtils,te.placements=X,te.Defaults=ee,t.default=te}.call(this,n(5))},function(e,t,n){var i;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var o=[],s=n.document,a=Object.getPrototypeOf,l=o.slice,c=o.concat,u=o.push,d=o.indexOf,h={},f=h.toString,p=h.hasOwnProperty,m=p.toString,g=m.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,r,o=(n=n||s).createElement("script");if(o.text=e,t)for(i in _)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[f.call(e)]||"object":typeof e}var A=function(e,t){return new A.fn.init(e,t)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function k(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}A.fn=A.prototype={jquery:"3.4.1",constructor:A,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:o.sort,splice:o.splice},A.extend=A.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||y(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(A.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||A.isPlainObject(n)?n:{},r=!1,s[t]=A.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},A.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&m.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){w(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(k(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?A.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:d.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(k(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return c.apply([],s)},guid:1,support:v}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=o[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){h["[object "+t+"]"]=t.toLowerCase()});var M=function(e){var t,n,i,r,o,s,a,l,c,u,d,h,f,p,m,g,v,y,b,_="sizzle"+1*new Date,w=e.document,x=0,A=0,C=le(),k=le(),M=le(),S=le(),L=function(e,t){return e===t&&(d=!0),0},E={}.hasOwnProperty,D=[],T=D.pop,I=D.push,j=D.push,O=D.slice,F=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Y="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+Y+"*("+P+")(?:"+Y+"*([*^$|!~]?=)"+Y+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+Y+"*\\]",B=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",H=new RegExp(Y+"+","g"),z=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g"),$=new RegExp("^"+Y+"*,"+Y+"*"),W=new RegExp("^"+Y+"*([>+~]|"+Y+")"+Y+"*"),G=new RegExp(Y+"|>"),V=new RegExp(B),U=new RegExp("^"+P+"$"),Z={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Y+"*(even|odd|(([+-]|)(\\d*)n|)"+Y+"*(?:([+-]|)"+Y+"*(\\d+)|))"+Y+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+Y+"?|("+Y+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){h()},se=_e(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{j.apply(D=O.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){j={apply:D.length?function(e,t){I.apply(e,O.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,r){var o,a,c,u,d,p,v,y=t&&t.ownerDocument,x=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return i;if(!r&&((t?t.ownerDocument||t:w)!==f&&h(t),t=t||f,m)){if(11!==x&&(d=q.exec(e)))if(o=d[1]){if(9===x){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return i.push(c),i}else{if(d[2])return j.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===x&&G.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=_),a=(p=s(e)).length;a--;)p[a]="#"+u+" "+be(p[a]);v=p.join(","),y=ee.test(e)&&ve(t.parentNode)||t}try{return j.apply(i,y.querySelectorAll(v)),i}catch(t){S(e,!0)}finally{u===_&&t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[_]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},h=ae.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:w;return s!==f&&9===s.nodeType&&s.documentElement?(p=(f=s).documentElement,m=!o(f),w!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ue(function(e){return p.appendChild(e).id=_,!f.getElementsByName||!f.getElementsByName(_).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(f.querySelectorAll))&&(ue(function(e){p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+Y+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+Y+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+_+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+Y+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(p.compareDocumentPosition),b=t||J.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===w&&b(w,e)?-1:t===f||t.ownerDocument===w&&b(w,t)?1:u?F(u,e)-F(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===f?-1:t===f?1:r?-1:o?1:u?F(u,e)-F(u,t):0;if(r===o)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?he(s[i],a[i]):s[i]===w?-1:a[i]===w?1:0},f):f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&h(e),n.matchesSelector&&m&&!S[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){S(t,!0)}return ae(t,f,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==f&&h(e),b(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==f&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&E.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(ie,re)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(L),d){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return u=null,e},r=ae.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=ae.selectors={cacheLength:50,createPseudo:ce,match:Z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+Y+")"+e+"("+Y+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=ae.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,f,p,m=o!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(o){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(b=(f=(c=(u=(d=(h=g)[_]||(h[_]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){u[e]=[x,f,b];break}}else if(y&&(b=f=(c=(u=(d=(h=t)[_]||(h[_]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===b)for(;(h=++f&&h&&h[m]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((u=(d=h[_]||(h[_]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[x,b]),h!==t)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return r[_]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var i,o=r(e,t),s=o.length;s--;)e[i=F(e,o[s])]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ce(function(e){var t=[],n=[],i=a(e.replace(z,"$1"));return i[_]?ce(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return ae(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}}),lang:ce(function(e){return U.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=pe(t);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function _e(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=A++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var c,u,d,h=[x,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(u=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[o])&&c[0]===x&&c[1]===a)return h[2]=c[2];if(u[o]=h,h[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function xe(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function Ae(e,t,n,i,r,o){return i&&!i[_]&&(i=Ae(i)),r&&!r[_]&&(r=Ae(r,o)),ce(function(o,s,a,l){var c,u,d,h=[],f=[],p=s.length,m=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)ae(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),g=!e||!o&&t?m:xe(m,h,e,a,l),v=n?r||(o?e:p||i)?[]:s:g;if(n&&n(g,v,a,l),i)for(c=xe(v,f),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(g[f[u]]=d));if(o){if(r||e){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=r?F(o,d):h[u])>-1&&(o[c]=!(s[c]=d))}}else v=xe(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):j.apply(s,v)})}function Ce(e){for(var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,u=_e(function(e){return e===t},a,!0),d=_e(function(e){return F(t,e)>-1},a,!0),h=[function(e,n,i){var r=!s&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])h=[_e(we(h),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[_]){for(r=++l;r<o&&!i.relative[e[r].type];r++);return Ae(l>1&&we(h),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,l<r&&Ce(e.slice(l,r)),r<o&&Ce(e=e.slice(r)),r<o&&be(e))}h.push(n)}return we(h)}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,s=ae.tokenize=function(e,t){var n,r,o,s,a,l,c,u=k[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=i.preFilter;a;){for(s in n&&!(r=$.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=W.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length)),i.filter)!(r=Z[s].exec(a))||c[s]&&!(r=c[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):k(e,l).slice(0)},a=ae.compile=function(e,t){var n,r=[],o=[],a=M[e+" "];if(!a){for(t||(t=s(e)),n=t.length;n--;)(a=Ce(t[n]))[_]?r.push(a):o.push(a);(a=M(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,s,a,l,u){var d,p,g,v=0,y="0",b=o&&[],_=[],w=c,A=o||r&&i.find.TAG("*",u),C=x+=null==w?1:Math.random()||.1,k=A.length;for(u&&(c=s===f||s||u);y!==k&&null!=(d=A[y]);y++){if(r&&d){for(p=0,s||d.ownerDocument===f||(h(d),a=!m);g=e[p++];)if(g(d,s||f,a)){l.push(d);break}u&&(x=C)}n&&((d=!g&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(p=0;g=t[p++];)g(b,_,s,a);if(o){if(v>0)for(;y--;)b[y]||_[y]||(_[y]=T.call(l));_=xe(_)}j.apply(l,_),u&&!o&&_.length>0&&v+t.length>1&&ae.uniqueSort(l)}return u&&(x=C,c=w),b};return n?ce(o):o}(o,r))).selector=e}return a},l=ae.select=function(e,t,n,r){var o,l,c,u,d,h="function"==typeof e&&e,f=!r&&s(e=h.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=Z.needsContext.test(e)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((d=i.find[u])&&(r=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=r.length&&be(l)))return j.apply(n,r),n;break}}return(h||a(e,f))(r,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=_.split("").sort(L).join("")===_,n.detectDuplicates=!!d,h(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(N,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),ae}(n);A.find=M,A.expr=M.selectors,A.expr[":"]=A.expr.pseudos,A.uniqueSort=A.unique=M.uniqueSort,A.text=M.getText,A.isXMLDoc=M.isXML,A.contains=M.contains,A.escapeSelector=M.escape;var S=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&A(e).is(n))break;i.push(e)}return i},L=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=A.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return y(t)?A.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?A.grep(e,function(e){return e===t!==n}):"string"!=typeof t?A.grep(e,function(e){return d.call(t,e)>-1!==n}):A.filter(t,e,n)}A.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?A.find.matchesSelector(i,e)?[i]:[]:A.find.matches(e,A.grep(t,function(e){return 1===e.nodeType}))},A.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(A(e).filter(function(){for(t=0;t<i;t++)if(A.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)A.find(e,r[t],n);return i>1?A.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&E.test(e)?A(e):e||[],!1).length}});var j,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:s,!0)),T.test(i[1])&&A.isPlainObject(t))for(i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=s.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,j=A(s);var F=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function Y(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(A.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&A(e);if(!E.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&A.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?d.call(A(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return Y(e,"nextSibling")},prev:function(e){return Y(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(D(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},function(e,t){A.fn[e]=function(n,i){var r=A.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=A.filter(i,r)),this.length>1&&(N[e]||A.uniqueSort(r),F.test(e)&&r.reverse()),this.pushStack(r)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function B(e){throw e}function H(e,t,n,i){var r;try{e&&y(r=e.promise)?r.call(e).done(t).fail(n):e&&y(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(P)||[],function(e,n){t[n]=!0}),t}(e):A.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){A.each(n,function(n,i){y(i)?e.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==x(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return A.each(arguments,function(e,t){for(var n;(n=A.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?A.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return A.Deferred(function(n){A.each(t,function(t,i){var r=y(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,i,r){var o=0;function s(e,t,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(e<o)){if((n=i.apply(a,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(c)?r?c.call(n,s(o,t,R,r),s(o,t,B,r)):(o++,c.call(n,s(o,t,R,r),s(o,t,B,r),s(o,t,R,t.notifyWith))):(i!==R&&(a=void 0,l=[n]),(r||t.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(n){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(i!==B&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?u():(A.Deferred.getStackHook&&(u.stackTrace=A.Deferred.getStackHook()),n.setTimeout(u))}}return A.Deferred(function(n){t[0][3].add(s(0,n,y(r)?r:R,n.notifyWith)),t[1][3].add(s(0,n,y(e)?e:R)),t[2][3].add(s(0,n,y(i)?i:B))}).promise()},promise:function(e){return null!=e?A.extend(e,r):r}},o={};return A.each(t,function(e,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add(function(){i=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=l.call(arguments),o=A.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(H(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||y(r[n]&&r[n].then)))return o.then();for(;n--;)H(r[n],s(n),o.reject);return o.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&z.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){n.setTimeout(function(){throw e})};var $=A.Deferred();function W(){s.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),A.ready()}A.fn.ready=function(e){return $.then(e).catch(function(e){A.readyException(e)}),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||$.resolveWith(s,[A]))}}),A.ready.then=$.then,"complete"===s.readyState||"loading"!==s.readyState&&!s.documentElement.doScroll?n.setTimeout(A.ready):(s.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var G=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if("object"===x(n))for(a in r=!0,n)G(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,y(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(A(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o},V=/^-ms-/,U=/-([a-z])/g;function Z(e,t){return t.toUpperCase()}function X(e){return e.replace(V,"ms-").replace(U,Z)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=A.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[X(t)]=n;else for(i in t)r[X(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in i?[t]:t.match(P)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||A.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!A.isEmptyObject(t)}};var J=new K,q=new K,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}q.set(e,t,n)}else n=void 0;return n}A.extend({hasData:function(e){return q.hasData(e)||J.hasData(e)},data:function(e,t,n){return q.access(e,t,n)},removeData:function(e,t){q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),A.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=X(i.slice(5)),ne(o,i,r[i]));J.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){q.set(this,e)}):G(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=q.get(o,e))?n:void 0!==(n=ne(o,e))?n:void 0;this.each(function(){q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){q.remove(this,e)})}}),A.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=J.get(e,t),n&&(!i||Array.isArray(n)?i=J.access(e,t,A.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=A.queue(e,t),i=n.length,r=n.shift(),o=A._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){A.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:A.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),A.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?A.queue(this[0],e):void 0===t?this:this.each(function(){var n=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&A.dequeue(this,e)})},dequeue:function(e){return this.each(function(){A.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=A.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=J.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ie+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],se=s.documentElement,ae=function(e){return A.contains(e.ownerDocument,e)},le={composed:!0};se.getRootNode&&(ae=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===A.css(e,"display")},ue=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=s[o];return r};function de(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return A.css(e,t,"")},l=a(),c=n&&n[3]||(A.cssNumber[t]?"":"px"),u=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&re.exec(A.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)A.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,A.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var he={};function fe(e){var t,n=e.ownerDocument,i=e.nodeName,r=he[i];return r||(t=n.body.appendChild(n.createElement(i)),r=A.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),he[i]=r,r)}function pe(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=J.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ce(i)&&(r[o]=fe(i))):"none"!==n&&(r[o]="none",J.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}A.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ce(this)?A(this).show():A(this).hide()})}});var me=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i,ye={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?A.merge([e],n):n}function _e(e,t){for(var n=0,i=e.length;n<i;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ye.optgroup=ye.option,ye.tbody=ye.tfoot=ye.colgroup=ye.caption=ye.thead,ye.th=ye.td;var we,xe,Ae=/<|&#?\w+;/;function Ce(e,t,n,i,r){for(var o,s,a,l,c,u,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===x(o))A.merge(h,o.nodeType?[o]:o);else if(Ae.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(ge.exec(o)||["",""])[1].toLowerCase(),l=ye[a]||ye._default,s.innerHTML=l[1]+A.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;A.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(t.createTextNode(o));for(d.textContent="",f=0;o=h[f++];)if(i&&A.inArray(o,i)>-1)r&&r.push(o);else if(c=ae(o),s=be(d.appendChild(o),"script"),c&&_e(s),n)for(u=0;o=s[u++];)ve.test(o.type||"")&&n.push(o);return d}we=s.createDocumentFragment().appendChild(s.createElement("div")),(xe=s.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),we.appendChild(xe),v.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue;var ke=/^key/,Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function Le(){return!0}function Ee(){return!1}function De(e,t){return e===function(){try{return s.activeElement}catch(e){}}()==("focus"===t)}function Te(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Te(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ee;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return A().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=A.guid++)),e.each(function(){A.event.add(this,t,r,i,n)})}function Ie(e,t,n){n?(J.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=J.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=l.call(arguments),J.set(this,t,o),i=n(this,t),this[t](),o!==(r=J.get(this,t))||i?J.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else o.length&&(J.set(this,t,{value:A.event.trigger(A.extend(o[0],A.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&A.event.add(e,t,Le)}A.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=J.get(e);if(g)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&A.find.matchesSelector(se,r),n.guid||(n.guid=A.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(P)||[""]).length;c--;)f=m=(a=Se.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=A.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=A.event.special[f]||{},u=A.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&A.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(f,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),A.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=J.hasData(e)&&J.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(f=m=(a=Se.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=A.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||A.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)A.event.remove(e,f+t[c],n,i,!0);A.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=A.event.fix(e),l=new Array(arguments.length),c=(J.get(this,"events")||{})[a.type]||[],u=A.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=A.event.handlers.call(this,a,c),t=0;(r=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(i=((A.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?A(r,this).index(c)>-1:A.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(A.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&D(t,"input")&&Ie(t,"click",Le),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&D(t,"input")&&Ie(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&D(t,"input")&&J.get(t,"click")||D(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Le:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Le,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Le,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Le,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},A.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ke.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Me.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},function(e,t){A.event.special[e]={setup:function(){return Ie(this,e,De),!1},trigger:function(){return Ie(this,e),!0},delegateType:t}}),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||A.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),A.fn.extend({on:function(e,t,n,i){return Te(this,e,t,n,i)},one:function(e,t,n,i){return Te(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,A(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){A.event.remove(this,e,n,t)})}});var je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Oe=/<script|<style|<link/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ye(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,i,r,o,s,a,l,c;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),s=J.set(t,o),c=o.events))for(r in delete s.handle,s.events={},c)for(n=0,i=c[r].length;n<i;n++)A.event.add(t,r,c[r][n]);q.hasData(e)&&(a=q.access(e),l=A.extend({},a),q.set(t,l))}}function He(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function ze(e,t,n,i){t=c.apply([],t);var r,o,s,a,l,u,d=0,h=e.length,f=h-1,p=t[0],m=y(p);if(m||h>1&&"string"==typeof p&&!v.checkClone&&Fe.test(p))return e.each(function(r){var o=e.eq(r);m&&(t[0]=p.call(this,r,o.html())),ze(o,t,n,i)});if(h&&(o=(r=Ce(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=A.map(be(r,"script"),Pe)).length;d<h;d++)l=r,d!==f&&(l=A.clone(l,!0,!0),a&&A.merge(s,be(l,"script"))),n.call(e[d],l,d);if(a)for(u=s[s.length-1].ownerDocument,A.map(s,Re),d=0;d<a;d++)l=s[d],ve.test(l.type||"")&&!J.access(l,"globalEval")&&A.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?A._evalUrl&&!l.noModule&&A._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):w(l.textContent.replace(Ne,""),l,u))}return e}function $e(e,t,n){for(var i,r=t?A.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||A.cleanData(be(i)),i.parentNode&&(n&&ae(i)&&_e(be(i,"script")),i.parentNode.removeChild(i));return e}A.extend({htmlPrefilter:function(e){return e.replace(je,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=ae(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(s=be(a),i=0,r=(o=be(e)).length;i<r;i++)He(o[i],s[i]);if(t)if(n)for(o=o||be(e),s=s||be(a),i=0,r=o.length;i<r;i++)Be(o[i],s[i]);else Be(e,a);return(s=be(a,"script")).length>0&&_e(s,!l&&be(e,"script")),a},cleanData:function(e){for(var t,n,i,r=A.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[J.expando]){if(t.events)for(i in t.events)r[i]?A.event.remove(n,i):A.removeEvent(n,i,t.handle);n[J.expando]=void 0}n[q.expando]&&(n[q.expando]=void 0)}}}),A.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return G(this,function(e){return void 0===e?A.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ze(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ye(this,e).appendChild(e)})},prepend:function(){return ze(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ye(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(A.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return A.clone(this,e,t)})},html:function(e){return G(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ye[(ge.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(A.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,function(t){var n=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(be(this)),n&&n.replaceChild(t,this))},e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){A.fn[e]=function(e){for(var n,i=[],r=A(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),A(r[s])[t](n),u.apply(i,n.get());return this.pushStack(i)}});var We=new RegExp("^("+ie+")(?!px)[a-z%]+$","i"),Ge=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=new RegExp(oe.join("|"),"i");function Ue(e,t,n){var i,r,o,s,a=e.style;return(n=n||Ge(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||ae(e)||(s=A.style(e,t)),!v.pixelBoxStyles()&&We.test(s)&&Ve.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",se.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);i="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),r=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),se.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var i,r,o,a,l,c=s.createElement("div"),u=s.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,A.extend(v,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o}}))}();var Xe=["Webkit","Moz","ms"],Qe=s.createElement("div").style,Ke={};function Je(e){var t=A.cssProps[e]||Ke[e];return t||(e in Qe?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Qe)return e}(e)||e)}var qe=/^(none|table(?!-c[ea]).+)/,et=/^--/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function it(e,t,n){var i=re.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function rt(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=A.css(e,n+oe[s],!0,r)),i?("content"===n&&(l-=A.css(e,"padding"+oe[s],!0,r)),"margin"!==n&&(l-=A.css(e,"border"+oe[s]+"Width",!0,r))):(l+=A.css(e,"padding"+oe[s],!0,r),"padding"!==n?l+=A.css(e,"border"+oe[s]+"Width",!0,r):a+=A.css(e,"border"+oe[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function ot(e,t,n){var i=Ge(e),r=(!v.boxSizingReliable()||n)&&"border-box"===A.css(e,"boxSizing",!1,i),o=r,s=Ue(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(s)){if(!n)return s;s="auto"}return(!v.boxSizingReliable()&&r||"auto"===s||!parseFloat(s)&&"inline"===A.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===A.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+rt(e,t,n||(r?"border":"content"),o,i,s)+"px"}function st(e,t,n,i,r){return new st.prototype.init(e,t,n,i,r)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=X(t),l=et.test(t),c=e.style;if(l||(t=Je(a)),s=A.cssHooks[t]||A.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"===(o=typeof n)&&(r=re.exec(n))&&r[1]&&(n=de(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(A.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=X(t);return et.test(t)||(t=Je(a)),(s=A.cssHooks[t]||A.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Ue(e,t,i)),"normal"===r&&t in nt&&(r=nt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),A.each(["height","width"],function(e,t){A.cssHooks[t]={get:function(e,n,i){if(n)return!qe.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,t,i):ue(e,tt,function(){return ot(e,t,i)})},set:function(e,n,i){var r,o=Ge(e),s=!v.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===A.css(e,"boxSizing",!1,o),l=i?rt(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-rt(e,t,"border",!1,o)-.5)),l&&(r=re.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=A.css(e,t)),it(0,n,l)}}}),A.cssHooks.marginLeft=Ze(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),A.each({margin:"",padding:"",border:"Width"},function(e,t){A.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+oe[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(A.cssHooks[e+t].set=it)}),A.fn.extend({css:function(e,t){return G(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Ge(e),r=t.length;s<r;s++)o[t[s]]=A.css(e,t[s],!1,i);return o}return void 0!==n?A.style(e,t,n):A.css(e,t)},e,t,arguments.length>1)}}),A.Tween=st,st.prototype={constructor:st,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=A.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=st.prototype.init,A.fx.step={};var at,lt,ct=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function dt(){lt&&(!1===s.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(dt):n.setTimeout(dt,A.fx.interval),A.fx.tick())}function ht(){return n.setTimeout(function(){at=void 0}),at=Date.now()}function ft(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=oe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function pt(e,t,n){for(var i,r=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function mt(e,t,n){var i,r,o=0,s=mt.prefilters.length,a=A.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=at||ht(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(i);return a.notifyWith(e,[c,i,n]),i<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:t,originalOptions:n,startTime:at||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var i=A.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=X(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=A.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);o<s;o++)if(i=mt.prefilters[o].call(c,e,u,c.opts))return y(i.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return A.map(u,pt,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(mt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return de(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(P);for(var n,i=0,r=e.length;i<r;i++)n=e[i],mt.tweeners[n]=mt.tweeners[n]||[],mt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,c,u,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&ce(e),g=J.get(e,"fxshow");for(i in n.queue||(null==(s=A._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,A.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],ct.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||A.style(e,i)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=J.get(e,"display")),"none"===(u=A.css(e,"display"))&&(c?u=c:(pe([e],!0),c=e.style.display||c,u=A.css(e,"display"),pe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.css(e,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=J.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&pe([e],!0),h.done(function(){for(i in m||pe([e]),J.remove(e,"fxshow"),f)A.style(e,i,f[i])})),l=pt(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?mt.prefilters.unshift(e):mt.prefilters.push(e)}}),A.speed=function(e,t,n){var i=e&&"object"==typeof e?A.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return A.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in A.fx.speeds?i.duration=A.fx.speeds[i.duration]:i.duration=A.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&A.dequeue(this,i.queue)},i},A.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=A.isEmptyObject(e),o=A.speed(t,n,i),s=function(){var t=mt(this,A.extend({},e),o);(r||J.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=A.timers,s=J.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&ut.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||A.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=A.timers,s=i?i.length:0;for(n.finish=!0,A.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),A.each(["toggle","show","hide"],function(e,t){var n=A.fn[t];A.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,i,r)}}),A.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){A.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),A.timers=[],A.fx.tick=function(){var e,t=0,n=A.timers;for(at=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||A.fx.stop(),at=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){lt||(lt=!0,dt())},A.fx.stop=function(){lt=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}})},function(){var e=s.createElement("input"),t=s.createElement("select").appendChild(s.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=s.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var gt,vt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return G(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){A.removeAttr(this,e)})}}),A.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?A.prop(e,t,n):(1===o&&A.isXMLDoc(e)||(r=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void A.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=A.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(P);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?A.removeAttr(e,n):e.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vt[t]||A.find.attr;vt[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=vt[s],vt[s]=r,r=null!=n(e,t,i)?s:null,vt[s]=o),r}});var yt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;function _t(e){return(e.match(P)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}A.fn.extend({prop:function(e,t){return G(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[A.propFix[e]||e]})}}),A.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(e)||(t=A.propFix[t]||t,r=A.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(A.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){A.propFix[this.toLowerCase()]=this}),A.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(y(e))return this.each(function(t){A(this).addClass(e.call(this,t,wt(this)))});if((t=xt(e)).length)for(;n=this[l++];)if(r=wt(n),i=1===n.nodeType&&" "+_t(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=_t(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(y(e))return this.each(function(t){A(this).removeClass(e.call(this,t,wt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)for(;n=this[l++];)if(r=wt(n),i=1===n.nodeType&&" "+_t(r)+" "){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(a=_t(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):y(e)?this.each(function(n){A(this).toggleClass(e.call(this,n,wt(this),t),t)}):this.each(function(){var t,r,o,s;if(i)for(r=0,o=A(this),s=xt(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=wt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+_t(wt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;A.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=y(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,A(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=A.map(r,function(e){return null==e?"":e+""})),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=A.valHooks[r.type]||A.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(At,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:_t(A.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(t=A(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=A.makeArray(t),s=r.length;s--;)((i=r[s]).selected=A.inArray(A.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},v.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var Ct=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,i,r){var o,a,l,c,u,d,h,f,m=[i||s],g=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=l=i=i||s,3!==i.nodeType&&8!==i.nodeType&&!Ct.test(g+A.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),u=g.indexOf(":")<0&&"on"+g,(e=e[A.expando]?e:new A.Event(g,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:A.makeArray(t,[e]),h=A.event.special[g]||{},r||!h.trigger||!1!==h.trigger.apply(i,t))){if(!r&&!h.noBubble&&!b(i)){for(c=h.delegateType||g,Ct.test(c+g)||(a=a.parentNode);a;a=a.parentNode)m.push(a),l=a;l===(i.ownerDocument||s)&&m.push(l.defaultView||l.parentWindow||n)}for(o=0;(a=m[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?c:h.bindType||g,(d=(J.get(a,"events")||{})[e.type]&&J.get(a,"handle"))&&d.apply(a,t),(d=u&&a[u])&&d.apply&&Q(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,r||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(m.pop(),t)||!Q(i)||u&&y(i[g])&&!b(i)&&((l=i[u])&&(i[u]=null),A.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,kt),i[g](),e.isPropagationStopped()&&f.removeEventListener(g,kt),A.event.triggered=void 0,l&&(i[u]=l)),e.result}},simulate:function(e,t,n){var i=A.extend(new A.Event,n,{type:e,isSimulated:!0});A.event.trigger(i,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each(function(){A.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return A.event.trigger(e,t,n,!0)}}),v.focusin||A.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){A.event.simulate(t,e.target,A.event.fix(e))};A.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=J.access(i,t);r||i.addEventListener(e,n,!0),J.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=J.access(i,t)-1;r?J.access(i,t,r):(i.removeEventListener(e,n,!0),J.remove(i,t))}}});var Mt=n.location,St=Date.now(),Lt=/\?/;A.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||A.error("Invalid XML: "+e),t};var Et=/\[\]$/,Dt=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,i){var r;if(Array.isArray(t))A.each(t,function(t,r){n||Et.test(e)?i(e,r):jt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==x(t))i(e,t);else for(r in t)jt(e+"["+r+"]",t[r],n,i)}A.param=function(e,t){var n,i=[],r=function(e,t){var n=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,function(){r(this.name,this.value)});else for(n in e)jt(n,e[n],t,r);return i.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&It.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var Ot=/%20/g,Ft=/#.*$/,Nt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,Rt=/^\/\//,Bt={},Ht={},zt="*/".concat("*"),$t=s.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(P)||[];if(y(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Gt(e,t,n,i){var r={},o=e===Ht;function s(a){var l;return r[a]=!0,A.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)}),l}return s(t.dataTypes[0])||!r["*"]&&s("*")}function Vt(e,t){var n,i,r=A.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&A.extend(!0,e,i),e}$t.href=Mt.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Mt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,A.ajaxSettings),t):Vt(A.ajaxSettings,e)},ajaxPrefilter:Wt(Bt),ajaxTransport:Wt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,o,a,l,c,u,d,h,f,p=A.ajaxSetup({},t),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?A(m):A.event,v=A.Deferred(),y=A.Callbacks("once memory"),b=p.statusCode||{},_={},w={},x="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Yt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),k(0,t),this}};if(v.promise(C),p.url=((e||p.url||Mt.href)+"").replace(Rt,Mt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(P)||[""],null==p.crossDomain){c=s.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=$t.protocol+"//"+$t.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=A.param(p.data,p.traditional)),Gt(Bt,p,t,C),u)return C;for(h in(d=A.event&&p.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Pt.test(p.type),r=p.url.replace(Ft,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ot,"+")):(f=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Lt.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Nt,"$1"),f=(Lt.test(r)?"&":"?")+"_="+St+++f),p.url=r+f),p.ifModified&&(A.lastModified[r]&&C.setRequestHeader("If-Modified-Since",A.lastModified[r]),A.etag[r]&&C.setRequestHeader("If-None-Match",A.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(m,C,p)||u))return C.abort();if(x="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),i=Gt(Ht,p,t,C)){if(C.readyState=1,d&&g.trigger("ajaxSend",[C,p]),u)return C;p.async&&p.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},p.timeout));try{u=!1,i.send(_,k)}catch(e){if(u)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,s,a){var c,h,f,_,w,x=t;u||(u=!0,l&&n.clearTimeout(l),i=void 0,o=a||"",C.readyState=e>0?4:0,c=e>=200&&e<300||304===e,s&&(_=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,C,s)),_=function(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,_,C,c),c?(p.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(A.lastModified[r]=w),(w=C.getResponseHeader("etag"))&&(A.etag[r]=w)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=_.state,h=_.data,c=!(f=_.error))):(f=x,!e&&x||(x="error",e<0&&(e=0))),C.status=e,C.statusText=(t||x)+"",c?v.resolveWith(m,[h,x,C]):v.rejectWith(m,[C,x,f]),C.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?h:f]),y.fireWith(m,[C,x]),d&&(g.trigger("ajaxComplete",[C,p]),--A.active||A.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return A.get(e,t,n,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],function(e,t){A[t]=function(e,n,i,r){return y(n)&&(r=r||i,i=n,n=void 0),A.ajax(A.extend({url:e,type:t,dataType:r,data:n,success:i},A.isPlainObject(e)&&e))}}),A._evalUrl=function(e,t){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=A(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return y(e)?this.each(function(t){A(this).wrapInner(e.call(this,t))}):this.each(function(){var t=A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=y(e);return this.each(function(n){A(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){A(this).replaceWith(this.childNodes)}),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Zt=A.ajaxSettings.xhr();v.cors=!!Zt&&"withCredentials"in Zt,v.ajax=Zt=!!Zt,A.ajaxTransport(function(e){var t,i;if(v.cors||Zt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ut[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),i=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),A.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),A.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return A.globalEval(e),e}}}),A.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),A.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=A("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),s.head.appendChild(t[0])},abort:function(){n&&n()}}});var Xt,Qt=[],Kt=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||A.expando+"_"+St++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",function(e,t,i){var r,o,s,a=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Kt,"$1"+r):!1!==e.jsonp&&(e.url+=(Lt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||A.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always(function(){void 0===o?A(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(r)),s&&y(o)&&o(s[0]),s=o=void 0}),"script"}),v.createHTMLDocument=((Xt=s.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),A.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((i=(t=s.implementation.createHTMLDocument("")).createElement("base")).href=s.location.href,t.head.appendChild(i)):t=s),o=!n&&[],(r=T.exec(e))?[t.createElement(r[1])]:(r=Ce([e],t,o),o&&o.length&&A(o).remove(),A.merge([],r.childNodes)));var i,r,o},A.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=_t(e.slice(a)),e=e.slice(0,a)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&A.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?A("<div>").append(A.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){A.fn[t]=function(e){return this.on(t,e)}}),A.expr.pseudos.animated=function(e){return A.grep(A.timers,function(t){return e===t.elem}).length},A.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=A.css(e,"position"),u=A(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),y(t)&&(t=t.call(e,n,A.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){A.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===A.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===A.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),r.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-A.css(i,"marginTop",!0),left:t.left-r.left-A.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||se})}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;A.fn[e]=function(i){return G(this,function(e,i,r){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r},e,i,arguments.length)}}),A.each(["top","left"],function(e,t){A.cssHooks[t]=Ze(v.pixelPosition,function(e,n){if(n)return n=Ue(e,t),We.test(n)?A(e).position()[t]+"px":n})}),A.each({Height:"height",Width:"width"},function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){A.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return G(this,function(t,n,r){var o;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?A.css(t,n,a):A.style(t,n,r,a)},t,s?r:void 0,s)}})}),A.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){A.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),A.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),A.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),A.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return i=l.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(l.call(arguments)))}).guid=e.guid=e.guid||A.guid++,r},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=D,A.isFunction=y,A.isWindow=b,A.camelCase=X,A.type=x,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(i=function(){return A}.apply(t,[]))||(e.exports=i);var Jt=n.jQuery,qt=n.$;return A.noConflict=function(e){return n.$===A&&(n.$=qt),e&&n.jQuery===A&&(n.jQuery=Jt),A},r||(n.jQuery=n.$=A),A})},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},function(e,t,n){"use strict";var i=n(4),r=n(35),o=n(37),s=n(38),a=n(39),l=n(21);e.exports=function(e){return new Promise(function(t,c){var u=e.data,d=e.headers;i.isFormData(u)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";d.Authorization="Basic "+btoa(f+":"+p)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};r(t,c,i),h=null}},h.onerror=function(){c(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},i.isStandardBrowserEnv()){var m=n(40),g=(e.withCredentials||a(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&i.forEach(d,function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)}),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),c(e),h=null)}),void 0===u&&(u=null),h.send(u)})}},function(e,t,n){"use strict";var i=n(36);e.exports=function(e,t,n,r,o){var s=new Error(e);return i(s,t,n,r,o)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(50),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(5))},function(e,t,n){e.exports=n(31)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},,function(e,t,n){window._=n(29);try{window.Popper=n(17).default,window.$=window.jQuery=n(18),n(30)}catch(e){}window.axios=n(25),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(e,t,n){(function(e,i){var r;(function(){var o,s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,f=2,p=4,m=1,g=2,v=1,y=2,b=4,_=8,w=16,x=32,A=64,C=128,k=256,M=512,S=30,L="...",E=800,D=16,T=1,I=2,j=1/0,O=9007199254740991,F=17976931348623157e292,N=NaN,Y=4294967295,P=Y-1,R=Y>>>1,B=[["ary",C],["bind",v],["bindKey",y],["curry",_],["curryRight",w],["flip",M],["partial",x],["partialRight",A],["rearg",k]],H="[object Arguments]",z="[object Array]",$="[object AsyncFunction]",W="[object Boolean]",G="[object Date]",V="[object DOMException]",U="[object Error]",Z="[object Function]",X="[object GeneratorFunction]",Q="[object Map]",K="[object Number]",J="[object Null]",q="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",ie="[object String]",re="[object Symbol]",oe="[object Undefined]",se="[object WeakMap]",ae="[object WeakSet]",le="[object ArrayBuffer]",ce="[object DataView]",ue="[object Float32Array]",de="[object Float64Array]",he="[object Int8Array]",fe="[object Int16Array]",pe="[object Int32Array]",me="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",ye="[object Uint32Array]",be=/\b__p \+= '';/g,_e=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,Ae=/[&<>"']/g,Ce=RegExp(xe.source),ke=RegExp(Ae.source),Me=/<%-([\s\S]+?)%>/g,Se=/<%([\s\S]+?)%>/g,Le=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/[\\^$.*+?()[\]{}|]/g,je=RegExp(Ie.source),Oe=/^\s+|\s+$/g,Fe=/^\s+/,Ne=/\s+$/,Ye=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pe=/\{\n\/\* \[wrapped with (.+)\] \*/,Re=/,? & /,Be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,ze=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$e=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Ue=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,Ke=/['\n\r\u2028\u2029\\]/g,Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",qe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+qe+"]",nt="["+Je+"]",it="\\d+",rt="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",st="[^\\ud800-\\udfff"+qe+it+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",at="\\ud83c[\\udffb-\\udfff]",lt="[^\\ud800-\\udfff]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+ot+"|"+st+")",ft="(?:"+dt+"|"+st+")",pt="(?:"+nt+"|"+at+")"+"?",mt="[\\ufe0e\\ufe0f]?"+pt+("(?:\\u200d(?:"+[lt,ct,ut].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*"),gt="(?:"+[rt,ct,ut].join("|")+")"+mt,vt="(?:"+[lt+nt+"?",nt,ct,ut,et].join("|")+")",yt=RegExp("['’]","g"),bt=RegExp(nt,"g"),_t=RegExp(at+"(?="+at+")|"+vt+mt,"g"),wt=RegExp([dt+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,dt,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,dt+ht,"$"].join("|")+")",dt+"?"+ht+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",it,gt].join("|"),"g"),xt=RegExp("[\\u200d\\ud800-\\udfff"+Je+"\\ufe0e\\ufe0f]"),At=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ct=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kt=-1,Mt={};Mt[ue]=Mt[de]=Mt[he]=Mt[fe]=Mt[pe]=Mt[me]=Mt[ge]=Mt[ve]=Mt[ye]=!0,Mt[H]=Mt[z]=Mt[le]=Mt[W]=Mt[ce]=Mt[G]=Mt[U]=Mt[Z]=Mt[Q]=Mt[K]=Mt[q]=Mt[te]=Mt[ne]=Mt[ie]=Mt[se]=!1;var St={};St[H]=St[z]=St[le]=St[ce]=St[W]=St[G]=St[ue]=St[de]=St[he]=St[fe]=St[pe]=St[Q]=St[K]=St[q]=St[te]=St[ne]=St[ie]=St[re]=St[me]=St[ge]=St[ve]=St[ye]=!0,St[U]=St[Z]=St[se]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Et=parseFloat,Dt=parseInt,Tt="object"==typeof e&&e&&e.Object===Object&&e,It="object"==typeof self&&self&&self.Object===Object&&self,jt=Tt||It||Function("return this")(),Ot=t&&!t.nodeType&&t,Ft=Ot&&"object"==typeof i&&i&&!i.nodeType&&i,Nt=Ft&&Ft.exports===Ot,Yt=Nt&&Tt.process,Pt=function(){try{var e=Ft&&Ft.require&&Ft.require("util").types;return e||Yt&&Yt.binding&&Yt.binding("util")}catch(e){}}(),Rt=Pt&&Pt.isArrayBuffer,Bt=Pt&&Pt.isDate,Ht=Pt&&Pt.isMap,zt=Pt&&Pt.isRegExp,$t=Pt&&Pt.isSet,Wt=Pt&&Pt.isTypedArray;function Gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Vt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var s=e[r];t(i,s,n(s),e)}return i}function Ut(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Zt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Xt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Qt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var s=e[n];t(s,n,e)&&(o[r++]=s)}return o}function Kt(e,t){return!!(null==e?0:e.length)&&ln(e,t,0)>-1}function Jt(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function qt(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function en(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function tn(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function nn(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function rn(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var on=hn("length");function sn(e,t,n){var i;return n(e,function(e,n,r){if(t(e,n,r))return i=n,!1}),i}function an(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function ln(e,t,n){return t==t?function(e,t,n){var i=n-1,r=e.length;for(;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):an(e,un,n)}function cn(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function un(e){return e!=e}function dn(e,t){var n=null==e?0:e.length;return n?mn(e,t)/n:N}function hn(e){return function(t){return null==t?o:t[e]}}function fn(e){return function(t){return null==e?o:e[t]}}function pn(e,t,n,i,r){return r(e,function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)}),n}function mn(e,t){for(var n,i=-1,r=e.length;++i<r;){var s=t(e[i]);s!==o&&(n=n===o?s:n+s)}return n}function gn(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function vn(e){return function(t){return e(t)}}function yn(e,t){return qt(t,function(t){return e[t]})}function bn(e,t){return e.has(t)}function _n(e,t){for(var n=-1,i=e.length;++n<i&&ln(t,e[n],0)>-1;);return n}function wn(e,t){for(var n=e.length;n--&&ln(t,e[n],0)>-1;);return n}var xn=fn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),An=fn({"&":"&","<":"<",">":">",'"':""","'":"'"});function Cn(e){return"\\"+Lt[e]}function kn(e){return xt.test(e)}function Mn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function Sn(e,t){return function(n){return e(t(n))}}function Ln(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var s=e[n];s!==t&&s!==d||(e[n]=d,o[r++]=n)}return o}function En(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Dn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Tn(e){return kn(e)?function(e){var t=_t.lastIndex=0;for(;_t.test(e);)++t;return t}(e):on(e)}function In(e){return kn(e)?function(e){return e.match(_t)||[]}(e):function(e){return e.split("")}(e)}var jn=fn({"&":"&","<":"<",">":">",""":'"',"'":"'"});var On=function e(t){var n,i=(t=null==t?jt:On.defaults(jt.Object(),t,On.pick(jt,Ct))).Array,r=t.Date,Je=t.Error,qe=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,it=t.String,rt=t.TypeError,ot=i.prototype,st=qe.prototype,at=tt.prototype,lt=t["__core-js_shared__"],ct=st.toString,ut=at.hasOwnProperty,dt=0,ht=(n=/[^.]+$/.exec(lt&<.keys&<.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ft=at.toString,pt=ct.call(tt),mt=jt._,gt=nt("^"+ct.call(ut).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Nt?t.Buffer:o,_t=t.Symbol,xt=t.Uint8Array,Lt=vt?vt.allocUnsafe:o,Tt=Sn(tt.getPrototypeOf,tt),It=tt.create,Ot=at.propertyIsEnumerable,Ft=ot.splice,Yt=_t?_t.isConcatSpreadable:o,Pt=_t?_t.iterator:o,on=_t?_t.toStringTag:o,fn=function(){try{var e=Ro(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Fn=t.clearTimeout!==jt.clearTimeout&&t.clearTimeout,Nn=r&&r.now!==jt.Date.now&&r.now,Yn=t.setTimeout!==jt.setTimeout&&t.setTimeout,Pn=et.ceil,Rn=et.floor,Bn=tt.getOwnPropertySymbols,Hn=vt?vt.isBuffer:o,zn=t.isFinite,$n=ot.join,Wn=Sn(tt.keys,tt),Gn=et.max,Vn=et.min,Un=r.now,Zn=t.parseInt,Xn=et.random,Qn=ot.reverse,Kn=Ro(t,"DataView"),Jn=Ro(t,"Map"),qn=Ro(t,"Promise"),ei=Ro(t,"Set"),ti=Ro(t,"WeakMap"),ni=Ro(tt,"create"),ii=ti&&new ti,ri={},oi=ds(Kn),si=ds(Jn),ai=ds(qn),li=ds(ei),ci=ds(ti),ui=_t?_t.prototype:o,di=ui?ui.valueOf:o,hi=ui?ui.toString:o;function fi(e){if(La(e)&&!va(e)&&!(e instanceof vi)){if(e instanceof gi)return e;if(ut.call(e,"__wrapped__"))return hs(e)}return new gi(e)}var pi=function(){function e(){}return function(t){if(!Sa(t))return{};if(It)return It(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function mi(){}function gi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function vi(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Y,this.__views__=[]}function yi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function bi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function _i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function wi(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _i;++t<n;)this.add(e[t])}function xi(e){var t=this.__data__=new bi(e);this.size=t.size}function Ai(e,t){var n=va(e),i=!n&&ga(e),r=!n&&!i&&wa(e),o=!n&&!i&&!r&&Na(e),s=n||i||r||o,a=s?gn(e.length,it):[],l=a.length;for(var c in e)!t&&!ut.call(e,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Vo(c,l))||a.push(c);return a}function Ci(e){var t=e.length;return t?e[wr(0,t-1)]:o}function ki(e,t){return ls(no(e),Oi(t,0,e.length))}function Mi(e){return ls(no(e))}function Si(e,t,n){(n===o||fa(e[t],n))&&(n!==o||t in e)||Ii(e,t,n)}function Li(e,t,n){var i=e[t];ut.call(e,t)&&fa(i,n)&&(n!==o||t in e)||Ii(e,t,n)}function Ei(e,t){for(var n=e.length;n--;)if(fa(e[n][0],t))return n;return-1}function Di(e,t,n,i){return Ri(e,function(e,r,o){t(i,e,n(e),o)}),i}function Ti(e,t){return e&&io(t,rl(t),e)}function Ii(e,t,n){"__proto__"==t&&fn?fn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ji(e,t){for(var n=-1,r=t.length,s=i(r),a=null==e;++n<r;)s[n]=a?o:qa(e,t[n]);return s}function Oi(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Fi(e,t,n,i,r,s){var a,l=t&h,c=t&f,u=t&p;if(n&&(a=r?n(e,i,r,s):n(e)),a!==o)return a;if(!Sa(e))return e;var d=va(e);if(d){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&ut.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return no(e,a)}else{var m=zo(e),g=m==Z||m==X;if(wa(e))return Qr(e,l);if(m==q||m==H||g&&!r){if(a=c||g?{}:Wo(e),!l)return c?function(e,t){return io(e,Ho(e),t)}(e,function(e,t){return e&&io(t,ol(t),e)}(a,e)):function(e,t){return io(e,Bo(e),t)}(e,Ti(a,e))}else{if(!St[m])return r?e:{};a=function(e,t,n){var i=e.constructor;switch(t){case le:return Kr(e);case W:case G:return new i(+e);case ce:return function(e,t){var n=t?Kr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ue:case de:case he:case fe:case pe:case me:case ge:case ve:case ye:return Jr(e,n);case Q:return new i;case K:case ie:return new i(e);case te:return function(e){var t=new e.constructor(e.source,$e.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new i;case re:return r=e,di?tt(di.call(r)):{}}var r}(e,m,l)}}s||(s=new xi);var v=s.get(e);if(v)return v;s.set(e,a),ja(e)?e.forEach(function(i){a.add(Fi(i,t,n,i,e,s))}):Ea(e)&&e.forEach(function(i,r){a.set(r,Fi(i,t,n,r,e,s))});var y=d?o:(u?c?Io:To:c?ol:rl)(e);return Ut(y||e,function(i,r){y&&(i=e[r=i]),Li(a,r,Fi(i,t,n,r,e,s))}),a}function Ni(e,t,n){var i=n.length;if(null==e)return!i;for(e=tt(e);i--;){var r=n[i],s=t[r],a=e[r];if(a===o&&!(r in e)||!s(a))return!1}return!0}function Yi(e,t,n){if("function"!=typeof e)throw new rt(l);return rs(function(){e.apply(o,n)},t)}function Pi(e,t,n,i){var r=-1,o=Kt,a=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=qt(t,vn(n))),i?(o=Jt,a=!1):t.length>=s&&(o=bn,a=!1,t=new wi(t));e:for(;++r<l;){var d=e[r],h=null==n?d:n(d);if(d=i||0!==d?d:0,a&&h==h){for(var f=u;f--;)if(t[f]===h)continue e;c.push(d)}else o(t,h,i)||c.push(d)}return c}fi.templateSettings={escape:Me,evaluate:Se,interpolate:Le,variable:"",imports:{_:fi}},fi.prototype=mi.prototype,fi.prototype.constructor=fi,gi.prototype=pi(mi.prototype),gi.prototype.constructor=gi,vi.prototype=pi(mi.prototype),vi.prototype.constructor=vi,yi.prototype.clear=function(){this.__data__=ni?ni(null):{},this.size=0},yi.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},yi.prototype.get=function(e){var t=this.__data__;if(ni){var n=t[e];return n===c?o:n}return ut.call(t,e)?t[e]:o},yi.prototype.has=function(e){var t=this.__data__;return ni?t[e]!==o:ut.call(t,e)},yi.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ni&&t===o?c:t,this},bi.prototype.clear=function(){this.__data__=[],this.size=0},bi.prototype.delete=function(e){var t=this.__data__,n=Ei(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ft.call(t,n,1),--this.size,!0)},bi.prototype.get=function(e){var t=this.__data__,n=Ei(t,e);return n<0?o:t[n][1]},bi.prototype.has=function(e){return Ei(this.__data__,e)>-1},bi.prototype.set=function(e,t){var n=this.__data__,i=Ei(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},_i.prototype.clear=function(){this.size=0,this.__data__={hash:new yi,map:new(Jn||bi),string:new yi}},_i.prototype.delete=function(e){var t=Yo(this,e).delete(e);return this.size-=t?1:0,t},_i.prototype.get=function(e){return Yo(this,e).get(e)},_i.prototype.has=function(e){return Yo(this,e).has(e)},_i.prototype.set=function(e,t){var n=Yo(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},wi.prototype.add=wi.prototype.push=function(e){return this.__data__.set(e,c),this},wi.prototype.has=function(e){return this.__data__.has(e)},xi.prototype.clear=function(){this.__data__=new bi,this.size=0},xi.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xi.prototype.get=function(e){return this.__data__.get(e)},xi.prototype.has=function(e){return this.__data__.has(e)},xi.prototype.set=function(e,t){var n=this.__data__;if(n instanceof bi){var i=n.__data__;if(!Jn||i.length<s-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new _i(i)}return n.set(e,t),this.size=n.size,this};var Ri=so(Ui),Bi=so(Zi,!0);function Hi(e,t){var n=!0;return Ri(e,function(e,i,r){return n=!!t(e,i,r)}),n}function zi(e,t,n){for(var i=-1,r=e.length;++i<r;){var s=e[i],a=t(s);if(null!=a&&(l===o?a==a&&!Fa(a):n(a,l)))var l=a,c=s}return c}function $i(e,t){var n=[];return Ri(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function Wi(e,t,n,i,r){var o=-1,s=e.length;for(n||(n=Go),r||(r=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?Wi(a,t-1,n,i,r):en(r,a):i||(r[r.length]=a)}return r}var Gi=ao(),Vi=ao(!0);function Ui(e,t){return e&&Gi(e,t,rl)}function Zi(e,t){return e&&Vi(e,t,rl)}function Xi(e,t){return Qt(t,function(t){return Ca(e[t])})}function Qi(e,t){for(var n=0,i=(t=Vr(t,e)).length;null!=e&&n<i;)e=e[us(t[n++])];return n&&n==i?e:o}function Ki(e,t,n){var i=t(e);return va(e)?i:en(i,n(e))}function Ji(e){return null==e?e===o?oe:J:on&&on in tt(e)?function(e){var t=ut.call(e,on),n=e[on];try{e[on]=o;var i=!0}catch(e){}var r=ft.call(e);i&&(t?e[on]=n:delete e[on]);return r}(e):function(e){return ft.call(e)}(e)}function qi(e,t){return e>t}function er(e,t){return null!=e&&ut.call(e,t)}function tr(e,t){return null!=e&&t in tt(e)}function nr(e,t,n){for(var r=n?Jt:Kt,s=e[0].length,a=e.length,l=a,c=i(a),u=1/0,d=[];l--;){var h=e[l];l&&t&&(h=qt(h,vn(t))),u=Vn(h.length,u),c[l]=!n&&(t||s>=120&&h.length>=120)?new wi(l&&h):o}h=e[0];var f=-1,p=c[0];e:for(;++f<s&&d.length<u;){var m=h[f],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?bn(p,g):r(d,g,n))){for(l=a;--l;){var v=c[l];if(!(v?bn(v,g):r(e[l],g,n)))continue e}p&&p.push(g),d.push(m)}}return d}function ir(e,t,n){var i=null==(e=ts(e,t=Vr(t,e)))?e:e[us(As(t))];return null==i?o:Gt(i,e,n)}function rr(e){return La(e)&&Ji(e)==H}function or(e,t,n,i,r){return e===t||(null==e||null==t||!La(e)&&!La(t)?e!=e&&t!=t:function(e,t,n,i,r,s){var a=va(e),l=va(t),c=a?z:zo(e),u=l?z:zo(t),d=(c=c==H?q:c)==q,h=(u=u==H?q:u)==q,f=c==u;if(f&&wa(e)){if(!wa(t))return!1;a=!0,d=!1}if(f&&!d)return s||(s=new xi),a||Na(e)?Eo(e,t,n,i,r,s):function(e,t,n,i,r,o,s){switch(n){case ce:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case le:return!(e.byteLength!=t.byteLength||!o(new xt(e),new xt(t)));case W:case G:case K:return fa(+e,+t);case U:return e.name==t.name&&e.message==t.message;case te:case ie:return e==t+"";case Q:var a=Mn;case ne:var l=i&m;if(a||(a=En),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;i|=g,s.set(e,t);var u=Eo(a(e),a(t),i,r,o,s);return s.delete(e),u;case re:if(di)return di.call(e)==di.call(t)}return!1}(e,t,c,n,i,r,s);if(!(n&m)){var p=d&&ut.call(e,"__wrapped__"),v=h&&ut.call(t,"__wrapped__");if(p||v){var y=p?e.value():e,b=v?t.value():t;return s||(s=new xi),r(y,b,n,i,s)}}if(!f)return!1;return s||(s=new xi),function(e,t,n,i,r,s){var a=n&m,l=To(e),c=l.length,u=To(t).length;if(c!=u&&!a)return!1;var d=c;for(;d--;){var h=l[d];if(!(a?h in t:ut.call(t,h)))return!1}var f=s.get(e);if(f&&s.get(t))return f==t;var p=!0;s.set(e,t),s.set(t,e);var g=a;for(;++d<c;){h=l[d];var v=e[h],y=t[h];if(i)var b=a?i(y,v,h,t,e,s):i(v,y,h,e,t,s);if(!(b===o?v===y||r(v,y,n,i,s):b)){p=!1;break}g||(g="constructor"==h)}if(p&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(p=!1)}return s.delete(e),s.delete(t),p}(e,t,n,i,r,s)}(e,t,n,i,or,r))}function sr(e,t,n,i){var r=n.length,s=r,a=!i;if(null==e)return!s;for(e=tt(e);r--;){var l=n[r];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<s;){var c=(l=n[r])[0],u=e[c],d=l[1];if(a&&l[2]){if(u===o&&!(c in e))return!1}else{var h=new xi;if(i)var f=i(u,d,c,e,t,h);if(!(f===o?or(d,u,m|g,i,h):f))return!1}}return!0}function ar(e){return!(!Sa(e)||(t=e,ht&&ht in t))&&(Ca(e)?gt:Ve).test(ds(e));var t}function lr(e){return"function"==typeof e?e:null==e?Dl:"object"==typeof e?va(e)?pr(e[0],e[1]):fr(e):Rl(e)}function cr(e){if(!Ko(e))return Wn(e);var t=[];for(var n in tt(e))ut.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ur(e){if(!Sa(e))return function(e){var t=[];if(null!=e)for(var n in tt(e))t.push(n);return t}(e);var t=Ko(e),n=[];for(var i in e)("constructor"!=i||!t&&ut.call(e,i))&&n.push(i);return n}function dr(e,t){return e<t}function hr(e,t){var n=-1,r=ba(e)?i(e.length):[];return Ri(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function fr(e){var t=Po(e);return 1==t.length&&t[0][2]?qo(t[0][0],t[0][1]):function(n){return n===e||sr(n,e,t)}}function pr(e,t){return Zo(e)&&Jo(t)?qo(us(e),t):function(n){var i=qa(n,e);return i===o&&i===t?el(n,e):or(t,i,m|g)}}function mr(e,t,n,i,r){e!==t&&Gi(t,function(s,a){if(r||(r=new xi),Sa(s))!function(e,t,n,i,r,s,a){var l=ns(e,n),c=ns(t,n),u=a.get(c);if(u)return void Si(e,n,u);var d=s?s(l,c,n+"",e,t,a):o,h=d===o;if(h){var f=va(c),p=!f&&wa(c),m=!f&&!p&&Na(c);d=c,f||p||m?va(l)?d=l:_a(l)?d=no(l):p?(h=!1,d=Qr(c,!0)):m?(h=!1,d=Jr(c,!0)):d=[]:Ta(c)||ga(c)?(d=l,ga(l)?d=Wa(l):Sa(l)&&!Ca(l)||(d=Wo(c))):h=!1}h&&(a.set(c,d),r(d,c,i,s,a),a.delete(c));Si(e,n,d)}(e,t,a,n,mr,i,r);else{var l=i?i(ns(e,a),s,a+"",e,t,r):o;l===o&&(l=s),Si(e,a,l)}},ol)}function gr(e,t){var n=e.length;if(n)return Vo(t+=t<0?n:0,n)?e[t]:o}function vr(e,t,n){var i=-1;return t=qt(t.length?t:[Dl],vn(No())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(hr(e,function(e,n,r){return{criteria:qt(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){var i=-1,r=e.criteria,o=t.criteria,s=r.length,a=n.length;for(;++i<s;){var l=qr(r[i],o[i]);if(l){if(i>=a)return l;var c=n[i];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)})}function yr(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var s=t[i],a=Qi(e,s);n(a,s)&&Mr(o,Vr(s,e),a)}return o}function br(e,t,n,i){var r=i?cn:ln,o=-1,s=t.length,a=e;for(e===t&&(t=no(t)),n&&(a=qt(e,vn(n)));++o<s;)for(var l=0,c=t[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==e&&Ft.call(a,l,1),Ft.call(e,l,1);return e}function _r(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;Vo(r)?Ft.call(e,r,1):Pr(e,r)}}return e}function wr(e,t){return e+Rn(Xn()*(t-e+1))}function xr(e,t){var n="";if(!e||t<1||t>O)return n;do{t%2&&(n+=e),(t=Rn(t/2))&&(e+=e)}while(t);return n}function Ar(e,t){return os(es(e,t,Dl),e+"")}function Cr(e){return Ci(fl(e))}function kr(e,t){var n=fl(e);return ls(n,Oi(t,0,n.length))}function Mr(e,t,n,i){if(!Sa(e))return e;for(var r=-1,s=(t=Vr(t,e)).length,a=s-1,l=e;null!=l&&++r<s;){var c=us(t[r]),u=n;if(r!=a){var d=l[c];(u=i?i(d,c,l):o)===o&&(u=Sa(d)?d:Vo(t[r+1])?[]:{})}Li(l,c,u),l=l[c]}return e}var Sr=ii?function(e,t){return ii.set(e,t),e}:Dl,Lr=fn?function(e,t){return fn(e,"toString",{configurable:!0,enumerable:!1,value:Sl(t),writable:!0})}:Dl;function Er(e){return ls(fl(e))}function Dr(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=i(o);++r<o;)s[r]=e[r+t];return s}function Tr(e,t){var n;return Ri(e,function(e,i,r){return!(n=t(e,i,r))}),!!n}function Ir(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=R){for(;i<r;){var o=i+r>>>1,s=e[o];null!==s&&!Fa(s)&&(n?s<=t:s<t)?i=o+1:r=o}return r}return jr(e,t,Dl,n)}function jr(e,t,n,i){t=n(t);for(var r=0,s=null==e?0:e.length,a=t!=t,l=null===t,c=Fa(t),u=t===o;r<s;){var d=Rn((r+s)/2),h=n(e[d]),f=h!==o,p=null===h,m=h==h,g=Fa(h);if(a)var v=i||m;else v=u?m&&(i||f):l?m&&f&&(i||!p):c?m&&f&&!p&&(i||!g):!p&&!g&&(i?h<=t:h<t);v?r=d+1:s=d}return Vn(s,P)}function Or(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var s=e[n],a=t?t(s):s;if(!n||!fa(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function Fr(e){return"number"==typeof e?e:Fa(e)?N:+e}function Nr(e){if("string"==typeof e)return e;if(va(e))return qt(e,Nr)+"";if(Fa(e))return hi?hi.call(e):"";var t=e+"";return"0"==t&&1/e==-j?"-0":t}function Yr(e,t,n){var i=-1,r=Kt,o=e.length,a=!0,l=[],c=l;if(n)a=!1,r=Jt;else if(o>=s){var u=t?null:Ao(e);if(u)return En(u);a=!1,r=bn,c=new wi}else c=t?[]:l;e:for(;++i<o;){var d=e[i],h=t?t(d):d;if(d=n||0!==d?d:0,a&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue e;t&&c.push(h),l.push(d)}else r(c,h,n)||(c!==l&&c.push(h),l.push(d))}return l}function Pr(e,t){return null==(e=ts(e,t=Vr(t,e)))||delete e[us(As(t))]}function Rr(e,t,n,i){return Mr(e,t,n(Qi(e,t)),i)}function Br(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?Dr(e,i?0:o,i?o+1:r):Dr(e,i?o+1:0,i?r:o)}function Hr(e,t){var n=e;return n instanceof vi&&(n=n.value()),tn(t,function(e,t){return t.func.apply(t.thisArg,en([e],t.args))},n)}function zr(e,t,n){var r=e.length;if(r<2)return r?Yr(e[0]):[];for(var o=-1,s=i(r);++o<r;)for(var a=e[o],l=-1;++l<r;)l!=o&&(s[o]=Pi(s[o]||a,e[l],t,n));return Yr(Wi(s,1),t,n)}function $r(e,t,n){for(var i=-1,r=e.length,s=t.length,a={};++i<r;){var l=i<s?t[i]:o;n(a,e[i],l)}return a}function Wr(e){return _a(e)?e:[]}function Gr(e){return"function"==typeof e?e:Dl}function Vr(e,t){return va(e)?e:Zo(e,t)?[e]:cs(Ga(e))}var Ur=Ar;function Zr(e,t,n){var i=e.length;return n=n===o?i:n,!t&&n>=i?e:Dr(e,t,n)}var Xr=Fn||function(e){return jt.clearTimeout(e)};function Qr(e,t){if(t)return e.slice();var n=e.length,i=Lt?Lt(n):new e.constructor(n);return e.copy(i),i}function Kr(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function Jr(e,t){var n=t?Kr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function qr(e,t){if(e!==t){var n=e!==o,i=null===e,r=e==e,s=Fa(e),a=t!==o,l=null===t,c=t==t,u=Fa(t);if(!l&&!u&&!s&&e>t||s&&a&&c&&!l&&!u||i&&a&&c||!n&&c||!r)return 1;if(!i&&!s&&!u&&e<t||u&&n&&r&&!i&&!s||l&&n&&r||!a&&r||!c)return-1}return 0}function eo(e,t,n,r){for(var o=-1,s=e.length,a=n.length,l=-1,c=t.length,u=Gn(s-a,0),d=i(c+u),h=!r;++l<c;)d[l]=t[l];for(;++o<a;)(h||o<s)&&(d[n[o]]=e[o]);for(;u--;)d[l++]=e[o++];return d}function to(e,t,n,r){for(var o=-1,s=e.length,a=-1,l=n.length,c=-1,u=t.length,d=Gn(s-l,0),h=i(d+u),f=!r;++o<d;)h[o]=e[o];for(var p=o;++c<u;)h[p+c]=t[c];for(;++a<l;)(f||o<s)&&(h[p+n[a]]=e[o++]);return h}function no(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function io(e,t,n,i){var r=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var l=t[s],c=i?i(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),r?Ii(n,l,c):Li(n,l,c)}return n}function ro(e,t){return function(n,i){var r=va(n)?Vt:Di,o=t?t():{};return r(n,e,No(i,2),o)}}function oo(e){return Ar(function(t,n){var i=-1,r=n.length,s=r>1?n[r-1]:o,a=r>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(r--,s):o,a&&Uo(n[0],n[1],a)&&(s=r<3?o:s,r=1),t=tt(t);++i<r;){var l=n[i];l&&e(t,l,i,s)}return t})}function so(e,t){return function(n,i){if(null==n)return n;if(!ba(n))return e(n,i);for(var r=n.length,o=t?r:-1,s=tt(n);(t?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function ao(e){return function(t,n,i){for(var r=-1,o=tt(t),s=i(t),a=s.length;a--;){var l=s[e?a:++r];if(!1===n(o[l],l,o))break}return t}}function lo(e){return function(t){var n=kn(t=Ga(t))?In(t):o,i=n?n[0]:t.charAt(0),r=n?Zr(n,1).join(""):t.slice(1);return i[e]()+r}}function co(e){return function(t){return tn(Cl(gl(t).replace(yt,"")),e,"")}}function uo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=pi(e.prototype),i=e.apply(n,t);return Sa(i)?i:n}}function ho(e){return function(t,n,i){var r=tt(t);if(!ba(t)){var s=No(n,3);t=rl(t),n=function(e){return s(r[e],e,r)}}var a=e(t,n,i);return a>-1?r[s?t[a]:a]:o}}function fo(e){return Do(function(t){var n=t.length,i=n,r=gi.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new rt(l);if(r&&!a&&"wrapper"==Oo(s))var a=new gi([],!0)}for(i=a?i:n;++i<n;){var c=Oo(s=t[i]),u="wrapper"==c?jo(s):o;a=u&&Xo(u[0])&&u[1]==(C|_|x|k)&&!u[4].length&&1==u[9]?a[Oo(u[0])].apply(a,u[3]):1==s.length&&Xo(s)?a[c]():a.thru(s)}return function(){var e=arguments,i=e[0];if(a&&1==e.length&&va(i))return a.plant(i).value();for(var r=0,o=n?t[r].apply(this,e):i;++r<n;)o=t[r].call(this,o);return o}})}function po(e,t,n,r,s,a,l,c,u,d){var h=t&C,f=t&v,p=t&y,m=t&(_|w),g=t&M,b=p?o:uo(e);return function v(){for(var y=arguments.length,_=i(y),w=y;w--;)_[w]=arguments[w];if(m)var x=Fo(v),A=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(_,x);if(r&&(_=eo(_,r,s,m)),a&&(_=to(_,a,l,m)),y-=A,m&&y<d){var C=Ln(_,x);return wo(e,t,po,v.placeholder,n,_,C,c,u,d-y)}var k=f?n:this,M=p?k[e]:e;return y=_.length,c?_=function(e,t){var n=e.length,i=Vn(t.length,n),r=no(e);for(;i--;){var s=t[i];e[i]=Vo(s,n)?r[s]:o}return e}(_,c):g&&y>1&&_.reverse(),h&&u<y&&(_.length=u),this&&this!==jt&&this instanceof v&&(M=b||uo(M)),M.apply(k,_)}}function mo(e,t){return function(n,i){return function(e,t,n,i){return Ui(e,function(e,r,o){t(i,n(e),r,o)}),i}(n,e,t(i),{})}}function go(e,t){return function(n,i){var r;if(n===o&&i===o)return t;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=Nr(n),i=Nr(i)):(n=Fr(n),i=Fr(i)),r=e(n,i)}return r}}function vo(e){return Do(function(t){return t=qt(t,vn(No())),Ar(function(n){var i=this;return e(t,function(e){return Gt(e,i,n)})})})}function yo(e,t){var n=(t=t===o?" ":Nr(t)).length;if(n<2)return n?xr(t,e):t;var i=xr(t,Pn(e/Tn(t)));return kn(t)?Zr(In(i),0,e).join(""):i.slice(0,e)}function bo(e){return function(t,n,r){return r&&"number"!=typeof r&&Uo(t,n,r)&&(n=r=o),t=Ba(t),n===o?(n=t,t=0):n=Ba(n),function(e,t,n,r){for(var o=-1,s=Gn(Pn((t-e)/(n||1)),0),a=i(s);s--;)a[r?s:++o]=e,e+=n;return a}(t,n,r=r===o?t<n?1:-1:Ba(r),e)}}function _o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=$a(t),n=$a(n)),e(t,n)}}function wo(e,t,n,i,r,s,a,l,c,u){var d=t&_;t|=d?x:A,(t&=~(d?A:x))&b||(t&=~(v|y));var h=[e,t,r,d?s:o,d?a:o,d?o:s,d?o:a,l,c,u],f=n.apply(o,h);return Xo(e)&&is(f,h),f.placeholder=i,ss(f,e,t)}function xo(e){var t=et[e];return function(e,n){if(e=$a(e),(n=null==n?0:Vn(Ha(n),292))&&zn(e)){var i=(Ga(e)+"e").split("e");return+((i=(Ga(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Ao=ei&&1/En(new ei([,-0]))[1]==j?function(e){return new ei(e)}:Fl;function Co(e){return function(t){var n=zo(t);return n==Q?Mn(t):n==ne?Dn(t):function(e,t){return qt(t,function(t){return[t,e[t]]})}(t,e(t))}}function ko(e,t,n,r,s,a,c,u){var h=t&y;if(!h&&"function"!=typeof e)throw new rt(l);var f=r?r.length:0;if(f||(t&=~(x|A),r=s=o),c=c===o?c:Gn(Ha(c),0),u=u===o?u:Ha(u),f-=s?s.length:0,t&A){var p=r,m=s;r=s=o}var g=h?o:jo(e),M=[e,t,n,r,s,p,m,a,c,u];if(g&&function(e,t){var n=e[1],i=t[1],r=n|i,o=r<(v|y|C),s=i==C&&n==_||i==C&&n==k&&e[7].length<=t[8]||i==(C|k)&&t[7].length<=t[8]&&n==_;if(!o&&!s)return e;i&v&&(e[2]=t[2],r|=n&v?0:b);var a=t[3];if(a){var l=e[3];e[3]=l?eo(l,a,t[4]):a,e[4]=l?Ln(e[3],d):t[4]}(a=t[5])&&(l=e[5],e[5]=l?to(l,a,t[6]):a,e[6]=l?Ln(e[5],d):t[6]);(a=t[7])&&(e[7]=a);i&C&&(e[8]=null==e[8]?t[8]:Vn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=r}(M,g),e=M[0],t=M[1],n=M[2],r=M[3],s=M[4],!(u=M[9]=M[9]===o?h?0:e.length:Gn(M[9]-f,0))&&t&(_|w)&&(t&=~(_|w)),t&&t!=v)S=t==_||t==w?function(e,t,n){var r=uo(e);return function s(){for(var a=arguments.length,l=i(a),c=a,u=Fo(s);c--;)l[c]=arguments[c];var d=a<3&&l[0]!==u&&l[a-1]!==u?[]:Ln(l,u);return(a-=d.length)<n?wo(e,t,po,s.placeholder,o,l,d,o,o,n-a):Gt(this&&this!==jt&&this instanceof s?r:e,this,l)}}(e,t,u):t!=x&&t!=(v|x)||s.length?po.apply(o,M):function(e,t,n,r){var o=t&v,s=uo(e);return function t(){for(var a=-1,l=arguments.length,c=-1,u=r.length,d=i(u+l),h=this&&this!==jt&&this instanceof t?s:e;++c<u;)d[c]=r[c];for(;l--;)d[c++]=arguments[++a];return Gt(h,o?n:this,d)}}(e,t,n,r);else var S=function(e,t,n){var i=t&v,r=uo(e);return function t(){return(this&&this!==jt&&this instanceof t?r:e).apply(i?n:this,arguments)}}(e,t,n);return ss((g?Sr:is)(S,M),e,t)}function Mo(e,t,n,i){return e===o||fa(e,at[n])&&!ut.call(i,n)?t:e}function So(e,t,n,i,r,s){return Sa(e)&&Sa(t)&&(s.set(t,e),mr(e,t,o,So,s),s.delete(t)),e}function Lo(e){return Ta(e)?o:e}function Eo(e,t,n,i,r,s){var a=n&m,l=e.length,c=t.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(e);if(u&&s.get(t))return u==t;var d=-1,h=!0,f=n&g?new wi:o;for(s.set(e,t),s.set(t,e);++d<l;){var p=e[d],v=t[d];if(i)var y=a?i(v,p,d,t,e,s):i(p,v,d,e,t,s);if(y!==o){if(y)continue;h=!1;break}if(f){if(!rn(t,function(e,t){if(!bn(f,t)&&(p===e||r(p,e,n,i,s)))return f.push(t)})){h=!1;break}}else if(p!==v&&!r(p,v,n,i,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function Do(e){return os(es(e,o,ys),e+"")}function To(e){return Ki(e,rl,Bo)}function Io(e){return Ki(e,ol,Ho)}var jo=ii?function(e){return ii.get(e)}:Fl;function Oo(e){for(var t=e.name+"",n=ri[t],i=ut.call(ri,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function Fo(e){return(ut.call(fi,"placeholder")?fi:e).placeholder}function No(){var e=fi.iteratee||Tl;return e=e===Tl?lr:e,arguments.length?e(arguments[0],arguments[1]):e}function Yo(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Po(e){for(var t=rl(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,Jo(r)]}return t}function Ro(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return ar(n)?n:o}var Bo=Bn?function(e){return null==e?[]:(e=tt(e),Qt(Bn(e),function(t){return Ot.call(e,t)}))}:zl,Ho=Bn?function(e){for(var t=[];e;)en(t,Bo(e)),e=Tt(e);return t}:zl,zo=Ji;function $o(e,t,n){for(var i=-1,r=(t=Vr(t,e)).length,o=!1;++i<r;){var s=us(t[i]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&Ma(r)&&Vo(s,r)&&(va(e)||ga(e))}function Wo(e){return"function"!=typeof e.constructor||Ko(e)?{}:pi(Tt(e))}function Go(e){return va(e)||ga(e)||!!(Yt&&e&&e[Yt])}function Vo(e,t){var n=typeof e;return!!(t=null==t?O:t)&&("number"==n||"symbol"!=n&&Ze.test(e))&&e>-1&&e%1==0&&e<t}function Uo(e,t,n){if(!Sa(n))return!1;var i=typeof t;return!!("number"==i?ba(n)&&Vo(t,n.length):"string"==i&&t in n)&&fa(n[t],e)}function Zo(e,t){if(va(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fa(e))||(De.test(e)||!Ee.test(e)||null!=t&&e in tt(t))}function Xo(e){var t=Oo(e),n=fi[t];if("function"!=typeof n||!(t in vi.prototype))return!1;if(e===n)return!0;var i=jo(n);return!!i&&e===i[0]}(Kn&&zo(new Kn(new ArrayBuffer(1)))!=ce||Jn&&zo(new Jn)!=Q||qn&&"[object Promise]"!=zo(qn.resolve())||ei&&zo(new ei)!=ne||ti&&zo(new ti)!=se)&&(zo=function(e){var t=Ji(e),n=t==q?e.constructor:o,i=n?ds(n):"";if(i)switch(i){case oi:return ce;case si:return Q;case ai:return"[object Promise]";case li:return ne;case ci:return se}return t});var Qo=lt?Ca:$l;function Ko(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||at)}function Jo(e){return e==e&&!Sa(e)}function qo(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in tt(n)))}}function es(e,t,n){return t=Gn(t===o?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=Gn(r.length-t,0),a=i(s);++o<s;)a[o]=r[t+o];o=-1;for(var l=i(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),Gt(e,this,l)}}function ts(e,t){return t.length<2?e:Qi(e,Dr(t,0,-1))}function ns(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var is=as(Sr),rs=Yn||function(e,t){return jt.setTimeout(e,t)},os=as(Lr);function ss(e,t,n){var i=t+"";return os(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Ye,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Ut(B,function(n){var i="_."+n[0];t&n[1]&&!Kt(e,i)&&e.push(i)}),e.sort()}(function(e){var t=e.match(Pe);return t?t[1].split(Re):[]}(i),n)))}function as(e){var t=0,n=0;return function(){var i=Un(),r=D-(i-n);if(n=i,r>0){if(++t>=E)return arguments[0]}else t=0;return e.apply(o,arguments)}}function ls(e,t){var n=-1,i=e.length,r=i-1;for(t=t===o?i:t;++n<t;){var s=wr(n,r),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var cs=function(e){var t=aa(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Te,function(e,n,i,r){t.push(i?r.replace(He,"$1"):n||e)}),t});function us(e){if("string"==typeof e||Fa(e))return e;var t=e+"";return"0"==t&&1/e==-j?"-0":t}function ds(e){if(null!=e){try{return ct.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function hs(e){if(e instanceof vi)return e.clone();var t=new gi(e.__wrapped__,e.__chain__);return t.__actions__=no(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var fs=Ar(function(e,t){return _a(e)?Pi(e,Wi(t,1,_a,!0)):[]}),ps=Ar(function(e,t){var n=As(t);return _a(n)&&(n=o),_a(e)?Pi(e,Wi(t,1,_a,!0),No(n,2)):[]}),ms=Ar(function(e,t){var n=As(t);return _a(n)&&(n=o),_a(e)?Pi(e,Wi(t,1,_a,!0),o,n):[]});function gs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Ha(n);return r<0&&(r=Gn(i+r,0)),an(e,No(t,3),r)}function vs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==o&&(r=Ha(n),r=n<0?Gn(i+r,0):Vn(r,i-1)),an(e,No(t,3),r,!0)}function ys(e){return(null==e?0:e.length)?Wi(e,1):[]}function bs(e){return e&&e.length?e[0]:o}var _s=Ar(function(e){var t=qt(e,Wr);return t.length&&t[0]===e[0]?nr(t):[]}),ws=Ar(function(e){var t=As(e),n=qt(e,Wr);return t===As(n)?t=o:n.pop(),n.length&&n[0]===e[0]?nr(n,No(t,2)):[]}),xs=Ar(function(e){var t=As(e),n=qt(e,Wr);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?nr(n,o,t):[]});function As(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Cs=Ar(ks);function ks(e,t){return e&&e.length&&t&&t.length?br(e,t):e}var Ms=Do(function(e,t){var n=null==e?0:e.length,i=ji(e,t);return _r(e,qt(t,function(e){return Vo(e,n)?+e:e}).sort(qr)),i});function Ss(e){return null==e?e:Qn.call(e)}var Ls=Ar(function(e){return Yr(Wi(e,1,_a,!0))}),Es=Ar(function(e){var t=As(e);return _a(t)&&(t=o),Yr(Wi(e,1,_a,!0),No(t,2))}),Ds=Ar(function(e){var t=As(e);return t="function"==typeof t?t:o,Yr(Wi(e,1,_a,!0),o,t)});function Ts(e){if(!e||!e.length)return[];var t=0;return e=Qt(e,function(e){if(_a(e))return t=Gn(e.length,t),!0}),gn(t,function(t){return qt(e,hn(t))})}function Is(e,t){if(!e||!e.length)return[];var n=Ts(e);return null==t?n:qt(n,function(e){return Gt(t,o,e)})}var js=Ar(function(e,t){return _a(e)?Pi(e,t):[]}),Os=Ar(function(e){return zr(Qt(e,_a))}),Fs=Ar(function(e){var t=As(e);return _a(t)&&(t=o),zr(Qt(e,_a),No(t,2))}),Ns=Ar(function(e){var t=As(e);return t="function"==typeof t?t:o,zr(Qt(e,_a),o,t)}),Ys=Ar(Ts);var Ps=Ar(function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Is(e,n)});function Rs(e){var t=fi(e);return t.__chain__=!0,t}function Bs(e,t){return t(e)}var Hs=Do(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return ji(t,e)};return!(t>1||this.__actions__.length)&&i instanceof vi&&Vo(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:Bs,args:[r],thisArg:o}),new gi(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(r)});var zs=ro(function(e,t,n){ut.call(e,n)?++e[n]:Ii(e,n,1)});var $s=ho(gs),Ws=ho(vs);function Gs(e,t){return(va(e)?Ut:Ri)(e,No(t,3))}function Vs(e,t){return(va(e)?Zt:Bi)(e,No(t,3))}var Us=ro(function(e,t,n){ut.call(e,n)?e[n].push(t):Ii(e,n,[t])});var Zs=Ar(function(e,t,n){var r=-1,o="function"==typeof t,s=ba(e)?i(e.length):[];return Ri(e,function(e){s[++r]=o?Gt(t,e,n):ir(e,t,n)}),s}),Xs=ro(function(e,t,n){Ii(e,n,t)});function Qs(e,t){return(va(e)?qt:hr)(e,No(t,3))}var Ks=ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Js=Ar(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Uo(e,t[0],t[1])?t=[]:n>2&&Uo(t[0],t[1],t[2])&&(t=[t[0]]),vr(e,Wi(t,1),[])}),qs=Nn||function(){return jt.Date.now()};function ea(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,ko(e,C,o,o,o,o,t)}function ta(e,t){var n;if("function"!=typeof t)throw new rt(l);return e=Ha(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var na=Ar(function(e,t,n){var i=v;if(n.length){var r=Ln(n,Fo(na));i|=x}return ko(e,i,t,n,r)}),ia=Ar(function(e,t,n){var i=v|y;if(n.length){var r=Ln(n,Fo(ia));i|=x}return ko(t,i,e,n,r)});function ra(e,t,n){var i,r,s,a,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new rt(l);function m(t){var n=i,s=r;return i=r=o,d=t,a=e.apply(s,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||f&&e-d>=s}function v(){var e=qs();if(g(e))return y(e);c=rs(v,function(e){var n=t-(e-u);return f?Vn(n,s-(e-d)):n}(e))}function y(e){return c=o,p&&i?m(e):(i=r=o,a)}function b(){var e=qs(),n=g(e);if(i=arguments,r=this,u=e,n){if(c===o)return function(e){return d=e,c=rs(v,t),h?m(e):a}(u);if(f)return Xr(c),c=rs(v,t),m(u)}return c===o&&(c=rs(v,t)),a}return t=$a(t)||0,Sa(n)&&(h=!!n.leading,s=(f="maxWait"in n)?Gn($a(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&Xr(c),d=0,i=u=r=c=o},b.flush=function(){return c===o?a:y(qs())},b}var oa=Ar(function(e,t){return Yi(e,1,t)}),sa=Ar(function(e,t,n){return Yi(e,$a(t)||0,n)});function aa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(l);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=e.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(aa.Cache||_i),n}function la(e){if("function"!=typeof e)throw new rt(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}aa.Cache=_i;var ca=Ur(function(e,t){var n=(t=1==t.length&&va(t[0])?qt(t[0],vn(No())):qt(Wi(t,1),vn(No()))).length;return Ar(function(i){for(var r=-1,o=Vn(i.length,n);++r<o;)i[r]=t[r].call(this,i[r]);return Gt(e,this,i)})}),ua=Ar(function(e,t){var n=Ln(t,Fo(ua));return ko(e,x,o,t,n)}),da=Ar(function(e,t){var n=Ln(t,Fo(da));return ko(e,A,o,t,n)}),ha=Do(function(e,t){return ko(e,k,o,o,o,t)});function fa(e,t){return e===t||e!=e&&t!=t}var pa=_o(qi),ma=_o(function(e,t){return e>=t}),ga=rr(function(){return arguments}())?rr:function(e){return La(e)&&ut.call(e,"callee")&&!Ot.call(e,"callee")},va=i.isArray,ya=Rt?vn(Rt):function(e){return La(e)&&Ji(e)==le};function ba(e){return null!=e&&Ma(e.length)&&!Ca(e)}function _a(e){return La(e)&&ba(e)}var wa=Hn||$l,xa=Bt?vn(Bt):function(e){return La(e)&&Ji(e)==G};function Aa(e){if(!La(e))return!1;var t=Ji(e);return t==U||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Ta(e)}function Ca(e){if(!Sa(e))return!1;var t=Ji(e);return t==Z||t==X||t==$||t==ee}function ka(e){return"number"==typeof e&&e==Ha(e)}function Ma(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=O}function Sa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function La(e){return null!=e&&"object"==typeof e}var Ea=Ht?vn(Ht):function(e){return La(e)&&zo(e)==Q};function Da(e){return"number"==typeof e||La(e)&&Ji(e)==K}function Ta(e){if(!La(e)||Ji(e)!=q)return!1;var t=Tt(e);if(null===t)return!0;var n=ut.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==pt}var Ia=zt?vn(zt):function(e){return La(e)&&Ji(e)==te};var ja=$t?vn($t):function(e){return La(e)&&zo(e)==ne};function Oa(e){return"string"==typeof e||!va(e)&&La(e)&&Ji(e)==ie}function Fa(e){return"symbol"==typeof e||La(e)&&Ji(e)==re}var Na=Wt?vn(Wt):function(e){return La(e)&&Ma(e.length)&&!!Mt[Ji(e)]};var Ya=_o(dr),Pa=_o(function(e,t){return e<=t});function Ra(e){if(!e)return[];if(ba(e))return Oa(e)?In(e):no(e);if(Pt&&e[Pt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Pt]());var t=zo(e);return(t==Q?Mn:t==ne?En:fl)(e)}function Ba(e){return e?(e=$a(e))===j||e===-j?(e<0?-1:1)*F:e==e?e:0:0===e?e:0}function Ha(e){var t=Ba(e),n=t%1;return t==t?n?t-n:t:0}function za(e){return e?Oi(Ha(e),0,Y):0}function $a(e){if("number"==typeof e)return e;if(Fa(e))return N;if(Sa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Sa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Oe,"");var n=Ge.test(e);return n||Ue.test(e)?Dt(e.slice(2),n?2:8):We.test(e)?N:+e}function Wa(e){return io(e,ol(e))}function Ga(e){return null==e?"":Nr(e)}var Va=oo(function(e,t){if(Ko(t)||ba(t))io(t,rl(t),e);else for(var n in t)ut.call(t,n)&&Li(e,n,t[n])}),Ua=oo(function(e,t){io(t,ol(t),e)}),Za=oo(function(e,t,n,i){io(t,ol(t),e,i)}),Xa=oo(function(e,t,n,i){io(t,rl(t),e,i)}),Qa=Do(ji);var Ka=Ar(function(e,t){e=tt(e);var n=-1,i=t.length,r=i>2?t[2]:o;for(r&&Uo(t[0],t[1],r)&&(i=1);++n<i;)for(var s=t[n],a=ol(s),l=-1,c=a.length;++l<c;){var u=a[l],d=e[u];(d===o||fa(d,at[u])&&!ut.call(e,u))&&(e[u]=s[u])}return e}),Ja=Ar(function(e){return e.push(o,So),Gt(al,o,e)});function qa(e,t,n){var i=null==e?o:Qi(e,t);return i===o?n:i}function el(e,t){return null!=e&&$o(e,t,tr)}var tl=mo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ft.call(t)),e[t]=n},Sl(Dl)),nl=mo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ft.call(t)),ut.call(e,t)?e[t].push(n):e[t]=[n]},No),il=Ar(ir);function rl(e){return ba(e)?Ai(e):cr(e)}function ol(e){return ba(e)?Ai(e,!0):ur(e)}var sl=oo(function(e,t,n){mr(e,t,n)}),al=oo(function(e,t,n,i){mr(e,t,n,i)}),ll=Do(function(e,t){var n={};if(null==e)return n;var i=!1;t=qt(t,function(t){return t=Vr(t,e),i||(i=t.length>1),t}),io(e,Io(e),n),i&&(n=Fi(n,h|f|p,Lo));for(var r=t.length;r--;)Pr(n,t[r]);return n});var cl=Do(function(e,t){return null==e?{}:function(e,t){return yr(e,t,function(t,n){return el(e,n)})}(e,t)});function ul(e,t){if(null==e)return{};var n=qt(Io(e),function(e){return[e]});return t=No(t),yr(e,n,function(e,n){return t(e,n[0])})}var dl=Co(rl),hl=Co(ol);function fl(e){return null==e?[]:yn(e,rl(e))}var pl=co(function(e,t,n){return t=t.toLowerCase(),e+(n?ml(t):t)});function ml(e){return Al(Ga(e).toLowerCase())}function gl(e){return(e=Ga(e))&&e.replace(Xe,xn).replace(bt,"")}var vl=co(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),yl=co(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),bl=lo("toLowerCase");var _l=co(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var wl=co(function(e,t,n){return e+(n?" ":"")+Al(t)});var xl=co(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Al=lo("toUpperCase");function Cl(e,t,n){return e=Ga(e),(t=n?o:t)===o?function(e){return At.test(e)}(e)?function(e){return e.match(wt)||[]}(e):function(e){return e.match(Be)||[]}(e):e.match(t)||[]}var kl=Ar(function(e,t){try{return Gt(e,o,t)}catch(e){return Aa(e)?e:new Je(e)}}),Ml=Do(function(e,t){return Ut(t,function(t){t=us(t),Ii(e,t,na(e[t],e))}),e});function Sl(e){return function(){return e}}var Ll=fo(),El=fo(!0);function Dl(e){return e}function Tl(e){return lr("function"==typeof e?e:Fi(e,h))}var Il=Ar(function(e,t){return function(n){return ir(n,e,t)}}),jl=Ar(function(e,t){return function(n){return ir(e,n,t)}});function Ol(e,t,n){var i=rl(t),r=Xi(t,i);null!=n||Sa(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Xi(t,rl(t)));var o=!(Sa(n)&&"chain"in n&&!n.chain),s=Ca(e);return Ut(r,function(n){var i=t[n];e[n]=i,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=no(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,en([this.value()],arguments))})}),e}function Fl(){}var Nl=vo(qt),Yl=vo(Xt),Pl=vo(rn);function Rl(e){return Zo(e)?hn(us(e)):function(e){return function(t){return Qi(t,e)}}(e)}var Bl=bo(),Hl=bo(!0);function zl(){return[]}function $l(){return!1}var Wl=go(function(e,t){return e+t},0),Gl=xo("ceil"),Vl=go(function(e,t){return e/t},1),Ul=xo("floor");var Zl,Xl=go(function(e,t){return e*t},1),Ql=xo("round"),Kl=go(function(e,t){return e-t},0);return fi.after=function(e,t){if("function"!=typeof t)throw new rt(l);return e=Ha(e),function(){if(--e<1)return t.apply(this,arguments)}},fi.ary=ea,fi.assign=Va,fi.assignIn=Ua,fi.assignInWith=Za,fi.assignWith=Xa,fi.at=Qa,fi.before=ta,fi.bind=na,fi.bindAll=Ml,fi.bindKey=ia,fi.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return va(e)?e:[e]},fi.chain=Rs,fi.chunk=function(e,t,n){t=(n?Uo(e,t,n):t===o)?1:Gn(Ha(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var s=0,a=0,l=i(Pn(r/t));s<r;)l[a++]=Dr(e,s,s+=t);return l},fi.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},fi.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return en(va(n)?no(n):[n],Wi(t,1))},fi.cond=function(e){var t=null==e?0:e.length,n=No();return e=t?qt(e,function(e){if("function"!=typeof e[1])throw new rt(l);return[n(e[0]),e[1]]}):[],Ar(function(n){for(var i=-1;++i<t;){var r=e[i];if(Gt(r[0],this,n))return Gt(r[1],this,n)}})},fi.conforms=function(e){return function(e){var t=rl(e);return function(n){return Ni(n,e,t)}}(Fi(e,h))},fi.constant=Sl,fi.countBy=zs,fi.create=function(e,t){var n=pi(e);return null==t?n:Ti(n,t)},fi.curry=function e(t,n,i){var r=ko(t,_,o,o,o,o,o,n=i?o:n);return r.placeholder=e.placeholder,r},fi.curryRight=function e(t,n,i){var r=ko(t,w,o,o,o,o,o,n=i?o:n);return r.placeholder=e.placeholder,r},fi.debounce=ra,fi.defaults=Ka,fi.defaultsDeep=Ja,fi.defer=oa,fi.delay=sa,fi.difference=fs,fi.differenceBy=ps,fi.differenceWith=ms,fi.drop=function(e,t,n){var i=null==e?0:e.length;return i?Dr(e,(t=n||t===o?1:Ha(t))<0?0:t,i):[]},fi.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?Dr(e,0,(t=i-(t=n||t===o?1:Ha(t)))<0?0:t):[]},fi.dropRightWhile=function(e,t){return e&&e.length?Br(e,No(t,3),!0,!0):[]},fi.dropWhile=function(e,t){return e&&e.length?Br(e,No(t,3),!0):[]},fi.fill=function(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Uo(e,t,n)&&(n=0,i=r),function(e,t,n,i){var r=e.length;for((n=Ha(n))<0&&(n=-n>r?0:r+n),(i=i===o||i>r?r:Ha(i))<0&&(i+=r),i=n>i?0:za(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},fi.filter=function(e,t){return(va(e)?Qt:$i)(e,No(t,3))},fi.flatMap=function(e,t){return Wi(Qs(e,t),1)},fi.flatMapDeep=function(e,t){return Wi(Qs(e,t),j)},fi.flatMapDepth=function(e,t,n){return n=n===o?1:Ha(n),Wi(Qs(e,t),n)},fi.flatten=ys,fi.flattenDeep=function(e){return(null==e?0:e.length)?Wi(e,j):[]},fi.flattenDepth=function(e,t){return(null==e?0:e.length)?Wi(e,t=t===o?1:Ha(t)):[]},fi.flip=function(e){return ko(e,M)},fi.flow=Ll,fi.flowRight=El,fi.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},fi.functions=function(e){return null==e?[]:Xi(e,rl(e))},fi.functionsIn=function(e){return null==e?[]:Xi(e,ol(e))},fi.groupBy=Us,fi.initial=function(e){return(null==e?0:e.length)?Dr(e,0,-1):[]},fi.intersection=_s,fi.intersectionBy=ws,fi.intersectionWith=xs,fi.invert=tl,fi.invertBy=nl,fi.invokeMap=Zs,fi.iteratee=Tl,fi.keyBy=Xs,fi.keys=rl,fi.keysIn=ol,fi.map=Qs,fi.mapKeys=function(e,t){var n={};return t=No(t,3),Ui(e,function(e,i,r){Ii(n,t(e,i,r),e)}),n},fi.mapValues=function(e,t){var n={};return t=No(t,3),Ui(e,function(e,i,r){Ii(n,i,t(e,i,r))}),n},fi.matches=function(e){return fr(Fi(e,h))},fi.matchesProperty=function(e,t){return pr(e,Fi(t,h))},fi.memoize=aa,fi.merge=sl,fi.mergeWith=al,fi.method=Il,fi.methodOf=jl,fi.mixin=Ol,fi.negate=la,fi.nthArg=function(e){return e=Ha(e),Ar(function(t){return gr(t,e)})},fi.omit=ll,fi.omitBy=function(e,t){return ul(e,la(No(t)))},fi.once=function(e){return ta(2,e)},fi.orderBy=function(e,t,n,i){return null==e?[]:(va(t)||(t=null==t?[]:[t]),va(n=i?o:n)||(n=null==n?[]:[n]),vr(e,t,n))},fi.over=Nl,fi.overArgs=ca,fi.overEvery=Yl,fi.overSome=Pl,fi.partial=ua,fi.partialRight=da,fi.partition=Ks,fi.pick=cl,fi.pickBy=ul,fi.property=Rl,fi.propertyOf=function(e){return function(t){return null==e?o:Qi(e,t)}},fi.pull=Cs,fi.pullAll=ks,fi.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?br(e,t,No(n,2)):e},fi.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?br(e,t,o,n):e},fi.pullAt=Ms,fi.range=Bl,fi.rangeRight=Hl,fi.rearg=ha,fi.reject=function(e,t){return(va(e)?Qt:$i)(e,la(No(t,3)))},fi.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;for(t=No(t,3);++i<o;){var s=e[i];t(s,i,e)&&(n.push(s),r.push(i))}return _r(e,r),n},fi.rest=function(e,t){if("function"!=typeof e)throw new rt(l);return Ar(e,t=t===o?t:Ha(t))},fi.reverse=Ss,fi.sampleSize=function(e,t,n){return t=(n?Uo(e,t,n):t===o)?1:Ha(t),(va(e)?ki:kr)(e,t)},fi.set=function(e,t,n){return null==e?e:Mr(e,t,n)},fi.setWith=function(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:Mr(e,t,n,i)},fi.shuffle=function(e){return(va(e)?Mi:Er)(e)},fi.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Uo(e,t,n)?(t=0,n=i):(t=null==t?0:Ha(t),n=n===o?i:Ha(n)),Dr(e,t,n)):[]},fi.sortBy=Js,fi.sortedUniq=function(e){return e&&e.length?Or(e):[]},fi.sortedUniqBy=function(e,t){return e&&e.length?Or(e,No(t,2)):[]},fi.split=function(e,t,n){return n&&"number"!=typeof n&&Uo(e,t,n)&&(t=n=o),(n=n===o?Y:n>>>0)?(e=Ga(e))&&("string"==typeof t||null!=t&&!Ia(t))&&!(t=Nr(t))&&kn(e)?Zr(In(e),0,n):e.split(t,n):[]},fi.spread=function(e,t){if("function"!=typeof e)throw new rt(l);return t=null==t?0:Gn(Ha(t),0),Ar(function(n){var i=n[t],r=Zr(n,0,t);return i&&en(r,i),Gt(e,this,r)})},fi.tail=function(e){var t=null==e?0:e.length;return t?Dr(e,1,t):[]},fi.take=function(e,t,n){return e&&e.length?Dr(e,0,(t=n||t===o?1:Ha(t))<0?0:t):[]},fi.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?Dr(e,(t=i-(t=n||t===o?1:Ha(t)))<0?0:t,i):[]},fi.takeRightWhile=function(e,t){return e&&e.length?Br(e,No(t,3),!1,!0):[]},fi.takeWhile=function(e,t){return e&&e.length?Br(e,No(t,3)):[]},fi.tap=function(e,t){return t(e),e},fi.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new rt(l);return Sa(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),ra(e,t,{leading:i,maxWait:t,trailing:r})},fi.thru=Bs,fi.toArray=Ra,fi.toPairs=dl,fi.toPairsIn=hl,fi.toPath=function(e){return va(e)?qt(e,us):Fa(e)?[e]:no(cs(Ga(e)))},fi.toPlainObject=Wa,fi.transform=function(e,t,n){var i=va(e),r=i||wa(e)||Na(e);if(t=No(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:Sa(e)&&Ca(o)?pi(Tt(e)):{}}return(r?Ut:Ui)(e,function(e,i,r){return t(n,e,i,r)}),n},fi.unary=function(e){return ea(e,1)},fi.union=Ls,fi.unionBy=Es,fi.unionWith=Ds,fi.uniq=function(e){return e&&e.length?Yr(e):[]},fi.uniqBy=function(e,t){return e&&e.length?Yr(e,No(t,2)):[]},fi.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Yr(e,o,t):[]},fi.unset=function(e,t){return null==e||Pr(e,t)},fi.unzip=Ts,fi.unzipWith=Is,fi.update=function(e,t,n){return null==e?e:Rr(e,t,Gr(n))},fi.updateWith=function(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:Rr(e,t,Gr(n),i)},fi.values=fl,fi.valuesIn=function(e){return null==e?[]:yn(e,ol(e))},fi.without=js,fi.words=Cl,fi.wrap=function(e,t){return ua(Gr(t),e)},fi.xor=Os,fi.xorBy=Fs,fi.xorWith=Ns,fi.zip=Ys,fi.zipObject=function(e,t){return $r(e||[],t||[],Li)},fi.zipObjectDeep=function(e,t){return $r(e||[],t||[],Mr)},fi.zipWith=Ps,fi.entries=dl,fi.entriesIn=hl,fi.extend=Ua,fi.extendWith=Za,Ol(fi,fi),fi.add=Wl,fi.attempt=kl,fi.camelCase=pl,fi.capitalize=ml,fi.ceil=Gl,fi.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=$a(n))==n?n:0),t!==o&&(t=(t=$a(t))==t?t:0),Oi($a(e),t,n)},fi.clone=function(e){return Fi(e,p)},fi.cloneDeep=function(e){return Fi(e,h|p)},fi.cloneDeepWith=function(e,t){return Fi(e,h|p,t="function"==typeof t?t:o)},fi.cloneWith=function(e,t){return Fi(e,p,t="function"==typeof t?t:o)},fi.conformsTo=function(e,t){return null==t||Ni(e,t,rl(t))},fi.deburr=gl,fi.defaultTo=function(e,t){return null==e||e!=e?t:e},fi.divide=Vl,fi.endsWith=function(e,t,n){e=Ga(e),t=Nr(t);var i=e.length,r=n=n===o?i:Oi(Ha(n),0,i);return(n-=t.length)>=0&&e.slice(n,r)==t},fi.eq=fa,fi.escape=function(e){return(e=Ga(e))&&ke.test(e)?e.replace(Ae,An):e},fi.escapeRegExp=function(e){return(e=Ga(e))&&je.test(e)?e.replace(Ie,"\\$&"):e},fi.every=function(e,t,n){var i=va(e)?Xt:Hi;return n&&Uo(e,t,n)&&(t=o),i(e,No(t,3))},fi.find=$s,fi.findIndex=gs,fi.findKey=function(e,t){return sn(e,No(t,3),Ui)},fi.findLast=Ws,fi.findLastIndex=vs,fi.findLastKey=function(e,t){return sn(e,No(t,3),Zi)},fi.floor=Ul,fi.forEach=Gs,fi.forEachRight=Vs,fi.forIn=function(e,t){return null==e?e:Gi(e,No(t,3),ol)},fi.forInRight=function(e,t){return null==e?e:Vi(e,No(t,3),ol)},fi.forOwn=function(e,t){return e&&Ui(e,No(t,3))},fi.forOwnRight=function(e,t){return e&&Zi(e,No(t,3))},fi.get=qa,fi.gt=pa,fi.gte=ma,fi.has=function(e,t){return null!=e&&$o(e,t,er)},fi.hasIn=el,fi.head=bs,fi.identity=Dl,fi.includes=function(e,t,n,i){e=ba(e)?e:fl(e),n=n&&!i?Ha(n):0;var r=e.length;return n<0&&(n=Gn(r+n,0)),Oa(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&ln(e,t,n)>-1},fi.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Ha(n);return r<0&&(r=Gn(i+r,0)),ln(e,t,r)},fi.inRange=function(e,t,n){return t=Ba(t),n===o?(n=t,t=0):n=Ba(n),function(e,t,n){return e>=Vn(t,n)&&e<Gn(t,n)}(e=$a(e),t,n)},fi.invoke=il,fi.isArguments=ga,fi.isArray=va,fi.isArrayBuffer=ya,fi.isArrayLike=ba,fi.isArrayLikeObject=_a,fi.isBoolean=function(e){return!0===e||!1===e||La(e)&&Ji(e)==W},fi.isBuffer=wa,fi.isDate=xa,fi.isElement=function(e){return La(e)&&1===e.nodeType&&!Ta(e)},fi.isEmpty=function(e){if(null==e)return!0;if(ba(e)&&(va(e)||"string"==typeof e||"function"==typeof e.splice||wa(e)||Na(e)||ga(e)))return!e.length;var t=zo(e);if(t==Q||t==ne)return!e.size;if(Ko(e))return!cr(e).length;for(var n in e)if(ut.call(e,n))return!1;return!0},fi.isEqual=function(e,t){return or(e,t)},fi.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:o)?n(e,t):o;return i===o?or(e,t,o,n):!!i},fi.isError=Aa,fi.isFinite=function(e){return"number"==typeof e&&zn(e)},fi.isFunction=Ca,fi.isInteger=ka,fi.isLength=Ma,fi.isMap=Ea,fi.isMatch=function(e,t){return e===t||sr(e,t,Po(t))},fi.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,sr(e,t,Po(t),n)},fi.isNaN=function(e){return Da(e)&&e!=+e},fi.isNative=function(e){if(Qo(e))throw new Je(a);return ar(e)},fi.isNil=function(e){return null==e},fi.isNull=function(e){return null===e},fi.isNumber=Da,fi.isObject=Sa,fi.isObjectLike=La,fi.isPlainObject=Ta,fi.isRegExp=Ia,fi.isSafeInteger=function(e){return ka(e)&&e>=-O&&e<=O},fi.isSet=ja,fi.isString=Oa,fi.isSymbol=Fa,fi.isTypedArray=Na,fi.isUndefined=function(e){return e===o},fi.isWeakMap=function(e){return La(e)&&zo(e)==se},fi.isWeakSet=function(e){return La(e)&&Ji(e)==ae},fi.join=function(e,t){return null==e?"":$n.call(e,t)},fi.kebabCase=vl,fi.last=As,fi.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==o&&(r=(r=Ha(n))<0?Gn(i+r,0):Vn(r,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):an(e,un,r,!0)},fi.lowerCase=yl,fi.lowerFirst=bl,fi.lt=Ya,fi.lte=Pa,fi.max=function(e){return e&&e.length?zi(e,Dl,qi):o},fi.maxBy=function(e,t){return e&&e.length?zi(e,No(t,2),qi):o},fi.mean=function(e){return dn(e,Dl)},fi.meanBy=function(e,t){return dn(e,No(t,2))},fi.min=function(e){return e&&e.length?zi(e,Dl,dr):o},fi.minBy=function(e,t){return e&&e.length?zi(e,No(t,2),dr):o},fi.stubArray=zl,fi.stubFalse=$l,fi.stubObject=function(){return{}},fi.stubString=function(){return""},fi.stubTrue=function(){return!0},fi.multiply=Xl,fi.nth=function(e,t){return e&&e.length?gr(e,Ha(t)):o},fi.noConflict=function(){return jt._===this&&(jt._=mt),this},fi.noop=Fl,fi.now=qs,fi.pad=function(e,t,n){e=Ga(e);var i=(t=Ha(t))?Tn(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return yo(Rn(r),n)+e+yo(Pn(r),n)},fi.padEnd=function(e,t,n){e=Ga(e);var i=(t=Ha(t))?Tn(e):0;return t&&i<t?e+yo(t-i,n):e},fi.padStart=function(e,t,n){e=Ga(e);var i=(t=Ha(t))?Tn(e):0;return t&&i<t?yo(t-i,n)+e:e},fi.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Zn(Ga(e).replace(Fe,""),t||0)},fi.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Uo(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Ba(e),t===o?(t=e,e=0):t=Ba(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Xn();return Vn(e+r*(t-e+Et("1e-"+((r+"").length-1))),t)}return wr(e,t)},fi.reduce=function(e,t,n){var i=va(e)?tn:pn,r=arguments.length<3;return i(e,No(t,4),n,r,Ri)},fi.reduceRight=function(e,t,n){var i=va(e)?nn:pn,r=arguments.length<3;return i(e,No(t,4),n,r,Bi)},fi.repeat=function(e,t,n){return t=(n?Uo(e,t,n):t===o)?1:Ha(t),xr(Ga(e),t)},fi.replace=function(){var e=arguments,t=Ga(e[0]);return e.length<3?t:t.replace(e[1],e[2])},fi.result=function(e,t,n){var i=-1,r=(t=Vr(t,e)).length;for(r||(r=1,e=o);++i<r;){var s=null==e?o:e[us(t[i])];s===o&&(i=r,s=n),e=Ca(s)?s.call(e):s}return e},fi.round=Ql,fi.runInContext=e,fi.sample=function(e){return(va(e)?Ci:Cr)(e)},fi.size=function(e){if(null==e)return 0;if(ba(e))return Oa(e)?Tn(e):e.length;var t=zo(e);return t==Q||t==ne?e.size:cr(e).length},fi.snakeCase=_l,fi.some=function(e,t,n){var i=va(e)?rn:Tr;return n&&Uo(e,t,n)&&(t=o),i(e,No(t,3))},fi.sortedIndex=function(e,t){return Ir(e,t)},fi.sortedIndexBy=function(e,t,n){return jr(e,t,No(n,2))},fi.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=Ir(e,t);if(i<n&&fa(e[i],t))return i}return-1},fi.sortedLastIndex=function(e,t){return Ir(e,t,!0)},fi.sortedLastIndexBy=function(e,t,n){return jr(e,t,No(n,2),!0)},fi.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Ir(e,t,!0)-1;if(fa(e[n],t))return n}return-1},fi.startCase=wl,fi.startsWith=function(e,t,n){return e=Ga(e),n=null==n?0:Oi(Ha(n),0,e.length),t=Nr(t),e.slice(n,n+t.length)==t},fi.subtract=Kl,fi.sum=function(e){return e&&e.length?mn(e,Dl):0},fi.sumBy=function(e,t){return e&&e.length?mn(e,No(t,2)):0},fi.template=function(e,t,n){var i=fi.templateSettings;n&&Uo(e,t,n)&&(t=o),e=Ga(e),t=Za({},t,i,Mo);var r,s,a=Za({},t.imports,i.imports,Mo),l=rl(a),c=yn(a,l),u=0,d=t.interpolate||Qe,h="__p += '",f=nt((t.escape||Qe).source+"|"+d.source+"|"+(d===Le?ze:Qe).source+"|"+(t.evaluate||Qe).source+"|$","g"),p="//# sourceURL="+(ut.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++kt+"]")+"\n";e.replace(f,function(t,n,i,o,a,l){return i||(i=o),h+=e.slice(u,l).replace(Ke,Cn),n&&(r=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),h+="';\n";var m=ut.call(t,"variable")&&t.variable;m||(h="with (obj) {\n"+h+"\n}\n"),h=(s?h.replace(be,""):h).replace(_e,"$1").replace(we,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=kl(function(){return qe(l,p+"return "+h).apply(o,c)});if(g.source=h,Aa(g))throw g;return g},fi.times=function(e,t){if((e=Ha(e))<1||e>O)return[];var n=Y,i=Vn(e,Y);t=No(t),e-=Y;for(var r=gn(i,t);++n<e;)t(n);return r},fi.toFinite=Ba,fi.toInteger=Ha,fi.toLength=za,fi.toLower=function(e){return Ga(e).toLowerCase()},fi.toNumber=$a,fi.toSafeInteger=function(e){return e?Oi(Ha(e),-O,O):0===e?e:0},fi.toString=Ga,fi.toUpper=function(e){return Ga(e).toUpperCase()},fi.trim=function(e,t,n){if((e=Ga(e))&&(n||t===o))return e.replace(Oe,"");if(!e||!(t=Nr(t)))return e;var i=In(e),r=In(t);return Zr(i,_n(i,r),wn(i,r)+1).join("")},fi.trimEnd=function(e,t,n){if((e=Ga(e))&&(n||t===o))return e.replace(Ne,"");if(!e||!(t=Nr(t)))return e;var i=In(e);return Zr(i,0,wn(i,In(t))+1).join("")},fi.trimStart=function(e,t,n){if((e=Ga(e))&&(n||t===o))return e.replace(Fe,"");if(!e||!(t=Nr(t)))return e;var i=In(e);return Zr(i,_n(i,In(t))).join("")},fi.truncate=function(e,t){var n=S,i=L;if(Sa(t)){var r="separator"in t?t.separator:r;n="length"in t?Ha(t.length):n,i="omission"in t?Nr(t.omission):i}var s=(e=Ga(e)).length;if(kn(e)){var a=In(e);s=a.length}if(n>=s)return e;var l=n-Tn(i);if(l<1)return i;var c=a?Zr(a,0,l).join(""):e.slice(0,l);if(r===o)return c+i;if(a&&(l+=c.length-l),Ia(r)){if(e.slice(l).search(r)){var u,d=c;for(r.global||(r=nt(r.source,Ga($e.exec(r))+"g")),r.lastIndex=0;u=r.exec(d);)var h=u.index;c=c.slice(0,h===o?l:h)}}else if(e.indexOf(Nr(r),l)!=l){var f=c.lastIndexOf(r);f>-1&&(c=c.slice(0,f))}return c+i},fi.unescape=function(e){return(e=Ga(e))&&Ce.test(e)?e.replace(xe,jn):e},fi.uniqueId=function(e){var t=++dt;return Ga(e)+t},fi.upperCase=xl,fi.upperFirst=Al,fi.each=Gs,fi.eachRight=Vs,fi.first=bs,Ol(fi,(Zl={},Ui(fi,function(e,t){ut.call(fi.prototype,t)||(Zl[t]=e)}),Zl),{chain:!1}),fi.VERSION="4.17.15",Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){fi[e].placeholder=fi}),Ut(["drop","take"],function(e,t){vi.prototype[e]=function(n){n=n===o?1:Gn(Ha(n),0);var i=this.__filtered__&&!t?new vi(this):this.clone();return i.__filtered__?i.__takeCount__=Vn(n,i.__takeCount__):i.__views__.push({size:Vn(n,Y),type:e+(i.__dir__<0?"Right":"")}),i},vi.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Ut(["filter","map","takeWhile"],function(e,t){var n=t+1,i=n==T||3==n;vi.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:No(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),Ut(["head","last"],function(e,t){var n="take"+(t?"Right":"");vi.prototype[e]=function(){return this[n](1).value()[0]}}),Ut(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");vi.prototype[e]=function(){return this.__filtered__?new vi(this):this[n](1)}}),vi.prototype.compact=function(){return this.filter(Dl)},vi.prototype.find=function(e){return this.filter(e).head()},vi.prototype.findLast=function(e){return this.reverse().find(e)},vi.prototype.invokeMap=Ar(function(e,t){return"function"==typeof e?new vi(this):this.map(function(n){return ir(n,e,t)})}),vi.prototype.reject=function(e){return this.filter(la(No(e)))},vi.prototype.slice=function(e,t){e=Ha(e);var n=this;return n.__filtered__&&(e>0||t<0)?new vi(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Ha(t))<0?n.dropRight(-t):n.take(t-e)),n)},vi.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},vi.prototype.toArray=function(){return this.take(Y)},Ui(vi.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=fi[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);r&&(fi.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,l=t instanceof vi,c=a[0],u=l||va(t),d=function(e){var t=r.apply(fi,en([e],a));return i&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=s&&!h,m=l&&!f;if(!s&&u){t=m?t:new vi(this);var g=e.apply(t,a);return g.__actions__.push({func:Bs,args:[d],thisArg:o}),new gi(g,h)}return p&&m?e.apply(this,a):(g=this.thru(d),p?i?g.value()[0]:g.value():g)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(e){var t=ot[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);fi.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(va(r)?r:[],e)}return this[n](function(n){return t.apply(va(n)?n:[],e)})}}),Ui(vi.prototype,function(e,t){var n=fi[t];if(n){var i=n.name+"";ut.call(ri,i)||(ri[i]=[]),ri[i].push({name:t,func:n})}}),ri[po(o,y).name]=[{name:"wrapper",func:o}],vi.prototype.clone=function(){var e=new vi(this.__wrapped__);return e.__actions__=no(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=no(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=no(this.__views__),e},vi.prototype.reverse=function(){if(this.__filtered__){var e=new vi(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},vi.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=va(e),i=t<0,r=n?e.length:0,o=function(e,t,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=Vn(t,e+s);break;case"takeRight":e=Gn(e,t-s)}}return{start:e,end:t}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,d=u.length,h=0,f=Vn(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return Hr(e,this.__actions__);var p=[];e:for(;l--&&h<f;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],y=v.iteratee,b=v.type,_=y(g);if(b==I)g=_;else if(!_){if(b==T)continue e;break e}}p[h++]=g}return p},fi.prototype.at=Hs,fi.prototype.chain=function(){return Rs(this)},fi.prototype.commit=function(){return new gi(this.value(),this.__chain__)},fi.prototype.next=function(){this.__values__===o&&(this.__values__=Ra(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},fi.prototype.plant=function(e){for(var t,n=this;n instanceof mi;){var i=hs(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t},fi.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof vi){var t=e;return this.__actions__.length&&(t=new vi(this)),(t=t.reverse()).__actions__.push({func:Bs,args:[Ss],thisArg:o}),new gi(t,this.__chain__)}return this.thru(Ss)},fi.prototype.toJSON=fi.prototype.valueOf=fi.prototype.value=function(){return Hr(this.__wrapped__,this.__actions__)},fi.prototype.first=fi.prototype.head,Pt&&(fi.prototype[Pt]=function(){return this}),fi}();jt._=On,(r=function(){return On}.call(t,n,t,i))===o||(i.exports=r)}).call(this)}).call(this,n(5),n(26)(e))},function(e,t,n){!function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){o(e,t,n[t])})}return e}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var a="transitionend";function l(e){var n=this,i=!1;return t(this).one(c.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||c.triggerTransitionEnd(n)},e),this}var c={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration"),i=t(e).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(e){return e.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&c.isElement(o)?"element":(a=o,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var a},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c.findShadowRoot(e.parentNode):null}};t.fn.emulateTransitionEnd=l,t.event.special[c.TRANSITION_END]={bindType:a,delegateType:a,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var u=t.fn.alert,d={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},h="alert",f="fade",p="show",m=function(){function e(e){this._element=e}var n=e.prototype;return n.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(e){var n=c.getSelectorFromElement(e),i=!1;return n&&(i=document.querySelector(n)),i||(i=t(e).closest("."+h)[0]),i},n._triggerCloseEvent=function(e){var n=t.Event(d.CLOSE);return t(e).trigger(n),n},n._removeElement=function(e){var n=this;if(t(e).removeClass(p),t(e).hasClass(f)){var i=c.getTransitionDurationFromElement(e);t(e).one(c.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(i)}else this._destroyElement(e)},n._destroyElement=function(e){t(e).detach().trigger(d.CLOSED).remove()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||(r=new e(this),i.data("bs.alert",r)),"close"===n&&r[n](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(d.CLICK_DATA_API,'[data-dismiss="alert"]',m._handleDismiss(new m)),t.fn.alert=m._jQueryInterface,t.fn.alert.Constructor=m,t.fn.alert.noConflict=function(){return t.fn.alert=u,m._jQueryInterface};var g=t.fn.button,v="active",y="btn",b="focus",_='[data-toggle^="button"]',w='[data-toggle="buttons"]',x='input:not([type="hidden"])',A=".active",C=".btn",k={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},M=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var e=!0,n=!0,i=t(this._element).closest(w)[0];if(i){var r=this._element.querySelector(x);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(v))e=!1;else{var o=i.querySelector(A);o&&t(o).removeClass(v)}if(e){if(r.hasAttribute("disabled")||i.hasAttribute("disabled")||r.classList.contains("disabled")||i.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(v),t(r).trigger("change")}r.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(v)),e&&t(this._element).toggleClass(v)},n.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.button");i||(i=new e(this),t(this).data("bs.button",i)),"toggle"===n&&i[n]()})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(k.CLICK_DATA_API,_,function(e){e.preventDefault();var n=e.target;t(n).hasClass(y)||(n=t(n).closest(C)),M._jQueryInterface.call(t(n),"toggle")}).on(k.FOCUS_BLUR_DATA_API,_,function(e){var n=t(e.target).closest(C)[0];t(n).toggleClass(b,/^focus(in)?$/.test(e.type))}),t.fn.button=M._jQueryInterface,t.fn.button.Constructor=M,t.fn.button.noConflict=function(){return t.fn.button=g,M._jQueryInterface};var S="carousel",L=".bs.carousel",E=t.fn[S],D={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},T={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},I="next",j="prev",O="left",F="right",N={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"},Y="carousel",P="active",R="slide",B="carousel-item-right",H="carousel-item-left",z="carousel-item-next",$="carousel-item-prev",W="pointer-event",G={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"]'},V={TOUCH:"touch",PEN:"pen"},U=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(G.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=e.prototype;return n.next=function(){this._isSliding||this._slide(I)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(j)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(G.NEXT_PREV)&&(c.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(e){var n=this;this._activeElement=this._element.querySelector(G.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(N.SLID,function(){return n.to(e)});else{if(i===e)return this.pause(),void this.cycle();var r=e>i?I:j;this._slide(r,this._items[e])}},n.dispose=function(){t(this._element).off(L),t.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(e){return e=s({},D,e),c.typeCheckConfig(S,e,T),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}},n._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(N.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&t(this._element).on(N.MOUSEENTER,function(t){return e.pause(t)}).on(N.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var n=function(t){e._pointerEvent&&V[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){e._pointerEvent&&V[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};t(this._element.querySelectorAll(G.ITEM_IMG)).on(N.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(t(this._element).on(N.POINTERDOWN,function(e){return n(e)}),t(this._element).on(N.POINTERUP,function(e){return i(e)}),this._element.classList.add(W)):(t(this._element).on(N.TOUCHSTART,function(e){return n(e)}),t(this._element).on(N.TOUCHMOVE,function(t){return function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)}),t(this._element).on(N.TOUCHEND,function(e){return i(e)}))}},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(G.ITEM)):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===I,i=e===j,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=(r+(e===j?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(G.ACTIVE_ITEM)),o=t.Event(N.SLIDE,{relatedTarget:e,direction:n,from:r,to:i});return t(this._element).trigger(o),o},n._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(G.ACTIVE));t(n).removeClass(P);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(P)}},n._slide=function(e,n){var i,r,o,s=this,a=this._element.querySelector(G.ACTIVE_ITEM),l=this._getItemIndex(a),u=n||a&&this._getItemByDirection(e,a),d=this._getItemIndex(u),h=Boolean(this._interval);if(e===I?(i=H,r=z,o=O):(i=B,r=$,o=F),u&&t(u).hasClass(P))this._isSliding=!1;else if(!this._triggerSlideEvent(u,o).isDefaultPrevented()&&a&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var f=t.Event(N.SLID,{relatedTarget:u,direction:o,from:l,to:d});if(t(this._element).hasClass(R)){t(u).addClass(r),c.reflow(u),t(a).addClass(i),t(u).addClass(i);var p=parseInt(u.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var m=c.getTransitionDurationFromElement(a);t(a).one(c.TRANSITION_END,function(){t(u).removeClass(i+" "+r).addClass(P),t(a).removeClass(P+" "+r+" "+i),s._isSliding=!1,setTimeout(function(){return t(s._element).trigger(f)},0)}).emulateTransitionEnd(m)}else t(a).removeClass(P),t(u).addClass(P),this._isSliding=!1,t(this._element).trigger(f);h&&this.cycle()}},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.carousel"),r=s({},D,t(this).data());"object"==typeof n&&(r=s({},r,n));var o="string"==typeof n?n:r.slide;if(i||(i=new e(this,r),t(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())})},e._dataApiClickHandler=function(n){var i=c.getSelectorFromElement(this);if(i){var r=t(i)[0];if(r&&t(r).hasClass(Y)){var o=s({},t(r).data(),t(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),e._jQueryInterface.call(t(r),o),a&&t(r).data("bs.carousel").to(a),n.preventDefault()}}},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return D}}]),e}();t(document).on(N.CLICK_DATA_API,G.DATA_SLIDE,U._dataApiClickHandler),t(window).on(N.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(G.DATA_RIDE)),n=0,i=e.length;n<i;n++){var r=t(e[n]);U._jQueryInterface.call(r,r.data())}}),t.fn[S]=U._jQueryInterface,t.fn[S].Constructor=U,t.fn[S].noConflict=function(){return t.fn[S]=E,U._jQueryInterface};var Z="collapse",X=t.fn[Z],Q={toggle:!0,parent:""},K={toggle:"boolean",parent:"(string|element)"},J={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},q="show",ee="collapse",te="collapsing",ne="collapsed",ie="width",re="height",oe={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},se=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(oe.DATA_TOGGLE)),i=0,r=n.length;i<r;i++){var o=n[i],s=c.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});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=e.prototype;return n.toggle=function(){t(this._element).hasClass(q)?this.hide():this.show()},n.show=function(){var n,i,r=this;if(!(this._isTransitioning||t(this._element).hasClass(q)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(oe.ACTIVES)).filter(function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(ee)})).length&&(n=null),n&&(i=t(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var o=t.Event(J.SHOW);if(t(this._element).trigger(o),!o.isDefaultPrevented()){n&&(e._jQueryInterface.call(t(n).not(this._selector),"hide"),i||t(n).data("bs.collapse",null));var s=this._getDimension();t(this._element).removeClass(ee).addClass(te),this._element.style[s]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(ne).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),l=c.getTransitionDurationFromElement(this._element);t(this._element).one(c.TRANSITION_END,function(){t(r._element).removeClass(te).addClass(ee).addClass(q),r._element.style[s]="",r.setTransitioning(!1),t(r._element).trigger(J.SHOWN)}).emulateTransitionEnd(l),this._element.style[s]=this._element[a]+"px"}}},n.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(q)){var n=t.Event(J.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",c.reflow(this._element),t(this._element).addClass(te).removeClass(ee).removeClass(q);var r=this._triggerArray.length;if(r>0)for(var o=0;o<r;o++){var s=this._triggerArray[o],a=c.getSelectorFromElement(s);null!==a&&(t([].slice.call(document.querySelectorAll(a))).hasClass(q)||t(s).addClass(ne).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var l=c.getTransitionDurationFromElement(this._element);t(this._element).one(c.TRANSITION_END,function(){e.setTransitioning(!1),t(e._element).removeClass(te).addClass(ee).trigger(J.HIDDEN)}).emulateTransitionEnd(l)}}},n.setTransitioning=function(e){this._isTransitioning=e},n.dispose=function(){t.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return(e=s({},Q,e)).toggle=Boolean(e.toggle),c.typeCheckConfig(Z,e,K),e},n._getDimension=function(){return t(this._element).hasClass(ie)?ie:re},n._getParent=function(){var n,i=this;c.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 t(o).each(function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])}),n},n._addAriaAndCollapsedClass=function(e,n){var i=t(e).hasClass(q);n.length&&t(n).toggleClass(ne,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=c.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.collapse"),o=s({},Q,i.data(),"object"==typeof n&&n?n:{});if(!r&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),r||(r=new e(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(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Q}}]),e}();t(document).on(J.CLICK_DATA_API,oe.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),i=c.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));t(r).each(function(){var e=t(this),i=e.data("bs.collapse")?"toggle":n.data();se._jQueryInterface.call(e,i)})}),t.fn[Z]=se._jQueryInterface,t.fn[Z].Constructor=se,t.fn[Z].noConflict=function(){return t.fn[Z]=X,se._jQueryInterface};var ae="dropdown",le=t.fn[ae],ce=new RegExp("38|40|27"),ue={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"},de="disabled",he="show",fe="dropup",pe="dropright",me="dropleft",ge="dropdown-menu-right",ve="position-static",ye='[data-toggle="dropdown"]',be=".dropdown form",_e=".dropdown-menu",we=".navbar-nav",xe=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ae="top-start",Ce="top-end",ke="bottom-start",Me="bottom-end",Se="right-start",Le="left-start",Ee={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},De={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Te=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(de)){var i=e._getParentFromElement(this._element),r=t(this._menu).hasClass(he);if(e._clearMenus(),!r){var o={relatedTarget:this._element},s=t.Event(ue.SHOW,o);if(t(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:c.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(i).addClass(ve),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(i).closest(we).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(he),t(i).toggleClass(he).trigger(t.Event(ue.SHOWN,o))}}}},i.show=function(){if(!(this._element.disabled||t(this._element).hasClass(de)||t(this._menu).hasClass(he))){var n={relatedTarget:this._element},i=t.Event(ue.SHOW,n),r=e._getParentFromElement(this._element);t(r).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(he),t(r).toggleClass(he).trigger(t.Event(ue.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(de)&&t(this._menu).hasClass(he)){var n={relatedTarget:this._element},i=t.Event(ue.HIDE,n),r=e._getParentFromElement(this._element);t(r).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(he),t(r).toggleClass(he).trigger(t.Event(ue.HIDDEN,n)))}},i.dispose=function(){t.removeData(this._element,"bs.dropdown"),t(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 e=this;t(this._element).on(ue.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},i._getConfig=function(e){return e=s({},this.constructor.Default,t(this._element).data(),e),c.typeCheckConfig(ae,e,this.constructor.DefaultType),e},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(_e))}return this._menu},i._getPlacement=function(){var e=t(this._element.parentNode),n=ke;return e.hasClass(fe)?(n=Ae,t(this._menu).hasClass(ge)&&(n=Ce)):e.hasClass(pe)?n=Se:e.hasClass(me)?n=Le:t(this._menu).hasClass(ge)&&(n=Me),n},i._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},i._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},i._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.dropdown");if(i||(i=new e(this,"object"==typeof n?n:null),t(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},e._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(ye)),r=0,o=i.length;r<o;r++){var s=e._getParentFromElement(i[r]),a=t(i[r]).data("bs.dropdown"),l={relatedTarget:i[r]};if(n&&"click"===n.type&&(l.clickEvent=n),a){var c=a._menu;if(t(s).hasClass(he)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&t.contains(s,n.target))){var u=t.Event(ue.HIDE,l);t(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),i[r].setAttribute("aria-expanded","false"),t(c).removeClass(he),t(s).removeClass(he).trigger(t.Event(ue.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=c.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||t(n.target).closest(_e).length)):ce.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(de))){var i=e._getParentFromElement(this),r=t(i).hasClass(he);if(r&&(!r||27!==n.which&&32!==n.which)){var o=[].slice.call(i.querySelectorAll(xe));if(0!==o.length){var s=o.indexOf(n.target);38===n.which&&s>0&&s--,40===n.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}else{if(27===n.which){var a=i.querySelector(ye);t(a).trigger("focus")}t(this).trigger("click")}}},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ee}},{key:"DefaultType",get:function(){return De}}]),e}();t(document).on(ue.KEYDOWN_DATA_API,ye,Te._dataApiKeydownHandler).on(ue.KEYDOWN_DATA_API,_e,Te._dataApiKeydownHandler).on(ue.CLICK_DATA_API+" "+ue.KEYUP_DATA_API,Te._clearMenus).on(ue.CLICK_DATA_API,ye,function(e){e.preventDefault(),e.stopPropagation(),Te._jQueryInterface.call(t(this),"toggle")}).on(ue.CLICK_DATA_API,be,function(e){e.stopPropagation()}),t.fn[ae]=Te._jQueryInterface,t.fn[ae].Constructor=Te,t.fn[ae].noConflict=function(){return t.fn[ae]=le,Te._jQueryInterface};var Ie=t.fn.modal,je={backdrop:!0,keyboard:!0,focus:!0,show:!0},Oe={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Fe={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"},Ne="modal-dialog-scrollable",Ye="modal-scrollbar-measure",Pe="modal-backdrop",Re="modal-open",Be="fade",He="show",ze={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"},$e=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ze.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=e.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var n=this;if(!this._isShown&&!this._isTransitioning){t(this._element).hasClass(Be)&&(this._isTransitioning=!0);var i=t.Event(Fe.SHOW,{relatedTarget:e});t(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(Fe.CLICK_DISMISS,ze.DATA_DISMISS,function(e){return n.hide(e)}),t(this._dialog).on(Fe.MOUSEDOWN_DISMISS,function(){t(n._element).one(Fe.MOUSEUP_DISMISS,function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))}},n.hide=function(e){var n=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=t.Event(Fe.HIDE);if(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var r=t(this._element).hasClass(Be);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(Fe.FOCUSIN),t(this._element).removeClass(He),t(this._element).off(Fe.CLICK_DISMISS),t(this._dialog).off(Fe.MOUSEDOWN_DISMISS),r){var o=c.getTransitionDurationFromElement(this._element);t(this._element).one(c.TRANSITION_END,function(e){return n._hideModal(e)}).emulateTransitionEnd(o)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return t(e).off(".bs.modal")}),t(document).off(Fe.FOCUSIN),t.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(e){return e=s({},je,e),c.typeCheckConfig("modal",e,Oe),e},n._showElement=function(e){var n=this,i=t(this._element).hasClass(Be);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),t(this._dialog).hasClass(Ne)?this._dialog.querySelector(ze.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&c.reflow(this._element),t(this._element).addClass(He),this._config.focus&&this._enforceFocus();var r=t.Event(Fe.SHOWN,{relatedTarget:e}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(r)};if(i){var s=c.getTransitionDurationFromElement(this._dialog);t(this._dialog).one(c.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},n._enforceFocus=function(){var e=this;t(document).off(Fe.FOCUSIN).on(Fe.FOCUSIN,function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()})},n._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(Fe.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||t(this._element).off(Fe.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var e=this;this._isShown?t(window).on(Fe.RESIZE,function(t){return e.handleUpdate(t)}):t(window).off(Fe.RESIZE)},n._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){t(document.body).removeClass(Re),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(Fe.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var n=this,i=t(this._element).hasClass(Be)?Be:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Pe,i&&this._backdrop.classList.add(i),t(this._backdrop).appendTo(document.body),t(this._element).on(Fe.CLICK_DISMISS,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&c.reflow(this._backdrop),t(this._backdrop).addClass(He),!e)return;if(!i)return void e();var r=c.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(c.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(He);var o=function(){n._removeBackdrop(),e&&e()};if(t(this._element).hasClass(Be)){var s=c.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(c.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else e&&e()},n._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(ze.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(ze.STICKY_CONTENT));t(n).each(function(n,i){var r=i.style.paddingRight,o=t(i).css("padding-right");t(i).data("padding-right",r).css("padding-right",parseFloat(o)+e._scrollbarWidth+"px")}),t(i).each(function(n,i){var r=i.style.marginRight,o=t(i).css("margin-right");t(i).data("margin-right",r).css("margin-right",parseFloat(o)-e._scrollbarWidth+"px")});var r=document.body.style.paddingRight,o=t(document.body).css("padding-right");t(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}t(document.body).addClass(Re)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(ze.FIXED_CONTENT));t(e).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+ze.STICKY_CONTENT));t(n).each(function(e,n){var i=t(n).data("margin-right");void 0!==i&&t(n).css("margin-right",i).removeData("margin-right")});var i=t(document.body).data("padding-right");t(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var e=document.createElement("div");e.className=Ye,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data("bs.modal"),o=s({},je,t(this).data(),"object"==typeof n&&n?n:{});if(r||(r=new e(this,o),t(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(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return je}}]),e}();t(document).on(Fe.CLICK_DATA_API,ze.DATA_TOGGLE,function(e){var n,i=this,r=c.getSelectorFromElement(this);r&&(n=document.querySelector(r));var o=t(n).data("bs.modal")?"toggle":s({},t(n).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=t(n).one(Fe.SHOW,function(e){e.isDefaultPrevented()||a.one(Fe.HIDDEN,function(){t(i).is(":visible")&&i.focus()})});$e._jQueryInterface.call(t(n),o,this)}),t.fn.modal=$e._jQueryInterface,t.fn.modal.Constructor=$e,t.fn.modal.noConflict=function(){return t.fn.modal=Ie,$e._jQueryInterface};var We=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ge={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ve=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ue=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function Ze(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(t),o=[].slice.call(i.body.querySelectorAll("*")),s=function(e,n){var i=o[e],s=i.nodeName.toLowerCase();if(-1===r.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),l=[].concat(t["*"]||[],t[s]||[]);a.forEach(function(e){(function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===We.indexOf(n)||Boolean(e.nodeValue.match(Ve)||e.nodeValue.match(Ue));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1})(e,l)||i.removeAttribute(e.nodeName)})},a=0,l=o.length;a<l;a++)s(a);return i.body.innerHTML}var Xe="tooltip",Qe=t.fn.tooltip,Ke=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Je=["sanitize","whiteList","sanitizeFn"],qe={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"},et={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},tt={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:Ge},nt="show",it="out",rt={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"},ot="fade",st="show",at=".tooltip-inner",lt=".arrow",ct="hover",ut="focus",dt="click",ht="manual",ft=function(){function e(e,t){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=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(st))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(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 e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var r=c.findShadowRoot(this.element),o=t.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!o)return;var s=this.getTipElement(),a=c.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(s).addClass(ot);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 d=this._getContainer();t(s).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(s).appendTo(d),t(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:lt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),t(s).addClass(st),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var h=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===it&&e._leave(null,e)};if(t(this.tip).hasClass(ot)){var f=c.getTransitionDurationFromElement(this.tip);t(this.tip).one(c.TRANSITION_END,h).emulateTransitionEnd(f)}else h()}},i.hide=function(e){var n=this,i=this.getTipElement(),r=t.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==nt&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};if(t(this.element).trigger(r),!r.isDefaultPrevented()){if(t(i).removeClass(st),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[dt]=!1,this._activeTrigger[ut]=!1,this._activeTrigger[ct]=!1,t(this.tip).hasClass(ot)){var s=c.getTransitionDurationFromElement(i);t(i).one(c.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(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(at)),this.getTitle()),t(e).removeClass(ot+" "+st)},i.setElementContent=function(e,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Ze(n,this.config.whiteList,this.config.sanitizeFn)),e.html(n)):e.text(n):this.config.html?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text())},i.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},i._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},i._getContainer=function(){return!1===this.config.container?document.body:c.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},i._getAttachment=function(e){return et[e.toUpperCase()]},i._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==ht){var i=n===ct?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=n===ct?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(r,e.config.selector,function(t){return e._leave(t)})}}),t(this.element).closest(".modal").on("hide.bs.modal",function(){e.element&&e.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?ut:ct]=!0),t(n.getTipElement()).hasClass(st)||n._hoverState===nt?n._hoverState=nt:(clearTimeout(n._timeout),n._hoverState=nt,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===nt&&n.show()},n.config.delay.show):n.show())},i._leave=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?ut:ct]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=it,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===it&&n.hide()},n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){var n=t(this.element).data();return Object.keys(n).forEach(function(e){-1!==Je.indexOf(e)&&delete n[e]}),"number"==typeof(e=s({},this.constructor.Default,n,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),c.typeCheckConfig(Xe,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ze(e.template,e.whiteList,e.sanitizeFn)),e},i._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(Ke);null!==n&&n.length&&e.removeClass(n.join(""))},i._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},i._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(ot),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.tooltip"),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new e(this,r),t(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return tt}},{key:"NAME",get:function(){return Xe}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return rt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return qe}}]),e}();t.fn.tooltip=ft._jQueryInterface,t.fn.tooltip.Constructor=ft,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=Qe,ft._jQueryInterface};var pt="popover",mt=t.fn.popover,gt=new RegExp("(^|\\s)bs-popover\\S+","g"),vt=s({},ft.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>'}),yt=s({},ft.DefaultType,{content:"(string|element|function)"}),bt="fade",_t="show",wt=".popover-header",xt=".popover-body",At={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"},Ct=function(e){var n,i;function o(){return e.apply(this,arguments)||this}i=e,(n=o).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var s=o.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},s.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},s.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(wt),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(xt),n),e.removeClass(bt+" "+_t)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(gt);null!==n&&n.length>0&&e.removeClass(n.join(""))},o._jQueryInterface=function(e){return this.each(function(){var n=t(this).data("bs.popover"),i="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new o(this,i),t(this).data("bs.popover",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},r(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return vt}},{key:"NAME",get:function(){return pt}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return At}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return yt}}]),o}(ft);t.fn.popover=Ct._jQueryInterface,t.fn.popover.Constructor=Ct,t.fn.popover.noConflict=function(){return t.fn.popover=mt,Ct._jQueryInterface};var kt="scrollspy",Mt=t.fn[kt],St={offset:10,method:"auto",target:""},Lt={offset:"number",method:"string",target:"(string|element)"},Et={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Dt="dropdown-item",Tt="active",It={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",Ot="position",Ft=function(){function e(e,n){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+It.NAV_LINKS+","+this._config.target+" "+It.LIST_ITEMS+","+this._config.target+" "+It.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(Et.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}var n=e.prototype;return n.refresh=function(){var e=this,n=this._scrollElement===this._scrollElement.window?jt:Ot,i="auto"===this._config.method?n:this._config.method,r=i===Ot?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var n,o=c.getSelectorFromElement(e);if(o&&(n=document.querySelector(o)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[t(n)[i]().top+r,o]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,"bs.scrollspy"),t(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(e){if("string"!=typeof(e=s({},St,"object"==typeof e&&e?e:{})).target){var n=t(e.target).attr("id");n||(n=c.getUID(kt),t(e.target).attr("id",n)),e.target="#"+n}return c.typeCheckConfig(kt,e,Lt),e},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 e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}},n._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=t([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(Dt)?(i.closest(It.DROPDOWN).find(It.DROPDOWN_TOGGLE).addClass(Tt),i.addClass(Tt)):(i.addClass(Tt),i.parents(It.NAV_LIST_GROUP).prev(It.NAV_LINKS+", "+It.LIST_ITEMS).addClass(Tt),i.parents(It.NAV_LIST_GROUP).prev(It.NAV_ITEMS).children(It.NAV_LINKS).addClass(Tt)),t(this._scrollElement).trigger(Et.ACTIVATE,{relatedTarget:e})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(Tt)}).forEach(function(e){return e.classList.remove(Tt)})},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.scrollspy");if(i||(i=new e(this,"object"==typeof n&&n),t(this).data("bs.scrollspy",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return St}}]),e}();t(window).on(Et.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(It.DATA_SPY)),n=e.length;n--;){var i=t(e[n]);Ft._jQueryInterface.call(i,i.data())}}),t.fn[kt]=Ft._jQueryInterface,t.fn[kt].Constructor=Ft,t.fn[kt].noConflict=function(){return t.fn[kt]=Mt,Ft._jQueryInterface};var Nt=t.fn.tab,Yt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Pt="dropdown-menu",Rt="active",Bt="disabled",Ht="fade",zt="show",$t=".dropdown",Wt=".nav, .list-group",Gt=".active",Vt="> li > .active",Ut='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Zt=".dropdown-toggle",Xt="> .dropdown-menu .active",Qt=function(){function e(e){this._element=e}var n=e.prototype;return n.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(Rt)||t(this._element).hasClass(Bt))){var n,i,r=t(this._element).closest(Wt)[0],o=c.getSelectorFromElement(this._element);if(r){var s="UL"===r.nodeName||"OL"===r.nodeName?Vt:Gt;i=(i=t.makeArray(t(r).find(s)))[i.length-1]}var a=t.Event(Yt.HIDE,{relatedTarget:this._element}),l=t.Event(Yt.SHOW,{relatedTarget:i});if(i&&t(i).trigger(a),t(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(n=document.querySelector(o)),this._activate(this._element,r);var u=function(){var n=t.Event(Yt.HIDDEN,{relatedTarget:e._element}),r=t.Event(Yt.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(r)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(e,n,i){var r=this,o=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t(n).children(Gt):t(n).find(Vt))[0],s=i&&o&&t(o).hasClass(Ht),a=function(){return r._transitionComplete(e,o,i)};if(o&&s){var l=c.getTransitionDurationFromElement(o);t(o).removeClass(zt).one(c.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},n._transitionComplete=function(e,n,i){if(n){t(n).removeClass(Rt);var r=t(n.parentNode).find(Xt)[0];r&&t(r).removeClass(Rt),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(t(e).addClass(Rt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),c.reflow(e),e.classList.contains(Ht)&&e.classList.add(zt),e.parentNode&&t(e.parentNode).hasClass(Pt)){var o=t(e).closest($t)[0];if(o){var s=[].slice.call(o.querySelectorAll(Zt));t(s).addClass(Rt)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tab");if(r||(r=new e(this),i.data("bs.tab",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(Yt.CLICK_DATA_API,Ut,function(e){e.preventDefault(),Qt._jQueryInterface.call(t(this),"show")}),t.fn.tab=Qt._jQueryInterface,t.fn.tab.Constructor=Qt,t.fn.tab.noConflict=function(){return t.fn.tab=Nt,Qt._jQueryInterface};var Kt=t.fn.toast,Jt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},qt="fade",en="hide",tn="show",nn="showing",rn={animation:"boolean",autohide:"boolean",delay:"number"},on={animation:!0,autohide:!0,delay:500},sn='[data-dismiss="toast"]',an=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var n=e.prototype;return n.show=function(){var e=this;t(this._element).trigger(Jt.SHOW),this._config.animation&&this._element.classList.add(qt);var n=function(){e._element.classList.remove(nn),e._element.classList.add(tn),t(e._element).trigger(Jt.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove(en),this._element.classList.add(nn),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);t(this._element).one(c.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(e){var n=this;this._element.classList.contains(tn)&&(t(this._element).trigger(Jt.HIDE),e?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(tn)&&this._element.classList.remove(tn),t(this._element).off(Jt.CLICK_DISMISS),t.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(e){return e=s({},on,t(this._element).data(),"object"==typeof e&&e?e:{}),c.typeCheckConfig("toast",e,this.constructor.DefaultType),e},n._setListeners=function(){var e=this;t(this._element).on(Jt.CLICK_DISMISS,sn,function(){return e.hide(!0)})},n._close=function(){var e=this,n=function(){e._element.classList.add(en),t(e._element).trigger(Jt.HIDDEN)};if(this._element.classList.remove(tn),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);t(this._element).one(c.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.toast");if(r||(r=new e(this,"object"==typeof n&&n),i.data("bs.toast",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return rn}},{key:"Default",get:function(){return on}}]),e}();t.fn.toast=an._jQueryInterface,t.fn.toast.Constructor=an,t.fn.toast.noConflict=function(){return t.fn.toast=Kt,an._jQueryInterface},function(){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=c,e.Alert=m,e.Button=M,e.Carousel=U,e.Collapse=se,e.Dropdown=Te,e.Modal=$e,e.Popover=Ct,e.Scrollspy=Ft,e.Tab=Qt,e.Toast=an,e.Tooltip=ft,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(18),n(17))},function(e,t,n){"use strict";var i=n(4),r=n(19),o=n(33),s=n(7);function a(e){var t=new o(e),n=r(o.prototype.request,t);return i.extend(n,o.prototype,t),i.extend(n,t),n}var l=a(s);l.Axios=o,l.create=function(e){return a(i.merge(s,e))},l.Cancel=n(23),l.CancelToken=n(46),l.isCancel=n(22),l.all=function(e){return Promise.all(e)},l.spread=n(47),e.exports=l,e.exports.default=l},function(e,t){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,n){"use strict";var i=n(7),r=n(4),o=n(41),s=n(42);function a(e){this.defaults=e,this.interceptors={request:new o,response:new o}}a.prototype.request=function(e){"string"==typeof e&&(e=r.merge({url:arguments[0]},arguments[1])),(e=r.merge(i,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},r.forEach(["delete","get","head","options"],function(e){a.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){a.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=a},function(e,t,n){"use strict";var i=n(4);e.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},function(e,t,n){"use strict";var i=n(21);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,i,r){return e.config=t,n&&(e.code=n),e.request=i,e.response=r,e}},function(e,t,n){"use strict";var i=n(4);function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var s=[];i.forEach(t,function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))}))}),o=s.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},function(e,t,n){"use strict";var i=n(4),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(i.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=i.trim(e.substr(0,o)).toLowerCase(),n=i.trim(e.substr(o+1)),t){if(s[t]&&r.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},function(e,t,n){"use strict";var i=n(4);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var i=n(4);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,r,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(r)&&a.push("path="+r),i.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var i=n(4);function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";var i=n(4),r=n(43),o=n(22),s=n(7),a=n(44),l=n(45);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!a(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return c(e),t.data=r(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var i=n(4);e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var i=n(23);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t){$(document).ready(function(){$(".empty-step .thumbnail").on({mouseenter:function(){$(this).removeClass("alert-secondary"),$(this).addClass("alert-dark")},mouseleave:function(){$(this).removeClass("alert-dark"),$(this).addClass("alert-secondary")}}),$(".step .thumbnail").on({mouseenter:function(){$(this).removeClass("alert-info"),$(this).addClass("alert-primary")},mouseleave:function(){$(this).removeClass("alert-primary"),$(this).addClass("alert-info")}}),$("#add-step").click(function(){var e=$(this).attr("action");$.ajax({url:e,success:function(e){$(".step-form").html(e),$("#step_modal").modal("show")},error:function(e,t,n){alert(e.responseText)},dataType:"html"})}),$("body").on("click","#add-answer",function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var e=$(this).attr("action");$.ajax({url:e,success:function(e){$(".answers").append(e)},error:function(e,t,n){alert(e.responseText)},dataType:"html"})}),$(document).on("click",".add-title",function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var e=$(this).attr("action"),t=$(this);$.ajax({url:e,dataType:"html",success:function(e){t.parent().before(e)},error:function(e,t,n){alert(e.responseText)}})}),$(document).on("click",".add-nextq",function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var e=$(this).attr("action"),t=$(this),n=t.data("entity_id");$.ajax({url:e,dataType:"html",data:{entity_id:n},success:function(e){t.parent().before(e)},error:function(e,t,n){alert(e.responseText)}})}),$("body").on("click",".add-field",function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var e=$(this).attr("action"),t=$(this).data("entity_id"),n=$(this);$.ajax({url:e,success:function(e){n.replaceWith(e)},error:function(e,t,n){alert(e.responseText)},dataType:"html",data:{entity_id:t}})}),$("body").on("click",".delete",function(){$(this).closest(".step_answers").remove()}),$(document).on("click",".delete-destination",function(){$(this).closest(".next_steps").remove()}),$(document).on("click",".delete-title",function(){$(this).closest(".step_titles").remove()}),$("body").on("submit","#step-form",function(e){e.preventDefault(),$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var t=$(this),n=t.find("[name^=form_type]").val(),i=t.find("[name^=step_id]").val(),r=$(".step_answers"),o=$(".step_titles"),s=$(".next_steps"),a=$(".empty-step");$.each(r,function(e){$("[name^=title]",this).attr("name","answers["+e+"][title]"),$("[name^=description]",this).attr("name","answers["+e+"][description]"),$("[name^=image]",this).attr("name","answers["+e+"][image]"),$("[name^=old_img]",this).attr("name","answers["+e+"][old_img]"),$("[name^=video]",this).attr("name","answers["+e+"][video]"),$("[name^=answer_value]",this).attr("name","answers["+e+"][value]")}),$.each(o,function(e){$("[name^=title]",this).attr("name","step_titles["+e+"][title]"),$("[name^=condition]",this).attr("name","step_titles["+e+"][condition]")}),$.each(s,function(e){$("[name^=destination]",this).attr("name","next_steps["+e+"][destination]"),$("[name^=condition]",this).attr("name","next_steps["+e+"][condition]")}),$.ajax({type:"POST",url:"/admin/json-generate-store",data:new FormData($(this)[0]),dataType:"HTML",processData:!1,contentType:!1,success:function(e){a.length&&a.remove(),"edit"==n?$("."+i).html(e):$(".steps-list").append(e),$(".modal").modal("hide"),$(".modal").on("hidden.bs.modal",function(){$(this).closest("form")[0].reset()})},error:function(e,t,n){alert(e.responseText)}})}),$(document).on("click",".edit_entity",function(e){e.preventDefault(),$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var t=$(this).data("url_ajax"),n=$(this).data("entity_id"),i=$(this).data("holder"),r=$(this).data("modal");$.ajax({type:"POST",url:"/"+t,data:{entity_id:n},dataType:"HTML",success:function(e){$("."+i).html(e),$("#"+r).modal("show")},error:function(e){}})}),$(document).on("click",".remove",function(e){e.preventDefault(),$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var t=$(this),n=t.data("url_ajax"),i=t.data("entity_id");$.ajax({type:"POST",url:"/"+n,data:{entity_id:i},dataType:"JSON",success:function(e){t.parent().addClass("d-none")},error:function(e){}})}),$(document).on("submit","#start_step_form",function(e){e.preventDefault(),$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var t=$(this).data("url_ajax"),n=$(this).data("modal");$.ajax({type:"POST",url:"/"+t,data:$(this).serialize(),dataType:"JSON",success:function(e){$("#"+n).modal("hide")},error:function(e){}})}),$(document).on("click",".change_entity",function(e){e.preventDefault();var t=$(this).data("url_ajax"),n=$(this).data("holder"),i=$(this).data("modal");$.ajax({type:"GET",url:"/"+t,dataType:"HTML",success:function(e){$("."+n).html(e),$("#"+i).modal("show")},error:function(e){}})}),$(document).on("click",".headline .form-control, .next-steps .form-control",function(e){$(this).hasClass("active")||($(".form-control").removeClass("active"),$(this).addClass("active"))}),$(document).on("click",".variables button",function(e){e.preventDefault();var t=$(this).text(),n=jQuery(".form-control.active"),i=n[0].selectionStart,r=n.val();n.val(r.substring(0,i)+t+r.substring(i)),console.log(t)}),$(document).on("click",".get_variables",function(e){e.preventDefault();var t=$(this).data("url_ajax"),n=$(this).data("holder"),i=$(this).data("variable_type");$.ajax({type:"GET",url:"/"+t,dataType:"HTML",data:{variable_type:i},success:function(e){$("."+n).html(e)},error:function(e){}})}),$(document).on("change",".change_status",function(e){e.preventDefault(),$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});var t=$(this).data("url_ajax"),n=$(this).data("entity_id"),i=$(this).val();$.ajax({type:"POST",url:"/"+t,dataType:"JSON",data:{entity_id:n,status:i},success:function(e){location.reload()},error:function(e){}})})})},function(e,t,n){"use strict";(function(t,n){var i=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function s(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=m("slot,component",!0),v=m("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,A=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),C=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),k=/\B([A-Z])/g,M=w(function(e){return e.replace(k,"-$1").toLowerCase()}),S=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function L(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function E(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function T(e,t,n){}var I=function(e,t,n){return!1},j=function(e){return e};function O(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every(function(e,n){return O(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var s=Object.keys(e),a=Object.keys(t);return s.length===a.length&&s.every(function(n){return O(e[n],t[n])})}catch(e){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(O(e[n],t))return n;return-1}function N(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var Y="data-server-rendered",P=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:T,parsePlatformTagName:j,mustUseProp:I,async:!0,_lifecycleHooks:R},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var $,W=new RegExp("[^"+H.source+".$_\\d]"),G="__proto__"in{},V="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Z=U&&WXEnvironment.platform.toLowerCase(),X=V&&window.navigator.userAgent.toLowerCase(),Q=X&&/msie|trident/.test(X),K=X&&X.indexOf("msie 9.0")>0,J=X&&X.indexOf("edge/")>0,q=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Z),ee=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(V)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,ie)}catch(i){}var re=function(){return void 0===$&&($=!V&&!U&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),$},oe=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,le="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ae="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=T,ue=0,de=function(){this.id=ue++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){y(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},de.target=null;var he=[];function fe(e){he.push(e),de.target=e}function pe(){he.pop(),de.target=he[he.length-1]}var me=function(e,t,n,i,r,o,s,a){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ge={child:{configurable:!0}};ge.child.get=function(){return this.componentInstance},Object.defineProperties(me.prototype,ge);var ve=function(e){void 0===e&&(e="");var t=new me;return t.text=e,t.isComment=!0,t};function ye(e){return new me(void 0,void 0,void 0,String(e))}function be(e){var t=new me(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var _e=Array.prototype,we=Object.create(_e);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=_e[e];z(we,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=t.apply(this,n),s=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})});var xe=Object.getOwnPropertyNames(we),Ae=!0;function Ce(e){Ae=e}var ke=function(e){var t;this.value=e,this.dep=new de,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(G?(t=we,e.__proto__=t):function(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];z(e,o,t[o])}}(e,we,xe),this.observeArray(e)):this.walk(e)};function Me(e,t){var n;if(l(e)&&!(e instanceof me))return _(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:Ae&&!re()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ke(e)),t&&n&&n.vmCount++,n}function Se(e,t,n,i,r){var o=new de,s=Object.getOwnPropertyDescriptor(e,t);if(!s||!1!==s.configurable){var a=s&&s.get,l=s&&s.set;a&&!l||2!==arguments.length||(n=e[t]);var c=!r&&Me(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return de.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,r=t.length;i<r;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var i=a?a.call(e):n;t===i||t!=t&&i!=i||a&&!l||(l?l.call(e,t):n=t,c=!r&&Me(t),o.notify())}})}}function Le(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Se(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Ee(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||_(e,t)&&(delete e[t],n&&n.dep.notify())}}ke.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Se(e,t[n])},ke.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Me(e[t])};var De=B.optionMergeStrategies;function Te(e,t){if(!t)return e;for(var n,i,r,o=le?Reflect.ownKeys(t):Object.keys(t),s=0;s<o.length;s++)"__ob__"!==(n=o[s])&&(i=e[n],r=t[n],_(e,n)?i!==r&&u(i)&&u(r)&&Te(i,r):Le(e,n,r));return e}function Ie(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?Te(i,r):r}:t?e?function(){return Te("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function je(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Oe(e,t,n,i){var r=Object.create(e||null);return t?E(r,t):r}De.data=function(e,t,n){return n?Ie(e,t,n):t&&"function"!=typeof t?e:Ie(e,t)},R.forEach(function(e){De[e]=je}),P.forEach(function(e){De[e+"s"]=Oe}),De.watch=function(e,t,n,i){if(e===te&&(e=void 0),t===te&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var o in E(r,e),t){var s=r[o],a=t[o];s&&!Array.isArray(s)&&(s=[s]),r[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return r},De.props=De.methods=De.inject=De.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return E(r,e),t&&E(r,t),r},De.provide=Ie;var Fe=function(e,t){return void 0===t?e:t};function Ne(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(o[A(r)]={type:null});else if(u(n))for(var s in n)r=n[s],o[A(s)]=u(r)?r:{type:r};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var o in n){var s=n[o];i[o]=u(s)?E({from:o},s):{from:s}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=Ne(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=Ne(e,t.mixins[i],n);var o,s={};for(o in e)a(o);for(o in t)_(e,o)||a(o);function a(i){var r=De[i]||Fe;s[i]=r(e[i],t[i],n,i)}return s}function Ye(e,t,n,i){if("string"==typeof n){var r=e[t];if(_(r,n))return r[n];var o=A(n);if(_(r,o))return r[o];var s=C(o);return _(r,s)?r[s]:r[n]||r[o]||r[s]}}function Pe(e,t,n,i){var r=t[e],o=!_(n,e),s=n[e],a=He(Boolean,r.type);if(a>-1)if(o&&!_(r,"default"))s=!1;else if(""===s||s===M(e)){var l=He(String,r.type);(l<0||a<l)&&(s=!0)}if(void 0===s){s=function(e,t,n){if(_(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==Re(t.type)?i.call(e):i}}(i,r,e);var c=Ae;Ce(!0),Me(s),Ce(c)}return s}function Re(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Be(e,t){return Re(e)===Re(t)}function He(e,t){if(!Array.isArray(t))return Be(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Be(t[n],e))return n;return-1}function ze(e,t,n){fe();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,e,t,n))return}catch(e){We(e,i,"errorCaptured hook")}}We(e,t,n)}finally{pe()}}function $e(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&h(o)&&!o._handled&&(o.catch(function(e){return ze(e,i,r+" (Promise/async)")}),o._handled=!0)}catch(e){ze(e,i,r)}return o}function We(e,t,n){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ge(t,null,"config.errorHandler")}Ge(e,t,n)}function Ge(e,t,n){if(!V&&!U||"undefined"==typeof console)throw e;console.error(e)}var Ve,Ue=!1,Ze=[],Xe=!1;function Qe(){Xe=!1;var e=Ze.slice(0);Ze.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){var Ke=Promise.resolve();Ve=function(){Ke.then(Qe),q&&setTimeout(T)},Ue=!0}else if(Q||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ve=void 0!==n&&se(n)?function(){n(Qe)}:function(){setTimeout(Qe,0)};else{var Je=1,qe=new MutationObserver(Qe),et=document.createTextNode(String(Je));qe.observe(et,{characterData:!0}),Ve=function(){Je=(Je+1)%2,et.data=String(Je)},Ue=!0}function tt(e,t){var n;if(Ze.push(function(){if(e)try{e.call(t)}catch(e){ze(e,t,"nextTick")}else n&&n(t)}),Xe||(Xe=!0,Ve()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var nt=new ae;function it(e){!function e(t,n){var i,r,o=Array.isArray(t);if(!(!o&&!l(t)||Object.isFrozen(t)||t instanceof me)){if(t.__ob__){var s=t.__ob__.dep.id;if(n.has(s))return;n.add(s)}if(o)for(i=t.length;i--;)e(t[i],n);else for(i=(r=Object.keys(t)).length;i--;)e(t[r[i]],n)}}(e,nt),nt.clear()}var rt=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function ot(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return $e(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)$e(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function st(e,t,n,i,o,a){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=rt(l),r(c)||(r(u)?(r(c.fns)&&(c=e[l]=ot(c,a)),s(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)r(e[l])&&i((d=rt(l)).name,t[l],d.capture)}function at(e,t,n){var i;e instanceof me&&(e=e.data.hook||(e.data.hook={}));var a=e[t];function l(){n.apply(this,arguments),y(i.fns,l)}r(a)?i=ot([l]):o(a.fns)&&s(a.merged)?(i=a).fns.push(l):i=ot([a,l]),i.merged=!0,e[t]=i}function lt(e,t,n,i,r){if(o(t)){if(_(t,n))return e[n]=t[n],r||delete t[n],!0;if(_(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function ct(e){return a(e)?[ye(e)]:Array.isArray(e)?function e(t,n){var i,l,c,u,d=[];for(i=0;i<t.length;i++)r(l=t[i])||"boolean"==typeof l||(u=d[c=d.length-1],Array.isArray(l)?l.length>0&&(ut((l=e(l,(n||"")+"_"+i))[0])&&ut(u)&&(d[c]=ye(u.text+l[0].text),l.shift()),d.push.apply(d,l)):a(l)?ut(u)?d[c]=ye(u.text+l):""!==l&&d.push(ye(l)):ut(l)&&ut(u)?d[c]=ye(u.text+l.text):(s(t._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(e):void 0}function ut(e){return o(e)&&o(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),i=le?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var s=e[o].from,a=t;a;){if(a._provided&&_(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a&&"default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}}}return n}}function ht(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==t&&o.fnContext!==t||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,l=n[a]||(n[a]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(ft)&&delete n[c];return n}function ft(e){return e.isComment&&!e.asyncFactory||" "===e.text}function pt(e,t,n){var r,o=Object.keys(t).length>0,s=e?!!e.$stable:!o,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&n&&n!==i&&a===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=mt(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=gt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),z(r,"$stable",s),z(r,"$key",a),z(r,"$hasNormal",o),r}function mt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ct(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function gt(e,t){return function(){return e[t]}}function vt(e,t){var n,i,r,s,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,r=e.length;i<r;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(le&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(s=Object.keys(e),n=new Array(s.length),i=0,r=s.length;i<r;i++)a=s[i],n[i]=t(e[a],a,i);return o(n)||(n=[]),n._isVList=!0,n}function yt(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(n=E(E({},i),n)),r=o(n)||t):r=this.$slots[e]||t;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},r):r}function bt(e){return Ye(this.$options,"filters",e)||j}function _t(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function wt(e,t,n,i,r){var o=B.keyCodes[t]||n;return r&&i&&!B.keyCodes[t]?_t(r,i):o?_t(o,e):i?M(i)!==t:void 0}function xt(e,t,n,i,r){if(n&&l(n)){var o;Array.isArray(n)&&(n=D(n));var s=function(s){if("class"===s||"style"===s||v(s))o=e;else{var a=e.attrs&&e.attrs.type;o=i||B.mustUseProp(t,a,s)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=A(s),c=M(s);l in o||c in o||(o[s]=n[s],r&&((e.on||(e.on={}))["update:"+s]=function(e){n[s]=e}))};for(var a in n)s(a)}return e}function At(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(kt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Ct(e,t,n){return kt(e,"__once__"+t+(n?"_"+n:""),!0),e}function kt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Mt(e[i],t+"_"+i,n);else Mt(e,t,n)}function Mt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function St(e,t){if(t&&u(t)){var n=e.on=e.on?E({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}return e}function Lt(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Lt(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function Et(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function Dt(e,t){return"string"==typeof e?t+e:e}function Tt(e){e._o=Ct,e._n=p,e._s=f,e._l=vt,e._t=yt,e._q=O,e._i=F,e._m=At,e._f=bt,e._k=wt,e._b=xt,e._v=ye,e._e=ve,e._u=Lt,e._g=St,e._d=Et,e._p=Dt}function It(e,t,n,r,o){var a,l=this,c=o.options;_(r,"_uid")?(a=Object.create(r))._original=r:(a=r,r=r._original);var u=s(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||i,this.injections=dt(c.inject,r),this.slots=function(){return l.$slots||pt(e.scopedSlots,l.$slots=ht(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=pt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var o=Ht(a,e,t,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,i){return Ht(a,e,t,n,i,d)}}function jt(e,t,n,i,r){var o=be(e);return o.fnContext=n,o.fnOptions=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Ot(e,t){for(var n in t)e[A(n)]=t[n]}Tt(It.prototype);var Ft={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ft.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:Kt},i=e.data.inlineTemplate;return o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}(e)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){var s=r.data.scopedSlots,a=e.$scopedSlots,l=!!(s&&!s.$stable||a!==i&&!a.$stable||s&&e.$scopedSlots.$key!==s.$key),c=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){Ce(!1);for(var u=e._props,d=e.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=e.$options.props;u[f]=Pe(f,p,t,e)}Ce(!0),e.$options.propsData=t}n=n||i;var m=e.$options._parentListeners;e.$options._parentListeners=n,Qt(e,n,m),c&&(e.$slots=ht(o,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,tn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,rn.push(t)):en(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,qt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);tn(t,"deactivated")}}(t,!0):t.$destroy())}},Nt=Object.keys(Ft);function Yt(e,t,n,a,c){if(!r(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(r(e.cid)&&void 0===(e=function(e,t){if(s(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=$t;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var i=e.owners=[n],a=!0,c=null,u=null;n.$on("hook:destroyed",function(){return y(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=N(function(n){e.resolved=Wt(n,t),a?i.length=0:d(!0)}),p=N(function(t){o(e.errorComp)&&(e.error=!0,d(!0))}),m=e(f,p);return l(m)&&(h(m)?r(e.resolved)&&m.then(f,p):h(m.component)&&(m.component.then(f,p),o(m.error)&&(e.errorComp=Wt(m.error,t)),o(m.loading)&&(e.loadingComp=Wt(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout(function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))},m.delay||200)),o(m.timeout)&&(u=setTimeout(function(){u=null,r(e.resolved)&&p(null)},m.timeout)))),a=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,r){var o=ve();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}(d,t,n,a,c);t=t||{},An(e),o(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),s=r[i],a=t.model.callback;o(s)?(Array.isArray(s)?-1===s.indexOf(a):s!==a)&&(r[i]=[a].concat(s)):r[i]=a}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!r(i)){var s={},a=e.attrs,l=e.props;if(o(a)||o(l))for(var c in i){var u=M(c);lt(s,l,c,u,!0)||lt(s,a,c,u,!1)}return s}}(t,e);if(s(e.options.functional))return function(e,t,n,r,s){var a=e.options,l={},c=a.props;if(o(c))for(var u in c)l[u]=Pe(u,c,t||i);else o(n.attrs)&&Ot(l,n.attrs),o(n.props)&&Ot(l,n.props);var d=new It(n,l,s,r,e),h=a.render.call(null,d._c,d);if(h instanceof me)return jt(h,n,d.parent,a);if(Array.isArray(h)){for(var f=ct(h)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=jt(f[m],n,d.parent,a);return p}}(e,f,t,n,a);var p=t.on;if(t.on=t.nativeOn,s(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Nt.length;n++){var i=Nt[n],r=t[i],o=Ft[i];r===o||r&&r._merged||(t[i]=r?Pt(o,r):o)}}(t);var g=e.options.name||c;return new me("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:p,tag:c,children:a},d)}}}function Pt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var Rt=1,Bt=2;function Ht(e,t,n,i,c,u){return(Array.isArray(n)||a(n))&&(c=i,i=n,n=void 0),s(u)&&(c=Bt),function(e,t,n,i,a){if(o(n)&&o(n.__ob__))return ve();if(o(n)&&o(n.is)&&(t=n.is),!t)return ve();var c,u,d;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),a===Bt?i=ct(i):a===Rt&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i)),"string"==typeof t)?(u=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),c=B.isReservedTag(t)?new me(B.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!o(d=Ye(e.$options,"components",t))?new me(t,n,i,void 0,void 0,e):Yt(d,n,e,i,t)):c=Yt(t,n,e,i);return Array.isArray(c)?c:o(c)?(o(u)&&function e(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),o(t.children))for(var a=0,l=t.children.length;a<l;a++){var c=t.children[a];o(c.tag)&&(r(c.ns)||s(i)&&"svg"!==c.tag)&&e(c,n,i)}}(c,u),o(n)&&function(e){l(e.style)&&it(e.style),l(e.class)&&it(e.class)}(n),c):ve()}(e,t,n,i,c)}var zt,$t=null;function Wt(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Gt(e){return e.isComment&&e.asyncFactory}function Vt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||Gt(n)))return n}}function Ut(e,t){zt.$on(e,t)}function Zt(e,t){zt.$off(e,t)}function Xt(e,t){var n=zt;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function Qt(e,t,n){zt=e,st(t,n||{},Ut,Zt,Xt,e),zt=void 0}var Kt=null;function Jt(e){var t=Kt;return Kt=e,function(){Kt=t}}function qt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function en(e,t){if(t){if(e._directInactive=!1,qt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)en(e.$children[n]);tn(e,"activated")}}function tn(e,t){fe();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)$e(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),pe()}var nn=[],rn=[],on={},sn=!1,an=!1,ln=0,cn=0,un=Date.now;if(V&&!Q){var dn=window.performance;dn&&"function"==typeof dn.now&&un()>document.createEvent("Event").timeStamp&&(un=function(){return dn.now()})}function hn(){var e,t;for(cn=un(),an=!0,nn.sort(function(e,t){return e.id-t.id}),ln=0;ln<nn.length;ln++)(e=nn[ln]).before&&e.before(),t=e.id,on[t]=null,e.run();var n=rn.slice(),i=nn.slice();ln=nn.length=rn.length=0,on={},sn=an=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,en(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&tn(i,"updated")}}(i),oe&&B.devtools&&oe.emit("flush")}var fn=0,pn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++fn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ae,this.newDepIds=new ae,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=T)),this.value=this.lazy?void 0:this.get()};pn.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ze(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&it(e),pe(),this.cleanupDeps()}return e},pn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},pn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},pn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==on[t]){if(on[t]=!0,an){for(var n=nn.length-1;n>ln&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);sn||(sn=!0,tt(hn))}}(this)},pn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var mn={enumerable:!0,configurable:!0,get:T,set:T};function gn(e,t,n){mn.get=function(){return this[t][n]},mn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,mn)}var vn={lazy:!0};function yn(e,t,n){var i=!re();"function"==typeof n?(mn.get=i?bn(t):_n(n),mn.set=T):(mn.get=n.get?i&&!1!==n.cache?bn(t):_n(n.get):T,mn.set=n.set||T),Object.defineProperty(e,t,mn)}function bn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function _n(e){return function(){return e.call(this,this)}}function wn(e,t,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var xn=0;function An(e){var t=e.options;if(e.super){var n=An(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}(e);i&&E(e.extendOptions,i),(t=e.options=Ne(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Cn(e){this._init(e)}function kn(e){return e&&(e.Ctor.options.name||e.tag)}function Mn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===c.call(n)&&e.test(t));var n}function Sn(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var s=n[o];if(s){var a=kn(s.componentOptions);a&&!t(a)&&Ln(n,o,i,r)}}}function Ln(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}Cn.prototype._init=function(e){var t=this;t._uid=xn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ne(An(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Qt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ht(t._renderChildren,r),e.$scopedSlots=i,e._c=function(t,n,i,r){return Ht(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Ht(e,t,n,i,r,!0)};var o=n&&n.data;Se(e,"$attrs",o&&o.attrs||i,null,!0),Se(e,"$listeners",t._parentListeners||i,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach(function(n){Se(e,n,t[n])}),Ce(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[];e.$parent&&Ce(!1);var o=function(o){r.push(o);var s=Pe(o,t,n,e);Se(i,o,s),o in e||gn(e,"_props",o)};for(var s in t)o(s);Ce(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?T:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});for(var n,i=Object.keys(t),r=e.$options.props,o=(e.$options.methods,i.length);o--;){var s=i[o];r&&_(r,s)||36!==(n=(s+"").charCodeAt(0))&&95!==n&&gn(e,"_data",s)}Me(t,!0)}(e):Me(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=re();for(var r in t){var o=t[r],s="function"==typeof o?o:o.get;i||(n[r]=new pn(e,s||T,T,vn)),r in e||yn(e,r,o)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)wn(e,n,i[r]);else wn(e,n,i)}}(e,t.watch)}(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)},function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Le,e.prototype.$delete=Ee,e.prototype.$watch=function(e,t,n){if(u(t))return wn(this,e,t,n);(n=n||{}).user=!0;var i=new pn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){ze(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Cn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var o,s=n._events[e];if(!s)return n;if(!t)return n._events[e]=null,n;for(var a=s.length;a--;)if((o=s[a])===t||o.fn===t){s.splice(a,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?L(t):t;for(var n=L(arguments,1),i='event handler for "'+e+'"',r=0,o=t.length;r<o;r++)$e(t[r],this,n,this,i)}return this}}(Cn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=Jt(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){tn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),tn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Cn),function(e){Tt(e.prototype),e.prototype.$nextTick=function(e){return tt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=pt(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{$t=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){ze(n,t,"render"),e=t._vnode}finally{$t=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof me||(e=ve()),e.parent=r,e}}(Cn);var En=[String,RegExp,Array],Dn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:En,exclude:En,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ln(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Sn(e,function(e){return Mn(t,e)})}),this.$watch("exclude",function(t){Sn(e,function(e){return!Mn(t,e)})})},render:function(){var e=this.$slots.default,t=Vt(e),n=t&&t.componentOptions;if(n){var i=kn(n),r=this.include,o=this.exclude;if(r&&(!i||!Mn(r,i))||o&&i&&Mn(o,i))return t;var s=this.cache,a=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;s[l]?(t.componentInstance=s[l].componentInstance,y(a,l),a.push(l)):(s[l]=t,a.push(l),this.max&&a.length>parseInt(this.max)&&Ln(s,a[0],a,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:E,mergeOptions:Ne,defineReactive:Se},e.set=Le,e.delete=Ee,e.nextTick=tt,e.observable=function(e){return Me(e),e},e.options=Object.create(null),P.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,Dn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=L(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ne(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=e.name||n.options.name,s=function(e){this._init(e)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=t++,s.options=Ne(n.options,e),s.super=n,s.options.props&&function(e){var t=e.options.props;for(var n in t)gn(e.prototype,"_props",n)}(s),s.options.computed&&function(e){var t=e.options.computed;for(var n in t)yn(e.prototype,n,t[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,P.forEach(function(e){s[e]=n[e]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=E({},s.options),r[i]=s,s}}(e),function(e){P.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Cn),Object.defineProperty(Cn.prototype,"$isServer",{get:re}),Object.defineProperty(Cn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cn,"FunctionalRenderContext",{value:It}),Cn.version="2.6.10";var Tn=m("style,class"),In=m("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&In(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},On=m("contenteditable,draggable,spellcheck"),Fn=m("events,caret,typing,plaintext-only"),Nn=function(e,t){return Hn(t)||"false"===t?"false":"contenteditable"===e&&Fn(t)?t:"true"},Yn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Pn="http://www.w3.org/1999/xlink",Rn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Bn=function(e){return Rn(e)?e.slice(6,e.length):""},Hn=function(e){return null==e||!1===e};function zn(e,t){return{staticClass:$n(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function $n(e,t){return e?t?e+" "+t:e:t||""}function Wn(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i<r;i++)o(t=Wn(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Gn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Vn=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Un=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Zn=function(e){return Vn(e)||Un(e)};function Xn(e){return Un(e)?"svg":"math"===e?"math":void 0}var Qn=Object.create(null),Kn=m("text,number,password,search,email,tel,url");function Jn(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}var qn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(Gn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ei={create:function(e,t){ti(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ti(e,!0),ti(t))},destroy:function(e){ti(e,!0)}};function ti(e,t){var n=e.data.ref;if(o(n)){var i=e.context,r=e.componentInstance||e.elm,s=i.$refs;t?Array.isArray(s[n])?y(s[n],r):s[n]===r&&(s[n]=void 0):e.data.refInFor?Array.isArray(s[n])?s[n].indexOf(r)<0&&s[n].push(r):s[n]=[r]:s[n]=r}}var ni=new me("",{},[]),ii=["create","activate","update","remove","destroy"];function ri(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===r||Kn(i)&&Kn(r)}(e,t)||s(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function oi(e,t,n){var i,r,s={};for(i=t;i<=n;++i)o(r=e[i].key)&&(s[r]=i);return s}var si={create:ai,update:ai,destroy:function(e){ai(e,ni)}};function ai(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,r,o=e===ni,s=t===ni,a=ci(e.data.directives,e.context),l=ci(t.data.directives,t.context),c=[],u=[];for(n in l)i=a[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,di(r,"update",t,e),r.def&&r.def.componentUpdated&&u.push(r)):(di(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)di(c[n],"inserted",t,e)};o?at(t,"insert",d):d()}if(u.length&&at(t,"postpatch",function(){for(var n=0;n<u.length;n++)di(u[n],"componentUpdated",t,e)}),!o)for(n in a)l[n]||di(a[n],"unbind",e,e,s)}(e,t)}var li=Object.create(null);function ci(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=li),r[ui(i)]=i,i.def=Ye(t.$options,"directives",i.name);return r}function ui(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function di(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){ze(i,n.context,"directive "+e.name+" "+t+" hook")}}var hi=[ei,si];function fi(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,s,a=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in o(c.__ob__)&&(c=t.data.attrs=E({},c)),c)s=c[i],l[i]!==s&&pi(a,i,s);for(i in(Q||J)&&c.value!==l.value&&pi(a,"value",c.value),l)r(c[i])&&(Rn(i)?a.removeAttributeNS(Pn,Bn(i)):On(i)||a.removeAttribute(i))}}function pi(e,t,n){e.tagName.indexOf("-")>-1?mi(e,t,n):Yn(t)?Hn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):On(t)?e.setAttribute(t,Nn(t,n)):Rn(t)?Hn(n)?e.removeAttributeNS(Pn,Bn(t)):e.setAttributeNS(Pn,t,n):mi(e,t,n)}function mi(e,t,n){if(Hn(n))e.removeAttribute(t);else{if(Q&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var gi={create:fi,update:fi};function vi(e,t){var n=t.elm,i=t.data,s=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=function(e){for(var t=e.data,n=e,i=e;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=zn(i.data,t));for(;o(n=n.parent);)n&&n.data&&(t=zn(t,n.data));return function(e,t){return o(e)||o(t)?$n(e,Wn(t)):""}(t.staticClass,t.class)}(t),l=n._transitionClasses;o(l)&&(a=$n(a,Wn(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var yi,bi,_i,wi,xi,Ai,Ci={create:vi,update:vi},ki=/[\w).+\-_$\]]/;function Mi(e){var t,n,i,r,o,s=!1,a=!1,l=!1,c=!1,u=0,d=0,h=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),s)39===t&&92!==n&&(s=!1);else if(a)34===t&&92!==n&&(a=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||h){switch(t){case 34:a=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var p=i-1,m=void 0;p>=0&&" "===(m=e.charAt(p));p--);m&&ki.test(m)||(c=!0)}}else void 0===r?(f=i+1,r=e.slice(0,i).trim()):g();function g(){(o||(o=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==f&&g(),o)for(i=0;i<o.length;i++)r=Si(r,o[i]);return r}function Si(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),r=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==r?","+r:r)}function Li(e,t){console.error("[Vue compiler]: "+e)}function Ei(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Di(e,t,n,i,r){(e.props||(e.props=[])).push(Ri({name:t,value:n,dynamic:r},i)),e.plain=!1}function Ti(e,t,n,i,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Ri({name:t,value:n,dynamic:r},i)),e.plain=!1}function Ii(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(Ri({name:t,value:n},i))}function ji(e,t,n,i,r,o,s,a){(e.directives||(e.directives=[])).push(Ri({name:t,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:s},a)),e.plain=!1}function Oi(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function Fi(e,t,n,r,o,s,a,l){var c;(r=r||i).right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete r.right):r.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),r.capture&&(delete r.capture,t=Oi("!",t,l)),r.once&&(delete r.once,t=Oi("~",t,l)),r.passive&&(delete r.passive,t=Oi("&",t,l)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=Ri({value:n.trim(),dynamic:l},a);r!==i&&(u.modifiers=r);var d=c[t];Array.isArray(d)?o?d.unshift(u):d.push(u):c[t]=d?o?[u,d]:[d,u]:u,e.plain=!1}function Ni(e,t,n){var i=Yi(e,":"+t)||Yi(e,"v-bind:"+t);if(null!=i)return Mi(i);if(!1!==n){var r=Yi(e,t);if(null!=r)return JSON.stringify(r)}}function Yi(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var r=e.attrsList,o=0,s=r.length;o<s;o++)if(r[o].name===t){r.splice(o,1);break}return n&&delete e.attrsMap[t],i}function Pi(e,t){for(var n=e.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(t.test(o.name))return n.splice(i,1),o}}function Ri(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Bi(e,t,n){var i=n||{},r=i.number,o="$$v";i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var s=Hi(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+s+"}"}}function Hi(e,t){var n=function(e){if(e=e.trim(),yi=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<yi-1)return(wi=e.lastIndexOf("."))>-1?{exp:e.slice(0,wi),key:'"'+e.slice(wi+1)+'"'}:{exp:e,key:null};for(bi=e,wi=xi=Ai=0;!$i();)Wi(_i=zi())?Vi(_i):91===_i&&Gi(_i);return{exp:e.slice(0,xi),key:e.slice(xi+1,Ai)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function zi(){return bi.charCodeAt(++wi)}function $i(){return wi>=yi}function Wi(e){return 34===e||39===e}function Gi(e){var t=1;for(xi=wi;!$i();)if(Wi(e=zi()))Vi(e);else if(91===e&&t++,93===e&&t--,0===t){Ai=wi;break}}function Vi(e){for(var t=e;!$i()&&(e=zi())!==t;);}var Ui,Zi="__r",Xi="__c";function Qi(e,t,n){var i=Ui;return function r(){null!==t.apply(null,arguments)&&qi(e,r,n,i)}}var Ki=Ue&&!(ee&&Number(ee[1])<=53);function Ji(e,t,n,i){if(Ki){var r=cn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ui.addEventListener(e,t,ne?{capture:n,passive:i}:n)}function qi(e,t,n,i){(i||Ui).removeEventListener(e,t._wrapper||t,n)}function er(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Ui=t.elm,function(e){if(o(e[Zi])){var t=Q?"change":"input";e[t]=[].concat(e[Zi],e[t]||[]),delete e[Zi]}o(e[Xi])&&(e.change=[].concat(e[Xi],e.change||[]),delete e[Xi])}(n),st(n,i,Ji,qi,Qi,t.context),Ui=void 0}}var tr,nr={create:er,update:er};function ir(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,s=t.elm,a=e.data.domProps||{},l=t.data.domProps||{};for(n in o(l.__ob__)&&(l=t.data.domProps=E({},l)),a)n in l||(s[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=i;var c=r(i)?"":String(i);rr(s,c)&&(s.value=c)}else if("innerHTML"===n&&Un(s.tagName)&&r(s.innerHTML)){(tr=tr||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=tr.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(i!==a[n])try{s[n]=i}catch(e){}}}}function rr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return p(n)!==p(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var or={create:ir,update:ir},sr=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function ar(e){var t=lr(e.style);return e.staticStyle?E(e.staticStyle,t):t}function lr(e){return Array.isArray(e)?D(e):"string"==typeof e?sr(e):e}var cr,ur=/^--/,dr=/\s*!important$/,hr=function(e,t,n){if(ur.test(t))e.style.setProperty(t,n);else if(dr.test(n))e.style.setProperty(M(t),n.replace(dr,""),"important");else{var i=pr(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},fr=["Webkit","Moz","ms"],pr=w(function(e){if(cr=cr||document.createElement("div").style,"filter"!==(e=A(e))&&e in cr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<fr.length;n++){var i=fr[n]+t;if(i in cr)return i}});function mr(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var s,a,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,h=lr(t.data.style)||{};t.data.normalizedStyle=o(h.__ob__)?E({},h):h;var f=function(e,t){for(var n,i={},r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=ar(r.data))&&E(i,n);(n=ar(e.data))&&E(i,n);for(var o=e;o=o.parent;)o.data&&(n=ar(o.data))&&E(i,n);return i}(t);for(a in d)r(f[a])&&hr(l,a,"");for(a in f)(s=f[a])!==d[a]&&hr(l,a,null==s?"":s)}}var gr={create:mr,update:mr},vr=/\s+/;function yr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vr).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function br(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vr).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function _r(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,wr(e.name||"v")),E(t,e),t}return"string"==typeof e?wr(e):void 0}}var wr=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),xr=V&&!K,Ar="transition",Cr="animation",kr="transition",Mr="transitionend",Sr="animation",Lr="animationend";xr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(kr="WebkitTransition",Mr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Sr="WebkitAnimation",Lr="webkitAnimationEnd"));var Er=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Dr(e){Er(function(){Er(e)})}function Tr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),yr(e,t))}function Ir(e,t){e._transitionClasses&&y(e._transitionClasses,t),br(e,t)}function jr(e,t,n){var i=Fr(e,t),r=i.type,o=i.timeout,s=i.propCount;if(!r)return n();var a=r===Ar?Mr:Lr,l=0,c=function(){e.removeEventListener(a,u),n()},u=function(t){t.target===e&&++l>=s&&c()};setTimeout(function(){l<s&&c()},o+1),e.addEventListener(a,u)}var Or=/\b(transform|all)(,|$)/;function Fr(e,t){var n,i=window.getComputedStyle(e),r=(i[kr+"Delay"]||"").split(", "),o=(i[kr+"Duration"]||"").split(", "),s=Nr(r,o),a=(i[Sr+"Delay"]||"").split(", "),l=(i[Sr+"Duration"]||"").split(", "),c=Nr(a,l),u=0,d=0;return t===Ar?s>0&&(n=Ar,u=s,d=o.length):t===Cr?c>0&&(n=Cr,u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?Ar:Cr:null)?n===Ar?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Ar&&Or.test(i[kr+"Property"])}}function Nr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Yr(t)+Yr(e[n])}))}function Yr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Pr(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=_r(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var s=i.css,a=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,h=i.appearClass,f=i.appearToClass,m=i.appearActiveClass,g=i.beforeEnter,v=i.enter,y=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,A=i.appearCancelled,C=i.duration,k=Kt,M=Kt.$vnode;M&&M.parent;)k=M.context,M=M.parent;var S=!k._isMounted||!e.isRootInsert;if(!S||w||""===w){var L=S&&h?h:c,E=S&&m?m:d,D=S&&f?f:u,T=S&&_||g,I=S&&"function"==typeof w?w:v,j=S&&x||y,O=S&&A||b,F=p(l(C)?C.enter:C),Y=!1!==s&&!K,P=Hr(I),R=n._enterCb=N(function(){Y&&(Ir(n,D),Ir(n,E)),R.cancelled?(Y&&Ir(n,L),O&&O(n)):j&&j(n),n._enterCb=null});e.data.show||at(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),I&&I(n,R)}),T&&T(n),Y&&(Tr(n,L),Tr(n,E),Dr(function(){Ir(n,L),R.cancelled||(Tr(n,D),P||(Br(F)?setTimeout(R,F):jr(n,a,R)))})),e.data.show&&(t&&t(),I&&I(n,R)),Y||P||R()}}}function Rr(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=_r(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var s=i.css,a=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,h=i.beforeLeave,f=i.leave,m=i.afterLeave,g=i.leaveCancelled,v=i.delayLeave,y=i.duration,b=!1!==s&&!K,_=Hr(f),w=p(l(y)?y.leave:y),x=n._leaveCb=N(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Ir(n,u),Ir(n,d)),x.cancelled?(b&&Ir(n,c),g&&g(n)):(t(),m&&m(n)),n._leaveCb=null});v?v(A):A()}function A(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),b&&(Tr(n,c),Tr(n,d),Dr(function(){Ir(n,c),x.cancelled||(Tr(n,u),_||(Br(w)?setTimeout(x,w):jr(n,a,x)))})),f&&f(n,x),b||_||x())}}function Br(e){return"number"==typeof e&&!isNaN(e)}function Hr(e){if(r(e))return!1;var t=e.fns;return o(t)?Hr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function zr(e,t){!0!==t.data.show&&Pr(t)}var $r=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<ii.length;++t)for(i[ii[t]]=[],n=0;n<l.length;++n)o(l[n][ii[t]])&&i[ii[t]].push(l[n][ii[t]]);function u(e){var t=c.parentNode(e);o(t)&&c.removeChild(t,e)}function d(e,t,n,r,a,l,u){if(o(e.elm)&&o(l)&&(e=l[u]=be(e)),e.isRootInsert=!a,!function(e,t,n,r){var a=e.data;if(o(a)){var l=o(e.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(e,!1),o(e.componentInstance))return h(e,t),f(n,e.elm,r),s(l)&&function(e,t,n,r){for(var s,a=e;a.componentInstance;)if(o(s=(a=a.componentInstance._vnode).data)&&o(s=s.transition)){for(s=0;s<i.activate.length;++s)i.activate[s](ni,a);t.push(a);break}f(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var d=e.data,m=e.children,g=e.tag;o(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),y(e),p(e,m,t),o(d)&&v(e,t),f(n,e.elm,r)):s(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,r)):(e.elm=c.createTextNode(e.text),f(n,e.elm,r))}}function h(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),y(e)):(ti(e),t.push(e))}function f(e,t,n){o(e)&&(o(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function p(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)d(t[i],n,e.elm,null,!0,t,i);else a(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function v(e,n){for(var r=0;r<i.create.length;++r)i.create[r](ni,e);o(t=e.data.hook)&&(o(t.create)&&t.create(ni,e),o(t.insert)&&n.push(e))}function y(e){var t;if(o(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;o(t=Kt)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function b(e,t,n,i,r,o){for(;i<=r;++i)d(n[i],o,e,t,!1,n,i)}function _(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)_(e.children[n])}function w(e,t,n,i){for(;n<=i;++n){var r=t[n];o(r)&&(o(r.tag)?(x(r),_(r)):u(r.elm))}}function x(e,t){if(o(t)||o(e.data)){var n,r=i.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&x(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function A(e,t,n,i){for(var r=n;r<i;r++){var s=t[r];if(o(s)&&ri(e,s))return r}}function C(e,t,n,a,l,u){if(e!==t){o(t.elm)&&o(a)&&(t=a[l]=be(t));var h=t.elm=e.elm;if(s(e.isAsyncPlaceholder))o(t.asyncFactory.resolved)?S(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(s(t.isStatic)&&s(e.isStatic)&&t.key===e.key&&(s(t.isCloned)||s(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,p=t.data;o(p)&&o(f=p.hook)&&o(f=f.prepatch)&&f(e,t);var m=e.children,v=t.children;if(o(p)&&g(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);o(f=p.hook)&&o(f=f.update)&&f(e,t)}r(t.text)?o(m)&&o(v)?m!==v&&function(e,t,n,i,s){for(var a,l,u,h=0,f=0,p=t.length-1,m=t[0],g=t[p],v=n.length-1,y=n[0],_=n[v],x=!s;h<=p&&f<=v;)r(m)?m=t[++h]:r(g)?g=t[--p]:ri(m,y)?(C(m,y,i,n,f),m=t[++h],y=n[++f]):ri(g,_)?(C(g,_,i,n,v),g=t[--p],_=n[--v]):ri(m,_)?(C(m,_,i,n,v),x&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++h],_=n[--v]):ri(g,y)?(C(g,y,i,n,f),x&&c.insertBefore(e,g.elm,m.elm),g=t[--p],y=n[++f]):(r(a)&&(a=oi(t,h,p)),r(l=o(y.key)?a[y.key]:A(y,t,h,p))?d(y,i,e,m.elm,!1,n,f):ri(u=t[l],y)?(C(u,y,i,n,f),t[l]=void 0,x&&c.insertBefore(e,u.elm,m.elm)):d(y,i,e,m.elm,!1,n,f),y=n[++f]);h>p?b(e,r(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(0,t,h,p)}(h,m,v,n,u):o(v)?(o(e.text)&&c.setTextContent(h,""),b(h,null,v,0,v.length-1,n)):o(m)?w(0,m,0,m.length-1):o(e.text)&&c.setTextContent(h,""):e.text!==t.text&&c.setTextContent(h,t.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(e,t)}}}function k(e,t,n){if(s(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var M=m("attrs,class,staticClass,staticStyle,key");function S(e,t,n,i){var r,a=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,s(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(t,!0),o(r=t.componentInstance)))return h(t,n),!0;if(o(a)){if(o(c))if(e.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,f=0;f<c.length;f++){if(!d||!S(d,c[f],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else p(t,c,n);if(o(l)){var m=!1;for(var g in l)if(!M(g)){m=!0,v(t,n);break}!m&&l.class&&it(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,a){if(!r(t)){var l,u=!1,h=[];if(r(e))u=!0,d(t,h);else{var f=o(e.nodeType);if(!f&&ri(e,t))C(e,t,h,null,null,a);else{if(f){if(1===e.nodeType&&e.hasAttribute(Y)&&(e.removeAttribute(Y),n=!0),s(n)&&S(e,t,h))return k(t,h,!0),e;l=e,e=new me(c.tagName(l).toLowerCase(),{},[],void 0,l)}var p=e.elm,m=c.parentNode(p);if(d(t,h,p._leaveCb?null:m,c.nextSibling(p)),o(t.parent))for(var v=t.parent,y=g(t);v;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](v);if(v.elm=t.elm,y){for(var x=0;x<i.create.length;++x)i.create[x](ni,v);var A=v.data.hook.insert;if(A.merged)for(var M=1;M<A.fns.length;M++)A.fns[M]()}else ti(v);v=v.parent}o(m)?w(0,[e],0,0):o(e.tag)&&_(e)}}return k(t,h,u),t.elm}o(e)&&_(e)}}({nodeOps:qn,modules:[gi,Ci,nr,or,gr,V?{create:zr,activate:zr,remove:function(e,t){!0!==e.data.show?Rr(e,t):t()}}:{}].concat(hi)});K&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Kr(e,"input")});var Wr={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?at(n,"postpatch",function(){Wr.componentUpdated(e,t,n)}):Gr(e,t,n.context),e._vOptions=[].map.call(e.options,Zr)):("textarea"===n.tag||Kn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Xr),e.addEventListener("compositionend",Qr),e.addEventListener("change",Qr),K&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Gr(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Zr);r.some(function(e,t){return!O(e,i[t])})&&(e.multiple?t.value.some(function(e){return Ur(e,r)}):t.value!==t.oldValue&&Ur(t.value,r))&&Kr(e,"change")}}};function Gr(e,t,n){Vr(e,t,n),(Q||J)&&setTimeout(function(){Vr(e,t,n)},0)}function Vr(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,s,a=0,l=e.options.length;a<l;a++)if(s=e.options[a],r)o=F(i,Zr(s))>-1,s.selected!==o&&(s.selected=o);else if(O(Zr(s),i))return void(e.selectedIndex!==a&&(e.selectedIndex=a));r||(e.selectedIndex=-1)}}function Ur(e,t){return t.every(function(t){return!O(t,e)})}function Zr(e){return"_value"in e?e._value:e.value}function Xr(e){e.target.composing=!0}function Qr(e){e.target.composing&&(e.target.composing=!1,Kr(e.target,"input"))}function Kr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Jr(e){return!e.componentInstance||e.data&&e.data.transition?e:Jr(e.componentInstance._vnode)}var qr={model:Wr,show:{bind:function(e,t,n){var i=t.value,r=(n=Jr(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Pr(n,function(){e.style.display=o})):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=Jr(n)).data&&n.data.transition?(n.data.show=!0,i?Pr(n,function(){e.style.display=e.__vOriginalDisplay}):Rr(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},eo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(Vt(t.children)):e}function no(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[A(o)]=r[o];return t}function io(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ro=function(e){return e.tag||Gt(e)},oo=function(e){return"show"===e.name},so={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ro)).length){var i=this.mode,r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var o=to(r);if(!o)return r;if(this._leaving)return io(e,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=no(this),c=this._vnode,u=to(c);if(o.data.directives&&o.data.directives.some(oo)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!Gt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,at(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),io(e,r);if("in-out"===i){if(Gt(o))return c;var h,f=function(){h()};at(l,"afterEnter",f),at(l,"enterCancelled",f),at(d,"delayLeave",function(e){h=e})}}return r}}},ao=E({tag:String,moveClass:String},eo);function lo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function co(e){e.data.newPos=e.elm.getBoundingClientRect()}function uo(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete ao.mode;var ho={Transition:so,TransitionGroup:{props:ao,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Jt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],s=no(this),a=0;a<r.length;a++){var l=r[a];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s)}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var h=i[d];h.data.transition=s,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?c.push(h):u.push(h)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(lo),e.forEach(co),e.forEach(uo),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;Tr(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Mr,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Mr,e),n._moveCb=null,Ir(n,t))})}}))},methods:{hasMove:function(e,t){if(!xr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){br(n,e)}),yr(n,t),n.style.display="none",this.$el.appendChild(n);var i=Fr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Cn.config.mustUseProp=jn,Cn.config.isReservedTag=Zn,Cn.config.isReservedAttr=Tn,Cn.config.getTagNamespace=Xn,Cn.config.isUnknownElement=function(e){if(!V)return!0;if(Zn(e))return!1;if(e=e.toLowerCase(),null!=Qn[e])return Qn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Qn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Qn[e]=/HTMLUnknownElement/.test(t.toString())},E(Cn.options.directives,qr),E(Cn.options.components,ho),Cn.prototype.__patch__=V?$r:T,Cn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=ve),tn(e,"beforeMount"),i=function(){e._update(e._render(),n)},new pn(e,i,T,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&V?Jn(e):void 0,t)},V&&setTimeout(function(){B.devtools&&oe&&oe.emit("init",Cn)},0);var fo,po=/\{\{((?:.|\r?\n)+?)\}\}/g,mo=/[-.*+?^${}()|[\]\/\\]/g,go=w(function(e){var t=e[0].replace(mo,"\\$&"),n=e[1].replace(mo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),vo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Yi(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=Ni(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},yo={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Yi(e,"style");n&&(e.staticStyle=JSON.stringify(sr(n)));var i=Ni(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},bo=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),_o=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),xo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ao=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Co="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+H.source+"]*",ko="((?:"+Co+"\\:)?"+Co+")",Mo=new RegExp("^<"+ko),So=/^\s*(\/?)>/,Lo=new RegExp("^<\\/"+ko+"[^>]*>"),Eo=/^<!DOCTYPE [^>]+>/i,Do=/^<!\--/,To=/^<!\[/,Io=m("script,style,textarea",!0),jo={},Oo={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Fo=/&(?:lt|gt|quot|amp|#39);/g,No=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Yo=m("pre,textarea",!0),Po=function(e,t){return e&&Yo(e)&&"\n"===t[0]};function Ro(e,t){var n=t?No:Fo;return e.replace(n,function(e){return Oo[e]})}var Bo,Ho,zo,$o,Wo,Go,Vo,Uo,Zo=/^@|^v-on:/,Xo=/^v-|^@|^:/,Qo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ko=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Jo=/^\(|\)$/g,qo=/^\[.*\]$/,es=/:(.*)$/,ts=/^:|^\.|^v-bind:/,ns=/\.[^.\]]+(?=[^\]]*$)/g,is=/^v-slot(:|$)|^#/,rs=/[\r\n]/,os=/\s+/g,ss=w(function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent}),as="_empty_";function ls(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ps(t),rawAttrsMap:{},parent:n,children:[]}}function cs(e,t){var n,i;(i=Ni(n=e,"key"))&&(n.key=i),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Ni(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Yi(e,"scope"),e.slotScope=t||Yi(e,"slot-scope")):(t=Yi(e,"slot-scope"))&&(e.slotScope=t);var n=Ni(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Ti(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var i=Pi(e,is);if(i){var r=hs(i),o=r.name,s=r.dynamic;e.slotTarget=o,e.slotTargetDynamic=s,e.slotScope=i.value||as}}else{var a=Pi(e,is);if(a){var l=e.scopedSlots||(e.scopedSlots={}),c=hs(a),u=c.name,d=c.dynamic,h=l[u]=ls("template",[],e);h.slotTarget=u,h.slotTargetDynamic=d,h.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=h,!0}),h.slotScope=a.value||as,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Ni(e,"name"))}(e),function(e){var t;(t=Ni(e,"is"))&&(e.component=t),null!=Yi(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<zo.length;r++)e=zo[r](e,t)||e;return function(e){var t,n,i,r,o,s,a,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(i=r=c[t].name,o=c[t].value,Xo.test(i))if(e.hasBindings=!0,(s=fs(i.replace(Xo,"")))&&(i=i.replace(ns,"")),ts.test(i))i=i.replace(ts,""),o=Mi(o),(l=qo.test(i))&&(i=i.slice(1,-1)),s&&(s.prop&&!l&&"innerHtml"===(i=A(i))&&(i="innerHTML"),s.camel&&!l&&(i=A(i)),s.sync&&(a=Hi(o,"$event"),l?Fi(e,'"update:"+('+i+")",a,null,!1,0,c[t],!0):(Fi(e,"update:"+A(i),a,null,!1,0,c[t]),M(i)!==A(i)&&Fi(e,"update:"+M(i),a,null,!1,0,c[t])))),s&&s.prop||!e.component&&Vo(e.tag,e.attrsMap.type,i)?Di(e,i,o,c[t],l):Ti(e,i,o,c[t],l);else if(Zo.test(i))i=i.replace(Zo,""),(l=qo.test(i))&&(i=i.slice(1,-1)),Fi(e,i,o,s,!1,0,c[t],l);else{var u=(i=i.replace(Xo,"")).match(es),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),qo.test(d)&&(d=d.slice(1,-1),l=!0)),ji(e,i,r,o,d,l,s,c[t])}else Ti(e,i,JSON.stringify(o),c[t]),!e.component&&"muted"===i&&Vo(e.tag,e.attrsMap.type,i)&&Di(e,i,"true",c[t])}(e),e}function us(e){var t;if(t=Yi(e,"v-for")){var n=function(e){var t=e.match(Qo);if(t){var n={};n.for=t[2].trim();var i=t[1].trim().replace(Jo,""),r=i.match(Ko);return r?(n.alias=i.replace(Ko,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}(t);n&&E(e,n)}}function ds(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function hs(e){var t=e.name.replace(is,"");return t||"#"!==e.name[0]&&(t="default"),qo.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function fs(e){var t=e.match(ns);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function ps(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}var ms=/^xmlns:NS\d+/,gs=/^NS\d+:/;function vs(e){return ls(e.tag,e.attrsList.slice(),e.parent)}var ys,bs,_s=[vo,yo,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Ni(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=Yi(e,"v-if",!0),o=r?"&&("+r+")":"",s=null!=Yi(e,"v-else",!0),a=Yi(e,"v-else-if",!0),l=vs(e);us(l),Ii(l,"type","checkbox"),cs(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+o,ds(l,{exp:l.if,block:l});var c=vs(e);Yi(c,"v-for",!0),Ii(c,"type","radio"),cs(c,t),ds(l,{exp:"("+n+")==='radio'"+o,block:c});var u=vs(e);return Yi(u,"v-for",!0),Ii(u,":type",n),cs(u,t),ds(l,{exp:r,block:u}),s?l.else=!0:a&&(l.elseif=a),l}}}}],ws={expectHTML:!0,modules:_s,directives:{model:function(e,t,n){var i=t.value,r=t.modifiers,o=e.tag,s=e.attrsMap.type;if(e.component)return Bi(e,i,r),!1;if("select"===o)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r&&r.number?"_n(val)":"val")+"});";Fi(e,"change",i=i+" "+Hi(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(e,i);else if("input"===o&&"checkbox"===s)!function(e,t,n){var i=n&&n.number,r=Ni(e,"value")||"null",o=Ni(e,"true-value")||"true",s=Ni(e,"false-value")||"false";Di(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Fi(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+s+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Hi(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Hi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Hi(t,"$$c")+"}",null,!0)}(e,i,r);else if("input"===o&&"radio"===s)!function(e,t,n){var i=n&&n.number,r=Ni(e,"value")||"null";Di(e,"checked","_q("+t+","+(r=i?"_n("+r+")":r)+")"),Fi(e,"change",Hi(t,r),null,!0)}(e,i,r);else if("input"===o||"textarea"===o)!function(e,t,n){var i=e.attrsMap.type,r=n||{},o=r.lazy,s=r.number,a=r.trim,l=!o&&"range"!==i,c=o?"change":"range"===i?Zi:"input",u="$event.target.value";a&&(u="$event.target.value.trim()"),s&&(u="_n("+u+")");var d=Hi(t,u);l&&(d="if($event.target.composing)return;"+d),Di(e,"value","("+t+")"),Fi(e,c,d,null,!0),(a||s)&&Fi(e,"blur","$forceUpdate()")}(e,i,r);else if(!B.isReservedTag(o))return Bi(e,i,r),!1;return!0},text:function(e,t){t.value&&Di(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Di(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:_o,isReservedTag:Zn,getTagNamespace:Xn,staticKeys:_s.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},xs=w(function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var As=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/,Cs=/\([^)]*?\);*$/,ks=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ms={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ss={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ls=function(e){return"if("+e+")return null;"},Es={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ls("$event.target !== $event.currentTarget"),ctrl:Ls("!$event.ctrlKey"),shift:Ls("!$event.shiftKey"),alt:Ls("!$event.altKey"),meta:Ls("!$event.metaKey"),left:Ls("'button' in $event && $event.button !== 0"),middle:Ls("'button' in $event && $event.button !== 1"),right:Ls("'button' in $event && $event.button !== 2")};function Ds(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var o in e){var s=Ts(e[o]);e[o]&&e[o].dynamic?r+=o+","+s+",":i+='"'+o+'":'+s+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Ts(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ts(e)}).join(",")+"]";var t=ks.test(e.value),n=As.test(e.value),i=ks.test(e.value.replace(Cs,""));if(e.modifiers){var r="",o="",s=[];for(var a in e.modifiers)if(Es[a])o+=Es[a],Ms[a]&&s.push(a);else if("exact"===a){var l=e.modifiers;o+=Ls(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else s.push(a);return s.length&&(r+="if(!$event.type.indexOf('key')&&"+s.map(Is).join("&&")+")return null;"),o&&(r+=o),"function($event){"+r+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Is(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ms[e],i=Ss[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var js={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:T},Os=function(e){this.options=e,this.warn=e.warn||Li,this.transforms=Ei(e.modules,"transformCode"),this.dataGenFns=Ei(e.modules,"genData"),this.directives=E(E({},js),e.directives);var t=e.isReservedTag||I;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Fs(e,t){var n=new Os(t);return{render:"with(this){return "+(e?Ns(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ns(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ys(e,t);if(e.once&&!e.onceProcessed)return Ps(e,t);if(e.for&&!e.forProcessed)return Bs(e,t);if(e.if&&!e.ifProcessed)return Rs(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=Ws(e,t),r="_t("+n+(i?","+i:""),o=e.attrs||e.dynamicAttrs?Us((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:A(e.name),value:e.value,dynamic:e.dynamic}})):null,s=e.attrsMap["v-bind"];return!o&&!s||i||(r+=",null"),o&&(r+=","+o),s&&(r+=(o?"":",null")+","+s),r+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:Ws(t,n,!0);return"_c("+e+","+Hs(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Hs(e,t));var r=e.inlineTemplate?null:Ws(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return Ws(e,t)||"void 0"}function Ys(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+Ns(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Ps(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Rs(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+Ns(e,t)+","+t.onceId+++","+n+")":Ns(e,t)}return Ys(e,t)}function Rs(e,t,n,i){return e.ifProcessed=!0,function e(t,n,i,r){if(!t.length)return r||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+s(o.block)+":"+e(t,n,i,r):""+s(o.block);function s(e){return i?i(e,n):e.once?Ps(e,n):Ns(e,n)}}(e.ifConditions.slice(),t,n,i)}function Bs(e,t,n,i){var r=e.for,o=e.alias,s=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+s+a+"){return "+(n||Ns)(e,t)+"})"}function Hs(e,t){var n="{",i=function(e,t){var n=e.directives;if(n){var i,r,o,s,a="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],s=!0;var c=t.directives[o.name];c&&(s=!!c(e,o,t.warn)),s&&(l=!0,a+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return l?a.slice(0,-1)+"]":void 0}}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)n+=t.dataGenFns[r](e);if(e.attrs&&(n+="attrs:"+Us(e.attrs)+","),e.props&&(n+="domProps:"+Us(e.props)+","),e.events&&(n+=Ds(e.events,!1)+","),e.nativeEvents&&(n+=Ds(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||zs(n)}),r=!!e.if;if(!i)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==as||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var s=Object.keys(t).map(function(e){return $s(t[e],n)}).join(",");return"scopedSlots:_u(["+s+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var i=Fs(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Us(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function zs(e){return 1===e.type&&("slot"===e.tag||e.children.some(zs))}function $s(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Rs(e,t,$s,"null");if(e.for&&!e.forProcessed)return Bs(e,t,$s);var i=e.slotScope===as?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ws(e,t)||"undefined")+":undefined":Ws(e,t)||"undefined":Ns(e,t))+"}",o=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+o+"}"}function Ws(e,t,n,i,r){var o=e.children;if(o.length){var s=o[0];if(1===o.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var a=n?t.maybeComponent(s)?",1":",0":"";return""+(i||Ns)(s,t)+a}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];if(1===r.type){if(Gs(r)||r.ifConditions&&r.ifConditions.some(function(e){return Gs(e.block)})){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,c=r||Vs;return"["+o.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function Gs(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Vs(e,t){return 1===e.type?Ns(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=e).type?n.expression:Zs(JSON.stringify(n.text)))+")";var n,i}function Us(e){for(var t="",n="",i=0;i<e.length;i++){var r=e[i],o=Zs(r.value);r.dynamic?n+=r.name+","+o+",":t+='"'+r.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function Zs(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Xs(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),T}}function Qs(e){var t=Object.create(null);return function(n,i,r){(i=E({},i)).warn,delete i.warn;var o=i.delimiters?String(i.delimiters)+n:n;if(t[o])return t[o];var s=e(n,i),a={},l=[];return a.render=Xs(s.render,l),a.staticRenderFns=s.staticRenderFns.map(function(e){return Xs(e,l)}),t[o]=a}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");var Ks,Js,qs=(Ks=function(e,t){var n=function(e,t){Bo=t.warn||Li,Go=t.isPreTag||I,Vo=t.mustUseProp||I,Uo=t.getTagNamespace||I,t.isReservedTag,zo=Ei(t.modules,"transformNode"),$o=Ei(t.modules,"preTransformNode"),Wo=Ei(t.modules,"postTransformNode"),Ho=t.delimiters;var n,i,r=[],o=!1!==t.preserveWhitespace,s=t.whitespace,a=!1,l=!1;function c(e){if(u(e),a||e.processed||(e=cs(e,t)),r.length||e===n||n.if&&(e.elseif||e.else)&&ds(n,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)s=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&c.if&&ds(c,{exp:s.elseif,block:s});else{if(e.slotScope){var o=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[o]=e}i.children.push(e),e.parent=i}var s,c;e.children=e.children.filter(function(e){return!e.slotScope}),u(e),e.pre&&(a=!1),Go(e.tag)&&(l=!1);for(var d=0;d<Wo.length;d++)Wo[d](e,t)}function u(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var n,i,r=[],o=t.expectHTML,s=t.isUnaryTag||I,a=t.canBeLeftOpenTag||I,l=0;e;){if(n=e,i&&Io(i)){var c=0,u=i.toLowerCase(),d=jo[u]||(jo[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),h=e.replace(d,function(e,n,i){return c=i.length,Io(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Po(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-h.length,e=h,M(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(Do.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),l,l+p+3),A(p+3);continue}}if(To.test(e)){var m=e.indexOf("]>");if(m>=0){A(m+2);continue}}var g=e.match(Eo);if(g){A(g[0].length);continue}var v=e.match(Lo);if(v){var y=l;A(v[0].length),M(v[1],y,l);continue}var b=C();if(b){k(b),Po(b.tagName,e)&&A(1);continue}}var _=void 0,w=void 0,x=void 0;if(f>=0){for(w=e.slice(f);!(Lo.test(w)||Mo.test(w)||Do.test(w)||To.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=e.slice(f);_=e.substring(0,f)}f<0&&(_=e),_&&A(_.length),t.chars&&_&&t.chars(_,l-_.length,l)}if(e===n){t.chars&&t.chars(e);break}}function A(t){l+=t,e=e.substring(t)}function C(){var t=e.match(Mo);if(t){var n,i,r={tagName:t[1],attrs:[],start:l};for(A(t[0].length);!(n=e.match(So))&&(i=e.match(Ao)||e.match(xo));)i.start=l,A(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],A(n[0].length),r.end=l,r}}function k(e){var n=e.tagName,l=e.unarySlash;o&&("p"===i&&wo(n)&&M(i),a(n)&&i===n&&M(n));for(var c=s(n)||!!l,u=e.attrs.length,d=new Array(u),h=0;h<u;h++){var f=e.attrs[h],p=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[h]={name:f[1],value:Ro(p,m)}}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function M(e,n,o){var s,a;if(null==n&&(n=l),null==o&&(o=l),e)for(a=e.toLowerCase(),s=r.length-1;s>=0&&r[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var c=r.length-1;c>=s;c--)t.end&&t.end(r[c].tag,n,o);r.length=s,i=s&&r[s-1].tag}else"br"===a?t.start&&t.start(e,[],!0,n,o):"p"===a&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}M()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,s,u,d){var h=i&&i.ns||Uo(e);Q&&"svg"===h&&(o=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];ms.test(i.name)||(i.name=i.name.replace(gs,""),t.push(i))}return t}(o));var f,p=ls(e,o,i);h&&(p.ns=h),"style"!==(f=p).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||re()||(p.forbidden=!0);for(var m=0;m<$o.length;m++)p=$o[m](p,t)||p;a||(function(e){null!=Yi(e,"v-pre")&&(e.pre=!0)}(p),p.pre&&(a=!0)),Go(p.tag)&&(l=!0),a?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),r=0;r<n;r++)i[r]={name:t[r].name,value:JSON.stringify(t[r].value)},null!=t[r].start&&(i[r].start=t[r].start,i[r].end=t[r].end);else e.pre||(e.plain=!0)}(p):p.processed||(us(p),function(e){var t=Yi(e,"v-if");if(t)e.if=t,ds(e,{exp:t,block:e});else{null!=Yi(e,"v-else")&&(e.else=!0);var n=Yi(e,"v-else-if");n&&(e.elseif=n)}}(p),function(e){null!=Yi(e,"v-once")&&(e.once=!0)}(p)),n||(n=p),s?c(p):(i=p,r.push(p))},end:function(e,t,n){var o=r[r.length-1];r.length-=1,i=r[r.length-1],c(o)},chars:function(e,t,n){if(i&&(!Q||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,c,u,d=i.children;(e=l||e.trim()?"script"===(r=i).tag||"style"===r.tag?e:ss(e):d.length?s?"condense"===s&&rs.test(e)?"":" ":o?" ":"":"")&&(l||"condense"!==s||(e=e.replace(os," ")),!a&&" "!==e&&(c=function(e,t){var n=Ho?go(Ho):po;if(n.test(e)){for(var i,r,o,s=[],a=[],l=n.lastIndex=0;i=n.exec(e);){(r=i.index)>l&&(a.push(o=e.slice(l,r)),s.push(JSON.stringify(o)));var c=Mi(i[1].trim());s.push("_s("+c+")"),a.push({"@binding":c}),l=r+i[0].length}return l<e.length&&(a.push(o=e.slice(l)),s.push(JSON.stringify(o))),{expression:s.join("+"),tokens:a}}}(e))?u={type:2,expression:c.expression,tokens:c.tokens,text:e}:" "===e&&d.length&&" "===d[d.length-1].text||(u={type:3,text:e}),u&&d.push(u))}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};i.children.push(r)}}}),n}(e.trim(),t);!1!==t.optimize&&function(e,t){e&&(ys=xs(t.staticKeys||""),bs=t.isReservedTag||I,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!bs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ys))))}(t),1===t.type){if(!bs(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,i=t.children.length;n<i;n++){var r=t.children[n];e(r),r.static||(t.static=!1)}if(t.ifConditions)for(var o=1,s=t.ifConditions.length;o<s;o++){var a=t.ifConditions[o].block;e(a),a.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var i=0,r=t.children.length;i<r;i++)e(t.children[i],n||!!t.for);if(t.ifConditions)for(var o=1,s=t.ifConditions.length;o<s;o++)e(t.ifConditions[o].block,n)}}(e,!1))}(n,t);var i=Fs(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),r=[],o=[];if(n)for(var s in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=E(Object.create(e.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(i[s]=n[s]);i.warn=function(e,t,n){(n?o:r).push(e)};var a=Ks(t.trim(),i);return a.errors=r,a.tips=o,a}return{compile:t,compileToFunctions:Qs(t)}})(ws),ea=(qs.compile,qs.compileToFunctions);function ta(e){return(Js=Js||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Js.innerHTML.indexOf(" ")>0}var na=!!V&&ta(!1),ia=!!V&&ta(!0),ra=w(function(e){var t=Jn(e);return t&&t.innerHTML}),oa=Cn.prototype.$mount;Cn.prototype.$mount=function(e,t){if((e=e&&Jn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ra(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){var r=ea(i,{outputSourceRange:!1,shouldDecodeNewlines:na,shouldDecodeNewlinesForHref:ia,delimiters:n.delimiters,comments:n.comments},this),o=r.render,s=r.staticRenderFns;n.render=o,n.staticRenderFns=s}}return oa.call(this,e,t)},Cn.compile=ea,e.exports=Cn}).call(this,n(5),n(24).setImmediate)},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,r,o,s,a,l=1,c={},u=!1,d=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},i=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,i=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):i=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),i=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return c[l]=r,i(l),l++},h.clearImmediate=f}function f(e){delete c[e]}function p(e){if(u)setTimeout(p,0,e);else{var t=c[e];if(t){u=!0;try{!function(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(n,i)}}(t)}finally{f(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(5),n(10))},function(e,t,n){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=60)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var i=n(49)("wks"),r=n(30),o=n(0).Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(5);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var i=n(0),r=n(10),o=n(8),s=n(6),a=n(11),l=function(e,t,n){var c,u,d,h,f=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=p?i:m?i[t]||(i[t]={}):(i[t]||{}).prototype,b=p?r:r[t]||(r[t]={}),_=b.prototype||(b.prototype={});for(c in p&&(n=t),n)d=((u=!f&&y&&void 0!==y[c])?y:n)[c],h=v&&u?a(d,i):g&&"function"==typeof d?a(Function.call,d):d,y&&s(y,c,d,e&l.U),b[c]!=d&&o(b,c,h),g&&_[c]!=d&&(_[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){e.exports=!n(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(0),r=n(8),o=n(12),s=n(30)("src"),a=Function.toString,l=(""+a).split("toString");n(10).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(13),r=n(25);e.exports=n(4)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(14);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(2),r=n(41),o=n(29),s=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var i=n(7);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(23),r=n(16);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(53),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(11),r=n(23),o=n(28),s=n(19),a=n(64);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,f=t||a;return function(t,a,p){for(var m,g,v=o(t),y=r(v),b=i(a,p,3),_=s(y.length),w=0,x=n?f(t,_):l?f(t,0):void 0;_>w;w++)if((h||w in y)&&(g=b(m=y[w],w,v),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return d?-1:c||u?u:x}}},function(e,t,n){var i=n(5),r=n(0).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(9);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(13).f,r=n(12),o=n(1)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(49)("keys"),r=n(30);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(16);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(5);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){"use strict";var i=n(0),r=n(12),o=n(9),s=n(67),a=n(29),l=n(7),c=n(77).f,u=n(45).f,d=n(13).f,h=n(51).trim,f=i.Number,p=f,m=f.prototype,g="Number"==o(n(44)(m)),v="trim"in String.prototype,y=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var n,i,r,o=(t=v?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,l=t.slice(2),c=0,u=l.length;c<u;c++)if((s=l.charCodeAt(c))<48||s>r)return NaN;return parseInt(l,i)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(g?l(function(){m.valueOf.call(n)}):"Number"!=o(n))?s(new p(y(t)),n,f):y(t)};for(var b,_=n(4)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)r(p,b=_[w])&&!r(f,b)&&d(f,b,u(p,b));f.prototype=m,m.constructor=f,n(6)(i,"Number",f)}},function(e,t,n){"use strict";function i(e){return!(0===e||(!Array.isArray(e)||0!==e.length)&&e)}function r(e,t,n,i){return e.filter(function(e){return function(e,t){return void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false"),-1!==e.toString().toLowerCase().indexOf(t.trim())}(i(e,n),t)})}function o(e){return e.filter(function(e){return!e.$isLabel})}function s(e,t){return function(n){return n.reduce(function(n,i){return i[e]&&i[e].length?(n.push({$groupLabel:i[t],$isLabel:!0}),n.concat(i[e])):n},[])}}function a(e,t,i,o,s){return function(a){return a.map(function(a){var l;if(!a[i])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var c=r(a[i],e,t,s);return c.length?(l={},n.i(h.a)(l,o,a[o]),n.i(h.a)(l,i,c),l):[]})}}var l=n(59),c=n(54),u=(n.n(c),n(95)),d=(n.n(u),n(31)),h=(n.n(d),n(58)),f=n(91),p=(n.n(f),n(98)),m=(n.n(p),n(92)),g=(n.n(m),n(88)),v=(n.n(g),n(97)),y=(n.n(v),n(89)),b=(n.n(y),n(96)),_=(n.n(b),n(93)),w=(n.n(_),n(90)),x=(n.n(w),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}});t.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(e,t){return i(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var e=this.search||"",t=e.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,t,this.label):r(n,t,this.label,this.customLabel):this.groupValues?s(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(e){return function(){return!e.apply(void 0,arguments)}}(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys:function(){var e=this;return this.trackBy?this.internalValue.map(function(t){return t[e.trackBy]}):this.internalValue},optionKeys:function(){var e=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map(function(t){return e.customLabel(t,e.label).toString().toLowerCase()})},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(e,t,n){return x(a(t,n,this.groupValues,this.groupLabel,this.customLabel),s(this.groupValues,this.groupLabel))(e)},flatAndStrip:function(e){return x(s(this.groupValues,this.groupLabel),o)(e)},updateSearch:function(e){this.search=e},isExistingOption:function(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected:function(e){var t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled:function(e){return!!e.$isDisabled},getOptionLabel:function(e){if(i(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;var t=this.customLabel(e,this.label);return i(t)?"":t},select:function(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e))return void("Tab"!==t&&this.removeElement(e));this.$emit("select",e,this.id),this.multiple?this.$emit("input",this.internalValue.concat([e]),this.id):this.$emit("input",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(e){var t=this,n=this.options.find(function(n){return n[t.groupLabel]===e.$groupLabel});if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var i=this.internalValue.filter(function(e){return-1===n[t.groupValues].indexOf(e)});this.$emit("input",i,this.id)}else{var r=n[this.groupValues].filter(function(e){return!(t.isOptionDisabled(e)||t.isSelected(e))});this.$emit("select",r,this.id),this.$emit("input",this.internalValue.concat(r),this.id)}},wholeGroupSelected:function(e){var t=this;return e[this.groupValues].every(function(e){return t.isSelected(e)||t.isOptionDisabled(e)})},wholeGroupDisabled:function(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!e.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var i="object"===n.i(l.a)(e)?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.$emit("remove",e,this.id),this.multiple){var r=this.internalValue.slice(0,i).concat(this.internalValue.slice(i+1));this.$emit("input",r,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&t&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var e=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick(function(){return e.$refs.search.focus()})):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}}}},function(e,t,n){"use strict";var i=n(54),r=(n.n(i),n(31));n.n(r),t.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight:function(e,t){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var i=this.options.find(function(e){return e[n.groupLabel]===t.$groupLabel});return i&&!this.wholeGroupDisabled(i)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]:"multiselect__option--disabled"},addPointerElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",t=e.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(e){this.pointer=e,this.pointerDirty=!0}}}},function(e,t,n){"use strict";var i=n(36),r=n(74),o=n(15),s=n(18);e.exports=n(72)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var i=n(31),r=(n.n(i),n(32)),o=n(33);t.a={name:"vue-multiselect",mixins:[r.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(e){return"and ".concat(e," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(e,t,n){var i=n(1)("unscopables"),r=Array.prototype;null==r[i]&&n(8)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){var i=n(18),r=n(19),o=n(85);e.exports=function(e){return function(t,n,s){var a,l=i(t),c=r(l.length),u=o(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(9),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var i=n(2);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var i=n(0).document;e.exports=i&&i.documentElement},function(e,t,n){e.exports=!n(4)&&!n(7)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(9);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){"use strict";function i(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=r(t),this.reject=r(n)}var r=n(14);e.exports.f=function(e){return new i(e)}},function(e,t,n){var i=n(2),r=n(76),o=n(22),s=n(27)("IE_PROTO"),a=function(){},l=function(){var e,t=n(21)("iframe"),i=o.length;for(t.style.display="none",n(40).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=l(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(79),r=n(25),o=n(18),s=n(29),a=n(12),l=n(41),c=Object.getOwnPropertyDescriptor;t.f=n(4)?c:function(e,t){if(e=o(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(12),r=n(18),o=n(37)(!1),s=n(27)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>l;)i(a,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(46),r=n(22);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(2),r=n(5),o=n(43);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var i=n(10),r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var i=n(2),r=n(14),o=n(1)("species");e.exports=function(e,t){var n,s=i(e).constructor;return void 0===s||null==(n=i(s)[o])?t:r(n)}},function(e,t,n){var i=n(3),r=n(16),o=n(7),s=n(84),a="["+s+"]",l=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),u=function(e,t,n){var r={},a=o(function(){return!!s[e]()||" "!=" "[e]()}),l=r[e]=a?t(d):s[e];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=u.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},function(e,t,n){var i,r,o,s=n(11),a=n(68),l=n(40),c=n(21),u=n(0),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){a("function"==typeof e?e:Function(e),t)},i(g),g},f=function(e){delete v[e]},"process"==n(9)(d)?i=function(e){d.nextTick(s(y,e,1))}:m&&m.now?i=function(e){m.now(s(y,e,1))}:p?(o=(r=new p).port2,r.port1.onmessage=b,i=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):i="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(s(y,e,1),0)}),e.exports={set:h,clear:f}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){"use strict";var i=n(3),r=n(20)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(36)("find")},function(e,t,n){"use strict";var i,r,o,s,a=n(24),l=n(0),c=n(11),u=n(38),d=n(3),h=n(5),f=n(14),p=n(61),m=n(66),g=n(50),v=n(52).set,y=n(75)(),b=n(43),_=n(80),w=n(86),x=n(48),A=l.TypeError,C=l.process,k=C&&C.versions,M=k&&k.v8||"",S=l.Promise,L="process"==u(C),E=function(){},D=r=b.f,T=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(E,E)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t&&0!==M.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var i=e._v,r=1==e._s,o=0;n.length>o;)!function(t){var n,o,s,a=r?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{a?(r||(2==e._h&&N(e),e._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),s=!0)),n===t.promise?c(A("Promise-chain cycle")):(o=I(n))?o.call(n,l,c):l(n)):c(i)}catch(e){u&&!s&&u.exit(),c(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&O(e)})}},O=function(e){v.call(l,function(){var t,n,i,r=e._v,o=F(e);if(o&&(t=_(function(){L?C.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=L||F(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,function(){var t;L?C.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},Y=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},P=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw A("Promise can't be resolved itself");(t=I(e))?y(function(){var i={_w:n,_d:!1};try{t.call(e,c(P,i,1),c(Y,i,1))}catch(e){Y.call(i,e)}}):(n._v=e,n._s=1,j(n,!1))}catch(e){Y.call({_w:n,_d:!1},e)}}};T||(S=function(e){p(this,S,"Promise","_h"),f(e),i.call(this);try{e(c(P,this,1),c(Y,this,1))}catch(e){Y.call(this,e)}},(i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(81)(S.prototype,{then:function(e,t){var n=D(g(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=L?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=c(P,e,1),this.reject=c(Y,e,1)},b.f=D=function(e){return e===S||e===s?new o(e):r(e)}),d(d.G+d.W+d.F*!T,{Promise:S}),n(26)(S,"Promise"),n(83)("Promise"),s=n(10).Promise,d(d.S+d.F*!T,"Promise",{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(a||!T),"Promise",{resolve:function(e){return x(a&&this===s?S:this,e)}}),d(d.S+d.F*!(T&&n(73)(function(e){S.all(e).catch(E)})),"Promise",{all:function(e){var t=this,n=D(t),i=n.resolve,r=n.reject,o=_(function(){var n=[],o=0,s=1;m(e,!1,function(e){var a=o++,l=!1;n.push(void 0),s++,t.resolve(e).then(function(e){l||(l=!0,n[a]=e,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=D(t),i=n.reject,r=_(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(e,t,n){"use strict";var i=n(3),r=n(10),o=n(0),s=n(50),a=n(48);i(i.P+i.R,"Promise",{finally:function(e){var t=s(this,r.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return a(t,e()).then(function(){return n})}:e,n?function(n){return a(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var i=n(35),r=n(101),o=function(e){n(99)},s=n(100)(i.a,r.a,!1,o,null,null);t.a=s.exports},function(e,t,n){"use strict";t.a=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)})(e)}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(34),r=(n.n(i),n(55)),o=(n.n(r),n(56)),s=(n.n(o),n(57)),a=n(32),l=n(33);n.d(t,"Multiselect",function(){return s.a}),n.d(t,"multiselectMixin",function(){return a.a}),n.d(t,"pointerMixin",function(){return l.a}),t.default=s.a},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(14),r=n(28),o=n(23),s=n(19);e.exports=function(e,t,n,a,l){i(t);var c=r(e),u=o(c),d=s(c.length),h=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(h in u){a=u[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in u&&(a=t(a,u[h],h,c));return a}},function(e,t,n){var i=n(5),r=n(42),o=n(1)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(63);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){"use strict";var i=n(8),r=n(6),o=n(7),s=n(16),a=n(1);e.exports=function(e,t,n){var l=a(e),c=n(s,l,""[e]),u=c[0],d=c[1];o(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,u),i(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){var i=n(11),r=n(70),o=n(69),s=n(2),a=n(19),l=n(87),c={},u={};(t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=i(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=a(e.length);f>b;b++)if((g=t?y(s(p=e[b])[0],p[1]):y(e[b]))===c||g===u)return g}else for(m=v.call(e);!(p=m.next()).done;)if((g=r(m,y,p.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},function(e,t,n){var i=n(5),r=n(82).set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var i=n(15),r=n(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},function(e,t,n){var i=n(2);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){"use strict";var i=n(44),r=n(25),o=n(26),s={};n(8)(s,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){"use strict";var i=n(24),r=n(3),o=n(6),s=n(8),a=n(15),l=n(71),c=n(26),u=n(78),d=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,_,w=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A="values"==m,C=!1,k=e.prototype,M=k[d]||k["@@iterator"]||m&&k[m],S=M||w(m),L=m?A?w("entries"):S:void 0,E="Array"==t&&k.entries||M;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,x,!0),i||"function"==typeof _[d]||s(_,d,f)),A&&M&&"values"!==M.name&&(C=!0,S=function(){return M.call(this)}),i&&!v||!h&&!C&&k[d]||s(k,d,S),a[t]=S,a[x]=f,m)if(y={values:A?S:w("values"),keys:g?S:w("keys"),entries:L},v)for(b in y)b in k||o(k,b,y[b]);else r(r.P+r.F*(h||C),t,y);return y}},function(e,t,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(e){}return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(0),r=n(52).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,l="process"==n(9)(s);e.exports=function(){var e,t,n,c=function(){var i,r;for(l&&(i=s.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(l)n=function(){s.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t,n){var i=n(13),r=n(2),o=n(47);e.exports=n(4)?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,l=0;a>l;)i.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var i=n(46),r=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){var i=n(12),r=n(28),o=n(27)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var i=n(6);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},function(e,t,n){var i=n(5),r=n(2),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(11)(Function.call,n(45).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){"use strict";var i=n(0),r=n(13),o=n(4),s=n(1)("species");e.exports=function(e){var t=i[e];o&&t&&!t[s]&&r.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var i=n(53),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(0).navigator;e.exports=i&&i.userAgent||""},function(e,t,n){var i=n(38),r=n(1)("iterator"),o=n(15);e.exports=n(10).getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){"use strict";var i=n(3),r=n(20)(2);i(i.P+i.F*!n(17)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(3),r=n(37)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(17)(o)),"Array",{indexOf:function(e){return s?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(3);i(i.S,"Array",{isArray:n(42)})},function(e,t,n){"use strict";var i=n(3),r=n(20)(1);i(i.P+i.F*!n(17)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(3),r=n(62);i(i.P+i.F*!n(17)([].reduce,!0),"Array",{reduce:function(e){return r(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){var i=Date.prototype,r=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&n(6)(i,"toString",function(){var e=o.call(this);return e==e?r.call(this):"Invalid Date"})},function(e,t,n){n(4)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(39)})},function(e,t,n){n(65)("search",1,function(e,t,n){return[function(n){"use strict";var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},n]})},function(e,t,n){"use strict";n(94);var i=n(2),r=n(39),o=n(4),s=/./.toString,a=function(e){n(6)(RegExp.prototype,"toString",e,!0)};n(7)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?r.call(e):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(e,t,n){"use strict";n(51)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){for(var i=n(34),r=n(47),o=n(6),s=n(0),a=n(8),l=n(15),c=n(1),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var g,v=p[m],y=f[v],b=s[v],_=b&&b.prototype;if(_&&(_[u]||a(_,u,h),_[d]||a(_,d,v),l[v]=h,y))for(g in i)_[g]||o(_,g,i[g],!0)}},function(e,t){},function(e,t){e.exports=function(e,t,n,i,r,o){var s,a=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(s=e,a=e.default);var c,u="function"==typeof a?a.options:a;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),h(e,t)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:a,options:u}}},function(e,t,n){"use strict";var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multiselect",class:{"multiselect--active":e.isOpen,"multiselect--disabled":e.disabled,"multiselect--above":e.isAbove},attrs:{tabindex:e.searchable?-1:e.tabindex},on:{focus:function(t){e.activate()},blur:function(t){!e.searchable&&e.deactivate()},keydown:[function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerForward()):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerBackward()):null}],keypress:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")||!e._k(t.keyCode,"tab",9,t.key,"Tab")?(t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()}}},[e._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}}})],{toggle:e.toggle}),e._v(" "),e._t("clear",null,{search:e.search}),e._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[e._t("selection",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[e._l(e.visibleValues,function(t,i){return[e._t("tag",[n("span",{key:i,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:e._s(e.getOptionLabel(t))}}),e._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(n){if(!("button"in n)&&e._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),e.removeElement(t)},mousedown:function(n){n.preventDefault(),e.removeElement(t)}}})])],{option:t,search:e.search,remove:e.removeElement})]})],2),e._v(" "),e.internalValue&&e.internalValue.length>e.limit?[e._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:e._s(e.limitText(e.internalValue.length-e.limit))}})])]:e._e()],{search:e.search,remove:e.removeElement,values:e.visibleValues,isOpen:e.isOpen}),e._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[e._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),e._v(" "),e.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:e.inputStyle,attrs:{name:e.name,id:e.id,type:"text",autocomplete:"nope",placeholder:e.placeholder,disabled:e.disabled,tabindex:e.tabindex},domProps:{value:e.search},on:{input:function(t){e.updateSearch(t.target.value)},focus:function(t){t.preventDefault(),e.activate()},blur:function(t){t.preventDefault(),e.deactivate()},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.pointerForward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.pointerBackward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete"]))return null;t.stopPropagation(),e.removeLastElement()}],keypress:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null}}}):e._e(),e._v(" "),e.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("singleLabel",[[e._v(e._s(e.currentOptionLabel))]],{option:e.singleValue})],2):e._e(),e._v(" "),e.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("placeholder",[e._v("\n "+e._s(e.placeholder)+"\n ")])],2):e._e()],2),e._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:e.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:e.activate,mousedown:function(e){e.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:e.contentStyle},[e._t("beforeList"),e._v(" "),e.multiple&&e.max===e.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[e._t("maxElements",[e._v("Maximum of "+e._s(e.max)+" options selected. First remove a selected option to select another.")])],2)]):e._e(),e._v(" "),!e.max||e.internalValue.length<e.max?e._l(e.filteredOptions,function(t,i){return n("li",{key:i,staticClass:"multiselect__element"},[t&&(t.$isLabel||t.$isDisabled)?e._e():n("span",{staticClass:"multiselect__option",class:e.optionHighlight(i,t),attrs:{"data-select":t&&t.isTag?e.tagPlaceholder:e.selectLabelText,"data-selected":e.selectedLabelText,"data-deselect":e.deselectLabelText},on:{click:function(n){n.stopPropagation(),e.select(t)},mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.pointerSet(i)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2),e._v(" "),t&&(t.$isLabel||t.$isDisabled)?n("span",{staticClass:"multiselect__option",class:e.groupHighlight(i,t),attrs:{"data-select":e.groupSelect&&e.selectGroupLabelText,"data-deselect":e.groupSelect&&e.deselectGroupLabelText},on:{mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.groupSelect&&e.pointerSet(i)},mousedown:function(n){n.preventDefault(),e.selectGroup(t)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2):e._e()])}):e._e(),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoResults&&0===e.filteredOptions.length&&e.search&&!e.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noResult",[e._v("No elements found. Consider changing the search query.")],{search:e.search})],2)]),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoOptions&&0===e.options.length&&!e.search&&!e.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noOptions",[e._v("List is empty.")])],2)]),e._v(" "),e._t("afterList")],2)])])],2)},staticRenderFns:[]};t.a=i}])},function(e,t,n){e.exports=function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e=e&&e.hasOwnProperty("default")?e.default:e;var i={props:{options:{type:Object},type:{type:String},series:{type:Array,required:!0,default:function(){return[]}},width:{default:"100%"},height:{default:"auto"}},data:function(){return{chart:null}},beforeMount:function(){window.ApexCharts=e},mounted:function(){this.init()},created:function(){var e=this;this.$watch("options",function(t){!e.chart&&t?e.init():e.chart.updateOptions(e.options)}),this.$watch("series",function(t){!e.chart&&t?e.init():e.chart.updateSeries(e.series)}),["type","width","height"].forEach(function(t){e.$watch(t,function(){e.refresh()})})},beforeDestroy:function(){this.chart&&this.destroy()},render:function(e){return e("div")},methods:{init:function(){var t=this,n={chart:{type:this.type||this.options.chart.type||"line",height:this.height,width:this.width,events:{}},series:this.series};Object.keys(this.$listeners).forEach(function(e){n.chart.events[e]=t.$listeners[e]});var i=this.extend(this.options,n);this.chart=new e(this.$el,i),this.chart.render()},isObject:function(e){return e&&"object"===t(e)&&!Array.isArray(e)&&null!=e},extend:function(e,t){var i=this;"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t});var r=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach(function(o){i.isObject(t[o])&&o in e?r[o]=i.extend(e[o],t[o]):Object.assign(r,n({},o,t[o]))}),r},refresh:function(){this.destroy(),this.init()},destroy:function(){this.chart.destroy()},updateSeries:function(e,t){this.chart.updateSeries(e,t)},updateOptions:function(e,t,n){this.chart.updateOptions(e,t,n)},toggleSeries:function(e){this.chart.toggleSeries(e)},appendSeries:function(e,t){this.chart.appendSeries(e,t)},resetSeries:function(){this.chart.resetSeries()},toggleDataPointSelection:function(e,t){this.chart.toggleDataPointSelection(e,t)},appendData:function(e){this.chart.appendData(e)},addText:function(e){this.chart.addText(e)},dataURI:function(){return this.chart.dataURI()},addXaxisAnnotation:function(e,t){this.chart.addXaxisAnnotation(e,t)},addYaxisAnnotation:function(e,t){this.chart.addYaxisAnnotation(e,t)},addPointAnnotation:function(e,t){this.chart.addPointAnnotation(e,t)},clearAnnotations:function(){this.chart.clearAnnotations()}}};return window.ApexCharts=e,i.install=function(t){t.ApexCharts=e,window.ApexCharts=e,Object.defineProperty(t.prototype,"$apexcharts",{get:function(){return e}})},i}(n(67))},function(e,t,n){"use strict";var i=n(15);n.n(i).a},,,,,,,,,,,function(e,t,n){var i=n(254);"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(14)(i,r);i.locals&&(e.exports=i.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,i=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(e,t,n){(e.exports=n(11)(!1)).push([e.i,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border:2px solid transparent;border-top-color:#41b883;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{-webkit-animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.multiselect__spinner:after{-webkit-animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:0 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px;vertical-align:top}.multiselect__input:-ms-input-placeholder{color:#35495e}.multiselect__input::-webkit-input-placeholder{color:#35495e}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::-ms-input-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{padding-left:5px;margin-bottom:8px}.multiselect__tags-wrap{display:inline}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff;font-size:14px}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:5px;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{position:absolute;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50;-webkit-overflow-scrolling:touch}.multiselect__content{list-style:none;display:inline-block;padding:0;margin:0;min-width:100%;vertical-align:top}.multiselect--above .multiselect__content-wrapper{bottom:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom:none;border-top:1px solid #e8e8e8}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px;font-size:13px}.multiselect__option--highlight{background:#41b883;outline:none;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{margin-bottom:8px;line-height:20px;display:inline-block;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{right:auto;left:1px}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{right:auto;left:0}[dir=rtl] .multiselect__clear{right:auto;left:12px}[dir=rtl] .multiselect__spinner{right:auto;left:1px}@-webkit-keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""])},function(e,t,n){"use strict";n.r(t),function(e,i){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){l(e,t,n[t])})}return e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var p=function(){function e(){o(this,e)}return a(e,[{key:"shadeRGBColor",value:function(e,t){var n=t.split(","),i=e<0?0:255,r=e<0?-1*e:e,o=parseInt(n[0].slice(4)),s=parseInt(n[1]),a=parseInt(n[2]);return"rgb("+(Math.round((i-o)*r)+o)+","+(Math.round((i-s)*r)+s)+","+(Math.round((i-a)*r)+a)+")"}},{key:"shadeHexColor",value:function(e,t){var n=parseInt(t.slice(1),16),i=e<0?0:255,r=e<0?-1*e:e,o=n>>16,s=n>>8&255,a=255&n;return"#"+(16777216+65536*(Math.round((i-o)*r)+o)+256*(Math.round((i-s)*r)+s)+(Math.round((i-a)*r)+a)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return t.length>7?this.shadeRGBColor(e,t):this.shadeHexColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&null!=e}},{key:"listToArray",value:function(e){var t,n=[];for(t=0;t<e.length;t++)n[t]=e[t];return n}},{key:"extend",value:function(e,t){var n=this;"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t});var i=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach(function(r){n.isObject(t[r])&&r in e?i[r]=n.extend(e[r],t[r]):Object.assign(i,l({},r,t[r]))}),i}},{key:"extendArray",value:function(t,n){var i=[];return t.map(function(t){i.push(e.extend(n,t))}),i}},{key:"monthMod",value:function(e){return e%12}},{key:"addProps",value:function(e,t,n){"string"==typeof t&&(t=t.split(".")),e[t[0]]=e[t[0]]||{};var i=e[t[0]];return t.length>1?(t.shift(),this.addProps(i,t,n)):e[t[0]]=n,e}},{key:"clone",value:function(e){if("[object Array]"===Object.prototype.toString.call(e)){for(var t=[],n=0;n<e.length;n++)t[n]=this.clone(e[n]);return t}if("object"===r(e)){var i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=this.clone(e[o]));return i}return e}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return null===e?e:parseFloat(e)}},{key:"noExponents",value:function(e){var t=String(e).split(/[eE]/);if(1==t.length)return t[0];var n="",i=e<0?"-":"",r=t[0].replace(".",""),o=Number(t[1])+1;if(o<0){for(n=i+"0.";o++;)n+="0";return n+r.replace(/^\-/,"")}for(o-=r.length;o--;)n+="0";return r+n}},{key:"getDimensions",value:function(e){var t=getComputedStyle(e),n=[],i=e.clientHeight,r=e.clientWidth;return i-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),r-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),n.push(r),n.push(i),n}},{key:"getBoundingClientRect",value:function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var n=e.replace("#","");n=n.match(new RegExp("(.{"+n.length/3+"})","g"));for(var i=0;i<n.length;i++)n[i]=parseInt(1===n[i].length?n[i]+n[i]:n[i],16);return void 0!==t&&n.push(t),"rgba("+n.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))[3]}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}},{key:"polarToCartesian",value:function(e,t,n,i){var r=(i-90)*Math.PI/180;return{x:e+n*Math.cos(r),y:t+n*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=e.toString().slice();return n.replace(/[` ~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,n){if(n>=e.length)for(var i=n-e.length+1;i--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d\.]*/g,""))}},{key:"randomString",value:function(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",i=0;i<e;i++)t+=n.charAt(Math.floor(Math.random()*n.length));return t}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e.style.key=t[n])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0&&parseInt(e.substring(i+5,e.indexOf(".",i)),10)}}]),e}(),m=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"getDefaultFilter",value:function(e,t){var n=this.w;e.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==n.config.states.normal.filter?this.applyFilter(e,t,n.config.states.normal.filter.type,n.config.states.normal.filter.value):n.config.chart.dropShadow.enabled&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var n=this.w;n.config.chart.dropShadow.enabled&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,n){var i=this,r=this.w,o=n.intensity;if(!p.isFirefox()){e.unfilter(!0);var s=new window.SVG.Filter;s.size("120%","180%","-5%","-40%"),e.filter(function(e){var n=r.config.chart.dropShadow;(s=n.enabled?i.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:o}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}}},{key:"addDarkenFilter",value:function(e,t,n){var i=this,r=this.w,o=n.intensity;if(!p.isFirefox()){e.unfilter(!0);var s=new window.SVG.Filter;s.size("120%","180%","-5%","-40%"),e.filter(function(e){var n=r.config.chart.dropShadow;(s=n.enabled?i.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:o}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}}},{key:"applyFilter",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(n){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:i});break;case"darken":this.addDarkenFilter(e,t,{intensity:i})}}},{key:"addShadow",value:function(e,t,n){var i=n.blur,r=n.top,o=n.left,s=n.color,a=n.opacity,l=e.flood(Array.isArray(s)?s[t]:s,a).composite(e.sourceAlpha,"in").offset(o,r).gaussianBlur(i).merge(e.source);return e.blend(e.source,l)}},{key:"dropShadow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.top,r=t.left,o=t.blur,s=t.color,a=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),p.isIE()&&"radialBar"===c.config.chart.type?e:(s=Array.isArray(s)?s[n]:s,(new window.SVG.Filter).size("120%","180%","-5%","-40%"),e.filter(function(e){var t;t=p.isSafari()||p.isFirefox()||p.isIE()?e.flood(s,a).composite(e.sourceAlpha,"in").offset(r,i).gaussianBlur(o):e.flood(s,a).composite(e.sourceAlpha,"in").offset(r,i).gaussianBlur(o).merge(e.source),e.blend(e.source,t)}),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),e)}},{key:"setSelectionFilter",value:function(e,t,n){var i=this.w;if(void 0!==i.globals.selectedDataPoints[t]&&i.globals.selectedDataPoints[t].indexOf(n)>-1){e.node.setAttribute("selected",!0);var r=i.config.states.active.filter;"none"!==r&&this.applyFilter(e,t,r.type,r.value)}}}]),e}(),g=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.setEasingFunctions()}return a(e,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":e="<>";break;case"swing":e=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1};break;case"bounce":e=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375};break;case"elastic":e=function(e){return e===!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1};break;default:e="<>"}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,n,i){e.attr(t).animate(i).attr(n)}},{key:"animateCircleRadius",value:function(e,t,n,i,r){t||(t=0),e.attr({r:t}).animate(i,r).attr({r:n})}},{key:"animateCircle",value:function(e,t,n,i,r){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(i,r).attr({r:n.r,cx:n.cx,cy:n.cy})}},{key:"animateRect",value:function(e,t,n,i,r){e.attr(t).animate(i).attr(n).afterAll(function(){r()})}},{key:"animatePathsGradually",value:function(e){var t=e.el,n=e.j,i=e.pathFrom,r=e.pathTo,o=e.speed,s=e.delay,a=e.strokeWidth,l=this.w,c=0;l.config.chart.animations.animateGradually.enabled&&(c=l.config.chart.animations.animateGradually.delay),l.config.chart.animations.dynamicAnimation.enabled&&l.globals.dataChanged&&(c=0),this.morphSVG(t,n,i,r,o,a,s*c)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(e){e.el.classList.remove("hidden")})}},{key:"animationCompleted",value:function(){var e=this.w;e.globals.animationEnded=!0,"function"==typeof e.config.chart.events.animationEnd&&e.config.chart.events.animationEnd(this.ctx,e)}},{key:"morphSVG",value:function(e,t,n,i,r,o,s){var a=this,l=this.w;n||(n=e.attr("pathFrom")),i||(i=e.attr("pathTo")),(!n||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(l.globals.gridHeight),r=1),(i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i="M 0 ".concat(l.globals.gridHeight),r=1),l.globals.shouldAnimate||(r=1),e.plot(n).animate(1,l.globals.easing,s).plot(n).animate(r,l.globals.easing,s).plot(i).afterAll(function(){p.isNumber(t)?t===l.globals.series[l.globals.maxValsInArrayIndex].length-2&&l.globals.shouldAnimate&&a.animationCompleted():l.globals.shouldAnimate&&a.animationCompleted(),a.showDelayedElements()})}}]),e}(),v=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"drawLine",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:n,y2:i,stroke:r,"stroke-dasharray":o,"stroke-width":s})}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w.globals.dom.Paper.rect();return u.attr({x:e,y:t,width:n>0?n:0,height:i>0?i:0,rx:r,ry:r,fill:o,opacity:s,"stroke-width":null!==a?a:0,stroke:null!==l?l:"none","stroke-dasharray":c}),u}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:n,stroke:t})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w.globals.dom.Paper.circle(2*e);return null!==t&&n.attr(t),n}},{key:"drawPath",value:function(e){var t=e.d,n=void 0===t?"":t,i=e.stroke,r=void 0===i?"#a8a8a8":i,o=e.strokeWidth,s=void 0===o?1:o,a=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,h=e.classes,f=e.strokeLinecap,p=void 0===f?null:f,m=e.strokeDashArray,g=void 0===m?0:m,v=this.w;return null===p&&(p=v.config.stroke.lineCap),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(n).attr({fill:a,"fill-opacity":c,stroke:r,"stroke-opacity":d,"stroke-linecap":p,"stroke-width":s,"stroke-dasharray":g,class:h})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w.globals.dom.Paper.group();return null!==e&&t.attr(e),t}},{key:"move",value:function(e,t){return["M",e,t].join(" ")}},{key:"line",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=null;return null===n?i=["L",e,t].join(" "):"H"===n?i=["H",e].join(" "):"V"===n&&(i=["V",t].join(" ")),i}},{key:"curve",value:function(e,t,n,i,r,o){return["C",e,t,n,i,r,o].join(" ")}},{key:"quadraticCurve",value:function(e,t,n,i){return["Q",e,t,n,i].join(" ")}},{key:"arc",value:function(e,t,n,i,r,o,s){var a="A";arguments.length>7&&void 0!==arguments[7]&&arguments[7]&&(a="a");var l=[a,e,t,n,i,r,o,s].join(" ");return l}},{key:"renderPaths",value:function(e){var t,n=e.j,i=e.realIndex,r=e.pathFrom,o=e.pathTo,s=e.stroke,a=e.strokeWidth,l=e.strokeLinecap,u=e.fill,d=e.animationDelay,h=e.initialSpeed,f=e.dataChangeSpeed,p=e.className,v=e.shouldClipToGrid,y=void 0===v||v,b=e.bindEventsOnPaths,_=void 0===b||b,w=e.drawShadow,x=void 0===w||w,A=this.w,C=new m(this.ctx),k=new g(this.ctx),M=this.w.config.chart.animations.enabled,S=M&&this.w.config.chart.animations.dynamicAnimation.enabled,L=!!(M&&!A.globals.resized||S&&A.globals.dataChanged&&A.globals.shouldAnimate);L?t=r:(t=o,k.animationCompleted());var E,D=A.config.stroke.dashArray;E=Array.isArray(D)?D[i]:A.config.stroke.dashArray;var T=this.drawPath({d:t,stroke:s,strokeWidth:a,fill:u,fillOpacity:1,classes:p,strokeLinecap:l,strokeDashArray:E});if(T.attr("index",i),y&&T.attr({"clip-path":"url(#gridRectMask".concat(A.globals.cuid,")")}),"none"!==A.config.states.normal.filter.type)C.getDefaultFilter(T,i);else if(A.config.chart.dropShadow.enabled&&x&&(!A.config.chart.dropShadow.enabledSeries||A.config.chart.dropShadow.enabledSeries&&-1!==A.config.chart.dropShadow.enabledSeries.indexOf(i))){var I=A.config.chart.dropShadow;C.dropShadow(T,I,i)}_&&(T.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,T)),T.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,T)),T.node.addEventListener("mousedown",this.pathMouseDown.bind(this,T))),T.attr({pathTo:o,pathFrom:r});var j={el:T,j:n,pathFrom:r,pathTo:o,strokeWidth:a};return!M||A.globals.resized||A.globals.dataChanged?!A.globals.resized&&A.globals.dataChanged||k.showDelayedElements():k.animatePathsGradually(c({},j,{speed:h,delay:d})),A.globals.dataChanged&&S&&L&&k.animatePathsGradually(c({},j,{speed:f})),T}},{key:"drawPattern",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,n,function(o){"horizontalLines"===e?o.line(0,0,n,0).stroke({color:i,width:r+1}):"verticalLines"===e?o.line(0,0,0,t).stroke({color:i,width:r+1}):"slantedLines"===e?o.line(0,0,t,n).stroke({color:i,width:r}):"squares"===e?o.rect(t,n).fill("none").stroke({color:i,width:r}):"circles"===e&&o.circle(t).fill("none").stroke({color:i,width:r})})}},{key:"drawGradient",value:function(e,t,n,i,r){var o,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t=p.hexToRgba(t,i),n=p.hexToRgba(n,r);var d=0,h=1,f=1,m=null;null!==a&&(d=void 0!==a[0]?a[0]/100:0,h=void 0!==a[1]?a[1]/100:1,f=void 0!==a[2]?a[2]/100:1,m=void 0!==a[3]?a[3]/100:null);var g=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(o=null===l||0===l.length?u.globals.dom.Paper.gradient(g?"radial":"linear",function(e){e.at(d,t,i),e.at(h,n,r),e.at(f,n,r),null!==m&&e.at(m,t,i)}):u.globals.dom.Paper.gradient(g?"radial":"linear",function(e){(Array.isArray(l[c])?l[c]:l).forEach(function(t){e.at(t.offset/100,t.color,t.opacity)})}),g){var v=u.globals.gridWidth/2,y=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?o.attr({gradientUnits:"userSpaceOnUse",cx:v,cy:y,r:s}):o.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?o.from(0,0).to(0,1):"diagonal"===e?o.from(0,0).to(1,1):"horizontal"===e?o.from(0,1).to(1,1):"diagonal2"===e&&o.from(0,1).to(2,2);return o}},{key:"drawText",value:function(e){var t,n=this.w,i=e.x,r=e.y,o=e.text,s=e.textAnchor,a=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.foreColor,d=e.opacity;return void 0===o&&(o=""),s||(s="start"),u||(u=n.config.chart.foreColor),l=l||n.config.chart.fontFamily,c=c||"regular",(t=Array.isArray(o)?n.globals.dom.Paper.text(function(e){for(var t=0;t<o.length;t++)e.tspan(o[t])}):n.globals.dom.Paper.plain(o)).attr({x:i,y:r,"text-anchor":s,"dominant-baseline":"auto","font-size":a,"font-family":l,"font-weight":c,fill:u,class:(e.cssClass,e.cssClass)}),t.node.style.fontFamily=l,t.node.style.opacity=d,t}},{key:"addTspan",value:function(e,t,n){var i=e.tspan(t);n||(n=this.w.config.chart.fontFamily),i.node.style.fontFamily=n}},{key:"drawMarker",value:function(e,t,n){e=e||0;var i=n.pSize||0,r=null;if("square"===n.shape){var o=void 0===n.pRadius?i/2:n.pRadius;null===t&&(i=0,o=0);var s=1.2*i+o,a=this.drawRect(s,s,s,s,o);a.attr({x:e-s/2,y:t-s/2,cx:e,cy:t,class:n.class?n.class:"",fill:n.pointFillColor,"fill-opacity":n.pointFillOpacity?n.pointFillOpacity:1,stroke:n.pointStrokeColor,"stroke-width":n.pWidth?n.pWidth:0,"stroke-opacity":n.pointStrokeOpacity?n.pointStrokeOpacity:1}),r=a}else"circle"===n.shape&&(p.isNumber(t)||(i=0,t=0),r=this.drawCircle(i,{cx:e,cy:t,class:n.class?n.class:"",stroke:n.pointStrokeColor,fill:n.pointFillColor,"fill-opacity":n.pointFillOpacity?n.pointFillOpacity:1,"stroke-width":n.pWidth?n.pWidth:0,"stroke-opacity":n.pointStrokeOpacity?n.pointStrokeOpacity:1}));return r}},{key:"pathMouseEnter",value:function(e,t){var n=this.w,i=new m(this.ctx),r=parseInt(e.node.getAttribute("index")),o=parseInt(e.node.getAttribute("j"));if("function"==typeof n.config.chart.events.dataPointMouseEnter&&n.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:o,w:n}),this.ctx.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:o,w:n}]),("none"===n.config.states.active.filter.type||"true"!==e.node.getAttribute("selected"))&&"none"!==n.config.states.hover.filter.type&&"none"!==n.config.states.active.filter.type&&!n.globals.isTouchDevice){var s=n.config.states.hover.filter;i.applyFilter(e,r,s.type,s.value)}}},{key:"pathMouseLeave",value:function(e,t){var n=this.w,i=new m(this.ctx),r=parseInt(e.node.getAttribute("index")),o=parseInt(e.node.getAttribute("j"));"function"==typeof n.config.chart.events.dataPointMouseLeave&&n.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:o,w:n}),this.ctx.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:o,w:n}]),"none"!==n.config.states.active.filter.type&&"true"===e.node.getAttribute("selected")||"none"!==n.config.states.hover.filter.type&&i.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var n=this.w,i=new m(this.ctx),r=parseInt(e.node.getAttribute("index")),o=parseInt(e.node.getAttribute("j")),s="false";if("true"===e.node.getAttribute("selected")){if(e.node.setAttribute("selected","false"),n.globals.selectedDataPoints[r].indexOf(o)>-1){var a=n.globals.selectedDataPoints[r].indexOf(o);n.globals.selectedDataPoints[r].splice(a,1)}}else{if(!n.config.states.active.allowMultipleDataPointsSelection&&n.globals.selectedDataPoints.length>0){n.globals.selectedDataPoints=[];var l=n.globals.dom.Paper.select(".apexcharts-series path").members,c=n.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members;l.forEach(function(e){e.node.setAttribute("selected","false"),i.getDefaultFilter(e,r)}),c.forEach(function(e){e.node.setAttribute("selected","false"),i.getDefaultFilter(e,r)})}e.node.setAttribute("selected","true"),s="true",void 0===n.globals.selectedDataPoints[r]&&(n.globals.selectedDataPoints[r]=[]),n.globals.selectedDataPoints[r].push(o)}if("true"===s){var u=n.config.states.active.filter;"none"!==u&&i.applyFilter(e,r,u.type,u.value)}else"none"!==n.config.states.active.filter.type&&i.getDefaultFilter(e,r);"function"==typeof n.config.chart.events.dataPointSelection&&n.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:o,w:n}),t&&this.ctx.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:o,w:n}])}},{key:"rotateAroundCenter",value:function(e){var t=e.getBBox();return{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,n,i){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.w,s=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:n,foreColor:"#fff",opacity:0});i&&s.attr("transform",i),o.globals.dom.Paper.add(s);var a=s.bbox();return r||(a=s.node.getBoundingClientRect()),s.remove(),{width:a.width,height:a.height}}},{key:"placeTextWithEllipsis",value:function(e,t,n){if(e.textContent=t,t.length>0&&e.getComputedTextLength()>=n){for(var i=t.length-3;i>0;i-=3)if(e.getSubStringLength(0,i)<=n)return void(e.textContent=t.substring(0,i)+"...");e.textContent="..."}}}],[{key:"setAttrs",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}}]),e}();var y={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},b=function(){function e(){o(this,e),this.yAxis={show:!0,showAlways:!1,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#78909C",offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#78909C",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.xAxisAnnotation={x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.yAxisAnnotation={y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",opacity:.3,offsetX:0,offsetY:0,yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"",padding:{left:5,right:5,top:0,bottom:2}}}},this.pointAnnotation={x:0,y:null,yAxisIndex:0,seriesIndex:0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"middle",offsetX:0,offsetY:-15,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"",padding:{left:5,right:5,top:0,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0}}}return a(e,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[y],defaultLocale:"en",dropShadow:{enabled:!1,enabledSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,zoomed:void 0,scrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,endingShape:"flat",colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1},dataLabels:{maxItems:100,hideOverflowingLabels:!0,position:"top"}},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!0,distributed:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{size:void 0,inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,color:void 0,offsetY:0},value:{show:!0,fontSize:"14px",fontFamily:void 0,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce(function(e,t){return e+t},0)/e.globals.series.length+"%"}}}},rangeBar:{},pie:{size:void 0,customScale:1,offsetX:0,offsetY:0,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,color:void 0,offsetY:-10},value:{show:!0,fontSize:"20px",fontFamily:void 0,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,label:"Total",color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce(function(e,t){return e+t},0)}}}}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,colors:void 0},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"sqaures",width:6,height:6,strokeWidth:2}},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1,animate:!1}},yaxis:{lines:{show:!0,animate:!1}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:0,labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:0,vertical:5},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,fillOpacity:1,shape:"circle",radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.15}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.65}}},title:{text:void 0,align:"left",margin:10,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:10,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],offsetX:0,offsetY:0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!0,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss"}},axisBorder:{show:!0,color:"#78909C",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#78909C",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),e}(),_=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.graphics=new v(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return a(e,[{key:"drawAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.drawYAxisAnnotations(),n=this.drawXAxisAnnotations(),i=this.drawPointAnnotations(),r=e.config.chart.animations.enabled,o=[t,n,i],s=[n.node,t.node,i.node],a=0;a<3;a++)e.globals.dom.elGraphical.add(o[a]),!r||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&s[a].classList.add("hidden"),e.globals.delayedElements.push({el:s[a],index:0});this.annotationsBackground()}}},{key:"getStringX",value:function(e){var t=this.w,n=e,i=t.globals.labels.indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(i+1)+")");return r&&(n=parseFloat(r.getAttribute("x"))),n}},{key:"addXaxisAnnotation",value:function(e,t,n){var i=this.w,r=this.invertAxis?i.globals.minY:i.globals.minX,o=this.invertAxis?i.globals.yRange[0]:i.globals.xRange,s=(e.x-r)/(o/i.globals.gridWidth),a=e.label.text;"category"!==i.config.xaxis.type&&!i.config.xaxis.convertedCatToNumeric||this.invertAxis||i.globals.isXNumeric||(s=this.getStringX(e.x));var l=e.strokeDashArray;if(!(s<0||s>i.globals.gridWidth)){if(null===e.x2){var c=this.graphics.drawLine(s+e.offsetX,0+e.offsetY,s+e.offsetX,i.globals.gridHeight+e.offsetY,e.borderColor,l);t.appendChild(c.node)}else{var u=(e.x2-r)/(o/i.globals.gridWidth);if("category"!==i.config.xaxis.type&&!i.config.xaxis.convertedCatToNumeric||this.invertAxis||i.globals.isXNumeric||(u=this.getStringX(e.x2)),u<s){var d=s;s=u,u=d}if(a){var h=this.graphics.drawRect(s+e.offsetX,0+e.offsetY,u-s,i.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,l);t.appendChild(h.node)}}var f="top"===e.label.position?-3:i.globals.gridHeight,p=this.graphics.drawText({x:s+e.label.offsetX,y:f+e.label.offsetY,text:a,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label "+e.label.style.cssClass});p.attr({rel:n}),t.appendChild(p.node),this.setOrientations(e,n)}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,n=this.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map(function(t,i){e.addXaxisAnnotation(t,n.node,i)}),n}},{key:"addYaxisAnnotation",value:function(e,t,n){var i,r,o=this.w,s=e.strokeDashArray;if(this.invertAxis){var a=o.globals.labels.indexOf(e.y),l=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(a+1)+")");l&&(i=parseFloat(l.getAttribute("y")))}else i=o.globals.gridHeight-(e.y-o.globals.minYArr[e.yAxisIndex])/(o.globals.yRange[e.yAxisIndex]/o.globals.gridHeight),o.config.yaxis[e.yAxisIndex]&&o.config.yaxis[e.yAxisIndex].reversed&&(i=(e.y-o.globals.minYArr[e.yAxisIndex])/(o.globals.yRange[e.yAxisIndex]/o.globals.gridHeight));var c=e.label.text;if(null===e.y2){var u=this.graphics.drawLine(0+e.offsetX,i+e.offsetY,o.globals.gridWidth+e.offsetX,i+e.offsetY,e.borderColor,s);t.appendChild(u.node)}else{if(this.invertAxis){var d=o.globals.labels.indexOf(e.y2),h=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(d+1)+")");h&&(r=parseFloat(h.getAttribute("y")))}else r=o.globals.gridHeight-(e.y2-o.globals.minYArr[e.yAxisIndex])/(o.globals.yRange[e.yAxisIndex]/o.globals.gridHeight),o.config.yaxis[e.yAxisIndex]&&o.config.yaxis[e.yAxisIndex].reversed&&(r=(e.y2-o.globals.minYArr[e.yAxisIndex])/(o.globals.yRange[e.yAxisIndex]/o.globals.gridHeight));if(r>i){var f=i;i=r,r=f}if(c){var p=this.graphics.drawRect(0+e.offsetX,r+e.offsetY,o.globals.gridWidth+e.offsetX,i-r,0,e.fillColor,e.opacity,1,e.borderColor,s);t.appendChild(p.node)}}var m="right"===e.label.position?o.globals.gridWidth:0,g=this.graphics.drawText({x:m+e.label.offsetX,y:(r||i)+e.label.offsetY-3,text:c,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label "+e.label.style.cssClass});g.attr({rel:n}),t.appendChild(g.node)}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,n=this.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map(function(t,i){e.addYaxisAnnotation(t,n.node,i)}),n}},{key:"clearAnnotations",value:function(e){var t=e.w.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");(t=p.listToArray(t)).forEach(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)})}},{key:"addPointAnnotation",value:function(e,t,n){var i=this.w,r=0,o=0,s=0;if(this.invertAxis&&console.warn("Point annotation is not supported in horizontal bar charts."),"string"==typeof e.x){var a=i.globals.labels.indexOf(e.x),l=i.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(a+1)+")");r=parseFloat(l.getAttribute("x"));var c=e.y;null===e.y&&(c=i.globals.series[e.seriesIndex][a]),o=i.globals.gridHeight-(c-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight)-parseInt(e.label.style.fontSize)-e.marker.size,s=i.globals.gridHeight-(c-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight),i.config.yaxis[e.yAxisIndex]&&i.config.yaxis[e.yAxisIndex].reversed&&(o=(c-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight)+parseInt(e.label.style.fontSize)+e.marker.size,s=(c-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight))}else r=(e.x-i.globals.minX)/(i.globals.xRange/i.globals.gridWidth),o=i.globals.gridHeight-(parseFloat(e.y)-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight)-parseInt(e.label.style.fontSize)-e.marker.size,s=i.globals.gridHeight-(e.y-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight),i.config.yaxis[e.yAxisIndex]&&i.config.yaxis[e.yAxisIndex].reversed&&(o=(parseFloat(e.y)-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight)-parseInt(e.label.style.fontSize)-e.marker.size,s=(e.y-i.globals.minYArr[e.yAxisIndex])/(i.globals.yRange[e.yAxisIndex]/i.globals.gridHeight));if(!(r<0||r>i.globals.gridWidth)){var u={pSize:e.marker.size,pWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,radius:e.marker.radius,class:"apexcharts-point-annotation-marker "+e.marker.cssClass},d=this.graphics.drawMarker(r+e.marker.offsetX,s+e.marker.offsetY,u);t.appendChild(d.node);var h=e.label.text?e.label.text:"",f=this.graphics.drawText({x:r+e.label.offsetX,y:o+e.label.offsetY,text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label "+e.label.style.cssClass});if(f.attr({rel:n}),t.appendChild(f.node),e.customSVG.SVG){var p=this.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});p.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(o+e.customSVG.offsetY,")")}),p.node.innerHTML=e.customSVG.SVG,t.appendChild(p.node)}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,n=this.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map(function(t,i){e.addPointAnnotation(t,n.node,i)}),n}},{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;if("vertical"===e.label.orientation){var i=null!==t?t:0,r=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(i,"']"));if(null!==r){var o=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-o.height+4),"top"===e.label.position?r.setAttribute("y",parseFloat(r.getAttribute("y"))+o.width):r.setAttribute("y",parseFloat(r.getAttribute("y"))-o.width);var s=this.graphics.rotateAroundCenter(r),a=s.x,l=s.y;r.setAttribute("transform","rotate(-90 ".concat(a," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var n=this.w;if(!t.label.text||t.label.text&&!t.label.text.trim())return null;var i=n.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),o=t.label.style.padding.left,s=t.label.style.padding.right,a=t.label.style.padding.top,l=t.label.style.padding.bottom;"vertical"===t.label.orientation&&(a=t.label.style.padding.left,l=t.label.style.padding.right,o=t.label.style.padding.top,s=t.label.style.padding.bottom);var c=r.left-i.left-o,u=r.top-i.top-a;return this.graphics.drawRect(c,u,r.width+o+s,r.height+a+l,0,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0)}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,n=function(n,i,r){var o=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(i,"']"));if(o){var s=o.parentNode,a=e.addBackgroundToAnno(o,n);a&&s.insertBefore(a.node,o)}};t.config.annotations.xaxis.map(function(e,t){n(e,t,"xaxis")}),t.config.annotations.yaxis.map(function(e,t){n(e,t,"yaxis")}),t.config.annotations.points.map(function(e,t){n(e,t,"point")})}},{key:"addText",value:function(e,t,n){var i=e.x,r=e.y,o=e.text,s=e.textAnchor,a=e.appendTo,l=void 0===a?".apexcharts-inner":a,c=e.foreColor,u=e.fontSize,d=e.fontFamily,h=e.cssClass,f=e.backgroundColor,p=e.borderWidth,m=e.strokeDashArray,g=e.radius,v=e.borderColor,y=e.paddingLeft,b=void 0===y?4:y,_=e.paddingRight,w=void 0===_?4:_,x=e.paddingBottom,A=void 0===x?2:x,C=e.paddingTop,k=void 0===C?2:C,M=n,S=M.w,L=S.globals.dom.baseEl.querySelector(l),E=this.graphics.drawText({x:i,y:r,text:o,textAnchor:s||"start",fontSize:u||"12px",fontFamily:d||S.config.chart.fontFamily,foreColor:c||S.config.chart.foreColor,cssClass:h});L.appendChild(E.node);var D=E.bbox();if(o){var T=this.graphics.drawRect(D.x-b,D.y-k,D.width+b+w,D.height+A+k,g,f,1,p,v,m);E.before(T)}return t&&S.globals.memory.methodsToExec.push({context:M,method:M.addText,params:{x:i,y:r,text:o,textAnchor:s,appendTo:l,foreColor:c,fontSize:u,cssClass:h,backgroundColor:f,borderWidth:p,strokeDashArray:m,radius:g,borderColor:v,paddingLeft:b,paddingRight:w,paddingBottom:A,paddingTop:k}}),n}},{key:"addPointAnnotationExternal",value:function(e,t,n){return void 0===this.invertAxis&&(this.invertAxis=n.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"point",contextMethod:n.addPointAnnotation}),n}},{key:"addYaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"yaxis",contextMethod:n.addYaxisAnnotation}),n}},{key:"addXaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"xaxis",contextMethod:n.addXaxisAnnotation}),n}},{key:"addAnnotationExternal",value:function(e){var t=e.params,n=e.pushToMemory,i=e.context,r=e.type,o=e.contextMethod,s=i,a=s.w,l=a.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),c=l.childNodes.length+1,u=new b,d=Object.assign({},"xaxis"===r?u.xAxisAnnotation:"yaxis"===r?u.yAxisAnnotation:u.pointAnnotation),h=p.extend(d,t);switch(r){case"xaxis":this.addXaxisAnnotation(h,l,c);break;case"yaxis":this.addYaxisAnnotation(h,l,c);break;case"point":this.addPointAnnotation(h,l,c)}var f=a.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(c,"']")),m=this.addBackgroundToAnno(f,h);return m&&l.insertBefore(m.node,f),n&&a.globals.memory.methodsToExec.push({context:s,method:o,params:t}),i}}]),e}(),w=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return a(e,[{key:"isValidDate",value:function(e){return!isNaN(this.parseDate(e))}},{key:"getUTCTimeStamp",value:function(e){return Date.parse(e)?new Date(new Date(e).toISOString().substr(0,25)).getTime():e}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getUTCTimeStamp(e);var n=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getUTCTimeStamp(n)}},{key:"treatAsUtc",value:function(e){var t=new Date(e);return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),t}},{key:"formatDate",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.w.globals.locale,o=["\0"].concat(f(r.months)),s=[""].concat(f(r.shortMonths)),a=[""].concat(f(r.days)),l=[""].concat(f(r.shortDays));function c(e,t){var n=e+"";for(t=t||2;n.length<t;)n="0"+n;return n}i&&(e=this.treatAsUtc(e));var u=n?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+u)).replace(/(^|[^\\])yy/g,"$1"+u.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+u);var d=(n?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+o[0])).replace(/(^|[^\\])MMM/g,"$1"+s[0])).replace(/(^|[^\\])MM/g,"$1"+c(d))).replace(/(^|[^\\])M/g,"$1"+d);var h=n?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+a[0])).replace(/(^|[^\\])ddd/g,"$1"+l[0])).replace(/(^|[^\\])dd/g,"$1"+c(h))).replace(/(^|[^\\])d/g,"$1"+h);var p=n?e.getUTCHours():e.getHours(),m=p>12?p-12:0===p?12:p;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+c(p))).replace(/(^|[^\\])H/g,"$1"+p)).replace(/(^|[^\\])hh+/g,"$1"+c(m))).replace(/(^|[^\\])h/g,"$1"+m);var g=n?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+c(g))).replace(/(^|[^\\])m/g,"$1"+g);var v=n?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+c(v))).replace(/(^|[^\\])s/g,"$1"+v);var y=n?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+c(y,3)),y=Math.round(y/10),t=t.replace(/(^|[^\\])ff/g,"$1"+c(y)),y=Math.round(y/10);var b=p<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+y)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var _=b.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+_)).replace(/(^|[^\\])t/g,"$1"+_.charAt(0));var w=-e.getTimezoneOffset(),x=n||!w?"Z":w>0?"+":"-";if(!n){var A=(w=Math.abs(w))%60;x+=c(Math.floor(w/60))+":"+c(A)}t=t.replace(/(^|[^\\])K/g,"$1"+x);var C=(n?e.getUTCDay():e.getDay())+1;return(t=(t=(t=(t=t.replace(new RegExp(a[0],"g"),a[C])).replace(new RegExp(l[0],"g"),l[C])).replace(new RegExp(o[0],"g"),o[d])).replace(new RegExp(s[0],"g"),s[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t){var n=this.w;void 0!==n.config.xaxis.min&&(e=n.config.xaxis.min),void 0!==n.config.xaxis.max&&(t=n.config.xaxis.max);var i=new Date(e).getFullYear(),r=new Date(t).getFullYear(),o=new Date(e).getMonth(),s=new Date(t).getMonth(),a=new Date(e).getDate(),l=new Date(t).getDate(),c=new Date(e).getHours(),u=new Date(t).getHours();return{minMinute:new Date(e).getMinutes(),maxMinute:new Date(t).getMinutes(),minHour:c,maxHour:u,minDate:a,maxDate:l,minMonth:o,maxMonth:s,minYear:i,maxYear:r}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,n){return this.determineDaysOfMonths(e,t)-n}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,n){var i=this.daysCntOfYear[t]+n;return t>1&&this.isLeapYear()&&i++,i}},{key:"determineDaysOfMonths",value:function(e,t){var n=30;switch(e=p.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(n=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:n=31}return n}}]),e}(),x=function(){function e(t){o(this,e),this.opts=t}return a(e,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.opts.yaxis[0].labels.show=!1,this.opts.yaxis[0].floating=!0,p.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]}},stroke:{width:0},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1},xaxis:{tooltip:{enabled:!1},crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){return{stroke:{width:1,colors:["#333"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(e){var t=e.seriesIndex,n=e.dataPointIndex,i=e.w;return'<div class="apexcharts-tooltip-candlestick"><div>Open: <span class="value">'+i.globals.seriesCandleO[t][n]+'</span></div><div>High: <span class="value">'+i.globals.seriesCandleH[t][n]+'</span></div><div>Low: <span class="value">'+i.globals.seriesCandleL[t][n]+'</span></div><div>Close: <span class="value">'+i.globals.seriesCandleC[t][n]+"</span></div></div>"}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var n=t.seriesIndex,i=t.dataPointIndex,r=t.w,o=r.globals.seriesRangeStart[n][i];return r.globals.seriesRangeEnd[n][i]-o},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(e){var t=e.ctx,n=e.seriesIndex,i=e.dataPointIndex,r=e.w,o=r.globals.seriesRangeStart[n][i],s=r.globals.seriesRangeEnd[n][i],a="",l="",c=r.globals.colors[n];if(void 0===r.config.tooltip.x.formatter)if("datetime"===r.config.xaxis.type){var u=new w(t);a=u.formatDate(new Date(o),r.config.tooltip.x.format,!0,!0),l=u.formatDate(new Date(s),r.config.tooltip.x.format,!0,!0)}else a=o,l=s;else a=r.config.tooltip.x.formatter(o),l=r.config.tooltip.x.formatter(s);var d=r.globals.labels[i];return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+c+'">'+(r.config.series[n].name?r.config.series[n].name:"")+'</span></div><div> <span class="category">'+d+': </span> <span class="value start-value">'+a+'</span> <span class="separator">-</span> <span class="value end-value">'+l+"</span></div></div>"}},xaxis:{tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(e){return p.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(){var e=this;this.opts.dataLabels=this.opts.dataLabels||{},this.opts.dataLabels.formatter=this.opts.dataLabels.formatter||void 0;var t=this.opts.dataLabels.formatter;this.opts.yaxis.forEach(function(t,n){e.opts.yaxis[n].min=0,e.opts.yaxis[n].max=100}),"bar"===this.opts.chart.type&&(this.opts.dataLabels.formatter=t||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e})}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:2,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1,zoom:{enabled:!1}},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"dark",shadeIntensity:.35,inverseColors:!1,stops:[0,100,100]}},padding:{right:0,left:0},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"vertical",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},padding:{right:0,left:0},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.style.fontSize="13px",this.opts.yaxis[0].labels.offsetY=6,{dataLabels:{enabled:!0,style:{colors:["#a8a8a8"],fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},padding:{right:0,left:0},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}}],[{key:"convertCatToNumeric",value:function(e){e.xaxis.type="numeric",e.xaxis.convertedCatToNumeric=!0,e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return e},e.chart=e.chart||{},e.chart.zoom=e.chart.zoom||window.Apex.chart&&window.Apex.chart.zoom||{};var t=e.xaxis.labels.formatter,n=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return n&&n.length&&(e.xaxis.labels.formatter=function(e){return t(n[e-1])}),e.xaxis.categories=[],e.labels=[],e.chart.zoom.enabled=e.chart.zoom.enabled||!1,e}}]),e}(),A=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"getStackedSeriesTotals",value:function(){var e=this.w,t=[];if(0===e.globals.series.length)return t;for(var n=0;n<e.globals.series[e.globals.maxValsInArrayIndex].length;n++){for(var i=0,r=0;r<e.globals.series.length;r++)i+=e.globals.series[r][n];t.push(i)}return e.globals.stackedSeriesTotals=t,t}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce(function(e,t){return e+t},0):this.w.globals.series[e].reduce(function(e,t){return e+t},0)}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter(function(e){return null!==e}):this.w.globals.series[e].filter(function(e){return null!==e})).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every(function(e,t,n){return e===n[0]})}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map(function(e){return e.length}).indexOf(Math.max.apply(Math,e.globals.series.map(function(e){return e.length})))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach(function(e){t=Math.max(t,e)}),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map(function(e,t){var n=0;if(Array.isArray(e))for(var i=0;i<e.length;i++)n+=e[i];else n+=e;return n})}},{key:"getSeriesTotalsXRange",value:function(e,t){var n=this.w;return n.globals.series.map(function(i,r){for(var o=0,s=0;s<i.length;s++)n.globals.seriesX[r][s]>e&&n.globals.seriesX[r][s]<t&&(o+=i[s]);return o})}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map(function(t,n){var i=[];if(Array.isArray(t))for(var r=0;r<t.length;r++){var o=e.globals.stackedSeriesTotals[r],s=0;o&&(s=100*t[r]/o),i.push(s)}else{var a=100*t/e.globals.seriesTotals.reduce(function(e,t){return e+t},0);i.push(a)}return i})}},{key:"getCalculatedRatios",value:function(){var e,t,n,i,r,o=this.w.globals,s=[],a=[],l=.1,c=0;if(o.yRange=[],o.isMultipleYAxis)for(var u=0;u<o.minYArr.length;u++)o.yRange.push(Math.abs(o.minYArr[u]-o.maxYArr[u])),a.push(0);else o.yRange.push(Math.abs(o.minY-o.maxY));o.xRange=Math.abs(o.maxX-o.minX),o.zRange=Math.abs(o.maxZ-o.minZ);for(var d=0;d<o.yRange.length;d++)s.push(o.yRange[d]/o.gridHeight);if(t=o.xRange/o.gridWidth,n=Math.abs(o.initialmaxX-o.initialminX)/o.gridWidth,e=o.yRange/o.gridWidth,i=o.xRange/o.gridHeight,r=o.zRange/o.gridHeight*16,o.minY!==Number.MIN_VALUE&&0!==Math.abs(o.minY)&&(o.hasNegs=!0),o.isMultipleYAxis){a=[];for(var h=0;h<s.length;h++)a.push(-o.minYArr[h]/s[h])}else a.push(-o.minY/s[0]),o.minY!==Number.MIN_VALUE&&0!==Math.abs(o.minY)&&(l=-o.minY/e,c=o.minX/t);return{yRatio:s,invertedYRatio:e,zRatio:r,xRatio:t,initialXRatio:n,invertedXRatio:i,baseLineInvertedY:l,baseLineY:a,baseLineX:c}}},{key:"getLogSeries",value:function(e){var t=this.w;return t.globals.seriesLog=e.map(function(e,n){return t.config.yaxis[n]&&t.config.yaxis[n].logarithmic?e.map(function(e){return null===e?null:(Math.log(e)-Math.log(t.globals.minYArr[n]))/(Math.log(t.globals.maxYArr[n])-Math.log(t.globals.minYArr[n]))}):e}),t.globals.seriesLog}},{key:"getLogYRatios",value:function(e){var t=this,n=this.w,i=this.w.globals;return i.yLogRatio=e.slice(),i.logYRange=i.yRange.map(function(e,r){if(n.config.yaxis[r]&&t.w.config.yaxis[r].logarithmic){var o,s=-Number.MAX_VALUE,a=Number.MIN_VALUE;return i.seriesLog.forEach(function(e,t){e.forEach(function(e){n.config.yaxis[t]&&n.config.yaxis[t].logarithmic&&(s=Math.max(e,s),a=Math.min(e,a))})}),o=Math.pow(i.yRange[r],Math.abs(a-s)/i.yRange[r]),i.yLogRatio[r]=o/i.gridHeight,o}}),i.yLogRatio}}],[{key:"checkComboSeries",value:function(e){var t=!1,n=!1;return e.length&&void 0!==e[0].type&&(t=!0,e.forEach(function(e){"bar"!==e.type&&"column"!==e.type||(n=!0)})),{comboCharts:t,comboChartsHasBars:n}}},{key:"extendArrayProps",value:function(e,t){return t.yaxis&&(t=e.extendYAxis(t)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),e}(),C=function(){function e(t){o(this,e),this.opts=t}return a(e,[{key:"init",value:function(){var e=this.opts,t=new b,n=new x(e);this.chartType=e.chart.type,"histogram"===this.chartType&&(e.chart.type="bar",e=p.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},e)),e=this.extendYAxis(e),e=this.extendAnnotations(e);var i=t.init(),o={};if(e&&"object"===r(e)){var s={};switch(this.chartType){case"line":s=n.line();break;case"area":s=n.area();break;case"bar":s=n.bar();break;case"candlestick":s=n.candlestick();break;case"rangeBar":s=n.rangeBar();break;case"histogram":s=n.bar();break;case"bubble":s=n.bubble();break;case"scatter":s=n.scatter();break;case"heatmap":s=n.heatmap();break;case"pie":s=n.pie();break;case"donut":s=n.donut();break;case"radar":s=n.radar();break;case"radialBar":s=n.radialBar();break;default:s=n.line()}e.chart.brush&&e.chart.brush.enabled&&(s=n.brush(s)),e.chart.stacked&&"100%"===e.chart.stackType&&n.stacked100(),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(e),e.xaxis=e.xaxis||window.Apex.xaxis||{};var a=A.checkComboSeries(e.series);"line"!==e.chart.type&&"area"!==e.chart.type&&"scatter"!==e.chart.type||a.comboChartsHasBars||"datetime"===e.xaxis.type||"numeric"===e.xaxis.type||"between"===e.xaxis.tickPlacement||(e=x.convertCatToNumeric(e)),(e.chart.sparkline&&e.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(s=n.sparkline(s)),o=p.extend(i,s)}var l=p.extend(o,window.Apex);return i=p.extend(l,e),this.handleUserInputErrors(i)}},{key:"extendYAxis",value:function(e){var t=new b;return void 0===e.yaxis&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=p.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[p.extend(t.yAxis,e.yaxis)]:e.yaxis=p.extendArray(e.yaxis,t.yAxis),e}},{key:"extendAnnotations",value:function(e){return void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new b;return e.annotations.yaxis=p.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new b;return e.annotations.xaxis=p.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new b;return e.annotations.points=p.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(t.chart.scroller&&console.warn("Scroller has been deprecated since v2.0.0. Please remove the configuration for chart.scroller"),("bar"===t.chart.type||"rangeBar"===t.chart.type)&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&("barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(console.warn('crosshairs.width = "barWidth" is only supported in single series, not in a multi-series barChart.'),t.xaxis.crosshairs.width="tickWidth"),t.plotOptions.bar.horizontal&&(t.states.hover.type="none",t.tooltip.shared=!1),t.tooltip.followCursor||(console.warn("followCursor option in shared columns cannot be turned off. Please set %ctooltip.followCursor: true","color: blue;"),t.tooltip.followCursor=!0)),"candlestick"===t.chart.type&&t.yaxis[0].reversed&&(console.warn("Reversed y-axis in candlestick chart is not supported."),t.yaxis[0].reversed=!1),t.chart.group&&0===t.yaxis[0].labels.minWidth&&console.warn("It looks like you have multiple charts in synchronization. You must provide yaxis.labels.minWidth which must be EQUAL for all grouped charts to prevent incorrect behaviour."),Array.isArray(t.stroke.width)&&"line"!==t.chart.type&&"area"!==t.chart.type&&(console.warn("stroke.width option accepts array only for line and area charts. Reverted back to Number"),t.stroke.width=t.stroke.width[0]),t}}]),e}(),k=function(){function e(){o(this,e)}return a(e,[{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,lastXAxis:[],lastYAxis:[],series:[],seriesRangeStart:[],seriesRangeEnd:[],seriesPercent:[],seriesTotals:[],stackedSeriesTotals:[],seriesX:[],seriesZ:[],labels:[],timelineLabels:[],invertedTimelineLabels:[],seriesNames:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],padHorizontal:0,maxValsInArrayIndex:0,radialSize:0,zoomEnabled:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,minY:Number.MIN_VALUE,maxY:-Number.MAX_VALUE,minYArr:[],maxYArr:[],maxX:-Number.MAX_VALUE,initialmaxX:-Number.MAX_VALUE,minX:Number.MIN_VALUE,initialminX:Number.MIN_VALUE,minZ:Number.MIN_VALUE,maxZ:-Number.MAX_VALUE,minXDiff:Number.MAX_VALUE,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yRange:[],zRange:0,xRange:0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,delayedElements:[],axisCharts:!0,isXNumeric:!1,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,comboChartsHasBars:!1,dataChanged:!1,previousPaths:[],seriesXvalues:[],seriesYvalues:[],seriesCandleO:[],seriesCandleH:[],seriesCandleL:[],seriesCandleC:[],allSeriesHasEqualX:!0,dataPoints:0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,yAxisScale:[],xAxisScale:null,xAxisTicksPositions:[],timescaleTicks:[],rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yLabelsCoords:[],yTitleCoords:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,tooltipOpts:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return t.initialConfig=p.extend({},e),t.initialSeries=JSON.parse(JSON.stringify(t.initialConfig.series)),t.lastXAxis=JSON.parse(JSON.stringify(t.initialConfig.xaxis)),t.lastYAxis=JSON.parse(JSON.stringify(t.initialConfig.yaxis)),t}}]),e}(),M=function(){function e(t){o(this,e),this.opts=t}return a(e,[{key:"init",value:function(){var e=new C(this.opts).init();return{config:e,globals:(new k).init(e)}}}]),e}(),S=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.opts=null,this.seriesIndex=0}return a(e,[{key:"clippedImgArea",value:function(e){var t=this.w,n=t.config,i=parseInt(t.globals.gridWidth),r=parseInt(t.globals.gridHeight),o=i>r?i:r,s=e.image,a=0,l=0;void 0===e.width&&void 0===e.height?void 0!==n.fill.image.width&&void 0!==n.fill.image.height?(a=n.fill.image.width+1,l=n.fill.image.height):(a=o+1,l=o):(a=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");v.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:a+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS("http://www.w3.org/1999/xlink","href",s),v.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:a+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w;return"bar"===t.config.chart.type&&t.config.plotOptions.bar.distributed||"heatmap"===t.config.chart.type?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var n,i,r,o=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var s=this.getFillColors()[this.seriesIndex];"function"==typeof s&&(s=s({seriesIndex:this.seriesIndex,value:e.value,w:t}));var a=this.getFillType(this.seriesIndex),l=Array.isArray(o.fill.opacity)?o.fill.opacity[this.seriesIndex]:o.fill.opacity,c=s;return e.color&&(s=e.color),-1===s.indexOf("rgb")?c=p.hexToRgba(s,l):s.indexOf("rgba")>-1&&(l="0."+p.getOpacityFromRGBA(s)),"pattern"===a&&(i=this.handlePatternFill(i,s,l,c)),"gradient"===a&&(r=this.handleGradientFill(r,s,l,this.seriesIndex)),o.fill.image.src.length>0&&"image"===a?e.seriesNumber<o.fill.image.src.length?(this.clippedImgArea({opacity:l,image:o.fill.image.src[e.seriesNumber],patternUnits:e.patternUnits,patternID:"pattern".concat(t.globals.cuid).concat(e.seriesNumber+1)}),n="url(#pattern".concat(t.globals.cuid).concat(e.seriesNumber+1,")")):n=c:n="gradient"===a?r:"pattern"===a?i:c,e.solid&&(n=c),n}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,n=this.opts,i=[];return e.globals.comboCharts?"line"===e.config.series[this.seriesIndex].type?e.globals.stroke.colors instanceof Array?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):e.globals.fill.colors instanceof Array?i=e.globals.fill.colors:i.push(e.globals.fill.colors):"line"===t.chart.type?e.globals.stroke.colors instanceof Array?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):e.globals.fill.colors instanceof Array?i=e.globals.fill.colors:i.push(e.globals.fill.colors),void 0!==n.fillColors&&(i=[],n.fillColors instanceof Array?i=n.fillColors.slice():i.push(n.fillColors)),i}},{key:"handlePatternFill",value:function(e,t,n,i){var r=this.w.config,o=this.opts,s=new v(this.ctx),a=void 0===r.fill.pattern.strokeWidth?Array.isArray(r.stroke.width)?r.stroke.width[this.seriesIndex]:r.stroke.width:Array.isArray(r.fill.pattern.strokeWidth)?r.fill.pattern.strokeWidth[this.seriesIndex]:r.fill.pattern.strokeWidth,l=t;return r.fill.pattern.style instanceof Array?void 0!==r.fill.pattern.style[o.seriesNumber]?s.drawPattern(r.fill.pattern.style[o.seriesNumber],r.fill.pattern.width,r.fill.pattern.height,l,a,n):i:s.drawPattern(r.fill.pattern.style,r.fill.pattern.width,r.fill.pattern.height,l,a,n)}},{key:"handleGradientFill",value:function(e,t,n,i){var r,o,s=this.w.config,a=this.opts,l=new v(this.ctx),c=new p,u=s.fill.gradient.type,d=void 0===s.fill.gradient.opacityFrom?n:Array.isArray(s.fill.gradient.opacityFrom)?s.fill.gradient.opacityFrom[i]:s.fill.gradient.opacityFrom,h=void 0===s.fill.gradient.opacityTo?n:Array.isArray(s.fill.gradient.opacityTo)?s.fill.gradient.opacityTo[i]:s.fill.gradient.opacityTo;if(r=t,o=void 0===s.fill.gradient.gradientToColors||0===s.fill.gradient.gradientToColors.length?"dark"===s.fill.gradient.shade?c.shadeColor(-1*parseFloat(s.fill.gradient.shadeIntensity),t):c.shadeColor(parseFloat(s.fill.gradient.shadeIntensity),t):s.fill.gradient.gradientToColors[a.seriesNumber],s.fill.gradient.inverseColors){var f=r;r=o,o=f}return l.drawGradient(u,r,o,d,h,a.size,s.fill.gradient.stops,s.fill.gradient.colorStops,i)}}]),e}(),L=function(){function e(t,n){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)void 0===e.globals.markers.size[t]&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map(function(t){return e.config.markers.size})}},{key:"plotChartMarkers",value:function(e,t,n){var i,r=this.w,o=t,s=e,a=null,l=new v(this.ctx);if(r.globals.markers.size[t]>0&&(a=l.group({class:"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")")),s.x instanceof Array)for(var c=0;c<s.x.length;c++){var u=n;1===n&&0===c&&(u=0),1===n&&1===c&&(u=1);var d="apexcharts-marker";if("line"!==r.config.chart.type&&"area"!==r.config.chart.type||r.globals.comboCharts||r.config.tooltip.intersect||(d+=" no-pointer-events"),Array.isArray(r.config.markers.size)?r.globals.markers.size[t]>0:r.config.markers.size>0){p.isNumber(s.y[c])?d+=" w".concat((Math.random()+1).toString(36).substring(4)):d="apexcharts-nullpoint";var h=this.getMarkerConfig(d,t,u);r.config.series[o].data[n]&&(r.config.series[o].data[n].fillColor&&(h.pointFillColor=r.config.series[o].data[n].fillColor),r.config.series[o].data[n].strokeColor&&(h.pointStrokeColor=r.config.series[o].data[n].strokeColor)),(i=l.drawMarker(s.x[c],s.y[c],h)).attr("rel",u),i.attr("j",u),i.attr("index",t),i.node.setAttribute("default-marker-size",h.pSize),new m(this.ctx).setSelectionFilter(i,t,u),this.addEvents(i),a&&a.add(i)}else void 0===r.globals.pointsArray[t]&&(r.globals.pointsArray[t]=[]),r.globals.pointsArray[t].push([s.x[c],s.y[c]])}return a}},{key:"getMarkerConfig",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,r=this.getMarkerStyle(t),o=i.globals.markers.size[t];return null!==n&&i.config.markers.discrete.length&&i.config.markers.discrete.map(function(e){e.seriesIndex===t&&e.dataPointIndex===n&&(r.pointStrokeColor=e.strokeColor,r.pointFillColor=e.fillColor,o=e.size)}),{pSize:o,pRadius:i.config.markers.radius,pWidth:i.config.markers.strokeWidth,pointStrokeColor:r.pointStrokeColor,pointFillColor:r.pointFillColor,shape:i.config.markers.shape instanceof Array?i.config.markers.shape[t]:i.config.markers.shape,class:e,pointStrokeOpacity:i.config.markers.strokeOpacity,pointFillOpacity:i.config.markers.fillOpacity,seriesIndex:t}}},{key:"addEvents",value:function(e){var t=this.w,n=new v(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",n.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,n=t.globals.markers.colors,i=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:i instanceof Array?i[e]:i,pointFillColor:n instanceof Array?n[e]:n}}}]),e}(),E=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.radiusSizes=[]}return a(e,[{key:"draw",value:function(e,t,n){var i=this.w,r=new v(this.ctx),o=n.realIndex,s=n.pointsPos,a=n.zRatio,l=n.elParent,c=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(i.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(i.globals.cuid,")")),s.x instanceof Array)for(var u=0;u<s.x.length;u++){var d=t+1,h=!0;0===t&&0===u&&(d=0),0===t&&1===u&&(d=1);var f=0,p=i.globals.markers.size[o];a!==1/0&&(p=i.globals.seriesZ[o][d]/a,void 0===this.radiusSizes[o]&&this.radiusSizes.push([]),this.radiusSizes[o].push(p)),i.config.chart.animations.enabled||(f=p);var m=s.x[u],g=s.y[u];if(f=f||0,(0===m&&0===g||null===g||void 0===i.globals.series[o][d])&&(h=!1),h){var y=this.drawPoint(m,g,f,p,o,d,t);c.add(y)}l.add(c)}}},{key:"drawPoint",value:function(e,t,n,i,r,o,s){var a=this.w,l=r,c=new g(this.ctx),u=new m(this.ctx),d=new S(this.ctx),h=new L(this.ctx),f=new v(this.ctx),p=h.getMarkerConfig("apexcharts-marker",l),y=d.fillPath({seriesNumber:r,patternUnits:"objectBoundingBox",value:a.globals.series[r][s]}),b=f.drawCircle(n);if(a.config.series[l].data[o]&&a.config.series[l].data[o].fillColor&&(y=a.config.series[l].data[o].fillColor),b.attr({cx:e,cy:t,fill:y,stroke:p.pointStrokeColor,strokeWidth:p.pWidth}),a.config.chart.dropShadow.enabled){var _=a.config.chart.dropShadow;u.dropShadow(b,_,r)}if(this.initialAnim&&!a.globals.dataChanged){var w=1;a.globals.resized||(w=a.config.chart.animations.speed),c.animateCircleRadius(b,0,i,w,a.globals.easing)}if(a.globals.dataChanged)if(this.dynamicAnim){var x,A,C,k,M=a.config.chart.animations.dynamicAnimation.speed;null!=(k=a.globals.previousPaths[r]&&a.globals.previousPaths[r][s])&&(x=k.x,A=k.y,C=void 0!==k.r?k.r:i);for(var E=0;E<a.globals.collapsedSeries.length;E++)a.globals.collapsedSeries[E].index===r&&(M=1,i=0);0===e&&0===t&&(i=0),c.animateCircle(b,{cx:x,cy:A,r:C},{cx:e,cy:t,r:i},M,a.globals.easing)}else b.attr({r:i});return b.attr({rel:o,j:o,index:r,"default-marker-size":i}),u.setSelectionFilter(b,r,o),h.addEvents(b),b.node.classList.add("apexcharts-marker"),b}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize)/4}}}]),e}(),D=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"dataLabelsCorrection",value:function(e,t,n,i,r,o,s){var a=this.w,l=!1,c=new v(this.ctx).getTextRects(n,s),u=c.width,d=c.height;void 0===a.globals.dataLabelsRects[i]&&(a.globals.dataLabelsRects[i]=[]),a.globals.dataLabelsRects[i].push({x:e,y:t,width:u,height:d});var h=a.globals.dataLabelsRects[i].length-2,f=void 0!==a.globals.lastDrawnDataLabelsIndexes[i]?a.globals.lastDrawnDataLabelsIndexes[i][a.globals.lastDrawnDataLabelsIndexes[i].length-1]:0;if(void 0!==a.globals.dataLabelsRects[i][h]){var p=a.globals.dataLabelsRects[i][f];(e>p.x+p.width+2||t>p.y+p.height+2||e+u<p.x)&&(l=!0)}return(0===r||o)&&(l=!0),{x:e,y:t,textRects:c,drawnextLabel:l}}},{key:"drawDataLabel",value:function(e,t,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"top",r=this.w,o=new v(this.ctx),s=r.config.dataLabels,a=0,l=0,c=n,u=null;if(!s.enabled||e.x instanceof Array!=1)return u;u=o.group({class:"apexcharts-data-labels"});for(var d=0;d<e.x.length;d++)if(a=e.x[d]+s.offsetX,l=e.y[d]+s.offsetY-r.globals.markers.size[t]-5,"bottom"===i&&(l=l+2*r.globals.markers.size[t]+1.4*parseInt(s.style.fontSize)),!isNaN(a)){1===n&&0===d&&(c=0),1===n&&1===d&&(c=1);var h=r.globals.series[t][c],f="";"bubble"===r.config.chart.type?(f=r.globals.seriesZ[t][c],l=e.y[d]+r.config.dataLabels.offsetY,l=new E(this.ctx).centerTextInBubble(l,t,c).y):void 0!==h&&(f=r.config.dataLabels.formatter(h,{ctx:this.ctx,seriesIndex:t,dataPointIndex:c,w:r})),this.plotDataLabelsText({x:a,y:l,text:f,i:t,j:c,parent:u,offsetCorrection:!0,dataLabelsConfig:r.config.dataLabels})}return u}},{key:"plotDataLabelsText",value:function(e){var t=this.w,n=new v(this.ctx),i=e.x,r=e.y,o=e.i,s=e.j,a=e.text,l=e.textAnchor,c=e.parent,u=e.dataLabelsConfig,d=e.alwaysDrawDataLabel,h=e.offsetCorrection;if(!(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(o)<0)){var f={x:i,y:r,drawnextLabel:!0};if(h&&(f=this.dataLabelsCorrection(i,r,a,o,s,d,parseInt(u.style.fontSize))),t.globals.zoomed||(i=f.x,r=f.y),f.textRects&&(i+f.textRects.width<10||i>t.globals.gridWidth+10)&&(a=""),f.drawnextLabel){var p=n.drawText({width:100,height:parseInt(u.style.fontSize),x:i,y:r,foreColor:t.globals.dataLabels.style.colors[o],textAnchor:l||u.textAnchor,text:a,fontSize:u.style.fontSize,fontFamily:u.style.fontFamily});if(p.attr({class:"apexcharts-datalabel",cx:i,cy:r}),u.dropShadow.enabled){var g=u.dropShadow;new m(this.ctx).dropShadow(p,g)}c.add(p),void 0===t.globals.lastDrawnDataLabelsIndexes[o]&&(t.globals.lastDrawnDataLabelsIndexes[o]=[]),t.globals.lastDrawnDataLabelsIndexes[o].push(s)}}}}]),e}(),T=function(){function e(t,n){o(this,e),this.ctx=t,this.w=t.w;var i=this.w;this.barOptions=i.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=i.config.stroke.width,this.isNullValue=!1,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0}return a(e,[{key:"draw",value:function(e,t){var n=this.w,i=new v(this.ctx),r=new A(this.ctx,n);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.initVariables(e);var o=i.group({class:"apexcharts-bar-series apexcharts-plot-series"});n.config.dataLabels.enabled&&this.totalItems>n.config.plotOptions.bar.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var s=0,a=0;s<e.length;s++,a++){var l,c,u,d,h=void 0,f=void 0,m=void 0,g=void 0,y=[],b=[],_=n.globals.comboCharts?t[s]:s,w=i.group({class:"apexcharts-series",rel:s+1,seriesName:p.escapeString(n.globals.seriesNames[_]),"data:realIndex":_});this.ctx.series.addCollapsedClassToSeries(w,_),e[s].length>0&&(this.visibleI=this.visibleI+1);var x=0,C=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=_),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var M=this.initialPositions();g=M.y,C=M.barHeight,c=M.yDivision,d=M.zeroW,m=M.x,k=M.barWidth,l=M.xDivision,u=M.zeroH,this.horizontal||b.push(m+k/2);for(var S=i.group({class:"apexcharts-datalabels"}),L=0,E=n.globals.dataPoints;L<n.globals.dataPoints;L++,E--){void 0===this.series[s][L]||null===e[s][L]?this.isNullValue=!0:this.isNullValue=!1,n.config.stroke.show&&(x=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[_]:this.strokeWidth);var D=null;this.isHorizontal?(D=this.drawBarPaths({indexes:{i:s,j:L,realIndex:_,bc:a},barHeight:C,strokeWidth:x,pathTo:h,pathFrom:f,zeroW:d,x:m,y:g,yDivision:c,elSeries:w}),k=this.series[s][L]/this.invertedYRatio):(D=this.drawColumnPaths({indexes:{i:s,j:L,realIndex:_,bc:a},x:m,y:g,xDivision:l,pathTo:h,pathFrom:f,barWidth:k,zeroH:u,strokeWidth:x,elSeries:w}),C=this.series[s][L]/this.yRatio[this.yaxisIndex]),h=D.pathTo,f=D.pathFrom,g=D.y,m=D.x,L>0&&b.push(m+k/2),y.push(g);var T=this.getPathFillColor(e,s,L,_);w=this.renderSeries({realIndex:_,pathFill:T,j:L,i:s,pathFrom:f,pathTo:h,strokeWidth:x,elSeries:w,x:m,y:g,series:e,barHeight:C,barWidth:k,elDataLabelsWrap:S,visibleSeries:this.visibleI,type:"bar"})}n.globals.seriesXvalues[_]=b,n.globals.seriesYvalues[_]=y,o.add(w)}return o}},{key:"getPathFillColor",value:function(e,t,n,i){var r=this.w,o=new S(this.ctx),s=null,a=this.barOptions.distributed?n:t;return this.barOptions.colors.ranges.length>0&&this.barOptions.colors.ranges.map(function(i){e[t][n]>=i.from&&e[t][n]<=i.to&&(s=i.color)}),r.config.series[t].data[n]&&r.config.series[t].data[n].fillColor&&(s=r.config.series[t].data[n].fillColor),o.fillPath({seriesNumber:this.barOptions.distributed?a:i,color:s,value:e[t][n]})}},{key:"renderSeries",value:function(e){var t=e.realIndex,n=e.pathFill,i=e.lineFill,r=e.j,o=e.i,s=e.pathFrom,a=e.pathTo,l=e.strokeWidth,c=e.elSeries,u=e.x,d=e.y,h=e.series,f=e.barHeight,p=e.barWidth,g=e.elDataLabelsWrap,y=e.visibleSeries,b=e.type,_=this.w,w=new v(this.ctx);i||(i=this.barOptions.distributed?_.globals.stroke.colors[r]:_.globals.stroke.colors[t]),_.config.series[o].data[r]&&_.config.series[o].data[r].strokeColor&&(i=_.config.series[o].data[r].strokeColor),this.isNullValue&&(n="none");var x=r/_.config.chart.animations.animateGradually.delay*(_.config.chart.animations.speed/_.globals.dataPoints)/2.4,A=w.renderPaths({i:o,j:r,realIndex:t,pathFrom:s,pathTo:a,stroke:i,strokeWidth:l,strokeLineCap:_.config.stroke.lineCap,fill:n,animationDelay:x,initialSpeed:_.config.chart.animations.speed,dataChangeSpeed:_.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(b,"-area")});A.attr("clip-path","url(#gridRectMask".concat(_.globals.cuid,")")),new m(this.ctx).setSelectionFilter(A,t,r),c.add(A);var C=this.calculateDataLabelsPos({x:u,y:d,i:o,j:r,series:h,realIndex:t,barHeight:f,barWidth:p,renderedPath:A,visibleSeries:y});return null!==C&&g.add(C),c.add(g),c}},{key:"initVariables",value:function(e){var t=this.w;this.series=e,this.totalItems=0,this.seriesLen=0,this.visibleI=-1,this.visibleItems=1;for(var n=0;n<e.length;n++)if(e[n].length>0&&(this.seriesLen=this.seriesLen+1,this.totalItems+=e[n].length),t.globals.isXNumeric)for(var i=0;i<e[n].length;i++)t.globals.seriesX[n][i]>t.globals.minX&&t.globals.seriesX[n][i]<t.globals.maxX&&this.visibleItems++;else this.visibleItems=t.globals.dataPoints;0===this.seriesLen&&(this.seriesLen=1)}},{key:"initialPositions",value:function(){var e,t,n,i,r,o,s,a,l=this.w;return this.isHorizontal?(r=(n=l.globals.gridHeight/l.globals.dataPoints)/this.seriesLen,l.globals.isXNumeric&&(r=(n=l.globals.gridHeight/this.totalItems)/this.seriesLen),r=r*parseInt(this.barOptions.barHeight)/100,a=this.baseLineInvertedY+l.globals.padHorizontal+(this.isReversed?l.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),t=(n-r*this.seriesLen)/2):(o=(i=l.globals.gridWidth/this.visibleItems)/this.seriesLen*parseInt(this.barOptions.columnWidth)/100,l.globals.isXNumeric&&(l.globals.minXDiff&&(i=l.globals.minXDiff/this.xRatio),o=i/this.seriesLen*parseInt(this.barOptions.columnWidth)/100),s=l.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?l.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=l.globals.padHorizontal+(i-o*this.seriesLen)/2),{x:e,y:t,yDivision:n,xDivision:i,barHeight:r,barWidth:o,zeroH:s,zeroW:a}}},{key:"drawBarPaths",value:function(e){var t=e.indexes,n=e.barHeight,i=e.strokeWidth,r=e.pathTo,o=e.pathFrom,s=e.zeroW,a=e.x,l=e.y,c=e.yDivision,u=e.elSeries,d=this.w,h=new v(this.ctx),f=t.i,p=t.j,m=t.realIndex,g=t.bc;d.globals.isXNumeric&&(l=(d.globals.seriesX[f][p]-d.globals.minX)/this.invertedXRatio-n);var y=l+n*this.visibleI;r=h.move(s,y),o=h.move(s,y),d.globals.previousPaths.length>0&&(o=this.getPathFrom(m,p));var b={barHeight:n,strokeWidth:i,barYPosition:y,x:a=void 0===this.series[f][p]||null===this.series[f][p]?s:s+this.series[f][p]/this.invertedYRatio-2*(this.isReversed?this.series[f][p]/this.invertedYRatio:0),zeroW:s},_=this.barEndingShape(d,b,this.series,f,p);if(r=r+h.line(_.newX,y)+_.path+h.line(s,y+n-i)+h.line(s,y),o=o+h.line(s,y)+_.ending_p_from+h.line(s,y+n-i)+h.line(s,y+n-i)+h.line(s,y),d.globals.isXNumeric||(l+=c),this.barOptions.colors.backgroundBarColors.length>0&&0===f){g>=this.barOptions.colors.backgroundBarColors.length&&(g=0);var w=this.barOptions.colors.backgroundBarColors[g],x=h.drawRect(0,y-n*this.visibleI,d.globals.gridWidth,n*this.seriesLen,0,w,this.barOptions.colors.backgroundBarOpacity);u.add(x),x.node.classList.add("apexcharts-backgroundBar")}return{pathTo:r,pathFrom:o,x:a,y:l,barYPosition:y}}},{key:"drawColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=e.y,r=e.xDivision,o=e.pathTo,s=e.pathFrom,a=e.barWidth,l=e.zeroH,c=e.strokeWidth,u=e.elSeries,d=this.w,h=new v(this.ctx),f=t.i,p=t.j,m=t.realIndex,g=t.bc,y=n+a*this.visibleI;if(d.globals.isXNumeric){var b=f;d.globals.seriesX[f].length||(b=d.globals.maxValsInArrayIndex),y=(n=(d.globals.seriesX[b][p]-d.globals.minX)/this.xRatio)+a*this.visibleI-a*this.seriesLen/2}o=h.move(y,l),s=h.move(y,l),d.globals.previousPaths.length>0&&(s=this.getPathFrom(m,p));var _={barWidth:a,strokeWidth:c,barXPosition:y,y:i=void 0===this.series[f][p]||null===this.series[f][p]?l:l-this.series[f][p]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[f][p]/this.yRatio[this.yaxisIndex]:0),zeroH:l},w=this.barEndingShape(d,_,this.series,f,p);if(o=o+h.line(y,w.newY)+w.path+h.line(y+a-c,l)+h.line(y-c/2,l),s=s+h.line(y,l)+w.ending_p_from+h.line(y+a-c,l)+h.line(y+a-c,l)+h.line(y-c/2,l),d.globals.isXNumeric||(n+=r),this.barOptions.colors.backgroundBarColors.length>0&&0===f){g>=this.barOptions.colors.backgroundBarColors.length&&(g=0);var x=this.barOptions.colors.backgroundBarColors[g],A=h.drawRect(y-a*this.visibleI,0,a*this.seriesLen,d.globals.gridHeight,0,x,this.barOptions.colors.backgroundBarOpacity);u.add(A),A.node.classList.add("apexcharts-backgroundBar")}return{pathTo:o,pathFrom:s,x:n,y:i,barXPosition:y}}},{key:"getPathFrom",value:function(e,t){for(var n,i=this.w,r=0;r<i.globals.previousPaths.length;r++){var o=i.globals.previousPaths[r];o.paths.length>0&&parseInt(o.realIndex)===parseInt(e)&&void 0!==i.globals.previousPaths[r].paths[t]&&(n=i.globals.previousPaths[r].paths[t].d)}return n}},{key:"calculateDataLabelsPos",value:function(e){var t=e.x,n=e.y,i=e.i,r=e.j,o=e.realIndex,s=e.series,a=e.barHeight,l=e.barWidth,c=e.visibleSeries,u=e.renderedPath,d=this.w,h=new v(this.ctx),f=Array.isArray(this.strokeWidth)?this.strokeWidth[o]:this.strokeWidth,p=t+parseFloat(l*c),m=n+parseFloat(a*c);d.globals.isXNumeric&&!d.globals.isBarHorizontal&&(p=t+parseFloat(l*(c+1))/2,m=n+parseFloat(a*(c+1))-f);var g,y=t,b=n,_=d.config.dataLabels,w=this.barOptions.dataLabels,x=_.offsetX,A=_.offsetY,C={width:0,height:0};return d.config.dataLabels.enabled&&(C=h.getTextRects(d.globals.yLabelFormatters[0](d.globals.maxY),parseInt(_.style.fontSize))),g=this.isHorizontal?this.calculateBarsDataLabelsPosition({x:t,y:n,i:i,j:r,renderedPath:u,bcy:m,barHeight:a,barWidth:l,textRects:C,strokeWidth:f,dataLabelsX:y,dataLabelsY:b,barDataLabelsConfig:w,offX:x,offY:A}):this.calculateColumnsDataLabelsPosition({x:t,y:n,i:i,j:r,renderedPath:u,realIndex:o,bcx:p,bcy:m,barHeight:a,barWidth:l,textRects:C,strokeWidth:f,dataLabelsY:b,barDataLabelsConfig:w,offX:x,offY:A}),u.attr({cy:g.bcy,cx:g.bcx,j:r,val:s[i][r],barHeight:a,barWidth:l}),this.drawCalculatedDataLabels({x:g.dataLabelsX,y:g.dataLabelsY,val:s[i][r],i:o,j:r,barWidth:l,barHeight:a,textRects:C,dataLabelsConfig:_})}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t,n=this.w,i=e.i,r=e.j,o=e.y,s=e.bcx,a=e.barWidth,l=e.barHeight,c=e.textRects,u=e.dataLabelsY,d=e.barDataLabelsConfig,h=e.strokeWidth,f=e.offX,p=e.offY,m=n.globals.gridWidth/n.globals.dataPoints;s-=h/2,t=n.globals.isXNumeric?s-a/2+f:s-m+a/2+f;var g=this.series[i][r]<=0;switch(this.isReversed&&(o-=l),d.position){case"center":u=g?o+l/2+c.height/2+p:o+l/2+c.height/2-p;break;case"bottom":u=g?o+l+c.height+h+p:o+l-c.height/2+h-p;break;case"top":u=g?o-c.height/2-p:o+c.height+p}return n.config.chart.stacked||(u<0?u=0+h:u+c.height/3>n.globals.gridHeight&&(u=n.globals.gridHeight-h)),{bcx:s,bcy:o,dataLabelsX:t,dataLabelsY:u}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,n=e.x,i=e.i,r=e.j,o=e.bcy,s=e.barHeight,a=e.barWidth,l=e.textRects,c=e.dataLabelsX,u=e.strokeWidth,d=e.barDataLabelsConfig,h=e.offX,f=e.offY,p=o-t.globals.gridHeight/t.globals.dataPoints+s/2+l.height/2+f-3,m=this.series[i][r]<=0;switch(this.isReversed&&(n+=a),d.position){case"center":c=m?n-a/2-h:n-a/2+h;break;case"bottom":c=m?n-a-u-Math.round(l.width/2)-h:n-a+u+Math.round(l.width/2)+h;break;case"top":c=m?n-u+Math.round(l.width/2)-h:n-u-Math.round(l.width/2)+h}return t.config.chart.stacked||(c<0?c=c+l.width+u:c+l.width/2>t.globals.gridWidth&&(c=t.globals.gridWidth-l.width-u)),{bcx:n,bcy:o,dataLabelsX:c,dataLabelsY:p}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,n=e.y,i=e.val,r=e.i,o=e.j,s=e.textRects,a=e.barHeight,l=e.barWidth,u=e.dataLabelsConfig,d=this.w,h=new D(this.ctx),f=new v(this.ctx),p=u.formatter,m=null,g=d.globals.collapsedSeriesIndices.indexOf(r)>-1;if(u.enabled&&!g){m=f.group({class:"apexcharts-data-labels"});var y="";void 0!==i&&(y=p(i,{seriesIndex:r,dataPointIndex:o,w:d})),0===i&&d.config.chart.stacked&&(y=""),d.config.chart.stacked&&this.barOptions.dataLabels.hideOverflowingLabels&&(this.isHorizontal?((l=this.series[r][o]/this.yRatio[this.yaxisIndex])>0&&s.width/1.6>l||l<0&&s.width/1.6<l)&&(y=""):(a=this.series[r][o]/this.yRatio[this.yaxisIndex],s.height/1.6>a&&(y="")));var b=c({},u);this.isHorizontal&&i<0&&("start"===u.textAnchor?b.textAnchor="end":"end"===u.textAnchor&&(b.textAnchor="start")),h.plotDataLabelsText({x:t,y:n,text:y,i:r,j:o,parent:m,dataLabelsConfig:b,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"barEndingShape",value:function(e,t,n,i,r){var o=new v(this.ctx);if(this.isHorizontal){var s=null,a=t.x;if(void 0!==n[i][r]||null!==n[i][r]){var l=n[i][r]<0,c=t.barHeight/2-t.strokeWidth;switch(l&&(c=-t.barHeight/2-t.strokeWidth),e.config.chart.stacked||"rounded"===this.barOptions.endingShape&&(a=t.x-c/2),this.barOptions.endingShape){case"flat":s=o.line(a,t.barYPosition+t.barHeight-t.strokeWidth);break;case"rounded":s=o.quadraticCurve(a+c,t.barYPosition+(t.barHeight-t.strokeWidth)/2,a,t.barYPosition+t.barHeight-t.strokeWidth)}}return{path:s,ending_p_from:"",newX:a}}var u=null,d=t.y;if(void 0!==n[i][r]||null!==n[i][r]){var h=n[i][r]<0,f=t.barWidth/2-t.strokeWidth;switch(h&&(f=-t.barWidth/2-t.strokeWidth),e.config.chart.stacked||"rounded"===this.barOptions.endingShape&&(d+=f/2),this.barOptions.endingShape){case"flat":u=o.line(t.barXPosition+t.barWidth-t.strokeWidth,d);break;case"rounded":u=o.quadraticCurve(t.barXPosition+(t.barWidth-t.strokeWidth)/2,d-f,t.barXPosition+t.barWidth-t.strokeWidth,d)}}return{path:u,ending_p_from:"",newY:d}}}]),e}(),I=function(e){function t(){return o(this,t),h(this,d(t).apply(this,arguments))}return u(t,T),a(t,[{key:"draw",value:function(e,t){var n=this.w;this.graphics=new v(this.ctx),this.fill=new S(this.ctx),this.bar=new T(this.ctx,this.xyRatios);var i=new A(this.ctx,n);e=i.getLogSeries(e),this.yRatio=i.getLogYRatios(this.yRatio),this.initVariables(e),"100%"===n.config.chart.stackType&&(e=n.globals.seriesPercent.slice()),this.series=e,this.totalItems=0,this.prevY=[],this.prevX=[],this.prevYF=[],this.prevXF=[],this.prevYVal=[],this.prevXVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[],this.yArrj=[],this.yArrjF=[],this.yArrjVal=[];for(var r=0;r<e.length;r++)e[r].length>0&&(this.totalItems+=e[r].length);for(var o=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),s=0,a=0,l=0,c=0;l<e.length;l++,c++){var u=void 0,d=void 0,h=void 0,f=void 0,m=void 0,g=void 0,y=[],b=[],_=n.globals.comboCharts?t[l]:l;this.yRatio.length>1&&(this.yaxisIndex=_),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var w=this.graphics.group({class:"apexcharts-series",seriesName:p.escapeString(n.globals.seriesNames[_]),rel:l+1,"data:realIndex":_}),x=this.graphics.group({class:"apexcharts-datalabels"}),C=0,k=0,M=0,L=this.initialPositions(s,a,h,f,m,g);a=L.y,k=L.barHeight,f=L.yDivision,g=L.zeroW,s=L.x,M=L.barWidth,h=L.xDivision,m=L.zeroH,this.yArrj=[],this.yArrjF=[],this.yArrjVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[];for(var E=0;E<n.globals.dataPoints;E++){n.config.stroke.show&&(C=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[_]:this.strokeWidth);var D=null;this.isHorizontal?(D=this.drawBarPaths({indexes:{i:l,j:E,realIndex:_,bc:c},barHeight:k,strokeWidth:C,pathTo:u,pathFrom:d,zeroW:g,x:s,y:a,yDivision:f,elSeries:w}),M=this.series[l][E]/this.invertedYRatio):(D=this.drawColumnPaths({indexes:{i:l,j:E,realIndex:_,bc:c},x:s,y:a,xDivision:h,pathTo:u,pathFrom:d,barWidth:M,zeroH:m,strokeWidth:C,elSeries:w}),k=this.series[l][E]/this.yRatio[this.yaxisIndex]),u=D.pathTo,d=D.pathFrom,a=D.y,s=D.x,y.push(s),b.push(a);var I=this.bar.getPathFillColor(e,l,E,_);w=this.renderSeries({realIndex:_,pathFill:I,j:E,i:l,pathFrom:d,pathTo:u,strokeWidth:C,elSeries:w,x:s,y:a,series:e,barHeight:k,barWidth:M,elDataLabelsWrap:x,type:"bar",visibleSeries:0})}n.globals.seriesXvalues[_]=y,n.globals.seriesYvalues[_]=b,this.prevY.push(this.yArrj),this.prevYF.push(this.yArrjF),this.prevYVal.push(this.yArrjVal),this.prevX.push(this.xArrj),this.prevXF.push(this.xArrjF),this.prevXVal.push(this.xArrjVal),o.add(w)}return o}},{key:"initialPositions",value:function(e,t,n,i,r,o){var s,a,l=this.w;return this.isHorizontal?(s=(s=i=l.globals.gridHeight/l.globals.dataPoints)*parseInt(l.config.plotOptions.bar.barHeight)/100,o=this.baseLineInvertedY+l.globals.padHorizontal+(this.isReversed?l.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),t=(i-s)/2):(a=n=l.globals.gridWidth/l.globals.dataPoints,a=l.globals.isXNumeric?(n=l.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth)/100:a*parseInt(l.config.plotOptions.bar.columnWidth)/100,r=this.baseLineY[this.yaxisIndex]+(this.isReversed?l.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=l.globals.padHorizontal+(n-a)/2),{x:e,y:t,yDivision:i,xDivision:n,barHeight:s,barWidth:a,zeroH:r,zeroW:o}}},{key:"drawBarPaths",value:function(e){for(var t,n=e.indexes,i=e.barHeight,r=e.strokeWidth,o=e.pathTo,s=e.pathFrom,a=e.zeroW,l=e.x,c=e.y,u=e.yDivision,d=e.elSeries,h=this.w,f=c,p=n.i,m=n.j,g=n.realIndex,v=n.bc,y=0,b=0;b<this.prevXF.length;b++)y+=this.prevXF[b][m];if(p>0){var _=a;this.prevXVal[p-1][m]<0?_=this.series[p][m]>=0?this.prevX[p-1][m]+y-2*(this.isReversed?y:0):this.prevX[p-1][m]:this.prevXVal[p-1][m]>=0&&(_=this.series[p][m]>=0?this.prevX[p-1][m]:this.prevX[p-1][m]-y+2*(this.isReversed?y:0)),t=_}else t=a;l=null===this.series[p][m]?t:t+this.series[p][m]/this.invertedYRatio-2*(this.isReversed?this.series[p][m]/this.invertedYRatio:0);var w={barHeight:i,strokeWidth:r,invertedYRatio:this.invertedYRatio,barYPosition:f,x:l},x=this.bar.barEndingShape(h,w,this.series,p,m);if(this.series.length>1&&p!==this.endingShapeOnSeriesNumber&&(x.path=this.graphics.line(x.newX,f+i-r)),this.xArrj.push(x.newX),this.xArrjF.push(Math.abs(t-x.newX)),this.xArrjVal.push(this.series[p][m]),o=this.graphics.move(t,f),s=this.graphics.move(t,f),h.globals.previousPaths.length>0&&(s=this.bar.getPathFrom(g,m,!1)),o=o+this.graphics.line(x.newX,f)+x.path+this.graphics.line(t,f+i-r)+this.graphics.line(t,f),s=s+this.graphics.line(t,f)+this.graphics.line(t,f+i-r)+this.graphics.line(t,f+i-r)+this.graphics.line(t,f+i-r)+this.graphics.line(t,f),h.config.plotOptions.bar.colors.backgroundBarColors.length>0&&0===p){v>=h.config.plotOptions.bar.colors.backgroundBarColors.length&&(v=0);var A=h.config.plotOptions.bar.colors.backgroundBarColors[v],C=this.graphics.drawRect(0,f,h.globals.gridWidth,i,0,A,h.config.plotOptions.bar.colors.backgroundBarOpacity);d.add(C),C.node.classList.add("apexcharts-backgroundBar")}return{pathTo:o,pathFrom:s,x:l,y:c+=u}}},{key:"drawColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=e.y,r=e.xDivision,o=e.pathTo,s=e.pathFrom,a=e.barWidth,l=e.zeroH,c=e.strokeWidth,u=e.elSeries,d=this.w,h=t.i,f=t.j,p=t.realIndex,m=t.bc;if(d.globals.isXNumeric){var g=d.globals.seriesX[h][f];g||(g=0),n=(g-d.globals.minX)/this.xRatio-a/2}for(var v,y=n,b=0,_=0;_<this.prevYF.length;_++)b+=this.prevYF[_][f];if(h>0&&!d.globals.isXNumeric||h>0&&d.globals.isXNumeric&&d.globals.seriesX[h-1][f]===d.globals.seriesX[h][f]){var w=this.prevY[h-1][f];v=this.prevYVal[h-1][f]<0?this.series[h][f]>=0?w-b+2*(this.isReversed?b:0):w:this.series[h][f]>=0?w:w+b-2*(this.isReversed?b:0)}else v=d.globals.gridHeight-l;i=v-this.series[h][f]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[h][f]/this.yRatio[this.yaxisIndex]:0);var x={barWidth:a,strokeWidth:c,yRatio:this.yRatio[this.yaxisIndex],barXPosition:y,y:i},A=this.bar.barEndingShape(d,x,this.series,h,f);if(this.yArrj.push(A.newY),this.yArrjF.push(Math.abs(v-A.newY)),this.yArrjVal.push(this.series[h][f]),o=this.graphics.move(y,v),s=this.graphics.move(y,v),d.globals.previousPaths.length>0&&(s=this.bar.getPathFrom(p,f,!1)),o=o+this.graphics.line(y,A.newY)+A.path+this.graphics.line(y+a-c,v)+this.graphics.line(y-c/2,v),s=s+this.graphics.line(y,v)+this.graphics.line(y+a-c,v)+this.graphics.line(y+a-c,v)+this.graphics.line(y+a-c,v)+this.graphics.line(y-c/2,v),d.config.plotOptions.bar.colors.backgroundBarColors.length>0&&0===h){m>=d.config.plotOptions.bar.colors.backgroundBarColors.length&&(m=0);var C=d.config.plotOptions.bar.colors.backgroundBarColors[m],k=this.graphics.drawRect(y,0,a,d.globals.gridHeight,0,C,d.config.plotOptions.bar.colors.backgroundBarOpacity);u.add(k),k.node.classList.add("apexcharts-backgroundBar")}return n+=r,{pathTo:o,pathFrom:s,x:d.globals.isXNumeric?n-r:n,y:i}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,n=this.w,i=0;i<t.length;i++){for(var r=0,o=0;o<t[n.globals.maxValsInArrayIndex].length;o++)r+=t[i][o];0===r&&this.zeroSerieses.push(i)}for(var s=t.length-1;s>=0;s--)this.zeroSerieses.indexOf(s)>-1&&s===this.endingShapeOnSeriesNumber&&(this.endingShapeOnSeriesNumber-=1)}}]),t}(),j=function(e){function t(){return o(this,t),h(this,d(t).apply(this,arguments))}return u(t,T),a(t,[{key:"draw",value:function(e,t){var n=this.w,i=new v(this.ctx),r=new S(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick;var o=new A(this.ctx,n);e=o.getLogSeries(e),this.series=e,this.yRatio=o.getLogYRatios(this.yRatio),this.initVariables(e);for(var s=i.group({class:"apexcharts-candlestick-series apexcharts-plot-series"}),a=0,l=0;a<e.length;a++,l++){var c,u,d=void 0,h=void 0,f=void 0,m=void 0,g=[],y=[],b=n.globals.comboCharts?t[a]:a,_=i.group({class:"apexcharts-series",seriesName:p.escapeString(n.globals.seriesNames[b]),rel:a+1,"data:realIndex":b});e[a].length>0&&(this.visibleI=this.visibleI+1);var w,x,C=0;this.yRatio.length>1&&(this.yaxisIndex=b);var k=this.initialPositions();m=k.y,w=k.barHeight,f=k.x,x=k.barWidth,c=k.xDivision,u=k.zeroH,y.push(f+x/2);for(var M=i.group({class:"apexcharts-datalabels"}),L=0,E=n.globals.dataPoints;L<n.globals.dataPoints;L++,E--){void 0===this.series[a][L]||null===e[a][L]?this.isNullValue=!0:this.isNullValue=!1,n.config.stroke.show&&(C=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[b]:this.strokeWidth);var D,T=this.drawCandleStickPaths({indexes:{i:a,j:L,realIndex:b,bc:l},x:f,y:m,xDivision:c,pathTo:d,pathFrom:h,barWidth:x,zeroH:u,strokeWidth:C,elSeries:_});d=T.pathTo,h=T.pathFrom,m=T.y,f=T.x,D=T.color,L>0&&y.push(f+x/2),g.push(m);var I=r.fillPath({seriesNumber:b,color:D,value:e[a][L]}),j=this.candlestickOptions.wick.useFillColor?D:void 0;_=this.renderSeries({realIndex:b,pathFill:I,lineFill:j,j:L,i:a,pathFrom:h,pathTo:d,strokeWidth:C,elSeries:_,x:f,y:m,series:e,barHeight:w,barWidth:x,elDataLabelsWrap:M,visibleSeries:this.visibleI,type:"candlestick"})}n.globals.seriesXvalues[b]=y,n.globals.seriesYvalues[b]=g,s.add(_)}return s}},{key:"drawCandleStickPaths",value:function(e){var t=e.indexes,n=e.x,i=(e.y,e.xDivision),r=e.pathTo,o=e.pathFrom,s=e.barWidth,a=e.zeroH,l=e.strokeWidth,c=this.w,u=new v(this.ctx),d=t.i,h=t.j,f=!0,p=c.config.plotOptions.candlestick.colors.upward,m=c.config.plotOptions.candlestick.colors.downward,g=this.yRatio[this.yaxisIndex],y=t.realIndex,b=this.getOHLCValue(y,h),_=a,w=a;b.o>b.c&&(f=!1);var x=Math.min(b.o,b.c),A=Math.max(b.o,b.c);c.globals.isXNumeric&&(n=(c.globals.seriesX[d][h]-c.globals.minX)/this.xRatio-s/2);var C=n+s*this.visibleI;return void 0===this.series[d][h]||null===this.series[d][h]?x=a:(x=a-x/g,A=a-A/g,_=a-b.h/g,w=a-b.l/g),u.move(C,a),o=u.move(C,x),c.globals.previousPaths.length>0&&(o=this.getPathFrom(y,h,!0)),r=u.move(C,A)+u.line(C+s/2,A)+u.line(C+s/2,_)+u.line(C+s/2,A)+u.line(C+s,A)+u.line(C+s,x)+u.line(C+s/2,x)+u.line(C+s/2,w)+u.line(C+s/2,x)+u.line(C,x)+u.line(C,A-l/2),o+=u.move(C,x),c.globals.isXNumeric||(n+=i),{pathTo:r,pathFrom:o,x:n,y:A,barXPosition:C,color:f?p:m}}},{key:"getOHLCValue",value:function(e,t){var n=this.w;return{o:n.globals.seriesCandleO[e][t],h:n.globals.seriesCandleH[e][t],l:n.globals.seriesCandleL[e][t],c:n.globals.seriesCandleC[e][t]}}}]),t}(),O=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new v(this.ctx),n=new m(this.ctx),i=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,o=e.config.xaxis.crosshairs.fill.type,s=i.colorFrom,a=i.colorTo,l=i.opacityFrom,c=i.opacityTo,u=i.stops,d=r.enabled,h=r.left,f=r.top,g=r.blur,y=r.color,b=r.opacity,_=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===o&&(_=t.drawGradient("vertical",s,a,l,c,null,u,null));var w=t.drawRect();1===e.config.xaxis.crosshairs.width&&(w=t.drawLine()),w.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:e.globals.gridHeight,width:p.isNumber(e.config.xaxis.crosshairs.width)?e.config.xaxis.crosshairs.width:0,height:e.globals.gridHeight,fill:_,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(w=n.dropShadow(w,{left:h,top:f,blur:g,color:y,opacity:b})),e.globals.dom.elGraphical.add(w)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new v(this.ctx),n=e.config.yaxis[0].crosshairs;if(e.config.yaxis[0].crosshairs.show){var i=t.drawLine(0,0,e.globals.gridWidth,0,n.stroke.color,n.stroke.dashArray,n.stroke.width);i.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(i)}var r=t.drawLine(0,0,e.globals.gridWidth,0,n.stroke.color,0,0);r.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(r)}}]),e}(),F=function(){function e(t,n){o(this,e),this.ctx=t,this.w=t.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.negRange=!1,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.width}return a(e,[{key:"draw",value:function(e){var t=this.w,n=new v(this.ctx),i=n.group({class:"apexcharts-heatmap"});i.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,o=t.globals.gridHeight/t.globals.series.length,s=0,a=!1;this.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(a=!0,l.reverse());for(var c=a?0:l.length-1;a?c<l.length:c>=0;a?c++:c--){var u=n.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:p.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new m(this.ctx).dropShadow(u,d,c)}for(var h=0,f=0;f<l[c].length;f++){var g=1,y=this.determineHeatColor(c,f);if(t.globals.hasNegs||this.negRange){var b=t.config.plotOptions.heatmap.shadeIntensity;g=t.config.plotOptions.heatmap.reverseNegativeShade?y.percent<0?y.percent/100*(1.25*b):(1-y.percent/100)*(1.25*b):y.percent<0?1-(1+y.percent/100)*b:(1-y.percent/100)*b}else g=1-y.percent/100;var _=y.color;if(t.config.plotOptions.heatmap.enableShades){var w=new p;_=p.hexToRgba(w.shadeColor(g,y.color),t.config.fill.opacity)}var x=this.rectRadius,A=n.drawRect(h,s,r,o,x);if(A.attr({cx:h,cy:s}),A.node.classList.add("apexcharts-heatmap-rect"),u.add(A),A.attr({fill:_,i:c,index:c,j:f,val:l[c][f],"stroke-width":this.strokeWidth,stroke:t.globals.stroke.colors[0],color:_}),A.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this,A)),A.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this,A)),A.node.addEventListener("mousedown",n.pathMouseDown.bind(this,A)),t.config.chart.animations.enabled&&!t.globals.dataChanged){var C=1;t.globals.resized||(C=t.config.chart.animations.speed),this.animateHeatMap(A,h,s,r,o,C)}if(t.globals.dataChanged){var k=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){k=this.dynamicAnim.speed;var M=t.globals.previousPaths[c]&&t.globals.previousPaths[c][f]&&t.globals.previousPaths[c][f].color;M||(M="rgba(255, 255, 255, 0)"),this.animateHeatColor(A,p.isColorHex(M)?M:p.rgb2hex(M),p.isColorHex(_)?_:p.rgb2hex(_),k)}}var S=this.calculateHeatmapDataLabels({x:h,y:s,i:c,j:f,series:l,rectHeight:o,rectWidth:r});null!==S&&u.add(S),h+=r}s+=o,i.add(u)}var L=t.globals.yAxisScale[0].result.slice();t.config.yaxis[0].reversed?L.unshift(""):L.push(""),t.globals.yAxisScale[0].result=L;var E=t.globals.gridHeight/t.globals.series.length;return t.config.yaxis[0].labels.offsetY=-E/2,i}},{key:"checkColorRange",value:function(){var e=this,t=this.w.config.plotOptions.heatmap;t.colorScale.ranges.length>0&&t.colorScale.ranges.map(function(t,n){t.from<0&&(e.negRange=!0)})}},{key:"determineHeatColor",value:function(e,t){var n=this.w,i=n.globals.series[e][t],r=n.config.plotOptions.heatmap,o=r.colorScale.inverse?t:e,s=n.globals.colors[o],a=Math.min.apply(Math,f(n.globals.series[e])),l=Math.max.apply(Math,f(n.globals.series[e]));r.distributed||(a=n.globals.minY,l=n.globals.maxY),void 0!==r.colorScale.min&&(a=r.colorScale.min<n.globals.minY?r.colorScale.min:n.globals.minY,l=r.colorScale.max>n.globals.maxY?r.colorScale.max:n.globals.maxY);var c=Math.abs(l)+Math.abs(a),u=100*i/(0===c?c-1e-6:c);return r.colorScale.ranges.length>0&&r.colorScale.ranges.map(function(e,t){if(i>=e.from&&i<=e.to){s=e.color,a=e.from,l=e.to;var n=Math.abs(l)+Math.abs(a);u=100*i/(0===n?n-1e-6:n)}}),{color:s,percent:u}}},{key:"calculateHeatmapDataLabels",value:function(e){var t=e.x,n=e.y,i=e.i,r=e.j,o=(e.series,e.rectHeight),s=e.rectWidth,a=this.w,l=a.config.dataLabels,c=new v(this.ctx),u=new D(this.ctx),d=l.formatter,h=null;if(l.enabled){h=c.group({class:"apexcharts-data-labels"});var f=l.offsetX,p=l.offsetY,m=t+s/2+f,g=n+o/2+parseInt(l.style.fontSize)/3+p,y=d(a.globals.series[i][r],{seriesIndex:i,dataPointIndex:r,w:a});u.plotDataLabelsText({x:m,y:g,text:y,i:i,j:r,parent:h,dataLabelsConfig:l})}return h}},{key:"animateHeatMap",value:function(e,t,n,i,r,o){var s=new g(this.ctx);s.animateRect(e,{x:t+i/2,y:n+r/2,width:0,height:0},{x:t,y:n,width:i,height:r},o,function(){s.animationCompleted()})}},{key:"animateHeatColor",value:function(e,t,n,i){e.attr({fill:t}).animate(i).attr({fill:n})}}]),e}(),N=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels;var n=this.w;this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight<n.globals.svgWidth?n.globals.svgHeight-35:n.globals.gridWidth,this.centerY=this.defaultSize/2,this.centerX=n.globals.gridWidth/2,this.fullAngle=360,n.globals.radialSize=this.defaultSize/2.05-n.config.stroke.width-n.config.chart.dropShadow.blur,void 0!==n.config.plotOptions.pie.size&&(n.globals.radialSize=n.config.plotOptions.pie.size),this.donutSize=n.globals.radialSize*parseInt(n.config.plotOptions.pie.donut.size)/100,this.sliceLabels=[],this.prevSectorAngleArr=[]}return a(e,[{key:"draw",value:function(e){var t=this.w,n=new v(this.ctx),i=n.group({class:"apexcharts-pie"});if(t.globals.noData)return i;for(var r=0,o=0;o<e.length;o++)r+=p.negToZero(e[o]);var s=[],a=n.group();0===r&&(r=1e-5);for(var l=0;l<e.length;l++){var c=this.fullAngle*p.negToZero(e[l])/r;s.push(c)}if(t.globals.dataChanged){for(var u,d=0,h=0;h<t.globals.previousPaths.length;h++)d+=p.negToZero(t.globals.previousPaths[h]);for(var f=0;f<t.globals.previousPaths.length;f++)u=this.fullAngle*p.negToZero(t.globals.previousPaths[f])/d,this.prevSectorAngleArr.push(u)}this.donutSize<0&&(this.donutSize=0);var m=t.config.plotOptions.pie.customScale,g=t.globals.gridWidth/2,y=t.globals.gridHeight/2,b=g-t.globals.gridWidth/2*m,_=y-t.globals.gridHeight/2*m;if("donut"===t.config.chart.type){var w=n.drawCircle(this.donutSize);w.attr({cx:this.centerX,cy:this.centerY,fill:t.config.plotOptions.pie.donut.background}),a.add(w)}var x=this.drawArcs(s,e);if(this.sliceLabels.forEach(function(e){x.add(e)}),a.attr({transform:"translate(".concat(b,", ").concat(_-5,") scale(").concat(m,")")}),i.attr({"data:innerTranslateX":b,"data:innerTranslateY":_-25}),a.add(x),i.add(a),this.donutDataLabels.show){var A=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:b,translateY:_});i.add(A)}return i}},{key:"drawArcs",value:function(e,t){var n=this.w,i=new m(this.ctx),r=new v(this.ctx),o=new S(this.ctx),s=r.group({class:"apexcharts-slices"}),a=0,l=0,c=0,u=0;this.strokeWidth=n.config.stroke.show?n.config.stroke.width:0;for(var d=0;d<e.length;d++){var h=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:p.escapeString(n.globals.seriesNames[d]),rel:d+1,"data:realIndex":d});s.add(h),l=u,c=(a=c)+e[d],u=l+this.prevSectorAngleArr[d];var f=c-a,g=o.fillPath({seriesNumber:d,size:n.globals.radialSize,value:t[d]}),y=this.getChangedPath(l,u),b=r.drawPath({d:y,stroke:this.lineColorArr instanceof Array?this.lineColorArr[d]:this.lineColorArr,strokeWidth:this.strokeWidth,fill:g,fillOpacity:n.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(n.config.chart.type,"-slice-").concat(d)});if(b.attr({index:0,j:d}),n.config.chart.dropShadow.enabled){var _=n.config.chart.dropShadow;i.dropShadow(b,_,d)}this.addListeners(b,this.donutDataLabels),v.setAttrs(b.node,{"data:angle":f,"data:startAngle":a,"data:strokeWidth":this.strokeWidth,"data:value":t[d]});var w={x:0,y:0};"pie"===n.config.chart.type?w=p.polarToCartesian(this.centerX,this.centerY,n.globals.radialSize/1.25+n.config.plotOptions.pie.dataLabels.offset,a+(c-a)/2):"donut"===n.config.chart.type&&(w=p.polarToCartesian(this.centerX,this.centerY,(n.globals.radialSize+this.donutSize)/2+n.config.plotOptions.pie.dataLabels.offset,a+(c-a)/2)),h.add(b);var x=0;if(!this.initialAnim||n.globals.resized||n.globals.dataChanged?this.animBeginArr.push(0):(x=(c-a)/this.fullAngle*n.config.chart.animations.speed,this.animDur=x+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&n.globals.dataChanged?this.animatePaths(b,{size:n.globals.radialSize,endAngle:c,startAngle:a,prevStartAngle:l,prevEndAngle:u,animateStartingPos:!0,i:d,animBeginArr:this.animBeginArr,dur:n.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(b,{size:n.globals.radialSize,endAngle:c,startAngle:a,i:d,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:x}),n.config.plotOptions.pie.expandOnClick&&b.click(this.pieClicked.bind(this,d)),n.config.dataLabels.enabled){var A=w.x,C=w.y,k=100*(c-a)/360+"%";if(0!==f&&n.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[d]){var M=n.config.dataLabels.formatter;void 0!==M&&(k=M(n.globals.seriesPercent[d][0],{seriesIndex:d,w:n}));var L=n.globals.dataLabels.style.colors[d],E=r.drawText({x:A,y:C,text:k,textAnchor:"middle",fontSize:n.config.dataLabels.style.fontSize,fontFamily:n.config.dataLabels.style.fontFamily,foreColor:L});if(n.config.dataLabels.dropShadow.enabled){var D=n.config.dataLabels.dropShadow;new m(this.ctx).dropShadow(E,D)}E.node.classList.add("apexcharts-pie-label"),n.config.chart.animations.animate&&!1===n.globals.resized&&(E.node.classList.add("apexcharts-pie-label-delay"),E.node.style.animationDelay=n.config.chart.animations.speed/940+"s"),this.sliceLabels.push(E)}}}return s}},{key:"addListeners",value:function(e,t){var n=new v(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this,e)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t))}},{key:"animatePaths",value:function(e,t){var n=this.w,i=t.endAngle-t.startAngle,r=i,o=t.startAngle,s=t.startAngle;void 0!==t.prevStartAngle&&void 0!==t.prevEndAngle&&(o=t.prevEndAngle,r=t.prevEndAngle-t.prevStartAngle),t.i===n.config.series.length-1&&(i+s>this.fullAngle?t.endAngle=t.endAngle-(i+s):i+s<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(i+s)))),i===this.fullAngle&&(i=this.fullAngle-.01),this.animateArc(e,o,s,i,r,t)}},{key:"animateArc",value:function(e,t,n,i,r,o){var s,a=this,l=this.w,c=new g(this.ctx),u=o.size;(isNaN(t)||isNaN(r))&&(t=n,r=i,o.dur=0);var d=i,h=n,f=t-n;l.globals.dataChanged&&o.shouldSetPrevPaths&&(s=a.getPiePath({me:a,startAngle:h,angle:r,size:u}),e.attr({d:s})),0!==o.dur?e.animate(o.dur,l.globals.easing,o.animBeginArr[o.i]).afterAll(function(){"pie"!==l.config.chart.type&&"donut"!==l.config.chart.type||this.animate(300).attr({"stroke-width":l.config.stroke.width}),o.i===l.config.series.length-1&&c.animationCompleted()}).during(function(l){d=f+(i-f)*l,o.animateStartingPos&&(d=r+(i-r)*l,h=t-r+(n-(t-r))*l),s=a.getPiePath({me:a,startAngle:h,angle:d,size:u}),e.node.setAttribute("data:pathOrig",s),e.attr({d:s})}):(s=a.getPiePath({me:a,startAngle:h,angle:i,size:u}),o.isTrack||(l.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",s),e.attr({d:s}))}},{key:"pieClicked",value:function(e){var t,n=this.w,i=this.w.globals.radialSize+4,r=n.globals.dom.Paper.select(".apexcharts-".concat(n.config.chart.type.toLowerCase(),"-slice-").concat(e)).members[0],o=r.attr("d");if("true"!==r.attr("data:pieClicked")){var s=n.globals.dom.baseEl.querySelectorAll(".apexcharts-pie-area");Array.prototype.forEach.call(s,function(e){e.setAttribute("data:pieClicked","false");var t=e.getAttribute("data:pathOrig");e.setAttribute("d",t)}),r.attr("data:pieClicked","true");var a=parseInt(r.attr("data:startAngle")),l=parseInt(r.attr("data:angle"));t=this.getPiePath({me:this,startAngle:a,angle:l,size:i}),360!==l&&r.plot(t).animate(1).plot(o).animate(100).plot(t)}else{r.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(r.node,this.donutDataLabels);var c=r.attr("data:pathOrig");r.attr({d:c})}}},{key:"getChangedPath",value:function(e,t){var n="";return this.dynamicAnim&&this.w.globals.dataChanged&&(n=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),n}},{key:"getPiePath",value:function(e){var t=e.me,n=e.startAngle,i=e.angle,r=e.size,o=this.w,s=n,a=Math.PI*(s-90)/180,l=i+n;Math.ceil(l)>=360&&(l=359.99);var c=Math.PI*(l-90)/180,u=t.centerX+r*Math.cos(a),d=t.centerY+r*Math.sin(a),h=t.centerX+r*Math.cos(c),f=t.centerY+r*Math.sin(c),m=p.polarToCartesian(t.centerX,t.centerY,t.donutSize,l),g=p.polarToCartesian(t.centerX,t.centerY,t.donutSize,s),v=i>180?1:0;return"donut"===o.config.chart.type?["M",u,d,"A",r,r,0,v,1,h,f,"L",m.x,m.y,"A",t.donutSize,t.donutSize,0,v,0,g.x,g.y,"L",u,d,"z"].join(" "):"pie"===o.config.chart.type?["M",u,d,"A",r,r,0,v,1,h,f,"L",t.centerX,t.centerY,"L",u,d].join(" "):["M",u,d,"A",r,r,0,v,1,h,f].join(" ")}},{key:"renderInnerDataLabels",value:function(e,t){var n=this.w,i=new v(this.ctx),r=i.group({class:"apexcharts-datalabels-group",transform:"translate(".concat(t.translateX?t.translateX:0,", ").concat(t.translateY?t.translateY:0,")")}),o=e.total.show;r.node.style.opacity=t.opacity;var s,a,l=t.centerX,c=t.centerY;s=void 0===e.name.color?n.globals.colors[0]:e.name.color,a=void 0===e.value.color?n.config.chart.foreColor:e.value.color;var u=e.value.formatter,d="",h="";if(o?(s=e.total.color,h=e.total.label,d=e.total.formatter(n)):1===n.globals.series.length&&(d=u(n.globals.series[0],n),h=n.globals.seriesNames[0]),e.name.show){var f=i.drawText({x:l,y:c+parseInt(e.name.offsetY),text:h,textAnchor:"middle",foreColor:s,fontSize:e.name.fontSize,fontFamily:e.name.fontFamily});f.node.classList.add("apexcharts-datalabel-label"),r.add(f)}if(e.value.show){var p=e.name.show?parseInt(e.value.offsetY)+16:e.value.offsetY,m=i.drawText({x:l,y:c+p,text:d,textAnchor:"middle",foreColor:a,fontSize:e.value.fontSize,fontFamily:e.value.fontFamily});m.node.classList.add("apexcharts-datalabel-value"),r.add(m)}return r}},{key:"printInnerLabels",value:function(e,t,n,i){var r,o=this.w;i?r=void 0===e.name.color?o.globals.colors[parseInt(i.parentNode.getAttribute("rel"))-1]:e.name.color:o.globals.series.length>1&&e.total.show&&(r=e.total.color);var s=o.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),a=o.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");n=(0,e.value.formatter)(n,o),i||"function"!=typeof e.total.formatter||(n=e.total.formatter(o)),null!==s&&(s.textContent=t),null!==a&&(a.textContent=n),null!==s&&(s.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var n=this.w,i=e.getAttribute("data:value"),r=n.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"))-1];n.globals.series.length>1&&this.printInnerLabels(t,r,i,e);var o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==o&&(o.style.opacity=1)}},{key:"revertDataLabelsInner",value:function(t,n,i){var r=this,o=this.w,s=o.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");if(n.total.show&&o.globals.series.length>1)new e(this.ctx).printInnerLabels(n,n.total.label,n.total.formatter(o));else{var a=document.querySelectorAll(".apexcharts-pie-area"),l=!1;if(Array.prototype.forEach.call(a,function(e){"true"===e.getAttribute("data:pieClicked")&&(l=!0,r.printDataLabelsInner(e,n))}),!l)if(o.globals.selectedDataPoints.length&&o.globals.series.length>1)if(o.globals.selectedDataPoints[0].length>0){var c=o.globals.selectedDataPoints[0],u=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(o.config.chart.type.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,n)}else s&&o.globals.selectedDataPoints.length&&0===o.globals.selectedDataPoints[0].length&&(s.style.opacity=0);else s&&o.globals.series.length>1&&(s.style.opacity=0)}}}]),e}(),Y=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new v(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight<n.globals.svgWidth?n.globals.svgHeight-35:n.globals.gridWidth,this.maxValue=this.w.globals.maxY,this.polygons=n.config.plotOptions.radar.polygons,this.maxLabelWidth=20;var i=n.globals.labels.slice().sort(function(e,t){return t.length-e.length})[0],r=this.graphics.getTextRects(i,n.config.dataLabels.style.fontSize);this.size=this.defaultSize/2.1-n.config.stroke.width-n.config.chart.dropShadow.blur-r.width/1.75,void 0!==n.config.plotOptions.radar.size&&(this.size=n.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return a(e,[{key:"draw",value:function(e){var t=this,n=this.w,i=new S(this.ctx),r=[];e.length&&(this.dataPointsLen=e[n.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var o=n.globals.gridWidth/2,s=n.globals.gridHeight/2,a=this.graphics.group({class:"apexcharts-radar-series","data:innerTranslateX":o,"data:innerTranslateY":s-25,transform:"translate(".concat(o||0,", ").concat(s||0,")")}),l=[],u=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach(function(e,o){var s=t.graphics.group().attr({class:"apexcharts-series",seriesName:p.escapeString(n.globals.seriesNames[o]),rel:o+1,"data:realIndex":o});t.dataRadiusOfPercent[o]=[],t.dataRadius[o]=[],t.angleArr[o]=[],e.forEach(function(e,n){t.dataRadiusOfPercent[o][n]=e/t.maxValue,t.dataRadius[o][n]=t.dataRadiusOfPercent[o][n]*t.size,t.angleArr[o][n]=n*t.disAngle}),l=t.getDataPointsPos(t.dataRadius[o],t.angleArr[o]);var a=t.createPaths(l,{x:0,y:0});u=t.graphics.group({class:"apexcharts-series-markers-wrap hidden"}),n.globals.delayedElements.push({el:u.node,index:o});var d={i:o,realIndex:o,animationDelay:o,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:n.globals.stroke.colors[o],strokeLineCap:n.config.stroke.lineCap},h=null;n.globals.previousPaths.length>0&&(h=t.getPathFrom(o));for(var f=0;f<a.linePathsTo.length;f++){var g=t.graphics.renderPaths(c({},d,{pathFrom:null===h?a.linePathsFrom[f]:h,pathTo:a.linePathsTo[f],strokeWidth:Array.isArray(n.config.stroke.width)?n.config.stroke.width[o]:n.config.stroke.width,fill:"none",drawShadow:!1}));s.add(g);var v=i.fillPath({seriesNumber:o}),y=t.graphics.renderPaths(c({},d,{pathFrom:null===h?a.areaPathsFrom[f]:h,pathTo:a.areaPathsTo[f],strokeWidth:0,fill:v,drawShadow:!1}));if(n.config.chart.dropShadow.enabled){var b=new m(t.ctx),_=n.config.chart.dropShadow;b.dropShadow(y,Object.assign({},_,{noUserSpaceOnUse:!0}),o)}s.add(y)}e.forEach(function(e,n){var i=new L(t.ctx).getMarkerConfig("apexcharts-marker",o,n),r=t.graphics.drawMarker(l[n].x,l[n].y,i);r.attr("rel",n),r.attr("j",n),r.attr("index",o),r.node.setAttribute("default-marker-size",i.pSize);var a=t.graphics.group({class:"apexcharts-series-markers"});a&&a.add(r),u.add(a),s.add(u)}),r.push(s)}),this.drawPolygons({parent:a}),n.config.dataLabels.enabled){var d=this.drawLabels();a.add(d)}return a.add(this.yaxisLabels),r.forEach(function(e){a.add(e)}),a}},{key:"drawPolygons",value:function(e){for(var t=this,n=this.w,i=e.parent,r=n.globals.yAxisScale[0].result.reverse(),o=r.length,s=[],a=this.size/(o-1),l=0;l<o;l++)s[l]=a*l;s.reverse();var c=[],u=[];s.forEach(function(e,n){var i=t.getPolygonPos(e),r="";i.forEach(function(e,i){if(0===n){var o=t.graphics.drawLine(e.x,e.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[i]:t.polygons.connectorColors);u.push(o)}0===i&&t.yaxisLabelsTextsPos.push({x:e.x,y:e.y}),r+=e.x+","+e.y+" "}),c.push(r)}),c.forEach(function(e,r){var o=t.polygons.strokeColors,s=t.graphics.drawPolygon(e,Array.isArray(o)?o[r]:o,n.globals.radarPolygons.fill.colors[r]);i.add(s)}),u.forEach(function(e){i.add(e)}),n.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach(function(e,n){var i=t.drawYAxisText(e.x,e.y,n,r[n]);t.yaxisLabels.add(i)})}},{key:"drawYAxisText",value:function(e,t,n,i){var r=this.w,o=r.config.yaxis[0],s=r.globals.yLabelFormatters[0];return this.graphics.drawText({x:e+o.labels.offsetX,y:t+o.labels.offsetY,text:s(i,n),textAnchor:"middle",fontSize:o.labels.style.fontSize,fontFamily:o.labels.style.fontFamily,foreColor:o.labels.style.color})}},{key:"drawLabels",value:function(){var e=this,t=this.w,n="middle",i=t.config.dataLabels,r=this.graphics.group({class:"apexcharts-datalabels"}),o=this.getPolygonPos(this.size),s=0,a=0;return t.globals.labels.forEach(function(l,c){var u=i.formatter,d=new D(e.ctx);if(o[c]){s=o[c].x,a=o[c].y,Math.abs(o[c].x)>=10?o[c].x>0?(n="start",s+=10):o[c].x<0&&(n="end",s-=10):n="middle",Math.abs(o[c].y)>=e.size-10&&(o[c].y<0?a-=10:o[c].y>0&&(a+=10));var h=u(l,{seriesIndex:-1,dataPointIndex:c,w:t});d.plotDataLabelsText({x:s,y:a,text:h,textAnchor:n,i:c,j:c,parent:r,dataLabelsConfig:i,offsetCorrection:!1})}}),r}},{key:"createPaths",value:function(e,t){var n=this,i=[],r=[],o=[],s=[];if(e.length){r=[this.graphics.move(t.x,t.y)],s=[this.graphics.move(t.x,t.y)];var a=this.graphics.move(e[0].x,e[0].y),l=this.graphics.move(e[0].x,e[0].y);e.forEach(function(t,i){a+=n.graphics.line(t.x,t.y),l+=n.graphics.line(t.x,t.y),i===e.length-1&&(a+="Z",l+="Z")}),i.push(a),o.push(l)}return{linePathsFrom:r,linePathsTo:i,areaPathsFrom:s,areaPathsTo:o}}},{key:"getPathFrom",value:function(e){for(var t=this.w,n=null,i=0;i<t.globals.previousPaths.length;i++){var r=t.globals.previousPaths[i];r.paths.length>0&&parseInt(r.realIndex)===parseInt(e)&&void 0!==t.globals.previousPaths[i].paths[0]&&(n=t.globals.previousPaths[i].paths[0].d)}return n}},{key:"getDataPointsPos",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var i=[],r=0;r<n;r++){var o={};o.x=e[r]*Math.sin(t[r]),o.y=-e[r]*Math.cos(t[r]),i.push(o)}return i}},{key:"getPolygonPos",value:function(e){for(var t=[],n=2*Math.PI/this.dataPointsLen,i=0;i<this.dataPointsLen;i++){var r={};r.x=e*Math.sin(i*n),r.y=-e*Math.cos(i*n),t.push(r)}return t}}]),e}(),P=function(e){function t(e){var n;o(this,t),(n=h(this,d(t).call(this,e))).ctx=e,n.w=e.w,n.animBeginArr=[0],n.animDur=0;var i=n.w;return n.startAngle=i.config.plotOptions.radialBar.startAngle,n.endAngle=i.config.plotOptions.radialBar.endAngle,n.trackStartAngle=i.config.plotOptions.radialBar.track.startAngle,n.trackEndAngle=i.config.plotOptions.radialBar.track.endAngle,n.radialDataLabels=i.config.plotOptions.radialBar.dataLabels,n.trackStartAngle||(n.trackStartAngle=n.startAngle),n.trackEndAngle||(n.trackEndAngle=n.endAngle),360===n.endAngle&&(n.endAngle=359.99),n.fullAngle=360-i.config.plotOptions.radialBar.endAngle-i.config.plotOptions.radialBar.startAngle,n.margin=parseInt(i.config.plotOptions.radialBar.track.margin),n}return u(t,N),a(t,[{key:"draw",value:function(e){var t=this.w,n=new v(this.ctx),i=n.group({class:"apexcharts-radialbar"});if(t.globals.noData)return i;var r=n.group(),o=this.defaultSize/2,s=t.globals.gridWidth/2,a=this.defaultSize/2.05-t.config.stroke.width-t.config.chart.dropShadow.blur;void 0!==t.config.plotOptions.radialBar.size&&(a=t.config.plotOptions.radialBar.size);var l=t.globals.fill.colors;if(t.config.plotOptions.radialBar.track.show){var c=this.drawTracks({size:a,centerX:s,centerY:o,colorArr:l,series:e});r.add(c)}var u=this.drawArcs({size:a,centerX:s,centerY:o,colorArr:l,series:e}),d=360;return t.config.plotOptions.radialBar.startAngle<0&&(d=Math.abs(t.config.plotOptions.radialBar.endAngle-t.config.plotOptions.radialBar.startAngle)),t.globals.radialSize=a-a/(360/(360-d)),r.add(u.g),"front"===t.config.plotOptions.radialBar.hollow.position&&(u.g.add(u.elHollow),u.dataLabels&&u.g.add(u.dataLabels)),i.add(r),i}},{key:"drawTracks",value:function(e){var t=this.w,n=new v(this.ctx),i=n.group({class:"apexcharts-tracks"}),r=new m(this.ctx),o=new S(this.ctx),s=this.getStrokeWidth(e);e.size=e.size-s/2;for(var a=0;a<e.series.length;a++){var l=n.group({class:"apexcharts-radialbar-track apexcharts-track"});i.add(l),l.attr({rel:a+1}),e.size=e.size-s-this.margin;var c=t.config.plotOptions.radialBar.track,u=o.fillPath({seriesNumber:0,size:e.size,fillColors:Array.isArray(c.background)?c.background[a]:c.background,solid:!0}),d=this.trackStartAngle,h=this.trackEndAngle;Math.abs(h)+Math.abs(d)>=360&&(h=360-Math.abs(this.startAngle)-.1);var f=n.drawPath({d:"",stroke:u,strokeWidth:s*parseInt(c.strokeWidth)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var p=c.dropShadow;r.dropShadow(f,p)}l.add(f),f.attr("id","apexcharts-radialbarTrack-"+a),this.animatePaths(f,{centerX:e.centerX,centerY:e.centerY,endAngle:h,startAngle:d,size:e.size,i:a,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:t.globals.easing})}return i}},{key:"drawArcs",value:function(e){var t=this.w,n=new v(this.ctx),i=new S(this.ctx),r=new m(this.ctx),o=n.group(),s=this.getStrokeWidth(e);e.size=e.size-s/2;var a=t.config.plotOptions.radialBar.hollow.background,l=e.size-s*e.series.length-this.margin*e.series.length-s*parseInt(t.config.plotOptions.radialBar.track.strokeWidth)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(a=this.drawHollowImage(e,o,l,a));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:a});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;r.dropShadow(u,d)}var h=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(h=0);var f=null;this.radialDataLabels.show&&(f=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:h})),"back"===t.config.plotOptions.radialBar.hollow.position&&(o.add(u),f&&o.add(f));var g=!1;t.config.plotOptions.radialBar.inverseOrder&&(g=!0);for(var y=g?e.series.length-1:0;g?y>=0:y<e.series.length;g?y--:y++){var b=n.group({class:"apexcharts-series apexcharts-radial-series",seriesName:p.escapeString(t.globals.seriesNames[y])});o.add(b),b.attr({rel:y+1,"data:realIndex":y}),this.ctx.series.addCollapsedClassToSeries(b,y),e.size=e.size-s-this.margin;var _=i.fillPath({seriesNumber:y,size:e.size,value:e.series[y]}),w=this.startAngle,x=void 0,A=Math.abs(t.config.plotOptions.radialBar.endAngle-t.config.plotOptions.radialBar.startAngle),C=p.negToZero(e.series[y]>100?100:e.series[y])/100,k=Math.round(A*C)+this.startAngle,M=void 0;t.globals.dataChanged&&(x=this.startAngle,M=Math.round(A*p.negToZero(t.globals.previousPaths[y])/100)+x),Math.abs(k)+Math.abs(w)>=360&&(k-=.01),Math.abs(M)+Math.abs(x)>=360&&(M-=.01);var L=k-w,E=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[y]:t.config.stroke.dashArray,D=n.drawPath({d:"",stroke:_,strokeWidth:s,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+y,strokeDashArray:E});if(v.setAttrs(D.node,{"data:angle":L,"data:value":e.series[y]}),t.config.chart.dropShadow.enabled){var T=t.config.chart.dropShadow;r.dropShadow(D,T,y)}this.addListeners(D,this.radialDataLabels),b.add(D),D.attr({index:0,j:y});var I=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(I=(k-w)/360*t.config.chart.animations.speed,this.animDur=I/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),t.globals.dataChanged&&(I=(k-w)/360*t.config.chart.animations.dynamicAnimation.speed,this.animDur=I/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),this.animatePaths(D,{centerX:e.centerX,centerY:e.centerY,endAngle:k,startAngle:w,prevEndAngle:M,prevStartAngle:x,size:e.size,i:y,totalItems:2,animBeginArr:this.animBeginArr,dur:I,shouldSetPrevPaths:!0,easing:t.globals.easing})}return{g:o,elHollow:u,dataLabels:f}}},{key:"drawHollow",value:function(e){var t=new v(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(e,t,n,i){var r=this.w,o=new S(this.ctx),s=(Math.random()+1).toString(36).substring(4),a=r.config.plotOptions.radialBar.hollow.image;if(r.config.plotOptions.radialBar.hollow.imageClipped)o.clippedImgArea({width:n,height:n,image:a,patternID:"pattern".concat(r.globals.cuid).concat(s)}),i="url(#pattern".concat(r.globals.cuid).concat(s,")");else{var l=r.config.plotOptions.radialBar.hollow.imageWidth,c=r.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=r.globals.dom.Paper.image(a).loaded(function(t){this.move(e.centerX-t.width/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-t.height/2+r.config.plotOptions.radialBar.hollow.imageOffsetY)});t.add(u)}else{var d=r.globals.dom.Paper.image(a).loaded(function(t){this.move(e.centerX-l/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-c/2+r.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)});t.add(d)}}return i}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size))/100/(e.series.length+1)-this.margin}}]),t}(),R=function(e){function t(){return o(this,t),h(this,d(t).apply(this,arguments))}return u(t,T),a(t,[{key:"draw",value:function(e,t){var n=this.w,i=new v(this.ctx),r=new S(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=n.globals.seriesRangeStart,this.seriesRangeEnd=n.globals.seriesRangeEnd,this.initVariables(e);for(var o=i.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),s=0,a=0;s<e.length;s++,a++){var l,c,u,d,h=void 0,f=void 0,m=void 0,g=void 0,y=[],b=[],_=n.globals.comboCharts?t[s]:s,w=i.group({class:"apexcharts-series",seriesName:p.escapeString(n.globals.seriesNames[_]),rel:s+1,"data:realIndex":_});e[s].length>0&&(this.visibleI=this.visibleI+1);var x=0,A=0,C=0;this.yRatio.length>1&&(this.yaxisIndex=_);var k=this.initialPositions();g=k.y,c=k.yDivision,A=k.barHeight,d=k.zeroW,m=k.x,C=k.barWidth,l=k.xDivision,u=k.zeroH,b.push(m+C/2);for(var M=i.group({class:"apexcharts-datalabels"}),L=0,E=n.globals.dataPoints;L<n.globals.dataPoints;L++,E--){void 0===this.series[s][L]||null===e[s][L]?this.isNullValue=!0:this.isNullValue=!1,n.config.stroke.show&&(x=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[_]:this.strokeWidth);var D=null;this.isHorizontal?C=(D=this.drawRangeBarPaths({indexes:{i:s,j:L,realIndex:_,bc:a},barHeight:A,strokeWidth:x,pathTo:h,pathFrom:f,zeroW:d,x:m,y:g,yDivision:c,elSeries:w})).barWidth:A=(D=this.drawRangeColumnPaths({indexes:{i:s,j:L,realIndex:_,bc:a},x:m,y:g,xDivision:l,pathTo:h,pathFrom:f,barWidth:C,zeroH:u,strokeWidth:x,elSeries:w})).barHeight,h=D.pathTo,f=D.pathFrom,g=D.y,m=D.x,L>0&&b.push(m+C/2),y.push(g);var T=r.fillPath({seriesNumber:_}),I=n.globals.stroke.colors[_];w=this.renderSeries({realIndex:_,pathFill:T,lineFill:I,j:L,i:s,pathFrom:f,pathTo:h,strokeWidth:x,elSeries:w,x:m,y:g,series:e,barHeight:A,barWidth:C,elDataLabelsWrap:M,visibleSeries:this.visibleI,type:"rangebar"})}n.globals.seriesXvalues[_]=b,n.globals.seriesYvalues[_]=y,o.add(w)}return o}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=(e.y,e.strokeWidth),r=e.xDivision,o=e.pathTo,s=e.pathFrom,a=e.barWidth,l=e.zeroH,c=this.w,u=new v(this.ctx),d=t.i,h=t.j,f=this.yRatio[this.yaxisIndex],p=t.realIndex,m=this.getRangeValue(p,h),g=Math.min(m.start,m.end),y=Math.max(m.start,m.end);c.globals.isXNumeric&&(n=(c.globals.seriesX[d][h]-c.globals.minX)/this.xRatio-a/2);var b=n+a*this.visibleI;void 0===this.series[d][h]||null===this.series[d][h]?g=l:(g=l-g/f,y=l-y/f);var _=Math.abs(y-g);return u.move(b,l),s=u.move(b,g),c.globals.previousPaths.length>0&&(s=this.getPathFrom(p,h,!0)),o=u.move(b,y)+u.line(b+a,y)+u.line(b+a,g)+u.line(b,g)+u.line(b,y-i/2),s=s+u.move(b,g)+u.line(b+a,g)+u.line(b+a,g)+u.line(b,g),c.globals.isXNumeric||(n+=r),{pathTo:o,pathFrom:s,barHeight:_,x:n,y:y,barXPosition:b}}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,n=(e.x,e.y),i=e.yDivision,r=e.pathTo,o=e.pathFrom,s=e.barHeight,a=e.zeroW,l=this.w,c=new v(this.ctx),u=t.i,d=t.j,h=t.realIndex,f=a,p=a;l.globals.isXNumeric&&(n=(l.globals.seriesX[u][d]-l.globals.minX)/this.invertedXRatio-s);var m=n+s*this.visibleI;void 0!==this.series[u][d]&&null!==this.series[u][d]&&(f=a+this.seriesRangeStart[u][d]/this.invertedYRatio,p=a+this.seriesRangeEnd[u][d]/this.invertedYRatio),c.move(a,m),o=c.move(a,m),l.globals.previousPaths.length>0&&(o=this.getPathFrom(h,d));var g=Math.abs(p-f);return r=c.move(f,m)+c.line(p,m)+c.line(p,m+s)+c.line(f,m+s)+c.line(f,m),o=o+c.line(f,m)+c.line(f,m+s)+c.line(f,m+s)+c.line(f,m),l.globals.isXNumeric||(n+=i),{pathTo:r,pathFrom:o,barWidth:g,x:p,y:n,barYPosition:m}}},{key:"getRangeValue",value:function(e,t){var n=this.w;return{start:n.globals.seriesRangeStart[e][t],end:n.globals.seriesRangeEnd[e][t]}}}]),t}(),B=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.tooltipKeyFormat="dd MMM"}return a(e,[{key:"xLabelFormat",value:function(e,t,n){var i=this.w;return"datetime"===i.config.xaxis.type&&void 0===i.config.xaxis.labels.formatter&&void 0===i.config.tooltip.x.formatter?new w(this.ctx).formatDate(new Date(t),i.config.tooltip.x.format,!0,!0):e(t,n)}},{key:"setLabelFormatters",value:function(){var e=this.w;return e.globals.xLabelFormatter=function(e){return e},e.globals.xaxisTooltipFormatter=function(e){return e},e.globals.ttKeyFormatter=function(e){return e},e.globals.ttZFormatter=function(e){return e},e.globals.legendFormatter=function(e){return e},void 0!==e.config.xaxis.labels.formatter?e.globals.xLabelFormatter=e.config.xaxis.labels.formatter:e.globals.xLabelFormatter=function(t){return p.isNumber(t)?"numeric"===e.config.xaxis.type&&e.globals.dataPoints<50?t.toFixed(1):e.globals.isBarHorizontal&&e.globals.maxY-e.globals.minYArr<4?t.toFixed(1):t.toFixed(0):t},"function"==typeof e.config.tooltip.x.formatter?e.globals.ttKeyFormatter=e.config.tooltip.x.formatter:e.globals.ttKeyFormatter=e.globals.xLabelFormatter,"function"==typeof e.config.xaxis.tooltip.formatter&&(e.globals.xaxisTooltipFormatter=e.config.xaxis.tooltip.formatter),Array.isArray(e.config.tooltip.y)?e.globals.ttVal=e.config.tooltip.y:void 0!==e.config.tooltip.y.formatter&&(e.globals.ttVal=e.config.tooltip.y),void 0!==e.config.tooltip.z.formatter&&(e.globals.ttZFormatter=e.config.tooltip.z.formatter),void 0!==e.config.legend.formatter&&(e.globals.legendFormatter=e.config.legend.formatter),e.config.yaxis.forEach(function(t,n){void 0!==t.labels.formatter?e.globals.yLabelFormatters[n]=t.labels.formatter:e.globals.yLabelFormatters[n]=function(i){return e.globals.xyCharts&&p.isNumber(i)?0!==e.globals.yValueDecimal?i.toFixed(void 0!==t.decimalsInFloat?t.decimalsInFloat:e.globals.yValueDecimal):e.globals.maxYArr[n]-e.globals.minYArr[n]<10?i.toFixed(1):i.toFixed(0):i}}),e.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce(function(e,t){return e.length>t.length?e:t},0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),e}(),H=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"getLabel",value:function(e,t,n,i){var r,o,s,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=this.w,c=void 0===e[i]?"":e[i],u=l.globals.xLabelFormatter,d=l.config.xaxis.labels.formatter,h=!1,f=c;return r=new B(this.ctx).xLabelFormat(u,c,f),void 0!==d&&(r=d(c,e[i],i)),t.length>0?(o=t[i].unit,s=null,t.forEach(function(e){"month"===e.unit?s="year":"day"===e.unit?s="month":"hour"===e.unit?s="day":"minute"===e.unit&&(s="hour")}),h=s===o,n=t[i].position,r=t[i].value):"datetime"===l.config.xaxis.type&&void 0===d&&(r=""),void 0===r&&(r=""),(0===(r=r.toString()).indexOf("NaN")||0===r.toLowerCase().indexOf("invalid")||r.toLowerCase().indexOf("infinity")>=0||a.indexOf(r)>=0&&!l.config.xaxis.labels.showDuplicates)&&(r=""),{x:n,text:r,isBold:h}}},{key:"drawYAxisTicks",value:function(e,t,n,i,r,o,s){var a=this.w,l=new v(this.ctx),c=a.globals.translateY;if(i.show){!0===a.config.yaxis[r].opposite&&(e+=i.width);for(var u=t;u>=0;u--){var d=c+t/10+a.config.yaxis[r].labels.offsetY-1;a.globals.isBarHorizontal&&(d=o*u);var h=l.drawLine(e+n.offsetX-i.width+i.offsetX,d+i.offsetY,e+n.offsetX+i.offsetX,d+i.offsetY,n.color);s.add(h),c+=o}}}}]),e}(),z=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.axisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xAxisoffX=0,"bottom"===n.config.xaxis.position&&(this.xAxisoffX=n.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new H(t)}return a(e,[{key:"drawYaxis",value:function(e){var t=this.w,n=new v(this.ctx),i=t.config.yaxis[e].labels.style.fontSize,r=t.config.yaxis[e].labels.style.fontFamily,o=n.group({class:"apexcharts-yaxis",rel:e,transform:"translate("+t.globals.translateYAxisX[e]+", 0)"});if(!t.config.yaxis[e].show)return o;var s=n.group({class:"apexcharts-yaxis-texts-g"});o.add(s);var a=t.globals.yAxisScale[e].result.length-1,l=t.globals.gridHeight/a+.1,c=t.globals.translateY,u=t.globals.yLabelFormatters[e],d=t.globals.yAxisScale[e].result.slice();if(t.config.yaxis[e]&&t.config.yaxis[e].reversed&&d.reverse(),t.config.yaxis[e].labels.show)for(var h=a;h>=0;h--){var f=d[h];f=u(f,h);var p=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&0!==t.config.yaxis.length&&(p*=-1);var m=n.drawText({x:p,y:c+a/10+t.config.yaxis[e].labels.offsetY+1,text:f,textAnchor:t.config.yaxis[e].opposite?"start":"end",fontSize:i,fontFamily:r,foreColor:t.config.yaxis[e].labels.style.color,cssClass:"apexcharts-yaxis-label "+t.config.yaxis[e].labels.style.cssClass});s.add(m);var g=n.rotateAroundCenter(m.node);0!==t.config.yaxis[e].labels.rotate&&m.node.setAttribute("transform","rotate(".concat(t.config.yaxis[e].labels.rotate," ").concat(g.x," ").concat(g.y,")")),c+=l}if(void 0!==t.config.yaxis[e].title.text){var y=n.group({class:"apexcharts-yaxis-title"}),b=0;t.config.yaxis[e].opposite&&(b=t.globals.translateYAxisX[e]);var _=n.drawText({x:b,y:t.globals.gridHeight/2+t.globals.translateY,text:t.config.yaxis[e].title.text,textAnchor:"end",foreColor:t.config.yaxis[e].title.style.color,fontSize:t.config.yaxis[e].title.style.fontSize,fontFamily:t.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+t.config.yaxis[e].title.style.cssClass});y.add(_),o.add(y)}var w=t.config.yaxis[e].axisBorder;if(w.show){var x=31+w.offsetX;t.config.yaxis[e].opposite&&(x=-31-w.offsetX);var A=n.drawLine(x,t.globals.translateY+w.offsetY-2,x,t.globals.gridHeight+t.globals.translateY+w.offsetY+2,w.color);o.add(A),this.axesUtils.drawYAxisTicks(x,a,w,t.config.yaxis[e].axisTicks,e,l,o)}return o}},{key:"drawYaxisInversed",value:function(e){var t=this.w,n=new v(this.ctx),i=n.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(r);var o=t.globals.yAxisScale[e].result.length-1,s=t.globals.gridWidth/o+.1,a=s+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),u=t.globals.invertedTimelineLabels;u.length>0&&(this.xaxisLabels=u.slice(),o=(c=u.slice()).length),t.config.yaxis[e]&&t.config.yaxis[e].reversed&&c.reverse();var d=u.length;if(t.config.xaxis.labels.show)for(var h=d?0:o;d?h<d-1:h>=0;d?h++:h--){var f=c[h];f=l(f,h);var p=t.globals.gridWidth+t.globals.padHorizontal-(a-s+t.config.xaxis.labels.offsetX);if(u.length){var m=this.axesUtils.getLabel(c,u,p,h,this.drawnLabels);p=m.x,f=m.text,this.drawnLabels.push(m.text)}var g=n.drawText({x:p,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30,text:"",textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});r.add(g),g.tspan(f);var y=document.createElementNS(t.globals.SVGNS,"title");y.textContent=f,g.node.appendChild(y),a+=s}if(void 0!==t.config.xaxis.title.text){var b=n.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),_=n.drawText({x:t.globals.gridWidth/2,y:this.xAxisoffX+parseInt(this.xaxisFontSize)+parseInt(t.config.xaxis.title.style.fontSize)+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});b.add(_),i.add(b)}var w=t.config.yaxis[e].axisBorder;if(w.show){var x=n.drawLine(t.globals.padHorizontal+w.offsetX,1+w.offsetY,t.globals.padHorizontal+w.offsetX,t.globals.gridHeight+w.offsetY,w.color);i.add(x)}return i}},{key:"yAxisTitleRotate",value:function(e,t){var n=this.w,i=new v(this.ctx),r={width:0,height:0},o={width:0,height:0},s=n.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));null!==s&&(r=s.getBoundingClientRect());var a=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(null!==a&&(o=a.getBoundingClientRect()),null!==a){var l=this.xPaddingForYAxisTitle(e,r,o,t);a.setAttribute("x",l.xPos-(t?10:0))}if(null!==a){var c=i.rotateAroundCenter(a);t?a.setAttribute("transform","rotate(".concat(n.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")")):a.setAttribute("transform","rotate(-".concat(n.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,n,i){var r=this.w,o=0,s=0,a=10;return void 0===r.config.yaxis[e].title.text||e<0?{xPos:s,padd:0}:(i?(s=t.width+r.config.yaxis[e].title.offsetX+n.width/2+a/2,0===(o+=1)&&(s-=a/2)):(s=-1*t.width+r.config.yaxis[e].title.offsetX+a/2+n.width/2,r.globals.isBarHorizontal&&(a=25,s=-1*t.width-r.config.yaxis[e].title.offsetX-a)),{xPos:s,padd:a})}},{key:"setYAxisXPosition",value:function(e,t){var n=this.w,i=0,r=0,o=21,s=1;n.config.yaxis.length>1&&(this.multipleYs=!0),n.config.yaxis.map(function(a,l){var c=n.globals.ignoreYAxisIndexes.indexOf(l)>-1||!a.show||a.floating||0===e[l].width,u=e[l].width+t[l].width;a.opposite?n.globals.isBarHorizontal?(r=n.globals.gridWidth+n.globals.translateX-1,n.globals.translateYAxisX[l]=r-a.labels.offsetX):(r=n.globals.gridWidth+n.globals.translateX+s,c||(s=s+u+20),n.globals.translateYAxisX[l]=r-a.labels.offsetX+20):(i=n.globals.translateX-o,c||(o=o+u+20),n.globals.translateYAxisX[l]=i+a.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis");(t=p.listToArray(t)).forEach(function(t,n){var i=e.config.yaxis[n];if(void 0!==i.labels.align){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-texts-g")),o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-label"));o=p.listToArray(o);var s=r.getBoundingClientRect();"left"===i.labels.align?(o.forEach(function(e,t){e.setAttribute("text-anchor","start")}),i.opposite||r.setAttribute("transform","translate(-".concat(s.width,", 0)"))):"center"===i.labels.align?(o.forEach(function(e,t){e.setAttribute("text-anchor","middle")}),r.setAttribute("transform","translate(".concat(s.width/2*(i.opposite?1:-1),", 0)"))):"right"===i.labels.align&&(o.forEach(function(e,t){e.setAttribute("text-anchor","end")}),i.opposite&&r.setAttribute("transform","translate(".concat(s.width,", 0)")))}})}}]),e}(),$=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.lgRect={},this.yAxisWidth=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.xPadRight=0,this.xPadLeft=0}return a(e,[{key:"plotCoords",value:function(){var e=this.w,t=e.globals,n=this.getLegendsRect();t.axisCharts?this.setGridCoordsForAxisCharts(n):this.setGridCoordsForNonAxisCharts(n),this.titleSubtitleOffset(),t.gridHeight=t.gridHeight-e.config.grid.padding.top-e.config.grid.padding.bottom,t.gridWidth=t.gridWidth-e.config.grid.padding.left-e.config.grid.padding.right-this.xPadRight-this.xPadLeft,t.translateX=t.translateX+e.config.grid.padding.left+this.xPadLeft,t.translateY=t.translateY+e.config.grid.padding.top}},{key:"conditionalChecksForAxisCoords",value:function(e,t){var n=this.w;this.xAxisHeight=(e.height+t.height)*n.globals.LINE_HEIGHT_RATIO+15,this.xAxisWidth=e.width,this.xAxisHeight-t.height>n.config.xaxis.labels.maxHeight&&(this.xAxisHeight=n.config.xaxis.labels.maxHeight),n.config.xaxis.labels.minHeight&&this.xAxisHeight<n.config.xaxis.labels.minHeight&&(this.xAxisHeight=n.config.xaxis.labels.minHeight),n.config.xaxis.floating&&(this.xAxisHeight=0),n.globals.isBarHorizontal?this.yAxisWidth=n.globals.yLabelsCoords[0].width+n.globals.yTitleCoords[0].width+15:this.yAxisWidth=this.getTotalYAxisWidth();var i=0,r=0;n.config.yaxis.forEach(function(e){i+=e.labels.minWidth,r+=e.labels.maxWidth}),this.yAxisWidth<i&&(this.yAxisWidth=i),this.yAxisWidth>r&&(this.yAxisWidth=r)}},{key:"setGridCoordsForAxisCharts",value:function(e){var t=this.w,n=t.globals,i=this.getyAxisLabelsCoords(),r=this.getxAxisLabelsCoords(),o=this.getyAxisTitleCoords(),s=this.getxAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map(function(e,n){t.globals.yLabelsCoords.push({width:i[n].width,index:n}),t.globals.yTitleCoords.push({width:o[n].width,index:n})}),this.conditionalChecksForAxisCoords(r,s),n.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,n.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(n.rotateXLabels=!1,n.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize)/1.5*-1),n.translateXAxisY=n.translateXAxisY+t.config.xaxis.labels.offsetY,n.translateXAxisX=n.translateXAxisX+t.config.xaxis.labels.offsetX;var a=this.yAxisWidth,l=this.xAxisHeight;n.xAxisLabelsHeight=this.xAxisHeight,n.xAxisHeight=this.xAxisHeight;var c=10;switch(t.config.grid.show&&"radar"!==t.config.chart.type||(a=0,l=35),this.isSparkline&&(e={height:0,width:0},l=0,a=0,c=0),this.additionalPaddingXLabels(r),t.config.legend.position){case"bottom":n.translateY=c,n.translateX=a,n.gridHeight=n.svgHeight-e.height-l-(this.isSparkline?0:t.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-a;break;case"top":n.translateY=e.height+c,n.translateX=a,n.gridHeight=n.svgHeight-e.height-l-(this.isSparkline?0:t.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-a;break;case"left":n.translateY=c,n.translateX=e.width+a,n.gridHeight=n.svgHeight-l-12,n.gridWidth=n.svgWidth-e.width-a;break;case"right":n.translateY=c,n.translateX=a,n.gridHeight=n.svgHeight-l-12,n.gridWidth=n.svgWidth-e.width-a-5;break;default:throw new Error("Legend position not supported")}this.setGridXPosForDualYAxis(o,i),new z(this.ctx).setYAxisXPosition(i,o)}},{key:"setGridCoordsForNonAxisCharts",value:function(e){var t=this.w,n=t.globals,i=0;t.config.legend.show&&!t.config.legend.floating&&(i=20);var r=10,o=0;if("pie"===t.config.chart.type||"donut"===t.config.chart.type?(r+=t.config.plotOptions.pie.offsetY,o+=t.config.plotOptions.pie.offsetX):"radialBar"===t.config.chart.type&&(r+=t.config.plotOptions.radialBar.offsetY,o+=t.config.plotOptions.radialBar.offsetX),!t.config.legend.show)return n.gridHeight=n.svgHeight-35,n.gridWidth=n.gridHeight,n.translateY=r-10,void(n.translateX=o+(n.svgWidth-n.gridWidth)/2);switch(t.config.legend.position){case"bottom":n.gridHeight=n.svgHeight-e.height-35,n.gridWidth=n.gridHeight,n.translateY=r-20,n.translateX=o+(n.svgWidth-n.gridWidth)/2;break;case"top":n.gridHeight=n.svgHeight-e.height-35,n.gridWidth=n.gridHeight,n.translateY=e.height+r+10,n.translateX=o+(n.svgWidth-n.gridWidth)/2;break;case"left":n.gridWidth=n.svgWidth-e.width-i,n.gridHeight=n.gridWidth,n.translateY=r,n.translateX=o+e.width+i;break;case"right":n.gridWidth=n.svgWidth-e.width-i-5,n.gridHeight=n.gridWidth,n.translateY=r,n.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"setGridXPosForDualYAxis",value:function(e,t){var n=this.w;n.config.yaxis.map(function(i,r){-1===n.globals.ignoreYAxisIndexes.indexOf(r)&&!n.config.yaxis[r].floating&&n.config.yaxis[r].show&&i.opposite&&(n.globals.translateX=n.globals.translateX-(t[r].width+e[r].width)-parseInt(n.config.yaxis[r].labels.style.fontSize)/1.2-12)})}},{key:"additionalPaddingXLabels",value:function(e){var t=this,n=this.w;if("category"===n.config.xaxis.type&&n.globals.isBarHorizontal||"numeric"===n.config.xaxis.type||"datetime"===n.config.xaxis.type){var i=n.globals.isXNumeric;n.config.yaxis.forEach(function(r,o){var s;(!r.show||r.floating||-1!==n.globals.collapsedSeriesIndices.indexOf(o)||i||r.opposite&&n.globals.isBarHorizontal)&&((i&&n.globals.isMultipleYAxis&&-1!==n.globals.collapsedSeriesIndices.indexOf(o)||n.globals.isBarHorizontal&&r.opposite)&&(s=e,n.config.grid.padding.left<s.width&&(t.xPadLeft=s.width/2+1)),(!n.globals.isBarHorizontal&&r.opposite&&-1!==n.globals.collapsedSeriesIndices.indexOf(o)||i&&!n.globals.isMultipleYAxis)&&function(e){t.timescaleLabels?t.timescaleLabels[t.timescaleLabels.length-1].position+e.width>n.globals.gridWidth?n.globals.skipLastTimelinelabel=!0:n.globals.skipLastTimelinelabel=!1:"datetime"===n.config.xaxis.type?n.config.grid.padding.right<e.width&&(n.globals.skipLastTimelinelabel=!0):"datetime"!==n.config.xaxis.type&&n.config.grid.padding.right<e.width&&(t.xPadRight=e.width/2+1)}(e))})}}},{key:"titleSubtitleOffset",value:function(){var e=this.w,t=e.globals,n=this.isSparkline||!e.globals.axisCharts?0:10;void 0!==e.config.title.text?n+=e.config.title.margin:n+=this.isSparkline||!e.globals.axisCharts?0:5,void 0!==e.config.subtitle.text?n+=e.config.subtitle.margin:n+=this.isSparkline||!e.globals.axisCharts?0:5,e.config.legend.show&&"bottom"===e.config.legend.position&&!e.config.legend.floating&&(e.config.series.length>1||!e.globals.axisCharts||e.config.legend.showForSingleSeries)&&(n+=10);var i=this.getTitleSubtitleCoords("title"),r=this.getTitleSubtitleCoords("subtitle");t.gridHeight=t.gridHeight-i.height-r.height-n,t.translateY=t.translateY+i.height+r.height+n}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,n=10,i=function(t){return e.globals.ignoreYAxisIndexes.indexOf(t)>-1};return e.globals.yLabelsCoords.map(function(r,o){var s=e.config.yaxis[o].floating;r.width>0&&!s?(t=t+r.width+n,i(o)&&(t=t-r.width-n)):t+=s||!e.config.yaxis[o].show?0:5}),e.globals.yTitleCoords.map(function(r,o){var s=e.config.yaxis[o].floating;n=parseInt(e.config.yaxis[o].title.style.fontSize),r.width>0&&!s?(t=t+r.width+n,i(o)&&(t=t-r.width-n)):t+=s||!e.config.yaxis[o].show?0:5}),t}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.timescaleLabels=t.globals.timelineLabels.slice(),t.globals.isBarHorizontal&&"datetime"===t.config.xaxis.type&&(this.timescaleLabels=t.globals.invertedTimelineLabels.slice());var n=this.timescaleLabels.map(function(e){return e.value}),i=n.reduce(function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t},0);return 1.05*(e=new v(this.ctx).getTextRects(i,t.config.xaxis.labels.style.fontSize)).width*n.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,n=t.globals.labels.slice();if(t.globals.timelineLabels.length>0){var i=this.getxAxisTimeScaleLabelsCoords();e={width:i.width,height:i.height}}else{var r="left"!==t.config.legend.position||"right"!==t.config.legend.position||t.config.legend.floating?0:this.lgRect.width,o=t.globals.xLabelFormatter,s=n.reduce(function(e,t){return e.length>t.length?e:t},0);t.globals.isBarHorizontal&&(s=t.globals.yAxisScale[0].result.reduce(function(e,t){return e.length>t.length?e:t},0));var a=s;s=new B(this.ctx).xLabelFormat(o,s,a);var l=new v(this.ctx),c=l.getTextRects(s,t.config.xaxis.labels.style.fontSize);(e={width:c.width,height:c.height}).width*n.length>t.globals.svgWidth-r-this.yAxisWidth&&0!==t.config.xaxis.labels.rotate?t.globals.isBarHorizontal||(t.globals.rotateXLabels=!0,c=l.getTextRects(s,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1),e.height=c.height/1.66):t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,n=[],i=10;return t.config.yaxis.map(function(r,o){if(r.show&&r.labels.show&&t.globals.yAxisScale[o].result.length){var s=t.globals.yLabelFormatters[o],a=s(t.globals.yAxisScale[o].niceMax,-1);void 0!==a&&0!==a.length||(a=t.globals.yAxisScale[o].niceMax),t.globals.isBarHorizontal&&(i=0,a=s(a=t.globals.labels.slice().reduce(function(e,t){return e.length>t.length?e:t},0),-1));var l=new v(e.ctx).getTextRects(a,r.labels.style.fontSize);n.push({width:l.width+i,height:l.height})}else n.push({width:0,height:0})}),n}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,n=0;if(void 0!==e.config.xaxis.title.text){var i=new v(this.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=i.width,n=i.height}return{width:t,height:n}}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,n=[];return t.config.yaxis.map(function(t,i){if(t.show&&void 0!==t.title.text){var r=new v(e.ctx).getTextRects(t.title.text,t.title.style.fontSize,t.title.style.fontFamily,"rotate(-90 0 0)",!1);n.push({width:r.width,height:r.height})}else n.push({width:0,height:0})}),n}},{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,n=0,i=0,r="title"===e?t.config.title.floating:t.config.subtitle.floating,o=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(null!==o&&!r){var s=o.getBoundingClientRect();n=s.width,i=t.globals.axisCharts?s.height+5:s.height}return{width:n,height:i}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.baseEl.querySelector(".apexcharts-legend"),n=Object.assign({},p.getBoundingClientRect(t));return null!==t&&!e.config.legend.floating&&e.config.legend.show?this.lgRect={x:n.x,y:n.y,height:n.height,width:0===n.height?0:n.width}:this.lgRect={x:0,y:0,height:0,width:0},this.lgRect}}]),e}(),W=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector("[seriesName='".concat(p.escapeString(e),"']"))}},{key:"addCollapsedClassToSeries",value:function(e,t){var n=this.w;function i(n){for(var i=0;i<n.length;i++)n[i].index===t&&e.node.classList.add("apexcharts-series-collapsed")}i(n.globals.collapsedSeries),i(n.globals.ancillaryCollapsedSeries)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.w,n=t.globals.initialSeries.slice();t.config.series=n,t.globals.collapsedSeries=[],t.globals.ancillaryCollapsedSeries=[],t.globals.collapsedSeriesIndices=[],t.globals.ancillaryCollapsedSeriesIndices=[],t.globals.previousPaths=[],e&&this.ctx._updateSeries(n,t.config.chart.animations.dynamicAnimation.enabled)}},{key:"toggleSeriesOnHover",value:function(e,t){var n=this.w,i=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series");if("mousemove"===e.type){var r=parseInt(t.getAttribute("rel"))-1,o=null;o=n.globals.axisCharts||"radialBar"===n.config.chart.type?n.globals.axisCharts?n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(r,"']")):n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"']")):n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"'] path"));for(var s=0;s<i.length;s++)i[s].classList.add("legend-mouseover-inactive");null!==o&&(n.globals.axisCharts||o.parentNode.classList.remove("legend-mouseover-inactive"),o.classList.remove("legend-mouseover-inactive"))}else if("mouseout"===e.type)for(var a=0;a<i.length;a++)i[a].classList.remove("legend-mouseover-inactive")}},{key:"highlightRangeInSeries",value:function(e,t){var n=this.w,i=n.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap-rect"),r=function(){for(var e=0;e<i.length;e++)i[e].classList.remove("legend-mouseover-inactive")};if("mousemove"===e.type){var o=parseInt(t.getAttribute("rel"))-1;r(),function(){for(var e=0;e<i.length;e++)i[e].classList.add("legend-mouseover-inactive")}(),function(e){for(var t=0;t<i.length;t++){var n=parseInt(i[t].getAttribute("val"));n>=e.from&&n<=e.to&&i[t].classList.remove("legend-mouseover-inactive")}}(n.config.plotOptions.heatmap.colorScale.ranges[o])}else"mouseout"===e.type&&r()}},{key:"getActiveSeriesIndex",value:function(){var e=this.w,t=0;if(e.globals.series.length>1)for(var n=e.globals.series.map(function(t,n){return t.length>0&&"bar"!==e.config.series[n].type&&"column"!==e.config.series[n].type?n:-1}),i=0;i<n.length;i++)if(-1!==n[i]){t=n[i];break}return t}},{key:"getActiveConfigSeriesIndex",value:function(){var e=this.w,t=0;if(e.config.series.length>1)for(var n=e.config.series.map(function(e,t){return e.data&&e.data.length>0?t:-1}),i=0;i<n.length;i++)if(-1!==n[i]){t=n[i];break}return t}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(t,n,i){for(var r=t[n].childNodes,o={type:i,paths:[],realIndex:t[n].getAttribute("data:realIndex")},s=0;s<r.length;s++)if(r[s].hasAttribute("pathTo")){var a=r[s].getAttribute("pathTo");o.paths.push({d:a})}e.globals.previousPaths.push(o)}e.globals.previousPaths=[];var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-series");if(n.length>0)for(var i=n.length-1;i>=0;i--)t(n,i,"line");var r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-area-series .apexcharts-series");if(r.length>0)for(var o=r.length-1;o>=0;o--)t(r,o,"area");var s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series .apexcharts-series");if(s.length>0)for(var a=0;a<s.length;a++)t(s,a,"bar");var l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-candlestick-series .apexcharts-series");if(l.length>0)for(var c=0;c<l.length;c++)t(l,c,"candlestick");var u=e.globals.dom.baseEl.querySelectorAll(".apexcharts-radar-series .apexcharts-series");if(u.length>0)for(var d=0;d<u.length;d++)t(u,d,"radar");var h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-bubble-series .apexcharts-series");if(h.length>0)for(var f=0;f<h.length;f++){for(var p=e.globals.dom.baseEl.querySelectorAll(".apexcharts-bubble-series .apexcharts-series[data\\:realIndex='".concat(f,"'] circle")),m=[],g=0;g<p.length;g++)m.push({x:p[g].getAttribute("cx"),y:p[g].getAttribute("cy"),r:p[g].getAttribute("r")});e.globals.previousPaths.push(m)}var v=e.globals.dom.baseEl.querySelectorAll(".apexcharts-scatter-series .apexcharts-series");if(v.length>0)for(var y=0;y<v.length;y++){for(var b=e.globals.dom.baseEl.querySelectorAll(".apexcharts-scatter-series .apexcharts-series[data\\:realIndex='".concat(y,"'] circle")),_=[],w=0;w<b.length;w++)_.push({x:b[w].getAttribute("cx"),y:b[w].getAttribute("cy"),r:b[w].getAttribute("r")});e.globals.previousPaths.push(_)}var x=e.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series");if(x.length>0)for(var A=0;A<x.length;A++){for(var C=e.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series[data\\:realIndex='".concat(A,"'] rect")),k=[],M=0;M<C.length;M++)k.push({color:C[M].getAttribute("color")});e.globals.previousPaths.push(k)}e.globals.axisCharts||(e.globals.previousPaths=e.globals.series)}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,n=new v(this.ctx),i=e.globals.svgWidth/2,r=e.globals.svgHeight/2,o="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,"left"===t.align?(i=10,o="start"):"right"===t.align&&(i=e.globals.svgWidth-10,o="end"),"top"===t.verticalAlign?r=50:"bottom"===t.verticalAlign&&(r=e.globals.svgHeight-50),i+=t.offsetX,r=r+parseInt(t.style.fontSize)+2,void 0!==t.text&&""!==t.text){var s=n.drawText({x:i,y:r,text:t.text,textAnchor:o,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nodata"});s.node.setAttribute("class","apexcharts-title-text"),e.globals.dom.Paper.add(s)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,n=0;n<e.length;n++)if(0===e[n].length)for(var i=0;i<e[t.globals.maxValsInArrayIndex].length;i++)e[n].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,n=this.filteredSeriesX(),i=0;i<n.length-1;i++)if(n[i][0]!==n[i+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){return this.w.globals.seriesX.map(function(e,t){return e.length>0?e:[]})}}]),e}(),G=function(){function e(t,n){o(this,e),this.ctx=t,this.w=t.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this)}return a(e,[{key:"init",value:function(){var e=this.w,t=e.globals,n=e.config;if((n.legend.showForSingleSeries&&1===t.series.length||t.series.length>1||!t.axisCharts)&&n.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),p.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.getLegendStyles()):this.appendToForeignObject(),"bottom"===n.legend.position||"top"===n.legend.position?this.legendAlignHorizontal():"right"!==n.legend.position&&"left"!==n.legend.position||this.legendAlignVertical()}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject");var t=e.dom.elLegendForeign;t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("width",e.svgWidth),t.setAttribute("height",e.svgHeight),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),t.appendChild(e.dom.elLegendWrap),t.appendChild(this.getLegendStyles()),e.dom.Paper.node.insertBefore(t,e.dom.elGraphical.node)}},{key:"drawLegends",value:function(){var e=this.w,t=e.config.legend.fontFamily,n=e.globals.seriesNames,i=e.globals.colors.slice();if("heatmap"===e.config.chart.type){var r=e.config.plotOptions.heatmap.colorScale.ranges;n=r.map(function(e){return e.name?e.name:e.from+" - "+e.to}),i=r.map(function(e){return e.color})}for(var o=e.globals.legendFormatter,s=e.config.legend.inverseOrder,a=s?n.length-1:0;s?a>=0:a<=n.length-1;s?a--:a++){var l=o(n[a],{seriesIndex:a,w:e}),c=!1,u=!1;if(e.globals.collapsedSeries.length>0)for(var d=0;d<e.globals.collapsedSeries.length;d++)e.globals.collapsedSeries[d].index===a&&(c=!0);if(e.globals.ancillaryCollapsedSeriesIndices.length>0)for(var h=0;h<e.globals.ancillaryCollapsedSeriesIndices.length;h++)e.globals.ancillaryCollapsedSeriesIndices[h]===a&&(u=!0);var f=document.createElement("span");f.classList.add("apexcharts-legend-marker");var p=e.config.legend.markers.offsetX,m=e.config.legend.markers.offsetY,g=e.config.legend.markers.height,y=e.config.legend.markers.width,b=e.config.legend.markers.strokeWidth,_=e.config.legend.markers.strokeColor,w=e.config.legend.markers.radius,x=f.style;x.background=i[a],x.color=i[a],x.height=Array.isArray(g)?parseFloat(g[a])+"px":parseFloat(g)+"px",x.width=Array.isArray(y)?parseFloat(y[a])+"px":parseFloat(y)+"px",x.left=Array.isArray(p)?p[a]:p,x.top=Array.isArray(m)?m[a]:m,x.borderWidth=Array.isArray(b)?b[a]:b,x.borderColor=Array.isArray(_)?_[a]:_,x.borderRadius=Array.isArray(w)?parseFloat(w[a])+"px":parseFloat(w)+"px",e.config.legend.markers.customHTML&&(Array.isArray(e.config.legend.markers.customHTML)?f.innerHTML=e.config.legend.markers.customHTML[a]():f.innerHTML=e.config.legend.markers.customHTML()),v.setAttrs(f,{rel:a+1,"data:collapsed":c||u}),(c||u)&&f.classList.add("inactive-legend");var C=document.createElement("div"),k=document.createElement("span");k.classList.add("apexcharts-legend-text"),k.innerHTML=l;var M=e.config.legend.labels.useSeriesColors?e.globals.colors[a]:e.config.legend.labels.colors;M||(M=e.config.chart.foreColor),k.style.color=M,k.style.fontSize=parseFloat(e.config.legend.fontSize)+"px",k.style.fontFamily=t||e.config.chart.fontFamily,v.setAttrs(k,{rel:a+1,i:a,"data:default-text":l,"data:collapsed":c||u}),C.appendChild(f),C.appendChild(k);var S=new A(this.ctx);e.config.legend.showForZeroSeries||0===S.getSeriesTotalByIndex(a)&&S.seriesHaveSameValues(a)&&!S.isSeriesNull(a)&&-1===e.globals.collapsedSeriesIndices.indexOf(a)&&-1===e.globals.ancillaryCollapsedSeriesIndices.indexOf(a)&&C.classList.add("apexcharts-hidden-zero-series"),e.config.legend.showForNullSeries||S.isSeriesNull(a)&&-1===e.globals.collapsedSeriesIndices.indexOf(a)&&-1===e.globals.ancillaryCollapsedSeriesIndices.indexOf(a)&&C.classList.add("apexcharts-hidden-null-series"),e.globals.dom.elLegendWrap.appendChild(C),e.globals.dom.elLegendWrap.classList.add(e.config.legend.horizontalAlign),e.globals.dom.elLegendWrap.classList.add("position-"+e.config.legend.position),C.classList.add("apexcharts-legend-series"),C.style.margin="".concat(e.config.legend.itemMargin.horizontal,"px ").concat(e.config.legend.itemMargin.vertical,"px"),e.globals.dom.elLegendWrap.style.width=e.config.legend.width?e.config.legend.width+"px":"",e.globals.dom.elLegendWrap.style.height=e.config.legend.height?e.config.legend.height+"px":"",v.setAttrs(C,{rel:a+1,"data:collapsed":c||u}),(c||u)&&C.classList.add("inactive-legend"),e.config.legend.onItemClick.toggleDataSeries||C.classList.add("no-click")}"heatmap"!==e.config.chart.type&&e.config.legend.onItemClick.toggleDataSeries&&e.globals.dom.elWrap.addEventListener("click",this.onLegendClick,!0),e.config.legend.onItemHover.highlightDataSeries&&(e.globals.dom.elWrap.addEventListener("mousemove",this.onLegendHovered,!0),e.globals.dom.elWrap.addEventListener("mouseout",this.onLegendHovered,!0))}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"setLegendWrapXY",value:function(e,t){var n=this.w,i=n.globals.dom.baseEl.querySelector(".apexcharts-legend"),r=i.getBoundingClientRect(),o=0,s=0;if("bottom"===n.config.legend.position)s+=n.globals.svgHeight-r.height/2;else if("top"===n.config.legend.position){var a=new $(this.ctx),l=a.getTitleSubtitleCoords("title").height,c=a.getTitleSubtitleCoords("subtitle").height;s=s+(l>0?l-10:0)+(c>0?c-10:0)}i.style.position="absolute",o=o+e+n.config.legend.offsetX,s=s+t+n.config.legend.offsetY,i.style.left=o+"px",i.style.top=s+"px","bottom"===n.config.legend.position?(i.style.top="auto",i.style.bottom=10+n.config.legend.offsetY+"px"):"right"===n.config.legend.position&&(i.style.left="auto",i.style.right=25+n.config.legend.offsetX+"px"),i.style.width&&(i.style.width=parseInt(n.config.legend.width)+"px"),i.style.height&&(i.style.height=parseInt(n.config.legend.height)+"px")}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var t=this.getLegendBBox(),n=new $(this.ctx),i=n.getTitleSubtitleCoords("title"),r=n.getTitleSubtitleCoords("subtitle"),o=0;"bottom"===e.config.legend.position?o=-t.clwh/1.8:"top"===e.config.legend.position&&(o=i.height+r.height+e.config.title.margin+e.config.subtitle.margin-15),this.setLegendWrapXY(20,o)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.getLegendBBox(),n=0;"left"===e.config.legend.position&&(n=20),"right"===e.config.legend.position&&(n=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(n,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,n=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"!==t.config.chart.type)!e.target.classList.contains("inactive-legend")&&n&&new W(this.ctx).toggleSeriesOnHover(e,e.target);else if(n){var i=parseInt(e.target.getAttribute("rel"))-1;this.ctx.fireEvent("legendHover",[this.ctx,i,this.w]),new W(this.ctx).highlightRangeInSeries(e,e.target)}}},{key:"onLegendClick",value:function(e){if(e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker")){var t=parseInt(e.target.getAttribute("rel"))-1,n="true"===e.target.getAttribute("data:collapsed"),i=this.w.config.chart.events.legendClick;"function"==typeof i&&i(this.ctx,t,this.w),this.ctx.fireEvent("legendClick",[this.ctx,t,this.w]);var r=this.w.config.legend.markers.onClick;"function"==typeof r&&e.target.classList.contains("apexcharts-legend-marker")&&(r(this.ctx,t,this.w),this.ctx.fireEvent("legendMarkerClick",[this.ctx,t,this.w])),this.toggleDataSeries(t,n)}}},{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode("\n \n .apexcharts-legend {\n display: flex;\n overflow: auto;\n padding: 0 10px;\n }\n\n .apexcharts-legend.position-bottom, .apexcharts-legend.position-top {\n flex-wrap: wrap\n }\n .apexcharts-legend.position-right, .apexcharts-legend.position-left {\n flex-direction: column;\n bottom: 0;\n }\n\n .apexcharts-legend.position-bottom.left, .apexcharts-legend.position-top.left, .apexcharts-legend.position-right, .apexcharts-legend.position-left {\n justify-content: flex-start;\n }\n\n .apexcharts-legend.position-bottom.center, .apexcharts-legend.position-top.center {\n justify-content: center; \n }\n\n .apexcharts-legend.position-bottom.right, .apexcharts-legend.position-top.right {\n justify-content: flex-end;\n }\n\n .apexcharts-legend-series {\n cursor: pointer;\n line-height: normal;\n }\n\n .apexcharts-legend.position-bottom .apexcharts-legend-series, .apexcharts-legend.position-top .apexcharts-legend-series{\n display: flex;\n align-items: center;\n }\n\n .apexcharts-legend-text {\n position: relative;\n font-size: 14px;\n }\n\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\n pointer-events: none;\n }\n\n .apexcharts-legend-marker {\n position: relative;\n display: inline-block;\n cursor: pointer;\n margin-right: 3px;\n }\n \n .apexcharts-legend.right .apexcharts-legend-series, .apexcharts-legend.left .apexcharts-legend-series{\n display: inline-block;\n }\n\n .apexcharts-legend-series.no-click {\n cursor: auto;\n }\n\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\n display: none !important;\n }\n\n .inactive-legend {\n opacity: 0.45;\n }");return e.appendChild(t),e}},{key:"toggleDataSeries",value:function(e,t){var n=this.w;if(n.globals.axisCharts||"radialBar"===n.config.chart.type){n.globals.resized=!0;var i=null,r=null;if(n.globals.risingSeries=[],n.globals.axisCharts?(i=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),r=parseInt(i.getAttribute("data:realIndex"))):(i=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),r=parseInt(i.getAttribute("rel"))-1),t)this.riseCollapsedSeries(n.globals.collapsedSeries,n.globals.collapsedSeriesIndices,r),this.riseCollapsedSeries(n.globals.ancillaryCollapsedSeries,n.globals.ancillaryCollapsedSeriesIndices,r);else{if(n.globals.axisCharts){var o=!1;if(n.config.yaxis[r]&&n.config.yaxis[r].show&&n.config.yaxis[r].showAlways&&(o=!0,n.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0&&(n.globals.ancillaryCollapsedSeries.push({index:r,data:n.config.series[r].data.slice(),type:i.parentNode.className.baseVal.split("-")[1]}),n.globals.ancillaryCollapsedSeriesIndices.push(r))),!o){n.globals.collapsedSeries.push({index:r,data:n.config.series[r].data.slice(),type:i.parentNode.className.baseVal.split("-")[1]}),n.globals.collapsedSeriesIndices.push(r);var s=n.globals.risingSeries.indexOf(r);n.globals.risingSeries.splice(s,1)}n.config.series[r].data=[]}else n.globals.collapsedSeries.push({index:r,data:n.config.series[r]}),n.globals.collapsedSeriesIndices.push(r),n.config.series[r]=0;for(var a=i.childNodes,l=0;l<a.length;l++)a[l].classList.contains("apexcharts-series-markers-wrap")&&(a[l].classList.contains("apexcharts-hide")?a[l].classList.remove("apexcharts-hide"):a[l].classList.add("apexcharts-hide"));n.globals.allSeriesCollapsed=n.globals.collapsedSeries.length===n.globals.series.length,this.ctx._updateSeries(n.config.series,n.config.chart.animations.dynamicAnimation.enabled)}}else{var c=n.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),u=n.config.chart.type;if("pie"===u||"donut"===u){var d=n.config.plotOptions.pie.donut.labels,h=new v(this.ctx),f=new N(this.ctx);h.pathMouseDown(c.members[0],null),f.printDataLabelsInner(c.members[0].node,d)}c.fire("click")}}},{key:"riseCollapsedSeries",value:function(e,t,n){var i=this.w;if(e.length>0)for(var r=0;r<e.length;r++)e[r].index===n&&(i.globals.axisCharts?(i.config.series[n].data=e[r].data.slice(),e.splice(r,1),t.splice(r,1),i.globals.risingSeries.push(n)):(i.config.series[n]=e[r].data,e.splice(r,1),t.splice(r,1),i.globals.risingSeries.push(n)),this.ctx._updateSeries(i.config.series,i.config.chart.animations.dynamicAnimation.enabled))}}]),e}(),V=function(){function e(t,n,i){o(this,e),this.ctx=t,this.w=t.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||i,this.scatter=new E(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.yaxisIndex=0}return a(e,[{key:"draw",value:function(e,t,n){var i=this.w,r=new v(this.ctx),o=new S(this.ctx),s=i.globals.comboCharts?t:i.config.chart.type,a=r.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),l=new A(this.ctx,i);e=l.getLogSeries(e);var u=this.xyRatios.yRatio;u=l.getLogYRatios(u);for(var d=this.xyRatios.zRatio,h=this.xyRatios.xRatio,f=this.xyRatios.baseLineY,m=[],g=[],y=0,b=0;b<e.length;b++){if("line"===s&&("gradient"===i.config.fill.type||"gradient"===i.config.fill.type[b])&&l.seriesHaveSameValues(b)){var _=e[b].slice();_[_.length-1]=_[_.length-1]+1e-6,e[b]=_}var w=i.globals.gridWidth/i.globals.dataPoints,x=i.globals.comboCharts?n[b]:b;u.length>1&&(this.yaxisIndex=x),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed;var C=[],k=[],M=i.globals.gridHeight-f[this.yaxisIndex]-(this.isReversed?i.globals.gridHeight:0)+(this.isReversed?2*f[this.yaxisIndex]:0),E=M;M>i.globals.gridHeight&&(E=i.globals.gridHeight),y=w/2;var T=i.globals.padHorizontal+y,I=1;i.globals.isXNumeric&&i.globals.seriesX.length>0&&(T=(i.globals.seriesX[x][0]-i.globals.minX)/h),k.push(T);var j=void 0,O=void 0,F=void 0,N=void 0,Y=[],P=[],R=r.group({class:"apexcharts-series",seriesName:p.escapeString(i.globals.seriesNames[x])}),B=r.group({class:"apexcharts-series-markers-wrap"}),H=r.group({class:"apexcharts-datalabels"});this.ctx.series.addCollapsedClassToSeries(R,x);var z=e[b].length===i.globals.dataPoints;R.attr({"data:longestSeries":z,rel:b+1,"data:realIndex":x}),this.appendPathFrom=!0;var $=T,W=void 0,G=$,V=M,U=0;if(V=this.determineFirstPrevY({i:b,series:e,yRatio:u[this.yaxisIndex],zeroY:M,prevY:V,prevSeriesY:g,lineYPosition:U}).prevY,C.push(V),W=V,null===e[b][0]){for(var Z=0;Z<e[b].length;Z++)if(null!==e[b][Z]){G=w*Z,V=M-e[b][Z]/u[this.yaxisIndex],j=r.move(G,V),O=r.move(G,E);break}}else j=r.move(G,V),O=r.move(G,E)+r.line(G,V);if(F=r.move(-1,M)+r.line(-1,M),N=r.move(-1,M)+r.line(-1,M),i.globals.previousPaths.length>0){var X=this.checkPreviousPaths({pathFromLine:F,pathFromArea:N,realIndex:x});F=X.pathFromLine,N=X.pathFromArea}for(var Q=i.globals.dataPoints>1?i.globals.dataPoints-1:i.globals.dataPoints,K=0;K<Q;K++){if(i.globals.isXNumeric){var J=i.globals.seriesX[x][K+1];void 0===i.globals.seriesX[x][K+1]&&(J=i.globals.seriesX[x][Q-1]),T=(J-i.globals.minX)/h}else T+=w;var q=p.isNumber(i.globals.minYArr[x])?i.globals.minYArr[x]:i.globals.minY;i.config.chart.stacked?(U=b>0&&i.globals.collapsedSeries.length<i.config.series.length-1?g[b-1][K+1]:M,I=void 0===e[b][K+1]||null===e[b][K+1]?U-q/u[this.yaxisIndex]+2*(this.isReversed?q/u[this.yaxisIndex]:0):U-e[b][K+1]/u[this.yaxisIndex]+2*(this.isReversed?e[b][K+1]/u[this.yaxisIndex]:0)):I=void 0===e[b][K+1]||null===e[b][K+1]?M-q/u[this.yaxisIndex]+2*(this.isReversed?q/u[this.yaxisIndex]:0):M-e[b][K+1]/u[this.yaxisIndex]+2*(this.isReversed?e[b][K+1]/u[this.yaxisIndex]:0),k.push(T),C.push(I);var ee=this.createPaths({series:e,i:b,j:K,x:T,y:I,xDivision:w,pX:$,pY:W,areaBottomY:E,linePath:j,areaPath:O,linePaths:Y,areaPaths:P,seriesIndex:n});P=ee.areaPaths,Y=ee.linePaths,$=ee.pX,W=ee.pY,O=ee.areaPath,j=ee.linePath,this.appendPathFrom&&(F+=r.line(T,M),N+=r.line(T,M));var te=this.calculatePoints({series:e,x:T,y:I,realIndex:x,i:b,j:K,prevY:V,categoryAxisCorrection:y,xRatio:h});if(this.pointsChart)this.scatter.draw(R,K,{realIndex:x,pointsPos:te,zRatio:d,elParent:B});else{var ne=new L(this.ctx);i.globals.dataPoints>1&&B.node.classList.add("hidden");var ie=ne.plotChartMarkers(te,x,K+1);null!==ie&&B.add(ie)}var re=!e[b][K+1]||e[b][K+1]>e[b][K]?"top":"bottom",oe=new D(this.ctx).drawDataLabel(te,x,K+1,null,re);null!==oe&&H.add(oe)}g.push(C),i.globals.seriesXvalues[x]=k,i.globals.seriesYvalues[x]=C,this.pointsChart||i.globals.delayedElements.push({el:B.node,index:x});var se={i:b,realIndex:x,animationDelay:b,initialSpeed:i.config.chart.animations.speed,dataChangeSpeed:i.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(s)};if("area"===s)for(var ae=o.fillPath({seriesNumber:x}),le=0;le<P.length;le++){var ce=r.renderPaths(c({},se,{pathFrom:N,pathTo:P[le],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:ae}));R.add(ce)}if(i.config.stroke.show&&!this.pointsChart){var ue;ue="line"===s?o.fillPath({seriesNumber:x,i:b}):i.globals.stroke.colors[x];for(var de=0;de<Y.length;de++){var he=r.renderPaths(c({},se,{pathFrom:F,pathTo:Y[de],stroke:ue,strokeWidth:Array.isArray(i.config.stroke.width)?i.config.stroke.width[x]:i.config.stroke.width,strokeLineCap:i.config.stroke.lineCap,fill:"none"}));R.add(he)}}R.add(B),R.add(H),m.push(R)}for(var fe=m.length;fe>0;fe--)a.add(m[fe-1]);return a}},{key:"createPaths",value:function(e){var t=e.series,n=e.i,i=e.j,r=e.x,o=e.y,s=e.pX,a=e.pY,l=e.xDivision,c=e.areaBottomY,u=e.linePath,d=e.areaPath,h=e.linePaths,f=e.areaPaths,p=e.seriesIndex,m=this.w,g=new v(this.ctx),y=m.config.stroke.curve;if(Array.isArray(m.config.stroke.curve)&&(y=Array.isArray(p)?m.config.stroke.curve[p[n]]:m.config.stroke.curve[n]),"smooth"===y){var b=.35*(r-s);m.globals.hasNullValues?(null!==t[n][i]&&(null!==t[n][i+1]?(u=g.move(s,a)+g.curve(s+b,a,r-b,o,r+1,o),d=g.move(s+1,a)+g.curve(s+b,a,r-b,o,r+1,o)+g.line(r,c)+g.line(s,c)+"z"):(u=g.move(s,a),d=g.move(s,a)+"z")),h.push(u),f.push(d)):(u+=g.curve(s+b,a,r-b,o,r,o),d+=g.curve(s+b,a,r-b,o,r,o)),s=r,a=o,i===t[n].length-2&&(d=d+g.curve(s,a,r,o,r,c)+g.move(r,o)+"z",m.globals.hasNullValues||(h.push(u),f.push(d)))}else null===t[n][i+1]&&(u+=g.move(r,o),d=d+g.line(r-l,c)+g.move(r,o)),null===t[n][i]&&(u+=g.move(r,o),d+=g.move(r,c)),"stepline"===y?(u=u+g.line(r,null,"H")+g.line(null,o,"V"),d=d+g.line(r,null,"H")+g.line(null,o,"V")):"straight"===y&&(u+=g.line(r,o),d+=g.line(r,o)),i===t[n].length-2&&(d=d+g.line(r,c)+g.move(r,o)+"z",h.push(u),f.push(d));return{linePaths:h,areaPaths:f,pX:s,pY:a,linePath:u,areaPath:d}}},{key:"calculatePoints",value:function(e){var t=e.series,n=e.realIndex,i=e.x,r=e.y,o=e.i,s=e.j,a=e.prevY,l=e.categoryAxisCorrection,c=e.xRatio,u=this.w,d=[],h=[];if(0===s){var f=l+u.config.markers.offsetX;u.globals.isXNumeric&&(f=(u.globals.seriesX[n][0]-u.globals.minX)/c+u.config.markers.offsetX),d.push(f),h.push(p.isNumber(t[o][0])?a+u.config.markers.offsetY:null),d.push(i+u.config.markers.offsetX),h.push(p.isNumber(t[o][s+1])?r+u.config.markers.offsetY:null)}else d.push(i+u.config.markers.offsetX),h.push(p.isNumber(t[o][s+1])?r+u.config.markers.offsetY:null);return{x:d,y:h}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,n=e.pathFromArea,i=e.realIndex,r=this.w,o=0;o<r.globals.previousPaths.length;o++){var s=r.globals.previousPaths[o];("line"===s.type||"area"===s.type)&&s.paths.length>0&&parseInt(s.realIndex)===parseInt(i)&&("line"===s.type?(this.appendPathFrom=!1,t=r.globals.previousPaths[o].paths[0].d):"area"===s.type&&(this.appendPathFrom=!1,n=r.globals.previousPaths[o].paths[0].d,r.config.stroke.show&&(t=r.globals.previousPaths[o].paths[1].d)))}return{pathFromLine:t,pathFromArea:n}}},{key:"determineFirstPrevY",value:function(e){var t=e.i,n=e.series,i=e.yRatio,r=e.zeroY,o=e.prevY,s=e.prevSeriesY,a=e.lineYPosition,l=this.w;if(void 0!==n[t][0])o=l.config.chart.stacked?(a=t>0?s[t-1][0]:r)-n[t][0]/i+2*(this.isReversed?n[t][0]/i:0):r-n[t][0]/i+2*(this.isReversed?n[t][0]/i:0);else if(l.config.chart.stacked&&t>0&&void 0===n[t][0])for(var c=t-1;c>=0;c--)if(null!==n[c][0]&&void 0!==n[c][0]){o=a=s[c][0];break}return{prevY:o,lineYPosition:a}}}]),e}(),U=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.xaxisLabels=n.globals.labels.slice(),n.globals.timelineLabels.length>0&&(this.xaxisLabels=n.globals.timelineLabels.slice()),this.drawnLabels=[],"top"===n.config.xaxis.position?this.offY=0:this.offY=n.globals.gridHeight+1,this.offY=this.offY+n.config.xaxis.axisBorder.offsetY,this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xaxisBorderWidth=n.config.xaxis.axisBorder.width,this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=n.globals.gridWidth*parseInt(this.xaxisBorderWidth)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth),this.xaxisBorderHeight=n.config.xaxis.axisBorder.height,this.yaxis=n.config.yaxis[0],this.axesUtils=new H(t)}return a(e,[{key:"drawXaxis",value:function(){var e,t=this.w,n=new v(this.ctx),i=n.group({class:"apexcharts-xaxis",transform:"translate(".concat(t.config.xaxis.offsetX,", ").concat(t.config.xaxis.offsetY,")")}),r=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(r);for(var o=t.globals.padHorizontal,s=[],a=0;a<this.xaxisLabels.length;a++)s.push(this.xaxisLabels[a]);o=t.globals.isXNumeric?o+(e=t.globals.gridWidth/(s.length-1))/2+t.config.xaxis.labels.offsetX:o+(e=t.globals.gridWidth/s.length)+t.config.xaxis.labels.offsetX;var l=s.length;if(t.config.xaxis.labels.show)for(var c=0;c<=l-1;c++){var u=o-e/2+t.config.xaxis.labels.offsetX,d=this.axesUtils.getLabel(s,t.globals.timelineLabels,u,c,this.drawnLabels);this.drawnLabels.push(d.text);var h=28;t.globals.rotateXLabels&&(h=22);var f=n.drawText({x:d.x,y:this.offY+t.config.xaxis.labels.offsetY+h,text:"",textAnchor:"middle",fontWeight:d.isBold?600:400,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[c]:this.xaxisForeColors,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});c===l-1&&t.globals.skipLastTimelinelabel&&(d.text=""),r.add(f),n.addTspan(f,d.text,this.xaxisFontFamily);var p=document.createElementNS(t.globals.SVGNS,"title");p.textContent=d.text,f.node.appendChild(p),o+=e}if(void 0!==t.config.xaxis.title.text){var m=n.group({class:"apexcharts-xaxis-title"}),g=n.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.offY-parseInt(this.xaxisFontSize)+t.globals.xAxisLabelsHeight+t.config.xaxis.title.offsetY,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});m.add(g),i.add(m)}if(t.config.xaxis.axisBorder.show){var y=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(y-=15);var b=n.drawLine(t.globals.padHorizontal+y+t.config.xaxis.axisBorder.offsetX,this.offY,this.xaxisBorderWidth,this.offY,t.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);i.add(b)}return i}},{key:"drawXaxisInversed",value:function(e){var t,n,i=this.w,r=new v(this.ctx),o=i.config.yaxis[0].opposite?i.globals.translateYAxisX[e]:0,s=r.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),a=r.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});s.add(a);for(var l=[],c=0;c<this.xaxisLabels.length;c++)l.push(this.xaxisLabels[c]);n=-(t=i.globals.gridHeight/l.length)/2.2;var u=i.globals.yLabelFormatters[0],d=i.config.yaxis[0].labels;if(d.show)for(var h=0;h<=l.length-1;h++){var f=void 0===l[h]?"":l[h];f=u(f);var p=r.drawText({x:d.offsetX-15,y:n+t+d.offsetY,text:f,textAnchor:this.yaxis.opposite?"start":"end",foreColor:d.style.color?d.style.color:d.style.colors[h],fontSize:d.style.fontSize,fontFamily:d.style.fontFamily,cssClass:"apexcharts-yaxis-label "+d.style.cssClass});if(a.add(p),0!==i.config.yaxis[e].labels.rotate){var m=r.rotateAroundCenter(p.node);p.node.setAttribute("transform","rotate(".concat(i.config.yaxis[e].labels.rotate," ").concat(m.x," ").concat(m.y,")"))}n+=t}if(void 0!==i.config.yaxis[0].title.text){var g=r.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),y=r.drawText({x:0,y:i.globals.gridHeight/2,text:i.config.yaxis[0].title.text,textAnchor:"middle",foreColor:i.config.yaxis[0].title.style.color,fontSize:i.config.yaxis[0].title.style.fontSize,fontFamily:i.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+i.config.yaxis[0].title.style.cssClass});g.add(y),s.add(g)}if(i.config.xaxis.axisBorder.show){var b=r.drawLine(i.globals.padHorizontal+i.config.xaxis.axisBorder.offsetX,this.offY,this.xaxisBorderWidth,this.offY,this.yaxis.axisBorder.color,0,this.xaxisBorderHeight);s.add(b),this.axesUtils.drawYAxisTicks(0,l.length,i.config.yaxis[0].axisBorder,i.config.yaxis[0].axisTicks,0,t,s)}return s}},{key:"drawXaxisTicks",value:function(e,t){var n=this.w,i=e;if(!(e<0||e>n.globals.gridWidth)){var r=this.offY+n.config.xaxis.axisTicks.offsetY,o=r+n.config.xaxis.axisTicks.height;if(n.config.xaxis.axisTicks.show){var s=new v(this.ctx).drawLine(e+n.config.xaxis.axisTicks.offsetX,r+n.config.xaxis.offsetY,i+n.config.xaxis.axisTicks.offsetX,o+n.config.xaxis.offsetY,n.config.xaxis.axisTicks.color);t.add(s),s.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],n=this.xaxisLabels.length,i=e.globals.padHorizontal;if(e.globals.timelineLabels.length>0)for(var r=0;r<n;r++)i=this.xaxisLabels[r].position,t.push(i);else for(var o=n,s=0;s<o;s++){var a=o;e.globals.isXNumeric&&"bar"!==e.config.chart.type&&(a-=1),i+=e.globals.gridWidth/a,t.push(i)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new v(this.ctx),n=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var s=0;s<i.length;s++){var a=t.rotateAroundCenter(i[s]);a.y=a.y-1,a.x=a.x+1,i[s].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(a.x," ").concat(a.y,")")),i[s].setAttribute("text-anchor","end"),n.setAttribute("transform","translate(0, ".concat(-10,")"));var l=i[s].childNodes;e.config.xaxis.labels.trim&&t.placeTextWithEllipsis(l[0],l[0].textContent,e.config.xaxis.labels.maxHeight-40)}else for(var c=e.globals.gridWidth/e.globals.labels.length,u=0;u<i.length;u++){var d=i[u].childNodes;e.config.xaxis.labels.trim&&"datetime"!==e.config.xaxis.type&&t.placeTextWithEllipsis(d[0],d[0].textContent,c)}if(r.length>0){var h=r[r.length-1].getBBox(),f=r[0].getBBox();h.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),f.x+f.width>e.globals.gridWidth&&r[0].parentNode.removeChild(r[0]);for(var p=0;p<o.length;p++)t.placeTextWithEllipsis(o[p],o[p].textContent,e.config.yaxis[0].labels.maxWidth-2*parseInt(e.config.yaxis[0].title.style.fontSize)-20)}}}]),e}(),Z=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"niceScale",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,o=this.w,s=void 0===this.w.config.yaxis[i].max&&void 0===this.w.config.yaxis[i].min||this.w.config.yaxis[i].forceNiceScale;if(e===Number.MIN_VALUE&&0===t||!p.isNumber(e)&&!p.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)return e=0,t=r,this.linearScale(e,t,r);e>t?(console.warn("yaxis.min cannot be greater than yaxis.max"),t=e+.1):e===t&&(e=0===e?0:e-.5,t=0===t?2:t+.5);var a=[],l=Math.abs(t-e);l<1&&s&&("candlestick"===o.config.chart.type||"candlestick"===o.config.series[i].type||o.globals.isRangeData)&&(t*=1.01);var c=r+1;c<2?c=2:c>2&&(c-=2);var u=l/c,d=Math.floor(p.log10(u)),h=Math.pow(10,d),f=Math.round(u/h);f<1&&(f=1);var m=f*h,g=m*Math.floor(e/m),v=m*Math.ceil(t/m),y=g;if(s&&l>2){for(;a.push(y),!((y+=m)>v););return{result:a,niceMin:a[0],niceMax:a[a.length-1]}}var b=e;(a=[]).push(b);for(var _=Math.abs(t-e)/r,w=0;w<=r;w++)b+=_,a.push(b);return a[a.length-2]>=t&&a.pop(),{result:a,niceMin:a[0],niceMax:a[a.length-1]}}},{key:"linearScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=Math.abs(t-e)/n;n===Number.MAX_VALUE&&(n=10,i=1);for(var r=[],o=e;n>=0;)r.push(o),o+=i,n-=1;return{result:r,niceMin:r[0],niceMax:r[r.length-1]}}},{key:"logarithmicScale",value:function(e,t,n,i){(t<0||t===Number.MIN_VALUE)&&(t=.01);for(var r=Math.log(t)/Math.log(10),o=Math.log(n)/Math.log(10),s=Math.abs(n-t)/i,a=[],l=t;i>=0;)a.push(l),l+=s,i-=1;var c=a.map(function(e,i){e<=0&&(e=.01);var s=(o-r)/(n-t),a=Math.pow(10,r+s*(e-r));return Math.round(a/p.roundToBase(a,10))*p.roundToBase(a,10)});return 0===c[0]&&(c[0]=1),{result:c,niceMin:c[0],niceMax:c[c.length-1]}}},{key:"setYScaleForIndex",value:function(e,t,n){var i=this.w.globals,r=this.w.config,o=i.isBarHorizontal?r.xaxis:r.yaxis[e];if(void 0===i.yAxisScale[e]&&(i.yAxisScale[e]=[]),o.logarithmic)i.allSeriesCollapsed=!1,i.yAxisScale[e]=this.logarithmicScale(e,t,n,o.tickAmount?o.tickAmount:Math.floor(Math.log10(n)));else if(n!==-Number.MAX_VALUE&&p.isNumber(n))if(i.allSeriesCollapsed=!1,void 0===o.min&&void 0===o.max||o.forceNiceScale){var s=Math.abs(n-t);i.yAxisScale[e]=this.niceScale(t,n,s,e,o.tickAmount?o.tickAmount:s<5&&s>1?s+1:5)}else i.yAxisScale[e]=this.linearScale(t,n,o.tickAmount);else i.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,n=this.w.config,i=t.minYArr.concat([]),r=t.maxYArr.concat([]),o=[];n.yaxis.forEach(function(s,a){var l=a;n.series.forEach(function(e,n){e.name===s.seriesName&&-1===t.collapsedSeriesIndices.indexOf(n)&&(l=n,a!==n?o.push({index:n,similarIndex:a,alreadyExists:!0}):o.push({index:n}))});var c=i[l],u=r[l];e.setYScaleForIndex(a,c,u)}),this.sameScaleInMultipleAxes(i,r,o)}},{key:"sameScaleInMultipleAxes",value:function(e,t,n){var i=this,r=this.w.config,o=this.w.globals,s=[];n.forEach(function(e){e.alreadyExists&&(void 0===s[e.index]&&(s[e.index]=[]),s[e.index].push(e.index),s[e.index].push(e.similarIndex))}),o.yAxisSameScaleIndices=s,s.forEach(function(e,t){s.forEach(function(n,i){var r,o;t!==i&&(r=e,o=n,r.filter(function(e){return-1!==o.indexOf(e)})).length>0&&(s[t]=s[t].concat(s[i]))})});var a=s.map(function(e){return e.filter(function(t,n){return e.indexOf(t)===n})}).map(function(e){return e.sort()});s=s.filter(function(e){return!!e});var l=a.slice(),c=l.map(function(e){return JSON.stringify(e)});l=l.filter(function(e,t){return c.indexOf(JSON.stringify(e))===t});var u=[],d=[];e.forEach(function(e,n){l.forEach(function(i,r){i.indexOf(n)>-1&&(void 0===u[r]&&(u[r]=[],d[r]=[]),u[r].push({key:n,value:e}),d[r].push({key:n,value:t[n]}))})});var h=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach(function(e,t){e.forEach(function(e,n){h[t]=Math.min(e.value,h[t])})}),d.forEach(function(e,t){e.forEach(function(e,n){f[t]=Math.max(e.value,f[t])})}),e.forEach(function(e,t){d.forEach(function(e,n){var s=h[n],a=f[n];r.chart.stacked&&(a=0,e.forEach(function(e,t){a+=e.value,s!==Number.MIN_VALUE&&(s+=u[n][t].value)})),e.forEach(function(n,l){e[l].key===t&&(void 0!==r.yaxis[t].min&&(s="function"==typeof r.yaxis[t].min?r.yaxis[t].min(o.minY):r.yaxis[t].min),void 0!==r.yaxis[t].max&&(a="function"==typeof r.yaxis[t].max?r.yaxis[t].max(o.maxY):r.yaxis[t].max),i.setYScaleForIndex(t,s,a))})})})}},{key:"autoScaleY",value:function(e,t,n){e||(e=this);var i=e.w;if(i.globals.isMultipleYAxis||i.globals.collapsedSeries.length)return t;var r=i.globals.seriesX[0],o=i.config.chart.stacked;return t.forEach(function(e,s){for(var a=0,l=0;l<r.length;l++)if(r[l]>=n.xaxis.min){a=l;break}var c,u,d=i.globals.minYArr[s],h=i.globals.maxYArr[s],f=i.globals.stackedSeriesTotals;i.globals.series.forEach(function(s,l){var p=s[a];o?(p=f[a],c=u=p,f.forEach(function(e,t){r[t]<=n.xaxis.max&&r[t]>=n.xaxis.min&&(e>u&&null!==e&&(u=e),s[t]<c&&null!==s[t]&&(c=s[t]))})):(c=u=p,s.forEach(function(e,t){if(r[t]<=n.xaxis.max&&r[t]>=n.xaxis.min){var o=e,s=e;i.globals.series.forEach(function(n,i){null!==e&&(o=Math.min(n[t],o),s=Math.max(n[t],s))}),s>u&&null!==s&&(u=s),o<c&&null!==o&&(c=o)}})),void 0===c&&void 0===u&&(c=d,u=h),(u*=u<0?.9:1.1)<0&&u<h&&(u=h),(c*=c<0?1.1:.9)<0&&c>d&&(c=d),t.length>1?(t[l].min=void 0===e.min?c:e.min,t[l].max=void 0===e.max?u:e.max):(t[0].min=void 0===e.min?c:e.min,t[0].max=void 0===e.max?u:e.max)})}),t}}]),e}(),X=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.scales=new Z(t)}return a(e,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w.globals,o=-Number.MAX_VALUE,s=Number.MIN_VALUE;null===i&&(i=e+1);var a=r.series,l=a,c=a;"candlestick"===this.w.config.chart.type?(l=r.seriesCandleL,c=r.seriesCandleH):r.isRangeData&&(l=r.seriesRangeStart,c=r.seriesRangeEnd);for(var u=e;u<i;u++){r.dataPoints=Math.max(r.dataPoints,a[u].length);for(var d=0;d<r.series[u].length;d++){var h=a[u][d];null!==h&&p.isNumber(h)?(o=Math.max(o,c[u][d]),t=Math.min(t,l[u][d]),n=Math.max(n,l[u][d]),"candlestick"===this.w.config.chart.type&&(o=Math.max(o,r.seriesCandleO[u][d]),o=Math.max(o,r.seriesCandleH[u][d]),o=Math.max(o,r.seriesCandleL[u][d]),n=o=Math.max(o,r.seriesCandleC[u][d])),p.isFloat(h)&&(h=p.noExponents(h),r.yValueDecimal=Math.max(r.yValueDecimal,h.toString().split(".")[1].length)),s>l[u][d]&&l[u][d]<0&&(s=l[u][d])):r.hasNullValues=!0}}return{minY:s,maxY:o,lowestY:t,highestY:n}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var n=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var i=0;i<e.series.length;i++){var r=this.getMinYMaxY(i,n,null,i+1);e.minYArr.push(r.minY),e.maxYArr.push(r.maxY),n=r.lowestY}var o=this.getMinYMaxY(0,n,null,e.series.length);if(e.minY=o.minY,e.maxY=o.maxY,n=o.lowestY,t.chart.stacked){var s=[],a=[];if(e.series.length)for(var l=0;l<e.series[e.maxValsInArrayIndex].length;l++)for(var c=0,u=0,d=0;d<e.series.length;d++)null!==e.series[d][l]&&p.isNumber(e.series[d][l])&&(e.series[d][l]>0?c=c+parseFloat(e.series[d][l])+1e-4:u+=parseFloat(e.series[d][l])),d===e.series.length-1&&(s.push(c),a.push(u));for(var h=0;h<s.length;h++)e.maxY=Math.max(e.maxY,s[h]),e.minY=Math.min(e.minY,a[h])}if(("line"===t.chart.type||"area"===t.chart.type||"candlestick"===t.chart.type)&&e.minY===Number.MIN_VALUE&&n!==-Number.MAX_VALUE&&n!==e.maxY){var f=e.maxY-n;n>=0&&n<=10&&(f=0),e.minY=n-5*f/100,e.maxY=e.maxY+5*f/100}return t.yaxis.map(function(t,n){void 0!==t.max&&("number"==typeof t.max?e.maxYArr[n]=t.max:"function"==typeof t.max&&(e.maxYArr[n]=t.max(e.maxY)),e.maxY=e.maxYArr[n]),void 0!==t.min&&("number"==typeof t.min?e.minYArr[n]=t.min:"function"==typeof t.min&&(e.minYArr[n]=t.min(e.minY)),e.minY=e.minYArr[n])}),e.isBarHorizontal&&(void 0!==t.xaxis.min&&"number"==typeof t.xaxis.min&&(e.minY=t.xaxis.min),void 0!==t.xaxis.max&&"number"==typeof t.xaxis.max&&(e.maxY=t.xaxis.max)),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=n,e.yAxisScale.forEach(function(t,n){e.minYArr[n]=t.niceMin,e.maxYArr[n]=t.niceMax})):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.yAxisScale[0].niceMin,e.maxYArr[0]=e.yAxisScale[0].niceMax),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr}}},{key:"setXRange",value:function(){var e,t=this.w.globals,n=this.w.config,i="numeric"===n.xaxis.type||"datetime"===n.xaxis.type||"category"===n.xaxis.type&&!t.noLabelsProvided||t.noLabelsProvided||t.isXNumeric;if(t.isXNumeric)for(var r=0;r<t.series.length;r++)if(t.labels[r])for(var o=0;o<t.labels[r].length;o++)null!==t.labels[r][o]&&p.isNumber(t.labels[r][o])&&(t.maxX=Math.max(t.maxX,t.labels[r][o]),t.initialmaxX=Math.max(t.maxX,t.labels[r][o]),t.minX=Math.min(t.minX,t.labels[r][o]),t.initialminX=Math.min(t.minX,t.labels[r][o]));if(t.noLabelsProvided&&0===n.xaxis.categories.length&&(t.maxX=t.labels[t.labels.length-1],t.initialmaxX=t.labels[t.labels.length-1],t.minX=1,t.initialminX=1),(t.comboChartsHasBars||"candlestick"===n.chart.type||"bar"===n.chart.type&&t.isXNumeric)&&("category"!==n.xaxis.type||t.isXNumeric)){var s=t.svgWidth/t.dataPoints*(Math.abs(t.maxX-t.minX)/t.svgWidth),a=t.minX-s/2;t.minX=a,t.initialminX=a;var l=t.maxX+s/((t.series.length+1)/t.series.length);t.maxX=l,t.initialmaxX=l}if(!t.isXNumeric&&!t.noLabelsProvided||n.xaxis.convertedCatToNumeric&&!t.dataFormatXNumeric||(void 0===n.xaxis.tickAmount?(e=Math.round(t.svgWidth/150),"numeric"===n.xaxis.type&&t.dataPoints<20&&(e=t.dataPoints-1),e>t.dataPoints&&0!==t.dataPoints&&(e=t.dataPoints-1)):e="dataPoints"===n.xaxis.tickAmount?t.series[t.maxValsInArrayIndex].length-1:n.xaxis.tickAmount,void 0!==n.xaxis.max&&"number"==typeof n.xaxis.max&&(t.maxX=n.xaxis.max),void 0!==n.xaxis.min&&"number"==typeof n.xaxis.min&&(t.minX=n.xaxis.min),void 0!==n.xaxis.range&&(t.minX=t.maxX-n.xaxis.range),t.minX!==Number.MAX_VALUE&&t.maxX!==-Number.MAX_VALUE?t.xAxisScale=this.scales.linearScale(t.minX,t.maxX,e):(t.xAxisScale=this.scales.linearScale(1,e,e),t.noLabelsProvided&&t.labels.length>0&&(t.xAxisScale=this.scales.linearScale(1,t.labels.length,e-1),t.seriesX=t.labels.slice())),i&&(t.labels=t.xAxisScale.result.slice())),t.minX===t.maxX)if("datetime"===n.xaxis.type){var c=new Date(t.minX);c.setDate(c.getDate()-2),t.minX=new Date(c).getTime();var u=new Date(t.maxX);u.setDate(u.getDate()+2),t.maxX=new Date(u).getTime()}else("numeric"===n.xaxis.type||"category"===n.xaxis.type&&!t.noLabelsProvided)&&(t.minX=t.minX-2,t.maxX=t.maxX+2);return t.isXNumeric&&(t.seriesX.forEach(function(e,n){1===e.length&&e.push(t.seriesX[t.maxValsInArrayIndex][t.seriesX[t.maxValsInArrayIndex].length-1]),e.forEach(function(e,i){if(i>0){var r=e-t.seriesX[n][i-1];t.minXDiff=Math.min(r,t.minXDiff)}})}),this.calcMinXDiffForTinySeries()),{minX:t.minX,maxX:t.maxX}}},{key:"calcMinXDiffForTinySeries",value:function(){var e=this.w,t=e.globals.labels.length;return 1===e.globals.labels.length?e.globals.minXDiff=(e.globals.maxX-e.globals.minX)/t/3:e.globals.minXDiff===Number.MAX_VALUE&&(e.globals.timelineLabels.length>0&&(t=e.globals.timelineLabels.length),t<3&&(t=3),e.globals.minXDiff=(e.globals.maxX-e.globals.minX)/t),e.globals.minXDiff}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ)for(var t=0;t<e.series.length;t++)if(void 0!==e.seriesZ[t])for(var n=0;n<e.seriesZ[t].length;n++)null!==e.seriesZ[t][n]&&p.isNumber(e.seriesZ[t][n])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][n]),e.minZ=Math.min(e.minZ,e.seriesZ[t][n]))}}]),e}(),Q=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.timeScaleArray=[]}return a(e,[{key:"calculateTimeScaleTicks",value:function(e,t){var n=this,i=this.w;if(i.globals.allSeriesCollapsed)return i.globals.labels=[],i.globals.timelineLabels=[],[];var r=new w(this.ctx),o=(t-e)/864e5;this.determineInterval(o),i.globals.disableZoomIn=!1,i.globals.disableZoomOut=!1,o<.005?i.globals.disableZoomIn=!0:o>5e4&&(i.globals.disableZoomOut=!0);var s=r.getTimeUnitsfromTimestamp(e,t),a=i.globals.gridWidth/o,l=a/24,u=l/60,d=Math.floor(24*o),h=Math.floor(24*o*60),f=Math.floor(o),p=Math.floor(o/30),m=Math.floor(o/365),g={minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},v={firstVal:g,currentMinute:g.minMinute,currentHour:g.minHour,currentMonthDate:g.minDate,currentDate:g.minDate,currentMonth:g.minMonth,currentYear:g.minYear,daysWidthOnXAxis:a,hoursWidthOnXAxis:l,minutesWidthOnXAxis:u,numberOfMinutes:h,numberOfHours:d,numberOfDays:f,numberOfMonths:p,numberOfYears:m};switch(this.tickInterval){case"years":this.generateYearScale(v);break;case"months":case"half_year":this.generateMonthScale(v);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(v);break;case"hours":this.generateHourScale(v);break;case"minutes":this.generateMinuteScale(v)}var y=this.timeScaleArray.map(function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?c({},t,{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?c({},t,{value:e.value}):"minute"===e.unit?c({},t,{value:e.value,minute:e.value}):e});return y.filter(function(e){var t=1,r=Math.ceil(i.globals.gridWidth/120),o=e.value;void 0!==i.config.xaxis.tickAmount&&(r=i.config.xaxis.tickAmount),y.length>r&&(t=Math.floor(y.length/r));var s=!1,a=!1;switch(n.tickInterval){case"half_year":t=7,"year"===e.unit&&(s=!0);break;case"months":t=1,"year"===e.unit&&(s=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(s=!0),30===o&&(a=!0);break;case"months_days":t=10,"month"===e.unit&&(s=!0),30===o&&(a=!0);break;case"week_days":t=8,"month"===e.unit&&(s=!0);break;case"days":t=1,"month"===e.unit&&(s=!0);break;case"hours":"day"===e.unit&&(s=!0);break;case"minutes":o%5!=0&&(a=!0)}if("minutes"===n.tickInterval||"hours"===n.tickInterval){if(!a)return!0}else if((o%t==0||s)&&!a)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var n=this.w,i=this.formatDates(e),r=this.removeOverlappingTS(i);t?n.globals.invertedTimelineLabels=r.slice():n.globals.timelineLabels=r.slice(),new $(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){switch(!0){case e>1825:this.tickInterval="years";break;case e>800&&e<=1825:this.tickInterval="half_year";break;case e>180&&e<=800:this.tickInterval="months";break;case e>90&&e<=180:this.tickInterval="months_fortnight";break;case e>60&&e<=90:this.tickInterval="months_days";break;case e>30&&e<=60:this.tickInterval="week_days";break;case e>2&&e<=30:this.tickInterval="days";break;case e>.1&&e<=2:this.tickInterval="hours";break;case e<.1:this.tickInterval="minutes";break;default:this.tickInterval="days"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,n=e.currentMonth,i=e.currentYear,r=e.daysWidthOnXAxis,o=e.numberOfYears,s=t.minYear,a=0,l=new w(this.ctx);if(t.minDate>1&&t.minMonth>0){var c=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);a=(l.determineDaysOfYear(t.minYear)-c+1)*r,s=t.minYear+1,this.timeScaleArray.push({position:a,value:s,unit:"year",year:s,month:p.monthMod(n+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:a,value:s,unit:"year",year:i,month:p.monthMod(n+1)});for(var u=s,d=a,h=0;h<o;h++)u++,d=l.determineDaysOfYear(u-1)*r+d,this.timeScaleArray.push({position:d,value:u,unit:"year",year:u,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,n=e.currentMonthDate,i=e.currentMonth,r=e.currentYear,o=e.daysWidthOnXAxis,s=e.numberOfMonths,a=i,l=0,c=new w(this.ctx),u="month",d=0;if(t.minDate>1){l=(c.determineDaysOfMonths(i+1,t.minYear)-n+1)*o,a=p.monthMod(i+1);var h=r+d,f=p.monthMod(a),m=a;0===a&&(u="year",m=h,f=1,h+=d+=1),this.timeScaleArray.push({position:l,value:m,unit:u,year:h,month:f})}else this.timeScaleArray.push({position:l,value:a,unit:u,year:r,month:p.monthMod(i)});for(var g=a+1,v=l,y=0,b=1;y<s;y++,b++){0===(g=p.monthMod(g))?(u="year",d+=1):u="month";var _=r+Math.floor(g/12)+d;v=c.determineDaysOfMonths(g,_)*o+v;var x=0===g?_:g;this.timeScaleArray.push({position:v,value:x,unit:u,year:_,month:0===g?1:g}),g++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,n=e.currentMonth,i=e.currentYear,r=e.hoursWidthOnXAxis,o=e.numberOfDays,s=new w(this.ctx),a="day",l=(24-t.minHour)*r,c=t.minDate+1,u=c,d=function(e,t,n){return e>s.determineDaysOfMonths(t+1,n)?(h=1,a="month",u=t+=1,t):t},h=c,f=d(h,n,i);this.timeScaleArray.push({position:l,value:u,unit:a,year:i,month:p.monthMod(f),day:h});for(var m=l,g=0;g<o;g++){a="day",f=d(h+=1,f,i+Math.floor(f/12)+0);var v=i+Math.floor(f/12)+0;m=24*r+m;var y=1===h?p.monthMod(f):h;this.timeScaleArray.push({position:m,value:y,unit:a,year:v,month:p.monthMod(f),day:y})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,n=e.currentDate,i=e.currentMonth,r=e.currentYear,o=e.minutesWidthOnXAxis,s=e.numberOfHours,a=new w(this.ctx),l="hour",c=function(e,t){return e>a.determineDaysOfMonths(t+1,r)&&(g=1,t+=1),{month:t,date:g}},u=function(e,t){return e>a.determineDaysOfMonths(t+1,r)?t+=1:t},d=60-t.minMinute,h=d*o,f=t.minHour+1,m=f+1;60===d&&(h=0,m=(f=t.minHour)+1);var g=n,v=u(g,i);this.timeScaleArray.push({position:h,value:f,unit:l,day:g,hour:m,year:r,month:p.monthMod(v)});for(var y=h,b=0;b<s;b++){l="hour",m>=24&&(m=0,l="day",v=c(g+=1,v).month,v=u(g,v));var _=r+Math.floor(v/12)+0;y=0===m&&0===b?d*o:60*o+y;var x=0===m?g:m;this.timeScaleArray.push({position:y,value:x,unit:l,hour:m,day:g,year:_,month:p.monthMod(v)}),m++}}},{key:"generateMinuteScale",value:function(e){var t=e.firstVal,n=e.currentMinute,i=e.currentHour,r=e.currentDate,o=e.currentMonth,s=e.currentYear,a=e.minutesWidthOnXAxis,l=e.numberOfMinutes,c=a-(n-t.minMinute),u=t.minMinute+1,d=u+1,h=r,f=o,m=s,g=i;this.timeScaleArray.push({position:c,value:u,unit:"minute",day:h,hour:g,minute:d,year:m,month:p.monthMod(f)});for(var v=c,y=0;y<l;y++){d>=60&&(d=0,24===(g+=1)&&(g=0));var b=s+Math.floor(f/12)+0;v=a+v;var _=d;this.timeScaleArray.push({position:v,value:_,unit:"minute",hour:g,minute:d,day:h,year:b,month:p.monthMod(f)}),d++}}},{key:"createRawDateString",value:function(e,t){var n=e.year;return n+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?n+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":n+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?n+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":n+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),n+("minute"===e.unit?":"+("0"+t).slice(-2)+":00.000Z":":00:00.000Z")}},{key:"formatDates",value:function(e){var t=this,n=this.w;return e.map(function(e){var i=e.value.toString(),r=new w(t.ctx),o=t.createRawDateString(e,i),s=new Date(Date.parse(o));if(void 0===n.config.xaxis.labels.format){var a="dd MMM",l=n.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(a=l.year),"month"===e.unit&&(a=l.month),"day"===e.unit&&(a=l.day),"hour"===e.unit&&(a=l.hour),"minute"===e.unit&&(a=l.minute),i=r.formatDate(s,a,!0,!1)}else i=r.formatDate(s,n.config.xaxis.labels.format);return{dateString:o,position:e.position,value:i,unit:e.unit,year:e.year,month:e.month}})}},{key:"removeOverlappingTS",value:function(e){var t=this,n=new v(this.ctx),i=0,r=e.map(function(r,o){if(o>0&&t.w.config.xaxis.labels.hideOverlappingLabels){var s=n.getTextRects(e[i].value).width,a=e[i].position;return r.position>a+s+10?(i=o,r):null}return r});return r.filter(function(e){return null!==e})}}]),e}(),K=function(){function e(t,n){o(this,e),this.ctx=n,this.w=n.w,this.el=t,this.coreUtils=new A(this.ctx),this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[]}return a(e,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,n=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","candlestick","radar","scatter","bubble","heatmap"].indexOf(n)>-1,e.xyCharts=["line","area","bar","rangeBar","candlestick","scatter","bubble"].indexOf(n)>-1,e.isBarHorizontal=("bar"===t.chart.type||"rangeBar"===t.chart.type)&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.cuid,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),v.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background=t.chart.background,this.setSVGDimensions(),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elWrap.appendChild(e.dom.elLegendWrap),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var n=this.w,i=n.config,r=n.globals,o={series:[],i:[]},s={series:[],i:[]},a={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]};r.series.map(function(t,i){void 0!==e[i].type?("column"===e[i].type||"bar"===e[i].type?(n.config.plotOptions.bar.horizontal=!1,l.series.push(t),l.i.push(i)):"area"===e[i].type?(s.series.push(t),s.i.push(i)):"line"===e[i].type?(o.series.push(t),o.i.push(i)):"scatter"===e[i].type?(a.series.push(t),a.i.push(i)):"bubble"===e[i].type||("candlestick"===e[i].type?(c.series.push(t),c.i.push(i)):console.warn("You have specified an unrecognized chart type. Available types for this propery are line/area/column/bar/scatter/bubble")),r.comboCharts=!0):(o.series.push(t),o.i.push(i))});var u=new V(this.ctx,t),d=new j(this.ctx,t),h=new N(this.ctx),f=new P(this.ctx),p=new R(this.ctx,t),m=new Y(this.ctx),g=[];if(r.comboCharts){if(s.series.length>0&&g.push(u.draw(s.series,"area",s.i)),l.series.length>0)if(n.config.chart.stacked){var v=new I(this.ctx,t);g.push(v.draw(l.series,l.i))}else{var y=new T(this.ctx,t);g.push(y.draw(l.series,l.i))}if(o.series.length>0&&g.push(u.draw(o.series,"line",o.i)),c.series.length>0&&g.push(d.draw(c.series,c.i)),a.series.length>0){var b=new V(this.ctx,t,!0);g.push(b.draw(a.series,"scatter",a.i))}}else switch(i.chart.type){case"line":g=u.draw(r.series,"line");break;case"area":g=u.draw(r.series,"area");break;case"bar":g=i.chart.stacked?new I(this.ctx,t).draw(r.series):new T(this.ctx,t).draw(r.series);break;case"candlestick":g=new j(this.ctx,t).draw(r.series);break;case"rangeBar":g=p.draw(r.series);break;case"heatmap":g=new F(this.ctx,t).draw(r.series);break;case"pie":case"donut":g=h.draw(r.series);break;case"radialBar":g=f.draw(r.series);break;case"radar":g=m.draw(r.series);break;default:g=u.draw(r.series)}return g}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var n=p.getDimensions(this.el),i=t.chart.width.toString().split(/[0-9]+/g).pop();if("%"===i?p.isNumber(n[0])&&(0===n[0].width&&(n=p.getDimensions(this.el.parentNode)),e.svgWidth=n[0]*parseInt(t.chart.width)/100):"px"!==i&&""!==i||(e.svgWidth=parseInt(t.chart.width)),"auto"!==e.svgHeight&&""!==e.svgHeight)if("%"===t.chart.height.toString().split(/[0-9]+/g).pop()){var r=p.getDimensions(this.el.parentNode);e.svgHeight=r[1]*parseInt(t.chart.height)/100}else e.svgHeight=parseInt(t.chart.height);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth;e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),v.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight});var o=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+o+"px",e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,n={transform:"translate("+e.translateX+", "+t+")"};v.setAttrs(e.dom.elGraphical.node,n)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=0;"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||(n=new G(this.ctx).getLegendBBox().clwh+10);var i=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar"),r=2*e.globals.radialSize;i&&-90!==e.config.plotOptions.radialBar.startAngle&&(r=p.getBoundingClientRect(i).height);var o=Math.max(r,2*e.globals.radialSize)+t.translateY+n+20;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",o),t.dom.elWrap.style.height=o+"px",v.setAttrs(t.dom.Paper.node,{height:o}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=o+"px"}},{key:"coreCalculations",value:function(){new X(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this.w.globals;e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesPercent=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.stackedSeriesTotals=[],e.labels=[],e.timelineLabels=[],e.noLabelsProvided=!1,e.timescaleTicks=[],e.resizeTimer=null,e.selectionResizeTimer=null,e.seriesXvalues=this.w.config.series.map(function(e){return[]}),e.seriesYvalues=this.w.config.series.map(function(e){return[]}),e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.isDataXYZ=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialmaxX=-Number.MAX_VALUE,e.initialminX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var e=this,t=this.w;t.globals.ignoreYAxisIndexes=t.globals.collapsedSeries.map(function(t,n){if(e.w.globals.isMultipleYAxis)return t.index})}},{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new W(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new W(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var n=this.w.config,i=this.w.globals,r=0;r<e[t].data.length;r++)if(void 0!==e[t].data[r][1]&&(Array.isArray(e[t].data[r][1])&&4===e[t].data[r][1].length?this.twoDSeries.push(p.parseNumber(e[t].data[r][1][3])):this.twoDSeries.push(p.parseNumber(e[t].data[r][1])),i.dataFormatXNumeric=!0),"datetime"===n.xaxis.type){var o=new Date(e[t].data[r][0]);o=new Date(o).getTime(),this.twoDSeriesX.push(o)}else this.twoDSeriesX.push(e[t].data[r][0]);for(var s=0;s<e[t].data.length;s++)void 0!==e[t].data[s][2]&&(this.threeDSeries.push(e[t].data[s][2]),i.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var n=this.w.config,i=this.w.globals,r=new w(this.ctx),o=t;i.collapsedSeriesIndices.indexOf(t)>-1&&(o=this.activeSeriesIndex);for(var s=0;s<e[t].data.length;s++)void 0!==e[t].data[s].y&&(Array.isArray(e[t].data[s].y)?this.twoDSeries.push(p.parseNumber(e[t].data[s].y[e[t].data[s].y.length-1])):this.twoDSeries.push(p.parseNumber(e[t].data[s].y)));for(var a=0;a<e[o].data.length;a++){var l="string"==typeof e[o].data[a].x,c=!!r.isValidDate(e[o].data[a].x.toString());l||c?l?"datetime"!==n.xaxis.type||i.isRangeData?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[o].data[a].x)):this.twoDSeriesX.push(r.parseDate(e[o].data[a].x)):"datetime"===n.xaxis.type?this.twoDSeriesX.push(r.parseDate(e[o].data[a].x.toString())):(i.dataFormatXNumeric=!0,i.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[o].data[a].x))):(i.isXNumeric=!0,i.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[o].data[a].x))}if(e[t].data[0]&&void 0!==e[t].data[0].z){for(var u=0;u<e[t].data.length;u++)this.threeDSeries.push(e[t].data[u].z);i.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var n=this.w.globals,i={};return this.isFormat2DArray()?i=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(i=this.handleRangeDataFormat("xy",e,t)),n.seriesRangeStart.push(i.start),n.seriesRangeEnd.push(i.end),i}},{key:"handleCandleStickData",value:function(e,t){var n=this.w.globals,i={};return this.isFormat2DArray()?i=this.handleCandleStickDataFormat("array",e,t):this.isFormatXY()&&(i=this.handleCandleStickDataFormat("xy",e,t)),n.seriesCandleO.push(i.o),n.seriesCandleH.push(i.h),n.seriesCandleL.push(i.l),n.seriesCandleC.push(i.c),i}},{key:"handleRangeDataFormat",value:function(e,t,n){var i=[],r=[],o="Please provide [Start, End] values in valid format. Read more https://apexcharts.com/docs/series/#rangecharts",s=new W(this.ctx).getActiveConfigSeriesIndex();if("array"===e){if(2!==t[s].data[0][1].length)throw new Error(o);for(var a=0;a<t[n].data.length;a++)i.push(t[n].data[a][1][0]),r.push(t[n].data[a][1][1])}else if("xy"===e){if(2!==t[s].data[0].y.length)throw new Error(o);for(var l=0;l<t[n].data.length;l++)i.push(t[n].data[l].y[0]),r.push(t[n].data[l].y[1])}return{start:i,end:r}}},{key:"handleCandleStickDataFormat",value:function(e,t,n){var i=[],r=[],o=[],s=[],a="Please provide [Open, High, Low and Close] values in valid format. Read more https://apexcharts.com/docs/series/#candlestick";if("array"===e){if(4!==t[n].data[0][1].length)throw new Error(a);for(var l=0;l<t[n].data.length;l++)i.push(t[n].data[l][1][0]),r.push(t[n].data[l][1][1]),o.push(t[n].data[l][1][2]),s.push(t[n].data[l][1][3])}else if("xy"===e){if(4!==t[n].data[0].y.length)throw new Error(a);for(var c=0;c<t[n].data.length;c++)i.push(t[n].data[c].y[0]),r.push(t[n].data[c].y[1]),o.push(t[n].data[c].y[2]),s.push(t[n].data[c].y[3])}return{o:i,h:r,l:o,c:s}}},{key:"parseDataAxisCharts",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.ctx,n=this.w.config,i=this.w.globals,r=new w(t),o=0;o<e.length;o++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],void 0===e[o].data)return void console.error("It is a possibility that you may have not included 'data' property in series.");if("rangeBar"!==n.chart.type&&"rangeArea"!==n.chart.type&&"rangeBar"!==e[o].type&&"rangeArea"!==e[o].type||(i.isRangeData=!0,this.handleRangeData(e,o)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,o):this.isFormatXY()&&this.handleFormatXY(e,o),"candlestick"!==n.chart.type&&"candlestick"!==e[o].type||this.handleCandleStickData(e,o),i.series.push(this.twoDSeries),i.labels.push(this.twoDSeriesX),i.seriesX.push(this.twoDSeriesX),this.fallbackToCategory||(i.isXNumeric=!0);else{if("datetime"===n.xaxis.type){i.isXNumeric=!0;for(var s=n.labels.length>0?n.labels.slice():n.xaxis.categories.slice(),a=0;a<s.length;a++)if("string"==typeof s[a]){if(!r.isValidDate(s[a]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");this.twoDSeriesX.push(r.parseDate(s[a]))}else{if(13!==String(s[a]).length)throw new Error("Please provide a valid JavaScript timestamp");this.twoDSeriesX.push(s[a])}i.seriesX.push(this.twoDSeriesX)}else if("numeric"===n.xaxis.type){i.isXNumeric=!0;var l=n.labels.length>0?n.labels.slice():n.xaxis.categories.slice();l.length>0&&(this.twoDSeriesX=l,i.seriesX.push(this.twoDSeriesX))}i.labels.push(this.twoDSeriesX);var c=e[o].data.map(function(e){return p.parseNumber(e)});i.series.push(c)}i.seriesZ.push(this.threeDSeries),void 0!==e[o].name?i.seriesNames.push(e[o].name):i.seriesNames.push("series-"+parseInt(o+1))}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,n=this.w.config;t.series=e.slice(),t.seriesNames=n.labels.slice();for(var i=0;i<t.series.length;i++)void 0===t.seriesNames[i]&&t.seriesNames.push("series-"+(i+1));return this.w}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,n=this.w.globals;if(t.xaxis.categories.length>0)n.labels=t.xaxis.categories;else if(t.labels.length>0)n.labels=t.labels.slice();else if(this.fallbackToCategory)n.labels=n.labels[0];else{var i=[];if(n.axisCharts){if(n.series.length>0)for(var r=0;r<n.series[n.maxValsInArrayIndex].length;r++)i.push(r+1);for(var o=0;o<e.length;o++)n.seriesX.push(i);n.isXNumeric=!0}if(0===i.length){i=[0,10];for(var s=0;s<e.length;s++)n.seriesX.push(i)}n.labels=i,n.noLabelsProvided=!0}}},{key:"parseData",value:function(e){var t=this.w,n=t.config,i=t.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.resetGlobals(),this.isMultipleY(),i.axisCharts?this.parseDataAxisCharts(e):this.parseDataNonAxisCharts(e),this.coreUtils.getLargestSeries(),"bar"===n.chart.type&&n.chart.stacked){var r=new W(this.ctx);i.series=r.setNullSeriesToZeroValues(i.series)}this.coreUtils.getSeriesTotals(),i.axisCharts&&this.coreUtils.getStackedSeriesTotals(),this.coreUtils.getPercentSeries(),i.dataFormatXNumeric||i.isXNumeric&&("numeric"!==n.xaxis.type||0!==n.labels.length||0!==n.xaxis.categories.length)||this.handleExternalLabelsData(e)}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts&&("back"===t.config.xaxis.crosshairs.position&&new O(this.ctx).drawXCrosshairs(),"back"===t.config.yaxis[0].crosshairs.position&&new O(this.ctx).drawYCrosshairs(),e=this.coreUtils.getCalculatedRatios(),"datetime"===t.config.xaxis.type&&void 0===t.config.xaxis.labels.formatter)){var n,i=new Q(this.ctx);isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?(n=i.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX),i.recalcDimensionsBasedOnFormat(n,!1)):t.globals.isBarHorizontal&&(n=i.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY),i.recalcDimensionsBasedOnFormat(n,!0))}return e}},{key:"drawAxis",value:function(e,t){var n,i,r=this.w.globals,o=this.w.config,s=new U(this.ctx),a=new z(this.ctx);r.axisCharts&&"radar"!==e&&(r.isBarHorizontal?(i=a.drawYaxisInversed(0),n=s.drawXaxisInversed(0),r.dom.elGraphical.add(n),r.dom.elGraphical.add(i)):(n=s.drawXaxis(),r.dom.elGraphical.add(n),o.yaxis.map(function(e,t){-1===r.ignoreYAxisIndexes.indexOf(t)&&(i=a.drawYaxis(t),r.dom.Paper.add(i))}))),o.yaxis.map(function(e,t){-1===r.ignoreYAxisIndexes.indexOf(t)&&a.yAxisTitleRotate(t,e.opposite)})}},{key:"setupBrushHandler",value:function(){var e=this,t=this.w;if(t.config.chart.brush.enabled&&"function"!=typeof t.config.chart.events.selection){var n=t.config.chart.brush.targets||[t.config.chart.brush.target];n.forEach(function(t){var n=ApexCharts.getChartByID(t);n.w.globals.brushSource=e.ctx;var i=function(){e.ctx._updateOptions({chart:{selection:{xaxis:{min:n.w.globals.minX,max:n.w.globals.maxX}}}},!1,!1)};"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){i()}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){i()})}),t.config.chart.events.selection=function(e,i){n.forEach(function(e){var n=ApexCharts.getChartByID(e),r=p.clone(t.config.yaxis);t.config.chart.brush.autoScaleYaxis&&(r=new Z(n).autoScaleY(n,r,i)),n._updateOptions({xaxis:{min:i.xaxis.min,max:i.xaxis.max},yaxis:r},!1,!1,!1,!1)})}}}}]),e}();var J=setTimeout;function q(){}function ee(e){if(!(this instanceof ee))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],se(e,this)}function te(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,ee._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void ie(t.promise,e)}ne(t.promise,i)}else(1===e._state?ne:ie)(t.promise,e._value)})):e._deferreds.push(t)}function ne(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof ee)return e._state=3,e._value=t,void re(e);if("function"==typeof n)return void se(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,re(e)}catch(t){ie(e,t)}}function ie(e,t){e._state=2,e._value=t,re(e)}function re(e){2===e._state&&0===e._deferreds.length&&ee._immediateFn(function(){e._handled||ee._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)te(e,e._deferreds[t]);e._deferreds=null}function oe(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function se(e,t){var n=!1;try{e(function(e){n||(n=!0,ne(t,e))},function(e){n||(n=!0,ie(t,e))})}catch(e){if(n)return;n=!0,ie(t,e)}}ee.prototype.catch=function(e){return this.then(null,e)},ee.prototype.then=function(e,t){var n=new this.constructor(q);return te(this,new oe(e,t,n)),n},ee.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})},ee.all=function(e){return new ee(function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var r=i.length;function o(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,function(t){o(e,t)},n)}i[e]=s,0==--r&&t(i)}catch(e){n(e)}}for(var s=0;s<i.length;s++)o(s,i[s])})},ee.resolve=function(e){return e&&"object"==typeof e&&e.constructor===ee?e:new ee(function(t){t(e)})},ee.reject=function(e){return new ee(function(t,n){n(e)})},ee.race=function(e){return new ee(function(t,n){for(var i=0,r=e.length;i<r;i++)e[i].then(t,n)})},ee._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){J(e,0)},ee._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var ae=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"getSvgString",value:function(){return this.w.globals.dom.Paper.svg()}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs"),n=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs");t&&t.setAttribute("x",-500),n&&(n.setAttribute("y1",-100),n.setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(){var e=this;return new ee(function(t){var n=e.w;e.cleanup();var i=document.createElement("canvas");i.width=n.globals.svgWidth,i.height=parseInt(n.globals.dom.elWrap.style.height);var r="transparent"===n.config.chart.background?"#fff":n.config.chart.background,o=i.getContext("2d");o.fillStyle=r,o.fillRect(0,0,i.width,i.height);var s=window.URL||window.webkitURL||window,a=new Image;a.crossOrigin="anonymous";var l=e.getSvgString(),c="data:image/svg+xml,"+encodeURIComponent(l);a.onload=function(){o.drawImage(a,0,0),s.revokeObjectURL(c);var e=i.toDataURL("image/png");t(e)},a.src=c})}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),".svg")}},{key:"exportToPng",value:function(){var e=this;this.dataURI().then(function(t){e.triggerDownload(t,".png")})}},{key:"triggerDownload",value:function(e,t){var n=document.createElement("a");n.href=e,n.download=this.w.globals.chartID+t,document.body.appendChild(n),n.click(),document.body.removeChild(n)}}]),e}(),le=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.anim=new g(this.ctx),this.xaxisLabels=n.globals.labels.slice(),this.animX=n.config.grid.xaxis.lines.animate&&n.config.chart.animations.enabled,this.animY=n.config.grid.yaxis.lines.animate&&n.config.chart.animations.enabled,n.globals.timelineLabels.length>0&&(this.xaxisLabels=n.globals.timelineLabels.slice())}return a(e,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=new v(this.ctx);null===e&&(e=n.group({class:"apexcharts-grid"}));var i=n.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=n.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(i),e}},{key:"drawGrid",value:function(){var e=this.w,t=new U(this.ctx),n=new z(this.ctx),i=this.w.globals,r=null;if(i.axisCharts){if(e.config.grid.show)r=this.renderGrid(),i.dom.elGraphical.add(r.el),this.drawGridArea(r.el);else{var o=this.drawGridArea();i.dom.elGraphical.add(o)}null!==r&&t.xAxisLabelCorrections(r.xAxisTickWidth),n.setYAxisTextAlignments()}}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,n=new v(this.ctx),i=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var r=0;e.config.stroke.width.forEach(function(e){r=Math.max(r,e)}),i=r}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid)),t.dom.elGridRect=n.drawRect(-i/2,-i/2,t.gridWidth+i,t.gridHeight+i,0,"#fff"),new A(this).getLargestMarkerSize();var o=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=n.drawRect(-o,-o,t.gridWidth+2*o,t.gridHeight+2*o,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var s=t.dom.baseEl.querySelector("defs");s.appendChild(t.dom.elGridRectMask),s.appendChild(t.dom.elGridRectMarkerMask)}},{key:"renderGrid",value:function(){var e=this.w,t=new v(this.ctx),n=e.config.grid.strokeDashArray,i=t.group({class:"apexcharts-grid"}),r=t.group({class:"apexcharts-gridlines-horizontal"}),o=t.group({class:"apexcharts-gridlines-vertical"});i.add(r),i.add(o);for(var s,a=8,l=0;l<e.globals.series.length&&(void 0!==e.globals.yAxisScale[l]&&(a=e.globals.yAxisScale[l].result.length-1),!(a>2));l++);if(e.globals.isBarHorizontal){if(s=a,e.config.grid.xaxis.lines.show||e.config.xaxis.axisTicks.show)for(var c,u=e.globals.padHorizontal,d=e.globals.gridHeight,h=0;h<s+1&&(c=u=u+e.globals.gridWidth/s+.3,h!==s-1);h++){if(e.config.grid.xaxis.lines.show){var f=t.drawLine(u,0,c,d,e.config.grid.borderColor,n);f.node.classList.add("apexcharts-gridline"),o.add(f),this.animX&&this.animateLine(f,{x1:0,x2:0},{x1:u,x2:c})}new U(this.ctx).drawXaxisTicks(u,i)}if(e.config.grid.yaxis.lines.show)for(var p=0,m=0,g=e.globals.gridWidth,y=0;y<e.globals.dataPoints+1;y++){var b=t.drawLine(0,p,g,m,e.config.grid.borderColor,n);r.add(b),b.node.classList.add("apexcharts-gridline"),this.animY&&this.animateLine(b,{y1:p+20,y2:m+20},{y1:p,y2:m}),m=p+=e.globals.gridHeight/e.globals.dataPoints}}else{if(s=this.xaxisLabels.length,e.config.grid.xaxis.lines.show||e.config.xaxis.axisTicks.show){var _,w=e.globals.padHorizontal,x=e.globals.gridHeight;if(e.globals.timelineLabels.length>0)for(var A=0;A<s;A++){if(w=this.xaxisLabels[A].position,_=this.xaxisLabels[A].position,e.config.grid.xaxis.lines.show&&w>0&&w<e.globals.gridWidth){var C=t.drawLine(w,0,_,x,e.config.grid.borderColor,n);C.node.classList.add("apexcharts-gridline"),o.add(C),this.animX&&this.animateLine(C,{x1:0,x2:0},{x1:w,x2:_})}var k=new U(this.ctx);A===s-1&&e.globals.skipLastTimelinelabel||k.drawXaxisTicks(w,i)}else for(var M=s,S=0;S<M;S++){var L=M;if(e.globals.isXNumeric&&"bar"!==e.config.chart.type&&(L-=1),_=w+=e.globals.gridWidth/L,S===L-1)break;if(e.config.grid.xaxis.lines.show){var E=t.drawLine(w,0,_,x,e.config.grid.borderColor,n);E.node.classList.add("apexcharts-gridline"),o.add(E),this.animX&&this.animateLine(E,{x1:0,x2:0},{x1:w,x2:_})}new U(this.ctx).drawXaxisTicks(w,i)}}if(e.config.grid.yaxis.lines.show)for(var D=0,T=0,I=e.globals.gridWidth,j=0;j<a+1;j++){var O=t.drawLine(0,D,I,T,e.config.grid.borderColor,n);r.add(O),O.node.classList.add("apexcharts-gridline"),this.animY&&this.animateLine(O,{y1:D+20,y2:T+20},{y1:D,y2:T}),T=D+=e.globals.gridHeight/a}}return this.drawGridBands(i,s,a),{el:i,xAxisTickWidth:e.globals.gridWidth/s}}},{key:"drawGridBands",value:function(e,t,n){var i=this.w,r=new v(this.ctx);if(void 0!==i.config.grid.row.colors&&i.config.grid.row.colors.length>0)for(var o=0,s=i.globals.gridHeight/n,a=i.globals.gridWidth,l=0,c=0;l<n;l++,c++){c>=i.config.grid.row.colors.length&&(c=0);var u=i.config.grid.row.colors[c],d=r.drawRect(0,o,a,s,0,u,i.config.grid.row.opacity);e.add(d),d.node.classList.add("apexcharts-gridRow"),o+=i.globals.gridHeight/n}if(void 0!==i.config.grid.column.colors&&i.config.grid.column.colors.length>0)for(var h=i.globals.padHorizontal,f=i.globals.padHorizontal+i.globals.gridWidth/t,p=i.globals.gridHeight,m=0,g=0;m<t;m++,g++){g>=i.config.grid.column.colors.length&&(g=0);var y=i.config.grid.column.colors[g],b=r.drawRect(h,0,f,p,0,y,i.config.grid.column.opacity);b.node.classList.add("apexcharts-gridColumn"),e.add(b),h+=i.globals.gridWidth/t}}},{key:"animateLine",value:function(e,t,n){var i=this.w,r=i.config.chart.animations;if(r&&!i.globals.resized&&!i.globals.dataChanged){var o=r.speed;this.anim.animateLine(e,t,n,o)}}}]),e}(),ce=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"checkResponsiveConfig",value:function(e){var t=this,n=this.w,i=n.config;if(0!==i.responsive.length){var r=i.responsive.slice();r.sort(function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0}).reverse();var o=new C({}),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r[0].breakpoint,s=window.innerWidth>0?window.innerWidth:screen.width;if(s>i){var a=A.extendArrayProps(o,n.globals.initialConfig);e=p.extend(a,e),e=p.extend(n.config,e),t.overrideResponsiveOptions(e)}else for(var l=0;l<r.length;l++)s<r[l].breakpoint&&(e=A.extendArrayProps(o,r[l].options),e=p.extend(n.config,e),t.overrideResponsiveOptions(e))};if(e){var a=A.extendArrayProps(o,e);a=p.extend(n.config,a),s(a=p.extend(a,e))}else s({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new C(e).init();this.w.config=t}}]),e}(),ue=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.colors=[]}return a(e,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e=this.w,t=new p;if(e.globals.dom.elWrap.classList.add(e.config.theme.mode),void 0===e.config.colors?e.globals.colors=this.predefined():e.globals.colors=e.config.colors,e.config.theme.monochrome.enabled){var n=[],i=e.globals.series.length;e.config.plotOptions.bar.distributed&&"bar"===e.config.chart.type&&(i=e.globals.series[0].length*e.globals.series.length);for(var r=e.config.theme.monochrome.color,o=1/(i/e.config.theme.monochrome.shadeIntensity),s=e.config.theme.monochrome.shadeTo,a=0,l=0;l<i;l++){var c=void 0;"dark"===s?(c=t.shadeColor(-1*a,r),a+=o):(c=t.shadeColor(a,r),a+=o),n.push(c)}e.globals.colors=n.slice()}var u=e.globals.colors.slice();this.pushExtraColors(e.globals.colors),void 0===e.config.stroke.colors?e.globals.stroke.colors=u:e.globals.stroke.colors=e.config.stroke.colors,this.pushExtraColors(e.globals.stroke.colors),void 0===e.config.fill.colors?e.globals.fill.colors=u:e.globals.fill.colors=e.config.fill.colors,this.pushExtraColors(e.globals.fill.colors),void 0===e.config.dataLabels.style.colors?e.globals.dataLabels.style.colors=u:e.globals.dataLabels.style.colors=e.config.dataLabels.style.colors,this.pushExtraColors(e.globals.dataLabels.style.colors,50),void 0===e.config.plotOptions.radar.polygons.fill.colors?e.globals.radarPolygons.fill.colors=["dark"===e.config.theme.mode?"#202D48":"#fff"]:e.globals.radarPolygons.fill.colors=e.config.plotOptions.radar.polygons.fill.colors,this.pushExtraColors(e.globals.radarPolygons.fill.colors,20),void 0===e.config.markers.colors?e.globals.markers.colors=u:e.globals.markers.colors=e.config.markers.colors,this.pushExtraColors(e.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,r=t||i.globals.series.length;if(null===n&&(n="bar"===i.config.chart.type&&i.config.plotOptions.bar.distributed||"heatmap"===i.config.chart.type&&i.config.plotOptions.heatmap.colorScale.inverse),n&&(r=i.globals.series[0].length*i.globals.series.length),e.length<r)for(var o=r-e.length,s=0;s<o;s++)e.push(e[s])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode||"light",n=e.theme.palette?e.theme.palette:"dark"===t?"palette4":"palette1",i=e.chart.foreColor?e.chart.foreColor:"dark"===t?"#f6f7f8":"#373d3f";return e.tooltip.theme=t,e.chart.foreColor=i,e.theme.palette=n,e}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"];break;default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"]}return this.colors}}]),e}(),de=function(){function e(t){o(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx}return a(e,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,n=e.elGrid,i=e.clientX,r=e.clientY,o=e.hasBars,s=this.w,a=s.globals.gridWidth,l=a/(s.globals.dataPoints-1),c=n.getBoundingClientRect();(o&&s.globals.comboCharts||o)&&(l=a/s.globals.dataPoints);var u=i-c.left,d=r-c.top;u<0||d<0||u>s.globals.gridWidth||d>s.globals.gridHeight?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):s.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):s.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var h=Math.round(u/l);o&&(h=Math.ceil(u/l),h-=1);for(var f,p=null,m=null,g=[],v=0;v<s.globals.seriesXvalues.length;v++)g.push([s.globals.seriesXvalues[v][0]-1e-6].concat(s.globals.seriesXvalues[v]));return g=g.map(function(e){return e.filter(function(e){return e})}),f=s.globals.seriesYvalues.map(function(e){return e.filter(function(e){return e})}),s.globals.isXNumeric&&(p=(m=this.closestInMultiArray(u,d,g,f)).index,h=m.j,null!==p&&(g=s.globals.seriesXvalues[p],h=(m=this.closestInArray(u,g)).index)),s.globals.capturedSeriesIndex=null===p?-1:p,s.globals.capturedDataPointIndex=null===h?-1:h,(!h||h<1)&&(h=0),{capturedSeries:p,j:h,hoverX:u,hoverY:d}}},{key:"closestInMultiArray",value:function(e,t,n,i){var r=this.w,o=0,s=null,a=-1;r.globals.series.length>1?o=this.getFirstActiveXArray(n):s=0;var l=i[o][0],c=n[o][0],u=Math.abs(e-c),d=Math.abs(t-l),h=d+u;return i.map(function(r,o){r.map(function(r,l){var c=Math.abs(t-i[o][l]),f=Math.abs(e-n[o][l]),p=f+c;p<h&&(h=p,u=f,d=c,s=o,a=l)})}),{index:s,j:a}}},{key:"getFirstActiveXArray",value:function(e){for(var t=0,n=new A(this.ctx),i=e.map(function(e,t){return e.length>0?t:-1}),r=0;r<i.length;r++){var o=n.getSeriesTotalByIndex(r);if(-1!==i[r]&&0!==o&&!n.seriesHaveSameValues(r)){t=i[r];break}}return t}},{key:"closestInArray",value:function(e,t){for(var n=t[0],i=null,r=Math.abs(e-n),o=0;o<t.length;o++){var s=Math.abs(e-t[o]);s<r&&(r=s,i=o)}return{index:i}}},{key:"isXoverlap",value:function(e){var t=[],n=this.w.globals.seriesX.filter(function(e){return void 0!==e[0]});if(n.length>0)for(var i=0;i<n.length-1;i++)void 0!==n[i][e]&&void 0!==n[i+1][e]&&n[i][e]!==n[i+1][e]&&t.push("unEqual");return 0===t.length}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,n=0;n<t.length-1;n++)if(t[n].data.length!==t[n+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return f(e).reduce(function(e,t){return e+t.getBBox().height},0)}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,n=this.ttCtx;0===n.allTooltipSeriesGroups.length&&(n.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var i=n.allTooltipSeriesGroups,r=0;r<i.length;r++)"enable"===e?(i[r].classList.add("active"),i[r].style.display=t.config.tooltip.items.display):(i[r].classList.remove("active"),i[r].style.display="none")}}]),e}(),he=function(){function e(t){o(this,e),this.w=t.w,this.ctx=t.ctx,this.ttCtx=t,this.tooltipUtil=new de(t)}return a(e,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,n=void 0===t||t,i=e.ttItems,r=e.i,o=void 0===r?0:r,s=e.j,a=void 0===s?null:s;void 0!==this.w.config.tooltip.custom?this.handleCustomTooltip({i:o,j:a}):this.toggleActiveInactiveSeries(n);var l=this.getValuesToPrint({i:o,j:a});this.printLabels({i:o,j:a,values:l,ttItems:i,shared:n});var c=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=c.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=c.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,n=e.i,i=e.j,r=e.values,o=e.ttItems,s=e.shared,a=this.w,l=r.xVal,c=r.zVal,u=r.xAxisTTVal,d="",h=a.globals.colors[n];null!==i&&a.config.plotOptions.bar.distributed&&(h=a.globals.colors[i]);for(var f=0,p=a.globals.series.length-1;f<a.globals.series.length;f++,p--){var m=this.getFormatters(n);if(d=this.getSeriesName({fn:m.yLbTitleFormatter,index:n,seriesIndex:n,j:i}),s){var g=a.config.tooltip.inverseOrder?p:f;m=this.getFormatters(g),d=this.getSeriesName({fn:m.yLbTitleFormatter,index:g,seriesIndex:n,j:i}),h=a.globals.colors[g],t=m.yLbFormatter(a.globals.series[g][i],{series:a.globals.series,seriesIndex:g,dataPointIndex:i,w:a}),(this.ttCtx.hasBars()&&a.config.chart.stacked&&0===a.globals.series[g][i]||void 0===a.globals.series[g][i])&&(t=void 0)}else t=m.yLbFormatter(a.globals.series[n][i],{series:a.globals.series,seriesIndex:n,dataPointIndex:i,w:a});null===i&&(t=m.yLbFormatter(a.globals.series[n],a)),this.DOMHandling({t:f,ttItems:o,values:{val:t,xVal:l,xAxisTTVal:u,zVal:c},seriesName:d,shared:s,pColor:h})}}},{key:"getFormatters",value:function(e){var t,n=this.w,i=n.globals.yLabelFormatters[e];return void 0!==n.globals.ttVal?Array.isArray(n.globals.ttVal)?(i=n.globals.ttVal[e]&&n.globals.ttVal[e].formatter,t=n.globals.ttVal[e]&&n.globals.ttVal[e].title&&n.globals.ttVal[e].title.formatter):(i=n.globals.ttVal.formatter,"function"==typeof n.globals.ttVal.title.formatter&&(t=n.globals.ttVal.title.formatter)):t=n.config.tooltip.y.title.formatter,"function"!=typeof i&&(i=n.globals.yLabelFormatters[0]?n.globals.yLabelFormatters[0]:function(e){return e}),"function"!=typeof t&&(t=function(e){return e}),{yLbFormatter:i,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,n=e.index,i=e.seriesIndex,r=e.j,o=this.w;return t(String(o.globals.seriesNames[n]),{series:o.globals.series,seriesIndex:i,dataPointIndex:r,w:o})}},{key:"DOMHandling",value:function(e){var t=e.t,n=e.ttItems,i=e.values,r=e.seriesName,o=e.shared,s=e.pColor,a=this.w,l=this.ttCtx,c=i.val,u=i.xVal,d=i.xAxisTTVal,h=i.zVal,f=null;f=n[t].children,a.config.tooltip.fillSeriesColor&&(n[t].style.backgroundColor=s,f[0].style.display="none"),l.showTooltipTitle&&(null===l.tooltipTitle&&(l.tooltipTitle=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),l.tooltipTitle.innerHTML=u),l.blxaxisTooltip&&(l.xaxisTooltipText.innerHTML=""!==d?d:u);var p=n[t].querySelector(".apexcharts-tooltip-text-label");p&&(p.innerHTML=r?r+": ":"");var m=n[t].querySelector(".apexcharts-tooltip-text-value");m&&(m.innerHTML=c),f[0]&&f[0].classList.contains("apexcharts-tooltip-marker")&&(f[0].style.backgroundColor=s),a.config.tooltip.marker.show||(f[0].style.display="none"),null!==h&&(n[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=a.config.tooltip.z.title,n[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=h),o&&f[0]&&(null==c||a.globals.collapsedSeriesIndices.indexOf(t)>-1?f[0].parentNode.style.display="none":f[0].parentNode.style.display=a.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var n=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");n&&(n.classList.add("active"),n.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,n=e.j,i=this.w,r=this.ctx.series.filteredSeriesX(),o="",s=null,a=null,l={series:i.globals.series,seriesIndex:t,dataPointIndex:n,w:i},c=i.globals.ttZFormatter;null===n?a=i.globals.series[t]:i.globals.isXNumeric?(o=r[t][n],0===r[t].length&&(o=r[this.tooltipUtil.getFirstActiveXArray(r)][n])):o=void 0!==i.globals.labels[n]?i.globals.labels[n]:"";var u=o;return i.globals.isXNumeric&&"datetime"===i.config.xaxis.type?o=new B(this.ctx).xLabelFormat(i.globals.ttKeyFormatter,u,u):i.globals.isBarHorizontal||(o=i.globals.xLabelFormatter(u,l)),void 0!==i.config.tooltip.x.formatter&&(o=i.globals.ttKeyFormatter(u,l)),i.globals.seriesZ.length>0&&i.globals.seriesZ[0].length>0&&(s=c(i.globals.seriesZ[t][n],i)),{val:a,xVal:o,xAxisTTVal:"function"==typeof i.config.xaxis.tooltip.formatter?i.globals.xaxisTooltipFormatter(u,l):o,zVal:s}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,n=e.j,i=this.w;this.ttCtx.getElTooltip().innerHTML=i.config.tooltip.custom({ctx:this.ctx,series:i.globals.series,seriesIndex:t,dataPointIndex:n,w:i})}}]),e}(),fe=function(){function e(t){o(this,e),this.ttCtx=t,this.ctx=t.ctx,this.w=t.w}return a(e,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.ttCtx,i=this.w,r=n.getElXCrosshairs(),o=e-n.xcrosshairsWidth/2,s=i.globals.labels.slice().length;if(null!==t&&(o=i.globals.gridWidth/s*t),"tickWidth"===i.config.xaxis.crosshairs.width||"barWidth"===i.config.xaxis.crosshairs.width?o+n.xcrosshairsWidth>i.globals.gridWidth&&(o=i.globals.gridWidth-n.xcrosshairsWidth):null!==t&&(o+=i.globals.gridWidth/s/2),o<0&&(o=0),o>i.globals.gridWidth&&(o=i.globals.gridWidth),null!==r&&(r.setAttribute("x",o),r.setAttribute("x1",o),r.setAttribute("x2",o),r.setAttribute("y2",i.globals.gridHeight),r.classList.add("active")),n.blxaxisTooltip){var a=o;"tickWidth"!==i.config.xaxis.crosshairs.width&&"barWidth"!==i.config.xaxis.crosshairs.width||(a=o+n.xcrosshairsWidth/2),this.moveXAxisTooltip(a)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&(v.setAttrs(t.ycrosshairs,{y1:e,y2:e}),v.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e}))}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;if(null!==n.xaxisTooltip){n.xaxisTooltip.classList.add("active");var i,r=n.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=n.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e))e+=t.globals.translateX,i=new v(this.ctx).getTextRects(n.xaxisTooltipText.innerHTML),n.xaxisTooltipText.style.minWidth=i.width+"px",n.xaxisTooltip.style.left=e+"px",n.xaxisTooltip.style.top=r+"px"}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;null===n.yaxisTTEls&&(n.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var i=parseInt(n.ycrosshairsHidden.getAttribute("y1")),r=t.globals.translateY+i,o=n.yaxisTTEls[e].getBoundingClientRect().height,s=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(s-=26),r-=o/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(n.yaxisTTEls[e].classList.add("active"),n.yaxisTTEls[e].style.top=r+"px",n.yaxisTTEls[e].style.left=s+t.config.yaxis[e].tooltip.offsetX+"px"):n.yaxisTTEls[e].classList.remove("active")}},{key:"moveTooltip",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,r=this.ttCtx,o=r.getElTooltip(),s=r.tooltipRect,a=null!==n?parseInt(n):1,l=parseInt(e)+a+5,c=parseInt(t)+a/2;if(l>i.globals.gridWidth/2&&(l=l-s.ttWidth-a-15),l>i.globals.gridWidth-s.ttWidth-10&&(l=i.globals.gridWidth-s.ttWidth),l<-20&&(l=-20),i.config.tooltip.followCursor){var u=r.getElGrid().getBoundingClientRect();c=r.e.clientY+i.globals.translateY-u.top-s.ttHeight/2}var d=this.positionChecks(s,l,c);l=d.x,c=d.y,isNaN(l)||(l+=i.globals.translateX,o.style.left=l+"px",o.style.top=c+"px")}},{key:"positionChecks",value:function(e,t,n){var i=this.w;return e.ttHeight+n>i.globals.gridHeight&&(n=i.globals.gridHeight-e.ttHeight+i.globals.translateY),n<0&&(n=0),{x:t,y:n}}},{key:"moveMarkers",value:function(e,t){var n=this.w,i=this.ttCtx;if(n.globals.markers.size[e]>0)for(var r=n.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),o=0;o<r.length;o++)parseInt(r[o].getAttribute("rel"))===t&&(i.marker.resetPointsSize(),i.marker.enlargeCurrentPoint(t,r[o]));else i.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var n,i,r=this.w,o=this.ttCtx,s=r.globals.pointsArray,a=r.config.markers.hover.size;if(void 0===a&&(a=r.globals.markers.size[t]+r.config.markers.hover.sizeOffset),!r.config.series[t].type||"column"!==r.config.series[t].type){n=s[t][e][0],i=s[t][e][1]?s[t][e][1]:0;var l=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers circle"));l&&(l.setAttribute("r",a),l.setAttribute("cx",n),l.setAttribute("cy",i)),this.moveXCrosshairs(n),o.fixedTooltip||this.moveTooltip(n,i,a)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,n=this.ttCtx,i=n.w,r=0,o=0,s=i.globals.pointsArray;t=new W(this.ctx).getActiveSeriesIndex();var a=i.config.markers.hover.size;void 0===a&&(a=i.globals.markers.size[t]+i.config.markers.hover.sizeOffset),s[t]&&(r=s[t][e][0],o=s[t][e][1]);var l=null,c=n.getAllMarkers();if(null!==(l=null!==c?c:i.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers circle")))for(var u=0;u<l.length;u++){var d=s[u];if(d&&d.length){var h=s[u][e][1];l[u].setAttribute("cx",r);var f=parseInt(l[u].parentNode.parentNode.parentNode.getAttribute("data:realIndex"));null!==h?(l[f]&&l[f].setAttribute("r",a),l[f]&&l[f].setAttribute("cy",h)):l[f]&&l[f].setAttribute("r",0)}}if(this.moveXCrosshairs(r),!n.fixedTooltip){var p=o||i.globals.gridHeight;this.moveTooltip(r,p,a)}}},{key:"moveStickyTooltipOverBars",value:function(e){var t,n=this.w,i=this.ttCtx,r=n.globals.maxValsInArrayIndex+1,o=n.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(r,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(r,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(r,"'] path[j='").concat(e,"']")),s=o?parseFloat(o.getAttribute("cx")):0,a=o?parseFloat(o.getAttribute("barWidth")):0;n.globals.isXNumeric?s-=a/2:(s=i.xAxisTicksPositions[e-1]+i.dataPointsDividedWidth/2,isNaN(s)&&(s=i.xAxisTicksPositions[e]-i.dataPointsDividedWidth/2));var l=i.getElGrid().getBoundingClientRect();if(t=i.e.clientY-l.top-i.tooltipRect.ttHeight/2,this.moveXCrosshairs(s),!i.fixedTooltip){var c=t||n.globals.gridHeight;this.moveTooltip(s,c)}}}]),e}(),pe=function(){function e(t){o(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx,this.tooltipPosition=new fe(t)}return a(e,[{key:"drawDynamicPoints",value:function(){for(var e=this.w,t=new v(this.ctx),n=new L(this.ctx),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series"),r=0;r<i.length;r++){var o=parseInt(i[r].getAttribute("data:realIndex")),s=e.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(o,"'] .apexcharts-series-markers-wrap"));if(null!==s){var a=void 0,l="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));"line"!==e.config.chart.type&&"area"!==e.config.chart.type||e.globals.comboCharts||e.config.tooltip.intersect||(l+=" no-pointer-events");var c=n.getMarkerConfig(l,o);(a=t.drawMarker(0,0,c)).node.setAttribute("default-marker-size",0);var u=document.createElementNS(e.globals.SVGNS,"g");u.classList.add("apexcharts-series-markers"),u.appendChild(a.node),s.appendChild(u)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w;"bubble"!==r.config.chart.type&&this.newPointSize(e,t);var o=t.getAttribute("cx"),s=t.getAttribute("cy");if(null!==n&&null!==i&&(o=n,s=i),this.tooltipPosition.moveXCrosshairs(o),!this.fixedTooltip){if("radar"===r.config.chart.type){var a=this.ttCtx.getElGrid().getBoundingClientRect();o=this.ttCtx.e.clientX-a.left}this.tooltipPosition.moveTooltip(o,s,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,n=this.ttCtx,i=e,r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,s=0;s<r.length;s++){var a=r[s].getAttribute("rel"),l=r[s].getAttribute("index");if(void 0===o&&(o=t.globals.markers.size[l]+t.config.markers.hover.sizeOffset),i===parseInt(a)){this.newPointSize(i,r[s]);var c=r[s].getAttribute("cx"),u=r[s].getAttribute("cy");this.tooltipPosition.moveXCrosshairs(c),n.fixedTooltip||this.tooltipPosition.moveTooltip(c,u,o)}else this.oldPointSize(r[s])}}},{key:"newPointSize",value:function(e,t){var n=this.w,i=n.config.markers.hover.size,r=null;r=0===e?t.parentNode.firstChild:t.parentNode.lastChild;var o=parseInt(r.getAttribute("index"));void 0===i&&(i=n.globals.markers.size[o]+n.config.markers.hover.sizeOffset),r.setAttribute("r",i)}},{key:"oldPointSize",value:function(e){var t=parseInt(e.getAttribute("default-marker-size"));e.setAttribute("r",t)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var n=parseInt(e[t].getAttribute("default-marker-size"));p.isNumber(n)?e[t].setAttribute("r",n):e[t].setAttribute("r",0)}}}]),e}(),me=function(){function e(t){o(this,e),this.w=t.w,this.ttCtx=t}return a(e,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTooltip",value:function(e){var t=e.e,n=e.opt,i=e.x,r=e.y,o=this.ttCtx,s=this.w;if(t.target.classList.contains("apexcharts-heatmap-rect")){var a=this.getAttr(t,"i"),l=this.getAttr(t,"j"),c=this.getAttr(t,"cx"),u=this.getAttr(t,"cy"),d=this.getAttr(t,"width"),h=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:a,j:l,shared:!1}),s.globals.capturedSeriesIndex=a,s.globals.capturedDataPointIndex=l,i=c+o.tooltipRect.ttWidth/2+d,r=u+o.tooltipRect.ttHeight/2-h/2,o.tooltipPosition.moveXCrosshairs(c+d/2),i>s.globals.gridWidth/2&&(i=c-o.tooltipRect.ttWidth/2+d),o.w.config.tooltip.followCursor){var f=o.getElGrid().getBoundingClientRect();r=o.e.clientY-f.top+s.globals.translateY/2-10}}return{x:i,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,n,i=e.e,r=e.opt,o=e.x,s=e.y,a=this.w,l=this.ttCtx;if(i.target.classList.contains("apexcharts-marker")){var c=parseInt(r.paths.getAttribute("cx")),u=parseInt(r.paths.getAttribute("cy")),d=parseFloat(r.paths.getAttribute("val"));if(n=parseInt(r.paths.getAttribute("rel")),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"))-1,l.intersect){var h=p.findAncestor(r.paths,"apexcharts-series");h&&(t=parseInt(h.getAttribute("data:realIndex")))}if(l.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:n,shared:!l.showOnIntersect&&a.config.tooltip.shared}),"mouseup"===i.type&&l.markerClick(i,t,n),a.globals.capturedSeriesIndex=t,a.globals.capturedDataPointIndex=n,o=c,s=u+a.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var f=l.getElGrid().getBoundingClientRect();s=l.e.clientY+a.globals.translateY-f.top}d<0&&(s=u),l.marker.enlargeCurrentPoint(n,r.paths,o,s)}return{x:o,y:s}}},{key:"handleBarTooltip",value:function(e){var t,n,i=e.e,r=e.opt,o=this.w,s=this.ttCtx,a=s.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:i,opt:r});t=d.i;var h=d.barHeight,f=d.j;if(o.globals.capturedSeriesIndex=t,o.globals.capturedDataPointIndex=f,o.globals.isBarHorizontal&&s.hasBars()||!o.config.tooltip.shared?(c=d.x,u=d.y,n=Array.isArray(o.config.stroke.width)?o.config.stroke.width[t]:o.config.stroke.width,l=c):o.globals.comboCharts||o.config.tooltip.shared||(l/=2),isNaN(u)&&(u=o.globals.svgHeight-s.tooltipRect.ttHeight),c+s.tooltipRect.ttWidth>o.globals.gridWidth?c-=s.tooltipRect.ttWidth:c<0&&(c+=s.tooltipRect.ttWidth),s.w.config.tooltip.followCursor){var p=s.getElGrid().getBoundingClientRect();u=s.e.clientY-p.top}if(null===s.tooltip&&(s.tooltip=o.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),o.config.tooltip.shared||(o.globals.comboChartsHasBars?s.tooltipPosition.moveXCrosshairs(l+n/2):s.tooltipPosition.moveXCrosshairs(l)),!s.fixedTooltip&&(!o.config.tooltip.shared||o.globals.isBarHorizontal&&s.hasBars())){g&&(c=o.globals.gridWidth-c),a.style.left=c+o.globals.translateX+"px";var m=parseInt(r.paths.parentNode.getAttribute("data:realIndex")),g=o.globals.isMultipleYAxis?o.config.yaxis[m]&&o.config.yaxis[m].reversed:o.config.yaxis[0].reversed;!g||o.globals.isBarHorizontal&&s.hasBars()||(u=u+h-2*(o.globals.series[t][f]<0?h:0)),s.tooltipRect.ttHeight+u>o.globals.gridHeight?(u=o.globals.gridHeight-s.tooltipRect.ttHeight+o.globals.translateY,a.style.top=u+"px"):a.style.top=u+o.globals.translateY-s.tooltipRect.ttHeight/2+"px"}}},{key:"getBarTooltipXY",value:function(e){var t=e.e,n=e.opt,i=this.w,r=null,o=this.ttCtx,s=0,a=0,l=0,c=0,u=0,d=t.target.classList;if(d.contains("apexcharts-bar-area")||d.contains("apexcharts-candlestick-area")||d.contains("apexcharts-rangebar-area")){var h=t.target,f=h.getBoundingClientRect(),p=n.elGrid.getBoundingClientRect(),m=f.height;u=f.height;var g=f.width,v=parseInt(h.getAttribute("cx")),y=parseInt(h.getAttribute("cy"));c=parseFloat(h.getAttribute("barWidth"));var b="touchmove"===t.type?t.touches[0].clientX:t.clientX;r=parseInt(h.getAttribute("j")),s=parseInt(h.parentNode.getAttribute("rel"))-1,i.globals.comboCharts&&(s=parseInt(h.parentNode.getAttribute("data:realIndex"))),o.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:s,j:r,shared:!o.showOnIntersect&&i.config.tooltip.shared}),i.config.tooltip.followCursor?i.globals.isBarHorizontal?(a=b-p.left+15,l=y-o.dataPointsDividedHeight+m/2-o.tooltipRect.ttHeight/2):(a=i.globals.isXNumeric?v-g/2:v-o.dataPointsDividedWidth+g/2,l=t.clientY-p.top-o.tooltipRect.ttHeight/2-15):i.globals.isBarHorizontal?((a=v)<o.xyRatios.baseLineInvertedY&&(a=v-o.tooltipRect.ttWidth),l=y-o.dataPointsDividedHeight+m/2-o.tooltipRect.ttHeight/2):(a=i.globals.isXNumeric?v-g/2:v-o.dataPointsDividedWidth+g/2,l=y)}return{x:a,y:l,barHeight:u,barWidth:c,i:s,j:r}}}]),e}(),ge=function(){function e(t){o(this,e),this.w=t.w,this.ttCtx=t}return a(e,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,n="bottom"===e.config.xaxis.position;t.xaxisOffY=n?e.globals.gridHeight+1:1;var i=n?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.blxaxisTooltip&&null===e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",i+" "+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,n=function(n){var i=e.config.yaxis[n].opposite||e.config.yaxis[n].crosshairs.opposite;t.yaxisOffX=i?e.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(n,i?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left");e.globals.yAxisSameScaleIndices.map(function(t,i){t.map(function(t,i){i===n&&(r+=e.config.yaxis[i].show?" ":" apexcharts-yaxistooltip-hidden")})});var o=e.globals.dom.elWrap;t.blyaxisTooltip&&null===e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(n))&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",r+" "+e.config.tooltip.theme),o.appendChild(t.yaxisTooltip),0===n&&(t.yaxisTooltipText=[]),t.yaxisTooltipText.push(document.createElement("div")),t.yaxisTooltipText[n].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[n]))},i=0;i<e.config.yaxis.length;i++)n(i)}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,n=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width),e.globals.comboCharts){var i=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==i&&"barWidth"===e.config.xaxis.crosshairs.width){var r=parseFloat(i.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if("tickWidth"===e.config.xaxis.crosshairs.width){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}}else if("tickWidth"===e.config.xaxis.crosshairs.width){var s=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/s}else if("barWidth"===e.config.xaxis.crosshairs.width){var a=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==a){var l=parseFloat(a.getAttribute("barWidth"));t.xcrosshairsWidth=l}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),null!==n&&t.xcrosshairsWidth>0&&n.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,n){var i=this.ttCtx,r=this.w,o=r.globals.yLabelFormatters[e];if(i.blyaxisTooltip){var s=i.getElGrid().getBoundingClientRect(),a=(t-s.top)*n.yRatio[e],l=r.globals.maxYArr[e]-r.globals.minYArr[e],c=r.globals.minYArr[e]+(l-a);i.tooltipPosition.moveYCrosshairs(t-s.top),i.yaxisTooltipText[e].innerHTML=o(c),i.tooltipPosition.moveYAxisTooltip(e)}}}]),e}(),ve=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new de(this),this.tooltipLabels=new he(this),this.tooltipPosition=new fe(this),this.marker=new pe(this),this.intersect=new me(this),this.axesTooltip=new ge(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared}return a(e,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip")}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.blxaxisTooltip=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.blyaxisTooltip=t.config.yaxis[0].tooltip.enabled&&t.globals.axisCharts,this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var n=document.createElement("div");if(n.classList.add("apexcharts-tooltip"),n.classList.add(this.tConfig.theme),t.globals.dom.elWrap.appendChild(n),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var i=new U(this.ctx);this.xAxisTicksPositions=i.getXAxisTicksPositions()}if((t.globals.comboCharts&&!this.tConfig.shared||this.tConfig.intersect&&!this.tConfig.shared||("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&!this.tConfig.shared)&&(this.showOnIntersect=!0),0!==t.config.markers.size&&0!==t.globals.markers.largestSize||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,n.appendChild(this.tooltipTitle));var r=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this.w,n=[],i=this.getElTooltip(),r=0;r<e;r++){var o=document.createElement("div");o.classList.add("apexcharts-tooltip-series-group"),this.tConfig.shared&&this.tConfig.enabledOnSeries&&Array.isArray(this.tConfig.enabledOnSeries)&&this.tConfig.enabledOnSeries.indexOf(r)<0&&o.classList.add("apexcharts-tooltip-series-group-hidden");var s=document.createElement("span");s.classList.add("apexcharts-tooltip-marker"),s.style.backgroundColor=t.globals.colors[r],o.appendChild(s);var a=document.createElement("div");a.classList.add("apexcharts-tooltip-text"),a.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,a.style.fontSize=this.tConfig.style.fontSize;var l=document.createElement("div");l.classList.add("apexcharts-tooltip-y-group");var c=document.createElement("span");c.classList.add("apexcharts-tooltip-text-label"),l.appendChild(c);var u=document.createElement("span");u.classList.add("apexcharts-tooltip-text-value"),l.appendChild(u);var d=document.createElement("div");d.classList.add("apexcharts-tooltip-z-group");var h=document.createElement("span");h.classList.add("apexcharts-tooltip-text-z-label"),d.appendChild(h);var f=document.createElement("span");f.classList.add("apexcharts-tooltip-text-z-value"),d.appendChild(f),a.appendChild(l),a.appendChild(d),o.appendChild(a),i.appendChild(o),n.push(o)}return n}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,n=this.getElTooltip(),i=!("bar"!==t&&"candlestick"!==t&&"rangeBar"!==t),r=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var s,a=[],l=[],c={hoverArea:r,elGrid:o,tooltipEl:n,tooltipY:a,tooltipX:l,ttItems:this.ttItems};if(e.globals.axisCharts&&("area"===t||"line"===t||"scatter"===t||"bubble"===t?s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):i?s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-rangebar-area"):"heatmap"===t?s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap"):"radar"===t&&(s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-marker")),s&&s.length))for(var u=0;u<s.length;u++)a.push(s[u].getAttribute("cy")),l.push(s[u].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||i&&this.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([r],c);else if(i&&!e.globals.comboCharts)this.addBarsEventListeners(c);else if("bubble"===t||"scatter"===t||"radar"===t||this.showOnIntersect&&("area"===t||"line"===t))this.addPointsEventsListeners(c);else if(!e.globals.axisCharts||"heatmap"===t){var d=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(d,c)}if(this.showOnIntersect){var h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker");h.length>0&&this.addPathsEventListeners(h,c);var f=e.globals.dom.baseEl.querySelectorAll(".apexcharts-area-series .apexcharts-marker");f.length>0&&this.addPathsEventListeners(f,c),this.hasBars()&&!this.tConfig.shared&&this.addBarsEventListeners(c)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),n=t.getBoundingClientRect(),i=n.width+10,r=n.height+10,o=this.tConfig.fixed.offsetX,s=this.tConfig.fixed.offsetY;return this.tConfig.fixed.position.toLowerCase().indexOf("right")>-1&&(o=o+e.globals.svgWidth-i+10),this.tConfig.fixed.position.toLowerCase().indexOf("bottom")>-1&&(s=s+e.globals.svgHeight-r-10),t.style.left=o+"px",t.style.top=s+"px",{x:o,y:s,ttWidth:i,ttHeight:r}}},{key:"addPointsEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker");this.addPathsEventListeners(t,e)}},{key:"addBarsEventListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var n=this,i=this,r=function(r){var o={paths:e[r],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};n.w.globals.tooltipOpts=o,["mousemove","mouseup","touchmove","mouseout","touchend"].map(function(t){return e[r].addEventListener(t,i.seriesHover.bind(i,o),{capture:!1,passive:!0})})},o=0;o<e.length;o++)r(o)}},{key:"seriesHover",value:function(e,t){var n=this,i=[],r=this.w;r.config.chart.group&&(i=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||0===r.globals.dataPoints)||(i.length?i.forEach(function(i){var r=n.getElTooltip(i),o={paths:e.paths,tooltipEl:r,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:i.w.globals.tooltip.ttItems};i.w.globals.minX===n.w.globals.minX&&i.w.globals.maxX===n.w.globals.maxX&&i.w.globals.tooltip.seriesHoverByContext({chartCtx:i,ttCtx:i.w.globals.tooltip,opt:o,e:t})}):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,n=e.ttCtx,i=e.opt,r=e.e,o=t.w,s=this.getElTooltip();n.tooltipRect={x:0,y:0,ttWidth:s.getBoundingClientRect().width,ttHeight:s.getBoundingClientRect().height},n.e=r,!n.hasBars()||o.globals.comboCharts||n.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new W(t).toggleSeriesOnHover(r,r.target.parentNode),n.fixedTooltip&&n.drawFixedTooltipRect(),o.globals.axisCharts?n.axisChartsTooltips({e:r,opt:i,tooltipRect:n.tooltipRect}):n.nonAxisChartsTooltips({e:r,opt:i,tooltipRect:n.tooltipRect})}},{key:"axisChartsTooltips",value:function(e){var t,n,i,r=e.e,o=e.opt,s=this.w,a=null,l=o.elGrid.getBoundingClientRect(),c="touchmove"===r.type?r.touches[0].clientX:r.clientX,u="touchmove"===r.type?r.touches[0].clientY:r.clientY;if(this.clientY=u,this.clientX=c,s.globals.capturedSeriesIndex=-1,s.globals.capturedDataPointIndex=-1,u<l.top||u>l.top+l.height)this.handleMouseOut(o);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!s.config.tooltip.shared){var d=parseInt(o.paths.getAttribute("index"));if(this.tConfig.enabledOnSeries.indexOf(d)<0)return void this.handleMouseOut(o)}var h=this.getElTooltip(),f=this.getElXCrosshairs(),p=s.globals.xyCharts||"bar"===s.config.chart.type&&!s.globals.isBarHorizontal&&this.hasBars()&&this.tConfig.shared||s.globals.comboCharts&&this.hasBars;if(s.globals.isBarHorizontal&&this.hasBars()&&(p=!1),"mousemove"===r.type||"touchmove"===r.type||"mouseup"===r.type){if(null!==f&&f.classList.add("active"),null!==this.ycrosshairs&&this.blyaxisTooltip&&this.ycrosshairs.classList.add("active"),p&&!this.showOnIntersect){t=(a=this.tooltipUtil.getNearestValues({context:this,hoverArea:o.hoverArea,elGrid:o.elGrid,clientX:c,clientY:u,hasBars:this.hasBars})).j;var m=a.capturedSeries;if(a.hoverX<0||a.hoverX>s.globals.gridWidth)return void this.handleMouseOut(o);if(null!==m){if(null===s.globals.series[m][t])return void this.handleMouseOut(o);void 0!==s.globals.series[m][t]?this.tConfig.shared&&this.tooltipUtil.isXoverlap(t)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(r,this,m,t,o.ttItems):this.create(r,this,m,t,o.ttItems,!1):this.tooltipUtil.isXoverlap(t)&&this.create(r,this,0,t,o.ttItems)}else this.tooltipUtil.isXoverlap(t)&&this.create(r,this,0,t,o.ttItems)}else if("heatmap"===s.config.chart.type){var g=this.intersect.handleHeatTooltip({e:r,opt:o,x:n,y:i});n=g.x,i=g.y,h.style.left=n+"px",h.style.top=i+"px"}else this.hasBars&&this.intersect.handleBarTooltip({e:r,opt:o}),this.hasMarkers&&this.intersect.handleMarkerTooltip({e:r,opt:o,x:n,y:i});if(this.blyaxisTooltip)for(var v=0;v<s.config.yaxis.length;v++)this.axesTooltip.drawYaxisTooltipText(v,u,this.xyRatios);o.tooltipEl.classList.add("active")}else"mouseout"!==r.type&&"touchend"!==r.type||this.handleMouseOut(o)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,n=e.opt,i=e.tooltipRect,r=this.w,o=n.paths.getAttribute("rel"),s=this.getElTooltip(),a=r.globals.dom.elWrap.getBoundingClientRect();if("mousemove"===t.type||"touchmove"===t.type){s.classList.add("active"),this.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:parseInt(o)-1,shared:!1});var l=r.globals.clientX-a.left-i.ttWidth/2,c=r.globals.clientY-a.top-i.ttHeight-10;s.style.left=l+"px",s.style.top=c+"px"}else"mouseout"!==t.type&&"touchend"!==t.type||s.classList.remove("active")}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new v(this.ctx),n=e.globals.dom.Paper.select(".apexcharts-bar-area"),i=0;i<n.length;i++)t.pathMouseLeave(n[i])}},{key:"handleMouseOut",value:function(e){var t=this.w,n=this.getElXCrosshairs();if(e.tooltipEl.classList.remove("active"),this.deactivateHoverFilter(),"bubble"!==t.config.chart.type&&this.marker.resetPointsSize(),null!==n&&n.classList.remove("active"),null!==this.ycrosshairs&&this.ycrosshairs.classList.remove("active"),this.blxaxisTooltip&&this.xaxisTooltip.classList.remove("active"),this.blyaxisTooltip){null===this.yaxisTTEls&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var i=0;i<this.yaxisTTEls.length;i++)this.yaxisTTEls[i].classList.remove("active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach(function(e){var t=e.getAttribute("data:default-text");e.innerHTML=t})}},{key:"getElMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(" .apexcharts-series-markers")}},{key:"getAllMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker")}},{key:"hasMarkers",value:function(){return this.getElMarkers().length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"markerClick",value:function(e,t,n){var i=this.w;"function"==typeof i.config.chart.events.markerClick&&i.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:n,w:i}),this.ctx.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:n,w:i}])}},{key:"create",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=this.w,a=t;"mouseup"===e.type&&this.markerClick(e,n,i),null===o&&(o=this.tConfig.shared);var l=this.hasMarkers(),c=this.getElBars();if(s.config.legend.tooltipHoverFormatter){var u=s.config.legend.tooltipHoverFormatter,d=Array.from(this.legendLabels);d.forEach(function(e){var t=e.getAttribute("data:default-text");e.innerHTML=t});for(var h=0;h<d.length;h++){var f=d[h],p=parseInt(f.getAttribute("i")),m=f.getAttribute("data:default-text"),g=u(m,{seriesIndex:o?p:n,dataPointIndex:i,w:s});if(o)f.innerHTML=s.globals.collapsedSeriesIndices.indexOf(p)<0?g:m;else if(f.innerHTML=p===n?g:m,n===p)break}}if(o){if(a.tooltipLabels.drawSeriesTexts({ttItems:r,i:n,j:i,shared:!this.showOnIntersect&&this.tConfig.shared}),l&&(s.globals.markers.largestSize>0?a.marker.enlargePoints(i):a.tooltipPosition.moveDynamicPointsOnHover(i)),this.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var y=new v(this.ctx),b=s.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(i,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(i);for(var _=0;_<b.length;_++)y.pathMouseEnter(b[_])}}else a.tooltipLabels.drawSeriesTexts({shared:!1,ttItems:r,i:n,j:i}),this.hasBars()&&a.tooltipPosition.moveStickyTooltipOverBars(i),l&&a.tooltipPosition.moveMarkers(n,i)}}]),e}(),ye=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w,this.ev=this.w.config.chart.events,this.localeValues=this.w.globals.locale.toolbar}return a(e,[{key:"createToolbar",value:function(){var e=this.w,t=document.createElement("div");if(t.setAttribute("class","apexcharts-toolbar"),e.globals.dom.elWrap.appendChild(t),this.elZoom=document.createElement("div"),this.elZoomIn=document.createElement("div"),this.elZoomOut=document.createElement("div"),this.elPan=document.createElement("div"),this.elSelection=document.createElement("div"),this.elZoomReset=document.createElement("div"),this.elMenuIcon=document.createElement("div"),this.elMenu=document.createElement("div"),this.elCustomIcons=[],this.t=e.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var n=0;n<this.t.customIcons.length;n++)this.elCustomIcons.push(document.createElement("div"));this.elMenuItems=[];var i=[];this.t.zoomin&&e.config.chart.zoom.enabled&&i.push({el:this.elZoomIn,icon:"string"==typeof this.t.zoomin?this.t.zoomin:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n',title:this.localeValues.zoomIn,class:"apexcharts-zoom-in-icon"}),this.t.zoomout&&e.config.chart.zoom.enabled&&i.push({el:this.elZoomOut,icon:"string"==typeof this.t.zoomout?this.t.zoomout:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n',title:this.localeValues.zoomOut,class:"apexcharts-zoom-out-icon"}),this.t.zoom&&e.config.chart.zoom.enabled&&i.push({el:this.elZoom,icon:"string"==typeof this.t.zoom?this.t.zoom:'<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>\n <path d="M0 0h24v24H0V0z" fill="none"/>\n <path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>\n</svg>',title:this.localeValues.selectionZoom,class:e.globals.isTouchDevice?"hidden":"apexcharts-zoom-icon"}),this.t.selection&&e.config.chart.selection.enabled&&i.push({el:this.elSelection,icon:"string"==typeof this.t.selection?this.t.selection:'<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>\n</svg>',title:this.localeValues.selection,class:e.globals.isTouchDevice?"hidden":"apexcharts-selection-icon"}),this.t.pan&&e.config.chart.zoom.enabled&&i.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n <defs>\n <path d="M0 0h24v24H0z" id="a"/>\n </defs>\n <clipPath id="b">\n <use overflow="visible" xlink:href="#a"/>\n </clipPath>\n <path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>\n</svg>',title:this.localeValues.pan,class:e.globals.isTouchDevice?"hidden":"apexcharts-pan-icon"}),this.t.reset&&e.config.chart.zoom.enabled&&i.push({el:this.elZoomReset,icon:"string"==typeof this.t.reset?this.t.reset:'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n <path d="M0 0h24v24H0z" fill="none"/>\n</svg>',title:this.localeValues.reset,class:"apexcharts-reset-zoom-icon"}),this.t.download&&i.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var r=0;r<this.elCustomIcons.length;r++)i.push({el:this.elCustomIcons[r],icon:this.t.customIcons[r].icon,title:this.t.customIcons[r].title,index:this.t.customIcons[r].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[r].class});i.forEach(function(e,t){e.index&&p.moveIndexInArray(i,t,e.index)});for(var o=0;o<i.length;o++)v.setAttrs(i[o].el,{class:i[o].class,title:i[o].title}),i[o].el.innerHTML=i[o].icon,t.appendChild(i[o].el);t.appendChild(this.elMenu),v.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var s=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG}],a=0;a<s.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=s[a].title,v.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(s[a].name),title:s[a].title}),this.elMenu.appendChild(this.elMenuItems[a]);e.globals.zoomEnabled?this.elZoom.classList.add("selected"):e.globals.panEnabled?this.elPan.classList.add("selected"):e.globals.selectionEnabled&&this.elSelection.classList.add("selected"),this.addToolbarEventListeners()}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleSelection.bind(this)),this.elZoom.addEventListener("click",this.toggleZooming.bind(this)),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(t){t.classList.contains("exportSVG")?t.addEventListener("click",e.downloadSVG.bind(e)):t.classList.contains("exportPNG")&&t.addEventListener("click",e.downloadPNG.bind(e))});for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleSelection",value:function(){this.toggleOtherControls(),this.w.globals.selectionEnabled=!this.w.globals.selectionEnabled,this.elSelection.classList.contains("selected")?this.elSelection.classList.remove("selected"):this.elSelection.classList.add("selected")}},{key:"toggleZooming",value:function(){this.toggleOtherControls(),this.w.globals.zoomEnabled=!this.w.globals.zoomEnabled,this.elZoom.classList.contains("selected")?this.elZoom.classList.remove("selected"):this.elZoom.classList.add("selected")}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZooming",value:function(){this.toggleOtherControls(),this.w.globals.zoomEnabled=!0,this.elZoom&&this.elZoom.classList.add("selected"),this.elPan&&this.elPan.classList.remove("selected")}},{key:"enablePanning",value:function(){this.toggleOtherControls(),this.w.globals.panEnabled=!0,this.elPan&&this.elPan.classList.add("selected"),this.elZoom&&this.elZoom.classList.remove("selected")}},{key:"togglePanning",value:function(){this.toggleOtherControls(),this.w.globals.panEnabled=!this.w.globals.panEnabled,this.elPan.classList.contains("selected")?this.elPan.classList.remove("selected"):this.elPan.classList.add("selected")}},{key:"toggleOtherControls",value:function(){var e=this.w;e.globals.panEnabled=!1,e.globals.zoomEnabled=!1,e.globals.selectionEnabled=!1,this.getToolbarIconsReference(),this.elPan&&this.elPan.classList.remove("selected"),this.elSelection&&this.elSelection.classList.remove("selected"),this.elZoom&&this.elZoom.classList.remove("selected")}},{key:"handleZoomIn",value:function(){var e=this.w,t=(e.globals.minX+e.globals.maxX)/2,n=(e.globals.minX+t)/2,i=(e.globals.maxX+t)/2;e.globals.disableZoomIn||this.zoomUpdateOptions(n,i)}},{key:"handleZoomOut",value:function(){var e=this.w;if(!("datetime"===e.config.xaxis.type&&new Date(e.globals.minX).getUTCFullYear()<1e3)){var t=(e.globals.minX+e.globals.maxX)/2,n=e.globals.minX-(t-e.globals.minX),i=e.globals.maxX-(t-e.globals.maxX);e.globals.disableZoomOut||this.zoomUpdateOptions(n,i)}}},{key:"zoomUpdateOptions",value:function(e,t){var n={min:e,max:t},i=this.getBeforeZoomRange(n);i&&(n=i.xaxis),this.w.globals.zoomed=!0,this.ctx._updateOptions({xaxis:n},!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(n)}},{key:"zoomCallback",value:function(e,t){"function"==typeof this.ev.zoomed&&this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t})}},{key:"getBeforeZoomRange",value:function(e,t){var n=null;return"function"==typeof this.ev.beforeZoom&&(n=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),n}},{key:"toggleMenu",value:function(){this.elMenu.classList.contains("open")?this.elMenu.classList.remove("open"):this.elMenu.classList.add("open")}},{key:"downloadPNG",value:function(){new ae(this.ctx).exportToPng(this.ctx),this.toggleMenu()}},{key:"downloadSVG",value:function(){new ae(this.ctx).exportToSVG(),this.toggleMenu()}},{key:"handleZoomReset",value:function(e){var t=this;this.ctx.getSyncedCharts().forEach(function(e){var n=e.w;n.globals.minX!==n.globals.initialminX&&n.globals.maxX!==n.globals.initialmaxX&&(e.revertDefaultAxisMinMax(),"function"==typeof n.config.chart.events.zoomed&&t.zoomCallback({min:n.config.xaxis.min,max:n.config.xaxis.max}),n.globals.zoomed=!1,e._updateSeries(n.globals.initialSeries,n.config.chart.animations.dynamicAnimation.enabled))})}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),e}(),be=function(e){function t(e){var n;return o(this,t),(n=h(this,d(t).call(this,e))).ctx=e,n.w=e.w,n.dragged=!1,n.graphics=new v(n.ctx),n.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend"],n.clientX=0,n.clientY=0,n.startX=0,n.endX=0,n.dragX=0,n.startY=0,n.endY=0,n.dragY=0,n}return u(t,ye),a(t,[{key:"init",value:function(e){var t=this,n=e.xyRatios,i=this.w,r=this;this.xyRatios=n,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=i.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),i.globals.dom.elGraphical.add(this.zoomRect),i.globals.dom.elGraphical.add(this.selectionRect),"x"===i.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:i.globals.gridWidth,maxY:i.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):"y"===i.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:i.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=i.globals.dom.baseEl.querySelector(i.globals.chartClass),this.hoverArea.classList.add("zoomable"),this.eventList.forEach(function(e){t.hoverArea.addEventListener(e,r.svgMouseEvents.bind(r,n),{capture:!1,passive:!0})})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(e,t){var n=this.w,i=this,r=this.ctx.toolbar,o=n.globals.zoomEnabled?n.config.chart.zoom.type:n.config.chart.selection.type;if(t.shiftKey?(this.shiftWasPressed=!0,r.enablePanning()):this.shiftWasPressed&&(r.enableZooming(),this.shiftWasPressed=!1),!t.target.classList.contains("apexcharts-selection-rect")&&!t.target.parentNode.classList.contains("apexcharts-toolbar")){if(i.clientX="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientX:"touchend"===t.type?t.changedTouches[0].clientX:t.clientX,i.clientY="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientY:"touchend"===t.type?t.changedTouches[0].clientY:t.clientY,"mousedown"===t.type&&1===t.which){var s=i.gridRect.getBoundingClientRect();i.startX=i.clientX-s.left,i.startY=i.clientY-s.top,i.dragged=!1,i.w.globals.mousedown=!0}if(("mousemove"===t.type&&1===t.which||"touchmove"===t.type)&&(i.dragged=!0,n.globals.panEnabled?(n.globals.selection=null,i.w.globals.mousedown&&i.panDragging({context:i,zoomtype:o,xyRatios:e})):(i.w.globals.mousedown&&n.globals.zoomEnabled||i.w.globals.mousedown&&n.globals.selectionEnabled)&&(i.selection=i.selectionDrawing({context:i,zoomtype:o}))),"mouseup"===t.type||"touchend"===t.type||"mouseleave"===t.type){var a=i.gridRect.getBoundingClientRect();i.w.globals.mousedown&&(i.endX=i.clientX-a.left,i.endY=i.clientY-a.top,i.dragX=Math.abs(i.endX-i.startX),i.dragY=Math.abs(i.endY-i.startY),(n.globals.zoomEnabled||n.globals.selectionEnabled)&&i.selectionDrawn({context:i,zoomtype:o})),n.globals.zoomEnabled&&i.hideSelectionRect(this.selectionRect),i.dragged=!1,i.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}},{key:"makeSelectionRectDraggable",value:function(){var e=this.w;if(this.selectionRect){var t=this.selectionRect.node.getBoundingClientRect();t.width>0&&t.height>0&&this.slDraggableRect.selectize().resize({constraint:{minX:0,minY:0,maxX:e.globals.gridWidth,maxY:e.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(e.globals.selection);else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var n=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,i={x:n,y:0,width:e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-n,height:e.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(i),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,n=e.y,i=e.width,r=e.height,o=e.translateX,s=e.translateY,a=this.w,l=this.zoomRect,c=this.selectionRect;if(this.dragged||null!==a.globals.selection){var u={transform:"translate("+o+", "+s+")"};a.globals.zoomEnabled&&this.dragged&&(l.attr({x:t,y:n,width:i,height:r,fill:a.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":a.config.chart.zoom.zoomedArea.fill.opacity,stroke:a.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":a.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":a.config.chart.zoom.zoomedArea.stroke.opacity}),v.setAttrs(l.node,u)),a.globals.selectionEnabled&&(c.attr({x:t,y:n,width:i>0?i:0,height:r>0?r:0,fill:a.config.chart.selection.fill.color,"fill-opacity":a.config.chart.selection.fill.opacity,stroke:a.config.chart.selection.stroke.color,"stroke-width":a.config.chart.selection.stroke.width,"stroke-dasharray":a.config.chart.selection.stroke.dashArray,"stroke-opacity":a.config.chart.selection.stroke.opacity}),v.setAttrs(c.node,u))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t,n=e.context,i=e.zoomtype,r=this.w,o=n,s=this.gridRect.getBoundingClientRect(),a=o.startX-1,l=o.startY,c=o.clientX-s.left-a,u=o.clientY-s.top-l,d=0,h=0;return Math.abs(c+a)>r.globals.gridWidth?c=r.globals.gridWidth-a:o.clientX-s.left<0&&(c=a),a>o.clientX-s.left&&(d=-(c=Math.abs(c))),l>o.clientY-s.top&&(h=-(u=Math.abs(u))),t="x"===i?{x:a,y:0,width:c,height:r.globals.gridHeight,translateX:d,translateY:0}:"y"===i?{x:0,y:l,width:r.globals.gridWidth,height:u,translateX:0,translateY:h}:{x:a,y:l,width:c,height:u,translateX:d,translateY:h},o.drawSelectionRect(t),o.selectionDragging("resizing"),t}},{key:"selectionDragging",value:function(e,t){var n=this,i=this.w,r=this.xyRatios,o=this.selectionRect,s=0;"resizing"===e&&(s=30),"function"==typeof i.config.chart.events.selection&&i.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var e=n.gridRect.getBoundingClientRect(),t=o.node.getBoundingClientRect(),s=i.globals.xAxisScale.niceMin+(t.left-e.left)*r.xRatio,a=i.globals.xAxisScale.niceMin+(t.right-e.left)*r.xRatio,l=i.globals.yAxisScale[0].niceMin+(e.bottom-t.bottom)*r.yRatio[0],c=i.globals.yAxisScale[0].niceMax-(t.top-e.top)*r.yRatio[0];i.config.chart.events.selection(n.ctx,{xaxis:{min:s,max:a},yaxis:{min:l,max:c}})},s))}},{key:"selectionDrawn",value:function(e){var t=e.context,n=e.zoomtype,i=this.w,r=t,o=this.xyRatios,s=this.ctx.toolbar;if(r.startX>r.endX){var a=r.startX;r.startX=r.endX,r.endX=a}if(r.startY>r.endY){var l=r.startY;r.startY=r.endY,r.endY=l}var c=i.globals.xAxisScale.niceMin+r.startX*o.xRatio,u=i.globals.xAxisScale.niceMin+r.endX*o.xRatio,d=[],h=[];if(i.config.yaxis.forEach(function(e,t){d.push(Math.floor(i.globals.yAxisScale[t].niceMax-o.yRatio[t]*r.startY)),h.push(Math.floor(i.globals.yAxisScale[t].niceMax-o.yRatio[t]*r.endY))}),r.dragged&&(r.dragX>10||r.dragY>10)&&c!==u)if(i.globals.zoomEnabled){var f=p.clone(i.globals.initialConfig.yaxis);i.globals.zoomed||(i.globals.lastXAxis=p.clone(i.config.xaxis),i.globals.lastYAxis=p.clone(i.config.yaxis));var m={min:c,max:u};if("xy"!==n&&"y"!==n||f.forEach(function(e,t){f[t].min=h[t],f[t].max=d[t]}),i.config.chart.zoom.autoScaleYaxis){var g=new Z(r.ctx);f=g.autoScaleY(r.ctx,f,{xaxis:m})}if(s){var v=s.getBeforeZoomRange(m,f);v&&(m=v.xaxis?v.xaxis:m,f=v.yaxis?v.yaxe:f)}var y={xaxis:m};i.config.chart.group||(y.yaxis=f),r.ctx._updateOptions(y,!1,r.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof i.config.chart.events.zoomed&&s.zoomCallback(m,f),i.globals.zoomed=!0}else if(i.globals.selectionEnabled){var b,_=null;b={min:c,max:u},"xy"!==n&&"y"!==n||(_=p.clone(i.config.yaxis)).forEach(function(e,t){_[t].min=h[t],_[t].max=d[t]}),i.globals.selection=r.selection,"function"==typeof i.config.chart.events.selection&&i.config.chart.events.selection(r.ctx,{xaxis:b,yaxis:_})}}},{key:"panDragging",value:function(e){var t,n=e.context,i=this.w,r=n;if(void 0!==i.globals.lastClientPosition.x){var o=i.globals.lastClientPosition.x-r.clientX,s=i.globals.lastClientPosition.y-r.clientY;Math.abs(o)>Math.abs(s)&&o>0?t="left":Math.abs(o)>Math.abs(s)&&o<0?t="right":Math.abs(s)>Math.abs(o)&&s>0?t="up":Math.abs(s)>Math.abs(o)&&s<0&&(t="down")}i.globals.lastClientPosition={x:r.clientX,y:r.clientY};var a=i.globals.minX,l=i.globals.maxX;r.panScrolled(t,a,l)}},{key:"panScrolled",value:function(e,t,n){var i=this.w,r=this.xyRatios,o=p.clone(i.globals.initialConfig.yaxis);"left"===e?(t=i.globals.minX+i.globals.gridWidth/15*r.xRatio,n=i.globals.maxX+i.globals.gridWidth/15*r.xRatio):"right"===e&&(t=i.globals.minX-i.globals.gridWidth/15*r.xRatio,n=i.globals.maxX-i.globals.gridWidth/15*r.xRatio),(t<i.globals.initialminX||n>i.globals.initialmaxX)&&(t=i.globals.minX,n=i.globals.maxX);var s={min:t,max:n};i.config.chart.zoom.autoScaleYaxis&&(o=new Z(this.ctx).autoScaleY(this.ctx,o,{xaxis:s}));var a={xaxis:{min:t,max:n}};i.config.chart.group||(a.yaxis=o),this.ctx._updateOptions(a,!1,!1),"function"==typeof i.config.chart.events.scrolled&&i.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:n}})}}]),t}(),_e=function(){function e(t){o(this,e),this.ctx=t,this.w=t.w}return a(e,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,n="title"===e?t.config.title:t.config.subtitle,i=t.globals.svgWidth/2,r=n.offsetY,o="middle";if("left"===n.align?(i=10,o="start"):"right"===n.align&&(i=t.globals.svgWidth-10,o="end"),i+=n.offsetX,r=r+parseInt(n.style.fontSize)+2,void 0!==n.text){var s=new v(this.ctx).drawText({x:i,y:r,text:n.text,textAnchor:o,fontSize:n.style.fontSize,fontFamily:n.style.fontFamily,foreColor:n.style.color,opacity:1});s.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(s)}}}]),e}();!function(e,t){"function"==typeof define&&n(69)?define(function(){return t(e,e.document)}):"object"===("undefined"==typeof exports?"undefined":r(exports))&&void 0!==i?i.exports=e.document?t(e,e.document):function(e){return t(e,e.document)}:e.SVG=t(e,e.document)}("undefined"!=typeof window?window:void 0,function(e,t){var n=(void 0!==this?this:e).SVG=function(e){if(n.supported)return e=new n.Doc(e),n.parser.draw||n.prepare(),e};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.com/svgjs",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(e){return"Svgjs"+d(e)+n.did++},n.create=function(e){var n=t.createElementNS(this.ns,e);return n.setAttribute("id",this.eid(e)),n},n.extend=function(){var e,t,i,r;for(t=(e=[].slice.call(arguments)).pop(),r=e.length-1;r>=0;r--)if(e[r])for(i in t)e[r].prototype[i]=t[i];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,n.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&n.extend(t,e.extend),e.construct&&n.extend(e.parent||n.Container,e.construct),t},n.adopt=function(t){return t?t.instance?t.instance:((i="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new n.Nested:new n.Doc:"linearGradient"==t.nodeName?new n.Gradient("linear"):"radialGradient"==t.nodeName?new n.Gradient("radial"):n[d(t.nodeName)]?new(n[d(t.nodeName)]):new n.Element(t)).type=t.nodeName,i.node=t,t.instance=i,i instanceof n.Doc&&i.namespace().defs(),i.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),i):null;var i},n.prepare=function(){var e=t.getElementsByTagName("body")[0],i=(e?new n.Doc(e):n.adopt(t.documentElement).nested()).size(2,0);n.parser={body:e||t.documentElement,draw:i.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:i.polyline().node,path:i.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},t.addEventListener("DOMContentLoaded",function(){n.parser.draw||n.prepare()},!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(e,t){var n,i=e.length,r=[];for(n=0;n<i;n++)r.push(t(e[n]));return r},filter:function(e,t){var n,i=e.length,r=[];for(n=0;n<i;n++)t(e[n])&&r.push(e[n]);return r},radians:function(e){return e%360*Math.PI/180},degrees:function(e){return 180*e/Math.PI%360},filterSVGElements:function(t){return this.filter(t,function(t){return t instanceof e.SVGElement})}},n.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},n.Color=function(e){var t,i;this.r=0,this.g=0,this.b=0,e&&("string"==typeof e?n.regex.isRgb.test(e)?(t=n.regex.rgb.exec(e.replace(n.regex.whitespace,"")),this.r=parseInt(t[1]),this.g=parseInt(t[2]),this.b=parseInt(t[3])):n.regex.isHex.test(e)&&(t=n.regex.hex.exec(4==(i=e).length?["#",i.substring(1,2),i.substring(1,2),i.substring(2,3),i.substring(2,3),i.substring(3,4),i.substring(3,4)].join(""):i),this.r=parseInt(t[1],16),this.g=parseInt(t[2],16),this.b=parseInt(t[3],16)):"object"===r(e)&&(this.r=e.r,this.g=e.g,this.b=e.b))},n.extend(n.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+h(this.r)+h(this.g)+h(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(e){return this.destination=new n.Color(e),this},at:function(e){return this.destination?(e=e<0?0:e>1?1:e,new n.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),n.Color.test=function(e){return e+="",n.regex.isHex.test(e)||n.regex.isRgb.test(e)},n.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},n.Color.isColor=function(e){return n.Color.isRgb(e)||n.Color.test(e)},n.Array=function(e,t){0==(e=(e||[]).valueOf()).length&&t&&(e=t.valueOf()),this.value=this.parse(e)},n.extend(n.Array,{morph:function(e){if(this.destination=this.parse(e),this.value.length!=this.destination.length){for(var t=this.value[this.value.length-1],n=this.destination[this.destination.length-1];this.value.length>this.destination.length;)this.destination.push(n);for(;this.value.length<this.destination.length;)this.value.push(t)}return this},settle:function(){for(var e=0,t=this.value.length,n=[];e<t;e++)-1==n.indexOf(this.value[e])&&n.push(this.value[e]);return this.value=n},at:function(e){if(!this.destination)return this;for(var t=0,i=this.value.length,r=[];t<i;t++)r.push(this.value[t]+(this.destination[t]-this.value[t])*e);return new n.Array(r)},toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)},split:function(e){return e.trim().split(n.regex.delimiter).map(parseFloat)},reverse:function(){return this.value.reverse(),this},clone:function(){var e=new this.constructor;return e.value=function e(t){for(var n=t.slice(0),i=n.length;i--;)Array.isArray(n[i])&&(n[i]=e(n[i]));return n}(this.value),e}}),n.PointArray=function(e,t){n.Array.call(this,e,t||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray,n.extend(n.PointArray,{toString:function(){for(var e=0,t=this.value.length,n=[];e<t;e++)n.push(this.value[e].join(","));return n.join(" ")},toLine:function(){return{x1:this.value[0][0],y1:this.value[0][1],x2:this.value[1][0],y2:this.value[1][1]}},at:function(e){if(!this.destination)return this;for(var t=0,i=this.value.length,r=[];t<i;t++)r.push([this.value[t][0]+(this.destination[t][0]-this.value[t][0])*e,this.value[t][1]+(this.destination[t][1]-this.value[t][1])*e]);return new n.PointArray(r)},parse:function(e){var t=[];if(e=e.valueOf(),Array.isArray(e)){if(Array.isArray(e[0]))return e.map(function(e){return e.slice()});if(null!=e[0].x)return e.map(function(e){return[e.x,e.y]})}else e=e.trim().split(n.regex.delimiter).map(parseFloat);e.length%2!=0&&e.pop();for(var i=0,r=e.length;i<r;i+=2)t.push([e[i],e[i+1]]);return t},move:function(e,t){var n=this.bbox();if(e-=n.x,t-=n.y,!isNaN(e)&&!isNaN(t))for(var i=this.value.length-1;i>=0;i--)this.value[i]=[this.value[i][0]+e,this.value[i][1]+t];return this},size:function(e,t){var n,i=this.bbox();for(n=this.value.length-1;n>=0;n--)i.width&&(this.value[n][0]=(this.value[n][0]-i.x)*e/i.width+i.x),i.height&&(this.value[n][1]=(this.value[n][1]-i.y)*t/i.height+i.y);return this},bbox:function(){return n.parser.draw||n.prepare(),n.parser.poly.setAttribute("points",this.toString()),n.parser.poly.getBBox()}});for(var i={M:function(e,t,n){return t.x=n.x=e[0],t.y=n.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},S:function(e,t){return t.x=e[2],t.y=e[3],["S",e[0],e[1],e[2],e[3]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},T:function(e,t){return t.x=e[0],t.y=e[1],["T",e[0],e[1]]},Z:function(e,t,n){return t.x=n.x,t.y=n.y,["Z"]},A:function(e,t){return t.x=e[5],t.y=e[6],["A",e[0],e[1],e[2],e[3],e[4],e[5],e[6]]}},o="mlhvqtcsaz".split(""),s=0,a=o.length;s<a;++s)i[o[s]]=function(e){return function(t,n,r){if("H"==e)t[0]=t[0]+n.x;else if("V"==e)t[0]=t[0]+n.y;else if("A"==e)t[5]=t[5]+n.x,t[6]=t[6]+n.y;else for(var o=0,s=t.length;o<s;++o)t[o]=t[o]+(o%2?n.y:n.x);return i[e](t,n,r)}}(o[s].toUpperCase());n.PathArray=function(e,t){n.Array.call(this,e,t||[["M",0,0]])},n.PathArray.prototype=new n.Array,n.PathArray.prototype.constructor=n.PathArray,n.extend(n.PathArray,{toString:function(){return function(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t][0],null!=e[t][1]&&(i+=e[t][1],null!=e[t][2]&&(i+=" ",i+=e[t][2],null!=e[t][3]&&(i+=" ",i+=e[t][3],i+=" ",i+=e[t][4],null!=e[t][5]&&(i+=" ",i+=e[t][5],i+=" ",i+=e[t][6],null!=e[t][7]&&(i+=" ",i+=e[t][7])))));return i+" "}(this.value)},move:function(e,t){var n=this.bbox();if(e-=n.x,t-=n.y,!isNaN(e)&&!isNaN(t))for(var i,r=this.value.length-1;r>=0;r--)"M"==(i=this.value[r][0])||"L"==i||"T"==i?(this.value[r][1]+=e,this.value[r][2]+=t):"H"==i?this.value[r][1]+=e:"V"==i?this.value[r][1]+=t:"C"==i||"S"==i||"Q"==i?(this.value[r][1]+=e,this.value[r][2]+=t,this.value[r][3]+=e,this.value[r][4]+=t,"C"==i&&(this.value[r][5]+=e,this.value[r][6]+=t)):"A"==i&&(this.value[r][6]+=e,this.value[r][7]+=t);return this},size:function(e,t){var n,i,r=this.bbox();for(n=this.value.length-1;n>=0;n--)"M"==(i=this.value[n][0])||"L"==i||"T"==i?(this.value[n][1]=(this.value[n][1]-r.x)*e/r.width+r.x,this.value[n][2]=(this.value[n][2]-r.y)*t/r.height+r.y):"H"==i?this.value[n][1]=(this.value[n][1]-r.x)*e/r.width+r.x:"V"==i?this.value[n][1]=(this.value[n][1]-r.y)*t/r.height+r.y:"C"==i||"S"==i||"Q"==i?(this.value[n][1]=(this.value[n][1]-r.x)*e/r.width+r.x,this.value[n][2]=(this.value[n][2]-r.y)*t/r.height+r.y,this.value[n][3]=(this.value[n][3]-r.x)*e/r.width+r.x,this.value[n][4]=(this.value[n][4]-r.y)*t/r.height+r.y,"C"==i&&(this.value[n][5]=(this.value[n][5]-r.x)*e/r.width+r.x,this.value[n][6]=(this.value[n][6]-r.y)*t/r.height+r.y)):"A"==i&&(this.value[n][1]=this.value[n][1]*e/r.width,this.value[n][2]=this.value[n][2]*t/r.height,this.value[n][6]=(this.value[n][6]-r.x)*e/r.width+r.x,this.value[n][7]=(this.value[n][7]-r.y)*t/r.height+r.y);return this},equalCommands:function(e){var t,i,r;for(e=new n.PathArray(e),r=this.value.length===e.value.length,t=0,i=this.value.length;r&&t<i;t++)r=this.value[t][0]===e.value[t][0];return r},morph:function(e){return e=new n.PathArray(e),this.equalCommands(e)?this.destination=e:this.destination=null,this},at:function(e){if(!this.destination)return this;var t,i,r,o,s=this.value,a=this.destination.value,l=[],c=new n.PathArray;for(t=0,i=s.length;t<i;t++){for(l[t]=[s[t][0]],r=1,o=s[t].length;r<o;r++)l[t][r]=s[t][r]+(a[t][r]-s[t][r])*e;"A"===l[t][0]&&(l[t][4]=+(0!=l[t][4]),l[t][5]=+(0!=l[t][5]))}return c.value=l,c},parse:function(e){if(e instanceof n.PathArray)return e.valueOf();var t,r={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};e="string"==typeof e?e.replace(n.regex.numbersWithDots,c).replace(n.regex.pathLetters," $& ").replace(n.regex.hyphen,"$1 -").trim().split(n.regex.delimiter):e.reduce(function(e,t){return[].concat.call(e,t)},[]);var o=[],s=new n.Point,a=new n.Point,l=0,u=e.length;do{n.regex.isPathLetter.test(e[l])?(t=e[l],++l):"M"==t?t="L":"m"==t&&(t="l"),o.push(i[t].call(null,e.slice(l,l+=r[t.toUpperCase()]).map(parseFloat),s,a))}while(u>l);return o},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(e,t){this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(n.regex.numberAndUnit))&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof n.Number&&(this.value=e.valueOf(),this.unit=e.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new n.Number(e),new n.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new n.Number(e),new n.Number(this-e,this.unit||e.unit)},times:function(e){return e=new n.Number(e),new n.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new n.Number(e),new n.Number(this/e,this.unit||e.unit)},to:function(e){var t=new n.Number(this);return"string"==typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new n.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new n.Number(this.destination).minus(this).times(e).plus(this):this}}}),n.Element=n.invent({create:function(e){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var i=f(this,e,t);return this.width(new n.Number(i.width)).height(new n.Number(i.height))},clone:function(e){this.writeDataToDom();var t=v(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},inside:function(e,t){var n=this.bbox();return e>n.x&&t>n.y&&e<n.x+n.width&&t<n.y+n.height},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(n.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter(function(t){return t!=e}).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return n.get(this.attr(e))},parent:function(t){var i=this;if(!i.node.parentNode)return null;if(i=n.adopt(i.node.parentNode),!t)return i;for(;i&&i.node instanceof e.SVGElement;){if("string"==typeof t?i.matches(t):i instanceof t)return i;if(!i.node.parentNode||"#document"==i.node.parentNode.nodeName)return null;i=n.adopt(i.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(e){var t=[],n=this;do{if(!(n=n.parent(e))||!n.node)break;t.push(n)}while(n.parent);return t},matches:function(e){return function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}(this.node,e)},native:function(){return this.node},svg:function(e){var i=t.createElement("svg");if(!(e&&this instanceof n.Parent))return i.appendChild(e=t.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),i.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");i.innerHTML="<svg>"+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var r=0,o=i.firstChild.childNodes.length;r<o;r++)this.node.appendChild(i.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each(function(){this.writeDataToDom()}),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(e){return this.dom=e,this},is:function(e){return function(e,t){return e instanceof t}(this,e)}}}),n.easing={"-":function(e){return e},"<>":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},n.morph=function(e){return function(t,i){return new n.MorphObj(t,i).at(e)}},n.Situation=n.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(e.duration).valueOf(),this.delay=new n.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,i){"object"===r(e)&&(t=e.ease,i=e.delay,e=e.duration);var o=new n.Situation({duration:e||1e3,delay:i||0,ease:n.easing[t||"-"]||t});return this.queue(o),this},delay:function(e){var t=new n.Situation({duration:e,delay:0,ease:n.easing["-"]});return this.queue(t)},target:function(e){return e&&e instanceof n.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof n.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t,i,r=this.situation;if(r.init)return this;for(e in r.animations)for(i=this.target()[e](),Array.isArray(i)||(i=[i]),Array.isArray(r.animations[e])||(r.animations[e]=[r.animations[e]]),t=i.length;t--;)r.animations[e][t]instanceof n.Number&&(i[t]=new n.Number(i[t])),r.animations[e][t]=i[t].morph(r.animations[e][t]);for(e in r.attrs)r.attrs[e]=new n.MorphObj(this.target().attr(e),r.attrs[e]);for(e in r.styles)r.styles[e]=new n.MorphObj(this.target().style(e),r.styles[e]);return r.initialTransformation=this.target().matrixify(),r.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var n=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},reset:function(){if(this.situation){var e=this.situation;this.stop(),this.situation=e,this.atStart()}return this},finish:function(){for(this.stop(!0,!1);this.dequeue().situation&&this.stop(!0,!1););return this.clearQueue().clearCurrent(),this},atStart:function(){return this.at(0,!0)},atEnd:function(){return!0===this.situation.loops&&(this.situation.loops=this.situation.loop+1),"number"==typeof this.situation.loops?this.at(this.situation.loops,!0):this.at(1,!0)},at:function(e,t){var n=this.situation.duration/this._speed;return this.absPos=e,t||(this.situation.reversed&&(this.absPos=1-this.absPos),this.absPos+=this.situation.loop),this.situation.start=+new Date-this.absPos*n,this.situation.finish=this.situation.start+n,this.step(!0)},speed:function(e){return 0===e?this.pause():e?(this._speed=e,this.at(this.absPos,!0)):this._speed},loop:function(e,t){var n=this.last();return n.loops=null==e||e,n.loop=0,t&&(n.reversing=!0),this},pause:function(){return this.paused=!0,this.stopAnimFrame(),this},play:function(){return this.paused?(this.paused=!1,this.at(this.absPos,!0)):this},reverse:function(e){var t=this.last();return t.reversed=void 0===e?!t.reversed:e,this},progress:function(e){return e?this.situation.ease(this.pos):this.pos},after:function(e){var t=this.last();return this.target().on("finished.fx",function n(i){i.detail.situation==t&&(e.call(this,t),this.off("finished.fx",n))}),this._callStart()},during:function(e){var t=this.last(),i=function(i){i.detail.situation==t&&e.call(this,i.detail.pos,n.morph(i.detail.pos),i.detail.eased,t)};return this.target().off("during.fx",i).on("during.fx",i),this.after(function(){this.off("during.fx",i)}),this._callStart()},afterAll:function(e){var t=function t(n){e.call(this),this.off("allfinished.fx",t)};return this.target().off("allfinished.fx",t).on("allfinished.fx",t),this._callStart()},duringAll:function(e){var t=function(t){e.call(this,t.detail.pos,n.morph(t.detail.pos),t.detail.eased,t.detail.situation)};return this.target().off("during.fx",t).on("during.fx",t),this.afterAll(function(){this.off("during.fx",t)}),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,n){return this.last()[n||"animations"][e]=t,this._callStart()},step:function(e){var t,n,i;e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(t=Math.max(this.absPos,0),n=Math.floor(t),!0===this.situation.loops||n<this.situation.loops?(this.pos=t-n,i=this.situation.loop,this.situation.loop=n):(this.absPos=this.situation.loops,this.pos=1,i=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-i)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var r=this.situation.ease(this.pos);for(var o in this.situation.once)o>this.lastPos&&o<=r&&(this.situation.once[o].call(this.target(),this.pos,r),delete this.situation.once[o]);return this.active&&this.target().fire("during",{pos:this.pos,eased:r,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=r,this):this},eachAt:function(){var e,t,i,r=this,o=this.target(),s=this.situation;for(e in s.animations)i=[].concat(s.animations[e]).map(function(e){return"string"!=typeof e&&e.at?e.at(s.ease(r.pos),r.pos):e}),o[e].apply(o,i);for(e in s.attrs)i=[e].concat(s.attrs[e]).map(function(e){return"string"!=typeof e&&e.at?e.at(s.ease(r.pos),r.pos):e}),o.attr.apply(o,i);for(e in s.styles)i=[e].concat(s.styles[e]).map(function(e){return"string"!=typeof e&&e.at?e.at(s.ease(r.pos),r.pos):e}),o.style.apply(o,i);if(s.transforms.length){for(i=s.initialTransformation,e=0,t=s.transforms.length;e<t;e++){var a=s.transforms[e];a instanceof n.Matrix?i=a.relative?i.multiply((new n.Matrix).morph(a).at(s.ease(this.pos))):i.morph(a).at(s.ease(this.pos)):(a.relative||a.undo(i.extract()),i=i.multiply(a.at(s.ease(this.pos))))}o.matrix(i)}return this},once:function(e,t,n){var i=this.last();return n||(e=i.ease(e)),i.once[e]=t,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:n.Element,construct:{animate:function(e,t,i){return(this.fx||(this.fx=new n.FX(this))).animate(e,t,i)},delay:function(e){return(this.fx||(this.fx=new n.FX(this))).delay(e)},stop:function(e,t){return this.fx&&this.fx.stop(e,t),this},finish:function(){return this.fx&&this.fx.finish(),this},pause:function(){return this.fx&&this.fx.pause(),this},play:function(){return this.fx&&this.fx.play(),this},speed:function(e){if(this.fx){if(null==e)return this.fx.speed();this.fx.speed(e)}return this}}}),n.MorphObj=n.invent({create:function(e,t){return n.Color.isColor(t)?new n.Color(e).morph(t):n.regex.delimiter.test(e)?n.regex.pathLetters.test(e)?new n.PathArray(e).morph(t):new n.Array(e).morph(t):n.regex.numberAndUnit.test(t)?new n.Number(e).morph(t):(this.value=e,void(this.destination=t))},extend:{at:function(e,t){return t<1?this.value:this.destination},valueOf:function(){return this.value}}}),n.extend(n.FX,{attr:function(e,t,n){if("object"===r(e))for(var i in e)this.attr(i,e[i]);else this.add(e,t,"attrs");return this},style:function(e,t){if("object"===r(e))for(var n in e)this.style(n,e[n]);else this.add(e,t,"styles");return this},x:function(e,t){if(this.target()instanceof n.G)return this.transform({x:e},t),this;var i=new n.Number(e);return i.relative=t,this.add("x",i)},y:function(e,t){if(this.target()instanceof n.G)return this.transform({y:e},t),this;var i=new n.Number(e);return i.relative=t,this.add("y",i)},cx:function(e){return this.add("cx",new n.Number(e))},cy:function(e){return this.add("cy",new n.Number(e))},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},size:function(e,t){var i;return this.target()instanceof n.Text?this.attr("font-size",e):(e&&t||(i=this.target().bbox()),e||(e=i.width/i.height*t),t||(t=i.height/i.width*e),this.add("width",new n.Number(e)).add("height",new n.Number(t))),this},width:function(e){return this.add("width",new n.Number(e))},height:function(e){return this.add("height",new n.Number(e))},plot:function(e,t,n,i){return 4==arguments.length?this.plot([e,t,n,i]):this.add("plot",new(this.target().morphArray)(e))},leading:function(e){return this.target().leading?this.add("leading",new n.Number(e)):this},viewbox:function(e,t,i,r){return this.target()instanceof n.Container&&this.add("viewbox",new n.ViewBox(e,t,i,r)),this},update:function(e){if(this.target()instanceof n.Stop){if("number"==typeof e||e instanceof n.Number)return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]});null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",e.offset)}return this}}),n.Box=n.invent({create:function(e,t,i,o){if(!("object"!==r(e)||e instanceof n.Element))return n.Box.call(this,null!=e.left?e.left:e.x,null!=e.top?e.top:e.y,e.width,e.height);4==arguments.length&&(this.x=e,this.y=t,this.width=i,this.height=o),y(this)},extend:{merge:function(e){var t=new this.constructor;return t.x=Math.min(this.x,e.x),t.y=Math.min(this.y,e.y),t.width=Math.max(this.x+this.width,e.x+e.width)-t.x,t.height=Math.max(this.y+this.height,e.y+e.height)-t.y,y(t)},transform:function(e){var t,i=1/0,r=-1/0,o=1/0,s=-1/0;return[new n.Point(this.x,this.y),new n.Point(this.x2,this.y),new n.Point(this.x,this.y2),new n.Point(this.x2,this.y2)].forEach(function(t){t=t.transform(e),i=Math.min(i,t.x),r=Math.max(r,t.x),o=Math.min(o,t.y),s=Math.max(s,t.y)}),(t=new this.constructor).x=i,t.width=r-i,t.y=o,t.height=s-o,y(t),t}}}),n.BBox=n.invent({create:function(e){if(n.Box.apply(this,[].slice.call(arguments)),e instanceof n.Element){var i;try{if(!t.documentElement.contains){for(var r=e.node;r.parentNode;)r=r.parentNode;if(r!=t)throw new Error("Element not in the dom")}i=e.node.getBBox()}catch(t){if(e instanceof n.Shape){n.parser.draw||n.prepare();var o=e.clone(n.parser.draw.instance).show();i=o.node.getBBox(),o.remove()}else i={x:e.node.clientLeft,y:e.node.clientTop,width:e.node.clientWidth,height:e.node.clientHeight}}n.Box.call(this,i)}},inherit:n.Box,parent:n.Element,construct:{bbox:function(){return new n.BBox(this)}}}),n.BBox.prototype.constructor=n.BBox,n.extend(n.Element,{tbox:function(){return console.warn("Use of TBox is deprecated and mapped to RBox. Use .rbox() instead."),this.rbox(this.doc())}}),n.RBox=n.invent({create:function(e){n.Box.apply(this,[].slice.call(arguments)),e instanceof n.Element&&n.Box.call(this,e.node.getBoundingClientRect())},inherit:n.Box,parent:n.Element,extend:{addOffset:function(){return this.x+=e.pageXOffset,this.y+=e.pageYOffset,this}},construct:{rbox:function(e){return e?new n.RBox(this).transform(e.screenCTM().inverse()):new n.RBox(this).addOffset()}}}),n.RBox.prototype.constructor=n.RBox,n.Matrix=n.invent({create:function(e){var t,i=m([1,0,0,1,0,0]);for(e=e instanceof n.Element?e.matrixify():"string"==typeof e?m(e.split(n.regex.delimiter).map(parseFloat)):6==arguments.length?m([].slice.call(arguments)):Array.isArray(e)?m(e):"object"===r(e)?e:i,t=_.length-1;t>=0;--t)this[_[t]]=null!=e[_[t]]?e[_[t]]:i[_[t]]},extend:{extract:function(){var e=p(this,0,1),t=p(this,1,0),i=180/Math.PI*Math.atan2(e.y,e.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(i*Math.PI/180)+this.f*Math.sin(i*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(i*Math.PI/180)+this.e*Math.sin(-i*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),skewX:-i,skewY:180/Math.PI*Math.atan2(t.y,t.x),scaleX:Math.sqrt(this.a*this.a+this.b*this.b),scaleY:Math.sqrt(this.c*this.c+this.d*this.d),rotation:i,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(e){return this.destination=new n.Matrix(e),this},at:function(e){return this.destination?new n.Matrix({a:this.a+(this.destination.a-this.a)*e,b:this.b+(this.destination.b-this.b)*e,c:this.c+(this.destination.c-this.c)*e,d:this.d+(this.destination.d-this.d)*e,e:this.e+(this.destination.e-this.e)*e,f:this.f+(this.destination.f-this.f)*e}):this},multiply:function(e){return new n.Matrix(this.native().multiply(function(e){return e instanceof n.Matrix||(e=new n.Matrix(e)),e}(e).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(e,t){return new n.Matrix(this.native().translate(e||0,t||0))},scale:function(e,t,i,r){return 1==arguments.length?t=e:3==arguments.length&&(r=i,i=t,t=e),this.around(i,r,new n.Matrix(e,0,0,t,0,0))},rotate:function(e,t,i){return e=n.utils.radians(e),this.around(t,i,new n.Matrix(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0))},flip:function(e,t){return"x"==e?this.scale(-1,1,t,0):"y"==e?this.scale(1,-1,0,t):this.scale(-1,-1,e,null!=t?t:e)},skew:function(e,t,i,r){return 1==arguments.length?t=e:3==arguments.length&&(r=i,i=t,t=e),e=n.utils.radians(e),t=n.utils.radians(t),this.around(i,r,new n.Matrix(1,Math.tan(t),Math.tan(e),1,0,0))},skewX:function(e,t,n){return this.skew(e,0,t,n)},skewY:function(e,t,n){return this.skew(0,e,t,n)},around:function(e,t,i){return this.multiply(new n.Matrix(1,0,0,1,e||0,t||0)).multiply(i).multiply(new n.Matrix(1,0,0,1,-e||0,-t||0))},native:function(){for(var e=n.parser.native.createSVGMatrix(),t=_.length-1;t>=0;t--)e[_[t]]=this[_[t]];return e},toString:function(){return"matrix("+b(this.a)+","+b(this.b)+","+b(this.c)+","+b(this.d)+","+b(this.e)+","+b(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new n.Matrix(t)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(e,t){var n;n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===r(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(e,t){return this.destination=new n.Point(e,t),this},at:function(e){return this.destination?new n.Point({x:this.x+(this.destination.x-this.x)*e,y:this.y+(this.destination.y-this.y)*e}):this},native:function(){var e=n.parser.native.createSVGPoint();return e.x=this.x,e.y=this.y,e},transform:function(e){return new n.Point(this.native().matrixTransform(e.native()))}}}),n.extend(n.Element,{point:function(e,t){return new n.Point(e,t).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(e,t,i){if(null==e){for(e={},i=(t=this.node.attributes).length-1;i>=0;i--)e[t[i].nodeName]=n.regex.isNumber.test(t[i].nodeValue)?parseFloat(t[i].nodeValue):t[i].nodeValue;return e}if("object"===r(e))for(t in e)this.attr(t,e[t]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?n.defaults.attrs[e]:n.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(n.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof n.Image&&(t=this.doc().defs().pattern(0,0,function(){this.add(t)}))),"number"==typeof t?t=new n.Number(t):n.Color.isColor(t)?t=new n.Color(t):Array.isArray(t)&&(t=new n.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"==typeof i?this.node.setAttributeNS(i,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),n.extend(n.Element,{transform:function(e,t){var i,o;if("object"!==r(e))return i=new n.Matrix(this).extract(),"string"==typeof e?i[e]:i;if(i=new n.Matrix(this),t=!!t||!!e.relative,null!=e.a)i=t?i.multiply(new n.Matrix(e)):new n.Matrix(e);else if(null!=e.rotation)g(e,this),i=t?i.rotate(e.rotation,e.cx,e.cy):i.rotate(e.rotation-i.extract().rotation,e.cx,e.cy);else if(null!=e.scale||null!=e.scaleX||null!=e.scaleY){if(g(e,this),e.scaleX=null!=e.scale?e.scale:null!=e.scaleX?e.scaleX:1,e.scaleY=null!=e.scale?e.scale:null!=e.scaleY?e.scaleY:1,!t){var s=i.extract();e.scaleX=1*e.scaleX/s.scaleX,e.scaleY=1*e.scaleY/s.scaleY}i=i.scale(e.scaleX,e.scaleY,e.cx,e.cy)}else null!=e.skew||null!=e.skewX||null!=e.skewY?(g(e,this),e.skewX=null!=e.skew?e.skew:null!=e.skewX?e.skewX:0,e.skewY=null!=e.skew?e.skew:null!=e.skewY?e.skewY:0,t||(s=i.extract(),i=i.multiply((new n.Matrix).skew(s.skewX,s.skewY,e.cx,e.cy).inverse())),i=i.skew(e.skewX,e.skewY,e.cx,e.cy)):e.flip?("x"==e.flip||"y"==e.flip?e.offset=null==e.offset?this.bbox()["c"+e.flip]:e.offset:null==e.offset?(o=this.bbox(),e.flip=o.cx,e.offset=o.cy):e.flip=e.offset,i=(new n.Matrix).flip(e.flip,e.offset)):null==e.x&&null==e.y||(t?i=i.translate(e.x,e.y):(null!=e.x&&(i.e=e.x),null!=e.y&&(i.f=e.y)));return this.attr("transform",i)}}),n.extend(n.FX,{transform:function(e,t){var i,o,s=this.target();return"object"!==r(e)?(i=new n.Matrix(s).extract(),"string"==typeof e?i[e]:i):(t=!!t||!!e.relative,null!=e.a?i=new n.Matrix(e):null!=e.rotation?(g(e,s),i=new n.Rotate(e.rotation,e.cx,e.cy)):null!=e.scale||null!=e.scaleX||null!=e.scaleY?(g(e,s),e.scaleX=null!=e.scale?e.scale:null!=e.scaleX?e.scaleX:1,e.scaleY=null!=e.scale?e.scale:null!=e.scaleY?e.scaleY:1,i=new n.Scale(e.scaleX,e.scaleY,e.cx,e.cy)):null!=e.skewX||null!=e.skewY?(g(e,s),e.skewX=null!=e.skewX?e.skewX:0,e.skewY=null!=e.skewY?e.skewY:0,i=new n.Skew(e.skewX,e.skewY,e.cx,e.cy)):e.flip?("x"==e.flip||"y"==e.flip?e.offset=null==e.offset?s.bbox()["c"+e.flip]:e.offset:null==e.offset?(o=s.bbox(),e.flip=o.cx,e.offset=o.cy):e.flip=e.offset,i=(new n.Matrix).flip(e.flip,e.offset)):null==e.x&&null==e.y||(i=new n.Translate(e.x,e.y)),i?(i.relative=t,this.last().transforms.push(i),this._callStart()):this)}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map(function(e){var t=e.trim().split("(");return[t[0],t[1].split(n.regex.delimiter).map(function(e){return parseFloat(e)})]}).reduce(function(e,t){return"matrix"==t[0]?e.multiply(m(t[1])):e[t[0]].apply(e,t[1])},new n.Matrix)},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),n=e.screenCTM().inverse();return this.addTo(e).untransform().transform(n.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,i=this.arguments.length;n<i;++n)this[this.arguments[n]]=e[n];else if("object"===r(e))for(n=0,i=this.arguments.length;n<i;++n)this[this.arguments[n]]=e[this.arguments[n]];this.inversed=!1,!0===t&&(this.inversed=!0)},extend:{arguments:[],method:"",at:function(e){for(var t=[],i=0,r=this.arguments.length;i<r;++i)t.push(this[this.arguments[i]]);var o=this._undo||new n.Matrix;return o=(new n.Matrix).morph(n.Matrix.prototype[this.method].apply(o,t)).at(e),this.inversed?o.inverse():o},undo:function(e){for(var t=0,i=this.arguments.length;t<i;++t)e[this.arguments[t]]=void 0===this[this.arguments[t]]?0:e[this.arguments[t]];return e.cx=this.cx,e.cy=this.cy,this._undo=new(n[d(this.method)])(e,!0).at(1),this}}}),n.Translate=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),n.Rotate=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["rotation","cx","cy"],method:"rotate",at:function(e){var t=(new n.Matrix).rotate((new n.Number).morph(this.rotation-(this._undo?this._undo.rotation:0)).at(e),this.cx,this.cy);return this.inversed?t.inverse():t},undo:function(e){return this._undo=e,this}}}),n.Scale=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["scaleX","scaleY","cx","cy"],method:"scale"}}),n.Skew=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["skewX","skewY","cx","cy"],method:"skew"}}),n.extend(n.Element,{style:function(e,t){if(0==arguments.length)return this.node.style.cssText||"";if(arguments.length<2)if("object"===r(e))for(t in e)this.style(t,e[t]);else{if(!n.regex.isCss.test(e))return this.node.style[u(e)];for(e=e.split(/\s*;\s*/).filter(function(e){return!!e}).map(function(e){return e.split(/\s*:\s*/)});t=e.pop();)this.style(t[0],t[1])}else this.node.style[u(e)]=null===t||n.regex.isBlank.test(t)?"":t;return this}}),n.Parent=n.invent({create:function(e){this.constructor.call(this,e)},inherit:n.Element,extend:{children:function(){return n.utils.map(n.utils.filterSVGElements(this.node.childNodes),function(e){return n.adopt(e)})},add:function(e,t){return null==t?this.node.appendChild(e.node):e.node!=this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this},put:function(e,t){return this.add(e,t),e},has:function(e){return this.index(e)>=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return n.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){var i,r,o=this.children();for(i=0,r=o.length;i<r;i++)o[i]instanceof n.Element&&e.apply(o[i],[i,o]),t&&o[i]instanceof n.Container&&o[i].each(e,t);return this},removeElement:function(e){return this.node.removeChild(e.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),n.extend(n.Parent,{ungroup:function(e,t){return 0===t||this instanceof n.Defs||this.node==n.parser.draw?this:(e=e||(this instanceof n.Doc?this:this.parent(n.Parent)),t=t||1/0,this.each(function(){return this instanceof n.Defs?this:this instanceof n.Parent?this.ungroup(e,t-1):this.toParent(e)}),this.node.firstChild||this.remove(),this)},flatten:function(e,t){return this.ungroup(e,t)}}),n.Container=n.invent({create:function(e){this.constructor.call(this,e)},inherit:n.Parent}),n.ViewBox=n.invent({create:function(e){var t,i,o,s,a,l,c,u=1,d=1,h=/[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/gi;if(e instanceof n.Element){for(l=e,c=e,a=(e.attr("viewBox")||"").match(h),e.bbox,o=new n.Number(e.width()),s=new n.Number(e.height());"%"==o.unit;)u*=o.value,o=new n.Number(l instanceof n.Doc?l.parent().offsetWidth:l.parent().width()),l=l.parent();for(;"%"==s.unit;)d*=s.value,s=new n.Number(c instanceof n.Doc?c.parent().offsetHeight:c.parent().height()),c=c.parent();this.x=0,this.y=0,this.width=o*u,this.height=s*d,this.zoom=1,a&&(t=parseFloat(a[0]),i=parseFloat(a[1]),o=parseFloat(a[2]),s=parseFloat(a[3]),this.zoom=this.width/this.height>o/s?this.height/s:this.width/o,this.x=t,this.y=i,this.width=o,this.height=s)}else e="string"==typeof e?e.match(h).map(function(e){return parseFloat(e)}):Array.isArray(e)?e:"object"===r(e)?[e.x,e.y,e.width,e.height]:4==arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=e[0],this.y=e[1],this.width=e[2],this.height=e[3]},extend:{toString:function(){return this.x+" "+this.y+" "+this.width+" "+this.height},morph:function(e,t,i,r){return this.destination=new n.ViewBox(e,t,i,r),this},at:function(e){return this.destination?new n.ViewBox([this.x+(this.destination.x-this.x)*e,this.y+(this.destination.y-this.y)*e,this.width+(this.destination.width-this.width)*e,this.height+(this.destination.height-this.height)*e]):this}},parent:n.Container,construct:{viewbox:function(e,t,i,r){return 0==arguments.length?new n.ViewBox(this):this.attr("viewBox",new n.ViewBox(e,t,i,r))}}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach(function(e){n.Element.prototype[e]=function(t){return n.on(this.node,e,t),this}}),n.listeners=[],n.handlerMap=[],n.listenerId=0,n.on=function(e,t,i,r,o){var s=i.bind(r||e.instance||e),a=(n.handlerMap.indexOf(e)+1||n.handlerMap.push(e))-1,l=t.split(".")[0],c=t.split(".")[1]||"*";n.listeners[a]=n.listeners[a]||{},n.listeners[a][l]=n.listeners[a][l]||{},n.listeners[a][l][c]=n.listeners[a][l][c]||{},i._svgjsListenerId||(i._svgjsListenerId=++n.listenerId),n.listeners[a][l][c][i._svgjsListenerId]=s,e.addEventListener(l,s,o||!1)},n.off=function(e,t,i){var r=n.handlerMap.indexOf(e),o=t&&t.split(".")[0],s=t&&t.split(".")[1],a="";if(-1!=r)if(i){if("function"==typeof i&&(i=i._svgjsListenerId),!i)return;n.listeners[r][o]&&n.listeners[r][o][s||"*"]&&(e.removeEventListener(o,n.listeners[r][o][s||"*"][i],!1),delete n.listeners[r][o][s||"*"][i])}else if(s&&o){if(n.listeners[r][o]&&n.listeners[r][o][s]){for(i in n.listeners[r][o][s])n.off(e,[o,s].join("."),i);delete n.listeners[r][o][s]}}else if(s)for(t in n.listeners[r])for(a in n.listeners[r][t])s===a&&n.off(e,[t,s].join("."));else if(o){if(n.listeners[r][o]){for(a in n.listeners[r][o])n.off(e,[o,a].join("."));delete n.listeners[r][o]}}else{for(t in n.listeners[r])n.off(e,t);delete n.listeners[r],delete n.handlerMap[r]}},n.extend(n.Element,{on:function(e,t,i,r){return n.on(this.node,e,t,i,r),this},off:function(e,t){return n.off(this.node,e,t),this},fire:function(t,i){return t instanceof e.Event?this.node.dispatchEvent(t):this.node.dispatchEvent(t=new n.CustomEvent(t,{detail:i,cancelable:!0})),this._event=t,this},event:function(){return this._event}}),n.Defs=n.invent({create:"defs",inherit:n.Container}),n.G=n.invent({create:"g",inherit:n.Container,extend:{x:function(e){return null==e?this.transform("x"):this.transform({x:e-this.x()},!0)},y:function(e){return null==e?this.transform("y"):this.transform({y:e-this.y()},!0)},cx:function(e){return null==e?this.gbox().cx:this.x(e-this.gbox().width/2)},cy:function(e){return null==e?this.gbox().cy:this.y(e-this.gbox().height/2)},gbox:function(){var e=this.bbox(),t=this.transform();return e.x+=t.x,e.x2+=t.x,e.cx+=t.x,e.y+=t.y,e.y2+=t.y,e.cy+=t.y,e}},construct:{group:function(){return this.put(new n.G)}}}),n.Doc=n.invent({create:function(e){e&&("svg"==(e="string"==typeof e?t.getElementById(e):e).nodeName?this.constructor.call(this,e):(this.constructor.call(this,n.create("svg")),e.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:n.Container,extend:{namespace:function(){return this.attr({xmlns:n.ns,version:"1.1"}).attr("xmlns:xlink",n.xlink,n.xmlns).attr("xmlns:svgjs",n.svgjs,n.xmlns)},defs:function(){var e;return this._defs||((e=this.node.getElementsByTagName("defs")[0])?this._defs=n.adopt(e):this._defs=new n.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&"#document"!=this.node.parentNode.nodeName?this.node.parentNode:null},spof:function(){var e=this.node.getScreenCTM();return e&&this.style("left",-e.e%1+"px").style("top",-e.f%1+"px"),this},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,n.parser.draw&&!n.parser.draw.parentNode&&this.node.appendChild(n.parser.draw),this},clone:function(e){this.writeDataToDom();var t=this.node,n=v(t.cloneNode(!0));return e?(e.node||e).appendChild(n.node):t.parentNode.insertBefore(n.node,t.nextSibling),n}}}),n.extend(n.Element,{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},previous:function(){return this.siblings()[this.position()-1]},forward:function(){var e=this.position()+1,t=this.parent();return t.removeElement(this).add(this,e),t instanceof n.Doc&&t.node.appendChild(t.defs().node),this},backward:function(){var e=this.position();return e>0&&this.parent().removeElement(this).add(this,e-1),this},front:function(){var e=this.parent();return e.node.appendChild(this.node),e instanceof n.Doc&&e.node.appendChild(e.defs().node),this},back:function(){return this.position()>0&&this.parent().removeElement(this).add(this,0),this},before:function(e){e.remove();var t=this.position();return this.parent().add(e,t),this},after:function(e){e.remove();var t=this.position();return this.parent().add(e,t+1),this}}),n.Mask=n.invent({create:function(){this.constructor.call(this,n.create("mask")),this.targets=[]},inherit:n.Container,extend:{remove:function(){for(var e=this.targets.length-1;e>=0;e--)this.targets[e]&&this.targets[e].unmask();return this.targets=[],n.Element.prototype.remove.call(this),this}},construct:{mask:function(){return this.defs().put(new n.Mask)}}}),n.extend(n.Element,{maskWith:function(e){return this.masker=e instanceof n.Mask?e:this.parent().mask().add(e),this.masker.targets.push(this),this.attr("mask",'url("#'+this.masker.attr("id")+'")')},unmask:function(){return delete this.masker,this.attr("mask",null)}}),n.ClipPath=n.invent({create:function(){this.constructor.call(this,n.create("clipPath")),this.targets=[]},inherit:n.Container,extend:{remove:function(){for(var e=this.targets.length-1;e>=0;e--)this.targets[e]&&this.targets[e].unclip();return this.targets=[],this.parent().removeElement(this),this}},construct:{clip:function(){return this.defs().put(new n.ClipPath)}}}),n.extend(n.Element,{clipWith:function(e){return this.clipper=e instanceof n.ClipPath?e:this.parent().clip().add(e),this.clipper.targets.push(this),this.attr("clip-path",'url("#'+this.clipper.attr("id")+'")')},unclip:function(){return delete this.clipper,this.attr("clip-path",null)}}),n.Gradient=n.invent({create:function(e){this.constructor.call(this,n.create(e+"Gradient")),this.type=e},inherit:n.Container,extend:{at:function(e,t,i){return this.put(new n.Stop).update(e,t,i)},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(e,t,i){return"transform"==e&&(e="gradientTransform"),n.Container.prototype.attr.call(this,e,t,i)}},construct:{gradient:function(e,t){return this.defs().gradient(e,t)}}}),n.extend(n.Gradient,n.FX,{from:function(e,t){return"radial"==(this._target||this).type?this.attr({fx:new n.Number(e),fy:new n.Number(t)}):this.attr({x1:new n.Number(e),y1:new n.Number(t)})},to:function(e,t){return"radial"==(this._target||this).type?this.attr({cx:new n.Number(e),cy:new n.Number(t)}):this.attr({x2:new n.Number(e),y2:new n.Number(t)})}}),n.extend(n.Defs,{gradient:function(e,t){return this.put(new n.Gradient(e)).update(t)}}),n.Stop=n.invent({create:"stop",inherit:n.Element,extend:{update:function(e){return("number"==typeof e||e instanceof n.Number)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",new n.Number(e.offset)),this}}}),n.Pattern=n.invent({create:"pattern",inherit:n.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},toString:function(){return this.fill()},attr:function(e,t,i){return"transform"==e&&(e="patternTransform"),n.Container.prototype.attr.call(this,e,t,i)}},construct:{pattern:function(e,t,n){return this.defs().pattern(e,t,n)}}}),n.extend(n.Defs,{pattern:function(e,t,i){return this.put(new n.Pattern).update(i).attr({x:0,y:0,width:e,height:t,patternUnits:"userSpaceOnUse"})}}),n.Shape=n.invent({create:function(e){this.constructor.call(this,e)},inherit:n.Element}),n.Bare=n.invent({create:function(e,t){if(this.constructor.call(this,n.create(e)),t)for(var i in t.prototype)"function"==typeof t.prototype[i]&&(this[i]=t.prototype[i])},inherit:n.Element,extend:{words:function(e){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this.node.appendChild(t.createTextNode(e)),this}}}),n.extend(n.Parent,{element:function(e,t){return this.put(new n.Bare(e,t))}}),n.Symbol=n.invent({create:"symbol",inherit:n.Container,construct:{symbol:function(){return this.put(new n.Symbol)}}}),n.Use=n.invent({create:"use",inherit:n.Shape,extend:{element:function(e,t){return this.attr("href",(t||"")+"#"+e,n.xlink)}},construct:{use:function(e,t){return this.put(new n.Use).element(e,t)}}}),n.Rect=n.invent({create:"rect",inherit:n.Shape,construct:{rect:function(e,t){return this.put(new n.Rect).size(e,t)}}}),n.Circle=n.invent({create:"circle",inherit:n.Shape,construct:{circle:function(e){return this.put(new n.Circle).rx(new n.Number(e).divide(2)).move(0,0)}}}),n.extend(n.Circle,n.FX,{rx:function(e){return this.attr("r",e)},ry:function(e){return this.rx(e)}}),n.Ellipse=n.invent({create:"ellipse",inherit:n.Shape,construct:{ellipse:function(e,t){return this.put(new n.Ellipse).size(e,t).move(0,0)}}}),n.extend(n.Ellipse,n.Rect,n.FX,{rx:function(e){return this.attr("rx",e)},ry:function(e){return this.attr("ry",e)}}),n.extend(n.Circle,n.Ellipse,{x:function(e){return null==e?this.cx()-this.rx():this.cx(e+this.rx())},y:function(e){return null==e?this.cy()-this.ry():this.cy(e+this.ry())},cx:function(e){return null==e?this.attr("cx"):this.attr("cx",e)},cy:function(e){return null==e?this.attr("cy"):this.attr("cy",e)},width:function(e){return null==e?2*this.rx():this.rx(new n.Number(e).divide(2))},height:function(e){return null==e?2*this.ry():this.ry(new n.Number(e).divide(2))},size:function(e,t){var i=f(this,e,t);return this.rx(new n.Number(i.width).divide(2)).ry(new n.Number(i.height).divide(2))}}),n.Line=n.invent({create:"line",inherit:n.Shape,extend:{array:function(){return new n.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(e,t,i,r){return null==e?this.array():(e=void 0!==t?{x1:e,y1:t,x2:i,y2:r}:new n.PointArray(e).toLine(),this.attr(e))},move:function(e,t){return this.attr(this.array().move(e,t).toLine())},size:function(e,t){var n=f(this,e,t);return this.attr(this.array().size(n.width,n.height).toLine())}},construct:{line:function(e,t,i,r){return n.Line.prototype.plot.apply(this.put(new n.Line),null!=e?[e,t,i,r]:[0,0,0,0])}}}),n.Polyline=n.invent({create:"polyline",inherit:n.Shape,construct:{polyline:function(e){return this.put(new n.Polyline).plot(e||new n.PointArray)}}}),n.Polygon=n.invent({create:"polygon",inherit:n.Shape,construct:{polygon:function(e){return this.put(new n.Polygon).plot(e||new n.PointArray)}}}),n.extend(n.Polyline,n.Polygon,{array:function(){return this._array||(this._array=new n.PointArray(this.attr("points")))},plot:function(e){return null==e?this.array():this.clear().attr("points","string"==typeof e?e:this._array=new n.PointArray(e))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("points",this.array().move(e,t))},size:function(e,t){var n=f(this,e,t);return this.attr("points",this.array().size(n.width,n.height))}}),n.extend(n.Line,n.Polyline,n.Polygon,{morphArray:n.PointArray,x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)},width:function(e){var t=this.bbox();return null==e?t.width:this.size(e,t.height)},height:function(e){var t=this.bbox();return null==e?t.height:this.size(t.width,e)}}),n.Path=n.invent({create:"path",inherit:n.Shape,extend:{morphArray:n.PathArray,array:function(){return this._array||(this._array=new n.PathArray(this.attr("d")))},plot:function(e){return null==e?this.array():this.clear().attr("d","string"==typeof e?e:this._array=new n.PathArray(e))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("d",this.array().move(e,t))},x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)},size:function(e,t){var n=f(this,e,t);return this.attr("d",this.array().size(n.width,n.height))},width:function(e){return null==e?this.bbox().width:this.size(e,this.bbox().height)},height:function(e){return null==e?this.bbox().height:this.size(this.bbox().width,e)}},construct:{path:function(e){return this.put(new n.Path).plot(e||new n.PathArray)}}}),n.Image=n.invent({create:"image",inherit:n.Shape,extend:{load:function(t){if(!t)return this;var i=this,r=new e.Image;return n.on(r,"load",function(){n.off(r);var e=i.parent(n.Pattern);null!==e&&(0==i.width()&&0==i.height()&&i.size(r.width,r.height),e&&0==e.width()&&0==e.height()&&e.size(i.width(),i.height()),"function"==typeof i._loaded&&i._loaded.call(i,{width:r.width,height:r.height,ratio:r.width/r.height,url:t}))}),n.on(r,"error",function(e){n.off(r),"function"==typeof i._error&&i._error.call(i,e)}),this.attr("href",r.src=this.src=t,n.xlink)},loaded:function(e){return this._loaded=e,this},error:function(e){return this._error=e,this}},construct:{image:function(e,t,i){return this.put(new n.Image).load(e).size(t||0,i||t||0)}}}),n.Text=n.invent({create:function(){this.constructor.call(this,n.create("text")),this.dom.leading=new n.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",n.defaults.attrs["font-family"])},inherit:n.Shape,extend:{x:function(e){return null==e?this.attr("x"):this.attr("x",e)},y:function(e){var t=this.attr("y"),n="number"==typeof t?t-this.bbox().y:0;return null==e?"number"==typeof t?t-n:t:this.attr("y","number"==typeof e.valueOf()?e+n:e)},cx:function(e){return null==e?this.bbox().cx:this.x(e-this.bbox().width/2)},cy:function(e){return null==e?this.bbox().cy:this.y(e-this.bbox().height/2)},text:function(e){if(void 0===e){e="";for(var t=this.node.childNodes,i=0,r=t.length;i<r;++i)0!=i&&3!=t[i].nodeType&&1==n.adopt(t[i]).dom.newLined&&(e+="\n"),e+=t[i].textContent;return e}if(this.clear().build(!0),"function"==typeof e)e.call(this,this);else{i=0;for(var o=(e=e.split("\n")).length;i<o;i++)this.tspan(e[i]).newLine()}return this.build(!1).rebuild()},size:function(e){return this.attr("font-size",e).rebuild()},leading:function(e){return null==e?this.dom.leading:(this.dom.leading=new n.Number(e),this.rebuild())},lines:function(){var e=(this.textPath&&this.textPath()||this).node,t=n.utils.map(n.utils.filterSVGElements(e.childNodes),function(e){return n.adopt(e)});return new n.Set(t)},rebuild:function(e){if("boolean"==typeof e&&(this._rebuild=e),this._rebuild){var t=this,i=0,r=this.dom.leading*new n.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(t.textPath()||this.attr("x",t.attr("x")),"\n"==this.text()?i+=r:(this.attr("dy",r+i),i=0))}),this.fire("rebuild")}return this},build:function(e){return this._build=!!e,this},setData:function(e){return this.dom=e,this.dom.leading=new n.Number(e.leading||1.3),this}},construct:{text:function(e){return this.put(new n.Text).text(e)},plain:function(e){return this.put(new n.Text).plain(e)}}}),n.Tspan=n.invent({create:"tspan",inherit:n.Shape,extend:{text:function(e){return null==e?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof e?e.call(this,this):this.plain(e),this)},dx:function(e){return this.attr("dx",e)},dy:function(e){return this.attr("dy",e)},newLine:function(){var e=this.parent(n.Text);return this.dom.newLined=!0,this.dy(e.dom.leading*e.attr("font-size")).attr("x",e.x())}}}),n.extend(n.Text,n.Tspan,{plain:function(e){return!1===this._build&&this.clear(),this.node.appendChild(t.createTextNode(e)),this},tspan:function(e){var t=(this.textPath&&this.textPath()||this).node,i=new n.Tspan;return!1===this._build&&this.clear(),t.appendChild(i.node),i.text(e)},clear:function(){for(var e=(this.textPath&&this.textPath()||this).node;e.hasChildNodes();)e.removeChild(e.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),n.TextPath=n.invent({create:"textPath",inherit:n.Parent,parent:n.Text,construct:{morphArray:n.PathArray,path:function(e){for(var t=new n.TextPath,i=this.doc().defs().path(e);this.node.hasChildNodes();)t.node.appendChild(this.node.firstChild);return this.node.appendChild(t.node),t.attr("href","#"+i,n.xlink),this},array:function(){var e=this.track();return e?e.array():null},plot:function(e){var t=this.track(),n=null;return t&&(n=t.plot(e)),null==e?n:this},track:function(){var e=this.textPath();if(e)return e.reference("href")},textPath:function(){if(this.node.firstChild&&"textPath"==this.node.firstChild.nodeName)return n.adopt(this.node.firstChild)}}}),n.Nested=n.invent({create:function(){this.constructor.call(this,n.create("svg")),this.style("overflow","visible")},inherit:n.Container,construct:{nested:function(){return this.put(new n.Nested)}}}),n.A=n.invent({create:"a",inherit:n.Container,extend:{to:function(e){return this.attr("href",e,n.xlink)},show:function(e){return this.attr("show",e,n.xlink)},target:function(e){return this.attr("target",e)}},construct:{link:function(e){return this.put(new n.A).to(e)}}}),n.extend(n.Element,{linkTo:function(e){var t=new n.A;return"function"==typeof e?e.call(t,t):t.to(e),this.parent().put(t).put(this)}}),n.Marker=n.invent({create:"marker",inherit:n.Container,extend:{width:function(e){return this.attr("markerWidth",e)},height:function(e){return this.attr("markerHeight",e)},ref:function(e,t){return this.attr("refX",e).attr("refY",t)},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},toString:function(){return"url(#"+this.id()+")"}},construct:{marker:function(e,t,n){return this.defs().marker(e,t,n)}}}),n.extend(n.Defs,{marker:function(e,t,i){return this.put(new n.Marker).size(e,t).ref(e/2,t/2).viewbox(0,0,e,t).attr("orient","auto").update(i)}}),n.extend(n.Line,n.Polyline,n.Polygon,n.Path,{marker:function(e,t,i,r){var o=["marker"];return"all"!=e&&o.push(e),o=o.join("-"),e=arguments[1]instanceof n.Marker?arguments[1]:this.doc().marker(t,i,r),this.attr(o,e)}});var l={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(e,t){return"color"==t?e:e+"-"+t}};function c(e,t,i,r){return i+r.replace(n.regex.dots," .")}function u(e){return e.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function h(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function f(e,t,n){if(null==t||null==n){var i=e.bbox();null==t?t=i.width/i.height*n:null==n&&(n=i.height/i.width*t)}return{width:t,height:n}}function p(e,t,n){return{x:t*e.a+n*e.c+0,y:t*e.b+n*e.d+0}}function m(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}function g(e,t){e.cx=null==e.cx?t.bbox().cx:e.cx,e.cy=null==e.cy?t.bbox().cy:e.cy}function v(t){for(var i=t.childNodes.length-1;i>=0;i--)t.childNodes[i]instanceof e.SVGElement&&v(t.childNodes[i]);return n.adopt(t).id(n.eid(t.nodeName))}function y(e){return null==e.x&&(e.x=0,e.y=0,e.width=0,e.height=0),e.w=e.width,e.h=e.height,e.x2=e.x+e.width,e.y2=e.y+e.height,e.cx=e.x+e.width/2,e.cy=e.y+e.height/2,e}function b(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach(function(e){var t,i={};i[e]=function(i){if(void 0===i)return this;if("string"==typeof i||n.Color.isRgb(i)||i&&"function"==typeof i.fill)this.attr(e,i);else for(t=l[e].length-1;t>=0;t--)null!=i[l[e][t]]&&this.attr(l.prefix(e,l[e][t]),i[l[e][t]]);return this},n.extend(n.Element,n.FX,i)}),n.extend(n.Element,n.FX,{rotate:function(e,t,n){return this.transform({rotation:e,cx:t,cy:n})},skew:function(e,t,n,i){return 1==arguments.length||3==arguments.length?this.transform({skew:e,cx:t,cy:n}):this.transform({skewX:e,skewY:t,cx:n,cy:i})},scale:function(e,t,n,i){return 1==arguments.length||3==arguments.length?this.transform({scale:e,cx:t,cy:n}):this.transform({scaleX:e,scaleY:t,cx:n,cy:i})},translate:function(e,t){return this.transform({x:e,y:t})},flip:function(e,t){return t="number"==typeof e?e:t,this.transform({flip:e||"both",offset:t})},matrix:function(e){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new n.Number(e).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(e){return this.y(new n.Number(e).plus(this instanceof n.FX?0:this.y()),!0)},dmove:function(e,t){return this.dx(e).dy(t)}}),n.extend(n.Rect,n.Ellipse,n.Circle,n.Gradient,n.FX,{radius:function(e,t){var i=(this._target||this).type;return"radial"==i||"circle"==i?this.attr("r",new n.Number(e)):this.rx(e).ry(null==t?e:t)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),n.extend(n.Parent,n.Text,n.Tspan,n.FX,{font:function(e,t){if("object"===r(e))for(t in e)this.font(t,e[t]);return"leading"==e?this.leading(t):"anchor"==e?this.attr("text-anchor",t):"size"==e||"family"==e||"weight"==e||"stretch"==e||"variant"==e||"style"==e?this.attr("font-"+e,t):this.attr(e,t)}}),n.Set=n.invent({create:function(e){Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){var e,t,n=[].slice.call(arguments);for(e=0,t=n.length;e<t;e++)this.members.push(n[e]);return this},remove:function(e){var t=this.index(e);return t>-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,n=this.members.length;t<n;t++)e.apply(this.members[t],[t,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(e){return this.index(e)>=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members},bbox:function(){if(0==this.members.length)return new n.RBox;var e=this.members[0].rbox(this.members[0].doc());return this.each(function(){e=e.merge(this.rbox(this.doc()))}),e}},construct:{set:function(e){return new n.Set(e)}}}),n.FX.Set=n.invent({create:function(e){this.set=e}}),n.Set.inherit=function(){var e=[];for(var t in n.Shape.prototype)"function"==typeof n.Shape.prototype[t]&&"function"!=typeof n.Set.prototype[t]&&e.push(t);for(var t in e.forEach(function(e){n.Set.prototype[e]=function(){for(var t=0,i=this.members.length;t<i;t++)this.members[t]&&"function"==typeof this.members[t][e]&&this.members[t][e].apply(this.members[t],arguments);return"animate"==e?this.fx||(this.fx=new n.FX.Set(this)):this}}),e=[],n.FX.prototype)"function"==typeof n.FX.prototype[t]&&"function"!=typeof n.FX.Set.prototype[t]&&e.push(t);e.forEach(function(e){n.FX.Set.prototype[e]=function(){for(var t=0,n=this.set.members.length;t<n;t++)this.set.members[t].fx[e].apply(this.set.members[t].fx,arguments);return this}})},n.extend(n.Element,{data:function(e,t,n){if("object"===r(e))for(t in e)this.data(t,e[t]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+e))}catch(t){return this.attr("data-"+e)}else this.attr("data-"+e,null===t?null:!0===n||"string"==typeof t||"number"==typeof t?t:JSON.stringify(t));return this}}),n.extend(n.Element,{remember:function(e,t){if("object"===r(arguments[0]))for(var t in e)this.remember(t,e[t]);else{if(1==arguments.length)return this.memory()[e];this.memory()[e]=t}return this},forget:function(){if(0==arguments.length)this._memory={};else for(var e=arguments.length-1;e>=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(e){var i=t.getElementById(function(e){var t=(e||"").toString().match(n.regex.reference);if(t)return t[1]}(e)||e);return n.adopt(i)},n.select=function(e,i){return new n.Set(n.utils.map((i||t).querySelectorAll(e),function(e){return n.adopt(e)}))},n.extend(n.Parent,{select:function(e){return n.select(e,this.node)}});var _="abcdef".split("");if("function"!=typeof e.CustomEvent){var w=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i};w.prototype=e.Event.prototype,n.CustomEvent=w}else n.CustomEvent=e.CustomEvent;return function(t){for(var n=0,i=["moz","webkit"],r=0;r<i.length&&!e.requestAnimationFrame;++r)t.requestAnimationFrame=t[i[r]+"RequestAnimationFrame"],t.cancelAnimationFrame=t[i[r]+"CancelAnimationFrame"]||t[i[r]+"CancelRequestAnimationFrame"];t.requestAnimationFrame=t.requestAnimationFrame||function(e){var i=(new Date).getTime(),r=Math.max(0,16-(i-n)),o=t.setTimeout(function(){e(i+r)},r);return n=i+r,o},t.cancelAnimationFrame=t.cancelAnimationFrame||t.clearTimeout}(e),n}),function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(e,t){return this.add(e,t),!e.attr("in")&&this.autoSetIn&&e.attr("in",this.source),e.attr("result")||e.attr("result",e),e},blend:function(e,t,n){return this.put(new SVG.BlendEffect(e,t,n))},colorMatrix:function(e,t){return this.put(new SVG.ColorMatrixEffect(e,t))},convolveMatrix:function(e){return this.put(new SVG.ConvolveMatrixEffect(e))},componentTransfer:function(e){return this.put(new SVG.ComponentTransferEffect(e))},composite:function(e,t,n){return this.put(new SVG.CompositeEffect(e,t,n))},flood:function(e,t){return this.put(new SVG.FloodEffect(e,t))},offset:function(e,t){return this.put(new SVG.OffsetEffect(e,t))},image:function(e){return this.put(new SVG.ImageEffect(e))},merge:function(){var e=[void 0];for(var t in arguments)e.push(arguments[t]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,e)))},gaussianBlur:function(e,t){return this.put(new SVG.GaussianBlurEffect(e,t))},morphology:function(e,t){return this.put(new SVG.MorphologyEffect(e,t))},diffuseLighting:function(e,t,n){return this.put(new SVG.DiffuseLightingEffect(e,t,n))},displacementMap:function(e,t,n,i,r){return this.put(new SVG.DisplacementMapEffect(e,t,n,i,r))},specularLighting:function(e,t,n,i){return this.put(new SVG.SpecularLightingEffect(e,t,n,i))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(e,t,n,i,r){return this.put(new SVG.TurbulenceEffect(e,t,n,i,r))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(e){var t=this.put(new SVG.Filter);return"function"==typeof e&&e.call(t,t),t}}),SVG.extend(SVG.Container,{filter:function(e){return this.defs().filter(e)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(e){return this.filterer=e instanceof SVG.Element?e:this.doc().filter(e),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(e){return this.filterer&&!0===e&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}});var e={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},diffuseLighting:function(e,t,n){return this.parent()&&this.parent().diffuseLighting(e,t,n).in(this)},displacementMap:function(e,t,n,i){return this.parent()&&this.parent().displacementMap(this,e,t,n,i)},specularLighting:function(e,t,n,i){return this.parent()&&this.parent().specularLighting(e,t,n,i).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,n,i,r){return this.parent()&&this.parent().turbulence(e,t,n,i,r).in(this)}};SVG.extend(SVG.Effect,e),SVG.extend(SVG.ParentEffect,e),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){this.attr("in",e)}}});var t={blend:function(e,t,n){this.attr({in:e,in2:t,mode:n||"normal"})},colorMatrix:function(e,t){"matrix"==e&&(t=r(t)),this.attr({type:e,values:void 0===t?null:t})},convolveMatrix:function(e){e=r(e),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},composite:function(e,t,n){this.attr({in:e,in2:t,operator:n})},flood:function(e,t){this.attr("flood-color",e),null!=t&&this.attr("flood-opacity",t)},offset:function(e,t){this.attr({dx:e,dy:t})},image:function(e){this.attr("href",e,SVG.xlink)},displacementMap:function(e,t,n,i,r){this.attr({in:e,in2:t,scale:n,xChannelSelector:i,yChannelSelector:r})},gaussianBlur:function(e,t){null!=e||null!=t?this.attr("stdDeviation",function(e){if(!Array.isArray(e))return e;for(var t=0,n=e.length,i=[];t<n;t++)i.push(e[t]);return i.join(" ")}(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(e,t){this.attr({operator:e,radius:t})},tile:function(){},turbulence:function(e,t,n,i,r){this.attr({numOctaves:t,seed:n,stitchTiles:i,baseFrequency:e,type:r})}},n={merge:function(){var e;if(arguments[0]instanceof SVG.Set){var t=this;arguments[0].each(function(e){this instanceof SVG.MergeNode?t.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&t.put(new SVG.MergeNode(this))})}else{e=Array.isArray(arguments[0])?arguments[0]:arguments;for(var n=0;n<e.length;n++)e[n]instanceof SVG.MergeNode?this.put(e[n]):this.put(new SVG.MergeNode(e[n]))}},componentTransfer:function(e){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(e){this[e]=new(SVG["Func"+e.toUpperCase()])("identity"),this.rgb.add(this[e]),this.node.appendChild(this[e].node)}.bind(this)),e)for(var t in e.rgb&&(["r","g","b"].forEach(function(t){this[t].attr(e.rgb)}.bind(this)),delete e.rgb),e)this[t].attr(e[t])},diffuseLighting:function(e,t,n){this.attr({surfaceScale:e,diffuseConstant:t,kernelUnitLength:n})},specularLighting:function(e,t,n,i){this.attr({surfaceScale:e,diffuseConstant:t,specularExponent:n,kernelUnitLength:i})}},i={distantLight:function(e,t){this.attr({azimuth:e,elevation:t})},pointLight:function(e,t,n){this.attr({x:e,y:t,z:n})},spotLight:function(e,t,n,i,r,o){this.attr({x:e,y:t,z:n,pointsAtX:i,pointsAtY:r,pointsAtZ:o})},mergeNode:function(e){this.attr("in",e)}};function r(e){return Array.isArray(e)&&(e=new SVG.Array(e)),e.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function o(){var e=function(){};for(var t in"function"==typeof arguments[arguments.length-1]&&(e=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var n in arguments[t])e(arguments[t][n],n,arguments[t])}["r","g","b","a"].forEach(function(e){i["Func"+e.toUpperCase()]=function(e){switch(this.attr("type",e),e){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}}),o(t,function(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);SVG[n+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+n)),e.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})}),o(n,function(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);SVG[n+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+n)),e.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})}),o(i,function(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);SVG[n]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+n)),e.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})}),SVG.extend(SVG.MergeEffect,{in:function(e){return e instanceof SVG.MergeNode?this.add(e,0):this.add(new SVG.MergeNode(e),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",e)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}.call(void 0),function(){function e(e,r,o,s,a,l,c){for(var u=e.slice(r,o||c),d=s.slice(a,l||c),h=0,f={pos:[0,0],start:[0,0]},p={pos:[0,0],start:[0,0]};u[h]=t.call(f,u[h]),d[h]=t.call(p,d[h]),u[h][0]!=d[h][0]||"M"==u[h][0]||"A"==u[h][0]&&(u[h][4]!=d[h][4]||u[h][5]!=d[h][5])?(Array.prototype.splice.apply(u,[h,1].concat(i.call(f,u[h]))),Array.prototype.splice.apply(d,[h,1].concat(i.call(p,d[h])))):(u[h]=n.call(f,u[h]),d[h]=n.call(p,d[h])),++h!=u.length||h!=d.length;)h==u.length&&u.push(["C",f.pos[0],f.pos[1],f.pos[0],f.pos[1],f.pos[0],f.pos[1]]),h==d.length&&d.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]);return{start:u,dest:d}}function t(e){switch(e[0]){case"z":case"Z":e[0]="L",e[1]=this.start[0],e[2]=this.start[1];break;case"H":e[0]="L",e[2]=this.pos[1];break;case"V":e[0]="L",e[2]=e[1],e[1]=this.pos[0];break;case"T":e[0]="Q",e[3]=e[1],e[4]=e[2],e[1]=this.reflection[1],e[2]=this.reflection[0];break;case"S":e[0]="C",e[6]=e[4],e[5]=e[3],e[4]=e[2],e[3]=e[1],e[2]=this.reflection[1],e[1]=this.reflection[0]}return e}function n(e){var t=e.length;return this.pos=[e[t-2],e[t-1]],-1!="SCQT".indexOf(e[0])&&(this.reflection=[2*this.pos[0]-e[t-4],2*this.pos[1]-e[t-3]]),e}function i(e){var t=[e];switch(e[0]){case"M":return this.pos=this.start=[e[1],e[2]],t;case"L":e[5]=e[3]=e[1],e[6]=e[4]=e[2],e[1]=this.pos[0],e[2]=this.pos[1];break;case"Q":e[6]=e[4],e[5]=e[3],e[4]=1*e[4]/3+2*e[2]/3,e[3]=1*e[3]/3+2*e[1]/3,e[2]=1*this.pos[1]/3+2*e[2]/3,e[1]=1*this.pos[0]/3+2*e[1]/3;break;case"A":e=(t=function(e,t){var n,i,r,o,s,a,l,c,u,d,h,f,p,m,g,v,y,b,_,w,x,A,C,k,M,S,L=Math.abs(t[1]),E=Math.abs(t[2]),D=t[3]%360,T=t[4],I=t[5],j=t[6],O=t[7],F=new SVG.Point(e),N=new SVG.Point(j,O),Y=[];if(0===L||0===E||F.x===N.x&&F.y===N.y)return[["C",F.x,F.y,N.x,N.y,N.x,N.y]];for((i=(n=new SVG.Point((F.x-N.x)/2,(F.y-N.y)/2).transform((new SVG.Matrix).rotate(D))).x*n.x/(L*L)+n.y*n.y/(E*E))>1&&(L*=i=Math.sqrt(i),E*=i),r=(new SVG.Matrix).rotate(D).scale(1/L,1/E).rotate(-D),F=F.transform(r),a=(o=[(N=N.transform(r)).x-F.x,N.y-F.y])[0]*o[0]+o[1]*o[1],s=Math.sqrt(a),o[0]/=s,o[1]/=s,l=a<4?Math.sqrt(1-a/4):0,T===I&&(l*=-1),c=new SVG.Point((N.x+F.x)/2+l*-o[1],(N.y+F.y)/2+l*o[0]),u=new SVG.Point(F.x-c.x,F.y-c.y),d=new SVG.Point(N.x-c.x,N.y-c.y),h=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(h*=-1),f=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(f*=-1),I&&h>f&&(f+=2*Math.PI),!I&&h<f&&(f-=2*Math.PI),v=[],y=h,p=(f-h)/(m=Math.ceil(2*Math.abs(h-f)/Math.PI)),g=4*Math.tan(p/4)/3,x=0;x<=m;x++)_=Math.cos(y),b=Math.sin(y),w=new SVG.Point(c.x+_,c.y+b),v[x]=[new SVG.Point(w.x+g*b,w.y-g*_),w,new SVG.Point(w.x-g*b,w.y+g*_)],y+=p;for(v[0][0]=v[0][1].clone(),v[v.length-1][2]=v[v.length-1][1].clone(),r=(new SVG.Matrix).rotate(D).scale(L,E).rotate(-D),x=0,A=v.length;x<A;x++)v[x][0]=v[x][0].transform(r),v[x][1]=v[x][1].transform(r),v[x][2]=v[x][2].transform(r);for(x=1,A=v.length;x<A;x++)C=(w=v[x-1][2]).x,k=w.y,M=(w=v[x][0]).x,S=w.y,j=(w=v[x][1]).x,O=w.y,Y.push(["C",C,k,M,S,j,O]);return Y}(this.pos,e))[0]}return e[0]="C",this.pos=[e[5],e[6]],this.reflection=[2*e[5]-e[3],2*e[6]-e[4]],t}function r(e,t){if(!1===t)return!1;for(var n=t,i=e.length;n<i;++n)if("M"==e[n][0])return n;return!1}SVG.extend(SVG.PathArray,{morph:function(t){for(var n=this.value,i=this.parse(t),o=0,s=0,a=!1,l=!1;!1!==o||!1!==s;){var c;a=r(n,!1!==o&&o+1),l=r(i,!1!==s&&s+1),!1===o&&(o=0==(c=new SVG.PathArray(u.start).bbox()).height||0==c.width?n.push(n[0])-1:n.push(["M",c.x+c.width/2,c.y+c.height/2])-1),!1===s&&(s=0==(c=new SVG.PathArray(u.dest).bbox()).height||0==c.width?i.push(i[0])-1:i.push(["M",c.x+c.width/2,c.y+c.height/2])-1);var u=e(n,o,a,i,s,l);n=n.slice(0,o).concat(u.start,!1===a?[]:n.slice(a)),i=i.slice(0,s).concat(u.dest,!1===l?[]:i.slice(l)),o=!1!==a&&o+u.start.length,s=!1!==l&&s+u.dest.length}return this.value=n,this.destination=new SVG.PathArray,this.destination.value=i,this}})}(),function(){function e(e){e.remember("_draggable",this),this.el=e}e.prototype.init=function(e,t){var n=this;this.constraint=e,this.value=t,this.el.on("mousedown.drag",function(e){n.start(e)}),this.el.on("touchstart.drag",function(e){n.start(e)})},e.prototype.transformPoint=function(e,t){var n=(e=e||window.event).changedTouches&&e.changedTouches[0]||e;return this.p.x=n.clientX-(t||0),this.p.y=n.clientY,this.p.matrixTransform(this.m)},e.prototype.getBBox=function(){var e=this.el.bbox();return this.el instanceof SVG.Nested&&(e=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(e.x=this.el.x(),e.y=this.el.y()),e},e.prototype.start=function(e){if("click"!=e.type&&"mousedown"!=e.type&&"mousemove"!=e.type||1==(e.which||e.buttons)){var t=this;if(this.el.fire("beforedrag",{event:e,handler:this}),!this.el.event().defaultPrevented){e.preventDefault(),e.stopPropagation(),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var n,i=this.getBBox();if(this.el instanceof SVG.Text)switch(n=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":n/=2;break;case"start":n=0}this.startPoints={point:this.transformPoint(e,n),box:i,transform:this.el.transform()},SVG.on(window,"mousemove.drag",function(e){t.drag(e)}),SVG.on(window,"touchmove.drag",function(e){t.drag(e)}),SVG.on(window,"mouseup.drag",function(e){t.end(e)}),SVG.on(window,"touchend.drag",function(e){t.end(e)}),this.el.fire("dragstart",{event:e,p:this.startPoints.point,m:this.m,handler:this})}}},e.prototype.drag=function(e){var t=this.getBBox(),n=this.transformPoint(e),i=this.startPoints.box.x+n.x-this.startPoints.point.x,r=this.startPoints.box.y+n.y-this.startPoints.point.y,o=this.constraint,s=n.x-this.startPoints.point.x,a=n.y-this.startPoints.point.y;if(this.el.fire("dragmove",{event:e,p:n,m:this.m,handler:this}),this.el.event().defaultPrevented)return n;if("function"==typeof o){var l=o.call(this.el,i,r,this.m);"boolean"==typeof l&&(l={x:l,y:l}),!0===l.x?this.el.x(i):!1!==l.x&&this.el.x(l.x),!0===l.y?this.el.y(r):!1!==l.y&&this.el.y(l.y)}else"object"==typeof o&&(null!=o.minX&&i<o.minX?s=(i=o.minX)-this.startPoints.box.x:null!=o.maxX&&i>o.maxX-t.width&&(s=(i=o.maxX-t.width)-this.startPoints.box.x),null!=o.minY&&r<o.minY?a=(r=o.minY)-this.startPoints.box.y:null!=o.maxY&&r>o.maxY-t.height&&(a=(r=o.maxY-t.height)-this.startPoints.box.y),null!=o.snapToGrid&&(i-=i%o.snapToGrid,r-=r%o.snapToGrid,s-=s%o.snapToGrid,a-=a%o.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:s,y:a},!0):this.el.move(i,r));return n},e.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(t,n){"function"!=typeof t&&"object"!=typeof t||(n=t,t=!0);var i=this.remember("_draggable")||new e(this);return(t=void 0===t||t)?i.init(n||{},t):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function e(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1}}e.prototype.init=function(e,t){var n=this.el.bbox();for(var i in this.options={},this.el.selectize.defaults)this.options[i]=this.el.selectize.defaults[i],void 0!==t[i]&&(this.options[i]=t[i]);this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(n.x,n.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},e.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set?this:(this.pointSelection.set=this.parent.set(),this.drawCircles(),this)},e.prototype.getPointArray=function(){var e=this.el.bbox();return this.el.array().valueOf().map(function(t){return[t[0]-e.x,t[1]-e.y]})},e.prototype.drawCircles=function(){for(var e=this,t=this.getPointArray(),n=0,i=t.length;n<i;++n){var r=function(t){return function(n){(n=n||window.event).preventDefault?n.preventDefault():n.returnValue=!1,n.stopPropagation();var i=n.pageX||n.touches[0].pageX,r=n.pageY||n.touches[0].pageY;e.el.fire("point",{x:i,y:r,i:t,event:n})}}(n);this.pointSelection.set.add(this.nested.circle(this.options.radius).center(t[n][0],t[n][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",r).on("mousedown",r))}},e.prototype.updatePointSelection=function(){var e=this.getPointArray();this.pointSelection.set.each(function(t){this.cx()===e[t][0]&&this.cy()===e[t][1]||this.center(e[t][0],e[t][1])})},e.prototype.updateRectSelection=function(){var e=this.el.bbox();this.rectSelection.set.get(0).attr({width:e.width,height:e.height}),this.options.points&&(this.rectSelection.set.get(2).center(e.width,0),this.rectSelection.set.get(3).center(e.width,e.height),this.rectSelection.set.get(4).center(0,e.height),this.rectSelection.set.get(5).center(e.width/2,0),this.rectSelection.set.get(6).center(e.width,e.height/2),this.rectSelection.set.get(7).center(e.width/2,e.height),this.rectSelection.set.get(8).center(0,e.height/2)),this.options.rotationPoint&&(this.options.points?this.rectSelection.set.get(9).center(e.width/2,20):this.rectSelection.set.get(1).center(e.width/2,20))},e.prototype.selectRect=function(e){var t=this,n=this.el.bbox();function i(e){return function(n){(n=n||window.event).preventDefault?n.preventDefault():n.returnValue=!1,n.stopPropagation();var i=n.pageX||n.touches[0].pageX,r=n.pageY||n.touches[0].pageY;t.el.fire(e,{x:i,y:r,event:n})}}if(this.rectSelection.isSelected=e,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(n.width,n.height).addClass(this.options.classRect)),this.options.points&&!this.rectSelection.set.get(1)){var r="touchstart",o="mousedown";this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,0).attr("class",this.options.classPoints+"_lt").on(o,i("lt")).on(r,i("lt"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(n.width,0).attr("class",this.options.classPoints+"_rt").on(o,i("rt")).on(r,i("rt"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(n.width,n.height).attr("class",this.options.classPoints+"_rb").on(o,i("rb")).on(r,i("rb"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,n.height).attr("class",this.options.classPoints+"_lb").on(o,i("lb")).on(r,i("lb"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(n.width/2,0).attr("class",this.options.classPoints+"_t").on(o,i("t")).on(r,i("t"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(n.width,n.height/2).attr("class",this.options.classPoints+"_r").on(o,i("r")).on(r,i("r"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(n.width/2,n.height).attr("class",this.options.classPoints+"_b").on(o,i("b")).on(r,i("b"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,n.height/2).attr("class",this.options.classPoints+"_l").on(o,i("l")).on(r,i("l"))),this.rectSelection.set.each(function(){this.addClass(t.options.classPoints)})}if(this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var s=function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation();var n=e.pageX||e.touches[0].pageX,i=e.pageY||e.touches[0].pageY;t.el.fire("rot",{x:n,y:i,event:e})};this.rectSelection.set.add(this.nested.circle(this.options.radius).center(n.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",s).on("mousedown",s))}},e.prototype.handler=function(){var e=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(e.x,e.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},e.prototype.observe=function(){var e=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver(function(){e.handler()}),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch(e){}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",function(){e.handler()})},e.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each(function(){this.remove()}),this.rectSelection.set.clear(),delete this.rectSelection.set),!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each(function(){this.remove()}),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(t,n){return"object"==typeof t&&(n=t,t=!0),(this.remember("_selectHandler")||new e(this)).init(void 0===t||t,n||{}),this}}),SVG.Element.prototype.selectize.defaults={points:!0,classRect:"svg_select_boundingRect",classPoints:"svg_select_points",radius:7,rotationPoint:!0,deepSelect:!1}}(),function(){(function(){function e(e){e.remember("_resizeHandler",this),this.el=e,this.parameters={},this.lastUpdateCall=null,this.p=e.doc().node.createSVGPoint()}e.prototype.transformPoint=function(e,t,n){return this.p.x=e-(this.offset.x-window.pageXOffset),this.p.y=t-(this.offset.y-window.pageYOffset),this.p.matrixTransform(n||this.m)},e.prototype._extractPosition=function(e){return{x:null!=e.clientX?e.clientX:e.touches[0].clientX,y:null!=e.clientY?e.clientY:e.touches[0].clientY}},e.prototype.init=function(e){var t=this;if(this.stop(),"stop"!==e){for(var n in this.options={},this.el.resize.defaults)this.options[n]=this.el.resize.defaults[n],void 0!==e[n]&&(this.options[n]=e[n]);this.el.on("lt.resize",function(e){t.resize(e||window.event)}),this.el.on("rt.resize",function(e){t.resize(e||window.event)}),this.el.on("rb.resize",function(e){t.resize(e||window.event)}),this.el.on("lb.resize",function(e){t.resize(e||window.event)}),this.el.on("t.resize",function(e){t.resize(e||window.event)}),this.el.on("r.resize",function(e){t.resize(e||window.event)}),this.el.on("b.resize",function(e){t.resize(e||window.event)}),this.el.on("l.resize",function(e){t.resize(e||window.event)}),this.el.on("rot.resize",function(e){t.resize(e||window.event)}),this.el.on("point.resize",function(e){t.resize(e||window.event)}),this.update()}},e.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},e.prototype.resize=function(e){var t=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var n=this._extractPosition(e.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(n.x,n.y),x:e.detail.x,y:e.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},"text"===this.el.type&&(this.parameters.fontSize=this.el.attr()["font-size"]),void 0!==e.detail.i){var i=this.el.array().valueOf();this.parameters.i=e.detail.i,this.parameters.pointCoords=[i[e.detail.i][0],i[e.detail.i][1]]}switch(e.type){case"lt":this.calc=function(e,t){var n=this.snapToGrid(e,t);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y+n[1]).size(this.parameters.box.width-n[0],this.parameters.box.height-n[1])}};break;case"rt":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).size(this.parameters.box.width+n[0],this.parameters.box.height-n[1])}};break;case"rb":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+n[0],this.parameters.box.height+n[1])}};break;case"lb":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).size(this.parameters.box.width-n[0],this.parameters.box.height+n[1])}};break;case"t":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).height(this.parameters.box.height-n[1])}};break;case"r":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+n[0])}};break;case"b":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+n[1])}};break;case"l":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).width(this.parameters.box.width-n[0])}};break;case"rot":this.calc=function(e,t){var n=e+this.parameters.p.x,i=t+this.parameters.p.y,r=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),o=Math.atan2(i-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),s=this.parameters.rotation+180*(o-r)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(s-s%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(e,t){var n=this.snapToGrid(e,t,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),i=this.el.array().valueOf();i[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],i[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(i)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",function(e){t.update(e||window.event)}),SVG.on(window,"touchend.resize",function(){t.done()}),SVG.on(window,"mousemove.resize",function(e){t.update(e||window.event)}),SVG.on(window,"mouseup.resize",function(){t.done()})},e.prototype.update=function(e){if(e){var t=this._extractPosition(e),n=this.transformPoint(t.x,t.y),i=n.x-this.parameters.p.x,r=n.y-this.parameters.p.y;this.lastUpdateCall=[i,r],this.calc(i,r),this.el.fire("resizing",{dx:i,dy:r,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},e.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},e.prototype.snapToGrid=function(e,t,n,i){var r;return void 0!==i?r=[(n+e)%this.options.snapToGrid,(i+t)%this.options.snapToGrid]:(n=null==n?3:n,r=[(this.parameters.box.x+e+(1&n?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&n?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(r[0]-=this.options.snapToGrid),t<0&&(r[1]-=this.options.snapToGrid),e-=Math.abs(r[0])<this.options.snapToGrid/2?r[0]:r[0]-(e<0?-this.options.snapToGrid:this.options.snapToGrid),t-=Math.abs(r[1])<this.options.snapToGrid/2?r[1]:r[1]-(t<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(e,t,n,i)},e.prototype.constraintToBox=function(e,t,n,i){var r,o,s=this.options.constraint||{};return void 0!==i?(r=n,o=i):(r=this.parameters.box.x+(1&n?0:this.parameters.box.width),o=this.parameters.box.y+(2&n?0:this.parameters.box.height)),void 0!==s.minX&&r+e<s.minX&&(e=s.minX-r),void 0!==s.maxX&&r+e>s.maxX&&(e=s.maxX-r),void 0!==s.minY&&o+t<s.minY&&(t=s.minY-o),void 0!==s.maxY&&o+t>s.maxY&&(t=s.maxY-o),[e,t]},e.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var n=e.slice(),i=this.parameters.box.width/this.parameters.box.height,r=this.parameters.box.width+e[0],o=this.parameters.box.height-e[1],s=r/o;return s<i?(n[1]=r/i-this.parameters.box.height,t&&(n[1]=-n[1])):s>i&&(n[0]=this.parameters.box.width-o*i,t&&(n[0]=-n[0])),n},SVG.extend(SVG.Element,{resize:function(t){return(this.remember("_resizeHandler")||new e(this)).init(t||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}();(function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}})('.apexcharts-canvas {\n position: relative;\n user-select: none;\n /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px;\n}\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0,0,0,.5);\n box-shadow: 0 0 1px rgba(255,255,255,.5);\n -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);\n}\n.apexcharts-canvas.dark {\n background: #343F57;\n}\n\n.apexcharts-inner {\n position: relative;\n}\n\n.legend-mouseover-inactive {\n transition: 0.15s ease all;\n opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0;\n}\n\n.apexcharts-gridline, .apexcharts-text {\n pointer-events: none;\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: 0.15s ease all;\n}\n.apexcharts-tooltip.light {\n border: 1px solid #e3e3e3;\n background: rgba(255, 255, 255, 0.96);\n}\n.apexcharts-tooltip.dark {\n color: #fff;\n background: rgba(30,30,30, 0.8);\n}\n.apexcharts-tooltip * {\n font-family: inherit;\n}\n\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line {\n pointer-events: none;\n}\n\n.apexcharts-tooltip.active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px;\n}\n.apexcharts-tooltip.light .apexcharts-tooltip-title {\n background: #ECEFF1;\n border-bottom: 1px solid #ddd;\n}\n.apexcharts-tooltip.dark .apexcharts-tooltip-title {\n background: rgba(0, 0, 0, 0.7);\n border-bottom: 1px solid #333;\n}\n\n.apexcharts-tooltip-text-value,\n.apexcharts-tooltip-text-z-value {\n display: inline-block;\n font-weight: 600;\n margin-left: 5px;\n}\n\n.apexcharts-tooltip-text-z-label:empty,\n.apexcharts-tooltip-text-z-value:empty {\n display: none;\n}\n\n.apexcharts-tooltip-text-value, \n.apexcharts-tooltip-text-z-value {\n font-weight: 600;\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0px;\n margin-right: 10px;\n border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center;\n}\n\n.apexcharts-tooltip-series-group.active .apexcharts-tooltip-marker {\n opacity: 1;\n}\n.apexcharts-tooltip-series-group.active, .apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px;\n}\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0 !important;\n}\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px;\n}\n.apexcharts-tooltip-candlestick {\n padding: 4px 8px;\n}\n.apexcharts-tooltip-candlestick > div {\n margin: 4px 0;\n}\n.apexcharts-tooltip-candlestick span.value {\n font-weight: bold;\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px;\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777;\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: bold;\n display: block;\n margin-bottom: 5px;\n}\n\n.apexcharts-xaxistooltip {\n opacity: 0;\n padding: 9px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n\tbackground: #ECEFF1;\n border: 1px solid #90A4AE;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip.dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-xaxistooltip:after, .apexcharts-xaxistooltip:before {\n\tleft: 50%;\n\tborder: solid transparent;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n\tborder-color: rgba(236, 239, 241, 0);\n\tborder-width: 6px;\n\tmargin-left: -6px;\n}\n.apexcharts-xaxistooltip:before {\n\tborder-color: rgba(144, 164, 174, 0);\n\tborder-width: 7px;\n\tmargin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after, .apexcharts-xaxistooltip-bottom:before {\n bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-top:after, .apexcharts-xaxistooltip-top:before {\n top: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #ECEFF1;\n}\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-bottom.dark:after {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n.apexcharts-xaxistooltip-bottom.dark:before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color:#ECEFF1\n}\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90A4AE;\n}\n.apexcharts-xaxistooltip-top.dark:after {\n border-top-color:rgba(0, 0, 0, 0.5);\n}\n.apexcharts-xaxistooltip-top.dark:before {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n\n.apexcharts-xaxistooltip.active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n opacity: 0;\n padding: 4px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n\tbackground: #ECEFF1;\n border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip.dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-yaxistooltip:after, .apexcharts-yaxistooltip:before {\n\ttop: 50%;\n\tborder: solid transparent;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n.apexcharts-yaxistooltip:after {\n\tborder-color: rgba(236, 239, 241, 0);\n\tborder-width: 6px;\n\tmargin-top: -6px;\n}\n.apexcharts-yaxistooltip:before {\n\tborder-color: rgba(144, 164, 174, 0);\n\tborder-width: 7px;\n\tmargin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after, .apexcharts-yaxistooltip-left:before {\n left: 100%;\n}\n\n.apexcharts-yaxistooltip-right:after, .apexcharts-yaxistooltip-right:before {\n right: 100%;\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #ECEFF1;\n}\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90A4AE;\n}\n.apexcharts-yaxistooltip-left.dark:after {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n.apexcharts-yaxistooltip-left.dark:before {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #ECEFF1;\n}\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90A4AE;\n}\n.apexcharts-yaxistooltip-right.dark:after {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n.apexcharts-yaxistooltip-right.dark:before {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip.active {\n opacity: 1;\n}\n.apexcharts-yaxistooltip-hidden {\n display: none;\n}\n\n.apexcharts-xcrosshairs, .apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.active, .apexcharts-ycrosshairs.active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0;\n}\n\n.apexcharts-zoom-rect {\n pointer-events: none;\n}\n.apexcharts-selection-rect {\n cursor: move;\n}\n\n.svg_select_points, .svg_select_points_rot {\n opacity: 0;\n visibility: hidden;\n}\n.svg_select_points_l, .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible;\n fill: #888;\n}\n.apexcharts-canvas.zoomable .hovering-zoom {\n cursor: crosshair\n}\n.apexcharts-canvas.zoomable .hovering-pan {\n cursor: move\n}\n\n.apexcharts-xaxis,\n.apexcharts-yaxis {\n pointer-events: none;\n}\n\n.apexcharts-zoom-icon, \n.apexcharts-zoom-in-icon,\n.apexcharts-zoom-out-icon,\n.apexcharts-reset-zoom-icon, \n.apexcharts-pan-icon, \n.apexcharts-selection-icon,\n.apexcharts-menu-icon, \n.apexcharts-toolbar-custom-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6E8192;\n text-align: center;\n}\n\n\n.apexcharts-zoom-icon svg, \n.apexcharts-zoom-in-icon svg,\n.apexcharts-zoom-out-icon svg,\n.apexcharts-reset-zoom-icon svg,\n.apexcharts-menu-icon svg {\n fill: #6E8192;\n}\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(0.76)\n}\n\n.dark .apexcharts-zoom-icon svg, \n.dark .apexcharts-zoom-in-icon svg,\n.dark .apexcharts-zoom-out-icon svg,\n.dark .apexcharts-reset-zoom-icon svg, \n.dark .apexcharts-pan-icon svg, \n.dark .apexcharts-selection-icon svg,\n.dark .apexcharts-menu-icon svg, \n.dark .apexcharts-toolbar-custom-icon svg{\n fill: #f3f4f5;\n}\n\n.apexcharts-canvas .apexcharts-zoom-icon.selected svg, \n.apexcharts-canvas .apexcharts-selection-icon.selected svg, \n.apexcharts-canvas .apexcharts-reset-zoom-icon.selected svg {\n fill: #008FFB;\n}\n.light .apexcharts-selection-icon:not(.selected):hover svg,\n.light .apexcharts-zoom-icon:not(.selected):hover svg, \n.light .apexcharts-zoom-in-icon:hover svg, \n.light .apexcharts-zoom-out-icon:hover svg, \n.light .apexcharts-reset-zoom-icon:hover svg, \n.light .apexcharts-menu-icon:hover svg {\n fill: #333;\n}\n\n.apexcharts-selection-icon, .apexcharts-menu-icon {\n position: relative;\n}\n.apexcharts-reset-zoom-icon {\n margin-left: 5px;\n}\n.apexcharts-zoom-icon, .apexcharts-reset-zoom-icon, .apexcharts-menu-icon {\n transform: scale(0.85);\n}\n\n.apexcharts-zoom-in-icon, .apexcharts-zoom-out-icon {\n transform: scale(0.7)\n}\n\n.apexcharts-zoom-out-icon {\n margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n transform: scale(0.62);\n position: relative;\n left: 1px;\n top: 0px;\n}\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6E8192;\n stroke-width: 2;\n}\n.apexcharts-pan-icon.selected svg {\n stroke: #008FFB;\n}\n.apexcharts-pan-icon:not(.selected):hover svg {\n stroke: #333;\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n top: 0px;\n right: 3px;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0px 6px 2px 6px;\n display: flex;\n justify-content: space-between;\n align-items: center; \n}\n\n.apexcharts-toolbar svg {\n pointer-events: none;\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: 0.15s ease all;\n pointer-events: none;\n}\n\n.apexcharts-menu.open {\n opacity: 1;\n pointer-events: all;\n transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer;\n}\n.light .apexcharts-menu-item:hover {\n background: #eee;\n}\n.dark .apexcharts-menu {\n background: rgba(0, 0, 0, 0.7);\n color: #fff;\n}\n\n@media screen and (min-width: 768px) {\n .apexcharts-toolbar {\n /*opacity: 0;*/\n }\n\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1;\n } \n}\n\n.apexcharts-datalabel.hidden {\n opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabel, .apexcharts-datalabel-label, .apexcharts-datalabel-value {\n cursor: default;\n pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease;\n}\n\n.apexcharts-canvas .hidden {\n opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n opacity: 0;\n}\n\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, .apexcharts-radar-series path, .apexcharts-radar-series polygon {\n pointer-events: none;\n}\n\n/* markers */\n\n.apexcharts-marker {\n transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}'),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){if("Element"in e){var t=e.Element.prototype,n=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},r=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new o("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new o("INVALID_CHARACTER_ERR","The token must not contain space characters.");return r.call(e,t)},a=function(e){for(var t=i.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,o=n.length;r<o;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},l=a.prototype=[],c=function(){return new a(this)};if(o.prototype=Error.prototype,l.item=function(e){return this[e]||null},l.contains=function(e){return~s(this,e+"")},l.add=function(){var e,t=arguments,n=0,i=t.length,r=!1;do{e=t[n]+"",~s(this,e)||(this.push(e),r=!0)}while(++n<i);r&&this._updateClassName()},l.remove=function(){var e,t,n=arguments,i=0,r=n.length,o=!1;do{for(e=n[i]+"",t=s(this,e);~t;)this.splice(t,1),o=!0,t=s(this,e)}while(++i<r);o&&this._updateClassName()},l.toggle=function(e,t){var n=this.contains(e),i=n?!0!==t&&"remove":!1!==t&&"add";return i&&this[i](e),!0===t||!1===t?t:!n},l.replace=function(e,t){var n=s(e+"");~n&&(this.splice(n,1,t),this._updateClassName())},l.toString=function(){return this.join(" ")},n.defineProperty){var u={get:c,enumerable:!0,configurable:!0};try{n.defineProperty(t,"classList",u)}catch(e){void 0!==e.number&&-2146823252!==e.number||(u.enumerable=!1,n.defineProperty(t,"classList",u))}}else n.prototype.__defineGetter__&&t.__defineGetter__("classList",c)}}(self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,i=arguments.length;for(n=0;n<i;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(" "),i=n.indexOf(e+"");~i&&(n=n.slice(i),this.remove.apply(this,n),this.add(t),this.add.apply(this,n.slice(1)))}),e=null}()),function(){var e=!1;function t(e){var t=e.__resizeTriggers__,n=t.firstElementChild,i=t.lastElementChild,r=n.firstElementChild;i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,r.style.width=n.offsetWidth+1+"px",r.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight}function n(e){var n=this;t(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=o(function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach(function(t){t.call(e)}))})}var i,r,o=(i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},function(e){return i(e)}),s=(r=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(e){return r(e)}),a=!1,l="",c="animationstart",u="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(a=!0),!1===a)for(var f=0;f<u.length;f++)if(void 0!==h.style[u[f]+"AnimationName"]){l="-"+u[f].toLowerCase()+"-",c=d[f];break}var p="@"+l+"keyframes resizeanim { from { opacity: 0; } to { opacity: 0; } } ",m=l+"animation: 1ms resizeanim; ";window.addResizeListener=function(i,r){i.__resizeTriggers__||("static"==getComputedStyle(i).position&&(i.style.position="relative"),function(){if(!e){var t=(p||"")+".resize-triggers { "+(m||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t)),n.appendChild(i),e=!0}}(),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=document.createElement("div")).className="resize-triggers",i.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',i.appendChild(i.__resizeTriggers__),t(i),i.addEventListener("scroll",n,!0),c&&i.__resizeTriggers__.addEventListener(c,function(e){"resizeanim"==e.animationName&&t(i)})),i.__resizeListeners__.push(r)},window.removeResizeListener=function(e,t){e&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",n),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))}}(),window.Apex={};var we=function(){function e(t,n){o(this,e),this.opts=n,this.ctx=this,this.w=new M(n).init(),this.el=t,this.w.globals.cuid=(Math.random()+1).toString(36).substring(4),this.w.globals.chartID=this.w.config.chart.id?this.w.config.chart.id:this.w.globals.cuid,this.eventList=["mousedown","mousemove","touchstart","touchmove","mouseup","touchend"],this.initModules(),this.create=p.bind(this.create,this),this.documentEvent=p.bind(this.documentEvent,this),this.windowResizeHandler=this.windowResize.bind(this)}return a(e,[{key:"render",value:function(){var e=this;return new ee(function(t,n){if(null!==e.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var i=e.w.config.chart.events.beforeMount;"function"==typeof i&&i(e,e.w),e.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),window.addResizeListener(e.el.parentNode,e.parentResizeCallback.bind(e));var r=e.create(e.w.config.series,{});if(!r)return t(e);e.mount(r).then(function(){t(r),"function"==typeof e.w.config.chart.events.mounted&&e.w.config.chart.events.mounted(e,e.w),e.fireEvent("mounted",[e,e.w])}).catch(function(e){n(e)})}else n(new Error("Element not found"))})}},{key:"initModules",value:function(){this.animations=new g(this),this.core=new K(this.el,this),this.grid=new le(this),this.coreUtils=new A(this),this.config=new C({}),this.crosshairs=new O(this),this.options=new b,this.responsive=new ce(this),this.series=new W(this),this.theme=new ue(this),this.formatters=new B(this),this.titleSubtitle=new _e(this),this.legend=new G(this),this.toolbar=new ye(this),this.dimensions=new $(this),this.zoomPanSelection=new be(this),this.w.globals.tooltip=new ve(this)}},{key:"addEventListener",value:function(e,t){var n=this.w;n.globals.events.hasOwnProperty(e)?n.globals.events[e].push(t):n.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){var i=n.globals.events[e].indexOf(t);-1!==i&&n.globals.events[e].splice(i,1)}}},{key:"fireEvent",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var i=n.globals.events[e],r=i.length,o=0;o<r;o++)i[o].apply(null,t)}}},{key:"create",value:function(e,t){var n=this.w;this.initModules();var i=this.w.globals;if(i.noData=!1,i.animationEnded=!1,this.responsive.checkResponsiveConfig(t),null===this.el)return i.animationEnded=!0,null;if(this.core.setupElements(),0===i.svgWidth)return i.animationEnded=!0,null;var r=A.checkComboSeries(e);i.comboCharts=r.comboCharts,i.comboChartsHasBars=r.comboChartsHasBars,(0===e.length||1===e.length&&e[0].data&&0===e[0].data.length)&&this.series.handleNoData(),this.setupEventHandlers(),this.core.parseData(e),this.theme.init(),new L(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),n.globals.noData||this.legend.init(),this.series.hasAllSeriesEqualX(),i.axisCharts&&(this.core.coreCalculations(),"category"!==n.config.xaxis.type&&this.formatters.setLabelFormatters()),this.formatters.heatmapLabelFormatters(),this.dimensions.plotCoords();var o=this.core.xySettings();this.grid.createGridMask();var s=this.core.plotChartType(e,o);this.core.shiftGraphPosition();var a={plot:{left:n.globals.translateX,top:n.globals.translateY,width:n.globals.gridWidth,height:n.globals.gridHeight}};return{elGraph:s,xyRatios:o,elInner:n.globals.dom.elGraphical,dimensions:a}}},{key:"mount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,n=t.w;return new ee(function(i,r){if(null===t.el)return r(new Error("Not enough data to display or target element not found"));if((null===e||n.globals.allSeriesCollapsed)&&t.series.handleNoData(),t.annotations=new _(t),t.core.drawAxis(n.config.chart.type,e.xyRatios),t.grid=new le(t),"back"===n.config.grid.position&&t.grid.drawGrid(),"back"===n.config.annotations.position&&t.annotations.drawAnnotations(),e.elGraph instanceof Array)for(var o=0;o<e.elGraph.length;o++)n.globals.dom.elGraphical.add(e.elGraph[o]);else n.globals.dom.elGraphical.add(e.elGraph);if("front"===n.config.grid.position&&t.grid.drawGrid(),"front"===n.config.xaxis.crosshairs.position&&t.crosshairs.drawXCrosshairs(),"front"===n.config.yaxis[0].crosshairs.position&&t.crosshairs.drawYCrosshairs(),"front"===n.config.annotations.position&&t.annotations.drawAnnotations(),!n.globals.noData){if(n.config.tooltip.enabled&&!n.globals.noData&&t.w.globals.tooltip.drawTooltip(e.xyRatios),n.globals.axisCharts&&n.globals.isXNumeric)(n.config.chart.zoom.enabled||n.config.chart.selection&&n.config.chart.selection.enabled||n.config.chart.pan&&n.config.chart.pan.enabled)&&t.zoomPanSelection.init({xyRatios:e.xyRatios});else{var s=n.config.chart.toolbar.tools;s.zoom=!1,s.zoomin=!1,s.zoomout=!1,s.selection=!1,s.pan=!1,s.reset=!1}n.config.chart.toolbar.show&&!n.globals.allSeriesCollapsed&&t.toolbar.createToolbar()}n.globals.memory.methodsToExec.length>0&&n.globals.memory.methodsToExec.forEach(function(e){e.method(e.params,!1,e.context)}),n.globals.axisCharts||n.globals.noData||t.core.resizeNonAxisCharts(),i(t)})}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1,e.globals.collapsedSeries=[],e.globals.collapsedSeriesIndices=[]}},{key:"updateOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.w;return e.series&&(this.resetSeries(!1),e.series.length&&e.series[0].data&&(e.series=e.series.map(function(e,t){return c({},o.config.series[t],{name:e.name?e.name:o.config.series[t]&&o.config.series[t].name,type:e.type?e.type:o.config.series[t]&&o.config.series[t].type,data:e.data?e.data:o.config.series[t]&&o.config.series[t].data})})),this.revertDefaultAxisMinMax()),e.xaxis&&((e.xaxis.min||e.xaxis.max)&&this.forceXAxisUpdate(e),e.xaxis.categories&&e.xaxis.categories.length&&o.config.xaxis.convertedCatToNumeric&&(e=x.convertCatToNumeric(e))),o.globals.collapsedSeriesIndices.length>0&&this.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this._updateOptions(e,t,n,i,r)}},{key:"_updateOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=[this];i&&(s=this.getSyncedCharts()),this.w.globals.isExecCalled&&(s=[this],this.w.globals.isExecCalled=!1),s.forEach(function(i){var s=i.w;return s.globals.shouldAnimate=n,t||(s.globals.resized=!0,s.globals.dataChanged=!0,n&&i.series.getPreviousPaths()),e&&"object"===r(e)&&(i.config=new C(e),e=A.extendArrayProps(i.config,e),s.config=p.extend(s.config,e),o&&(s.globals.lastXAxis=[],s.globals.lastYAxis=[],s.globals.initialConfig=p.extend({},s.config),s.globals.initialSeries=JSON.parse(JSON.stringify(s.config.series)))),i.update(e)})}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.resetSeries(!1),this.revertDefaultAxisMinMax(),this._updateSeries(e,t,n)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.w.config.series.slice();return i.push(e),this.resetSeries(!1),this.revertDefaultAxisMinMax(),this._updateSeries(i,t,n)}},{key:"_updateSeries",value:function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.w;return this.w.globals.shouldAnimate=t,r.globals.dataChanged=!0,r.globals.allSeriesCollapsed&&(r.globals.allSeriesCollapsed=!1),t&&this.series.getPreviousPaths(),r.globals.axisCharts?(0===(n=e.map(function(e,t){return c({},r.config.series[t],{name:e.name?e.name:r.config.series[t]&&r.config.series[t].name,type:e.type?e.type:r.config.series[t]&&r.config.series[t].type,data:e.data?e.data:r.config.series[t]&&r.config.series[t].data})})).length&&(n=[{data:[]}]),r.config.series=n):r.config.series=e.slice(),i&&(r.globals.initialConfig.series=JSON.parse(JSON.stringify(r.config.series)),r.globals.initialSeries=JSON.parse(JSON.stringify(r.config.series))),this.update()}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach(function(e){t.push(e)})),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter(function(e){if(e.group)return!0}).map(function(t){return e.w.config.chart.group===t.group?t.chart:e})}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this;n.w.globals.dataChanged=!0,n.series.getPreviousPaths();for(var i=n.w.config.series.slice(),r=0;r<i.length;r++)if(void 0!==e[r])for(var o=0;o<e[r].data.length;o++)i[r].data.push(e[r].data[o]);return n.w.config.series=i,t&&(n.w.globals.initialSeries=JSON.parse(JSON.stringify(n.w.config.series))),this.update()}},{key:"update",value:function(e){var t=this;return new ee(function(n,i){t.clear();var r=t.create(t.w.config.series,e);if(!r)return n(t);t.mount(r).then(function(){"function"==typeof t.w.config.chart.events.updated&&t.w.config.chart.events.updated(t,t.w),t.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,n(t)}).catch(function(e){i(e)})})}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;void 0!==e.xaxis.min&&(t.config.xaxis.min=e.xaxis.min,t.globals.lastXAxis.min=e.xaxis.min),void 0!==e.xaxis.max&&(t.config.xaxis.max=e.xaxis.max,t.globals.lastXAxis.max=e.xaxis.max)}},{key:"revertDefaultAxisMinMax",value:function(){var e=this.w;e.config.xaxis.min=e.globals.lastXAxis.min,e.config.xaxis.max=e.globals.lastXAxis.max,e.config.yaxis.map(function(t,n){e.globals.zoomed&&void 0!==e.globals.lastYAxis[n]&&(t.min=e.globals.lastYAxis[n].min,t.max=e.globals.lastYAxis[n].max)})}},{key:"clear",value:function(){this.zoomPanSelection&&this.zoomPanSelection.destroy(),this.toolbar&&this.toolbar.destroy(),this.animations=null,this.annotations=null,this.core=null,this.grid=null,this.series=null,this.responsive=null,this.theme=null,this.formatters=null,this.titleSubtitle=null,this.legend=null,this.dimensions=null,this.options=null,this.crosshairs=null,this.zoomPanSelection=null,this.toolbar=null,this.w.globals.tooltip=null,this.clearDomElements()}},{key:"killSVG",value:function(e){return new ee(function(t,n){e.each(function(e,t){this.removeClass("*"),this.off(),this.stop()},!0),e.ungroup(),e.clear(),t("done")})}},{key:"clearDomElements",value:function(){var e=this;this.eventList.forEach(function(t){document.removeEventListener(t,e.documentEvent)});var t=this.w.globals.dom;if(null!==this.el)for(;this.el.firstChild;)this.el.removeChild(this.el.firstChild);this.killSVG(t.Paper),t.Paper.remove(),t.elWrap=null,t.elGraphical=null,t.elLegendWrap=null,t.baseEl=null,t.elGridRect=null,t.elGridRectMask=null,t.elGridRectMarkerMask=null,t.elDefs=null}},{key:"destroy",value:function(){this.clear();var e=this.w.config.chart.id;e&&Apex._chartInstances.forEach(function(t,n){t.id===e&&Apex._chartInstances.splice(n,1)}),window.removeEventListener("resize",this.windowResizeHandler),window.removeResizeListener(this.el.parentNode,this.parentResizeCallback.bind(this))}},{key:"toggleSeries",value:function(e){var t=this.series.getSeriesByName(e),n=parseInt(t.getAttribute("data:realIndex")),i=t.classList.contains("apexcharts-series-collapsed");this.legend.toggleDataSeries(n,i)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.series.resetSeries(e)}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,n=this,i=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.eventListHandlers=[],this.eventList.forEach(function(e){i.addEventListener(e,function(e){var i=Object.assign({},t,{seriesIndex:t.globals.capturedSeriesIndex,dataPointIndex:t.globals.capturedDataPointIndex});"mousemove"===e.type||"touchmove"===e.type?"function"==typeof t.config.chart.events.mouseMove&&t.config.chart.events.mouseMove(e,n,i):("mouseup"===e.type&&1===e.which||"touchend"===e.type)&&("function"==typeof t.config.chart.events.click&&t.config.chart.events.click(e,n,i),n.fireEvent("click",[e,n,i]))},{capture:!1,passive:!0})}),this.eventList.forEach(function(t){document.addEventListener(t,e.documentEvent)}),this.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w;t.globals.clientX="touchmove"===e.type?e.touches[0].clientX:e.clientX,t.globals.clientY="touchmove"===e.type?e.touches[0].clientY:e.clientY}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addXaxisAnnotationExternal(e,t,i)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addYaxisAnnotationExternal(e,t,i)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addPointAnnotationExternal(e,t,i)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"addText",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addText(e,t,i)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new X(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new X(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"setLocale",value:function(e){this.setCurrentLocaleValues(e)}},{key:"toggleDataPointSelection",value:function(e,t){var n=this.w,i=null;return n.globals.axisCharts?i=n.globals.dom.Paper.select(".apexcharts-series[data\\:realIndex='".concat(e,"'] path[j='").concat(t,"'], .apexcharts-series[data\\:realIndex='").concat(e,"'] circle[j='").concat(t,"'], .apexcharts-series[data\\:realIndex='").concat(e,"'] rect[j='").concat(t,"']")).members[0]:(i=n.globals.dom.Paper.select(".apexcharts-series[data\\:realIndex='".concat(e,"']")).members[0],("pie"===n.config.chart.type||"donut"===n.config.chart.type)&&new N(this.ctx).pieClicked(e)),i?new v(this.ctx).pathMouseDown(i,null):console.warn("toggleDataPointSelection: Element not found"),i.node?i.node:null}},{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var n=t.filter(function(t){return t.name===e})[0];if(!n)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var i=p.extend(y,n);this.w.globals.locale=i.options}},{key:"dataURI",value:function(){return new ae(this.ctx).dataURI()}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.windowResize()}},{key:"windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.update()},150)}}],[{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),n=0;n<t.length;n++)new e(t[n],JSON.parse(t[n].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var n=this.getChartByID(e);if(n){n.w.globals.isExecCalled=!0;for(var i=arguments.length,r=new Array(i>2?i-2:0),o=2;o<i;o++)r[o-2]=arguments[o];switch(t){case"updateOptions":return n.updateOptions.apply(n,r);case"updateSeries":return n.updateSeries.apply(n,r);case"appendData":return n.appendData.apply(n,r);case"appendSeries":return n.appendSeries.apply(n,r);case"toggleSeries":return n.toggleSeries.apply(n,r);case"resetSeries":return n.resetSeries.apply(n,r);case"toggleDataPointSelection":return n.toggleDataPointSelection.apply(n,r);case"dataURI":return n.dataURI.apply(n,r);case"addXaxisAnnotation":return n.addXaxisAnnotation.apply(n,r);case"addYaxisAnnotation":return n.addYaxisAnnotation.apply(n,r);case"addPointAnnotation":return n.addPointAnnotation.apply(n,r);case"addText":return n.addText.apply(n,r);case"clearAnnotations":return n.clearAnnotations.apply(n,r);case"paper":return n.paper.apply(n,r);case"destroy":return n.destroy()}}}},{key:"merge",value:function(e,t){return p.extend(e,t)}},{key:"getChartByID",value:function(e){return Apex._chartInstances.filter(function(t){return t.id===e})[0].chart}}]),e}();t.default=we}.call(this,n(24).setImmediate,n(68)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(0))},,,,function(e,t){e.exports=function(){function e(e,t,n){var i=this.options.cookieDomain(),r=e+"="+t+"; Expires="+new Date((new Date).getTime()+n).toUTCString()+";";"localhost"!==i&&(r+=" Path=/; Domain="+i+";"),document.cookie=r}return{remember:function(t){e.call(this,"rememberMe",!0===t?"true":"false",!0===t?12096e5:void 0)},set:function(t,n,i){n&&e.call(this,t,n,12096e5)},get:function(e){var t,n,i=document.cookie;for(t=0,n=(i=i.replace(/;\s+/g,";").split(";").map(function(e){return e.replace(/\s+\=\s+/g,"=").split("=")})).length;t<n;t++)if(i[t][0]&&i[t][0]===e)return i[t][1];return null},exists:function(e){return document.cookie.match(/rememberMe/)},remove:function(t){e.call(this,t,"",-12096e5)}}}()},function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,s){var a=i(t),l=r[e][i(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,o,s){var a=n(t),l=i[e][n(t)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(i=+e,r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function s(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?r+(o(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(o(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(o(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(o(e)?"dny":"dní"):r+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?r+(o(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(o(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,o){var s="";switch(r){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":s=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":s=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":s=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":s=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":s=o?"vuoden":"vuotta"}return s=function(e,i){return e<10?i?n[e]:t[e]:e}(e,o)+" "+s}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var o=e+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||r?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||r?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(r?"daga":"dögum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(r?"mánuði":"mánuðum"):n?o+"mánuður":o+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?o+(n||r?"ár":"árum"):o+(n||r?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function o(e,t,o,s){var a=e+" ";return 1===e?a+n(0,t,o[0],s):t?a+(i(e)?r(o)[1]:r(o)[0]):s?a+r(o)[1]:a+(i(e)?r(o)[1]:r(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(i(e)?"godziny":"godzin");case"MM":return r+(i(e)?"miesiące":"miesięcy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"минута":"минуту":e+" "+(i=+e,r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?o+(i(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?o+(i(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?o+(i(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?o+(i(e)?"dni":"dní"):o+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?o+(i(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?o+(i(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var o=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+t[i]+"maH"),r>0&&(o+=(""!==o?" ":"")+t[r]),""===o?"pagh":o}(e);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i?r[n][0]:t?r[n][0]:r[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(i=+e,r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(0))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(0))},,,,,,,function(e,t,n){var i;"undefined"!=typeof self&&self,i=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"004e":function(e,t,n){var i=n("76e9"),r=n("8d20"),o=n("cd9d");e.exports=function(e){return e&&e.length?i(e,o,r):void 0}},"00fd":function(e,t,n){var i=n("9e69"),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(e){}var r=s.call(e);return i&&(t?e[a]=n:delete e[a]),r}},"014b":function(e,t,n){"use strict";var i=n("e53d"),r=n("07e3"),o=n("8e60"),s=n("63b6"),a=n("9138"),l=n("ebfd").KEY,c=n("294c"),u=n("dbdb"),d=n("45f2"),h=n("62a0"),f=n("5168"),p=n("ccb9"),m=n("6718"),g=n("47ee"),v=n("9003"),y=n("e4ae"),b=n("f772"),_=n("241e"),w=n("36c3"),x=n("1bc3"),A=n("aebd"),C=n("a159"),k=n("0395"),M=n("bf0b"),S=n("9aa9"),L=n("d9f6"),E=n("c3a1"),D=M.f,T=L.f,I=k.f,j=i.Symbol,O=i.JSON,F=O&&O.stringify,N=f("_hidden"),Y=f("toPrimitive"),P={}.propertyIsEnumerable,R=u("symbol-registry"),B=u("symbols"),H=u("op-symbols"),z=Object.prototype,$="function"==typeof j&&!!S.f,W=i.QObject,G=!W||!W.prototype||!W.prototype.findChild,V=o&&c(function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=D(z,t);i&&delete z[t],T(e,t,n),i&&e!==z&&T(z,t,i)}:T,U=function(e){var t=B[e]=C(j.prototype);return t._k=e,t},Z=$&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},X=function(e,t,n){return e===z&&X(H,t,n),y(e),t=x(t,!0),y(n),r(B,t)?(n.enumerable?(r(e,N)&&e[N][t]&&(e[N][t]=!1),n=C(n,{enumerable:A(0,!1)})):(r(e,N)||T(e,N,A(1,{})),e[N][t]=!0),V(e,t,n)):T(e,t,n)},Q=function(e,t){y(e);for(var n,i=g(t=w(t)),r=0,o=i.length;o>r;)X(e,n=i[r++],t[n]);return e},K=function(e){var t=P.call(this,e=x(e,!0));return!(this===z&&r(B,e)&&!r(H,e))&&(!(t||!r(this,e)||!r(B,e)||r(this,N)&&this[N][e])||t)},J=function(e,t){if(e=w(e),t=x(t,!0),e!==z||!r(B,t)||r(H,t)){var n=D(e,t);return!n||!r(B,t)||r(e,N)&&e[N][t]||(n.enumerable=!0),n}},q=function(e){for(var t,n=I(w(e)),i=[],o=0;n.length>o;)r(B,t=n[o++])||t==N||t==l||i.push(t);return i},ee=function(e){for(var t,n=e===z,i=I(n?H:w(e)),o=[],s=0;i.length>s;)!r(B,t=i[s++])||n&&!r(z,t)||o.push(B[t]);return o};$||(a((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(H,n),r(this,N)&&r(this[N],e)&&(this[N][e]=!1),V(this,e,A(1,n))};return o&&G&&V(z,e,{configurable:!0,set:t}),U(e)}).prototype,"toString",function(){return this._k}),M.f=J,L.f=X,n("6abf").f=k.f=q,n("355d").f=K,S.f=ee,o&&!n("b8e3")&&a(z,"propertyIsEnumerable",K,!0),p.f=function(e){return U(f(e))}),s(s.G+s.W+s.F*!$,{Symbol:j});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var ie=E(f.store),re=0;ie.length>re;)m(ie[re++]);s(s.S+s.F*!$,"Symbol",{for:function(e){return r(R,e+="")?R[e]:R[e]=j(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),s(s.S+s.F*!$,"Object",{create:function(e,t){return void 0===t?C(e):Q(C(e),t)},defineProperty:X,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:q,getOwnPropertySymbols:ee});var oe=c(function(){S.f(1)});s(s.S+s.F*oe,"Object",{getOwnPropertySymbols:function(e){return S.f(_(e))}}),O&&s(s.S+s.F*(!$||c(function(){var e=j();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!Z(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Z(t))return t}),i[1]=t,F.apply(O,i)}}),j.prototype[Y]||n("35e8")(j.prototype,Y,j.prototype.valueOf),d(j,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"01ce":function(e,t,n){e.exports={Graph:n("9671"),version:n("c3cd")}},"01eb":function(e,t,n){var i=n("33de");function r(){this._arr=[],this._keyIndices={}}e.exports=r,r.prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map(function(e){return e.key})},r.prototype.has=function(e){return i.has(this._keyIndices,e)},r.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},r.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!i.has(n,e)){var r=this._arr,o=r.length;return n[e]=o,r.push({key:e,priority:t}),this._decrease(o),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},r.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},r.prototype._heapify=function(e){var t=this._arr,n=2*e,i=n+1,r=e;n<t.length&&(r=t[n].priority<t[r].priority?n:r,i<t.length&&(r=t[i].priority<t[r].priority?i:r),r!==e&&(this._swap(e,r),this._heapify(r)))},r.prototype._decrease=function(e){for(var t,n=this._arr,i=n[e].priority;0!==e&&!(n[t=e>>1].priority<i);)this._swap(e,t),e=t},r.prototype._swap=function(e,t){var n=this._arr,i=this._keyIndices,r=n[e],o=n[t];n[e]=o,n[t]=r,i[o.key]=e,i[r.key]=t}},"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,_,w=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A="values"==m,C=!1,k=e.prototype,M=k[d]||k["@@iterator"]||m&&k[m],S=M||w(m),L=m?A?w("entries"):S:void 0,E="Array"==t&&k.entries||M;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,x,!0),i||"function"==typeof _[d]||s(_,d,f)),A&&M&&"values"!==M.name&&(C=!0,S=function(){return M.call(this)}),i&&!v||!h&&!C&&k[d]||s(k,d,S),a[t]=S,a[x]=f,m)if(y={values:A?S:w("values"),keys:g?S:w("keys"),entries:L},v)for(b in y)b in k||o(k,b,y[b]);else r(r.P+r.F*(h||C),t,y);return y}},"0395":function(e,t,n){var i=n("36c3"),r=n("6abf").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?function(e){try{return r(e)}catch(e){return s.slice()}}(e):r(i(e))}},"03dd":function(e,t,n){var i=n("eac5"),r=n("57a5"),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},"0621":function(e,t,n){var i=n("9e69"),r=n("d370"),o=n("6747"),s=i?i.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||r(e)||!!(s&&e&&e[s])}},"0644":function(e,t,n){var i=n("3818"),r=1,o=4;e.exports=function(e){return i(e,r|o)}},"07c7":function(e,t){e.exports=function(){return!1}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"087d":function(e,t){e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},"08cc":function(e,t,n){var i=n("1a8c");e.exports=function(e){return e==e&&!i(e)}},"099a":function(e,t){e.exports=function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}},"0b07":function(e,t,n){var i=n("34ac"),r=n("3698");e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},"0b8b":function(e,t,n){"use strict";var i=n("e849").longestPath,r=n("1845"),o=n("74e8");e.exports=function(e){switch(e.graph().ranker){case"network-simplex":a(e);break;case"tight-tree":!function(e){i(e),r(e)}(e);break;case"longest-path":s(e);break;default:a(e)}};var s=i;function a(e){o(e)}},"0d24":function(e,t,n){(function(e){var i=n("2b3e"),r=n("07c7"),o=t&&!t.nodeType&&t,s=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===o?i.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l}).call(this,n("62e4")(e))},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0f0f":function(e,t,n){var i=n("8eeb"),r=n("9934");e.exports=function(e,t){return e&&i(t,r(t),e)}},"0fc9":function(e,t,n){var i=n("3a38"),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},"100e":function(e,t,n){var i=n("cd9d"),r=n("2286"),o=n("c1c9");e.exports=function(e,t){return o(r(e,t,i),e+"")}},1041:function(e,t,n){var i=n("8eeb"),r=n("a029");e.exports=function(e,t){return i(e,r(e),t)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=o(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},1290:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},1304:function(e,t,n){var i=n("cd9d");e.exports=function(e){return"function"==typeof e?e:i}},1310:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},1368:function(e,t,n){var i,r=n("da03"),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},"13ea":function(e,t,n){var i=n("03dd"),r=n("42a2"),o=n("d370"),s=n("6747"),a=n("30c9"),l=n("0d24"),c=n("eac5"),u=n("73ac"),d="[object Map]",h="[object Set]",f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=r(e);if(t==d||t==h)return!e.size;if(c(e))return!i(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,l=0;a>l;)i.f(e,n=s[l++],t[n]);return e}},"159a":function(e,t,n){var i=n("32b3"),r=n("e2e4"),o=n("c098"),s=n("1a8c"),a=n("f4d6");e.exports=function(e,t,n,l){if(!s(e))return e;for(var c=-1,u=(t=r(t,e)).length,d=u-1,h=e;null!=h&&++c<u;){var f=a(t[c]),p=n;if(c!=d){var m=h[f];void 0===(p=l?l(m,f,h):void 0)&&(p=s(m)?m:o(t[c+1])?[]:{})}i(h,f,p),h=h[f]}return e}},"15f3":function(e,t,n){var i=n("89d9"),r=n("8604");e.exports=function(e,t){return i(e,t,function(t,n){return r(e,n)})}},1654:function(e,t,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"17d5":function(e,t,n){var i;try{i=n("e008")}catch(e){}i||(i=window.graphlib),e.exports=i},1838:function(e,t,n){var i=n("c05f"),r=n("9b02"),o=n("8604"),s=n("f608"),a=n("08cc"),l=n("20ec"),c=n("f4d6"),u=1,d=2;e.exports=function(e,t){return s(e)&&a(t)?l(c(e),t):function(n){var s=r(n,e);return void 0===s&&s===t?o(n,e):i(t,s,u|d)}}},1845:function(e,t,n){"use strict";var i=n("6f9c"),r=n("17d5").Graph,o=n("e849").slack;function s(e,t){return i.forEach(e.nodes(),function n(r){i.forEach(t.nodeEdges(r),function(i){var s=i.v,a=r===s?i.w:s;e.hasNode(a)||o(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))})}),e.nodeCount()}function a(e,t){return i.minBy(t.edges(),function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return o(t,n)})}function l(e,t,n){i.forEach(e.nodes(),function(e){t.node(e).rank+=n})}e.exports=function(e){var t,n,i=new r({directed:!1}),c=e.nodes()[0],u=e.nodeCount();for(i.setNode(c,{});s(i,e)<u;)t=a(i,e),n=i.hasNode(t.v)?o(e,t):-o(e,t),l(i,e,n);return i}},"18d8":function(e,t,n){var i=n("234d"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=i(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,i,r){t.push(i?r.replace(o,"$1"):n||e)}),t});e.exports=s},"19b2":function(e,t,n){var i=n("33de"),r=n("9671");function o(e){return i.map(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),o={v:t};return i.isUndefined(n)||(o.value=n),i.isUndefined(r)||(o.parent=r),o})}function s(e){return i.map(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return i.isUndefined(t.name)||(r.name=t.name),i.isUndefined(n)||(r.value=n),r})}e.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:o(e),edges:s(e)};return i.isUndefined(e.graph())||(t.value=i.clone(e.graph())),t},read:function(e){var t=new r(e.options).setGraph(e.value);return i.each(e.nodes,function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),i.each(e.edges,function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}}},"1a2d":function(e,t,n){var i=n("42a2"),r=n("1310"),o="[object Map]";e.exports=function(e){return r(e)&&i(e)==o}},"1a8c":function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"1af6":function(e,t,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bac":function(e,t,n){var i=n("7d1f"),r=n("a029"),o=n("9934");e.exports=function(e){return i(e,o,r)}},"1bc3":function(e,t,n){var i=n("f772");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"1c3c":function(e,t,n){var i=n("9e69"),r=n("2474"),o=n("9638"),s=n("a2be"),a=n("edfa"),l=n("ac41"),c=1,u=2,d="[object Boolean]",h="[object Date]",f="[object Error]",p="[object Map]",m="[object Number]",g="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=i?i.prototype:void 0,A=x?x.valueOf:void 0;e.exports=function(e,t,n,i,x,C,k){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!C(new r(e),new r(t)));case d:case h:case m:return o(+e,+t);case f:return e.name==t.name&&e.message==t.message;case g:case y:return e==t+"";case p:var M=a;case v:var S=i&c;if(M||(M=l),e.size!=t.size&&!S)return!1;var L=k.get(e);if(L)return L==t;i|=u,k.set(e,t);var E=s(M(e),M(t),i,x,C,k);return k.delete(e),E;case b:if(A)return A.call(e)==A.call(t)}return!1}},"1cba":function(e,t,n){var i=n("4796"),r=n("9aff"),o=n("6428");e.exports=function(e){return function(t,n,s){return s&&"number"!=typeof s&&r(t,n,s)&&(n=s=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),s=void 0===s?t<n?1:-1:o(s),i(t,n,s,e)}}},"1cec":function(e,t,n){var i=n("0b07")(n("2b3e"),"Promise");e.exports=i},"1ec9":function(e,t,n){var i=n("f772"),r=n("e53d").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"1efc":function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},"1f3a":function(e,t,n){var i=n("6f9c");e.exports=function(e,t){return i.map(t,function(t){var n=e.inEdges(t);if(n.length){var r=i.reduce(n,function(t,n){var i=e.edge(n),r=e.node(n.v);return{sum:t.sum+i.weight*r.order,weight:t.weight+i.weight}},{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}return{v:t}})}},"1fc8":function(e,t,n){var i=n("4245");e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},"20ec":function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},"20fd":function(e,t,n){"use strict";var i=n("d9f6"),r=n("aebd");e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},2164:function(e,t,n){var i=n("cae7");e.exports=function(e,t,n){for(var r=-1,o=e.criteria,s=t.criteria,a=o.length,l=n.length;++r<a;){var c=i(o[r],s[r]);if(c)return r>=l?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}},"220e":function(e,t,n){var i=n("6f9c"),r=n("b50e");function o(e,t,n,i,o,s){var a={width:0,height:0,rank:s,borderType:t},l=o[t][s-1],c=r.addDummyNode(e,"border",a,n);o[t][s]=c,e.setParent(c,i),l&&e.setEdge(l,c,{weight:1})}e.exports=function(e){i.forEach(e.children(),function t(n){var r=e.children(n),s=e.node(n);if(r.length&&i.forEach(r,t),i.has(s,"minRank")){s.borderLeft=[],s.borderRight=[];for(var a=s.minRank,l=s.maxRank+1;a<l;++a)o(e,"borderLeft","_bl",n,s,a),o(e,"borderRight","_br",n,s,a)}})}},2286:function(e,t,n){var i=n("85e3"),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=r(o.length-t,0),l=Array(a);++s<a;)l[s]=o[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=o[s];return c[t]=n(l),i(e,this,c)}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},2325:function(e,t,n){"use strict";var i=n("6f9c"),r=n("b50e"),o=n("8c55").positionX;e.exports=function(e){(function(e){var t=r.buildLayerMatrix(e),n=e.graph().ranksep,o=0;i.forEach(t,function(t){var r=i.max(i.map(t,function(t){return e.node(t).height}));i.forEach(t,function(t){e.node(t).y=o+r/2}),o+=r+n})})(e=r.asNonCompoundGraph(e)),i.forEach(o(e),function(t,n){e.node(n).x=t})}},"234d":function(e,t,n){var i=n("e380"),r=500;e.exports=function(e){var t=i(e,function(e){return n.size===r&&n.clear(),e}),n=t.cache;return t}},"241e":function(e,t,n){var i=n("25eb");e.exports=function(e){return Object(i(e))}},"242e":function(e,t,n){var i=n("72af"),r=n("ec69");e.exports=function(e,t){return e&&i(e,t,r)}},2474:function(e,t,n){var i=n("2b3e").Uint8Array;e.exports=i},2478:function(e,t,n){var i=n("4245");e.exports=function(e){return i(this,e).get(e)}},"251a":function(e,t,n){var i=n("6f9c"),r=n("b50e");e.exports={run:function(e){var t=r.addDummyNode(e,"root",{},"_root"),n=function(e){var t={};return i.forEach(e.children(),function(n){!function n(r,o){var s=e.children(r);s&&s.length&&i.forEach(s,function(e){n(e,o+1)}),t[r]=o}(n,1)}),t}(e),o=i.max(i.values(n))-1,s=2*o+1;e.graph().nestingRoot=t,i.forEach(e.edges(),function(t){e.edge(t).minlen*=s});var a=function(e){return i.reduce(e.edges(),function(t,n){return t+e.edge(n).weight},0)}(e)+1;i.forEach(e.children(),function(l){!function e(t,n,o,s,a,l,c){var u=t.children(c);if(u.length){var d=r.addBorderNode(t,"_bt"),h=r.addBorderNode(t,"_bb"),f=t.node(c);t.setParent(d,c),f.borderTop=d,t.setParent(h,c),f.borderBottom=h,i.forEach(u,function(i){e(t,n,o,s,a,l,i);var r=t.node(i),u=r.borderTop?r.borderTop:i,f=r.borderBottom?r.borderBottom:i,p=r.borderTop?s:2*s,m=u!==f?1:a-l[c]+1;t.setEdge(d,u,{weight:p,minlen:m,nestingEdge:!0}),t.setEdge(f,h,{weight:p,minlen:m,nestingEdge:!0})}),t.parent(c)||t.setEdge(n,d,{weight:0,minlen:a+l[c]})}else c!==n&&t.setEdge(n,c,{weight:0,minlen:o})}(e,t,s,a,o,n,l)}),e.graph().nodeRankFactor=s},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,i.forEach(e.edges(),function(t){e.edge(t).nestingEdge&&e.removeEdge(t)})}}},2524:function(e,t,n){var i=n("6044"),r="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?r:t,this}},"253c":function(e,t,n){var i=n("3729"),r=n("1310"),o="[object Arguments]";e.exports=function(e){return r(e)&&i(e)==o}},2593:function(e,t,n){var i=n("15f3"),r=n("c6cf")(function(e,t){return null==e?{}:i(e,t)});e.exports=r},"25eb":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"266a":function(e,t,n){var i=n("7948");e.exports=function(e,t){return i(t,function(t){return e[t]})}},"268f":function(e,t,n){e.exports=n("fde4")},"26e8":function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},2769:function(e,t,n){var i=n("5ca0")(n("51f5"));e.exports=i},"28c9":function(e,t){e.exports=function(){this.__data__=[],this.size=0}},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"299f":function(e,t,n){var i=n("6f9c"),r=n("17d5").Graph,o=n("4589");e.exports=function(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new r,s=0,a=0;i.forEach(e.nodes(),function(e){n.setNode(e,{v:e,in:0,out:0})}),i.forEach(e.edges(),function(e){var i=n.edge(e.v,e.w)||0,r=t(e),o=i+r;n.setEdge(e.v,e.w,o),a=Math.max(a,n.node(e.v).out+=r),s=Math.max(s,n.node(e.w).in+=r)});var c=i.range(a+s+3).map(function(){return new o}),u=s+1;return i.forEach(n.nodes(),function(e){l(c,u,n.node(e))}),{graph:n,buckets:c,zeroIdx:u}}(e,t||s),c=function(e,t,n){for(var i,r=[],o=t[t.length-1],s=t[0];e.nodeCount();){for(;i=s.dequeue();)a(e,t,n,i);for(;i=o.dequeue();)a(e,t,n,i);if(e.nodeCount())for(var l=t.length-2;l>0;--l)if(i=t[l].dequeue()){r=r.concat(a(e,t,n,i,!0));break}}return r}(n.graph,n.buckets,n.zeroIdx);return i.flatten(i.map(c,function(t){return e.outEdges(t.v,t.w)}),!0)};var s=i.constant(1);function a(e,t,n,r,o){var s=o?[]:void 0;return i.forEach(e.inEdges(r.v),function(i){var r=e.edge(i),a=e.node(i.v);o&&s.push({v:i.v,w:i.w}),a.out-=r,l(t,n,a)}),i.forEach(e.outEdges(r.v),function(i){var r=e.edge(i),o=i.w,s=e.node(o);s.in-=r,l(t,n,s)}),e.removeNode(r.v),s}function l(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},"29f3":function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},"2a9f":function(e,t,n){"use strict";var i=n("6f9c"),r=n("e632"),o=n("d780"),s=n("38e2"),a=n("8817"),l=n("d4f3"),c=n("17d5").Graph,u=n("b50e");function d(e,t,n){return i.map(t,function(t){return a(e,t,n)})}function h(e,t){var n=new c;i.forEach(e,function(e){var r=e.graph().root,o=s(e,r,n,t);i.forEach(o.vs,function(t,n){e.node(t).order=n}),l(e,n,o.vs)})}function f(e,t){i.forEach(t,function(t){i.forEach(t,function(t,n){e.node(t).order=n})})}e.exports=function(e){var t=u.maxRank(e),n=d(e,i.range(1,t+1),"inEdges"),s=d(e,i.range(t-1,-1,-1),"outEdges"),a=r(e);f(e,a);for(var l,c=Number.POSITIVE_INFINITY,p=0,m=0;m<4;++p,++m){h(p%2?n:s,p%4>=2),a=u.buildLayerMatrix(e);var g=o(e,a);g<c&&(m=0,l=i.cloneDeep(a),c=g)}f(e,l)}},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),l=(""+a).split("toString");n("8378").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},l=function(){var e,t=n("230e")("iframe"),i=o.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=l(),void 0===t?n:r(n,t)}},"2b03":function(e,t){e.exports=function(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}},"2b3e":function(e,t,n){var i=n("585a"),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},"2c66":function(e,t,n){var i=n("d612"),r=n("8db3"),o=n("5edf"),s=n("c584"),a=n("750a"),l=n("ac41"),c=200;e.exports=function(e,t,n){var u=-1,d=r,h=e.length,f=!0,p=[],m=p;if(n)f=!1,d=o;else if(h>=c){var g=t?null:a(e);if(g)return l(g);f=!1,d=s,m=new i}else m=t?[]:p;e:for(;++u<h;){var v=e[u],y=t?t(v):v;if(v=n||0!==v?v:0,f&&y==y){for(var b=m.length;b--;)if(m[b]===y)continue e;t&&m.push(y),p.push(v)}else d(m,y,n)||(m!==p&&m.push(y),p.push(v))}return p}},"2ce7":function(e,t,n){"use strict";var i=n("577e");n.n(i).a},"2d00":function(e,t){e.exports=!1},"2d7c":function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var s=e[n];t(s,n,e)&&(o[r++]=s)}return o}},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2dcb":function(e,t,n){var i=n("91e9")(Object.getPrototypeOf,Object);e.exports=i},"2ec1":function(e,t,n){var i=n("100e"),r=n("9aff");e.exports=function(e){return i(function(t,n){var i=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&r(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++i<o;){var l=n[i];l&&e(t,l,i,s)}return t})}},"2ef0":function(e,t,n){(function(e,i){var r;(function(){var o,s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,f=2,p=4,m=1,g=2,v=1,y=2,b=4,_=8,w=16,x=32,A=64,C=128,k=256,M=512,S=30,L="...",E=800,D=16,T=1,I=2,j=1/0,O=9007199254740991,F=17976931348623157e292,N=NaN,Y=4294967295,P=Y-1,R=Y>>>1,B=[["ary",C],["bind",v],["bindKey",y],["curry",_],["curryRight",w],["flip",M],["partial",x],["partialRight",A],["rearg",k]],H="[object Arguments]",z="[object Array]",$="[object AsyncFunction]",W="[object Boolean]",G="[object Date]",V="[object DOMException]",U="[object Error]",Z="[object Function]",X="[object GeneratorFunction]",Q="[object Map]",K="[object Number]",J="[object Null]",q="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",ie="[object String]",re="[object Symbol]",oe="[object Undefined]",se="[object WeakMap]",ae="[object WeakSet]",le="[object ArrayBuffer]",ce="[object DataView]",ue="[object Float32Array]",de="[object Float64Array]",he="[object Int8Array]",fe="[object Int16Array]",pe="[object Int32Array]",me="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",ye="[object Uint32Array]",be=/\b__p \+= '';/g,_e=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,Ae=/[&<>"']/g,Ce=RegExp(xe.source),ke=RegExp(Ae.source),Me=/<%-([\s\S]+?)%>/g,Se=/<%([\s\S]+?)%>/g,Le=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/[\\^$.*+?()[\]{}|]/g,je=RegExp(Ie.source),Oe=/^\s+|\s+$/g,Fe=/^\s+/,Ne=/\s+$/,Ye=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pe=/\{\n\/\* \[wrapped with (.+)\] \*/,Re=/,? & /,Be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,ze=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$e=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Ue=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,Ke=/['\n\r\u2028\u2029\\]/g,Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",qe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+qe+"]",nt="["+Je+"]",it="\\d+",rt="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",st="[^\\ud800-\\udfff"+qe+it+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",at="\\ud83c[\\udffb-\\udfff]",lt="[^\\ud800-\\udfff]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+ot+"|"+st+")",ft="(?:"+dt+"|"+st+")",pt="(?:"+nt+"|"+at+")?",mt="[\\ufe0e\\ufe0f]?"+pt+"(?:\\u200d(?:"+[lt,ct,ut].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*",gt="(?:"+[rt,ct,ut].join("|")+")"+mt,vt="(?:"+[lt+nt+"?",nt,ct,ut,et].join("|")+")",yt=RegExp("['’]","g"),bt=RegExp(nt,"g"),_t=RegExp(at+"(?="+at+")|"+vt+mt,"g"),wt=RegExp([dt+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,dt,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,dt+ht,"$"].join("|")+")",dt+"?"+ht+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",it,gt].join("|"),"g"),xt=RegExp("[\\u200d\\ud800-\\udfff"+Je+"\\ufe0e\\ufe0f]"),At=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ct=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kt=-1,Mt={};Mt[ue]=Mt[de]=Mt[he]=Mt[fe]=Mt[pe]=Mt[me]=Mt[ge]=Mt[ve]=Mt[ye]=!0,Mt[H]=Mt[z]=Mt[le]=Mt[W]=Mt[ce]=Mt[G]=Mt[U]=Mt[Z]=Mt[Q]=Mt[K]=Mt[q]=Mt[te]=Mt[ne]=Mt[ie]=Mt[se]=!1;var St={};St[H]=St[z]=St[le]=St[ce]=St[W]=St[G]=St[ue]=St[de]=St[he]=St[fe]=St[pe]=St[Q]=St[K]=St[q]=St[te]=St[ne]=St[ie]=St[re]=St[me]=St[ge]=St[ve]=St[ye]=!0,St[U]=St[Z]=St[se]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Et=parseFloat,Dt=parseInt,Tt="object"==typeof e&&e&&e.Object===Object&&e,It="object"==typeof self&&self&&self.Object===Object&&self,jt=Tt||It||Function("return this")(),Ot=t&&!t.nodeType&&t,Ft=Ot&&"object"==typeof i&&i&&!i.nodeType&&i,Nt=Ft&&Ft.exports===Ot,Yt=Nt&&Tt.process,Pt=function(){try{var e=Ft&&Ft.require&&Ft.require("util").types;return e||Yt&&Yt.binding&&Yt.binding("util")}catch(e){}}(),Rt=Pt&&Pt.isArrayBuffer,Bt=Pt&&Pt.isDate,Ht=Pt&&Pt.isMap,zt=Pt&&Pt.isRegExp,$t=Pt&&Pt.isSet,Wt=Pt&&Pt.isTypedArray;function Gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Vt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var s=e[r];t(i,s,n(s),e)}return i}function Ut(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Zt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Xt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Qt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var s=e[n];t(s,n,e)&&(o[r++]=s)}return o}function Kt(e,t){return!(null==e||!e.length)&&ln(e,t,0)>-1}function Jt(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function qt(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function en(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function tn(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function nn(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function rn(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var on=hn("length");function sn(e,t,n){var i;return n(e,function(e,n,r){if(t(e,n,r))return i=n,!1}),i}function an(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function ln(e,t,n){return t==t?function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):an(e,un,n)}function cn(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function un(e){return e!=e}function dn(e,t){var n=null==e?0:e.length;return n?mn(e,t)/n:N}function hn(e){return function(t){return null==t?o:t[e]}}function fn(e){return function(t){return null==e?o:e[t]}}function pn(e,t,n,i,r){return r(e,function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)}),n}function mn(e,t){for(var n,i=-1,r=e.length;++i<r;){var s=t(e[i]);s!==o&&(n=n===o?s:n+s)}return n}function gn(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function vn(e){return function(t){return e(t)}}function yn(e,t){return qt(t,function(t){return e[t]})}function bn(e,t){return e.has(t)}function _n(e,t){for(var n=-1,i=e.length;++n<i&&ln(t,e[n],0)>-1;);return n}function wn(e,t){for(var n=e.length;n--&&ln(t,e[n],0)>-1;);return n}var xn=fn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),An=fn({"&":"&","<":"<",">":">",'"':""","'":"'"});function Cn(e){return"\\"+Lt[e]}function kn(e){return xt.test(e)}function Mn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function Sn(e,t){return function(n){return e(t(n))}}function Ln(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var s=e[n];s!==t&&s!==d||(e[n]=d,o[r++]=n)}return o}function En(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Dn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Tn(e){return kn(e)?function(e){for(var t=_t.lastIndex=0;_t.test(e);)++t;return t}(e):on(e)}function In(e){return kn(e)?function(e){return e.match(_t)||[]}(e):function(e){return e.split("")}(e)}var jn=fn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),On=function e(t){var n,i=(t=null==t?jt:On.defaults(jt.Object(),t,On.pick(jt,Ct))).Array,r=t.Date,Je=t.Error,qe=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,it=t.String,rt=t.TypeError,ot=i.prototype,st=qe.prototype,at=tt.prototype,lt=t["__core-js_shared__"],ct=st.toString,ut=at.hasOwnProperty,dt=0,ht=(n=/[^.]+$/.exec(lt&<.keys&<.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ft=at.toString,pt=ct.call(tt),mt=jt._,gt=nt("^"+ct.call(ut).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Nt?t.Buffer:o,_t=t.Symbol,xt=t.Uint8Array,Lt=vt?vt.allocUnsafe:o,Tt=Sn(tt.getPrototypeOf,tt),It=tt.create,Ot=at.propertyIsEnumerable,Ft=ot.splice,Yt=_t?_t.isConcatSpreadable:o,Pt=_t?_t.iterator:o,on=_t?_t.toStringTag:o,fn=function(){try{var e=Ro(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Fn=t.clearTimeout!==jt.clearTimeout&&t.clearTimeout,Nn=r&&r.now!==jt.Date.now&&r.now,Yn=t.setTimeout!==jt.setTimeout&&t.setTimeout,Pn=et.ceil,Rn=et.floor,Bn=tt.getOwnPropertySymbols,Hn=vt?vt.isBuffer:o,zn=t.isFinite,$n=ot.join,Wn=Sn(tt.keys,tt),Gn=et.max,Vn=et.min,Un=r.now,Zn=t.parseInt,Xn=et.random,Qn=ot.reverse,Kn=Ro(t,"DataView"),Jn=Ro(t,"Map"),qn=Ro(t,"Promise"),ei=Ro(t,"Set"),ti=Ro(t,"WeakMap"),ni=Ro(tt,"create"),ii=ti&&new ti,ri={},oi=ds(Kn),si=ds(Jn),ai=ds(qn),li=ds(ei),ci=ds(ti),ui=_t?_t.prototype:o,di=ui?ui.valueOf:o,hi=ui?ui.toString:o;function fi(e){if(La(e)&&!va(e)&&!(e instanceof vi)){if(e instanceof gi)return e;if(ut.call(e,"__wrapped__"))return hs(e)}return new gi(e)}var pi=function(){function e(){}return function(t){if(!Sa(t))return{};if(It)return It(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function mi(){}function gi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function vi(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Y,this.__views__=[]}function yi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function bi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function _i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function wi(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _i;++t<n;)this.add(e[t])}function xi(e){var t=this.__data__=new bi(e);this.size=t.size}function Ai(e,t){var n=va(e),i=!n&&ga(e),r=!n&&!i&&wa(e),o=!n&&!i&&!r&&Na(e),s=n||i||r||o,a=s?gn(e.length,it):[],l=a.length;for(var c in e)!t&&!ut.call(e,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Vo(c,l))||a.push(c);return a}function Ci(e){var t=e.length;return t?e[wr(0,t-1)]:o}function ki(e,t){return ls(no(e),Oi(t,0,e.length))}function Mi(e){return ls(no(e))}function Si(e,t,n){(n===o||fa(e[t],n))&&(n!==o||t in e)||Ii(e,t,n)}function Li(e,t,n){var i=e[t];ut.call(e,t)&&fa(i,n)&&(n!==o||t in e)||Ii(e,t,n)}function Ei(e,t){for(var n=e.length;n--;)if(fa(e[n][0],t))return n;return-1}function Di(e,t,n,i){return Ri(e,function(e,r,o){t(i,e,n(e),o)}),i}function Ti(e,t){return e&&io(t,rl(t),e)}function Ii(e,t,n){"__proto__"==t&&fn?fn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ji(e,t){for(var n=-1,r=t.length,s=i(r),a=null==e;++n<r;)s[n]=a?o:qa(e,t[n]);return s}function Oi(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Fi(e,t,n,i,r,s){var a,l=t&h,c=t&f,u=t&p;if(n&&(a=r?n(e,i,r,s):n(e)),a!==o)return a;if(!Sa(e))return e;var d=va(e);if(d){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ut.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return no(e,a)}else{var m=zo(e),g=m==Z||m==X;if(wa(e))return Qr(e,l);if(m==q||m==H||g&&!r){if(a=c||g?{}:Wo(e),!l)return c?function(e,t){return io(e,Ho(e),t)}(e,function(e,t){return e&&io(t,ol(t),e)}(a,e)):function(e,t){return io(e,Bo(e),t)}(e,Ti(a,e))}else{if(!St[m])return r?e:{};a=function(e,t,n){var i,r=e.constructor;switch(t){case le:return Kr(e);case W:case G:return new r(+e);case ce:return function(e,t){var n=t?Kr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ue:case de:case he:case fe:case pe:case me:case ge:case ve:case ye:return Jr(e,n);case Q:return new r;case K:case ie:return new r(e);case te:return function(e){var t=new e.constructor(e.source,$e.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new r;case re:return i=e,di?tt(di.call(i)):{}}}(e,m,l)}}s||(s=new xi);var v=s.get(e);if(v)return v;s.set(e,a),ja(e)?e.forEach(function(i){a.add(Fi(i,t,n,i,e,s))}):Ea(e)&&e.forEach(function(i,r){a.set(r,Fi(i,t,n,r,e,s))});var y=d?o:(u?c?Io:To:c?ol:rl)(e);return Ut(y||e,function(i,r){y&&(i=e[r=i]),Li(a,r,Fi(i,t,n,r,e,s))}),a}function Ni(e,t,n){var i=n.length;if(null==e)return!i;for(e=tt(e);i--;){var r=n[i],s=t[r],a=e[r];if(a===o&&!(r in e)||!s(a))return!1}return!0}function Yi(e,t,n){if("function"!=typeof e)throw new rt(l);return rs(function(){e.apply(o,n)},t)}function Pi(e,t,n,i){var r=-1,o=Kt,a=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=qt(t,vn(n))),i?(o=Jt,a=!1):t.length>=s&&(o=bn,a=!1,t=new wi(t));e:for(;++r<l;){var d=e[r],h=null==n?d:n(d);if(d=i||0!==d?d:0,a&&h==h){for(var f=u;f--;)if(t[f]===h)continue e;c.push(d)}else o(t,h,i)||c.push(d)}return c}fi.templateSettings={escape:Me,evaluate:Se,interpolate:Le,variable:"",imports:{_:fi}},fi.prototype=mi.prototype,fi.prototype.constructor=fi,gi.prototype=pi(mi.prototype),gi.prototype.constructor=gi,vi.prototype=pi(mi.prototype),vi.prototype.constructor=vi,yi.prototype.clear=function(){this.__data__=ni?ni(null):{},this.size=0},yi.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},yi.prototype.get=function(e){var t=this.__data__;if(ni){var n=t[e];return n===c?o:n}return ut.call(t,e)?t[e]:o},yi.prototype.has=function(e){var t=this.__data__;return ni?t[e]!==o:ut.call(t,e)},yi.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ni&&t===o?c:t,this},bi.prototype.clear=function(){this.__data__=[],this.size=0},bi.prototype.delete=function(e){var t=this.__data__,n=Ei(t,e);return!(n<0||(n==t.length-1?t.pop():Ft.call(t,n,1),--this.size,0))},bi.prototype.get=function(e){var t=this.__data__,n=Ei(t,e);return n<0?o:t[n][1]},bi.prototype.has=function(e){return Ei(this.__data__,e)>-1},bi.prototype.set=function(e,t){var n=this.__data__,i=Ei(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},_i.prototype.clear=function(){this.size=0,this.__data__={hash:new yi,map:new(Jn||bi),string:new yi}},_i.prototype.delete=function(e){var t=Yo(this,e).delete(e);return this.size-=t?1:0,t},_i.prototype.get=function(e){return Yo(this,e).get(e)},_i.prototype.has=function(e){return Yo(this,e).has(e)},_i.prototype.set=function(e,t){var n=Yo(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},wi.prototype.add=wi.prototype.push=function(e){return this.__data__.set(e,c),this},wi.prototype.has=function(e){return this.__data__.has(e)},xi.prototype.clear=function(){this.__data__=new bi,this.size=0},xi.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xi.prototype.get=function(e){return this.__data__.get(e)},xi.prototype.has=function(e){return this.__data__.has(e)},xi.prototype.set=function(e,t){var n=this.__data__;if(n instanceof bi){var i=n.__data__;if(!Jn||i.length<s-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new _i(i)}return n.set(e,t),this.size=n.size,this};var Ri=so(Ui),Bi=so(Zi,!0);function Hi(e,t){var n=!0;return Ri(e,function(e,i,r){return n=!!t(e,i,r)}),n}function zi(e,t,n){for(var i=-1,r=e.length;++i<r;){var s=e[i],a=t(s);if(null!=a&&(l===o?a==a&&!Fa(a):n(a,l)))var l=a,c=s}return c}function $i(e,t){var n=[];return Ri(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function Wi(e,t,n,i,r){var o=-1,s=e.length;for(n||(n=Go),r||(r=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?Wi(a,t-1,n,i,r):en(r,a):i||(r[r.length]=a)}return r}var Gi=ao(),Vi=ao(!0);function Ui(e,t){return e&&Gi(e,t,rl)}function Zi(e,t){return e&&Vi(e,t,rl)}function Xi(e,t){return Qt(t,function(t){return Ca(e[t])})}function Qi(e,t){for(var n=0,i=(t=Vr(t,e)).length;null!=e&&n<i;)e=e[us(t[n++])];return n&&n==i?e:o}function Ki(e,t,n){var i=t(e);return va(e)?i:en(i,n(e))}function Ji(e){return null==e?e===o?oe:J:on&&on in tt(e)?function(e){var t=ut.call(e,on),n=e[on];try{e[on]=o;var i=!0}catch(e){}var r=ft.call(e);return i&&(t?e[on]=n:delete e[on]),r}(e):function(e){return ft.call(e)}(e)}function qi(e,t){return e>t}function er(e,t){return null!=e&&ut.call(e,t)}function tr(e,t){return null!=e&&t in tt(e)}function nr(e,t,n){for(var r=n?Jt:Kt,s=e[0].length,a=e.length,l=a,c=i(a),u=1/0,d=[];l--;){var h=e[l];l&&t&&(h=qt(h,vn(t))),u=Vn(h.length,u),c[l]=!n&&(t||s>=120&&h.length>=120)?new wi(l&&h):o}h=e[0];var f=-1,p=c[0];e:for(;++f<s&&d.length<u;){var m=h[f],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?bn(p,g):r(d,g,n))){for(l=a;--l;){var v=c[l];if(!(v?bn(v,g):r(e[l],g,n)))continue e}p&&p.push(g),d.push(m)}}return d}function ir(e,t,n){var i=null==(e=ts(e,t=Vr(t,e)))?e:e[us(As(t))];return null==i?o:Gt(i,e,n)}function rr(e){return La(e)&&Ji(e)==H}function or(e,t,n,i,r){return e===t||(null==e||null==t||!La(e)&&!La(t)?e!=e&&t!=t:function(e,t,n,i,r,s){var a=va(e),l=va(t),c=a?z:zo(e),u=l?z:zo(t),d=(c=c==H?q:c)==q,h=(u=u==H?q:u)==q,f=c==u;if(f&&wa(e)){if(!wa(t))return!1;a=!0,d=!1}if(f&&!d)return s||(s=new xi),a||Na(e)?Eo(e,t,n,i,r,s):function(e,t,n,i,r,o,s){switch(n){case ce:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case le:return!(e.byteLength!=t.byteLength||!o(new xt(e),new xt(t)));case W:case G:case K:return fa(+e,+t);case U:return e.name==t.name&&e.message==t.message;case te:case ie:return e==t+"";case Q:var a=Mn;case ne:var l=i&m;if(a||(a=En),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;i|=g,s.set(e,t);var u=Eo(a(e),a(t),i,r,o,s);return s.delete(e),u;case re:if(di)return di.call(e)==di.call(t)}return!1}(e,t,c,n,i,r,s);if(!(n&m)){var p=d&&ut.call(e,"__wrapped__"),v=h&&ut.call(t,"__wrapped__");if(p||v){var y=p?e.value():e,b=v?t.value():t;return s||(s=new xi),r(y,b,n,i,s)}}return!!f&&(s||(s=new xi),function(e,t,n,i,r,s){var a=n&m,l=To(e),c=l.length,u=To(t).length;if(c!=u&&!a)return!1;for(var d=c;d--;){var h=l[d];if(!(a?h in t:ut.call(t,h)))return!1}var f=s.get(e);if(f&&s.get(t))return f==t;var p=!0;s.set(e,t),s.set(t,e);for(var g=a;++d<c;){h=l[d];var v=e[h],y=t[h];if(i)var b=a?i(y,v,h,t,e,s):i(v,y,h,e,t,s);if(!(b===o?v===y||r(v,y,n,i,s):b)){p=!1;break}g||(g="constructor"==h)}if(p&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(p=!1)}return s.delete(e),s.delete(t),p}(e,t,n,i,r,s))}(e,t,n,i,or,r))}function sr(e,t,n,i){var r=n.length,s=r,a=!i;if(null==e)return!s;for(e=tt(e);r--;){var l=n[r];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<s;){var c=(l=n[r])[0],u=e[c],d=l[1];if(a&&l[2]){if(u===o&&!(c in e))return!1}else{var h=new xi;if(i)var f=i(u,d,c,e,t,h);if(!(f===o?or(d,u,m|g,i,h):f))return!1}}return!0}function ar(e){return!(!Sa(e)||(t=e,ht&&ht in t))&&(Ca(e)?gt:Ve).test(ds(e));var t}function lr(e){return"function"==typeof e?e:null==e?Dl:"object"==typeof e?va(e)?pr(e[0],e[1]):fr(e):Rl(e)}function cr(e){if(!Ko(e))return Wn(e);var t=[];for(var n in tt(e))ut.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ur(e){if(!Sa(e))return function(e){var t=[];if(null!=e)for(var n in tt(e))t.push(n);return t}(e);var t=Ko(e),n=[];for(var i in e)("constructor"!=i||!t&&ut.call(e,i))&&n.push(i);return n}function dr(e,t){return e<t}function hr(e,t){var n=-1,r=ba(e)?i(e.length):[];return Ri(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function fr(e){var t=Po(e);return 1==t.length&&t[0][2]?qo(t[0][0],t[0][1]):function(n){return n===e||sr(n,e,t)}}function pr(e,t){return Zo(e)&&Jo(t)?qo(us(e),t):function(n){var i=qa(n,e);return i===o&&i===t?el(n,e):or(t,i,m|g)}}function mr(e,t,n,i,r){e!==t&&Gi(t,function(s,a){if(r||(r=new xi),Sa(s))!function(e,t,n,i,r,s,a){var l=ns(e,n),c=ns(t,n),u=a.get(c);if(u)Si(e,n,u);else{var d=s?s(l,c,n+"",e,t,a):o,h=d===o;if(h){var f=va(c),p=!f&&wa(c),m=!f&&!p&&Na(c);d=c,f||p||m?va(l)?d=l:_a(l)?d=no(l):p?(h=!1,d=Qr(c,!0)):m?(h=!1,d=Jr(c,!0)):d=[]:Ta(c)||ga(c)?(d=l,ga(l)?d=Wa(l):Sa(l)&&!Ca(l)||(d=Wo(c))):h=!1}h&&(a.set(c,d),r(d,c,i,s,a),a.delete(c)),Si(e,n,d)}}(e,t,a,n,mr,i,r);else{var l=i?i(ns(e,a),s,a+"",e,t,r):o;l===o&&(l=s),Si(e,a,l)}},ol)}function gr(e,t){var n=e.length;if(n)return Vo(t+=t<0?n:0,n)?e[t]:o}function vr(e,t,n){var i=-1;return t=qt(t.length?t:[Dl],vn(No())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(hr(e,function(e,n,r){return{criteria:qt(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,o=t.criteria,s=r.length,a=n.length;++i<s;){var l=qr(r[i],o[i]);if(l){if(i>=a)return l;var c=n[i];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)})}function yr(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var s=t[i],a=Qi(e,s);n(a,s)&&Mr(o,Vr(s,e),a)}return o}function br(e,t,n,i){var r=i?cn:ln,o=-1,s=t.length,a=e;for(e===t&&(t=no(t)),n&&(a=qt(e,vn(n)));++o<s;)for(var l=0,c=t[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==e&&Ft.call(a,l,1),Ft.call(e,l,1);return e}function _r(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;Vo(r)?Ft.call(e,r,1):Pr(e,r)}}return e}function wr(e,t){return e+Rn(Xn()*(t-e+1))}function xr(e,t){var n="";if(!e||t<1||t>O)return n;do{t%2&&(n+=e),(t=Rn(t/2))&&(e+=e)}while(t);return n}function Ar(e,t){return os(es(e,t,Dl),e+"")}function Cr(e){return Ci(fl(e))}function kr(e,t){var n=fl(e);return ls(n,Oi(t,0,n.length))}function Mr(e,t,n,i){if(!Sa(e))return e;for(var r=-1,s=(t=Vr(t,e)).length,a=s-1,l=e;null!=l&&++r<s;){var c=us(t[r]),u=n;if(r!=a){var d=l[c];(u=i?i(d,c,l):o)===o&&(u=Sa(d)?d:Vo(t[r+1])?[]:{})}Li(l,c,u),l=l[c]}return e}var Sr=ii?function(e,t){return ii.set(e,t),e}:Dl,Lr=fn?function(e,t){return fn(e,"toString",{configurable:!0,enumerable:!1,value:Sl(t),writable:!0})}:Dl;function Er(e){return ls(fl(e))}function Dr(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=i(o);++r<o;)s[r]=e[r+t];return s}function Tr(e,t){var n;return Ri(e,function(e,i,r){return!(n=t(e,i,r))}),!!n}function Ir(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=R){for(;i<r;){var o=i+r>>>1,s=e[o];null!==s&&!Fa(s)&&(n?s<=t:s<t)?i=o+1:r=o}return r}return jr(e,t,Dl,n)}function jr(e,t,n,i){t=n(t);for(var r=0,s=null==e?0:e.length,a=t!=t,l=null===t,c=Fa(t),u=t===o;r<s;){var d=Rn((r+s)/2),h=n(e[d]),f=h!==o,p=null===h,m=h==h,g=Fa(h);if(a)var v=i||m;else v=u?m&&(i||f):l?m&&f&&(i||!p):c?m&&f&&!p&&(i||!g):!p&&!g&&(i?h<=t:h<t);v?r=d+1:s=d}return Vn(s,P)}function Or(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var s=e[n],a=t?t(s):s;if(!n||!fa(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function Fr(e){return"number"==typeof e?e:Fa(e)?N:+e}function Nr(e){if("string"==typeof e)return e;if(va(e))return qt(e,Nr)+"";if(Fa(e))return hi?hi.call(e):"";var t=e+"";return"0"==t&&1/e==-j?"-0":t}function Yr(e,t,n){var i=-1,r=Kt,o=e.length,a=!0,l=[],c=l;if(n)a=!1,r=Jt;else if(o>=s){var u=t?null:Ao(e);if(u)return En(u);a=!1,r=bn,c=new wi}else c=t?[]:l;e:for(;++i<o;){var d=e[i],h=t?t(d):d;if(d=n||0!==d?d:0,a&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue e;t&&c.push(h),l.push(d)}else r(c,h,n)||(c!==l&&c.push(h),l.push(d))}return l}function Pr(e,t){return null==(e=ts(e,t=Vr(t,e)))||delete e[us(As(t))]}function Rr(e,t,n,i){return Mr(e,t,n(Qi(e,t)),i)}function Br(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?Dr(e,i?0:o,i?o+1:r):Dr(e,i?o+1:0,i?r:o)}function Hr(e,t){var n=e;return n instanceof vi&&(n=n.value()),tn(t,function(e,t){return t.func.apply(t.thisArg,en([e],t.args))},n)}function zr(e,t,n){var r=e.length;if(r<2)return r?Yr(e[0]):[];for(var o=-1,s=i(r);++o<r;)for(var a=e[o],l=-1;++l<r;)l!=o&&(s[o]=Pi(s[o]||a,e[l],t,n));return Yr(Wi(s,1),t,n)}function $r(e,t,n){for(var i=-1,r=e.length,s=t.length,a={};++i<r;){var l=i<s?t[i]:o;n(a,e[i],l)}return a}function Wr(e){return _a(e)?e:[]}function Gr(e){return"function"==typeof e?e:Dl}function Vr(e,t){return va(e)?e:Zo(e,t)?[e]:cs(Ga(e))}var Ur=Ar;function Zr(e,t,n){var i=e.length;return n=n===o?i:n,!t&&n>=i?e:Dr(e,t,n)}var Xr=Fn||function(e){return jt.clearTimeout(e)};function Qr(e,t){if(t)return e.slice();var n=e.length,i=Lt?Lt(n):new e.constructor(n);return e.copy(i),i}function Kr(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function Jr(e,t){var n=t?Kr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function qr(e,t){if(e!==t){var n=e!==o,i=null===e,r=e==e,s=Fa(e),a=t!==o,l=null===t,c=t==t,u=Fa(t);if(!l&&!u&&!s&&e>t||s&&a&&c&&!l&&!u||i&&a&&c||!n&&c||!r)return 1;if(!i&&!s&&!u&&e<t||u&&n&&r&&!i&&!s||l&&n&&r||!a&&r||!c)return-1}return 0}function eo(e,t,n,r){for(var o=-1,s=e.length,a=n.length,l=-1,c=t.length,u=Gn(s-a,0),d=i(c+u),h=!r;++l<c;)d[l]=t[l];for(;++o<a;)(h||o<s)&&(d[n[o]]=e[o]);for(;u--;)d[l++]=e[o++];return d}function to(e,t,n,r){for(var o=-1,s=e.length,a=-1,l=n.length,c=-1,u=t.length,d=Gn(s-l,0),h=i(d+u),f=!r;++o<d;)h[o]=e[o];for(var p=o;++c<u;)h[p+c]=t[c];for(;++a<l;)(f||o<s)&&(h[p+n[a]]=e[o++]);return h}function no(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function io(e,t,n,i){var r=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var l=t[s],c=i?i(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),r?Ii(n,l,c):Li(n,l,c)}return n}function ro(e,t){return function(n,i){var r=va(n)?Vt:Di,o=t?t():{};return r(n,e,No(i,2),o)}}function oo(e){return Ar(function(t,n){var i=-1,r=n.length,s=r>1?n[r-1]:o,a=r>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(r--,s):o,a&&Uo(n[0],n[1],a)&&(s=r<3?o:s,r=1),t=tt(t);++i<r;){var l=n[i];l&&e(t,l,i,s)}return t})}function so(e,t){return function(n,i){if(null==n)return n;if(!ba(n))return e(n,i);for(var r=n.length,o=t?r:-1,s=tt(n);(t?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function ao(e){return function(t,n,i){for(var r=-1,o=tt(t),s=i(t),a=s.length;a--;){var l=s[e?a:++r];if(!1===n(o[l],l,o))break}return t}}function lo(e){return function(t){var n=kn(t=Ga(t))?In(t):o,i=n?n[0]:t.charAt(0),r=n?Zr(n,1).join(""):t.slice(1);return i[e]()+r}}function co(e){return function(t){return tn(Cl(gl(t).replace(yt,"")),e,"")}}function uo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=pi(e.prototype),i=e.apply(n,t);return Sa(i)?i:n}}function ho(e){return function(t,n,i){var r=tt(t);if(!ba(t)){var s=No(n,3);t=rl(t),n=function(e){return s(r[e],e,r)}}var a=e(t,n,i);return a>-1?r[s?t[a]:a]:o}}function fo(e){return Do(function(t){var n=t.length,i=n,r=gi.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new rt(l);if(r&&!a&&"wrapper"==Oo(s))var a=new gi([],!0)}for(i=a?i:n;++i<n;){var c=Oo(s=t[i]),u="wrapper"==c?jo(s):o;a=u&&Xo(u[0])&&u[1]==(C|_|x|k)&&!u[4].length&&1==u[9]?a[Oo(u[0])].apply(a,u[3]):1==s.length&&Xo(s)?a[c]():a.thru(s)}return function(){var e=arguments,i=e[0];if(a&&1==e.length&&va(i))return a.plant(i).value();for(var r=0,o=n?t[r].apply(this,e):i;++r<n;)o=t[r].call(this,o);return o}})}function po(e,t,n,r,s,a,l,c,u,d){var h=t&C,f=t&v,p=t&y,m=t&(_|w),g=t&M,b=p?o:uo(e);return function v(){for(var y=arguments.length,_=i(y),w=y;w--;)_[w]=arguments[w];if(m)var x=Fo(v),A=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(_,x);if(r&&(_=eo(_,r,s,m)),a&&(_=to(_,a,l,m)),y-=A,m&&y<d){var C=Ln(_,x);return wo(e,t,po,v.placeholder,n,_,C,c,u,d-y)}var k=f?n:this,M=p?k[e]:e;return y=_.length,c?_=function(e,t){for(var n=e.length,i=Vn(t.length,n),r=no(e);i--;){var s=t[i];e[i]=Vo(s,n)?r[s]:o}return e}(_,c):g&&y>1&&_.reverse(),h&&u<y&&(_.length=u),this&&this!==jt&&this instanceof v&&(M=b||uo(M)),M.apply(k,_)}}function mo(e,t){return function(n,i){return function(e,t,n,i){return Ui(e,function(e,r,o){t(i,n(e),r,o)}),i}(n,e,t(i),{})}}function go(e,t){return function(n,i){var r;if(n===o&&i===o)return t;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=Nr(n),i=Nr(i)):(n=Fr(n),i=Fr(i)),r=e(n,i)}return r}}function vo(e){return Do(function(t){return t=qt(t,vn(No())),Ar(function(n){var i=this;return e(t,function(e){return Gt(e,i,n)})})})}function yo(e,t){var n=(t=t===o?" ":Nr(t)).length;if(n<2)return n?xr(t,e):t;var i=xr(t,Pn(e/Tn(t)));return kn(t)?Zr(In(i),0,e).join(""):i.slice(0,e)}function bo(e){return function(t,n,r){return r&&"number"!=typeof r&&Uo(t,n,r)&&(n=r=o),t=Ba(t),n===o?(n=t,t=0):n=Ba(n),function(e,t,n,r){for(var o=-1,s=Gn(Pn((t-e)/(n||1)),0),a=i(s);s--;)a[r?s:++o]=e,e+=n;return a}(t,n,r=r===o?t<n?1:-1:Ba(r),e)}}function _o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=$a(t),n=$a(n)),e(t,n)}}function wo(e,t,n,i,r,s,a,l,c,u){var d=t&_;t|=d?x:A,(t&=~(d?A:x))&b||(t&=~(v|y));var h=[e,t,r,d?s:o,d?a:o,d?o:s,d?o:a,l,c,u],f=n.apply(o,h);return Xo(e)&&is(f,h),f.placeholder=i,ss(f,e,t)}function xo(e){var t=et[e];return function(e,n){if(e=$a(e),(n=null==n?0:Vn(Ha(n),292))&&zn(e)){var i=(Ga(e)+"e").split("e");return+((i=(Ga(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Ao=ei&&1/En(new ei([,-0]))[1]==j?function(e){return new ei(e)}:Fl;function Co(e){return function(t){var n=zo(t);return n==Q?Mn(t):n==ne?Dn(t):function(e,t){return qt(t,function(t){return[t,e[t]]})}(t,e(t))}}function ko(e,t,n,r,s,a,c,u){var h=t&y;if(!h&&"function"!=typeof e)throw new rt(l);var f=r?r.length:0;if(f||(t&=~(x|A),r=s=o),c=c===o?c:Gn(Ha(c),0),u=u===o?u:Ha(u),f-=s?s.length:0,t&A){var p=r,m=s;r=s=o}var g=h?o:jo(e),M=[e,t,n,r,s,p,m,a,c,u];if(g&&function(e,t){var n=e[1],i=t[1],r=n|i,o=r<(v|y|C),s=i==C&&n==_||i==C&&n==k&&e[7].length<=t[8]||i==(C|k)&&t[7].length<=t[8]&&n==_;if(!o&&!s)return e;i&v&&(e[2]=t[2],r|=n&v?0:b);var a=t[3];if(a){var l=e[3];e[3]=l?eo(l,a,t[4]):a,e[4]=l?Ln(e[3],d):t[4]}(a=t[5])&&(l=e[5],e[5]=l?to(l,a,t[6]):a,e[6]=l?Ln(e[5],d):t[6]),(a=t[7])&&(e[7]=a),i&C&&(e[8]=null==e[8]?t[8]:Vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(M,g),e=M[0],t=M[1],n=M[2],r=M[3],s=M[4],!(u=M[9]=M[9]===o?h?0:e.length:Gn(M[9]-f,0))&&t&(_|w)&&(t&=~(_|w)),t&&t!=v)S=t==_||t==w?function(e,t,n){var r=uo(e);return function s(){for(var a=arguments.length,l=i(a),c=a,u=Fo(s);c--;)l[c]=arguments[c];var d=a<3&&l[0]!==u&&l[a-1]!==u?[]:Ln(l,u);return(a-=d.length)<n?wo(e,t,po,s.placeholder,o,l,d,o,o,n-a):Gt(this&&this!==jt&&this instanceof s?r:e,this,l)}}(e,t,u):t!=x&&t!=(v|x)||s.length?po.apply(o,M):function(e,t,n,r){var o=t&v,s=uo(e);return function t(){for(var a=-1,l=arguments.length,c=-1,u=r.length,d=i(u+l),h=this&&this!==jt&&this instanceof t?s:e;++c<u;)d[c]=r[c];for(;l--;)d[c++]=arguments[++a];return Gt(h,o?n:this,d)}}(e,t,n,r);else var S=function(e,t,n){var i=t&v,r=uo(e);return function t(){return(this&&this!==jt&&this instanceof t?r:e).apply(i?n:this,arguments)}}(e,t,n);return ss((g?Sr:is)(S,M),e,t)}function Mo(e,t,n,i){return e===o||fa(e,at[n])&&!ut.call(i,n)?t:e}function So(e,t,n,i,r,s){return Sa(e)&&Sa(t)&&(s.set(t,e),mr(e,t,o,So,s),s.delete(t)),e}function Lo(e){return Ta(e)?o:e}function Eo(e,t,n,i,r,s){var a=n&m,l=e.length,c=t.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(e);if(u&&s.get(t))return u==t;var d=-1,h=!0,f=n&g?new wi:o;for(s.set(e,t),s.set(t,e);++d<l;){var p=e[d],v=t[d];if(i)var y=a?i(v,p,d,t,e,s):i(p,v,d,e,t,s);if(y!==o){if(y)continue;h=!1;break}if(f){if(!rn(t,function(e,t){if(!bn(f,t)&&(p===e||r(p,e,n,i,s)))return f.push(t)})){h=!1;break}}else if(p!==v&&!r(p,v,n,i,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function Do(e){return os(es(e,o,ys),e+"")}function To(e){return Ki(e,rl,Bo)}function Io(e){return Ki(e,ol,Ho)}var jo=ii?function(e){return ii.get(e)}:Fl;function Oo(e){for(var t=e.name+"",n=ri[t],i=ut.call(ri,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function Fo(e){return(ut.call(fi,"placeholder")?fi:e).placeholder}function No(){var e=fi.iteratee||Tl;return e=e===Tl?lr:e,arguments.length?e(arguments[0],arguments[1]):e}function Yo(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Po(e){for(var t=rl(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,Jo(r)]}return t}function Ro(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return ar(n)?n:o}var Bo=Bn?function(e){return null==e?[]:(e=tt(e),Qt(Bn(e),function(t){return Ot.call(e,t)}))}:zl,Ho=Bn?function(e){for(var t=[];e;)en(t,Bo(e)),e=Tt(e);return t}:zl,zo=Ji;function $o(e,t,n){for(var i=-1,r=(t=Vr(t,e)).length,o=!1;++i<r;){var s=us(t[i]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&Ma(r)&&Vo(s,r)&&(va(e)||ga(e))}function Wo(e){return"function"!=typeof e.constructor||Ko(e)?{}:pi(Tt(e))}function Go(e){return va(e)||ga(e)||!!(Yt&&e&&e[Yt])}function Vo(e,t){var n=typeof e;return!!(t=null==t?O:t)&&("number"==n||"symbol"!=n&&Ze.test(e))&&e>-1&&e%1==0&&e<t}function Uo(e,t,n){if(!Sa(n))return!1;var i=typeof t;return!!("number"==i?ba(n)&&Vo(t,n.length):"string"==i&&t in n)&&fa(n[t],e)}function Zo(e,t){if(va(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fa(e))||De.test(e)||!Ee.test(e)||null!=t&&e in tt(t)}function Xo(e){var t=Oo(e),n=fi[t];if("function"!=typeof n||!(t in vi.prototype))return!1;if(e===n)return!0;var i=jo(n);return!!i&&e===i[0]}(Kn&&zo(new Kn(new ArrayBuffer(1)))!=ce||Jn&&zo(new Jn)!=Q||qn&&"[object Promise]"!=zo(qn.resolve())||ei&&zo(new ei)!=ne||ti&&zo(new ti)!=se)&&(zo=function(e){var t=Ji(e),n=t==q?e.constructor:o,i=n?ds(n):"";if(i)switch(i){case oi:return ce;case si:return Q;case ai:return"[object Promise]";case li:return ne;case ci:return se}return t});var Qo=lt?Ca:$l;function Ko(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||at)}function Jo(e){return e==e&&!Sa(e)}function qo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in tt(n))}}function es(e,t,n){return t=Gn(t===o?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=Gn(r.length-t,0),a=i(s);++o<s;)a[o]=r[t+o];o=-1;for(var l=i(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),Gt(e,this,l)}}function ts(e,t){return t.length<2?e:Qi(e,Dr(t,0,-1))}function ns(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var is=as(Sr),rs=Yn||function(e,t){return jt.setTimeout(e,t)},os=as(Lr);function ss(e,t,n){var i=t+"";return os(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Ye,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Ut(B,function(n){var i="_."+n[0];t&n[1]&&!Kt(e,i)&&e.push(i)}),e.sort()}(function(e){var t=e.match(Pe);return t?t[1].split(Re):[]}(i),n)))}function as(e){var t=0,n=0;return function(){var i=Un(),r=D-(i-n);if(n=i,r>0){if(++t>=E)return arguments[0]}else t=0;return e.apply(o,arguments)}}function ls(e,t){var n=-1,i=e.length,r=i-1;for(t=t===o?i:t;++n<t;){var s=wr(n,r),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var cs=function(e){var t=aa(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Te,function(e,n,i,r){t.push(i?r.replace(He,"$1"):n||e)}),t});function us(e){if("string"==typeof e||Fa(e))return e;var t=e+"";return"0"==t&&1/e==-j?"-0":t}function ds(e){if(null!=e){try{return ct.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function hs(e){if(e instanceof vi)return e.clone();var t=new gi(e.__wrapped__,e.__chain__);return t.__actions__=no(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var fs=Ar(function(e,t){return _a(e)?Pi(e,Wi(t,1,_a,!0)):[]}),ps=Ar(function(e,t){var n=As(t);return _a(n)&&(n=o),_a(e)?Pi(e,Wi(t,1,_a,!0),No(n,2)):[]}),ms=Ar(function(e,t){var n=As(t);return _a(n)&&(n=o),_a(e)?Pi(e,Wi(t,1,_a,!0),o,n):[]});function gs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Ha(n);return r<0&&(r=Gn(i+r,0)),an(e,No(t,3),r)}function vs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==o&&(r=Ha(n),r=n<0?Gn(i+r,0):Vn(r,i-1)),an(e,No(t,3),r,!0)}function ys(e){return null!=e&&e.length?Wi(e,1):[]}function bs(e){return e&&e.length?e[0]:o}var _s=Ar(function(e){var t=qt(e,Wr);return t.length&&t[0]===e[0]?nr(t):[]}),ws=Ar(function(e){var t=As(e),n=qt(e,Wr);return t===As(n)?t=o:n.pop(),n.length&&n[0]===e[0]?nr(n,No(t,2)):[]}),xs=Ar(function(e){var t=As(e),n=qt(e,Wr);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?nr(n,o,t):[]});function As(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Cs=Ar(ks);function ks(e,t){return e&&e.length&&t&&t.length?br(e,t):e}var Ms=Do(function(e,t){var n=null==e?0:e.length,i=ji(e,t);return _r(e,qt(t,function(e){return Vo(e,n)?+e:e}).sort(qr)),i});function Ss(e){return null==e?e:Qn.call(e)}var Ls=Ar(function(e){return Yr(Wi(e,1,_a,!0))}),Es=Ar(function(e){var t=As(e);return _a(t)&&(t=o),Yr(Wi(e,1,_a,!0),No(t,2))}),Ds=Ar(function(e){var t=As(e);return t="function"==typeof t?t:o,Yr(Wi(e,1,_a,!0),o,t)});function Ts(e){if(!e||!e.length)return[];var t=0;return e=Qt(e,function(e){if(_a(e))return t=Gn(e.length,t),!0}),gn(t,function(t){return qt(e,hn(t))})}function Is(e,t){if(!e||!e.length)return[];var n=Ts(e);return null==t?n:qt(n,function(e){return Gt(t,o,e)})}var js=Ar(function(e,t){return _a(e)?Pi(e,t):[]}),Os=Ar(function(e){return zr(Qt(e,_a))}),Fs=Ar(function(e){var t=As(e);return _a(t)&&(t=o),zr(Qt(e,_a),No(t,2))}),Ns=Ar(function(e){var t=As(e);return t="function"==typeof t?t:o,zr(Qt(e,_a),o,t)}),Ys=Ar(Ts),Ps=Ar(function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Is(e,n)});function Rs(e){var t=fi(e);return t.__chain__=!0,t}function Bs(e,t){return t(e)}var Hs=Do(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return ji(t,e)};return!(t>1||this.__actions__.length)&&i instanceof vi&&Vo(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:Bs,args:[r],thisArg:o}),new gi(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(r)}),zs=ro(function(e,t,n){ut.call(e,n)?++e[n]:Ii(e,n,1)}),$s=ho(gs),Ws=ho(vs);function Gs(e,t){return(va(e)?Ut:Ri)(e,No(t,3))}function Vs(e,t){return(va(e)?Zt:Bi)(e,No(t,3))}var Us=ro(function(e,t,n){ut.call(e,n)?e[n].push(t):Ii(e,n,[t])}),Zs=Ar(function(e,t,n){var r=-1,o="function"==typeof t,s=ba(e)?i(e.length):[];return Ri(e,function(e){s[++r]=o?Gt(t,e,n):ir(e,t,n)}),s}),Xs=ro(function(e,t,n){Ii(e,n,t)});function Qs(e,t){return(va(e)?qt:hr)(e,No(t,3))}var Ks=ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Js=Ar(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Uo(e,t[0],t[1])?t=[]:n>2&&Uo(t[0],t[1],t[2])&&(t=[t[0]]),vr(e,Wi(t,1),[])}),qs=Nn||function(){return jt.Date.now()};function ea(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,ko(e,C,o,o,o,o,t)}function ta(e,t){var n;if("function"!=typeof t)throw new rt(l);return e=Ha(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var na=Ar(function(e,t,n){var i=v;if(n.length){var r=Ln(n,Fo(na));i|=x}return ko(e,i,t,n,r)}),ia=Ar(function(e,t,n){var i=v|y;if(n.length){var r=Ln(n,Fo(ia));i|=x}return ko(t,i,e,n,r)});function ra(e,t,n){var i,r,s,a,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new rt(l);function m(t){var n=i,s=r;return i=r=o,d=t,a=e.apply(s,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||f&&e-d>=s}function v(){var e=qs();if(g(e))return y(e);c=rs(v,function(e){var n=t-(e-u);return f?Vn(n,s-(e-d)):n}(e))}function y(e){return c=o,p&&i?m(e):(i=r=o,a)}function b(){var e=qs(),n=g(e);if(i=arguments,r=this,u=e,n){if(c===o)return function(e){return d=e,c=rs(v,t),h?m(e):a}(u);if(f)return Xr(c),c=rs(v,t),m(u)}return c===o&&(c=rs(v,t)),a}return t=$a(t)||0,Sa(n)&&(h=!!n.leading,s=(f="maxWait"in n)?Gn($a(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&Xr(c),d=0,i=u=r=c=o},b.flush=function(){return c===o?a:y(qs())},b}var oa=Ar(function(e,t){return Yi(e,1,t)}),sa=Ar(function(e,t,n){return Yi(e,$a(t)||0,n)});function aa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(l);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=e.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(aa.Cache||_i),n}function la(e){if("function"!=typeof e)throw new rt(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}aa.Cache=_i;var ca=Ur(function(e,t){var n=(t=1==t.length&&va(t[0])?qt(t[0],vn(No())):qt(Wi(t,1),vn(No()))).length;return Ar(function(i){for(var r=-1,o=Vn(i.length,n);++r<o;)i[r]=t[r].call(this,i[r]);return Gt(e,this,i)})}),ua=Ar(function(e,t){var n=Ln(t,Fo(ua));return ko(e,x,o,t,n)}),da=Ar(function(e,t){var n=Ln(t,Fo(da));return ko(e,A,o,t,n)}),ha=Do(function(e,t){return ko(e,k,o,o,o,t)});function fa(e,t){return e===t||e!=e&&t!=t}var pa=_o(qi),ma=_o(function(e,t){return e>=t}),ga=rr(function(){return arguments}())?rr:function(e){return La(e)&&ut.call(e,"callee")&&!Ot.call(e,"callee")},va=i.isArray,ya=Rt?vn(Rt):function(e){return La(e)&&Ji(e)==le};function ba(e){return null!=e&&Ma(e.length)&&!Ca(e)}function _a(e){return La(e)&&ba(e)}var wa=Hn||$l,xa=Bt?vn(Bt):function(e){return La(e)&&Ji(e)==G};function Aa(e){if(!La(e))return!1;var t=Ji(e);return t==U||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Ta(e)}function Ca(e){if(!Sa(e))return!1;var t=Ji(e);return t==Z||t==X||t==$||t==ee}function ka(e){return"number"==typeof e&&e==Ha(e)}function Ma(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=O}function Sa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function La(e){return null!=e&&"object"==typeof e}var Ea=Ht?vn(Ht):function(e){return La(e)&&zo(e)==Q};function Da(e){return"number"==typeof e||La(e)&&Ji(e)==K}function Ta(e){if(!La(e)||Ji(e)!=q)return!1;var t=Tt(e);if(null===t)return!0;var n=ut.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==pt}var Ia=zt?vn(zt):function(e){return La(e)&&Ji(e)==te},ja=$t?vn($t):function(e){return La(e)&&zo(e)==ne};function Oa(e){return"string"==typeof e||!va(e)&&La(e)&&Ji(e)==ie}function Fa(e){return"symbol"==typeof e||La(e)&&Ji(e)==re}var Na=Wt?vn(Wt):function(e){return La(e)&&Ma(e.length)&&!!Mt[Ji(e)]},Ya=_o(dr),Pa=_o(function(e,t){return e<=t});function Ra(e){if(!e)return[];if(ba(e))return Oa(e)?In(e):no(e);if(Pt&&e[Pt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Pt]());var t=zo(e);return(t==Q?Mn:t==ne?En:fl)(e)}function Ba(e){return e?(e=$a(e))===j||e===-j?(e<0?-1:1)*F:e==e?e:0:0===e?e:0}function Ha(e){var t=Ba(e),n=t%1;return t==t?n?t-n:t:0}function za(e){return e?Oi(Ha(e),0,Y):0}function $a(e){if("number"==typeof e)return e;if(Fa(e))return N;if(Sa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Sa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Oe,"");var n=Ge.test(e);return n||Ue.test(e)?Dt(e.slice(2),n?2:8):We.test(e)?N:+e}function Wa(e){return io(e,ol(e))}function Ga(e){return null==e?"":Nr(e)}var Va=oo(function(e,t){if(Ko(t)||ba(t))io(t,rl(t),e);else for(var n in t)ut.call(t,n)&&Li(e,n,t[n])}),Ua=oo(function(e,t){io(t,ol(t),e)}),Za=oo(function(e,t,n,i){io(t,ol(t),e,i)}),Xa=oo(function(e,t,n,i){io(t,rl(t),e,i)}),Qa=Do(ji),Ka=Ar(function(e,t){e=tt(e);var n=-1,i=t.length,r=i>2?t[2]:o;for(r&&Uo(t[0],t[1],r)&&(i=1);++n<i;)for(var s=t[n],a=ol(s),l=-1,c=a.length;++l<c;){var u=a[l],d=e[u];(d===o||fa(d,at[u])&&!ut.call(e,u))&&(e[u]=s[u])}return e}),Ja=Ar(function(e){return e.push(o,So),Gt(al,o,e)});function qa(e,t,n){var i=null==e?o:Qi(e,t);return i===o?n:i}function el(e,t){return null!=e&&$o(e,t,tr)}var tl=mo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ft.call(t)),e[t]=n},Sl(Dl)),nl=mo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ft.call(t)),ut.call(e,t)?e[t].push(n):e[t]=[n]},No),il=Ar(ir);function rl(e){return ba(e)?Ai(e):cr(e)}function ol(e){return ba(e)?Ai(e,!0):ur(e)}var sl=oo(function(e,t,n){mr(e,t,n)}),al=oo(function(e,t,n,i){mr(e,t,n,i)}),ll=Do(function(e,t){var n={};if(null==e)return n;var i=!1;t=qt(t,function(t){return t=Vr(t,e),i||(i=t.length>1),t}),io(e,Io(e),n),i&&(n=Fi(n,h|f|p,Lo));for(var r=t.length;r--;)Pr(n,t[r]);return n}),cl=Do(function(e,t){return null==e?{}:function(e,t){return yr(e,t,function(t,n){return el(e,n)})}(e,t)});function ul(e,t){if(null==e)return{};var n=qt(Io(e),function(e){return[e]});return t=No(t),yr(e,n,function(e,n){return t(e,n[0])})}var dl=Co(rl),hl=Co(ol);function fl(e){return null==e?[]:yn(e,rl(e))}var pl=co(function(e,t,n){return t=t.toLowerCase(),e+(n?ml(t):t)});function ml(e){return Al(Ga(e).toLowerCase())}function gl(e){return(e=Ga(e))&&e.replace(Xe,xn).replace(bt,"")}var vl=co(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),yl=co(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),bl=lo("toLowerCase"),_l=co(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),wl=co(function(e,t,n){return e+(n?" ":"")+Al(t)}),xl=co(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Al=lo("toUpperCase");function Cl(e,t,n){return e=Ga(e),(t=n?o:t)===o?function(e){return At.test(e)}(e)?function(e){return e.match(wt)||[]}(e):function(e){return e.match(Be)||[]}(e):e.match(t)||[]}var kl=Ar(function(e,t){try{return Gt(e,o,t)}catch(e){return Aa(e)?e:new Je(e)}}),Ml=Do(function(e,t){return Ut(t,function(t){t=us(t),Ii(e,t,na(e[t],e))}),e});function Sl(e){return function(){return e}}var Ll=fo(),El=fo(!0);function Dl(e){return e}function Tl(e){return lr("function"==typeof e?e:Fi(e,h))}var Il=Ar(function(e,t){return function(n){return ir(n,e,t)}}),jl=Ar(function(e,t){return function(n){return ir(e,n,t)}});function Ol(e,t,n){var i=rl(t),r=Xi(t,i);null!=n||Sa(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Xi(t,rl(t)));var o=!(Sa(n)&&"chain"in n&&!n.chain),s=Ca(e);return Ut(r,function(n){var i=t[n];e[n]=i,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=no(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,en([this.value()],arguments))})}),e}function Fl(){}var Nl=vo(qt),Yl=vo(Xt),Pl=vo(rn);function Rl(e){return Zo(e)?hn(us(e)):function(e){return function(t){return Qi(t,e)}}(e)}var Bl=bo(),Hl=bo(!0);function zl(){return[]}function $l(){return!1}var Wl,Gl=go(function(e,t){return e+t},0),Vl=xo("ceil"),Ul=go(function(e,t){return e/t},1),Zl=xo("floor"),Xl=go(function(e,t){return e*t},1),Ql=xo("round"),Kl=go(function(e,t){return e-t},0);return fi.after=function(e,t){if("function"!=typeof t)throw new rt(l);return e=Ha(e),function(){if(--e<1)return t.apply(this,arguments)}},fi.ary=ea,fi.assign=Va,fi.assignIn=Ua,fi.assignInWith=Za,fi.assignWith=Xa,fi.at=Qa,fi.before=ta,fi.bind=na,fi.bindAll=Ml,fi.bindKey=ia,fi.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return va(e)?e:[e]},fi.chain=Rs,fi.chunk=function(e,t,n){t=(n?Uo(e,t,n):t===o)?1:Gn(Ha(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var s=0,a=0,l=i(Pn(r/t));s<r;)l[a++]=Dr(e,s,s+=t);return l},fi.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},fi.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return en(va(n)?no(n):[n],Wi(t,1))},fi.cond=function(e){var t=null==e?0:e.length,n=No();return e=t?qt(e,function(e){if("function"!=typeof e[1])throw new rt(l);return[n(e[0]),e[1]]}):[],Ar(function(n){for(var i=-1;++i<t;){var r=e[i];if(Gt(r[0],this,n))return Gt(r[1],this,n)}})},fi.conforms=function(e){return function(e){var t=rl(e);return function(n){return Ni(n,e,t)}}(Fi(e,h))},fi.constant=Sl,fi.countBy=zs,fi.create=function(e,t){var n=pi(e);return null==t?n:Ti(n,t)},fi.curry=function e(t,n,i){var r=ko(t,_,o,o,o,o,o,n=i?o:n);return r.placeholder=e.placeholder,r},fi.curryRight=function e(t,n,i){var r=ko(t,w,o,o,o,o,o,n=i?o:n);return r.placeholder=e.placeholder,r},fi.debounce=ra,fi.defaults=Ka,fi.defaultsDeep=Ja,fi.defer=oa,fi.delay=sa,fi.difference=fs,fi.differenceBy=ps,fi.differenceWith=ms,fi.drop=function(e,t,n){var i=null==e?0:e.length;return i?Dr(e,(t=n||t===o?1:Ha(t))<0?0:t,i):[]},fi.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?Dr(e,0,(t=i-(t=n||t===o?1:Ha(t)))<0?0:t):[]},fi.dropRightWhile=function(e,t){return e&&e.length?Br(e,No(t,3),!0,!0):[]},fi.dropWhile=function(e,t){return e&&e.length?Br(e,No(t,3),!0):[]},fi.fill=function(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Uo(e,t,n)&&(n=0,i=r),function(e,t,n,i){var r=e.length;for((n=Ha(n))<0&&(n=-n>r?0:r+n),(i=i===o||i>r?r:Ha(i))<0&&(i+=r),i=n>i?0:za(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},fi.filter=function(e,t){return(va(e)?Qt:$i)(e,No(t,3))},fi.flatMap=function(e,t){return Wi(Qs(e,t),1)},fi.flatMapDeep=function(e,t){return Wi(Qs(e,t),j)},fi.flatMapDepth=function(e,t,n){return n=n===o?1:Ha(n),Wi(Qs(e,t),n)},fi.flatten=ys,fi.flattenDeep=function(e){return null!=e&&e.length?Wi(e,j):[]},fi.flattenDepth=function(e,t){return null!=e&&e.length?Wi(e,t=t===o?1:Ha(t)):[]},fi.flip=function(e){return ko(e,M)},fi.flow=Ll,fi.flowRight=El,fi.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},fi.functions=function(e){return null==e?[]:Xi(e,rl(e))},fi.functionsIn=function(e){return null==e?[]:Xi(e,ol(e))},fi.groupBy=Us,fi.initial=function(e){return null!=e&&e.length?Dr(e,0,-1):[]},fi.intersection=_s,fi.intersectionBy=ws,fi.intersectionWith=xs,fi.invert=tl,fi.invertBy=nl,fi.invokeMap=Zs,fi.iteratee=Tl,fi.keyBy=Xs,fi.keys=rl,fi.keysIn=ol,fi.map=Qs,fi.mapKeys=function(e,t){var n={};return t=No(t,3),Ui(e,function(e,i,r){Ii(n,t(e,i,r),e)}),n},fi.mapValues=function(e,t){var n={};return t=No(t,3),Ui(e,function(e,i,r){Ii(n,i,t(e,i,r))}),n},fi.matches=function(e){return fr(Fi(e,h))},fi.matchesProperty=function(e,t){return pr(e,Fi(t,h))},fi.memoize=aa,fi.merge=sl,fi.mergeWith=al,fi.method=Il,fi.methodOf=jl,fi.mixin=Ol,fi.negate=la,fi.nthArg=function(e){return e=Ha(e),Ar(function(t){return gr(t,e)})},fi.omit=ll,fi.omitBy=function(e,t){return ul(e,la(No(t)))},fi.once=function(e){return ta(2,e)},fi.orderBy=function(e,t,n,i){return null==e?[]:(va(t)||(t=null==t?[]:[t]),va(n=i?o:n)||(n=null==n?[]:[n]),vr(e,t,n))},fi.over=Nl,fi.overArgs=ca,fi.overEvery=Yl,fi.overSome=Pl,fi.partial=ua,fi.partialRight=da,fi.partition=Ks,fi.pick=cl,fi.pickBy=ul,fi.property=Rl,fi.propertyOf=function(e){return function(t){return null==e?o:Qi(e,t)}},fi.pull=Cs,fi.pullAll=ks,fi.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?br(e,t,No(n,2)):e},fi.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?br(e,t,o,n):e},fi.pullAt=Ms,fi.range=Bl,fi.rangeRight=Hl,fi.rearg=ha,fi.reject=function(e,t){return(va(e)?Qt:$i)(e,la(No(t,3)))},fi.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;for(t=No(t,3);++i<o;){var s=e[i];t(s,i,e)&&(n.push(s),r.push(i))}return _r(e,r),n},fi.rest=function(e,t){if("function"!=typeof e)throw new rt(l);return Ar(e,t=t===o?t:Ha(t))},fi.reverse=Ss,fi.sampleSize=function(e,t,n){return t=(n?Uo(e,t,n):t===o)?1:Ha(t),(va(e)?ki:kr)(e,t)},fi.set=function(e,t,n){return null==e?e:Mr(e,t,n)},fi.setWith=function(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:Mr(e,t,n,i)},fi.shuffle=function(e){return(va(e)?Mi:Er)(e)},fi.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Uo(e,t,n)?(t=0,n=i):(t=null==t?0:Ha(t),n=n===o?i:Ha(n)),Dr(e,t,n)):[]},fi.sortBy=Js,fi.sortedUniq=function(e){return e&&e.length?Or(e):[]},fi.sortedUniqBy=function(e,t){return e&&e.length?Or(e,No(t,2)):[]},fi.split=function(e,t,n){return n&&"number"!=typeof n&&Uo(e,t,n)&&(t=n=o),(n=n===o?Y:n>>>0)?(e=Ga(e))&&("string"==typeof t||null!=t&&!Ia(t))&&!(t=Nr(t))&&kn(e)?Zr(In(e),0,n):e.split(t,n):[]},fi.spread=function(e,t){if("function"!=typeof e)throw new rt(l);return t=null==t?0:Gn(Ha(t),0),Ar(function(n){var i=n[t],r=Zr(n,0,t);return i&&en(r,i),Gt(e,this,r)})},fi.tail=function(e){var t=null==e?0:e.length;return t?Dr(e,1,t):[]},fi.take=function(e,t,n){return e&&e.length?Dr(e,0,(t=n||t===o?1:Ha(t))<0?0:t):[]},fi.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?Dr(e,(t=i-(t=n||t===o?1:Ha(t)))<0?0:t,i):[]},fi.takeRightWhile=function(e,t){return e&&e.length?Br(e,No(t,3),!1,!0):[]},fi.takeWhile=function(e,t){return e&&e.length?Br(e,No(t,3)):[]},fi.tap=function(e,t){return t(e),e},fi.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new rt(l);return Sa(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),ra(e,t,{leading:i,maxWait:t,trailing:r})},fi.thru=Bs,fi.toArray=Ra,fi.toPairs=dl,fi.toPairsIn=hl,fi.toPath=function(e){return va(e)?qt(e,us):Fa(e)?[e]:no(cs(Ga(e)))},fi.toPlainObject=Wa,fi.transform=function(e,t,n){var i=va(e),r=i||wa(e)||Na(e);if(t=No(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:Sa(e)&&Ca(o)?pi(Tt(e)):{}}return(r?Ut:Ui)(e,function(e,i,r){return t(n,e,i,r)}),n},fi.unary=function(e){return ea(e,1)},fi.union=Ls,fi.unionBy=Es,fi.unionWith=Ds,fi.uniq=function(e){return e&&e.length?Yr(e):[]},fi.uniqBy=function(e,t){return e&&e.length?Yr(e,No(t,2)):[]},fi.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Yr(e,o,t):[]},fi.unset=function(e,t){return null==e||Pr(e,t)},fi.unzip=Ts,fi.unzipWith=Is,fi.update=function(e,t,n){return null==e?e:Rr(e,t,Gr(n))},fi.updateWith=function(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:Rr(e,t,Gr(n),i)},fi.values=fl,fi.valuesIn=function(e){return null==e?[]:yn(e,ol(e))},fi.without=js,fi.words=Cl,fi.wrap=function(e,t){return ua(Gr(t),e)},fi.xor=Os,fi.xorBy=Fs,fi.xorWith=Ns,fi.zip=Ys,fi.zipObject=function(e,t){return $r(e||[],t||[],Li)},fi.zipObjectDeep=function(e,t){return $r(e||[],t||[],Mr)},fi.zipWith=Ps,fi.entries=dl,fi.entriesIn=hl,fi.extend=Ua,fi.extendWith=Za,Ol(fi,fi),fi.add=Gl,fi.attempt=kl,fi.camelCase=pl,fi.capitalize=ml,fi.ceil=Vl,fi.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=$a(n))==n?n:0),t!==o&&(t=(t=$a(t))==t?t:0),Oi($a(e),t,n)},fi.clone=function(e){return Fi(e,p)},fi.cloneDeep=function(e){return Fi(e,h|p)},fi.cloneDeepWith=function(e,t){return Fi(e,h|p,t="function"==typeof t?t:o)},fi.cloneWith=function(e,t){return Fi(e,p,t="function"==typeof t?t:o)},fi.conformsTo=function(e,t){return null==t||Ni(e,t,rl(t))},fi.deburr=gl,fi.defaultTo=function(e,t){return null==e||e!=e?t:e},fi.divide=Ul,fi.endsWith=function(e,t,n){e=Ga(e),t=Nr(t);var i=e.length,r=n=n===o?i:Oi(Ha(n),0,i);return(n-=t.length)>=0&&e.slice(n,r)==t},fi.eq=fa,fi.escape=function(e){return(e=Ga(e))&&ke.test(e)?e.replace(Ae,An):e},fi.escapeRegExp=function(e){return(e=Ga(e))&&je.test(e)?e.replace(Ie,"\\$&"):e},fi.every=function(e,t,n){var i=va(e)?Xt:Hi;return n&&Uo(e,t,n)&&(t=o),i(e,No(t,3))},fi.find=$s,fi.findIndex=gs,fi.findKey=function(e,t){return sn(e,No(t,3),Ui)},fi.findLast=Ws,fi.findLastIndex=vs,fi.findLastKey=function(e,t){return sn(e,No(t,3),Zi)},fi.floor=Zl,fi.forEach=Gs,fi.forEachRight=Vs,fi.forIn=function(e,t){return null==e?e:Gi(e,No(t,3),ol)},fi.forInRight=function(e,t){return null==e?e:Vi(e,No(t,3),ol)},fi.forOwn=function(e,t){return e&&Ui(e,No(t,3))},fi.forOwnRight=function(e,t){return e&&Zi(e,No(t,3))},fi.get=qa,fi.gt=pa,fi.gte=ma,fi.has=function(e,t){return null!=e&&$o(e,t,er)},fi.hasIn=el,fi.head=bs,fi.identity=Dl,fi.includes=function(e,t,n,i){e=ba(e)?e:fl(e),n=n&&!i?Ha(n):0;var r=e.length;return n<0&&(n=Gn(r+n,0)),Oa(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&ln(e,t,n)>-1},fi.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Ha(n);return r<0&&(r=Gn(i+r,0)),ln(e,t,r)},fi.inRange=function(e,t,n){return t=Ba(t),n===o?(n=t,t=0):n=Ba(n),function(e,t,n){return e>=Vn(t,n)&&e<Gn(t,n)}(e=$a(e),t,n)},fi.invoke=il,fi.isArguments=ga,fi.isArray=va,fi.isArrayBuffer=ya,fi.isArrayLike=ba,fi.isArrayLikeObject=_a,fi.isBoolean=function(e){return!0===e||!1===e||La(e)&&Ji(e)==W},fi.isBuffer=wa,fi.isDate=xa,fi.isElement=function(e){return La(e)&&1===e.nodeType&&!Ta(e)},fi.isEmpty=function(e){if(null==e)return!0;if(ba(e)&&(va(e)||"string"==typeof e||"function"==typeof e.splice||wa(e)||Na(e)||ga(e)))return!e.length;var t=zo(e);if(t==Q||t==ne)return!e.size;if(Ko(e))return!cr(e).length;for(var n in e)if(ut.call(e,n))return!1;return!0},fi.isEqual=function(e,t){return or(e,t)},fi.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:o)?n(e,t):o;return i===o?or(e,t,o,n):!!i},fi.isError=Aa,fi.isFinite=function(e){return"number"==typeof e&&zn(e)},fi.isFunction=Ca,fi.isInteger=ka,fi.isLength=Ma,fi.isMap=Ea,fi.isMatch=function(e,t){return e===t||sr(e,t,Po(t))},fi.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,sr(e,t,Po(t),n)},fi.isNaN=function(e){return Da(e)&&e!=+e},fi.isNative=function(e){if(Qo(e))throw new Je(a);return ar(e)},fi.isNil=function(e){return null==e},fi.isNull=function(e){return null===e},fi.isNumber=Da,fi.isObject=Sa,fi.isObjectLike=La,fi.isPlainObject=Ta,fi.isRegExp=Ia,fi.isSafeInteger=function(e){return ka(e)&&e>=-O&&e<=O},fi.isSet=ja,fi.isString=Oa,fi.isSymbol=Fa,fi.isTypedArray=Na,fi.isUndefined=function(e){return e===o},fi.isWeakMap=function(e){return La(e)&&zo(e)==se},fi.isWeakSet=function(e){return La(e)&&Ji(e)==ae},fi.join=function(e,t){return null==e?"":$n.call(e,t)},fi.kebabCase=vl,fi.last=As,fi.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==o&&(r=(r=Ha(n))<0?Gn(i+r,0):Vn(r,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):an(e,un,r,!0)},fi.lowerCase=yl,fi.lowerFirst=bl,fi.lt=Ya,fi.lte=Pa,fi.max=function(e){return e&&e.length?zi(e,Dl,qi):o},fi.maxBy=function(e,t){return e&&e.length?zi(e,No(t,2),qi):o},fi.mean=function(e){return dn(e,Dl)},fi.meanBy=function(e,t){return dn(e,No(t,2))},fi.min=function(e){return e&&e.length?zi(e,Dl,dr):o},fi.minBy=function(e,t){return e&&e.length?zi(e,No(t,2),dr):o},fi.stubArray=zl,fi.stubFalse=$l,fi.stubObject=function(){return{}},fi.stubString=function(){return""},fi.stubTrue=function(){return!0},fi.multiply=Xl,fi.nth=function(e,t){return e&&e.length?gr(e,Ha(t)):o},fi.noConflict=function(){return jt._===this&&(jt._=mt),this},fi.noop=Fl,fi.now=qs,fi.pad=function(e,t,n){e=Ga(e);var i=(t=Ha(t))?Tn(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return yo(Rn(r),n)+e+yo(Pn(r),n)},fi.padEnd=function(e,t,n){e=Ga(e);var i=(t=Ha(t))?Tn(e):0;return t&&i<t?e+yo(t-i,n):e},fi.padStart=function(e,t,n){e=Ga(e);var i=(t=Ha(t))?Tn(e):0;return t&&i<t?yo(t-i,n)+e:e},fi.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Zn(Ga(e).replace(Fe,""),t||0)},fi.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Uo(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Ba(e),t===o?(t=e,e=0):t=Ba(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Xn();return Vn(e+r*(t-e+Et("1e-"+((r+"").length-1))),t)}return wr(e,t)},fi.reduce=function(e,t,n){var i=va(e)?tn:pn,r=arguments.length<3;return i(e,No(t,4),n,r,Ri)},fi.reduceRight=function(e,t,n){var i=va(e)?nn:pn,r=arguments.length<3;return i(e,No(t,4),n,r,Bi)},fi.repeat=function(e,t,n){return t=(n?Uo(e,t,n):t===o)?1:Ha(t),xr(Ga(e),t)},fi.replace=function(){var e=arguments,t=Ga(e[0]);return e.length<3?t:t.replace(e[1],e[2])},fi.result=function(e,t,n){var i=-1,r=(t=Vr(t,e)).length;for(r||(r=1,e=o);++i<r;){var s=null==e?o:e[us(t[i])];s===o&&(i=r,s=n),e=Ca(s)?s.call(e):s}return e},fi.round=Ql,fi.runInContext=e,fi.sample=function(e){return(va(e)?Ci:Cr)(e)},fi.size=function(e){if(null==e)return 0;if(ba(e))return Oa(e)?Tn(e):e.length;var t=zo(e);return t==Q||t==ne?e.size:cr(e).length},fi.snakeCase=_l,fi.some=function(e,t,n){var i=va(e)?rn:Tr;return n&&Uo(e,t,n)&&(t=o),i(e,No(t,3))},fi.sortedIndex=function(e,t){return Ir(e,t)},fi.sortedIndexBy=function(e,t,n){return jr(e,t,No(n,2))},fi.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=Ir(e,t);if(i<n&&fa(e[i],t))return i}return-1},fi.sortedLastIndex=function(e,t){return Ir(e,t,!0)},fi.sortedLastIndexBy=function(e,t,n){return jr(e,t,No(n,2),!0)},fi.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Ir(e,t,!0)-1;if(fa(e[n],t))return n}return-1},fi.startCase=wl,fi.startsWith=function(e,t,n){return e=Ga(e),n=null==n?0:Oi(Ha(n),0,e.length),t=Nr(t),e.slice(n,n+t.length)==t},fi.subtract=Kl,fi.sum=function(e){return e&&e.length?mn(e,Dl):0},fi.sumBy=function(e,t){return e&&e.length?mn(e,No(t,2)):0},fi.template=function(e,t,n){var i=fi.templateSettings;n&&Uo(e,t,n)&&(t=o),e=Ga(e),t=Za({},t,i,Mo);var r,s,a=Za({},t.imports,i.imports,Mo),l=rl(a),c=yn(a,l),u=0,d=t.interpolate||Qe,h="__p += '",f=nt((t.escape||Qe).source+"|"+d.source+"|"+(d===Le?ze:Qe).source+"|"+(t.evaluate||Qe).source+"|$","g"),p="//# sourceURL="+(ut.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++kt+"]")+"\n";e.replace(f,function(t,n,i,o,a,l){return i||(i=o),h+=e.slice(u,l).replace(Ke,Cn),n&&(r=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),h+="';\n";var m=ut.call(t,"variable")&&t.variable;m||(h="with (obj) {\n"+h+"\n}\n"),h=(s?h.replace(be,""):h).replace(_e,"$1").replace(we,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=kl(function(){return qe(l,p+"return "+h).apply(o,c)});if(g.source=h,Aa(g))throw g;return g},fi.times=function(e,t){if((e=Ha(e))<1||e>O)return[];var n=Y,i=Vn(e,Y);t=No(t),e-=Y;for(var r=gn(i,t);++n<e;)t(n);return r},fi.toFinite=Ba,fi.toInteger=Ha,fi.toLength=za,fi.toLower=function(e){return Ga(e).toLowerCase()},fi.toNumber=$a,fi.toSafeInteger=function(e){return e?Oi(Ha(e),-O,O):0===e?e:0},fi.toString=Ga,fi.toUpper=function(e){return Ga(e).toUpperCase()},fi.trim=function(e,t,n){if((e=Ga(e))&&(n||t===o))return e.replace(Oe,"");if(!e||!(t=Nr(t)))return e;var i=In(e),r=In(t);return Zr(i,_n(i,r),wn(i,r)+1).join("")},fi.trimEnd=function(e,t,n){if((e=Ga(e))&&(n||t===o))return e.replace(Ne,"");if(!e||!(t=Nr(t)))return e;var i=In(e);return Zr(i,0,wn(i,In(t))+1).join("")},fi.trimStart=function(e,t,n){if((e=Ga(e))&&(n||t===o))return e.replace(Fe,"");if(!e||!(t=Nr(t)))return e;var i=In(e);return Zr(i,_n(i,In(t))).join("")},fi.truncate=function(e,t){var n=S,i=L;if(Sa(t)){var r="separator"in t?t.separator:r;n="length"in t?Ha(t.length):n,i="omission"in t?Nr(t.omission):i}var s=(e=Ga(e)).length;if(kn(e)){var a=In(e);s=a.length}if(n>=s)return e;var l=n-Tn(i);if(l<1)return i;var c=a?Zr(a,0,l).join(""):e.slice(0,l);if(r===o)return c+i;if(a&&(l+=c.length-l),Ia(r)){if(e.slice(l).search(r)){var u,d=c;for(r.global||(r=nt(r.source,Ga($e.exec(r))+"g")),r.lastIndex=0;u=r.exec(d);)var h=u.index;c=c.slice(0,h===o?l:h)}}else if(e.indexOf(Nr(r),l)!=l){var f=c.lastIndexOf(r);f>-1&&(c=c.slice(0,f))}return c+i},fi.unescape=function(e){return(e=Ga(e))&&Ce.test(e)?e.replace(xe,jn):e},fi.uniqueId=function(e){var t=++dt;return Ga(e)+t},fi.upperCase=xl,fi.upperFirst=Al,fi.each=Gs,fi.eachRight=Vs,fi.first=bs,Ol(fi,(Wl={},Ui(fi,function(e,t){ut.call(fi.prototype,t)||(Wl[t]=e)}),Wl),{chain:!1}),fi.VERSION="4.17.15",Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){fi[e].placeholder=fi}),Ut(["drop","take"],function(e,t){vi.prototype[e]=function(n){n=n===o?1:Gn(Ha(n),0);var i=this.__filtered__&&!t?new vi(this):this.clone();return i.__filtered__?i.__takeCount__=Vn(n,i.__takeCount__):i.__views__.push({size:Vn(n,Y),type:e+(i.__dir__<0?"Right":"")}),i},vi.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Ut(["filter","map","takeWhile"],function(e,t){var n=t+1,i=n==T||3==n;vi.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:No(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),Ut(["head","last"],function(e,t){var n="take"+(t?"Right":"");vi.prototype[e]=function(){return this[n](1).value()[0]}}),Ut(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");vi.prototype[e]=function(){return this.__filtered__?new vi(this):this[n](1)}}),vi.prototype.compact=function(){return this.filter(Dl)},vi.prototype.find=function(e){return this.filter(e).head()},vi.prototype.findLast=function(e){return this.reverse().find(e)},vi.prototype.invokeMap=Ar(function(e,t){return"function"==typeof e?new vi(this):this.map(function(n){return ir(n,e,t)})}),vi.prototype.reject=function(e){return this.filter(la(No(e)))},vi.prototype.slice=function(e,t){e=Ha(e);var n=this;return n.__filtered__&&(e>0||t<0)?new vi(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Ha(t))<0?n.dropRight(-t):n.take(t-e)),n)},vi.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},vi.prototype.toArray=function(){return this.take(Y)},Ui(vi.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=fi[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);r&&(fi.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,l=t instanceof vi,c=a[0],u=l||va(t),d=function(e){var t=r.apply(fi,en([e],a));return i&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=s&&!h,m=l&&!f;if(!s&&u){t=m?t:new vi(this);var g=e.apply(t,a);return g.__actions__.push({func:Bs,args:[d],thisArg:o}),new gi(g,h)}return p&&m?e.apply(this,a):(g=this.thru(d),p?i?g.value()[0]:g.value():g)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(e){var t=ot[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);fi.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(va(r)?r:[],e)}return this[n](function(n){return t.apply(va(n)?n:[],e)})}}),Ui(vi.prototype,function(e,t){var n=fi[t];if(n){var i=n.name+"";ut.call(ri,i)||(ri[i]=[]),ri[i].push({name:t,func:n})}}),ri[po(o,y).name]=[{name:"wrapper",func:o}],vi.prototype.clone=function(){var e=new vi(this.__wrapped__);return e.__actions__=no(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=no(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=no(this.__views__),e},vi.prototype.reverse=function(){if(this.__filtered__){var e=new vi(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},vi.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=va(e),i=t<0,r=n?e.length:0,o=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=Vn(t,e+s);break;case"takeRight":e=Gn(e,t-s)}}return{start:e,end:t}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,d=u.length,h=0,f=Vn(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return Hr(e,this.__actions__);var p=[];e:for(;l--&&h<f;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],y=v.iteratee,b=v.type,_=y(g);if(b==I)g=_;else if(!_){if(b==T)continue e;break e}}p[h++]=g}return p},fi.prototype.at=Hs,fi.prototype.chain=function(){return Rs(this)},fi.prototype.commit=function(){return new gi(this.value(),this.__chain__)},fi.prototype.next=function(){this.__values__===o&&(this.__values__=Ra(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},fi.prototype.plant=function(e){for(var t,n=this;n instanceof mi;){var i=hs(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t},fi.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof vi){var t=e;return this.__actions__.length&&(t=new vi(this)),(t=t.reverse()).__actions__.push({func:Bs,args:[Ss],thisArg:o}),new gi(t,this.__chain__)}return this.thru(Ss)},fi.prototype.toJSON=fi.prototype.valueOf=fi.prototype.value=function(){return Hr(this.__wrapped__,this.__actions__)},fi.prototype.first=fi.prototype.head,Pt&&(fi.prototype[Pt]=function(){return this}),fi}();jt._=On,(r=function(){return On}.call(t,n,t,i))===o||(i.exports=r)}).call(this)}).call(this,n("c8ba"),n("62e4")(e))},"2fcc":function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},"30c9":function(e,t,n){var i=n("9520"),r=n("b218");e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},"30f1":function(e,t,n){"use strict";var i=n("b8e3"),r=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),l=n("8f60"),c=n("45f2"),u=n("53e2"),d=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,_,w=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A="values"==m,C=!1,k=e.prototype,M=k[d]||k["@@iterator"]||m&&k[m],S=M||w(m),L=m?A?w("entries"):S:void 0,E="Array"==t&&k.entries||M;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,x,!0),i||"function"==typeof _[d]||s(_,d,f)),A&&M&&"values"!==M.name&&(C=!0,S=function(){return M.call(this)}),i&&!v||!h&&!C&&k[d]||s(k,d,S),a[t]=S,a[x]=f,m)if(y={values:A?S:w("values"),keys:g?S:w("keys"),entries:L},v)for(b in y)b in k||o(k,b,y[b]);else r(r.P+r.F*(h||C),t,y);return y}},"32a6":function(e,t,n){var i=n("241e"),r=n("c3a1");n("ce7e")("keys",function(){return function(e){return r(i(e))}})},"32b3":function(e,t,n){var i=n("872a"),r=n("9638"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];o.call(e,t)&&r(s,n)&&(void 0!==n||t in e)||i(e,t,n)}},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"32f4":function(e,t,n){var i=n("2d7c"),r=n("d327"),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),i(s(e),function(t){return o.call(e,t)}))}:r;e.exports=a},"32fc":function(e,t,n){var i=n("e53d").document;e.exports=i&&i.documentElement},"335c":function(e,t,n){var i=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"33de":function(e,t,n){var i;try{i={clone:n("b8ce"),constant:n("72f0"),each:n("c641"),filter:n("9380"),has:n("3852"),isArray:n("6747"),isEmpty:n("13ea"),isFunction:n("9520"),isUndefined:n("4cfe"),keys:n("ec69"),map:n("dd61"),reduce:n("c5a2"),size:n("d623"),transform:n("50ca"),union:n("bfc7"),values:n("3ff1")}}catch(e){}i||(i=window._),e.exports=i},"34ac":function(e,t,n){var i=n("9520"),r=n("1368"),o=n("1a8c"),s=n("dc57"),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?h:a).test(s(e))}},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var i=n("d9f6"),r=n("aebd");e.exports=n("8e60")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},3698:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},"36c3":function(e,t,n){var i=n("335c"),r=n("25eb");e.exports=function(e){return i(r(e))}},3702:function(e,t,n){var i=n("481b"),r=n("5168")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},3729:function(e,t,n){var i=n("9e69"),r=n("00fd"),o=n("29f3"),s="[object Null]",a="[object Undefined]",l=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?a:s:l&&l in Object(e)?r(e):o(e)}},"37c8":function(e,t,n){t.f=n("2b4c")},3818:function(e,t,n){var i=n("7e64"),r=n("8057"),o=n("32b3"),s=n("5b01"),a=n("0f0f"),l=n("e538"),c=n("4359"),u=n("54eb"),d=n("1041"),h=n("a994"),f=n("1bac"),p=n("42a2"),m=n("c87c"),g=n("c2b6"),v=n("fa21"),y=n("6747"),b=n("0d24"),_=n("cc45"),w=n("1a8c"),x=n("d7ee"),A=n("ec69"),C=1,k=2,M=4,S="[object Arguments]",L="[object Function]",E="[object GeneratorFunction]",D="[object Object]",T={};T[S]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[D]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[L]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,I,j,O,F){var N,Y=n&C,P=n&k,R=n&M;if(I&&(N=O?I(t,j,O,F):I(t)),void 0!==N)return N;if(!w(t))return t;var B=y(t);if(B){if(N=m(t),!Y)return c(t,N)}else{var H=p(t),z=H==L||H==E;if(b(t))return l(t,Y);if(H==D||H==S||z&&!O){if(N=P||z?{}:v(t),!Y)return P?d(t,a(N,t)):u(t,s(N,t))}else{if(!T[H])return O?t:{};N=g(t,H,Y)}}F||(F=new i);var $=F.get(t);if($)return $;F.set(t,N),x(t)?t.forEach(function(i){N.add(e(i,n,I,i,t,F))}):_(t)&&t.forEach(function(i,r){N.set(r,e(i,n,I,r,t,F))});var W=R?P?f:h:P?keysIn:A,G=B?void 0:W(t);return r(G||t,function(i,r){G&&(i=t[r=i]),o(N,r,e(i,n,I,r,t,F))}),N}},3852:function(e,t,n){var i=n("96f3"),r=n("e2c0");e.exports=function(e,t){return null!=e&&r(e,t,i)}},"386b":function(e,t,n){var i=n("5ca1"),r=n("79e5"),o=n("be13"),s=/"/g,a=function(e,t,n,i){var r=String(o(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(i).replace(s,""")+'"'),a+">"+r+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(a),i(i.P+i.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38e2":function(e,t,n){var i=n("6f9c"),r=n("1f3a"),o=n("d9f3"),s=n("f352");e.exports=function e(t,n,a,l){var c=t.children(n),u=t.node(n),d=u?u.borderLeft:void 0,h=u?u.borderRight:void 0,f={};d&&(c=i.filter(c,function(e){return e!==d&&e!==h}));var p=r(t,c);i.forEach(p,function(n){if(t.children(n.v).length){var r=e(t,n.v,a,l);f[n.v]=r,i.has(r,"barycenter")&&(o=n,s=r,i.isUndefined(o.barycenter)?(o.barycenter=s.barycenter,o.weight=s.weight):(o.barycenter=(o.barycenter*o.weight+s.barycenter*s.weight)/(o.weight+s.weight),o.weight+=s.weight))}var o,s});var m=o(p,a);!function(e,t){i.forEach(e,function(e){e.vs=i.flatten(e.vs.map(function(e){return t[e]?t[e].vs:e}),!0)})}(m,f);var g=s(m,l);if(d&&(g.vs=i.flatten([d,g.vs,h],!0),t.predecessors(d).length)){var v=t.node(t.predecessors(d)[0]),y=t.node(t.predecessors(h)[0]);i.has(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+v.order+y.order)/(g.weight+2),g.weight+=2}return g}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"39ff":function(e,t,n){var i=n("0b07")(n("2b3e"),"WeakMap");e.exports=i},"3a38":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("2d00"),s=n("37c8"),a=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},"3b4a":function(e,t,n){var i=n("0b07"),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},"3bb4":function(e,t,n){var i=n("08cc"),r=n("ec69");e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],s=e[o];t[n]=[o,s,i(s)]}return t}},"3ca1":function(e,t,n){},"3ff1":function(e,t,n){var i=n("266a"),r=n("ec69");e.exports=function(e){return null==e?[]:i(e,r(e))}},"408c":function(e,t,n){var i=n("2b3e");e.exports=function(){return i.Date.now()}},"40c3":function(e,t,n){var i=n("6b4c"),r=n("5168")("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},"41c3":function(e,t,n){var i=n("1a8c"),r=n("eac5"),o=n("ec8c"),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return o(e);var t=r(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}},4245:function(e,t,n){var i=n("1290");e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},42454:function(e,t,n){var i=n("f909"),r=n("2ec1")(function(e,t,n){i(e,t,n)});e.exports=r},4284:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},"42a2":function(e,t,n){var i=n("b5a7"),r=n("79bc"),o=n("1cec"),s=n("c869"),a=n("39ff"),l=n("3729"),c=n("dc57"),u=c(i),d=c(r),h=c(o),f=c(s),p=c(a),m=l;(i&&"[object DataView]"!=m(new i(new ArrayBuffer(1)))||r&&"[object Map]"!=m(new r)||o&&"[object Promise]"!=m(o.resolve())||s&&"[object Set]"!=m(new s)||a&&"[object WeakMap]"!=m(new a))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case u:return"[object DataView]";case d:return"[object Map]";case h:return"[object Promise]";case f:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},4359:function(e,t){e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},"43e8":function(e,t,n){var i=n("8185");e.exports=function(e){try{i(e)}catch(e){if(e instanceof i.CycleException)return!1;throw e}return!0}},4416:function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},"454f":function(e,t,n){n("46a7");var i=n("584a").Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4589:function(e,t){function n(){var e={};e._next=e._prev=e,this._sentinel=e}function i(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function r(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=n,n.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return i(t),t},n.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&i(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},n.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,r)),n=n._prev;return"["+e.join(", ")+"]"}},"45ee":function(e,t,n){"use strict";var i=n("6f9c"),r=n("b50e");e.exports={run:function(e){e.graph().dummyChains=[],i.forEach(e.edges(),function(t){!function(e,t){var n,i,o,s=t.v,a=e.node(s).rank,l=t.w,c=e.node(l).rank,u=t.name,d=e.edge(t),h=d.labelRank;if(c!==a+1){for(e.removeEdge(t),o=0,++a;a<c;++o,++a)d.points=[],i={width:0,height:0,edgeLabel:d,edgeObj:t,rank:a},n=r.addDummyNode(e,"edge",i,"_d"),a===h&&(i.width=d.width,i.height=d.height,i.dummy="edge-label",i.labelpos=d.labelpos),e.setEdge(s,n,{weight:d.weight},u),0===o&&e.graph().dummyChains.push(n),s=n;e.setEdge(s,l,{weight:d.weight},u)}}(e,t)})},undo:function(e){i.forEach(e.graph().dummyChains,function(t){var n,i=e.node(t),r=i.edgeLabel;for(e.setEdge(i.edgeObj,r);i.dummy;)n=e.successors(t)[0],e.removeNode(t),r.points.push({x:i.x,y:i.y}),"edge-label"===i.dummy&&(r.x=i.x,r.y=i.y,r.width=i.width,r.height=i.height),t=n,i=e.node(t)})}}},"45f2":function(e,t,n){var i=n("d9f6").f,r=n("07e3"),o=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"46a7":function(e,t,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},4796:function(e,t){var n=Math.ceil,i=Math.max;e.exports=function(e,t,r,o){for(var s=-1,a=i(n((t-e)/(r||1)),0),l=Array(a);a--;)l[o?a:++s]=e,e+=r;return l}},"47e6":function(e,t,n){"use strict";var i=n("7b8e");n.n(i).a},"47ee":function(e,t,n){var i=n("c3a1"),r=n("9aa9"),o=n("355d");e.exports=function(e){var t=i(e),n=r.f;if(n)for(var s,a=n(e),l=o.f,c=0;a.length>c;)l.call(e,s=a[c++])&&t.push(s);return t}},"47f5":function(e,t,n){var i=n("2b03"),r=n("d9a8"),o=n("099a");e.exports=function(e,t,n){return t==t?o(e,t,n):i(e,r,n)}},"481b":function(e,t){e.exports={}},"48a0":function(e,t,n){var i=n("242e"),r=n("950a")(i);e.exports=r},"49f4":function(e,t,n){var i=n("6044");e.exports=function(){this.__data__=i?i(null):{},this.size=0}},"4b17":function(e,t,n){var i=n("6428");e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4cfe":function(e,t){e.exports=function(e){return void 0===e}},"4d8c":function(e,t,n){var i=n("5c69");e.exports=function(e){return null!=e&&e.length?i(e,1):[]}},"4ee1":function(e,t,n){var i=n("5168")("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(e){}return n}},"4f17":function(e,t,n){var i=n("df2e");e.exports=function(e,t){return i(e,t,"post")}},"4f50":function(e,t,n){var i=n("b760"),r=n("e538"),o=n("c8fe"),s=n("4359"),a=n("fa21"),l=n("d370"),c=n("6747"),u=n("dcbe"),d=n("0d24"),h=n("9520"),f=n("1a8c"),p=n("60ed"),m=n("73ac"),g=n("8adb"),v=n("8de2");e.exports=function(e,t,n,y,b,_,w){var x=g(e,n),A=g(t,n),C=w.get(A);if(C)i(e,n,C);else{var k=_?_(x,A,n+"",e,t,w):void 0,M=void 0===k;if(M){var S=c(A),L=!S&&d(A),E=!S&&!L&&m(A);k=A,S||L||E?c(x)?k=x:u(x)?k=s(x):L?(M=!1,k=r(A,!0)):E?(M=!1,k=o(A,!0)):k=[]:p(A)||l(A)?(k=x,l(x)?k=v(x):f(x)&&!h(x)||(k=a(A))):M=!1}M&&(w.set(A,k),b(k,A,y,_,w),w.delete(A)),i(e,n,k)}}},"50ca":function(e,t,n){var i=n("8057"),r=n("7530"),o=n("242e"),s=n("badf"),a=n("2dcb"),l=n("6747"),c=n("0d24"),u=n("9520"),d=n("1a8c"),h=n("73ac");e.exports=function(e,t,n){var f=l(e),p=f||c(e)||h(e);if(t=s(t,4),null==n){var m=e&&e.constructor;n=p?f?new m:[]:d(e)&&u(m)?r(a(e)):{}}return(p?i:o)(e,function(e,i,r){return t(n,e,i,r)}),n}},"50d8":function(e,t){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5168:function(e,t,n){var i=n("dbdb")("wks"),r=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},"51f5":function(e,t,n){var i=n("2b03"),r=n("badf"),o=n("4b17"),s=Math.max;e.exports=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var l=null==n?0:o(n);return l<0&&(l=s(a+l,0)),i(e,r(t,3),l)}},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"53e2":function(e,t,n){var i=n("07e3"),r=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},5492:function(e,t,n){var i=n("32b3"),r=n("d70d");e.exports=function(e,t){return r(e||[],t||[],i)}},"549b":function(e,t,n){"use strict";var i=n("d864"),r=n("63b6"),o=n("241e"),s=n("b0dc"),a=n("3702"),l=n("b447"),c=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(h);if(g&&(m=i(m,p>2?arguments[2]:void 0,2)),null==y||f==Array&&a(y))for(n=new f(t=l(h.length));t>v;v++)c(n,v,g?m(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(r=d.next()).done;v++)c(n,v,g?s(d,m,[r.value,v],!0):r.value);return n.length=v,n}})},"54a1":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("95d5")},"54eb":function(e,t,n){var i=n("8eeb"),r=n("32f4");e.exports=function(e,t){return i(e,r(e),t)}},5537:function(e,t,n){var i=n("8378"),r=n("7726"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var i=n("dbdb")("keys"),r=n("62a0");e.exports=function(e){return i[e]||(i[e]=r(e))}},"55a3":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"577e":function(e,t,n){},"57a5":function(e,t,n){var i=n("91e9")(Object.keys,Object);e.exports=i},"57dc":function(e,t){e.exports=function(e,t){return e>t}},"584a":function(e,t){var n=e.exports={version:"2.6.8"};"number"==typeof __e&&(__e=n)},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},"58f7":function(e,t){e.exports=function(e,t,n,i,r){return r(e,function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)}),n}},"5a3a":function(e,t,n){var i=n("1cba")();e.exports=i},"5b01":function(e,t,n){var i=n("8eeb"),r=n("ec69");e.exports=function(e,t){return e&&i(t,r(t),e)}},"5b4e":function(e,t,n){var i=n("36c3"),r=n("b447"),o=n("0fc9");e.exports=function(e){return function(t,n,s){var a,l=i(t),c=r(l.length),u=o(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"5c69":function(e,t,n){var i=n("087d"),r=n("0621");e.exports=function e(t,n,o,s,a){var l=-1,c=t.length;for(o||(o=r),a||(a=[]);++l<c;){var u=t[l];n>0&&o(u)?n>1?e(u,n-1,o,s,a):i(a,u):s||(a[a.length]=u)}return a}},"5ca0":function(e,t,n){var i=n("badf"),r=n("30c9"),o=n("ec69");e.exports=function(e){return function(t,n,s){var a=Object(t);if(!r(t)){var l=i(n,3);t=o(t),n=function(e){return l(a[e],e,a)}}var c=e(t,n,s);return c>-1?a[l?t[c]:c]:void 0}}},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),l=function(e,t,n){var c,u,d,h,f=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=p?i:m?i[t]||(i[t]={}):(i[t]||{}).prototype,b=p?r:r[t]||(r[t]={}),_=b.prototype||(b.prototype={});for(c in p&&(n=t),n)d=((u=!f&&y&&void 0!==y[c])?y:n)[c],h=v&&u?a(d,i):g&&"function"==typeof d?a(Function.call,d):d,y&&s(y,c,d,e&l.U),b[c]!=d&&o(b,c,h),g&&_[c]!=d&&(_[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5d89":function(e,t,n){var i=n("f8af");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},"5e2e":function(e,t,n){var i=n("28c9"),r=n("69d5"),o=n("b4c0"),s=n("fba5"),a=n("67ca");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},"5edf":function(e,t){e.exports=function(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}},6044:function(e,t,n){var i=n("0b07")(Object,"create");e.exports=i},"60ed":function(e,t,n){var i=n("3729"),r=n("2dcb"),o=n("1310"),s="[object Object]",a=Function.prototype,l=Object.prototype,c=a.toString,u=l.hasOwnProperty,d=c.call(Object);e.exports=function(e){if(!o(e)||i(e)!=s)return!1;var t=r(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"61e9":function(e,t,n){var i=n("33de"),r=n("9671"),o=n("01eb");e.exports=function(e,t){var n,s=new r,a={},l=new o;function c(e){var i=e.v===n?e.w:e.v,r=l.priority(i);if(void 0!==r){var o=t(e);o<r&&(a[i]=n,l.decrease(i,o))}}if(0===e.nodeCount())return s;i.each(e.nodes(),function(e){l.add(e,Number.POSITIVE_INFINITY),s.setNode(e)}),l.decrease(e.nodes()[0],0);for(var u=!1;l.size()>0;){if(n=l.removeMin(),i.has(a,n))s.setEdge(n,a[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(c)}return s}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"63b6":function(e,t,n){var i=n("e53d"),r=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),l=function(e,t,n){var c,u,d,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=f?r:r[t]||(r[t]={}),b=y.prototype,_=f?i:p?i[t]:(i[t]||{}).prototype;for(c in f&&(n=t),n)(u=!h&&_&&void 0!==_[c])&&a(y,c)||(d=u?_[c]:n[c],y[c]=f&&"function"!=typeof _[c]?n[c]:g&&u?o(d,i):v&&_[c]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[c]=d,e&l.R&&b&&!b[c]&&s(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},6428:function(e,t,n){var i=n("b4b0"),r=1/0,o=17976931348623157e292;e.exports=function(e){return e?(e=i(e))===r||e===-r?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},"642a":function(e,t,n){var i=n("966f"),r=n("3bb4"),o=n("20ec");e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},"656b":function(e,t,n){var i=n("e2e4"),r=n("f4d6");e.exports=function(e,t){for(var n=0,o=(t=i(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},6718:function(e,t,n){var i=n("e53d"),r=n("584a"),o=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},6736:function(e,t,n){var i=n("33de");e.exports=function(e,t,n){return function(e,t,n){var i={},r=e.nodes();return r.forEach(function(e){i[e]={},i[e][e]={distance:0},r.forEach(function(t){e!==t&&(i[e][t]={distance:Number.POSITIVE_INFINITY})}),n(e).forEach(function(n){var r=n.v===e?n.w:n.v,o=t(n);i[e][r]={distance:o,predecessor:e}})}),r.forEach(function(e){var t=i[e];r.forEach(function(n){var o=i[n];r.forEach(function(n){var i=o[e],r=t[n],s=o[n],a=i.distance+r.distance;a<s.distance&&(s.distance=a,s.predecessor=r.predecessor)})})}),i}(e,t||r,n||function(t){return e.outEdges(t)})};var r=i.constant(1)},6747:function(e,t){var n=Array.isArray;e.exports=n},6751:function(e,t,n){var i=n("c9ca"),r=n("aaec"),o=n("ab81");e.exports=function(e){return r(e)?o(e):i(e)}},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),o=n("69a8"),s=n("86cc").f,a=0,l=Object.isExtensible||function(){return!0},c=!n("79e5")(function(){return l(Object.preventExtensions({}))}),u=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!o(e,i)&&u(e),e}}},"67ca":function(e,t,n){var i=n("cb5a");e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d5":function(e,t,n){var i=n("cb5a"),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},"6a5c":function(e,t,n){var i=n("7948"),r=n("badf"),o=n("97d3"),s=n("d4b2"),a=n("b047"),l=n("2164"),c=n("cd9d");e.exports=function(e,t,n){var u=-1;t=i(t.length?t:[c],a(r));var d=o(e,function(e,n,r){return{criteria:i(t,function(t){return t(e)}),index:++u,value:e}});return s(d,function(e,t){return l(e,t,n)})}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6abf":function(e,t,n){var i=n("e6f3"),r=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"6ac0":function(e,t){e.exports=function(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6c1c":function(e,t,n){n("c367");for(var i=n("e53d"),r=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=i[c],d=u&&u.prototype;d&&!d[s]&&r(d,s,c),o[c]=o.Array}},"6cd4":function(e,t,n){var i=n("8057"),r=n("48a0"),o=n("1304"),s=n("6747");e.exports=function(e,t){return(s(e)?i:r)(e,o(t))}},"6f6c":function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},"6f9c":function(e,t,n){var i;try{i={cloneDeep:n("0644"),constant:n("72f0"),defaults:n("95ae"),each:n("c641"),filter:n("9380"),find:n("2769"),flatten:n("4d8c"),forEach:n("6cd4"),forIn:n("9948"),has:n("3852"),isUndefined:n("4cfe"),last:n("4416"),map:n("dd61"),mapValues:n("9e86"),max:n("abdd"),merge:n("42454"),min:n("004e"),minBy:n("80f6"),now:n("408c"),pick:n("2593"),range:n("5a3a"),reduce:n("c5a2"),sortBy:n("c707"),uniqueId:n("98dc"),values:n("3ff1"),zipObject:n("5492")}}catch(e){}i||(i=window._),e.exports=i},"6fcd":function(e,t,n){var i=n("50d8"),r=n("d370"),o=n("6747"),s=n("0d24"),a=n("c098"),l=n("73ac"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&r(e),d=!n&&!u&&s(e),h=!n&&!u&&!d&&l(e),f=n||u||d||h,p=f?i(e.length,String):[],m=p.length;for(var g in e)!t&&!c.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}},"71c1":function(e,t,n){var i=n("3a38"),r=n("25eb");e.exports=function(e){return function(t,n){var o,s,a=String(r(t)),l=i(n),c=a.length;return l<0||l>=c?e?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):o:e?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}}},"72af":function(e,t,n){var i=n("99cd")();e.exports=i},"72f0":function(e,t){e.exports=function(e){return function(){return e}}},"73ac":function(e,t,n){var i=n("743f"),r=n("b047"),o=n("99d3"),s=o&&o.isTypedArray,a=s?r(s):i;e.exports=a},"743f":function(e,t,n){var i=n("3729"),r=n("b218"),o=n("1310"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!s[i(e)]}},"74e8":function(e,t,n){"use strict";var i=n("6f9c"),r=n("1845"),o=n("e849").slack,s=n("e849").longestPath,a=n("17d5").alg.preorder,l=n("17d5").alg.postorder,c=n("b50e").simplify;function u(e){e=c(e),s(e);var t,n=r(e);for(f(n),d(n,e);t=p(n);)g(n,e,t,m(n,e,t))}function d(e,t){var n=l(e,e.nodes());n=n.slice(0,n.length-1),i.forEach(n,function(n){!function(e,t,n){var i=e.node(n).parent;e.edge(n,i).cutvalue=h(e,t,n)}(e,t,n)})}function h(e,t,n){var r=e.node(n).parent,o=!0,s=t.edge(n,r),a=0;return s||(o=!1,s=t.edge(r,n)),a=s.weight,i.forEach(t.nodeEdges(n),function(i){var s,l,c=i.v===n,u=c?i.w:i.v;if(u!==r){var d=c===o,h=t.edge(i).weight;if(a+=d?h:-h,s=n,l=u,e.hasEdge(s,l)){var f=e.edge(n,u).cutvalue;a+=d?-f:f}}}),a}function f(e,t){arguments.length<2&&(t=e.nodes()[0]),function e(t,n,r,o,s){var a=r,l=t.node(o);return n[o]=!0,i.forEach(t.neighbors(o),function(s){i.has(n,s)||(r=e(t,n,r,s,o))}),l.low=a,l.lim=r++,s?l.parent=s:delete l.parent,r}(e,{},1,t)}function p(e){return i.find(e.edges(),function(t){return e.edge(t).cutvalue<0})}function m(e,t,n){var r=n.v,s=n.w;t.hasEdge(r,s)||(r=n.w,s=n.v);var a=e.node(r),l=e.node(s),c=a,u=!1;a.lim>l.lim&&(c=l,u=!0);var d=i.filter(t.edges(),function(t){return u===v(0,e.node(t.v),c)&&u!==v(0,e.node(t.w),c)});return i.minBy(d,function(e){return o(t,e)})}function g(e,t,n,r){var o=n.v,s=n.w;e.removeEdge(o,s),e.setEdge(r.v,r.w,{}),f(e),d(e,t),function(e,t){var n=i.find(e.nodes(),function(e){return!t.node(e).parent}),r=a(e,n);r=r.slice(1),i.forEach(r,function(n){var i=e.node(n).parent,r=t.edge(n,i),o=!1;r||(r=t.edge(i,n),o=!0),t.node(n).rank=t.node(i).rank+(o?r.minlen:-r.minlen)})}(e,t)}function v(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=f,u.initCutValues=d,u.calcCutValue=h,u.leaveEdge=p,u.enterEdge=m,u.exchangeEdges=g},"750a":function(e,t,n){var i=n("c869"),r=n("bcdf"),o=n("ac41"),s=i&&1/o(new i([,-0]))[1]==1/0?function(e){return new i(e)}:r;e.exports=s},7530:function(e,t,n){var i=n("1a8c"),r=Object.create,o=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},"76dd":function(e,t,n){var i=n("ce86");e.exports=function(e){return null==e?"":i(e)}},"76e9":function(e,t,n){var i=n("ffd6");e.exports=function(e,t,n){for(var r=-1,o=e.length;++r<o;){var s=e[r],a=t(s);if(null!=a&&(void 0===l?a==a&&!i(a):n(a,l)))var l=a,c=s}return c}},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(e,t,n){e.exports=n("d2d5")},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},7948:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")(function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79bc":function(e,t,n){var i=n("0b07")(n("2b3e"),"Map");e.exports=i},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7a48":function(e,t,n){var i=n("6044"),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},"7a9c":function(e,t,n){"use strict";var i=n("6f9c"),r=n("a6d1"),o=n("45ee"),s=n("0b8b"),a=n("b50e").normalizeRanks,l=n("f1cd"),c=n("b50e").removeEmptyRanks,u=n("251a"),d=n("220e"),h=n("a864"),f=n("2a9f"),p=n("2325"),m=n("b50e"),g=n("17d5").Graph;e.exports=function(e,t){var n=t&&t.debugTiming?m.time:m.notime;n("layout",function(){var t=n(" buildLayoutGraph",function(){return function(e){var t=new g({multigraph:!0,compound:!0}),n=M(e.graph());return t.setGraph(i.merge({},y,k(n,v),i.pick(n,b))),i.forEach(e.nodes(),function(n){var r=M(e.node(n));t.setNode(n,i.defaults(k(r,_),w)),t.setParent(n,e.parent(n))}),i.forEach(e.edges(),function(n){var r=M(e.edge(n));t.setEdge(n,i.merge({},A,k(r,x),i.pick(r,C)))}),t}(e)});n(" runLayout",function(){!function(e,t){t(" makeSpaceForEdgeLabels",function(){!function(e){var t=e.graph();t.ranksep/=2,i.forEach(e.edges(),function(n){var i=e.edge(n);i.minlen*=2,"c"!==i.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset)})}(e)}),t(" removeSelfEdges",function(){!function(e){i.forEach(e.edges(),function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}})}(e)}),t(" acyclic",function(){r.run(e)}),t(" nestingGraph.run",function(){u.run(e)}),t(" rank",function(){s(m.asNonCompoundGraph(e))}),t(" injectEdgeLabelProxies",function(){!function(e){i.forEach(e.edges(),function(t){var n=e.edge(t);if(n.width&&n.height){var i=e.node(t.v),r={rank:(e.node(t.w).rank-i.rank)/2+i.rank,e:t};m.addDummyNode(e,"edge-proxy",r,"_ep")}})}(e)}),t(" removeEmptyRanks",function(){c(e)}),t(" nestingGraph.cleanup",function(){u.cleanup(e)}),t(" normalizeRanks",function(){a(e)}),t(" assignRankMinMax",function(){!function(e){var t=0;i.forEach(e.nodes(),function(n){var r=e.node(n);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,t=i.max(t,r.maxRank))}),e.graph().maxRank=t}(e)}),t(" removeEdgeLabelProxies",function(){!function(e){i.forEach(e.nodes(),function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))})}(e)}),t(" normalize.run",function(){o.run(e)}),t(" parentDummyChains",function(){l(e)}),t(" addBorderSegments",function(){d(e)}),t(" order",function(){f(e)}),t(" insertSelfEdges",function(){!function(e){var t=m.buildLayerMatrix(e);i.forEach(t,function(t){var n=0;i.forEach(t,function(t,r){var o=e.node(t);o.order=r+n,i.forEach(o.selfEdges,function(t){m.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:r+ ++n,e:t.e,label:t.label},"_se")}),delete o.selfEdges})})}(e)}),t(" adjustCoordinateSystem",function(){h.adjust(e)}),t(" position",function(){p(e)}),t(" positionSelfEdges",function(){!function(e){i.forEach(e.nodes(),function(t){var n=e.node(t);if("selfedge"===n.dummy){var i=e.node(n.e.v),r=i.x+i.width/2,o=i.y,s=n.x-r,a=i.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:r+2*s/3,y:o-a},{x:r+5*s/6,y:o-a},{x:r+s,y:o},{x:r+5*s/6,y:o+a},{x:r+2*s/3,y:o+a}],n.label.x=n.x,n.label.y=n.y}})}(e)}),t(" removeBorderNodes",function(){!function(e){i.forEach(e.nodes(),function(t){if(e.children(t).length){var n=e.node(t),r=e.node(n.borderTop),o=e.node(n.borderBottom),s=e.node(i.last(n.borderLeft)),a=e.node(i.last(n.borderRight));n.width=Math.abs(a.x-s.x),n.height=Math.abs(o.y-r.y),n.x=s.x+n.width/2,n.y=r.y+n.height/2}}),i.forEach(e.nodes(),function(t){"border"===e.node(t).dummy&&e.removeNode(t)})}(e)}),t(" normalize.undo",function(){o.undo(e)}),t(" fixupEdgeLabelCoords",function(){!function(e){i.forEach(e.edges(),function(t){var n=e.edge(t);if(i.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(e)}),t(" undoCoordinateSystem",function(){h.undo(e)}),t(" translateGraph",function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,o=0,s=e.graph(),a=s.marginx||0,l=s.marginy||0;function c(e){var i=e.x,s=e.y,a=e.width,l=e.height;t=Math.min(t,i-a/2),n=Math.max(n,i+a/2),r=Math.min(r,s-l/2),o=Math.max(o,s+l/2)}i.forEach(e.nodes(),function(t){c(e.node(t))}),i.forEach(e.edges(),function(t){var n=e.edge(t);i.has(n,"x")&&c(n)}),t-=a,r-=l,i.forEach(e.nodes(),function(n){var i=e.node(n);i.x-=t,i.y-=r}),i.forEach(e.edges(),function(n){var o=e.edge(n);i.forEach(o.points,function(e){e.x-=t,e.y-=r}),i.has(o,"x")&&(o.x-=t),i.has(o,"y")&&(o.y-=r)}),s.width=n-t+a,s.height=o-r+l}(e)}),t(" assignNodeIntersects",function(){!function(e){i.forEach(e.edges(),function(t){var n,i,r=e.edge(t),o=e.node(t.v),s=e.node(t.w);r.points?(n=r.points[0],i=r.points[r.points.length-1]):(r.points=[],n=s,i=o),r.points.unshift(m.intersectRect(o,n)),r.points.push(m.intersectRect(s,i))})}(e)}),t(" reversePoints",function(){!function(e){i.forEach(e.edges(),function(t){var n=e.edge(t);n.reversed&&n.points.reverse()})}(e)}),t(" acyclic.undo",function(){r.undo(e)})}(t,n)}),n(" updateInputGraph",function(){!function(e,t){i.forEach(e.nodes(),function(n){var i=e.node(n),r=t.node(n);i&&(i.x=r.x,i.y=r.y,t.children(n).length&&(i.width=r.width,i.height=r.height))}),i.forEach(e.edges(),function(n){var r=e.edge(n),o=t.edge(n);r.points=o.points,i.has(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)})})};var v=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],_=["width","height"],w={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],A={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},C=["labelpos"];function k(e,t){return i.mapValues(i.pick(e,t),Number)}function M(e){var t={};return i.forEach(e,function(e,n){t[n.toLowerCase()]=e}),t}},"7b83":function(e,t,n){var i=n("7c64"),r=n("93ed"),o=n("2478"),s=n("a524"),a=n("1fc8");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},"7b8e":function(e,t,n){},"7b97":function(e,t,n){var i=n("7e64"),r=n("a2be"),o=n("1c3c"),s=n("b1e5"),a=n("42a2"),l=n("6747"),c=n("0d24"),u=n("73ac"),d=1,h="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,v,y){var b=l(e),_=l(t),w=b?f:a(e),x=_?f:a(t),A=(w=w==h?p:w)==p,C=(x=x==h?p:x)==p,k=w==x;if(k&&c(e)){if(!c(t))return!1;b=!0,A=!1}if(k&&!A)return y||(y=new i),b||u(e)?r(e,t,n,g,v,y):o(e,t,w,n,g,v,y);if(!(n&d)){var M=A&&m.call(e,"__wrapped__"),S=C&&m.call(t,"__wrapped__");if(M||S){var L=M?e.value():e,E=S?t.value():t;return y||(y=new i),v(L,E,n,g,y)}}return!!k&&(y||(y=new i),s(e,t,n,g,v,y))}},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?function(e){try{return r(e)}catch(e){return s.slice()}}(e):r(i(e))}},"7c64":function(e,t,n){var i=n("e24b"),r=n("5e2e"),o=n("79bc");e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},"7cd6":function(e,t,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"7d1f":function(e,t,n){var i=n("087d"),r=n("6747");e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},"7e64":function(e,t,n){var i=n("5e2e"),r=n("efb6"),o=n("2fcc"),s=n("802a"),a=n("55a3"),l=n("d02c");function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,e.exports=c},"7e90":function(e,t,n){var i=n("d9f6"),r=n("e4ae"),o=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,l=0;a>l;)i.f(e,n=s[l++],t[n]);return e}},"7ed2":function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},"802a":function(e,t){e.exports=function(e){return this.__data__.get(e)}},8057:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}},"80f6":function(e,t,n){var i=n("76e9"),r=n("badf"),o=n("8d20");e.exports=function(e,t){return e&&e.length?i(e,r(t,2),o):void 0}},8185:function(e,t,n){var i=n("33de");function r(e){var t={},n={},r=[];if(i.each(e.sinks(),function s(a){if(i.has(n,a))throw new o;i.has(t,a)||(n[a]=!0,t[a]=!0,i.each(e.predecessors(a),s),delete n[a],r.push(a))}),i.size(t)!==e.nodeCount())throw new o;return r}function o(){}e.exports=r,r.CycleException=o,o.prototype=new Error},8378:function(e,t){var n=e.exports={version:"2.6.8"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},8449:function(e,t,n){"use strict";n("386b")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},"84f2":function(e,t){e.exports={}},"85e3":function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},"85f2":function(e,t,n){e.exports=n("454f")},8604:function(e,t,n){var i=n("26e8"),r=n("e2c0");e.exports=function(e,t){return null!=e&&r(e,t,i)}},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"872a":function(e,t,n){var i=n("3b4a");e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},8817:function(e,t,n){var i=n("6f9c"),r=n("17d5").Graph;e.exports=function(e,t,n){var o=function(e){for(var t;e.hasNode(t=i.uniqueId("_root")););return t}(e),s=new r({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(t){return e.node(t)});return i.forEach(e.nodes(),function(r){var a=e.node(r),l=e.parent(r);(a.rank===t||a.minRank<=t&&t<=a.maxRank)&&(s.setNode(r),s.setParent(r,l||o),i.forEach(e[n](r),function(t){var n=t.v===r?t.w:t.v,o=s.edge(n,r),a=i.isUndefined(o)?0:o.weight;s.setEdge(n,r,{weight:e.edge(t).weight+a})}),i.has(a,"minRank")&&s.setNode(r,{borderLeft:a.borderLeft[t],borderRight:a.borderRight[t]}))}),s}},"89d9":function(e,t,n){var i=n("656b"),r=n("159a"),o=n("e2e4");e.exports=function(e,t,n){for(var s=-1,a=t.length,l={};++s<a;){var c=t[s],u=i(e,c);n(u,c)&&r(l,o(c,e),u)}return l}},"8a81":function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("9e1e"),s=n("5ca1"),a=n("2aba"),l=n("67ab").KEY,c=n("79e5"),u=n("5537"),d=n("7f20"),h=n("ca5a"),f=n("2b4c"),p=n("37c8"),m=n("3a72"),g=n("d4c0"),v=n("1169"),y=n("cb7c"),b=n("d3f4"),_=n("4bf8"),w=n("6821"),x=n("6a99"),A=n("4630"),C=n("2aeb"),k=n("7bbc"),M=n("11e9"),S=n("2621"),L=n("86cc"),E=n("0d58"),D=M.f,T=L.f,I=k.f,j=i.Symbol,O=i.JSON,F=O&&O.stringify,N=f("_hidden"),Y=f("toPrimitive"),P={}.propertyIsEnumerable,R=u("symbol-registry"),B=u("symbols"),H=u("op-symbols"),z=Object.prototype,$="function"==typeof j&&!!S.f,W=i.QObject,G=!W||!W.prototype||!W.prototype.findChild,V=o&&c(function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=D(z,t);i&&delete z[t],T(e,t,n),i&&e!==z&&T(z,t,i)}:T,U=function(e){var t=B[e]=C(j.prototype);return t._k=e,t},Z=$&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},X=function(e,t,n){return e===z&&X(H,t,n),y(e),t=x(t,!0),y(n),r(B,t)?(n.enumerable?(r(e,N)&&e[N][t]&&(e[N][t]=!1),n=C(n,{enumerable:A(0,!1)})):(r(e,N)||T(e,N,A(1,{})),e[N][t]=!0),V(e,t,n)):T(e,t,n)},Q=function(e,t){y(e);for(var n,i=g(t=w(t)),r=0,o=i.length;o>r;)X(e,n=i[r++],t[n]);return e},K=function(e){var t=P.call(this,e=x(e,!0));return!(this===z&&r(B,e)&&!r(H,e))&&(!(t||!r(this,e)||!r(B,e)||r(this,N)&&this[N][e])||t)},J=function(e,t){if(e=w(e),t=x(t,!0),e!==z||!r(B,t)||r(H,t)){var n=D(e,t);return!n||!r(B,t)||r(e,N)&&e[N][t]||(n.enumerable=!0),n}},q=function(e){for(var t,n=I(w(e)),i=[],o=0;n.length>o;)r(B,t=n[o++])||t==N||t==l||i.push(t);return i},ee=function(e){for(var t,n=e===z,i=I(n?H:w(e)),o=[],s=0;i.length>s;)!r(B,t=i[s++])||n&&!r(z,t)||o.push(B[t]);return o};$||(a((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(H,n),r(this,N)&&r(this[N],e)&&(this[N][e]=!1),V(this,e,A(1,n))};return o&&G&&V(z,e,{configurable:!0,set:t}),U(e)}).prototype,"toString",function(){return this._k}),M.f=J,L.f=X,n("9093").f=k.f=q,n("52a7").f=K,S.f=ee,o&&!n("2d00")&&a(z,"propertyIsEnumerable",K,!0),p.f=function(e){return U(f(e))}),s(s.G+s.W+s.F*!$,{Symbol:j});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var ie=E(f.store),re=0;ie.length>re;)m(ie[re++]);s(s.S+s.F*!$,"Symbol",{for:function(e){return r(R,e+="")?R[e]:R[e]=j(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),s(s.S+s.F*!$,"Object",{create:function(e,t){return void 0===t?C(e):Q(C(e),t)},defineProperty:X,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:q,getOwnPropertySymbols:ee});var oe=c(function(){S.f(1)});s(s.S+s.F*oe,"Object",{getOwnPropertySymbols:function(e){return S.f(_(e))}}),O&&s(s.S+s.F*(!$||c(function(){var e=j();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!Z(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Z(t))return t}),i[1]=t,F.apply(O,i)}}),j.prototype[Y]||n("32e9")(j.prototype,Y,j.prototype.valueOf),d(j,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"8aae":function(e,t,n){n("32a6"),e.exports=n("584a").Object.keys},"8adb":function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},"8c55":function(e,t,n){"use strict";var i=n("6f9c"),r=n("17d5").Graph,o=n("b50e");function s(e,t){var n={};return i.reduce(t,function(t,r){var o=0,s=0,a=t.length,c=i.last(r);return i.forEach(r,function(t,u){var d=function(e,t){if(e.node(t).dummy)return i.find(e.predecessors(t),function(t){return e.node(t).dummy})}(e,t),h=d?e.node(d).order:a;(d||t===c)&&(i.forEach(r.slice(s,u+1),function(t){i.forEach(e.predecessors(t),function(i){var r=e.node(i),s=r.order;!(s<o||h<s)||r.dummy&&e.node(t).dummy||l(n,i,t)})}),s=u+1,o=h)}),r}),n}function a(e,t){var n={};function r(t,r,o,s,a){var c;i.forEach(i.range(r,o),function(r){c=t[r],e.node(c).dummy&&i.forEach(e.predecessors(c),function(t){var i=e.node(t);i.dummy&&(i.order<s||i.order>a)&&l(n,t,c)})})}return i.reduce(t,function(t,n){var o,s=-1,a=0;return i.forEach(n,function(i,l){if("border"===e.node(i).dummy){var c=e.predecessors(i);c.length&&(o=e.node(c[0]).order,r(n,a,l,s,o),a=l,s=o)}r(n,a,n.length,o,t.length)}),n}),n}function l(e,t,n){if(t>n){var i=t;t=n,n=i}var r=e[t];r||(e[t]=r={}),r[n]=!0}function c(e,t,n){if(t>n){var r=t;t=n,n=r}return i.has(e[t],n)}function u(e,t,n,r){var o={},s={},a={};return i.forEach(t,function(e){i.forEach(e,function(e,t){o[e]=e,s[e]=e,a[e]=t})}),i.forEach(t,function(e){var t=-1;i.forEach(e,function(e){var l=r(e);if(l.length)for(var u=((l=i.sortBy(l,function(e){return a[e]})).length-1)/2,d=Math.floor(u),h=Math.ceil(u);d<=h;++d){var f=l[d];s[e]===e&&t<a[f]&&!c(n,e,f)&&(s[f]=e,s[e]=o[e]=o[f],t=a[f])}})}),{root:o,align:s}}function d(e,t,n,o,s){var a={},l=function(e,t,n,o){var s=new r,a=e.graph(),l=function(e,t,n){return function(r,o,s){var a,l=r.node(o),c=r.node(s),u=0;if(u+=l.width/2,i.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":a=-l.width/2;break;case"r":a=l.width/2}if(a&&(u+=n?a:-a),a=0,u+=(l.dummy?t:e)/2,u+=(c.dummy?t:e)/2,u+=c.width/2,i.has(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":a=c.width/2;break;case"r":a=-c.width/2}return a&&(u+=n?a:-a),a=0,u}}(a.nodesep,a.edgesep,o);return i.forEach(t,function(t){var r;i.forEach(t,function(t){var i=n[t];if(s.setNode(i),r){var o=n[r],a=s.edge(o,i);s.setEdge(o,i,Math.max(l(e,t,r),a||0))}r=t})}),s}(e,t,n,s),c=s?"borderLeft":"borderRight";function u(e,t){for(var n=l.nodes(),i=n.pop(),r={};i;)r[i]?e(i):(r[i]=!0,n.push(i),n=n.concat(t(i))),i=n.pop()}return u(function(e){a[e]=l.inEdges(e).reduce(function(e,t){return Math.max(e,a[t.v]+l.edge(t))},0)},l.predecessors.bind(l)),u(function(t){var n=l.outEdges(t).reduce(function(e,t){return Math.min(e,a[t.w]-l.edge(t))},Number.POSITIVE_INFINITY),i=e.node(t);n!==Number.POSITIVE_INFINITY&&i.borderType!==c&&(a[t]=Math.max(a[t],n))},l.successors.bind(l)),i.forEach(o,function(e){a[e]=a[n[e]]}),a}function h(e,t){return i.minBy(i.values(t),function(t){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return i.forIn(t,function(t,i){var o=function(e,t){return e.node(t).width}(e,i)/2;n=Math.max(t+o,n),r=Math.min(t-o,r)}),n-r})}function f(e,t){var n=i.values(t),r=i.min(n),o=i.max(n);i.forEach(["u","d"],function(n){i.forEach(["l","r"],function(s){var a,l=n+s,c=e[l];if(c!==t){var u=i.values(c);(a="l"===s?r-i.min(u):o-i.max(u))&&(e[l]=i.mapValues(c,function(e){return e+a}))}})})}function p(e,t){return i.mapValues(e.ul,function(n,r){if(t)return e[t.toLowerCase()][r];var o=i.sortBy(i.map(e,r));return(o[1]+o[2])/2})}e.exports={positionX:function(e){var t,n=o.buildLayerMatrix(e),r=i.merge(s(e,n),a(e,n)),l={};i.forEach(["u","d"],function(o){t="u"===o?n:i.values(n).reverse(),i.forEach(["l","r"],function(n){"r"===n&&(t=i.map(t,function(e){return i.values(e).reverse()}));var s=("u"===o?e.predecessors:e.successors).bind(e),a=u(0,t,r,s),c=d(e,t,a.root,a.align,"r"===n);"r"===n&&(c=i.mapValues(c,function(e){return-e})),l[o+n]=c})});var c=h(e,l);return f(l,c),p(l,e.graph().align)},findType1Conflicts:s,findType2Conflicts:a,addConflict:l,hasConflict:c,verticalAlignment:u,horizontalCompaction:d,alignCoordinates:f,findSmallestWidthAlignment:h,balance:p}},"8d20":function(e,t){e.exports=function(e,t){return e<t}},"8db3":function(e,t,n){var i=n("47f5");e.exports=function(e,t){return!(null==e||!e.length)&&i(e,t,0)>-1}},"8de2":function(e,t,n){var i=n("8eeb"),r=n("9934");e.exports=function(e){return i(e,r(e))}},"8e60":function(e,t,n){e.exports=!n("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8eeb":function(e,t,n){var i=n("32b3"),r=n("872a");e.exports=function(e,t,n,o){var s=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var c=t[a],u=o?o(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),s?r(n,c,u):i(n,c,u)}return n}},"8f60":function(e,t,n){"use strict";var i=n("a159"),r=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},9003:function(e,t,n){var i=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==i(e)}},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},9138:function(e,t,n){e.exports=n("35e8")},"91e9":function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},9214:function(e,t){e.exports="0.8.4"},9380:function(e,t,n){var i=n("2d7c"),r=n("9f74"),o=n("badf"),s=n("6747");e.exports=function(e,t){return(s(e)?i:r)(e,o(t,3))}},"93ed":function(e,t,n){var i=n("4245");e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},"950a":function(e,t,n){var i=n("30c9");e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,s=t?o:-1,a=Object(n);(t?s--:++s<o)&&!1!==r(a[s],s,a););return n}}},9520:function(e,t,n){var i=n("3729"),r=n("1a8c"),o="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!r(e))return!1;var t=i(e);return t==s||t==a||t==o||t==l}},"95ae":function(e,t,n){var i=n("100e"),r=n("9638"),o=n("9aff"),s=n("9934"),a=Object.prototype,l=a.hasOwnProperty,c=i(function(e,t){e=Object(e);var n=-1,i=t.length,c=i>2?t[2]:void 0;for(c&&o(t[0],t[1],c)&&(i=1);++n<i;)for(var u=t[n],d=s(u),h=-1,f=d.length;++h<f;){var p=d[h],m=e[p];(void 0===m||r(m,a[p])&&!l.call(e,p))&&(e[p]=u[p])}return e});e.exports=c},"95d5":function(e,t,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");e.exports=n("584a").isIterable=function(e){var t=Object(e);return void 0!==t[r]||"@@iterator"in t||o.hasOwnProperty(i(t))}},9638:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},"966f":function(e,t,n){var i=n("7e64"),r=n("c05f"),o=1,s=2;e.exports=function(e,t,n,a){var l=n.length,c=l,u=!a;if(null==e)return!c;for(e=Object(e);l--;){var d=n[l];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++l<c;){var h=(d=n[l])[0],f=e[h],p=d[1];if(u&&d[2]){if(void 0===f&&!(h in e))return!1}else{var m=new i;if(a)var g=a(f,p,h,e,t,m);if(!(void 0===g?r(p,f,o|s,a,m):g))return!1}}return!0}},9671:function(e,t,n){"use strict";var i=n("33de");e.exports=a;var r="\0",o="\0",s="";function a(e){this._isDirected=!i.has(e,"directed")||e.directed,this._isMultigraph=!!i.has(e,"multigraph")&&e.multigraph,this._isCompound=!!i.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=i.constant(void 0),this._defaultEdgeLabelFn=i.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function l(e,t){e[t]?e[t]++:e[t]=1}function c(e,t){--e[t]||delete e[t]}function u(e,t,n,o){var a=""+t,l=""+n;if(!e&&a>l){var c=a;a=l,l=c}return a+s+l+s+(i.isUndefined(o)?r:o)}function d(e,t,n,i){var r=""+t,o=""+n;if(!e&&r>o){var s=r;r=o,o=s}var a={v:r,w:o};return i&&(a.name=i),a}function h(e,t){return u(e,t.v,t.w,t.name)}a.prototype._nodeCount=0,a.prototype._edgeCount=0,a.prototype.isDirected=function(){return this._isDirected},a.prototype.isMultigraph=function(){return this._isMultigraph},a.prototype.isCompound=function(){return this._isCompound},a.prototype.setGraph=function(e){return this._label=e,this},a.prototype.graph=function(){return this._label},a.prototype.setDefaultNodeLabel=function(e){return i.isFunction(e)||(e=i.constant(e)),this._defaultNodeLabelFn=e,this},a.prototype.nodeCount=function(){return this._nodeCount},a.prototype.nodes=function(){return i.keys(this._nodes)},a.prototype.sources=function(){var e=this;return i.filter(this.nodes(),function(t){return i.isEmpty(e._in[t])})},a.prototype.sinks=function(){var e=this;return i.filter(this.nodes(),function(t){return i.isEmpty(e._out[t])})},a.prototype.setNodes=function(e,t){var n=arguments,r=this;return i.each(e,function(e){n.length>1?r.setNode(e,t):r.setNode(e)}),this},a.prototype.setNode=function(e,t){return i.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},a.prototype.node=function(e){return this._nodes[e]},a.prototype.hasNode=function(e){return i.has(this._nodes,e)},a.prototype.removeNode=function(e){var t=this;if(i.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],i.each(this.children(e),function(e){t.setParent(e)}),delete this._children[e]),i.each(i.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],i.each(i.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},a.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(i.isUndefined(t))t=o;else{for(var n=t+="";!i.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},a.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},a.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}},a.prototype.children=function(e){if(i.isUndefined(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return i.keys(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}},a.prototype.predecessors=function(e){var t=this._preds[e];if(t)return i.keys(t)},a.prototype.successors=function(e){var t=this._sucs[e];if(t)return i.keys(t)},a.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return i.union(t,this.successors(e))},a.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},a.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;i.each(this._nodes,function(n,i){e(i)&&t.setNode(i,n)}),i.each(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))});var r={};return this._isCompound&&i.each(t.nodes(),function(e){t.setParent(e,function e(i){var o=n.parent(i);return void 0===o||t.hasNode(o)?(r[i]=o,o):o in r?r[o]:e(o)}(e))}),t},a.prototype.setDefaultEdgeLabel=function(e){return i.isFunction(e)||(e=i.constant(e)),this._defaultEdgeLabelFn=e,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return i.values(this._edgeObjs)},a.prototype.setPath=function(e,t){var n=this,r=arguments;return i.reduce(e,function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i}),this},a.prototype.setEdge=function(){var e,t,n,r,o=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(e=s.v,t=s.w,n=s.name,2===arguments.length&&(r=arguments[1],o=!0)):(e=s,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=""+e,t=""+t,i.isUndefined(n)||(n=""+n);var a=u(this._isDirected,e,t,n);if(i.has(this._edgeLabels,a))return o&&(this._edgeLabels[a]=r),this;if(!i.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[a]=o?r:this._defaultEdgeLabelFn(e,t,n);var c=d(this._isDirected,e,t,n);return e=c.v,t=c.w,Object.freeze(c),this._edgeObjs[a]=c,l(this._preds[t],e),l(this._sucs[e],t),this._in[t][a]=c,this._out[e][a]=c,this._edgeCount++,this},a.prototype.edge=function(e,t,n){var i=1===arguments.length?h(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return this._edgeLabels[i]},a.prototype.hasEdge=function(e,t,n){var r=1===arguments.length?h(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return i.has(this._edgeLabels,r)},a.prototype.removeEdge=function(e,t,n){var i=1===arguments.length?h(this._isDirected,arguments[0]):u(this._isDirected,e,t,n),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],c(this._preds[t],e),c(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this},a.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var r=i.values(n);return t?i.filter(r,function(e){return e.v===t}):r}},a.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var r=i.values(n);return t?i.filter(r,function(e){return e.w===t}):r}},a.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},"96f3":function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},"97d3":function(e,t,n){var i=n("48a0"),r=n("30c9");e.exports=function(e,t){var n=-1,o=r(e)?Array(e.length):[];return i(e,function(e,i,r){o[++n]=t(e,i,r)}),o}},"98dc":function(e,t,n){var i=n("76dd"),r=0;e.exports=function(e){var t=++r;return i(e)+t}},9934:function(e,t,n){var i=n("6fcd"),r=n("41c3"),o=n("30c9");e.exports=function(e){return o(e)?i(e,!0):r(e)}},9948:function(e,t,n){var i=n("72af"),r=n("1304"),o=n("9934");e.exports=function(e,t){return null==e?e:i(e,r(t),o)}},"99cd":function(e,t){e.exports=function(e){return function(t,n,i){for(var r=-1,o=Object(t),s=i(t),a=s.length;a--;){var l=s[e?a:++r];if(!1===n(o[l],l,o))break}return t}}},"99d3":function(e,t,n){(function(e){var i=n("585a"),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===r&&i.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a}).call(this,n("62e4")(e))},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9aff":function(e,t,n){var i=n("9638"),r=n("30c9"),o=n("c098"),s=n("1a8c");e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?r(n)&&o(t,n.length):"string"==a&&t in n)&&i(n[t],e)}},"9b02":function(e,t,n){var i=n("656b");e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;null==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e69":function(e,t,n){var i=n("2b3e").Symbol;e.exports=i},"9e86":function(e,t,n){var i=n("872a"),r=n("242e"),o=n("badf");e.exports=function(e,t){var n={};return t=o(t,3),r(e,function(e,r,o){i(n,r,t(e,r,o))}),n}},"9f74":function(e,t,n){var i=n("48a0");e.exports=function(e,t){var n=[];return i(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}},a029:function(e,t,n){var i=n("087d"),r=n("2dcb"),o=n("32f4"),s=n("d327"),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,o(e)),e=r(e);return t}:s;e.exports=a},a159:function(e,t,n){var i=n("e4ae"),r=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},l=function(){var e,t=n("1ec9")("iframe"),i=o.length;for(t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=l(),void 0===t?n:r(n,t)}},a2be:function(e,t,n){var i=n("d612"),r=n("4284"),o=n("c584"),s=1,a=2;e.exports=function(e,t,n,l,c,u){var d=n&s,h=e.length,f=t.length;if(h!=f&&!(d&&f>h))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var m=-1,g=!0,v=n&a?new i:void 0;for(u.set(e,t),u.set(t,e);++m<h;){var y=e[m],b=t[m];if(l)var _=d?l(b,y,m,t,e,u):l(y,b,m,e,t,u);if(void 0!==_){if(_)continue;g=!1;break}if(v){if(!r(t,function(e,t){if(!o(v,t)&&(y===e||c(y,e,n,l,u)))return v.push(t)})){g=!1;break}}else if(y!==b&&!c(y,b,n,l,u)){g=!1;break}}return u.delete(e),u.delete(t),g}},a2db:function(e,t,n){var i=n("9e69"),r=i?i.prototype:void 0,o=r?r.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},a454:function(e,t,n){var i=n("72f0"),r=n("3b4a"),o=n("cd9d"),s=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:o;e.exports=s},a473:function(e,t,n){var i=n("33de"),r=n("01eb");e.exports=function(e,t,n,i){return function(e,t,n,i){var o,s,a={},l=new r,c=function(e){var t=e.v!==o?e.v:e.w,i=a[t],r=n(e),c=s.distance+r;if(r<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+r);c<i.distance&&(i.distance=c,i.predecessor=o,l.decrease(t,c))};for(e.nodes().forEach(function(e){var n=e===t?0:Number.POSITIVE_INFINITY;a[e]={distance:n},l.add(e,n)});l.size()>0&&(o=l.removeMin(),(s=a[o]).distance!==Number.POSITIVE_INFINITY);)i(o).forEach(c);return a}(e,String(t),n||o,i||function(t){return e.outEdges(t)})};var o=i.constant(1)},a4bb:function(e,t,n){e.exports=n("8aae")},a524:function(e,t,n){var i=n("4245");e.exports=function(e){return i(this,e).has(e)}},a6d1:function(e,t,n){"use strict";var i=n("6f9c"),r=n("299f");e.exports={run:function(e){var t="greedy"===e.graph().acyclicer?r(e,function(e){return function(t){return e.edge(t).weight}}(e)):function(e){var t=[],n={},r={};return i.forEach(e.nodes(),function o(s){i.has(r,s)||(r[s]=!0,n[s]=!0,i.forEach(e.outEdges(s),function(e){i.has(n,e.w)?t.push(e):o(e.w)}),delete n[s])}),t}(e);i.forEach(t,function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,i.uniqueId("rev"))})},undo:function(e){i.forEach(e.edges(),function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var i=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,i)}})}}},a745:function(e,t,n){e.exports=n("f410")},a864:function(e,t,n){"use strict";var i=n("6f9c");function r(e){i.forEach(e.nodes(),function(t){o(e.node(t))}),i.forEach(e.edges(),function(t){o(e.edge(t))})}function o(e){var t=e.width;e.width=e.height,e.height=t}function s(e){e.y=-e.y}function a(e){var t=e.x;e.x=e.y,e.y=t}e.exports={adjust:function(e){var t=e.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||r(e)},undo:function(e){var t=e.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(e){i.forEach(e.nodes(),function(t){s(e.node(t))}),i.forEach(e.edges(),function(t){var n=e.edge(t);i.forEach(n.points,s),i.has(n,"y")&&s(n)})}(e),"lr"!==t&&"rl"!==t||(function(e){i.forEach(e.nodes(),function(t){a(e.node(t))}),i.forEach(e.edges(),function(t){var n=e.edge(t);i.forEach(n.points,a),i.has(n,"x")&&a(n)})}(e),r(e))}}},a994:function(e,t,n){var i=n("7d1f"),r=n("32f4"),o=n("ec69");e.exports=function(e){return i(e,o,r)}},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",l=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),u=function(e,t,n){var r={},a=o(function(){return!!s[e]()||" "!=" "[e]()}),l=r[e]=a?t(d):s[e];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=u.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},aaec:function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},aaf9:function(e,t,n){var i=n("df2e");e.exports=function(e,t){return i(e,t,"pre")}},ab81:function(e,t){var n="[\\ud800-\\udfff]",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+i+"|"+r+")?",c="[\\ufe0e\\ufe0f]?"+l+"(?:\\u200d(?:"+[o,s,a].join("|")+")[\\ufe0e\\ufe0f]?"+l+")*",u="(?:"+[o+i+"?",i,s,a,n].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");e.exports=function(e){for(var t=d.lastIndex=0;d.test(e);)++t;return t}},abdd:function(e,t,n){var i=n("76e9"),r=n("57dc"),o=n("cd9d");e.exports=function(e){return e&&e.length?i(e,o,r):void 0}},ac41:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var g,v=p[m],y=f[v],b=s[v],_=b&&b.prototype;if(_&&(_[u]||a(_,u,h),_[d]||a(_,d,v),l[v]=h,y))for(g in i)_[g]||o(_,g,i[g],!0)}},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},b047:function(e,t){e.exports=function(e){return function(t){return e(t)}}},b0dc:function(e,t,n){var i=n("e4ae");e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},b1e5:function(e,t,n){var i=n("a994"),r=1,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,s,a,l){var c=n&r,u=i(e),d=u.length;if(d!=i(t).length&&!c)return!1;for(var h=d;h--;){var f=u[h];if(!(c?f in t:o.call(t,f)))return!1}var p=l.get(e);if(p&&l.get(t))return p==t;var m=!0;l.set(e,t),l.set(t,e);for(var g=c;++h<d;){var v=e[f=u[h]],y=t[f];if(s)var b=c?s(y,v,f,t,e,l):s(v,y,f,e,t,l);if(!(void 0===b?v===y||a(v,y,n,s,l):b)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return l.delete(e),l.delete(t),m}},b218:function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},b447:function(e,t,n){var i=n("3a38"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},b4b0:function(e,t,n){var i=n("1a8c"),r=n("ffd6"),o=NaN,s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?o:+e}},b4c0:function(e,t,n){var i=n("cb5a");e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},b50e:function(e,t,n){"use strict";var i=n("6f9c"),r=n("17d5").Graph;function o(e,t,n,r){var o;do{o=i.uniqueId(r)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function s(e){return i.max(i.map(e.nodes(),function(t){var n=e.node(t).rank;if(!i.isUndefined(n))return n}))}e.exports={addDummyNode:o,simplify:function(e){var t=(new r).setGraph(e.graph());return i.forEach(e.nodes(),function(n){t.setNode(n,e.node(n))}),i.forEach(e.edges(),function(n){var i=t.edge(n.v,n.w)||{weight:0,minlen:1},r=e.edge(n);t.setEdge(n.v,n.w,{weight:i.weight+r.weight,minlen:Math.max(i.minlen,r.minlen)})}),t},asNonCompoundGraph:function(e){var t=new r({multigraph:e.isMultigraph()}).setGraph(e.graph());return i.forEach(e.nodes(),function(n){e.children(n).length||t.setNode(n,e.node(n))}),i.forEach(e.edges(),function(n){t.setEdge(n,e.edge(n))}),t},successorWeights:function(e){var t=i.map(e.nodes(),function(t){var n={};return i.forEach(e.outEdges(t),function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight}),n});return i.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=i.map(e.nodes(),function(t){var n={};return i.forEach(e.inEdges(t),function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight}),n});return i.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,i,r=e.x,o=e.y,s=t.x-r,a=t.y-o,l=e.width/2,c=e.height/2;if(!s&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*l>Math.abs(s)*c?(a<0&&(c=-c),n=c*s/a,i=c):(s<0&&(l=-l),n=l,i=l*a/s),{x:r+n,y:o+i}},buildLayerMatrix:function(e){var t=i.map(i.range(s(e)+1),function(){return[]});return i.forEach(e.nodes(),function(n){var r=e.node(n),o=r.rank;i.isUndefined(o)||(t[o][r.order]=n)}),t},normalizeRanks:function(e){var t=i.min(i.map(e.nodes(),function(t){return e.node(t).rank}));i.forEach(e.nodes(),function(n){var r=e.node(n);i.has(r,"rank")&&(r.rank-=t)})},removeEmptyRanks:function(e){var t=i.min(i.map(e.nodes(),function(t){return e.node(t).rank})),n=[];i.forEach(e.nodes(),function(i){var r=e.node(i).rank-t;n[r]||(n[r]=[]),n[r].push(i)});var r=0,o=e.graph().nodeRankFactor;i.forEach(n,function(t,n){i.isUndefined(t)&&n%o!=0?--r:r&&i.forEach(t,function(t){e.node(t).rank+=r})})},addBorderNode:function(e,t,n,i){var r={width:0,height:0};return arguments.length>=4&&(r.rank=n,r.order=i),o(e,"border",r,t)},maxRank:s,partition:function(e,t){var n={lhs:[],rhs:[]};return i.forEach(e,function(e){t(e)?n.lhs.push(e):n.rhs.push(e)}),n},time:function(e,t){var n=i.now();try{return t()}finally{console.log(e+" time: "+(i.now()-n)+"ms")}},notime:function(e,t){return t()}}},b5a7:function(e,t,n){var i=n("0b07")(n("2b3e"),"DataView");e.exports=i},b760:function(e,t,n){var i=n("872a"),r=n("9638");e.exports=function(e,t,n){(void 0===n||r(e[t],n))&&(void 0!==n||t in e)||i(e,t,n)}},b8ce:function(e,t,n){var i=n("3818"),r=4;e.exports=function(e){return i(e,r)}},b8e3:function(e,t){e.exports=!0},badf:function(e,t,n){var i=n("642a"),r=n("1838"),o=n("cd9d"),s=n("6747"),a=n("f9ce");e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?r(e[0],e[1]):i(e):a(e)}},bbc0:function(e,t,n){var i=n("6044"),r="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return n===r?void 0:n}return o.call(t,e)?t[e]:void 0}},bcdf:function(e,t){e.exports=function(){}},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},bf0b:function(e,t,n){var i=n("355d"),r=n("aebd"),o=n("36c3"),s=n("1bc3"),a=n("07e3"),l=n("794b"),c=Object.getOwnPropertyDescriptor;t.f=n("8e60")?c:function(e,t){if(e=o(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},bf90:function(e,t,n){var i=n("36c3"),r=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},bfc7:function(e,t,n){var i=n("5c69"),r=n("100e"),o=n("2c66"),s=n("dcbe"),a=r(function(e){return o(i(e,1,s,!0))});e.exports=a},c05f:function(e,t,n){var i=n("7b97"),r=n("1310");e.exports=function e(t,n,o,s,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,s,e,a))}},c098:function(e,t){var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&i.test(e))&&e>-1&&e%1==0&&e<t}},c1c9:function(e,t,n){var i=n("a454"),r=n("f3c1")(i);e.exports=r},c2b6:function(e,t,n){var i=n("f8af"),r=n("5d89"),o=n("6f6c"),s=n("a2db"),a=n("c8fe"),l="[object Boolean]",c="[object Date]",u="[object Map]",d="[object Number]",h="[object RegExp]",f="[object Set]",p="[object String]",m="[object Symbol]",g="[object ArrayBuffer]",v="[object DataView]",y="[object Float32Array]",b="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",x="[object Int32Array]",A="[object Uint8Array]",C="[object Uint8ClampedArray]",k="[object Uint16Array]",M="[object Uint32Array]";e.exports=function(e,t,n){var S=e.constructor;switch(t){case g:return i(e);case l:case c:return new S(+e);case v:return r(e,n);case y:case b:case _:case w:case x:case A:case C:case k:case M:return a(e,n);case u:return new S;case d:case p:return new S(e);case h:return o(e);case f:return new S;case m:return s(e)}}},c366:function(e,t,n){var i=n("6821"),r=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,s){var a,l=i(t),c=r(l.length),u=o(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var i=n("8436"),r=n("50ed"),o=n("481b"),s=n("36c3");e.exports=n("30f1")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},c3a1:function(e,t,n){var i=n("e6f3"),r=n("1691");e.exports=Object.keys||function(e){return i(e,r)}},c3cd:function(e,t){e.exports="2.1.7"},c3fc:function(e,t,n){var i=n("42a2"),r=n("1310"),o="[object Set]";e.exports=function(e){return r(e)&&i(e)==o}},c584:function(e,t){e.exports=function(e,t){return e.has(t)}},c5a2:function(e,t,n){var i=n("6ac0"),r=n("48a0"),o=n("badf"),s=n("58f7"),a=n("6747");e.exports=function(e,t,n){var l=a(e)?i:s,c=arguments.length<3;return l(e,o(t,4),n,c,r)}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),l=n("79e5"),c=n("9093").f,u=n("11e9").f,d=n("86cc").f,h=n("aa77").trim,f=i.Number,p=f,m=f.prototype,g="Number"==o(n("2aeb")(m)),v="trim"in String.prototype,y=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var n,i,r,o=(t=v?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,l=t.slice(2),c=0,u=l.length;c<u;c++)if((s=l.charCodeAt(c))<48||s>r)return NaN;return parseInt(l,i)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(g?l(function(){m.valueOf.call(n)}):"Number"!=o(n))?s(new p(y(t)),n,f):y(t)};for(var b,_=n("9e1e")?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)r(p,b=_[w])&&!r(f,b)&&d(f,b,u(p,b));f.prototype=m,m.constructor=f,n("2aba")(i,"Number",f)}},c641:function(e,t,n){e.exports=n("6cd4")},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c6cf:function(e,t,n){var i=n("4d8c"),r=n("2286"),o=n("c1c9");e.exports=function(e){return o(r(e,void 0,i),e+"")}},c707:function(e,t,n){var i=n("5c69"),r=n("6a5c"),o=n("100e"),s=n("9aff"),a=o(function(e,t){if(null==e)return[];var n=t.length;return n>1&&s(e,t[0],t[1])?t=[]:n>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),r(e,i(t,1),[])});e.exports=a},c869:function(e,t,n){var i=n("0b07")(n("2b3e"),"Set");e.exports=i},c87c:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(i.index=e.index,i.input=e.input),i}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},c8bb:function(e,t,n){e.exports=n("54a1")},c8fe:function(e,t,n){var i=n("f8af");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},c9ca:function(e,t,n){var i=n("ef5d")("length");e.exports=i},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cae7:function(e,t,n){var i=n("ffd6");e.exports=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,s=i(e),a=void 0!==t,l=null===t,c=t==t,u=i(t);if(!l&&!u&&!s&&e>t||s&&a&&c&&!l&&!u||r&&a&&c||!n&&c||!o)return 1;if(!r&&!s&&!u&&e<t||u&&n&&o&&!r&&!s||l&&n&&o||!a&&o||!c)return-1}return 0}},cb5a:function(e,t,n){var i=n("9638");e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cc45:function(e,t,n){var i=n("1a2d"),r=n("b047"),o=n("99d3"),s=o&&o.isMap,a=s?r(s):i;e.exports=a},ccb9:function(e,t,n){t.f=n("5168")},cd9d:function(e,t){e.exports=function(e){return e}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,a=r(e),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>l;)i(a,n=t[l++])&&(~o(c,n)||c.push(n));return c}},ce7e:function(e,t,n){var i=n("63b6"),r=n("584a"),o=n("294c");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},ce86:function(e,t,n){var i=n("9e69"),r=n("7948"),o=n("6747"),s=n("ffd6"),a=1/0,l=i?i.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(s(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},cfa7:function(e,t,n){var i=n("33de");e.exports=function(e){var t=0,n=[],r={},o=[];return e.nodes().forEach(function(s){i.has(r,s)||function s(a){var l=r[a]={onStack:!0,lowlink:t,index:t++};if(n.push(a),e.successors(a).forEach(function(e){i.has(r,e)?r[e].onStack&&(l.lowlink=Math.min(l.lowlink,r[e].index)):(s(e),l.lowlink=Math.min(l.lowlink,r[e].lowlink))}),l.lowlink===l.index){var c,u=[];do{c=n.pop(),r[c].onStack=!1,u.push(c)}while(a!==c);o.push(u)}}(s)}),o}},d02c:function(e,t,n){var i=n("5e2e"),r=n("79bc"),o=n("7b83"),s=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<s-1)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},d2d5:function(e,t,n){n("1654"),n("549b"),e.exports=n("584a").Array.from},d312:function(e,t,n){var i=n("a473"),r=n("33de");e.exports=function(e,t,n){return r.transform(e.nodes(),function(r,o){r[o]=i(e,o,t,n)},{})}},d327:function(e,t){e.exports=function(){return[]}},d370:function(e,t,n){var i=n("253c"),r=n("1310"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d4b2:function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),o=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n)for(var s,a=n(e),l=o.f,c=0;a.length>c;)l.call(e,s=a[c++])&&t.push(s);return t}},d4f3:function(e,t,n){var i=n("6f9c");e.exports=function(e,t,n){var r,o={};i.forEach(n,function(n){for(var i,s,a=e.parent(n);a;){if((i=e.parent(a))?(s=o[i],o[i]=a):(s=r,r=a),s&&s!==a)return void t.setEdge(s,a);a=i}})}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d612:function(e,t,n){var i=n("7b83"),r=n("7ed2"),o=n("dc0f");function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=o,e.exports=s},d623:function(e,t,n){var i=n("03dd"),r=n("42a2"),o=n("30c9"),s=n("e2a0"),a=n("6751"),l="[object Map]",c="[object Set]";e.exports=function(e){if(null==e)return 0;if(o(e))return s(e)?a(e):e.length;var t=r(e);return t==l||t==c?e.size:i(e).length}},d70d:function(e,t){e.exports=function(e,t,n){for(var i=-1,r=e.length,o=t.length,s={};++i<r;){var a=i<o?t[i]:void 0;n(s,e[i],a)}return s}},d780:function(e,t,n){"use strict";var i=n("6f9c");function r(e,t,n){for(var r=i.zipObject(n,i.map(n,function(e,t){return t})),o=i.flatten(i.map(t,function(t){return i.sortBy(i.map(e.outEdges(t),function(t){return{pos:r[t.w],weight:e.edge(t).weight}}),"pos")}),!0),s=1;s<n.length;)s<<=1;var a=2*s-1;s-=1;var l=i.map(new Array(a),function(){return 0}),c=0;return i.forEach(o.forEach(function(e){var t=e.pos+s;l[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=l[t+1]),l[t=t-1>>1]+=e.weight;c+=e.weight*n})),c}e.exports=function(e,t){for(var n=0,i=1;i<t.length;++i)n+=r(e,t[i-1],t[i]);return n}},d7ee:function(e,t,n){var i=n("c3fc"),r=n("b047"),o=n("99d3"),s=o&&o.isSet,a=s?r(s):i;e.exports=a},d864:function(e,t,n){var i=n("79aa");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},d89f:function(e,t,n){e.exports={components:n("e44a"),dijkstra:n("a473"),dijkstraAll:n("d312"),findCycles:n("ddac"),floydWarshall:n("6736"),isAcyclic:n("43e8"),postorder:n("4f17"),preorder:n("aaf9"),prim:n("61e9"),tarjan:n("cfa7"),topsort:n("8185")}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9a8:function(e,t){e.exports=function(e){return e!=e}},d9f3:function(e,t,n){"use strict";var i=n("6f9c");e.exports=function(e,t){var n={};return i.forEach(e,function(e,t){var r=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};i.isUndefined(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)}),i.forEach(t.edges(),function(e){var t=n[e.v],r=n[e.w];i.isUndefined(t)||i.isUndefined(r)||(r.indegree++,t.out.push(n[e.w]))}),function(e){var t=[];function n(e){return function(t){var n,r,o,s;t.merged||(i.isUndefined(t.barycenter)||i.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&(r=t,o=0,s=0,(n=e).weight&&(o+=n.barycenter*n.weight,s+=n.weight),r.weight&&(o+=r.barycenter*r.weight,s+=r.weight),n.vs=r.vs.concat(n.vs),n.barycenter=o/s,n.weight=s,n.i=Math.min(r.i,n.i),r.merged=!0)}}function r(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),i.forEach(o.in.reverse(),n(o)),i.forEach(o.out,r(o))}return i.map(i.filter(t,function(e){return!e.merged}),function(e){return i.pick(e,["vs","i","barycenter","weight"])})}(i.filter(n,function(e){return!e.indegree}))}},d9f6:function(e,t,n){var i=n("e4ae"),r=n("794b"),o=n("1bc3"),s=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},da03:function(e,t,n){var i=n("2b3e")["__core-js_shared__"];e.exports=i},dbdb:function(e,t,n){var i=n("584a"),r=n("e53d"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc0f:function(e,t){e.exports=function(e){return this.__data__.has(e)}},dc57:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},dcbe:function(e,t,n){var i=n("30c9"),r=n("1310");e.exports=function(e){return r(e)&&i(e)}},dd61:function(e,t,n){var i=n("7948"),r=n("badf"),o=n("97d3"),s=n("6747");e.exports=function(e,t){return(s(e)?i:o)(e,r(t,3))}},ddac:function(e,t,n){var i=n("33de"),r=n("cfa7");e.exports=function(e){return i.filter(r(e),function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}},df2e:function(e,t,n){var i=n("33de");e.exports=function(e,t,n){i.isArray(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),o=[],s={};return i.each(t,function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);!function e(t,n,r,o,s,a){i.has(o,n)||(o[n]=!0,r||a.push(n),i.each(s(n),function(n){e(t,n,r,o,s,a)}),r&&a.push(n))}(e,t,"post"===n,s,r,o)}),o}},e008:function(e,t,n){var i=n("01ce");e.exports={Graph:i.Graph,json:n("19b2"),alg:n("d89f"),version:i.version}},e090:function(e,t,n){var i=n("6f9c"),r=n("b50e"),o=n("17d5").Graph;e.exports={debugOrdering:function(e){var t=r.buildLayerMatrix(e),n=new o({compound:!0,multigraph:!0}).setGraph({});return i.forEach(e.nodes(),function(t){n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)}),i.forEach(e.edges(),function(e){n.setEdge(e.v,e.w,{},e.name)}),i.forEach(t,function(e,t){var r="layer"+t;n.setNode(r,{rank:"same"}),i.reduce(e,function(e,t){return n.setEdge(e,t,{style:"invis"}),t})}),n}}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e24b:function(e,t,n){var i=n("49f4"),r=n("1efc"),o=n("bbc0"),s=n("7a48"),a=n("2524");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},e265:function(e,t,n){e.exports=n("ed33")},e2a0:function(e,t,n){var i=n("3729"),r=n("6747"),o=n("1310"),s="[object String]";e.exports=function(e){return"string"==typeof e||!r(e)&&o(e)&&i(e)==s}},e2c0:function(e,t,n){var i=n("e2e4"),r=n("d370"),o=n("6747"),s=n("c098"),a=n("b218"),l=n("f4d6");e.exports=function(e,t,n){for(var c=-1,u=(t=i(t,e)).length,d=!1;++c<u;){var h=l(t[c]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&a(u)&&s(h,u)&&(o(e)||r(e))}},e2e4:function(e,t,n){var i=n("6747"),r=n("f608"),o=n("18d8"),s=n("76dd");e.exports=function(e,t){return i(e)?e:r(e,t)?[e]:o(s(e))}},e329:function(e,t,n){"use strict";var i=n("f30c");n.n(i).a},e34f:function(e,t,n){e.exports={graphlib:n("17d5"),layout:n("7a9c"),debug:n("e090"),util:{time:n("b50e").time,notime:n("b50e").notime},version:n("9214")}},e380:function(e,t,n){var i=n("7b83"),r="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=e.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(o.Cache||i),n}o.Cache=i,e.exports=o},e3f8:function(e,t,n){var i=n("656b");e.exports=function(e){return function(t){return i(t,e)}}},e44a:function(e,t,n){var i=n("33de");e.exports=function(e){var t,n={},r=[];function o(r){i.has(n,r)||(n[r]=!0,t.push(r),i.each(e.successors(r),o),i.each(e.predecessors(r),o))}return i.each(e.nodes(),function(e){t=[],o(e),t.length&&r.push(t)}),r}},e4ae:function(e,t,n){var i=n("f772");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},e538:function(e,t,n){(function(e){var i=n("2b3e"),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===r?i.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=a?a(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("62e4")(e))},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e632:function(e,t,n){"use strict";var i=n("6f9c");e.exports=function(e){var t={},n=i.filter(e.nodes(),function(t){return!e.children(t).length}),r=i.max(i.map(n,function(t){return e.node(t).rank})),o=i.map(i.range(r+1),function(){return[]}),s=i.sortBy(n,function(t){return e.node(t).rank});return i.forEach(s,function n(r){if(!i.has(t,r)){t[r]=!0;var s=e.node(r);o[s.rank].push(r),i.forEach(e.successors(r),n)}}),o}},e6f3:function(e,t,n){var i=n("07e3"),r=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");e.exports=function(e,t){var n,a=r(e),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>l;)i(a,n=t[l++])&&(~o(c,n)||c.push(n));return c}},e849:function(e,t,n){"use strict";var i=n("6f9c");e.exports={longestPath:function(e){var t={};i.forEach(e.sources(),function n(r){var o=e.node(r);if(i.has(t,r))return o.rank;t[r]=!0;var s=i.min(i.map(e.outEdges(r),function(t){return n(t.w)-e.edge(t).minlen}));return s!==Number.POSITIVE_INFINITY&&null!=s||(s=0),o.rank=s})},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},eac5:function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},ebfd:function(e,t,n){var i=n("62a0")("meta"),r=n("f772"),o=n("07e3"),s=n("d9f6").f,a=0,l=Object.isExtensible||function(){return!0},c=!n("294c")(function(){return l(Object.preventExtensions({}))}),u=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!o(e,i)&&u(e),e}}},ec69:function(e,t,n){var i=n("6fcd"),r=n("03dd"),o=n("30c9");e.exports=function(e){return o(e)?i(e):r(e)}},ec8c:function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},ed33:function(e,t,n){n("014b"),e.exports=n("584a").Object.getOwnPropertySymbols},edfa:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}},ef5d:function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},efb6:function(e,t,n){var i=n("5e2e");e.exports=function(){this.__data__=new i,this.size=0}},f1cd:function(e,t,n){var i=n("6f9c");e.exports=function(e){var t=function(e){var t={},n=0;return i.forEach(e.children(),function r(o){var s=n;i.forEach(e.children(o),r),t[o]={low:s,lim:n++}}),t}(e);i.forEach(e.graph().dummyChains,function(n){for(var i=e.node(n),r=i.edgeObj,o=function(e,t,n,i){var r,o,s=[],a=[],l=Math.min(t[n].low,t[i].low),c=Math.max(t[n].lim,t[i].lim);r=n;do{r=e.parent(r),s.push(r)}while(r&&(t[r].low>l||c>t[r].lim));for(o=r,r=i;(r=e.parent(r))!==o;)a.push(r);return{path:s.concat(a.reverse()),lca:o}}(e,t,r.v,r.w),s=o.path,a=o.lca,l=0,c=s[l],u=!0;n!==r.w;){if(i=e.node(n),u){for(;(c=s[l])!==a&&e.node(c).maxRank<i.rank;)l++;c===a&&(u=!1)}if(!u){for(;l<s.length-1&&e.node(c=s[l+1]).minRank<=i.rank;)l++;c=s[l]}e.setParent(n,c),n=e.successors(n)[0]}})}},f30c:function(e,t,n){},f352:function(e,t,n){var i=n("6f9c"),r=n("b50e");function o(e,t,n){for(var r;t.length&&(r=i.last(t)).i<=n;)t.pop(),e.push(r.vs),n++;return n}e.exports=function(e,t){var n,s=r.partition(e,function(e){return i.has(e,"barycenter")}),a=s.lhs,l=i.sortBy(s.rhs,function(e){return-e.i}),c=[],u=0,d=0,h=0;a.sort((n=!!t,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:n?t.i-e.i:e.i-t.i})),h=o(c,l,h),i.forEach(a,function(e){h+=e.vs.length,c.push(e.vs),u+=e.barycenter*e.weight,d+=e.weight,h=o(c,l,h)});var f={vs:i.flatten(c,!0)};return d&&(f.barycenter=u/d,f.weight=d),f}},f3c1:function(e,t){var n=800,i=16,r=Date.now;e.exports=function(e){var t=0,o=0;return function(){var s=r(),a=i-(s-o);if(o=s,a>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},f3f6:function(e,t,n){"use strict";var i=n("3ca1");n.n(i).a},f410:function(e,t,n){n("1af6"),e.exports=n("584a").Array.isArray},f4d6:function(e,t,n){var i=n("ffd6"),r=1/0;e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}},f608:function(e,t,n){var i=n("6747"),r=n("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(i){var e,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in t)if(t[e].src==n||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f772:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},f8af:function(e,t,n){var i=n("2474");e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},f909:function(e,t,n){var i=n("7e64"),r=n("b760"),o=n("72af"),s=n("4f50"),a=n("1a8c"),l=n("9934"),c=n("8adb");e.exports=function e(t,n,u,d,h){t!==n&&o(n,function(o,l){if(h||(h=new i),a(o))s(t,n,l,u,e,d,h);else{var f=d?d(c(t,l),o,l+"",t,n,h):void 0;void 0===f&&(f=o),r(t,l,f)}},l)}},f9ce:function(e,t,n){var i=n("ef5d"),r=n("e3f8"),o=n("f608"),s=n("f4d6");e.exports=function(e){return o(e)?i(s(e)):r(e)}},fa21:function(e,t,n){var i=n("7530"),r=n("2dcb"),o=n("eac5");e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:i(r(e))}},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;n.r(t),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1])),n("c5f6"),n("8449");var r={name:"Label",props:{text:{type:String,required:!0},anchor:{type:Object,default:function(){return{x:0,y:0}}}},computed:{position:function(){return{top:this.anchor.y+"px",left:this.anchor.x+"px"}}}};function o(e,t,n,i,r,o,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n("e329");var s=o(r,function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{style:e.position,domProps:{textContent:e._s(e.text)},on:{click:function(t){return e.$emit("click")}}})},[],!1,null,"abe7ebba",null).exports,a=n("a745"),l=n.n(a),c=n("774e"),u=n.n(c),d=n("c8bb"),h=n.n(d);function f(e){return function(e){if(l()(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(h()(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return u()(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=n("85f2"),g=n.n(m);function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),g()(e,i.key,i)}}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}var b=n("2ef0"),_=function(){function e(t){p(this,e),this.path="",this.radius=t}return y(e,[{key:"setPath",value:function(e){var t,n,i,r,o=Object(b.cloneDeep)(e),s=o.shift(),a=o.shift(),l={x:a.x-s.x,y:a.y-s.y},c=Math.sqrt(l.x*l.x+l.y*l.y);l.x/=c,l.y/=c;for(var u="M".concat(s.x," ").concat(s.y);o.length>0;){if(s=a,t=l,n=c,l={x:(a=o.shift()).x-s.x,y:a.y-s.y},c=Math.sqrt(l.x*l.x+l.y*l.y),l.x/=c,l.y/=c,n<2*this.radius||c<2*this.radius){var d=Math.min(n,c);i={x:s.x-d/2*t.x,y:s.y-d/2*t.y},r={x:s.x+d/2*l.x,y:s.y+d/2*l.y}}else i={x:s.x-this.radius*t.x,y:s.y-this.radius*t.y},r={x:s.x+this.radius*l.x,y:s.y+this.radius*l.y};u+=" L".concat(i.x," ").concat(i.y),u+=" Q".concat(s.x," ").concat(s.y," ").concat(r.x," ").concat(r.y)}u+=" L".concat(a.x," ").concat(a.y),this.path=u.trim()}},{key:"svgPath",get:function(){return this.path}}]),e}(),w={name:"TransitionPath",props:{path:{type:Array,required:!0},radius:{type:Number,default:0},stylingClass:{type:String,default:""}},data:function(){var e=new _(this.radius);return e.setPath(this.path),{pathCreator:e}},computed:{svgPath:function(){return this.pathCreator.svgPath},width:function(){return this.lengthIn(function(e){return e.x})},height:function(){return this.lengthIn(function(e){return e.y})},stylingClassPath:function(){return this.stylingClass?"vue-workflow-chart-transition-path-".concat(this.stylingClass):""},stylingClassArrow:function(){return this.stylingClass?"vue-workflow-chart-transition-arrow-".concat(this.stylingClass):""}},watch:{path:function(){this.pathCreator.setPath(this.path)}},methods:{lengthIn:function(e){var t=this.path.map(e),n=Math.max.apply(Math,f(t));return"".concat(n-0+20,"px")}}},x=(n("47e6"),o(w,function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{width:this.width,height:this.height}},[t("g",[t("defs",[t("marker",{attrs:{id:"markerArrow"+this._uid,viewBox:"0 0 10 10",markerWidth:"3",markerHeight:"3",refX:"5",refY:"5",orient:"auto"}},[t("path",{staticClass:"vue-workflow-chart-transition-arrow",class:this.stylingClassArrow,attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]),t("path",{ref:"transitionPath",staticClass:"vue-workflow-chart-transition-path",class:this.stylingClassPath,attrs:{d:this.svgPath,"marker-end":"url(#markerArrow"+this._uid+")"}})])])},[],!1,null,"46d8ff05",null)),A=o({name:"Transition",components:{chartLabel:s,TransitionPath:x.exports},props:{id:{type:String,required:!0},transitionPath:{type:Array,required:!0},transitionPathRadius:{type:Number,default:0},label:{type:Object,default:function(){return{text:"",point:{x:0,y:0}}}},stylingClass:{type:String,default:""}},computed:{stylingClassLabel:function(){return this.stylingClass?"vue-workflow-chart-transition-label-".concat(this.stylingClass):""}}},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition-path",{attrs:{path:e.transitionPath,radius:e.transitionPathRadius,stylingClass:e.stylingClass}}),n("chart-label",{ref:"label",staticClass:"vue-workflow-chart-transition-label",class:e.stylingClassLabel,attrs:{text:e.label.text,anchor:e.label.point},on:{click:function(t){return e.$emit("click",e.id)}}})],1)},[],!1,null,null,null).exports,C=o({name:"State",components:{chartLabel:s},props:{id:{type:String,required:!0},label:{type:String,required:!0},stylingClass:{type:String,default:""},center:{type:Object,required:!0}},computed:{stylingClassState:function(){return this.stylingClass?"vue-workflow-chart-state-".concat(this.stylingClass):""}}},function(){var e=this,t=e.$createElement;return(e._self._c||t)("chart-label",{staticClass:"vue-workflow-chart-state",class:e.stylingClassState,attrs:{anchor:e.center,text:e.label},on:{click:function(t){return e.$emit("click",e.id)}}})},[],!1,null,null,null).exports,k=(n("ac4d"),n("8a81"),n("ac6a"),n("e34f")),M=n.n(k),S=function(){function e(t){p(this,e);var n="vertical"===t?"TB":"LR";this._graph=(new M.a.graphlib.Graph).setGraph({rankdir:n})}return y(e,null,[{key:"from",value:function(t,n){var i=new e(n);return i.setWorkflow(t),i}}]),y(e,[{key:"setWorkflow",value:function(e){this._setStates(e.states),this._setTransitions(e.transitions),Object(k.layout)(this._graph)}},{key:"_setStates",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var s=r.value,a=s.id,l=s.label,c=s.width,u=s.height,d=s.stylingClass;this._graph.setNode(a,{label:l,width:c,height:u,stylingClass:d})}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}},{key:"_setTransitions",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var s=r.value;this._graph.setEdge(s.source,s.target,{id:s.id,label:s.label?s.label:"",width:s.width,height:s.height,labelpos:"c",stylingClass:s.stylingClass})}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}},{key:"states",get:function(){var e=this;return this._graph.nodes().map(function(t){var n=e._graph.node(t);return{id:t,label:n.label,center:{x:n.x,y:n.y},stylingClass:n.stylingClass}})}},{key:"transitions",get:function(){var e=this;return this._graph.edges().map(function(t){var n=e._graph.edge(t);return{id:n.id,path:n.points,label:{point:{x:n.x,y:n.y},text:n.label},stylingClass:n.stylingClass}})}},{key:"size",get:function(){var e=this._graph.graph();return{width:e.width,height:e.height}}}]),e}(),L=n("268f"),E=n.n(L),D=n("e265"),T=n.n(D),I=n("a4bb"),j=n.n(I);function O(e,t,n){return t in e?g()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=j()(n);"function"==typeof T.a&&(i=i.concat(T()(n).filter(function(e){return E()(n,e).enumerable}))),i.forEach(function(t){O(e,t,n[t])})}return e}var N=function(e,t){return function(n){return F({},n,e.ofDivWith(n,t))}},Y=function(e,t){return function(n){var i=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done);i=!0){var l=s.value;if(t(l.id,n))return F({},n,{stylingClass:l.classname})}}catch(e){r=!0,o=e}finally{try{i||null==a.return||a.return()}finally{if(r)throw o}}return n}},P=function(e,t){return e===t.id},R=function(e,t){return e===t.target},B=function(){function e(t){var n=t.states,i=t.transitions;p(this,e),this.states=n,this.transitions=i}return y(e,[{key:"addLabelSize",value:function(t){return new e({states:this.states.map(N(t,"vue-workflow-chart-state")),transitions:this.transitions.map(N(t,"vue-workflow-chart-transition-label"))})}},{key:"addStylingClassesFor",value:function(t){return new e({states:this.states.map(Y(t,P)),transitions:this.transitions.map(Y(t,R))})}}]),e}(),H=function(e,t){return parseInt(window.getComputedStyle(t,null)[e],0)},z=new(function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;p(this,e),this.lengthOf=t||H,this.element=null,this.content=null}return y(e,[{key:"_getSizeOf",value:function(e){var t=this,n=function(n){return t.lengthOf(n,e)};return{width:e.offsetWidth+n("marginLeft")+n("marginRight"),height:e.offsetHeight+n("marginTop")+n("marginBottom")}}},{key:"ofDivWith",value:function(e,t){return this.element||this._createElementWhenBodyExists(),this.element.setAttribute("class",t),this.content.nodeValue=e.label,this._getSizeOf(this.element)}},{key:"_createElementWhenBodyExists",value:function(){var e=this._createHiddenElement(),t=e.element,n=e.content;this.element=t,this.content=n}},{key:"_createHiddenElement",value:function(){var e=document.createElement("div"),t=document.createTextNode("");return e.appendChild(t),e.style.left="-1000px",e.style.position="absolute",document.body.appendChild(e),{element:e,content:t}}}]),e}()),$={name:"WorkflowChart",components:{State:C,chartTransition:A},props:{transitions:{type:Array,required:!0},states:{type:Array,required:!0},stateSemantics:{type:Array,default:function(){return[]}},transitionPathRadius:{type:Number,default:12},orientation:{type:String,default:"horizontal"}},computed:{layout:function(){var e=new B({states:this.states,transitions:this.transitions}).addStylingClassesFor(this.stateSemantics).addLabelSize(z);return S.from(e,this.orientation)}},watch:{layout:function(){this.emitSize()}},mounted:function(){this.emitSize()},methods:{emitSize:function(){this.$emit("size-change",this.layout.size)}}},W=(n("2ce7"),n("f3f6"),o($,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"workflow-chart"},[e._l(e.layout.states,function(t){return n("state",{key:t.id,ref:t.id,refInFor:!0,attrs:{id:t.id,label:t.label,center:t.center,stylingClass:t.stylingClass},on:{click:function(t){return e.$emit("state-click",t)}}})}),e._l(e.layout.transitions,function(t){return n("chart-transition",{key:t.id,ref:t.id,refInFor:!0,attrs:{id:t.id,transitionPath:t.path,transitionPathRadius:e.transitionPathRadius,label:t.label,stylingClass:t.stylingClass},on:{click:function(t){return e.$emit("transition-click",t)}}})})],2)},[],!1,null,"3da956c2",null).exports);t.default=W},fba5:function(e,t,n){var i=n("cb5a");e.exports=function(e){return i(this.__data__,e)>-1}},fde4:function(e,t,n){n("bf90");var i=n("584a").Object;e.exports=function(e,t){return i.getOwnPropertyDescriptor(e,t)}},fdef:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},ffd6:function(e,t,n){var i=n("3729"),r=n("1310"),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&i(e)==o}}}).default},e.exports=i()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOverlay=a,t.adjustElementZIndex=l,t.mousedown=c,t.mouseup=u,t.mousemove=d,t.setDraggerOffset=h;var i,r=n(3),o=(i=r)&&i.__esModule?i:{default:i};var s={draggableElementId:null,down:!1,height:0,width:0,initialX:0,initialY:0,constraintToWindow:!1,cursorPreviousX:0,cursorPreviousY:0,draggerOffsetLeft:0,draggerOffsetTop:0,overlay:null,draggableEl:null,initialZIndex:void 0};function a(e,t,n){var i=document.createElement("div");return i.setAttribute("style","\n width: 100vw; \n height: 100vh; \n position: absolute;\n top: 0;\n left: 0;\n z-index: 10000;\n "),i.addEventListener("mouseup",function(e){return u(e,t,n)}),i.addEventListener("mousedown",function(e){return c(e,t,n)}),i.addEventListener("mousemove",function(e){return d(e,t,n)}),document.body.appendChild(i),i}function l(e,t){e.style.zIndex=t}function c(e,t,n){if(!n.draggableElementId||function(e,t){for(var n=0;n<t.length;n++)if(t[n].id===e)return!0;return!1}(n.draggableElementId,e.path)){n.overlay&&n.overlay.remove(),n.width=t.offsetWidth,n.height=t.offsetHeight,n.down=!0,n.initialX=e.clientX,n.initialY=e.clientY;var i=a(0,t,n);n.overlay=i,l(t,10001)}}function u(e,t,n){n.down=!1,n.overlay&&(n.overlay.removeEventListener("mouseup",u),n.overlay.removeEventListener("mousedown",c),n.overlay.removeEventListener("mousemove",d),n.overlay.remove(),l(t,n.initialZIndex),h(t,n))}function d(e,t,n){if(n.down){var i=n.cursorPreviousX>e.clientX,r=n.cursorPreviousX<e.clientX,o=n.cursorPreviousY<e.clientY,s=n.cursorPreviousY>e.clientY;n.constraintToWindow&&(function(e,t,n){return e.offsetLeft+t.width>=window.innerWidth&&!n}(t,n,i)||function(e,t,n){return e.offsetLeft<=0&&!n}(t,0,r))||(t.style.left=n.draggerOffsetLeft+(e.clientX-n.initialX)+"px"),n.constraintToWindow&&(function(e,t,n){return e.offsetTop<=0&&!n}(t,0,o)||function(e,t,n){return e.offsetTop+t.height>=window.innerHeight&&!n}(t,n,s))||(t.style.top=n.draggerOffsetTop+(e.clientY-n.initialY)+"px")}n.cursorPreviousX=e.clientX,n.cursorPreviousY=e.clientY}function h(e,t){t.draggerOffsetLeft=e.offsetLeft,t.draggerOffsetTop=e.offsetTop}t.default=o.default.directive("drag",{inserted:function(e,t,n){s.draggableElementId=t.arg||null,s.constraintToWindow=t.modifiers["window-only"],e.addEventListener("mouseup",function(t){return u(0,e,s)}),e.addEventListener("mousedown",function(t){return c(t,e,s)}),e.addEventListener("mousemove",function(t){return d(t,e,s)}),h(e,s),s.initialZIndex=e.style.zIndex}})},function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){var i=n(6);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(3).default)("6223ff68",i,!0,{})},function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(3).default)("27f0e51f",i,!0,{})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n,i=e[1]||"",r=e[3];if(!r)return i;if(t&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),s=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[i].concat(s).concat([o]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],s=o[0],a={id:e+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}n.r(t),n.d(t,"default",function(){return f});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,r){c=n,d=r||{};var s=i(e,t);return p(s),function(t){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}for(t?p(s=i(e,t)):s=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function p(e){for(var t=0;t<e.length;t++){var n=e[t],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(g(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(g(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function g(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(h){var r=l++;i=a||(a=m()),t=b.bind(null,i,r,!1),n=b.bind(null,i,r,!0)}else i=m(),t=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var v,y=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function b(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function _(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);t.default=r.a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'.loading-wave-dots[data-v-46b20d22]{position:relative}.loading-wave-dots[data-v-46b20d22] .wave-item{position:absolute;top:50%;left:50%;display:inline-block;margin-top:-4px;width:8px;height:8px;border-radius:50%;-webkit-animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite;animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite}.loading-wave-dots[data-v-46b20d22] .wave-item:first-child{margin-left:-36px}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(2){margin-left:-20px;-webkit-animation-delay:.14s;animation-delay:.14s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(3){margin-left:-4px;-webkit-animation-delay:.28s;animation-delay:.28s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(4){margin-left:12px;-webkit-animation-delay:.42s;animation-delay:.42s}.loading-wave-dots[data-v-46b20d22] .wave-item:last-child{margin-left:28px;-webkit-animation-delay:.56s;animation-delay:.56s}@-webkit-keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}@keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}.loading-circles[data-v-46b20d22] .circle-item{width:5px;height:5px;-webkit-animation:loading-circles-data-v-46b20d22 linear .75s infinite;animation:loading-circles-data-v-46b20d22 linear .75s infinite}.loading-circles[data-v-46b20d22] .circle-item:first-child{margin-top:-14.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){margin-top:-11.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){margin-top:-2.5px;margin-left:9.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){margin-top:6.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){margin-top:9.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){margin-top:6.26px;margin-left:-11.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){margin-top:-2.5px;margin-left:-14.5px}.loading-circles[data-v-46b20d22] .circle-item:last-child{margin-top:-11.26px;margin-left:-11.26px}@-webkit-keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}@keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}.loading-bubbles[data-v-46b20d22] .bubble-item{background:#666;-webkit-animation:loading-bubbles-data-v-46b20d22 linear .75s infinite;animation:loading-bubbles-data-v-46b20d22 linear .75s infinite}.loading-bubbles[data-v-46b20d22] .bubble-item:first-child{margin-top:-12.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2){margin-top:-9.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3){margin-top:-.5px;margin-left:11.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4){margin-top:8.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5){margin-top:11.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6){margin-top:8.26px;margin-left:-9.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7){margin-top:-.5px;margin-left:-12.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child{margin-top:-9.26px;margin-left:-9.26px}@-webkit-keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}@keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}.loading-default[data-v-46b20d22]{position:relative;border:1px solid #999;-webkit-animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite;animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite}.loading-default[data-v-46b20d22]:before{content:"";position:absolute;display:block;top:0;left:50%;margin-top:-3px;margin-left:-3px;width:6px;height:6px;background-color:#999;border-radius:50%}.loading-spiral[data-v-46b20d22]{border:2px solid #777;border-right-color:transparent;-webkit-animation:loading-rotating-data-v-46b20d22 linear .85s infinite;animation:loading-rotating-data-v-46b20d22 linear .85s infinite}@-webkit-keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-bubbles[data-v-46b20d22],.loading-circles[data-v-46b20d22]{position:relative}.loading-bubbles[data-v-46b20d22] .bubble-item,.loading-circles[data-v-46b20d22] .circle-item{position:absolute;top:50%;left:50%;display:inline-block;border-radius:50%}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2),.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){-webkit-animation-delay:93ms;animation-delay:93ms}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3),.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){-webkit-animation-delay:.186s;animation-delay:.186s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4),.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){-webkit-animation-delay:.279s;animation-delay:.279s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5),.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){-webkit-animation-delay:.372s;animation-delay:.372s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6),.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){-webkit-animation-delay:.465s;animation-delay:.465s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7),.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){-webkit-animation-delay:.558s;animation-delay:.558s}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child,.loading-circles[data-v-46b20d22] .circle-item:last-child{-webkit-animation-delay:.651s;animation-delay:.651s}',""])},function(e,t,n){"use strict";n.r(t);var i=n(1),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);t.default=r.a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,".infinite-loading-container[data-v-644ea9c9]{clear:both;text-align:center}.infinite-loading-container[data-v-644ea9c9] [class^=loading-]{display:inline-block;margin:5px 0;width:28px;height:28px;font-size:28px;line-height:28px;border-radius:50%}.btn-try-infinite[data-v-644ea9c9]{margin-top:5px;padding:5px 10px;color:#999;font-size:14px;line-height:1;background:transparent;border:1px solid #ccc;border-radius:3px;outline:none;cursor:pointer}.btn-try-infinite[data-v-644ea9c9]:not(:active):hover{opacity:.8}",""])},function(e,t,n){"use strict";n.r(t);var i={throttleLimit:50,loopCheckTimeout:1e3,loopCheckMaxCalls:10},r=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e={passive:!0},!0}});window.addEventListener("testpassive",t,t),window.remove("testpassive",t,t)}catch(e){}return e}(),o={STATE_CHANGER:["emit `loaded` and `complete` event through component instance of `$refs` may cause error, so it will be deprecated soon, please use the `$state` argument instead (`$state` just the special `$event` variable):","\ntemplate:",'<infinite-loading @infinite="infiniteHandler"></infinite-loading>',"\nscript:\n...\ninfiniteHandler($state) {\n ajax('https://www.example.com/api/news')\n .then((res) => {\n if (res.data.length) {\n $state.loaded();\n } else {\n $state.complete();\n }\n });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},s={INFINITE_LOOP:["executed the callback function more than ".concat(i.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n<div infinite-wrapper>\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n <infinite-loading force-use-infinite-wrapper></infinite-loading>\n</div>\nor\n<div class="infinite-wrapper">\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n <infinite-loading force-use-infinite-wrapper=".infinite-wrapper"></infinite-loading>\n</div>\n ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},a={READY:0,LOADING:1,COMPLETE:2,ERROR:3},l={color:"#666",fontSize:"14px",padding:"10px 0"},c={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:i,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:o,ERRORS:s,STATUS:a},u=n(4),d=n.n(u),h={BUBBLES:{render:function(e){return e("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map(function(){return e("span",{attrs:{class:"bubble-item"}})}))}},CIRCLES:{render:function(e){return e("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map(function(){return e("span",{attrs:{class:"circle-item"}})}))}},DEFAULT:{render:function(e){return e("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(e){return e("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(e){return e("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map(function(){return e("span",{attrs:{class:"wave-item"}})}))}}};function f(e,t,n,i,r,o,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var p=f({name:"Spinner",computed:{spinnerView:function(){return h[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return c.slots.spinner&&"string"==typeof c.slots.spinner?{render:function(){return this._v(c.slots.spinner)}}:"object"===d()(c.slots.spinner)?c.slots.spinner:h[c.props.spinner.toUpperCase()]||h.DEFAULT}}},function(){var e=this.$createElement;return(this._self._c||e)(this.spinnerView,{tag:"component"})},[],!1,function(e){var t=n(5);t.__inject__&&t.__inject__(e)},"46b20d22",null).exports;function m(e){"production"!==c.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(e))}var g={timers:[],caches:[],throttle:function(e){var t=this;-1===this.caches.indexOf(e)&&(this.caches.push(e),this.timers.push(setTimeout(function(){e(),t.caches.splice(t.caches.indexOf(e),1),t.timers.shift()},c.system.throttleLimit)))},reset:function(){this.timers.forEach(function(e){clearTimeout(e)}),this.timers.length=0,this.caches=[]}},v={isChecked:!1,timer:null,times:0,track:function(){var e=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout(function(){e.isChecked=!0},c.system.loopCheckTimeout),this.times>c.system.loopCheckMaxCalls&&(function(e){console.error("[Vue-infinite-loading error]: ".concat(e))}(s.INFINITE_LOOP),this.isChecked=!0)}},y={key:"_infiniteScrollHeight",getScrollElm:function(e){return e===window?document.documentElement:e},save:function(e){var t=this.getScrollElm(e);t[this.key]=t.scrollHeight},restore:function(e){var t=this.getScrollElm(e);"number"==typeof t[this.key]&&(t.scrollTop=t.scrollHeight-t[this.key]+t.scrollTop),this.remove(t)},remove:function(e){void 0!==e[this.key]&&delete e[this.key]}};function b(e){return e.offsetWidth+e.offsetHeight>0}var _=f({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:a.READY,slots:c.slots}},components:{Spinner:p},computed:{isShowSpinner:function(){return this.status===a.LOADING},isShowError:function(){return this.status===a.ERROR},isShowNoResults:function(){return this.status===a.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===a.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var e=this,t={};return Object.keys(c.slots).forEach(function(n){var i=function(e){return e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())})}(n);(!e.$slots[i]&&!c.slots[n].render||e.$slots[i]&&!e.$slots[i][0].tag)&&(t[n]=l)}),t}},props:{distance:{type:Number,default:c.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:c.props.forceUseInfiniteWrapper},identifier:{default:+new Date},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var e=this;this.$watch("forceUseInfiniteWrapper",function(){e.scrollParent=e.getScrollParent()},{immediate:!0}),this.scrollHandler=function(t){e.status===a.READY&&(t&&t.constructor===Event&&b(e.$el)?g.throttle(e.attemptLoad):e.attemptLoad())},setTimeout(function(){e.scrollHandler(),e.scrollParent.addEventListener("scroll",e.scrollHandler,r)},1),this.$on("$InfiniteLoading:loaded",function(t){e.isFirstLoad=!1,"top"===e.direction&&e.$nextTick(function(){y.restore(e.scrollParent)}),e.status===a.LOADING&&e.$nextTick(e.attemptLoad.bind(null,!0)),t&&t.target===e||m(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:complete",function(t){e.status=a.COMPLETE,e.$nextTick(function(){e.$forceUpdate()}),e.scrollParent.removeEventListener("scroll",e.scrollHandler,r),t&&t.target===e||m(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:reset",function(t){e.status=a.READY,e.isFirstLoad=!0,y.remove(e.scrollParent),e.scrollParent.addEventListener("scroll",e.scrollHandler,r),setTimeout(function(){g.reset(),e.scrollHandler()},1),t&&t.target===e||m(o.IDENTIFIER)}),this.stateChanger={loaded:function(){e.$emit("$InfiniteLoading:loaded",{target:e})},complete:function(){e.$emit("$InfiniteLoading:complete",{target:e})},reset:function(){e.$emit("$InfiniteLoading:reset",{target:e})},error:function(){e.status=a.ERROR,g.reset()}},this.onInfinite&&m(o.INFINITE_EVENT)},deactivated:function(){this.status===a.LOADING&&(this.status=a.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,r)},methods:{attemptLoad:function(e){var t=this;this.status!==a.COMPLETE&&b(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=a.LOADING,"top"===this.direction&&this.$nextTick(function(){y.save(t.scrollParent)}),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!e||this.forceUseInfiniteWrapper||v.isChecked||v.track()):this.status===a.LOADING&&(this.status=a.READY)},getCurrentDistance:function(){return"top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom)},getScrollParent:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(e=document.querySelector(this.forceUseInfiniteWrapper)),e||("BODY"===t.tagName?e=window:!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>-1?e=t:(t.hasAttribute("infinite-wrapper")||t.hasAttribute("data-infinite-wrapper"))&&(e=t)),e||this.getScrollParent(t.parentNode)}},destroyed:function(){!this.status!==a.COMPLETE&&(g.reset(),y.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r))}},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:e.slotStyles.spinner},[e._t("spinner",[n("spinner",{attrs:{spinner:e.spinner}})])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noResults},[e._t("no-results",[e.slots.noResults.render?n(e.slots.noResults,{tag:"component"}):[e._v(e._s(e.slots.noResults))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noMore},[e._t("no-more",[e.slots.noMore.render?n(e.slots.noMore,{tag:"component"}):[e._v(e._s(e.slots.noMore))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:e.slotStyles.error},[e._t("error",[e.slots.error.render?n(e.slots.error,{tag:"component",attrs:{trigger:e.attemptLoad}}):[e._v("\n "+e._s(e.slots.error)+"\n "),n("br"),e._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:e._s(e.slots.errorBtnText)},on:{click:e.attemptLoad}})]],{trigger:e.attemptLoad})],2)])},[],!1,function(e){var t=n(7);t.__inject__&&t.__inject__(e)},"644ea9c9",null).exports;function w(e){c.mode=e.config.productionTip?"development":"production"}Object.defineProperty(_,"install",{configurable:!1,enumerable:!1,value:function(e,t){Object.assign(c.props,t&&t.props),Object.assign(c.slots,t&&t.slots),Object.assign(c.system,t&&t.system),e.component("infinite-loading",_),w(e)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",_),w(window.Vue)),t.default=_}])},function(e,t,n){var i=n(257)();e.exports=function(e,t){var n=new i(e,t),r=n.ready,o=n.login,s=n.fetch,a=n.logout,l=n.oauth2,c=n.refresh,u=n.register,d=n.impersonate,h=n.unimpersonate;e.auth=n,Object.defineProperties(e.prototype,{$auth:{get:function(){return n.ready=r.bind(this),n.login=o.bind(this),n.fetch=s.bind(this),n.logout=a.bind(this),n.oauth2=l.bind(this),n.refresh=c.bind(this),n.register=u.bind(this),n.impersonate=d.bind(this),n.unimpersonate=h.bind(this),n}}})}},function(e,t,n){"use strict";var i,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){function n(e,t){if(!n.installed){if(n.installed=!0,!t)return void console.error("You have to install axios");e.axios=t,Object.defineProperties(e.prototype,{axios:{get:function(){return t}},$http:{get:function(){return t}}})}}"object"==r(t)?e.exports=n:void 0===(i=function(){return n}.apply(t,[]))||(e.exports=i)}()},function(e,t){e.exports={request:function(e,t){this.options.http._setHeaders.call(this,e,{Authorization:"Bearer "+t})},response:function(e){var t=this.options.http._getHeaders.call(this,e),n=t.Authorization||t.authorization;if(n)return(n=n.split(/Bearer\:?\s?/i))[n.length>1?1:0].trim()}}},function(e,t){e.exports={_init:function(){if(!this.options.Vue.axios)return"axios.js : Vue.axios must be set."},_interceptor:function(e,t){var n=this;e&&this.options.Vue.axios.interceptors.request.use(function(t){return e.call(n,t),t},function(t){return e.call(n,t.request),Promise.reject(t)}),t&&this.options.Vue.axios.interceptors.response.use(function(e){return t.call(n,e),e},function(e){return e&&e.response&&t.call(n,e.response),Promise.reject(e)})},_invalidToken:function(e){if(401===e.status)return!0},_httpData:function(e){return e.data||{}},_http:function(e){var t=this.options.Vue.axios(e);return t.then(e.success,e.error),t},_getHeaders:function(e){return e.headers},_setHeaders:function(e,t){e.headers.common=Object.assign({},e.headers.common,t)}}},function(e,t){e.exports={_init:function(){if(!this.options.Vue.router)return"vue-router.2.x.js : Vue.router must be set."},_bindData:function(e,t){var n,i;return n=(e=e||{}).error,i=e.success,e.query=t.$route.query||{},e.success&&(e.success=function(e){i.call(t,e)}),e.error&&(e.error=function(e){n.call(t,e)}),e},_beforeEach:function(e,t){var n=this;this.options.Vue.router.beforeEach(function(i,r,o){n.options.setTransitions.call(this,i),e.call(n,function(){var e=n.options.getAuthMeta(i);t.call(n,i,e,function(e){e?o?o(e):this.options.router._routerReplace.call(this,e):(o||i.next)()})})})},_routerReplace:function(e){var t=this.options.Vue.router;t.replace.call(t,e)},_routerGo:function(e){var t=this.options.Vue.router;(t.push||t.go).call(t,e)}}},function(e,t,n){var i;i=function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=2)}([function(e,t){e.exports=function(e,t,n,i){var r,o=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,o=e.default);var a="function"==typeof o?o.options:o;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),i){var l=Object.create(a.computed||null);Object.keys(i).forEach(function(e){var t=i[e];l[e]=function(){return t}}),a.computed=l}return{esModule:r,exports:o,options:a}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n(20),r=new(n.n(i).a)({name:"vue-notification"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),r=n.n(i),o=n(1),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.installed){this.installed=!0,this.params=t,e.component(t.componentName||"notifications",r.a);var n=function(e){"string"==typeof e&&(e={title:"",text:e}),"object"===(void 0===e?"undefined":s(e))&&o.a.$emit("add",e)};n.close=function(e){o.a.$emit("close",e)};var i=t.name||"notify";e.prototype["$"+i]=n,e[i]=n}}};t.default=a},function(e,t,n){n(17);var i=n(0)(n(5),n(15),null,null);e.exports=i.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"CssGroup",props:["name"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),r=n(1),o=n(9),s=n(7),a=n(13),l=n.n(a),c=n(12),u=n.n(c),d=n(8),h=0,f=2,p={name:"Notifications",components:{VelocityGroup:l.a,CssGroup:u.a},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:function(){return s.a.position}},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css",validator:function(e){return"css"===e||"velocity"===e}},animation:{type:Object,default:function(){return s.a.velocityAnimation}},animationName:{type:String,default:s.a.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0}},data:function(){return{list:[],velocity:i.default.params.velocity}},mounted:function(){r.a.$on("add",this.addItem),r.a.$on("close",this.closeItem)},computed:{actualWidth:function(){return n.i(d.a)(this.width)},isVA:function(){return"velocity"===this.animationType},componentName:function(){return this.isVA?"VelocityGroup":"CssGroup"},styles:function(){var e,t,i,r=n.i(o.a)(this.position),s=r.x,a=r.y,l=this.actualWidth.value,c=this.actualWidth.type,u=(i="0px",(t=a)in(e={width:l+c})?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e);return"center"===s?u.left="calc(50% - "+l/2+c+")":u[s]="0px",u},active:function(){return this.list.filter(function(e){return e.state!==f})},botToTop:function(){return this.styles.hasOwnProperty("bottom")}},methods:{destroyIfNecessary:function(e){this.closeOnClick&&this.destroy(e)},addItem:function(e){var t=this;if(e.group=e.group||"",this.group===e.group)if(e.clean||e.clear)this.destroyAll();else{var i="number"==typeof e.duration?e.duration:this.duration,r="number"==typeof e.speed?e.speed:this.speed,s="boolean"==typeof e.ignoreDuplicates?e.ignoreDuplicates:this.ignoreDuplicates,a=e.title,l=e.text,c=e.type,u=e.data,d={id:e.id||n.i(o.b)(),title:a,text:l,type:c,state:h,speed:r,length:i+2*r,data:u};i>=0&&(d.timer=setTimeout(function(){t.destroy(d)},d.length));var f=this.reverse?!this.botToTop:this.botToTop,p=-1,m=this.active.some(function(t){return t.title===e.title&&t.text===e.text});(!s||!m)&&(f?(this.list.push(d),this.active.length>this.max&&(p=0)):(this.list.unshift(d),this.active.length>this.max&&(p=this.active.length-1)),-1!==p&&this.destroy(this.active[p]))}},closeItem:function(e){this.destroyById(e)},notifyClass:function(e){return["vue-notification-template",this.classes,e.type]},notifyWrapperStyle:function(e){return this.isVA?null:{transition:"all "+e.speed+"ms"}},destroy:function(e){clearTimeout(e.timer),e.state=f,this.isVA||this.clean()},destroyById:function(e){var t=this.list.find(function(t){return t.id===e});t&&this.destroy(t)},destroyAll:function(){this.active.forEach(this.destroy)},getAnimation:function(e,t){var n=this.animation[e];return"function"==typeof n?n.call(this,t):n},enter:function(e){var t=e.el,n=e.complete,i=this.getAnimation("enter",t);this.velocity(t,i,{duration:this.speed,complete:n})},leave:function(e){var t=e.el,n=e.complete,i=this.getAnimation("leave",t);this.velocity(t,i,{duration:this.speed,complete:n})},clean:function(){this.list=this.list.filter(function(e){return e.state!==f})}}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"VelocityGroup",methods:{enter:function(e,t){this.$emit("enter",{el:e,complete:t})},leave:function(e,t){this.$emit("leave",{el:e,complete:t})},afterLeave:function(){this.$emit("afterLeave")}}}},function(e,t,n){"use strict";t.a={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:function(e){return{height:[e.clientHeight,0],opacity:[1,0]}},leave:{height:0,opacity:[0,1]}}}},function(e,t,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=[{name:"px",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+px$")},{name:"%",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+%$")},{name:"px",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+$")}];t.a=function(e){switch(void 0===e?"undefined":i(e)){case"number":return{type:"px",value:e};case"string":return function(e){if("auto"===e)return{type:e,value:0};for(var t=0;t<r.length;t++){var n=r[t];if(n.regexp.test(e))return{type:n.name,value:parseFloat(e)}}return{type:"",value:e}}(e);default:return{type:"",value:e}}}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return s});var i,r={x:["left","center","right"],y:["top","bottom"]},o=(i=0,function(){return i++}),s=function(e){"string"==typeof e&&(e=function(e){return"string"!=typeof e?[]:e.split(/\s+/gi).filter(function(e){return e})}(e));var t=null,n=null;return e.forEach(function(e){-1!==r.y.indexOf(e)&&(n=e),-1!==r.x.indexOf(e)&&(t=e)}),{x:t,y:n}}},function(e,t,n){(e.exports=n(11)()).push([e.i,".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{background:#fff}.vue-notification,.vue-notification-template{display:block;box-sizing:border-box;text-align:left}.vue-notification{font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187fe7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter,.vn-fade-leave-to{opacity:0}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(e,t,n){var i=n(0)(n(4),n(16),null,null);e.exports=i.exports},function(e,t,n){var i=n(0)(n(6),n(14),null,null);e.exports=i.exports},function(e,t){e.exports={render:function(){var e=this.$createElement;return(this._self._c||e)("transition-group",{attrs:{css:!1},on:{enter:this.enter,leave:this.leave,"after-leave":this.afterLeave}},[this._t("default")],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-notification-group",style:e.styles},[n(e.componentName,{tag:"component",attrs:{name:e.animationName},on:{enter:e.enter,leave:e.leave,"after-leave":e.clean}},e._l(e.active,function(t){return n("div",{key:t.id,staticClass:"vue-notification-wrapper",style:e.notifyWrapperStyle(t),attrs:{"data-id":t.id}},[e._t("body",[n("div",{class:e.notifyClass(t),on:{click:function(n){return e.destroyIfNecessary(t)}}},[t.title?n("div",{staticClass:"notification-title",domProps:{innerHTML:e._s(t.title)}}):e._e(),e._v(" "),n("div",{staticClass:"notification-content",domProps:{innerHTML:e._s(t.text)}})])],{item:t,close:function(){return e.destroy(t)}})],2)}),0)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this.$createElement;return(this._self._c||e)("transition-group",{attrs:{name:this.name}},[this._t("default")],2)},staticRenderFns:[]}},function(e,t,n){var i=n(10);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(18)("2901aeae",i,!0)},function(e,t,n){var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r=n(19),o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e){for(var t=0;t<e.length;t++){var n=e[t],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(p(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(p(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function f(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function p(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(d){var r=l++;i=a||(a=f()),t=v.bind(null,i,r,!1),n=v.bind(null,i,r,!0)}else i=f(),t=y.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}e.exports=function(e,t,n){c=n;var i=r(e,t);return h(i),function(t){for(var n=[],s=0;s<i.length;s++){var a=i[s];(l=o[a.id]).refs--,n.push(l)}for(t?h(i=r(e,t)):i=[],s=0;s<n.length;s++){var l;if(0===(l=n[s]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}};var m,g=(m=[],function(e,t){return m[e]=t,m.filter(Boolean).join("\n")});function v(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=g(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function y(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},function(e,t){e.exports=function(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],s=o[0],a={id:e+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}},function(t,n){t.exports=e}])},e.exports=i(n(3))},function(e,t,n){var i,r;"undefined"!=typeof self&&self,e.exports=(i=n(3),r=n(0),function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"0a49":function(e,t,n){var i=n("9b43"),r=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,f=t||a;return function(t,a,p){for(var m,g,v=o(t),y=r(v),b=i(a,p,3),_=s(y.length),w=0,x=n?f(t,_):l?f(t,0):void 0;_>w;w++)if((h||w in y)&&(g=b(m=y[w],w,v),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return d?-1:c||u?u:x}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0e58":function(e,t,n){"use strict";var i=n("9a59");n.n(i).a},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=o(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,l=0;a>l;)i.f(e,n=s[l++],t[n]);return e}},1991:function(e,t,n){var i,r,o,s=n("9b43"),a=n("31f4"),l=n("fab2"),c=n("230e"),u=n("7726"),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},_=function(e){b.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){a("function"==typeof e?e:Function(e),t)},i(g),g},f=function(e){delete v[e]},"process"==n("2d95")(d)?i=function(e){d.nextTick(s(b,e,1))}:m&&m.now?i=function(e){m.now(s(b,e,1))}:p?(o=(r=new p).port2,r.port1.onmessage=_,i=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",_,!1)):i=y in c("script")?function(e){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(s(b,e,1),0)}),e.exports={set:h,clear:f}},"1fa8":function(e,t,n){var i=n("cb7c");e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"27ee":function(e,t,n){var i=n("23c6"),r=n("2b4c")("iterator"),o=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a="toString",l=Function[a],c=(""+l).split(a);n("8378").inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,a){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(o(n,s)||r(n,s,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[s]||l.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},l="prototype",c=function(){var e,t=n("230e")("iframe"),i=o.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[l][o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=i(e),n=new a,a[l]=null,n[s]=e):n=c(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"31f4":function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"33a4":function(e,t,n){var i=n("84f2"),r=n("2b4c")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4a59":function(e,t,n){var i=n("9b43"),r=n("1fa8"),o=n("33a4"),s=n("cb7c"),a=n("9def"),l=n("27ee"),c={},u={};(t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=i(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=a(e.length);f>b;b++)if((g=t?y(s(p=e[b])[0],p[1]):y(e[b]))===c||g===u)return g}else for(m=v.call(e);!(p=m.next()).done;)if((g=r(m,y,p.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"551c":function(e,t,n){"use strict";var i,r,o,s,a=n("2d00"),l=n("7726"),c=n("9b43"),u=n("23c6"),d=n("5ca1"),h=n("d3f4"),f=n("d8e8"),p=n("f605"),m=n("4a59"),g=n("ebd6"),v=n("1991").set,y=n("8079")(),b=n("a5b8"),_=n("9c80"),w=n("bcaa"),x="Promise",A=l.TypeError,C=l.process,k=l[x],M="process"==u(C),S=function(){},L=r=b.f,E=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(S,S)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(S)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},T=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var i=e._v,r=1==e._s,o=0,s=function(t){var n,o,s=r?t.ok:t.fail,a=t.resolve,l=t.reject,c=t.domain;try{s?(r||(2==e._h&&O(e),e._h=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&c.exit()),n===t.promise?l(A("Promise-chain cycle")):(o=D(n))?o.call(n,a,l):a(n)):l(i)}catch(e){l(e)}};n.length>o;)s(n[o++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){v.call(l,function(){var t,n,i,r=e._v,o=j(e);if(o&&(t=_(function(){M?C.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=M||j(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},j=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,i=0;n.length>i;)if((t=n[i++]).fail||!j(t.promise))return!1;return!0},O=function(e){v.call(l,function(){var t;M?C.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),T(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw A("Promise can't be resolved itself");(t=D(e))?y(function(){var i={_w:n,_d:!1};try{t.call(e,c(N,i,1),c(F,i,1))}catch(e){F.call(i,e)}}):(n._v=e,n._s=1,T(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};E||(k=function(e){p(this,k,x,"_h"),f(e),i.call(this);try{e(c(N,this,1),c(F,this,1))}catch(e){F.call(this,e)}},(i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("dcbc")(k.prototype,{then:function(e,t){var n=L(g(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&T(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=c(N,e,1),this.reject=c(F,e,1)},b.f=L=function(e){return e===k||e===s?new o(e):r(e)}),d(d.G+d.W+d.F*!E,{Promise:k}),n("7f20")(k,x),n("7a56")(x),s=n("8378")[x],d(d.S+d.F*!E,x,{reject:function(e){var t=L(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(a||!E),x,{resolve:function(e){return w(a&&this===s?k:this,e)}}),d(d.S+d.F*!(E&&n("5cc5")(function(e){k.all(e).catch(S)})),x,{all:function(e){var t=this,n=L(t),i=n.resolve,r=n.reject,o=_(function(){var n=[],o=0,s=1;m(e,!1,function(e){var a=o++,l=!1;n.push(void 0),s++,t.resolve(e).then(function(e){l||(l=!0,n[a]=e,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=L(t),i=n.reject,r=_(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},5537:function(e,t,n){var i=n("7726"),r="__core-js_shared__",o=i[r]||(i[r]={});e.exports=function(e){return o[e]||(o[e]={})}},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),l="prototype",c=function(e,t,n){var u,d,h,f,p=e&c.F,m=e&c.G,g=e&c.S,v=e&c.P,y=e&c.B,b=m?i:g?i[t]||(i[t]={}):(i[t]||{})[l],_=m?r:r[t]||(r[t]={}),w=_[l]||(_[l]={});for(u in m&&(n=t),n)h=((d=!p&&b&&void 0!==b[u])?b:n)[u],f=y&&d?a(h,i):v&&"function"==typeof h?a(Function.call,h):h,b&&s(b,u,h,e&c.U),_[u]!=h&&o(_,u,f),v&&w[u]!=h&&(w[u]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(e){}return n}},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],l=function(e){n("2aba")(RegExp.prototype,s,e,!0)};n("79e5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?l(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?r.call(e):void 0)}):a.name!=s&&l(function(){return a.call(this)})},"6e50":function(e,t,n){},7514:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},7552:function(e,t,n){"use strict";var i=n("8fee");n.n(i).a},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");e.exports=function(e){var t=i[e];o&&t&&!t[s]&&r.f(t,s,{configurable:!0,get:function(){return this}})}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},8079:function(e,t,n){var i=n("7726"),r=n("1991").set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,l="process"==n("2d95")(s);e.exports=function(){var e,t,n,c=function(){var i,r;for(l&&(i=s.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(l)n=function(){s.nextTick(c)};else if(o){var u=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=u=!u}}else if(a&&a.resolve){var h=a.resolve();n=function(){h.then(c)}}else n=function(){r.call(i,c)};return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},8378:function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},"8bbf":function(e,t){e.exports=i},"8fee":function(e,t,n){},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"9a59":function(e,t,n){},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;null==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a5b8:function(e,t,n){"use strict";var i=n("d8e8");function r(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",l=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),u=function(e,t,n){var r={},a=o(function(){return!!s[e]()||" "!=" "[e]()}),l=r[e]=a?t(d):s[e];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=u.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},bcaa:function(e,t,n){var i=n("cb7c"),r=n("d3f4"),o=n("a5b8");e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c32d:function(e,t){e.exports=r},c366:function(e,t,n){var i=n("6821"),r=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,s){var a,l=i(t),c=r(l.length),u=o(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),l=n("79e5"),c=n("9093").f,u=n("11e9").f,d=n("86cc").f,h=n("aa77").trim,f="Number",p=i[f],m=p,g=p.prototype,v=o(n("2aeb")(g))==f,y="trim"in String.prototype,b=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var n,i,r,o=(t=y?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,l=t.slice(2),c=0,u=l.length;c<u;c++)if((s=l.charCodeAt(c))<48||s>r)return NaN;return parseInt(l,i)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(v?l(function(){g.valueOf.call(n)}):o(n)!=f)?s(new m(b(t)),n,p):b(t)};for(var _,w=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)r(m,_=w[x])&&!r(p,_)&&d(p,_,u(m,_));p.prototype=g,g.constructor=p,n("2aba")(i,f,p)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c7db:function(e,t,n){"use strict";var i=n("8bbf");i="default"in i?i.default:i;var r="2.2.2";/^2\./.test(i.version)||i.util.warn("VueClickaway 2.2.2 only supports Vue 2.x, and does not support Vue "+i.version);var o="_vue_clickaway_handler";function s(e,t,n){a(e);var i=n.context,r=t.value;if("function"==typeof r){var s=!1;setTimeout(function(){s=!0},0),e[o]=function(t){var n=t.path||(t.composedPath?t.composedPath():void 0);if(s&&(n?n.indexOf(e)<0:!e.contains(t.target)))return r.call(i,t)},document.documentElement.addEventListener("click",e[o],!1)}}function a(e){document.documentElement.removeEventListener("click",e[o],!1),delete e[o]}var l={bind:s,update:function(e,t){t.value!==t.oldValue&&s(e,t)},unbind:a},c={directives:{onClickaway:l}};t.version=r,t.directive=l,t.mixin=c},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,a=r(e),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>l;)i(a,n=t[l++])&&(~o(c,n)||c.push(n));return c}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d58f:function(e,t,n){"use strict";var i=n("6e50");n.n(i).a},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),o=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},ebd6:function(e,t,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");e.exports=function(e,t){var n,s=i(e).constructor;return void 0===s||null==(n=i(s)[o])?t:r(n)}},f605:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},f6fd:function(e,t){!function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})}(document)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;n.r(t),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1])),n("551c");var r=(n("c5f6"),n("c32d")),o=n.n(r);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("7514");var a=function(e){var t=11===e.getMonth(),n=t?0:e.getMonth()+1,i=t?e.getFullYear()+1:e.getFullYear();return new Date(i,n,1)},l=function(e){var t=0===e.getMonth(),n=t?11:e.getMonth()-1,i=t?e.getFullYear()-1:e.getFullYear();return new Date(i,n,1)},c=function(e,t,n){var i=new Date(n),r=new Date(t);return n&&o()(e).isAfter(i)?i:t&&o()(e).isBefore(r)?r:e},u=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){s(e,t,n[t])})}return e}({},{direction:"ltr",format:o.a.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:o.a.weekdaysMin(),monthNames:o.a.monthsShort(),firstDay:o.a.localeData().firstDayOfWeek()},e)},d=function(e){var t=e.getMonth()+1;return e.getFullYear()+(t<10?"0":"")+t},h={name:"calendar",props:{monthDate:Date,localeData:Object,start:Date,end:Date,minDate:Date,maxDate:Date,showDropdowns:{type:Boolean,default:!1},showWeekNumbers:{type:Boolean,default:!1},dateFormat:{type:Function,default:null}},data:function(){return{currentMonthDate:this.monthDate||this.start||new Date}},methods:{prevMonth:function(){this.changeMonthDate(l(this.currentMonthDate))},nextMonth:function(){this.changeMonthDate(a(this.currentMonthDate))},changeMonthDate:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=d(this.currentMonthDate);this.currentMonthDate=c(e,this.minDate,this.maxDate),t&&n!==d(this.currentMonthDate)&&this.$emit("change-month",{month:this.currentMonthDate.getMonth(),year:this.currentMonthDate.getFullYear()})},dayClass:function(e){var t=new Date(e);t.setHours(0,0,0,0);var n=new Date(this.start);n.setHours(0,0,0,0);var i=new Date(this.end);i.setHours(0,0,0,0);var r={off:e.month()!==this.month,weekend:e.isoWeekday()>5,today:t.setHours(0,0,0,0)==(new Date).setHours(0,0,0,0),active:t.setHours(0,0,0,0)==new Date(this.start).setHours(0,0,0,0)||t.setHours(0,0,0,0)==new Date(this.end).setHours(0,0,0,0),"start-date":t.getTime()===n.getTime(),"end-date":t.getTime()===i.getTime(),disabled:this.minDate&&o()(t).startOf("day").isBefore(o()(this.minDate).startOf("day"))||this.maxDate&&o()(t).startOf("day").isAfter(o()(this.maxDate).startOf("day"))};return this.dateFormat?this.dateFormat(r,e):r}},computed:{monthName:function(){return this.locale.monthNames[this.currentMonthDate.getMonth()]},year:{get:function(){return this.currentMonthDate.getFullYear()},set:function(e){var t=c(new Date(e,this.month,1),this.minDate,this.maxDate);this.$emit("change-month",{month:t.getMonth(),year:t.getFullYear()})}},month:{get:function(){return this.currentMonthDate.getMonth()},set:function(e){var t=c(new Date(this.year,e,1),this.minDate,this.maxDate);this.$emit("change-month",{month:t.getMonth(),year:t.getFullYear()})}},calendar:function(){for(var e=this.month,t=this.currentMonthDate.getFullYear(),n=new Date(t,e,0).getDate(),i=new Date(t,e,1),r=(new Date(t,e,n),o()(i).subtract(1,"month").month()),s=o()(i).subtract(1,"month").year(),a=o()([s,r]).daysInMonth(),l=i.getDay(),c=[],u=0;u<6;u++)c[u]=[];var d=a-l+this.locale.firstDay+1;d>a&&(d-=7),l===this.locale.firstDay&&(d=a-6);for(var h=o()([s,r,d,12,0,0]),f=0,p=0,m=0;f<42;f++,p++,h=o()(h).add(1,"day"))f>0&&p%7==0&&(p=0,m++),c[m][p]=h.clone(),h.hour(12);return c},months:function(){var e=this.locale.monthNames.map(function(e,t){return{label:e,value:t}});if(this.maxDate&&this.minDate){var t=this.maxDate.getFullYear()-this.minDate.getFullYear();if(t<2){var n=[];if(t<1)for(var i=this.minDate.getMonth();i<=this.maxDate.getMonth();i++)n.push(i);else{for(var r=0;r<=this.maxDate.getMonth();r++)n.push(r);for(var o=this.minDate.getMonth();o<12;o++)n.push(o)}if(n.length>0)return e.filter(function(e){return n.find(function(t){return e.value===t})>-1})}}return e},locale:function(){return u(this.localeData)}},watch:{monthDate:function(e){this.changeMonthDate(e,!1)}},filters:{dateNum:function(e){return e.date()},weeknumber:function(e){return e.week()}}};function f(e,t,n,i,r,o,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n("7552");var p={inheritAttrs:!1,components:{Calendar:f(h,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"table-condensed"},[n("thead",[n("tr",[n("th",{staticClass:"prev available",on:{click:e.prevMonth}},[n("span")]),e.showDropdowns?n("th",{staticClass:"month",attrs:{colspan:e.showWeekNumbers?6:5}},[n("div",{staticClass:"row mx-1"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.month,expression:"month"}],staticClass:"monthselect col",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.month=t.target.multiple?n:n[0]}}},e._l(e.months,function(t){return n("option",{key:t.value,domProps:{value:t.value}},[e._v(e._s(t.label))])}),0),n("input",{directives:[{name:"model",rawName:"v-model",value:e.year,expression:"year"}],staticClass:"yearselect col",attrs:{type:"number"},domProps:{value:e.year},on:{input:function(t){t.target.composing||(e.year=t.target.value)}}})])]):n("th",{staticClass:"month",attrs:{colspan:"5"}},[e._v(e._s(e.monthName)+" "+e._s(e.year))]),n("th",{staticClass:"next available",on:{click:e.nextMonth}},[n("span")])])]),n("tbody",[n("tr",[e.showWeekNumbers?n("th",{staticClass:"week"},[e._v(e._s(e.locale.weekLabel))]):e._e(),e._l(e.locale.daysOfWeek,function(t){return n("th",{key:t},[e._v(e._s(t))])})],2),e._l(e.calendar,function(t,i){return n("tr",{key:i},[e.showWeekNumbers&&(i%7||0===i)?n("td",{staticClass:"week"},[e._v("\n "+e._s(e._f("weeknumber")(t[0]))+"\n ")]):e._e(),e._l(t,function(t,i){return e._t("date-slot",[n("td",{key:i,class:e.dayClass(t),on:{click:function(n){return e.$emit("dateClick",t)},mouseover:function(n){return e.$emit("hoverDate",t)}}},[e._v("\n "+e._s(e._f("dateNum")(t))+"\n ")])])})],2)})],2)])},[],!1,null,"64721b4e",null).exports,CalendarTime:f((n("6b54"),{filters:{formatNumber:function(e){return e<10?"0"+e.toString():e.toString()}},props:{miniuteIncrement:{type:Number,default:5},hour24:{type:Boolean,default:!0},secondPicker:{type:Boolean,default:!1},currentTime:{default:function(){return new Date}}},data:function(){var e=this.currentTime?this.currentTime:new Date,t=e.getHours();return{hour:this.hour24?t:t%12||12,minute:e.getMinutes()-e.getMinutes()%this.miniuteIncrement,second:e.getSeconds(),ampm:t<12?"AM":"PM"}},computed:{hours:function(){for(var e=[],t=this.hour24?24:12,n=0;n<t;n++)e.push(this.hour24?n:n+1);return e},minutes:function(){for(var e=[],t=0;t<60;t+=this.miniuteIncrement)e.push(t);return e}},watch:{hour:function(){this.onChange()},minute:function(){this.onChange()},second:function(){this.onChange()},ampm:function(){this.onChange()}},methods:{getHour:function(){return this.hour24?this.hour:12===this.hour?"AM"===this.ampm?0:12:this.hour+("PM"===this.ampm?12:0)},onChange:function(){this.$emit("update",{hours:this.getHour(),minutes:this.minute,seconds:this.second})}}}),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"calendar-time"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.hour,expression:"hour"}],staticClass:"hourselect",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.hour=t.target.multiple?n:n[0]}}},e._l(e.hours,function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(e._f("formatNumber")(t)))])}),0),e._v("\n :"),n("select",{directives:[{name:"model",rawName:"v-model",value:e.minute,expression:"minute"}],staticClass:"minuteselect",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.minute=t.target.multiple?n:n[0]}}},e._l(e.minutes,function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(e._f("formatNumber")(t)))])}),0),e.secondPicker?[e._v("\n :"),n("select",{directives:[{name:"model",rawName:"v-model",value:e.second,expression:"second"}],staticClass:"secondselect",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.second=t.target.multiple?n:n[0]}}},e._l(60,function(t){return n("option",{key:t-1,domProps:{value:t-1}},[e._v(e._s(e._f("formatNumber")(t-1)))])}),0)]:e._e(),e.hour24?e._e():n("select",{directives:[{name:"model",rawName:"v-model",value:e.ampm,expression:"ampm"}],staticClass:"ampmselect",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.ampm=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"AM"}},[e._v("AM")]),n("option",{attrs:{value:"PM"}},[e._v("PM")])])],2)},[],!1,null,"f86c15aa",null).exports,CalendarRanges:f({props:{ranges:Object,selected:Object},methods:{range_class:function(e){return{active:o()(this.selected.startDate).isSame(e[0],"date")&&o()(this.selected.endDate).isSame(e[1],"date")}}}},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ranges"},[e.ranges?n("ul",e._l(e.ranges,function(t,i){return n("li",{key:i,class:e.range_class(t),attrs:{"data-range-key":i},on:{click:function(n){return e.$emit("clickRange",t)}}},[e._v(e._s(i)+"\n ")])}),0):e._e()])},[],!1,null,null,null).exports},mixins:[n("c7db").mixin],model:{prop:"dateRange",event:"update"},props:{minDate:{type:[String,Date],default:function(){return null}},maxDate:{type:[String,Date],default:function(){return null}},showWeekNumbers:{type:Boolean,default:!1},linkedCalendars:{type:Boolean,default:!0},singleDatePicker:{type:Boolean,default:!1},showDropdowns:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},timePickerIncrement:{type:Number,default:5},timePicker24Hour:{type:Boolean,default:!0},timePickerSeconds:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},localeData:{type:Object,default:function(){return{}}},dateRange:{default:null,required:!0},ranges:{type:[Object,Boolean],default:function(){return{Today:[o()(),o()()],Yesterday:[o()().subtract(1,"days"),o()().subtract(1,"days")],"This month":[o()().startOf("month"),o()().endOf("month")],"This year":[o()().startOf("year"),o()().endOf("year")],"Last week":[o()().subtract(1,"week").startOf("week"),o()().subtract(1,"week").endOf("week")],"Last month":[o()().subtract(1,"month").startOf("month"),o()().subtract(1,"month").endOf("month")]}}},opens:{type:String,default:"center"},dateFormat:Function,alwaysShowCalendars:{type:Boolean,default:!0}},data:function(){var e={locale:u(this.localeData)},t=this.dateRange.startDate||null,n=this.dateRange.endDate||null;if(e.monthDate=t?new Date(t):new Date,e.nextMonthDate=a(e.monthDate),e.start=t?new Date(t):null,this.singleDatePicker?e.end=e.start:e.end=n?new Date(n):null,e.in_selection=!1,e.open=!1,0!==e.locale.firstDay)for(var i=e.locale.firstDay;i>0;)e.locale.daysOfWeek.push(e.locale.daysOfWeek.shift()),i--;return e},methods:{dateFormatFn:function(e,t){var n=new Date(t);n.setHours(0,0,0,0);var i=new Date(this.start);i.setHours(0,0,0,0);var r=new Date(this.end);return r.setHours(0,0,0,0),e["in-range"]=n>=i&&n<=r,this.dateFormat?this.dateFormat(e,t):e},changeLeftMonth:function(e){var t=new Date(e.year,e.month,1);this.monthDate=t,(this.linkedCalendars||d(this.monthDate)>=d(this.nextMonthDate))&&(this.nextMonthDate=c(a(t),this.minDate,this.maxDate),d(this.monthDate)===d(this.nextMonthDate)&&(this.monthDate=c(l(this.monthDate),this.minDate,this.maxDate)))},changeRightMonth:function(e){var t=new Date(e.year,e.month,1);this.nextMonthDate=t,(this.linkedCalendars||d(this.nextMonthDate)<=d(this.monthDate))&&(this.monthDate=c(l(t),this.minDate,this.maxDate),d(this.monthDate)===d(this.nextMonthDate)&&(this.nextMonthDate=c(a(this.nextMonthDate),this.minDate,this.maxDate)))},normalizeDatetime:function(e,t){var n=new Date(e);return this.timePicker&&t&&(n.setHours(t.getHours()),n.setMinutes(t.getMinutes()),n.setSeconds(t.getSeconds()),n.setMilliseconds(t.getMilliseconds())),n},dateClick:function(e){this.in_selection?(this.in_selection=!1,this.end=this.normalizeDatetime(e,this.end),this.end<this.start&&(this.in_selection=!0,this.start=this.normalizeDatetime(e,this.start)),!this.in_selection&&this.autoApply&&this.clickedApply()):(this.start=this.normalizeDatetime(e,this.start),this.end=this.normalizeDatetime(e,this.end),this.singleDatePicker?this.autoApply&&this.clickedApply():this.in_selection=!0)},hoverDate:function(e){var t=this.normalizeDatetime(e,this.end);this.in_selection&&t>=this.start&&(this.end=t)},togglePicker:function(e,t){this.open="boolean"==typeof e?e:!this.open,!0===t&&this.$emit("toggle",this.open,this.togglePicker)},clickedApply:function(){this.togglePicker(!1,!0),this.$emit("update",{startDate:this.start,endDate:this.end})},clickAway:function(){if(this.open){var e=this.dateRange.startDate,t=this.dateRange.endDate;this.start=e?new Date(e):null,this.end=t?new Date(t):null,this.togglePicker(!1,!0)}},clickRange:function(e){this.start=new Date(e[0]),this.end=new Date(e[1]),this.monthDate=new Date(e[0]),this.autoApply&&this.clickedApply()},onUpdateStartTime:function(e){var t=new Date(this.start);t.setHours(e.hours),t.setMinutes(e.minutes),t.setSeconds(e.seconds),this.start=t},onUpdateEndTime:function(e){var t=new Date(this.end);t.setHours(e.hours),t.setMinutes(e.minutes),t.setSeconds(e.seconds),this.end=t}},computed:{startText:function(){return null===this.start?"":o()(this.start).format(this.locale.format)},endText:function(){return null===this.end?"":o()(new Date(this.end)).format(this.locale.format)},rangeText:function(){var e=this.startText;return this.singleDatePicker||(e+=this.locale.separator+this.endText),e},min:function(){return this.minDate?new Date(this.minDate):null},max:function(){return this.maxDate?new Date(this.maxDate):null},pickerStyles:function(){return{"show-calendar":this.open,"show-ranges":!!this.ranges,"show-weeknumbers":this.showWeekNumbers,single:this.singleDatePicker,opensright:"right"===this.opens,opensleft:"left"===this.opens,openscenter:"center"===this.opens,linked:this.linkedCalendars}},isClear:function(){return!this.dateRange.startDate||!this.dateRange.endDate}},watch:{minDate:function(){var e=c(this.monthDate,this.minDate||new Date,this.maxDate);this.changeLeftMonth({year:e.getFullYear(),month:e.getMonth()})},maxDate:function(){var e=c(this.nextMonthDate,this.minDate,this.maxDate||new Date);this.changeRightMonth({year:e.getFullYear(),month:e.getMonth()})},"dateRange.startDate":function(e){this.start=e&&!this.isClear?new Date(e):null,this.isClear?(this.start=null,this.end=null):(this.start=new Date(this.dateRange.startDate),this.end=new Date(this.dateRange.endDate))},"dateRange.endDate":function(e){this.end=e&&!this.isClear?new Date(e):null,this.isClear?(this.start=null,this.end=null):(this.start=new Date(this.dateRange.startDate),this.end=new Date(this.dateRange.endDate))}}},m=(n("0e58"),n("d58f"),f(p,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-daterange-picker"},[n("div",{staticClass:"form-control reportrange-text",on:{click:function(t){return e.togglePicker(null,!0)}}},[e._t("input",[n("i",{staticClass:"glyphicon glyphicon-calendar fa fa-calendar"}),e._v(" \n "),n("span",[e._v(e._s(e.rangeText))]),n("b",{staticClass:"caret"})],{startDate:e.start,endDate:e.end,ranges:e.ranges})],2),n("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[e.open?n("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.clickAway,expression:"clickAway"}],staticClass:"daterangepicker dropdown-menu ltr",class:e.pickerStyles},[n("div",{staticClass:"calendars row no-gutters"},[!1!==e.ranges?e._t("ranges",[n("calendar-ranges",{staticClass:"col-12 col-md-auto",attrs:{ranges:e.ranges,selected:{startDate:e.start,endDate:e.end}},on:{clickRange:e.clickRange}})],{startDate:e.start,endDate:e.end,ranges:e.ranges}):e._e(),n("div",{staticClass:"drp-calendar col left",class:{single:e.singleDatePicker}},[e._e(),n("div",{staticClass:"calendar-table"},[n("calendar",{attrs:{monthDate:e.monthDate,"locale-data":e.locale,start:e.start,end:e.end,minDate:e.min,maxDate:e.max,"show-dropdowns":e.showDropdowns,"date-format":e.dateFormatFn,showWeekNumbers:e.showWeekNumbers},on:{"change-month":e.changeLeftMonth,dateClick:e.dateClick,hoverDate:e.hoverDate}})],1),e.timePicker?n("calendar-time",{attrs:{"miniute-increment":e.timePickerIncrement,hour24:e.timePicker24Hour,"second-picker":e.timePickerSeconds,"current-time":e.start},on:{update:e.onUpdateStartTime}}):e._e()],1),e.singleDatePicker?e._e():n("div",{staticClass:"drp-calendar col right"},[e._e(),n("div",{staticClass:"calendar-table"},[n("calendar",{attrs:{monthDate:e.nextMonthDate,"locale-data":e.locale,start:e.start,end:e.end,minDate:e.min,maxDate:e.max,"show-dropdowns":e.showDropdowns,"date-format":e.dateFormatFn,showWeekNumbers:e.showWeekNumbers},on:{"change-month":e.changeRightMonth,dateClick:e.dateClick,hoverDate:e.hoverDate}})],1),e.timePicker?n("calendar-time",{attrs:{"miniute-increment":e.timePickerIncrement,hour24:e.timePicker24Hour,"second-picker":e.timePickerSeconds,"current-time":e.end},on:{update:e.onUpdateEndTime}}):e._e()],1)],2),e.autoApply?e._e():n("div",{staticClass:"drp-buttons"},[n("span",{staticClass:"drp-selected"},[e._v(e._s(e.rangeText))]),n("button",{staticClass:"cancelBtn btn btn-sm btn-default",attrs:{type:"button"},on:{click:e.clickAway}},[e._v(e._s(e.locale.cancelLabel)+"\n ")]),n("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{disabled:e.in_selection,type:"button"},on:{click:e.clickedApply}},[e._v(e._s(e.locale.applyLabel)+"\n ")])])]):e._e()])],1)},[],!1,null,"8cc9549e",null)).exports;t.default=m},fdef:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"}}))},function(e,t,n){window,e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=19)}([function(e,t,n){"use strict";function i(e,t,n,i,r,o,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return i})},function(e,t,n){"use strict";n.r(t);var i=n(2),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={name:"JsonEditor",props:{objData:{type:Object,required:!0},options:{type:Object,default:function(){return{confirmText:"confirm",cancelText:"cancel"}}}},provide:function(){return{formBtnText:this.options}},data:function(){return{parsedData:[]}},created:function(){this.lastParsedData={},this.parsedData=this.jsonParse(this.objData)},watch:{objData:{handler:function(e,t){this.parsedData=this.jsonParse(this.objData)}},parsedData:{handler:function(e,t){JSON.stringify(e)!==JSON.stringify(this.lastParsedData)&&(this.lastParsedData=e,this.$emit("input",this.makeJson(this.parsedData)))},deep:!0}},methods:{jsonParse:function(e){var t=this,n=function e(n){var r=[];return Object.keys(n).forEach(function(o,s){var a=n[o],l=a;console.log("k",a),"object"==t.getType(a)?l=e(a):"array"==t.getType(a)&&(l=i(a));var c={name:o,type:t.getType(a)};"array"==c.type||"object"==c.type?(c.childParams=l,c.remark=null):(c.childParams=null,c.remark=l),r.push(c)}),r},i=function e(i){for(var r=[],o=0;o<i.length;++o){var s=i[o],a=s;"object"==t.getType(s)?a=n(s):"array"==t.getType(s)&&(a=e(s));var l={name:null,type:t.getType(s)};"array"==l.type||"object"==l.type?(l.childParams=a,l.remark=null):(l.childParams=null,l.remark=a),r.push(l)}return r};return n(e)},getType:function(e){switch(Object.prototype.toString.call(e)){case"[object Array]":return"array";case"[object Object]":return"object";case"[object Null]":case"[object Function]":case"[object Undefined]":return"string";default:return void 0===e?"undefined":i(e)}},makeJson:function(e){var t=function e(t){for(var i={},r=0;r<t.length;++r){var o,s,a=t[r];o=a.name,s="array"==a.type?n(a.childParams):"object"==a.type?e(a.childParams):a.remark,i[o]=s}return i},n=function e(n){for(var i=[],r=0;r<n.length;++r){var o,s=n[r];o="array"==s.type?e(s.childParams):"object"==s.type?t(s.childParams):s.remark,i.push(o)}return i};return t(e)}}}},function(e,t,n){var i=n(22);"string"==typeof i&&(i=[[e.i,i,""]]),n(17)(i,{hmr:!0,transform:void 0,insertInto:void 0}),i.locals&&(e.exports=i.locals)},function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n(18))&&i.__esModule?i:{default:i};t.default={name:"JsonView",props:{parsedData:{}},data:function(){return{flowData:this.parsedData,toAddItem:!1,hideMyBlock:{}}},created:function(){this.flowData=this.parsedData},watch:{parsedData:{handler:function(e,t){this.flowData=this.parsedData}}},components:{"item-add-form":r.default},methods:{delItem:function(e,t,n){this.flowData=this.flowData.rmIndex(n),this.hideMyBlock[n]&&(this.hideMyBlock[n]=!1),this.$emit("input",this.flowData)},closeBlock:function(e,t){this.$set(this.hideMyBlock,e,!this.hideMyBlock[e])},addItem:function(){this.toAddItem=!0},cancelNewItem:function(){this.toAddItem=!1},newItem:function(e){var t={name:e.key,type:e.type};"array"==e.type||"object"==e.type?(t.childParams=e.val,t.remark=null):(t.childParams=null,t.remark=e.val),t.name?(this.flowData.push(t),this.$emit("input",this.flowData),this.cancelNewItem()):alert("please must input a name!")},keyInputBlur:function(e,t){e.name.length<=0&&(alert("please must input a name!"),e.name="null",t.target.focus())}}}},function(e,t,n){"use strict";n.r(t);var i=n(7),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"ItemAddForm",data:function(){return{formats:["string","array","object","number","boolean"],formatSelected:"string",keyName:"",valName:""}},props:{needName:{default:!0}},inject:["formBtnText"],methods:{confirm:function(){var e;e="array"===this.formatSelected||"object"===this.formatSelected?[]:this.valName;var t={key:this.needName?this.keyName:null,val:e,type:this.formatSelected};this.$emit("confirm",t),this.keyName="",this.valName="",this.formatSelected="string"},cancel:function(){this.$emit("cancel")},dealBoolean:function(){this.valName=Boolean(this.valName)},dealNumber:function(){this.valName=Number(this.valName)}}}},function(e,t,n){var i=n(31);"string"==typeof i&&(i=[[e.i,i,""]]),n(17)(i,{hmr:!0,transform:void 0,insertInto:void 0}),i.locals&&(e.exports=i.locals)},function(e,t,n){"use strict";n.r(t);var i=n(10),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n(18))&&i.__esModule?i:{default:i};t.default={name:"ArrayView",props:["parsedData"],data:function(){return{flowData:this.parsedData,toAddItem:!1,hideMyItem:{}}},watch:{parsedData:{handler:function(e,t){this.flowData=this.parsedData}}},components:{"item-add-form":r.default},methods:{delItem:function(e,t,n){this.flowData=this.flowData.rmIndex(n),this.hideMyItem[n]&&(this.hideMyItem[n]=!1),this.$emit("input",this.flowData)},addItem:function(){this.toAddItem=!0},cancelNewItem:function(){this.toAddItem=!1},closeBlock:function(e,t){this.$set(this.hideMyItem,e,!this.hideMyItem[e])},newItem:function(e){this.toAddItem=!1;var t={name:e.key,type:e.type};"array"==e.type||"object"==e.type?(t.childParams=e.val,t.remark=null):(t.childParams=null,t.remark=e.val),this.flowData.push(t),this.$emit("input",this.flowData),this.cancelNewItem()}}}},function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("json-view",{attrs:{parsedData:e.parsedData},model:{value:e.parsedData,callback:function(t){e.parsedData=t},expression:"parsedData"}})},r=[];i._withStripped=!0,n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r})},function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"block_content"},[e._l(e.flowData,function(t,i){return n("span",{key:i,class:["block","clearfix",{"hide-block":1==e.hideMyBlock[i]}]},[n("span",{staticClass:"json-key"},["string"==typeof t.name?n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"item.name"}],staticClass:"key-input",attrs:{type:"text"},domProps:{value:t.name},on:{blur:function(n){return e.keyInputBlur(t,n)},input:function(n){n.target.composing||e.$set(t,"name",n.target.value)}}}):e._e(),e._v(" "),"object"==t.type||"array"==t.type?n("i",{staticClass:"collapse-down",on:{click:function(t){return e.closeBlock(i,t)}}},[n("i",{staticClass:"v-json-edit-icon-down-open"})]):e._e(),e._v(" "),n("i",{staticClass:"del-btn",on:{click:function(n){return e.delItem(e.parsedData,t,i)}}},[n("i",{staticClass:"v-json-edit-icon-trash"})]),e._v(" "),"object"==t.type?n("i",{staticClass:"i-type"},[e._v("\n "+e._s("{"+t.childParams.length+"}")+"\n ")]):e._e(),e._v(" "),"array"==t.type?n("i",{staticClass:"i-type"},[e._v("\n "+e._s("["+t.childParams.length+"]")+"\n ")]):e._e()]),e._v(" "),n("span",{staticClass:"json-val"},["object"==t.type?[n("json-view",{attrs:{parsedData:t.childParams},model:{value:t.childParams,callback:function(n){e.$set(t,"childParams",n)},expression:"item.childParams"}})]:"array"==t.type?[n("array-view",{attrs:{parsedData:t.childParams},model:{value:t.childParams,callback:function(n){e.$set(t,"childParams",n)},expression:"item.childParams"}})]:[n("span",{staticClass:"val"},["string"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.remark,expression:"item.remark"}],staticClass:"val-input",attrs:{type:"text"},domProps:{value:t.remark},on:{input:function(n){n.target.composing||e.$set(t,"remark",n.target.value)}}}):e._e(),e._v(" "),"number"==t.type?n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.remark,expression:"item.remark",modifiers:{number:!0}}],staticClass:"val-input",attrs:{type:"number"},domProps:{value:t.remark},on:{input:function(n){n.target.composing||e.$set(t,"remark",e._n(n.target.value))},blur:function(t){return e.$forceUpdate()}}}):e._e(),e._v(" "),"boolean"==t.type?n("select",{directives:[{name:"model",rawName:"v-model",value:t.remark,expression:"item.remark"}],staticClass:"val-input",attrs:{name:"value"},on:{change:function(n){var i=Array.prototype.filter.call(n.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"remark",n.target.multiple?i:i[0])}}},[n("option",{domProps:{value:!0}},[e._v("true")]),e._v(" "),n("option",{domProps:{value:!1}},[e._v("false")])]):e._e()])]],2)])}),e._v(" "),e.toAddItem?n("item-add-form",{on:{confirm:e.newItem,cancel:e.cancelNewItem}}):e._e(),e._v(" "),e.toAddItem?e._e():n("div",{staticClass:"block add-key",on:{click:e.addItem}},[n("i",{staticClass:"v-json-edit-icon-plus"})])],2)},r=[];i._withStripped=!0,n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r})},function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"block_content array"},[n("ol",{staticClass:"array-ol"},e._l(e.flowData,function(t,i){return n("li",{key:i,class:["array-item",{"hide-item":1==e.hideMyItem[i]}]},["object"!==t.type&&"array"!==t.type?n("p",["string"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:e.parsedData[i].remark,expression:"parsedData[index].remark"}],staticClass:"val-input",attrs:{type:"text",placeholder:"string"},domProps:{value:e.parsedData[i].remark},on:{input:function(t){t.target.composing||e.$set(e.parsedData[i],"remark",t.target.value)}}}):e._e(),e._v(" "),"number"==t.type?n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.parsedData[i].remark,expression:"parsedData[index].remark",modifiers:{number:!0}}],staticClass:"val-input",attrs:{type:"number",placeholder:"number"},domProps:{value:e.parsedData[i].remark},on:{input:function(t){t.target.composing||e.$set(e.parsedData[i],"remark",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}):e._e(),e._v(" "),"boolean"==t.type?n("select",{directives:[{name:"model",rawName:"v-model",value:e.parsedData[i].remark,expression:"parsedData[index].remark"}],staticClass:"val-input",attrs:{name:"value"},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.parsedData[i],"remark",t.target.multiple?n:n[0])}}},[n("option",{domProps:{value:!0}},[e._v("true")]),e._v(" "),n("option",{domProps:{value:!1}},[e._v("false")])]):e._e()]):n("div",[n("span",{class:["json-key","json-desc"]},[e._v("\n "+e._s(e.parsedData[i].type.toUpperCase())+"\n "),"object"==t.type||"array"==t.type?n("i",{staticClass:"collapse-down",on:{click:function(t){return e.closeBlock(i,t)}}},[n("i",{staticClass:"v-json-edit-icon-down-open"})]):e._e(),e._v(" "),"object"==t.type?n("i",[e._v("\n\t\t\t\t\t\t\t"+e._s("{"+e.parsedData[i].childParams.length+"}")+"\n\t\t\t\t\t\t")]):e._e(),e._v(" "),"array"==t.type?n("i",[e._v("\n\t\t\t\t\t\t\t"+e._s("["+e.parsedData[i].childParams.length+"]")+"\n\t\t\t\t\t\t")]):e._e()]),e._v(" "),n("span",{staticClass:"json-val"},["array"==t.type?[n("array-view",{attrs:{parsedData:e.parsedData[i].childParams},model:{value:e.parsedData[i].childParams,callback:function(t){e.$set(e.parsedData[i],"childParams",t)},expression:"parsedData[index].childParams"}})]:e._e(),e._v(" "),"object"==t.type?[n("json-view",{attrs:{parsedData:e.parsedData[i].childParams},model:{value:e.parsedData[i].childParams,callback:function(t){e.$set(e.parsedData[i],"childParams",t)},expression:"parsedData[index].childParams"}})]:e._e()],2)]),e._v(" "),n("i",{staticClass:"del-btn",on:{click:function(n){return e.delItem(e.parsedData,t,i)}}},[n("i",{staticClass:"v-json-edit-icon-trash"})])])}),0),e._v(" "),e.toAddItem?n("item-add-form",{attrs:{needName:!1},on:{confirm:e.newItem,cancel:e.cancelNewItem}}):e._e(),e._v(" "),e.toAddItem?e._e():n("div",{staticClass:"block add-key",on:{click:e.addItem}},[n("i",{staticClass:"v-json-edit-icon-plus"})])],1)},r=[];i._withStripped=!0,n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r})},function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"add-form pure-form"},[n("div",{staticClass:"f-input"},[e.needName?n("input",{directives:[{name:"model",rawName:"v-model",value:e.keyName,expression:"keyName"}],staticClass:"f-input-m",attrs:{type:"text",placeholder:"name"},domProps:{value:e.keyName},on:{input:function(t){t.target.composing||(e.keyName=t.target.value)}}}):e._e(),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.formatSelected,expression:"formatSelected"}],staticClass:"f-input-m",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.formatSelected=t.target.multiple?n:n[0]}}},e._l(e.formats,function(t,i){return n("option",{key:i,domProps:{value:t}},[e._v("\n "+e._s(t)+"\n ")])}),0),e._v(" "),e._m(0),e._v(" "),"array"!=e.formatSelected&&"object"!=e.formatSelected?["string"==e.formatSelected?n("input",{directives:[{name:"model",rawName:"v-model",value:e.valName,expression:"valName"}],staticClass:"f-input-m",attrs:{type:"text",placeholder:"value"},domProps:{value:e.valName},on:{input:function(t){t.target.composing||(e.valName=t.target.value)}}}):e._e(),e._v(" "),"number"==e.formatSelected?n("input",{directives:[{name:"model",rawName:"v-model",value:e.valName,expression:"valName"}],staticClass:"f-input-m",attrs:{type:"number",placeholder:"value"},domProps:{value:e.valName},on:{change:e.dealNumber,input:function(t){t.target.composing||(e.valName=t.target.value)}}}):e._e(),e._v(" "),"boolean"==e.formatSelected?n("select",{directives:[{name:"model",rawName:"v-model",value:e.valName,expression:"valName"}],staticClass:"f-input-m",attrs:{name:"value"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.valName=t.target.multiple?n:n[0]},e.dealBoolean]}},[n("option",{domProps:{value:!0}},[e._v("true")]),e._v(" "),n("option",{domProps:{value:!1}},[e._v("false")])]):e._e()]:e._e()],2),e._v(" "),n("div",{staticClass:"f-btns"},[n("button",{staticClass:"pure-button f-confirm",on:{click:e.confirm}},[e._v("\n "+e._s(this.formBtnText.confirmText)+"\n ")]),e._v(" "),n("button",{staticClass:"pure-button",on:{click:e.cancel}},[e._v("\n "+e._s(this.formBtnText.cancelText)+"\n ")])])])},r=[function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"f-input-m"},[t("b",[this._v(":")])])}];i._withStripped=!0,n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n,i=e[1]||"",r=e[3];if(!r)return i;if(t&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),s=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[i].concat(s).concat([o]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];null!=s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(e,t){e.exports="data:application/vnd.ms-fontobject;base64,oBQAAPgTAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAZ9kIEQAAAAAAAAAAAAAAAAAAAAAAABAAZgBvAG4AdABlAGwAbABvAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGYAbwBuAHQAZQBsAGwAbwAAAAAAAAEAAAAPAIAAAwBwR1NVQiCLJXoAAAD8AAAAVE9TLzI+IElNAAABUAAAAFZjbWFw6S9b4wAAAagAAAGMY3Z0IAbV/wQAAAfgAAAAIGZwZ22KkZBZAAAIAAAAC3BnYXNwAAAAEAAAB9gAAAAIZ2x5ZvBoZ/4AAAM0AAAA+GhlYWQPn2W7AAAELAAAADZoaGVhBzwDVwAABGQAAAAkaG10eA7wAAAAAASIAAAAEGxvY2EAsABkAAAEmAAAAAptYXhwANALngAABKQAAAAgbmFtZcydHR8AAATEAAACzXBvc3Qy6bDpAAAHlAAAAEJwcmVw5UErvAAAE3AAAACGAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEDvAGQAAUAAAJ6ArwAAACMAnoCvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOgA6AIDUv9qAFoDUgCWAAAAAQAAAAAAAAAAAAUAAAADAAAALAAAAAQAAAFYAAEAAAAAAFIAAwABAAAALAADAAoAAAFYAAQAJgAAAAQABAABAADoAv//AADoAP//AAAAAQAEAAAAAQACAAMAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAADQAAAAAAAAAAwAA6AAAAOgAAAAAAQAA6AEAAOgBAAAAAgAA6AIAAOgCAAAAAwACAAD/agM4A1IABwALADVAMgAEAwUDBAVtAgEABgEDBAADXwABAQxIBwEFBQ0FSQgIAAAICwgLCgkABwAHERERCAUXKxE1ITUzFSEVAREhEQEh9gEh/PMC4gJ5jUxMjfzxAqT9XAAAAAEAAP9qA+gDUgALAC5AKwIBAAEDAQADbQYFAgMEAQMEawABAQxIAAQEDQRJAAAACwALEREREREHBRkrNREhESERIREhESERAWcBGgFn/pn+5tEBGgFn/pn+5v6ZAWcAAAEAAAAAA+gCogAGAAazBQEBLSsRNwkBFwEnlAFgAWCU/gyUAg6U/qEBX5T+DJQAAAEAAAABAAARCNlnXw889QALA+gAAAAA1kwRDQAAAADWTBENAAD/agPoA1IAAAAIAAIAAAAAAAAAAQAAA1L/agAAA+gAAAAAA+gAAQAAAAAAAAAAAAAAAAAAAAQD6AAAAzgAAAPoAAAD6AAAAAAAAAA0AGQAfAAAAAEAAAAEAAwAAgAAAAAAAgAQACAAcwAAAEYLcAAAAAAAAAASAN4AAQAAAAAAAAA1AAAAAQAAAAAAAQAIADUAAQAAAAAAAgAHAD0AAQAAAAAAAwAIAEQAAQAAAAAABAAIAEwAAQAAAAAABQALAFQAAQAAAAAABgAIAF8AAQAAAAAACgArAGcAAQAAAAAACwATAJIAAwABBAkAAABqAKUAAwABBAkAAQAQAQ8AAwABBAkAAgAOAR8AAwABBAkAAwAQAS0AAwABBAkABAAQAT0AAwABBAkABQAWAU0AAwABBAkABgAQAWMAAwABBAkACgBWAXMAAwABBAkACwAmAclDb3B5cmlnaHQgKEMpIDIwMTcgYnkgb3JpZ2luYWwgYXV0aG9ycyBAIGZvbnRlbGxvLmNvbWZvbnRlbGxvUmVndWxhcmZvbnRlbGxvZm9udGVsbG9WZXJzaW9uIDEuMGZvbnRlbGxvR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20AQwBvAHAAeQByAGkAZwBoAHQAIAAoAEMAKQAgADIAMAAxADcAIABiAHkAIABvAHIAaQBnAGkAbgBhAGwAIABhAHUAdABoAG8AcgBzACAAQAAgAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAGYAbwBuAHQAZQBsAGwAbwBSAGUAZwB1AGwAYQByAGYAbwBuAHQAZQBsAGwAbwBmAG8AbgB0AGUAbABsAG8AVgBlAHIAcwBpAG8AbgAgADEALgAwAGYAbwBuAHQAZQBsAGwAbwBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAQIBAwEEAQUABXRyYXNoBHBsdXMJZG93bi1vcGVuAAAAAAABAAH//wAPAAAAAAAAAAAAAAAAAAAAAAAYABgAGAAYA1L/agNS/2qwACwgsABVWEVZICBLuAAOUUuwBlNaWLA0G7AoWWBmIIpVWLACJWG5CAAIAGNjI2IbISGwAFmwAEMjRLIAAQBDYEItsAEssCBgZi2wAiwgZCCwwFCwBCZasigBCkNFY0VSW1ghIyEbilggsFBQWCGwQFkbILA4UFghsDhZWSCxAQpDRWNFYWSwKFBYIbEBCkNFY0UgsDBQWCGwMFkbILDAUFggZiCKimEgsApQWGAbILAgUFghsApgGyCwNlBYIbA2YBtgWVlZG7ABK1lZI7AAUFhlWVktsAMsIEUgsAQlYWQgsAVDUFiwBSNCsAYjQhshIVmwAWAtsAQsIyEjISBksQViQiCwBiNCsQEKQ0VjsQEKQ7ABYEVjsAMqISCwBkMgiiCKsAErsTAFJbAEJlFYYFAbYVJZWCNZISCwQFNYsAErGyGwQFkjsABQWGVZLbAFLLAHQyuyAAIAQ2BCLbAGLLAHI0IjILAAI0JhsAJiZrABY7ABYLAFKi2wBywgIEUgsAtDY7gEAGIgsABQWLBAYFlmsAFjYESwAWAtsAgssgcLAENFQiohsgABAENgQi2wCSywAEMjRLIAAQBDYEItsAosICBFILABKyOwAEOwBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhRESwAWAtsAssICBFILABKyOwAEOwBCVgIEWKI2EgZLAkUFiwABuwQFkjsABQWGVZsAMlI2FERLABYC2wDCwgsAAjQrILCgNFWCEbIyFZKiEtsA0ssQICRbBkYUQtsA4ssAFgICCwDENKsABQWCCwDCNCWbANQ0qwAFJYILANI0JZLbAPLCCwEGJmsAFjILgEAGOKI2GwDkNgIIpgILAOI0IjLbAQLEtUWLEEZERZJLANZSN4LbARLEtRWEtTWLEEZERZGyFZJLATZSN4LbASLLEAD0NVWLEPD0OwAWFCsA8rWbAAQ7ACJUKxDAIlQrENAiVCsAEWIyCwAyVQWLEBAENgsAQlQoqKIIojYbAOKiEjsAFhIIojYbAOKiEbsQEAQ2CwAiVCsAIlYbAOKiFZsAxDR7ANQ0dgsAJiILAAUFiwQGBZZrABYyCwC0NjuAQAYiCwAFBYsEBgWWawAWNgsQAAEyNEsAFDsAA+sgEBAUNgQi2wEywAsQACRVRYsA8jQiBFsAsjQrAKI7ABYEIgYLABYbUQEAEADgBCQopgsRIGK7ByKxsiWS2wFCyxABMrLbAVLLEBEystsBYssQITKy2wFyyxAxMrLbAYLLEEEystsBkssQUTKy2wGiyxBhMrLbAbLLEHEystsBwssQgTKy2wHSyxCRMrLbAeLACwDSuxAAJFVFiwDyNCIEWwCyNCsAojsAFgQiBgsAFhtRAQAQAOAEJCimCxEgYrsHIrGyJZLbAfLLEAHistsCAssQEeKy2wISyxAh4rLbAiLLEDHistsCMssQQeKy2wJCyxBR4rLbAlLLEGHistsCYssQceKy2wJyyxCB4rLbAoLLEJHistsCksIDywAWAtsCosIGCwEGAgQyOwAWBDsAIlYbABYLApKiEtsCsssCorsCoqLbAsLCAgRyAgsAtDY7gEAGIgsABQWLBAYFlmsAFjYCNhOCMgilVYIEcgILALQ2O4BABiILAAUFiwQGBZZrABY2AjYTgbIVktsC0sALEAAkVUWLABFrAsKrABFTAbIlktsC4sALANK7EAAkVUWLABFrAsKrABFTAbIlktsC8sIDWwAWAtsDAsALABRWO4BABiILAAUFiwQGBZZrABY7ABK7ALQ2O4BABiILAAUFiwQGBZZrABY7ABK7AAFrQAAAAAAEQ+IzixLwEVKi2wMSwgPCBHILALQ2O4BABiILAAUFiwQGBZZrABY2CwAENhOC2wMiwuFzwtsDMsIDwgRyCwC0NjuAQAYiCwAFBYsEBgWWawAWNgsABDYbABQ2M4LbA0LLECABYlIC4gR7AAI0KwAiVJiopHI0cjYSBYYhshWbABI0KyMwEBFRQqLbA1LLAAFrAEJbAEJUcjRyNhsAlDK2WKLiMgIDyKOC2wNiywABawBCWwBCUgLkcjRyNhILAEI0KwCUMrILBgUFggsEBRWLMCIAMgG7MCJgMaWUJCIyCwCEMgiiNHI0cjYSNGYLAEQ7ACYiCwAFBYsEBgWWawAWNgILABKyCKimEgsAJDYGQjsANDYWRQWLACQ2EbsANDYFmwAyWwAmIgsABQWLBAYFlmsAFjYSMgILAEJiNGYTgbI7AIQ0awAiWwCENHI0cjYWAgsARDsAJiILAAUFiwQGBZZrABY2AjILABKyOwBENgsAErsAUlYbAFJbACYiCwAFBYsEBgWWawAWOwBCZhILAEJWBkI7ADJWBkUFghGyMhWSMgILAEJiNGYThZLbA3LLAAFiAgILAFJiAuRyNHI2EjPDgtsDgssAAWILAII0IgICBGI0ewASsjYTgtsDkssAAWsAMlsAIlRyNHI2GwAFRYLiA8IyEbsAIlsAIlRyNHI2EgsAUlsAQlRyNHI2GwBiWwBSVJsAIlYbkIAAgAY2MjIFhiGyFZY7gEAGIgsABQWLBAYFlmsAFjYCMuIyAgPIo4IyFZLbA6LLAAFiCwCEMgLkcjRyNhIGCwIGBmsAJiILAAUFiwQGBZZrABYyMgIDyKOC2wOywjIC5GsAIlRlJYIDxZLrErARQrLbA8LCMgLkawAiVGUFggPFkusSsBFCstsD0sIyAuRrACJUZSWCA8WSMgLkawAiVGUFggPFkusSsBFCstsD4ssDUrIyAuRrACJUZSWCA8WS6xKwEUKy2wPyywNiuKICA8sAQjQoo4IyAuRrACJUZSWCA8WS6xKwEUK7AEQy6wKystsEAssAAWsAQlsAQmIC5HI0cjYbAJQysjIDwgLiM4sSsBFCstsEEssQgEJUKwABawBCWwBCUgLkcjRyNhILAEI0KwCUMrILBgUFggsEBRWLMCIAMgG7MCJgMaWUJCIyBHsARDsAJiILAAUFiwQGBZZrABY2AgsAErIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbACYiCwAFBYsEBgWWawAWNhsAIlRmE4IyA8IzgbISAgRiNHsAErI2E4IVmxKwEUKy2wQiywNSsusSsBFCstsEMssDYrISMgIDywBCNCIzixKwEUK7AEQy6wKystsEQssAAVIEewACNCsgABARUUEy6wMSotsEUssAAVIEewACNCsgABARUUEy6wMSotsEYssQABFBOwMiotsEcssDQqLbBILLAAFkUjIC4gRoojYTixKwEUKy2wSSywCCNCsEgrLbBKLLIAAEErLbBLLLIAAUErLbBMLLIBAEErLbBNLLIBAUErLbBOLLIAAEIrLbBPLLIAAUIrLbBQLLIBAEIrLbBRLLIBAUIrLbBSLLIAAD4rLbBTLLIAAT4rLbBULLIBAD4rLbBVLLIBAT4rLbBWLLIAAEArLbBXLLIAAUArLbBYLLIBAEArLbBZLLIBAUArLbBaLLIAAEMrLbBbLLIAAUMrLbBcLLIBAEMrLbBdLLIBAUMrLbBeLLIAAD8rLbBfLLIAAT8rLbBgLLIBAD8rLbBhLLIBAT8rLbBiLLA3Ky6xKwEUKy2wYyywNyuwOystsGQssDcrsDwrLbBlLLAAFrA3K7A9Ky2wZiywOCsusSsBFCstsGcssDgrsDsrLbBoLLA4K7A8Ky2waSywOCuwPSstsGossDkrLrErARQrLbBrLLA5K7A7Ky2wbCywOSuwPCstsG0ssDkrsD0rLbBuLLA6Ky6xKwEUKy2wbyywOiuwOystsHAssDorsDwrLbBxLLA6K7A9Ky2wciyzCQQCA0VYIRsjIVlCK7AIZbADJFB4sAEVMC0AS7gAyFJYsQEBjlmwAbkIAAgAY3CxAAVCsgABACqxAAVCswoCAQgqsQAFQrMOAAEIKrEABkK6AsAAAQAJKrEAB0K6AEAAAQAJKrEDAESxJAGIUViwQIhYsQNkRLEmAYhRWLoIgAABBECIY1RYsQMARFlZWVmzDAIBDCq4Af+FsASNsQIARAAA"},function(e,t,n){var i,r,o={},s=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=i.apply(this,arguments)),r}),a=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var i=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}}(),l=null,c=0,u=[],d=n(28);function h(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=o[i.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](i.parts[s]);for(;s<i.parts.length;s++)r.parts.push(y(i.parts[s],t))}else{var a=[];for(s=0;s<i.parts.length;s++)a.push(y(i.parts[s],t));o[i.id]={id:i.id,refs:1,parts:a}}}}function f(e,t){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=t.base?o[0]+t.base:o[0],a={css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}function p(e,t){var n=a(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=u[u.length-1];if("top"===e.insertAt)i?i.nextSibling?n.insertBefore(t,i.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=a(e.insertAt.before,n);n.insertBefore(t,r)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function g(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var i=n.nc;i&&(e.attrs.nonce=i)}return v(t,e.attrs),p(e,t),t}function v(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function y(e,t){var n,i,r,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var s=c++;n=l||(l=g(t)),i=w.bind(null,n,s,!1),r=w.bind(null,n,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",v(t,e.attrs),p(e,t),t}(t),i=function(e,t,n){var i=n.css,r=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||o)&&(i=d(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([i],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,n,t),r=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(t),i=function(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){m(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return h(n,t),function(e){for(var i=[],r=0;r<n.length;r++){var s=n[r];(a=o[s.id]).refs--,i.push(a)}for(e&&h(f(e,t),t),r=0;r<i.length;r++){var a;if(0===(a=i[r]).refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete o[a.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function w(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=_(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}},function(e,t,n){"use strict";n.r(t);var i=n(14),r=n(6);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);n(30);var s=n(0),a=Object(s.a)(r.default,i.a,i.b,!1,null,"01647a09",null);a.options.__file="src/ItemAddForm.vue",t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.components=void 0;var i=s(n(20)),r=s(n(29)),o=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}var a=s(n(33)).default.version;t.default=function e(t){e.installed||(t.component("JsonEditor",i.default),t.component("json-view",r.default),t.component("array-view",o.default),Array.prototype.rmIndex=function(e){return this.splice(e,1),this})},t.components={JsonEditor:i.default,VERSION:a}},function(e,t,n){"use strict";n.r(t);var i=n(11),r=n(1);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);n(21);var s=n(0),a=Object(s.a)(r.default,i.a,i.b,!1,null,null,null);a.options.__file="src/JsonEditor.vue",t.default=a.exports},function(e,t,n){"use strict";var i=n(3);n.n(i).a},function(e,t,n){t=e.exports=n(15)(!1);var i=n(23),r=i(n(16)),o=i(n(16)+"#iefix"),s=i(n(24)),a=i(n(25)),l=i(n(26)),c=i(n(27)+"#fontello");t.push([e.i,"/*!\nPure v1.0.0\nCopyright 2013 Yahoo!\nLicensed under the BSD License.\nhttps://github.com/yahoo/pure/blob/master/LICENSE.md\n*/\n/*!\nnormalize.css v^3.0 | MIT License | git.io/normalize\nCopyright (c) Nicolas Gallagher and Jonathan Neal\n*/\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nimg,\nlegend {\n border: 0;\n}\nlegend,\ntd,\nth {\n padding: 0;\n}\nhtml {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\noptgroup,\nstrong {\n font-weight: 700;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\nmark {\n background: #ff0;\n color: #000;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsup {\n top: -0.5em;\n}\nsub {\n bottom: -0.25em;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n box-sizing: content-box;\n height: 0;\n}\npre,\ntextarea {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace,monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n font: inherit;\n margin: 0;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type=button],\ninput[type=reset],\ninput[type=submit] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type=checkbox],\ninput[type=radio] {\n box-sizing: border-box;\n padding: 0;\n}\ninput[type=number]::-webkit-inner-spin-button,\ninput[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type=search] {\n -webkit-appearance: textfield;\n box-sizing: content-box;\n}\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n border: 1px solid silver;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n.hidden,\n[hidden] {\n display: none !important;\n}\n.pure-img {\n max-width: 100%;\n height: auto;\n display: block;\n}\n/*!\nPure v1.0.0\nCopyright 2013 Yahoo!\nLicensed under the BSD License.\nhttps://github.com/yahoo/pure/blob/master/LICENSE.md\n*/\n.pure-button {\n display: inline-block;\n zoom: 1;\n line-height: normal;\n white-space: nowrap;\n vertical-align: middle;\n text-align: center;\n cursor: pointer;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n box-sizing: border-box;\n}\n.pure-button::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.pure-button-group {\n letter-spacing: -0.31em;\n text-rendering: optimizespeed;\n}\n.opera-only :-o-prefocus,\n.pure-button-group {\n word-spacing: -0.43em;\n}\n.pure-button {\n font-family: inherit;\n font-size: 100%;\n padding: 0.5em 1em;\n color: #444;\n color: rgba(0, 0, 0, 0.8);\n border: 1px solid #999;\n border: transparent;\n background-color: #E6E6E6;\n text-decoration: none;\n border-radius: 2px;\n}\n.pure-button-hover,\n.pure-button:focus,\n.pure-button:hover {\n filter: alpha(opacity=90);\n background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));\n background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));\n}\n.pure-button:focus {\n outline: 0;\n}\n.pure-button-active,\n.pure-button:active {\n box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset, 0 0 6px rgba(0, 0, 0, 0.2) inset;\n border-color: #000 \\9;\n}\n.pure-button-disabled,\n.pure-button-disabled:active,\n.pure-button-disabled:focus,\n.pure-button-disabled:hover,\n.pure-button[disabled] {\n border: none;\n background-image: none;\n filter: alpha(opacity=40);\n opacity: 0.4;\n cursor: not-allowed;\n box-shadow: none;\n pointer-events: none;\n}\n.pure-button-hidden {\n display: none;\n}\n.pure-button-primary,\n.pure-button-selected,\na.pure-button-primary,\na.pure-button-selected {\n background-color: #0078e7;\n color: #fff;\n}\n.pure-button-group .pure-button {\n letter-spacing: normal;\n word-spacing: normal;\n vertical-align: top;\n text-rendering: auto;\n margin: 0;\n border-radius: 0;\n border-right: 1px solid #111;\n border-right: 1px solid rgba(0, 0, 0, 0.2);\n}\n.pure-button-group .pure-button:first-child {\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n.pure-button-group .pure-button:last-child {\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n border-right: none;\n}\n/*!\nPure v1.0.0\nCopyright 2013 Yahoo!\nLicensed under the BSD License.\nhttps://github.com/yahoo/pure/blob/master/LICENSE.md\n*/\n.pure-form input[type=text],\n.pure-form input[type=number],\n.pure-form input[type=search],\n.pure-form input[type=tel],\n.pure-form input[type=color],\n.pure-form input[type=password],\n.pure-form input[type=email],\n.pure-form input[type=url],\n.pure-form input[type=date],\n.pure-form input[type=month],\n.pure-form input[type=time],\n.pure-form input[type=datetime],\n.pure-form input[type=datetime-local],\n.pure-form input[type=week],\n.pure-form select,\n.pure-form textarea {\n padding: 0.5em 0.6em;\n display: inline-block;\n border: 1px solid #ccc;\n box-shadow: inset 0 1px 3px #ddd;\n border-radius: 4px;\n vertical-align: middle;\n box-sizing: border-box;\n}\n.pure-form input:not([type]) {\n padding: 0.5em 0.6em;\n display: inline-block;\n border: 1px solid #ccc;\n box-shadow: inset 0 1px 3px #ddd;\n border-radius: 4px;\n box-sizing: border-box;\n}\n.pure-form input[type=color] {\n padding: 0.2em 0.5em;\n}\n.pure-form input:not([type]):focus,\n.pure-form input[type=text]:focus,\n.pure-form input[type=number]:focus,\n.pure-form input[type=search]:focus,\n.pure-form input[type=tel]:focus,\n.pure-form input[type=color]:focus,\n.pure-form input[type=password]:focus,\n.pure-form input[type=email]:focus,\n.pure-form input[type=url]:focus,\n.pure-form input[type=date]:focus,\n.pure-form input[type=month]:focus,\n.pure-form input[type=time]:focus,\n.pure-form input[type=datetime]:focus,\n.pure-form input[type=datetime-local]:focus,\n.pure-form input[type=week]:focus,\n.pure-form select:focus,\n.pure-form textarea:focus {\n outline: 0;\n border-color: #129FEA;\n}\n.pure-form input[type=file]:focus,\n.pure-form input[type=radio]:focus,\n.pure-form input[type=checkbox]:focus {\n outline: #129FEA auto 1px;\n}\n.pure-form .pure-checkbox,\n.pure-form .pure-radio {\n margin: 0.5em 0;\n display: block;\n}\n.pure-form input:not([type])[disabled],\n.pure-form input[type=text][disabled],\n.pure-form input[type=number][disabled],\n.pure-form input[type=search][disabled],\n.pure-form input[type=tel][disabled],\n.pure-form input[type=color][disabled],\n.pure-form input[type=password][disabled],\n.pure-form input[type=email][disabled],\n.pure-form input[type=url][disabled],\n.pure-form input[type=date][disabled],\n.pure-form input[type=month][disabled],\n.pure-form input[type=time][disabled],\n.pure-form input[type=datetime][disabled],\n.pure-form input[type=datetime-local][disabled],\n.pure-form input[type=week][disabled],\n.pure-form select[disabled],\n.pure-form textarea[disabled] {\n cursor: not-allowed;\n background-color: #eaeded;\n color: #cad2d3;\n}\n.pure-form input[readonly],\n.pure-form select[readonly],\n.pure-form textarea[readonly] {\n background-color: #eee;\n color: #777;\n border-color: #ccc;\n}\n.pure-form input:focus:invalid,\n.pure-form select:focus:invalid,\n.pure-form textarea:focus:invalid {\n color: #b94a48;\n border-color: #e9322d;\n}\n.pure-form input[type=file]:focus:invalid:focus,\n.pure-form input[type=radio]:focus:invalid:focus,\n.pure-form input[type=checkbox]:focus:invalid:focus {\n outline-color: #e9322d;\n}\n.pure-form select {\n height: 2.25em;\n border: 1px solid #ccc;\n background-color: #fff;\n}\n.pure-form select[multiple] {\n height: auto;\n}\n.pure-form label {\n margin: 0.5em 0 0.2em;\n}\n.pure-form fieldset {\n margin: 0;\n padding: 0.35em 0 0.75em;\n border: 0;\n}\n.pure-form legend {\n display: block;\n width: 100%;\n padding: 0.3em 0;\n margin-bottom: 0.3em;\n color: #333;\n border-bottom: 1px solid #e5e5e5;\n}\n.pure-form-stacked input:not([type]),\n.pure-form-stacked input[type=text],\n.pure-form-stacked input[type=number],\n.pure-form-stacked input[type=search],\n.pure-form-stacked input[type=tel],\n.pure-form-stacked input[type=color],\n.pure-form-stacked input[type=file],\n.pure-form-stacked input[type=password],\n.pure-form-stacked input[type=email],\n.pure-form-stacked input[type=url],\n.pure-form-stacked input[type=date],\n.pure-form-stacked input[type=month],\n.pure-form-stacked input[type=time],\n.pure-form-stacked input[type=datetime],\n.pure-form-stacked input[type=datetime-local],\n.pure-form-stacked input[type=week],\n.pure-form-stacked label,\n.pure-form-stacked select,\n.pure-form-stacked textarea {\n display: block;\n margin: 0.25em 0;\n}\n.pure-form-aligned .pure-help-inline,\n.pure-form-aligned input,\n.pure-form-aligned select,\n.pure-form-aligned textarea,\n.pure-form-message-inline {\n display: inline-block;\n vertical-align: middle;\n}\n.pure-form-aligned textarea {\n vertical-align: top;\n}\n.pure-form-aligned .pure-control-group {\n margin-bottom: 0.5em;\n}\n.pure-form-aligned .pure-control-group label {\n text-align: right;\n display: inline-block;\n vertical-align: middle;\n width: 10em;\n margin: 0 1em 0 0;\n}\n.pure-form-aligned .pure-controls {\n margin: 1.5em 0 0 11em;\n}\n.pure-form .pure-input-rounded,\n.pure-form input.pure-input-rounded {\n border-radius: 2em;\n padding: 0.5em 1em;\n}\n.pure-form .pure-group fieldset {\n margin-bottom: 10px;\n}\n.pure-form .pure-group input,\n.pure-form .pure-group textarea {\n display: block;\n padding: 10px;\n margin: 0 0 -1px;\n border-radius: 0;\n position: relative;\n top: -1px;\n}\n.pure-form .pure-group input:focus,\n.pure-form .pure-group textarea:focus {\n z-index: 3;\n}\n.pure-form .pure-group input:first-child,\n.pure-form .pure-group textarea:first-child {\n top: 1px;\n border-radius: 4px 4px 0 0;\n margin: 0;\n}\n.pure-form .pure-group input:first-child:last-child,\n.pure-form .pure-group textarea:first-child:last-child {\n top: 1px;\n border-radius: 4px;\n margin: 0;\n}\n.pure-form .pure-group input:last-child,\n.pure-form .pure-group textarea:last-child {\n top: -2px;\n border-radius: 0 0 4px 4px;\n margin: 0;\n}\n.pure-form .pure-group button {\n margin: 0.35em 0;\n}\n.pure-form .pure-input-1 {\n width: 100%;\n}\n.pure-form .pure-input-3-4 {\n width: 75%;\n}\n.pure-form .pure-input-2-3 {\n width: 66%;\n}\n.pure-form .pure-input-1-2 {\n width: 50%;\n}\n.pure-form .pure-input-1-3 {\n width: 33%;\n}\n.pure-form .pure-input-1-4 {\n width: 25%;\n}\n.pure-form .pure-help-inline,\n.pure-form-message-inline {\n display: inline-block;\n padding-left: 0.3em;\n color: #666;\n vertical-align: middle;\n font-size: 0.875em;\n}\n.pure-form-message {\n display: block;\n color: #666;\n font-size: 0.875em;\n}\n@media only screen and (max-width: 480px) {\n.pure-form button[type=submit] {\n margin: 0.7em 0 0;\n}\n.pure-form input:not([type]),\n .pure-form input[type=text],\n .pure-form input[type=number],\n .pure-form input[type=search],\n .pure-form input[type=tel],\n .pure-form input[type=color],\n .pure-form input[type=password],\n .pure-form input[type=email],\n .pure-form input[type=url],\n .pure-form input[type=date],\n .pure-form input[type=month],\n .pure-form input[type=time],\n .pure-form input[type=datetime],\n .pure-form input[type=datetime-local],\n .pure-form input[type=week],\n .pure-form label {\n margin-bottom: 0.3em;\n display: block;\n}\n.pure-group input:not([type]),\n .pure-group input[type=text],\n .pure-group input[type=number],\n .pure-group input[type=search],\n .pure-group input[type=tel],\n .pure-group input[type=color],\n .pure-group input[type=password],\n .pure-group input[type=email],\n .pure-group input[type=url],\n .pure-group input[type=date],\n .pure-group input[type=month],\n .pure-group input[type=time],\n .pure-group input[type=datetime],\n .pure-group input[type=datetime-local],\n .pure-group input[type=week] {\n margin-bottom: 0;\n}\n.pure-form-aligned .pure-control-group label {\n margin-bottom: 0.3em;\n text-align: left;\n display: block;\n width: 100%;\n}\n.pure-form-aligned .pure-controls {\n margin: 1.5em 0 0;\n}\n.pure-form .pure-help-inline,\n .pure-form-message,\n .pure-form-message-inline {\n display: block;\n font-size: 0.75em;\n padding: 0.2em 0 0.8em;\n}\n}\n@font-face {\n font-family: 'fontello';\n src: url("+r+");\n src: url("+o+") format('embedded-opentype'), url("+s+") format('woff2'), url("+a+") format('woff'), url("+l+") format('truetype'), url("+c+") format('svg');\n font-weight: normal;\n font-style: normal;\n}\n/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */\n/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */\n/*\n@media screen and (-webkit-min-device-pixel-ratio:0) {\n @font-face {\n font-family: 'fontello';\n src: url('../font/fontello.svg?68434706#fontello') format('svg');\n }\n}\n*/\n[class^=\"v-json-edit-icon-\"]:before,\n[class*=\" v-json-edit-icon-\"]:before {\n font-family: \"fontello\";\n font-style: normal;\n font-weight: normal;\n speak: none;\n display: inline-block;\n text-decoration: inherit;\n width: 1em;\n margin-right: 0.2em;\n text-align: center;\n /* opacity: .8; */\n /* For safety - reset parent styles, that can break glyph codes*/\n font-variant: normal;\n text-transform: none;\n /* fix buttons height, for twitter bootstrap */\n line-height: 1em;\n /* Animation center compensation - margins should be symmetric */\n /* remove if not needed */\n margin-left: 0.2em;\n /* you can be more comfortable with increased icons size */\n /* font-size: 120%; */\n /* Font smoothing. That was taken from TWBS */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n /* Uncomment for 3D effect */\n /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */\n}\n.v-json-edit-icon-trash:before {\n content: '\\e800';\n}\n/* '' */\n.v-json-edit-icon-plus:before {\n content: '\\e801';\n}\n/* '' */\n.v-json-edit-icon-down-open:before {\n content: '\\e802';\n}\n/* '' */\np {\n margin: 0;\n}\nol,\nul {\n margin: 0;\n}\n.block {\n position: relative;\n display: block;\n line-height: 30px;\n}\n.block.hide-block {\n background: #f5f5f5;\n}\n.block.hide-block .json-val {\n display: none;\n}\n.block.hide-block .collapse-down {\n transform: rotate(-90deg);\n}\n.del-btn {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 99999999999999;\n cursor: pointer;\n transition: opacity 0.4s ease;\n}\n.del-btn:hover {\n opacity: 0.6;\n}\n.des {\n position: absolute;\n right: 14px;\n font-size: 10px;\n line-height: 30px;\n color: #6190e8;\n cursor: pointer;\n}\n.add-des {\n color: #999;\n}\n.block_content {\n text-align: left;\n margin-left: 30px;\n line-height: 1.5 !important;\n}\n.block_content .i-type {\n color: #999;\n}\n.block_content .key-input,\n.block_content .val-input {\n width: 140px;\n border: none;\n height: 25px;\n padding: 0 5px;\n font-weight: bold;\n font-size: 14px;\n background: rgba(0, 0, 0, 0);\n}\n.block_content .key-input:focus,\n.block_content .val-input:focus {\n background: #ffffa0;\n border: none;\n outline: 0;\n}\n.block_content .val-input {\n font-weight: normal;\n color: #0b8e6b;\n}\n.block_content .json-key {\n font-weight: bold;\n}\n.block_content .json-key.json-desc {\n color: #999;\n font-size: 0.8em;\n}\n.collopsed:before {\n content: '';\n display: inline-block;\n height: 10px;\n width: 10px;\n background: #333;\n}\n.collapse-down {\n float: left;\n margin-top: 2px;\n margin-right: 2px;\n color: #000;\n cursor: pointer;\n transition: transform 0.2s ease;\n}\n.add-key {\n display: inline-block;\n padding-left: 2px;\n padding-right: 2px;\n margin-bottom: 10px;\n font-size: 0.8em;\n line-height: 1em;\n cursor: pointer;\n}\n.array-ol {\n padding-left: 20px !important;\n}\n.array-item {\n position: relative;\n}\n.array-item.hide-item {\n background: #f5f5f5;\n}\n.array-item.hide-item .json-val {\n display: none;\n}\n.array-item.hide-item .collapse-down {\n transform: rotate(-90deg);\n transition: transform 0.4s ease;\n}\n",""])},function(e,t,n){"use strict";e.exports=function(e,t){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)||t?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/woff2;base64,d09GMgABAAAAAAkcAA8AAAAAE/gAAAjFAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGVgCDDAggCZZwEQgKgXiBbgE2AiQDEAsKAAQgBYVNB0IMgQYb2hIjA8HGQSDQfNhkf1nAG6Kp32BSq9fJRHCG1YYVOq9oqEgwfp3PjlzSP2v6wgDb2iXKLHiedJnvD2i1y0aUtfGtxsg6j/EY5QBxiVB06Q/aUFOlxMp9oA08/9q+zUrRgU/zwluxDGaD5Rv4ridogntR7pmuuplVKCuajhwo/H84VuKlEV9UuvaZsmfsJMeQk1NKlDSZoqcP10o7mf8v8LoKc2BsrWsmt9ubzFH2nihbBJKADhXuldgRClVZ4apdfSFgbPaHq8DtWTRDbLQ/8lMQoMBkcbkY3urfXi4qT6fvH4vuYhR5ssB5WXn6zatUhOM6xhAIYSXQvFD/IF9gQb05/APwyX4h+YOpIcWZsRr5xDMve8+L9B+Hyrn/sbim2orvkusGRkugAedOm1zR9pwr9JHdXgq6HkPdbA3+UL1CjLNEl0IP//MCpJQoz17N0XDI1iGLEIciZDe0XKnTpxYj7w8FJ3DR94LIrV0qZ28RnL/vme1h9Gp8Kc1Fj4rTn5CQh57p09IYuApeuy2Cj84ijsHspUU5eS78Mo+p329HpeB7z3qLD7xRUzZXhDPz3pCGUlg8zlm8GiQH8Ok5o7fhVZcwOYiZtIJfWHKw0kcHQuGMj3d2UG8LR5yH+VoM8ruVSBKCwhn/IgSLdtITTJyeC9bPe2zkCCKX95UDklmMU5cWlefZPuhEW0iZ1MpI1nuGbhhdp5fGX/iOJHnSxkVKW/BxvkyLwWswdKVLfmLLAoWZPshiHTk/26KqhYPLD4mcCkQuoR58iTyEZNiGJeckh6sU/bNdw4MSOSGN4Xk9dsXjQtfmiviemzEVfYi8q/hSIYFnSaLgMXGUXhMdNIKppZiempzPYA9p3SyBjjV149+TYljHSIQD6CnWRjMo/UCIXFss6G1vSjVhxljKLiu1zcOpa6k4JBOh5G96+jArcoHylTqnyotbqk6oVcdM2TU8lOUvo+KjNJlQiZxaau7Wss/m4W4Yo/yI/rY0uVsL/tbSA1eaaVNLfrPLVP1KsaqejRw4qkkAj4pdLr2qciOkXQUdz/tccTMxsWualtJcpmEUOTiXShMFr6t4waEUPHCdB5pNNNOWNN4TMrRoF/Gw3oo07fQbtLgio7aXPdXISY9i5ChESOYkIgdbtdoQFTZdk+XmIOHF2fJIsLS6TMuspc1l2UM7KuhADZ1ooAstdGMAPZiDXgyhD/Od/a5gXye5UAOqXw2S4CEIHobgCIJHIDiG4DoEPwDBoxCTjzip+xI0FonUMumkL536TiTjSIeakTgayebWNCzOiQykqhNN5/RzasuNuq8MWMbqf3VpxzWQtmMF22m8RjbxePKEk9MuXsOkK5DtmE+PJCmSLqF9E5m6dVnP5Qlpm7FMlflIZODiDPDpHLdp2lUHastMMI/4Z0GfMeuyon1cKhlA1GVn3Gg+2lXfJ/FPy/x2SOTaGZG2vTOWOQftmHhjnqeS97MvmvFIpG6S2WH+WV2q8SzBRM6iW8jeyCumC35DDY4Mluo59ZHu4JwKoZcmsrxK7UeMf4/MiYIkn+Ipysfnivbp+TOvfCrPNn64bNJ+5aQimLr22401cd9HxTuTwWGjDKzCquW499g4bTcZQCdGpZE4B1qV5j++NsgmCZaF8hdF9mHrLKb1OcviI08YOX2xD6VELSVL1UW5D2tzZS74Smo15V00teJGVN0uiK92uvG1WmikzfbasFW0e32W5cwrvlkuGxnMXhYvasZZK06lqrHX9Re91KHKibTOWlYfTTC/izXLzZuvvO6YS2JcaMMxnzSpUkfRjm5GPAbjK5LEkvauqGapYy2tUkul5+K6uY/O5dDErhv+E4OeR3mnzxRX68fGhm3dZoJ7drMiorKjbzM6DMswqbhqq9T2xoxb3oO3ZE/FVMOyrZuxM5eRC8f0wO/OMbuDvZVp76lU0m8cCEfx/lxXdOwtFjo218LRgzqOAidGCOqkuYNTAWzyaVDgjAh8FgOcC2Cdz4MCF0TgixjgUgApXwYFrojAVzHAtQA8XwcFbojANzHArQA2+DYokInABximPzjHQhXbhy4cK8emh9WqIKYvaaHuwVavLK3DIP5ISIBWEIde27Q2SPYIKRBQh95YXBukeYT8QyxDBrj7eaN+FTXYTO6Ej9wZGTnz+nfJzDEE+WcTV5G07IPwePEA0PiV/05PAApBQlPKWSlLkTKv26oRXfZBQelLtL38yGMXH770xqfGf8ynk1f/69N1u8c2C4xXvv769i0mqtrff297gxryG+pDVTqN0VYb+4wSAtEGfRuR0l5OrC3b/TCEsOiNL+TJFZt4q9B2JGmiBNGCfiawSpsw8tSoMcaUzT5QpNgkHpKzXcl9KzKW/PtMR8L3Wm5XV/8Ni/rw5SJ+1VTe638jPYdabfQqsDb/LEtYanUIQVqjbdWLRmNB9BlKkV+gqDHIS8BO8XnkQDO/JVGesybF4VVhlFHkWMtoQraUaTmRsRS5kAkIuZ0pkPDYy4u08BUQkwee5PuXjFCTakZRkQHWupYxNrSsZSztcpIDWkqVKXBJ+nsVqcse25yC8wxbr9twcnR8CXIOePsloYoMYrBH6vAEFiubnPFAYRHLfhk3sqBptH/Un6EesMLxwZG36qephgQbnfBL+sSdMFuwhAU+jH8FjTAaxQeeud0cHmb13RZeQRpziIDDwwBbvLINcMIRx1wCSPoAtFg4UBFkFhcMGK/lDj95bMczK4wRC2eQA9Ro10XHX6LLMcanFpBhk9c9f5jkJeiuHjjmgCML9SnVSoSmqt3u6kxGfCJ6GOugkEOnAj7GPUDTrx4xKJiDGlmYadxw6G9R2Qod/CyggPwORpRoMWKxL5PofqXl0Tc1Tus+NlMXFvi//4Ds+Czy2VXkZ0iDzxm72SI0DnM2CkrC4cgKKwebf9UvCPkx5EaRPlGzlUfkg7OedP1K1g+PsZ7yN3wfMen6Q8sPutgK8tkbJSWlxq78H+bTu4otAA=="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAtkAA8AAAAAE/gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY+IElNY21hcAAAAdgAAABWAAABjOkvW+NjdnQgAAACMAAAABMAAAAgBtX/BGZwZ20AAAJEAAAFkAAAC3CKkZBZZ2FzcAAAB9QAAAAIAAAACAAAABBnbHlmAAAH3AAAANgAAAD48Ghn/mhlYWQAAAi0AAAAMAAAADYPn2W7aGhlYQAACOQAAAAbAAAAJAc8A1dobXR4AAAJAAAAABAAAAAQDvAAAGxvY2EAAAkQAAAACgAAAAoAsABkbWF4cAAACRwAAAAgAAAAIADQC55uYW1lAAAJPAAAAXcAAALNzJ0dH3Bvc3QAAAq0AAAAMQAAAEIy6bDpcHJlcAAACugAAAB6AAAAhuVBK7x4nGNgZGBg4GIwYLBjYHJx8wlh4MtJLMljkGJgYYAAkDwymzEnMz2RgQPGA8qxgGkOIGaDiAIAJjsFSAB4nGNgZN7DOIGBlYGBqYppDwMDQw+EZnzAYMjIBBRlYGVmwAoC0lxTGBxeMLxgYg76n8UQxRzEMA0ozAiSAwD8QAvrAHic7ZCxDYBADAMvn0CBmIOKkkmo2L9ii8fJ/xhYOku2ohQGFsDFKQLswUjdaq16Z6s+OOomsn9b73LSlaO85Sdb+bWXXzN5LjWo7SbaSzsO8A+FSw1NAAB4nGNgQAMSEMgc9D8LhAESbAPdAHicrVZpd9NGFB15SZyELCULLWphxMRpsEYmbMGACUGyYyBdnK2VoIsUO+m+8Ynf4F/zZNpz6Dd+Wu8bLySQtOdwmpOjd+fN1czbZRJaktgL65GUmy/F1NYmjew8CemGTctRfCg7eyFlisnfBVEQrZbatx2HREQiULWusEQQ+x5ZmmR86FFGy7akV03KLT3pLlvjQb1V334aOsqxO6GkZjN0aD2yJVUYVaJIpj1S0qZlqPorSSu8v8LMV81QwohOImm8GcbQSN4bZ7TKaDW24yiKbLLcKFIkmuFBFHmU1RLn5IoJDMoHzZDyyqcR5cP8iKzYo5xWsEu20/y+L3mndzk/sV9vUbbkQB/Ijuzg7HQlX4RbW2HctJPtKFQRdtd3QmzZ7FT/Zo/ymkYDtysyvdCMYKl8hRArP6HM/iFZLZxP+ZJHo1qykRNB62VO7Es+gdbjiClxzRhZ0N3RCRHU/ZIzDPaYPh788d4plgsTAngcy3pHJZwIEylhczRJ2jByYCVliyqp9a6YOOV1WsRbwn7t2tGXzmjjUHdiPFsPHVs5UcnxaFKnmUyd2knNoykNopR0JnjMrwMoP6JJXm1jNYmVR9M4ZsaERCICLdxLU0EsO7GkKQTNoxm9uRumuXYtWqTJA/Xco/f05la4udNT2g70s0Z/VqdiOtgL0+lp5C/xadrlIkXp+ukZfkziQdYCMpEtNsOUgwdv/Q7Sy9eWHIXXBtju7fMrqH3WRPCkAfsb0B5P1SkJTIWYVYhWQGKta1mWydWsFqnI1HdDmla+rNMEinIcF8e+jHH9XzMzlpgSvt+J07MjLj1z7UsI0xx8m3U9mtepxXIBcWZ5TqdZlu/rNMfyA53mWZ7X6QhLW6ejLD/UaYHlRzodY3lBC5p038GQizDkAg6QMISlA0NYXoIhLBUMYbkIQ1gWYQjLJRjC8mMYwnIZhrC8rGXV1FNJ49qZWAZsQmBijh65zEXlaiq5VEK7aFRqQ54SbpVUFM+qf2WgXjzyhjmwFkiXyJpfMc6Vj0bl+NYVLW8aO1fAsepvH472OfFS1ouFPwX/1dZUJb1izcOTq/Abhp5sJ6o2qXh0TZfPVT26/l9UVFgL9BtIhVgoyrJscGcihI86nYZqoJVDzGzMPLTrdcuan8P9NzFCFlD9+DcUGgvcg05ZSVnt4KzV19uy3DuDcjgTLEkxN/P6VvgiI7PSfpFZyp6PfB5wBYxKZdhqA60VvNknMQ+Z3iTPBHFbUTZI2tjOBIkNHPOAefOdBCZh6qoN5E7hhg34BWFuwXknXKJ6oyyH7kXs8yik/Fun4kT2qGiMwLPZG2Gv70LKb3EMJDT5pX4MVBWhqRg1FdA0Um6oBl/G2bptQsYO9CMqdsOyrOLDxxb3lZJtGYR8pIjVo6Of1l6iTqrcfmYUl++dvgXBIDUxf3vfdHGQyrtayTJHbQNTtxqVU9eaQ+NVh+rmUfW94+wTOWuabronHnpf06rbwcVcLLD2bQ7SUiYX1PVhhQ2iy8WlUOplNEnvuAcYFhjQ71CKjf+r+th8nitVhdFxJN9O1LfR52AM/A/Yf0f1A9D3Y+hyDS7P95oTn2704WyZrqIX66foNzBrrblZugbc0HQD4iFHrY64yg18pwZxeqS5HOkh4GPdFeIBwCaAxeAT3bWM5lMAo/mMOT7A58xh0GQOgy3mMNhmzhrADnMY7DKHwR5zGHzBnHWAL5nDIGQOg4g5DJ4wJwB4yhwGXzGHwdfMYfANc+4DfMscBjFzGCTMYbCv6dYwzC1e0F2gtkFVoANTT1jcw+JQU2XI/o4Xhv29Qcz+wSCm/qjp9pD6Ey8M9WeDmPqLQUz9VdOdIfU3Xhjq7wYx9Q+DmPpMvxjLZQa/jHyXCgeUXWw+5++J9w/bxUC5AAEAAf//AA94nDWNsUoDQRiEZ/bf/26TTYQtQtBuqxSHFsqhZUoDqayFpDtQ8gA+RLprUib4Bj6Jr2AhaUWwiqubg8w0UwzfBwP8PcmdPKCERz29hhUVqytDFBQLWYAc3JdUHerMOcB55/u9/C9DCE7HVahjfTOKI4YYGH8YD9/mw7ys5/P14cu8/j4CYOfZZ4/H1bTKdAohq0KN2Ox57iywdmhn+e7hwzGlnld1xp7Khhds0iZ9vp9G2rDp+IDszQ4FijclL6tw2+OYk5ZLLts0aM1Zm7ZcHCf+AT2xLp14nGNgZGBgAGJBjnrheH6brwzczC+AIgzXfAR5EfT/LOYXzEFALgcDE0gUAOZcCHZ4nGNgZGBgDvqfBSRfMDCASUYGVMACAFz4A5sAA+gAAAM4AAAD6AAAA+gAAAAAAAAANABkAHwAAAABAAAABAAMAAIAAAAAAAIAEAAgAHMAAABGC3AAAAAAeJx1kN1qwjAYht/Mn20K29hgp8vRUMbqDwxBEASHnmwnMjwdtda2UhtJo+Bt7B52MbuJXcte2ziGspY0z/fky5evAXCNbwjkzxNHzgJnjHI+wSl6lgv0z5aL5BfLJVTxZrlM/265ggcElqu4wQcriOI5owU+LQtciUvLJ7gQd5YL9I+Wi+Se5RJuxavlMr1nuYKJSC1XcS++Bmq11VEQGlkb1GW72erI6VYqqihxY+muTah0KvtyrhLjx7FyPLXc89gP1rGr9+F+nvg6jVQiW05zr0Z+4mvX+LNd9XQTtI2Zy7lWSzm0GXKl1cL3jBMas+o2Gn/PwwAKK2yhEfGqQhhI1GjrnNtoooUOacoMycw8K0ICFzGNizV3hNlKyrjPMWeU0PrMiMkOPH6XR35MCrg/ZhV9tHoYT0i7M6LMS/blsLvDrBEpyTLdzM5+e0+x4WltWsNduy511pXE8KCG5H3s1hY0Hr2T3Yqh7aLB95//+wHmboRRAHicY2BigAAuBuyAhZGJkZmRhZGVgbWkKLE4g6Ugp7SYMyW/PE83vyA1j4EBAGQLB7IAAAB4nGPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGVidNjEwMmiBGJu5mBg5ICw+BjCLzWkX0wGgNCeQze60i8EBwmZmcNmowtgRGLHBoSNiI3OKy0Y1EG8XRwMDI4tDR3JIBEhJJBBs5mFi5NHawfi/dQNL70YmBhcADHYj9AAA"},function(e,t){e.exports="data:font/ttf;base64,AAEAAAAPAIAAAwBwR1NVQiCLJXoAAAD8AAAAVE9TLzI+IElNAAABUAAAAFZjbWFw6S9b4wAAAagAAAGMY3Z0IAbV/wQAAAfgAAAAIGZwZ22KkZBZAAAIAAAAC3BnYXNwAAAAEAAAB9gAAAAIZ2x5ZvBoZ/4AAAM0AAAA+GhlYWQPn2W7AAAELAAAADZoaGVhBzwDVwAABGQAAAAkaG10eA7wAAAAAASIAAAAEGxvY2EAsABkAAAEmAAAAAptYXhwANALngAABKQAAAAgbmFtZcydHR8AAATEAAACzXBvc3Qy6bDpAAAHlAAAAEJwcmVw5UErvAAAE3AAAACGAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEDvAGQAAUAAAJ6ArwAAACMAnoCvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOgA6AIDUv9qAFoDUgCWAAAAAQAAAAAAAAAAAAUAAAADAAAALAAAAAQAAAFYAAEAAAAAAFIAAwABAAAALAADAAoAAAFYAAQAJgAAAAQABAABAADoAv//AADoAP//AAAAAQAEAAAAAQACAAMAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAADQAAAAAAAAAAwAA6AAAAOgAAAAAAQAA6AEAAOgBAAAAAgAA6AIAAOgCAAAAAwACAAD/agM4A1IABwALADVAMgAEAwUDBAVtAgEABgEDBAADXwABAQxIBwEFBQ0FSQgIAAAICwgLCgkABwAHERERCAUXKxE1ITUzFSEVAREhEQEh9gEh/PMC4gJ5jUxMjfzxAqT9XAAAAAEAAP9qA+gDUgALAC5AKwIBAAEDAQADbQYFAgMEAQMEawABAQxIAAQEDQRJAAAACwALEREREREHBRkrNREhESERIREhESERAWcBGgFn/pn+5tEBGgFn/pn+5v6ZAWcAAAEAAAAAA+gCogAGAAazBQEBLSsRNwkBFwEnlAFgAWCU/gyUAg6U/qEBX5T+DJQAAAEAAAABAAARCNlnXw889QALA+gAAAAA1kwRDQAAAADWTBENAAD/agPoA1IAAAAIAAIAAAAAAAAAAQAAA1L/agAAA+gAAAAAA+gAAQAAAAAAAAAAAAAAAAAAAAQD6AAAAzgAAAPoAAAD6AAAAAAAAAA0AGQAfAAAAAEAAAAEAAwAAgAAAAAAAgAQACAAcwAAAEYLcAAAAAAAAAASAN4AAQAAAAAAAAA1AAAAAQAAAAAAAQAIADUAAQAAAAAAAgAHAD0AAQAAAAAAAwAIAEQAAQAAAAAABAAIAEwAAQAAAAAABQALAFQAAQAAAAAABgAIAF8AAQAAAAAACgArAGcAAQAAAAAACwATAJIAAwABBAkAAABqAKUAAwABBAkAAQAQAQ8AAwABBAkAAgAOAR8AAwABBAkAAwAQAS0AAwABBAkABAAQAT0AAwABBAkABQAWAU0AAwABBAkABgAQAWMAAwABBAkACgBWAXMAAwABBAkACwAmAclDb3B5cmlnaHQgKEMpIDIwMTcgYnkgb3JpZ2luYWwgYXV0aG9ycyBAIGZvbnRlbGxvLmNvbWZvbnRlbGxvUmVndWxhcmZvbnRlbGxvZm9udGVsbG9WZXJzaW9uIDEuMGZvbnRlbGxvR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20AQwBvAHAAeQByAGkAZwBoAHQAIAAoAEMAKQAgADIAMAAxADcAIABiAHkAIABvAHIAaQBnAGkAbgBhAGwAIABhAHUAdABoAG8AcgBzACAAQAAgAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAGYAbwBuAHQAZQBsAGwAbwBSAGUAZwB1AGwAYQByAGYAbwBuAHQAZQBsAGwAbwBmAG8AbgB0AGUAbABsAG8AVgBlAHIAcwBpAG8AbgAgADEALgAwAGYAbwBuAHQAZQBsAGwAbwBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAQIBAwEEAQUABXRyYXNoBHBsdXMJZG93bi1vcGVuAAAAAAABAAH//wAPAAAAAAAAAAAAAAAAAAAAAAAYABgAGAAYA1L/agNS/2qwACwgsABVWEVZICBLuAAOUUuwBlNaWLA0G7AoWWBmIIpVWLACJWG5CAAIAGNjI2IbISGwAFmwAEMjRLIAAQBDYEItsAEssCBgZi2wAiwgZCCwwFCwBCZasigBCkNFY0VSW1ghIyEbilggsFBQWCGwQFkbILA4UFghsDhZWSCxAQpDRWNFYWSwKFBYIbEBCkNFY0UgsDBQWCGwMFkbILDAUFggZiCKimEgsApQWGAbILAgUFghsApgGyCwNlBYIbA2YBtgWVlZG7ABK1lZI7AAUFhlWVktsAMsIEUgsAQlYWQgsAVDUFiwBSNCsAYjQhshIVmwAWAtsAQsIyEjISBksQViQiCwBiNCsQEKQ0VjsQEKQ7ABYEVjsAMqISCwBkMgiiCKsAErsTAFJbAEJlFYYFAbYVJZWCNZISCwQFNYsAErGyGwQFkjsABQWGVZLbAFLLAHQyuyAAIAQ2BCLbAGLLAHI0IjILAAI0JhsAJiZrABY7ABYLAFKi2wBywgIEUgsAtDY7gEAGIgsABQWLBAYFlmsAFjYESwAWAtsAgssgcLAENFQiohsgABAENgQi2wCSywAEMjRLIAAQBDYEItsAosICBFILABKyOwAEOwBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhRESwAWAtsAssICBFILABKyOwAEOwBCVgIEWKI2EgZLAkUFiwABuwQFkjsABQWGVZsAMlI2FERLABYC2wDCwgsAAjQrILCgNFWCEbIyFZKiEtsA0ssQICRbBkYUQtsA4ssAFgICCwDENKsABQWCCwDCNCWbANQ0qwAFJYILANI0JZLbAPLCCwEGJmsAFjILgEAGOKI2GwDkNgIIpgILAOI0IjLbAQLEtUWLEEZERZJLANZSN4LbARLEtRWEtTWLEEZERZGyFZJLATZSN4LbASLLEAD0NVWLEPD0OwAWFCsA8rWbAAQ7ACJUKxDAIlQrENAiVCsAEWIyCwAyVQWLEBAENgsAQlQoqKIIojYbAOKiEjsAFhIIojYbAOKiEbsQEAQ2CwAiVCsAIlYbAOKiFZsAxDR7ANQ0dgsAJiILAAUFiwQGBZZrABYyCwC0NjuAQAYiCwAFBYsEBgWWawAWNgsQAAEyNEsAFDsAA+sgEBAUNgQi2wEywAsQACRVRYsA8jQiBFsAsjQrAKI7ABYEIgYLABYbUQEAEADgBCQopgsRIGK7ByKxsiWS2wFCyxABMrLbAVLLEBEystsBYssQITKy2wFyyxAxMrLbAYLLEEEystsBkssQUTKy2wGiyxBhMrLbAbLLEHEystsBwssQgTKy2wHSyxCRMrLbAeLACwDSuxAAJFVFiwDyNCIEWwCyNCsAojsAFgQiBgsAFhtRAQAQAOAEJCimCxEgYrsHIrGyJZLbAfLLEAHistsCAssQEeKy2wISyxAh4rLbAiLLEDHistsCMssQQeKy2wJCyxBR4rLbAlLLEGHistsCYssQceKy2wJyyxCB4rLbAoLLEJHistsCksIDywAWAtsCosIGCwEGAgQyOwAWBDsAIlYbABYLApKiEtsCsssCorsCoqLbAsLCAgRyAgsAtDY7gEAGIgsABQWLBAYFlmsAFjYCNhOCMgilVYIEcgILALQ2O4BABiILAAUFiwQGBZZrABY2AjYTgbIVktsC0sALEAAkVUWLABFrAsKrABFTAbIlktsC4sALANK7EAAkVUWLABFrAsKrABFTAbIlktsC8sIDWwAWAtsDAsALABRWO4BABiILAAUFiwQGBZZrABY7ABK7ALQ2O4BABiILAAUFiwQGBZZrABY7ABK7AAFrQAAAAAAEQ+IzixLwEVKi2wMSwgPCBHILALQ2O4BABiILAAUFiwQGBZZrABY2CwAENhOC2wMiwuFzwtsDMsIDwgRyCwC0NjuAQAYiCwAFBYsEBgWWawAWNgsABDYbABQ2M4LbA0LLECABYlIC4gR7AAI0KwAiVJiopHI0cjYSBYYhshWbABI0KyMwEBFRQqLbA1LLAAFrAEJbAEJUcjRyNhsAlDK2WKLiMgIDyKOC2wNiywABawBCWwBCUgLkcjRyNhILAEI0KwCUMrILBgUFggsEBRWLMCIAMgG7MCJgMaWUJCIyCwCEMgiiNHI0cjYSNGYLAEQ7ACYiCwAFBYsEBgWWawAWNgILABKyCKimEgsAJDYGQjsANDYWRQWLACQ2EbsANDYFmwAyWwAmIgsABQWLBAYFlmsAFjYSMgILAEJiNGYTgbI7AIQ0awAiWwCENHI0cjYWAgsARDsAJiILAAUFiwQGBZZrABY2AjILABKyOwBENgsAErsAUlYbAFJbACYiCwAFBYsEBgWWawAWOwBCZhILAEJWBkI7ADJWBkUFghGyMhWSMgILAEJiNGYThZLbA3LLAAFiAgILAFJiAuRyNHI2EjPDgtsDgssAAWILAII0IgICBGI0ewASsjYTgtsDkssAAWsAMlsAIlRyNHI2GwAFRYLiA8IyEbsAIlsAIlRyNHI2EgsAUlsAQlRyNHI2GwBiWwBSVJsAIlYbkIAAgAY2MjIFhiGyFZY7gEAGIgsABQWLBAYFlmsAFjYCMuIyAgPIo4IyFZLbA6LLAAFiCwCEMgLkcjRyNhIGCwIGBmsAJiILAAUFiwQGBZZrABYyMgIDyKOC2wOywjIC5GsAIlRlJYIDxZLrErARQrLbA8LCMgLkawAiVGUFggPFkusSsBFCstsD0sIyAuRrACJUZSWCA8WSMgLkawAiVGUFggPFkusSsBFCstsD4ssDUrIyAuRrACJUZSWCA8WS6xKwEUKy2wPyywNiuKICA8sAQjQoo4IyAuRrACJUZSWCA8WS6xKwEUK7AEQy6wKystsEAssAAWsAQlsAQmIC5HI0cjYbAJQysjIDwgLiM4sSsBFCstsEEssQgEJUKwABawBCWwBCUgLkcjRyNhILAEI0KwCUMrILBgUFggsEBRWLMCIAMgG7MCJgMaWUJCIyBHsARDsAJiILAAUFiwQGBZZrABY2AgsAErIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbACYiCwAFBYsEBgWWawAWNhsAIlRmE4IyA8IzgbISAgRiNHsAErI2E4IVmxKwEUKy2wQiywNSsusSsBFCstsEMssDYrISMgIDywBCNCIzixKwEUK7AEQy6wKystsEQssAAVIEewACNCsgABARUUEy6wMSotsEUssAAVIEewACNCsgABARUUEy6wMSotsEYssQABFBOwMiotsEcssDQqLbBILLAAFkUjIC4gRoojYTixKwEUKy2wSSywCCNCsEgrLbBKLLIAAEErLbBLLLIAAUErLbBMLLIBAEErLbBNLLIBAUErLbBOLLIAAEIrLbBPLLIAAUIrLbBQLLIBAEIrLbBRLLIBAUIrLbBSLLIAAD4rLbBTLLIAAT4rLbBULLIBAD4rLbBVLLIBAT4rLbBWLLIAAEArLbBXLLIAAUArLbBYLLIBAEArLbBZLLIBAUArLbBaLLIAAEMrLbBbLLIAAUMrLbBcLLIBAEMrLbBdLLIBAUMrLbBeLLIAAD8rLbBfLLIAAT8rLbBgLLIBAD8rLbBhLLIBAT8rLbBiLLA3Ky6xKwEUKy2wYyywNyuwOystsGQssDcrsDwrLbBlLLAAFrA3K7A9Ky2wZiywOCsusSsBFCstsGcssDgrsDsrLbBoLLA4K7A8Ky2waSywOCuwPSstsGossDkrLrErARQrLbBrLLA5K7A7Ky2wbCywOSuwPCstsG0ssDkrsD0rLbBuLLA6Ky6xKwEUKy2wbyywOiuwOystsHAssDorsDwrLbBxLLA6K7A9Ky2wciyzCQQCA0VYIRsjIVlCK7AIZbADJFB4sAEVMC0AS7gAyFJYsQEBjlmwAbkIAAgAY3CxAAVCsgABACqxAAVCswoCAQgqsQAFQrMOAAEIKrEABkK6AsAAAQAJKrEAB0K6AEAAAQAJKrEDAESxJAGIUViwQIhYsQNkRLEmAYhRWLoIgAABBECIY1RYsQMARFlZWVmzDAIBDCq4Af+FsASNsQIARAAA"},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxtZXRhZGF0YT5Db3B5cmlnaHQgKEMpIDIwMTcgYnkgb3JpZ2luYWwgYXV0aG9ycyBAIGZvbnRlbGxvLmNvbTwvbWV0YWRhdGE+CjxkZWZzPgo8Zm9udCBpZD0iZm9udGVsbG8iIGhvcml6LWFkdi14PSIxMDAwIiA+Cjxmb250LWZhY2UgZm9udC1mYW1pbHk9ImZvbnRlbGxvIiBmb250LXdlaWdodD0iNDAwIiBmb250LXN0cmV0Y2g9Im5vcm1hbCIgdW5pdHMtcGVyLWVtPSIxMDAwIiBhc2NlbnQ9Ijg1MCIgZGVzY2VudD0iLTE1MCIgLz4KPG1pc3NpbmctZ2x5cGggaG9yaXotYWR2LXg9IjEwMDAiIC8+CjxnbHlwaCBnbHlwaC1uYW1lPSJ0cmFzaCIgdW5pY29kZT0iJiN4ZTgwMDsiIGQ9Ik0wIDYzM2wwIDE0MSAyODkgMCAwIDc2IDI0NiAwIDAtNzYgMjg5IDAgMC0xNDEtODI0IDB6IG00My03ODNsMCA2NzYgNzM4IDAgMC02NzYtNzM4IDB6IiBob3Jpei1hZHYteD0iODI0IiAvPgoKPGdseXBoIGdseXBoLW5hbWU9InBsdXMiIHVuaWNvZGU9IiYjeGU4MDE7IiBkPSJNMCAyMDlsMCAyODIgMzU5IDAgMCAzNTkgMjgyIDAgMC0zNTkgMzU5IDAgMC0yODItMzU5IDAgMC0zNTktMjgyIDAgMCAzNTktMzU5IDB6IiBob3Jpei1hZHYteD0iMTAwMCIgLz4KCjxnbHlwaCBnbHlwaC1uYW1lPSJkb3duLW9wZW4iIHVuaWNvZGU9IiYjeGU4MDI7IiBkPSJNMCA1MjZsMTQ4IDE0OCAzNTItMzUxIDM1MiAzNTEgMTQ4LTE0OC0zNTItMzUyLTE0OC0xNDgtMTQ4IDE0OHoiIGhvcml6LWFkdi14PSIxMDAwIiAvPgo8L2ZvbnQ+CjwvZGVmcz4KPC9zdmc+"},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,i=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(e,t,n){"use strict";n.r(t);var i=n(12),r=n(4);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);var s=n(0),a=Object(s.a)(r.default,i.a,i.b,!1,null,null,null);a.options.__file="src/JsonView.vue",t.default=a.exports},function(e,t,n){"use strict";var i=n(8);n.n(i).a},function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".f-input[data-v-01647a09],\n.f-btns[data-v-01647a09] {\n display: inline-block;\n}\n.f-btns[data-v-01647a09] {\n display: inline-block;\n margin-top: 0.5em;\n}\n.f-confirm[data-v-01647a09] {\n color: #fff;\n background: #05a5d1;\n}\n.add-form[data-v-01647a09] {\n margin-bottom: 20px;\n font-size: 0.6em;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var i=n(13),r=n(9);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);var s=n(0),a=Object(s.a)(r.default,i.a,i.b,!1,null,null,null);a.options.__file="src/ArrayView.vue",t.default=a.exports},function(e){e.exports={name:"vue-json-edit",version:"1.3.4",description:"visual JSON editor built as an vue component",author:"Jinkin1995 <jinkin1995@gmail.com>",keywords:["vue","json"],main:"./src/index.js",module:"./dist/vue-json-edit.js",repository:{type:"git",url:"git+https://github.com/jinkin1995/vue-json-edit.git"},homepage:"https://github.com/jinkin1995/vue-json-edit",bugs:{url:"https://github.com/jinkin1995/vue-json-edit/issues"},license:"Apache 2",scripts:{dev:"webpack-dev-server --open --config webpack.config.js",example:"rm -rf ./example/dist/*.js && rm -rf ./example/dist/*.html && webpack --progress --config webpack.config.js",build:"webpack --progress --config webpack.build.js"},devDependencies:{"babel-core":"^6.26.3","babel-loader":"^7.1.5","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-0":"^6.24.1","css-loader":"^2.1.0","html-webpack-plugin":"^3.2.0",less:"^3.9.0","less-loader":"^4.1.0","resolve-url-loader":"^3.0.1","style-loader":"^0.23.1","url-loader":"^1.1.2","vue-loader":"^15.7.0","vue-template-compiler":"^2.6.8",webpack:"^4.29.6","webpack-cli":"^3.2.3","webpack-dev-server":"^3.2.1"},dependencies:{"highlight.js":"^9.15.6",vue:"^2.6.8"},browserslist:["> 1%","last 2 versions","not ie <= 8"]}}])},function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="./dist/",t(t.s=5)}([function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgd2lkdGg9IjI0MCIKICAgaGVpZ2h0PSIxNDQiCiAgIGlkPSJzdmc0MTM2IgogICB2ZXJzaW9uPSIxLjEiCiAgIGlua3NjYXBlOnZlcnNpb249IjAuOTEgcjEzNzI1IgogICBzb2RpcG9kaTpkb2NuYW1lPSJqc29uZWRpdG9yLWljb25zLnN2ZyI+CiAgPHRpdGxlCiAgICAgaWQ9InRpdGxlNjUxMiI+SlNPTiBFZGl0b3IgSWNvbnM8L3RpdGxlPgogIDxtZXRhZGF0YQogICAgIGlkPSJtZXRhZGF0YTQxNDgiPgogICAgPHJkZjpSREY+CiAgICAgIDxjYzpXb3JrCiAgICAgICAgIHJkZjphYm91dD0iIj4KICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4KICAgICAgICA8ZGM6dHlwZQogICAgICAgICAgIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiIC8+CiAgICAgICAgPGRjOnRpdGxlPkpTT04gRWRpdG9yIEljb25zPC9kYzp0aXRsZT4KICAgICAgPC9jYzpXb3JrPgogICAgPC9yZGY6UkRGPgogIDwvbWV0YWRhdGE+CiAgPGRlZnMKICAgICBpZD0iZGVmczQxNDYiIC8+CiAgPHNvZGlwb2RpOm5hbWVkdmlldwogICAgIHBhZ2Vjb2xvcj0iI2ZmNjNmZiIKICAgICBib3JkZXJjb2xvcj0iIzY2NjY2NiIKICAgICBib3JkZXJvcGFjaXR5PSIxIgogICAgIG9iamVjdHRvbGVyYW5jZT0iMTAiCiAgICAgZ3JpZHRvbGVyYW5jZT0iMTAiCiAgICAgZ3VpZGV0b2xlcmFuY2U9IjEwIgogICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwIgogICAgIGlua3NjYXBlOnBhZ2VzaGFkb3c9IjIiCiAgICAgaW5rc2NhcGU6d2luZG93LXdpZHRoPSIxOTIwIgogICAgIGlua3NjYXBlOndpbmRvdy1oZWlnaHQ9IjEwMjYiCiAgICAgaWQ9Im5hbWVkdmlldzQxNDQiCiAgICAgc2hvd2dyaWQ9InRydWUiCiAgICAgaW5rc2NhcGU6em9vbT0iNCIKICAgICBpbmtzY2FwZTpjeD0iMTMuMjI5MTgxIgogICAgIGlua3NjYXBlOmN5PSIxMTkuODI0MjkiCiAgICAgaW5rc2NhcGU6d2luZG93LXg9IjAiCiAgICAgaW5rc2NhcGU6d2luZG93LXk9IjAiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmc0MTM2IgogICAgIHNob3dndWlkZXM9ImZhbHNlIgogICAgIGJvcmRlcmxheWVyPSJmYWxzZSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0idHJ1ZSIKICAgICBzaG93Ym9yZGVyPSJ0cnVlIj4KICAgIDxpbmtzY2FwZTpncmlkCiAgICAgICB0eXBlPSJ4eWdyaWQiCiAgICAgICBpZD0iZ3JpZDQ2NDAiCiAgICAgICBlbXBzcGFjaW5nPSIyNCIgLz4KICA8L3NvZGlwb2RpOm5hbWVkdmlldz4KICA8IS0tIENyZWF0ZWQgd2l0aCBTVkctZWRpdCAtIGh0dHA6Ly9zdmctZWRpdC5nb29nbGVjb2RlLmNvbS8gLS0+CiAgPHJlY3QKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIgogICAgIGlkPSJzdmdfMSIKICAgICBoZWlnaHQ9IjE2IgogICAgIHdpZHRoPSIxNiIKICAgICB5PSI0IgogICAgIHg9IjQiIC8+CiAgPHJlY3QKICAgICBpZD0ic3ZnXzEtNyIKICAgICBoZWlnaHQ9IjE2IgogICAgIHdpZHRoPSIxNiIKICAgICB5PSIzLjk5OTk5NSIKICAgICB4PSIyOC4wMDAwMDYiCiAgICAgc3R5bGU9ImZpbGw6I2VjM2YyOTtmaWxsLW9wYWNpdHk6MC45NDExNzY0NztzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8cmVjdAogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiCiAgICAgeD0iNTIuMDAwMDA0IgogICAgIHk9IjMuOTk5OTk1IgogICAgIHdpZHRoPSIxNiIKICAgICBoZWlnaHQ9IjE2IgogICAgIGlkPSJyZWN0NDE2NSIgLz4KICA8cmVjdAogICAgIGlkPSJyZWN0NDE3NSIKICAgICBoZWlnaHQ9IjE2IgogICAgIHdpZHRoPSIxNiIKICAgICB5PSIzLjk5OTk4NTIiCiAgICAgeD0iMTcyLjAwMDAyIgogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQxNzUtMyIKICAgICBoZWlnaHQ9IjE2IgogICAgIHdpZHRoPSIxNiIKICAgICB5PSIzLjk5OTk5NSIKICAgICB4PSIxOTYiCiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8ZwogICAgIGlkPSJnNDI5OSIKICAgICBzdHlsZT0ic3Ryb2tlOm5vbmUiPgogICAgPHJlY3QKICAgICAgIHg9IjcuMDAwMDA0OCIKICAgICAgIHk9IjEwLjk5OTk5OCIKICAgICAgIHdpZHRoPSI5Ljk5OTk5MjQiCiAgICAgICBoZWlnaHQ9IjEuOTk5OTk4NiIKICAgICAgIGlkPSJzdmdfMS0xIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICAgIDxyZWN0CiAgICAgICB4PSIxMS4wMDAwMDUiCiAgICAgICB5PSI3LjAwMDAxMTQiCiAgICAgICB3aWR0aD0iMS45OTk5OTU1IgogICAgICAgaGVpZ2h0PSI5Ljk5OTk4MzgiCiAgICAgICBpZD0ic3ZnXzEtMS0xIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8L2c+CiAgPGcKICAgICBpZD0iZzQyOTktMyIKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjcwNzEwNjc4LC0wLjcwNzEwNjc4LDAuNzA3MTA2NzgsMC43MDcxMDY3OCwxOS4wMjk0MzUsMTIuMDAwMDAxKSIKICAgICBzdHlsZT0ic3Ryb2tlOm5vbmUiPgogICAgPHJlY3QKICAgICAgIHg9IjcuMDAwMDA0OCIKICAgICAgIHk9IjEwLjk5OTk5OCIKICAgICAgIHdpZHRoPSI5Ljk5OTk5MjQiCiAgICAgICBoZWlnaHQ9IjEuOTk5OTk4NiIKICAgICAgIGlkPSJzdmdfMS0xLTAiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIiAvPgogICAgPHJlY3QKICAgICAgIHg9IjExLjAwMDAwNSIKICAgICAgIHk9IjcuMDAwMDExNCIKICAgICAgIHdpZHRoPSIxLjk5OTk5NTUiCiAgICAgICBoZWlnaHQ9IjkuOTk5OTgzOCIKICAgICAgIGlkPSJzdmdfMS0xLTEtOSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgPC9nPgogIDxyZWN0CiAgICAgaWQ9InN2Z18xLTctNSIKICAgICBoZWlnaHQ9IjYuOTk5OTkwNSIKICAgICB3aWR0aD0iNi45OTk5OTA5IgogICAgIHk9IjcuMDAwMDA0OCIKICAgICB4PSI1NS4wMDAwMDQiCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MCIgLz4KICA8cmVjdAogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiM0YzRjNGM7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICB4PSI1OCIKICAgICB5PSIxMC4wMDAwMSIKICAgICB3aWR0aD0iNi45OTk5OTA5IgogICAgIGhlaWdodD0iNi45OTk5OTA1IgogICAgIGlkPSJyZWN0NDM1NCIgLz4KICA8cmVjdAogICAgIGlkPSJzdmdfMS03LTUtNyIKICAgICBoZWlnaHQ9IjYuOTk5OTkwNSIKICAgICB3aWR0aD0iNi45OTk5OTA5IgogICAgIHk9IjEwLjAwMDAwNSIKICAgICB4PSI1OC4wMDAwMDQiCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6IzNjODBkZjtzdHJva2Utd2lkdGg6MDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eTowLjk0MTE3NjQ3IiAvPgogIDxnCiAgICAgaWQ9Imc0Mzc4Ij4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDowIgogICAgICAgeD0iMTk4IgogICAgICAgeT0iMTAuOTk5OTk5IgogICAgICAgd2lkdGg9IjcuOTk5OTkwOSIKICAgICAgIGhlaWdodD0iMS45OTk5OTY1IgogICAgICAgaWQ9InN2Z18xLTctNS0zIiAvPgogICAgPHJlY3QKICAgICAgIGlkPSJyZWN0NDM3NCIKICAgICAgIGhlaWdodD0iMS45OTk5OTQ2IgogICAgICAgd2lkdGg9IjExLjk5OTk5NSIKICAgICAgIHk9IjcuMDAwMDAwNSIKICAgICAgIHg9IjE5OCIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgICA8cmVjdAogICAgICAgaWQ9InJlY3Q0Mzc2IgogICAgICAgaGVpZ2h0PSIxLjk5OTk5OTUiCiAgICAgICB3aWR0aD0iMy45OTk5OTI4IgogICAgICAgeT0iMTQuOTk5OTk2IgogICAgICAgeD0iMTk4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MCIgLz4KICA8L2c+CiAgPGcKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgxLDAsMCwtMSwtMjMuOTk5OTk1LDIzLjk5OTk5NSkiCiAgICAgaWQ9Imc0MzgzIj4KICAgIDxyZWN0CiAgICAgICBpZD0icmVjdDQzODUiCiAgICAgICBoZWlnaHQ9IjEuOTk5OTk2NSIKICAgICAgIHdpZHRoPSI3Ljk5OTk5MDkiCiAgICAgICB5PSIxMC45OTk5OTkiCiAgICAgICB4PSIxOTgiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDowIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjAiCiAgICAgICB4PSIxOTgiCiAgICAgICB5PSI3LjAwMDAwMDUiCiAgICAgICB3aWR0aD0iMTEuOTk5OTk1IgogICAgICAgaGVpZ2h0PSIxLjk5OTk5NDYiCiAgICAgICBpZD0icmVjdDQzODciIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MCIKICAgICAgIHg9IjE5OCIKICAgICAgIHk9IjE0Ljk5OTk5NiIKICAgICAgIHdpZHRoPSIzLjk5OTk5MjgiCiAgICAgICBoZWlnaHQ9IjEuOTk5OTk5NSIKICAgICAgIGlkPSJyZWN0NDM4OSIgLz4KICA8L2c+CiAgPHJlY3QKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIgogICAgIGlkPSJyZWN0Mzc1NC00IgogICAgIHdpZHRoPSIxNiIKICAgICBoZWlnaHQ9IjE2IgogICAgIHg9Ijc2IgogICAgIHk9IjMuOTk5OTE5OSIgLz4KICA8cGF0aAogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiNmZmZmZmY7c3Ryb2tlLXdpZHRoOjAuMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGQ9Im0gODUuMTA0NDcsNi4wMTU3Mzg0IC0wLjAxNTYsMS40MDYzIGMgMy4wMjY2OSwtMC4yNDAyIDAuMzMwMDgsMy42NTA3OTk2IDIuNDg0MzgsNC41NzgwOTk2IC0yLjE4Njk0LDEuMDkzOCAwLjQ5MTkxLDQuOTA2OSAtMi40NTMxMyw0LjU3ODEgbCAtMC4wMTU2LDEuNDIxOSBjIDUuNzA4MjgsMC41NTkgMS4wMzI2NCwtNS4xMDA1IDQuNzAzMTMsLTUuMjY1NiBsIDAsLTEuNDA2MyBjIC0zLjYxMzAzLC0wLjAyNyAxLjExODkzLC01LjcwNjk5OTYgLTQuNzAzMTMsLTUuMzEyNDk5NiB6IgogICAgIGlkPSJwYXRoNDM1MSIKICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0iY2NjY2NjY2MiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDowLjI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICBkPSJtIDgyLjc4MTI1LDUuOTk4NDM4NCAwLjAxNTYsMS40MDYzIGMgLTMuMDI2NjgsLTAuMjQwMiAtMC4zMzAwNywzLjY1MDY5OTYgLTIuNDg0MzcsNC41NzgwOTk2IDIuMTg2OTQsMS4wOTM4IC0wLjQ5MTkyLDQuOTA2OSAyLjQ1MzEyLDQuNTc4MSBsIDAuMDE1NiwxLjQyMTkgYyAtNS43MDgyNywwLjU1OSAtMS4wMzI2MywtNS4xMDA0IC00LjcwMzEyLC01LjI2NTYgbCAwLC0xLjQwNjMgYyAzLjYxMzAzLC0wLjAyNyAtMS4xMTg5NCwtNS43MDcwOTk2IDQuNzAzMTIsLTUuMzEyNDk5NiB6IgogICAgIGlkPSJwYXRoNDM1MS05IgogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgc29kaXBvZGk6bm9kZXR5cGVzPSJjY2NjY2NjYyIgLz4KICA8cmVjdAogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiCiAgICAgaWQ9InJlY3QzNzU0LTI1IgogICAgIHdpZHRoPSIxNiIKICAgICBoZWlnaHQ9IjE2IgogICAgIHg9IjEwMCIKICAgICB5PSIzLjk5OTkxOTkiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIgogICAgIGQ9Im0gMTAzLjcxOSw1LjY3MTkzODQgMCwxMi43MTg3OTk2IDMuMDMxMjUsMCAwLC0xLjUzMTMgLTEuMzQzNzUsMCAwLC05LjYyNDk5OTYgMS4zNzUsMCAwLC0xLjU2MjUgeiIKICAgICBpZD0icGF0aDI5ODciCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KICA8cGF0aAogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiCiAgICAgZD0ibSAxMTIuMjE4NSw1LjY3MjE5ODQgMCwxMi43MTg3OTk2IC0zLjAzMTI1LDAgMCwtMS41MzEzIDEuMzQzNzUsMCAwLC05LjYyNDk5OTYgLTEuMzc1LDAgMCwtMS41NjI1IHoiCiAgICAgaWQ9InBhdGgyOTg3LTEiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KICA8cmVjdAogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiCiAgICAgaWQ9InJlY3QzNzU0LTczIgogICAgIHdpZHRoPSIxNiIKICAgICBoZWlnaHQ9IjE2IgogICAgIHg9IjEyNCIKICAgICB5PSIzLjk5OTkxOTkiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIgogICAgIGQ9Im0gMTI2LjI4MjQsMTcuNjAyOTM4IDEuNzg5NTcsMCAxLjE0MTQzLC0yLjg2NDEgNS42NTM2NCwwIDEuMTQ4NTYsMi44NjQxIDEuNzY1NjUsMCAtNC43ODY4NywtMTEuMTYxMDk5NiAtMS45MTkwMywwIHoiCiAgICAgaWQ9InBhdGgzNzgwIgogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgc29kaXBvZGk6bm9kZXR5cGVzPSJjY2NjY2NjY2MiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIgogICAgIGQ9Im0gMTI5LjcyNzA0LDEzLjQ3ODgzOCA0LjYwODUyLDAuMDEgLTIuMzA0MjYsLTUuNTQ5Nzk5NiB6IgogICAgIGlkPSJwYXRoMzc4MiIKICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAvPgogIDxyZWN0CiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIKICAgICBpZD0icmVjdDM3NTQtMzUiCiAgICAgd2lkdGg9IjE2IgogICAgIGhlaWdodD0iMTYiCiAgICAgeD0iMTQ4IgogICAgIHk9IjMuOTk5OTE5OSIgLz4KICA8cGF0aAogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiCiAgICAgZD0ibSAxNTYuNDc2NTUsNS44OTE3Mzg0IDAsMi4xNzk3IDAuNDYwOTMsMi4zOTgzOTk2IDEuODI4MTMsMCAwLjM5ODQ0LC0yLjM5ODM5OTYgMCwtMi4xNzk3IHoiCiAgICAgaWQ9InBhdGg1MDA4LTIiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2NjY2MiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIgogICAgIGQ9Im0gMTUyLjUxNTYxLDUuODkwNjM4NCAwLDIuMTc5NyAwLjQ2MDk0LDIuMzk4Mzk5NiAxLjgyODEyLDAgMC4zOTg0NCwtMi4zOTgzOTk2IDAsLTIuMTc5NyB6IgogICAgIGlkPSJwYXRoNTAwOC0yLTgiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2NjY2MiIC8+CiAgPHJlY3QKICAgICBpZD0ic3ZnXzEtNy0yIgogICAgIGhlaWdodD0iMS45OTk5OTYxIgogICAgIHdpZHRoPSIxMS45OTk5OTYiCiAgICAgeT0iNjQiCiAgICAgeD0iNTQiCiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MC45ODQzMTM3MztzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8cmVjdAogICAgIGlkPSJzdmdfMS03LTItMiIKICAgICBoZWlnaHQ9IjIuOTk5OTkwNSIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIHk9IjUyIgogICAgIHg9IjgwLjAwMDAwOCIKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eTowLjk4NDMxMzczO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIiAvPgogIDxyZWN0CiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MC45ODQzMTM3MztzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIKICAgICB4PSI4NS4wMDAwMDgiCiAgICAgeT0iNTIiCiAgICAgd2lkdGg9IjIuOTk5OTkwNyIKICAgICBoZWlnaHQ9IjIuOTk5OTkwNSIKICAgICBpZD0icmVjdDQ1NjEiIC8+CiAgPHJlY3QKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eTowLjk4NDMxMzczO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIgogICAgIHg9IjgwLjAwMDAwOCIKICAgICB5PSI1OCIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIGlkPSJyZWN0NDU2MyIgLz4KICA8cmVjdAogICAgIGlkPSJyZWN0NDU2NSIKICAgICBoZWlnaHQ9IjIuOTk5OTkwNSIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIHk9IjU4IgogICAgIHg9Ijg1LjAwMDAwOCIKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eTowLjk4NDMxMzczO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIiAvPgogIDxyZWN0CiAgICAgaWQ9InJlY3Q0NTY3IgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIHdpZHRoPSIyLjk5OTk5MDciCiAgICAgeT0iNjQiCiAgICAgeD0iODAuMDAwMDA4IgogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjAuOTg0MzEzNzM7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgPHJlY3QKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eTowLjk4NDMxMzczO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIgogICAgIHg9Ijg1LjAwMDAwOCIKICAgICB5PSI2NCIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIGlkPSJyZWN0NDU2OSIgLz4KICA8Y2lyY2xlCiAgICAgc3R5bGU9Im9wYWNpdHk6MTtmaWxsOm5vbmU7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiM0YzRjNGM7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIGlkPSJwYXRoNDU3MSIKICAgICBjeD0iMTEwLjA2MDgxIgogICAgIGN5PSI1Ny45MzkyMDkiCiAgICAgcj0iNC43NDM4ODM2IiAvPgogIDxyZWN0CiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MC45ODQzMTM3MztzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIKICAgICB4PSIxMTYuNjQ1NjYiCiAgICAgeT0iLTMxLjc5NzUyIgogICAgIHdpZHRoPSI0LjIyOTcxMyIKICAgICBoZWlnaHQ9IjYuNDA1Mzg4NCIKICAgICBpZD0icmVjdDQ1NjMtMiIKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjcwNzEwNjc4LDAuNzA3MTA2NzgsLTAuNzA3MTA2NzgsMC43MDcxMDY3OCwwLDApIiAvPgogIDxwYXRoCiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MDtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGQ9Ik0gMTI1LDU2IDEzOC43NzAyNyw1Ni4wOTUgMTMyLDY0IFoiCiAgICAgaWQ9InBhdGg0NjEzIgogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgc29kaXBvZGk6bm9kZXR5cGVzPSJjY2NjIiAvPgogIDxwYXRoCiAgICAgc29kaXBvZGk6bm9kZXR5cGVzPSJjY2NjIgogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgaWQ9InBhdGg0NjE1IgogICAgIGQ9Ik0gMTQ5LDY0IDE2Mi43NzAyNyw2My45MDUgMTU2LDU2IFoiCiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MDtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDxyZWN0CiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MC45ODQzMTM3MztzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIKICAgICB4PSI1NCIKICAgICB5PSI1MyIKICAgICB3aWR0aD0iMTEuOTk5OTk2IgogICAgIGhlaWdodD0iMS45OTk5OTYxIgogICAgIGlkPSJyZWN0NDYzOCIgLz4KICA8cmVjdAogICAgIGlkPSJzdmdfMS03LTItMjQiCiAgICAgaGVpZ2h0PSIxLjk5OTk5NTciCiAgICAgd2lkdGg9IjEyLjk5OTk5IgogICAgIHk9Ii01NiIKICAgICB4PSI1MyIKICAgICBzdHlsZT0iZmlsbDojNGM0YzRjO2ZpbGwtb3BhY2l0eTowLjk4NDMxMzczO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIgogICAgIHRyYW5zZm9ybT0ibWF0cml4KDAsMSwtMSwwLDAsMCkiIC8+CiAgPHJlY3QKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLDEsLTEsMCwwLDApIgogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjAuOTg0MzEzNzM7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiCiAgICAgeD0iNTMiCiAgICAgeT0iLTY2IgogICAgIHdpZHRoPSIxMi45OTk5OSIKICAgICBoZWlnaHQ9IjEuOTk5OTk1NyIKICAgICBpZD0icmVjdDQ2NTciIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQ2NTkiCiAgICAgaGVpZ2h0PSIwLjk5OTk5MjkxIgogICAgIHdpZHRoPSIxMS45OTk5OTkiCiAgICAgeT0iNTciCiAgICAgeD0iNTQiCiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MC45ODQzMTM3MztzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8cmVjdAogICAgIHN0eWxlPSJmaWxsOiNkM2QzZDM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjA7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICB4PSI1NCIKICAgICB5PSI4OC4wMDAxMjIiCiAgICAgd2lkdGg9IjExLjk5OTk5NiIKICAgICBoZWlnaHQ9IjEuOTk5OTk2MSIKICAgICBpZD0icmVjdDQ2NjEiIC8+CiAgPHJlY3QKICAgICBzdHlsZT0iZmlsbDojZDNkM2QzO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgeD0iODAuMDAwMDA4IgogICAgIHk9Ijc2LjAwMDEyMiIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIGlkPSJyZWN0NDY2MyIgLz4KICA8cmVjdAogICAgIGlkPSJyZWN0NDY2NSIKICAgICBoZWlnaHQ9IjIuOTk5OTkwNSIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIHk9Ijc2LjAwMDEyMiIKICAgICB4PSI4NS4wMDAwMDgiCiAgICAgc3R5bGU9ImZpbGw6I2QzZDNkMztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MDtzdHJva2Utb3BhY2l0eToxIiAvPgogIDxyZWN0CiAgICAgaWQ9InJlY3Q0NjY3IgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIHdpZHRoPSIyLjk5OTk5MDciCiAgICAgeT0iODIuMDAwMTIyIgogICAgIHg9IjgwLjAwMDAwOCIKICAgICBzdHlsZT0iZmlsbDojZDNkM2QzO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgPHJlY3QKICAgICBzdHlsZT0iZmlsbDojZDNkM2QzO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgeD0iODUuMDAwMDA4IgogICAgIHk9IjgyLjAwMDEyMiIKICAgICB3aWR0aD0iMi45OTk5OTA3IgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIGlkPSJyZWN0NDY2OSIgLz4KICA8cmVjdAogICAgIHN0eWxlPSJmaWxsOiNkM2QzZDM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjA7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICB4PSI4MC4wMDAwMDgiCiAgICAgeT0iODguMDAwMTIyIgogICAgIHdpZHRoPSIyLjk5OTk5MDciCiAgICAgaGVpZ2h0PSIyLjk5OTk5MDUiCiAgICAgaWQ9InJlY3Q0NjcxIiAvPgogIDxyZWN0CiAgICAgaWQ9InJlY3Q0NjczIgogICAgIGhlaWdodD0iMi45OTk5OTA1IgogICAgIHdpZHRoPSIyLjk5OTk5MDciCiAgICAgeT0iODguMDAwMTIyIgogICAgIHg9Ijg1LjAwMDAwOCIKICAgICBzdHlsZT0iZmlsbDojZDNkM2QzO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgPGNpcmNsZQogICAgIHI9IjQuNzQzODgzNiIKICAgICBjeT0iODEuOTM5MzMxIgogICAgIGN4PSIxMTAuMDYwODEiCiAgICAgaWQ9ImNpcmNsZTQ2NzUiCiAgICAgc3R5bGU9Im9wYWNpdHk6MTtmaWxsOm5vbmU7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiNkM2QzZDM7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgPHJlY3QKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjcwNzEwNjc4LDAuNzA3MTA2NzgsLTAuNzA3MTA2NzgsMC43MDcxMDY3OCwwLDApIgogICAgIGlkPSJyZWN0NDY3NyIKICAgICBoZWlnaHQ9IjYuNDA1Mzg4NCIKICAgICB3aWR0aD0iNC4yMjk3MTMiCiAgICAgeT0iLTE0LjgyNjgxNiIKICAgICB4PSIxMzMuNjE2MyIKICAgICBzdHlsZT0iZmlsbDojZDNkM2QzO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTojZDNkM2QzO3N0cm9rZS13aWR0aDowO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgPHBhdGgKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2MiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBpZD0icGF0aDQ2NzkiCiAgICAgZD0ibSAxMjUsODAuMDAwMDA1IDEzLjc3MDI3LDAuMDk0OTkgTCAxMzIsODcuOTk5OTkyIFoiCiAgICAgc3R5bGU9ImZpbGw6I2QzZDNkMztmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6I2QzZDNkMztzdHJva2Utd2lkdGg6MDtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDxwYXRoCiAgICAgc3R5bGU9ImZpbGw6I2QzZDNkMztmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6I2QzZDNkMztzdHJva2Utd2lkdGg6MDtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGQ9Ik0gMTQ5LDg4LjAwMDIgMTYyLjc3MDI3LDg3LjkwNTIgMTU2LDgwLjAwMDIgWiIKICAgICBpZD0icGF0aDQ2ODEiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2MiIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQ2ODMiCiAgICAgaGVpZ2h0PSIxLjk5OTk5NjEiCiAgICAgd2lkdGg9IjExLjk5OTk5NiIKICAgICB5PSI3Ny4wMDAxMjIiCiAgICAgeD0iNTQiCiAgICAgc3R5bGU9ImZpbGw6I2QzZDNkMztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MDtzdHJva2Utb3BhY2l0eToxIiAvPgogIDxyZWN0CiAgICAgdHJhbnNmb3JtPSJtYXRyaXgoMCwxLC0xLDAsMCwwKSIKICAgICBzdHlsZT0iZmlsbDojZDNkM2QzO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgeD0iNzcuMDAwMTIyIgogICAgIHk9Ii01NiIKICAgICB3aWR0aD0iMTIuOTk5OTkiCiAgICAgaGVpZ2h0PSIxLjk5OTk5NTciCiAgICAgaWQ9InJlY3Q0Njg1IiAvPgogIDxyZWN0CiAgICAgaWQ9InJlY3Q0Njg3IgogICAgIGhlaWdodD0iMS45OTk5OTU3IgogICAgIHdpZHRoPSIxMi45OTk5OSIKICAgICB5PSItNjYiCiAgICAgeD0iNzcuMDAwMTIyIgogICAgIHN0eWxlPSJmaWxsOiNkM2QzZDM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjA7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLDEsLTEsMCwwLDApIiAvPgogIDxyZWN0CiAgICAgc3R5bGU9ImZpbGw6I2QzZDNkMztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MDtzdHJva2Utb3BhY2l0eToxIgogICAgIHg9IjU0IgogICAgIHk9IjgxLjAwMDEyMiIKICAgICB3aWR0aD0iMTEuOTk5OTk5IgogICAgIGhlaWdodD0iMC45OTk5OTI5MSIKICAgICBpZD0icmVjdDQ2ODkiIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQ3NjEtMSIKICAgICBoZWlnaHQ9IjEuOTk5OTk0NSIKICAgICB3aWR0aD0iMTUuOTk5OTkiCiAgICAgeT0iMTAxIgogICAgIHg9Ijc2LjAwMDAwOCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eTowLjg7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQ3NjEtMCIKICAgICBoZWlnaHQ9IjEuOTk5OTk0NSIKICAgICB3aWR0aD0iMTUuOTk5OTkiCiAgICAgeT0iMTA1IgogICAgIHg9Ijc2LjAwMDAwOCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eTowLjg7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQ3NjEtNyIKICAgICBoZWlnaHQ9IjEuOTk5OTk0NSIKICAgICB3aWR0aD0iOSIKICAgICB5PSIxMDkiCiAgICAgeD0iNzYuMDAwMDA4IgogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjAuODtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8cmVjdAogICAgIGlkPSJyZWN0NDc2MS0xLTEiCiAgICAgaGVpZ2h0PSIxLjk5OTk5NDUiCiAgICAgd2lkdGg9IjEyIgogICAgIHk9IjEyNSIKICAgICB4PSI3Ni4wMDAwMDgiCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MC44O3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIiAvPgogIDxyZWN0CiAgICAgaWQ9InJlY3Q0NzYxLTEtMS00IgogICAgIGhlaWdodD0iMS45OTk5OTQ1IgogICAgIHdpZHRoPSIxMCIKICAgICB5PSIxMzciCiAgICAgeD0iNzYuMDAwMDA4IgogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjAuODtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIgLz4KICA8cmVjdAogICAgIGlkPSJyZWN0NDc2MS0xLTEtNC00IgogICAgIGhlaWdodD0iMS45OTk5OTQ1IgogICAgIHdpZHRoPSIxMCIKICAgICB5PSIxMjkiCiAgICAgeD0iODIiCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MC44O3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIiAvPgogIDxyZWN0CiAgICAgaWQ9InJlY3Q0NzYxLTEtMS00LTQtMyIKICAgICBoZWlnaHQ9IjEuOTk5OTk0NSIKICAgICB3aWR0aD0iOSIKICAgICB5PSIxMzMiCiAgICAgeD0iODIiCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MC44O3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowIiAvPgogIDxwYXRoCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzdHlsZT0iY29sb3I6IzAwMDAwMDtmb250LXN0eWxlOm5vcm1hbDtmb250LXZhcmlhbnQ6bm9ybWFsO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmb250LXN0cmV0Y2g6bm9ybWFsO2ZvbnQtc2l6ZTptZWRpdW07bGluZS1oZWlnaHQ6bm9ybWFsO2ZvbnQtZmFtaWx5OnNhbnMtc2VyaWY7dGV4dC1pbmRlbnQ6MDt0ZXh0LWFsaWduOnN0YXJ0O3RleHQtZGVjb3JhdGlvbjpub25lO3RleHQtZGVjb3JhdGlvbi1saW5lOm5vbmU7dGV4dC1kZWNvcmF0aW9uLXN0eWxlOnNvbGlkO3RleHQtZGVjb3JhdGlvbi1jb2xvcjojMDAwMDAwO2xldHRlci1zcGFjaW5nOm5vcm1hbDt3b3JkLXNwYWNpbmc6bm9ybWFsO3RleHQtdHJhbnNmb3JtOm5vbmU7ZGlyZWN0aW9uOmx0cjtibG9jay1wcm9ncmVzc2lvbjp0Yjt3cml0aW5nLW1vZGU6bHItdGI7YmFzZWxpbmUtc2hpZnQ6YmFzZWxpbmU7dGV4dC1hbmNob3I6c3RhcnQ7d2hpdGUtc3BhY2U6bm9ybWFsO2NsaXAtcnVsZTpub256ZXJvO2Rpc3BsYXk6aW5saW5lO292ZXJmbG93OnZpc2libGU7dmlzaWJpbGl0eTp2aXNpYmxlO29wYWNpdHk6MC44O2lzb2xhdGlvbjphdXRvO21peC1ibGVuZC1tb2RlOm5vcm1hbDtjb2xvci1pbnRlcnBvbGF0aW9uOnNSR0I7Y29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzOmxpbmVhclJHQjtzb2xpZC1jb2xvcjojMDAwMDAwO3NvbGlkLW9wYWNpdHk6MTtmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjIuNjYxNTc4NjY7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLWRhc2hvZmZzZXQ6MDtzdHJva2Utb3BhY2l0eToxO2NvbG9yLXJlbmRlcmluZzphdXRvO2ltYWdlLXJlbmRlcmluZzphdXRvO3NoYXBlLXJlbmRlcmluZzphdXRvO3RleHQtcmVuZGVyaW5nOmF1dG87ZW5hYmxlLWJhY2tncm91bmQ6YWNjdW11bGF0ZSIKICAgICBkPSJtIDM2LjM5ODQzOCwxMDAuMDI1NCBjIC0wLjQyMzM2MiwtMC4wMTMgLTAuODQ2ODQ3LDAuMDEgLTEuMjY1NjI2LDAuMDYyIC0xLjY1NjU2MiwwLjIxOTYgLTMuMjQ0NTY3LDAuOTczOSAtNC41MDc4MTIsMi4yMjY2IEwgMjksMTAwLjU5OTEgbCAtMi4zMjQyMTksNy43MTI5IDcuODI2MTcyLC0xLjkwNjIgLTEuODA0Njg3LC0xLjkwNjMgYyAxLjU5NzcwMiwtMS41MzA4IDQuMDQ4NzA2LC0xLjg0NTMgNS45ODQzNzUsLTAuNzIwNyAxLjk3MTE2MiwxLjE0NTIgMi44ODE5NTQsMy4zOTc1IDIuMzA4NTkzLDUuNTUwOCAtMC41NzMzNjEsMi4xNTMzIC0yLjUzMzg2NSwzLjY5NTMgLTQuODMwMDc4LDMuNjk1MyBsIDAsMy4wNzQyIGMgMy41NTA3NTYsMCA2LjcxMDQ0MiwtMi40MTEzIDcuNjUwMzkxLC01Ljk0MTQgMC45Mzk5NDksLTMuNTMwMSAtMC42MTg0NjMsLTcuMjczNiAtMy43MTA5MzgsLTkuMDcwMyAtMS4xNTk2NzgsLTAuNjczOCAtMi40MzEwODcsLTEuMDIzMSAtMy43MDExNzEsLTEuMDYyNSB6IgogICAgIGlkPSJwYXRoNDEzOCIgLz4KICA8cGF0aAogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgc3R5bGU9ImNvbG9yOiMwMDAwMDA7Zm9udC1zdHlsZTpub3JtYWw7Zm9udC12YXJpYW50Om5vcm1hbDtmb250LXdlaWdodDpub3JtYWw7Zm9udC1zdHJldGNoOm5vcm1hbDtmb250LXNpemU6bWVkaXVtO2xpbmUtaGVpZ2h0Om5vcm1hbDtmb250LWZhbWlseTpzYW5zLXNlcmlmO3RleHQtaW5kZW50OjA7dGV4dC1hbGlnbjpzdGFydDt0ZXh0LWRlY29yYXRpb246bm9uZTt0ZXh0LWRlY29yYXRpb24tbGluZTpub25lO3RleHQtZGVjb3JhdGlvbi1zdHlsZTpzb2xpZDt0ZXh0LWRlY29yYXRpb24tY29sb3I6IzAwMDAwMDtsZXR0ZXItc3BhY2luZzpub3JtYWw7d29yZC1zcGFjaW5nOm5vcm1hbDt0ZXh0LXRyYW5zZm9ybTpub25lO2RpcmVjdGlvbjpsdHI7YmxvY2stcHJvZ3Jlc3Npb246dGI7d3JpdGluZy1tb2RlOmxyLXRiO2Jhc2VsaW5lLXNoaWZ0OmJhc2VsaW5lO3RleHQtYW5jaG9yOnN0YXJ0O3doaXRlLXNwYWNlOm5vcm1hbDtjbGlwLXJ1bGU6bm9uemVybztkaXNwbGF5OmlubGluZTtvdmVyZmxvdzp2aXNpYmxlO3Zpc2liaWxpdHk6dmlzaWJsZTtvcGFjaXR5OjAuODtpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7Y29sb3ItaW50ZXJwb2xhdGlvbjpzUkdCO2NvbG9yLWludGVycG9sYXRpb24tZmlsdGVyczpsaW5lYXJSR0I7c29saWQtY29sb3I6IzAwMDAwMDtzb2xpZC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoyLjY2MTU3ODY2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1kYXNob2Zmc2V0OjA7c3Ryb2tlLW9wYWNpdHk6MTtjb2xvci1yZW5kZXJpbmc6YXV0bztpbWFnZS1yZW5kZXJpbmc6YXV0bztzaGFwZS1yZW5kZXJpbmc6YXV0bzt0ZXh0LXJlbmRlcmluZzphdXRvO2VuYWJsZS1iYWNrZ3JvdW5kOmFjY3VtdWxhdGUiCiAgICAgZD0ibSA1OS43MjI2NTYsOTkuOTYyOSBjIC0xLjI3MDA4NCwwLjAzOSAtMi41NDE0OTMsMC4zODg3IC0zLjcwMTE3MiwxLjA2MjUgLTMuMDkyNDc1LDEuNzk2NyAtNC42NTA4ODYsNS41NDAyIC0zLjcxMDkzNyw5LjA3MDMgMC45Mzk5NDksMy41MzAxIDQuMDk3NjgsNS45NDE0IDcuNjQ4NDM3LDUuOTQxNCBsIDAsLTMuMDc0MiBjIC0yLjI5NjIxNCwwIC00LjI1NjcxNywtMS41NDIgLTQuODMwMDc4LC0zLjY5NTMgLTAuNTczMzYxLC0yLjE1MzMgMC4zMzc0MzIsLTQuNDA1NiAyLjMwODU5NCwtNS41NTA4IDEuOTM1NzMxLC0xLjEyNDYgNC4zODg2MywtMC44MTAyIDUuOTg2MzI2LDAuNzIwNyBsIC0xLjgwNjYzOCwxLjkwNjMgNy44MjgxMjgsMS45MDYyIC0yLjMyNDIyLC03LjcxMjkgLTEuNjI2OTYsMS43MTY4IGMgLTEuMjYzMzgsLTEuMjUzMSAtMi44NDg5MTcsLTIuMDA4OCAtNC41MDU4NTUsLTIuMjI4NSAtMC40MTg3NzgsLTAuMDU1IC0wLjg0MjI2MywtMC4wNzYgLTEuMjY1NjI1LC0wLjA2MiB6IgogICAgIGlkPSJwYXRoNDEzOC0xIiAvPgogIDxwYXRoCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzdHlsZT0ib3BhY2l0eTowLjg7ZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjk2NTk5OTk2O3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIGQ9Im0gMTAuNSwxMDAgMCwyIC0yLjQ5OTk5OTYsMCBMIDEyLDEwNyBsIDQsLTUgLTIuNSwwIDAsLTIgLTMsMCB6IgogICAgIGlkPSJwYXRoMzA1NS0wLTc3IiAvPgogIDxwYXRoCiAgICAgc3R5bGU9Im9wYWNpdHk6MC44O2ZpbGw6bm9uZTtzdHJva2U6I2ZmZmZmZjtzdHJva2Utd2lkdGg6MS45NjU5OTk5NjtzdHJva2UtbGluZWNhcDpzcXVhcmU7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgZD0ibSA0Ljk4NTA1NzQsMTA4LjAxNSAxNC4wMjk4ODU2LC0wLjAzIgogICAgIGlkPSJwYXRoNTI0NC01LTAtNSIKICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0iY2MiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0ib3BhY2l0eTowLjg7ZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoxLjk2NTk5OTk2O3N0cm9rZS1saW5lY2FwOnNxdWFyZTtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICBkPSJtIDQuOTg0OTg3NCwxMzIuMDE1IDE0LjAyOTg4NjYsLTAuMDMiCiAgICAgaWQ9InBhdGg1MjQ0LTUtMC01LTgiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjIiAvPgogIDxwYXRoCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzdHlsZT0iY29sb3I6IzAwMDAwMDtmb250LXN0eWxlOm5vcm1hbDtmb250LXZhcmlhbnQ6bm9ybWFsO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmb250LXN0cmV0Y2g6bm9ybWFsO2ZvbnQtc2l6ZTptZWRpdW07bGluZS1oZWlnaHQ6bm9ybWFsO2ZvbnQtZmFtaWx5OnNhbnMtc2VyaWY7dGV4dC1pbmRlbnQ6MDt0ZXh0LWFsaWduOnN0YXJ0O3RleHQtZGVjb3JhdGlvbjpub25lO3RleHQtZGVjb3JhdGlvbi1saW5lOm5vbmU7dGV4dC1kZWNvcmF0aW9uLXN0eWxlOnNvbGlkO3RleHQtZGVjb3JhdGlvbi1jb2xvcjojMDAwMDAwO2xldHRlci1zcGFjaW5nOm5vcm1hbDt3b3JkLXNwYWNpbmc6bm9ybWFsO3RleHQtdHJhbnNmb3JtOm5vbmU7ZGlyZWN0aW9uOmx0cjtibG9jay1wcm9ncmVzc2lvbjp0Yjt3cml0aW5nLW1vZGU6bHItdGI7YmFzZWxpbmUtc2hpZnQ6YmFzZWxpbmU7dGV4dC1hbmNob3I6c3RhcnQ7d2hpdGUtc3BhY2U6bm9ybWFsO2NsaXAtcnVsZTpub256ZXJvO2Rpc3BsYXk6aW5saW5lO292ZXJmbG93OnZpc2libGU7dmlzaWJpbGl0eTp2aXNpYmxlO29wYWNpdHk6MC40O2lzb2xhdGlvbjphdXRvO21peC1ibGVuZC1tb2RlOm5vcm1hbDtjb2xvci1pbnRlcnBvbGF0aW9uOnNSR0I7Y29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzOmxpbmVhclJHQjtzb2xpZC1jb2xvcjojMDAwMDAwO3NvbGlkLW9wYWNpdHk6MTtmaWxsOiM0ZDRkNGQ7ZmlsbC1vcGFjaXR5OjE7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjIuNjYxNTc4NjY7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLWRhc2hvZmZzZXQ6MDtzdHJva2Utb3BhY2l0eToxO2NvbG9yLXJlbmRlcmluZzphdXRvO2ltYWdlLXJlbmRlcmluZzphdXRvO3NoYXBlLXJlbmRlcmluZzphdXRvO3RleHQtcmVuZGVyaW5nOmF1dG87ZW5hYmxlLWJhY2tncm91bmQ6YWNjdW11bGF0ZSIKICAgICBkPSJtIDM2LjM5ODQzOCwxMjMuOTYyOSBjIC0wLjQyMzM2MiwtMC4wMTMgLTAuODQ2ODQ3LDAuMDEgLTEuMjY1NjI2LDAuMDYyIC0xLjY1NjU2MiwwLjIxOTYgLTMuMjQ0NTY3LDAuOTczOSAtNC41MDc4MTIsMi4yMjY2IEwgMjksMTI0LjUzNjYgbCAtMi4zMjQyMTksNy43MTI5IDcuODI2MTcyLC0xLjkwNjIgLTEuODA0Njg3LC0xLjkwNjMgYyAxLjU5NzcwMiwtMS41MzA4IDQuMDQ4NzA2LC0xLjg0NTMgNS45ODQzNzUsLTAuNzIwNyAxLjk3MTE2MiwxLjE0NTMgMi44ODE5NTQsMy4zOTc1IDIuMzA4NTkzLDUuNTUwOCAtMC41NzMzNjEsMi4xNTMzIC0yLjUzMzg2NCwzLjY5NTMgLTQuODMwMDc4LDMuNjk1MyBsIDAsMy4wNzQyIGMgMy41NTA3NTcsMCA2LjcxMDQ0MiwtMi40MDkzIDcuNjUwMzkxLC01LjkzOTQgMC45Mzk5NDksLTMuNTMwMSAtMC42MTg0NjMsLTcuMjc1NiAtMy43MTA5MzgsLTkuMDcyMyAtMS4xNTk2NzgsLTAuNjczNyAtMi40MzEwODcsLTEuMDIzMSAtMy43MDExNzEsLTEuMDYyNSB6IgogICAgIGlkPSJwYXRoNDEzOC0xMiIgLz4KICA8cGF0aAogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgc3R5bGU9ImNvbG9yOiMwMDAwMDA7Zm9udC1zdHlsZTpub3JtYWw7Zm9udC12YXJpYW50Om5vcm1hbDtmb250LXdlaWdodDpub3JtYWw7Zm9udC1zdHJldGNoOm5vcm1hbDtmb250LXNpemU6bWVkaXVtO2xpbmUtaGVpZ2h0Om5vcm1hbDtmb250LWZhbWlseTpzYW5zLXNlcmlmO3RleHQtaW5kZW50OjA7dGV4dC1hbGlnbjpzdGFydDt0ZXh0LWRlY29yYXRpb246bm9uZTt0ZXh0LWRlY29yYXRpb24tbGluZTpub25lO3RleHQtZGVjb3JhdGlvbi1zdHlsZTpzb2xpZDt0ZXh0LWRlY29yYXRpb24tY29sb3I6IzAwMDAwMDtsZXR0ZXItc3BhY2luZzpub3JtYWw7d29yZC1zcGFjaW5nOm5vcm1hbDt0ZXh0LXRyYW5zZm9ybTpub25lO2RpcmVjdGlvbjpsdHI7YmxvY2stcHJvZ3Jlc3Npb246dGI7d3JpdGluZy1tb2RlOmxyLXRiO2Jhc2VsaW5lLXNoaWZ0OmJhc2VsaW5lO3RleHQtYW5jaG9yOnN0YXJ0O3doaXRlLXNwYWNlOm5vcm1hbDtjbGlwLXJ1bGU6bm9uemVybztkaXNwbGF5OmlubGluZTtvdmVyZmxvdzp2aXNpYmxlO3Zpc2liaWxpdHk6dmlzaWJsZTtvcGFjaXR5OjAuNDtpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7Y29sb3ItaW50ZXJwb2xhdGlvbjpzUkdCO2NvbG9yLWludGVycG9sYXRpb24tZmlsdGVyczpsaW5lYXJSR0I7c29saWQtY29sb3I6IzAwMDAwMDtzb2xpZC1vcGFjaXR5OjE7ZmlsbDojNGQ0ZDRkO2ZpbGwtb3BhY2l0eToxO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoyLjY2MTU3ODY2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1kYXNob2Zmc2V0OjA7c3Ryb2tlLW9wYWNpdHk6MTtjb2xvci1yZW5kZXJpbmc6YXV0bztpbWFnZS1yZW5kZXJpbmc6YXV0bztzaGFwZS1yZW5kZXJpbmc6YXV0bzt0ZXh0LXJlbmRlcmluZzphdXRvO2VuYWJsZS1iYWNrZ3JvdW5kOmFjY3VtdWxhdGUiCiAgICAgZD0ibSA1OS43MjI2NTYsMTIzLjk2MjkgYyAtMS4yNzAwODQsMC4wMzkgLTIuNTQxNDkzLDAuMzg4OCAtMy43MDExNzIsMS4wNjI1IC0zLjA5MjQ3NSwxLjc5NjcgLTQuNjUwODg2LDUuNTQyMiAtMy43MTA5MzcsOS4wNzIzIDAuOTM5OTQ5LDMuNTMwMSA0LjA5NzY4LDUuOTM5NCA3LjY0ODQzNyw1LjkzOTQgbCAwLC0zLjA3NDIgYyAtMi4yOTYyMTQsMCAtNC4yNTY3MTcsLTEuNTQyIC00LjgzMDA3OCwtMy42OTUzIC0wLjU3MzM2MSwtMi4xNTMzIDAuMzM3NDMyLC00LjQwNTUgMi4zMDg1OTQsLTUuNTUwOCAxLjkzNTczMSwtMS4xMjQ2IDQuMzg4NjMsLTAuODEwMiA1Ljk4NjMyNiwwLjcyMDcgbCAtMS44MDY2MzgsMS45MDYzIDcuODI4MTI4LDEuOTA2MiAtMi4zMjQyMiwtNy43MTI5IC0xLjYyNjk2LDEuNzE2OCBjIC0xLjI2MzM4LC0xLjI1MzEgLTIuODQ4OTE3LC0yLjAwODggLTQuNTA1ODU1LC0yLjIyODUgLTAuNDE4Nzc4LC0wLjA1NSAtMC44NDIyNjMsLTAuMDc2IC0xLjI2NTYyNSwtMC4wNjIgeiIKICAgICBpZD0icGF0aDQxMzgtMS0zIiAvPgogIDxwYXRoCiAgICAgaWQ9InBhdGg2MTkxIgogICAgIGQ9Im0gMTAuNSwxMTYgMCwtMiAtMi40OTk5OTk2LDAgTCAxMiwxMDkgbCA0LDUgLTIuNSwwIDAsMiAtMywwIHoiCiAgICAgc3R5bGU9Im9wYWNpdHk6MC44O2ZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS45NjU5OTk5NjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAvPgogIDxwYXRoCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzdHlsZT0ib3BhY2l0eTowLjg7ZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjk2NTk5OTk2O3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIGQ9Im0gMTAuNSwxMjkgMCwtMiAtMi40OTk5OTk2LDAgTCAxMiwxMjIgbCA0LDUgLTIuNSwwIDAsMiAtMywwIHoiCiAgICAgaWQ9InBhdGg2MTkzIiAvPgogIDxwYXRoCiAgICAgaWQ9InBhdGg2MTk1IgogICAgIGQ9Im0gMTAuNSwxMzUgMCwyIC0yLjQ5OTk5OTYsMCBMIDEyLDE0MiBsIDQsLTUgLTIuNSwwIDAsLTIgLTMsMCB6IgogICAgIHN0eWxlPSJvcGFjaXR5OjAuODtmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuOTY1OTk5OTY7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmUiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KICA8cGF0aAogICAgIHNvZGlwb2RpOnR5cGU9InN0YXIiCiAgICAgc3R5bGU9ImZpbGw6IzRkNGQ0ZDtmaWxsLW9wYWNpdHk6MC45MDE5NjA3ODtzdHJva2U6I2QzZDNkMztzdHJva2Utd2lkdGg6MDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmUiCiAgICAgaWQ9InBhdGg0NTAwIgogICAgIHNvZGlwb2RpOnNpZGVzPSIzIgogICAgIHNvZGlwb2RpOmN4PSIxMS41NTU4MSIKICAgICBzb2RpcG9kaTpjeT0iNjAuMDczMjQyIgogICAgIHNvZGlwb2RpOnIxPSI1LjExMTYxMDQiCiAgICAgc29kaXBvZGk6cjI9IjIuNTU1ODA1MiIKICAgICBzb2RpcG9kaTphcmcxPSIwIgogICAgIHNvZGlwb2RpOmFyZzI9IjEuMDQ3MTk3NiIKICAgICBpbmtzY2FwZTpmbGF0c2lkZWQ9ImZhbHNlIgogICAgIGlua3NjYXBlOnJvdW5kZWQ9IjAiCiAgICAgaW5rc2NhcGU6cmFuZG9taXplZD0iMCIKICAgICBkPSJtIDE2LjY2NzQyLDYwLjA3MzI0MiAtMy44MzM3MDgsMi4yMTMzOTIgLTMuODMzNzA3MiwyLjIxMzM5MyAwLC00LjQyNjc4NSAwLC00LjQyNjc4NCAzLjgzMzcwODIsMi4yMTMzOTIgeiIKICAgICBpbmtzY2FwZTp0cmFuc2Zvcm0tY2VudGVyLXg9Ii0xLjI3NzkwMjYiIC8+CiAgPHBhdGgKICAgICBpbmtzY2FwZTp0cmFuc2Zvcm0tY2VudGVyLXg9IjEuMjc3OTAyIgogICAgIGQ9Im0gLTMxLjUwMDAwNCw2MC4wNzMyNDIgLTMuODMzNzA4LDIuMjEzMzkyIC0zLjgzMzcwNywyLjIxMzM5MyAwLC00LjQyNjc4NSAwLC00LjQyNjc4NCAzLjgzMzcwNywyLjIxMzM5MiB6IgogICAgIGlua3NjYXBlOnJhbmRvbWl6ZWQ9IjAiCiAgICAgaW5rc2NhcGU6cm91bmRlZD0iMCIKICAgICBpbmtzY2FwZTpmbGF0c2lkZWQ9ImZhbHNlIgogICAgIHNvZGlwb2RpOmFyZzI9IjEuMDQ3MTk3NiIKICAgICBzb2RpcG9kaTphcmcxPSIwIgogICAgIHNvZGlwb2RpOnIyPSIyLjU1NTgwNTIiCiAgICAgc29kaXBvZGk6cjE9IjUuMTExNjEwNCIKICAgICBzb2RpcG9kaTpjeT0iNjAuMDczMjQyIgogICAgIHNvZGlwb2RpOmN4PSItMzYuNjExNjE0IgogICAgIHNvZGlwb2RpOnNpZGVzPSIzIgogICAgIGlkPSJwYXRoNDUwMiIKICAgICBzdHlsZT0iZmlsbDojNGQ0ZDRkO2ZpbGwtb3BhY2l0eTowLjkwMTk2MDc4O3N0cm9rZTojZDNkM2QzO3N0cm9rZS13aWR0aDowO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTp0eXBlPSJzdGFyIgogICAgIHRyYW5zZm9ybT0ic2NhbGUoLTEsMSkiIC8+CiAgPHBhdGgKICAgICBkPSJtIDE2LjY2NzQyLDYwLjA3MzIxMiAtMy44MzM3MDgsMi4yMTMzOTIgLTMuODMzNzA3MiwyLjIxMzM5MiAwLC00LjQyNjc4NCAwLC00LjQyNjc4NSAzLjgzMzcwODIsMi4yMTMzOTIgeiIKICAgICBpbmtzY2FwZTpyYW5kb21pemVkPSIwIgogICAgIGlua3NjYXBlOnJvdW5kZWQ9IjAiCiAgICAgaW5rc2NhcGU6ZmxhdHNpZGVkPSJmYWxzZSIKICAgICBzb2RpcG9kaTphcmcyPSIxLjA0NzE5NzYiCiAgICAgc29kaXBvZGk6YXJnMT0iMCIKICAgICBzb2RpcG9kaTpyMj0iMi41NTU4MDUyIgogICAgIHNvZGlwb2RpOnIxPSI1LjExMTYxMDQiCiAgICAgc29kaXBvZGk6Y3k9IjYwLjA3MzIxMiIKICAgICBzb2RpcG9kaTpjeD0iMTEuNTU1ODEiCiAgICAgc29kaXBvZGk6c2lkZXM9IjMiCiAgICAgaWQ9InBhdGg0NTA0IgogICAgIHN0eWxlPSJmaWxsOiM0ZDRkNGQ7ZmlsbC1vcGFjaXR5OjAuOTAxOTYwNzg7c3Ryb2tlOiNkM2QzZDM7c3Ryb2tlLXdpZHRoOjA7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOnR5cGU9InN0YXIiCiAgICAgdHJhbnNmb3JtPSJtYXRyaXgoMCwxLC0xLDAsNzIuMDA3NCw3MS43ODc3KSIKICAgICBpbmtzY2FwZTp0cmFuc2Zvcm0tY2VudGVyLXk9IjEuMjc3OTAyOSIgLz4KICA8cGF0aAogICAgIGlua3NjYXBlOnRyYW5zZm9ybS1jZW50ZXIteT0iLTEuMjc3OTAyNiIKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLC0xLC0xLDAsOTYsOTYpIgogICAgIHNvZGlwb2RpOnR5cGU9InN0YXIiCiAgICAgc3R5bGU9ImZpbGw6IzRkNGQ0ZDtmaWxsLW9wYWNpdHk6MC45MDE5NjA3ODtzdHJva2U6I2QzZDNkMztzdHJva2Utd2lkdGg6MDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmUiCiAgICAgaWQ9InBhdGg0NTA2IgogICAgIHNvZGlwb2RpOnNpZGVzPSIzIgogICAgIHNvZGlwb2RpOmN4PSIxMS41NTU4MSIKICAgICBzb2RpcG9kaTpjeT0iNjAuMDczMjEyIgogICAgIHNvZGlwb2RpOnIxPSI1LjExMTYxMDQiCiAgICAgc29kaXBvZGk6cjI9IjIuNTU1ODA1MiIKICAgICBzb2RpcG9kaTphcmcxPSIwIgogICAgIHNvZGlwb2RpOmFyZzI9IjEuMDQ3MTk3NiIKICAgICBpbmtzY2FwZTpmbGF0c2lkZWQ9ImZhbHNlIgogICAgIGlua3NjYXBlOnJvdW5kZWQ9IjAiCiAgICAgaW5rc2NhcGU6cmFuZG9taXplZD0iMCIKICAgICBkPSJtIDE2LjY2NzQyLDYwLjA3MzIxMiAtMy44MzM3MDgsMi4yMTMzOTIgLTMuODMzNzA3MiwyLjIxMzM5MiAwLC00LjQyNjc4NCAwLC00LjQyNjc4NSAzLjgzMzcwODIsMi4yMTMzOTIgeiIgLz4KICA8cGF0aAogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0iY2NjYyIKICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIgogICAgIGlkPSJwYXRoNDYxNS01IgogICAgIGQ9Im0gMTcxLjgyNTc0LDY1LjE3NDE5MyAxNi4zNDg1NCwwIC04LjE3NDI3LC0xMy4zNDg0NTQgeiIKICAgICBzdHlsZT0iZmlsbDojZmJiOTE3O2ZpbGwtb3BhY2l0eToxO2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTojZmJiOTE3O3N0cm9rZS13aWR0aDoxLjY1MTYxMzk1O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0ib3BhY2l0eToxO2ZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MXB4O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgZD0ibSAxNzksNTUgMCw2IDIsMCAwLC02IgogICAgIGlkPSJwYXRoNDMwMCIKICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0iY2NjYyIgLz4KICA8cGF0aAogICAgIHN0eWxlPSJvcGFjaXR5OjE7ZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxcHg7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICBkPSJtIDE3OSw2MiAwLDIgMiwwIDAsLTIiCiAgICAgaWQ9InBhdGg0MzAwLTYiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2MiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eTowLjg7ZmlsbC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlOiNmZmZmZmY7c3Ryb2tlLXdpZHRoOjFweDtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utb3BhY2l0eTowLjgiCiAgICAgZD0iTSA5OS45OTQzNjksMTEzLjAyMjEgMTAyLDExNC45ODM1MyBsIDcsLTYuOTU1OCAzLDAuOTcyMjcgMiwtMSAxLC0yIDAsLTMgLTMsMyAtMywtMyAzLC0zIC0zLDAgLTIsMSAtMSwyIDAuOTk0MzcsMy4wMjIxIHoiCiAgICAgaWQ9InBhdGg0MjY4IgogICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgc29kaXBvZGk6bm9kZXR5cGVzPSJjY2NjY2NjY2NjY2NjY2MiIC8+CiAgPHJlY3QKICAgICBpZD0icmVjdDQxNzUtMy01IgogICAgIGhlaWdodD0iMTYiCiAgICAgd2lkdGg9IjE2IgogICAgIHk9IjQiCiAgICAgeD0iMjIwIgogICAgIHN0eWxlPSJmaWxsOiM0YzRjNGM7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAiIC8+CiAgPHBhdGgKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxcHg7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICBkPSJtIDIzNCw2IDAsMiAtNSw1IDAsNSAtMiwwIDAsLTUgLTUsLTUgMCwtMiIKICAgICBpZD0icGF0aDM1NDYiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2NjY2NjIiAvPgogIDxnCiAgICAgdHJhbnNmb3JtPSJtYXRyaXgoMS4zMzMzMzI4LDAsMCwtMS41OTk5OTkyLC0xMzkuOTk5OSwxMjcuMTk5OTkpIgogICAgIGlkPSJnNDM4My02Ij4KICAgIDxyZWN0CiAgICAgICBpZD0icmVjdDQzODUtMiIKICAgICAgIGhlaWdodD0iMS4yNDk5OTA1IgogICAgICAgd2lkdGg9IjUuOTk5OTkyNCIKICAgICAgIHk9IjEyLjYyNTAwNSIKICAgICAgIHg9IjE5OC4wMDAwMiIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjAuODtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MCIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eTowLjg7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjAiCiAgICAgICB4PSIxOTguMDAwMDIiCiAgICAgICB5PSIxNS4xMjUwMDciCiAgICAgICB3aWR0aD0iNy40OTk5OTI4IgogICAgICAgaGVpZ2h0PSIxLjI0OTk5NDkiCiAgICAgICBpZD0icmVjdDQzODctOSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eTowLjg7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjAiCiAgICAgICB4PSIxOTguMDAwMDIiCiAgICAgICB5PSI3LjYyNTAwMjQiCiAgICAgICB3aWR0aD0iMi45OTk5OTA5IgogICAgICAgaGVpZ2h0PSIxLjI0OTk5MDUiCiAgICAgICBpZD0icmVjdDQzODktMS0wIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjAuODtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MCIKICAgICAgIHg9IjE5OC4wMDAwMiIKICAgICAgIHk9IjEwLjEyNTAwNCIKICAgICAgIHdpZHRoPSI0LjQ5OTk5MTkiCiAgICAgICBoZWlnaHQ9IjEuMjQ5OTkwNSIKICAgICAgIGlkPSJyZWN0NDM4OS0xLTkiIC8+CiAgICA8cGF0aAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MC44O2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDowLjY4NDY1MzUycHg7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGQ9Im0gMjA3LjAwMDAxLDE2LjM3NTAwNCAwLC01LjYyNTAwNSAtMi4yNSwwIDMsLTMuMTI1MDAxNCAzLDMuMTI1MDAxNCAtMi4yNSwwIDAsNS42MjUwMDUgLTEuNSwwIgogICAgICAgaWQ9InBhdGg0NDAyIgogICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0iY2NjY2NjY2MiIC8+CiAgPC9nPgogIDxwYXRoCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MC44O2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxcHg7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICBkPSJtIDE2NCwxMDAgMCwzIC02LDYgMCw3IC00LDAgMCwtNyAtNiwtNiAwLC0zIgogICAgIGlkPSJwYXRoMzU0Ni0yLTIiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2NjY2NjIiAvPgogIDxyZWN0CiAgICAgc3R5bGU9ImZpbGw6IzRjNGM0YztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MCIKICAgICBpZD0ic3ZnXzEtMyIKICAgICBoZWlnaHQ9IjE2IgogICAgIHdpZHRoPSIxNiIKICAgICB5PSIyOCIKICAgICB4PSI0IiAvPgogIDxwYXRoCiAgICAgc29kaXBvZGk6bm9kZXR5cGVzPSJjY2NjY2NjY2MiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIKICAgICBpZD0icGF0aDQ0MDItNS03IgogICAgIGQ9Im0gMTUsNDEgMCwtNyAtNCwwIDAsMyAtNSwtNCA1LC00IDAsMyA2LDAgMCw5IgogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7ZmlsbC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjAuNjg0NjUzNTJweDtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2Utb3BhY2l0eToxIiAvPgo8L3N2Zz4K"},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([r]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(o(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(o(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:s}}}}function r(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function o(e){var t,n,i=document.querySelector("style["+v+'~="'+e.id+'"]');if(i){if(p)return m;i.parentNode.removeChild(i)}if(y){var o=f++;i=h||(h=r()),t=s.bind(null,i,o,!1),n=s.bind(null,i,o,!0)}else i=r(),t=a.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function s(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=b(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function a(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),g.ssrId&&e.setAttribute(v,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=n(10),u={},d=l&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,m=function(){},g=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,r){p=n,g=r||{};var o=c(e,t);return i(o),function(t){for(var n=[],r=0;r<o.length;r++){var s=o[r];(a=u[s.id]).refs--,n.push(a)}for(t?i(o=c(e,t)):o=[],r=0;r<n.length;r++){var a;if(0===(a=n[r]).refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete u[a.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";var i=n(12),r=n.n(i),o=n(13);n.n(o),t.a={name:"v-jsoneditor",data:function(){return{editor:null,style:{},max:!1,internalChange:!1}},props:{options:{type:Object,default:function(){return{mode:"code"}}},value:[Object,Array,Number,String,Boolean],height:{type:String},plus:{type:Boolean,default:!0}},methods:{onChange:function(){var e=this,t=null,n={};try{n=this.editor.get()}catch(e){t=e}t?this.$emit("error",t):this.editor&&(this.internalChange=!0,this.$emit("input",n),this.$nextTick(function(){e.internalChange=!1}))},initView:function(){if(!this.editor){var e=this.$refs.jsoneditor,t=Object.assign({onChange:this.onChange,navigationBar:!1,statusBar:!1},this.options);this.editor=new r.a(e,t)}this.editor.set(this.value||{})},destroyView:function(){this.editor&&(this.editor.destroy(),this.editor=null)}},watch:{value:function(e){this.editor&&e&&!this.internalChange&&this.editor.set(e)},max:function(e){var t=this;this.$nextTick(function(){t.initView()})}},mounted:function(){this.initView()},beforeDestroy:function(){this.destroyView()},computed:{getHeight:function(){return this.height&&!this.max?{height:this.height}:{}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.default=i.a,i.a.install=function(e){e.component(i.a.name,i.a)},"undefined"!=typeof window&&window.Vue&&window.Vue.component(i.a.name,i.a)},function(e,t,n){"use strict";var i=n(4),r=n(15),o=function(e){n(7)},s=n(11)(i.a,r.a,!1,o,"data-v-7be2d28e",null);t.a=s.exports},function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(3)("54b8d0c0",i,!0,{})},function(e,t,n){var i=n(1);(e.exports=n(2)(!1)).push([e.i,".jsoneditor-container.max-box[data-v-7be2d28e]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000}.jsoneditor-container.min-box[data-v-7be2d28e]{position:relative;min-width:300px;width:100%}.jsoneditor-box[data-v-7be2d28e]{height:100%}.jsoneditor-container:hover .max-btn[data-v-7be2d28e]{display:block}.max-btn[data-v-7be2d28e]{display:none;position:absolute;top:7px;right:110px;color:#fff;width:24px;height:24px;background:transparent url("+i(n(9))+") no-repeat;background-position:3px;border:1px solid transparent;border-radius:3px}.max-btn[data-v-7be2d28e]:hover{border:1px solid #d7e6fe}",""])},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNTIzNzY1NTcxODU1IiBjbGFzcz0iaWNvbiIgc3R5bGU9IiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE5MjciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTYzLjk4OTM4MyAxMDUuNDQyNDk0bDAgMjY4LjM5Njg0M2MwIDE4LjkzNTI1OCAxNS4zNjgwMTIgMzQuMzA0Mjk0IDM0LjMwNDI5NCAzNC4zMDQyOTQgMTguOTM2MjgxIDAgMzQuMzA0Mjk0LTE1LjM2OTAzNiAzNC4zMDQyOTQtMzQuMzA0Mjk0TDEzMi41OTc5NzEgMTgwLjE1NjEyNmwyMTguMTA3NDgzIDIxOC4xNzYwNDVjMTIuODI5MTkgMTIuODMwMjEzIDMzLjYxODY3OSAxMi44MzAyMTMgNDYuNTE1NDA3IDAgMTIuODMwMjEzLTEyLjg5Nzc1MSAxMi44MzAyMTMtMzMuNjg2MjE3IDAtNDYuNTE2NDNsLTIxOC4xNzYwNDUtMjE4LjEwNzQ4MyAxOTMuNjgzMjExIDBjMTguOTM1MjU4IDAgMzQuMzA0Mjk0LTE1LjM2OTAzNiAzNC4zMDQyOTQtMzQuMzA0Mjk0IDAtMTguOTM1MjU4LTE1LjM2OTAzNi0zNC4zMDQyOTQtMzQuMzA0Mjk0LTM0LjMwNDI5NEwxMDQuMzMxMTgzIDY1LjA5OTY3Qzc5LjI4ODgzNCA2NS4wOTk2NyA2My45ODkzODMgNzcuOTk5NDY4IDYzLjk4OTM4MyAxMDUuNDQyNDk0TDYzLjk4OTM4MyAxMDUuNDQyNDk0eiIgcC1pZD0iMTkyOCIgZmlsbD0iI2U2ZTZlNiI+PC9wYXRoPjxwYXRoIGQ9Ik05MTcuNjg4NzE5IDY1LjA5OTY3IDY0OS4yOTA4NTMgNjUuMDk5NjdjLTE4LjkzNTI1OCAwLTM0LjMwNDI5NCAxNS4zNjkwMzYtMzQuMzA0Mjk0IDM0LjMwNDI5NCAwIDE4LjkzNjI4MSAxNS4zNjkwMzYgMzQuMzA0Mjk0IDM0LjMwNDI5NCAzNC4zMDQyOTRsMTkzLjY4MzIxMSAwLTIxOC4xNzYwNDUgMjE4LjEwNzQ4M2MtMTIuODMwMjEzIDEyLjgyOTE5LTEyLjgzMDIxMyAzMy42MTg2NzkgMCA0Ni41MTY0MyAxMi44OTc3NTEgMTIuODMwMjEzIDMzLjY4NjIxNyAxMi44MzAyMTMgNDYuNTE1NDA3IDBMODg5LjQyMDkwOSAxODAuMTU2MTI2bDAgMTkzLjY4MzIxMWMwIDE4LjkzNTI1OCAxNS4zNjkwMzYgMzQuMzA0Mjk0IDM0LjMwNDI5NCAzNC4zMDQyOTQgMTguOTM2MjgxIDAgMzQuMzA0Mjk0LTE1LjM2OTAzNiAzNC4zMDQyOTQtMzQuMzA0Mjk0TDk1OC4wMjk0OTYgMTA1LjQ0MjQ5NEM5NTguMDI5NDk2IDc3Ljk5OTQ2OCA5NDIuNzk5NjMgNjUuMDk5NjcgOTE3LjY4ODcxOSA2NS4wOTk2N0w5MTcuNjg4NzE5IDY1LjA5OTY3eiIgcC1pZD0iMTkyOSIgZmlsbD0iI2U2ZTZlNiI+PC9wYXRoPjxwYXRoIGQ9Ik0xMDQuMzMxMTgzIDk1Ny4wMTMzNTNsMjY4LjM5Nzg2NiAwYzE4LjkzNTI1OCAwIDM0LjMwNDI5NC0xNS4zNjgwMTIgMzQuMzA0Mjk0LTM0LjMwNDI5NCAwLTE4LjkzNjI4MS0xNS4zNjkwMzYtMzQuMzA0Mjk0LTM0LjMwNDI5NC0zNC4zMDQyOTRMMTc5LjA0NTgzOSA4ODguNDA0NzY2bDIxOC4xNzYwNDUtMjE4LjEwNzQ4M2MxMi44MzAyMTMtMTIuODI5MTkgMTIuODMwMjEzLTMzLjYxODY3OSAwLTQ2LjUxNTQwNy0xMi44OTc3NTEtMTIuODMwMjEzLTMzLjY4NjIxNy0xMi44MzAyMTMtNDYuNTE1NDA3IDBsLTIxOC4xMDc0ODMgMjE4LjE3NjA0NUwxMzIuNTk4OTk0IDY0OC4yNzQ3MWMwLTE4LjkzNTI1OC0xNS4zNjgwMTItMzQuMzA0Mjk0LTM0LjMwNDI5NC0zNC4zMDQyOTQtMTguOTM2MjgxIDAtMzQuMzA0Mjk0IDE1LjM2OTAzNi0zNC4zMDQyOTQgMzQuMzA0Mjk0bDAgMjY4LjM5Nzg2NkM2My45ODkzODMgOTQ0LjExNTYwMiA3OS4yODg4MzQgOTU3LjAxMzM1MyAxMDQuMzMxMTgzIDk1Ny4wMTMzNTNMMTA0LjMzMTE4MyA5NTcuMDEzMzUzeiIgcC1pZD0iMTkzMCIgZmlsbD0iI2U2ZTZlNiI+PC9wYXRoPjxwYXRoIGQ9Ik05NTguMDI5NDk2IDkxNi42NzE1NTMgOTU4LjAyOTQ5NiA2NDguMjc0NzFjMC0xOC45MzUyNTgtMTUuMzY4MDEyLTM0LjMwNDI5NC0zNC4zMDQyOTQtMzQuMzA0Mjk0LTE4LjkzNTI1OCAwLTM0LjMwNDI5NCAxNS4zNjkwMzYtMzQuMzA0Mjk0IDM0LjMwNDI5NGwwIDE5My42ODMyMTFMNjcxLjMxMzQyNSA2MjMuNzgxODc2Yy0xMi44MjkxOS0xMi44MzAyMTMtMzMuNjE4Njc5LTEyLjgzMDIxMy00Ni41MTU0MDcgMC0xMi44MzAyMTMgMTIuODk3NzUxLTEyLjgzMDIxMyAzMy42ODYyMTcgMCA0Ni41MTU0MDdsMjE4LjE3NjA0NSAyMTguMTA3NDgzTDY0OS4yOTA4NTMgODg4LjQwNDc2NmMtMTguOTM1MjU4IDAtMzQuMzA0Mjk0IDE1LjM2ODAxMi0zNC4zMDQyOTQgMzQuMzA0Mjk0IDAgMTguOTM2MjgxIDE1LjM2OTAzNiAzNC4zMDQyOTQgMzQuMzA0Mjk0IDM0LjMwNDI5NGwyNjguMzk3ODY2IDBDOTQyLjc5OTYzIDk1Ny4wMTMzNTMgOTU4LjAyOTQ5NiA5NDQuMTE1NjAyIDk1OC4wMjk0OTYgOTE2LjY3MTU1M0w5NTguMDI5NDk2IDkxNi42NzE1NTN6IiBwLWlkPSIxOTMxIiBmaWxsPSIjZTZlNmU2Ij48L3BhdGg+PC9zdmc+"},function(e,t){e.exports=function(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],s=o[0],a={id:e+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}},function(e,t){e.exports=function(e,t,n,i,r,o){var s,a=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(s=e,a=e.default);var c,u="function"==typeof a?a.options:a;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),h(e,t)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:a,options:u}}},function(e,t,n){window,e.exports=function(){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return n={},e.m=t=[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){try{return JSON.parse(e)}catch(t){throw a(e),t}}function o(e){function t(){return e.charAt(s)}function n(){return e.charAt(s+1)}function i(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function r(n){var i="";i+='"',s++;for(var r=t();s<e.length&&r!==n;)'"'===r&&"\\"!==e.charAt(s-1)?i+='\\"':r in c?i+=c[r]:("\\"===r&&(s++,"'"!==(r=t())&&(i+="\\")),i+=r),s++,r=t();return r===n&&(i+='"',s++),i}var o=[],s=0,a=e.match(/^\s*(\/\*(.|[\r\n])*?\*\/)?\s*[\da-zA-Z_$]+\s*\(([\s\S]*)\)\s*;?\s*$/);a&&(e=a[3]);for(var l,c={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};s<e.length;){var u=t();"/"===u&&"*"===n()?function(){for(s+=2;s<e.length&&("*"!==t()||"/"!==n());)s++;s+=2}():"/"===u&&"/"===n()?function(){for(s+=2;s<e.length&&"\n"!==t();)s++}():" "===(l=u)||" "<=l&&l<=" "||" "===l||" "===l||" "===l?(o.push(" "),s++):"'"===u?o.push(r(u)):'"'===u?o.push(r('"')):"`"===u?o.push(r("´")):"‘"===u?o.push(r("’")):"“"===u?o.push(r("”")):","===u&&-1!==["]","}"].indexOf(function(){for(var t=s+1;t<e.length&&i(e[t]);)t++;return e[t]}())?s++:/[a-zA-Z_$]/.test(u)&&-1!==["{",","].indexOf(function(){for(var e=o.length-1;0<=e;){var t=o[e];if(!i(t))return t;e--}return""}())?o.push(function(){for(var e="",n=t(),i=/[a-zA-Z_$\d]/;i.test(n);)e+=n,s++,n=t();return-1===["null","true","false"].indexOf(e)?'"'+e+'"':e}()):/[a-zA-Z_$]/.test(u)?o.push(function(){for(var e,n=t(),i="";/[a-zA-Z_$]/.test(n);)i+=n,s++,n=t();if(0<i.length&&"("===n){if(s++,'"'===(n=t()))e=r(n),n=t();else for(e="";")"!==n&&""!==n;)e+=n,s++,n=t();return")"===n?(s++,e):i+"("+e+n}return i}()):(o.push(u),s++)}return o.join("")}function s(e){return e.replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})}function a(e){void 0!==ae.a?ae.a.parse(e):JSON.parse(e)}function l(e,t){for(var n in t)ie(t,n)&&(e[n]=t[n]);return e}function c(e){for(var t in e)ie(e,t)&&delete e[t];return e}function u(e){return null===e?"null":void 0===e?"undefined":e instanceof Number||"number"==typeof e?"number":e instanceof String||"string"==typeof e?"string":e instanceof Boolean||"boolean"==typeof e?"boolean":e instanceof RegExp?"regexp":h(e)?"array":"object"}function d(e){return("string"==typeof e||e instanceof String)&&he.test(e)}function h(e){return"[object Array]"===Object.prototype.toString.call(e)}function f(e){return e.getBoundingClientRect().left+window.pageXOffset||document.scrollLeft||0}function p(e){return e.getBoundingClientRect().top+window.pageYOffset||document.scrollTop||0}function m(e,t){var n=e.className.split(" ");-1===n.indexOf(t)&&(n.push(t),e.className=n.join(" "))}function g(e){e.className=""}function v(e,t){var n=e.className.split(" "),i=n.indexOf(t);-1!==i&&(n.splice(i,1),e.className=n.join(" "))}function y(e){for(var t=e.childNodes,n=0,i=t.length;n<i;n++){var r=t[n];r.style&&r.removeAttribute("style");var o=r.attributes;if(o)for(var s=o.length-1;0<=s;s--){var a=o[s];!0===a.specified&&r.removeAttribute(a.name)}y(r)}}function b(e){var t,n;document.createRange&&((t=document.createRange()).selectNodeContents(e),t.collapse(!1),(n=window.getSelection()).removeAllRanges(),n.addRange(t))}function _(e){var t,n;e&&"DIV"===e.nodeName&&window.getSelection&&document.createRange&&((n=document.createRange()).selectNodeContents(e),(t=window.getSelection()).removeAllRanges(),t.addRange(n))}function w(){if(window.getSelection){var e=window.getSelection();if(e.getRangeAt&&e.rangeCount)return e.getRangeAt(0)}return null}function x(e){if(e&&window.getSelection){var t=window.getSelection();t.removeAllRanges(),t.addRange(e)}}function A(){var e=w();return e&&"startOffset"in e&&"endOffset"in e&&e.startContainer&&e.startContainer===e.endContainer?{startOffset:e.startOffset,endOffset:e.endOffset,container:e.startContainer.parentNode}:null}function C(e){if(document.createRange&&window.getSelection&&window.getSelection()){var t=document.createRange();e.container.firstChild||e.container.appendChild(document.createTextNode("")),t.setStart(e.container.firstChild,e.startOffset),t.setEnd(e.container.firstChild,e.endOffset),x(t)}}function k(e,t){if(void 0===t&&(t={text:"",flush:function(){var e=this.text;return this.text="",e},set:function(e){this.text=e}}),e.nodeValue)return t.flush()+e.nodeValue;if(e.hasChildNodes()){for(var n=e.childNodes,i="",r=0,o=n.length;r<o;r++){var s=n[r];if("DIV"===s.nodeName||"P"===s.nodeName){var a=n[r-1],l=a?a.nodeName:void 0;l&&"DIV"!==l&&"P"!==l&&"BR"!==l&&(i+="\n",t.flush()),i+=k(s,t),t.set("\n")}else"BR"===s.nodeName?(i+=t.flush(),t.set("\n")):i+=k(s,t)}return i}return"P"===e.nodeName&&-1!==S()?t.flush():""}function M(e,t){for(var n=e?e.parentNode:void 0;n;){if(n===t)return!0;n=n.parentNode}return!1}function S(){if(-1===fe){var e=-1;if("undefined"!=typeof navigator&&"Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent;null!=new RegExp("MSIE ([0-9]+[.0-9]+)").exec(t)&&(e=parseFloat(RegExp.$1))}fe=e}return fe}function L(){return"undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Firefox")}function E(e,t,n,i){if(e.addEventListener)return void 0===i&&(i=!1),"mousewheel"===t&&L()&&(t="DOMMouseScroll"),e.addEventListener(t,n,i),n;if(e.attachEvent){var r=function(){return n.call(e,window.event)};return e.attachEvent("on"+t,r),r}}function D(e,t,n,i){e.removeEventListener?(void 0===i&&(i=!1),"mousewheel"===t&&L()&&(t="DOMMouseScroll"),e.removeEventListener(t,n,i)):e.detachEvent&&e.detachEvent("on"+t,n)}function T(e,t){for(var n=e.parentNode;n;){if(n===t)return!0;n=n.parentNode}return!1}function I(e){function t(t){for(var n="";void 0!==e[i]&&e[i]!==t;)n+=e[i],i++;if(e[i]!==t)throw new Error("Invalid JSON path: unexpected end, character "+t+" expected");return n}for(var n=[],i=0;void 0!==e[i];)if("."===e[i])i++,n.push(function(){for(var t="";void 0!==e[i]&&/[\w$]/.test(e[i]);)t+=e[i],i++;if(""===t)throw new Error("Invalid JSON path: property name expected at index "+i);return t}());else{if("["!==e[i])throw new Error('Invalid JSON path: unexpected character "'+e[i]+'" at index '+i);if("'"===e[++i]||'"'===e[i]){var r=e[i];if(i++,n.push(t(r)),e[i]!==r)throw new Error("Invalid JSON path: closing quote ' expected at index "+i);i++}else{var o=t("]").trim();if(0===o.length)throw new Error("Invalid JSON path: array value expected at index "+i);o="*"===o?o:JSON.parse(o),n.push(o)}if("]"!==e[i])throw new Error("Invalid JSON path: closing bracket ] expected at index "+i);i++}return n}function j(e){return e.map(function(e){return"number"==typeof e?"["+e+"]":"string"==typeof e&&e.match(/^[A-Za-z0-9_$]+$/)?"."+e:'["'+e+'"]'}).join("")}function O(e){if("enum"===e.keyword&&Array.isArray(e.schema)){var t=e.schema;if(t){if(5<(t=t.map(function(e){return JSON.stringify(e)})).length){var n=["("+(t.length-5)+" more...)"];(t=t.slice(0,5)).push(n)}e.message="should be equal to one of: "+t.join(", ")}}return"additionalProperties"===e.keyword&&(e.message="should NOT have additional property: "+e.params.additionalProperty),e}function F(e){return e&&"function"==typeof e.then&&"function"==typeof e.catch}function N(e){return"object"===i(e)&&Array.isArray(e.path)&&"string"==typeof e.message}function Y(e,t,n){var i=void 0!==n?n:0;return t.left-i>=e.left&&t.right+i<=e.right&&t.top-i>=e.top&&t.bottom+i<=e.bottom}function P(e,t,n){var i;return function(){var r=this,o=arguments,s=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(r,o)},t),s&&e.apply(r,o)}}function R(e,t){for(var n=t.length,i=0,r=e.length,o=t.length;t.charAt(i)===e.charAt(i)&&i<n;)i++;for(;t.charAt(o-1)===e.charAt(r-1)&&i<o&&0<r;)o--,r--;return{start:i,end:o}}function B(e){function t(t){var n=e.value.substring(0,t);return{row:(n.match(/\n/g)||[]).length+1,column:n.length-n.lastIndexOf("\n")}}var n,i,r,o,s,a=0,l=0;return"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(a=e.selectionStart,l=e.selectionEnd):(i=document.selection.createRange())&&i.parentElement()===e&&(o=e.value.length,n=e.value.replace(/\r\n/g,"\n"),(r=e.createTextRange()).moveToBookmark(i.getBookmark()),(s=e.createTextRange()).collapse(!1),-1<r.compareEndPoints("StartToEnd",s)?a=l=o:(a=-r.moveStart("character",-o),a+=n.slice(0,a).split("\n").length-1,-1<r.compareEndPoints("EndToEnd",s)?l=o:(l=-r.moveEnd("character",-o),l+=n.slice(0,l).split("\n").length-1))),{startIndex:a,endIndex:l,start:t(a),end:t(l)}}function H(e,t,n){var i=e.value||"";if(0<t&&0<n){var r=i.split("\n",t);t=Math.min(r.length,t),n=Math.min(r[t-1].length,n-1);var o=1===t?n:n+1;return r.slice(0,t-1).join("\n").length+o}return-1}function z(e,t){var n,i=[];if(!t||!t.length)return i;try{n=ce.a.parse(e)}catch(e){return i}return t.forEach(function(e){var t=$(I(e)),r=n.pointers[t];r&&i.push({path:e,line:r.key?r.key.line:r.value?r.value.line:0,column:r.key?r.key.column:r.value?r.value.column:0})}),i}function $(e){return e.map(function(e){return"/"+String(e).replace(/~/g,"~0").replace(/\//g,"~1")}).join("")}function W(e){var t=document.createElement("div");return t.style.color=e,t.style.color.split(/\s+/).join("").toLowerCase()||null}function G(e){return!!W(e)}function V(e,t){if(!e)return"";var n="";return e.title&&(n+=e.title),e.description&&(0<n.length&&(n+="\n"),n+=e.description),e.default&&(0<n.length&&(n+="\n\n"),n+=Object(ue.c)("default",void 0,t)+"\n",n+=JSON.stringify(e.default,null,2)),Array.isArray(e.examples)&&0<e.examples.length&&(0<n.length&&(n+="\n\n"),n+=Object(ue.c)("examples",void 0,t)+"\n",e.examples.forEach(function(t,i){n+=JSON.stringify(t,null,2),i!==e.examples.length-1&&(n+="\n")})),n}function U(e,t){for(var n=e,i=0;i<t.length&&null!=n;i++)n=n[t[i]];return n}function Z(e,t){for(var n=e.replace(/ \(copy( \d+)?\)$/,""),i=n,r=1;-1!==t.indexOf(i);)i=n+" (copy"+(1<r?" "+r:"")+")",r++;return i}function X(e,t){function n(e,t,i,r){(Array.isArray(e)||te(e))&&!r||(t[i||""]=!0),te(e)&&Object.keys(e).forEach(function(o){n(e[o],t,i+"."+o,r)})}var i={};if(Array.isArray(e))for(var r=Math.min(e.length,de),o=0;o<r;o++)n(e[o],i,"",t);else i[""]=!0;return Object.keys(i).sort()}function Q(e,t,n){var i=t&&"."!==t?I(t):[],r="desc"===n?-1:1,o=e.slice();return o.sort(function(e,t){var n=U(e,i),o=U(t,i);return r*(o<n?1:n<o?-1:0)}),o}function K(e,t){var n="desc"===t?-1:1,i=Object.keys(e).sort(function(e,t){return n*oe()(e,t)}),r={};return i.forEach(function(t){r[t]=e[t]}),r}function J(e){if(""===e)return"";var t=e.toLowerCase();if("null"===t)return null;if("true"===t)return!0;if("false"===t)return!1;var n=Number(e),i=parseFloat(e);return isNaN(n)||isNaN(i)?e:n}function q(e){if(e<900)return e.toFixed()+" B";var t=e/1024;if(t<900)return t.toFixed(1)+" KiB";var n=t/1024;if(n<900)return n.toFixed(1)+" MiB";var i=n/1024;return i<900?i.toFixed(1)+" GiB":(i/1024).toFixed(1)+" TiB"}function ee(e,t){return e.length<=t?e:e.slice(0,t)+"..."}function te(e){return"object"===i(e)&&null!==e&&!Array.isArray(e)}function ne(e,t){return-1!==e.indexOf(t)}function ie(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.r(t),n.d(t,"parse",function(){return r}),n.d(t,"repair",function(){return o}),n.d(t,"escapeUnicodeChars",function(){return s}),n.d(t,"validate",function(){return a}),n.d(t,"extend",function(){return l}),n.d(t,"clear",function(){return c}),n.d(t,"getType",function(){return u}),n.d(t,"isUrl",function(){return d}),n.d(t,"isArray",function(){return h}),n.d(t,"getAbsoluteLeft",function(){return f}),n.d(t,"getAbsoluteTop",function(){return p}),n.d(t,"addClassName",function(){return m}),n.d(t,"removeAllClassNames",function(){return g}),n.d(t,"removeClassName",function(){return v}),n.d(t,"stripFormatting",function(){return y}),n.d(t,"setEndOfContentEditable",function(){return b}),n.d(t,"selectContentEditable",function(){return _}),n.d(t,"getSelection",function(){return w}),n.d(t,"setSelection",function(){return x}),n.d(t,"getSelectionOffset",function(){return A}),n.d(t,"setSelectionOffset",function(){return C}),n.d(t,"getInnerText",function(){return k}),n.d(t,"hasParentNode",function(){return M}),n.d(t,"getInternetExplorerVersion",function(){return S}),n.d(t,"isFirefox",function(){return L}),n.d(t,"addEventListener",function(){return E}),n.d(t,"removeEventListener",function(){return D}),n.d(t,"isChildOf",function(){return T}),n.d(t,"parsePath",function(){return I}),n.d(t,"stringifyPath",function(){return j}),n.d(t,"improveSchemaError",function(){return O}),n.d(t,"isPromise",function(){return F}),n.d(t,"isValidValidationError",function(){return N}),n.d(t,"insideRect",function(){return Y}),n.d(t,"debounce",function(){return P}),n.d(t,"textDiff",function(){return R}),n.d(t,"getInputSelection",function(){return B}),n.d(t,"getIndexForPosition",function(){return H}),n.d(t,"getPositionForPath",function(){return z}),n.d(t,"compileJSONPointer",function(){return $}),n.d(t,"getColorCSS",function(){return W}),n.d(t,"isValidColor",function(){return G}),n.d(t,"makeFieldTooltip",function(){return V}),n.d(t,"get",function(){return U}),n.d(t,"findUniqueName",function(){return Z}),n.d(t,"getChildPaths",function(){return X}),n.d(t,"sort",function(){return Q}),n.d(t,"sortObjectKeys",function(){return K}),n.d(t,"parseString",function(){return J}),n.d(t,"formatSize",function(){return q}),n.d(t,"limitCharacters",function(){return ee}),n.d(t,"isObject",function(){return te}),n.d(t,"contains",function(){return ne}),n(22);var re=n(10),oe=n.n(re),se=n(20),ae=n.n(se),le=n(31),ce=n.n(le),ue=n(1),de=1e4,he=/^https?:\/\/\S+$/,fe=-1},function(e,t,n){"use strict";function i(e){if(e){var t=s.find(function(t){return t===e});t?u=t:console.error("Language not found")}}function r(e){if(e)for(var t in e)!function(t){s.find(function(e){return e===t})||s.push(t),a[t]=Object.assign({},a[l],a[t],e[t])}(t)}function o(e,t,n){var i=a[n=n||u][e];if(t)for(e in t)i=i.replace("${"+e+"}",t[e]);return i||e}n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o}),n(22);var s=["en","pt-BR","zh-CN","tr"],a={en:{array:"Array",auto:"Auto",appendText:"Append",appendTitle:"Append a new field with type 'auto' after this field (Ctrl+Shift+Ins)",appendSubmenuTitle:"Select the type of the field to be appended",appendTitleAuto:"Append a new field with type 'auto' (Ctrl+Shift+Ins)",ascending:"Ascending",ascendingTitle:"Sort the childs of this ${type} in ascending order",actionsMenu:"Click to open the actions menu (Ctrl+M)",collapseAll:"Collapse all fields",descending:"Descending",descendingTitle:"Sort the childs of this ${type} in descending order",drag:"Drag to move this field (Alt+Shift+Arrows)",duplicateKey:"duplicate key",duplicateText:"Duplicate",duplicateTitle:"Duplicate selected fields (Ctrl+D)",duplicateField:"Duplicate this field (Ctrl+D)",duplicateFieldError:"Duplicate field name",cannotParseFieldError:"Cannot parse field into JSON",cannotParseValueError:"Cannot parse value into JSON",empty:"empty",expandAll:"Expand all fields",expandTitle:"Click to expand/collapse this field (Ctrl+E). \nCtrl+Click to expand/collapse including all childs.",insert:"Insert",insertTitle:"Insert a new field with type 'auto' before this field (Ctrl+Ins)",insertSub:"Select the type of the field to be inserted",object:"Object",ok:"Ok",redo:"Redo (Ctrl+Shift+Z)",removeText:"Remove",removeTitle:"Remove selected fields (Ctrl+Del)",removeField:"Remove this field (Ctrl+Del)",selectNode:"Select a node...",showAll:"show all",showMore:"show more",showMoreStatus:"displaying ${visibleChilds} of ${totalChilds} items.",sort:"Sort",sortTitle:"Sort the childs of this ${type}",sortTitleShort:"Sort contents",sortFieldLabel:"Field:",sortDirectionLabel:"Direction:",sortFieldTitle:"Select the nested field by which to sort the array or object",sortAscending:"Ascending",sortAscendingTitle:"Sort the selected field in ascending order",sortDescending:"Descending",sortDescendingTitle:"Sort the selected field in descending order",string:"String",transform:"Transform",transformTitle:"Filter, sort, or transform the childs of this ${type}",transformTitleShort:"Filter, sort, or transform contents",extract:"Extract",extractTitle:"Extract this ${type}",transformQueryTitle:"Enter a JMESPath query",transformWizardLabel:"Wizard",transformWizardFilter:"Filter",transformWizardSortBy:"Sort by",transformWizardSelectFields:"Select fields",transformQueryLabel:"Query",transformPreviewLabel:"Preview",type:"Type",typeTitle:"Change the type of this field",openUrl:"Ctrl+Click or Ctrl+Enter to open url in new window",undo:"Undo last action (Ctrl+Z)",validationCannotMove:"Cannot move a field into a child of itself",autoType:'Field type "auto". The field type is automatically determined from the value and can be a string, number, boolean, or null.',objectType:'Field type "object". An object contains an unordered set of key/value pairs.',arrayType:'Field type "array". An array contains an ordered collection of values.',stringType:'Field type "string". Field type is not determined from the value, but always returned as string.',modeCodeText:"Code",modeCodeTitle:"Switch to code highlighter",modeFormText:"Form",modeFormTitle:"Switch to form editor",modeTextText:"Text",modeTextTitle:"Switch to plain text editor",modeTreeText:"Tree",modeTreeTitle:"Switch to tree editor",modeViewText:"View",modeViewTitle:"Switch to tree view",modePreviewText:"Preview",modePreviewTitle:"Switch to preview mode",examples:"Examples",default:"Default"},"zh-CN":{array:"数组",auto:"自动",appendText:"追加",appendTitle:"在此字段后追加一个类型为“auto”的新字段 (Ctrl+Shift+Ins)",appendSubmenuTitle:"选择要追加的字段类型",appendTitleAuto:"追加类型为“auto”的新字段 (Ctrl+Shift+Ins)",ascending:"升序",ascendingTitle:"升序排列${type}的子节点",actionsMenu:"点击打开动作菜单(Ctrl+M)",collapseAll:"缩进所有字段",descending:"降序",descendingTitle:"降序排列${type}的子节点",drag:"拖拽移动该节点(Alt+Shift+Arrows)",duplicateKey:"重复键",duplicateText:"复制",duplicateTitle:"复制选中字段(Ctrl+D)",duplicateField:"复制该字段(Ctrl+D)",duplicateFieldError:"重复的字段名称",cannotParseFieldError:"无法将字段解析为JSON",cannotParseValueError:"无法将值解析为JSON",empty:"清空",expandAll:"展开所有字段",expandTitle:"点击 展开/收缩 该字段(Ctrl+E). \nCtrl+Click 展开/收缩 包含所有子节点.",insert:"插入",insertTitle:"在此字段前插入类型为“auto”的新字段 (Ctrl+Ins)",insertSub:"选择要插入的字段类型",object:"对象",ok:"Ok",redo:"重做 (Ctrl+Shift+Z)",removeText:"移除",removeTitle:"移除选中字段 (Ctrl+Del)",removeField:"移除该字段 (Ctrl+Del)",selectNode:"选择一个节点...",showAll:"展示全部",showMore:"展示更多",showMoreStatus:"显示${totalChilds}的${visibleChilds}项目.",sort:"排序",sortTitle:"排序${type}的子节点",sortTitleShort:"内容排序",sortFieldLabel:"字段:",sortDirectionLabel:"方向:",sortFieldTitle:"选择用于对数组或对象排序的嵌套字段",sortAscending:"升序排序",sortAscendingTitle:"按照该字段升序排序",sortDescending:"降序排序",sortDescendingTitle:"按照该字段降序排序",string:"字符串",transform:"变换",transformTitle:"筛选,排序,或者转换${type}的子节点",transformTitleShort:"筛选,排序,或者转换内容",extract:"提取",extractTitle:"提取这个 ${type}",transformQueryTitle:"输入JMESPath查询",transformWizardLabel:"向导",transformWizardFilter:"筛选",transformWizardSortBy:"排序",transformWizardSelectFields:"选择字段",transformQueryLabel:"查询",transformPreviewLabel:"预览",type:"类型",typeTitle:"更改字段类型",openUrl:"Ctrl+Click 或者 Ctrl+Enter 在新窗口打开链接",undo:"撤销上次动作 (Ctrl+Z)",validationCannotMove:"无法将字段移入其子节点",autoType:'字段类型 "auto". 字段类型由值自动确定 可以为 string,number,boolean,或者 null.',objectType:'字段类型 "object". 对象包含一组无序的键/值对.',arrayType:'字段类型 "array". 数组包含值的有序集合.',stringType:'字段类型 "string". 字段类型由值自动确定,但始终作为字符串返回.',modeCodeText:"代码",modeCodeTitle:"切换至代码高亮",modeFormText:"表单",modeFormTitle:"切换至表单编辑",modeTextText:"文本",modeTextTitle:"切换至文本编辑",modeTreeText:"树",modeTreeTitle:"切换至树编辑",modeViewText:"视图",modeViewTitle:"切换至树视图",modePreviewText:"预览",modePreviewTitle:"切换至预览模式",examples:"例子",default:"缺省"},"pt-BR":{array:"Lista",auto:"Automatico",appendText:"Adicionar",appendTitle:"Adicionar novo campo com tipo 'auto' depois deste campo (Ctrl+Shift+Ins)",appendSubmenuTitle:"Selecione o tipo do campo a ser adicionado",appendTitleAuto:"Adicionar novo campo com tipo 'auto' (Ctrl+Shift+Ins)",ascending:"Ascendente",ascendingTitle:"Organizar filhor do tipo ${type} em crescente",actionsMenu:"Clique para abrir o menu de ações (Ctrl+M)",collapseAll:"Fechar todos campos",descending:"Descendente",descendingTitle:"Organizar o filhos do tipo ${type} em decrescente",duplicateKey:"chave duplicada",drag:"Arraste para mover este campo (Alt+Shift+Arrows)",duplicateText:"Duplicar",duplicateTitle:"Duplicar campos selecionados (Ctrl+D)",duplicateField:"Duplicar este campo (Ctrl+D)",duplicateFieldError:"Nome do campo duplicado",cannotParseFieldError:"Não é possível analisar o campo no JSON",cannotParseValueError:"Não é possível analisar o valor em JSON",empty:"vazio",expandAll:"Expandir todos campos",expandTitle:"Clique para expandir/encolher este campo (Ctrl+E). \nCtrl+Click para expandir/encolher incluindo todos os filhos.",insert:"Inserir",insertTitle:"Inserir um novo campo do tipo 'auto' antes deste campo (Ctrl+Ins)",insertSub:"Selecionar o tipo de campo a ser inserido",object:"Objeto",ok:"Ok",redo:"Refazer (Ctrl+Shift+Z)",removeText:"Remover",removeTitle:"Remover campos selecionados (Ctrl+Del)",removeField:"Remover este campo (Ctrl+Del)",selectNode:"Select a node...",showAll:"mostre tudo",showMore:"mostre mais",showMoreStatus:"exibindo ${visibleChilds} de ${totalChilds} itens.",sort:"Organizar",sortTitle:"Organizar os filhos deste ${type}",sortTitleShort:"Organizar os filhos",sortFieldLabel:"Field:",sortDirectionLabel:"Direction:",sortFieldTitle:"Select the nested field by which to sort the array or object",sortAscending:"Ascending",sortAscendingTitle:"Sort the selected field in ascending order",sortDescending:"Descending",sortDescendingTitle:"Sort the selected field in descending order",string:"Texto",transform:"Transform",transformTitle:"Filter, sort, or transform the childs of this ${type}",transformTitleShort:"Filter, sort, or transform contents",transformQueryTitle:"Enter a JMESPath query",transformWizardLabel:"Wizard",transformWizardFilter:"Filter",transformWizardSortBy:"Sort by",transformWizardSelectFields:"Select fields",transformQueryLabel:"Query",transformPreviewLabel:"Preview",type:"Tipo",typeTitle:"Mudar o tipo deste campo",openUrl:"Ctrl+Click ou Ctrl+Enter para abrir link em nova janela",undo:"Desfazer último ação (Ctrl+Z)",validationCannotMove:"Não pode mover um campo como filho dele mesmo",autoType:'Campo do tipo "auto". O tipo do campo é determinao automaticamente a partir do seu valor e pode ser texto, número, verdade/falso ou nulo.',objectType:'Campo do tipo "objeto". Um objeto contém uma lista de pares com chave e valor.',arrayType:'Campo do tipo "lista". Uma lista contem uma coleção de valores ordenados.',stringType:'Campo do tipo "string". Campo do tipo nao é determinado através do seu valor, mas sempre retornara um texto.',examples:"Exemplos",default:"Revelia"},tr:{array:"Dizin",auto:"Otomatik",appendText:"Ekle",appendTitle:"Bu alanın altına 'otomatik' tipinde yeni bir alan ekle (Ctrl+Shift+Ins)",appendSubmenuTitle:"Eklenecek alanın tipini seç",appendTitleAuto:"'Otomatik' tipinde yeni bir alan ekle (Ctrl+Shift+Ins)",ascending:"Artan",ascendingTitle:"${type}'ın alt tiplerini artan düzende sırala",actionsMenu:"Aksiyon menüsünü açmak için tıklayın (Ctrl+M)",collapseAll:"Tüm alanları kapat",descending:"Azalan",descendingTitle:"${type}'ın alt tiplerini azalan düzende sırala",drag:"Bu alanı taşımak için sürükleyin (Alt+Shift+Arrows)",duplicateKey:"Var olan anahtar",duplicateText:"Aşağıya kopyala",duplicateTitle:"Seçili alanlardan bir daha oluştur (Ctrl+D)",duplicateField:"Bu alandan bir daha oluştur (Ctrl+D)",duplicateFieldError:"Duplicate field name",cannotParseFieldError:"Alan JSON'a ayrıştırılamıyor",cannotParseValueError:"JSON'a değer ayrıştırılamıyor",empty:"boş",expandAll:"Tüm alanları aç",expandTitle:"Bu alanı açmak/kapatmak için tıkla (Ctrl+E). \nAlt alanlarda dahil tüm alanları açmak için Ctrl+Click ",insert:"Ekle",insertTitle:"Bu alanın üstüne 'otomatik' tipinde yeni bir alan ekle (Ctrl+Ins)",insertSub:"Araya eklenecek alanın tipini seç",object:"Nesne",ok:"Tamam",redo:"Yeniden yap (Ctrl+Shift+Z)",removeText:"Kaldır",removeTitle:"Seçilen alanları kaldır (Ctrl+Del)",removeField:"Bu alanı kaldır (Ctrl+Del)",selectNode:"Bir nesne seç...",showAll:"tümünü göster",showMore:"daha fazla göster",showMoreStatus:"${totalChilds} alanın ${visibleChilds} alt alanları gösteriliyor",sort:"Sırala",sortTitle:"${type}'ın alt alanlarını sırala",sortTitleShort:"İçerikleri sırala",sortFieldLabel:"Alan:",sortDirectionLabel:"Yön:",sortFieldTitle:"Diziyi veya nesneyi sıralamak için iç içe geçmiş alanı seçin",sortAscending:"Artan",sortAscendingTitle:"Seçili alanı artan düzende sırala",sortDescending:"Azalan",sortDescendingTitle:"Seçili alanı azalan düzende sırala",string:"Karakter Dizisi",transform:"Dönüştür",transformTitle:"${type}'ın alt alanlarını filtrele, sırala veya dönüştür",transformTitleShort:"İçerikleri filterele, sırala veya dönüştür",transformQueryTitle:"JMESPath sorgusu gir",transformWizardLabel:"Sihirbaz",transformWizardFilter:"Filtre",transformWizardSortBy:"Sırala",transformWizardSelectFields:"Alanları seç",transformQueryLabel:"Sorgu",transformPreviewLabel:"Önizleme",type:"Tip",typeTitle:"Bu alanın tipini değiştir",openUrl:"URL'i yeni bir pencerede açmak için Ctrl+Click veya Ctrl+Enter",undo:"Son değişikliği geri al (Ctrl+Z)",validationCannotMove:"Alt alan olarak taşınamıyor",autoType:'Alan tipi "otomatik". Alan türü otomatik olarak değerden belirlenirve bir dize, sayı, boolean veya null olabilir.',objectType:'Alan tipi "nesne". Bir nesne, sıralanmamış bir anahtar / değer çifti kümesi içerir.',arrayType:'Alan tipi "dizi". Bir dizi, düzenli değerler koleksiyonu içerir.',stringType:'Alan tipi "karakter dizisi". Alan türü değerden belirlenmez,ancak her zaman karakter dizisi olarak döndürülür.',modeCodeText:"Kod",modeCodeTitle:"Kod vurgulayıcıya geç",modeFormText:"Form",modeFormTitle:"Form düzenleyiciye geç",modeTextText:"Metin",modeTextTitle:"Düz metin düzenleyiciye geç",modeTreeText:"Ağaç",modeTreeTitle:"Ağaç düzenleyiciye geç",modeViewText:"Görünüm",modeViewTitle:"Ağaç görünümüne geç",examples:"Örnekler",default:"Varsayılan"}},l="en",c="undefined"!=typeof navigator?navigator.language||navigator.userLanguage:void 0,u=s.find(function(e){return e===c})||l},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"d",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return s});var i=document.body,r=10485760,o=2e4,s=2147483648},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n(11),r=n(0),o=n(1),s=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dom={};var i=this,r=this.dom;this.anchor=void 0,this.items=t,this.eventListeners={},this.selection=void 0,this.onClose=n?n.close:void 0;var s=document.createElement("div");s.className="jsoneditor-contextmenu-root",r.root=s;var a=document.createElement("div");a.className="jsoneditor-contextmenu",r.menu=a,s.appendChild(a);var l=document.createElement("ul");l.className="jsoneditor-menu",a.appendChild(l),r.list=l,r.items=[];var c=document.createElement("button");c.type="button",r.focusButton=c;var u=document.createElement("li");u.style.overflow="hidden",u.style.height="0",u.appendChild(c),l.appendChild(u),function e(t,n,r){r.forEach(function(r){if("separator"===r.type){var s=document.createElement("div");s.className="jsoneditor-separator";var a=document.createElement("li");a.appendChild(s),t.appendChild(a)}else{var l={},c=document.createElement("li");t.appendChild(c);var u=document.createElement("button");if(u.type="button",u.className=r.className,l.button=u,r.title&&(u.title=r.title),r.click&&(u.onclick=function(e){e.preventDefault(),i.hide(),r.click()}),c.appendChild(u),r.submenu){var d=document.createElement("div");d.className="jsoneditor-icon",u.appendChild(d);var h,f=document.createElement("div");if(f.className="jsoneditor-text"+(r.click?"":" jsoneditor-right-margin"),f.appendChild(document.createTextNode(r.text)),u.appendChild(f),r.click){u.className+=" jsoneditor-default";var p=document.createElement("button");p.type="button",(l.buttonExpand=p).className="jsoneditor-expand",p.innerHTML='<div class="jsoneditor-expand"></div>',c.appendChild(p),r.submenuTitle&&(p.title=r.submenuTitle),h=p}else{var m=document.createElement("div");m.className="jsoneditor-expand",u.appendChild(m),h=u}h.onclick=function(e){e.preventDefault(),i._onExpandItem(l),h.focus()};var g=[];l.subItems=g;var v=document.createElement("ul");(l.ul=v).className="jsoneditor-menu",v.style.height="0",c.appendChild(v),e(v,g,r.submenu)}else u.innerHTML='<div class="jsoneditor-icon"></div><div class="jsoneditor-text">'+Object(o.c)(r.text)+"</div>";n.push(l)}})}(l,this.dom.items,t),this.maxHeight=0,t.forEach(function(e){var n=24*(t.length+(e.submenu?e.submenu.length:0));i.maxHeight=Math.max(i.maxHeight,n)})}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"_getVisibleButtons",value:function(){var e=[],t=this;return this.dom.items.forEach(function(n){e.push(n.button),n.buttonExpand&&e.push(n.buttonExpand),n.subItems&&n===t.expandedItem&&n.subItems.forEach(function(t){e.push(t.button),t.buttonExpand&&e.push(t.buttonExpand)})}),e}},{key:"show",value:function(t,n,o){this.hide();var s=!0,a=t.parentNode,l=t.getBoundingClientRect(),c=a.getBoundingClientRect(),u=n.getBoundingClientRect(),d=this;this.dom.absoluteAnchor=Object(i.a)(t,n,function(){d.hide()}),l.bottom+this.maxHeight<u.bottom||l.top-this.maxHeight>u.top&&(s=!1);var h=o?0:l.top-c.top;if(s){var f=t.offsetHeight;this.dom.menu.style.left="0",this.dom.menu.style.top=h+f+"px",this.dom.menu.style.bottom=""}else this.dom.menu.style.left="0",this.dom.menu.style.top="",this.dom.menu.style.bottom="0px";this.dom.absoluteAnchor.appendChild(this.dom.root),this.selection=Object(r.getSelection)(),this.anchor=t,setTimeout(function(){d.dom.focusButton.focus()},0),e.visibleMenu&&e.visibleMenu.hide(),e.visibleMenu=this}},{key:"hide",value:function(){this.dom.absoluteAnchor&&(this.dom.absoluteAnchor.destroy(),delete this.dom.absoluteAnchor),this.dom.root.parentNode&&(this.dom.root.parentNode.removeChild(this.dom.root),this.onClose&&this.onClose()),e.visibleMenu===this&&(e.visibleMenu=void 0)}},{key:"_onExpandItem",value:function(e){var t=this,n=e===this.expandedItem,i=this.expandedItem;if(i&&(i.ul.style.height="0",i.ul.style.padding="",setTimeout(function(){t.expandedItem!==i&&(i.ul.style.display="",Object(r.removeClassName)(i.ul.parentNode,"jsoneditor-selected"))},300),this.expandedItem=void 0),!n){var o=e.ul;o.style.display="block",o.clientHeight,setTimeout(function(){if(t.expandedItem===e){for(var n=0,i=0;i<o.childNodes.length;i++)n+=o.childNodes[i].clientHeight;o.style.height=n+"px",o.style.padding="5px 10px"}},0),Object(r.addClassName)(o.parentNode,"jsoneditor-selected"),this.expandedItem=e}}},{key:"_onKeyDown",value:function(e){var t,n,i,o,s=e.target,a=e.which,l=!1;27===a?(this.selection&&Object(r.setSelection)(this.selection),this.anchor&&this.anchor.focus(),this.hide(),l=!0):9===a?e.shiftKey?0===(n=(t=this._getVisibleButtons()).indexOf(s))&&(t[t.length-1].focus(),l=!0):(n=(t=this._getVisibleButtons()).indexOf(s))===t.length-1&&(t[0].focus(),l=!0):37===a?("jsoneditor-expand"===s.className&&(n=(t=this._getVisibleButtons()).indexOf(s),(i=t[n-1])&&i.focus()),l=!0):38===a?(n=(t=this._getVisibleButtons()).indexOf(s),(i=t[n-1])&&"jsoneditor-expand"===i.className&&(i=t[n-2]),(i=i||t[t.length-1])&&i.focus(),l=!0):39===a?(n=(t=this._getVisibleButtons()).indexOf(s),(o=t[n+1])&&"jsoneditor-expand"===o.className&&o.focus(),l=!0):40===a&&(n=(t=this._getVisibleButtons()).indexOf(s),(o=t[n+1])&&"jsoneditor-expand"===o.className&&(o=t[n+2]),(o=o||t[0])&&(o.focus(),l=!0),l=!0),l&&(e.stopPropagation(),e.preventDefault())}}]),e}();s.visibleMenu=void 0},function(e,t,n){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,r){if(e===r)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(r))return!1;if(!0===t(e)){if(e.length!==r.length)return!1;for(var o=0;o<e.length;o++)if(!1===i(e[o],r[o]))return!1;return!0}if(!0!==n(e))return!1;var s={};for(var a in e)if(hasOwnProperty.call(e,a)){if(!1===i(e[a],r[a]))return!1;s[a]=!0}for(var l in r)if(hasOwnProperty.call(r,l)&&!0!==s[l])return!1;return!0}function r(e){if(""===e||!1===e||null===e)return!0;if(t(e)&&0===e.length)return!0;if(n(e)){for(var i in e)if(e.hasOwnProperty(i))return!1;return!0}return!1}function o(e){return"0"<=e&&e<="9"||"-"===e}function s(){}function a(){}function l(e){this.runtime=e}function c(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[d]}]},avg:{_func:this._functionAvg,_signature:[{types:[v]}]},ceil:{_func:this._functionCeil,_signature:[{types:[d]}]},contains:{_func:this._functionContains,_signature:[{types:[f,p]},{types:[h]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[f]},{types:[f]}]},floor:{_func:this._functionFloor,_signature:[{types:[d]}]},length:{_func:this._functionLength,_signature:[{types:[f,p,m]}]},map:{_func:this._functionMap,_signature:[{types:[g]},{types:[p]}]},max:{_func:this._functionMax,_signature:[{types:[v,y]}]},merge:{_func:this._functionMerge,_signature:[{types:[m],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[p]},{types:[g]}]},sum:{_func:this._functionSum,_signature:[{types:[v]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[f]},{types:[f]}]},min:{_func:this._functionMin,_signature:[{types:[v,y]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[p]},{types:[g]}]},type:{_func:this._functionType,_signature:[{types:[h]}]},keys:{_func:this._functionKeys,_signature:[{types:[m]}]},values:{_func:this._functionValues,_signature:[{types:[m]}]},sort:{_func:this._functionSort,_signature:[{types:[y,v]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[p]},{types:[g]}]},join:{_func:this._functionJoin,_signature:[{types:[f]},{types:[y]}]},reverse:{_func:this._functionReverse,_signature:[{types:[f,p]}]},to_array:{_func:this._functionToArray,_signature:[{types:[h]}]},to_string:{_func:this._functionToString,_signature:[{types:[h]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[h]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[h],variadic:!0}]}}}var u;u="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var d=0,h=1,f=2,p=3,m=4,g=6,v=8,y=9,b="UnquotedIdentifier",_="QuotedIdentifier",w="Rbracket",x="Rparen",A="Comma",C="Colon",k="Rbrace",M="Number",S="Current",L="Expref",E="Pipe",D="GTE",T="LTE",I="Flatten",j="Star",O="Filter",F="Dot",N="Lbrace",Y="Lbracket",P="Lparen",R="Literal",B={".":F,"*":j,",":A,":":C,"{":N,"}":k,"]":w,"(":P,")":x,"@":S},H={"<":!0,">":!0,"=":!0,"!":!0},z={" ":!0,"\t":!0,"\n":!0};s.prototype={tokenize:function(e){var t,n,i,r,s=[];for(this._current=0;this._current<e.length;)if("a"<=(r=e[this._current])&&r<="z"||"A"<=r&&r<="Z"||"_"===r)t=this._current,n=this._consumeUnquotedIdentifier(e),s.push({type:b,value:n,start:t});else if(void 0!==B[e[this._current]])s.push({type:B[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(o(e[this._current]))i=this._consumeNumber(e),s.push(i);else if("["===e[this._current])i=this._consumeLBracket(e),s.push(i);else if('"'===e[this._current])t=this._current,n=this._consumeQuotedIdentifier(e),s.push({type:_,value:n,start:t});else if("'"===e[this._current])t=this._current,n=this._consumeRawStringLiteral(e),s.push({type:R,value:n,start:t});else if("`"===e[this._current]){t=this._current;var a=this._consumeLiteral(e);s.push({type:R,value:a,start:t})}else if(void 0!==H[e[this._current]])s.push(this._consumeOperator(e));else if(void 0!==z[e[this._current]])this._current++;else if("&"===e[this._current])t=this._current,this._current++,"&"===e[this._current]?(this._current++,s.push({type:"And",value:"&&",start:t})):s.push({type:L,value:"&",start:t});else{if("|"!==e[this._current]){var l=new Error("Unknown character:"+e[this._current]);throw l.name="LexerError",l}t=this._current,this._current++,"|"===e[this._current]?(this._current++,s.push({type:"Or",value:"||",start:t})):s.push({type:E,value:"|",start:t})}return s},_consumeUnquotedIdentifier:function(e){var t,n=this._current;for(this._current++;this._current<e.length&&("a"<=(t=e[this._current])&&t<="z"||"A"<=t&&t<="Z"||"0"<=t&&t<="9"||"_"===t);)this._current++;return e.slice(n,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var n=e.length;'"'!==e[this._current]&&this._current<n;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&'"'!==e[i+1]?i++:i+=2,this._current=i}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var n=e.length;"'"!==e[this._current]&&this._current<n;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&"'"!==e[i+1]?i++:i+=2,this._current=i}return this._current++,e.slice(t+1,this._current-1).replace("\\'","'")},_consumeNumber:function(e){var t=this._current;this._current++;for(var n=e.length;o(e[this._current])&&this._current<n;)this._current++;var i=parseInt(e.slice(t,this._current));return{type:M,value:i,start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,"?"===e[this._current]?(this._current++,{type:O,value:"[?",start:t}):"]"===e[this._current]?(this._current++,{type:I,value:"[]",start:t}):{type:Y,value:"[",start:t}},_consumeOperator:function(e){var t=this._current,n=e[t];return this._current++,"!"===n?"="===e[this._current]?(this._current++,{type:"NE",value:"!=",start:t}):{type:"Not",value:"!",start:t}:"<"===n?"="===e[this._current]?(this._current++,{type:T,value:"<=",start:t}):{type:"LT",value:"<",start:t}:">"===n?"="===e[this._current]?(this._current++,{type:D,value:">=",start:t}):{type:"GT",value:">",start:t}:"="===n&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,n=this._current,i=e.length;"`"!==e[this._current]&&this._current<i;){var r=this._current;"\\"!==e[r]||"\\"!==e[r+1]&&"`"!==e[r+1]?r++:r+=2,this._current=r}var o=u(e.slice(n,this._current));return o=o.replace("\\`","`"),t=this._looksLikeJSON(o)?JSON.parse(o):JSON.parse('"'+o+'"'),this._current++,t},_looksLikeJSON:function(e){if(""===e)return!1;if(0<='[{"'.indexOf(e[0]))return!0;if(0<=["true","false","null"].indexOf(e))return!0;if(!(0<="-0123456789".indexOf(e[0])))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var $={EOF:0};$[b]=0,$[_]=0,$[w]=0,$[x]=0,$[A]=0,$[k]=0,$[M]=0,$[S]=0,$[L]=0,$[E]=1,$.Or=2,$.And=3,$.EQ=5,$.GT=5,$.LT=5,$.GTE=5,$.LTE=5,$.NE=5,$[I]=9,$[j]=20,$[O]=21,$.Dot=40,$.Not=45,$[N]=50,$[Y]=55,$[P]=60,a.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"===this._lookahead(0))return t;var n=this._lookaheadToken(0),i=new Error("Unexpected token type: "+n.type+", value: "+n.value);throw i.name="ParserError",i},_loadTokens:function(e){var t=(new s).tokenize(e);t.push({type:"EOF",value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var n=this.nud(t),i=this._lookahead(0);e<$[i];)this._advance(),n=this.led(i,n),i=this._lookahead(0);return n},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,n;switch(e.type){case R:return{type:"Literal",value:e.value};case b:return{type:"Field",name:e.value};case _:var i={type:"Field",name:e.value};if(this._lookahead(0)===P)throw new Error("Quoted identifier not allowed for function names.");return i;case"Not":return{type:"NotExpression",children:[t=this.expression($.Not)]};case j:return t=null,{type:"ValueProjection",children:[{type:"Identity"},t=this._lookahead(0)===w?{type:"Identity"}:this._parseProjectionRHS($.Star)]};case O:return this.led(e.type,{type:"Identity"});case N:return this._parseMultiselectHash();case I:return{type:"Projection",children:[{type:I,children:[{type:"Identity"}]},t=this._parseProjectionRHS($.Flatten)]};case Y:return this._lookahead(0)===M||this._lookahead(0)===C?(t=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},t)):this._lookahead(0)===j&&this._lookahead(1)===w?(this._advance(),this._advance(),{type:"Projection",children:[{type:"Identity"},t=this._parseProjectionRHS($.Star)]}):this._parseMultiselectList();case S:return{type:S};case L:return{type:"ExpressionReference",children:[n=this.expression($.Expref)]};case P:for(var r=[];this._lookahead(0)!==x;)this._lookahead(0)===S?(n={type:S},this._advance()):n=this.expression(0),r.push(n);return this._match(x),r[0];default:this._errorToken(e)}},led:function(e,t){var n;switch(e){case F:var i=$.Dot;return this._lookahead(0)!==j?{type:"Subexpression",children:[t,n=this._parseDotRHS(i)]}:(this._advance(),{type:"ValueProjection",children:[t,n=this._parseProjectionRHS(i)]});case E:return n=this.expression($.Pipe),{type:E,children:[t,n]};case"Or":return{type:"OrExpression",children:[t,n=this.expression($.Or)]};case"And":return{type:"AndExpression",children:[t,n=this.expression($.And)]};case P:for(var r,o=t.name,s=[];this._lookahead(0)!==x;)this._lookahead(0)===S?(r={type:S},this._advance()):r=this.expression(0),this._lookahead(0)===A&&this._match(A),s.push(r);return this._match(x),{type:"Function",name:o,children:s};case O:var a=this.expression(0);return this._match(w),{type:"FilterProjection",children:[t,n=this._lookahead(0)===I?{type:"Identity"}:this._parseProjectionRHS($.Filter),a]};case I:return{type:"Projection",children:[{type:I,children:[t]},this._parseProjectionRHS($.Flatten)]};case"EQ":case"NE":case"GT":case D:case"LT":case T:return this._parseComparator(t,e);case Y:var l=this._lookaheadToken(0);return l.type===M||l.type===C?(n=this._parseIndexExpression(),this._projectIfSlice(t,n)):(this._match(j),this._match(w),{type:"Projection",children:[t,n=this._parseProjectionRHS($.Star)]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)!==e){var t=this._lookaheadToken(0),n=new Error("Expected "+e+", got: "+t.type);throw n.name="ParserError",n}this._advance()},_errorToken:function(e){var t=new Error("Invalid token ("+e.type+'): "'+e.value+'"');throw t.name="ParserError",t},_parseIndexExpression:function(){if(this._lookahead(0)===C||this._lookahead(1)===C)return this._parseSliceExpression();var e={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match(w),e},_projectIfSlice:function(e,t){var n={type:"IndexExpression",children:[e,t]};return"Slice"===t.type?{type:"Projection",children:[n,this._parseProjectionRHS($.Star)]}:n},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,n=this._lookahead(0);n!==w&&t<3;){if(n===C)t++,this._advance();else{if(n!==M){var i=this._lookahead(0),r=new Error("Syntax error, unexpected token: "+i.value+"("+i.type+")");throw r.name="Parsererror",r}e[t]=this._lookaheadToken(0).value,this._advance()}n=this._lookahead(0)}return this._match(w),{type:"Slice",children:e}},_parseComparator:function(e,t){return{type:"Comparator",name:t,children:[e,this.expression($[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);return 0<=[b,_,j].indexOf(t)?this.expression(e):t===Y?(this._match(Y),this._parseMultiselectList()):t===N?(this._match(N),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if($[this._lookahead(0)]<10)t={type:"Identity"};else if(this._lookahead(0)===Y)t=this.expression(e);else if(this._lookahead(0)===O)t=this.expression(e);else{if(this._lookahead(0)!==F){var n=this._lookaheadToken(0),i=new Error("Sytanx error, unexpected token: "+n.value+"("+n.type+")");throw i.name="ParserError",i}this._match(F),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==w;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===A&&(this._match(A),this._lookahead(0)===w))throw new Error("Unexpected token Rbracket")}return this._match(w),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,n,i=[],r=[b,_];;){if(e=this._lookaheadToken(0),r.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match(C),n={type:"KeyValuePair",name:t,value:this.expression(0)},i.push(n),this._lookahead(0)===A)this._match(A);else if(this._lookahead(0)===k){this._match(k);break}}return{type:"MultiSelectHash",children:i}}},l.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,a,l,c,u,d,h,f,p;switch(e.type){case"Field":return null===o?null:n(o)?void 0===(d=o[e.name])?null:d:null;case"Subexpression":for(l=this.visit(e.children[0],o),p=1;p<e.children.length;p++)if(null===(l=this.visit(e.children[1],l)))return null;return l;case"IndexExpression":return h=this.visit(e.children[0],o),this.visit(e.children[1],h);case"Index":if(!t(o))return null;var m=e.value;return m<0&&(m=o.length+m),void 0===(l=o[m])&&(l=null),l;case"Slice":if(!t(o))return null;var g=e.children.slice(0),v=this.computeSliceParams(o.length,g),y=v[0],b=v[1],_=v[2];if(l=[],0<_)for(p=y;p<b;p+=_)l.push(o[p]);else for(p=y;b<p;p+=_)l.push(o[p]);return l;case"Projection":var w=this.visit(e.children[0],o);if(!t(w))return null;for(f=[],p=0;p<w.length;p++)null!==(a=this.visit(e.children[1],w[p]))&&f.push(a);return f;case"ValueProjection":if(!n(w=this.visit(e.children[0],o)))return null;f=[];var x=function(e){for(var t=Object.keys(e),n=[],i=0;i<t.length;i++)n.push(e[t[i]]);return n}(w);for(p=0;p<x.length;p++)null!==(a=this.visit(e.children[1],x[p]))&&f.push(a);return f;case"FilterProjection":if(!t(w=this.visit(e.children[0],o)))return null;var A=[],C=[];for(p=0;p<w.length;p++)r(s=this.visit(e.children[2],w[p]))||A.push(w[p]);for(var k=0;k<A.length;k++)null!==(a=this.visit(e.children[1],A[k]))&&C.push(a);return C;case"Comparator":switch(c=this.visit(e.children[0],o),u=this.visit(e.children[1],o),e.name){case"EQ":l=i(c,u);break;case"NE":l=!i(c,u);break;case"GT":l=u<c;break;case D:l=u<=c;break;case"LT":l=c<u;break;case T:l=c<=u;break;default:throw new Error("Unknown comparator: "+e.name)}return l;case I:var M=this.visit(e.children[0],o);if(!t(M))return null;var j=[];for(p=0;p<M.length;p++)t(a=M[p])?j.push.apply(j,a):j.push(a);return j;case"Identity":return o;case"MultiSelectList":if(null===o)return null;for(f=[],p=0;p<e.children.length;p++)f.push(this.visit(e.children[p],o));return f;case"MultiSelectHash":if(null===o)return null;var O;for(f={},p=0;p<e.children.length;p++)f[(O=e.children[p]).name]=this.visit(O.value,o);return f;case"OrExpression":return r(s=this.visit(e.children[0],o))&&(s=this.visit(e.children[1],o)),s;case"AndExpression":return!0===r(c=this.visit(e.children[0],o))?c:this.visit(e.children[1],o);case"NotExpression":return r(c=this.visit(e.children[0],o));case"Literal":return e.value;case E:return h=this.visit(e.children[0],o),this.visit(e.children[1],h);case S:return o;case"Function":var F=[];for(p=0;p<e.children.length;p++)F.push(this.visit(e.children[p],o));return this.runtime.callFunction(e.name,F);case"ExpressionReference":var N=e.children[0];return N.jmespathType=L,N;default:throw new Error("Unknown node type: "+e.type)}},computeSliceParams:function(e,t){var n=t[0],i=t[1],r=t[2],o=[null,null,null];if(null===r)r=1;else if(0===r){var s=new Error("Invalid slice, step cannot be 0");throw s.name="RuntimeError",s}var a=r<0;return n=null===n?a?e-1:0:this.capSliceRange(e,n,r),i=null===i?a?-1:e:this.capSliceRange(e,i,r),o[0]=n,o[1]=i,o[2]=r,o},capSliceRange:function(e,t,n){return t<0?(t+=e)<0&&(t=n<0?-1:0):e<=t&&(t=n<0?e-1:e),t}},c.prototype={callFunction:function(e,t){var n=this.functionTable[e];if(void 0===n)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,n._signature),n._func.call(this,t)},_validateArgs:function(e,t,n){var i,r,o,s;if(n[n.length-1].variadic){if(t.length<n.length)throw i=1===n.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes at least"+n.length+i+" but received "+t.length)}else if(t.length!==n.length)throw i=1===n.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes "+n.length+i+" but received "+t.length);for(var a=0;a<n.length;a++){s=!1,r=n[a].types,o=this._getTypeName(t[a]);for(var l=0;l<r.length;l++)if(this._typeMatches(o,r[l],t[a])){s=!0;break}if(!s)throw new Error("TypeError: "+e+"() expected argument "+(a+1)+" to be type "+r+" but received type "+o+" instead.")}},_typeMatches:function(e,t,n){if(t===h)return!0;if(t!==y&&t!==v&&t!==p)return e===t;if(t===p)return e===p;if(e===p){var i;t===v?i=d:t===y&&(i=f);for(var r=0;r<n.length;r++)if(!this._typeMatches(this._getTypeName(n[r]),i,n[r]))return!1;return!0}},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return f;case"[object Number]":return d;case"[object Array]":return p;case"[object Boolean]":return 5;case"[object Null]":return 7;case"[object Object]":return e.jmespathType===L?g:m}},_functionStartsWith:function(e){return 0===e[0].lastIndexOf(e[1])},_functionEndsWith:function(e){var t=e[0],n=e[1];return-1!==t.indexOf(n,t.length-n.length)},_functionReverse:function(e){if(this._getTypeName(e[0])===f){for(var t=e[0],n="",i=t.length-1;0<=i;i--)n+=t[i];return n}var r=e[0].slice(0);return r.reverse(),r},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,n=e[0],i=0;i<n.length;i++)t+=n[i];return t/n.length},_functionContains:function(e){return 0<=e[0].indexOf(e[1])},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return n(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],n=this._interpreter,i=e[0],r=e[1],o=0;o<r.length;o++)t.push(n.visit(i,r[o]));return t},_functionMerge:function(e){for(var t={},n=0;n<e.length;n++){var i=e[n];for(var r in i)t[r]=i[r]}return t},_functionMax:function(e){if(0<e[0].length){if(this._getTypeName(e[0][0])===d)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],i=1;i<t.length;i++)n.localeCompare(t[i])<0&&(n=t[i]);return n}return null},_functionMin:function(e){if(0<e[0].length){if(this._getTypeName(e[0][0])===d)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],i=1;i<t.length;i++)t[i].localeCompare(n)<0&&(n=t[i]);return n}return null},_functionSum:function(e){for(var t=0,n=e[0],i=0;i<n.length;i++)t+=n[i];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case d:return"number";case f:return"string";case p:return"array";case m:return"object";case 5:return"boolean";case g:return"expref";case 7:return"null"}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],n=Object.keys(t),i=[],r=0;r<n.length;r++)i.push(t[n[r]]);return i},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===p?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===f?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t,n=this._getTypeName(e[0]);return n===d?e[0]:n!==f||(t=+e[0],isNaN(t))?null:t},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(7!==this._getTypeName(e[t]))return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(0===t.length)return t;var n=this._interpreter,i=e[1],r=this._getTypeName(n.visit(i,t[0]));if([d,f].indexOf(r)<0)throw new Error("TypeError");for(var o=this,s=[],a=0;a<t.length;a++)s.push([a,t[a]]);s.sort(function(e,t){var s=n.visit(i,e[1]),a=n.visit(i,t[1]);if(o._getTypeName(s)!==r)throw new Error("TypeError: expected "+r+", received "+o._getTypeName(s));if(o._getTypeName(a)!==r)throw new Error("TypeError: expected "+r+", received "+o._getTypeName(a));return a<s?1:s<a?-1:e[0]-t[0]});for(var l=0;l<s.length;l++)t[l]=s[l][1];return t},_functionMaxBy:function(e){for(var t,n,i=e[1],r=e[0],o=this.createKeyFunction(i,[d,f]),s=-1/0,a=0;a<r.length;a++)s<(n=o(r[a]))&&(s=n,t=r[a]);return t},_functionMinBy:function(e){for(var t,n,i=e[1],r=e[0],o=this.createKeyFunction(i,[d,f]),s=1/0,a=0;a<r.length;a++)(n=o(r[a]))<s&&(s=n,t=r[a]);return t},createKeyFunction:function(e,t){var n=this,i=this._interpreter;return function(r){var o=i.visit(e,r);if(t.indexOf(n._getTypeName(o))<0){var s="TypeError: expected one of "+t+", received "+n._getTypeName(o);throw new Error(s)}return o}}},e.tokenize=function(e){return(new s).tokenize(e)},e.compile=function(e){return(new a).parse(e)},e.search=function(e,t){var n=new a,i=new c,r=new l(i);i._interpreter=r;var o=n.parse(t);return r.search(o,e)},e.strictDeepEqual=i}(t)},function(e,t,n){"use strict";function i(e,t,n){var i=n?" !== ":" === ",r=n?" || ":" && ",o=n?"!":"",s=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+r+"typeof "+t+i+'"object"'+r+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+r+s+"("+t+" % 1)"+r+t+i+t+")";default:return"typeof "+t+i+'"'+e+'"'}}function r(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}function o(e){return"number"==typeof e?"["+e+"]":h.test(e)?"."+e:"['"+s(e)+"']"}function s(e){return e.replace(f,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function a(e){return"'"+s(e)+"'"}function l(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}function c(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function u(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:i,checkDataTypes:function(e,t){switch(e.length){case 1:return i(e[0],t,!0);default:var n="",o=r(e);for(var s in o.array&&o.object&&(n=o.null?"(":"(!"+t+" || ",n+="typeof "+t+' !== "object")',delete o.null,delete o.array,delete o.object),o.number&&delete o.integer,o)n+=(n?" && ":"")+i(s,t,!0);return n}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],i=0;i<t.length;i++){var r=t[i];d[r]?n[n.length]=r:"array"===e&&"array"===r&&(n[n.length]=r)}if(n.length)return n}else{if(d[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:r,getProperty:o,escapeQuotes:s,equal:n(16),ucs2length:n(44),varOccurences:function(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0},varReplace:function(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")},cleanUpCode:function(e){return e.replace(p,"").replace(m,"").replace(g,"if (!($1))")},finalCleanUpCode:function(e,t){var n=e.match(v);return n&&2==n.length&&(e=t?e.replace(b,"").replace(x,A):e.replace(y,"").replace(_,w)),(n=e.match(C))&&3===n.length?e.replace(k,""):e},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0},schemaHasRulesExcept:function(e,t,n){if("boolean"==typeof e)return!e&&"not"!=n;for(var i in e)if(i!=n&&t[i])return!0},schemaUnknownRules:function(e,t){if("boolean"!=typeof e)for(var n in e)if(!t[n])return n},toQuotedString:a,getPathExpr:function(e,t,n,i){return l(e,n?"'/' + "+t+(i?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):i?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,n){return l(e,a(n?"/"+c(t):o(t)))},getData:function(e,t,n){var i,r,s,a;if(""===e)return"rootData";if("/"==e[0]){if(!M.test(e))throw new Error("Invalid JSON-pointer: "+e);r=e,s="rootData"}else{if(!(a=e.match(S)))throw new Error("Invalid JSON-pointer: "+e);if(i=+a[1],"#"==(r=a[2])){if(t<=i)throw new Error("Cannot access property/index "+i+" levels up, current level is "+t);return n[t-i]}if(t<i)throw new Error("Cannot access data "+i+" levels up, current level is "+t);if(s="data"+(t-i||""),!r)return s}for(var l=s,c=r.split("/"),d=0;d<c.length;d++){var h=c[d];h&&(l+=" && "+(s+=o(u(h))))}return l},unescapeFragment:function(e){return u(decodeURIComponent(e))},unescapeJsonPointer:u,escapeFragment:function(e){return encodeURIComponent(c(e))},escapeJsonPointer:c};var d=r(["string","number","integer","boolean","null"]),h=/^[a-z$_][a-z$_0-9]*$/i,f=/'|\\/g,p=/else\s*{\s*}/g,m=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,g=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g,v=/[^v.]errors/g,y=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,b=/var errors = 0;|var vErrors = null;/g,_="return errors === 0;",w="validate.errors = null; return true;",x=/if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/,A="return data;",C=/[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g,k=/if \(rootData === undefined\) rootData = data;/,M=/^\/(?:[^~]|~0|~1)*$/,S=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/},function(e,t,n){"use strict";function i(e,t,n,i){var r=Array.isArray(t)?Object(a.getChildPaths)(t):[""],l=i&&i.path&&Object(a.contains)(r,i.path)?i.path:r[0],c=i&&i.direction||"asc",u='<div class="pico-modal-contents"><div class="pico-modal-header">'+Object(s.c)("sort")+"</div><form><table><tbody><tr> <td>"+Object(s.c)("sortFieldLabel")+' </td> <td class="jsoneditor-modal-input"> <div class="jsoneditor-select-wrapper"> <select id="field" title="'+Object(s.c)("sortFieldTitle")+'"> </select> </div> </td></tr><tr> <td>'+Object(s.c)("sortDirectionLabel")+' </td> <td class="jsoneditor-modal-input"> <div id="direction" class="jsoneditor-button-group"><input type="button" value="'+Object(s.c)("sortAscending")+'" title="'+Object(s.c)("sortAscendingTitle")+'" data-value="asc" class="jsoneditor-button-first jsoneditor-button-asc"/><input type="button" value="'+Object(s.c)("sortDescending")+'" title="'+Object(s.c)("sortDescendingTitle")+'" data-value="desc" class="jsoneditor-button-last jsoneditor-button-desc"/> </div> </td></tr><tr><td colspan="2" class="jsoneditor-modal-input jsoneditor-modal-actions"> <input type="submit" id="ok" value="'+Object(s.c)("ok")+'" /></td></tr></tbody></table></form></div>';o()({parent:e,content:u,overlayClass:"jsoneditor-modal-overlay",overlayStyles:{backgroundColor:"rgb(1,1,1)",opacity:.3},modalClass:"jsoneditor-modal jsoneditor-modal-sort"}).afterCreate(function(e){function t(e){a.value=e,a.className="jsoneditor-button-group jsoneditor-button-group-value-"+a.value}var i=e.modalElem().querySelector("form"),o=e.modalElem().querySelector("#ok"),s=e.modalElem().querySelector("#field"),a=e.modalElem().querySelector("#direction");r.forEach(function(e){var t=document.createElement("option");t.text=function(e){return""===e?"@":"."===e[0]?e.slice(1):e}(e),t.value=e,s.appendChild(t)}),s.value=l||r[0],t(c||"asc"),a.onclick=function(e){t(e.target.getAttribute("data-value"))},o.onclick=function(t){t.preventDefault(),t.stopPropagation(),e.close(),n({path:s.value,direction:a.value})},i&&(i.onsubmit=o.onclick)}).afterClose(function(e){e.destroy()}).show()}n.d(t,"a",function(){return i});var r=n(13),o=n.n(r),s=n(1),a=n(0)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n(3),r=n(1),o=function(){function e(t,n,o,s){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var a={code:{text:Object(r.c)("modeCodeText"),title:Object(r.c)("modeCodeTitle"),click:function(){s("code")}},form:{text:Object(r.c)("modeFormText"),title:Object(r.c)("modeFormTitle"),click:function(){s("form")}},text:{text:Object(r.c)("modeTextText"),title:Object(r.c)("modeTextTitle"),click:function(){s("text")}},tree:{text:Object(r.c)("modeTreeText"),title:Object(r.c)("modeTreeTitle"),click:function(){s("tree")}},view:{text:Object(r.c)("modeViewText"),title:Object(r.c)("modeViewTitle"),click:function(){s("view")}},preview:{text:Object(r.c)("modePreviewText"),title:Object(r.c)("modePreviewTitle"),click:function(){s("preview")}}},l=[],c=0;c<n.length;c++){var u=n[c],d=a[u];if(!d)throw new Error('Unknown mode "'+u+'"');d.className="jsoneditor-type-modes"+(o===u?" jsoneditor-selected":""),l.push(d)}var h=a[o];if(!h)throw new Error('Unknown mode "'+o+'"');var f=h.text,p=document.createElement("button");p.type="button",p.className="jsoneditor-modes jsoneditor-separator",p.innerHTML=f+" ▾",p.title="Switch editor mode",p.onclick=function(){new i.a(l).show(p,t)};var m=document.createElement("div");m.className="jsoneditor-modes",m.style.position="relative",m.appendChild(p),t.appendChild(m),this.dom={container:t,box:p,frame:m}}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"focus",value:function(){this.dom.box.focus()}},{key:"destroy",value:function(){this.dom&&this.dom.frame&&this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom=null}}]),e}()},function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n,o){return"boolean"==typeof e||e instanceof Boolean||null===e||"number"==typeof e||e instanceof Number||"string"==typeof e||e instanceof String||e instanceof Date?JSON.stringify(e):Array.isArray(e)?function(e,t,n,i){for(var o=t?n+t:void 0,s=t?"[\n":"[",a=0;a<e.length;a++){var l=e[a];if(t&&(s+=o),s+=void 0!==l&&"function"!=typeof l?r(l,t,o,i):"null",a<e.length-1&&(s+=t?",\n":","),s.length>i)return s+"..."}return s+(t?"\n"+n+"]":"]")}(e,t,n,o):e&&"object"===i(e)?function(e,t,n,i){var o,s,a=t?n+t:void 0,l=!0,c=t?"{\n":"{";if("function"==typeof e.toJSON)return r(e.toJSON(),t,n,i);for(var u in e)if(o=e,s=u,Object.prototype.hasOwnProperty.call(o,s)&&(l?l=!1:c+=t?",\n":",",c+=t?a+'"'+u+'": ':'"'+u+'":',(c+=r(e[u],t,a,i)).length>i))return c+"...";return c+(t?"\n"+n+"}":"}")}(e,t,n,o):void 0}function o(e,t,n){var i=t,o='<label class="pico-modal-contents"><div class="pico-modal-header">'+Object(h.c)("transform")+'</div><p>Enter a <a href="http://jmespath.org" target="_blank">JMESPath</a> query to filter, sort, or transform the JSON data.<br/>To learn JMESPath, go to <a href="http://jmespath.org/tutorial.html" target="_blank">the interactive tutorial</a>.</p><div class="jsoneditor-jmespath-label">'+Object(h.c)("transformWizardLabel")+' </div><div id="wizard" class="jsoneditor-jmespath-block jsoneditor-jmespath-wizard"> <table class="jsoneditor-jmespath-wizard-table"> <tbody> <tr> <th>'+Object(h.c)("transformWizardFilter")+'</th> <td class="jsoneditor-jmespath-filter"> <div class="jsoneditor-inline jsoneditor-jmespath-filter-field" > <select id="filterField"> </select> </div> <div class="jsoneditor-inline jsoneditor-jmespath-filter-relation" > <select id="filterRelation"> <option value="==">==</option> <option value="!=">!=</option> <option value="<"><</option> <option value="<="><=</option> <option value=">">></option> <option value=">=">>=</option> </select> </div> <div class="jsoneditor-inline jsoneditor-jmespath-filter-value" > <input placeholder="value..." id="filterValue" /> </div> </td> </tr> <tr> <th>'+Object(h.c)("transformWizardSortBy")+'</th> <td class="jsoneditor-jmespath-filter"> <div class="jsoneditor-inline jsoneditor-jmespath-sort-field"> <select id="sortField"> </select> </div> <div class="jsoneditor-inline jsoneditor-jmespath-sort-order" > <select id="sortOrder"> <option value="asc">Ascending</option> <option value="desc">Descending</option> </select> </div> </td> </tr> <tr id="selectFieldsPart"> <th>'+Object(h.c)("transformWizardSelectFields")+'</th> <td class="jsoneditor-jmespath-filter"> <select class="jsoneditor-jmespath-select-fields" id="selectFields" multiple></select> </td> </tr> </tbody> </table></div><div class="jsoneditor-jmespath-label">'+Object(h.c)("transformQueryLabel")+' </div><div class="jsoneditor-jmespath-block"> <textarea id="query" rows="4" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" title="'+Object(h.c)("transformQueryTitle")+'">[*]</textarea></div><div class="jsoneditor-jmespath-label">'+Object(h.c)("transformPreviewLabel")+' </div><div class="jsoneditor-jmespath-block"> <textarea id="preview" class="jsoneditor-transform-preview" readonly> </textarea></div><div class="jsoneditor-jmespath-block jsoneditor-modal-actions"> <input type="submit" id="ok" value="'+Object(h.c)("ok")+'" autofocus /></div></div>';c()({parent:e,content:o,overlayClass:"jsoneditor-modal-overlay",overlayStyles:{backgroundColor:"rgb(1,1,1)",opacity:.3},modalClass:"jsoneditor-modal jsoneditor-modal-transform",focus:!1}).afterCreate(function(e){function o(e){return""===e?"@":"."===e[0]?e.slice(1):e}function s(){if(h.value&&m.value&&g.value){var e=h.value,t="@"!==e?["0"].concat(Object(f.parsePath)("."+e)):["0"],n="string"==typeof Object(f.get)(i,t)?g.value:Object(f.parseString)(g.value);_.value="[? "+e+" "+m.value+" `"+JSON.stringify(n)+"`]"}else _.value="[*]";if(v.value&&y.value){var r=v.value;"desc"===y.value?_.value+=" | reverse(sort_by(@, &"+r+"))":_.value+=" | sort_by(@, &"+r+")"}if(b.value){for(var o=[],s=0;s<b.options.length;s++)if(b.options[s].selected){var a=b.options[s].value;o.push(a)}"]"!==_.value[_.value.length-1]&&(_.value+=" | [*]"),1===o.length?_.value+="."+o[0]:1<o.length&&(_.value+=".{"+o.map(function(e){var t=e.split(".");return t[t.length-1]+": "+e}).join(", ")+"}")}E()}var l=e.modalElem(),c=l.querySelector("#wizard"),u=l.querySelector("#ok"),h=l.querySelector("#filterField"),m=l.querySelector("#filterRelation"),g=l.querySelector("#filterValue"),v=l.querySelector("#sortField"),y=l.querySelector("#sortOrder"),b=l.querySelector("#selectFields"),_=l.querySelector("#query"),w=l.querySelector("#preview");Array.isArray(i)||(c.style.fontStyle="italic",c.innerHTML="(wizard not available for objects, only for arrays)"),Object(f.getChildPaths)(t).forEach(function(e){var t=o(e),n=document.createElement("option");n.text=t,n.value=t,h.appendChild(n);var i=document.createElement("option");i.text=t,i.value=t,v.appendChild(i)});var x=Object(f.getChildPaths)(t,!0).filter(function(e){return""!==e});if(0<x.length)x.forEach(function(e){var t=o(e),n=document.createElement("option");n.text=t,n.value=t,b.appendChild(n)});else{var A=l.querySelector("#selectFieldsPart");A&&(A.style.display="none")}var C=new d.a(h,{defaultSelected:!1,clearable:!0,allowDeselect:!0,placeholder:"field..."}),k=new d.a(m,{defaultSelected:!1,clearable:!0,allowDeselect:!0,placeholder:"compare..."}),M=new d.a(v,{defaultSelected:!1,clearable:!0,allowDeselect:!0,placeholder:"field..."}),S=new d.a(y,{defaultSelected:!1,clearable:!0,allowDeselect:!0,placeholder:"order..."}),L=new d.a(b,{multiple:!0,clearable:!0,defaultSelected:!1,placeholder:"select fields..."});C.on("selectr.change",s),k.on("selectr.change",s),g.oninput=s,M.on("selectr.change",s),S.on("selectr.change",s),L.on("selectr.change",s),l.querySelector(".pico-modal-contents").onclick=function(e){"A"!==e.target.nodeName&&e.preventDefault()},_.value=Array.isArray(i)?"[*]":"@";var E=Object(f.debounce)(function(){try{var e=a.a.search(i,_.value);w.className="jsoneditor-transform-preview",w.value=function(e,t,n){var i=r(e,function(e,t){for(var n="";0<t--;)n+=e;return n}(" ",2),"",n);return i.length>n?function(e,t){return"number"==typeof t?e.slice(0,t):e}(i,n)+"...":i}(e,0,p.b),u.disabled=!1}catch(e){w.className="jsoneditor-transform-preview jsoneditor-error",w.value=e.toString(),u.disabled=!0}},300);(_.oninput=E)(),u.onclick=function(t){t.preventDefault(),t.stopPropagation(),e.close(),n(_.value)},setTimeout(function(){_.select(),_.focus(),_.selectionStart=3,_.selectionEnd=3})}).afterClose(function(e){e.destroy()}).show()}var s=n(4),a=n.n(s),l=n(13),c=n.n(l),u=n(9),d=n.n(u),h=n(1),f=n(0),p=n(2);n.d(t,"a",function(){return o})},function(e,t,n){"use strict";function i(){}function r(e,t){return e.hasOwnProperty(t)&&(!0===e[t]||e[t].length)}function o(e,t,n){e.parentNode?e.parentNode.parentNode||t.appendChild(e.parentNode):t.appendChild(e),d.removeClass(e,"excluded"),n||(e.innerHTML=e.textContent)}function s(){if(this.items.length){var e=document.createDocumentFragment();if(this.config.pagination){var t=this.pages.slice(0,this.pageIndex);d.each(t,function(t,n){d.each(n,function(t,n){o(n,e,this.customOption)},this)},this)}else d.each(this.items,function(t,n){o(n,e,this.customOption)},this);e.childElementCount&&(d.removeClass(this.items[this.navIndex],"active"),this.navIndex=e.querySelector(".selectr-option").idx,d.addClass(this.items[this.navIndex],"active")),this.tree.appendChild(e)}}function a(e,t){t=t||e;var n=this.customOption?this.config.renderOption(t):e.textContent,i=d.createElement("li",{class:"selectr-option",html:n,role:"treeitem","aria-selected":!1});return i.idx=e.idx,this.items.push(i),e.defaultSelected&&this.defaultSelected.push(e.idx),e.disabled&&(i.disabled=!0,d.addClass(i,"disabled")),i}function l(){(this.config.searchable||this.config.taggable)&&(this.input.value=null,this.searching=!1,this.config.searchable&&d.removeClass(this.inputContainer,"active"),d.hasClass(this.container,"notice")&&(d.removeClass(this.container,"notice"),d.addClass(this.container,"open"),this.input.focus()),d.each(this.items,function(e,t){d.removeClass(t,"excluded"),this.customOption||(t.innerHTML=t.textContent)},this))}function c(e,t){if(t=t||{},!e)throw new Error("You must supply either a HTMLSelectElement or a CSS3 selector string.");if("string"==typeof(this.el=e)&&(this.el=document.querySelector(e)),null===this.el)throw new Error("The element you passed to Selectr can not be found.");if("select"!==this.el.nodeName.toLowerCase())throw new Error("The element you passed to Selectr is not a HTMLSelectElement.");this.render(t)}var u={defaultSelected:!0,width:"auto",disabled:!1,searchable:!0,clearable:!1,sortSelected:!1,allowDeselect:!1,closeOnScroll:!1,nativeDropdown:!1,placeholder:"Select an option...",taggable:!1,tagPlaceholder:"Enter a tag..."};i.prototype={on:function(e,t){this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(t)},off:function(e,t){this._events=this._events||{},e in this._events!=0&&this._events[e].splice(this._events[e].indexOf(t),1)},emit:function(e){if(this._events=this._events||{},e in this._events!=0)for(var t=0;t<this._events[e].length;t++)this._events[e][t].apply(this,Array.prototype.slice.call(arguments,1))}},i.mixin=function(e){for(var t=["on","off","emit"],n=0;n<t.length;n++)"function"==typeof e?e.prototype[t[n]]=i.prototype[t[n]]:e[t[n]]=i.prototype[t[n]];return e};var d={extend:function(e,t){var n;for(n in t=t||{},e)e.hasOwnProperty(n)&&(t.hasOwnProperty(n)||(t[n]=e[n]));return t},each:function(e,t,n){if("[object Object]"===Object.prototype.toString.call(e))for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(n,i,e[i],e);else for(var r=0,o=e.length;r<o;r++)t.call(n,r,e[r],e)},createElement:function(e,t){var n,i=document,r=i.createElement(e);if(t&&"[object Object]"===Object.prototype.toString.call(t))for(n in t)if(n in r)r[n]=t[n];else if("html"===n)r.innerHTML=t[n];else if("text"===n){var o=i.createTextNode(t[n]);r.appendChild(o)}else r.setAttribute(n,t[n]);return r},hasClass:function(e,t){if(e)return e.classList?e.classList.contains(t):!!e.className&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))},addClass:function(e,t){d.hasClass(e,t)||(e.classList?e.classList.add(t):e.className=e.className.trim()+" "+t)},removeClass:function(e,t){d.hasClass(e,t)&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," "))},closest:function(e,t){return e&&e!==document.body&&(t(e)?e:d.closest(e.parentNode,t))},isInt:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},debounce:function(e,t,n){var i;return function(){var r=this,o=arguments,s=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(r,o)},t),s&&e.apply(r,o)}},rect:function(e,t){var n=window,i=e.getBoundingClientRect(),r=t?n.pageXOffset:0,o=t?n.pageYOffset:0;return{bottom:i.bottom+o,height:i.height,left:i.left+r,right:i.right+r,top:i.top+o,width:i.width}},includes:function(e,t){return-1<e.indexOf(t)},truncate:function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}},h=function(){var e=this.tree,t=e.scrollTop;if(e.scrollHeight-e.offsetHeight<=t&&this.pageIndex<this.pages.length){var n=document.createDocumentFragment();d.each(this.pages[this.pageIndex],function(e,t){o(t,n,this.customOption)},this),e.appendChild(n),this.pageIndex++,this.emit("selectr.paginate",{items:this.items.length,total:this.data.length,page:this.pageIndex,pages:this.pages.length})}};c.prototype.render=function(e){if(!this.rendered){this.config=d.extend(u,e),this.originalType=this.el.type,this.originalIndex=this.el.tabIndex,this.defaultSelected=[],this.originalOptionCount=this.el.options.length,(this.config.multiple||this.config.taggable)&&(this.el.multiple=!0),this.disabled=r(this.config,"disabled"),this.opened=!1,this.config.taggable&&(this.config.searchable=!1),this.navigating=!1,this.mobileDevice=!1,/Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(navigator.userAgent)&&(this.mobileDevice=!0),this.customOption=this.config.hasOwnProperty("renderOption")&&"function"==typeof this.config.renderOption,this.customSelected=this.config.hasOwnProperty("renderSelection")&&"function"==typeof this.config.renderSelection,i.mixin(this),function(){this.requiresPagination=this.config.pagination&&0<this.config.pagination,r(this.config,"width")&&(d.isInt(this.config.width)?this.width=this.config.width+"px":"auto"===this.config.width?this.width="100%":d.includes(this.config.width,"%")&&(this.width=this.config.width)),this.container=d.createElement("div",{class:"selectr-container"}),this.config.customClass&&d.addClass(this.container,this.config.customClass),this.mobileDevice?d.addClass(this.container,"selectr-mobile"):d.addClass(this.container,"selectr-desktop"),this.el.tabIndex=-1,this.config.nativeDropdown||this.mobileDevice?d.addClass(this.el,"selectr-visible"):d.addClass(this.el,"selectr-hidden"),this.selected=d.createElement("div",{class:"selectr-selected",disabled:this.disabled,tabIndex:1,"aria-expanded":!1}),this.label=d.createElement(this.el.multiple?"ul":"span",{class:"selectr-label"});var e=d.createElement("div",{class:"selectr-options-container"});if(this.tree=d.createElement("ul",{class:"selectr-options",role:"tree","aria-hidden":!0,"aria-expanded":!1}),this.notice=d.createElement("div",{class:"selectr-notice"}),this.el.setAttribute("aria-hidden",!0),this.disabled&&(this.el.disabled=!0),this.el.multiple&&(d.addClass(this.label,"selectr-tags"),d.addClass(this.container,"multiple"),this.tags=[],this.selectedValues=this.getSelectedProperties("value"),this.selectedIndexes=this.getSelectedProperties("idx")),this.selected.appendChild(this.label),this.config.clearable&&(this.selectClear=d.createElement("button",{class:"selectr-clear",type:"button"}),this.container.appendChild(this.selectClear),d.addClass(this.container,"clearable")),this.config.taggable){var t=d.createElement("li",{class:"input-tag"});this.input=d.createElement("input",{class:"selectr-tag-input",placeholder:this.config.tagPlaceholder,tagIndex:0,autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",role:"textbox",type:"search"}),t.appendChild(this.input),this.label.appendChild(t),d.addClass(this.container,"taggable"),this.tagSeperators=[","],this.config.tagSeperators&&(this.tagSeperators=this.tagSeperators.concat(this.config.tagSeperators))}this.config.searchable&&(this.input=d.createElement("input",{class:"selectr-input",tagIndex:-1,autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",role:"textbox",type:"search"}),this.inputClear=d.createElement("button",{class:"selectr-input-clear",type:"button"}),this.inputContainer=d.createElement("div",{class:"selectr-input-container"}),this.inputContainer.appendChild(this.input),this.inputContainer.appendChild(this.inputClear),e.appendChild(this.inputContainer)),e.appendChild(this.notice),e.appendChild(this.tree),this.items=[],this.options=[],this.el.options.length&&(this.options=[].slice.call(this.el.options));var n,i=!1,o=0;if(this.el.children.length&&d.each(this.el.children,function(e,t){"OPTGROUP"===t.nodeName?(i=d.createElement("ul",{class:"selectr-optgroup",role:"group",html:"<li class='selectr-optgroup--label'>"+t.label+"</li>"}),d.each(t.children,function(e,t){t.idx=o,i.appendChild(a.call(this,t,i)),o++},this)):(t.idx=o,a.call(this,t),o++)},this),this.config.data&&Array.isArray(this.config.data)){var s,l=!(this.data=[]);i=!1,o=0,d.each(this.config.data,function(e,t){r(t,"children")?(l=d.createElement("optgroup",{label:t.text}),i=d.createElement("ul",{class:"selectr-optgroup",role:"group",html:"<li class='selectr-optgroup--label'>"+t.text+"</li>"}),d.each(t.children,function(e,t){(s=new Option(t.text,t.value,!1,t.hasOwnProperty("selected")&&!0===t.selected)).disabled=r(t,"disabled"),this.options.push(s),l.appendChild(s),s.idx=o,i.appendChild(a.call(this,s,t)),this.data[o]=t,o++},this)):((s=new Option(t.text,t.value,!1,t.hasOwnProperty("selected")&&!0===t.selected)).disabled=r(t,"disabled"),this.options.push(s),s.idx=o,a.call(this,s,t),this.data[o]=t,o++)},this)}this.setSelected(!0);for(var c=this.navIndex=0;c<this.items.length;c++)if(n=this.items[c],!d.hasClass(n,"disabled")){d.addClass(n,"active"),this.navIndex=c;break}this.requiresPagination&&(this.pageIndex=1,this.paginate()),this.container.appendChild(this.selected),this.container.appendChild(e),this.placeEl=d.createElement("div",{class:"selectr-placeholder"}),this.setPlaceholder(),this.selected.appendChild(this.placeEl),this.disabled&&this.disable(),this.el.parentNode.insertBefore(this.container,this.el),this.container.appendChild(this.el)}.call(this),this.bindEvents(),this.update(),this.optsRect=d.rect(this.tree),this.rendered=!0,this.el.multiple||(this.el.selectedIndex=this.selectedIndex);var t=this;setTimeout(function(){t.emit("selectr.init")},20)}},c.prototype.getSelected=function(){return this.el.querySelectorAll("option:checked")},c.prototype.getSelectedProperties=function(e){var t=this.getSelected();return[].slice.call(t).map(function(t){return t[e]}).filter(function(e){return null!=e})},c.prototype.bindEvents=function(){var e=this;this.events={},this.events.dismiss=function(e){var t=e.target;this.container.contains(t)||!this.opened&&!d.hasClass(this.container,"notice")||this.close()}.bind(this),this.events.navigate=function(e){if(e=e||window.event,this.items.length&&this.opened&&d.includes([13,38,40],e.which)){if(e.preventDefault(),13===e.which)return!(this.config.taggable&&0<this.input.value.length)&&this.change(this.navIndex);var t,n=this.items[this.navIndex];switch(e.which){case 38:(t=0)<this.navIndex&&this.navIndex--;break;case 40:t=1,this.navIndex<this.items.length-1&&this.navIndex++}for(this.navigating=!0;d.hasClass(this.items[this.navIndex],"disabled")||d.hasClass(this.items[this.navIndex],"excluded");)if(t?this.navIndex++:this.navIndex--,this.searching){if(this.navIndex>this.tree.lastElementChild.idx){this.navIndex=this.tree.lastElementChild.idx;break}if(this.navIndex<this.tree.firstElementChild.idx){this.navIndex=this.tree.firstElementChild.idx;break}}var i=d.rect(this.items[this.navIndex]);t?(0===this.navIndex?this.tree.scrollTop=0:i.top+i.height>this.optsRect.top+this.optsRect.height&&(this.tree.scrollTop=this.tree.scrollTop+(i.top+i.height-(this.optsRect.top+this.optsRect.height))),this.navIndex===this.tree.childElementCount-1&&this.requiresPagination&&h.call(this)):0===this.navIndex?this.tree.scrollTop=0:i.top-this.optsRect.top<0&&(this.tree.scrollTop=this.tree.scrollTop+(i.top-this.optsRect.top)),n&&d.removeClass(n,"active"),d.addClass(this.items[this.navIndex],"active")}else this.navigating=!1}.bind(this),this.events.reset=this.reset.bind(this),(this.config.nativeDropdown||this.mobileDevice)&&(this.container.addEventListener("touchstart",function(t){t.changedTouches[0].target===e.el&&e.toggle()}),(this.config.nativeDropdown||this.mobileDevice)&&this.container.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation(),t.target===e.el&&e.toggle()}),this.el.addEventListener("change",function(t){if(e.el.multiple){var n=e.getSelectedProperties("idx"),i=function(e,t){for(var n,i=[],r=e.slice(0),o=0;o<t.length;o++)-1<(n=r.indexOf(t[o]))?r.splice(n,1):i.push(t[o]);return[i,r]}(e.selectedIndexes,n);d.each(i[0],function(t,n){e.select(n)},e),d.each(i[1],function(t,n){e.deselect(n)},e)}else-1<e.el.selectedIndex&&e.select(e.el.selectedIndex)})),this.config.nativeDropdown&&this.container.addEventListener("keydown",function(t){"Enter"===t.key&&e.selected===document.activeElement&&(e.toggle(),setTimeout(function(){e.el.focus()},200))}),this.selected.addEventListener("click",function(t){e.disabled||e.toggle(),t.preventDefault(),t.stopPropagation()}),this.label.addEventListener("click",function(t){d.hasClass(t.target,"selectr-tag-remove")&&e.deselect(t.target.parentNode.idx)}),this.selectClear&&this.selectClear.addEventListener("click",this.clear.bind(this)),this.tree.addEventListener("mousedown",function(e){e.preventDefault()}),this.tree.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation();var n=d.closest(t.target,function(e){return e&&d.hasClass(e,"selectr-option")});n&&(d.hasClass(n,"disabled")||(d.hasClass(n,"selected")?(e.el.multiple||!e.el.multiple&&e.config.allowDeselect)&&e.deselect(n.idx):e.select(n.idx),e.opened&&!e.el.multiple&&e.close()))}),this.tree.addEventListener("mouseover",function(t){d.hasClass(t.target,"selectr-option")&&(d.hasClass(t.target,"disabled")||(d.removeClass(e.items[e.navIndex],"active"),d.addClass(t.target,"active"),e.navIndex=[].slice.call(e.items).indexOf(t.target)))}),this.config.searchable&&(this.input.addEventListener("focus",function(t){e.searching=!0}),this.input.addEventListener("blur",function(t){e.searching=!1}),this.input.addEventListener("keyup",function(t){e.search(),e.config.taggable||(this.value.length?d.addClass(this.parentNode,"active"):d.removeClass(this.parentNode,"active"))}),this.inputClear.addEventListener("click",function(t){e.input.value=null,l.call(e),e.tree.childElementCount||s.call(e)})),this.config.taggable&&this.input.addEventListener("keyup",function(t){if(e.search(),e.config.taggable&&this.value.length){var n=this.value.trim();(13===t.which||d.includes(e.tagSeperators,t.key))&&(d.each(e.tagSeperators,function(e,t){n=n.replace(t,"")}),e.add({value:n,text:n,selected:!0},!0)?(e.close(),l.call(e)):(this.value="",e.setMessage("That tag is already in use.")))}}),this.update=d.debounce(function(){e.opened&&e.config.closeOnScroll&&e.close(),e.width&&(e.container.style.width=e.width),e.invert()},50),this.requiresPagination&&(this.paginateItems=d.debounce(function(){h.call(this)},50),this.tree.addEventListener("scroll",this.paginateItems.bind(this))),document.addEventListener("click",this.events.dismiss),window.addEventListener("keydown",this.events.navigate),window.addEventListener("resize",this.update),window.addEventListener("scroll",this.update),this.el.form&&this.el.form.addEventListener("reset",this.events.reset)},c.prototype.setSelected=function(e){if(this.config.data||this.el.multiple||!this.el.options.length||(0===this.el.selectedIndex&&(this.el.options[0].defaultSelected||this.config.defaultSelected||(this.el.selectedIndex=-1)),this.selectedIndex=this.el.selectedIndex,-1<this.selectedIndex&&this.select(this.selectedIndex)),this.config.multiple&&"select-one"===this.originalType&&!this.config.data&&this.el.options[0].selected&&!this.el.options[0].defaultSelected&&(this.el.options[0].selected=!1),d.each(this.options,function(e,t){t.selected&&t.defaultSelected&&this.select(t.idx)},this),this.config.selectedValue&&this.setValue(this.config.selectedValue),this.config.data){!this.el.multiple&&this.config.defaultSelected&&this.el.selectedIndex<0&&this.select(0);var t=0;d.each(this.config.data,function(e,n){r(n,"children")?d.each(n.children,function(e,n){n.hasOwnProperty("selected")&&!0===n.selected&&this.select(t),t++},this):(n.hasOwnProperty("selected")&&!0===n.selected&&this.select(t),t++)},this)}},c.prototype.destroy=function(){this.rendered&&(this.emit("selectr.destroy"),"select-one"===this.originalType&&(this.el.multiple=!1),this.config.data&&(this.el.innerHTML=""),d.removeClass(this.el,"selectr-hidden"),this.el.form&&d.off(this.el.form,"reset",this.events.reset),d.off(document,"click",this.events.dismiss),d.off(document,"keydown",this.events.navigate),d.off(window,"resize",this.update),d.off(window,"scroll",this.update),this.container.parentNode.replaceChild(this.el,this.container),this.rendered=!1)},c.prototype.change=function(e){var t=this.items[e],n=this.options[e];n.disabled||(n.selected&&d.hasClass(t,"selected")?this.deselect(e):this.select(e),this.opened&&!this.el.multiple&&this.close())},c.prototype.select=function(e){var t=this.items[e],n=[].slice.call(this.el.options),i=this.options[e];if(this.el.multiple){if(d.includes(this.selectedIndexes,e))return!1;if(this.config.maxSelections&&this.tags.length===this.config.maxSelections)return this.setMessage("A maximum of "+this.config.maxSelections+" items can be selected.",!0),!1;this.selectedValues.push(i.value),this.selectedIndexes.push(e),function(e){var t,n=this,i=document.createDocumentFragment(),r=this.options[e.idx],o=this.data?this.data[e.idx]:r,s=this.customSelected?this.config.renderSelection(o):r.textContent,a=d.createElement("li",{class:"selectr-tag",html:s}),l=d.createElement("button",{class:"selectr-tag-remove",type:"button"});if(a.appendChild(l),a.idx=e.idx,a.tag=r.value,this.tags.push(a),this.config.sortSelected){var c=this.tags.slice();t=function(e,t){e.replace(/(\d+)|(\D+)/g,function(e,n,i){t.push([n||1/0,i||""])})},c.sort(function(e,i){var r,o,s=[],a=[];for(!0===n.config.sortSelected?(r=e.tag,o=i.tag):"text"===n.config.sortSelected&&(r=e.textContent,o=i.textContent),t(r,s),t(o,a);s.length&&a.length;){var l=s.shift(),c=a.shift(),u=l[0]-c[0]||l[1].localeCompare(c[1]);if(u)return u}return s.length-a.length}),d.each(c,function(e,t){i.appendChild(t)}),this.label.innerHTML=""}else i.appendChild(a);this.config.taggable?this.label.insertBefore(i,this.input.parentNode):this.label.appendChild(i)}.call(this,t)}else{var r=this.data?this.data[e]:i;this.label.innerHTML=this.customSelected?this.config.renderSelection(r):i.textContent,this.selectedValue=i.value,this.selectedIndex=e,d.each(this.options,function(t,n){var i=this.items[t];t!==e&&(i&&d.removeClass(i,"selected"),n.selected=!1,n.removeAttribute("selected"))},this)}d.includes(n,i)||this.el.add(i),t.setAttribute("aria-selected",!0),d.addClass(t,"selected"),d.addClass(this.container,"has-selected"),i.selected=!0,i.setAttribute("selected",""),this.emit("selectr.change",i),this.emit("selectr.select",i)},c.prototype.deselect=function(e,t){var n=this.items[e],i=this.options[e];if(this.el.multiple){var r=this.selectedIndexes.indexOf(e);this.selectedIndexes.splice(r,1);var o=this.selectedValues.indexOf(i.value);this.selectedValues.splice(o,1),function(e){var t=!1;d.each(this.tags,function(n,i){i.idx===e.idx&&(t=i)},this),t&&(this.label.removeChild(t),this.tags.splice(this.tags.indexOf(t),1))}.call(this,n),this.tags.length||d.removeClass(this.container,"has-selected")}else{if(!t&&!this.config.clearable&&!this.config.allowDeselect)return!1;this.label.innerHTML="",this.selectedValue=null,this.el.selectedIndex=this.selectedIndex=-1,d.removeClass(this.container,"has-selected")}this.items[e].setAttribute("aria-selected",!1),d.removeClass(this.items[e],"selected"),i.selected=!1,i.removeAttribute("selected"),this.emit("selectr.change",null),this.emit("selectr.deselect",i)},c.prototype.setValue=function(e){var t=Array.isArray(e);if(t||(e=e.toString().trim()),!this.el.multiple&&t)return!1;d.each(this.options,function(n,i){(t&&d.includes(e.toString(),i.value)||i.value===e)&&this.change(i.idx)},this)},c.prototype.getValue=function(e,t){var n;if(this.el.multiple)e?this.selectedIndexes.length&&(n={values:[]},d.each(this.selectedIndexes,function(e,t){var i=this.options[t];n.values[e]={value:i.value,text:i.textContent}},this)):n=this.selectedValues.slice();else if(e){var i=this.options[this.selectedIndex];n={value:i.value,text:i.textContent}}else n=this.selectedValue;return e&&t&&(n=JSON.stringify(n)),n},c.prototype.add=function(e,t){if(e){if(this.data=this.data||[],this.items=this.items||[],this.options=this.options||[],Array.isArray(e))d.each(e,function(e,n){this.add(n,t)},this);else if("[object Object]"===Object.prototype.toString.call(e)){if(t){var n=!1;if(d.each(this.options,function(t,i){i.value.toLowerCase()===e.value.toLowerCase()&&(n=!0)}),n)return!1}var i=d.createElement("option",e);return this.data.push(e),this.options.push(i),i.idx=0<this.options.length?this.options.length-1:0,a.call(this,i),e.selected&&this.select(i.idx),i}return this.setPlaceholder(),this.config.pagination&&this.paginate(),!0}},c.prototype.remove=function(e){var t,n=[];Array.isArray(e)?d.each(e,function(t,i){d.isInt(i)?n.push(this.getOptionByIndex(i)):"string"==typeof e&&n.push(this.getOptionByValue(i))},this):d.isInt(e)?n.push(this.getOptionByIndex(e)):"string"==typeof e&&n.push(this.getOptionByValue(e)),n.length&&(d.each(n,function(e,n){t=n.idx,this.el.remove(n),this.options.splice(t,1);var i=this.items[t].parentNode;i&&i.removeChild(this.items[t]),this.items.splice(t,1),d.each(this.options,function(e,t){t.idx=e,this.items[e].idx=e},this)},this),this.setPlaceholder(),this.config.pagination&&this.paginate())},c.prototype.removeAll=function(){this.clear(!0),d.each(this.el.options,function(e,t){this.el.remove(t)},this),d.truncate(this.tree),this.items=[],this.options=[],this.data=[],this.navIndex=0,this.requiresPagination&&(this.requiresPagination=!1,this.pageIndex=1,this.pages=[]),this.setPlaceholder()},c.prototype.search=function(e){if(!this.navigating){e=e||this.input.value;var t=document.createDocumentFragment();if(this.removeMessage(),d.truncate(this.tree),1<e.length)if(d.each(this.options,function(n,i){var r=this.items[i.idx];d.includes(i.textContent.toLowerCase(),e.toLowerCase())&&!i.disabled?(o(r,t,this.customOption),d.removeClass(r,"excluded"),this.customOption||(r.innerHTML=function(e,t){var n=new RegExp(e,"i").exec(t.textContent);return!!n&&t.textContent.replace(n[0],"<span class='selectr-match'>"+n[0]+"</span>")}(e,i))):d.addClass(r,"excluded")},this),t.childElementCount){var n=this.items[this.navIndex],i=t.firstElementChild;d.removeClass(n,"active"),this.navIndex=i.idx,d.addClass(i,"active")}else this.config.taggable||this.setMessage("no results.");else s.call(this);this.tree.appendChild(t)}},c.prototype.toggle=function(){this.disabled||(this.opened?this.close():this.open())},c.prototype.open=function(){var e=this;return!!this.options.length&&(this.opened||this.emit("selectr.open"),this.opened=!0,this.mobileDevice||this.config.nativeDropdown?(d.addClass(this.container,"native-open"),void(this.config.data&&d.each(this.options,function(e,t){this.el.add(t)},this))):(d.addClass(this.container,"open"),s.call(this),this.invert(),this.tree.scrollTop=0,d.removeClass(this.container,"notice"),this.selected.setAttribute("aria-expanded",!0),this.tree.setAttribute("aria-hidden",!1),this.tree.setAttribute("aria-expanded",!0),void(this.config.searchable&&!this.config.taggable&&setTimeout(function(){e.input.focus(),e.input.tabIndex=0},10))))},c.prototype.close=function(){if(this.opened&&this.emit("selectr.close"),this.opened=!1,this.mobileDevice||this.config.nativeDropdown)d.removeClass(this.container,"native-open");else{var e=d.hasClass(this.container,"notice");this.config.searchable&&!e&&(this.input.blur(),this.input.tabIndex=-1,this.searching=!1),e&&(d.removeClass(this.container,"notice"),this.notice.textContent=""),d.removeClass(this.container,"open"),d.removeClass(this.container,"native-open"),this.selected.setAttribute("aria-expanded",!1),this.tree.setAttribute("aria-hidden",!0),this.tree.setAttribute("aria-expanded",!1),d.truncate(this.tree),l.call(this)}},c.prototype.enable=function(){this.disabled=!1,this.el.disabled=!1,this.selected.tabIndex=this.originalIndex,this.el.multiple&&d.each(this.tags,function(e,t){t.lastElementChild.tabIndex=0}),d.removeClass(this.container,"selectr-disabled")},c.prototype.disable=function(e){e||(this.el.disabled=!0),this.selected.tabIndex=-1,this.el.multiple&&d.each(this.tags,function(e,t){t.lastElementChild.tabIndex=-1}),this.disabled=!0,d.addClass(this.container,"selectr-disabled")},c.prototype.reset=function(){this.disabled||(this.clear(),this.setSelected(!0),d.each(this.defaultSelected,function(e,t){this.select(t)},this),this.emit("selectr.reset"))},c.prototype.clear=function(e){if(this.el.multiple){if(this.selectedIndexes.length){var t=this.selectedIndexes.slice();d.each(t,function(e,t){this.deselect(t)},this)}}else-1<this.selectedIndex&&this.deselect(this.selectedIndex,e);this.emit("selectr.clear")},c.prototype.serialise=function(e){var t=[];return d.each(this.options,function(e,n){var i={value:n.value,text:n.textContent};n.selected&&(i.selected=!0),n.disabled&&(i.disabled=!0),t[e]=i}),e?JSON.stringify(t):t},c.prototype.serialize=function(e){return this.serialise(e)},c.prototype.setPlaceholder=function(e){e=e||this.config.placeholder||this.el.getAttribute("placeholder"),this.options.length||(e="No options available"),this.placeEl.innerHTML=e},c.prototype.paginate=function(){if(this.items.length){var e=this;return this.pages=this.items.map(function(t,n){return n%e.config.pagination==0?e.items.slice(n,n+e.config.pagination):null}).filter(function(e){return e}),this.pages}},c.prototype.setMessage=function(e,t){t&&this.close(),d.addClass(this.container,"notice"),this.notice.textContent=e},c.prototype.removeMessage=function(){d.removeClass(this.container,"notice"),this.notice.innerHTML=""},c.prototype.invert=function(){var e=d.rect(this.selected),t=this.tree.parentNode.offsetHeight,n=window.innerHeight;e.top+e.height+t>n?(d.addClass(this.container,"inverted"),this.isInverted=!0):(d.removeClass(this.container,"inverted"),this.isInverted=!1),this.optsRect=d.rect(this.tree)},c.prototype.getOptionByIndex=function(e){return this.options[e]},c.prototype.getOptionByValue=function(e){for(var t=!1,n=0,i=this.options.length;n<i;n++)if(this.options[n].value.trim()===e.toString().trim()){t=this.options[n];break}return t},e.exports=c},function(e,t){e.exports=function e(t,n){"use strict";function i(t){return e.insensitive&&(""+t).toLowerCase()||""+t}var r,o,s=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,l=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,c=/^0x[0-9a-f]+$/i,u=/^0/,d=i(t).replace(a,"")||"",h=i(n).replace(a,"")||"",f=d.replace(s,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=h.replace(s,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(d.match(c),16)||1!==f.length&&d.match(l)&&Date.parse(d),g=parseInt(h.match(c),16)||m&&h.match(l)&&Date.parse(h)||null;if(g){if(m<g)return-1;if(g<m)return 1}for(var v=0,y=Math.max(f.length,p.length);v<y;v++){if(r=!(f[v]||"").match(u)&&parseFloat(f[v])||f[v]||0,o=!(p[v]||"").match(u)&&parseFloat(p[v])||p[v]||0,isNaN(r)!==isNaN(o))return isNaN(r)?1:-1;if(typeof r!=typeof o&&(r+="",o+=""),r<o)return-1;if(o<r)return 1}return 0}},function(e,t,n){"use strict";function i(e,t,n){function i(){if(d&&d.parentNode){for(var t in d.parentNode.removeChild(d),l)if(o=l,s=t,Object.prototype.hasOwnProperty.call(o,s)){var i=l[t];i&&Object(r.removeEventListener)(a,t,i),delete l[t]}"function"==typeof n&&n(e)}var o,s}function o(e){!function(e){return e!==d&&!Object(r.isChildOf)(e,d)}(e.target)||i()}var s=3<arguments.length&&void 0!==arguments[3]&&arguments[3],a=function(e){return"function"==typeof e.getRootNode?e.getRootNode():window}(e),l={},c=e.getBoundingClientRect(),u=t.getBoundingClientRect(),d=document.createElement("div");if(d.className="jsoneditor-anchor",d.style.position="absolute",d.style.left=c.left-u.left+"px",d.style.top=c.top-u.top+"px",d.style.width=c.width-2+"px",d.style.height=c.height-2+"px",d.style.boxSizing="border-box",t.appendChild(d),l.mousedown=Object(r.addEventListener)(a,"mousedown",o),l.mousewheel=Object(r.addEventListener)(a,"mousewheel",o),s){var h=null;d.onmouseover=function(){clearTimeout(h),h=null},d.onmouseout=function(){h=h||setTimeout(i,200)}}return d.destroy=i,d}n.d(t,"a",function(){return i});var r=n(0)},function(e,t,n){var i;if(window.Picker)i=window.Picker;else try{i=n(38)}catch(e){}e.exports=i},function(e,t,n){var i,r,o;!function(){"use strict";r=[],void 0===(o="function"==typeof(i=function(){function e(e){return"object"==typeof Node?e instanceof Node:e&&"object"==typeof e&&"number"==typeof e.nodeType}function t(){var e=[];return{watch:e.push.bind(e),trigger:function(t,n){for(var i=!0,r={detail:n,preventDefault:function(){i=!1}},o=0;o<e.length;o++)e[o](t,r);return i}}}function n(e){return"none"===window.getComputedStyle(e).display}function i(e){this.elem=e}function r(e){return function(){return e().elem}}i.make=function(e,t){"string"==typeof e&&(e=document.querySelector(e));var n=document.createElement(t||"div");return(e||document.body).appendChild(n),new i(n)},i.prototype={child:function(e){return i.make(this.elem,e)},stylize:function(e){for(var t in void 0!==(e=e||{}).opacity&&(e.filter="alpha(opacity="+100*e.opacity+")"),e)e.hasOwnProperty(t)&&(this.elem.style[t]=e[t]);return this},clazz:function(e){return this.elem.className+=" "+e,this},html:function(t){return e(t)?this.elem.appendChild(t):this.elem.innerHTML=t,this},onClick:function(e){return this.elem.addEventListener("click",e),this},destroy:function(){this.elem.parentNode.removeChild(this.elem)},hide:function(){this.elem.style.display="none"},show:function(){this.elem.style.display="block"},attr:function(e,t){return void 0!==t&&this.elem.setAttribute(e,t),this},anyAncestor:function(e){for(var t=this.elem;t;){if(e(new i(t)))return!0;t=t.parentNode}return!1},isVisible:function(){return!n(this.elem)}};var o=1,s=t(),a=t();return document.documentElement.addEventListener("keydown",function(e){var t=e.which||e.keyCode;27===t?s.trigger():9===t&&a.trigger(e)}),function(l){function c(e,t){var n=l[e];return"function"==typeof n&&(n=n(t)),void 0===n?t:n}function u(e){x().hide(),w().hide(),_.trigger(p,e)}function d(e){b.trigger(p,e)&&u(e)}function h(e){return function(){return e.apply(this,arguments),p}}function f(e,t){if(!m){var n=function(e,t){var n=e("width","auto");"number"==typeof n&&(n+="px");var r=e("modalId","pico-"+o++);return i.make(e("parent")).clazz("pico-content").clazz(e("modalClass","")).stylize({display:"none",position:"fixed",zIndex:10001,left:"50%",top:"38.1966%",maxHeight:"90%",boxSizing:"border-box",width:n,"-ms-transform":"translate(-50%,-38.1966%)","-moz-transform":"translate(-50%,-38.1966%)","-webkit-transform":"translate(-50%,-38.1966%)","-o-transform":"translate(-50%,-38.1966%)",transform:"translate(-50%,-38.1966%)"}).stylize(e("modalStyles",{overflow:"auto",backgroundColor:"white",padding:"20px",borderRadius:"5px"})).html(e("content")).attr("id",r).attr("role","dialog").attr("aria-labelledby",e("ariaLabelledBy")).attr("aria-describedby",e("ariaDescribedBy",r)).onClick(function(e){new i(e.target).anyAncestor(function(e){return/\bpico-close\b/.test(e.elem.className)})&&t()})}(c,d);m={modal:n,overlay:function(e,t){return i.make(e("parent")).clazz("pico-overlay").clazz(e("overlayClass","")).stylize({display:"none",position:"fixed",top:"0px",left:"0px",height:"100%",width:"100%",zIndex:1e4}).stylize(e("overlayStyles",{opacity:.5,background:"#000"})).onClick(function(){e("overlayClose",!0)&&t()})}(c,d),close:function(e,t){if(t("closeButton",!0))return e.child("button").html(t("closeHtml","×")).clazz("pico-close").clazz(t("closeClass","")).stylize(t("closeStyles",{borderRadius:"2px",border:0,padding:0,cursor:"pointer",height:"15px",width:"15px",position:"absolute",top:"5px",right:"5px",fontSize:"16px",textAlign:"center",lineHeight:"15px",background:"#CCC"})).attr("aria-label",t("close-label","Close"))}(n,c)},g.trigger(p,t)}return m[e]}("string"==typeof l||e(l))&&(l={content:l});var p,m,g=t(),v=t(),y=t(),b=t(),_=t(),w=f.bind(window,"modal"),x=f.bind(window,"overlay"),A=f.bind(window,"close");return function(e,t){function i(e,t){return(e.msMatchesSelector||e.webkitMatchesSelector||e.matches).call(e,t)}function r(e){return!(n(e)||i(e,":disabled")||e.hasAttribute("contenteditable"))&&(e.hasAttribute("tabindex")||i(e,"input,select,textarea,button,a[href],area[href],iframe"))}function o(e){for(var t=e.getElementsByTagName("*"),n=0;n<t.length;n++)if(r(t[n]))return t[n]}var s;e.beforeShow(function(){s=document.activeElement}),e.afterShow(function(){if(t()){var n=o(e.modalElem());n&&n.focus()}}),e.afterClose(function(){t()&&s&&s.focus(),s=null}),a.watch(function(n){if(t()&&e.isVisible()){var i=o(e.modalElem()),s=function(e){for(var t=e.getElementsByTagName("*"),n=t.length;n--;)if(r(t[n]))return t[n]}(e.modalElem());(n.shiftKey?i:s)===document.activeElement&&((n.shiftKey?s:i).focus(),n.preventDefault())}})}(p={modalElem:r(w),closeElem:r(A),overlayElem:r(x),buildDom:h(f.bind(null,null)),isVisible:function(){return!!(m&&w&&w().isVisible())},show:function(e){return v.trigger(p,e)&&(x().show(),A(),w().show(),y.trigger(p,e)),this},close:h(d),forceClose:h(u),destroy:function(){w().destroy(),x().destroy(),x=w=A=void 0},options:function(e){Object.keys(e).map(function(t){l[t]=e[t]})},afterCreate:h(g.watch),beforeShow:h(v.watch),afterShow:h(y.watch),beforeClose:h(b.watch),afterClose:h(_.watch)},c.bind(null,"focus",!0)),function(e,t){var n,r=new i(document.body);e.beforeShow(function(){n=r.elem.style.overflow,t()&&r.stylize({overflow:"hidden"})}),e.afterClose(function(){r.stylize({overflow:n})})}(p,c.bind(null,"bodyOverflow",!0)),s.watch(function(){c("escCloses",!0)&&p.isVisible()&&p.close()}),p}})?i.apply(t,r):i)||(e.exports=o)}()},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.errorTableVisible=t.errorTableVisible,this.onToggleVisibility=t.onToggleVisibility,this.onFocusLine=t.onFocusLine||function(){},this.onChangeHeight=t.onChangeHeight,this.dom={};var n=document.createElement("div");n.className="jsoneditor-validation-errors-container",this.dom.validationErrorsContainer=n;var i=document.createElement("div");i.style.display="none",i.className="jsoneditor-additional-errors fadein",i.innerHTML="Scroll for more ▿",this.dom.additionalErrorsIndication=i,n.appendChild(i);var r=document.createElement("span");r.className="jsoneditor-validation-error-icon",r.style.display="none",this.dom.validationErrorIcon=r;var o=document.createElement("span");o.className="jsoneditor-validation-error-count",o.style.display="none",this.dom.validationErrorCount=o,this.dom.parseErrorIndication=document.createElement("span"),this.dom.parseErrorIndication.className="jsoneditor-parse-error-icon",this.dom.parseErrorIndication.style.display="none"}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"getErrorTable",value:function(){return this.dom.validationErrorsContainer}},{key:"getErrorCounter",value:function(){return this.dom.validationErrorCount}},{key:"getWarningIcon",value:function(){return this.dom.validationErrorIcon}},{key:"getErrorIcon",value:function(){return this.dom.parseErrorIndication}},{key:"toggleTableVisibility",value:function(){this.errorTableVisible=!this.errorTableVisible,this.onToggleVisibility(this.errorTableVisible)}},{key:"setErrors",value:function(e,t){var n=this;if(this.dom.validationErrors&&(this.dom.validationErrors.parentNode.removeChild(this.dom.validationErrors),this.dom.validationErrors=null,this.dom.additionalErrorsIndication.style.display="none"),this.errorTableVisible&&0<e.length){var i=document.createElement("div");i.className="jsoneditor-validation-errors",i.innerHTML='<table class="jsoneditor-text-errors"><tbody></tbody></table>';var r=i.getElementsByTagName("tbody")[0];e.forEach(function(e){var i,o;if(i="string"==typeof e?'<td colspan="2"><pre>'+e+"</pre></td>":"<td>"+(e.dataPath||"")+"</td><td><pre>"+e.message+"</pre></td>",isNaN(e.line)){if(e.dataPath){var s=t.find(function(t){return t.path===e.dataPath});s&&(o=s.line+1)}}else o=e.line;var a=document.createElement("tr");a.className=isNaN(o)?"":"jump-to-line","error"===e.type?a.className+=" parse-error":a.className+=" validation-error",a.innerHTML='<td><button class="jsoneditor-schema-error"></button></td><td style="white-space:nowrap;">'+(isNaN(o)?"":"Ln "+o)+"</td>"+i,a.onclick=function(){n.onFocusLine(o)},r.appendChild(a)}),this.dom.validationErrors=i,this.dom.validationErrorsContainer.appendChild(i),this.dom.additionalErrorsIndication.title=e.length+" errors total",this.dom.validationErrorsContainer.clientHeight<this.dom.validationErrorsContainer.scrollHeight?(this.dom.additionalErrorsIndication.style.display="block",this.dom.validationErrorsContainer.onscroll=function(){n.dom.additionalErrorsIndication.style.display=0<n.dom.validationErrorsContainer.clientHeight&&0===n.dom.validationErrorsContainer.scrollTop?"block":"none"}):this.dom.validationErrorsContainer.onscroll=void 0;var o=this.dom.validationErrorsContainer.clientHeight+(this.dom.statusBar?this.dom.statusBar.clientHeight:0);this.onChangeHeight(o)}else this.onChangeHeight(0);var s=e.filter(function(e){return"error"!==e.type}).length;if(0<s?(this.dom.validationErrorCount.style.display="inline",this.dom.validationErrorCount.innerText=s,this.dom.validationErrorCount.onclick=this.toggleTableVisibility.bind(this),this.dom.validationErrorIcon.style.display="inline",this.dom.validationErrorIcon.title=s+" schema validation error(s) found",this.dom.validationErrorIcon.onclick=this.toggleTableVisibility.bind(this)):(this.dom.validationErrorCount.style.display="none",this.dom.validationErrorIcon.style.display="none"),e.some(function(e){return"error"===e.type})){var a=e[0].line;this.dom.parseErrorIndication.style.display="block",this.dom.parseErrorIndication.title=isNaN(a)?"parse error - check that the json is valid":"parse error on line "+a}else this.dom.parseErrorIndication.style.display="none"}}]),e}()},function(e,t,n){"use strict";function i(e,t,n){var o=this._refs[n];if("string"==typeof o){if(!this._refs[o])return i.call(this,e,t,o);o=this._refs[o]}if((o=o||this._schemas[n])instanceof p)return s(o.schema,this._opts.inlineRefs)?o.schema:o.validate||this._compile(o);var a,l,c,u=r.call(this,t,n);return u&&(a=u.schema,t=u.root,c=u.baseId),a instanceof p?l=a.validate||e.call(this,a.schema,t,void 0,c):void 0!==a&&(l=s(a,this._opts.inlineRefs)?a:e.call(this,a,t,void 0,c)),l}function r(e,t){var n=d.parse(t),i=l(n),s=a(this._getId(e.schema));if(0===Object.keys(e.schema).length||i!==s){var h=c(i),f=this._refs[h];if("string"==typeof f)return function(e,t,n){var i=r.call(this,e,t);if(i){var s=i.schema,a=i.baseId;e=i.root;var l=this._getId(s);return l&&(a=u(a,l)),o.call(this,n,a,s,e)}}.call(this,e,f,n);if(f instanceof p)f.validate||this._compile(f),e=f;else{if(!((f=this._schemas[h])instanceof p))return;if(f.validate||this._compile(f),h==c(t))return{schema:f,root:e,baseId:s};e=f}if(!e.schema)return;s=a(this._getId(e.schema))}return o.call(this,n,s,e.schema,e)}function o(e,t,n,i){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var o=e.fragment.split("/"),s=1;s<o.length;s++){var a=o[s];if(a){if(void 0===(n=n[a=f.unescapeFragment(a)]))break;var l;if(!g[a]&&((l=this._getId(n))&&(t=u(t,l)),n.$ref)){var c=u(t,n.$ref),d=r.call(this,i,c);d&&(n=d.schema,i=d.root,t=d.baseId)}}}return void 0!==n&&n!==i.schema?{schema:n,root:i,baseId:t}:void 0}}function s(e,t){return!1!==t&&(void 0===t||!0===t?function e(t){var n;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if("object"==typeof(n=t[i])&&!e(n))return!1}else for(var r in t){if("$ref"==r)return!1;if("object"==typeof(n=t[r])&&!e(n))return!1}return!0}(e):t?function e(t){var n,i=0;if(Array.isArray(t)){for(var r=0;r<t.length;r++)if("object"==typeof(n=t[r])&&(i+=e(n)),i==1/0)return 1/0}else for(var o in t){if("$ref"==o)return 1/0;if(v[o])i++;else if("object"==typeof(n=t[o])&&(i+=e(n)+1),i==1/0)return 1/0}return i}(e)<=t:void 0)}function a(e,t){return!1!==t&&(e=c(e)),l(d.parse(e))}function l(e){return d.serialize(e).split("#")[0]+"#"}function c(e){return e?e.replace(y,""):""}function u(e,t){return t=c(t),d.resolve(e,t)}var d=n(43),h=n(16),f=n(5),p=n(23),m=n(45);(e.exports=i).normalizeId=c,i.fullPath=a,i.url=u,i.ids=function(e){var t=c(this._getId(e)),n={"":t},i={"":a(t,!1)},r={},o=this;return m(e,{allKeys:!0},function(e,t,s,a,l,u,p){if(""!==t){var m=o._getId(e),g=n[a],v=i[a]+"/"+l;if(void 0!==p&&(v+="/"+("number"==typeof p?p:f.escapeFragment(p))),"string"==typeof m){m=g=c(g?d.resolve(g,m):m);var y=o._refs[m];if("string"==typeof y&&(y=o._refs[y]),y&&y.schema){if(!h(e,y.schema))throw new Error('id "'+m+'" resolves to more than one schema')}else if(m!=c(v))if("#"==m[0]){if(r[m]&&!h(e,r[m]))throw new Error('id "'+m+'" resolves to more than one schema');r[m]=e}else o._refs[m]=v}n[t]=g,i[t]=v}}),r},i.inlineRef=s,i.schema=r;var g=f.toHash(["properties","patternProperties","enum","dependencies","definitions"]),v=f.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]),y=/#\/?$/},function(e,t,n){"use strict";var i=Array.isArray,r=Object.keys,o=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var s,a,l,c=i(t),u=i(n);if(c&&u){if((a=t.length)!=n.length)return!1;for(s=a;0!=s--;)if(!e(t[s],n[s]))return!1;return!0}if(c!=u)return!1;var d=t instanceof Date,h=n instanceof Date;if(d!=h)return!1;if(d&&h)return t.getTime()==n.getTime();var f=t instanceof RegExp,p=n instanceof RegExp;if(f!=p)return!1;if(f&&p)return t.toString()==n.toString();var m=r(t);if((a=m.length)!==r(n).length)return!1;for(s=a;0!=s--;)if(!o.call(n,m[s]))return!1;for(s=a;0!=s--;)if(!e(t[l=m[s]],n[l]))return!1;return!0}return t!=t&&n!=n}},function(e,t,n){"use strict";function i(e,t,n){this.message=n||i.message(e,t),this.missingRef=o.url(e,t),this.missingSchema=o.normalizeId(o.fullPath(this.missingRef))}function r(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var o=n(15);e.exports={Validation:r(function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}),MissingRef:r(i)},i.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},function(e,t,n){var i;if(window.ace)i=window.ace;else try{i=n(34),n(35),n(37)}catch(e){}e.exports=i},function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(){try{this.format()}catch(e){}}n.r(t);var o=n(18),s=n.n(o),a=n(4),l=n.n(a),c=n(1),u=n(7),d=n(14),h=n(0),f=n(6),p=n(8),m=n(2),g=n(32);n.d(t,"textModeMixins",function(){return b});var v={},y="ace/theme/jsoneditor";v.create=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};void 0===t.statusBar&&(t.statusBar=!0),t.mainMenuBar=!1!==t.mainMenuBar,t.enableSort=!1!==t.enableSort,t.enableTransform=!1!==t.enableTransform,(this.options=t).indentation?this.indentation=Number(t.indentation):this.indentation=2;var n=t.ace?t.ace:s.a;this.mode="code"===t.mode?"code":"text","code"===this.mode&&void 0===n&&(this.mode="text",console.warn("Failed to load Ace editor, falling back to plain text mode. Please use a JSONEditor bundle including Ace, or pass Ace as via the configuration option `ace`.")),this.theme=t.theme||y,this.theme===y&&n&&Object(g.tryRequireThemeJsonEditor)(),t.onTextSelectionChange&&this.onTextSelectionChange(t.onTextSelectionChange);var r=this;if(this.container=e,this.dom={},this.aceEditor=void 0,this.textarea=void 0,this.validateSchema=null,this.annotations=[],this._debouncedValidate=Object(h.debounce)(this.validate.bind(this),this.DEBOUNCE_INTERVAL),this.width=e.clientWidth,this.height=e.clientHeight,this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.frame.onclick=function(e){e.preventDefault()},this.frame.onkeydown=function(e){r._onKeyDown(e)},this.content=document.createElement("div"),this.content.className="jsoneditor-outer",this.options.mainMenuBar){Object(h.addClassName)(this.content,"has-main-menu-bar"),this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var o=document.createElement("button");o.type="button",o.className="jsoneditor-format",o.title="Format JSON data, with proper indentation and line feeds (Ctrl+\\)",this.menu.appendChild(o),o.onclick=function(){try{r.format(),r._onChange()}catch(e){r._onError(e)}};var a=document.createElement("button");if(a.type="button",a.className="jsoneditor-compact",a.title="Compact JSON data, remove all whitespaces (Ctrl+Shift+\\)",this.menu.appendChild(a),a.onclick=function(){try{r.compact(),r._onChange()}catch(e){r._onError(e)}},this.options.enableSort){var l=document.createElement("button");l.type="button",l.className="jsoneditor-sort",l.title=Object(c.c)("sortTitleShort"),l.onclick=function(){r._showSortModal()},this.menu.appendChild(l)}if(this.options.enableTransform){var f=document.createElement("button");f.type="button",f.title=Object(c.c)("transformTitleShort"),f.className="jsoneditor-transform",f.onclick=function(){r._showTransformModal()},this.menu.appendChild(f)}var p=document.createElement("button");if(p.type="button",p.className="jsoneditor-repair",p.title="Repair JSON: fix quotes and escape characters, remove comments and JSONP notation, turn JavaScript objects into JSON.",this.menu.appendChild(p),p.onclick=function(){try{r.repair(),r._onChange()}catch(e){r._onError(e)}},this.options&&this.options.modes&&this.options.modes.length&&(this.modeSwitcher=new u.a(this.menu,this.options.modes,this.options.mode,function(e){r.setMode(e),r.modeSwitcher.focus()})),"code"===this.mode){var m=document.createElement("a");m.appendChild(document.createTextNode("powered by ace")),m.href="http://ace.ajax.org",m.target="_blank",m.className="jsoneditor-poweredBy",m.onclick=function(){window.open(m.href,m.target)},this.menu.appendChild(m)}}var v=this.options.onEditable&&i("function"===this.options.onEditable)&&!this.options.onEditable({});if(this.frame.appendChild(this.content),this.container.appendChild(this.frame),"code"===this.mode){this.editorDom=document.createElement("div"),this.editorDom.style.height="100%",this.editorDom.style.width="100%",this.content.appendChild(this.editorDom);var b=n.edit(this.editorDom),_=b.getSession();b.$blockScrolling=1/0,b.setTheme(this.theme),b.setOptions({readOnly:v}),b.setShowPrintMargin(!1),b.setFontSize(13),_.setMode("ace/mode/json"),_.setTabSize(this.indentation),_.setUseSoftTabs(!0),_.setUseWrapMode(!0);var w=_.setAnnotations;_.setAnnotations=function(e){w.call(this,e&&e.length?e:r.annotations)},b.commands.bindKey("Ctrl-L",null),b.commands.bindKey("Command-L",null),(this.aceEditor=b).on("change",this._onChange.bind(this)),b.on("changeSelection",this._onSelect.bind(this))}else{var x=document.createElement("textarea");x.className="jsoneditor-text",x.spellcheck=!1,this.content.appendChild(x),this.textarea=x,this.textarea.readOnly=v,null===this.textarea.oninput?this.textarea.oninput=this._onChange.bind(this):this.textarea.onchange=this._onChange.bind(this),x.onselect=this._onSelect.bind(this),x.onmousedown=this._onMouseDown.bind(this),x.onblur=this._onBlur.bind(this)}if(this.errorTable=new d.a({errorTableVisible:"text"===this.mode,onToggleVisibility:function(){r.validate()},onFocusLine:function(e){r.isFocused=!0,isNaN(e)||r.setTextSelection({row:e,column:1},{row:e,column:1e3})},onChangeHeight:function(e){var t=e+(r.dom.statusBar?r.dom.statusBar.clientHeight:0)+1;r.content.style.marginBottom=-t+"px",r.content.style.paddingBottom=t+"px"}}),this.frame.appendChild(this.errorTable.getErrorTable()),t.statusBar){Object(h.addClassName)(this.content,"has-status-bar"),this.curserInfoElements={};var A=document.createElement("div");(this.dom.statusBar=A).className="jsoneditor-statusbar",this.frame.appendChild(A);var C=document.createElement("span");C.className="jsoneditor-curserinfo-label",C.innerText="Ln:";var k=document.createElement("span");k.className="jsoneditor-curserinfo-val",k.innerText="1",A.appendChild(C),A.appendChild(k);var M=document.createElement("span");M.className="jsoneditor-curserinfo-label",M.innerText="Col:";var S=document.createElement("span");S.className="jsoneditor-curserinfo-val",S.innerText="1",A.appendChild(M),A.appendChild(S),this.curserInfoElements.colVal=S,this.curserInfoElements.lnVal=k;var L=document.createElement("span");L.className="jsoneditor-curserinfo-label",L.innerText="characters selected",L.style.display="none";var E=document.createElement("span");E.className="jsoneditor-curserinfo-count",E.innerText="0",E.style.display="none",this.curserInfoElements.countLabel=L,this.curserInfoElements.countVal=E,A.appendChild(E),A.appendChild(L),A.appendChild(this.errorTable.getErrorCounter()),A.appendChild(this.errorTable.getWarningIcon()),A.appendChild(this.errorTable.getErrorIcon())}this.setSchema(this.options.schema,this.options.schemaRefs)},v._onChange=function(){if(!this.onChangeDisabled){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}if(this.options.onChangeText)try{this.options.onChangeText(this.getText())}catch(e){console.error("Error in onChangeText callback: ",e)}}},v._showSortModal=function(){var e=this,t=this.options.modalAnchor||m.a,n=this.get();Object(f.a)(t,n,function(t){if(Array.isArray(n)){var i=Object(h.sort)(n,t.path,t.direction);e.sortedBy=t,e.set(i)}if(Object(h.isObject)(n)){var r=Object(h.sortObjectKeys)(n,t.direction);e.sortedBy=t,e.set(r)}},e.sortedBy)},v._showTransformModal=function(){var e=this,t=this.options.modalAnchor||m.a,n=this.get();Object(p.a)(t,n,function(t){var i=l.a.search(n,t);e.set(i)})},v._onSelect=function(){this._updateCursorInfo(),this._emitSelectionChange()},v._onKeyDown=function(e){var t=!1;220===(e.which||e.keyCode)&&e.ctrlKey&&(e.shiftKey?this.compact():this.format(),this._onChange(),t=!0),t&&(e.preventDefault(),e.stopPropagation()),this._updateCursorInfo(),this._emitSelectionChange()},v._onMouseDown=function(){this._updateCursorInfo(),this._emitSelectionChange()},v._onBlur=function(){var e=this;setTimeout(function(){e.isFocused||(e._updateCursorInfo(),e._emitSelectionChange()),e.isFocused=!1})},v._updateCursorInfo=function(){function e(){r.curserInfoElements.countVal.innerText!==i&&(r.curserInfoElements.countVal.innerText=i,r.curserInfoElements.countVal.style.display=i?"inline":"none",r.curserInfoElements.countLabel.style.display=i?"inline":"none"),r.curserInfoElements.lnVal.innerText=t,r.curserInfoElements.colVal.innerText=n}var t,n,i,r=this;if(this.textarea)setTimeout(function(){var o=Object(h.getInputSelection)(r.textarea);o.startIndex!==o.endIndex&&(i=o.endIndex-o.startIndex),n=i&&r.cursorInfo&&r.cursorInfo.line===o.end.row&&r.cursorInfo.column===o.end.column?(t=o.start.row,o.start.column):(t=o.end.row,o.end.column),r.cursorInfo={line:t,column:n,count:i},r.options.statusBar&&e()},0);else if(this.aceEditor&&this.curserInfoElements){var o=this.aceEditor.getCursorPosition(),s=this.aceEditor.getSelectedText();t=o.row+1,n=o.column+1,i=s.length,r.cursorInfo={line:t,column:n,count:i},this.options.statusBar&&e()}},v._emitSelectionChange=function(){if(this._selectionChangedHandler){var e=this.getTextSelection();this._selectionChangedHandler(e.start,e.end,e.text)}},v._refreshAnnotations=function(){var e=this.aceEditor&&this.aceEditor.getSession();if(e){var t=e.getAnnotations().filter(function(e){return"error"===e.type});e.setAnnotations(t)}},v.destroy=function(){this.aceEditor&&(this.aceEditor.destroy(),this.aceEditor=null),this.frame&&this.container&&this.frame.parentNode===this.container&&this.container.removeChild(this.frame),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null),this.textarea=null,this._debouncedValidate=null},v.compact=function(){var e=this.get(),t=JSON.stringify(e);this._setText(t,!1)},v.format=function(){var e=this.get(),t=JSON.stringify(e,null,this.indentation);this._setText(t,!1)},v.repair=function(){var e=this.getText(),t=Object(h.repair)(e);this._setText(t,!1)},v.focus=function(){this.textarea&&this.textarea.focus(),this.aceEditor&&this.aceEditor.focus()},v.resize=function(){this.aceEditor&&this.aceEditor.resize(!1)},v.set=function(e){this.setText(JSON.stringify(e,null,this.indentation))},v.update=function(e){this.updateText(JSON.stringify(e,null,this.indentation))},v.get=function(){var e=this.getText();return Object(h.parse)(e)},v.getText=function(){return this.textarea?this.textarea.value:this.aceEditor?this.aceEditor.getValue():""},v._setText=function(e,t){var n=!0===this.options.escapeUnicode?Object(h.escapeUnicodeChars)(e):e;if(this.textarea&&(this.textarea.value=n),this.aceEditor&&(this.onChangeDisabled=!0,this.aceEditor.setValue(n,-1),this.onChangeDisabled=!1,t)){var i=this;setTimeout(function(){i.aceEditor&&i.aceEditor.session.getUndoManager().reset()},0)}this._debouncedValidate()},v.setText=function(e){this._setText(e,!0)},v.updateText=function(e){this.getText()!==e&&this._setText(e,!1)},v.validate=function(){var e,t=[],n=[];try{e=this.get(),this.validateSchema&&(this.validateSchema(e)||(t=this.validateSchema.errors.map(function(e){return e.type="validation",Object(h.improveSchemaError)(e)}))),this.validationSequence=(this.validationSequence||0)+1;var i=this,r=this.validationSequence;(function(e,t){if(!t)return Promise.resolve([]);try{var n=t(e);return(Object(h.isPromise)(n)?n:Promise.resolve(n)).then(function(e){return Array.isArray(e)?e.filter(function(e){var t=Object(h.isValidValidationError)(e);return t||console.warn('Ignoring a custom validation error with invalid structure. Expected structure: {path: [...], message: "..."}. Actual error:',e),t}).map(function(e){return{dataPath:Object(h.stringifyPath)(e.path),message:e.message}}):[]})}catch(e){return Promise.reject(e)}})(e,this.options.onValidate).then(function(e){if(r===i.validationSequence){var o=t.concat(n).concat(e);i._renderErrors(o)}}).catch(function(e){console.error("Custom validation function did throw an error",e)})}catch(e){if(this.getText()){var o,s=/\w*line\s*(\d+)\w*/g.exec(e.message);s&&(o=+s[1]),n=[{type:"error",message:e.message.replace(/\n/g,"<br>"),line:o}]}this._renderErrors(n)}},v._renderErrors=function(e){var t=this.getText(),n=[];e.reduce(function(e,t){return-1===e.indexOf(t.dataPath)&&e.push(t.dataPath),e},n);var i=Object(h.getPositionForPath)(t,n);this.aceEditor&&(this.annotations=i.map(function(t){var n=e.filter(function(e){return e.dataPath===t.path}),i=n.map(function(e){return e.message}).join("\n");return i?{row:t.line,column:t.column,text:"Schema validation error"+(1!==n.length?"s":"")+": \n"+i,type:"warning",source:"jsoneditor"}:{}}),this._refreshAnnotations()),this.errorTable.setErrors(e,i),this.aceEditor&&this.aceEditor.resize(!1)},v.getTextSelection=function(){var e={};if(this.textarea){var t=Object(h.getInputSelection)(this.textarea);return this.cursorInfo&&this.cursorInfo.line===t.end.row&&this.cursorInfo.column===t.end.column?(e.start=t.end,e.end=t.start):e=t,{start:e.start,end:e.end,text:this.textarea.value.substring(t.startIndex,t.endIndex)}}if(this.aceEditor){var n=this.aceEditor.getSelection(),i=this.aceEditor.getSelectedText(),r=n.getRange(),o=n.getSelectionLead();return o.row===r.end.row&&o.column===r.end.column?e=r:(e.start=r.end,e.end=r.start),{start:{row:e.start.row+1,column:e.start.column+1},end:{row:e.end.row+1,column:e.end.column+1},text:i}}},v.onTextSelectionChange=function(e){"function"==typeof e&&(this._selectionChangedHandler=Object(h.debounce)(e,this.DEBOUNCE_INTERVAL))},v.setTextSelection=function(e,t){if(e&&t)if(this.textarea){var n=Object(h.getIndexForPosition)(this.textarea,e.row,e.column),i=Object(h.getIndexForPosition)(this.textarea,t.row,t.column);if(-1<n&&-1<i){if(this.textarea.setSelectionRange)this.textarea.focus(),this.textarea.setSelectionRange(n,i);else if(this.textarea.createTextRange){var r=this.textarea.createTextRange();r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",n),r.select()}var o=(this.textarea.value.match(/\n/g)||[]).length+1,s=this.textarea.scrollHeight/o,a=e.row*s;this.textarea.scrollTop=a>this.textarea.clientHeight?a-this.textarea.clientHeight/2:0}}else if(this.aceEditor){var l={start:{row:e.row-1,column:e.column-1},end:{row:t.row-1,column:t.column-1}};this.aceEditor.selection.setRange(l),this.aceEditor.scrollToLine(e.row-1,!0)}};var b=[{mode:"text",mixin:v,data:"text",load:r},{mode:"code",mixin:v,data:"text",load:r}]},function(e,t,n){var i,r=((i={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,n,i,r,o,s){var a=o.length-1;switch(r){case 1:this.$=e.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(e);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=o[a-1];case 13:this.$={};break;case 14:this.$=o[a-1];break;case 15:this.$=[o[a-2],o[a]];break;case 16:this.$={},this.$[o[a][0]]=o[a][1];break;case 17:this.$=o[a-2],o[a-2][o[a][0]]=o[a][1];break;case 18:this.$=[];break;case 19:this.$=o[a-1];break;case 20:this.$=[o[a]];break;case 21:this.$=o[a-2],o[a-2].push(o[a])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(e,t){throw new Error(e)},parse:function(e){function t(){var e;return"number"!=typeof(e=n.lexer.lex()||1)&&(e=n.symbols_[e]||e),e}var n=this,i=[0],r=[null],o=[],s=this.table,a="",l=0,c=0,u=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var d=this.lexer.yylloc;o.push(d),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,f,p,m,g,v,y,b,_,w={};;){if(p=i[i.length-1],void 0===(m=this.defaultActions[p]?this.defaultActions[p]:(null==h&&(h=t()),s[p]&&s[p][h]))||!m.length||!m[0]){if(!u){for(v in _=[],s[p])this.terminals_[v]&&2<v&&_.push("'"+this.terminals_[v]+"'");var x="";x=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:d,expected:_})}if(3==u){if(1==h)throw new Error(x||"Parsing halted.");c=this.lexer.yyleng,a=this.lexer.yytext,l=this.lexer.yylineno,d=this.lexer.yylloc,h=t()}for(;!(2..toString()in s[p]);){if(0==p)throw new Error(x||"Parsing halted.");i.length=i.length-2,r.length=r.length-1,o.length=o.length-1,p=i[i.length-1]}f=h,h=2,m=s[p=i[i.length-1]]&&s[p][2],u=3}if(m[0]instanceof Array&&1<m.length)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+h);switch(m[0]){case 1:i.push(h),r.push(this.lexer.yytext),o.push(this.lexer.yylloc),i.push(m[1]),h=null,f?(h=f,f=null):(c=this.lexer.yyleng,a=this.lexer.yytext,l=this.lexer.yylineno,d=this.lexer.yylloc,0<u&&u--);break;case 2:if(y=this.productions_[m[1]][1],w.$=r[r.length-y],w._$={first_line:o[o.length-(y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(y||1)].first_column,last_column:o[o.length-1].last_column},void 0!==(g=this.performAction.call(w,a,c,l,this.yy,m[1],r,o)))return g;y&&(i=i.slice(0,-1*y*2),r=r.slice(0,-1*y),o=o.slice(0,-1*y)),i.push(this.productions_[m[1]][0]),r.push(w.$),o.push(w._$),b=s[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}}).lexer={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},less:function(e){this._input=this.match.slice(e)+this._input},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(20<e.length?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(20<e.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length&&(!(n=this._input.match(this.rules[o[s]]))||t&&!(n[0].length>t[0].length)||(t=n,i=s,this.options.flex));s++);return t?((r=t[0].match(/\n.*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,o[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:void this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,i){switch(n){case 0:break;case 1:return 6;case 2:return t.yytext=t.yytext.substr(1,t.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt\/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}},i);t.parser=r,t.parse=r.parse.bind(r)},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){function n(e){"remove"in e||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){void 0!==this.parentNode&&this.parentNode.removeChild(this)}})}"undefined"!=typeof Element&&(void 0!==window.Element&&n(window.Element.prototype),void 0!==window.CharacterData&&n(window.CharacterData.prototype),void 0!==window.DocumentType&&n(window.DocumentType.prototype)),Array.prototype.find||(Array.prototype.find=function(e){for(var t=0;t<this.length;t++){var n=this[t];if(e.call(this,n,t,this))return n}}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")})},function(e,t,n){"use strict";var i=n(5);e.exports=function(e){i.copy(e,this)}},function(e,t,n){"use strict";e.exports=function(e,t){"function"==typeof(t=t||{})&&(t={cmp:t});var n,i="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(n=t.cmp,function(e){return function(t,i){var r={key:t,value:e[t]},o={key:i,value:e[i]};return n(r,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,s;if(Array.isArray(t)){for(s="[",n=0;n<t.length;n++)n&&(s+=","),s+=e(t[n])||"null";return s+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var a=o.push(t)-1,l=Object.keys(t).sort(r&&r(t));for(s="",n=0;n<l.length;n++){var c=l[n],u=e(t[c]);u&&(s&&(s+=","),s+=JSON.stringify(c)+":"+u)}return o.splice(a,1),"{"+s+"}"}}(e)}},function(e,t,n){"use strict";e.exports=function(e,t,n){function i(e){for(var t=e.rules,n=0;n<t.length;n++)if(r(t[n]))return!0}function r(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var n=t.implements,i=0;i<n.length;i++)if(void 0!==e.schema[n[i]])return!0}(t)}var o="",s=!0===e.schema.$async,a=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),l=e.self._getId(e.schema);if(e.opts.strictKeywords){var c=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(c){var u="unknown keyword: "+c;if("log"!==e.opts.strictKeywords)throw new Error(u);e.logger.warn(u)}}if(e.isTop&&(o+=" var validate = ",s&&(e.async=!0,o+="async "),o+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",l&&(e.opts.sourceCode||e.opts.processCode)&&(o+=" /*# sourceURL="+l+" */ ")),"boolean"==typeof e.schema||!a&&!e.schema.$ref){t="false schema";var d=e.level,h=e.dataLevel,f=e.schema[t],p=e.schemaPath+e.util.getProperty(t),m=e.errSchemaPath+"/"+t,g=!e.opts.allErrors,v="data"+(h||""),y="valid"+d;if(!1===e.schema){e.isTop?g=!0:o+=" var "+y+" = false; ",(Z=Z||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: 'boolean schema is false' "),e.opts.verbose&&(o+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ";var b=o;o=Z.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+b+"]); ":o+=" validate.errors = ["+b+"]; return false; ":o+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?o+=s?" return data; ":" validate.errors = null; return true; ":o+=" var "+y+" = true; ";return e.isTop&&(o+=" }; return validate; "),o}if(e.isTop){var _=e.isTop;if(d=e.level=0,h=e.dataLevel=0,v="data",e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[void 0],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var w="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(w);e.logger.warn(w)}o+=" var vErrors = null; ",o+=" var errors = 0; ",o+=" if (rootData === undefined) rootData = data; "}else{if(d=e.level,v="data"+((h=e.dataLevel)||""),l&&(e.baseId=e.resolve.url(e.baseId,l)),s&&!e.async)throw new Error("async schema in sync schema");o+=" var errs_"+d+" = errors;"}y="valid"+d,g=!e.opts.allErrors;var x="",A="",C=e.schema.type,k=Array.isArray(C);if(C&&e.opts.nullable&&!0===e.schema.nullable&&(k?-1==C.indexOf("null")&&(C=C.concat("null")):"null"!=C&&(C=[C,"null"],k=!0)),k&&1==C.length&&(C=C[0],k=!1),e.schema.$ref&&a){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(a=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(o+=" "+e.RULES.all.$comment.code(e,"$comment")),C){if(e.opts.coerceTypes)var M=e.util.coerceToTypes(e.opts.coerceTypes,C);var S=e.RULES.types[C];if(M||k||!0===S||S&&!i(S)){p=e.schemaPath+".type",m=e.errSchemaPath+"/type",p=e.schemaPath+".type",m=e.errSchemaPath+"/type";var L=k?"checkDataTypes":"checkDataType";if(o+=" if ("+e.util[L](C,v,!0)+") { ",M){var E="dataType"+d,D="coerced"+d;o+=" var "+E+" = typeof "+v+"; ","array"==e.opts.coerceTypes&&(o+=" if ("+E+" == 'object' && Array.isArray("+v+")) "+E+" = 'array'; "),o+=" var "+D+" = undefined; ";var T="",I=M;if(I)for(var j,O=-1,F=I.length-1;O<F;)j=I[O+=1],O&&(o+=" if ("+D+" === undefined) { ",T+="}"),"array"==e.opts.coerceTypes&&"array"!=j&&(o+=" if ("+E+" == 'array' && "+v+".length == 1) { "+D+" = "+v+" = "+v+"[0]; "+E+" = typeof "+v+"; } "),"string"==j?o+=" if ("+E+" == 'number' || "+E+" == 'boolean') "+D+" = '' + "+v+"; else if ("+v+" === null) "+D+" = ''; ":"number"==j||"integer"==j?(o+=" if ("+E+" == 'boolean' || "+v+" === null || ("+E+" == 'string' && "+v+" && "+v+" == +"+v+" ","integer"==j&&(o+=" && !("+v+" % 1)"),o+=")) "+D+" = +"+v+"; "):"boolean"==j?o+=" if ("+v+" === 'false' || "+v+" === 0 || "+v+" === null) "+D+" = false; else if ("+v+" === 'true' || "+v+" === 1) "+D+" = true; ":"null"==j?o+=" if ("+v+" === '' || "+v+" === 0 || "+v+" === false) "+D+" = null; ":"array"==e.opts.coerceTypes&&"array"==j&&(o+=" if ("+E+" == 'string' || "+E+" == 'number' || "+E+" == 'boolean' || "+v+" == null) "+D+" = ["+v+"]; ");(Z=Z||[]).push(o+=" "+T+" if ("+D+" === undefined) { "),o="",!1!==e.createErrors?(o+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",o+=k?""+C.join(","):""+C,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=k?""+C.join(","):""+C,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ",b=o,o=Z.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+b+"]); ":o+=" validate.errors = ["+b+"]; return false; ":o+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else { ";var N=h?"data"+(h-1||""):"parentData";o+=" "+v+" = "+D+"; ",h||(o+="if ("+N+" !== undefined)"),o+=" "+N+"["+(h?e.dataPathArr[h]:"parentDataProperty")+"] = "+D+"; } "}else(Z=Z||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",o+=k?""+C.join(","):""+C,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=k?""+C.join(","):""+C,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ",b=o,o=Z.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+b+"]); ":o+=" validate.errors = ["+b+"]; return false; ":o+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";o+=" } "}}if(e.schema.$ref&&!a)o+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",g&&(o+=" } if (errors === ",o+=_?"0":"errs_"+d,o+=") { ",A+="}");else{var Y=e.RULES;if(Y)for(var P=-1,R=Y.length-1;P<R;)if(i(S=Y[P+=1])){if(S.type&&(o+=" if ("+e.util.checkDataType(S.type,v)+") { "),e.opts.useDefaults)if("object"==S.type&&e.schema.properties){f=e.schema.properties;var B=Object.keys(f);if(B)for(var H,z=-1,$=B.length-1;z<$;)if(void 0!==(V=f[H=B[z+=1]]).default){var W=v+e.util.getProperty(H);if(e.compositeRule){if(e.opts.strictDefaults){if(w="default is ignored for: "+W,"log"!==e.opts.strictDefaults)throw new Error(w);e.logger.warn(w)}}else o+=" if ("+W+" === undefined ","empty"==e.opts.useDefaults&&(o+=" || "+W+" === null || "+W+" === '' "),o+=" ) "+W+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(V.default)+" ":o+=" "+JSON.stringify(V.default)+" ",o+="; "}}else if("array"==S.type&&Array.isArray(e.schema.items)){var G=e.schema.items;if(G){O=-1;for(var V,U=G.length-1;O<U;)if(void 0!==(V=G[O+=1]).default)if(W=v+"["+O+"]",e.compositeRule){if(e.opts.strictDefaults){if(w="default is ignored for: "+W,"log"!==e.opts.strictDefaults)throw new Error(w);e.logger.warn(w)}}else o+=" if ("+W+" === undefined ","empty"==e.opts.useDefaults&&(o+=" || "+W+" === null || "+W+" === '' "),o+=" ) "+W+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(V.default)+" ":o+=" "+JSON.stringify(V.default)+" ",o+="; "}}var Z,X=S.rules;if(X)for(var Q,K=-1,J=X.length-1;K<J;)if(r(Q=X[K+=1])){var q=Q.code(e,Q.keyword,S.type);q&&(o+=" "+q+" ",g&&(x+="}"))}g&&(o+=" "+x+" ",x=""),S.type&&(o+=" } ",C&&C===S.type&&!M)&&(o+=" else { ",p=e.schemaPath+".type",m=e.errSchemaPath+"/type",(Z=Z||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",o+=k?""+C.join(","):""+C,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=k?""+C.join(","):""+C,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ",b=o,o=Z.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+b+"]); ":o+=" validate.errors = ["+b+"]; return false; ":o+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } "),g&&(o+=" if (errors === ",o+=_?"0":"errs_"+d,o+=") { ",A+="}")}}return g&&(o+=" "+A+" "),_?(s?(o+=" if (errors === 0) return data; ",o+=" else throw new ValidationError(vErrors); "):(o+=" validate.errors = vErrors; ",o+=" return errors === 0; "),o+=" }; return validate;"):o+=" var "+y+" = errors === errs_"+d+";",o=e.util.cleanUpCode(o),_&&(o=e.util.finalCleanUpCode(o,s)),o}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h=e.opts.$data&&a&&a.$data;i=h?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a;var f="maximum"==t,p=f?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[p],g=e.opts.$data&&m&&m.$data,v=f?"<":">",y=f?">":"<",b=void 0;if(g){var _,w=e.util.getData(m.$data,s,e.dataPathArr),x="exclusive"+o,A="exclType"+o,C="exclIsNumber"+o,k="' + "+(S="op"+o)+" + '";r+=" var schemaExcl"+o+" = "+w+"; ",b=p,(_=_||[]).push(r+=" var "+x+"; var "+A+" = typeof "+(w="schemaExcl"+o)+"; if ("+A+" != 'boolean' && "+A+" != 'undefined' && "+A+" != 'number') { "),r="",!1!==e.createErrors?(r+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: '"+p+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var M=r;r=_.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+M+"]); ":r+=" validate.errors = ["+M+"]; return false; ":r+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" "+A+" == 'number' ? ( ("+x+" = "+i+" === undefined || "+w+" "+v+"= "+i+") ? "+d+" "+y+"= "+w+" : "+d+" "+y+" "+i+" ) : ( ("+x+" = "+w+" === true) ? "+d+" "+y+"= "+i+" : "+d+" "+y+" "+i+" ) || "+d+" !== "+d+") { var op"+o+" = "+x+" ? '"+v+"' : '"+v+"='; ",void 0===a&&(b=p,c=e.errSchemaPath+"/"+p,i=w,h=g)}else if(k=v,(C="number"==typeof m)&&h){var S="'"+k+"'";r+=" if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" ( "+i+" === undefined || "+m+" "+v+"= "+i+" ? "+d+" "+y+"= "+m+" : "+d+" "+y+" "+i+" ) || "+d+" !== "+d+") { "}else C&&void 0===a?(x=!0,b=p,c=e.errSchemaPath+"/"+p,i=m,y+="="):(C&&(i=Math[f?"min":"max"](m,a)),m===(!C||i)?(x=!0,b=p,c=e.errSchemaPath+"/"+p,y+="="):(x=!1,k+="=")),S="'"+k+"'",r+=" if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" "+d+" "+y+" "+i+" || "+d+" !== "+d+") { ";return b=b||t,(_=_||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+S+", limit: "+i+", exclusive: "+x+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be "+k+" ",r+=h?"' + "+i:i+"'"),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",M=r,r=_.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+M+"]); ":r+=" validate.errors = ["+M+"]; return false; ":r+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h=e.opts.$data&&a&&a.$data;i=h?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a,r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" "+d+".length "+("maxItems"==t?">":"<")+" "+i+") { ";var f=t,p=p||[];p.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(f||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxItems"==t?"more":"fewer",r+=" than ",r+=h?"' + "+i+" + '":""+a,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=p.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h=e.opts.$data&&a&&a.$data;i=h?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a;var f="maxLength"==t?">":"<";r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),!1===e.opts.unicode?r+=" "+d+".length ":r+=" ucs2length("+d+") ",r+=" "+f+" "+i+") { ";var p=t,m=m||[];m.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(p||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be ",r+="maxLength"==t?"longer":"shorter",r+=" than ",r+=h?"' + "+i+" + '":""+a,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var g=r;return r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h=e.opts.$data&&a&&a.$data;i=h?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a,r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" Object.keys("+d+").length "+("maxProperties"==t?">":"<")+" "+i+") { ";var f=t,p=p||[];p.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(f||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxProperties"==t?"more":"fewer",r+=" than ",r+=h?"' + "+i+" + '":""+a,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=p.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},function(e,t,n){"use strict";function i(e){return 0<=l.indexOf(typeof e)}function r(e){return'"'+(e=e.replace(c,"\\$&").replace(d,"\\f").replace(u,"\\b").replace(h,"\\n").replace(f,"\\r").replace(p,"\\t"))+'"'}function o(e){return e.replace(m,"~0").replace(g,"~1")}var s={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},a="a".charCodeAt();t.parse=function(e,t,n){function i(){e:for(;x<e.length;){switch(e[x]){case" ":w++;break;case"\t":w+=4;break;case"\r":w=0;break;case"\n":w=0,_++;break;default:break e}x++}}function r(){for(var e,t="";'"'!=(e=c());)"\\"==e?(e=c())in s?t+=s[e]:"u"==e?t+=d():v():t+=e;return t}function l(e){for(var t=0;t<e.length;t++)c()!==e[t]&&v()}function c(){y();var t=e[x];return x++,w++,t}function u(){x--,w--}function d(){for(var e=4,t=0;e--;){t<<=4;var n=c().toLowerCase();"a"<=n&&n<="f"?t+=n.charCodeAt()-a+10:"0"<=n&&n<="9"?t+=+n:v()}return String.fromCharCode(t)}function h(){for(var t="";"0"<=e[x]&&e[x]<="9";)t+=c();if(t.length)return t;y(),g()}function f(e,t){p(e,t,m())}function p(e,t,n){b[e]=b[e]||{},b[e][t]=n}function m(){return{line:_,column:w,pos:x}}function g(){throw new SyntaxError("Unexpected token "+e[x]+" in JSON at position "+x)}function v(){u(),g()}function y(){if(x>=e.length)throw new SyntaxError("Unexpected end of JSON input")}var b={},_=0,w=0,x=0,A=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:function t(n,s){var a;i(),f(n,"value");var d=c();switch(d){case"t":l("rue"),a=!0;break;case"f":l("alse"),a=!1;break;case"n":l("ull"),a=null;break;case'"':a=r();break;case"[":a=function(e){i();var n=[],r=0;if("]"==c())return n;for(u();;){var o=e+"/"+r;n.push(t(o)),i();var s=c();if("]"==s)break;","!=s&&v(),i(),r++}return n}(n);break;case"{":a=function(e){i();var n={};if("}"==c())return n;for(u();;){var s=m();'"'!=c()&&v();var a=r(),l=e+"/"+o(a);p(l,"key",s),f(l,"keyEnd"),i(),":"!=c()&&v(),i(),n[a]=t(l),i();var d=c();if("}"==d)break;","!=d&&v(),i()}return n}(n);break;default:u(),0<="-0123456789".indexOf(d)?a=function(){var t="",n=!0;"-"==e[x]&&(t+=c()),t+="0"==e[x]?c():h(),"."==e[x]&&(t+=c()+h(),n=!1),"e"!=e[x]&&"E"!=e[x]||(t+=c(),"+"!=e[x]&&"-"!=e[x]||(t+=c()),t+=h(),n=!1);var i=+t;return A&&n&&(i>Number.MAX_SAFE_INTEGER||i<Number.MIN_SAFE_INTEGER)?BigInt(t):i}():g()}return f(n,"valueEnd"),i(),s&&x<e.length&&g(),a}("",!0),pointers:b}},t.stringify=function(e,t,n){function s(e){b+=e.length,_+=e.length,g+=e}function a(e){if(f){for(g+="\n"+c(e,f),y++,b=0;e--;)h?(y+=h,b=d):b+=d,_+=u;_+=1}}function l(e,t){v[e]=v[e]||{},v[e][t]={line:y,column:b,pos:_}}function c(e,t){return Array(e+1).join(t)}if(i(e)){var u,d,h=0,f="object"==typeof n?n.space:n;switch(typeof f){case"number":var p=10<f?10:f<0?0:Math.floor(f);f=p&&c(p," "),d=u=p;break;case"string":f=f.slice(0,10);for(var m=d=u=0;m<f.length;m++){switch(f[m]){case" ":d++;break;case"\t":d+=4;break;case"\r":d=0;break;case"\n":d=0,h++;break;default:throw new Error("whitespace characters not allowed in JSON")}u++}break;default:f=void 0}var g="",v={},y=0,b=0,_=0,w=n&&n.es6&&"function"==typeof Map;return function e(t,n,c){function u(){if(t.length){s("[");for(var r=n+1,o=0;o<t.length;o++){o&&s(","),a(r);var l=i(t[o])?t[o]:null;e(l,r,c+"/"+o)}a(n),s("]")}else s("[]")}function d(){var u=Object.keys(t);if(u.length){s("{");for(var d=n+1,h=0;h<u.length;h++){var p=u[h],m=t[p];if(i(m)){h&&s(",");var g=c+"/"+o(p);a(d),l(g,"key"),s(r(p)),l(g,"keyEnd"),s(":"),f&&s(" "),e(m,d,g)}}a(n),s("}")}else s("{}")}function h(u){if(t.size){s("{");for(var d=n+1,h=!0,p=t.entries(),m=p.next();!m.done;){var g=m.value,v=g[0],y=!!u||g[1];if(i(y)){h||s(","),h=!1;var b=c+"/"+o(v);a(d),l(b,"key"),s(r(v)),l(b,"keyEnd"),s(":"),f&&s(" "),e(y,d,b)}m=p.next()}a(n),s("}")}else s("{}")}switch(l(c,"value"),typeof t){case"number":case"bigint":case"boolean":s(""+t);break;case"string":s(r(t));break;case"object":null===t?s("null"):"function"==typeof t.toJSON?s(r(t.toJSON())):Array.isArray(t)?u():w?t.constructor.BYTES_PER_ELEMENT?u():t instanceof Map?h():t instanceof Set?h(!0):d():d()}l(c,"valueEnd")}(e,0,""),{json:g,pointers:v}}};var l=["number","bigint","boolean","string","object"],c=/"|\\/g,u=/[\b]/g,d=/\f/g,h=/\n/g,f=/\r/g,p=/\t/g,m=/~/g,g=/\//g},function(e,t,n){t.tryRequireThemeJsonEditor=function(){try{n(39)}catch(e){console.error(e)}}},function(e,t,n){"use strict";function i(e,t,n){if(!(this instanceof i))throw new Error('JSONEditor constructor called without "new".');var r=h();if(-1!==r&&r<9)throw new Error("Unsupported browser, IE9 or newer required. Please install the newest version of your browser.");t&&(t.error&&(console.warn('Option "error" has been renamed to "onError"'),t.onError=t.error,delete t.error),t.change&&(console.warn('Option "change" has been renamed to "onChange"'),t.onChange=t.change,delete t.change),t.editable&&(console.warn('Option "editable" has been renamed to "onEditable"'),t.onEditable=t.editable,delete t.editable),t.onChangeJSON&&("text"!==t.mode&&"code"!==t.mode&&(!t.modes||-1===t.modes.indexOf("text")&&-1===t.modes.indexOf("code"))||console.warn('Option "onChangeJSON" is not applicable to modes "text" and "code". Use "onChangeText" or "onChange" instead.')),t&&Object.keys(t).forEach(function(e){-1===i.VALID_OPTIONS.indexOf(e)&&console.warn('Unknown option "'+e+'". This option will be ignored')})),arguments.length&&this._create(e,t,n)}var r=n(18),o=n(12),s=n(77).treeModeMixins,a=n(19).textModeMixins,l=n(78).previewModeMixins,c=n(0),u=c.clear,d=c.extend,h=c.getInternetExplorerVersion,f=c.parse,p=(0,n(40).tryRequireAjv)();"undefined"==typeof Promise&&console.error("Promise undefined. Please load a Promise polyfill in the browser in order to use JSONEditor"),i.modes={},i.prototype.DEBOUNCE_INTERVAL=150,i.VALID_OPTIONS=["ajv","schema","schemaRefs","templates","ace","theme","autocomplete","onChange","onChangeJSON","onChangeText","onEditable","onError","onEvent","onModeChange","onNodeName","onValidate","onCreateMenu","onSelectionChange","onTextSelectionChange","onClassName","colorPicker","onColorPicker","timestampTag","escapeUnicode","history","search","mode","modes","name","indentation","sortObjectKeys","navigationBar","statusBar","mainMenuBar","languages","language","enableSort","enableTransform","maxVisibleChilds"],i.prototype._create=function(e,t,n){this.container=e,this.options=t||{},this.json=n||{};var i=this.options.mode||this.options.modes&&this.options.modes[0]||"tree";this.setMode(i)},i.prototype.destroy=function(){},i.prototype.set=function(e){this.json=e},i.prototype.get=function(){return this.json},i.prototype.setText=function(e){this.json=f(e)},i.prototype.getText=function(){return JSON.stringify(this.json)},i.prototype.setName=function(e){this.options||(this.options={}),this.options.name=e},i.prototype.getName=function(){return this.options&&this.options.name},i.prototype.setMode=function(e){if(e!==this.options.mode||!this.create){var t,n,r=this.container,o=d({},this.options),s=o.mode;o.mode=e;var a=i.modes[e];if(!a)throw new Error('Unknown mode "'+o.mode+'"');try{var l="text"===a.data;if(n=this.getName(),t=this[l?"getText":"get"](),this.destroy(),u(this),d(this,a.mixin),this.create(r,o),this.setName(n),this[l?"setText":"set"](t),"function"==typeof a.load)try{a.load.call(this)}catch(e){console.error(e)}if("function"==typeof o.onModeChange&&e!==s)try{o.onModeChange(e,s)}catch(e){console.error(e)}}catch(e){this._onError(e)}}},i.prototype.getMode=function(){return this.options.mode},i.prototype._onError=function(e){if(!this.options||"function"!=typeof this.options.onError)throw e;this.options.onError(e)},i.prototype.setSchema=function(e,t){if(e){var i;try{this.options.ajv?i=this.options.ajv:((i=p({allErrors:!0,verbose:!0,schemaId:"auto",$data:!0})).addMetaSchema(n(75)),i.addMetaSchema(n(76)))}catch(e){console.warn("Failed to create an instance of Ajv, JSON Schema validation is not available. Please use a JSONEditor bundle including Ajv, or pass an instance of Ajv as via the configuration option `ajv`.")}if(i){if(t){for(var r in t)i.removeSchema(r),t[r]&&i.addSchema(t[r],r);this.options.schemaRefs=t}this.validateSchema=i.compile(e),this.options.schema=e,this.validate()}this.refresh()}else this.validateSchema=null,this.options.schema=null,this.options.schemaRefs=null,this.validate(),this.refresh()},i.prototype.validate=function(){},i.prototype.refresh=function(){},i.registerMode=function(e){var t,n;if(Array.isArray(e))for(t=0;t<e.length;t++)i.registerMode(e[t]);else{if(!("mode"in e))throw new Error('Property "mode" missing');if(!("mixin"in e))throw new Error('Property "mixin" missing');if(!("data"in e))throw new Error('Property "data" missing');var r=e.mode;if(r in i.modes)throw new Error('Mode "'+r+'" already registered');if("function"!=typeof e.mixin.create)throw new Error('Required function "create" missing on mixin');var o=["setMode","registerMode","modes"];for(t=0;t<o.length;t++)if((n=o[t])in e.mixin)throw new Error('Reserved property "'+n+'" not allowed in mixin');i.modes[r]=e}},i.registerMode(s),i.registerMode(a),i.registerMode(l),i.ace=r,i.Ajv=p,i.VanillaPicker=o,i.default=i,e.exports=i},function(e,t,n){!function(){function e(e,t,n){if("string"==typeof t){var i=a(e,t);if(null!=i)return n&&n(),i}else if("[object Array]"===Object.prototype.toString.call(t)){for(var r=[],s=0,l=t.length;s<l;++s){var c=a(e,t[s]);if(null==c&&o.original)return;r.push(c)}return n&&n.apply(null,r)||!0}}var t=function(){return this}();t||"undefined"==typeof window||(t=window);var n=function(e,t,i){"string"==typeof e?(2==arguments.length&&(i=t),n.modules[e]||(n.payloads[e]=i,n.modules[e]=null)):n.original?n.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};n.modules={},n.payloads={};var i,r,o=function(t,n){var i=e("",t,n);return null==i&&o.original?o.original.apply(this,arguments):i},s=function(e,t){if(-1!==t.indexOf("!")){var n=t.split("!");return s(e,n[0])+"!"+s(e,n[1])}if("."==t.charAt(0))for(t=e.split("/").slice(0,-1).join("/")+"/"+t;-1!==t.indexOf(".")&&i!=t;){var i=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return t},a=function(t,i){i=s(t,i);var r=n.modules[i];if(!r){if("function"==typeof(r=n.payloads[i])){var o={},a={id:i,uri:"",exports:o,packaged:!0};o=r(function(t,n){return e(i,t,n)},o,a)||a.exports,n.modules[i]=o,delete n.payloads[i]}r=n.modules[i]=o||r}return r};r=t,(i="ace")&&(t[i]||(t[i]={}),r=t[i]),r.define&&r.define.packaged||(n.original=r.define,r.define=n,r.define.packaged=!0),r.acequire&&r.acequire.packaged||(o.original=r.acequire,r.acequire=o,r.acequire.packaged=!0)}(),ace.define("ace/lib/regexp",["require","exports","module"],function(e,t,n){"use strict";var i,r={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},o=void 0===r.exec.call(/()??/,"")[1],s=(i=/^/g,r.test.call(i,""),!i.lastIndex);s&&o||(RegExp.prototype.exec=function(e){var t,n,i=r.exec.apply(this,arguments);if("string"==typeof e&&i){if(!o&&1<i.length&&-1<function(e,t,n){if(Array.prototype.indexOf)return e.indexOf("",void 0);for(var i=0;i<e.length;i++)if(""===e[i])return i;return-1}(i)&&(n=RegExp(this.source,r.replace.call(function(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}(this),"g","")),r.replace.call(e.slice(i.index),n,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(i[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var a=1;a<i.length;a++)(t=this._xregexp.captureNames[a-1])&&(i[t]=i[a]);!s&&this.global&&!i[0].length&&this.lastIndex>i.index&&this.lastIndex--}return i},s||(RegExp.prototype.test=function(e){var t=r.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function i(){}function r(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}function o(e){return(e=+e)!=e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(0<e||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=p.call(arguments,1),r=function(){if(this instanceof r){var i=t.apply(this,n.concat(p.call(arguments)));return Object(i)===i?i:this}return t.apply(e,n.concat(p.call(arguments)))};return t.prototype&&(i.prototype=t.prototype,r.prototype=new i,i.prototype=null),r});var s,a,l,c,u,d=Function.prototype.call,h=Array.prototype,f=Object.prototype,p=h.slice,m=d.bind(f.toString),g=d.bind(f.hasOwnProperty);if((u=g(f,"__defineGetter__"))&&(s=d.bind(f.__defineGetter__),a=d.bind(f.__defineSetter__),l=d.bind(f.__lookupGetter__),c=d.bind(f.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),n.length,t+1==n.length)return!0}()){var v=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?v.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(p.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;0<e?n<e&&(e=n):null==e?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var i=this.slice(e,e+t),r=p.call(arguments,2),o=r.length;if(e===n)o&&this.push.apply(this,r);else{var s=Math.min(t,n-e),a=e+s,l=a+o-s,c=n-a,u=n-s;if(l<a)for(var d=0;d<c;++d)this[l+d]=this[a+d];else if(a<l)for(d=c;d--;)this[l+d]=this[a+d];if(o&&e===u)this.length=u,this.push.apply(this,r);else for(this.length=u+o,d=0;d<o;++d)this[e+d]=r[d]}return i};Array.isArray||(Array.isArray=function(e){return"[object Array]"==m(e)});var y,b=Object("a"),_="a"!=b[0]||!(0 in b);if(Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n=T(this),i=_&&"[object String]"==m(this)?this.split(""):n,r=t,o=-1,s=i.length>>>0;if("[object Function]"!=m(e))throw new TypeError;for(;++o<s;)o in i&&e.call(r,i[o],o,n)}),Array.prototype.map||(Array.prototype.map=function(e,t){var n=T(this),i=_&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0,o=Array(r),s=t;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var a=0;a<r;a++)a in i&&(o[a]=e.call(s,i[a],a,n));return o}),Array.prototype.filter||(Array.prototype.filter=function(e,t){var n,i=T(this),r=_&&"[object String]"==m(this)?this.split(""):i,o=r.length>>>0,s=[],a=t;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var l=0;l<o;l++)l in r&&(n=r[l],e.call(a,n,l,i)&&s.push(n));return s}),Array.prototype.every||(Array.prototype.every=function(e,t){var n=T(this),i=_&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0,o=t;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)if(s in i&&!e.call(o,i[s],s,n))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e,t){var n=T(this),i=_&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0,o=t;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)if(s in i&&e.call(o,i[s],s,n))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e,t){var n=T(this),i=_&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var o,s=0;if(2<=arguments.length)o=t;else for(;;){if(s in i){o=i[s++];break}if(++s>=r)throw new TypeError("reduce of empty array with no initial value")}for(;s<r;s++)s in i&&(o=e.call(void 0,o,i[s],s,n));return o}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e,t){var n=T(this),i=_&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o,s=r-1;if(2<=arguments.length)o=t;else for(;;){if(s in i){o=i[s--];break}if(--s<0)throw new TypeError("reduceRight of empty array with no initial value")}for(;s in this&&(o=e.call(void 0,o,i[s],s,n)),s--;);return o}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e,t){var n=_&&"[object String]"==m(this)?this.split(""):T(this),i=n.length>>>0;if(!i)return-1;var r=0;for(1<arguments.length&&(r=o(t)),r=0<=r?r:Math.max(0,i+r);r<i;r++)if(r in n&&n[r]===e)return r;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e,t){var n=_&&"[object String]"==m(this)?this.split(""):T(this),i=n.length>>>0;if(!i)return-1;var r=i-1;for(1<arguments.length&&(r=Math.min(r,o(t))),r=0<=r?r:i-Math.abs(r);0<=r;r--)if(r in n&&e===n[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:f)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(g(e,t)){var n;if(n={enumerable:!0,configurable:!0},u){var i=e.__proto__;e.__proto__=f;var r=l(e,t),o=c(e,t);if(e.__proto__=i,r||o)return r&&(n.get=r),o&&(n.set=o),n}return n.value=e[t],n}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(y=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){function n(){}var i;if(null===e)i=y();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");n.prototype=e,(i=new n).__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}),Object.defineProperty){var w=r({}),x="undefined"==typeof document||r(document.createElement("div"));if(!w||!x)var A=Object.defineProperty}Object.defineProperty&&!A||(Object.defineProperty=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(A)try{return A.call(Object,e,t,n)}catch(e){}if(g(n,"value"))if(u&&(l(e,t)||c(e,t))){var i=e.__proto__;e.__proto__=f,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!u)throw new TypeError("getters & setters can not be defined on this javascript engine");g(n,"get")&&s(e,t,n.get),g(n,"set")&&a(e,t,n.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)g(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(e){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var n=g(e,t);return delete e[t],n}),!Object.keys){var C=!0,k=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],M=k.length;for(var S in{toString:null})C=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)g(e,n)&&t.push(n);if(C)for(var i=0,r=M;i<r;i++){var o=k[i];g(e,o)&&t.push(o)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var L="\t\n\v\f\r \u2028\u2029\ufeff";if(!String.prototype.trim||L.trim()){L="["+L+"]";var E=new RegExp("^"+L+L+"*"),D=new RegExp(L+L+"*$");String.prototype.trim=function(){return String(this).replace(E,"").replace(D,"")}}var T=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t,n){"use strict";t.getDocumentHead=function(e){return(e=e||document).head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var i=n.indexOf(t);if(-1==i)break;n.splice(i,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),i=!0;;){var r=n.indexOf(t);if(-1==r)break;i=!1,n.splice(r,1)}return i&&n.push(t),e.className=n.join(" "),i},t.setCssClass=function(e,n,i){i?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,i=0;if((t=t||document).createStyleSheet&&(n=t.styleSheets)){for(;i<n.length;)if(n[i++].owningElement.id===e)return!0}else if(n=t.getElementsByTagName("style"))for(;i<n.length;)if(n[i++].id===e)return!0;return!1},t.importCssString=function(e,n,i){if(i=i||document,n&&t.hasCssString(n,i))return null;var r;n&&(e+="\n/*# sourceURL=ace/css/"+n+" */"),i.createStyleSheet?((r=i.createStyleSheet()).cssText=e,n&&(r.owningElement.id=n)):((r=t.createElement("style")).appendChild(i.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(i).appendChild(r))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var i=t.createElement("link");i.rel="stylesheet",i.href=e,t.getDocumentHead(n).appendChild(i)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var i=t.createElement("ace_outer"),r=i.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",i.appendChild(n);var o=e.documentElement;o.appendChild(i);var s=n.offsetWidth;r.overflow="scroll";var a=n.offsetWidth;return s==a&&(a=i.clientWidth),o.removeChild(i),s-a},"undefined"!=typeof document?(void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}):t.importCssString=function(){}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t,n){"use strict";e("./fixoldbrowsers");var i=e("./oop"),r=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();i.mixin(t,r),t.keyCodeToString=function(e){var t=r[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t,n){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),r=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||0<=navigator.appName.indexOf("MSAppHost")?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((r.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isAIR=0<=r.indexOf("AdobeAIR"),t.isIPad=0<=r.indexOf("iPad"),t.isChromeOS=0<=r.indexOf(" CrOS "),t.isIOS=/iPad|iPhone|iPod/.test(r)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";function i(e,t,n){var i=c(t);if(!s.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(i|=8),a.altGr){if(3==(3&i))return;a.altGr=0}if(18===n||17===n){var r="location"in t?t.location:t.keyLocation;17===n&&1===r?1==a[n]&&(l=t.timeStamp):18===n&&3===i&&2===r&&t.timeStamp-l<50&&(a.altGr=!0)}}if(n in o.MODIFIER_KEYS&&(n=-1),8&i&&91<=n&&n<=93&&(n=-1),i||13!==n||3!==(r="location"in t?t.location:t.keyLocation)||(e(t,i,-n),!t.defaultPrevented)){if(s.isChromeOS&&8&i){if(e(t,i,n),t.defaultPrevented)return;i&=-9}return!!(i||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,i,n)}}function r(){a=Object.create(null)}var o=e("./keys"),s=e("./useragent"),a=null,l=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var i=function(){n.call(e,window.event)};n._wrapper=i,e.attachEvent("on"+t,i)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,i){function r(e){n&&n(e),i&&i(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",r,!0),t.removeListener(document,"dragstart",r,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",r,!0),t.addListener(document,"dragstart",r,!0),r},t.addTouchMoveListener=function(e,n){var i,r;t.addListener(e,"touchstart",function(e){var t=e.touches[0];i=t.clientX,r=t.clientY}),t.addListener(e,"touchmove",function(e){var t=e.touches;if(!(1<t.length)){var o=t[0];e.wheelX=i-o.clientX,e.wheelY=r-o.clientY,i=o.clientX,r=o.clientY,n(e)}})},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),n(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)})},t.addMultiMouseDownListener=function(e,n,i,r){function o(e){if(0!==t.getButton(e)?d=0:1<e.detail?4<++d&&(d=1):d=1,s.isIE){var o=5<Math.abs(e.clientX-l)||5<Math.abs(e.clientY-c);u&&!o||(d=1),u&&clearTimeout(u),u=setTimeout(function(){u=null},n[d-1]||600),1==d&&(l=e.clientX,c=e.clientY)}if(e._clicks=d,i[r]("mousedown",e),4<d)d=0;else if(1<d)return i[r](h[d],e)}function a(e){d=2,u&&clearTimeout(u),u=setTimeout(function(){u=null},n[d-1]||600),i[r]("mousedown",e),i[r](h[d],e)}var l,c,u,d=0,h={2:"dblclick",3:"tripleclick",4:"quadclick"};Array.isArray(e)||(e=[e]),e.forEach(function(e){t.addListener(e,"mousedown",o),s.isOldIE&&t.addListener(e,"dblclick",a)})};var c=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};t.getModifierString=function(e){return o.KEY_MODS[c(e)]},t.addCommandKeyListener=function(e,n){var o=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var l=null;o(e,"keydown",function(e){l=e.keyCode}),o(e,"keypress",function(e){return i(n,e,l)})}else{var c=null;o(e,"keydown",function(e){a[e.keyCode]=(a[e.keyCode]||0)+1;var t=i(n,e,e.keyCode);return c=e.defaultPrevented,t}),o(e,"keypress",function(e){c&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),c=null)}),o(e,"keyup",function(e){a[e.keyCode]=null}),a||(r(),o(window,"focus",r))}},"object"==typeof window&&window.postMessage&&!s.isOldIE&&(t.nextTick=function(e,n){n=n||window;var i="zero-timeout-message-1";t.addListener(n,"message",function r(o){o.data==i&&(t.stopPropagation(o),t.removeListener(n,"message",r),e())}),n.postMessage(i,"*")}),t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";0<t;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var i=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(r,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,i=e.length;n<i;n++)e[n]&&"object"==typeof e[n]?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function e(t){if("object"!=typeof t||!t)return t;var n;if(Array.isArray(t)){n=[];for(var i=0;i<t.length;i++)n[i]=e(t[i]);return n}if("[object Object]"!==Object.prototype.toString.call(t))return t;for(var i in n={},t)n[i]=e(t[i]);return n},t.arrayToMap=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){function t(){n=null,e()}var n=null,i=function(e){return i.cancel(),n=setTimeout(t,e||0),i};return(i.schedule=i).call=function(){return this.cancel(),e(),i},i.cancel=function(){return clearTimeout(n),n=null,i},i.isPending=function(){return n},i},t.delayedCall=function(e,t){function n(){r=null,e()}function i(e){null==r&&(r=setTimeout(n,e||t))}var r=null;return i.delay=function(e){r&&clearTimeout(r),r=setTimeout(n,e||t)},(i.schedule=i).call=function(){this.cancel(),e()},i.cancel=function(){r&&clearTimeout(r),r=null},i.isPending=function(){return r},i}}),ace.define("ace/keyboard/textinput_ios",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/lib/keys"],function(e,t,n){"use strict";var i=e("../lib/event"),r=e("../lib/useragent"),o=e("../lib/dom"),s=e("../lib/lang"),a=e("../lib/keys"),l=a.KEY_MODS,c=r.isChrome<18,u=r.isIE;t.TextInput=function(e,t){function n(e){if(!x){if(x=!0,L)t=0,n=e?0:v.value.length-1;else var t=4,n=5;try{v.setSelectionRange(t,n)}catch(e){}x=!1}}function d(){x||(v.value=y,r.isWebKit&&S.schedule())}function h(e){4===v.selectionStart&&5===v.selectionEnd||(L&&(e=L(e),L=null),w?(n(),e&&t.onPaste(e),w=!1):e==y.substr(0)&&4===v.selectionStart?E?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):b||(e.substring(0,9)==y&&e.length>y.length?e=e.substr(9):e.substr(0,4)==y.substr(0,4)?e=e.substr(4,e.length-y.length+1):e.charAt(e.length-1)==y.charAt(0)&&(e=e.slice(0,-1)),e==y.charAt(0)||e.charAt(e.length-1)==y.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),b=b&&!1,E=E&&!1)}function f(e){x||(h(v.value),d())}function p(e,o){var s=t.getCopyText();if(!s)return i.preventDefault(e);D(e,s)?(r.isIOS&&(_=o,v.value="\n aa"+s+"a a\n",v.setSelectionRange(4,4+s.length),b={value:s}),o?t.onCut():t.onCopy(),r.isIOS||i.preventDefault(e)):(b=!0,v.value=s,v.select(),setTimeout(function(){b=!1,d(),n(),o?t.onCut():t.onCopy()}))}function m(){clearTimeout(T),T=setTimeout(function(){A&&(v.style.cssText=A,A=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}function g(e){t.textInput.onContextMenu(e),m()}var v=o.createElement("textarea");v.className=r.isIOS?"ace_text-input ace_text-input-ios":"ace_text-input",r.isTouchPad&&v.setAttribute("x-palm-disable-auto-cap",!0),v.setAttribute("wrap","off"),v.setAttribute("autocorrect","off"),v.setAttribute("autocapitalize","off"),v.setAttribute("spellcheck",!1),v.style.opacity="0",e.insertBefore(v,e.firstChild);var y="\n aaaa a\n",b=!1,_=!1,w=!1,x=!1,A="",C=!0;try{var k=document.activeElement===v}catch(e){}i.addListener(v,"blur",function(e){t.onBlur(e),k=!1}),i.addListener(v,"focus",function(e){k=!0,t.onFocus(e),n()}),this.focus=function(){if(A)return v.focus();v.style.position="fixed",v.focus()},this.blur=function(){v.blur()},this.isFocused=function(){return k};var M=s.delayedCall(function(){k&&n(C)}),S=s.delayedCall(function(){x||(v.value=y,k&&n())});r.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=C&&(C=!C,M.schedule())}),d(),k&&t.onFocus();var L=null;this.setInputHandler=function(e){L=e};var E=!(this.getInputHandler=function(){return L}),D=function(e,t,n){var i=e.clipboardData||window.clipboardData;if(i&&!c){var r=u||n?"Text":"text/plain";try{return t?!1!==i.setData(r,t):i.getData(r)}catch(e){if(!n)return D(e,t,!0)}}};i.addCommandKeyListener(v,t.onCommandKey.bind(t)),i.addListener(v,"select",function(e){!function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(v)?L&&n(t.selection.isEmpty()):(t.selectAll(),n())}),i.addListener(v,"input",f),i.addListener(v,"cut",function(e){p(e,!0)}),i.addListener(v,"copy",function(e){p(e,!1)}),i.addListener(v,"paste",function(e){var o=D(e);"string"==typeof o?(o&&t.onPaste(o,e),r.isIE&&setTimeout(n),i.preventDefault(e)):(v.value="",w=!0)});var T,I=function(){if(x&&t.onCompositionUpdate&&!t.$readOnly){var e=v.value.replace(/\x01/g,"");if(x.lastValue!==e&&(t.onCompositionUpdate(e),x.lastValue&&t.undo(),x.canUndo&&(x.lastValue=e),x.lastValue)){var n=t.selection.getRange();t.insert(x.lastValue),t.session.markUndoGroup(),x.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},j=function(e){if(t.onCompositionEnd&&!t.$readOnly){var n=x;x=!1;var i=setTimeout(function(){i=null;var e=v.value.replace(/\x01/g,"");x||(e==n.lastValue?d():!n.lastValue&&e&&(d(),h(e)))});L=function(e){return i&&clearTimeout(i),(e=e.replace(/\x01/g,""))==n.lastValue?"":(n.lastValue&&i&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",j),"compositionend"==e.type&&n.range&&t.selection.setRange(n.range),(r.isChrome&&53<=r.isChrome||r.isWebKit&&603<=r.isWebKit)&&f()}},O=s.delayedCall(I,50);if(i.addListener(v,"compositionstart",function(e){x||!t.onCompositionStart||t.$readOnly||((x={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(I,0),t.on("mousedown",j),x.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())}),r.isGecko?i.addListener(v,"text",function(){O.schedule()}):(i.addListener(v,"keyup",function(){O.schedule()}),i.addListener(v,"keydown",function(){O.schedule()})),i.addListener(v,"compositionend",j),this.getElement=function(){return v},this.setReadOnly=function(e){v.readOnly=e},this.onContextMenu=function(e){E=!0,n(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,n){function s(e){v.style.left=e.clientX-u-2+"px",v.style.top=Math.min(e.clientY-c-2,d)+"px"}A=A||v.style.cssText,v.style.cssText=(n?"z-index:100000;":"")+"height:"+v.style.height+";"+(r.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),c=a.top+(parseInt(l.borderTopWidth)||0),u=a.left+(parseInt(a.borderLeftWidth)||0),d=a.bottom-c-v.clientHeight-2;s(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(T),r.isWin&&i.capture(t.container,s,m))},this.onContextMenuClose=m,i.addListener(v,"mouseup",g),i.addListener(v,"mousedown",function(e){e.preventDefault(),m()}),i.addListener(t.renderer.scroller,"contextmenu",g),i.addListener(v,"contextmenu",g),r.isIOS){var F=null,N=!1;e.addEventListener("keydown",function(e){F&&clearTimeout(F),N=!0}),e.addEventListener("keyup",function(e){F=setTimeout(function(){N=!1},100)});var Y=function(e){if(document.activeElement===v&&!N){if(_)return setTimeout(function(){_=!1},100);var n=v.selectionStart,i=v.selectionEnd;if(v.setSelectionRange(4,5),n==i)switch(n){case 0:t.onCommandKey(null,0,a.up);break;case 1:t.onCommandKey(null,0,a.home);break;case 2:t.onCommandKey(null,l.option,a.left);break;case 4:t.onCommandKey(null,0,a.left);break;case 5:t.onCommandKey(null,0,a.right);break;case 7:t.onCommandKey(null,l.option,a.right);break;case 8:t.onCommandKey(null,0,a.end);break;case 9:t.onCommandKey(null,0,a.down)}else{switch(i){case 6:t.onCommandKey(null,l.shift,a.right);break;case 7:t.onCommandKey(null,l.shift|l.option,a.right);break;case 8:t.onCommandKey(null,l.shift,a.end);break;case 9:t.onCommandKey(null,l.shift,a.down)}switch(n){case 0:t.onCommandKey(null,l.shift,a.up);break;case 1:t.onCommandKey(null,l.shift,a.home);break;case 2:t.onCommandKey(null,l.shift|l.option,a.left);break;case 3:t.onCommandKey(null,l.shift,a.left)}}}};document.addEventListener("selectionchange",Y),t.on("destroy",function(){document.removeEventListener("selectionchange",Y)})}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(e,t,n){"use strict";var i=e("../lib/event"),r=e("../lib/useragent"),o=e("../lib/dom"),s=e("../lib/lang"),a=r.isChrome<18,l=r.isIE,c=e("./textinput_ios").TextInput;t.TextInput=function(e,t){function n(e){if(!A){if(A=!0,E)var t=0,n=e?0:b.value.length-1;else t=e?2:1,n=2;try{b.setSelectionRange(t,n)}catch(e){}A=!1}}function u(){A||(b.value=_,r.isWebKit&&L.schedule())}function d(e){E&&(e=E(e),E=null),x?(n(),e&&t.onPaste(e),x=!1):e==_.charAt(0)?D?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==_?e=e.substr(2):e.charAt(0)==_.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==_.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==_.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),D=D&&!1}function h(e){A||(d(b.value),u())}function f(e,r){var o=t.getCopyText();if(!o)return i.preventDefault(e);T(e,o)?(r?t.onCut():t.onCopy(),i.preventDefault(e)):(w=!0,b.value=o,b.select(),setTimeout(function(){w=!1,u(),n(),r?t.onCut():t.onCopy()}))}function p(e){f(e,!0)}function m(e){f(e,!1)}function g(e){var o=T(e);"string"==typeof o?(o&&t.onPaste(o,e),r.isIE&&setTimeout(n),i.preventDefault(e)):(b.value="",x=!0)}function v(){clearTimeout(I),I=setTimeout(function(){C&&(b.style.cssText=C,C=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}function y(e){t.textInput.onContextMenu(e),v()}if(r.isIOS)return c.call(this,e,t);var b=o.createElement("textarea");b.className="ace_text-input",b.setAttribute("wrap","off"),b.setAttribute("autocorrect","off"),b.setAttribute("autocapitalize","off"),b.setAttribute("spellcheck",!1),b.style.opacity="0",e.insertBefore(b,e.firstChild);var _="\u2028\u2028",w=!1,x=!1,A=!1,C="",k=!0;try{var M=document.activeElement===b}catch(e){}i.addListener(b,"blur",function(e){t.onBlur(e),M=!1}),i.addListener(b,"focus",function(e){M=!0,t.onFocus(e),n()}),this.focus=function(){if(C)return b.focus();var e=b.style.top;b.style.position="fixed",b.style.top="0px",b.focus(),setTimeout(function(){b.style.position="","0px"==b.style.top&&(b.style.top=e)},0)},this.blur=function(){b.blur()},this.isFocused=function(){return M};var S=s.delayedCall(function(){M&&n(k)}),L=s.delayedCall(function(){A||(b.value=_,M&&n())});r.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=k&&(k=!k,S.schedule())}),u(),M&&t.onFocus();var E=null;this.setInputHandler=function(e){E=e};var D=!(this.getInputHandler=function(){return E}),T=function(e,t,n){var i=e.clipboardData||window.clipboardData;if(i&&!a){var r=l||n?"Text":"text/plain";try{return t?!1!==i.setData(r,t):i.getData(r)}catch(e){if(!n)return T(e,t,!0)}}};i.addCommandKeyListener(b,t.onCommandKey.bind(t)),i.addListener(b,"select",function(e){w?w=!1:function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(b)?(t.selectAll(),n()):E&&n(t.selection.isEmpty())}),i.addListener(b,"input",h),i.addListener(b,"cut",p),i.addListener(b,"copy",m),i.addListener(b,"paste",g),"oncut"in b&&"oncopy"in b&&"onpaste"in b||i.addListener(e,"keydown",function(e){if((!r.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:m(e);break;case 86:g(e);break;case 88:p(e)}});var I,j=function(){if(A&&t.onCompositionUpdate&&!t.$readOnly){var e=b.value.replace(/\u2028/g,"");if(A.lastValue!==e&&(t.onCompositionUpdate(e),A.lastValue&&t.undo(),A.canUndo&&(A.lastValue=e),A.lastValue)){var n=t.selection.getRange();t.insert(A.lastValue),t.session.markUndoGroup(),A.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},O=function(e){if(t.onCompositionEnd&&!t.$readOnly){var n=A;A=!1;var i=setTimeout(function(){i=null;var e=b.value.replace(/\u2028/g,"");A||(e==n.lastValue?u():!n.lastValue&&e&&(u(),d(e)))});E=function(e){return i&&clearTimeout(i),(e=e.replace(/\u2028/g,""))==n.lastValue?"":(n.lastValue&&i&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",O),"compositionend"==e.type&&n.range&&t.selection.setRange(n.range),(r.isChrome&&53<=r.isChrome||r.isWebKit&&603<=r.isWebKit)&&h()}},F=s.delayedCall(j,50);i.addListener(b,"compositionstart",function(e){A||!t.onCompositionStart||t.$readOnly||((A={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(j,0),t.on("mousedown",O),A.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())}),r.isGecko?i.addListener(b,"text",function(){F.schedule()}):(i.addListener(b,"keyup",function(){F.schedule()}),i.addListener(b,"keydown",function(){F.schedule()})),i.addListener(b,"compositionend",O),this.getElement=function(){return b},this.setReadOnly=function(e){b.readOnly=e},this.onContextMenu=function(e){D=!0,n(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,n){function s(e){b.style.left=e.clientX-u-2+"px",b.style.top=Math.min(e.clientY-c-2,d)+"px"}C=C||b.style.cssText,b.style.cssText=(n?"z-index:100000;":"")+"height:"+b.style.height+";"+(r.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),c=a.top+(parseInt(l.borderTopWidth)||0),u=a.left+(parseInt(a.borderLeftWidth)||0),d=a.bottom-c-b.clientHeight-2;s(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(I),r.isWin&&i.capture(t.container,s,v))},this.onContextMenuClose=v,i.addListener(b,"mouseup",y),i.addListener(b,"mousedown",function(e){e.preventDefault(),v()}),i.addListener(t.renderer.scroller,"contextmenu",y),i.addListener(b,"contextmenu",y)}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function r(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else n=e.start.row!=e.end.row-1||e.start.column||e.end.column?2*t.row-e.start.row-e.end.row:t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}e("../lib/dom"),e("../lib/event");var o=e("../lib/useragent");(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,r=e.getButton();if(0===r)return this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,1<e.domEvent._clicks),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e));var s=i.getSelectionRange().isEmpty();return i.$blockScrolling++,!s&&1!=r||i.selection.moveToPosition(n),i.$blockScrolling--,void(2==r&&(i.textInput.onContextMenu(e.domEvent),o.isMozilla||e.preventDefault()))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var i=this.$clickSelection.comparePoint(n);if(-1==i)e=this.$clickSelection.end;else if(1==i)e=this.$clickSelection.start;else{var o=r(this.$clickSelection,n);n=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,i=n.renderer.screenToTextCoordinates(this.x,this.y),o=n.selection[e](i.row,i.column);if(n.$blockScrolling++,this.$clickSelection){var s=this.$clickSelection.comparePoint(o.start),a=this.$clickSelection.comparePoint(o.end);if(-1==s&&a<=0)t=this.$clickSelection.end,o.end.row==i.row&&o.end.column==i.column||(i=o.start);else if(1==a&&0<=s)t=this.$clickSelection.start,o.start.row==i.row&&o.start.column==i.column||(i=o.end);else if(-1==s&&1==a)i=o.end,t=o.start;else{var l=r(this.$clickSelection,i);i=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(i),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=function(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(0<e||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,i=n.session.getBracketRange(t);i?(i.isEmpty()&&(i.start.column--,i.end.column++),this.setState("select")):(i=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=i,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var i=n.getSelectionRange();i.isMultiLine()&&i.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(i.start.row),this.$clickSelection.end=n.selection.getLineRange(i.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,i=e.domEvent.timeStamp,r=i-n.t,o=e.wheelX/r,s=e.wheelY/r;r<250&&(o=(o+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(o/s),l=!1;if(1<=a&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l)n.allowed=i;else if(i-n.allowed<250){var c=Math.abs(o)<=1.1*Math.abs(n.vx)&&Math.abs(s)<=1.1*Math.abs(n.vy);n.allowed=c?(l=!0,i):0}return n.t=i,n.vx=o,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){this.editor._emit("mousewheel",e)}}).call(i.prototype),t.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t,n){"use strict";function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}e("./lib/oop");var r=e("./lib/dom");(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){r.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(i.prototype),t.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t,n){"use strict";function i(e){a.call(this,e)}var r=e("../lib/dom"),o=e("../lib/oop"),s=e("../lib/event"),a=e("../tooltip").Tooltip;o.inherits(i,a),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),o=this.getHeight();n<(e+=15)+r&&(e-=e+r-n),i<(t+=15)+o&&(t-=20+o),a.prototype.setPosition.call(this,e,t)}}.call(i.prototype),t.GutterHandler=function(e){function t(){o=o&&clearTimeout(o),l&&(d.hide(),l=null,c._signal("hideGutterTooltip",d),c.removeEventListener("mousewheel",t))}function n(e){d.setPosition(e.x,e.y)}var o,a,l,c=e.editor,u=c.renderer.$gutterLayer,d=new i(c.container);e.editor.setDefaultHandler("guttermousedown",function(t){if(c.isFocused()&&0==t.getButton()&&"foldWidgets"!=u.getRegion(t)){var n=t.getDocumentPosition().row,i=c.session.selection;if(t.getShiftKey())i.selectTo(n,0);else{if(2==t.domEvent.detail)return c.selectAll(),t.preventDefault();e.$clickSelection=c.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}}),e.editor.setDefaultHandler("guttermousemove",function(i){var s=i.domEvent.target||i.domEvent.srcElement;if(r.hasCssClass(s,"ace_fold-widget"))return t();l&&e.$tooltipFollowsMouse&&n(i),a=i,o=o||setTimeout(function(){o=null,a&&!e.isMousePressed?function(){var i=a.getDocumentPosition().row,r=u.$annotations[i];if(!r)return t();if(i==c.session.getLength()){var o=c.renderer.pixelToScreenCoordinates(0,a.y).row,s=a.$pos;if(o>c.session.documentToScreenRow(s.row,s.column))return t()}if(l!=r)if(l=r.text.join("<br/>"),d.setHtml(l),d.show(),c._signal("showGutterTooltip",d),c.on("mousewheel",t),e.$tooltipFollowsMouse)n(a);else{var h=a.domEvent.target.getBoundingClientRect(),f=d.getElement().style;f.left=h.right+"px",f.top=h.bottom+"px"}}():t()},50)}),s.addListener(c.renderer.$gutter,"mouseout",function(e){a=null,l&&!o&&(o=setTimeout(function(){o=null,t()},50))}),c.on("changeSession",t)}}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";var i=e("../lib/event"),r=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){i.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){i.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return i.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";function i(e){function t(){var e=y;(function(e,t){var n=Date.now(),i=!t||e.row!=t.row,o=!t||e.column!=t.column;!x||i||o?(d.$blockScrolling+=1,d.moveCursorToPosition(e),d.$blockScrolling-=1,x=n,A={x:p,y:m}):5<r(A.x,A.y,p,m)?x=null:200<=n-x&&(d.renderer.scrollCursorIntoView(),x=null)})(y=d.renderer.screenToTextCoordinates(p,m),e),function(e,t){var n=Date.now(),i=d.renderer.layerConfig.lineHeight,r=d.renderer.layerConfig.characterWidth,o=d.renderer.scroller.getBoundingClientRect(),s={x:{left:p-o.left,right:o.right-p},y:{top:m-o.top,bottom:o.bottom-m}},a=Math.min(s.x.left,s.x.right),l=Math.min(s.y.top,s.y.bottom),c={row:e.row,column:e.column};a/r<=2&&(c.column+=s.x.left<s.x.right?-3:2),l/i<=1&&(c.row+=s.y.top<s.y.bottom?-1:1);var u=e.row!=c.row,h=e.column!=c.column,f=!t||e.row!=t.row;u||h&&!f?w?200<=n-w&&d.renderer.scrollCursorIntoView(c):w=n:w=null}(y,e)}function n(){v=d.selection.toOrientedRange(),f=d.session.addMarker(v,"ace_selection",d.getSelectionStyle()),d.clearSelection(),d.isFocused()&&d.renderer.$cursorLayer.setBlinking(!1),clearInterval(g),t(),g=setInterval(t,20),k=0,s.addListener(document,"mousemove",l)}function i(){clearInterval(g),d.session.removeMarker(f),f=null,d.$blockScrolling+=1,d.selection.fromOrientedRange(v),d.$blockScrolling-=1,d.isFocused()&&!_&&d.renderer.$cursorLayer.setBlinking(!d.getReadOnly()),k=0,x=w=y=v=null,s.removeListener(document,"mousemove",l)}function l(){null==M&&(M=setTimeout(function(){null!=M&&f&&i()},20))}function c(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return"text/plain"==e||"Text"==e})}function u(e){var t=["copy","copymove","all","uninitialized"],n=a.isMac?e.altKey:e.ctrlKey,i="uninitialized";try{i=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return n&&0<=t.indexOf(i)?r="copy":0<=["move","copymove","linkmove","all","uninitialized"].indexOf(i)?r="move":0<=t.indexOf(i)&&(r="copy"),r}var d=e.editor,h=o.createElement("img");h.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",a.isOpera&&(h.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(t){e[t]=this[t]},this),d.addEventListener("mousedown",this.onMouseDown.bind(e));var f,p,m,g,v,y,b,_,w,x,A,C=d.container,k=0;this.onDragStart=function(e){if(this.cancelDrag||!C.draggable){var t=this;return setTimeout(function(){t.startSelect(),t.captureMouse(e)},0),e.preventDefault()}v=d.getSelectionRange();var n=e.dataTransfer;n.effectAllowed=d.getReadOnly()?"copy":"copyMove",a.isOpera&&(d.container.appendChild(h),h.scrollTop=0),n.setDragImage&&n.setDragImage(h,0,0),a.isOpera&&d.container.removeChild(h),n.clearData(),n.setData("Text",d.session.getTextRange()),_=!0,this.setState("drag")},this.onDragEnd=function(e){if(C.draggable=!1,_=!1,this.setState(null),!d.getReadOnly()){var t=e.dataTransfer.dropEffect;b||"move"!=t||d.session.remove(d.getSelectionRange()),d.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!d.getReadOnly()&&c(e.dataTransfer))return p=e.clientX,m=e.clientY,f||n(),k++,e.dataTransfer.dropEffect=b=u(e),s.preventDefault(e)},this.onDragOver=function(e){if(!d.getReadOnly()&&c(e.dataTransfer))return p=e.clientX,m=e.clientY,f||(n(),k++),null!==M&&(M=null),e.dataTransfer.dropEffect=b=u(e),s.preventDefault(e)},this.onDragLeave=function(e){if(--k<=0&&f)return i(),b=null,s.preventDefault(e)},this.onDrop=function(e){if(y){var t=e.dataTransfer;if(_)switch(b){case"move":v=v.contains(y.row,y.column)?{start:y,end:y}:d.moveText(v,y);break;case"copy":v=d.moveText(v,y,!0)}else{var n=t.getData("Text");v={start:y,end:d.session.insert(y,n)},d.focus(),b=null}return i(),s.preventDefault(e)}},s.addListener(C,"dragstart",this.onDragStart.bind(e)),s.addListener(C,"dragend",this.onDragEnd.bind(e)),s.addListener(C,"dragenter",this.onDragEnter.bind(e)),s.addListener(C,"dragover",this.onDragOver.bind(e)),s.addListener(C,"dragleave",this.onDragLeave.bind(e)),s.addListener(C,"drop",this.onDrop.bind(e));var M=null}function r(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}var o=e("../lib/dom"),s=e("../lib/event"),a=e("../lib/useragent");(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=a.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;a.isIE&&"dragReady"==this.state&&3<r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)&&t.dragDrop(),"dragWait"===this.state&&0<r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),i=e.getButton();if(1===(e.domEvent.detail||1)&&0===i&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var r=e.domEvent.target||e.domEvent.srcElement;"unselectable"in r&&(r.unselectable="on"),t.getDragDelay()?(a.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype),t.DragdropHandler=i}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var i=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=i.getDocumentHead(),r=document.createElement("script");r.src=e,n.appendChild(r),r.onload=r.onreadystatechange=function(e,n){!n&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){"use strict";function i(){this.propagationStopped=!0}function r(){this.defaultPrevented=!0}var o={};o._emit=o._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(n.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=r),n=n.slice();for(var s=0;s<n.length&&(n[s](t,this),!t.propagationStopped);s++);return o&&!t.defaultPrevented?o(t,this):void 0}},o._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(n){n=n.slice();for(var i=0;i<n.length;i++)n[i](t,this)}},o.once=function(e,t){var n=this;t&&this.addEventListener(e,function i(){n.removeEventListener(e,i),t.apply(null,arguments)})},o.setDefaultHandler=function(e,t){var n=this._defaultHandlers;if((n=n||(this._defaultHandlers={_disabled_:{}}))[e]){var i=n[e],r=n._disabled_[e];r||(n._disabled_[e]=r=[]),r.push(i);var o=r.indexOf(t);-1!=o&&r.splice(o,1)}n[e]=t},o.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n){var i=n._disabled_[e];if(n[e]==t)n[e],i&&this.setDefaultHandler(e,i.pop());else if(i){var r=i.indexOf(t);-1!=r&&i.splice(r,1)}}},o.on=o.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];return-1==(i=i||(this._eventRegistry[e]=[])).indexOf(t)&&i[n?"unshift":"push"](t),t},o.off=o.removeListener=o.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(n){var i=n.indexOf(t);-1!==i&&n.splice(i,1)}},o.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=o}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){function i(e){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function r(e,t){var n=new Error(e);n.data=t,"object"==typeof console&&console.error&&console.error(n),setTimeout(function(){throw n})}function o(){this.$defaultOptions={}}var s=e("./oop"),a=e("./event_emitter").EventEmitter,l={setOptions:function(e){Object.keys(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]!==t){var n=this.$options[e];if(!n)return i('misspelled option "'+e+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:i('misspelled option "'+e+'"')}};(function(){s.implement(this,a),this.defineOptions=function(e,t,n){return e.$options||(this.$defaultOptions[t]=e.$options={}),Object.keys(n).forEach(function(t){var i=n[t];"string"==typeof i&&(i={forwardTo:i}),i.name||(i.name=t),"initialValue"in(e.$options[i.name]=i)&&(e["$"+i.name]=i.initialValue)}),s.implement(e,l),this},this.resetOptions=function(e){Object.keys(e.$options).forEach(function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)})},this.setDefaultValue=function(e,t,n){var i=this.$defaultOptions[e]||(this.$defaultOptions[e]={});i[t]&&(i.forwardTo?this.setDefaultValue(i.forwardTo,t,n):i[t].value=n)},this.setDefaultValues=function(e,t){Object.keys(t).forEach(function(n){this.setDefaultValue(e,n,t[n])},this)},this.warn=i,this.reportError=r}).call(o.prototype),t.AppConfig=o}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(e,t,i){function r(r){if(l&&l.document){c.packaged=r||e.packaged||i.packaged||l.define&&n(21).packaged;for(var o={},s="",a=document.currentScript||document._currentScript,u=(a&&a.ownerDocument||document).getElementsByTagName("script"),d=0;d<u.length;d++){var h=u[d],f=h.src||h.getAttribute("src");if(f){for(var p=h.attributes,m=0,g=p.length;m<g;m++){var v=p[m];0===v.name.indexOf("data-ace-")&&(o[v.name.replace(/^data-ace-/,"").replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=v.value)}var y=f.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);y&&(s=y[1])}}for(var b in s&&(o.base=o.base||s,o.packaged=!0),o.basePath=o.base,o.workerPath=o.workerPath||o.base,o.modePath=o.modePath||o.base,o.themePath=o.themePath||o.base,delete o.base,o)void 0!==o[b]&&t.set(b,o[b])}}var o=e("./lib/lang"),s=(e("./lib/oop"),e("./lib/net")),a=e("./lib/app_config").AppConfig;i.exports=t=new a;var l=function(){return this||"undefined"!=typeof window&&window}(),c={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(e){if(!c.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return c[e]},t.set=function(e,t){if(!c.hasOwnProperty(e))throw new Error("Unknown config key: "+e);c[e]=t},t.all=function(){return o.copyObject(c)},t.moduleUrl=function(e,t){if(c.$moduleUrls[e])return c.$moduleUrls[e];var n=e.split("/"),i="snippets"==(t=t||n[n.length-2]||"")?"/":"-",r=n[n.length-1];if("worker"==t&&"-"==i){var o=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");r=r.replace(o,"")}(!r||r==t)&&1<n.length&&(r=n[n.length-2]);var s=c[t+"Path"];return null==s?s=c.basePath:"/"==i&&(t=i=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+i+r+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,i){function r(){e([n],function(e){t._emit("load.module",{name:n,module:e});var i=t.$loading[n];t.$loading[n]=null,i.forEach(function(t){t&&t(e)})})}var o,a;Array.isArray(n)&&(a=n[0],n=n[1]);try{o=e(n)}catch(i){}if(o&&!t.$loading[n])return i&&i(o);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(i),!(1<t.$loading[n].length)){if(!t.get("packaged"))return r();s.loadScript(t.moduleUrl(n,a),r)}},r(!0),t.init=r}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t,n){"use strict";function i(e){function t(t){document.hasFocus&&document.hasFocus()&&(e.isFocused()||document.activeElement!=(e.textInput&&e.textInput.getElement()))||window.focus(),e.focus()}var n=this;this.editor=e,new s(this),new a(this),new c(this);var i=e.renderer.getMouseEventTarget();r.addListener(i,"click",this.onMouseEvent.bind(this,"click")),r.addListener(i,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener([i,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var l=e.renderer.$gutter;r.addListener(l,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(l,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(l,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(l,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(i,"mousedown",t),r.addListener(l,"mousedown",t),o.isIE&&e.renderer.scrollBarV&&(r.addListener(e.renderer.scrollBarV.element,"mousedown",t),r.addListener(e.renderer.scrollBarH.element,"mousedown",t)),e.on("mousemove",function(t){if(!n.state&&!n.$dragDelay&&n.$dragEnabled){var i=e.renderer.screenToTextCoordinates(t.x,t.y),r=e.session.selection.getRange(),o=e.renderer;!r.isEmpty()&&r.insideStart(i.row,i.column)?o.setCursorStyle("default"):o.setCursorStyle("")}})}var r=e("../lib/event"),o=e("../lib/useragent"),s=e("./default_handlers").DefaultHandlers,a=e("./default_gutter_handler").GutterHandler,l=e("./mouse_event").MouseEvent,c=e("./dragdrop_handler").DragdropHandler,u=e("../config");(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new l(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new l(t,this.editor))},this.onMouseWheel=function(e,t){var n=new l(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new l(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){function n(e){if(e){if(o.isWebKit&&!e.which&&a.releaseMouse)return a.releaseMouse();a.x=e.clientX,a.y=e.clientY,t&&t(e),a.mouseEvent=new l(e,a.editor),a.$mouseMoved=!0}}function i(e){clearInterval(u),c(),a[a.state+"End"]&&a[a.state+"End"](e),a.state="",null==s.$keepTextAreaAtCursor&&(s.$keepTextAreaAtCursor=!0,s.$moveTextAreaToCursor()),a.isMousePressed=!1,a.$onCaptureMouseMove=a.releaseMouse=null,e&&a.onMouseEvent("mouseup",e)}this.x=e.x,this.y=e.y,this.isMousePressed=!0;var s=this.editor.renderer;s.$keepTextAreaAtCursor&&(s.$keepTextAreaAtCursor=null);var a=this,c=function(){a[a.state]&&a[a.state](),a.$mouseMoved=!1};if(o.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout(function(){i(e)});a.$onCaptureMouseMove=n,a.releaseMouse=r.capture(this.editor.container,n,i);var u=setInterval(c,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&r.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(i.prototype),u.defineOptions(i.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:o.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=i}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){"use strict";t.FoldHandler=function(e){e.on("click",function(t){var n=t.getDocumentPosition(),i=e.session,r=i.getFoldAt(n.row,n.column,1);r&&(t.getAccelKey()?i.removeFold(r):i.expandFold(r),t.stop())}),e.on("gutterclick",function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,i=e.session;i.foldWidgets&&i.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,i=e.session,r=i.getParentFoldRangeData(n,!0),o=r.range||r.firstRange;if(o){n=o.start.row;var s=i.getFoldAt(n,i.getLine(n).length,1);s?i.removeFold(s):(i.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}})}}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){"use strict";function i(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)}var r=e("../lib/keys"),o=e("../lib/event");(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);-1!=n&&this.$handlers.splice(n,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==n&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(t,e)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,i){for(var r,s=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&!((r=this.$handlers[l].handleKeyboard(this.$data,e,t,n,i))&&r.command&&((s="null"==r.command||a.exec(r.command,this.$editor,r.args,i))&&i&&-1!=e&&1!=r.passEvent&&1!=r.command.passEvent&&o.stopEvent(i),s)););return s||-1!=e||(r={command:"insertstring"},s=a.exec("insertstring",this.$editor,t)),s&&this.$editor._signal&&this.$editor._signal("keyboardActivity",r),s},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(i.prototype),t.KeyBinding=i}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(e,t,n){"use strict";function i(e,t,n){if(!(a<e))if(1!=e||1!=s||c)for(var i,r,o,l,u=n.length,d=0;d<u;){if(t[d]>=e){for(i=d+1;i<u&&t[i]>=e;)i++;for(r=d,o=i-1;r<o;r++,o--)l=n[r],n[r]=n[o],n[o]=l;d=i}d++}else n.reverse()}function r(e,t,n,i){var r,o,a,d,h=t[i];switch(h){case f:case p:l=!1;case v:case g:return h;case m:return l?g:m;case _:return l=!0,p;case w:return v;case x:return i<1||i+1>=t.length||(r=n[i-1])!=m&&r!=g||(o=t[i+1])!=m&&o!=g?v:(l&&(o=g),o==r?o:v);case A:return(r=0<i?n[i-1]:y)==m&&i+1<t.length&&t[i+1]==m?m:v;case C:if(0<i&&n[i-1]==m)return m;if(l)return v;for(d=i+1,a=t.length;d<a&&t[d]==C;)d++;return d<a&&t[d]==m?m:v;case k:for(a=t.length,d=i+1;d<a&&t[d]==k;)d++;if(d<a){var I=e[i],j=1425<=I&&I<=2303||64286==I;if(r=t[d],j&&(r==p||r==_))return p}return i<1||(r=t[i-1])==y?v:n[i-1];case y:return c=!(l=!1),s;case b:return u=!0,v;case M:case S:case E:case D:case L:l=!1;case T:return v}}function o(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?191<t?f:I[t]:5==n?/[\u0591-\u05f4]/.test(e)?p:f:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?k:/[\u0660-\u0669\u066b-\u066c]/.test(e)?g:1642==t?C:/[\u06f0-\u06f9]/.test(e)?m:_:32==n&&t<=8287?j[255&t]:254==n&&65136<=t?_:v}var s=0,a=0,l=!1,c=!1,u=!1,d=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],h=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],f=0,p=1,m=2,g=3,v=4,y=5,b=6,_=7,w=8,x=9,A=10,C=11,k=12,M=13,S=14,L=15,E=16,D=17,T=18,I=[T,T,T,T,T,T,T,T,T,b,y,b,w,y,T,T,T,T,T,T,T,T,T,T,T,T,T,T,y,y,y,b,w,v,v,C,C,C,v,v,v,v,v,A,x,A,x,x,m,m,m,m,m,m,m,m,m,m,x,v,v,v,v,v,v,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,v,v,v,v,v,v,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,v,v,v,v,T,T,T,T,T,T,y,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,x,v,C,C,C,C,v,v,v,v,f,v,v,T,v,v,C,C,m,m,v,f,v,v,v,m,f,v,v,v,v,v],j=[w,w,w,w,w,w,w,w,w,w,w,T,T,T,f,p,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,w,y,M,S,L,E,D,x,C,C,C,C,C,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,x,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,w];t.L=f,t.R=p,t.EN=m,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT="·",t.doBidiReorder=function(e,n,f){if(e.length<2)return{};var m=e.split(""),x=new Array(m.length),A=new Array(m.length),C=[];s=f?1:0,function(e,t,n,i){var f=s?h:d,p=null,m=null,g=null,v=0,_=null,x=-1,A=null,C=null,k=[];if(!i)for(A=0,i=[];A<n;A++)i[A]=o(e[A]);for(a=s,u=c=l=!1,C=0;C<n;C++){if(p=v,k[C]=m=r(e,i,k,C),_=240&(v=f[p][m]),v&=15,t[C]=g=f[v][5],0<_)if(16==_){for(A=x;A<C;A++)t[A]=1;x=-1}else x=-1;if(f[v][6])-1==x&&(x=C);else if(-1<x){for(A=x;A<C;A++)t[A]=g;x=-1}i[C]==y&&(t[C]=0),a|=g}if(u)for(A=0;A<n;A++)if(i[A]==b){t[A]=s;for(var M=A-1;0<=M&&i[M]==w;M--)t[M]=s}}(m,C,m.length,n);for(var k=0;k<x.length;x[k]=k,k++);for(i(2,C,x),i(1,C,x),k=0;k<x.length-1;k++)n[k]===g?C[k]=t.AN:C[k]===p&&(n[k]>_&&n[k]<M||n[k]===v||n[k]===T)?C[k]=t.ON_R:0<k&&"ل"===m[k-1]&&/\u0622|\u0623|\u0625|\u0627/.test(m[k])&&(C[k-1]=C[k]=t.R_H,k++);for(m[m.length-1]===t.DOT&&(C[m.length-1]=t.B),k=0;k<x.length;k++)A[k]=C[x[k]];return{logicalFromVisual:x,bidiLevels:A}},t.hasBidiCharacters=function(e,t){for(var n=!1,i=0;i<e.length;i++)t[i]=o(e.charAt(i)),n||t[i]!=p&&t[i]!=_||(n=!0);return n},t.getVisualFromLogicalIdx=function(e,t){for(var n=0;n<t.logicalFromVisual.length;n++)if(t.logicalFromVisual[n]==e)return n;return 0}}),ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang","ace/lib/useragent"],function(e,t,n){"use strict";function i(e){this.session=e,this.bidiMap={},this.currentRow=null,this.bidiUtil=r,this.charWidths=[],this.EOL="¬",this.showInvisibles=!0,this.isRtlDir=!1,this.line="",this.wrapIndent=0,this.isLastRow=!1,this.EOF="¶",this.seenBidi=!1}var r=e("./lib/bidiutil"),o=e("./lib/lang"),s=e("./lib/useragent"),a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;(function(){this.isBidiRow=function(e,t,n){return!!this.seenBidi&&(e!==this.currentRow&&(this.currentRow=e,this.updateRowLine(t,n),this.updateBidiMap()),this.bidiMap.bidiLevels)},this.onChange=function(e){this.seenBidi?this.currentRow=null:"insert"==e.action&&a.test(e.lines.join("\n"))&&(this.seenBidi=!0,this.currentRow=null)},this.getDocumentRow=function(){var e=0,t=this.session.$screenRowCache;if(t.length){var n=this.session.$getRowCacheIndex(t,this.currentRow);0<=n&&(e=this.session.$docRowCache[n])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,i=this.session.$getRowCacheIndex(t,this.currentRow);0<this.currentRow-e&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===i;)i=n,e++;return e},this.updateRowLine=function(e,t){if(void 0===e&&(e=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=e===this.session.getLength()-1,this.line=this.session.getLine(e),this.session.$useWrapMode){var n=this.session.$wrapData[e];n&&(void 0===t&&(t=this.getSplitIndex()),0<t&&n.length?(this.wrapIndent=n.indent,this.line=t<n.length?this.line.substring(n[t-1],n[n.length-1]):this.line.substring(n[n.length-1])):this.line=this.line.substring(0,n[t]))}var i,s=this.session,a=0;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(e,t){return"\t"===e||s.isFullWidth(e.charCodeAt(0))?(i="\t"===e?s.getScreenTabSize(t+a):2,a+=i-1,o.stringRepeat(r.DOT,i)):e})},this.updateBidiMap=function(){var e=[],t=this.isLastRow?this.EOF:this.EOL,n=this.line+(this.showInvisibles?t:r.DOT);r.hasBidiCharacters(n,e)?this.bidiMap=r.doBidiReorder(n,e,this.isRtlDir):this.bidiMap={}},this.markAsDirty=function(){this.currentRow=null},this.updateCharacterWidths=function(e){if(this.seenBidi&&this.characterWidth!==e.$characterSize.width){var t=this.characterWidth=e.$characterSize.width,n=e.$measureCharWidth("ה");this.charWidths[r.L]=this.charWidths[r.EN]=this.charWidths[r.ON_R]=t,this.charWidths[r.R]=this.charWidths[r.AN]=n,this.charWidths[r.R_H]=s.isChrome?n:.45*n,this.charWidths[r.B]=0,this.currentRow=null}},this.getShowInvisibles=function(){return this.showInvisibles},this.setShowInvisibles=function(e){this.showInvisibles=e,this.currentRow=null},this.setEolChar=function(e){this.EOL=e},this.setTextDir=function(e){this.isRtlDir=e},this.getPosLeft=function(e){e-=this.wrapIndent;var t=r.getVisualFromLogicalIdx(0<e?e-1:0,this.bidiMap),n=this.bidiMap.bidiLevels,i=0;0===e&&n[t]%2!=0&&t++;for(var o=0;o<t;o++)i+=this.charWidths[n[o]];return 0!==e&&n[t]%2==0&&(i+=this.charWidths[n[t]]),this.wrapIndent&&(i+=this.wrapIndent*this.charWidths[r.L]),i},this.getSelections=function(e,t){for(var n,i,o=this.bidiMap,s=o.bidiLevels,a=this.wrapIndent*this.charWidths[r.L],l=[],c=Math.min(e,t)-this.wrapIndent,u=Math.max(e,t)-this.wrapIndent,d=!1,h=!1,f=0,p=0;p<s.length;p++)i=o.logicalFromVisual[p],n=s[p],(d=c<=i&&i<u)&&!h?f=a:!d&&h&&l.push({left:f,width:a-f}),a+=this.charWidths[n],h=d;return d&&p===s.length&&l.push({left:f,width:a-f}),l},this.offsetToCol=function(e){e=Math.max(e,0);var t=0,n=0,i=this.bidiMap.bidiLevels,o=this.charWidths[i[n]];for(this.wrapIndent&&(e-=this.wrapIndent*this.charWidths[r.L]);t+o/2<e;){if(t+=o,n===i.length-1){o=0;break}o=this.charWidths[i[++n]]}return(0<n&&i[n-1]%2!=0&&i[n]%2==0?(e<t&&n--,this.bidiMap.logicalFromVisual[n]):0<n&&i[n-1]%2==0&&i[n]%2!=0?1+(t<e?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===i.length-1&&0===o&&i[n-1]%2==0||!this.isRtlDir&&0===n&&i[n]%2!=0?1+this.bidiMap.logicalFromVisual[n]:(0<n&&i[n-1]%2!=0&&0!==o&&n--,this.bidiMap.logicalFromVisual[n]))+this.wrapIndent}}).call(i.prototype),t.BidiHandler=i}),ace.define("ace/range",["require","exports","module"],function(e,t,n){"use strict";function i(e,t,n,i){this.start={row:e,column:t},this.end={row:n,column:i}}(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,i=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(i.row,i.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(i.row,i.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else this.end.row<e&&(n={row:e,column:0});if(this.start.row>t)var r={row:t+1,column:0};else this.start.row<e&&(r={row:e,column:0});return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(0==n)return this;if(-1==n)var r={row:e,column:t};else var o={row:e,column:t};return i.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t,n){"use strict";function i(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})}var r=e("./lib/oop"),o=e("./lib/lang"),s=e("./lib/event_emitter").EventEmitter,a=e("./range").Range;(function(){r.implement(this,s),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.isEmpty()&&this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty)this.moveCursorTo(this.lead.row,this.lead.column+e);else{var t=this.getSelectionAnchor(),n=this.getSelectionLead(),i=this.isBackwards();i&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),!i&&0===n.column||this.$moveSelection(function(){this.moveCursorTo(n.row,n.column+e)})}},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,i="number"==typeof e?e:this.lead.row,r=this.session.getFoldLine(i);return n=r?(i=r.start.row,r.end.row):i,!0===t?new a(i,0,n,this.session.getLine(n).length):new a(i,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var i=e.column,r=e.column+t;return n<0&&(i=e.column-t,r=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(i,r).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)0<t.row&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize();t=this.lead,this.wouldMoveIntoSoftTab(t,n,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),i=this.session.screenToDocumentPosition(n,0),r=this.session.getDisplayLine(e,null,i.row,i.column).match(/^\s*/);r[0].length==t||this.session.$useEmacsStyleLineStart||(i.column+=r[0].length),this.moveCursorToPosition(i)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var i=n.search(/\s+$/);0<i&&(t.column=i)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(e,t,1);if(r)this.moveCursorTo(r.end.row,r.end.column);else{if(this.session.nonTokenRe.exec(i)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,i=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e<this.doc.getLength()-1&&this.moveCursorWordRight());this.session.tokenRe.exec(i)&&(t+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(e,t)}},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))this.moveCursorTo(e.start.row,e.start.column);else{var i=this.session.getFoldStringAt(t,n,-1);null==i&&(i=this.doc.getLine(t).substring(0,n));var r=o.stringReverse(i);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(r)&&(n-=this.session.nonTokenRe.lastIndex,r=r.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),n<=0)return this.moveCursorTo(t,0),this.moveCursorLeft(),void(0<t&&this.moveCursorWordLeft());this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,i=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&i.test(t);)n++;if(n<1)for(r.lastIndex=0;(t=e[n])&&!r.test(t);)if(r.lastIndex=0,n++,i.test(t)){if(2<n){n--;break}for(;(t=e[n])&&i.test(t);)n++;if(2<n)break}}return r.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==n.length){for(var o=this.doc.getLength();e++,i=this.doc.getLine(e),e<o&&/^\s*$/.test(i););/^\s+/.test(i)||(i=""),t=0}var s=this.$shortWordEndIndex(i);this.moveCursorTo(e,t+s)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))return this.moveCursorTo(e.start.row,e.start.column);var i=this.session.getLine(t).substring(0,n);if(0===n){for(;t--,i=this.doc.getLine(t),0<t&&/^\s*$/.test(i););n=i.length,/\s+$/.test(i)||(i="")}var r=o.stringReverse(i),s=this.$shortWordEndIndex(r);return this.moveCursorTo(t,n-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n,i=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(i.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(i.column),i.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=i.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column);var r=this.session.screenToDocumentPosition(i.row+e,i.column,n);0!==e&&0===t&&r.row===this.lead.row&&r.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[r.row]&&(0<r.row||0<e)&&r.row++,this.moveCursorTo(r.row,r.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var i=this.session.getFoldAt(e,t,1);i&&(e=i.start.row,t=i.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(r.charAt(t))&&r.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var i=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(i.row,i.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(e){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(i.prototype),t.Selection=i}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(e,t,n){"use strict";function i(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],i=[],r=0,o=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l<n.length;l++){var c=n[l];if(c.defaultToken&&(o.defaultToken=c.defaultToken),c.caseInsensitive&&(s="gi"),null!=c.regex){c.regex instanceof RegExp&&(c.regex=c.regex.toString().slice(1,-1));var u=c.regex,d=new RegExp("(?:("+u+")|(.))").exec("a").length-2;Array.isArray(c.token)?1==c.token.length||1==d?c.token=c.token[0]:d-1!=c.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:c,groupCount:d-1}),c.token=c.token[0]):(c.tokenArray=c.token,c.token=null,c.onMatch=this.$arrayTokens):"function"!=typeof c.token||c.onMatch||(c.onMatch=1<d?this.$applyToken:c.token),1<d&&(u=/\\\d/.test(c.regex)?c.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+r+1)}):(d=1,this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),o[r]=l,r+=d,i.push(u),c.onMatch||(c.onMatch=null)}}i.length||(o[0]=0,i.push("$")),a.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)},this),this.regExps[t]=new RegExp("("+i.join(")|(")+")|($)",s)}}var r=e("./config"),o=2e3;(function(){this.$setMaxTokenCount=function(e){o=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var i=[],r=0,o=n.length;r<o;r++)t[r]&&(i[i.length]={type:n[r],value:t[r]});return i},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var n=[],i=this.tokenArray,r=0,o=i.length;r<o;r++)t[r+1]&&(n[n.length]={type:i[r],value:t[r+1]});return n},this.removeCapturingGroups=function(e){return e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e})},this.createSplitterRegexp=function(e,t){if(-1!=e.indexOf("(?=")){var n=0,i=!1,r={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,o,s,a,l){return i?i="]"!=a:a?i=!0:s?(n==r.stack&&(r.end=l+1,r.stack=-1),n--):o&&(n++,1!=o.length&&(r.stack=n,r.start=l)),e}),null!=r.end&&/^\)*$/.test(e.substr(r.end))&&(e=e.substring(0,r.start)+e.substr(r.end))}return"^"!=e.charAt(0)&&(e="^"+e),"$"!=e.charAt(e.length-1)&&(e+="$"),new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t)"#tmp"===(t=(n=t.slice(0))[0])&&(n.shift(),t=n.shift());else var n=[];var i=t||"start",r=this.states[i];r||(i="start",r=this.states[i]);for(var s,a=this.matchMappings[i],l=this.regExps[i],c=[],u=l.lastIndex=0,d=0,h={type:null,value:""};s=l.exec(e);){var f=a.defaultToken,p=null,m=s[0],g=l.lastIndex;if(g-m.length>u){var v=e.substring(u,g-m.length);h.type==f?h.value+=v:(h.type&&c.push(h),h={type:f,value:v})}for(var y=0;y<s.length-2;y++)if(void 0!==s[y+1]){f=(p=r[a[y]]).onMatch?p.onMatch(m,i,n,e):p.token,p.next&&(i="string"==typeof p.next?p.next:p.next(i,n),(r=this.states[i])||(this.reportError("state doesn't exist",i),i="start",r=this.states[i]),a=this.matchMappings[i],u=g,(l=this.regExps[i]).lastIndex=g),p.consumeLineEnd&&(u=g);break}if(m)if("string"==typeof f)p&&!1===p.merge||h.type!==f?(h.type&&c.push(h),h={type:f,value:m}):h.value+=m;else if(f)for(h.type&&c.push(h),h={type:null,value:""},y=0;y<f.length;y++)c.push(f[y]);if(u==e.length)break;if(u=g,d++>o){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u<e.length;)h.type&&c.push(h),h={value:e.substring(u,u+=2e3),type:"overflow"};i="start",n=[];break}}return h.type&&c.push(h),1<n.length&&n[0]!==i&&n.unshift("#tmp",i),{tokens:c,state:n.length?n:i}},this.reportError=r.reportError}).call(i.prototype),t.Tokenizer=i}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";function i(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}}var r=e("../lib/lang");(function(){function e(e,t){return"start"==e&&!t.length||t.unshift(this.nextState,e),this.nextState}function t(e,t){return t.shift(),t.shift()||"start"}this.addRules=function(e,t){if(t)for(var n in e){for(var i=e[n],r=0;r<i.length;r++){var o=i[r];(o.next||o.onMatch)&&("string"==typeof o.next&&0!==o.next.indexOf(t)&&(o.next=t+o.next),o.nextState&&0!==o.nextState.indexOf(t)&&(o.nextState=t+o.nextState))}this.$rules[t+n]=i}else for(var n in e)this.$rules[n]=e[n]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,i,o){var s="function"==typeof e?(new e).getRules():e;if(i)for(var a=0;a<i.length;a++)i[a]=t+i[a];else for(var l in i=[],s)i.push(t+l);if(this.addRules(s,t),n){var c=Array.prototype[o?"push":"unshift"];for(a=0;a<i.length;a++)c.apply(this.$rules[i[a]],r.deepCopy(n))}this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds},this.normalizeRules=function(){var n=0,i=this.$rules;Object.keys(i).forEach(function r(o){var s=i[o];s.processed=!0;for(var a=0;a<s.length;a++){var l=s[a],c=null;Array.isArray(l)&&(c=l,l={}),!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var u=l.next||l.push;if(u&&Array.isArray(u)){var d=l.stateName;d||("string"!=typeof(d=l.token)&&(d=d[0]||""),i[d]&&(d+=n++)),i[d]=u,r(l.next=d)}else"pop"==u&&(l.next=t);if(l.push&&(l.nextState=l.next||l.push,l.next=e,delete l.push),l.rules)for(var h in l.rules)i[h]?i[h].push&&i[h].push.apply(i[h],l.rules[h]):i[h]=l.rules[h];var f="string"==typeof l?l:l.include;if(f&&(c=Array.isArray(f)?f.map(function(e){return i[e]}):i[f]),c){var p=[a,1].concat(c);l.noEscape&&(p=p.filter(function(e){return!e.next})),s.splice.apply(s,p),a--}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}},this)},this.createKeywordMapper=function(e,t,n,i){var r=Object.create(null);return Object.keys(e).forEach(function(t){var o=e[t];n&&(o=o.toLowerCase());for(var s=o.split(i||"|"),a=s.length;a--;)r[s[a]]=t}),Object.getPrototypeOf(r)&&(r.__proto__=null),this.$keywordList=Object.keys(r),e=null,n?function(e){return r[e.toLowerCase()]||t}:function(e){return r[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(i.prototype),t.TextHighlightRules=i}),ace.define("ace/mode/behaviour",["require","exports","module"],function(e,t,n){"use strict";function i(){this.$behaviours={}}(function(){this.add=function(e,t,n){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var n=(new e).getBehaviours(t);else n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(e){for(var t={},n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}return this.$behaviours}}).call(i.prototype),t.Behaviour=i}),ace.define("ace/token_iterator",["require","exports","module","ace/range"],function(e,t,n){"use strict";function i(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var i=e.getTokenAt(t,n);this.$tokenIndex=i?i.index:-1}var r=e("./range").Range;(function(){this.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){var e;for(this.$tokenIndex+=1;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,e=e||this.$session.getLength(),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;0<t;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new r(this.$row,t,this.$row,t+e.value.length)}}).call(i.prototype),t.TokenIterator=i}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){"use strict";function i(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,h.rangeCount!=e.multiSelect.rangeCount&&(h={rangeCount:e.multiSelect.rangeCount})),h[t])return o=h[t];o=h[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}}function r(e,t,n,i){var r=e.end.row-e.start.row;return{text:n+t+i,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}}var o,s=e("../../lib/oop"),a=e("../behaviour").Behaviour,l=e("../../token_iterator").TokenIterator,c=e("../../lib/lang"),u=["text","paren.rparen","punctuation.operator"],d=["text","paren.rparen","punctuation.operator","comment"],h={},f={'"':'"',"'":"'"},p=function(e){this.add("braces","insertion",function(t,n,s,a,l){var u=s.getCursorPosition(),d=a.doc.getLine(u.row);if("{"==l){i(s);var h=s.getSelectionRange(),f=a.doc.getTextRange(h);if(""!==f&&"{"!==f&&s.getWrapBehavioursEnabled())return r(h,f,"{","}");if(p.isSaneInsertion(s,a))return/[\]\}\)]/.test(d[u.column])||s.inMultiSelectMode||e&&e.braces?(p.recordAutoInsert(s,a,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(s,a,"{"),{text:"{",selection:[1,1]})}else if("}"==l){if(i(s),"}"==d.substring(u.column,u.column+1)&&null!==a.$findOpeningBracket("}",{column:u.column+1,row:u.row})&&p.isAutoInsertedClosing(u,d,l))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==l||"\r\n"==l){i(s);var m="";if(p.isMaybeInsertedClosing(u,d)&&(m=c.stringRepeat("}",o.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===d.substring(u.column,u.column+1)){var g=a.findMatchingBracket({row:u.row,column:u.column+1},"}");if(!g)return null;var v=this.$getIndent(a.getLine(g.row))}else{if(!m)return void p.clearMaybeInsertedClosing();v=this.$getIndent(d)}var y=v+a.getTabString();return{text:"\n"+y+"\n"+v+m,selection:[1,y.length,1,y.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,r,s){var a=r.doc.getTextRange(s);if(!s.isMultiLine()&&"{"==a){if(i(n),"}"==r.doc.getLine(s.start.row).substring(s.end.column,s.end.column+1))return s.end.column++,s;o.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,t,n,o,s){if("("==s){i(n);var a=n.getSelectionRange(),l=o.doc.getTextRange(a);if(""!==l&&n.getWrapBehavioursEnabled())return r(a,l,"(",")");if(p.isSaneInsertion(n,o))return p.recordAutoInsert(n,o,")"),{text:"()",selection:[1,1]}}else if(")"==s){i(n);var c=n.getCursorPosition(),u=o.doc.getLine(c.row);if(")"==u.substring(c.column,c.column+1)&&null!==o.$findOpeningBracket(")",{column:c.column+1,row:c.row})&&p.isAutoInsertedClosing(c,u,s))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(e,t,n,r,o){var s=r.doc.getTextRange(o);if(!o.isMultiLine()&&"("==s&&(i(n),")"==r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o}),this.add("brackets","insertion",function(e,t,n,o,s){if("["==s){i(n);var a=n.getSelectionRange(),l=o.doc.getTextRange(a);if(""!==l&&n.getWrapBehavioursEnabled())return r(a,l,"[","]");if(p.isSaneInsertion(n,o))return p.recordAutoInsert(n,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==s){i(n);var c=n.getCursorPosition(),u=o.doc.getLine(c.row);if("]"==u.substring(c.column,c.column+1)&&null!==o.$findOpeningBracket("]",{column:c.column+1,row:c.row})&&p.isAutoInsertedClosing(c,u,s))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(e,t,n,r,o){var s=r.doc.getTextRange(o);if(!o.isMultiLine()&&"["==s&&(i(n),"]"==r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o}),this.add("string_dquotes","insertion",function(e,t,n,o,s){var a=o.$mode.$quotes||f;if(1==s.length&&a[s]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(s))return;i(n);var l=s,c=n.getSelectionRange(),u=o.doc.getTextRange(c);if(!(""===u||1==u.length&&a[u])&&n.getWrapBehavioursEnabled())return r(c,u,l,l);if(!u){var d=n.getCursorPosition(),h=o.doc.getLine(d.row),p=h.substring(d.column-1,d.column),m=h.substring(d.column,d.column+1),g=o.getTokenAt(d.row,d.column),v=o.getTokenAt(d.row,d.column+1);if("\\"==p&&g&&/escape/.test(g.type))return null;var y,b=g&&/string|escape/.test(g.type),_=!v||/string|escape/.test(v.type);if(m==l)(y=b!==_)&&/string\.end/.test(v.type)&&(y=!1);else{if(b&&!_)return null;if(b&&_)return null;var w=o.$mode.tokenRe;w.lastIndex=0;var x=w.test(p);w.lastIndex=0;var A=w.test(p);if(x||A)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;y=!0}return{text:y?l+l:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,o){var s=r.doc.getTextRange(o);if(!o.isMultiLine()&&('"'==s||"'"==s)&&(i(n),r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==s))return o.end.column++,o})};p.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),i=new l(t,n.row,n.column);if(!this.$matchTokenType(i.getCurrentToken()||"text",u)){var r=new l(t,n.row,n.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",u))return!1}return i.stepForward(),i.getCurrentTokenRow()!==n.row||this.$matchTokenType(i.getCurrentToken()||"text",d)},p.$matchTokenType=function(e,t){return-1<t.indexOf(e.type||e)},p.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),r=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,r,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=i.row,o.autoInsertedLineEnd=n+r.substr(i.column),o.autoInsertedBrackets++},p.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),r=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,r)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=i.row,o.maybeInsertedLineStart=r.substr(0,i.column)+n,o.maybeInsertedLineEnd=r.substr(i.column),o.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(e,t,n){return 0<o.autoInsertedBrackets&&e.row===o.autoInsertedRow&&n===o.autoInsertedLineEnd[0]&&t.substr(e.column)===o.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(e,t){return 0<o.maybeInsertedBrackets&&e.row===o.maybeInsertedRow&&t.substr(e.column)===o.maybeInsertedLineEnd&&t.substr(0,e.column)==o.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},s.inherits(p,a),t.CstyleBehaviour=p}),ace.define("ace/unicode",["require","exports","module"],function(e,t,n){"use strict";t.packages={},function(e){var n=/\w{4}/g;for(var i in e)t.packages[i]=e[i].replace(n,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})}),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(e,t,n){"use strict";function i(){this.HighlightRules=o}var r=e("../tokenizer").Tokenizer,o=e("./text_highlight_rules").TextHighlightRules,s=e("./behaviour/cstyle").CstyleBehaviour,a=e("../unicode"),l=e("../lib/lang"),c=e("../token_iterator").TokenIterator,u=e("../range").Range;(function(){this.$defaultBehaviour=new s,this.tokenRe=new RegExp("^["+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new r(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,i){function r(e){for(var t=n;t<=i;t++)e(o.getLine(t),t)}var o=t.doc,s=!0,a=!0,c=1/0,u=t.getTabSize(),d=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(g=this.lineCommentStart.map(l.escapeRegExp).join("|"),p=this.lineCommentStart[0]):(g=l.escapeRegExp(this.lineCommentStart),p=this.lineCommentStart),g=new RegExp("^(\\s*)(?:"+g+") ?"),d=t.getUseSoftTabs(),b=function(e,t){var n=e.match(g);if(n){var i=n[1].length,r=n[0].length;f(e,i,r)||" "!=n[0][r-1]||r--,o.removeInLine(t,i,r)}};var h=p+" ",f=(y=function(e,t){s&&!/\S/.test(e)||(f(e,c,c)?o.insertInLine({row:t,column:c},h):o.insertInLine({row:t,column:c},p))},_=function(e,t){return g.test(e)},function(e,t,n){for(var i=0;t--&&" "==e.charAt(t);)i++;if(i%u!=0)return!1;for(i=0;" "==e.charAt(n++);)i++;return 2<u?i%u!=u-1:i%u==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,m=this.blockComment.end,g=new RegExp("^(\\s*)(?:"+l.escapeRegExp(p)+")"),v=new RegExp("(?:"+l.escapeRegExp(m)+")\\s*$"),y=function(e,t){_(e,t)||s&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},m),o.insertInLine({row:t,column:c},p))},b=function(e,t){var n;(n=e.match(v))&&o.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(g))&&o.removeInLine(t,n[1].length,n[0].length)},_=function(e,n){if(g.test(e))return!0;for(var i=t.getTokens(n),r=0;r<i.length;r++)if("comment"===i[r].type)return!0}}var w=1/0;r(function(e,t){var n=e.search(/\S/);-1!==n?(n<c&&(c=n),a&&!_(e,t)&&(a=!1)):w>e.length&&(w=e.length)}),c==1/0&&(c=w,a=s=!1),d&&c%u!=0&&(c=Math.floor(c/u)*u),r(a?b:y)},this.toggleBlockComment=function(e,t,n,i){var r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var o,s,a=(m=new c(t,i.row,i.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(a&&/comment/.test(a.type)){for(var d,h;a&&/comment/.test(a.type);){if(-1!=(g=a.value.indexOf(r.start))){var f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;d=new u(f,p,f,p+r.start.length);break}a=m.stepBackward()}var m;for(a=(m=new c(t,i.row,i.column)).getCurrentToken();a&&/comment/.test(a.type);){var g;if(-1!=(g=a.value.indexOf(r.end))){f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g,h=new u(f,p,f,p+r.end.length);break}a=m.stepForward()}h&&t.remove(h),d&&(t.remove(d),o=d.start.row,s=-r.start.length)}else s=r.start.length,o=n.start.row,t.insert(n.end,r.end),t.insert(n.start,r.start);l.start.row==o&&(l.start.column+=s),l.end.row==o&&(l.end.column+=s),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;t<n.length;t++)!function(e){var i=n[t],r=e[i];e[n[t]]=function(){return this.$delegator(i,arguments,r)}}(this)},this.$delegator=function(e,t,n){var i=t[0];"string"!=typeof i&&(i=i[0]);for(var r=0;r<this.$embeds.length;r++)if(this.$modes[this.$embeds[r]]){var o=i.split(this.$embeds[r]);if(!o[0]&&o[1]){t[0]=o[1];var s=this.$modes[this.$embeds[r]];return s[e].apply(s,t)}}var a=n.apply(this,t);return n?a:void 0},this.transformAction=function(e,t,n,i,r){if(this.$behaviour){var o=this.$behaviour.getBehaviours();for(var s in o)if(o[s][t]){var a=o[s][t].apply(this,arguments);if(a)return a}}},this.getKeywords=function(e){if(!this.completionKeywords){var t=this.$tokenizer.rules,n=[];for(var i in t)for(var r=t[i],o=0,s=r.length;o<s;o++)if("string"==typeof r[o].token)/keyword|support|storage/.test(r[o].token)&&n.push(r[o].regex);else if("object"==typeof r[o].token)for(var a=0,l=r[o].token.length;a<l;a++)/keyword|support|storage/.test(r[o].token[a])&&(i=r[o].regex.match(/\(.+?\)/g)[a],n.push(i.substr(1,i.length-2)));this.completionKeywords=n}return e?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,t,n,i){return(this.$keywordList||this.$createKeywordList()).map(function(e){return{name:e,value:e,score:0,meta:"keyword"}})},this.$id="ace/mode/text"}).call(i.prototype),t.Mode=i}),ace.define("ace/apply_delta",["require","exports","module"],function(e,t,n){"use strict";t.applyDelta=function(e,t,n){var i=t.start.row,r=t.start.column,o=e[i]||"";switch(t.action){case"insert":if(1===t.lines.length)e[i]=o.substring(0,r)+t.lines[0]+o.substring(r);else{var s=[i,1].concat(t.lines);e.splice.apply(e,s),e[i]=o.substring(0,r)+e[i],e[i+t.lines.length-1]+=o.substring(r)}break;case"remove":var a=t.end.column,l=t.end.row;i===l?e[i]=o.substring(0,r)+o.substring(a):e.splice(i,l-i+1,o.substring(0,r)+e[l].substring(a))}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"use strict";var i=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,o=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),void 0===n?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var i=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&i}i.implement(this,r),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var n=function(t,n,i){var r="insert"==t.action,o=(r?1:-1)*(t.end.row-t.start.row),s=(r?1:-1)*(t.end.column-t.start.column),a=t.start,l=r?a:t.end;return e(n,a,i)?{row:n.row,column:n.column}:e(l,n,!i)?{row:n.row+o,column:n.column+(n.row==l.row?s:0)}:{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var i;if(i=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=i.row||this.column!=i.column){var r={row:this.row,column:this.column};this.row=i.row,this.column=i.column,this._signal("change",{old:r,value:i})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(o.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){"use strict";function i(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)}var r=e("./lib/oop"),o=e("./apply_delta").applyDelta,s=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,l=e("./anchor").Anchor;(function(){r.implement(this,s),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new l(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),i=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:i,action:"insert",lines:[t]},!0),this.clonePos(i)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:n<=e&&(e=n-1,t=void 0);var i=this.getLine(e);return null==t&&(t=i.length),{row:e,column:t=Math.min(Math.max(t,0),i.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n;n=(e=Math.min(Math.max(e,0),this.getLength()))<this.getLength()?(t=t.concat([""]),0):(t=[""].concat(t),e--,this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),i={row:n.row+t.length-1,column:(1==t.length?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:i,action:"insert",lines:t}),this.clonePos(i)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var i=this.clippedPos(e,t),r=this.clippedPos(e,n);return this.applyDelta({start:i,end:r,action:"remove",lines:this.getLinesForRange({start:i,end:r})},!0),this.clonePos(i)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1);var n=(t=Math.min(Math.max(0,t),this.getLength()-1))==this.getLength()-1&&0<e,i=t<this.getLength()-1,r=n?e-1:e,o=n?this.getLine(r).length:0,s=i?t+1:t,l=i?0:this.getLine(s).length,c=new a(r,o,s,l),u=this.$lines.slice(e,t+1);return this.applyDelta({start:c.start,end:c.end,action:"remove",lines:this.getLinesForRange(c)}),u},this.removeNewLine=function(e){e<this.getLength()-1&&0<=e&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;0<=t;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&2e4<e.lines.length&&this.$splitAndapplyLargeDelta(e,2e4),o(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,i=n.length,r=e.start.row,o=e.start.column,s=0,a=0;;){s=a,a+=t-1;var l=n.slice(s,a);if(i<a){e.lines=l,e.start.row=r+s,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(r+s,o),end:this.pos(r+a,o=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),i=this.getNewLineCharacter().length,r=t||0,o=n.length;r<o;r++)if((e-=n[r].length+i)<0)return{row:r,column:e+n[r].length+i};return{row:o-1,column:n[o-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),i=this.getNewLineCharacter().length,r=0,o=Math.min(e.row,n.length),s=t||0;s<o;++s)r+=n[s].length+i;return r+e.column}}).call(i.prototype),t.Document=i}),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"use strict";function i(e,t){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=e;var n=this;this.$worker=function(){if(n.running){for(var e=new Date,t=n.currentLine,i=-1,r=n.doc,o=t;n.lines[t];)t++;var s=r.getLength(),a=0;for(n.running=!1;t<s;){for(n.$tokenizeRow(t),i=t;t++,n.lines[t];);if(++a%5==0&&20<new Date-e){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==i&&(i=t),o<=i&&n.fireUpdateEvent(o,i)}}}var r=e("./lib/oop"),o=e("./lib/event_emitter").EventEmitter;(function(){r.implement(this,o),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0==n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,1+n,null),this.states.splice(t,1+n,null);else{var i=Array(1+n);i.unshift(t,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],i=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=i.state+""?(this.states[e]=i.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=i.tokens}}).call(i.prototype),t.BackgroundTokenizer=i}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){"use strict";function i(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"}var r=e("./lib/lang"),o=(e("./lib/oop"),e("./range").Range);(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,i){if(this.regExp)for(var s=i.firstRow,a=i.lastRow,l=s;l<=a;l++){var c=this.cache[l];null==c&&((c=r.getMatchOffsets(n.getLine(l),this.regExp)).length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map(function(e){return new o(l,e.offset,l,e.offset+e.length)}),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(n),this.clazz,i)}}}).call(i.prototype),t.SearchHighlight=i}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(e,t,n){"use strict";function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}var r=e("../range").Range;(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.row<this.startRow||e.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),0<this.range.compareEnd(e.start.row,e.start.column)?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var i,r,o=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l<s.length;l++){if(-1==(r=(i=s[l]).range.compareStart(t,n)))return void e(null,t,n,o,a);if(!e(null,i.start.row,i.start.column,o,a)&&e(i.placeholder,i.start.row,i.start.column,o)||0===r)return;a=!i.sameRow,o=i.end.column}e(null,t,n,o,a)},this.getNextFoldTo=function(e,t){for(var n,i,r=0;r<this.folds.length;r++){if(-1==(i=(n=this.folds[r]).range.compareEnd(e,t)))return{fold:n,kind:"after"};if(0===i)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(e,t,n){var i,r,o=this.getNextFoldTo(e,t);if(o)if(i=o.fold,"inside"==o.kind&&i.start.column!=t&&i.start.row!=e)window.console&&window.console.log(e,t,i);else if(i.start.row==e){var s=(r=this.folds).indexOf(i);for(0===s&&(this.start.column+=n);s<r.length;s++){if((i=r[s]).start.column+=n,!i.sameRow)return;i.end.column+=n}this.end.column+=n}},this.split=function(e,t){var n=this.getNextFoldTo(e,t);if(!n||"inside"==n.kind)return null;var r=n.fold,o=this.folds,s=this.foldData,a=o.indexOf(r),l=o[a-1];this.end.row=l.end.row,this.end.column=l.end.column;var c=new i(s,o=o.splice(a,o.length-a));return s.splice(s.indexOf(this)+1,0,c),c},this.merge=function(e){for(var t=e.folds,n=0;n<t.length;n++)this.addFold(t[n]);var i=this.foldData;i.splice(i.indexOf(e),1)},this.toString=function(){var e=[this.range.toString()+": ["];return this.folds.forEach(function(t){e.push(" "+t.toString())}),e.push("]"),e.join("\n")},this.idxToPosition=function(e){for(var t=0,n=0;n<this.folds.length;n++){var i=this.folds[n];if((e-=i.start.column-t)<0)return{row:i.start.row,column:i.start.column+e};if((e-=i.placeholder.length)<0)return i.start;t=i.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(i.prototype),t.FoldLine=i}),ace.define("ace/range_list",["require","exports","module","ace/range"],function(e,t,n){"use strict";function i(){this.ranges=[]}var r=e("./range").Range.comparePoints;(function(){this.comparePoints=r,this.pointIndex=function(e,t,n){for(var i=this.ranges,o=n||0;o<i.length;o++){var s=i[o],a=r(e,s.end);if(!(0<a)){var l=r(e,s.start);return 0===a?t&&0!==l?-o-2:o:0<l||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var i=this.pointIndex(e.end,t,n);return i<0?i=-i-1:i++,this.ranges.splice(n,i-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(0<=t)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort(function(e,t){return r(e.start,t.start)}))[0],o=1;o<n.length;o++){e=i,i=n[o];var s=r(e.end,i.start);s<0||(0!=s||e.isEmpty()||i.isEmpty())&&(r(e.end,i.end)<0&&(e.end.row=i.end.row,e.end.column=i.end.column),n.splice(o,1),t.push(i),i=e,o--)}return this.ranges=n,t},this.contains=function(e,t){return 0<=this.pointIndex({row:e,column:t})},this.containsPoint=function(e){return 0<=this.pointIndex(e)},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(0<=t)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row<e)return[];var i=this.pointIndex({row:e,column:0});i<0&&(i=-i-1);var r=this.pointIndex({row:t,column:0},i);r<0&&(r=-r-1);for(var o=[],s=i;s<r;s++)o.push(n[s]);return o},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(e){this.session&&this.detach(),this.session=e,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){this.session&&(this.session.removeListener("change",this.onChange),this.session=null)},this.$onChange=function(e){if("insert"==e.action)var t=e.start,n=e.end;else n=e.start,t=e.end;for(var i=t.row,r=n.row-i,o=-t.column+n.column,s=this.ranges,a=0,l=s.length;a<l;a++)if(!((c=s[a]).end.row<i)){if(c.start.row>i)break;if(c.start.row==i&&c.start.column>=t.column&&(c.start.column==t.column&&this.$insertRight||(c.start.column+=o,c.start.row+=r)),c.end.row==i&&c.end.column>=t.column){if(c.end.column==t.column&&this.$insertRight)continue;c.end.column==t.column&&0<o&&a<l-1&&c.end.column>c.start.column&&c.end.column==s[a+1].start.column&&(c.end.column-=o),c.end.column+=o,c.end.row+=r}}if(0!=r&&a<l)for(;a<l;a++){var c;(c=s[a]).start.row+=r,c.end.row+=r}}}).call(i.prototype),t.RangeList=i}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(e,t,n){"use strict";function i(e,t){e.row-=t.row,0==e.row&&(e.column-=t.column)}function r(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row}e("../range").Range;var o=e("../range_list").RangeList,s=e("../lib/oop"),a=t.Fold=function(e,t){this.foldLine=null,this.placeholder=t,this.range=e,this.start=e.start,this.end=e.end,this.sameRow=e.start.row==e.end.row,this.subFolds=this.ranges=[]};s.inherits(a,o),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach(function(t){t.setFoldLine(e)})},this.clone=function(){var e=this.range.clone(),t=new a(e,this.placeholder);return this.subFolds.forEach(function(e){t.subFolds.push(e.clone())}),t.collapseChildren=this.collapseChildren,t},this.addSubFold=function(e){if(!this.range.isEqual(e)){if(!this.range.containsRange(e))throw new Error("A fold can't intersect already existing fold"+e.range+this.range);!function(e,t){i(e.start,t),i(e.end,t)}(e,this.start);for(var t=e.start.row,n=e.start.column,r=0,o=-1;r<this.subFolds.length&&1==(o=this.subFolds[r].range.compare(t,n));r++);var s=this.subFolds[r];if(0==o)return s.addSubFold(e);t=e.range.end.row,n=e.range.end.column;var a=r;for(o=-1;a<this.subFolds.length&&1==(o=this.subFolds[a].range.compare(t,n));a++);if(this.subFolds[a],0==o)throw new Error("A fold can't intersect already existing fold"+e.range+this.range);return this.subFolds.splice(r,a-r,e),e.setFoldLine(this.foldLine),e}},this.restoreRange=function(e){return function(e,t){r(e.start,t),r(e.end,t)}(e,this.start)}}.call(a.prototype)}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(e,t,n){"use strict";var i=e("../range").Range,r=e("./fold_line").FoldLine,o=e("./fold").Fold,s=e("../token_iterator").TokenIterator;t.Folding=function(){this.getFoldAt=function(e,t,n){var i=this.getFoldLine(e);if(!i)return null;for(var r=i.folds,o=0;o<r.length;o++){var s=r[o];if(s.range.contains(e,t)){if(1==n&&s.range.isEnd(e,t))continue;if(-1==n&&s.range.isStart(e,t))continue;return s}}},this.getFoldsInRange=function(e){var t=e.start,n=e.end,i=this.$foldData,r=[];t.column+=1,n.column-=1;for(var o=0;o<i.length;o++){var s=i[o].range.compareRange(e);if(2!=s){if(-2==s)break;for(var a=i[o].folds,l=0;l<a.length;l++){var c=a[l];if(-2==(s=c.range.compareRange(e)))break;if(2!=s){if(42==s)break;r.push(c)}}}}return t.column-=1,n.column+=1,r},this.getFoldsInRangeList=function(e){if(Array.isArray(e)){var t=[];e.forEach(function(e){t=t.concat(this.getFoldsInRange(e))},this)}else t=this.getFoldsInRange(e);return t},this.getAllFolds=function(){for(var e=[],t=this.$foldData,n=0;n<t.length;n++)for(var i=0;i<t[n].folds.length;i++)e.push(t[n].folds[i]);return e},this.getFoldStringAt=function(e,t,n,i){if(!(i=i||this.getFoldLine(e)))return null;for(var r,o,s={end:{column:0}},a=0;a<i.folds.length;a++){var l=(o=i.folds[a]).range.compareEnd(e,t);if(-1==l){r=this.getLine(o.start.row).substring(s.end.column,o.start.column);break}if(0===l)return null;s=o}return r=r||this.getLine(o.start.row).substring(s.end.column),-1==n?r.substring(0,t-s.end.column):1==n?r.substring(t-s.end.column):r},this.getFoldLine=function(e,t){var n=this.$foldData,i=0;for(t&&(i=n.indexOf(t)),-1==i&&(i=0);i<n.length;i++){var r=n[i];if(r.start.row<=e&&r.end.row>=e)return r;if(r.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,i=0;for(t&&(i=n.indexOf(t)),-1==i&&(i=0);i<n.length;i++){var r=n[i];if(r.end.row>=e)return r}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,i=t-e+1,r=0;r<n.length;r++){var o=n[r],s=o.end.row,a=o.start.row;if(t<=s){a<t&&(e<=a?i-=t-a:i=0);break}e<=s&&(i-=e<=a?s-a:s-e+1)}return i},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n,i=this.$foldData,s=!1;e instanceof o?n=e:(n=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column;if(!(a<c||a==c&&l<=u-2))throw new Error("The range has to be at least 2 characters width");var d=this.getFoldAt(a,l,1),h=this.getFoldAt(c,u,-1);if(d&&h==d)return d.addSubFold(n);d&&!d.range.isStart(a,l)&&this.removeFold(d),h&&!h.range.isEnd(c,u)&&this.removeFold(h);var f=this.getFoldsInRange(n.range);0<f.length&&(this.removeFolds(f),f.forEach(function(e){n.addSubFold(e)}));for(var p=0;p<i.length;p++){var m=i[p];if(c==m.start.row){m.addFold(n),s=!0;break}if(a==m.end.row){if(m.addFold(n),s=!0,!n.sameRow){var g=i[p+1];if(g&&g.start.row==c){m.merge(g);break}}break}if(c<=m.start.row)break}return s||(m=this.$addFoldLine(new r(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(m.start.row,m.start.row):this.$updateRowLengthCache(m.start.row,m.start.row),this.$modified=!0,this._signal("changeFold",{data:n,action:"add"}),n},this.addFolds=function(e){e.forEach(function(e){this.addFold(e)},this)},this.removeFold=function(e){var t=e.foldLine,n=t.start.row,i=t.end.row,r=this.$foldData,o=t.folds;if(1==o.length)r.splice(r.indexOf(t),1);else if(t.range.isEnd(e.end.row,e.end.column))o.pop(),t.end.row=o[o.length-1].end.row,t.end.column=o[o.length-1].end.column;else if(t.range.isStart(e.start.row,e.start.column))o.shift(),t.start.row=o[0].start.row,t.start.column=o[0].start.column;else if(e.sameRow)o.splice(o.indexOf(e),1);else{var s=t.split(e.start.row,e.start.column);(o=s.folds).shift(),s.start.row=o[0].start.row,s.start.column=o[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,i):this.$updateRowLengthCache(n,i)),this.$modified=!0,this._signal("changeFold",{data:e,action:"remove"})},this.removeFolds=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);t.forEach(function(e){this.removeFold(e)},this),this.$modified=!0},this.expandFold=function(e){this.removeFold(e),e.subFolds.forEach(function(t){e.restoreRange(t),this.addFold(t)},this),0<e.collapseChildren&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(e,t){var n,r;if(null==e?(n=new i(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new i(e,0,e,this.getLine(e).length):"row"in e?i.fromPoints(e,e):e,r=this.getFoldsInRangeList(n),t)this.removeFolds(r);else for(var o=r;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,i,r){null==i&&(i=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var o=this.doc,s="";return e.walk(function(e,t,n,a){if(!(t<i)){if(t==i){if(n<r)return;a=Math.max(r,a)}s+=null!=e?e:o.getLine(t).substring(a,n)}},t,n),s},this.getDisplayLine=function(e,t,n,i){var r,o=this.getFoldLine(e);return o?this.getFoldDisplayLine(o,e,t,n,i):(r=this.doc.getLine(e)).substring(i||0,t||r.length)},this.$cloneFoldData=function(){var e=[];return e=this.$foldData.map(function(t){var n=t.folds.map(function(e){return e.clone()});return new r(e,n)})},this.toggleFold=function(e){var t,n,i=this.selection.getRange();if(i.isEmpty()){var r=i.start;if(t=this.getFoldAt(r.row,r.column))return void this.expandFold(t);(n=this.findMatchingBracket(r))?1==i.comparePoint(n)?i.end=n:(i.start=n,i.start.column++,i.end.column--):(n=this.findMatchingBracket({row:r.row,column:r.column+1}))?(1==i.comparePoint(n)?i.end=n:i.start=n,i.start.column++):i=this.getCommentFoldRange(r.row,r.column)||i}else{var o=this.getFoldsInRange(i);if(e&&o.length)return void this.expandFolds(o);1==o.length&&(t=o[0])}if((t=t||this.getFoldAt(i.start.row,i.start.column))&&t.range.toString()==i.toString())this.expandFold(t);else{var s="...";if(!i.isMultiLine()){if((s=this.getTextRange(i)).length<4)return;s=s.trim().substring(0,2)+".."}this.addFold(s,i)}},this.getCommentFoldRange=function(e,t,n){var r=new s(this,e,t),o=r.getCurrentToken(),a=o.type;if(o&&/^comment|string/.test(a)){"comment"==(a=a.match(/comment|string/)[0])&&(a+="|doc-start");var l=new RegExp(a),c=new i;if(1!=n){for(;(o=r.stepBackward())&&l.test(o.type););r.stepForward()}if(c.start.row=r.getCurrentTokenRow(),c.start.column=r.getCurrentTokenColumn()+2,r=new s(this,e,t),-1!=n){var u=-1;do{if(o=r.stepForward(),-1==u){var d=this.getState(r.$row);l.test(d)||(u=r.$row)}else if(r.$row>u)break}while(o&&l.test(o.type));o=r.stepBackward()}else o=r.getCurrentToken();return c.end.row=r.getCurrentTokenRow(),c.end.column=r.getCurrentTokenColumn()+o.value.length-2,c}},this.foldAll=function(e,t,n){null==n&&(n=1e5);var i=this.foldWidgets;if(i){t=t||this.getLength();for(var r=e=e||0;r<t;r++)if(null==i[r]&&(i[r]=this.getFoldWidget(r)),"start"==i[r]){var o=this.getFoldWidgetRange(r);if(o&&o.isMultiLine()&&o.end.row<=t&&o.start.row>=e){r=o.end.row;try{var s=this.addFold("...",o);s&&(s.collapseChildren=n)}catch(e){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){"manual"==(this.$foldStyle=e)&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var i,r=e-1;0<=r;){var o=n[r];if(null==o&&(o=n[r]=this.getFoldWidget(r)),"start"==o){var s=this.getFoldWidgetRange(r);if(i=i||s,s&&s.end.row>=e)break}r--}return{range:-1!==r&&s,firstRange:i}},this.onFoldWidgetClick=function(e,t){var n={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var i=t.target||t.srcElement;i&&/ace_fold-widget/.test(i.className)&&(i.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),i=this.getLine(e),r="end"===n?-1:1,o=this.getFoldAt(e,-1==r?0:i.length,r);if(o)return t.children||t.all?this.removeFold(o):this.expandFold(o),o;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(o.range))return this.removeFold(o),o;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=s?s.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var i=this.getParentFoldRangeData(t,!0);if(n=i.range||i.firstRange){t=n.start.row;var r=this.getFoldAt(t,this.getLine(t).length,1);r?this.removeFold(r):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0==n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,1+n,null);else{var i=Array(1+n);i.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,i)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(e,t,n){"use strict";var i=e("../token_iterator").TokenIterator,r=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var i=n.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],e):this.$findOpeningBracket(i[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),i=!0,o=n.charAt(e.column-1),s=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(s||(o=n.charAt(e.column),e={row:e.row,column:e.column+1},s=o&&o.match(/([\(\[\{])|([\)\]\}])/),i=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=r.fromPoints(e,a),i||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=r.fromPoints(a,e),i||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var r=this.$brackets[e],o=1,s=new i(this,t.row,t.column),a=s.getCurrentToken();if(a=a||s.stepForward()){n=n||new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+");for(var l=t.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;0<=l;){var u=c.charAt(l);if(u==r){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==e&&(o+=1);l-=1}for(;(a=s.stepBackward())&&!n.test(a.type););if(null==a)break;l=(c=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var r=this.$brackets[e],o=1,s=new i(this,t.row,t.column),a=s.getCurrentToken();if(a=a||s.stepForward()){n=n||new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+");for(var l=t.column-s.getCurrentTokenColumn();;){for(var c=a.value,u=c.length;l<u;){var d=c.charAt(l);if(d==r){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else d==e&&(o+=1);l+=1}for(;(a=s.stepForward())&&!n.test(a.type););if(null==a)break;l=0}return null}}}}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(e,t,n){"use strict";var i=e("./lib/oop"),r=e("./lib/lang"),o=e("./bidihandler").BidiHandler,s=e("./config"),a=e("./lib/event_emitter").EventEmitter,l=e("./selection").Selection,c=e("./mode/text").Mode,u=e("./range").Range,d=e("./document").Document,h=e("./background_tokenizer").BackgroundTokenizer,f=e("./search_highlight").SearchHighlight,p=function(e,t){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.id="session"+ ++p.$uid,this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==typeof e&&e.getLine||(e=new d(e)),this.$bidiHandler=new o(this),this.setDocument(e),this.selection=new l(this),s.resetOptions(this),this.setMode(t),s._signal("session",this)};p.$uid=0,function(){function e(e){return!(e<4352)&&(4352<=e&&e<=4447||4515<=e&&e<=4519||4602<=e&&e<=4607||9001<=e&&e<=9002||11904<=e&&e<=11929||11931<=e&&e<=12019||12032<=e&&e<=12245||12272<=e&&e<=12283||12288<=e&&e<=12350||12353<=e&&e<=12438||12441<=e&&e<=12543||12549<=e&&e<=12589||12593<=e&&e<=12686||12688<=e&&e<=12730||12736<=e&&e<=12771||12784<=e&&e<=12830||12832<=e&&e<=12871||12880<=e&&e<=13054||13056<=e&&e<=19903||19968<=e&&e<=42124||42128<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||55216<=e&&e<=55238||55243<=e&&e<=55291||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65106||65108<=e&&e<=65126||65128<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510)}i.implement(this,a),this.setDocument=function(e){this.doc&&this.doc.removeListener("change",this.$onChange),(this.doc=e).on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;n<t&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,i=e.length-1;n<=i;){var r=n+i>>1,o=e[r];if(o<t)n=1+r;else{if(!(t<o))return r;i=r-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(e){var t=e.data;this.$resetRowCache(t.start.row)},this.onChange=function(e){this.$modified=!0,this.$bidiHandler.onChange(e),this.$resetRowCache(e.start.row);var t=this.$updateInternalDataOnChange(e);this.$fromUndo||!this.$undoManager||e.ignore||(this.$deltasDoc.push(e),t&&0!=t.length&&this.$deltasFold.push({action:"removeFolds",folds:t}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(e),this._signal("change",e)},this.setValue=function(e){this.doc.setValue(e),this.selection.moveTo(0,0),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(e){return this.bgTokenizer.getState(e)},this.getTokens=function(e){return this.bgTokenizer.getTokens(e)},this.getTokenAt=function(e,t){var n,i=this.bgTokenizer.getTokens(e),r=0;if(null==t){var o=i.length-1;r=this.getLine(e).length}else for(o=0;o<i.length&&!(t<=(r+=i[o].value.length));o++);return(n=i[o])?(n.index=o,n.start=r-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),0<t.$deltas.length&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=r.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?r.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t<e.length;t++)this.$breakpoints[e[t]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(e,t){void 0===t&&(t="ace_breakpoint"),t?this.$breakpoints[e]=t:delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(e){delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.addMarker=function(e,t,n,i){var r=this.$markerId++,o={range:e,type:n||"line",renderer:"function"==typeof n?n:null,clazz:t,inFront:!!i,id:r};return i?(this.$frontMarkers[r]=o,this._signal("changeFrontMarker")):(this.$backMarkers[r]=o,this._signal("changeBackMarker")),r},this.addDynamicMarker=function(e,t){if(e.update){var n=this.$markerId++;return e.id=n,e.inFront=!!t,t?(this.$frontMarkers[n]=e,this._signal("changeFrontMarker")):(this.$backMarkers[n]=e,this._signal("changeBackMarker")),e}},this.removeMarker=function(e){var t=this.$frontMarkers[e]||this.$backMarkers[e];if(t){var n=t.inFront?this.$frontMarkers:this.$backMarkers;t&&(delete n[e],this._signal(t.inFront?"changeFrontMarker":"changeBackMarker"))}},this.getMarkers=function(e){return e?this.$frontMarkers:this.$backMarkers},this.highlight=function(e){if(!this.$searchHighlight){var t=new f(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(t)}this.$searchHighlight.setRegexp(e)},this.highlightLines=function(e,t,n,i){"number"!=typeof t&&(n=t,t=e),n=n||"ace_step";var r=new u(e,0,t,1/0);return r.id=this.addMarker(r,n,"fullLine",i),r},this.setAnnotations=function(e){this.$annotations=e,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r?\n)/m);this.$autoNewLine=t?t[1]:"\n"},this.getWordRange=function(e,t){var n=this.getLine(e),i=!1;if(0<t&&(i=!!n.charAt(t-1).match(this.tokenRe)),i=i||!!n.charAt(t).match(this.tokenRe))var r=this.tokenRe;else r=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var o=t;if(0<o){for(;0<=--o&&n.charAt(o).match(r););o++}for(var s=t;s<n.length&&n.charAt(s).match(r);)s++;return new u(e,o,e,s)},this.getAWordRange=function(e,t){for(var n=this.getWordRange(e,t),i=this.getLine(n.end.row);i.charAt(n.end.column).match(/[ \t]/);)n.end.column+=1;return n},this.setNewLineMode=function(e){this.doc.setNewLineMode(e)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(e){this.setOption("useWorker",e)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(e){var t=e.data;this.bgTokenizer.start(t.first),this._signal("tokenizerUpdate",e)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(e,t){if(e&&"object"==typeof e){if(e.getTokenizer)return this.$onChangeMode(e);var n=e,i=n.path}else i=e||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new c),this.$modes[i]&&!n)return this.$onChangeMode(this.$modes[i]),void(t&&t());this.$modeId=i,s.loadModule(["mode",i],function(e){if(this.$modeId!==i)return t&&t();this.$modes[i]&&!n?this.$onChangeMode(this.$modes[i]):e&&e.Mode&&(e=new e.Mode(n),n||((this.$modes[i]=e).$id=i),this.$onChangeMode(e)),t&&t()}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},this.$onChangeMode=function(e,t){if(t||(this.$modeId=e.$id),this.$mode!==e){this.$mode=e,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=e.getTokenizer();if(void 0!==n.addEventListener){var i=this.onReloadTokenizer.bind(this);n.addEventListener("update",i)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(n);else{this.bgTokenizer=new h(n);var r=this;this.bgTokenizer.addEventListener("update",function(e){r._signal("tokenizerUpdate",e)})}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=e.tokenRe,this.nonTokenRe=e.nonTokenRe,t||(e.attachToSession&&e.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(e.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode"))}},this.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(e){s.warn("Could not load worker",e),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(e){this.$scrollTop===e||isNaN(e)||(this.$scrollTop=e,this._signal("changeScrollTop",e))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(e){this.$scrollLeft===e||isNaN(e)||(this.$scrollLeft=e,this._signal("changeScrollLeft",e))},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},this.getLineWidgetMaxWidth=function(){if(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var e=0;return this.lineWidgets.forEach(function(t){t&&t.screenWidth>e&&(e=t.screenWidth)}),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,i=0,r=0,o=this.$foldData[r],s=o?o.start.row:1/0,a=t.length,l=0;l<a;l++){if(s<l){if(a<=(l=o.end.row+1))break;s=(o=this.$foldData[r++])?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>i&&(i=n[l])}this.screenWidth=i}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,i=e.length-1;-1!=i;i--){var r=e[i];"doc"==r.group?(this.doc.revertDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!0,n)):r.deltas.forEach(function(e){this.addFolds(e.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,i=0;i<e.length;i++){var r=e[i];"doc"==r.group&&(this.doc.applyDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.setUndoSelect=function(e){this.$undoSelect=e},this.$getUndoSelection=function(e,t,n){function i(e){return t?"insert"!==e.action:"insert"===e.action}var r,o,s=e[0];r=i(s)?u.fromPoints(s.start,s.end):u.fromPoints(s.start,s.start);for(var a=1;a<e.length;a++)i(s=e[a])?(o=s.start,-1==r.compare(o.row,o.column)&&r.setStart(o),o=s.end,1==r.compare(o.row,o.column)&&r.setEnd(o)):(o=s.start,-1==r.compare(o.row,o.column)&&(r=u.fromPoints(s.start,s.start)));if(null!=n){0===u.comparePoints(n.start,r.start)&&(n.start.column+=r.end.column-r.start.column,n.end.column+=r.end.column-r.start.column);var l=n.compareRange(r);1==l?r.setStart(n.start):-1==l&&r.setEnd(n.end)}return r},this.replace=function(e,t){return this.doc.replace(e,t)},this.moveText=function(e,t,n){var i=this.getTextRange(e),r=this.getFoldsInRange(e),o=u.fromPoints(t,t);if(!n){this.remove(e);var s=e.start.row-e.end.row;(c=s?-e.end.column:e.start.column-e.end.column)&&(o.start.row==e.end.row&&o.start.column>e.end.column&&(o.start.column+=c),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=c)),s&&o.start.row>=e.end.row&&(o.start.row+=s,o.end.row+=s)}if(o.end=this.insert(o.start,i),r.length){var a=e.start,l=o.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(r.map(function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=c),e.end.row==a.row&&(e.end.column+=c),e.start.row+=s,e.end.row+=s,e}))}return o},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var i=e;i<=t;i++)this.doc.insertInLine({row:i,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),i=this.getTabSize(),r=t.start.row;r<=t.end.row;++r){var o=this.getLine(r);n.start.row=r,n.end.row=r;for(var s=0;s<i&&" "==o.charAt(s);++s);s<i&&"\t"==o.charAt(s)?(n.start.column=s,n.end.column=s+1):(n.start.column=0,n.end.column=s),this.remove(n)}},this.$moveLines=function(e,t,n){if(e=this.getRowFoldStart(e),t=this.getRowFoldEnd(t),n<0){if((r=this.getRowFoldStart(e+n))<0)return 0;var i=r-e}else if(0<n){var r;if((r=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;i=r-t}else e=this.$clipRowToDocument(e),i=(t=this.$clipRowToDocument(t))-e+1;var o=new u(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(o).map(function(e){return(e=e.clone()).start.row+=i,e.end.row+=i,e}),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+i,a),s.length&&this.addFolds(s),i},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)t=e=0;else{var n=this.doc.getLength();t=n<=e?(e=n-1,this.doc.getLine(n-1).length):Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var i=this.$constrainWrapLimit(e,n.min,n.max);return i!=this.$wrapLimit&&1<i&&(this.$wrapLimit=i,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,i=e.start,r=e.end,o=i.row,s=r.row,a=s-o,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(o,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(r.row)){m.addRemoveChars(r.row,r.column,i.column-r.column),m.shiftRow(-a);var d=this.getFoldLine(o);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u<c.length;u++)(m=c[u]).start.row>=r.row&&m.shiftRow(-a);s=o}else{var h=Array(a);h.unshift(o,0);var f=t?this.$wrapData:this.$rowLengthCache;if(f.splice.apply(f,h),c=this.$foldData,u=0,m=this.getFoldLine(o)){var p=m.range.compareInside(i.row,i.column);0==p?(m=m.split(i.row,i.column))&&(m.shiftRow(a),m.addRemoveChars(s,0,r.column-i.column)):-1==p&&(m.addRemoveChars(o,0,r.column-i.column),m.shiftRow(a)),u=c.indexOf(m)+1}for(;u<c.length;u++){var m;(m=c[u]).start.row>=o&&m.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(m=this.getFoldLine(o))&&m.addRemoveChars(o,i.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(e,i){var r,o,s=this.doc.getAllLines(),a=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,u=e;for(i=Math.min(i,s.length-1);u<=i;)(o=this.getFoldLine(u,o))?(r=[],o.walk(function(e,i,o,a){var l;if(null!=e){(l=this.$getDisplayTokens(e,r.length))[0]=t;for(var c=1;c<l.length;c++)l[c]=n}else l=this.$getDisplayTokens(s[i].substring(a,o),r.length);r=r.concat(l)}.bind(this),o.end.row,s[o.end.row].length+1),l[o.start.row]=this.$computeWrapSplits(r,c,a),u=o.end.row+1):(r=this.$getDisplayTokens(s[u]),l[u]=this.$computeWrapSplits(r,c,a),u++)};var t=3,n=4;this.$computeWrapSplits=function(e,i,r){function o(t){var n=e.slice(l,t),i=n.length;n.join("").replace(/12/g,function(){i-=1}).replace(/2/g,function(){i-=1}),s.length||(f=function(){var t=0;if(0===h)return t;if(d)for(var n=0;n<e.length;n++){var i=e[n];if(10==i)t+=1;else{if(11!=i){if(12==i)continue;break}t+=r}}return u&&!1!==d&&(t+=r),Math.min(t,h)}(),s.indent=f),c+=i,s.push(c),l=t}if(0==e.length)return[];for(var s=[],a=e.length,l=0,c=0,u=this.$wrapAsCode,d=this.$indentedSoftWrap,h=i<=Math.max(2*r,8)||!1===d?0:Math.floor(i/2),f=0;i-f<a-l;){var p=l+i-f;if(10<=e[p-1]&&10<=e[p])o(p);else if(e[p]!=t&&e[p]!=n){for(var m=Math.max(p-(i-(i>>2)),l-1);m<p&&e[p]<t;)p--;if(u){for(;m<p&&e[p]<t;)p--;for(;m<p&&9==e[p];)p--}else for(;m<p&&e[p]<10;)p--;m<p?o(++p):(2==e[p=l+i]&&p--,o(p-f))}else{for(;p!=l-1&&e[p]!=t;p--);if(l<p){o(p);continue}for(p=l+i;p<e.length&&e[p]==n;p++);if(p==e.length)break;o(p)}}return s},this.$getDisplayTokens=function(t,n){var i,r=[];n=n||0;for(var o=0;o<t.length;o++){var s=t.charCodeAt(o);if(9==s){i=this.getScreenTabSize(r.length+n),r.push(11);for(var a=1;a<i;a++)r.push(12)}else 32==s?r.push(10):39<s&&s<48||57<s&&s<64?r.push(9):4352<=s&&e(s)?r.push(1,2):r.push(1)}return r},this.$getStringScreenWidth=function(t,n,i){if(0==n)return[0,0];var r,o;for(null==n&&(n=1/0),i=i||0,o=0;o<t.length&&(9==(r=t.charCodeAt(o))?i+=this.getScreenTabSize(i):4352<=r&&e(r)?i+=2:i+=1,!(n<i));o++);return[i,o]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]<t.column?n.indent:0}return 0},this.getScreenLastRowColumn=function(e){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE);return this.documentToScreenColumn(t.row,t.column)},this.getDocumentLastRowColumn=function(e,t){var n=this.documentToScreenRow(e,t);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(e,t){var n=this.documentToScreenRow(e,t);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(e){return this.$useWrapMode?this.$wrapData[e]:void 0},this.getScreenTabSize=function(e){return this.$tabSize-e%this.$tabSize},this.screenToDocumentRow=function(e,t){return this.screenToDocumentPosition(e,t).row},this.screenToDocumentColumn=function(e,t){return this.screenToDocumentPosition(e,t).column},this.screenToDocumentPosition=function(e,t,n){if(e<0)return{row:0,column:0};var i,r,o=0,s=0,a=0,l=0,c=this.$screenRowCache,u=this.$getRowCacheIndex(c,e),d=c.length;if(d&&0<=u){a=c[u],o=this.$docRowCache[u];var h=e>c[d-1]}else h=!d;for(var f=this.getLength()-1,p=this.getNextFoldLine(o),m=p?p.start.row:1/0;a<=e&&!(e<a+(l=this.getRowLength(o))||f<=o);)a+=l,m<++o&&(o=p.end.row+1,m=(p=this.getNextFoldLine(o,p))?p.start.row:1/0),h&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(p&&p.start.row<=o)i=this.getFoldDisplayLine(p),o=p.start.row;else{if(a+l<=e||f<o)return{row:f,column:this.getLine(f).length};i=this.getLine(o),p=null}var g=0,v=Math.floor(e-a);if(this.$useWrapMode){var y=this.$wrapData[o];y&&(r=y[v],0<v&&y.length&&(g=y.indent,s=y[v-1]||y[y.length-1],i=i.substring(s)))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+v,o,v)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(i,t-g)[1],this.$useWrapMode&&r<=s&&(s=r-1),p?p.idxToPosition(s):{row:o,column:s}},this.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var i,r,o=0;(i=this.getFoldAt(e,t,1))&&(e=i.start.row,t=i.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&0<=c){a=l[c],o=this.$screenRowCache[c];var d=e>l[u-1]}else d=!u;for(var h=this.getNextFoldLine(a),f=h?h.start.row:1/0;a<e;){if(f<=a){if(e<(s=h.end.row+1))break;f=(h=this.getNextFoldLine(s,h))?h.start.row:1/0}else s=a+1;o+=this.getRowLength(a),a=s,d&&(this.$docRowCache.push(a),this.$screenRowCache.push(o))}var p="";r=h&&f<=a?(p=this.getFoldDisplayLine(h,e,t),h.start.row):(p=this.getLine(e).substring(0,t),e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[r];if(g){for(var v=0;p.length>=g[v];)o++,v++;p=p.substring(g[v-1]||0,p.length),m=0<v?g.indent:0}}return{row:o,column:m+this.$getStringScreenWidth(p)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,i=0,r=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);i<n;){var o=this.$wrapData[i];e+=o?o.length+1:1,r<++i&&(i=t.end.row+1,r=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;a<s.length;a++)e-=(t=s[a]).end.row-t.start.row}return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,i){if(0===n)return[0,0];var r,o;for(n=n||1/0,i=i||0,o=0;o<t.length&&!(n<(i+="\t"===(r=t.charAt(o))?this.getScreenTabSize(i):e.getCharacterWidth(r)));o++);return[i,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=e}.call(p.prototype),e("./edit_session/folding").Folding.call(p.prototype),e("./edit_session/bracket_match").BracketMatch.call(p.prototype),s.defineOptions(p.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=p}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){"use strict";function i(){this.$options={}}var r=e("./lib/lang"),o=e("./lib/oop"),s=e("./range").Range;(function(){this.set=function(e){return o.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var i=null;return n.forEach(function(e,n,r,o){return i=new s(e,n,r,o),!(n==o&&t.start&&t.start.start&&0!=t.skipCurrent&&i.isEqual(t.start)&&(i=null,1))}),i},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),o=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,u=i.length-c;e:for(var d=a.offset||0;d<=u;d++){for(var h=0;h<c;h++)if(-1==i[d+h].search(a[h]))continue e;var f=i[d],p=i[d+c-1],m=f.length-f.match(a[0])[0].length,g=p.match(a[c-1])[0].length;l&&l.end.row===d&&l.end.column>m||(o.push(l=new s(d,m,d+c-1,g)),2<c&&(d=d+c-2))}}else for(var v=0;v<i.length;v++){var y=r.getMatchOffsets(i[v],a);for(h=0;h<y.length;h++){var b=y[h];o.push(new s(v,b.offset,v,b.offset+b.length))}}if(n){var _=n.start.column,w=n.start.column;for(v=0,h=o.length-1;v<h&&o[v].start.column<_&&o[v].start.row==n.start.row;)v++;for(;v<h&&o[h].end.column>w&&o[h].end.row==n.end.row;)h--;for(o=o.slice(v,h+1),v=0,h=o.length;v<h;v++)o[v].start.row+=n.start.row,o[v].end.row+=n.start.row}return o},this.replace=function(e,t){var n=this.$options,i=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(i){var r=i.exec(e);if(!r||r[0].length!=e.length)return null;if(t=e.replace(i,t),n.preserveCase){t=t.split("");for(var o=Math.min(e.length,e.length);o--;){var s=e[o];s&&s.toLowerCase()!=s?t[o]=t[o].toUpperCase():t[o]=t[o].toLowerCase()}t=t.join("")}return t}},this.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=r.escapeRegExp(n)),e.wholeWord&&(n=function(e,t){function n(e){return/\w/.test(e)||t.regExp?"\\b":""}return n(e[0])+e+n(e[e.length-1])}(n,e));var i=e.caseSensitive?"gm":"gmi";if(e.$isMultiLine=!t&&/[\n\r]/.test(n),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,i);try{var o=new RegExp(n,i)}catch(e){o=!1}return e.re=o},this.$assembleMultilineRegExp=function(e,t){for(var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),i=[],r=0;r<n.length;r++)try{i.push(new RegExp(n[r],t))}catch(e){return!1}return i},this.$matchIterator=function(e,t){var n=this.$assembleRegExp(t);if(!n)return!1;var i=1==t.backwards,r=0!=t.skipCurrent,o=t.range,s=t.start;(s=s||(o?o[i?"end":"start"]:e.selection.getRange())).start&&(s=s[r!=i?"end":"start"]);var a=o?o.start.row:0,l=o?o.end.row:e.getLength()-1;if(i)var c=function(e){var n=s.row;if(!d(n,s.column,e)){for(n--;a<=n;n--)if(d(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=l,a=s.row;a<=n;n--)if(d(n,Number.MAX_VALUE,e))return}};else c=function(e){var n=s.row;if(!d(n,s.column,e)){for(n+=1;n<=l;n++)if(d(n,0,e))return;if(0!=t.wrap)for(n=a,l=s.row;n<=l;n++)if(d(n,0,e))return}};if(t.$isMultiLine)var u=n.length,d=function(t,r,o){var s=i?t-u+1:t;if(!(s<0)){var a=e.getLine(s),l=a.search(n[0]);if(!(!i&&l<r||-1===l)){for(var c=1;c<u;c++)if(-1==(a=e.getLine(s+c)).search(n[c]))return;var d=a.match(n[u-1])[0].length;if(!(i&&r<d))return!!o(s,l,s+u-1,d)||void 0}}};else d=i?function(t,i,r){var o,s=e.getLine(t),a=[],l=0;for(n.lastIndex=0;o=n.exec(s);){var c=o[0].length;if(l=o.index,!c){if(l>=s.length)break;n.lastIndex=l+=1}if(o.index+c>i)break;a.push(o.index,c)}for(var u=a.length-1;0<=u;u-=2){var d=a[u-1];if(r(t,d,t,d+(c=a[u])))return!0}}:function(t,i,r){var o,s=e.getLine(t),a=i;for(n.lastIndex=i;o=n.exec(s);){var l=o[0].length;if(r(t,a=o.index,t,a+l))return!0;if(!l&&(n.lastIndex=a+=1,a>=s.length))return!1}};return{forEach:c}}}).call(i.prototype),t.Search=i}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";function i(e,t){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function r(e,t){i.call(this,e,t),this.$singleCommand=!1}var o=e("../lib/keys"),s=e("../lib/useragent"),a=o.KEY_MODS;r.prototype=i.prototype,function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),(this.commands[e.name]=e).bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var i=this.commandKeyBinding;for(var r in i){var o=i[r];if(o==e)delete i[r];else if(Array.isArray(o)){var s=o.indexOf(e);-1!=s&&(o.splice(s,1),1==o.length&&(i[r]=o[0]))}}},this.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach(function(e){var i="";if(-1!=e.indexOf(" ")){var r=e.split(/\s+/);e=r.pop(),r.forEach(function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;i+=(i?" ":"")+n,this._addCommandToBinding(i,"chainKeys")},this),i+=" "}var o=this.parseKeys(e),s=a[o.hashId]+o.key;this._addCommandToBinding(i+s,t,n)},this)},this._addCommandToBinding=function(t,n,i){var r,o=this.commandKeyBinding;if(n)if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(r=o[t].indexOf(n))&&o[t].splice(r,1):o[t]=[o[t]],"number"!=typeof i&&(i=e(n));var s=o[t];for(r=0;r<s.length&&!(i<e(s[r]));r++);s.splice(r,0,n)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),i=o[n];if(o.FUNCTION_KEYS[i])n=o.FUNCTION_KEYS[i].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var r=0,s=t.length;s--;){var a=o.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;r|=a}return{key:n,hashId:r}},this.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,i){if(!(i<0)){var r=a[t]+n,o=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,o=this.commandKeyBinding[e.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||0<i)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:o}):(e.$keyChain=e.$keyChain||r,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(i.prototype),t.HashHandler=i,t.MultiHashHandler=r}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(e,t,n){"use strict";function i(e,t){o.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})}var r=e("../lib/oop"),o=e("../keyboard/hash_handler").MultiHashHandler,s=e("../lib/event_emitter").EventEmitter;r.inherits(i,o),function(){r.implement(this,s),this.exec=function(e,t,n){if(Array.isArray(e)){for(var i=e.length;i--;)if(this.exec(e[i],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var r={editor:t,command:e,args:n};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),!1!==r.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach(function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map(function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e})}}.call(i.prototype),t.CommandManager=i}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(e,t,n){"use strict";function i(e,t){return{win:e,mac:t}}var r=e("../lib/lang"),o=e("../config"),s=e("../range").Range;t.commands=[{name:"showSettingsMenu",bindKey:i("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",function(t){t.init(e),e.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:i("Alt-E","F4"),exec:function(e){o.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:i("Alt-Shift-E","Shift-F4"),exec:function(e){o.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:i("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:i(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:i("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:i("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:i("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:i("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:i("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:i(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:i("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:i("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:i("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:i("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:i("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:i("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:i("Ctrl-F","Command-F"),exec:function(e){o.loadModule("ace/ext/searchbox",function(t){t.Search(e)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:i("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:i("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:i("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:i("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:i("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:i("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:i("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:i("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:i("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:i("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:i("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:i("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:i("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:i("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:i("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:i("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:i("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:i("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:i("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:i("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:i(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:i("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:i(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:i("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:i("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:i("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:i("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:i("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:i("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:i("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:i(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:i("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:i("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:i("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:i("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:i("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:i("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:i("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:i("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"undo",bindKey:i("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:i("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:i("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:i("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:i("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:i("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:i("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:i("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:i("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:i("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:i("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:i("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:i("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:i("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:i("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:i("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:i("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:i("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:i("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:i(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:i("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:i("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:i("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:i("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:i(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),o=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=i.row+1;c++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}i.row+1<e.session.doc.getLength()-1&&(l+=e.session.doc.getNewLineCharacter()),e.clearSelection(),e.session.doc.replace(new s(n.row,0,i.row+2,0),l),0<a?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(o=e.session.doc.getLine(n.row).length>o?o+1:o,e.selection.moveCursorTo(n.row,o))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:i(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,i=e.selection.rangeList.ranges,r=[];i.length<1&&(i=[e.selection.getRange()]);for(var o=0;o<i.length;o++)o==i.length-1&&(i[o].end.row===t&&i[o].end.column===n||r.push(new s(i[o].end.row,i[o].end.column,t,n))),0===o?0===i[o].start.row&&0===i[o].start.column||r.push(new s(0,0,i[o].start.row,i[o].start.column)):r.push(new s(i[o-1].end.row,i[o-1].end.column,i[o].start.row,i[o].start.column));for(e.exitMultiSelectMode(),e.clearSelection(),o=0;o<r.length;o++)e.selection.addRange(r[o],!1)},readOnly:!0,scrollIntoView:"none"}]}),ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var i=e("./lib/oop"),r=e("./lib/dom"),o=e("./lib/lang"),s=e("./lib/useragent"),a=e("./keyboard/textinput").TextInput,l=e("./mouse/mouse_handler").MouseHandler,c=e("./mouse/fold_handler").FoldHandler,u=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,h=e("./search").Search,f=e("./range").Range,p=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,g=e("./commands/default_commands").commands,v=e("./config"),y=e("./token_iterator").TokenIterator,b=function(e,t){var n=e.getContainerElement();this.container=n,this.renderer=e,this.id="editor"+ ++b.$uid,this.commands=new m(s.isMac?"mac":"win",g),"object"==typeof document&&(this.textInput=new a(e.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new l(this),new c(this)),this.keyBinding=new u(this),this.$blockScrolling=0,this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=o.delayedCall(function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(e,t){t._$emitInputEvent.schedule(31)}),this.setSession(t||new d("")),v.resetOptions(this),v._signal("editor",this)};b.$uid=0,function(){i.implement(this,p),this.$initOperationListeners=function(){this.selections=[],this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=o.delayedCall(this.endOperation.bind(this)),this.on("change",function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.command.name&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++},this.endOperation=function(e){if(this.curOp){if(e&&!1===e.returnValue)return this.curOp=null;this._signal("beforeEndOperation");var t=this.curOp.command;t.name&&0<this.$blockScrolling&&this.$blockScrolling--;var n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var i=this.selection.getRange(),r=this.renderer.layerConfig;(i.start.row>=r.lastRow||i.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,i=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),i=i&&this.mergeNextCommand&&(!/\s/.test(r)||/\s/.test(t.args)),this.mergeNextCommand=!0}else i=i&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&2e3<Date.now()-this.sequenceStartTime&&(i=!1),i?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],function(i){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(i&&i.handler),t&&t()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}(this.session=e)?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout(function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var i=new f(n.row,n.column,n.row,n.column+1);else t.$mode.getMatching&&(i=t.$mode.getMatching(e.session));i&&(t.$bracketHighlight=t.addMarker(i,"ace_bracket","text"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout(function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),i=new y(e.session,n.row,n.column),r=i.getCurrentToken();if(!r||!/\b(?:tag-open|tag-name)/.test(r.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==r.type.indexOf("tag-open")||(r=i.stepForward())){var o=r.value,s=0,a=i.stepBackward();if("<"==a.value)for(;a=r,(r=i.stepForward())&&r.value===o&&-1!==r.type.indexOf("tag-name")&&("<"===a.value?s++:"</"===a.value&&s--),r&&0<=s;);else{for(;r=a,a=i.stepBackward(),r&&r.value===o&&-1!==r.type.indexOf("tag-name")&&("<"===a.value?s++:"</"===a.value&&s--),a&&s<=0;);i.stepForward()}if(!r)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var l=i.getCurrentTokenRow(),c=i.getCurrentTokenColumn(),u=new f(l,c,l,c+r.value.length),d=t.$backMarkers[t.$tagHighlight];t.$tagHighlight&&null!=d&&0!==u.compareRange(d.range)&&(t.removeMarker(t.$tagHighlight),t.$tagHighlight=null),u&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(u,"ace_bracket","text"))}}},50)}},this.focus=function(){var e=this;setTimeout(function(){e.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},this.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(v.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message"),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),!this.renderer.$maxLines||1!==this.session.getLength()||1<this.renderer.$minLines||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),i=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",i)}var r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,i=t.end.column+1,r=e.getLine(t.start.row),o=r.length,s=r.substring(Math.max(n,0),Math.min(i,o));if(!(0<=n&&/^[\w\d]/.test(s)||i<=o&&/[\w\d]$/.test(s))&&(s=r.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(s)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:s})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){var n={text:e,event:t};this.commands.exec("paste",this,n)},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\r\n|\r|\n/),i=this.selection.rangeList.ranges;if(n.length>i.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var r=i.length;r--;){var o=i[r];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[r])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,i=n.getMode(),r=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=i.transformAction(n.getState(r.row),"insertion",this,n,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&-1==e.indexOf("\n")&&((s=new f.fromPoints(r,r)).end.column+=e.length,this.session.remove(s));else{var s=this.getSelectionRange();r=this.session.remove(s),this.clearSelection()}if("\n"==e||"\r\n"==e){var a=n.getLine(r.row);if(r.column>a.search(/\S|$/)){var l=a.substr(r.column).search(/\S|$/);n.doc.removeInLine(r.row,r.column,r.column+l)}}this.clearSelection();var c=r.column,u=n.getState(r.row),d=(a=n.getLine(r.row),i.checkOutdent(u,a,e));if(n.insert(r,e),o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new f(r.row,c+o.selection[0],r.row,c+o.selection[1])):this.selection.setSelectionRange(new f(r.row+o.selection[0],o.selection[1],r.row+o.selection[2],o.selection[3]))),n.getDocument().isNewLine(e)){var h=i.getNextLineIndent(u,a.slice(0,r.column),n.getTabString());n.insert({row:r.row+1,column:0},h)}d&&i.autoOutdent(u,n,r.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,i=n.getState(t.start.row),r=n.getMode().transformAction(i,"deletion",this,n,t);if(0===t.end.column){var o=n.getTextRange(t);if("\n"==o[o.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}r&&(t=r)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,i,r=this.session.getLine(e.row);i=t<r.length?(n=r.charAt(t)+r.charAt(t-1),new f(e.row,t-1,e.row,t+1)):(n=r.charAt(t-1)+r.charAt(t-2),new f(e.row,t-2,e.row,t)),this.session.replace(i,n),this.session.selection.moveToPosition(i.end)}}},this.toLowerCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toLowerCase()),this.selection.setSelectionRange(e)},this.toUpperCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toUpperCase()),this.selection.setSelectionRange(e)},this.indent=function(){var e=this.session,t=this.getSelectionRange();if(!(t.start.row<t.end.row)){if(t.start.column<t.end.column&&!/^\s+$/.test(e.getTextRange(t)))return c=this.$getSelectedRows(),void e.indentRows(c.first,c.last,"\t");var n=e.getLine(t.start.row),i=t.start,r=e.getTabSize(),s=e.documentToScreenColumn(i.row,i.column);if(this.session.getUseSoftTabs())var a=r-s%r,l=o.stringRepeat(" ",a);else{for(a=s%r;" "==n[t.start.column-1]&&a;)t.start.column--,a--;this.selection.setSelectionRange(t),l="\t"}return this.insert(l)}var c=this.$getSelectedRows();e.indentRows(c.first,c.last,"\t")},this.blockIndent=function(){var e=this.$getSelectedRows();this.session.indentRows(e.first,e.last,"\t")},this.blockOutdent=function(){var e=this.session.getSelection();this.session.outdentRows(e.getRange())},this.sortLines=function(){for(var e=this.$getSelectedRows(),t=this.session,n=[],i=e.first;i<=e.last;i++)n.push(t.getLine(i));n.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0});var r=new f(0,0,0,0);for(i=e.first;i<=e.last;i++){var o=t.getLine(i);r.start.row=i,r.end.row=i,r.end.column=o.length,t.replace(r,n[i-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var i=this.session.getLine(e);n.lastIndex<t;){var r=n.exec(i);if(r.index<=t&&r.index+r[0].length>=t)return{value:r[0],start:r.index,end:r.index+r[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,i=new f(t,n-1,t,n),r=this.session.getTextRange(i);if(!isNaN(parseFloat(r))&&isFinite(r)){var o=this.getNumberAt(t,n);if(o){var s=0<=o.value.indexOf(".")?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,l=parseFloat(o.value);l*=Math.pow(10,a),s!==o.end&&n<s?e*=Math.pow(10,o.end-n-1):e*=Math.pow(10,o.end-n),l+=e;var c=(l/=Math.pow(10,a)).toFixed(a),u=new f(t,o.start,t,o.end);this.session.replace(u,c),this.moveCursorTo(t,Math.max(o.start+1,n+c.length-o.value.length))}}},this.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},this.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),i=e.isBackwards();if(n.isEmpty()){var r=n.start.row;t.duplicateLines(r,r)}else{var o=i?n.start:n.end,s=t.insert(o,t.getTextRange(n),!1);n.start=o,n.end=s,e.setSelectionRange(n,i)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(e,t,n){return this.session.moveText(e,t,n)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(e,t){var n,i,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var o=r.toOrientedRange();n=this.$getSelectedRows(o),i=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(i=0),o.moveBy(i,0),r.fromOrientedRange(o)}else{var s=r.rangeList.ranges;r.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,u=0;u<c;u++){var d=u;s[u].moveBy(a,0);for(var h=(n=this.$getSelectedRows(s[u])).first,f=n.last;++u<c;){l&&s[u].moveBy(l,0);var p=this.$getSelectedRows(s[u]);if(t&&p.first!=f)break;if(!t&&p.first>f+1)break;f=p.last}for(u--,a=this.session.$moveLines(h,f,t?0:e),t&&-1==e&&(d=u+1);d<=u;)s[d].moveBy(a,0),d++;t||(a=0),l+=a}r.fromOrientedRange(r.ranges[0]),r.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,i=this.renderer.layerConfig,r=e*Math.floor(i.height/i.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection(function(){this.moveCursorBy(r,0)}):!1===t&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,r*i.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,i){this.renderer.scrollToLine(e,t,n,i)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),i=new y(this.session,n.row,n.column),r=i.getCurrentToken(),o=r||i.stepForward();if(o){var s,a,l=!1,c={},u=n.column-o.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;u<o.value.length&&!l;u++)if(d[o.value[u]])switch(a=d[o.value[u]]+"."+o.type.replace("rparen","lparen"),isNaN(c[a])&&(c[a]=0),o.value[u]){case"(":case"[":case"{":c[a]++;break;case")":case"]":case"}":-1==--c[a]&&(s="bracket",l=!0)}}else o&&-1!==o.type.indexOf("tag-name")&&(isNaN(c[o.value])&&(c[o.value]=0),"<"===r.value?c[o.value]++:"</"===r.value&&c[o.value]--,-1===c[o.value]&&(s="tag",l=!0));l||(r=o,o=i.stepForward(),u=0)}while(o&&!l);if(s){var h,p;if("bracket"===s)(h=this.session.getBracketRange(n))||(p=(h=new f(i.getCurrentTokenRow(),i.getCurrentTokenColumn()+u-1,i.getCurrentTokenRow(),i.getCurrentTokenColumn()+u-1)).start,(t||p.row===n.row&&Math.abs(p.column-n.column)<2)&&(h=this.session.getBracketRange(p)));else if("tag"===s){if(!o||-1===o.type.indexOf("tag-name"))return;var m=o.value;if(0===(h=new f(i.getCurrentTokenRow(),i.getCurrentTokenColumn()-2,i.getCurrentTokenRow(),i.getCurrentTokenColumn()-2)).compare(n.row,n.column))for(l=!1;o=r,(r=i.stepBackward())&&(-1!==r.type.indexOf("tag-close")&&h.setEnd(i.getCurrentTokenRow(),i.getCurrentTokenColumn()+1),o.value===m&&-1!==o.type.indexOf("tag-name")&&("<"===r.value?c[m]++:"</"===r.value&&c[m]--,0===c[m]&&(l=!0))),r&&!l;);o&&o.type.indexOf("tag-name")&&(p=h.start).row==n.row&&Math.abs(p.column-n.column)<2&&(p=h.end)}(p=h&&h.cursor||p)&&(e?h&&t?this.selection.setRange(h):h&&h.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(p.row,p.column):this.selection.moveTo(p.row,p.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(e||1,0)},this.navigateLeft=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorLeft();else{var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateRight=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorRight();else{var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),i=0;return n&&(this.$tryReplace(n,e)&&(i=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end))),i},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),i=0;if(!n.length)return i;this.$blockScrolling+=1;var r=this.getSelectionRange();this.selection.moveTo(0,0);for(var o=n.length-1;0<=o;--o)this.$tryReplace(n[o],e)&&i++;return this.selection.setSelectionRange(r),this.$blockScrolling-=1,i},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t=t||{},"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&i.mixin(t,e);var r=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(r)||this.$search.$options.needle)||(r=this.session.getWordRange(r.start.row,r.start.column),e=this.session.getTextRange(r)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:r});var o=this.$search.find(this.session);return t.preventScroll?o:o?(this.revealRange(o,n),o):(t.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,i=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var o=this.on("changeSelection",function(){i=!0}),s=this.renderer.on("beforeRender",function(){i&&(t=n.renderer.container.getBoundingClientRect())}),a=this.renderer.on("afterRender",function(){if(i&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,o=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=o.top-s.offset;null!=(i=0<=o.top&&a+t.top<0||!(o.top<s.height&&o.top+t.top+s.lineHeight>window.innerHeight)&&null)&&(r.style.top=a+"px",r.style.left=o.left+"px",r.style.height=s.lineHeight+"px",r.scrollIntoView(i)),i=t=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}.call(b.prototype),v.defineOptions(b.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=b}),ace.define("ace/undomanager",["require","exports","module"],function(e,t,n){"use strict";function i(){this.reset()}(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++){for(var r=e[i],o={group:r.group,deltas:new Array(r.length)},s=0;s<r.deltas.length;s++){var a=r.deltas[s];o.deltas[s]=t(a)}n[i]=o}return n}this.execute=function(e){var t=e.args[0];this.$doc=e.args[1],e.merge&&this.hasUndo()&&(this.dirtyCounter--,t=this.$undoStack.pop().concat(t)),this.$undoStack.push(t),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return 0<this.$undoStack.length},this.hasRedo=function(){return 0<this.$redoStack.length},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(i.prototype),t.UndoManager=i}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(e,t,n){"use strict";function i(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]}var r=e("../lib/dom"),o=e("../lib/oop"),s=e("../lib/lang"),a=e("../lib/event_emitter").EventEmitter;(function(){o.implement(this,a),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),(this.session=e)&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;t<e.length;t++){var n=e[t],i=n.row,r=this.$annotations[i];r=r||(this.$annotations[i]={text:[]});var o=n.text;o=o?s.escapeHTML(o):n.html||"",-1===r.text.indexOf(o)&&r.text.push(o);var a=n.type;"error"==a?r.className=" ace_error":"warning"==a&&" ace_error"!=r.className?r.className=" ace_warning":"info"!=a||r.className||(r.className=" ace_info")}},this.$updateAnnotations=function(e){if(this.$annotations.length){var t=e.start.row,n=e.end.row-t;if(0==n);else if("remove"==e.action)this.$annotations.splice(t,1+n,null);else{var i=new Array(1+n);i.unshift(t,1),this.$annotations.splice.apply(this.$annotations,i)}}},this.update=function(e){for(var t=this.session,n=e.firstRow,i=Math.min(e.lastRow+e.gutterOffset,t.getLength()-1),o=t.getNextFoldLine(n),s=o?o.start.row:1/0,a=this.$showFoldWidgets&&t.foldWidgets,l=t.$breakpoints,c=t.$decorations,u=t.$firstLineNumber,d=0,h=t.gutterRenderer||this.$renderer,f=null,p=-1,m=n;;){if(s<m&&(m=o.end.row+1,s=(o=t.getNextFoldLine(m,o))?o.start.row:1/0),i<m){for(;this.$cells.length>p+1;)f=this.$cells.pop(),this.element.removeChild(f.element);break}(f=this.$cells[++p])||((f={element:null,textNode:null,foldWidget:null}).element=r.createElement("div"),f.textNode=document.createTextNode(""),f.element.appendChild(f.textNode),this.element.appendChild(f.element),this.$cells[p]=f);var g="ace_gutter-cell ";if(l[m]&&(g+=l[m]),c[m]&&(g+=c[m]),this.$annotations[m]&&(g+=this.$annotations[m].className),f.element.className!=g&&(f.element.className=g),(y=t.getRowLength(m)*e.lineHeight+"px")!=f.element.style.height&&(f.element.style.height=y),a){var v=a[m];null==v&&(v=a[m]=t.getFoldWidget(m))}if(v){f.foldWidget||(f.foldWidget=r.createElement("span"),f.element.appendChild(f.foldWidget)),g="ace_fold-widget ace_"+v,"start"==v&&m==s&&m<o.end.row?g+=" ace_closed":g+=" ace_open",f.foldWidget.className!=g&&(f.foldWidget.className=g);var y=e.lineHeight+"px";f.foldWidget.style.height!=y&&(f.foldWidget.style.height=y)}else f.foldWidget&&(f.element.removeChild(f.foldWidget),f.foldWidget=null);var b=d=h?h.getText(t,m):m+u;b!==f.textNode.data&&(f.textNode.data=b),m++}this.element.style.height=e.minHeight+"px",(this.$fixedWidth||t.$useWrapMode)&&(d=t.getLength()+u);var _=h?h.getWidth(t,d,e):d.toString().length*e.characterWidth,w=this.$padding||this.$computePadding();(_+=w.left+w.right)===this.gutterWidth||isNaN(_)||(this.gutterWidth=_,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",_))},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(e){e?r.addCssClass(this.element,"ace_folding-enabled"):r.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=r.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(e.paddingLeft)+1||0,this.$padding.right=parseInt(e.paddingRight)||0,this.$padding},this.getRegion=function(e){var t=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();return e.x<t.left+n.left?"markers":this.$showFoldWidgets&&e.x>n.right-t.right?"foldWidgets":void 0}}).call(i.prototype),t.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(e,t,n){"use strict";function i(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}var r=e("../range").Range,o=e("../lib/dom");(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e){this.config=e;var t=[];for(var n in this.markers){var i=this.markers[n];if(i.range){var r=i.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),i.renderer){var o=this.$getTop(r.start.row,e),s=this.$padding+(this.session.$bidiHandler.isBidiRow(r.start.row)?this.session.$bidiHandler.getPosLeft(r.start.column):r.start.column*e.characterWidth);i.renderer(t,r,s,o,e)}else"fullLine"==i.type?this.drawFullLineMarker(t,r,i.clazz,e):"screenLine"==i.type?this.drawScreenLineMarker(t,r,i.clazz,e):r.isMultiLine()?"text"==i.type?this.drawTextMarker(t,r,i.clazz,e):this.drawMultiLineMarker(t,r,i.clazz,e):this.session.$bidiHandler.isBidiRow(r.start.row)?this.drawBidiSingleLineMarker(t,r,i.clazz+" ace_start ace_br15",e):this.drawSingleLineMarker(t,r,i.clazz+" ace_start ace_br15",e)}else i.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,i,o){for(var s=this.session,a=t.start.row,l=t.end.row,c=a,u=0,d=0,h=s.getScreenLastRowColumn(c),f=null,p=new r(c,t.start.column,c,d);c<=l;c++)p.start.row=p.end.row=c,p.start.column=c==a?t.start.column:s.getRowWrapIndent(c),u=d,d=p.end.column=h,h=c+1<l?s.getScreenLastRowColumn(c+1):c==l?0:t.end.column,f=n+(c==a?" ace_start":"")+" ace_br"+((c==a||c==a+1&&t.start.column?1:0)|(u<d?2:0)|(h<d?4:0)|(c==l?8:0)),this.session.$bidiHandler.isBidiRow(c)?this.drawBidiSingleLineMarker(e,p,f,i,c==l?0:1,o):this.drawSingleLineMarker(e,p,f,i,c==l?0:1,o)},this.drawMultiLineMarker=function(e,t,n,i,r){var o,s,a,l=this.$padding;if(r=r||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",i,null,r)):(o=i.lineHeight,s=this.$getTop(t.start.row,i),a=l+t.start.column*i.characterWidth,e.push("<div class='",n," ace_br1 ace_start' style='","height:",o,"px;","right:0;","top:",s,"px;","left:",a,"px;",r,"'></div>")),this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",i,null,r)}else{var u=t.end.column*i.characterWidth;o=i.lineHeight,s=this.$getTop(t.end.row,i),e.push("<div class='",n," ace_br12' style='","height:",o,"px;","width:",u,"px;","top:",s,"px;","left:",l,"px;",r,"'></div>")}if(!((o=(t.end.row-t.start.row-1)*i.lineHeight)<=0)){s=this.$getTop(t.start.row+1,i);var d=(t.start.column?1:0)|(t.end.column?0:8);e.push("<div class='",n,d?" ace_br"+d:"","' style='","height:",o,"px;","right:0;","top:",s,"px;","left:",l,"px;",r,"'></div>")}},this.drawSingleLineMarker=function(e,t,n,i,r,o){var s=i.lineHeight,a=(t.end.column+(r||0)-t.start.column)*i.characterWidth,l=this.$getTop(t.start.row,i),c=this.$padding+t.start.column*i.characterWidth;e.push("<div class='",n,"' style='","height:",s,"px;","width:",a,"px;","top:",l,"px;","left:",c,"px;",o||"","'></div>")},this.drawBidiSingleLineMarker=function(e,t,n,i,r,o){var s=i.lineHeight,a=this.$getTop(t.start.row,i),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach(function(t){e.push("<div class='",n,"' style='","height:",s,"px;","width:",t.width+(r||0),"px;","top:",a,"px;","left:",l+t.left,"px;",o||"","'></div>")})},this.drawFullLineMarker=function(e,t,n,i,r){var o=this.$getTop(t.start.row,i),s=i.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,i)-o),e.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",r||"","'></div>")},this.drawScreenLineMarker=function(e,t,n,i,r){var o=this.$getTop(t.start.row,i),s=i.lineHeight;e.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",r||"","'></div>")}}).call(i.prototype),t.Marker=i}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){"use strict";function i(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)}var r=e("../lib/oop"),o=e("../lib/dom"),s=e("../lib/lang"),a=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter);(function(){r.implement(this,a),this.EOF_CHAR="¶",this.EOL_CHAR_LF="¬",this.EOL_CHAR_CRLF="¤",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="—",this.SPACE_CHAR="·",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){(this.session=e)&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n<e+1;n++)this.showInvisibles?t.push("<span class='ace_invisible ace_invisible_tab'>"+s.stringRepeat(this.TAB_CHAR,n)+"</span>"):t.push(s.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var i="ace_indent-guide",r="",o="";if(this.showInvisibles){i+=" ace_invisible",r=" ace_invisible_space",o=" ace_invisible_tab";var a=s.stringRepeat(this.SPACE_CHAR,this.tabSize),l=s.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=a=s.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]="<span class='"+i+r+"'>"+a+"</span>",this.$tabStrings["\t"]="<span class='"+i+o+"'>"+l+"</span>"}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var i=Math.max(t,e.firstRow),r=Math.min(n,e.lastRow),o=this.element.childNodes,s=0,a=e.firstRow;a<i;a++){if(l=this.session.getFoldLine(a)){if(l.containsRow(i)){i=l.start.row;break}a=l.end.row}s++}a=i;for(var l,c=(l=this.session.getNextFoldLine(a))?l.start.row:1/0;c<a&&(a=l.end.row+1,c=(l=this.session.getNextFoldLine(a,l))?l.start.row:1/0),!(r<a);){var u=o[s++];if(u){var d=[];this.$renderLine(d,a,!this.$useLineGroups(),a==c&&l),u.style.height=e.lineHeight*this.session.getRowLength(a)+"px",u.innerHTML=d.join("")}a++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow<e.firstRow)return this.update(e);if(e.lastRow<t.firstRow)return this.update(e);var n=this.element;if(t.firstRow<e.firstRow)for(var i=this.session.getFoldedRowCount(t.firstRow,e.firstRow-1);0<i;i--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(i=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);0<i;i--)n.removeChild(n.lastChild);if(e.firstRow<t.firstRow){var r=this.$renderLinesFragment(e,e.firstRow,t.firstRow-1);n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r)}e.lastRow>t.lastRow&&(r=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),n.appendChild(r))},this.$renderLinesFragment=function(e,t,n){for(var i=this.element.ownerDocument.createDocumentFragment(),r=t,s=this.session.getNextFoldLine(r),a=s?s.start.row:1/0;a<r&&(r=s.end.row+1,a=(s=this.session.getNextFoldLine(r,s))?s.start.row:1/0),!(n<r);){var l=o.createElement("div"),c=[];if(this.$renderLine(c,r,!1,r==a&&s),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",i.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(r)+"px";else for(;l.firstChild;)i.appendChild(l.firstChild);r++}return i},this.update=function(e){for(var t=[],n=(this.config=e).firstRow,i=e.lastRow,r=n,o=this.session.getNextFoldLine(r),s=o?o.start.row:1/0;s<r&&(r=o.end.row+1,s=(o=this.session.getNextFoldLine(r,o))?o.start.row:1/0),!(i<r);)this.$useLineGroups()&&t.push("<div class='ace_line_group' style='height:",e.lineHeight*this.session.getRowLength(r),"px'>"),this.$renderLine(t,r,!1,r==s&&o),this.$useLineGroups()&&t.push("</div>"),r++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,i){var r=this,o=i.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e,n,i,o,a){if(n)return r.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+s.stringRepeat(r.SPACE_CHAR,e.length)+"</span>":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=r.session.getScreenTabSize(t+o);return t+=l-1,r.$tabStrings[l]}if(" "!=e)return i?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+r.SPACE_CHAR+"</span>":(t+=1,"<span class='ace_cjk' style='width:"+2*r.config.characterWidth+"px'>"+e+"</span>");var c=r.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",u=r.showInvisibles?r.SPACE_CHAR:"";return t+=1,"<span class='"+c+"' style='width:"+2*r.config.characterWidth+"px'>"+u+"</span>"});if(this.$textToken[n.type])e.push(o);else{var a="ace_"+n.type.replace(/\./g," ace_"),l="";"fold"==n.type&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("<span class='",a,"'",l,">",o,"</span>")}return t+i.length},this.renderIndentGuide=function(e,t,n){var i=t.search(this.$indentGuideRe);return i<=0||n<=i?t:" "==t[0]?(i-=i%this.tabSize,e.push(s.stringRepeat(this.$tabStrings[" "],i/this.tabSize)),t.substr(i)):"\t"==t[0]?(e.push(s.stringRepeat(this.$tabStrings["\t"],i)),t.substr(i)):t},this.$renderWrappedLine=function(e,t,n,i){for(var r=0,o=0,a=n[0],l=0,c=0;c<t.length;c++){var u=t[c],d=u.value;if(0==c&&this.displayIndentGuides){if(r=d.length,!(d=this.renderIndentGuide(e,d,a)))continue;r-=d.length}if(r+d.length<a)l=this.$renderToken(e,l,u,d),r+=d.length;else{for(;r+d.length>=a;)l=this.$renderToken(e,l,u,d.substring(0,a-r)),d=d.substring(a-r),r=a,i||e.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),e.push(s.stringRepeat(" ",n.indent)),l=0,a=n[++o]||Number.MAX_VALUE;0!=d.length&&(r+=d.length,l=this.$renderToken(e,l,u,d))}}},this.$renderSimpleLine=function(e,t){var n=0,i=t[0],r=i.value;this.displayIndentGuides&&(r=this.renderIndentGuide(e,r)),r&&(n=this.$renderToken(e,n,i,r));for(var o=1;o<t.length;o++)r=(i=t[o]).value,n=this.$renderToken(e,n,i,r)},this.$renderLine=function(e,t,n,i){if(i||0==i||(i=this.session.getFoldLine(t)),i)var r=this.$getFoldLineTokens(t,i);else r=this.session.getTokens(t);if(n||e.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(t)),"px'>"),r.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,r,o,n):this.$renderSimpleLine(e,r)}this.showInvisibles&&(i&&(t=i.end.row),e.push("<span class='ace_invisible ace_invisible_eol'>",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||e.push("</div>")},this.$getFoldLineTokens=function(e,t){var n=this.session,i=[],r=n.getTokens(e);return t.walk(function(e,t,o,s,a){null!=e?i.push({type:"fold",value:e}):(a&&(r=n.getTokens(t)),r.length&&function(e,t,n){for(var r=0,o=0;o+e[r].value.length<t;)if(o+=e[r].value.length,++r==e.length)return;for(o!=t&&((s=e[r].value.substring(t-o)).length>n-t&&(s=s.substring(0,n-t)),i.push({type:e[r].type,value:s}),o=t+s.length,r+=1);o<n&&r<e.length;){var s;(s=e[r].value).length+o>n?i.push({type:e[r].type,value:s.substring(0,n-o)}):i.push(e[r]),o+=s.length,r+=1}}(r,s,o))},t.end.row,this.session.getLine(t.end.row).length),i},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(i.prototype),t.Text=i}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";function i(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===r&&(r=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),o.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(r?this.$updateVisibility:this.$updateOpacity).bind(this)}var r,o=e("../lib/dom");(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||r||(this.smoothBlinking=e,o.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=o.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(1<this.cursors.length){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,o.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,o.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&o.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){o.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var t=function(){this.timeoutId=setTimeout(function(){e(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){e(!0),t()},this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e=e||this.session.selection.getCursor();var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,i=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),n=0;for(var r=t.length;n<r;n++){var o=this.getPixelPosition(t[n].cursor,!0);if(!((o.top>e.height+e.offset||o.top<0)&&1<n)){var s=(this.cursors[i++]||this.addCursor()).style;this.drawCursor?this.drawCursor(s,o,e,t[n],this.session):(s.left=o.left+"px",s.top=o.top+"px",s.width=e.characterWidth+"px",s.height=e.lineHeight+"px")}}for(;this.cursors.length>i;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&((this.overwrite=e)?o.addCssClass(this.element,"ace_overwrite-cursors"):o.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(i.prototype),t.Cursor=i}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(e,t,n){"use strict";function i(e){this.element=a.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=a.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,l.addListener(this.element,"scroll",this.onScroll.bind(this)),l.addListener(this.element,"mousedown",l.preventDefault)}function r(e,t){i.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=a.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0}function o(e,t){i.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"}var s=e("./lib/oop"),a=e("./lib/dom"),l=e("./lib/event"),c=e("./lib/event_emitter").EventEmitter;(function(){s.implement(this,c),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(i.prototype),s.inherits(r,i),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){32768<(this.scrollHeight=e)?(this.coeff=32768/e,e=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(r.prototype),s.inherits(o,i),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(o.prototype),t.ScrollBar=r,t.ScrollBarV=r,t.ScrollBarH=o,t.VScrollBar=r,t.HScrollBar=o}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(e,t,n){"use strict";function i(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window}var r=e("./lib/event");(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;r.nextFrame(function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(i.prototype),t.RenderLoop=i}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/oop"),r=e("../lib/dom"),o=e("../lib/lang"),s=e("../lib/useragent"),a=e("../lib/event_emitter").EventEmitter,l=0,c=t.FontMetrics=function(e){this.el=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){i.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=r.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=0<t&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",s.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(c.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(e,t,n){"use strict";function i(e,t){var n=this;this.container=e||o.createElement("div"),this.$keepTextAreaAtCursor=!a.isOldIE,o.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new l(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new c(this.content);var i=this.$textLayer=new u(this.content);this.canvas=i.element,this.$markerFront=new c(this.content),this.$cursorLayer=new d(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new f(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new m(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new p(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),s.resetOptions(this),s._emit("renderer",this)}var r=e("./lib/oop"),o=e("./lib/dom"),s=e("./config"),a=e("./lib/useragent"),l=e("./layer/gutter").Gutter,c=e("./layer/marker").Marker,u=e("./layer/text").Text,d=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,f=e("./scrollbar").VScrollBar,p=e("./renderloop").RenderLoop,m=e("./layer/font_metrics").FontMetrics,g=e("./lib/event_emitter").EventEmitter;o.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}',"ace_editor.css"),function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,g),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),(this.session=e)&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRow<t&&(this.$changedLines.lastRow=t)):this.$changedLines={firstRow:e,lastRow:t},this.$changedLines.lastRow<this.layerConfig.firstRow){if(!n)return;this.$changedLines.lastRow=this.layerConfig.lastRow}this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,i){if(!(2<this.resizing)){0<this.resizing?this.resizing++:this.resizing=e?1:0;var r=this.container;i=i||r.clientHeight||r.scrollHeight,n=n||r.clientWidth||r.scrollWidth;var o=this.$updateCachedSize(e,t,n,i);if(!this.$size.scrollerHeight||!n&&!i)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,i){i-=this.$extraHeight||0;var r=0,o=this.$size,s={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return i&&(e||o.height!=i)&&(o.height=i,r|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||o.width!=n)&&(r|=this.CHANGE_SIZE,o.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(r|=this.CHANGE_FULL)),o.$dirty=!n||!i,r&&this._signal("resize",s),r},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;t-=e.offset;var i=this.textarea.style,r=this.lineHeight;if(t<0||t>e.height-r)i.top=i.left="0";else{var o=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(s)[0]+2,r+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,i.height=r+"px",i.width=o+"px",i.left=Math.min(n,this.$size.scrollerWidth-o)+"px",i.top=Math.min(t,this.$size.height-r)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,i){var r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|i,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var i=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;0<i&&(this.scrollTop=i,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var i=t<e;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||i!=this.$vScroll){i!=this.$vScroll&&(this.$vScroll=i,this.scrollBarV.setVisible(i));var r=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,i=this.session.getScreenLength()*this.lineHeight,r=this.$getLongestLine(),o=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-r-2*this.$padding<0),s=this.$horizScroll!==o;s&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&1<this.lineHeight&&this.$autosize();var l=this.scrollTop%this.lineHeight,c=t.scrollerHeight+this.lineHeight,u=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;i+=u;var d=this.scrollMargin;this.session.setScrollTop(Math.max(-d.top,Math.min(this.scrollTop,i-t.scrollerHeight+d.bottom))),this.session.setScrollLeft(Math.max(-d.left,Math.min(this.scrollLeft,r+2*this.$padding-t.scrollerWidth+d.right)));var h=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-i+u<0||this.scrollTop>d.top),f=a!==h;f&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var p,m,g=Math.ceil(c/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),y=v+g,b=this.lineHeight;v=e.screenToDocumentRow(v,0);var _=e.getFoldLine(v);_&&(v=_.start.row),p=e.documentToScreenRow(v,0),m=e.getRowLength(v)*b,y=Math.min(e.screenToDocumentRow(y,0),e.getLength()-1),c=t.scrollerHeight+e.getRowLength(y)*b+m,l=this.scrollTop-p*b;var w=0;return this.layerConfig.width!=r&&(w=this.CHANGE_H_SCROLL),(s||f)&&(w=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),f&&(r=this.$getLongestLine())),this.layerConfig={width:r,padding:this.$padding,firstRow:v,firstRowScreen:p,lastRow:y,lineHeight:b,characterWidth:this.characterWidth,minHeight:c,maxHeight:i,offset:l,gutterOffset:b?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/b)):0,height:this.$size.scrollerHeight},w},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||t<n.firstRow))return t===1/0?(this.$showGutter&&this.$gutterLayer.update(n),void this.$textLayer.update(n)):(this.$textLayer.updateLines(n,e,t),!0)}},this.$getLongestLine=function(){var e=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(e+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var i=this.$cursorLayer.getPixelPosition(e),r=i.left,o=i.top,s=n&&n.top||0,a=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;o<l+s?(t&&l+s>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-a<o+this.lineHeight&&(t&&l+this.$size.scrollerHeight-a<o-this.lineHeight&&(o+=t*this.$size.scrollerHeight),this.session.setScrollTop(o+this.lineHeight-this.$size.scrollerHeight));var c=this.scrollLeft;r<c?(r<this.$padding+2*this.layerConfig.characterWidth&&(r=-this.scrollMargin.left),this.session.setScrollLeft(r)):c+this.$size.scrollerWidth<r+this.characterWidth?this.session.setScrollLeft(Math.round(r+this.characterWidth-this.$size.scrollerWidth)):c<=this.$padding&&r-c<this.characterWidth&&this.session.setScrollLeft(0)}},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(e){this.session.setScrollTop(e*this.lineHeight)},this.alignCursor=function(e,t){"number"==typeof e&&(e={row:e,column:0});var n=this.$cursorLayer.getPixelPosition(e),i=this.$size.scrollerHeight-this.lineHeight,r=n.top-i*(t||0);return this.session.setScrollTop(r),r},this.STEPS=8,this.$calcSteps=function(e,t){var n,i,r=0,o=this.STEPS,s=[];for(r=0;r<o;++r)s.push((n=r/this.STEPS,(t-(i=e))*(Math.pow(n-1,3)+1)+i));return s},this.scrollToLine=function(e,t,n,i){var r=this.$cursorLayer.getPixelPosition({row:e,column:0}).top;t&&(r-=this.$size.scrollerHeight/2);var o=this.scrollTop;this.session.setScrollTop(r),!1!==n&&this.animateScrolling(o,i)},this.animateScrolling=function(e,t){var n=this.scrollTop;if(this.$animatedScroll){var i=this;if(e!=n){if(this.$scrollAnimation){var r=this.$scrollAnimation.steps;if(r.length&&(e=r[0])==n)return}var o=i.$calcSteps(e,n);this.$scrollAnimation={from:e,to:n,steps:o},clearInterval(this.$timer),i.session.setScrollTop(o.shift()),i.session.$scrollTop=n,this.$timer=setInterval(function(){o.length?(i.session.setScrollTop(o.shift()),i.session.$scrollTop=n):null!=n?(i.session.$scrollTop=-1,i.session.setScrollTop(n),n=null):(i.$timer=clearInterval(i.$timer),i.$scrollAnimation=null,t&&t())},10)}}},this.scrollToY=function(e){this.scrollTop!==e&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=e)},this.scrollToX=function(e){this.scrollLeft!==e&&(this.scrollLeft=e),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(e,t){this.session.setScrollTop(t),this.session.setScrollLeft(t)},this.scrollBy=function(e,t){t&&this.session.setScrollTop(this.session.getScrollTop()+t),e&&this.session.setScrollLeft(this.session.getScrollLeft()+e)},this.isScrollableBy=function(e,t){return t<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||0<t&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||0<e&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=e+this.scrollLeft-n.left-this.$padding,r=i/this.characterWidth,o=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),s=Math.round(r);return{row:o,column:s,side:0<r-s?1:-1,offsetX:i}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=e+this.scrollLeft-n.left-this.$padding,r=Math.round(i/this.characterWidth),o=(t+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(o,Math.max(r,0),i)},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=this.session.documentToScreenPosition(e,t),r=this.$padding+(this.session.$bidiHandler.isBidiRow(i.row,e)?this.session.$bidiHandler.getPosLeft(i.column):Math.round(i.column*this.characterWidth)),o=i.row*this.lineHeight;return{pageX:n.left+r-this.scrollLeft,pageY:n.top+o-this.scrollTop}},this.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(o.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){function n(n){if(i.$themeId!=e)return t&&t();if(!n||!n.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");o.importCssString(n.cssText,n.cssClass,i.container.ownerDocument),i.theme&&o.removeCssClass(i.container,i.theme.cssClass);var r="padding"in n?n.padding:"padding"in(i.theme||{})?4:i.$padding;i.$padding&&r!=i.$padding&&i.setPadding(r),i.$theme=n.cssClass,i.theme=n,o.addCssClass(i.container,n.cssClass),o.setCssClass(i.container,"ace_dark",n.isDark),i.$size&&(i.$size.width=0,i.$updateSizeAsync()),i._dispatchEvent("themeLoaded",{theme:n}),t&&t()}var i=this;if(this.$themeId=e,i._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e)n(e);else{var r=e||this.$options.theme.initialValue;s.loadModule(["theme",r],n)}},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){o.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){o.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}.call(i.prototype),s.defineOptions(i.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){o.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=o.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=i}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(e,t,n){"use strict";function i(e,t){var n=function(e,t){var n=t.src;a.qualifyURL(e);try{return new Blob([n],{type:"application/javascript"})}catch(e){var i=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return i.append(n),i.getBlob("application/javascript")}}(e,t),i=(window.URL||window.webkitURL).createObjectURL(n);return new Worker(i)}function r(t,n,r,o,s){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),c.get("packaged")||!e.toUrl)o=o||c.moduleUrl(n.id,"worker");else{var a=this.$normalizePath;o=o||a(e.toUrl("ace/worker/worker.js",null,"_"));var l={};t.forEach(function(t){l[t]=a(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=i(o,n),s&&this.send("importScripts",s),this.$worker.postMessage({init:!0,tlns:l,module:n.id,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage}function o(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var i=null,r=!1,o=Object.create(l),s=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){s.messageBuffer.push(e),i&&(r?setTimeout(a):a())},this.setEmitSync=function(e){r=e};var a=function(){var e=s.messageBuffer.shift();e.command?i[e.command].apply(i,e.args):e.event&&o._signal(e.event,e.data)};o.postMessage=function(e){s.onMessage({data:e})},o.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},o.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},c.loadModule(["worker",t],function(e){for(i=new e[n](o);s.messageBuffer.length;)a()})}var s=e("../lib/oop"),a=e("../lib/net"),l=e("../lib/event_emitter").EventEmitter,c=e("../config");(function(){s.implement(this,l),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return a.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var i=this.callbackId++;this.callbacks[i]=n,t.push(i)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,50<e.length&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(r.prototype),o.prototype=r.prototype,t.UIWorkerClient=o,t.WorkerClient=r,t.createWorker=i}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(e,t,n){"use strict";function i(e,t,n,i,r,o){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=i,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}var r=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,s=e("./lib/oop");(function(){s.implement(this,o),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var i=t.createAnchor(n.row,n.column);i.$insertRight=!0,i.detach(),e.others.push(i)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e<this.others.length;e++)this.session.removeMarker(this.others[e].markerId)}},this.onUpdate=function(e){if(this.$updating)return this.updateAnchors(e);var t=e;if(t.start.row===t.end.row&&t.start.row===this.pos.row){this.$updating=!0;var n="insert"===e.action?t.end.column-t.start.column:t.start.column-t.end.column,i=t.start.column>=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;0<=s;s--){var a={row:(l=this.others[s]).row,column:l.column+o};this.doc.insertMergedLines(a,e.lines)}else if("remove"===e.action)for(s=this.others.length-1;0<=s;s--){var l;a={row:(l=this.others[s]).row,column:l.column+o},this.doc.remove(new r(a.row,a.column,a.row,a.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n<t;n++)e.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}}).call(i.prototype),t.PlaceHolder=i}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){function i(e,t){return e.row==t.row&&e.column==t.column}var r=e("../lib/event"),o=e("../lib/useragent");t.onMouseDown=function(e){var t=e.domEvent,n=t.altKey,s=t.shiftKey,a=t.ctrlKey,l=e.getAccelKey(),c=e.getButton();if(a&&o.isMac&&(c=t.button),e.editor.inMultiSelectMode&&2==c)e.editor.textInput.onContextMenu(e.domEvent);else if(a||n||l){if(0===c){var u,d=e.editor,h=d.selection,f=d.inMultiSelectMode,p=e.getDocumentPosition(),m=h.getCursor(),g=e.inSelection()||h.isEmpty()&&i(p,m),v=e.x,y=e.y,b=d.session,_=d.renderer.pixelToScreenCoordinates(v,y),w=_;if(d.$mouseHandler.$enableJumpToDef)a&&n||l&&n?u=s?"block":"add":n&&d.$blockSelectEnabled&&(u="block");else if(l&&!n){if(u="add",!f&&s)return}else n&&d.$blockSelectEnabled&&(u="block");if(u&&o.isMac&&t.ctrlKey&&d.$mouseHandler.cancelContextMenu(),"add"==u){if(!f&&g)return;if(!f){var x=h.toOrientedRange();d.addSelectionMarker(x)}var A=h.rangeList.rangeAtPoint(p);d.$blockScrolling++,d.inVirtualSelectionMode=!0,s&&(A=null,x=h.ranges[0]||x,d.removeSelectionMarker(x)),d.once("mouseup",function(){var e=h.toOrientedRange();A&&e.isEmpty()&&i(A.cursor,e.cursor)?h.substractPoint(e.cursor):(s?h.substractPoint(x.cursor):x&&(d.removeSelectionMarker(x),h.addRange(x)),h.addRange(e)),d.$blockScrolling--,d.inVirtualSelectionMode=!1})}else if("block"==u){var C;e.stop(),d.inVirtualSelectionMode=!0;var k=[];d.$blockScrolling++,f&&!l?h.toSingleRange():!f&&l&&(C=h.toOrientedRange(),d.addSelectionMarker(C)),s?_=b.documentToScreenPosition(h.lead):h.moveToPosition(p),d.$blockScrolling--,w={row:-1,column:-1},r.capture(d.container,function(e){v=e.clientX,y=e.clientY},function(e){clearInterval(M),d.removeSelectionMarkers(k),k.length||(k=[h.toOrientedRange()]),d.$blockScrolling++,C&&(d.removeSelectionMarker(C),h.toSingleRange(C));for(var t=0;t<k.length;t++)h.addRange(k[t]);d.inVirtualSelectionMode=!1,d.$mouseHandler.$clickSelection=null,d.$blockScrolling--});var M=setInterval(function(){!function(){var e=d.renderer.pixelToScreenCoordinates(v,y),t=b.screenToDocumentPosition(e.row,e.column,e.offsetX);i(w,e)&&i(t,h.lead)||(w=e,d.$blockScrolling++,d.selection.moveToPosition(t),d.renderer.scrollCursorIntoView(),d.removeSelectionMarkers(k),k=h.rectangularRangeBlock(w,_),d.$mouseHandler.$clickSelection&&1==k.length&&k[0].isEmpty()&&(k[0]=d.$mouseHandler.$clickSelection.clone()),k.forEach(d.addSelectionMarker,d),d.updateSelectionMarkers(),d.$blockScrolling--)}()},20);return e.preventDefault()}}}else 0===c&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode()}}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(e){e.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(e){e.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(e){e.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(e){e.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(e){e.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(e){e.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(e){e.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(e){e.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(e){e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var i=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new i(t.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(e,t,n){function i(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(u.defaultCommands),function(e){function t(t){i&&(e.renderer.setMouseCursor(""),i=!1)}var n=e.textInput.getElement(),i=!1;l.addListener(n,"keydown",function(n){var r=18==n.keyCode&&!(n.ctrlKey||n.shiftKey||n.metaKey);e.$blockSelectEnabled&&r?i||(e.renderer.setMouseCursor("crosshair"),i=!0):i&&t()}),l.addListener(n,"keyup",t),l.addListener(n,"blur",t)}(e))}var r=e("./range_list").RangeList,o=e("./range").Range,s=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,l=e("./lib/event"),c=e("./lib/lang"),u=e("./commands/multi_select_commands");t.commands=u.defaultCommands.concat(u.multiSelectCommands);var d=new(e("./search").Search),h=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var i=this.rangeList.add(e);return this.$onAddRange(e),i.length&&this.$onRemoveRange(i),1<this.rangeCount&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var i=this.ranges.indexOf(e[n]);this.ranges.splice(i,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(1<this.rangeCount){var e=this.rangeList.ranges,t=e[e.length-1],n=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{n=this.getRange();var i=this.isBackwards(),r=n.start.row,s=n.end.row;if(r==s){if(i)var a=n.end,l=n.start;else a=n.start,l=n.end;return this.addRange(o.fromPoints(l,l)),void this.addRange(o.fromPoints(a,a))}var c=[],u=this.getLineRange(r,!0);u.start.column=n.start.column,c.push(u);for(var d=r+1;d<s;d++)c.push(this.getLineRange(d,!0));(u=this.getLineRange(s,!0)).end.column=n.end.column,c.push(u),c.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(1<this.rangeCount){var e=this.rangeList.ranges,t=e[e.length-1],n=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var i=this.session.documentToScreenPosition(this.selectionLead),r=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(i,r).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var i=[],r=e.column<t.column;if(r)var s=e.column,a=t.column,l=e.offsetX,c=t.offsetX;else s=t.column,a=e.column,l=t.offsetX,c=e.offsetX;var u,d,h=e.row<t.row;if(h)var f=e.row,p=t.row;else f=t.row,p=e.row;s<0&&(s=0),f<0&&(f=0),f==p&&(n=!0);for(var m=f;m<=p;m++){var g=o.fromPoints(this.session.screenToDocumentPosition(m,s,l),this.session.screenToDocumentPosition(m,a,c));if(g.isEmpty()){if(v&&(d=v,(u=g.end).row==d.row&&u.column==d.column))break;var v=g.end}g.cursor=r?g.start:g.end,i.push(g)}if(h&&i.reverse(),!n){for(var y=i.length-1;i[y].isEmpty()&&0<y;)y--;if(0<y)for(var b=0;i[b].isEmpty();)b++;for(var _=y;b<=_;_--)i[_].isEmpty()&&i.splice(_,1)}return i}}.call(s.prototype);var f=e("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var i=e[n];if(i.marker){this.session.removeMarker(i.marker);var r=t.indexOf(i);-1!=r&&t.splice(r,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(u.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(u.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)i="forEach"==t.multiSelectAction?n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),t.exec(n,e.args||{})):t.multiSelectAction(n,e.args||{});else{var i=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return i}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var i,r=n&&n.keepOrder,o=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,u=(r?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=l._eventRegistry;l._eventRegistry={};var h=new s(a);this.inVirtualSelectionMode=!0;for(var f=u.length;f--;){if(o)for(;0<f&&u[f].start.row==u[f-1].end.row;)f--;h.fromOrientedRange(u[f]),h.index=f,this.selection=a.selection=h;var p=e.exec?e.exec(this,t||{}):e(this,t||{});i||void 0===p||(i=p),h.toOrientedRange(u[f])}h.detach(),this.selection=a.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=d,l.mergeOverlappingRanges();var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),i}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],i=0;i<t.length;i++)n.push(this.session.getTextRange(t[i]));var r=this.session.getDocument().getNewLineCharacter();(e=n.join(r)).length==(n.length-1)*r.length&&(e="")}else this.selection.isEmpty()||(e=this.session.getTextRange(this.getSelectionRange()));return e},this.$checkMultiselectChange=function(e,t){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var n=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&t==this.multiSelect.anchor)return;var i=t==this.multiSelect.anchor?n.cursor==n.start?n.end:n.start:n.cursor;i.row==t.row&&this.session.$clipPositionToDocument(i.row,i.column).column==t.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(e,t,n){if((t=t||{}).needle=e||t.needle,null==t.needle){var i=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();t.needle=this.session.getTextRange(i)}this.$search.set(t);var r=this.$search.findAll(this.session);if(!r.length)return 0;this.$blockScrolling+=1;var o=this.multiSelect;n||o.toSingleRange(r[0]);for(var s=r.length;s--;)o.addRange(r[s],!0);return i&&o.rangeList.rangeAtPoint(i.start)&&o.addRange(i,!0),this.$blockScrolling-=1,r.length},this.selectMoreLines=function(e,t){var n=this.selection.toOrientedRange(),i=n.cursor==n.end,r=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(r.column=this.selection.$desiredColumn);var s,a=this.session.screenToDocumentPosition(r.row+e,r.column);if(n.isEmpty())c=a;else var l=this.session.documentToScreenPosition(i?n.end:n.start),c=this.session.screenToDocumentPosition(l.row+e,l.column);if(i?(s=o.fromPoints(a,c)).cursor=s.start:(s=o.fromPoints(c,a)).cursor=s.end,s.desiredColumn=r.column,this.selection.inMultiSelectMode){if(t)var u=n.cursor}else this.selection.addRange(n);this.selection.addRange(s),u&&this.selection.substractPoint(u)},this.transposeSelections=function(e){for(var t=this.session,n=t.multiSelect,i=n.ranges,r=i.length;r--;)if((a=i[r]).isEmpty()){var o=t.getWordRange(a.start.row,a.start.column);a.start.row=o.start.row,a.start.column=o.start.column,a.end.row=o.end.row,a.end.column=o.end.column}n.mergeOverlappingRanges();var s=[];for(r=i.length;r--;){var a=i[r];s.unshift(t.getTextRange(a))}for(e<0?s.unshift(s.pop()):s.push(s.shift()),r=i.length;r--;)o=(a=i[r]).clone(),t.replace(a,s[r]),a.start.row=o.start.row,a.start.column=o.start.column},this.selectMore=function(e,t,n){var i=this.session,r=i.multiSelect.toOrientedRange();if(!r.isEmpty()||((r=i.getWordRange(r.start.row,r.start.column)).cursor=-1==e?r.start:r.end,this.multiSelect.addRange(r),!n)){var o=i.getTextRange(r),s=function(e,t,n){return d.$options.wrap=!0,d.$options.needle=t,d.$options.backwards=-1==n,d.find(e)}(i,o,e);s&&(s.cursor=-1==e?s.start:s.end,this.$blockScrolling+=1,this.session.unfold(s),this.multiSelect.addRange(s),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),t&&this.multiSelect.substractPoint(r.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,i=-1,r=n.filter(function(e){if(e.cursor.row==i)return!0;i=e.cursor.row});if(n.length&&r.length!=n.length-1){r.forEach(function(e){t.substractPoint(e.cursor)});var s=0,a=1/0,l=n.map(function(t){var n=t.cursor,i=e.getLine(n.row).substr(n.column).search(/\S/g);return-1==i&&(i=0),n.column>s&&(s=n.column),i<a&&(a=i),i});n.forEach(function(t,n){var i=t.cursor,r=s-i.column,u=l[n]-a;u<r?e.insert(i,c.stringRepeat(" ",r-u)):e.remove(new o(i.row,i.column,i.row,i.column-r+u)),t.start.column=t.end.column=s,t.start.row=t.end.row=i.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,h=u.end.row,f=d==h;if(f){for(var p,m=this.session.getLength();p=this.session.getLine(h),/[=:]/.test(p)&&++h<m;);for(;p=this.session.getLine(d),/[=:]/.test(p)&&0<--d;);d<0&&(d=0),m<=h&&(h=m-1)}var g=this.session.removeFullLines(d,h);g=this.$reAlignText(g,f),this.session.insert({row:d,column:0},g.join("\n")+"\n"),f||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){function n(e){return c.stringRepeat(" ",e)}function i(e){return e[2]?n(r)+e[2]+n(o-e[2].length+s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}var r,o,s,a=!0,l=!0;return e.map(function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?(null==r?(r=t[1].length,o=t[2].length,s=t[3].length):(r+o+s!=t[1].length+t[2].length+t[3].length&&(l=!1),r!=t[1].length&&(a=!1),r>t[1].length&&(r=t[1].length),o<t[2].length&&(o=t[2].length),s>t[3].length&&(s=t[3].length)),t):[e]}).map(t?i:a?l?function(e){return e[2]?n(r+o-e[2].length)+e[2]+n(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:i:function(e){return e[2]?n(r)+e[2]+n(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]})}}).call(f.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=i,e("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(e){i(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(e,t,n){"use strict";var i=e("../../range").Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);return this.foldingStartMarker.test(i)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(i)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var r=/\S/,o=e.getLine(t),s=o.search(r);if(-1!=s){for(var a=n||o.length,l=e.getLength(),c=t,u=t;++t<l;){var d=e.getLine(t).search(r);if(-1!=d){if(d<=s)break;u=t}}if(c<u){var h=e.getLine(u).length;return new i(c,a,u,h)}}},this.openingBracketBlock=function(e,t,n,r,o){var s={row:n,column:r+1},a=e.$findClosingBracket(t,s,o);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),i.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,r,o){var s={row:n,column:r},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,i.fromPoints(a,s)}}).call(r.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(e,t,n){"use strict";function i(e){this.session=e,(this.session.widgetManager=this).session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}e("./lib/oop");var r=e("./lib/dom");e("./range").Range,function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach(function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)}),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),(this.editor=e)&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach(function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))})}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var i=e.data,r=i.start.row,o=i.end.row,s="add"==e.action,a=r+1;a<o;a++)n[a]&&(n[a].hidden=s);n[o]&&(s?n[r]?n[o].hidden=s:n[r]=n[o]:(n[r]==n[o]&&(n[r]=void 0),n[o].hidden=s))}},this.updateOnChange=function(e){var t=this.session.lineWidgets;if(t){var n=e.start.row,i=e.end.row-n;if(0==i);else if("remove"==e.action)t.splice(n+1,i).forEach(function(e){e&&this.removeLineWidget(e)},this),this.$updateRows();else{var r=new Array(i);r.unshift(n,0),t.splice.apply(t,r),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach(function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget}),t&&(this.session.lineWidgets=null)}},this.addLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];t&&(e.$oldWidget=t).el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1),(this.session.lineWidgets[e.row]=e).session=this.session;var n=this.editor.renderer;e.html&&!e.el&&(e.el=r.createElement("div"),e.el.innerHTML=e.html),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,n.container.appendChild(e.el),e._inDocument=!0),e.coverGutter||(e.el.style.zIndex=3),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight),null==e.rowCount&&(e.rowCount=e.pixelHeight/n.layerConfig.lineHeight);var i=this.session.getFoldAt(e.row,0);if(e.$fold=i){var o=this.session.lineWidgets;e.row!=i.end.row||o[i.start.row]?e.hidden=!0:o[i.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],i=[];n;)i.push(n),n=n.$oldWidget;return i},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,i=t.layerConfig;if(n&&n.length){for(var r=1/0,o=0;o<n.length;o++){var s=n[o];if(s&&s.el&&s.session==this.session){if(!s._inDocument){if(this.session.lineWidgets[s.row]!=s)continue;s._inDocument=!0,t.container.appendChild(s.el)}s.h=s.el.offsetHeight,s.fixedWidth||(s.w=s.el.offsetWidth,s.screenWidth=Math.ceil(s.w/i.characterWidth));var a=s.h/i.lineHeight;s.coverLine&&(a-=this.session.getRowLineCount(s.row))<0&&(a=0),s.rowCount!=a&&(s.rowCount=a,s.row<r&&(r=s.row))}}r!=1/0&&(this.session._emit("changeFold",{data:{start:{row:r}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(e,t){var n=t.layerConfig,i=this.session.lineWidgets;if(i){for(var r=Math.min(this.firstRow,n.firstRow),o=Math.max(this.lastRow,n.lastRow,i.length);0<r&&!i[r];)r--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=r;s<=o;s++){var a=i[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}}}.call(i.prototype),t.LineWidgets=i}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(e,t,n){"use strict";var i=e("../line_widgets").LineWidgets,r=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){function n(e,t,n){if(0===t&&("esc"===n||"return"===n))return f.destroy(),{command:"null"}}var s=e.session;s.widgetManager||(s.widgetManager=new i(s),s.widgetManager.attach(e));var a=e.getCursorPosition(),l=a.row,c=s.widgetManager.getWidgetsAtRow(l).filter(function(e){return"errorMarker"==e.type})[0];c?c.destroy():l-=t;var u,d=function(e,t,n){var i=e.getAnnotations().sort(o.comparePoints);if(i.length){var r=function(e,t,n){for(var i=0,r=e.length-1;i<=r;){var o=i+r>>1,s=n(t,e[o]);if(0<s)i=1+o;else{if(!(s<0))return o;r=o-1}}return-(i+1)}(i,{row:t,column:-1},o.comparePoints);r<0&&(r=-r-1),r>=i.length?r=0<n?0:i.length-1:0===r&&n<0&&(r=i.length-1);var s=i[r];if(s&&n){if(s.row===t){for(;(s=i[r+=n])&&s.row===t;);if(!s)return i.slice()}var a=[];for(t=s.row;a[n<0?"unshift":"push"](s),(s=i[r+=n])&&s.row==t;);return a.length&&a}}}(s,l,t);if(d){var h=d[0];a.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,a.row=h.row,u=e.renderer.$gutterLayer.$annotations[a.row]}else{if(c)return;u={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var f={row:a.row,fixedWidth:!0,coverGutter:!0,el:r.createElement("div"),type:"errorMarker"},p=f.el.appendChild(r.createElement("div")),m=f.el.appendChild(r.createElement("div"));m.className="error_widget_arrow "+u.className;var g=e.renderer.$cursorLayer.getPixelPosition(a).left;m.style.left=g+e.renderer.gutterWidth-5+"px",f.el.className="error_widget_wrapper",p.className="error_widget "+u.className,p.innerHTML=u.text.join("<br>"),p.appendChild(r.createElement("div")),f.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(n),s.widgetManager.removeLineWidget(f),e.off("changeSelection",f.destroy),e.off("changeSession",f.destroy),e.off("mouseup",f.destroy),e.off("change",f.destroy))},e.keyBinding.addKeyboardHandler(n),e.on("changeSelection",f.destroy),e.on("changeSession",f.destroy),e.on("mouseup",f.destroy),e.on("change",f.destroy),e.session.widgetManager.addLineWidget(f),f.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:f.el.offsetHeight})},r.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(e,t,i){"use strict";e("./lib/fixoldbrowsers");var r=e("./lib/dom"),o=e("./lib/event"),s=e("./editor").Editor,a=e("./edit_session").EditSession,l=e("./undomanager").UndoManager,c=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.acequire=e,t.define=n(21),t.edit=function(e){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof s)return e.env.editor;var i="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;i=a.value,e=r.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(i=r.getInnerText(e),e.innerHTML="");var l=t.createEditSession(i),u=new s(new c(e));u.setSession(l);var d={document:l,editor:u,onResize:u.resize.bind(u,null)};return a&&(d.textarea=a),o.addListener(window,"resize",d.onResize),u.on("destroy",function(){o.removeListener(window,"resize",d.onResize),d.editor.container.env=null}),u.container.env=u.env=d,u},t.createEditSession=function(e,t){var n=new a(e,t);return n.setUndoManager(new l),n},t.EditSession=a,t.UndoManager=l,t.version="1.2.9"}),ace.acequire(["ace/ace"],function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])}),e.exports=window.ace.acequire("ace/ace")},function(e,t,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";function i(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}}var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules;r.inherits(i,o),t.JsonHighlightRules=i}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";function i(){}var r=e("../range").Range;(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,o=e.findMatchingBracket({row:t,column:i});if(!o||o.row==t)return 0;var s=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,i-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var i=e("../../lib/oop"),r=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(s,o),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(i)?"start":r},this.getFoldWidgetRange=function(e,t,n,i){var r,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(r=o.match(this.foldingStartMarker)){var s=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,s);var a=e.getCommentFoldRange(n,s+r[0].length,1);return a&&!a.isMultiLine()&&(i?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(r=o.match(this.foldingStopMarker))?(s=r.index+r[0].length,r[1]?this.closingBracketBlock(e,r[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),i=n.search(/\S/),o=t,s=n.length,a=t+=1,l=e.getLength();++t<l;){var c=(n=e.getLine(t)).search(/\S/);if(-1!==c){if(c<i)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(i==c)break}a=t}}return new r(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<o;){t=e.getLine(n);var c=a.exec(t);if(c&&(c[1]?l--:l++,!l))break}if(s<n)return new r(s,i,n,t.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(e,t,i){"use strict";function r(){this.HighlightRules=a,this.$outdent=new l,this.$behaviour=new c,this.foldingRules=new u}var o=e("../lib/oop"),s=e("./text").Mode,a=e("./json_highlight_rules").JsonHighlightRules,l=e("./matching_brace_outdent").MatchingBraceOutdent,c=e("./behaviour/cstyle").CstyleBehaviour,u=e("./folding/cstyle").FoldMode,d=e("../worker/worker_client").WorkerClient;o.inherits(r,s),function(){this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t);return"start"==e&&t.match(/^.*[\{\(\[]\s*$/)&&(i+=n),i},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new d(["ace"],n(36),"JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/json"}.call(r.prototype),t.Mode=r})},function(e,t){e.exports.id="ace/mode/json_worker",e.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/</g,"<")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/json/json_parse",["require","exports","module"],function(){"use strict";var at,ch,text,value,escapee={\'"\':\'"\',"\\\\":"\\\\","/":"/",b:"\\b",f:"\\f",n:"\\n",r:"\\r",t:"\t"},error=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error("Expected \'"+c+"\' instead of \'"+ch+"\'"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string="";for("-"===ch&&(string="-",next("-"));ch>="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r \\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(e,t){ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"],function(e,t,n){"use strict";function i(e,t,n){var i=r.createElement("div");i.innerHTML=c,this.element=i.firstChild,this.setSession=this.setSession.bind(this),this.$init(),this.setEditor(e)}var r=e("../lib/dom"),o=e("../lib/lang"),s=e("../lib/event"),a=e("../keyboard/hash_handler").HashHandler,l=e("../lib/keys");r.importCssString('.ace_search {background-color: #ddd;color: #666;border: 1px solid #cbcbcb;border-top: 0 none;overflow: hidden;margin: 0;padding: 4px 6px 0 4px;position: absolute;top: 0;z-index: 99;white-space: normal;}.ace_search.left {border-left: 0 none;border-radius: 0px 0px 5px 0px;left: 0;}.ace_search.right {border-radius: 0px 0px 0px 5px;border-right: 0 none;right: 0;}.ace_search_form, .ace_replace_form {margin: 0 20px 4px 0;overflow: hidden;line-height: 1.9;}.ace_replace_form {margin-right: 0;}.ace_search_form.ace_nomatch {outline: 1px solid red;}.ace_search_field {border-radius: 3px 0 0 3px;background-color: white;color: black;border: 1px solid #cbcbcb;border-right: 0 none;box-sizing: border-box!important;outline: 0;padding: 0;font-size: inherit;margin: 0;line-height: inherit;padding: 0 6px;min-width: 17em;vertical-align: top;}.ace_searchbtn {border: 1px solid #cbcbcb;line-height: inherit;display: inline-block;padding: 0 6px;background: #fff;border-right: 0 none;border-left: 1px solid #dcdcdc;cursor: pointer;margin: 0;position: relative;box-sizing: content-box!important;color: #666;}.ace_searchbtn:last-child {border-radius: 0 3px 3px 0;border-right: 1px solid #cbcbcb;}.ace_searchbtn:disabled {background: none;cursor: default;}.ace_searchbtn:hover {background-color: #eef1f6;}.ace_searchbtn.prev, .ace_searchbtn.next {padding: 0px 0.7em}.ace_searchbtn.prev:after, .ace_searchbtn.next:after {content: "";border: solid 2px #888;width: 0.5em;height: 0.5em;border-width: 2px 0 0 2px;display:inline-block;transform: rotate(-45deg);}.ace_searchbtn.next:after {border-width: 0 2px 2px 0 ;}.ace_searchbtn_close {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;border-radius: 50%;border: 0 none;color: #656565;cursor: pointer;font: 16px/16px Arial;padding: 0;height: 14px;width: 14px;top: 9px;right: 7px;position: absolute;}.ace_searchbtn_close:hover {background-color: #656565;background-position: 50% 100%;color: white;}.ace_button {margin-left: 2px;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;overflow: hidden;opacity: 0.7;border: 1px solid rgba(100,100,100,0.23);padding: 1px;box-sizing: border-box!important;color: black;}.ace_button:hover {background-color: #eee;opacity:1;}.ace_button:active {background-color: #ddd;}.ace_button.checked {border-color: #3399ff;opacity:1;}.ace_search_options{margin-bottom: 3px;text-align: right;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;clear: both;}.ace_search_counter {float: left;font-family: arial;padding: 0 8px;}',"ace_searchbox");var c='<div class="ace_search right"> <span action="hide" class="ace_searchbtn_close"></span> <div class="ace_search_form"> <input class="ace_search_field" placeholder="Search for" spellcheck="false"></input> <span action="findPrev" class="ace_searchbtn prev"></span> <span action="findNext" class="ace_searchbtn next"></span> <span action="findAll" class="ace_searchbtn" title="Alt-Enter">All</span> </div> <div class="ace_replace_form"> <input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input> <span action="replaceAndFindNext" class="ace_searchbtn">Replace</span> <span action="replaceAll" class="ace_searchbtn">All</span> </div> <div class="ace_search_options"> <span action="toggleReplace" class="ace_button" title="Toggel Replace mode" style="float:left;margin-top:-2px;padding:0 5px;">+</span> <span class="ace_search_counter"></span> <span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span> <span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span> <span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span> <span action="searchInSelection" class="ace_button" title="Search In Selection">S</span> </div></div>'.replace(/> +/g,">");(function(){this.setEditor=function(e){e.searchBox=this,e.renderer.scroller.appendChild(this.element),this.editor=e},this.setSession=function(e){this.searchRange=null,this.$syncOptions(!0)},this.$initElements=function(e){this.searchBox=e.querySelector(".ace_search_form"),this.replaceBox=e.querySelector(".ace_replace_form"),this.searchOption=e.querySelector("[action=searchInSelection]"),this.replaceOption=e.querySelector("[action=toggleReplace]"),this.regExpOption=e.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=e.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=e.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=e.querySelector(".ace_search_counter")},this.$init=function(){var e=this.element;this.$initElements(e);var t=this;s.addListener(e,"mousedown",function(e){setTimeout(function(){t.activeInput.focus()},0),s.stopPropagation(e)}),s.addListener(e,"click",function(e){var n=(e.target||e.srcElement).getAttribute("action");n&&t[n]?t[n]():t.$searchBarKb.commands[n]&&t.$searchBarKb.commands[n].exec(t),s.stopPropagation(e)}),s.addCommandKeyListener(e,function(e,n,i){var r=l.keyCodeToString(i),o=t.$searchBarKb.findKeyCommand(n,r);o&&o.exec&&(o.exec(t),s.stopEvent(e))}),this.$onChange=o.delayedCall(function(){t.find(!1,!1)}),s.addListener(this.searchInput,"input",function(){t.$onChange.schedule(20)}),s.addListener(this.searchInput,"focus",function(){t.activeInput=t.searchInput,t.searchInput.value&&t.highlight()}),s.addListener(this.replaceInput,"focus",function(){t.activeInput=t.replaceInput,t.searchInput.value&&t.highlight()})},this.$closeSearchBarKb=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(e){e.searchBox.hide()}}]),this.$searchBarKb=new a,this.$searchBarKb.bindKeys({"Ctrl-f|Command-f":function(e){var t=e.isReplace=!e.isReplace;e.replaceBox.style.display=t?"":"none",e.replaceOption.checked=!1,e.$syncOptions(),e.searchInput.focus()},"Ctrl-H|Command-Option-F":function(e){e.replaceOption.checked=!0,e.$syncOptions(),e.replaceInput.focus()},"Ctrl-G|Command-G":function(e){e.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(e){e.findPrev()},esc:function(e){setTimeout(function(){e.hide()})},Return:function(e){e.activeInput==e.replaceInput&&e.replace(),e.findNext()},"Shift-Return":function(e){e.activeInput==e.replaceInput&&e.replace(),e.findPrev()},"Alt-Return":function(e){e.activeInput==e.replaceInput&&e.replaceAll(),e.findAll()},Tab:function(e){(e.activeInput==e.replaceInput?e.searchInput:e.replaceInput).focus()}}),this.$searchBarKb.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(e){e.regExpOption.checked=!e.regExpOption.checked,e.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(e){e.caseSensitiveOption.checked=!e.caseSensitiveOption.checked,e.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(e){e.wholeWordOption.checked=!e.wholeWordOption.checked,e.$syncOptions()}},{name:"toggleReplace",exec:function(e){e.replaceOption.checked=!e.replaceOption.checked,e.$syncOptions()}},{name:"searchInSelection",exec:function(e){e.searchOption.checked=!e.searchRange,e.setSearchRange(e.searchOption.checked&&e.editor.getSelectionRange()),e.$syncOptions()}}]),this.setSearchRange=function(e){(this.searchRange=e)?this.searchRangeMarker=this.editor.session.addMarker(e,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},this.$syncOptions=function(e){r.setCssClass(this.replaceOption,"checked",this.searchRange),r.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",r.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),r.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),r.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.replaceBox.style.display=this.replaceOption.checked?"":"none",this.find(!1,!1,e)},this.highlight=function(e){this.editor.session.highlight(e||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},this.find=function(e,t,n){var i=!this.editor.find(this.searchInput.value,{skipCurrent:e,backwards:t,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:n,range:this.searchRange})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",i),this.editor._emit("findSearchBox",{match:!i}),this.highlight(),this.updateCounter()},this.updateCounter=function(){var e=this.editor,t=e.$search.$options.re,n=0,i=0;if(t){var r=this.searchRange?e.session.getTextRange(this.searchRange):e.getValue(),o=e.session.doc.positionToIndex(e.selection.anchor);this.searchRange&&(o-=e.session.doc.positionToIndex(this.searchRange.start));for(var s,a=t.lastIndex=0;(s=t.exec(r))&&(n++,(a=s.index)<=o&&i++,!(999<n))&&(s[0]||(t.lastIndex=a+=1,!(a>=r.length))););}this.searchCounter.textContent=i+" of "+(999<n?"999+":n)},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var e=!this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",e),this.editor._emit("findSearchBox",{match:!e}),this.highlight(),this.hide()},this.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},this.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},this.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},this.hide=function(){this.active=!1,this.setSearchRange(null),this.editor.off("changeSession",this.setSession),this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},this.show=function(e,t){this.active=!0,this.editor.on("changeSession",this.setSession),this.element.style.display="",this.replaceOption.checked=t,e&&(this.searchInput.value=e),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb),this.$syncOptions(!0)},this.isFocused=function(){var e=document.activeElement;return e==this.searchInput||e==this.replaceInput}}).call(i.prototype),t.SearchBox=i,t.Search=function(e,t){(e.searchBox||new i(e)).show(e.session.getTextRange(),t)}}),ace.acequire(["ace/ext/searchbox"],function(){})},function(e,t,n){e.exports=function(){"use strict";function e(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;return(0<t?e.toFixed(t).replace(/0+$/,"").replace(/\.$/,""):e.toString())||"0"}function t(e,t,n){function i(e,t,n){return Math.max(t,Math.min(e,n))}function r(e,r,o){if(o&&(a=!0),a){e.preventDefault();var s=t.getBoundingClientRect(),l=s.width,c=s.height,u=r.clientX,d=r.clientY,h=i(u-s.left,0,l),f=i(d-s.top,0,c);n(h/l,f/c)}}function o(e,t){1===(void 0===e.buttons?e.which:e.buttons)?r(e,e,t):a=!1}function s(e,t){1===e.touches.length?r(e,e.touches[0],t):a=!1}var a=!1;e.add(t,"mousedown",function(e){o(e,!0)}),e.add(t,"touchstart",function(e){s(e,!0)}),e.add(window,"mousemove",o),e.add(t,"touchmove",s),e.add(window,"mouseup",function(e){a=!1}),e.add(t,"touchend",function(e){a=!1}),e.add(t,"touchcancel",function(e){a=!1})}function n(e,t){return(t||document).querySelector(e)}function i(e){e.preventDefault(),e.stopPropagation()}function r(e,t,n,r,o){e.add(t,"keydown",function(e){0<=n.indexOf(e.key)&&(o&&i(e),r(e))})}var o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};String.prototype.startsWith=String.prototype.startsWith||function(e){return 0===this.indexOf(e)},String.prototype.padStart=String.prototype.padStart||function(e,t){for(var n=this;n.length<e;)n=t+n;return n};var l={cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"},c=function(){function t(e,n,i,r){o(this,t);var s=this;if(void 0===e);else if(Array.isArray(e))this.rgba=e;else if(void 0===i){var l=e&&""+e;l&&function(e){if(e.startsWith("hsl")){var n=e.match(/([\-\d\.e]+)/g).map(Number),i=a(n,4),r=i[0],o=i[1],l=i[2],c=i[3];void 0===c&&(c=1),r/=360,o/=100,l/=100,s.hsla=[r,o,l,c]}else if(e.startsWith("rgb")){var u=e.match(/([\-\d\.e]+)/g).map(Number),d=a(u,4),h=d[0],f=d[1],p=d[2],m=d[3];void 0===m&&(m=1),s.rgba=[h,f,p,m]}else e.startsWith("#")?s.rgba=t.hexToRgb(e):s.rgba=t.nameToRgb(e)||t.hexToRgb(e)}(l.toLowerCase())}else this.rgba=[e,n,i,void 0===r?1:r]}return s(t,[{key:"printRGB",value:function(t){var n=(t?this.rgba:this.rgba.slice(0,3)).map(function(t,n){return e(t,3===n?3:0)});return t?"rgba("+n+")":"rgb("+n+")"}},{key:"printHSL",value:function(t){var n=[360,100,100,1],i=["","%","%",""],r=(t?this.hsla:this.hsla.slice(0,3)).map(function(t,r){return e(t*n[r],3===r?3:1)+i[r]});return t?"hsla("+r+")":"hsl("+r+")"}},{key:"printHex",value:function(e){var t=this.hex;return e?t:t.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=t.hslToRgb(this._hsla)},set:function(e){3===e.length&&(e[3]=1),this._rgba=e,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=t.rgbToHsl(this._rgba)},set:function(e){3===e.length&&(e[3]=1),this._hsla=e,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){return"#"+this.rgba.map(function(e,t){return t<3?e.toString(16):Math.round(255*e).toString(16)}).map(function(e){return e.padStart(2,"0")}).join("")},set:function(e){this.rgba=t.hexToRgb(e)}}],[{key:"hexToRgb",value:function(e){var t=(e.startsWith("#")?e.slice(1):e).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!t.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+e);var n=t.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(e){return parseInt(e,16)});return n[3]=n[3]/255,n}},{key:"nameToRgb",value:function(e){var n=e.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),i=l[n];return void 0===i?i:t.hexToRgb(i.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(e){var t=a(e,4),n=t[0],i=t[1],r=t[2],o=t[3];n/=255,i/=255,r/=255;var s=Math.max(n,i,r),l=Math.min(n,i,r),c=void 0,u=void 0,d=(s+l)/2;if(s===l)c=u=0;else{var h=s-l;switch(u=.5<d?h/(2-s-l):h/(s+l),s){case n:c=(i-r)/h+(i<r?6:0);break;case i:c=(r-n)/h+2;break;case r:c=(n-i)/h+4}c/=6}return[c,u,d,o]}},{key:"hslToRgb",value:function(e){var t=a(e,4),n=t[0],i=t[1],r=t[2],o=t[3],s=void 0,l=void 0,c=void 0;if(0===i)s=l=c=r;else{var u=function(e,t,n){return n<0&&(n+=1),1<n&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},d=r<.5?r*(1+i):r+i-r*i,h=2*r-d;s=u(h,d,n+1/3),l=u(h,d,n),c=u(h,d,n-1/3)}var f=[255*s,255*l,255*c].map(Math.round);return f[3]=o,f}}]),t}(),u=function(){function e(){o(this,e),this._events=[]}return s(e,[{key:"add",value:function(e,t,n){e.addEventListener(t,n,!1),this._events.push({target:e,type:t,handler:n})}},{key:"remove",value:function(t,n,i){this._events=this._events.filter(function(r){var o=!0;return t&&t!==r.target&&(o=!1),n&&n!==r.type&&(o=!1),i&&i!==r.handler&&(o=!1),o&&e._doRemove(r.target,r.type,r.handler),!o})}},{key:"destroy",value:function(){this._events.forEach(function(t){return e._doRemove(t.target,t.type,t.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(e,t,n){e.removeEventListener(t,n,!1)}}]),e}(),d="mousedown",h="focusin",f=document.createElement("style");return f.textContent=".picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:stretch;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:'';display:block;width:100%;height:0;-webkit-box-ordinal-group:2;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_sl::before{content:'';display:block;padding-bottom:100%}.layout_default .picker_editor{-webkit-box-ordinal-group:2;order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{-webkit-box-ordinal-group:2;order:1;-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{-webkit-box-ordinal-group:2;order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px dodgerblue}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:whitesmoke;background-image:-webkit-gradient(linear, left bottom, left top, from(gainsboro), to(transparent));background-image:-webkit-linear-gradient(bottom, gainsboro, transparent);background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:-webkit-gradient(linear, left bottom, left top, from(transparent), to(gainsboro));background-image:-webkit-linear-gradient(bottom, transparent, gainsboro);background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:white}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:-webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(cyan), color-stop(blue), color-stop(magenta), to(red));background-image:-webkit-linear-gradient(left, red, yellow, lime, cyan, blue, magenta, red);background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, rgba(255,255,255,0))),-webkit-gradient(linear, left bottom, left top, from(black), color-stop(50%, rgba(0,0,0,0))),-webkit-gradient(linear, left top, right top, from(gray), to(rgba(128,128,128,0)));background-image:-webkit-linear-gradient(top, white, rgba(255,255,255,0) 50%),-webkit-linear-gradient(bottom, black, rgba(0,0,0,0) 50%),-webkit-linear-gradient(left, gray, rgba(128,128,128,0));background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:'';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}",document.documentElement.firstElementChild.appendChild(f),function(){function e(t){o(this,e),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1},this._events=new u,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(t)}return s(e,[{key:"setOptions",value:function(e){function t(e){return n.openHandler(e)}var n=this;if(e){var i=this.settings;if(e instanceof HTMLElement)i.parent=e;else{i.parent&&e.parent&&i.parent!==e.parent&&(this._events.remove(i.parent),this._popupInited=!1),function(e,t,n){for(var i in e)t[i]=e[i]}(e,i),e.onChange&&(this.onChange=e.onChange),e.onDone&&(this.onDone=e.onDone),e.onOpen&&(this.onOpen=e.onOpen),e.onClose&&(this.onClose=e.onClose);var o=e.color||e.colour;o&&this._setColor(o)}var s=i.parent;s&&i.popup&&!this._popupInited?(this._events.add(s,"click",t),r(this._events,s,[" ","Spacebar","Enter"],t),this._popupInited=!0):e.parent&&!i.popup&&this.show()}}},{key:"openHandler",value:function(e){if(this.show()){e&&e.preventDefault(),this.settings.parent.style.pointerEvents="none";var t=e&&"keydown"===e.type?this._domEdit:this.domElement;setTimeout(function(){return t.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(e){var t=e&&e.type,n=!1;if(e)if(t===d||t===h){var r=(this.__containedEvent||0)+100;e.timeStamp>r&&(n=!0)}else i(e),n=!0;else n=!0;n&&this.hide()&&(this.settings.parent.style.pointerEvents="",t!==d&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(e,t){this.closeHandler(),this.setOptions(e),t&&this.openHandler()}},{key:"setColor",value:function(e,t){this._setColor(e,{silent:t})}},{key:"_setColor",value:function(e,t){if("string"==typeof e&&(e=e.trim()),e){t=t||{};var n=void 0;try{n=new c(e)}catch(e){if(t.failSilently)return;throw e}if(!this.settings.alpha){var i=n.hsla;i[3]=1,n.hsla=i}this.colour=this.color=n,this._setHSLA(null,null,null,null,t)}}},{key:"setColour",value:function(e,t){this.setColor(e,t)}},{key:"show",value:function(){if(!this.settings.parent)return!1;if(this.domElement){var e=this._toggleDOM(!0);return this._setPosition(),e}var t=function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstElementChild}(this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>');return this.domElement=t,this._domH=n(".picker_hue",t),this._domSL=n(".picker_sl",t),this._domA=n(".picker_alpha",t),this._domEdit=n(".picker_editor input",t),this._domSample=n(".picker_sample",t),this._domOkay=n(".picker_done button",t),this._domCancel=n(".picker_cancel button",t),t.classList.add("layout_"+this.settings.layout),this.settings.alpha||t.classList.add("no_alpha"),this.settings.editor||t.classList.add("no_editor"),this.settings.cancelButton||t.classList.add("no_cancel"),this._ifPopup(function(){return t.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor("#0cf"),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){function e(e,t,n){a.add(e,t,n)}function n(e){i._ifPopup(function(){return i.closeHandler(e)}),i.onDone&&i.onDone(i.colour)}var i=this,o=this,s=this.domElement,a=this._events;e(s,"click",function(e){return e.preventDefault()}),t(a,this._domH,function(e,t){return o._setHSLA(e)}),t(a,this._domSL,function(e,t){return o._setHSLA(null,e,1-t)}),this.settings.alpha&&t(a,this._domA,function(e,t){return o._setHSLA(null,null,null,1-t)});var l=this._domEdit;e(l,"input",function(e){o._setColor(this.value,{fromEditor:!0,failSilently:!0})}),e(l,"focus",function(e){this.selectionStart===this.selectionEnd&&this.select()}),this._ifPopup(function(){function t(e){return i.closeHandler(e)}function n(e){i.__containedEvent=e.timeStamp}e(window,d,t),e(window,h,t),r(a,s,["Esc","Escape"],t),e(s,d,n),e(s,h,n),e(i._domCancel,"click",t)}),e(this._domOkay,"click",n),r(a,s,["Enter"],n)}},{key:"_setPosition",value:function(){var e=this.settings.parent,t=this.domElement;e!==t.parentNode&&e.appendChild(t),this._ifPopup(function(n){"static"===getComputedStyle(e).position&&(e.style.position="relative");var i=!0===n?"popup_right":"popup_"+n;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(e){e===i?t.classList.add(e):t.classList.remove(e)}),t.classList.add(i)})}},{key:"_setHSLA",value:function(e,t,n,i,r){r=r||{};var o=this.colour,s=o.hsla;[e,t,n,i].forEach(function(e,t){!e&&0!==e||(s[t]=e)}),o.hsla=s,this._updateUI(r),this.onChange&&!r.silent&&this.onChange(o)}},{key:"_updateUI",value:function(e){function t(e,t,n){t.style.left=100*n+"%"}function i(e,t,n){t.style.top=100*n+"%"}if(this.domElement){e=e||{};var r=this.colour,o=r.hsla,s="hsl("+360*o[0]+", 100%, 50%)",a=r.hslString,l=r.hslaString,c=this._domH,u=this._domSL,d=this._domA,h=n(".picker_selector",c),f=n(".picker_selector",u),p=n(".picker_selector",d);t(0,h,o[0]),this._domSL.style.backgroundColor=this._domH.style.color=s,t(0,f,o[1]),i(0,f,1-o[2]),u.style.color=a,i(0,p,1-o[3]);var m=a,g=m.replace("hsl","hsla").replace(")",", 0)"),v="linear-gradient("+[m,g]+")";if(this._domA.style.backgroundImage=v+", url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\")",!e.fromEditor){var y=this.settings.editorFormat,b=this.settings.alpha,_=void 0;switch(y){case"rgb":_=r.printRGB(b);break;case"hsl":_=r.printHSL(b);break;default:_=r.printHex(b)}this._domEdit.value=_}this._domSample.style.color=l}}},{key:"_ifPopup",value:function(e,t){this.settings.parent&&this.settings.popup?e&&e(this.settings.popup):t&&t()}},{key:"_toggleDOM",value:function(e){var t=this.domElement;if(!t)return!1;var n=e?"":"none",i=t.style.display!==n;return i&&(t.style.display=n),i}}],[{key:"StyleElement",get:function(){return f}}]),e}()}()},function(e,t){window.ace.define("ace/theme/jsoneditor",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-jsoneditor",t.cssText='.ace-jsoneditor .ace_gutter {\nbackground: #ebebeb;\ncolor: #333\n}\n\n.ace-jsoneditor.ace_editor {\nfont-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;\nline-height: 1.3;\nbackground-color: #fff;\n}\n.ace-jsoneditor .ace_print-margin {\nwidth: 1px;\nbackground: #e8e8e8\n}\n.ace-jsoneditor .ace_scroller {\nbackground-color: #FFFFFF\n}\n.ace-jsoneditor .ace_text-layer {\ncolor: gray\n}\n.ace-jsoneditor .ace_variable {\ncolor: #1a1a1a\n}\n.ace-jsoneditor .ace_cursor {\nborder-left: 2px solid #000000\n}\n.ace-jsoneditor .ace_overwrite-cursors .ace_cursor {\nborder-left: 0px;\nborder-bottom: 1px solid #000000\n}\n.ace-jsoneditor .ace_marker-layer .ace_selection {\nbackground: lightgray\n}\n.ace-jsoneditor.ace_multiselect .ace_selection.ace_start {\nbox-shadow: 0 0 3px 0px #FFFFFF;\nborder-radius: 2px\n}\n.ace-jsoneditor .ace_marker-layer .ace_step {\nbackground: rgb(255, 255, 0)\n}\n.ace-jsoneditor .ace_marker-layer .ace_bracket {\nmargin: -1px 0 0 -1px;\nborder: 1px solid #BFBFBF\n}\n.ace-jsoneditor .ace_marker-layer .ace_active-line {\nbackground: #FFFBD1\n}\n.ace-jsoneditor .ace_gutter-active-line {\nbackground-color : #dcdcdc\n}\n.ace-jsoneditor .ace_marker-layer .ace_selected-word {\nborder: 1px solid lightgray\n}\n.ace-jsoneditor .ace_invisible {\ncolor: #BFBFBF\n}\n.ace-jsoneditor .ace_keyword,\n.ace-jsoneditor .ace_meta,\n.ace-jsoneditor .ace_support.ace_constant.ace_property-value {\ncolor: #AF956F\n}\n.ace-jsoneditor .ace_keyword.ace_operator {\ncolor: #484848\n}\n.ace-jsoneditor .ace_keyword.ace_other.ace_unit {\ncolor: #96DC5F\n}\n.ace-jsoneditor .ace_constant.ace_language {\ncolor: darkorange\n}\n.ace-jsoneditor .ace_constant.ace_numeric {\ncolor: red\n}\n.ace-jsoneditor .ace_constant.ace_character.ace_entity {\ncolor: #BF78CC\n}\n.ace-jsoneditor .ace_invalid {\ncolor: #FFFFFF;\nbackground-color: #FF002A;\n}\n.ace-jsoneditor .ace_fold {\nbackground-color: #AF956F;\nborder-color: #000000\n}\n.ace-jsoneditor .ace_storage,\n.ace-jsoneditor .ace_support.ace_class,\n.ace-jsoneditor .ace_support.ace_function,\n.ace-jsoneditor .ace_support.ace_other,\n.ace-jsoneditor .ace_support.ace_type {\ncolor: #C52727\n}\n.ace-jsoneditor .ace_string {\ncolor: green\n}\n.ace-jsoneditor .ace_comment {\ncolor: #BCC8BA\n}\n.ace-jsoneditor .ace_entity.ace_name.ace_tag,\n.ace-jsoneditor .ace_entity.ace_other.ace_attribute-name {\ncolor: #606060\n}\n.ace-jsoneditor .ace_markup.ace_underline {\ntext-decoration: underline\n}\n.ace-jsoneditor .ace_indent-guide {\nbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y\n}',e("../lib/dom").importCssString(t.cssText,t.cssClass)})},function(e,t,n){t.tryRequireAjv=function(){try{return n(41)}catch(e){}}},function(e,t,n){"use strict";function i(e){if(!(this instanceof i))return new i(e);e=this._opts=b.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:u,warn:u,error:u};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=g(e.format),this._cache=e.cache||new f,this._loadingSchemas={},this._compilations=[],this.RULES=v(),this._getId=function(e){switch(e.schemaId){case"auto":return l;case"id":return s;default:return a}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=m),this._metaOpts=function(e){for(var t=b.copy(e._opts),n=0;n<A.length;n++)delete t[A[n]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var n=e._opts.formats[t];e.addFormat(t,n)}}(this),function(e){var t;if(e._opts.$data&&(t=n(74),e.addMetaSchema(t,t.$id,!0)),!1!==e._opts.meta){var i=n(30);e._opts.$data&&(i=y(i,C)),e.addMetaSchema(i,x,!0),e._refs["http://json-schema.org/schema"]=x}}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(t)if(Array.isArray(t))e.addSchema(t);else for(var n in t)e.addSchema(t[n],n)}(this)}function r(e,t){return t=h.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function o(e,t,n){for(var i in t){var r=t[i];r.meta||n&&!n.test(i)||(e._cache.del(r.cacheKey),delete t[i])}}function s(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function a(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function l(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function c(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function u(){}var d=n(42),h=n(15),f=n(46),p=n(23),m=n(24),g=n(47),v=n(48),y=n(69),b=n(5);(e.exports=i).prototype.validate=function(e,t){var n;if("string"==typeof e){if(!(n=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var i=this._addSchema(e);n=i.validate||this._compile(i)}var r=n(t);return!0!==n.$async&&(this.errors=n.errors),r},i.prototype.compile=function(e,t){var n=this._addSchema(e,void 0,t);return n.validate||this._compile(n)},i.prototype.addSchema=function(e,t,n,i){if(Array.isArray(e)){for(var r=0;r<e.length;r++)this.addSchema(e[r],void 0,n,i);return this}var o=this._getId(e);if(void 0!==o&&"string"!=typeof o)throw new Error("schema id must be string");return c(this,t=h.normalizeId(t||o)),this._schemas[t]=this._addSchema(e,n,i,!0),this},i.prototype.addMetaSchema=function(e,t,n){return this.addSchema(e,t,n,!0),this},i.prototype.validateSchema=function(e,t){var n=e.$schema;if(void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(!(n=n||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(x)?x:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),!(this.errors=null);var i=this.validate(n,e);if(!i&&t){var r="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(r);this.logger.error(r)}return i},i.prototype.getSchema=function(e){var t=r(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var n=h.schema.call(e,{schema:{}},t);if(n){var i=n.schema,r=n.root,o=n.baseId,s=d.call(e,i,r,void 0,o);return e._fragments[t]=new p({ref:t,fragment:!0,schema:i,root:r,baseId:o,validate:s}),s}}(this,e)}},i.prototype.removeSchema=function(e){if(e instanceof RegExp)return o(this,this._schemas,e),o(this,this._refs,e),this;switch(typeof e){case"undefined":return o(this,this._schemas),o(this,this._refs),this._cache.clear(),this;case"string":var t=r(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var n=this._opts.serialize,i=n?n(e):e;this._cache.del(i);var s=this._getId(e);s&&(s=h.normalizeId(s),delete this._schemas[s],delete this._refs[s])}return this},i.prototype.addFormat=function(e,t){return"string"==typeof t&&(t=new RegExp(t)),this._formats[e]=t,this},i.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var n=void 0===(t=t||{}).separator?", ":t.separator,i=void 0===t.dataVar?"data":t.dataVar,r="",o=0;o<e.length;o++){var s=e[o];s&&(r+=i+s.dataPath+" "+s.message+n)}return r.slice(0,-n.length)},i.prototype._addSchema=function(e,t,n,i){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var r=this._opts.serialize,o=r?r(e):e,s=this._cache.get(o);if(s)return s;i=i||!1!==this._opts.addUsedSchema;var a=h.normalizeId(this._getId(e));a&&i&&c(this,a);var l,u=!1!==this._opts.validateSchema&&!t;u&&!(l=a&&a==h.normalizeId(e.$schema))&&this.validateSchema(e,!0);var d=h.ids.call(this,e),f=new p({id:a,schema:e,localRefs:d,cacheKey:o,meta:n});return"#"!=a[0]&&i&&(this._refs[a]=f),this._cache.put(o,f),u&&l&&this.validateSchema(e,!0),f},i.prototype._compile=function(e,t){function n(){var t=e.validate,i=t.apply(this,arguments);return n.errors=t.errors,i}if(e.compiling)return(e.validate=n).schema=e.schema,n.errors=null,n.root=t||n,!0===e.schema.$async&&(n.$async=!0),n;var i,r;e.compiling=!0,e.meta&&(i=this._opts,this._opts=this._metaOpts);try{r=d.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=i)}return e.validate=r,e.refs=r.refs,e.refVal=r.refVal,e.root=r.root,r},i.prototype.compileAsync=n(70);var _=n(71);i.prototype.addKeyword=_.add,i.prototype.getKeyword=_.get,i.prototype.removeKeyword=_.remove,i.prototype.validateKeyword=_.validate;var w=n(17);i.ValidationError=w.Validation,i.MissingRefError=w.MissingRef,i.$dataMetaSchema=y;var x="http://json-schema.org/draft-07/schema",A=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],C=["/properties"]},function(e,t,n){"use strict";function i(e,t,n){var i=o.call(this,e,t,n);return 0<=i?{index:i,compiling:!0}:{index:i=this._compilations.length,compiling:!(this._compilations[i]={schema:e,root:t,baseId:n})}}function r(e,t,n){var i=o.call(this,e,t,n);0<=i&&this._compilations.splice(i,1)}function o(e,t,n){for(var i=0;i<this._compilations.length;i++){var r=this._compilations[i];if(r.schema==e&&r.root==t&&r.baseId==n)return i}return-1}function s(e,t){return"var pattern"+e+" = new RegExp("+h.toQuotedString(t[e])+");"}function a(e){return"var default"+e+" = defaults["+e+"];"}function l(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function c(e){return"var customRule"+e+" = customRules["+e+"];"}function u(e,t){if(!e.length)return"";for(var n="",i=0;i<e.length;i++)n+=t(i,e);return n}var d=n(15),h=n(5),f=n(17),p=n(24),m=n(25),g=h.ucs2length,v=n(16),y=f.Validation;e.exports=function e(t,n,o,b){function _(t,i,r,o){var p=!i||i&&i.schema==t;if(i.schema!=n.schema)return e.call(S,t,i,r,o);var b,_=!0===t.$async,x=m({isTop:!0,schema:t,isRoot:p,baseId:o,root:i,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:f.MissingRef,RULES:R,validate:m,util:h,resolve:d,resolveRef:w,usePattern:C,useDefault:k,useCustomRule:M,opts:L,formats:P,logger:S.logger,self:S});x=u(E,l)+u(T,s)+u(j,a)+u(F,c)+x,L.processCode&&(x=L.processCode(x));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",x)(S,R,P,n,E,j,F,v,g,y),E[0]=b}catch(t){throw S.logger.error("Error compiling schema, function code:",x),t}return b.schema=t,b.errors=null,b.refs=D,b.refVal=E,b.root=p?b:i,_&&(b.$async=!0),!0===L.sourceCode&&(b.source={code:x,patterns:T,defaults:j}),b}function w(t,i,r){i=d.url(t,i);var s,a,l=D[i];if(void 0!==l)return A(s=E[l],a="refVal["+l+"]");if(!r&&n.refs){var c=n.refs[i];if(void 0!==c)return A(s=n.refVal[c],a=x(i,s))}a=x(i);var u=d.call(S,_,n,i);if(void 0===u){var h=o&&o[i];h&&(u=d.inlineRef(h,L.inlineRefs)?h:e.call(S,h,n,o,t))}if(void 0!==u)return function(e,t){var n=D[e];E[n]=t}(i,u),A(u,a);!function(e){delete D[e]}(i)}function x(e,t){var n=E.length;return E[n]=t,"refVal"+(D[e]=n)}function A(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function C(e){var t=I[e];return void 0===t&&(t=I[e]=T.length,T[t]=e),"pattern"+t}function k(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return h.toQuotedString(e);case"object":if(null===e)return"null";var t=p(e),n=O[t];return void 0===n&&(n=O[t]=j.length,j[n]=e),"default"+n}}function M(e,t,n,i){if(!1!==S._opts.validateSchema){var r=e.definition.dependencies;if(r&&!r.every(function(e){return Object.prototype.hasOwnProperty.call(n,e)}))throw new Error("parent schema must have all required keywords: "+r.join(","));var o=e.definition.validateSchema;if(o&&!o(t)){var s="keyword schema is invalid: "+S.errorsText(o.errors);if("log"!=S._opts.validateSchema)throw new Error(s);S.logger.error(s)}}var a,l=e.definition.compile,c=e.definition.inline,u=e.definition.macro;if(l)a=l.call(S,t,n,i);else if(u)a=u.call(S,t,n,i),!1!==L.validateSchema&&S.validateSchema(a,!0);else if(c)a=c.call(S,i,e.keyword,t,n);else if(!(a=e.definition.validate))return;if(void 0===a)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var d=F.length;return F[d]=a,{code:"customRule"+d,validate:a}}var S=this,L=this._opts,E=[void 0],D={},T=[],I={},j=[],O={},F=[];n=n||{schema:t,refVal:E,refs:D};var N=i.call(this,t,n,b),Y=this._compilations[N.index];if(N.compiling)return Y.callValidate=function e(){var t=Y.validate,n=t.apply(this,arguments);return e.errors=t.errors,n};var P=this._formats,R=this.RULES;try{var B=_(t,n,o,b);Y.validate=B;var H=Y.callValidate;return H&&(H.schema=B.schema,H.errors=null,H.refs=B.refs,H.refVal=B.refVal,H.root=B.root,H.$async=B.$async,L.sourceCode&&(H.source=B.source)),B}finally{r.call(this,t,n,b)}}},function(e,t,n){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1<t.length){t[0]=t[0].slice(0,-1);for(var i=t.length-1,r=1;r<i;++r)t[r]=t[r].slice(1,-1);return t[i]=t[i].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function i(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function r(e){return e.toUpperCase()}function o(e){var i="[A-Za-z]",r="[0-9]",o=t(r,"[A-Fa-f]"),s=n(n("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+n("%[89A-Fa-f]"+o+"%"+o+o)+"|"+n("%"+o+o)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",a),c=e?"[\\uE000-\\uF8FF]":"[]",u=t(i,r,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),d=n(i+t(i,r,"[\\+\\-\\.]")+"*"),h=n(n(s+"|"+t(u,a,"[\\:]"))+"*"),f=(n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("[1-9]"+r)+"|"+r),n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("0?[1-9]"+r)+"|0?0?"+r)),p=n(f+"\\."+f+"\\."+f+"\\."+f),m=n(o+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+p),v=n(n(m+"\\:")+"{6}"+g),y=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),w=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),x=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),A=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),C=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),k=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),M=n([v,y,b,_,w,x,A,C,k].join("|")),S=n(n(u+"|"+s)+"+"),L=(n(M+"\\%25"+S),n(M+n("\\%25|\\%(?!"+o+"{2})")+S)),E=n("[vV]"+o+"+\\."+t(u,a,"[\\:]")+"+"),D=n("\\["+n(L+"|"+M+"|"+E)+"\\]"),T=n(n(s+"|"+t(u,a))+"*"),I=n(D+"|"+p+"(?!"+T+")|"+T),j=n(r+"*"),O=n(n(h+"@")+"?"+I+n("\\:"+j)+"?"),F=n(s+"|"+t(u,a,"[\\:\\@]")),N=n(F+"*"),Y=n(F+"+"),P=n(n(s+"|"+t(u,a,"[\\@]"))+"+"),R=n(n("\\/"+N)+"*"),B=n("\\/"+n(Y+R)+"?"),H=n(P+R),z=n(Y+R),$="(?!"+F+")",W=(n(R+"|"+B+"|"+H+"|"+z+"|"+$),n(n(F+"|"+t("[\\/\\?]",c))+"*")),G=n(n(F+"|[\\/\\?]")+"*"),V=n(n("\\/\\/"+O+R)+"|"+B+"|"+z+"|"+$);return n(n(d+"\\:"+V+n("\\?"+W)+"?"+n("\\#"+G)+"?")+"|"+n(n(n("\\/\\/"+O+R)+"|"+B+"|"+H+"|"+$)+n("\\?"+W)+"?"+n("\\#"+G)+"?")),n(d+"\\:"+V+n("\\?"+W)+"?"),n(n("\\/\\/("+n("("+h+")@")+"?("+I+")"+n("\\:("+j+")")+"?)")+"?("+R+"|"+B+"|"+z+"|"+$+")"),n("\\?("+W+")"),n("\\#("+G+")"),n(n("\\/\\/("+n("("+h+")@")+"?("+I+")"+n("\\:("+j+")")+"?)")+"?("+R+"|"+B+"|"+H+"|"+$+")"),n("\\?("+W+")"),n("\\#("+G+")"),n(n("\\/\\/("+n("("+h+")@")+"?("+I+")"+n("\\:("+j+")")+"?)")+"?("+R+"|"+B+"|"+z+"|"+$+")"),n("\\?("+W+")"),n("\\#("+G+")"),n("("+h+")@"),n("\\:("+j+")"),{NOT_SCHEME:new RegExp(t("[^]",i,r,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,a,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,a),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,l),"g"),PCT_ENCODED:new RegExp(s,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+M+")"+n(n("\\%25|\\%(?!"+o+"{2})")+"("+S+")")+"?\\]?$")}}function s(e){throw new RangeError(L[e])}function a(e,t){var n=e.split("@"),i="";1<n.length&&(i=n[0]+"@",e=n[1]);var r=function(e,t){for(var n=[],i=e.length;i--;)n[i]=t(e[i]);return n}((e=e.replace(S,".")).split("."),t).join(".");return i+r}function l(e){for(var t=[],n=0,i=e.length;n<i;){var r=e.charCodeAt(n++);if(55296<=r&&r<=56319&&n<i){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}function c(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function u(e){for(var t="",n=0,i=e.length;n<i;){var r=parseInt(e.substr(n+1,2),16);if(r<128)t+=String.fromCharCode(r),n+=3;else if(194<=r&&r<224){if(6<=i-n){var o=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&r)<<6|63&o)}else t+=e.substr(n,6);n+=6}else if(224<=r){if(9<=i-n){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&r)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function d(e,t){function n(e){var n=u(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,c).replace(t.PCT_ENCODED,r)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,c).replace(t.PCT_ENCODED,r)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,c).replace(t.PCT_ENCODED,r)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,c).replace(t.PCT_ENCODED,r)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,c).replace(t.PCT_ENCODED,r)),e}function h(e){return e.replace(/^0*(.*)/,"$1")||"0"}function f(e,t){var n=e.match(t.IPV4ADDRESS)||[],i=A(n,2)[1];return i?i.split(".").map(h).join("."):e}function p(e,t){var n=e.match(t.IPV6ADDRESS)||[],i=A(n,3),r=i[1],o=i[2];if(r){for(var s=r.toLowerCase().split("::").reverse(),a=A(s,2),l=a[0],c=a[1],u=c?c.split(":").map(h):[],d=l.split(":").map(h),p=t.IPV4ADDRESS.test(d[d.length-1]),m=p?7:8,g=d.length-m,v=Array(m),y=0;y<m;++y)v[y]=u[y]||d[g+y]||"";p&&(v[m-1]=f(v[m-1],t));var b=v.reduce(function(e,t,n){if(!t||"0"===t){var i=e[e.length-1];i&&i.index+i.length===n?i.length++:e.push({index:n,length:1})}return e},[]).sort(function(e,t){return t.length-e.length})[0],_=void 0;if(b&&1<b.length){var w=v.slice(0,b.index),x=v.slice(b.index+b.length);_=w.join(":")+"::"+x.join(":")}else _=v.join(":");return o&&(_+="%"+o),_}return e}function m(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n={},i=!1!==t.iri?x:w;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var r=e.match(P);if(r){R?(n.scheme=r[1],n.userinfo=r[3],n.host=r[4],n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=r[7],n.fragment=r[8],isNaN(n.port)&&(n.port=r[5])):(n.scheme=r[1]||void 0,n.userinfo=-1!==e.indexOf("@")?r[3]:void 0,n.host=-1!==e.indexOf("//")?r[4]:void 0,n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=-1!==e.indexOf("?")?r[7]:void 0,n.fragment=-1!==e.indexOf("#")?r[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?r[4]:void 0)),n.host&&(n.host=p(f(n.host,i),i)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var o=Y[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)d(n,i);else{if(n.host&&(t.domainHost||o&&o.domainHost))try{n.host=N.toASCII(n.host.replace(i.PCT_ENCODED,u).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}d(n,w)}o&&o.parse&&o.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function g(e){for(var t=[];e.length;)if(e.match(B))e=e.replace(B,"");else if(e.match(H))e=e.replace(H,"/");else if(e.match(z))e=e.replace(z,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match($);if(!n)throw new Error("Unexpected dot segment condition");var i=n[0];e=e.slice(i.length),t.push(i)}return t.join("")}function v(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?x:w,i=[],r=Y[(t.scheme||e.scheme||"").toLowerCase()];if(r&&r.serialize&&r.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||r&&r.domainHost)try{e.host=t.iri?N.toUnicode(e.host):N.toASCII(e.host.replace(n.PCT_ENCODED,u).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}d(e,n),"suffix"!==t.reference&&e.scheme&&(i.push(e.scheme),i.push(":"));var o=function(e,t){var n=!1!==t.iri?x:w,i=[];return void 0!==e.userinfo&&(i.push(e.userinfo),i.push("@")),void 0!==e.host&&i.push(p(f(String(e.host),n),n).replace(n.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})),"number"==typeof e.port&&(i.push(":"),i.push(e.port.toString(10))),i.length?i.join(""):void 0}(e,t);if(void 0!==o&&("suffix"!==t.reference&&i.push("//"),i.push(o),e.path&&"/"!==e.path.charAt(0)&&i.push("/")),void 0!==e.path){var s=e.path;t.absolutePath||r&&r.absolutePath||(s=g(s)),void 0===o&&(s=s.replace(/^\/\//,"/%2F")),i.push(s)}return void 0!==e.query&&(i.push("?"),i.push(e.query)),void 0!==e.fragment&&(i.push("#"),i.push(e.fragment)),i.join("")}function y(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i={};return arguments[3]||(e=m(v(e,n),n),t=m(v(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=g(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=g(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=g(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=g(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function b(e,t){return e&&e.toString().replace(t&&t.iri?x.PCT_ENCODED:w.PCT_ENCODED,u)}function _(e){var t=u(e);return t.match(K)?t:e}var w=o(!1),x=o(!0),A=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},C=2147483647,k=/^xn--/,M=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=Math.floor,D=String.fromCharCode,T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:36},I=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},j=function(e,t,n){var i=0;for(e=n?E(e/700):e>>1,e+=E(e/t);455<e;i+=36)e=E(e/35);return E(i+36*e/(e+38))},O=function(e){var t=[],n=e.length,i=0,r=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l<a;++l)128<=e.charCodeAt(l)&&s("not-basic"),t.push(e.charCodeAt(l));for(var c=0<a?a+1:0;c<n;){for(var u=i,d=1,h=36;;h+=36){n<=c&&s("invalid-input");var f=T(e.charCodeAt(c++));(36<=f||f>E((C-i)/d))&&s("overflow"),i+=f*d;var p=h<=o?1:o+26<=h?26:h-o;if(f<p)break;var m=36-p;d>E(C/m)&&s("overflow"),d*=m}var g=t.length+1;o=j(i-u,g,0==u),E(i/g)>C-r&&s("overflow"),r+=E(i/g),i%=g,t.splice(i++,0,r)}return String.fromCodePoint.apply(String,t)},F=function(e){var t=[],n=(e=l(e)).length,i=128,r=0,o=72,a=!0,c=!1,u=void 0;try{for(var d,h=e[Symbol.iterator]();!(a=(d=h.next()).done);a=!0){var f=d.value;f<128&&t.push(D(f))}}catch(e){c=!0,u=e}finally{try{!a&&h.return&&h.return()}finally{if(c)throw u}}var p=t.length,m=p;for(p&&t.push("-");m<n;){var g=C,v=!0,y=!1,b=void 0;try{for(var _,w=e[Symbol.iterator]();!(v=(_=w.next()).done);v=!0){var x=_.value;i<=x&&x<g&&(g=x)}}catch(e){y=!0,b=e}finally{try{!v&&w.return&&w.return()}finally{if(y)throw b}}var A=m+1;g-i>E((C-r)/A)&&s("overflow"),r+=(g-i)*A,i=g;var k=!0,M=!1,S=void 0;try{for(var L,T=e[Symbol.iterator]();!(k=(L=T.next()).done);k=!0){var O=L.value;if(O<i&&++r>C&&s("overflow"),O==i){for(var F=r,N=36;;N+=36){var Y=N<=o?1:o+26<=N?26:N-o;if(F<Y)break;var P=F-Y,R=36-Y;t.push(D(I(Y+P%R,0))),F=E(P/R)}t.push(D(I(F,0))),o=j(r,A,m==p),r=0,++m}}}catch(e){M=!0,S=e}finally{try{!k&&T.return&&T.return()}finally{if(M)throw S}}++r,++i}return t.join("")},N={version:"2.1.0",ucs2:{decode:l,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))}},decode:O,encode:F,toASCII:function(e){return a(e,function(e){return M.test(e)?"xn--"+F(e):e})},toUnicode:function(e){return a(e,function(e){return k.test(e)?O(e.slice(4).toLowerCase()):e})}},Y={},P=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,R=void 0==="".match(/(){0}/)[1],B=/^\.\.?\//,H=/^\/\.(\/|$)/,z=/^\/\.\.(\/|$)/,$=/^\/?(?:.|\n)*?(?=\/|$)/,W={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},G={scheme:"https",domainHost:W.domainHost,parse:W.parse,serialize:W.serialize},V={},U="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Z="[0-9A-Fa-f]",X=n(n("%[EFef]"+Z+"%"+Z+Z+"%"+Z+Z)+"|"+n("%[89A-Fa-f]"+Z+"%"+Z+Z)+"|"+n("%"+Z+Z)),Q=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),K=new RegExp(U,"g"),J=new RegExp(X,"g"),q=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Q),"g"),ee=new RegExp(t("[^]",U,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),te=ee,ne={scheme:"mailto",parse:function(e,t){var n=e,i=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var r=!1,o={},s=n.query.split("&"),a=0,l=s.length;a<l;++a){var c=s[a].split("=");switch(c[0]){case"to":for(var u=c[1].split(","),d=0,h=u.length;d<h;++d)i.push(u[d]);break;case"subject":n.subject=b(c[1],t);break;case"body":n.body=b(c[1],t);break;default:r=!0,o[b(c[0],t)]=b(c[1],t)}}r&&(n.headers=o)}n.query=void 0;for(var f=0,p=i.length;f<p;++f){var m=i[f].split("@");if(m[0]=b(m[0]),t.unicodeSupport)m[1]=b(m[1],t).toLowerCase();else try{m[1]=N.toASCII(b(m[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}i[f]=m.join("@")}return n},serialize:function(e,t){var n=e,i=function(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}(e.to);if(i){for(var o=0,s=i.length;o<s;++o){var a=String(i[o]),l=a.lastIndexOf("@"),u=a.slice(0,l).replace(J,_).replace(J,r).replace(q,c),d=a.slice(l+1);try{d=t.iri?N.toUnicode(d):N.toASCII(b(d,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}i[o]=u+"@"+d}n.path=i.join(",")}var h=e.headers=e.headers||{};e.subject&&(h.subject=e.subject),e.body&&(h.body=e.body);var f=[];for(var p in h)h[p]!==V[p]&&f.push(p.replace(J,_).replace(J,r).replace(ee,c)+"="+h[p].replace(J,_).replace(J,r).replace(te,c));return f.length&&(n.query=f.join("&")),n}},ie=/^([^\:]+)\:(.*)/,re={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ie),i=e;if(n){var r=t.scheme||i.scheme||"urn",o=n[1].toLowerCase(),s=n[2],a=r+":"+(t.nid||o),l=Y[a];i.nid=o,i.nss=s,i.path=void 0,l&&(i=l.parse(i,t))}else i.error=i.error||"URN can not be parsed.";return i},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",i=e.nid,r=n+":"+(t.nid||i),o=Y[r];o&&(e=o.serialize(e,t));var s=e,a=e.nss;return s.path=(i||t.nid)+":"+a,s}},oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,se={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(oe)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};Y[W.scheme]=W,Y[G.scheme]=G,Y[ne.scheme]=ne,Y[re.scheme]=re,Y[se.scheme]=se,e.SCHEMES=Y,e.pctEncChar=c,e.pctDecChars=u,e.parse=m,e.removeDotSegments=g,e.serialize=v,e.resolveComponents=y,e.resolve=function(e,t,n){var i=function(e,t){var n=e;if(t)for(var i in t)n[i]=t[i];return n}({scheme:"null"},n);return v(y(m(e,i),m(t,i),i,!0),i)},e.normalize=function(e,t){return"string"==typeof e?e=v(m(e,t),t):"object"===i(e)&&(e=m(v(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=v(m(e,n),n):"object"===i(e)&&(e=v(e,n)),"string"==typeof t?t=v(m(t,n),n):"object"===i(t)&&(t=v(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?x.ESCAPE:w.ESCAPE,c)},e.unescapeComponent=b,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";e.exports=function(e){for(var t,n=0,i=e.length,r=0;r<i;)n++,55296<=(t=e.charCodeAt(r++))&&t<=56319&&r<i&&56320==(64512&(t=e.charCodeAt(r)))&&r++;return n}},function(e,t,n){"use strict";var i=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),function e(t,n,r,o,s,a,l,c,u,d){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var h in n(o,s,a,l,c,u,d),o){var f=o[h];if(Array.isArray(f)){if(h in i.arrayKeywords)for(var p=0;p<f.length;p++)e(t,n,r,f[p],s+"/"+h+"/"+p,a,s,h,o,p)}else if(h in i.propsKeywords){if(f&&"object"==typeof f)for(var m in f)e(t,n,r,f[m],s+"/"+h+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,h,o,m)}else(h in i.keywords||t.allKeys&&!(h in i.skipKeywords))&&e(t,n,r,f,s+"/"+h,a,s,h,o)}r(o,s,a,l,c,u,d)}}(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};i.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},i.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},i.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},i.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},function(e,t,n){"use strict";var i=e.exports=function(){this._cache={}};i.prototype.put=function(e,t){this._cache[e]=t},i.prototype.get=function(e){return this._cache[e]},i.prototype.del=function(e){delete this._cache[e]},i.prototype.clear=function(){this._cache={}}},function(e,t,n){"use strict";function i(e){return e="full"==e?"full":"fast",a.copy(i[e])}function r(e){var t=e.match(l);if(!t)return!1;var n=+t[1],i=+t[2],r=+t[3];return 1<=i&&i<=12&&1<=r&&r<=(2!=i||n%4!=0||n%100==0&&n%400!=0?c[i]:29)}function o(e,t){var n=e.match(u);if(!n)return!1;var i=n[1],r=n[2],o=n[3],s=n[5];return(i<=23&&r<=59&&o<=59||23==i&&59==r&&60==o)&&(!t||s)}function s(e){if(w.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}var a=n(5),l=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,c=[0,31,28,31,30,31,30,31,31,30,31,30,31],u=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,d=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*$/i,h=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,f=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#.\/;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,p=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,m=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,g=/^(?:\/(?:[^~\/]|~0|~1)*)*$/,v=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,y=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~\/]|~0|~1)*)*)$/;(e.exports=i).fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":f,url:p,email:/^[a-z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:d,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:s,uuid:m,"json-pointer":g,"json-pointer-uri-fragment":v,"relative-json-pointer":y},i.full={date:r,time:o,"date-time":function(e){var t=e.split(b);return 2==t.length&&r(t[0])&&o(t[1],!0)},uri:function(e){return _.test(e)&&h.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,"uri-template":f,url:p,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:function(e){return e.length<=255&&d.test(e)},ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:s,uuid:m,"json-pointer":g,"json-pointer-uri-fragment":v,"relative-json-pointer":y};var b=/t|\s/i,_=/\/|:/,w=/[^\\]\\Z/},function(e,t,n){"use strict";var i=n(49),r=n(5).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=r(t),e.types=r(["number","integer","string","array","object","boolean","null"]),e.forEach(function(n){n.rules=n.rules.map(function(n){var r;if("object"==typeof n){var o=Object.keys(n)[0];r=n[o],n=o,r.forEach(function(n){t.push(n),e.all[n]=!0})}return t.push(n),e.all[n]={keyword:n,code:i[n],implements:r}}),e.all.$comment={keyword:"$comment",code:i.$comment},n.type&&(e.types[n.type]=n)}),e.keywords=r(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},function(e,t,n){"use strict";e.exports={$ref:n(50),allOf:n(51),anyOf:n(52),$comment:n(53),const:n(54),contains:n(55),dependencies:n(56),enum:n(57),format:n(58),if:n(59),items:n(60),maximum:n(26),minimum:n(26),maxItems:n(27),minItems:n(27),maxLength:n(28),minLength:n(28),maxProperties:n(29),minProperties:n(29),multipleOf:n(61),not:n(62),oneOf:n(63),pattern:n(64),properties:n(65),propertyNames:n(66),required:n(67),uniqueItems:n(68),validate:n(25)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r,o=" ",s=e.level,a=e.dataLevel,l=e.schema[t],c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(a||""),h="valid"+s;if("#"==l||"#/"==l)r=e.isRoot?(i=e.async,"validate"):(i=!0===e.root.schema.$async,"root.refVal[0]");else{var f=e.resolveRef(e.baseId,l,e.isRoot);if(void 0===f){var p=e.MissingRefError.message(e.baseId,l);if("fail"==e.opts.missingRefs){e.logger.error(p),(y=y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(l)+"' } ",!1!==e.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(l)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(l)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var m=o;o=y.pop(),!e.compositeRule&&u?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,l,p);e.logger.warn(p),u&&(o+=" if (true) { ")}}else if(f.inline){var g=e.util.copy(e);g.level++;var v="valid"+g.level;g.schema=f.schema,g.schemaPath="",g.errSchemaPath=l,o+=" "+e.validate(g).replace(/validate\.schema/g,f.code)+" ",u&&(o+=" if ("+v+") { ")}else i=!0===f.$async||e.async&&!1!==f.$async,r=f.code}if(r){var y;(y=y||[]).push(o),o="",e.opts.passContext?o+=" "+r+".call(this, ":o+=" "+r+"( ",o+=" "+d+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var b=o+=" , "+(a?"data"+(a-1||""):"parentData")+" , "+(a?e.dataPathArr[a]:"parentDataProperty")+", rootData) ";if(o=y.pop(),i){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(o+=" var "+h+"; "),o+=" try { await "+b+"; ",u&&(o+=" "+h+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(o+=" "+h+" = false; "),o+=" } ",u&&(o+=" if ("+h+") { ")}else o+=" if (!"+b+") { if (vErrors === null) vErrors = "+r+".errors; else vErrors = vErrors.concat("+r+".errors); errors = vErrors.length; } ",u&&(o+=" else { ")}return o}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.schema[t],o=e.schemaPath+e.util.getProperty(t),s=e.errSchemaPath+"/"+t,a=!e.opts.allErrors,l=e.util.copy(e),c="";l.level++;var u="valid"+l.level,d=l.baseId,h=!0,f=r;if(f)for(var p,m=-1,g=f.length-1;m<g;)p=f[m+=1],(e.opts.strictKeywords?"object"==typeof p&&0<Object.keys(p).length:e.util.schemaHasRules(p,e.RULES.all))&&(h=!1,l.schema=p,l.schemaPath=o+"["+m+"]",l.errSchemaPath=s+"/"+m,i+=" "+e.validate(l)+" ",l.baseId=d,a&&(i+=" if ("+u+") { ",c+="}"));return a&&(i+=h?" if (true) { ":" "+c.slice(0,-1)+" "),e.util.cleanUpCode(i)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m="valid"+f.level;if(s.every(function(t){return e.opts.strictKeywords?"object"==typeof t&&0<Object.keys(t).length:e.util.schemaHasRules(t,e.RULES.all)})){var g=f.baseId;i+=" var "+h+" = errors; var "+d+" = false; ";var v=e.compositeRule;e.compositeRule=f.compositeRule=!0;var y=s;if(y)for(var b,_=-1,w=y.length-1;_<w;)b=y[_+=1],f.schema=b,f.schemaPath=a+"["+_+"]",f.errSchemaPath=l+"/"+_,i+=" "+e.validate(f)+" ",f.baseId=g,i+=" "+d+" = "+d+" || "+m+"; if (!"+d+") { ",p+="}";e.compositeRule=f.compositeRule=v,i+=" "+p+" if (!"+d+") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; "),i+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(i+=" } "),i=e.util.cleanUpCode(i)}else c&&(i+=" if (true) { ");return i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.schema[t],o=e.errSchemaPath+"/"+t,s=(e.opts.allErrors,e.util.toQuotedString(r));return!0===e.opts.$comment?i+=" console.log("+s+");":"function"==typeof e.opts.$comment&&(i+=" self._opts.$comment("+s+", "+e.util.toQuotedString(o)+", validate.root.schema);"),i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.$data&&s&&s.$data;h&&(i+=" var schema"+r+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; "),h||(i+=" var schema"+r+" = validate.schema"+a+";"),i+="var "+d+" = equal("+u+", schema"+r+"); if (!"+d+") { ";var f=f||[];f.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be equal to constant' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var p=i;return i=f.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+p+"]); ":i+=" validate.errors = ["+p+"]; return false; ":i+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",c&&(i+=" else { "),i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e);f.level++;var p="valid"+f.level,m="i"+r,g=f.dataLevel=e.dataLevel+1,v="data"+g,y=e.baseId,b=e.opts.strictKeywords?"object"==typeof s&&0<Object.keys(s).length:e.util.schemaHasRules(s,e.RULES.all);if(i+="var "+h+" = errors;var "+d+";",b){var _=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=s,f.schemaPath=a,f.errSchemaPath=l,i+=" var "+p+" = false; for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var w=u+"["+m+"]";f.dataPathArr[g]=m;var x=e.validate(f);f.baseId=y,e.util.varOccurences(x,v)<2?i+=" "+e.util.varReplace(x,v,w)+" ":i+=" var "+v+" = "+w+"; "+x+" ",i+=" if ("+p+") break; } ",e.compositeRule=f.compositeRule=_,i+=" if (!"+p+") {"}else i+=" if ("+u+".length == 0) {";var A=A||[];A.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should contain a valid item' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var C=i;return i=A.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+C+"]); ":i+=" validate.errors = ["+C+"]; return false; ":i+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { ",b&&(i+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),e.opts.allErrors&&(i+=" } "),e.util.cleanUpCode(i)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=e.util.copy(e),f="";h.level++;var p="valid"+h.level,m={},g={},v=e.opts.ownProperties;for(w in s){var y=s[w],b=Array.isArray(y)?g:m;b[w]=y}i+="var "+d+" = errors;";var _=e.errorPath;for(var w in i+="var missing"+r+";",g)if((b=g[w]).length){if(i+=" if ( "+u+e.util.getProperty(w)+" !== undefined ",v&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(w)+"') "),c){i+=" && ( ";var x=b;if(x)for(var A=-1,C=x.length-1;A<C;)D=x[A+=1],A&&(i+=" || "),i+=" ( ( "+(O=u+(j=e.util.getProperty(D)))+" === undefined ",v&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(D)+"') "),i+=") && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?D:j)+") ) ";i+=")) { ";var k="missing"+r,M="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,k,!0):_+" + "+k);var S=S||[];S.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+M+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should have ",1==b.length?i+="property "+e.util.escapeQuotes(b[0]):i+="properties "+e.util.escapeQuotes(b.join(", ")),i+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var L=i;i=S.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+L+"]); ":i+=" validate.errors = ["+L+"]; return false; ":i+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{i+=" ) { ";var E=b;if(E)for(var D,T=-1,I=E.length-1;T<I;){D=E[T+=1];var j=e.util.getProperty(D),O=(M=e.util.escapeQuotes(D),u+j);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,D,e.opts.jsonPointers)),i+=" if ( "+O+" === undefined ",v&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(D)+"') "),i+=") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+M+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should have ",1==b.length?i+="property "+e.util.escapeQuotes(b[0]):i+="properties "+e.util.escapeQuotes(b.join(", ")),i+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}i+=" } ",c&&(f+="}",i+=" else { ")}e.errorPath=_;var F=h.baseId;for(var w in m)y=m[w],(e.opts.strictKeywords?"object"==typeof y&&0<Object.keys(y).length:e.util.schemaHasRules(y,e.RULES.all))&&(i+=" "+p+" = true; if ( "+u+e.util.getProperty(w)+" !== undefined ",v&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(w)+"') "),i+=") { ",h.schema=y,h.schemaPath=a+e.util.getProperty(w),h.errSchemaPath=l+"/"+e.util.escapeFragment(w),i+=" "+e.validate(h)+" ",h.baseId=F,i+=" } ",c&&(i+=" if ("+p+") { ",f+="}"));return c&&(i+=" "+f+" if ("+d+" == errors) {"),e.util.cleanUpCode(i)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.$data&&s&&s.$data;h&&(i+=" var schema"+r+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ");var f="i"+r,p="schema"+r;h||(i+=" var "+p+" = validate.schema"+a+";"),i+="var "+d+";",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=d+" = false;for (var "+f+"=0; "+f+"<"+p+".length; "+f+"++) if (equal("+u+", "+p+"["+f+"])) { "+d+" = true; break; }",h&&(i+=" } "),i+=" if (!"+d+") { ";var m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",c&&(i+=" else { "),i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||"");if(!1===e.opts.format)return c&&(i+=" if (true) { "),i;var d,h=e.opts.$data&&s&&s.$data;d=h?(i+=" var schema"+r+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ","schema"+r):s;var f=e.opts.unknownFormats,p=Array.isArray(f);if(h)i+=" var "+(m="format"+r)+" = formats["+d+"]; var "+(g="isObject"+r)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(v="formatType"+r)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(i+=" var async"+r+" = "+m+".async; "),i+=" "+m+" = "+m+".validate; } if ( ",h&&(i+=" ("+d+" !== undefined && typeof "+d+" != 'string') || "),i+=" (","ignore"!=f&&(i+=" ("+d+" && !"+m+" ",p&&(i+=" && self._opts.unknownFormats.indexOf("+d+") == -1 "),i+=") || "),i+=" ("+m+" && "+v+" == '"+n+"' && !(typeof "+m+" == 'function' ? ",e.async?i+=" (async"+r+" ? await "+m+"("+u+") : "+m+"("+u+")) ":i+=" "+m+"("+u+") ",i+=" : "+m+".test("+u+"))))) {";else{var m;if(!(m=e.formats[s])){if("ignore"==f)return e.logger.warn('unknown format "'+s+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(i+=" if (true) { "),i;if(p&&0<=f.indexOf(s))return c&&(i+=" if (true) { "),i;throw new Error('unknown format "'+s+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,v=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var y=!0===m.async;m=m.validate}if(v!=n)return c&&(i+=" if (true) { "),i;if(y){if(!e.async)throw new Error("async format in sync schema");i+=" if (!(await "+(b="formats"+e.util.getProperty(s)+".validate")+"("+u+"))) { "}else{i+=" if (! ";var b="formats"+e.util.getProperty(s);g&&(b+=".validate"),i+="function"==typeof m?" "+b+"("+u+") ":" "+b+".test("+u+") ",i+=") { "}}var _=_||[];_.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",i+=h?""+d:""+e.util.toQuotedString(s),i+=" } ",!1!==e.opts.messages&&(i+=" , message: 'should match format \"",i+=h?"' + "+d+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+a:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var w=i;return i=_.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+w+"]); ":i+=" validate.errors = ["+w+"]; return false; ":i+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e);f.level++;var p="valid"+f.level,m=e.schema.then,g=e.schema.else,v=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&0<Object.keys(m).length:e.util.schemaHasRules(m,e.RULES.all)),y=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&0<Object.keys(g).length:e.util.schemaHasRules(g,e.RULES.all)),b=f.baseId;if(v||y){var _;f.createErrors=!1,f.schema=s,f.schemaPath=a,f.errSchemaPath=l,i+=" var "+h+" = errors; var "+d+" = true; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=!0,i+=" "+e.validate(f)+" ",f.baseId=b,f.createErrors=!0,i+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=w,v?(i+=" if ("+p+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",i+=" "+e.validate(f)+" ",f.baseId=b,i+=" "+d+" = "+p+"; ",v&&y?i+=" var "+(_="ifClause"+r)+" = 'then'; ":_="'then'",i+=" } ",y&&(i+=" else { ")):i+=" if (!"+p+") { ",y&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",i+=" "+e.validate(f)+" ",f.baseId=b,i+=" "+d+" = "+p+"; ",v&&y?i+=" var "+(_="ifClause"+r)+" = 'else'; ":_="'else'",i+=" } "),i+=" if (!"+d+") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+_+" } ",!1!==e.opts.messages&&(i+=" , message: 'should match \"' + "+_+" + '\" schema' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; "),i+=" } ",c&&(i+=" else { "),i=e.util.cleanUpCode(i)}else c&&(i+=" if (true) { ");return i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m="valid"+f.level,g="i"+r,v=f.dataLevel=e.dataLevel+1,y="data"+v,b=e.baseId;if(i+="var "+h+" = errors;var "+d+";",Array.isArray(s)){var _=e.schema.additionalItems;if(!1===_){i+=" "+d+" = "+u+".length <= "+s.length+"; ";var w=l;l=e.errSchemaPath+"/additionalItems",i+=" if (!"+d+") { ";var x=x||[];x.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+s.length+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have more than "+s.length+" items' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var A=i;i=x.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+A+"]); ":i+=" validate.errors = ["+A+"]; return false; ":i+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l=w,c&&(p+="}",i+=" else { ")}var C=s;if(C)for(var k,M=-1,S=C.length-1;M<S;)if(k=C[M+=1],e.opts.strictKeywords?"object"==typeof k&&0<Object.keys(k).length:e.util.schemaHasRules(k,e.RULES.all)){i+=" "+m+" = true; if ("+u+".length > "+M+") { ";var L=u+"["+M+"]";f.schema=k,f.schemaPath=a+"["+M+"]",f.errSchemaPath=l+"/"+M,f.errorPath=e.util.getPathExpr(e.errorPath,M,e.opts.jsonPointers,!0),f.dataPathArr[v]=M;var E=e.validate(f);f.baseId=b,e.util.varOccurences(E,y)<2?i+=" "+e.util.varReplace(E,y,L)+" ":i+=" var "+y+" = "+L+"; "+E+" ",i+=" } ",c&&(i+=" if ("+m+") { ",p+="}")}"object"==typeof _&&(e.opts.strictKeywords?"object"==typeof _&&0<Object.keys(_).length:e.util.schemaHasRules(_,e.RULES.all))&&(f.schema=_,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",i+=" "+m+" = true; if ("+u+".length > "+s.length+") { for (var "+g+" = "+s.length+"; "+g+" < "+u+".length; "+g+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),L=u+"["+g+"]",f.dataPathArr[v]=g,E=e.validate(f),f.baseId=b,e.util.varOccurences(E,y)<2?i+=" "+e.util.varReplace(E,y,L)+" ":i+=" var "+y+" = "+L+"; "+E+" ",c&&(i+=" if (!"+m+") break; "),i+=" } } ",c&&(i+=" if ("+m+") { ",p+="}"))}else(e.opts.strictKeywords?"object"==typeof s&&0<Object.keys(s).length:e.util.schemaHasRules(s,e.RULES.all))&&(f.schema=s,f.schemaPath=a,f.errSchemaPath=l,i+=" for (var "+g+" = 0; "+g+" < "+u+".length; "+g+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),L=u+"["+g+"]",f.dataPathArr[v]=g,E=e.validate(f),f.baseId=b,e.util.varOccurences(E,y)<2?i+=" "+e.util.varReplace(E,y,L)+" ":i+=" var "+y+" = "+L+"; "+E+" ",c&&(i+=" if (!"+m+") break; "),i+=" }");return c&&(i+=" "+p+" if ("+h+" == errors) {"),e.util.cleanUpCode(i)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h=e.opts.$data&&a&&a.$data;i=h?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a,r+="var division"+o+";if (",h&&(r+=" "+i+" !== undefined && ( typeof "+i+" != 'number' || "),r+=" (division"+o+" = "+d+" / "+i+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+o+" !== parseInt(division"+o+") ",r+=" ) ",h&&(r+=" ) "),r+=" ) { ";var f=f||[];f.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be multiple of ",r+=h?"' + "+i:i+"'"),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var p=r;return r=f.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+p+"]); ":r+=" validate.errors = ["+p+"]; return false; ":r+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=e.util.copy(e);h.level++;var f="valid"+h.level;if(e.opts.strictKeywords?"object"==typeof s&&0<Object.keys(s).length:e.util.schemaHasRules(s,e.RULES.all)){h.schema=s,h.schemaPath=a,h.errSchemaPath=l,i+=" var "+d+" = errors; ";var p,m=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.createErrors=!1,h.opts.allErrors&&(p=h.opts.allErrors,h.opts.allErrors=!1),i+=" "+e.validate(h)+" ",h.createErrors=!0,p&&(h.opts.allErrors=p),e.compositeRule=h.compositeRule=m,i+=" if ("+f+") { ";var g=g||[];g.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be valid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var v=i;i=g.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+v+"]); ":i+=" validate.errors = ["+v+"]; return false; ":i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(i+=" } ")}else i+=" var err = ",!1!==e.createErrors?(i+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be valid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(i+=" if (false) { ");return i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m="valid"+f.level,g=f.baseId,v="prevValid"+r,y="passingSchemas"+r;i+="var "+h+" = errors , "+v+" = false , "+d+" = false , "+y+" = null; ";var b=e.compositeRule;e.compositeRule=f.compositeRule=!0;var _=s;if(_)for(var w,x=-1,A=_.length-1;x<A;)w=_[x+=1],(e.opts.strictKeywords?"object"==typeof w&&0<Object.keys(w).length:e.util.schemaHasRules(w,e.RULES.all))?(f.schema=w,f.schemaPath=a+"["+x+"]",f.errSchemaPath=l+"/"+x,i+=" "+e.validate(f)+" ",f.baseId=g):i+=" var "+m+" = true; ",x&&(i+=" if ("+m+" && "+v+") { "+d+" = false; "+y+" = ["+y+", "+x+"]; } else { ",p+="}"),i+=" if ("+m+") { "+d+" = "+v+" = true; "+y+" = "+x+"; }";return e.compositeRule=f.compositeRule=b,i+=p+"if (!"+d+") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+y+" } ",!1!==e.opts.messages&&(i+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; "),i+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(i+=" } "),i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h=e.opts.$data&&a&&a.$data;i=h?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a,r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'string') || "),r+=" !"+(h?"(new RegExp("+i+"))":e.usePattern(a))+".test("+d+") ) { ";var f=f||[];f.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern: ",r+=h?""+i:""+e.util.toQuotedString(a),r+=" } ",!1!==e.opts.messages&&(r+=" , message: 'should match pattern \"",r+=h?"' + "+i+" + '":""+e.util.escapeQuotes(a),r+="\"' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+e.util.toQuotedString(a),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var p=r;return r=f.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+p+"]); ":r+=" validate.errors = ["+p+"]; return false; ":r+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=e.util.copy(e),f="";h.level++;var p="valid"+h.level,m="key"+r,g="idx"+r,v=h.dataLevel=e.dataLevel+1,y="data"+v,b="dataProperties"+r,_=Object.keys(s||{}),w=e.schema.patternProperties||{},x=Object.keys(w),A=e.schema.additionalProperties,C=_.length||x.length,k=!1===A,M="object"==typeof A&&Object.keys(A).length,S=e.opts.removeAdditional,L=k||M||S,E=e.opts.ownProperties,D=e.baseId,T=e.schema.required;if(T&&(!e.opts.$data||!T.$data)&&T.length<e.opts.loopRequired)var I=e.util.toHash(T);if(i+="var "+d+" = errors;var "+p+" = true;",E&&(i+=" var "+b+" = undefined;"),L){if(i+=E?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+u+") { ",C){if(i+=" var isAdditional"+r+" = !(false ",_.length)if(8<_.length)i+=" || validate.schema"+a+".hasOwnProperty("+m+") ";else{var j=_;if(j)for(var O=-1,F=j.length-1;O<F;)Z=j[O+=1],i+=" || "+m+" == "+e.util.toQuotedString(Z)+" "}if(x.length){var N=x;if(N)for(var Y=-1,P=N.length-1;Y<P;)re=N[Y+=1],i+=" || "+e.usePattern(re)+".test("+m+") "}i+=" ); if (isAdditional"+r+") { "}if("all"==S)i+=" delete "+u+"["+m+"]; ";else{var R=e.errorPath,B="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),k)if(S)i+=" delete "+u+"["+m+"]; ";else{i+=" "+p+" = false; ";var H=l;l=e.errSchemaPath+"/additionalProperties",(te=te||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+B+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is an invalid additional property":i+="should NOT have additional properties",i+="' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var z=i;i=te.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+z+"]); ":i+=" validate.errors = ["+z+"]; return false; ":i+=" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=H,c&&(i+=" break; ")}else if(M)if("failing"==S){i+=" var "+d+" = errors; ";var $=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=A,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var W=u+"["+m+"]";h.dataPathArr[v]=m;var G=e.validate(h);h.baseId=D,e.util.varOccurences(G,y)<2?i+=" "+e.util.varReplace(G,y,W)+" ":i+=" var "+y+" = "+W+"; "+G+" ",i+=" if (!"+p+") { errors = "+d+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+m+"]; } ",e.compositeRule=h.compositeRule=$}else h.schema=A,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),W=u+"["+m+"]",h.dataPathArr[v]=m,G=e.validate(h),h.baseId=D,e.util.varOccurences(G,y)<2?i+=" "+e.util.varReplace(G,y,W)+" ":i+=" var "+y+" = "+W+"; "+G+" ",c&&(i+=" if (!"+p+") break; ");e.errorPath=R}C&&(i+=" } "),i+=" } ",c&&(i+=" if ("+p+") { ",f+="}")}var V=e.opts.useDefaults&&!e.compositeRule;if(_.length){var U=_;if(U)for(var Z,X=-1,Q=U.length-1;X<Q;){var K=s[Z=U[X+=1]];if(e.opts.strictKeywords?"object"==typeof K&&0<Object.keys(K).length:e.util.schemaHasRules(K,e.RULES.all)){var J=e.util.getProperty(Z),q=(W=u+J,V&&void 0!==K.default);if(h.schema=K,h.schemaPath=a+J,h.errSchemaPath=l+"/"+e.util.escapeFragment(Z),h.errorPath=e.util.getPath(e.errorPath,Z,e.opts.jsonPointers),h.dataPathArr[v]=e.util.toQuotedString(Z),G=e.validate(h),h.baseId=D,e.util.varOccurences(G,y)<2){G=e.util.varReplace(G,y,W);var ee=W}else ee=y,i+=" var "+y+" = "+W+"; ";if(q)i+=" "+G+" ";else{if(I&&I[Z]){i+=" if ( "+ee+" === undefined ",E&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Z)+"') "),i+=") { "+p+" = false; ",R=e.errorPath,H=l;var te,ne=e.util.escapeQuotes(Z);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(R,Z,e.opts.jsonPointers)),l=e.errSchemaPath+"/required",(te=te||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+ne+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+ne+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",z=i,i=te.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+z+"]); ":i+=" validate.errors = ["+z+"]; return false; ":i+=" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=H,e.errorPath=R,i+=" } else { "}else c?(i+=" if ( "+ee+" === undefined ",E&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Z)+"') "),i+=") { "+p+" = true; } else { "):(i+=" if ("+ee+" !== undefined ",E&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Z)+"') "),i+=" ) { ");i+=" "+G+" } "}}c&&(i+=" if ("+p+") { ",f+="}")}}if(x.length){var ie=x;if(ie)for(var re,oe=-1,se=ie.length-1;oe<se;)K=w[re=ie[oe+=1]],(e.opts.strictKeywords?"object"==typeof K&&0<Object.keys(K).length:e.util.schemaHasRules(K,e.RULES.all))&&(h.schema=K,h.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(re),h.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(re),i+=E?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+u+") { ",i+=" if ("+e.usePattern(re)+".test("+m+")) { ",h.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),W=u+"["+m+"]",h.dataPathArr[v]=m,G=e.validate(h),h.baseId=D,e.util.varOccurences(G,y)<2?i+=" "+e.util.varReplace(G,y,W)+" ":i+=" var "+y+" = "+W+"; "+G+" ",c&&(i+=" if (!"+p+") break; "),i+=" } ",c&&(i+=" else "+p+" = true; "),i+=" } ",c&&(i+=" if ("+p+") { ",f+="}"))}return c&&(i+=" "+f+" if ("+d+" == errors) {"),e.util.cleanUpCode(i)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=e.util.copy(e);h.level++;var f="valid"+h.level;if(i+="var "+d+" = errors;",e.opts.strictKeywords?"object"==typeof s&&0<Object.keys(s).length:e.util.schemaHasRules(s,e.RULES.all)){h.schema=s,h.schemaPath=a,h.errSchemaPath=l;var p="key"+r,m="idx"+r,g="i"+r,v="' + "+p+" + '",y="data"+(h.dataLevel=e.dataLevel+1),b="dataProperties"+r,_=e.opts.ownProperties,w=e.baseId;_&&(i+=" var "+b+" = undefined; "),i+=_?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+p+" = "+b+"["+m+"]; ":" for (var "+p+" in "+u+") { ",i+=" var startErrs"+r+" = errors; ";var x=p,A=e.compositeRule;e.compositeRule=h.compositeRule=!0;var C=e.validate(h);h.baseId=w,e.util.varOccurences(C,y)<2?i+=" "+e.util.varReplace(C,y,x)+" ":i+=" var "+y+" = "+x+"; "+C+" ",e.compositeRule=h.compositeRule=A,i+=" if (!"+f+") { for (var "+g+"=startErrs"+r+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+p+"; } var err = ",!1!==e.createErrors?(i+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+v+"' } ",!1!==e.opts.messages&&(i+=" , message: 'property name \\'"+v+"\\' is invalid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; "),c&&(i+=" break; "),i+=" } }"}return c&&(i+=" if ("+d+" == errors) {"),e.util.cleanUpCode(i)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.$data&&s&&s.$data;h&&(i+=" var schema"+r+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ");var f="schema"+r;if(!h)if(s.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var p=[],m=s;if(m)for(var g,v=-1,y=m.length-1;v<y;){g=m[v+=1];var b=e.schema.properties[g];b&&(e.opts.strictKeywords?"object"==typeof b&&0<Object.keys(b).length:e.util.schemaHasRules(b,e.RULES.all))||(p[p.length]=g)}}else p=s;if(h||p.length){var _=e.errorPath,w=h||p.length>=e.opts.loopRequired,x=e.opts.ownProperties;if(c)if(i+=" var missing"+r+"; ",w){h||(i+=" var "+f+" = validate.schema"+a+"; ");var A="' + "+(E="schema"+r+"["+(S="i"+r)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,E,e.opts.jsonPointers)),i+=" var "+d+" = true; ",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=" for (var "+S+" = 0; "+S+" < "+f+".length; "+S+"++) { "+d+" = "+u+"["+f+"["+S+"]] !== undefined ",x&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", "+f+"["+S+"]) "),i+="; if (!"+d+") break; } ",h&&(i+=" } "),(k=k||[]).push(i+=" if (!"+d+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+A+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+A+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var C=i;i=k.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+C+"]); ":i+=" validate.errors = ["+C+"]; return false; ":i+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else{i+=" if ( ";var k,M=p;if(M)for(var S=-1,L=M.length-1;S<L;)T=M[S+=1],S&&(i+=" || "),i+=" ( ( "+(F=u+(O=e.util.getProperty(T)))+" === undefined ",x&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(T)+"') "),i+=") && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?T:O)+") ) ";i+=") { ",A="' + "+(E="missing"+r)+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,E,!0):_+" + "+E),(k=k||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+A+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+A+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",C=i,i=k.pop(),!e.compositeRule&&c?e.async?i+=" throw new ValidationError(["+C+"]); ":i+=" validate.errors = ["+C+"]; return false; ":i+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else if(w){var E;h||(i+=" var "+f+" = validate.schema"+a+"; "),A="' + "+(E="schema"+r+"["+(S="i"+r)+"]")+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,E,e.opts.jsonPointers)),h&&(i+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+A+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+A+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),i+=" for (var "+S+" = 0; "+S+" < "+f+".length; "+S+"++) { if ("+u+"["+f+"["+S+"]] === undefined ",x&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+f+"["+S+"]) "),i+=") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+A+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+A+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",h&&(i+=" } ")}else{var D=p;if(D)for(var T,I=-1,j=D.length-1;I<j;){T=D[I+=1];var O=e.util.getProperty(T),F=(A=e.util.escapeQuotes(T),u+O);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,T,e.opts.jsonPointers)),i+=" if ( "+F+" === undefined ",x&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(T)+"') "),i+=") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+A+"' } ",!1!==e.opts.messages&&(i+=" , message: '",e.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+A+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=_}else c&&(i+=" if (true) {");return i}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(s||""),h="valid"+o,f=e.opts.$data&&a&&a.$data;if(i=f?(r+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ","schema"+o):a,(a||f)&&!1!==e.opts.uniqueItems){f&&(r+=" var "+h+"; if ("+i+" === false || "+i+" === undefined) "+h+" = true; else if (typeof "+i+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+d+".length , "+h+" = true , j; if (i > 1) { ";var p=e.schema.items&&e.schema.items.type,m=Array.isArray(p);if(!p||"object"==p||"array"==p||m&&(0<=p.indexOf("object")||0<=p.indexOf("array")))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+h+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var g="checkDataType"+(m?"s":"");r+=" if ("+e.util[g](p,"item",!0)+") continue; ",m&&(r+=" if (typeof item == 'string') item = '\"' + item; "),r+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",f&&(r+=" } "),r+=" if (!"+h+") { ";var v=v||[];v.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var y=r;r=v.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { ")}else u&&(r+=" if (true) { ");return r}},function(e,t,n){"use strict";var i=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,t){for(var n=0;n<t.length;n++){e=JSON.parse(JSON.stringify(e));var r,o=t[n].split("/"),s=e;for(r=1;r<o.length;r++)s=s[o[r]];for(r=0;r<i.length;r++){var a=i[r],l=s[a];l&&(s[a]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#"}]})}}return e}},function(e,t,n){"use strict";var i=n(17).MissingRef;e.exports=function e(t,n,r){function o(t){var n=t.$schema;return n&&!s.getSchema(n)?e.call(s,{$ref:n},!0):Promise.resolve()}var s=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof n&&(r=n,n=void 0);var a=o(t).then(function(){var e=s._addSchema(t,void 0,n);return e.validate||function e(t){try{return s._compile(t)}catch(r){if(r instanceof i)return function(i){function r(){delete s._loadingSchemas[l]}function a(e){return s._refs[e]||s._schemas[e]}var l=i.missingSchema;if(a(l))throw new Error("Schema "+l+" is loaded but "+i.missingRef+" cannot be resolved");var c=s._loadingSchemas[l];return c||(c=s._loadingSchemas[l]=s._opts.loadSchema(l)).then(r,r),c.then(function(e){if(!a(l))return o(e).then(function(){a(l)||s.addSchema(e,l,void 0,n)})}).then(function(){return e(t)})}(r);throw r}}(e)});return r&&a.then(function(e){r(null,e)},r),a}},function(e,t,n){"use strict";var i=/^[a-z_$][a-z0-9_$-]*$/i,r=n(72),o=n(73);e.exports={add:function(e,t){function n(e,t,n){for(var i,s=0;s<o.length;s++){var a=o[s];if(a.type==t){i=a;break}}i||(i={type:t,rules:[]},o.push(i));var l={keyword:e,definition:n,custom:!0,code:r,implements:n.implements};i.rules.push(l),o.custom[e]=l}var o=this.RULES;if(o.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!i.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var s=t.type;if(Array.isArray(s))for(var a=0;a<s.length;a++)n(e,s[a],t);else n(e,s,t);var l=t.metaSchema;l&&(t.$data&&this._opts.$data&&(l={anyOf:[l,{$ref:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(l,!0))}return o.keywords[e]=o.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var n=0;n<t.length;n++)for(var i=t[n].rules,r=0;r<i.length;r++)if(i[r].keyword==e){i.splice(r,1);break}return this},validate:function e(t,n){e.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(o,!0);if(i(t))return!0;if(e.errors=i.errors,n)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}}},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r,o=" ",s=e.level,a=e.dataLevel,l=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,d=!e.opts.allErrors,h="data"+(a||""),f="valid"+s,p="errs__"+s,m=e.opts.$data&&l&&l.$data;r=m?(o+=" var schema"+s+" = "+e.util.getData(l.$data,a,e.dataPathArr)+"; ","schema"+s):l;var g,v,y,b,_,w="definition"+s,x=this.definition,A="";if(m&&x.$data){_="keywordValidate"+s;var C=x.validateSchema;o+=" var "+w+" = RULES.custom['"+t+"'].definition; var "+_+" = "+w+".validate;"}else{if(!(b=e.useCustomRule(this,l,e.schema,e)))return;r="validate.schema"+c,_=b.code,g=x.compile,v=x.inline,y=x.macro}var k=_+".errors",M="i"+s,S="ruleErr"+s,L=x.async;if(L&&!e.async)throw new Error("async keyword in sync schema");if(v||y||(o+=k+" = null;"),o+="var "+p+" = errors;var "+f+";",m&&x.$data&&(A+="}",o+=" if ("+r+" === undefined) { "+f+" = true; } else { ",C&&(A+="}",o+=" "+f+" = "+w+".validateSchema("+r+"); if ("+f+") { ")),v)x.statements?o+=" "+b.validate+" ":o+=" "+f+" = "+b.validate+"; ";else if(y){var E=e.util.copy(e);A="",E.level++;var D="valid"+E.level;E.schema=b.validate,E.schemaPath="";var T=e.compositeRule;e.compositeRule=E.compositeRule=!0;var I=e.validate(E).replace(/validate\.schema/g,_);e.compositeRule=E.compositeRule=T,o+=" "+I}else{(N=N||[]).push(o),o="",o+=" "+_+".call( ",e.opts.passContext?o+="this":o+="self",g||!1===x.schema?o+=" , "+h+" ":o+=" , "+r+" , "+h+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var j=a?"data"+(a-1||""):"parentData",O=a?e.dataPathArr[a]:"parentDataProperty",F=o+=" , "+j+" , "+O+" , rootData ) ";o=N.pop(),!1===x.errors?(o+=" "+f+" = ",L&&(o+="await "),o+=F+"; "):o+=L?" var "+(k="customErrors"+s)+" = null; try { "+f+" = await "+F+"; } catch (e) { "+f+" = false; if (e instanceof ValidationError) "+k+" = e.errors; else throw e; } ":" "+k+" = null; "+f+" = "+F+"; "}if(x.modifying&&(o+=" if ("+j+") "+h+" = "+j+"["+O+"];"),o+=""+A,x.valid)d&&(o+=" if (true) { ");else{var N;o+=" if ( ",void 0===x.valid?(o+=" !",o+=y?""+D:f):o+=" "+!x.valid+" ",o+=") { ",i=this.keyword,(N=N||[]).push(o),(N=N||[]).push(o=""),o="",!1!==e.createErrors?(o+=" { keyword: '"+(i||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),o+=" } "):o+=" {} ";var Y=o;o=N.pop(),!e.compositeRule&&d?e.async?o+=" throw new ValidationError(["+Y+"]); ":o+=" validate.errors = ["+Y+"]; return false; ":o+=" var err = "+Y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var P=o;o=N.pop(),v?x.errors?"full"!=x.errors&&(o+=" for (var "+M+"="+p+"; "+M+"<errors; "+M+"++) { var "+S+" = vErrors["+M+"]; if ("+S+".dataPath === undefined) "+S+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+S+".schemaPath === undefined) { "+S+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+S+".schema = "+r+"; "+S+".data = "+h+"; "),o+=" } "):!1===x.errors?o+=" "+P+" ":(o+=" if ("+p+" == errors) { "+P+" } else { for (var "+M+"="+p+"; "+M+"<errors; "+M+"++) { var "+S+" = vErrors["+M+"]; if ("+S+".dataPath === undefined) "+S+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+S+".schemaPath === undefined) { "+S+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+S+".schema = "+r+"; "+S+".data = "+h+"; "),o+=" } } "):y?(o+=" var err = ",!1!==e.createErrors?(o+=" { keyword: '"+(i||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),o+=" } "):o+=" {} ",o+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&d&&(e.async?o+=" throw new ValidationError(vErrors); ":o+=" validate.errors = vErrors; return false; ")):!1===x.errors?o+=" "+P+" ":(o+=" if (Array.isArray("+k+")) { if (vErrors === null) vErrors = "+k+"; else vErrors = vErrors.concat("+k+"); errors = vErrors.length; for (var "+M+"="+p+"; "+M+"<errors; "+M+"++) { var "+S+" = vErrors["+M+"]; if ("+S+".dataPath === undefined) "+S+".dataPath = (dataPath || '') + "+e.errorPath+"; "+S+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(o+=" "+S+".schema = "+r+"; "+S+".data = "+h+"; "),o+=" } } else { "+P+" } "),o+=" } ",d&&(o+=" else { ")}return o}},function(e,t,n){"use strict";var i=n(30);e.exports={$id:"https://github.com/epoberezkin/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:i.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:i.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},function(e){e.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return e.getInternalPath()}function o(e){return e.getField()}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){this.editor=e,this.dom={}}function l(e,t){this.editor=e,this.parent=t,this.dom={}}n.r(t);var c=n(12),u=n.n(c),d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.locked=!1}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"highlight",value:function(e){this.locked||(this.node!==e&&(this.node&&this.node.setHighlight(!1),this.node=e,this.node.setHighlight(!0)),this._cancelUnhighlight())}},{key:"unhighlight",value:function(){if(!this.locked){var e=this;this.node&&(this._cancelUnhighlight(),this.unhighlightTimer=setTimeout(function(){e.node.setHighlight(!1),e.node=void 0,e.unhighlightTimer=void 0},0))}}},{key:"_cancelUnhighlight",value:function(){this.unhighlightTimer&&(clearTimeout(this.unhighlightTimer),this.unhighlightTimer=void 0)}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}}]),e}(),h=n(0),f=function(){function e(t){function n(e){return t.node.findNodeByInternalPath(e)}!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=t,this.history=[],this.index=-1,this.clear(),this.actions={editField:{undo:function(e){n(e.parentPath).childs[e.index].updateField(e.oldValue)},redo:function(e){n(e.parentPath).childs[e.index].updateField(e.newValue)}},editValue:{undo:function(e){n(e.path).updateValue(e.oldValue)},redo:function(e){n(e.path).updateValue(e.newValue)}},changeType:{undo:function(e){n(e.path).changeType(e.oldType)},redo:function(e){n(e.path).changeType(e.newType)}},appendNodes:{undo:function(e){var t=n(e.parentPath);e.paths.map(n).forEach(function(e){t.removeChild(e)})},redo:function(e){var t=n(e.parentPath);e.nodes.forEach(function(e){t.appendChild(e)})}},insertBeforeNodes:{undo:function(e){var t=n(e.parentPath);e.paths.map(n).forEach(function(e){t.removeChild(e)})},redo:function(e){var t=n(e.parentPath),i=n(e.beforePath);e.nodes.forEach(function(e){t.insertBefore(e,i)})}},insertAfterNodes:{undo:function(e){var t=n(e.parentPath);e.paths.map(n).forEach(function(e){t.removeChild(e)})},redo:function(e){var t=n(e.parentPath),i=n(e.afterPath);e.nodes.forEach(function(e){t.insertAfter(e,i),i=e})}},removeNodes:{undo:function(e){var t=n(e.parentPath),i=t.childs[e.index]||t.append;e.nodes.forEach(function(e){t.insertBefore(e,i)})},redo:function(e){var t=n(e.parentPath);e.paths.map(n).forEach(function(e){t.removeChild(e)})}},duplicateNodes:{undo:function(e){var t=n(e.parentPath);e.clonePaths.map(n).forEach(function(e){t.removeChild(e)})},redo:function(e){var t=n(e.parentPath),i=n(e.afterPath);e.paths.map(n).forEach(function(e){var n=e.clone();if("object"===t.type){var r=t.getFieldNames();n.field=Object(h.findUniqueName)(e.field,r)}t.insertAfter(n,i),i=n})}},moveNodes:{undo:function(e){var t=n(e.oldParentPath),i=n(e.newParentPath),r=t.childs[e.oldIndex]||t.append;i.childs.slice(e.newIndex,e.newIndex+e.count).forEach(function(n,i){n.field=e.fieldNames[i],t.moveBefore(n,r)}),null===e.newParentPathRedo&&(e.newParentPathRedo=i.getInternalPath())},redo:function(e){var t=n(e.oldParentPathRedo),i=n(e.newParentPathRedo),r=i.childs[e.newIndexRedo]||i.append;t.childs.slice(e.oldIndexRedo,e.oldIndexRedo+e.count).forEach(function(t,n){t.field=e.fieldNames[n],i.moveBefore(t,r)})}},sort:{undo:function(e){var t=n(e.path);t.hideChilds(),t.childs=e.oldChilds,t.updateDom({updateIndexes:!0}),t.showChilds()},redo:function(e){var t=n(e.path);t.hideChilds(),t.childs=e.newChilds,t.updateDom({updateIndexes:!0}),t.showChilds()}},transform:{undo:function(e){n(e.path).setInternalValue(e.oldValue)},redo:function(e){n(e.path).setInternalValue(e.newValue)}}}}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"onChange",value:function(){}},{key:"add",value:function(e,t){this.index++,this.history[this.index]={action:e,params:t,timestamp:new Date},this.index<this.history.length-1&&this.history.splice(this.index+1,this.history.length-this.index-1),this.onChange()}},{key:"clear",value:function(){this.history=[],this.index=-1,this.onChange()}},{key:"canUndo",value:function(){return 0<=this.index}},{key:"canRedo",value:function(){return this.index<this.history.length-1}},{key:"undo",value:function(){if(this.canUndo()){var e=this.history[this.index];if(e){var t=this.actions[e.action];if(t&&t.undo){if(t.undo(e.params),e.params.oldSelection)try{this.editor.setDomSelection(e.params.oldSelection)}catch(e){console.error(e)}}else console.error(new Error('unknown action "'+e.action+'"'))}this.index--,this.onChange()}}},{key:"redo",value:function(){if(this.canRedo()){this.index++;var e=this.history[this.index];if(e){var t=this.actions[e.action];if(t&&t.redo){if(t.redo(e.params),e.params.newSelection)try{this.editor.setDomSelection(e.params.newSelection)}catch(e){console.error(e)}}else console.error(new Error('unknown action "'+e.action+'"'))}this.onChange()}}},{key:"destroy",value:function(){this.editor=null,this.history=[],this.index=-1}}]),e}(),p=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=this;this.editor=t,this.timeout=void 0,this.delay=200,this.lastText=void 0,this.results=null,this.dom={},this.dom.container=n;var r=document.createElement("div");(this.dom.wrapper=r).className="jsoneditor-search",n.appendChild(r);var o=document.createElement("div");(this.dom.results=o).className="jsoneditor-results",r.appendChild(o);var s=document.createElement("div");(this.dom.input=s).className="jsoneditor-frame",s.title="Search fields and values",r.appendChild(s);var a=document.createElement("button");a.type="button",a.className="jsoneditor-refresh",s.appendChild(a);var l=document.createElement("input");l.type="text",(this.dom.search=l).oninput=function(e){i._onDelayedSearch(e)},l.onchange=function(e){i._onSearch()},l.onkeydown=function(e){i._onKeyDown(e)},l.onkeyup=function(e){i._onKeyUp(e)},a.onclick=function(e){l.select()},s.appendChild(l);var c=document.createElement("button");c.type="button",c.title="Next result (Enter)",c.className="jsoneditor-next",c.onclick=function(){i.next()},s.appendChild(c);var u=document.createElement("button");u.type="button",u.title="Previous result (Shift+Enter)",u.className="jsoneditor-previous",u.onclick=function(){i.previous()},s.appendChild(u)}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"next",value:function(e){if(this.results){var t=null!==this.resultIndex?this.resultIndex+1:0;t>this.results.length-1&&(t=0),this._setActiveResult(t,e)}}},{key:"previous",value:function(e){if(this.results){var t=this.results.length-1,n=null!==this.resultIndex?this.resultIndex-1:t;n<0&&(n=t),this._setActiveResult(n,e)}}},{key:"_setActiveResult",value:function(e,t){if(this.activeResult){var n=this.activeResult.node;"field"===this.activeResult.elem?delete n.searchFieldActive:delete n.searchValueActive,n.updateDom()}if(!this.results||!this.results[e])return this.resultIndex=void 0,void(this.activeResult=void 0);this.resultIndex=e;var i=this.results[this.resultIndex].node,r=this.results[this.resultIndex].elem;"field"===r?i.searchFieldActive=!0:i.searchValueActive=!0,this.activeResult=this.results[this.resultIndex],i.updateDom(),i.scrollTo(function(){t&&i.focus(r)})}},{key:"_clearDelay",value:function(){void 0!==this.timeout&&(clearTimeout(this.timeout),delete this.timeout)}},{key:"_onDelayedSearch",value:function(e){this._clearDelay();var t=this;this.timeout=setTimeout(function(e){t._onSearch()},this.delay)}},{key:"_onSearch",value:function(e){this._clearDelay();var t=this.dom.search.value,n=0<t.length?t:void 0;if(n!==this.lastText||e){this.lastText=n,this.results=this.editor.search(n);var i=this.results[0]?this.results[0].node.MAX_SEARCH_RESULTS:1/0,r=0;if(this.activeResult)for(var o=0;o<this.results.length;o++)if(this.results[o].node===this.activeResult.node){r=o;break}if(this._setActiveResult(r,!1),void 0!==n){var s=this.results.length;this.dom.results.innerHTML=0===s?"no results":1===s?"1 result":i<s?i+"+ results":s+" results"}else this.dom.results.innerHTML=""}}},{key:"_onKeyDown",value:function(e){var t=e.which;27===t?(this.dom.search.value="",this._onSearch(),e.preventDefault(),e.stopPropagation()):13===t&&(e.ctrlKey?this._onSearch(!0):e.shiftKey?this.previous():this.next(),e.preventDefault(),e.stopPropagation())}},{key:"_onKeyUp",value:function(e){var t=e.keyCode;27!==t&&13!==t&&this._onDelayedSearch(e)}},{key:"clear",value:function(){this.dom.search.value="",this._onSearch()}},{key:"forceSearch",value:function(){this._onSearch(!0)}},{key:"isEmpty",value:function(){return""===this.dom.search.value}},{key:"destroy",value:function(){this.editor=null,this.dom.container.removeChild(this.dom.wrapper),this.dom=null,this.results=null,this.activeResult=null,this._clearDelay()}}]),e}(),m=n(3),g=n(1),v=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t&&(this.root=n,this.path=document.createElement("div"),this.path.className="jsoneditor-treepath",this.path.setAttribute("tabindex",0),this.contentMenuClicked=!1,t.appendChild(this.path),this.reset())}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"reset",value:function(){this.path.innerHTML=Object(g.c)("selectNode")}},{key:"setPath",value:function(e){var t=this;this.path.innerHTML="",e&&e.length&&e.forEach(function(n,i){var r,o=document.createElement("span");if(o.className="jsoneditor-treepath-element",o.innerText=n.name,o.onclick=function(e){this.selectionCallback&&this.selectionCallback(e)}.bind(t,n),t.path.appendChild(o),n.children.length&&((r=document.createElement("span")).className="jsoneditor-treepath-seperator",r.innerHTML="►",r.onclick=function(){t.contentMenuClicked=!0;var o=[];n.children.forEach(function(r){o.push({text:r.name,className:"jsoneditor-type-modes"+(e[i+1]+1&&e[i+1].name===r.name?" jsoneditor-selected":""),click:function(e,t){this.contextMenuCallback&&this.contextMenuCallback(e,t)}.bind(t,n,r.name)})}),new m.a(o).show(r,t.root,!0)},t.path.appendChild(r)),i===e.length-1){var s=(r||o).getBoundingClientRect().right;if(t.path.offsetWidth<s&&(t.path.scrollLeft=s),t.path.scrollLeft){var a=document.createElement("span");a.className="jsoneditor-treepath-show-all-btn",a.title="show all path",a.innerHTML="...",a.onclick=function(e){t.contentMenuClicked=!1,Object(h.addClassName)(t.path,"show-all"),t.path.style.width=t.path.parentNode.getBoundingClientRect().width-10+"px",t.path.onblur=function(){if(t.contentMenuClicked)return t.contentMenuClicked=!1,void t.path.focus();Object(h.removeClassName)(t.path,"show-all"),t.path.onblur=void 0,t.path.style.width="",t.setPath(e)}}.bind(t,e),t.path.insertBefore(a,t.path.firstChild)}}})}},{key:"onSectionSelected",value:function(e){"function"==typeof e&&(this.selectionCallback=e)}},{key:"onContextMenuItemSelected",value:function(e){"function"==typeof e&&(this.contextMenuCallback=e)}}]),e}(),y=n(4),b=n.n(y),_=n(10),w=n.n(_),x=n(11),A=n(6),C=n(8),k=n(2),M=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=t,this.dom={},this.expanded=!1,n&&n instanceof Object?(this.setField(n.field,n.fieldEditable),"value"in n&&this.setValue(n.value,n.type),"internalValue"in n&&this.setInternalValue(n.internalValue)):(this.setField(""),this.setValue(null)),this._debouncedOnChangeValue=Object(h.debounce)(this._onChangeValue.bind(this),e.prototype.DEBOUNCE_INTERVAL),this._debouncedOnChangeField=Object(h.debounce)(this._onChangeField.bind(this),e.prototype.DEBOUNCE_INTERVAL),this.visibleChilds=this.getMaxVisibleChilds()}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"getMaxVisibleChilds",value:function(){return this.editor&&this.editor.options&&this.editor.options.maxVisibleChilds?this.editor.options.maxVisibleChilds:S}},{key:"_updateEditability",value:function(){if(this.editable={field:!0,value:!0},this.editor&&(this.editable.field="tree"===this.editor.options.mode,this.editable.value="view"!==this.editor.options.mode,("tree"===this.editor.options.mode||"form"===this.editor.options.mode)&&"function"==typeof this.editor.options.onEditable)){var e=this.editor.options.onEditable({field:this.field,value:this.value,path:this.getPath()});"boolean"==typeof e?(this.editable.field=e,this.editable.value=e):("boolean"==typeof e.field&&(this.editable.field=e.field),"boolean"==typeof e.value&&(this.editable.value=e.value))}}},{key:"getPath",value:function(){for(var e=this,t=[];e;){var n=e.getName();void 0!==n&&t.unshift(n),e=e.parent}return t}},{key:"getInternalPath",value:function(){for(var e=this,t=[];e;)e.parent&&t.unshift(e.getIndex()),e=e.parent;return t}},{key:"getName",value:function(){return this.parent?"array"!==this.parent.type?this.field:this.index:void 0}},{key:"findNodeByPath",value:function(e){if(e){if(0===e.length)return this;if(e.length&&this.childs&&this.childs.length)for(var t=0;t<this.childs.length;++t)if(""+e[0]==""+this.childs[t].getName())return this.childs[t].findNodeByPath(e.slice(1))}}},{key:"findNodeByInternalPath",value:function(e){if(e){for(var t=this,n=0;n<e.length&&t;n++){var i=e[n];t=t.childs[i]}return t}}},{key:"serialize",value:function(){return{value:this.getValue(),path:this.getPath()}}},{key:"findNode",value:function(e){for(var t=Object(h.parsePath)(e),n=this;n&&0<t.length;)!function(){var e=t.shift();if("number"==typeof e){if("array"!==n.type)throw new Error("Cannot get child node at index "+e+": node is no array");n=n.childs[e]}else{if("object"!==n.type)throw new Error("Cannot get child node "+e+": node is no object");n=n.childs.filter(function(t){return t.field===e})[0]}}();return n}},{key:"findParents",value:function(){for(var e=[],t=this.parent;t;)e.unshift(t),t=t.parent;return e}},{key:"setError",value:function(e,t){this.error=e,this.errorChild=t,this.dom&&this.dom.tr&&this.updateError()}},{key:"updateError",value:function(){var e=this,t=this.fieldError||this.valueError||this.error,n=this.dom.tdError;if(t&&this.dom&&this.dom.tr){Object(h.addClassName)(this.dom.tr,"jsoneditor-validation-error"),n||(n=document.createElement("td"),this.dom.tdError=n,this.dom.tdValue.parentNode.appendChild(n));var i=document.createElement("button");i.type="button",i.className="jsoneditor-button jsoneditor-schema-error";var r=function(){e.dom.popupAnchor&&e.dom.popupAnchor.destroy()},o=function(){delete e.dom.popupAnchor},s=function(n){var r=e.editor.frame;e.dom.popupAnchor=Object(x.a)(i,r,o,n);var s=i.getBoundingClientRect(),a=120<r.getBoundingClientRect().width-s.x?"jsoneditor-above":"jsoneditor-left",l=document.createElement("div");l.className="jsoneditor-popover "+a,l.appendChild(document.createTextNode(t.message)),e.dom.popupAnchor.appendChild(l)};i.onmouseover=function(){e.dom.popupAnchor||s(!0)},i.onfocus=function(){r(),s(!1)},i.onblur=function(){r()};var a=this.errorChild;for(a&&(i.onclick=function(){a.findParents().forEach(function(e){e.expand(!1)}),a.scrollTo(function(){a.focus()})});n.firstChild;)n.removeChild(n.firstChild);n.appendChild(i)}else this.dom.tr&&Object(h.removeClassName)(this.dom.tr,"jsoneditor-validation-error"),n&&(this.dom.tdError.parentNode.removeChild(this.dom.tdError),delete this.dom.tdError)}},{key:"getIndex",value:function(){if(this.parent){var e=this.parent.childs.indexOf(this);return-1!==e?e:null}return-1}},{key:"setParent",value:function(e){this.parent=e}},{key:"setField",value:function(e,t){this.field=e,this.previousField=e,this.fieldEditable=!0===t}},{key:"getField",value:function(){return void 0===this.field&&this._getDomField(),this.field}},{key:"setValue",value:function(t,n){var i,r,o,a,l,c=this.childs;if(this.type=this._getType(t),n&&n!==this.type){if("string"!==n||"auto"!==this.type)throw new Error('Type mismatch: cannot cast value of type "'+this.type+' to the specified type "'+n+'"');this.type=n}if("array"===this.type){for(this.childs||(this.childs=[]),a=0;a<t.length;a++)void 0===(i=t[a])||i instanceof Function||(a<this.childs.length?((r=this.childs[a]).fieldEditable=!1,r.index=a,r.setValue(i)):(r=new e(this.editor,{value:i}),o=a<this.getMaxVisibleChilds(),this.appendChild(r,o,!1)));for(l=this.childs.length;l>=t.length;l--)this.removeChild(this.childs[l],!1)}else if("object"===this.type){for(this.childs||(this.childs=[]),l=this.childs.length-1;0<=l;l--)s(t,this.childs[l].field)||this.removeChild(this.childs[l],!1);for(var u in a=0,t)s(t,u)&&(void 0===(i=t[u])||i instanceof Function||((r=this.findChildByProperty(u))?(r.setField(u,!0),r.setValue(i)):(r=new e(this.editor,{field:u,value:i}),o=a<this.getMaxVisibleChilds(),this.appendChild(r,o,!1))),a++);!(this.value="")===this.editor.options.sortObjectKeys&&this.sort([],"asc")}else this.hideChilds(),delete this.append,delete this.showMore,delete this.expanded,delete this.childs,this.value=t;Array.isArray(c)!==Array.isArray(this.childs)&&this.recreateDom(),this.updateDom({updateIndexes:!0}),this.previousValue=this.value}},{key:"setInternalValue",value:function(t){var n,i,r,o,s,a=this.childs;if(this.type=t.type,"array"===t.type){for(this.childs||(this.childs=[]),o=0;o<t.childs.length;o++)void 0===(n=t.childs[o])||n instanceof Function||(o<this.childs.length?((i=this.childs[o]).fieldEditable=!1,i.index=o,i.setInternalValue(n)):(i=new e(this.editor,{internalValue:n}),r=o<this.getMaxVisibleChilds(),this.appendChild(i,r,!1)));for(s=this.childs.length;s>=t.childs.length;s--)this.removeChild(this.childs[s],!1)}else if("object"===t.type){for(this.childs||(this.childs=[]),o=0;o<t.childs.length;o++)void 0===(n=t.childs[o])||n instanceof Function||(o<this.childs.length?(delete(i=this.childs[o]).index,i.setField(n.field,!0),i.setInternalValue(n.value)):(i=new e(this.editor,{field:n.field,internalValue:n.value}),r=o<this.getMaxVisibleChilds(),this.appendChild(i,r,!1)));for(s=this.childs.length;s>=t.childs.length;s--)this.removeChild(this.childs[s],!1)}else this.hideChilds(),delete this.append,delete this.showMore,delete this.expanded,delete this.childs,this.value=t.value;Array.isArray(a)!==Array.isArray(this.childs)&&this.recreateDom(),this.updateDom({updateIndexes:!0}),this.previousValue=this.value}},{key:"recreateDom",value:function(){if(this.dom&&this.dom.tr&&this.dom.tr.parentNode){var e=this._detachFromDom();this.clearDom(),this._attachToDom(e)}else this.clearDom()}},{key:"getValue",value:function(){if("array"===this.type){var e=[];return this.childs.forEach(function(t){e.push(t.getValue())}),e}if("object"!==this.type)return void 0===this.value&&this._getDomValue(),this.value;var t={};return this.childs.forEach(function(e){t[e.getField()]=e.getValue()}),t}},{key:"getInternalValue",value:function(){return"array"===this.type?{type:this.type,childs:this.childs.map(function(e){return e.getInternalValue()})}:"object"===this.type?{type:this.type,childs:this.childs.map(function(e){return{field:e.getField(),value:e.getInternalValue()}})}:(void 0===this.value&&this._getDomValue(),{type:this.type,value:this.value})}},{key:"getLevel",value:function(){return this.parent?this.parent.getLevel()+1:0}},{key:"getNodePath",value:function(){var e=this.parent?this.parent.getNodePath():[];return e.push(this),e}},{key:"clone",value:function(){var t=new e(this.editor);if(t.type=this.type,t.field=this.field,t.fieldInnerText=this.fieldInnerText,t.fieldEditable=this.fieldEditable,t.previousField=this.previousField,t.value=this.value,t.valueInnerText=this.valueInnerText,t.previousValue=this.previousValue,t.expanded=this.expanded,t.visibleChilds=this.visibleChilds,this.childs){var n=[];this.childs.forEach(function(e){var i=e.clone();i.setParent(t),n.push(i)}),t.childs=n}else t.childs=void 0;return t}},{key:"expand",value:function(e){this.childs&&(this.expanded=!0,this.dom.expand&&(this.dom.expand.className="jsoneditor-button jsoneditor-expanded"),this.showChilds(),!1!==e&&this.childs.forEach(function(t){t.expand(e)}))}},{key:"collapse",value:function(e){this.childs&&(this.hideChilds(),!1!==e&&this.childs.forEach(function(t){t.collapse(e)}),this.dom.expand&&(this.dom.expand.className="jsoneditor-button jsoneditor-collapsed"),this.expanded=!1)}},{key:"showChilds",value:function(){if(this.childs&&this.expanded){var e,t=this.dom.tr,n=t?t.parentNode:void 0;if(n){var i=this.getAppendDom();i.parentNode||((e=t.nextSibling)?n.insertBefore(i,e):n.appendChild(i));var r=Math.min(this.childs.length,this.visibleChilds);e=this._getNextTr();for(var o=0;o<r;o++){var s=this.childs[o];s.getDom().parentNode||n.insertBefore(s.getDom(),e),s.showChilds()}var a=this.getShowMoreDom();e=this._getNextTr(),a.parentNode||n.insertBefore(a,e),this.showMore.updateDom()}}}},{key:"_getNextTr",value:function(){return this.showMore&&this.showMore.getDom().parentNode?this.showMore.getDom():this.append&&this.append.getDom().parentNode?this.append.getDom():void 0}},{key:"hide",value:function(e){var t=this.dom.tr,n=t?t.parentNode:void 0;n&&n.removeChild(t),this.dom.popupAnchor&&this.dom.popupAnchor.destroy(),this.hideChilds(e)}},{key:"hideChilds",value:function(e){if(this.childs&&this.expanded){var t=this.getAppendDom();t.parentNode&&t.parentNode.removeChild(t),this.childs.forEach(function(e){e.hide()});var n=this.getShowMoreDom();n.parentNode&&n.parentNode.removeChild(n),e&&!e.resetVisibleChilds||(this.visibleChilds=this.getMaxVisibleChilds())}}},{key:"_updateCssClassName",value:function(){if(this.dom.field&&this.editor&&this.editor.options&&"function"==typeof this.editor.options.onClassName&&this.dom.tree){Object(h.removeAllClassNames)(this.dom.tree);var e=this.editor.options.onClassName({path:this.getPath(),field:this.field,value:this.value})||"";Object(h.addClassName)(this.dom.tree,"jsoneditor-values "+e)}}},{key:"recursivelyUpdateCssClassesOnNodes",value:function(){if(this._updateCssClassName(),Array.isArray(this.childs))for(var e=0;e<this.childs.length;e++)this.childs[e].recursivelyUpdateCssClassesOnNodes()}},{key:"expandTo",value:function(){for(var e=this.parent;e;)e.expanded||e.expand(),e=e.parent}},{key:"appendChild",value:function(e,t,n){if(this._hasChilds()){if(e.setParent(this),e.fieldEditable="object"===this.type,"array"===this.type&&(e.index=this.childs.length),"object"===this.type&&void 0===e.field&&e.setField(""),this.childs.push(e),this.expanded&&!1!==t){var i=e.getDom(),r=this._getNextTr(),o=r?r.parentNode:void 0;r&&o&&o.insertBefore(i,r),e.showChilds(),this.visibleChilds++}!1!==n&&(this.updateDom({updateIndexes:!0}),e.updateDom({recurse:!0}))}}},{key:"moveBefore",value:function(e,t){if(this._hasChilds()){var n=this.dom.tr?this.dom.tr.parentNode:void 0;if(n){var i=document.createElement("tr");i.style.height=n.clientHeight+"px",n.appendChild(i)}if(e.parent&&e.parent.removeChild(e),t instanceof E||!t)if(this.childs.length+1>this.visibleChilds){var r=this.childs[this.visibleChilds-1];this.insertBefore(e,r)}else this.appendChild(e);else this.insertBefore(e,t);n&&n.removeChild(i)}}},{key:"insertBefore",value:function(e,t){if(this._hasChilds()){if(this.visibleChilds++,"object"===this.type&&void 0===e.field&&e.setField(""),t===this.append)e.setParent(this),e.fieldEditable="object"===this.type,this.childs.push(e);else{var n=this.childs.indexOf(t);if(-1===n)throw new Error("Node not found");e.setParent(this),e.fieldEditable="object"===this.type,this.childs.splice(n,0,e)}if(this.expanded){var i=e.getDom(),r=t.getDom(),o=r?r.parentNode:void 0;r&&o&&o.insertBefore(i,r),e.showChilds(),this.showChilds()}this.updateDom({updateIndexes:!0}),e.updateDom({recurse:!0})}}},{key:"insertAfter",value:function(e,t){if(this._hasChilds()){var n=this.childs.indexOf(t),i=this.childs[n+1];i?this.insertBefore(e,i):this.appendChild(e)}}},{key:"search",value:function(e,t){Array.isArray(t)||(t=[]);var n=e?e.toLowerCase():void 0;return delete this.searchField,delete this.searchValue,void 0!==this.field&&t.length<=this.MAX_SEARCH_RESULTS&&(-1!==String(this.field).toLowerCase().indexOf(n)&&(this.searchField=!0,t.push({node:this,elem:"field"})),this._updateDomField()),this._hasChilds()?this.childs&&this.childs.forEach(function(n){n.search(e,t)}):void 0!==this.value&&t.length<=this.MAX_SEARCH_RESULTS&&(-1!==String(this.value).toLowerCase().indexOf(n)&&(this.searchValue=!0,t.push({node:this,elem:"value"})),this._updateDomValue()),t}},{key:"scrollTo",value:function(e){this.expandPathToNode(),this.dom.tr&&this.dom.tr.parentNode&&this.editor.scrollTo(this.dom.tr.offsetTop,e)}},{key:"expandPathToNode",value:function(){for(var e=this;e&&e.parent;){for(var t="array"===e.parent.type?e.index:e.parent.childs.indexOf(e);e.parent.visibleChilds<t+1;)e.parent.visibleChilds+=this.getMaxVisibleChilds();e.parent.expand(!1),e=e.parent}}},{key:"focus",value:function(t){if(e.focusElement=t,this.dom.tr&&this.dom.tr.parentNode){var n=this.dom;switch(t){case"drag":n.drag?n.drag.focus():n.menu.focus();break;case"menu":n.menu.focus();break;case"expand":this._hasChilds()?n.expand.focus():n.field&&this.fieldEditable?(n.field.focus(),Object(h.selectContentEditable)(n.field)):n.value&&!this._hasChilds()?(n.value.focus(),Object(h.selectContentEditable)(n.value)):n.menu.focus();break;case"field":n.field&&this.fieldEditable?(n.field.focus(),Object(h.selectContentEditable)(n.field)):n.value&&!this._hasChilds()?(n.value.focus(),Object(h.selectContentEditable)(n.value)):this._hasChilds()?n.expand.focus():n.menu.focus();break;case"value":default:n.select?n.select.focus():n.value&&!this._hasChilds()?(n.value.focus(),Object(h.selectContentEditable)(n.value)):n.field&&this.fieldEditable?(n.field.focus(),Object(h.selectContentEditable)(n.field)):this._hasChilds()?n.expand.focus():n.menu.focus()}}}},{key:"containsNode",value:function(e){if(this===e)return!0;var t=this.childs;if(t)for(var n=0,i=t.length;n<i;n++)if(t[n].containsNode(e))return!0;return!1}},{key:"removeChild",value:function(e,t){if(this.childs){var n=this.childs.indexOf(e);if(-1!==n){n<this.visibleChilds&&this.expanded&&this.visibleChilds--,e.hide(),delete e.searchField,delete e.searchValue;var i=this.childs.splice(n,1)[0];return i.parent=null,!1!==t&&this.updateDom({updateIndexes:!0}),i}}}},{key:"_remove",value:function(e){this.removeChild(e)}},{key:"changeType",value:function(e){var t=this.type;if(t!==e){if("string"!==e&&"auto"!==e||"string"!==t&&"auto"!==t){var n=this._detachFromDom();this.clearDom(),"object"===(this.type=e)?(this.childs||(this.childs=[]),this.childs.forEach(function(e){e.clearDom(),delete e.index,e.fieldEditable=!0,void 0===e.field&&(e.field="")}),"string"!==t&&"auto"!==t||(this.expanded=!0)):"array"===e?(this.childs||(this.childs=[]),this.childs.forEach(function(e,t){e.clearDom(),e.fieldEditable=!1,e.index=t}),"string"!==t&&"auto"!==t||(this.expanded=!0)):this.expanded=!1,this._attachToDom(n)}else this.type=e;"auto"!==e&&"string"!==e||(this.value="string"===e?String(this.value):Object(h.parseString)(String(this.value)),this.focus()),this.updateDom({updateIndexes:!0})}}},{key:"deepEqual",value:function(e){var t;if("array"===this.type){if(!Array.isArray(e))return!1;if(this.childs.length!==e.length)return!1;for(t=0;t<this.childs.length;t++)if(!this.childs[t].deepEqual(e[t]))return!1}else if("object"===this.type){if("object"!==i(e)||!e)return!1;var n={},r=0;for(t=0;t<this.childs.length;t++){var o=this.childs[t];if(!n[o.field]){if(n[o.field]=!0,r++,!(o.field in e))return!1;if(!o.deepEqual(e[o.field]))return!1}}if(r!==Object.keys(e).length)return!1}else if(this.value!==e)return!1;return!0}},{key:"_getDomValue",value:function(){if(this._clearValueError(),this.dom.value&&"array"!==this.type&&"object"!==this.type&&(this.valueInnerText=Object(h.getInnerText)(this.dom.value)),void 0!==this.valueInnerText)try{var e;if("string"===this.type)e=this._unescapeHTML(this.valueInnerText);else{var t=this._unescapeHTML(this.valueInnerText);e=Object(h.parseString)(t)}e!==this.value&&(this.value=e,this._debouncedOnChangeValue())}catch(e){this._setValueError(Object(g.c)("cannotParseValueError"))}}},{key:"_setValueError",value:function(e){this.valueError={message:e},this.updateError()}},{key:"_clearValueError",value:function(){this.valueError&&(this.valueError=null,this.updateError())}},{key:"_setFieldError",value:function(e){this.fieldError={message:e},this.updateError()}},{key:"_clearFieldError",value:function(){this.fieldError&&(this.fieldError=null,this.updateError())}},{key:"_onChangeValue",value:function(){var e=this.editor.getDomSelection();if(e.range){var t=Object(h.textDiff)(String(this.value),String(this.previousValue));e.range.startOffset=t.start,e.range.endOffset=t.end}var n=this.editor.getDomSelection();if(n.range){var i=Object(h.textDiff)(String(this.previousValue),String(this.value));n.range.startOffset=i.start,n.range.endOffset=i.end}this.editor._onAction("editValue",{path:this.getInternalPath(),oldValue:this.previousValue,newValue:this.value,oldSelection:e,newSelection:n}),this.previousValue=this.value}},{key:"_onChangeField",value:function(){var e=this.editor.getDomSelection(),t=this.previousField||"";if(e.range){var n=Object(h.textDiff)(this.field,t);e.range.startOffset=n.start,e.range.endOffset=n.end}var i=this.editor.getDomSelection();if(i.range){var r=Object(h.textDiff)(t,this.field);i.range.startOffset=r.start,i.range.endOffset=r.end}this.editor._onAction("editField",{parentPath:this.parent.getInternalPath(),index:this.getIndex(),oldValue:this.previousField,newValue:this.field,oldSelection:e,newSelection:i}),this.previousField=this.field}},{key:"_updateDomValue",value:function(){var e=this.dom.value;if(e){var t=["jsoneditor-value"],n=this.value,i="auto"===this.type?Object(h.getType)(n):this.type,r="string"===i&&Object(h.isUrl)(n);if(t.push("jsoneditor-"+i),r&&t.push("jsoneditor-url"),""===String(this.value)&&"array"!==this.type&&"object"!==this.type&&t.push("jsoneditor-empty"),this.searchValueActive&&t.push("jsoneditor-highlight-active"),this.searchValue&&t.push("jsoneditor-highlight"),e.className=t.join(" "),"array"===i||"object"===i){var o=this.childs?this.childs.length:0;e.title=this.type+" containing "+o+" items"}else r&&this.editable.value?e.title=Object(g.c)("openUrl"):e.title="";if("boolean"===i&&this.editable.value?(this.dom.checkbox||(this.dom.checkbox=document.createElement("input"),this.dom.checkbox.type="checkbox",this.dom.tdCheckbox=document.createElement("td"),this.dom.tdCheckbox.className="jsoneditor-tree",this.dom.tdCheckbox.appendChild(this.dom.checkbox),this.dom.tdValue.parentNode.insertBefore(this.dom.tdCheckbox,this.dom.tdValue)),this.dom.checkbox.checked=this.value):this.dom.tdCheckbox&&(this.dom.tdCheckbox.parentNode.removeChild(this.dom.tdCheckbox),delete this.dom.tdCheckbox,delete this.dom.checkbox),this.enum&&this.editable.value){if(!this.dom.select){this.dom.select=document.createElement("select"),this.id=this.field+"_"+(new Date).getUTCMilliseconds(),this.dom.select.id=this.id,this.dom.select.name=this.dom.select.id,this.dom.select.option=document.createElement("option"),this.dom.select.option.value="",this.dom.select.option.innerHTML="--",this.dom.select.appendChild(this.dom.select.option);for(var a=0;a<this.enum.length;a++)this.dom.select.option=document.createElement("option"),this.dom.select.option.value=this.enum[a],this.dom.select.option.innerHTML=this.enum[a],this.dom.select.option.value===this.value&&(this.dom.select.option.selected=!0),this.dom.select.appendChild(this.dom.select.option);this.dom.tdSelect=document.createElement("td"),this.dom.tdSelect.className="jsoneditor-tree",this.dom.tdSelect.appendChild(this.dom.select),this.dom.tdValue.parentNode.insertBefore(this.dom.tdSelect,this.dom.tdValue)}!this.schema||s(this.schema,"oneOf")||s(this.schema,"anyOf")||s(this.schema,"allOf")?delete this.valueFieldHTML:(this.valueFieldHTML=this.dom.tdValue.innerHTML,this.dom.tdValue.style.visibility="hidden",this.dom.tdValue.innerHTML="")}else this.dom.tdSelect&&(this.dom.tdSelect.parentNode.removeChild(this.dom.tdSelect),delete this.dom.tdSelect,delete this.dom.select,this.dom.tdValue.innerHTML=this.valueFieldHTML,this.dom.tdValue.style.visibility="",delete this.valueFieldHTML);this.editable.value&&this.editor.options.colorPicker&&"string"==typeof n&&Object(h.isValidColor)(n)?(this.dom.color||(this.dom.color=document.createElement("div"),this.dom.color.className="jsoneditor-color",this.dom.tdColor=document.createElement("td"),this.dom.tdColor.className="jsoneditor-tree",this.dom.tdColor.appendChild(this.dom.color),this.dom.tdValue.parentNode.insertBefore(this.dom.tdColor,this.dom.tdValue),this.dom.value.style.color="#1A1A1A"),this.dom.color.style.backgroundColor=n):this._deleteDomColor(),this.editor.options.timestampTag&&"number"==typeof n&&9466848e5<n&&!isNaN(new Date(n).valueOf())?(this.dom.date||(this.dom.date=document.createElement("div"),this.dom.date.className="jsoneditor-date",this.dom.value.parentNode.appendChild(this.dom.date)),this.dom.date.innerHTML=new Date(n).toISOString(),this.dom.date.title=new Date(n).toString()):this.dom.date&&(this.dom.date.parentNode.removeChild(this.dom.date),delete this.dom.date),Object(h.stripFormatting)(e),this._updateDomDefault()}}},{key:"_deleteDomColor",value:function(){this.dom.color&&(this.dom.tdColor.parentNode.removeChild(this.dom.tdColor),delete this.dom.tdColor,delete this.dom.color,this.dom.value.style.color="")}},{key:"_updateDomField",value:function(){var e=this.dom.field;if(e){var t=Object(h.makeFieldTooltip)(this.schema,this.editor.options.language);t&&(e.title=t),""===String(this.field)&&"array"!==this.parent.type?Object(h.addClassName)(e,"jsoneditor-empty"):Object(h.removeClassName)(e,"jsoneditor-empty"),this.searchFieldActive?Object(h.addClassName)(e,"jsoneditor-highlight-active"):Object(h.removeClassName)(e,"jsoneditor-highlight-active"),this.searchField?Object(h.addClassName)(e,"jsoneditor-highlight"):Object(h.removeClassName)(e,"jsoneditor-highlight"),Object(h.stripFormatting)(e)}}},{key:"_getDomField",value:function(e){if(this._clearFieldError(),this.dom.field&&this.fieldEditable&&(this.fieldInnerText=Object(h.getInnerText)(this.dom.field)),void 0!==this.fieldInnerText)try{var t=this._unescapeHTML(this.fieldInnerText),n=this.parent.getFieldNames(this);-1!==n.indexOf(t)?e?(t=Object(h.findUniqueName)(t,n))!==this.field&&(this.field=t,this._debouncedOnChangeField()):this._setFieldError(Object(g.c)("duplicateFieldError")):t!==this.field&&(this.field=t,this._debouncedOnChangeField())}catch(e){this._setFieldError(Object(g.c)("cannotParseFieldError"))}}},{key:"_updateDomDefault",value:function(){if(this.schema&&void 0!==this.schema.default&&!this._hasChilds()){var e=this.dom.select?this.dom.select:this.dom.value;e&&(this.value===this.schema.default?(e.title=Object(g.c)("default"),Object(h.addClassName)(e,"jsoneditor-is-default"),Object(h.removeClassName)(e,"jsoneditor-is-not-default")):(e.removeAttribute("title"),Object(h.removeClassName)(e,"jsoneditor-is-default"),Object(h.addClassName)(e,"jsoneditor-is-not-default")))}}},{key:"clearDom",value:function(){this.dom={}}},{key:"getDom",value:function(){var e=this.dom;if(e.tr)return e.tr;if(this._updateEditability(),e.tr=document.createElement("tr"),"tree"===(e.tr.node=this).editor.options.mode){var t=document.createElement("td");if(this.editable.field&&this.parent){var n=document.createElement("button");n.type="button",(e.drag=n).className="jsoneditor-button jsoneditor-dragarea",n.title=Object(g.c)("drag"),t.appendChild(n)}e.tr.appendChild(t);var i=document.createElement("td"),r=document.createElement("button");r.type="button",(e.menu=r).className="jsoneditor-button jsoneditor-contextmenu",r.title=Object(g.c)("actionsMenu"),i.appendChild(e.menu),e.tr.appendChild(i)}var o=document.createElement("td");return e.tr.appendChild(o),e.tree=this._createDomTree(),o.appendChild(e.tree),this.updateDom({updateIndexes:!0}),e.tr}},{key:"isVisible",value:function(){return this.dom&&this.dom.tr&&this.dom.tr.parentNode||!1}},{key:"isDescendantOf",value:function(e){for(var t=this.parent;t;){if(t===e)return!0;t=t.parent}return!1}},{key:"_createDomField",value:function(){return document.createElement("div")}},{key:"setHighlight",value:function(e){this.dom.tr&&(e?Object(h.addClassName)(this.dom.tr,"jsoneditor-highlight"):Object(h.removeClassName)(this.dom.tr,"jsoneditor-highlight"),this.append&&this.append.setHighlight(e),this.childs&&this.childs.forEach(function(t){t.setHighlight(e)}))}},{key:"setSelected",value:function(e,t){this.selected=e,this.dom.tr&&(e?Object(h.addClassName)(this.dom.tr,"jsoneditor-selected"):Object(h.removeClassName)(this.dom.tr,"jsoneditor-selected"),t?Object(h.addClassName)(this.dom.tr,"jsoneditor-first"):Object(h.removeClassName)(this.dom.tr,"jsoneditor-first"),this.append&&this.append.setSelected(e),this.showMore&&this.showMore.setSelected(e),this.childs&&this.childs.forEach(function(t){t.setSelected(e)}))}},{key:"updateValue",value:function(e){this.value=e,this.previousValue=e,this.valueError=void 0,this.updateDom()}},{key:"updateField",value:function(e){this.field=e,this.previousField=e,this.fieldError=void 0,this.updateDom()}},{key:"updateDom",value:function(t){var n=this.dom.tree;n&&(n.style.marginLeft=24*this.getLevel()+"px");var i=this.dom.field;if(i){var r;if(this.fieldEditable?(i.contentEditable=this.editable.field,i.spellcheck=!1,i.className="jsoneditor-field"):(i.contentEditable=!1,i.className="jsoneditor-readonly"),void 0!==this.index)r=this.index;else if(void 0!==this.field)r=this.field;else{var o=this.editor.options.schema?e._findSchema(this.editor.options.schema,this.editor.options.schemaRefs||{},this.getPath()):void 0;r=o&&o.title?o.title:this._hasChilds()?this.type:""}i.innerHTML=this._escapeHTML(r),this._updateSchema()}var s=this.dom.value;s&&("array"===this.type?(this.updateNodeName(),Object(h.addClassName)(this.dom.tr,"jsoneditor-expandable")):"object"===this.type?(this.updateNodeName(),Object(h.addClassName)(this.dom.tr,"jsoneditor-expandable")):(s.innerHTML=this._escapeHTML(this.value),Object(h.removeClassName)(this.dom.tr,"jsoneditor-expandable"))),this._updateDomField(),this._updateDomValue(),this._updateCssClassName(),t&&!0===t.updateIndexes&&this._updateDomIndexes(),t&&!0===t.recurse&&this.childs&&this.childs.forEach(function(e){e.updateDom(t)}),this.error&&this.updateError(),this.append&&this.append.updateDom(),this.showMore&&this.showMore.updateDom()}},{key:"_updateSchema",value:function(){this.editor&&this.editor.options&&(this.schema=this.editor.options.schema?e._findSchema(this.editor.options.schema,this.editor.options.schemaRefs||{},this.getPath()):null,this.schema?this.enum=e._findEnum(this.schema):delete this.enum)}},{key:"_updateDomIndexes",value:function(){var e=this.dom.value,t=this.childs;e&&t&&("array"===this.type?t.forEach(function(e,t){e.index=t;var n=e.dom.field;n&&(n.innerHTML=t)}):"object"===this.type&&t.forEach(function(e){void 0!==e.index&&(delete e.index,void 0===e.field&&(e.field=""))}))}},{key:"_createDomValue",value:function(){var e;return"array"===this.type?(e=document.createElement("div")).innerHTML="[...]":"object"===this.type?(e=document.createElement("div")).innerHTML="{...}":(!this.editable.value&&Object(h.isUrl)(this.value)?(e=document.createElement("a")).href=this.value:((e=document.createElement("div")).contentEditable=this.editable.value,e.spellcheck=!1),e.innerHTML=this._escapeHTML(this.value)),e}},{key:"_createDomExpandButton",value:function(){var e=document.createElement("button");return e.type="button",this._hasChilds()?(e.className=this.expanded?"jsoneditor-button jsoneditor-expanded":"jsoneditor-button jsoneditor-collapsed",e.title=Object(g.c)("expandTitle")):(e.className="jsoneditor-button jsoneditor-invisible",e.title=""),e}},{key:"_createDomTree",value:function(){var e=this.dom,t=document.createElement("table"),n=document.createElement("tbody");t.style.borderCollapse="collapse",t.className="jsoneditor-values",t.appendChild(n);var i=document.createElement("tr");n.appendChild(i);var r=document.createElement("td");r.className="jsoneditor-tree",i.appendChild(r),e.expand=this._createDomExpandButton(),r.appendChild(e.expand),e.tdExpand=r;var o=document.createElement("td");o.className="jsoneditor-tree",i.appendChild(o),e.field=this._createDomField(),o.appendChild(e.field),e.tdField=o;var s=document.createElement("td");s.className="jsoneditor-tree",i.appendChild(s),"object"!==this.type&&"array"!==this.type&&(s.appendChild(document.createTextNode(":")),s.className="jsoneditor-separator"),e.tdSeparator=s;var a=document.createElement("td");return a.className="jsoneditor-tree",i.appendChild(a),e.value=this._createDomValue(),a.appendChild(e.value),e.tdValue=a,t}},{key:"onEvent",value:function(e){var t=e.type,n=e.target||e.srcElement,i=this.dom,r=this,o=this._hasChilds();if("function"==typeof this.editor.options.onEvent&&this._onEvent(e),n!==i.drag&&n!==i.menu||("mouseover"===t?this.editor.highlighter.highlight(this):"mouseout"===t&&this.editor.highlighter.unhighlight()),"click"===t&&n===i.menu){var s=r.editor.highlighter;s.highlight(r),s.lock(),Object(h.addClassName)(i.menu,"jsoneditor-selected"),this.showContextMenu(i.menu,function(){Object(h.removeClassName)(i.menu,"jsoneditor-selected"),s.unlock(),s.unhighlight()})}if("click"===t&&(n===i.expand||("view"===r.editor.options.mode||"form"===r.editor.options.mode)&&"DIV"===n.nodeName)&&o){var a=e.ctrlKey;this._onExpand(a)}"click"!==t||e.target!==r.dom.tdColor&&e.target!==r.dom.color||this._showColorPicker(),"change"===t&&n===i.checkbox&&(this.dom.value.innerHTML=!this.value,this._getDomValue(),this._updateDomDefault()),"change"===t&&n===i.select&&(this.dom.value.innerHTML=i.select.value,this._getDomValue(),this._updateDomValue());var l=i.value;if(n===l)switch(t){case"blur":case"change":this._getDomValue(),this._clearValueError(),this._updateDomValue();var c=this._escapeHTML(this.value);l.innerHTML!==c&&(l.innerHTML=c);break;case"input":this._getDomValue(),this._updateDomValue();break;case"keydown":case"mousedown":this.editor.selection=this.editor.getDomSelection();break;case"click":e.ctrlKey&&this.editable.value&&Object(h.isUrl)(this.value)&&(e.preventDefault(),window.open(this.value,"_blank"));break;case"keyup":this._getDomValue(),this._updateDomValue();break;case"cut":case"paste":setTimeout(function(){r._getDomValue(),r._updateDomValue()},1)}var u=i.field;if(n===u)switch(t){case"blur":this._getDomField(!0),this._updateDomField();var d=this._escapeHTML(this.field);u.innerHTML!==d&&(u.innerHTML=d);break;case"input":this._getDomField(),this._updateSchema(),this._updateDomField(),this._updateDomValue();break;case"keydown":case"mousedown":this.editor.selection=this.editor.getDomSelection();break;case"keyup":this._getDomField(),this._updateDomField();break;case"cut":case"paste":setTimeout(function(){r._getDomField(),r._updateDomField()},1)}var f=i.tree;f&&n===f.parentNode&&"click"===t&&!e.hasMoved&&((void 0!==e.offsetX?e.offsetX<24*(this.getLevel()+1):e.pageX<Object(h.getAbsoluteLeft)(i.tdSeparator))||o?u&&(Object(h.setEndOfContentEditable)(u),u.focus()):l&&!this.enum&&(Object(h.setEndOfContentEditable)(l),l.focus())),(n!==i.tdExpand||o)&&n!==i.tdField&&n!==i.tdSeparator||"click"!==t||e.hasMoved||u&&(Object(h.setEndOfContentEditable)(u),u.focus()),"keydown"===t&&this.onKeyDown(e)}},{key:"_onEvent",value:function(e){var t=e.target;if(t===this.dom.field||t===this.dom.value){var n={field:this.getField(),path:this.getPath()};this._hasChilds()||t!==this.dom.value||(n.value=this.getValue()),this.editor.options.onEvent(n,e)}}},{key:"onKeyDown",value:function(t){var n,i,r,s,a,l,c,u,d,f,p,m,g,v=t.which||t.keyCode,y=t.target||t.srcElement,b=t.ctrlKey,_=t.shiftKey,w=t.altKey,x=!1,A="tree"===this.editor.options.mode,C=0<this.editor.multiselection.nodes.length?this.editor.multiselection.nodes:[this],k=C[0],M=C[C.length-1];if(13===v){if(y===this.dom.value)this.editable.value&&!t.ctrlKey||Object(h.isUrl)(this.value)&&(window.open(this.value,"_blank"),x=!0);else if(y===this.dom.expand&&this._hasChilds()){var S=t.ctrlKey;this._onExpand(S),y.focus(),x=!0}}else if(68===v)b&&A&&(e.onDuplicate(C),x=!0);else if(69===v)b&&(this._onExpand(_),y.focus(),x=!0);else if(77===v&&A)b&&(this.showContextMenu(y),x=!0);else if(46===v&&A)b&&(e.onRemove(C),x=!0);else if(45===v&&A)b&&!_?(this._onInsertBefore(),x=!0):b&&_&&(this._onInsertAfter(),x=!0);else if(35===v){if(w){var L=this._lastNode();L&&L.focus(e.focusElement||this._getElementName(y)),x=!0}}else if(36===v){if(w){var D=this._firstNode();D&&D.focus(e.focusElement||this._getElementName(y)),x=!0}}else if(37===v){if(w&&!_){var T=this._previousElement(y);T&&this.focus(this._getElementName(T)),x=!0}else if(w&&_&&A){if(M.expanded){var I=M.getAppendDom();r=I?I.nextSibling:void 0}else{var j=M.getDom();r=j.nextSibling}if(r){i=e.getNodeFromTarget(r),s=r.nextSibling;var O=e.getNodeFromTarget(s);i&&i instanceof E&&1!==M.parent.childs.length&&O&&O.parent&&(a=this.editor.getDomSelection(),l=(c=k.parent).childs[M.getIndex()+1]||c.append,u=k.getIndex(),d=O.getIndex(),f=c.getInternalPath(),p=O.parent.getInternalPath(),C.forEach(function(e){O.parent.moveBefore(e,O)}),this.focus(e.focusElement||this._getElementName(y)),this.editor._onAction("moveNodes",{count:C.length,fieldNames:C.map(o),oldParentPath:c.getInternalPath(),newParentPath:k.parent.getInternalPath(),oldIndex:l.getIndex(),newIndex:k.getIndex(),oldIndexRedo:u,newIndexRedo:d,oldParentPathRedo:f,newParentPathRedo:p,oldSelection:a,newSelection:this.editor.getDomSelection()}))}}}else if(38===v)w&&!_?((n=this._previousNode())&&(this.editor.deselect(!0),n.focus(e.focusElement||this._getElementName(y))),x=!0):!w&&b&&_&&A?((n=this._previousNode())&&((g=this.editor.multiselection).start=g.start||this,g.end=n,m=this.editor._findTopLevelNodes(g.start,g.end),this.editor.select(m),n.focus("field")),x=!0):w&&_&&A&&((n=k._previousNode())&&n.parent&&(a=this.editor.getDomSelection(),l=(c=k.parent).childs[M.getIndex()+1]||c.append,u=k.getIndex(),d=n.getIndex(),f=c.getInternalPath(),p=n.parent.getInternalPath(),C.forEach(function(e){n.parent.moveBefore(e,n)}),this.focus(e.focusElement||this._getElementName(y)),this.editor._onAction("moveNodes",{count:C.length,fieldNames:C.map(o),oldParentPath:c.getInternalPath(),newParentPath:k.parent.getInternalPath(),oldIndex:l.getIndex(),newIndex:k.getIndex(),oldIndexRedo:u,newIndexRedo:d,oldParentPathRedo:f,newParentPathRedo:p,oldSelection:a,newSelection:this.editor.getDomSelection()})),x=!0);else if(39===v){if(w&&!_){var F=this._nextElement(y);F&&this.focus(this._getElementName(F)),x=!0}else if(w&&_&&A){var N=(j=k.getDom()).previousSibling;N&&(n=e.getNodeFromTarget(N))&&n.parent&&!n.isVisible()&&(a=this.editor.getDomSelection(),l=(c=k.parent).childs[M.getIndex()+1]||c.append,u=k.getIndex(),d=n.getIndex(),f=c.getInternalPath(),p=n.parent.getInternalPath(),C.forEach(function(e){n.parent.moveBefore(e,n)}),this.focus(e.focusElement||this._getElementName(y)),this.editor._onAction("moveNodes",{count:C.length,fieldNames:C.map(o),oldParentPath:c.getInternalPath(),newParentPath:k.parent.getInternalPath(),oldIndex:l.getIndex(),newIndex:k.getIndex(),oldIndexRedo:u,newIndexRedo:d,oldParentPathRedo:f,newParentPathRedo:p,oldSelection:a,newSelection:this.editor.getDomSelection()}))}}else if(40===v)if(w&&!_)(i=this._nextNode())&&(this.editor.deselect(!0),i.focus(e.focusElement||this._getElementName(y))),x=!0;else if(!w&&b&&_&&A)(i=this._nextNode())&&((g=this.editor.multiselection).start=g.start||this,g.end=i,m=this.editor._findTopLevelNodes(g.start,g.end),this.editor.select(m),i.focus("field")),x=!0;else if(w&&_&&A){(i=M.expanded?M.append?M.append._nextNode():void 0:M._nextNode())&&!i.isVisible()&&(i=i.parent.showMore),i&&i instanceof E&&(i=M);var Y=i&&(i._nextNode()||i.parent.append);Y&&Y.parent&&(a=this.editor.getDomSelection(),l=(c=k.parent).childs[M.getIndex()+1]||c.append,u=k.getIndex(),d=Y.getIndex(),f=c.getInternalPath(),p=Y.parent.getInternalPath(),C.forEach(function(e){Y.parent.moveBefore(e,Y)}),this.focus(e.focusElement||this._getElementName(y)),this.editor._onAction("moveNodes",{count:C.length,fieldNames:C.map(o),oldParentPath:c.getInternalPath(),newParentPath:k.parent.getInternalPath(),oldParentPathRedo:f,newParentPathRedo:p,oldIndexRedo:u,newIndexRedo:d,oldIndex:l.getIndex(),newIndex:k.getIndex(),oldSelection:a,newSelection:this.editor.getDomSelection()})),x=!0}x&&(t.preventDefault(),t.stopPropagation())}},{key:"_onExpand",value:function(e){if(e){var t=this.dom.tr.parentNode,n=t.parentNode,i=n.scrollTop;n.removeChild(t)}this.expanded?this.collapse(e):this.expand(e),e&&(n.appendChild(t),n.scrollTop=i)}},{key:"_showColorPicker",value:function(){if("function"==typeof this.editor.options.onColorPicker&&this.dom.color){var e=this;e._deleteDomColor(),e.updateDom();var t=Object(x.a)(this.dom.color,this.editor.frame);this.editor.options.onColorPicker(t,this.value,function(t){"string"==typeof t&&t!==e.value&&(e._deleteDomColor(),e.value=t,e.updateDom(),e._debouncedOnChangeValue())})}}},{key:"getFieldNames",value:function(e){return"object"===this.type?this.childs.filter(function(t){return t!==e}).map(function(e){return e.field}):[]}},{key:"_onInsertBefore",value:function(t,n,i){var r=this.editor.getDomSelection(),o=new e(this.editor,{field:void 0!==t?t:"",value:void 0!==n?n:"",type:i});o.expand(!0);var s=this.getInternalPath();this.parent.insertBefore(o,this),this.editor.highlighter.unhighlight(),o.focus("field");var a=this.editor.getDomSelection();this.editor._onAction("insertBeforeNodes",{nodes:[o],paths:[o.getInternalPath()],beforePath:s,parentPath:this.parent.getInternalPath(),oldSelection:r,newSelection:a})}},{key:"_onInsertAfter",value:function(t,n,i){var r=this.editor.getDomSelection(),o=new e(this.editor,{field:void 0!==t?t:"",value:void 0!==n?n:"",type:i});o.expand(!0),this.parent.insertAfter(o,this),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getDomSelection();this.editor._onAction("insertAfterNodes",{nodes:[o],paths:[o.getInternalPath()],afterPath:this.getInternalPath(),parentPath:this.parent.getInternalPath(),oldSelection:r,newSelection:s})}},{key:"_onAppend",value:function(t,n,i){var r=this.editor.getDomSelection(),o=new e(this.editor,{field:void 0!==t?t:"",value:void 0!==n?n:"",type:i});o.expand(!0),this.parent.appendChild(o),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getDomSelection();this.editor._onAction("appendNodes",{nodes:[o],paths:[o.getInternalPath()],parentPath:this.parent.getInternalPath(),oldSelection:r,newSelection:s})}},{key:"_onChangeType",value:function(e){var t=this.type;if(e!==t){var n=this.editor.getDomSelection();this.changeType(e);var i=this.editor.getDomSelection();this.editor._onAction("changeType",{path:this.getInternalPath(),oldType:t,newType:e,oldSelection:n,newSelection:i})}}},{key:"sort",value:function(e,t){if("string"==typeof e&&(e=Object(h.parsePath)(e)),this._hasChilds()){this.hideChilds();var n=this.childs;this.childs=this.childs.concat();var i="desc"===t?-1:1;"object"===this.type?this.childs.sort(function(e,t){return i*w()(e.field,t.field)}):this.childs.sort(function(t,n){var r=t.getNestedChild(e),o=n.getNestedChild(e);if(!r)return i;if(!o)return-i;var s=r.value,a=o.value;return"string"!=typeof s&&"string"!=typeof a?a<s?i:s<a?-i:0:i*w()(s,a)}),this._updateDomIndexes(),this.editor._onAction("sort",{path:this.getInternalPath(),oldChilds:n,newChilds:this.childs}),this.showChilds()}}},{key:"update",value:function(e){var t=this.getInternalValue();this.setValue(e),this.editor._onAction("transform",{path:this.getInternalPath(),oldValue:t,newValue:this.getInternalValue()})}},{key:"_detachFromDom",value:function(){var e,t=this.dom.tr?this.dom.tr.parentNode:void 0,n=(e=this.expanded?this.getAppendDom():this.getDom())&&e.parentNode?e.nextSibling:void 0;return this.hide({resetVisibleChilds:!1}),{table:t,nextTr:n}}},{key:"_attachToDom",value:function(e){e.table&&(e.nextTr?e.table.insertBefore(this.getDom(),e.nextTr):e.table.appendChild(this.getDom())),this.expanded&&this.showChilds()}},{key:"transform",value:function(e){if(this._hasChilds()){this.hideChilds();try{var t=this.getInternalValue(),n=this.getValue(),i=b.a.search(n,e);this.setValue(i);var r=this.getInternalValue();this.editor._onAction("transform",{path:this.getInternalPath(),oldValue:t,newValue:r}),this.showChilds()}catch(e){this.showChilds(),this.editor._onError(e)}}}},{key:"extract",value:function(){this.editor.node.hideChilds(),this.hideChilds();try{var e=this.editor.node.getInternalValue();this.editor._setRoot(this);var t=this.editor.node.getInternalValue();this.editor._onAction("transform",{path:this.editor.node.getInternalPath(),oldValue:e,newValue:t})}catch(e){this.editor._onError(e)}finally{this.updateDom({recurse:!0}),this.showChilds()}}},{key:"getNestedChild",value:function(e){for(var t=0,n=this;n&&t<e.length;)n=n.findChildByProperty(e[t]),t++;return n}},{key:"findChildByProperty",value:function(e){if("object"===this.type)return this.childs.find(function(t){return t.field===e})}},{key:"getAppendDom",value:function(){return this.append||(this.append=new E(this.editor),this.append.setParent(this)),this.append.getDom()}},{key:"getShowMoreDom",value:function(){return this.showMore||(this.showMore=new D(this.editor,this)),this.showMore.getDom()}},{key:"nextSibling",value:function(){var e=this.parent.childs.indexOf(this);return this.parent.childs[e+1]||this.parent.append}},{key:"_previousNode",value:function(){var t=null,n=this.getDom();if(n&&n.parentNode)for(var i=n;i=i.previousSibling,t=e.getNodeFromTarget(i),i&&t&&t instanceof E&&!t.isVisible(););return t}},{key:"_nextNode",value:function(){var t=null,n=this.getDom();if(n&&n.parentNode)for(var i=n;i=i.nextSibling,t=e.getNodeFromTarget(i),i&&t&&t instanceof E&&!t.isVisible(););return t}},{key:"_firstNode",value:function(){var t=null,n=this.getDom();if(n&&n.parentNode){var i=n.parentNode.firstChild;t=e.getNodeFromTarget(i)}return t}},{key:"_lastNode",value:function(){var t=null,n=this.getDom();if(n&&n.parentNode){var i=n.parentNode.lastChild;for(t=e.getNodeFromTarget(i);i&&t&&!t.isVisible();)i=i.previousSibling,t=e.getNodeFromTarget(i)}return t}},{key:"_previousElement",value:function(e){var t=this.dom;switch(e){case t.value:if(this.fieldEditable)return t.field;case t.field:if(this._hasChilds())return t.expand;case t.expand:return t.menu;case t.menu:if(t.drag)return t.drag;default:return null}}},{key:"_nextElement",value:function(e){var t=this.dom;switch(e){case t.drag:return t.menu;case t.menu:if(this._hasChilds())return t.expand;case t.expand:if(this.fieldEditable)return t.field;case t.field:if(!this._hasChilds())return t.value;default:return null}}},{key:"_getElementName",value:function(e){var t=this;return Object.keys(this.dom).find(function(n){return t.dom[n]===e})}},{key:"_hasChilds",value:function(){return"array"===this.type||"object"===this.type}},{key:"addTemplates",value:function(e,t){var n=this,i=n.editor.options.templates;null!=i&&(i.length&&e.push({type:"separator"}),i.forEach(function(i){e.push({text:i.text,className:i.className||"jsoneditor-type-object",title:i.title,click:t?function(e,t){n._onAppend(e,t)}.bind(this,i.field,i.value):function(e,t){n._onInsertBefore(e,t)}.bind(this,i.field,i.value)})}))}},{key:"showContextMenu",value:function(t,n){var i=this,r=e.TYPE_TITLES,o=[];if(this.editable.value&&o.push({text:Object(g.c)("type"),title:Object(g.c)("typeTitle"),className:"jsoneditor-type-"+this.type,submenu:[{text:Object(g.c)("auto"),className:"jsoneditor-type-auto"+("auto"===this.type?" jsoneditor-selected":""),title:r.auto,click:function(){i._onChangeType("auto")}},{text:Object(g.c)("array"),className:"jsoneditor-type-array"+("array"===this.type?" jsoneditor-selected":""),title:r.array,click:function(){i._onChangeType("array")}},{text:Object(g.c)("object"),className:"jsoneditor-type-object"+("object"===this.type?" jsoneditor-selected":""),title:r.object,click:function(){i._onChangeType("object")}},{text:Object(g.c)("string"),className:"jsoneditor-type-string"+("string"===this.type?" jsoneditor-selected":""),title:r.string,click:function(){i._onChangeType("string")}}]}),this._hasChilds()&&(this.editor.options.enableSort&&o.push({text:Object(g.c)("sort"),title:Object(g.c)("sortTitle",{type:this.type}),className:"jsoneditor-sort-asc",click:function(){i.showSortModal()}}),this.editor.options.enableTransform&&o.push({text:Object(g.c)("transform"),title:Object(g.c)("transformTitle",{type:this.type}),className:"jsoneditor-transform",click:function(){i.showTransformModal()}}),this.parent&&o.push({text:Object(g.c)("extract"),title:Object(g.c)("extractTitle",{type:this.type}),className:"jsoneditor-extract",click:function(){i.extract()}})),this.parent&&this.parent._hasChilds()){o.length&&o.push({type:"separator"});var s=i.parent.childs;if(i===s[s.length-1]){var a=[{text:Object(g.c)("auto"),className:"jsoneditor-type-auto",title:r.auto,click:function(){i._onAppend("","","auto")}},{text:Object(g.c)("array"),className:"jsoneditor-type-array",title:r.array,click:function(){i._onAppend("",[])}},{text:Object(g.c)("object"),className:"jsoneditor-type-object",title:r.object,click:function(){i._onAppend("",{})}},{text:Object(g.c)("string"),className:"jsoneditor-type-string",title:r.string,click:function(){i._onAppend("","","string")}}];i.addTemplates(a,!0),o.push({text:Object(g.c)("appendText"),title:Object(g.c)("appendTitle"),submenuTitle:Object(g.c)("appendSubmenuTitle"),className:"jsoneditor-append",click:function(){i._onAppend("","","auto")},submenu:a})}var l=[{text:Object(g.c)("auto"),className:"jsoneditor-type-auto",title:r.auto,click:function(){i._onInsertBefore("","","auto")}},{text:Object(g.c)("array"),className:"jsoneditor-type-array",title:r.array,click:function(){i._onInsertBefore("",[])}},{text:Object(g.c)("object"),className:"jsoneditor-type-object",title:r.object,click:function(){i._onInsertBefore("",{})}},{text:Object(g.c)("string"),className:"jsoneditor-type-string",title:r.string,click:function(){i._onInsertBefore("","","string")}}];i.addTemplates(l,!1),o.push({text:Object(g.c)("insert"),title:Object(g.c)("insertTitle"),submenuTitle:Object(g.c)("insertSub"),className:"jsoneditor-insert",click:function(){i._onInsertBefore("","","auto")},submenu:l}),this.editable.field&&(o.push({text:Object(g.c)("duplicateText"),title:Object(g.c)("duplicateField"),className:"jsoneditor-duplicate",click:function(){e.onDuplicate(i)}}),o.push({text:Object(g.c)("removeText"),title:Object(g.c)("removeField"),className:"jsoneditor-remove",click:function(){e.onRemove(i)}}))}if(this.editor.options.onCreateMenu){var c=i.getPath();o=this.editor.options.onCreateMenu(o,{type:"single",path:c,paths:[c]})}new m.a(o,{close:n}).show(t,this.editor.frame)}},{key:"showSortModal",value:function(){var e=this,t=this.editor.options.modalAnchor||k.a,n=this.getValue();Object(A.a)(t,n,function(t){var n=t.path,i=Object(h.parsePath)(n);e.sortedBy=t,e.sort(i,t.direction)},e.sortedBy)}},{key:"showTransformModal",value:function(){var e=this,t=this.editor.options.modalAnchor||k.a,n=e.getValue();Object(C.a)(t,n,function(t){e.transform(t)})}},{key:"_getType",value:function(e){return e instanceof Array?"array":e instanceof Object?"object":"string"==typeof e&&"string"!=typeof Object(h.parseString)(e)?"string":"auto"}},{key:"_escapeHTML",value:function(e){if("string"!=typeof e)return String(e);var t=String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ {2}/g," ").replace(/^ /," ").replace(/ $/," "),n=JSON.stringify(t),i=n.substring(1,n.length-1);return!0===this.editor.options.escapeUnicode&&(i=Object(h.escapeUnicodeChars)(i)),i}},{key:"_unescapeHTML",value:function(e){var t='"'+this._escapeJSON(e)+'"';return Object(h.parse)(t).replace(/</g,"<").replace(/>/g,">").replace(/ |\u00A0/g," ").replace(/&/g,"&")}},{key:"_escapeJSON",value:function(e){for(var t="",n=0;n<e.length;){var i=e.charAt(n);"\n"===i?t+="\\n":"\\"===i?(t+=i,n++,""!==(i=e.charAt(n))&&-1!=='"\\/bfnrtu'.indexOf(i)||(t+="\\"),t+=i):t+='"'===i?'\\"':i,n++}return t}},{key:"updateNodeName",value:function(){var e,t=this.childs?this.childs.length:0;if("object"===this.type||"array"===this.type){if(this.editor.options.onNodeName)try{e=this.editor.options.onNodeName({path:this.getPath(),size:t,type:this.type})}catch(e){console.error("Error in onNodeName callback: ",e)}this.dom.value.innerHTML="object"===this.type?"{"+(e||t)+"}":"["+(e||t)+"]"}}},{key:"recursivelyUpdateNodeName",value:function(){var e;if(this.expanded&&(this.updateNodeName(),"undefined"!==this.childs))for(e in this.childs)this.childs[e].recursivelyUpdateNodeName()}}]),e}();M.prototype.DEBOUNCE_INTERVAL=150,M.prototype.MAX_SEARCH_RESULTS=999;var S=100;M.focusElement=void 0,M.select=function(e){setTimeout(function(){Object(h.selectContentEditable)(e)},0)},M.onDragStart=function(e,t){if(!Array.isArray(e))return M.onDragStart([e],t);if(0!==e.length){var n=e[0],i=e[e.length-1],o=n.parent,s=M.getNodeFromTarget(t.target),a=n.editor,l=Object(h.getAbsoluteTop)(s.dom.tr)-Object(h.getAbsoluteTop)(n.dom.tr);a.mousemove||(a.mousemove=Object(h.addEventListener)(window,"mousemove",function(t){M.onDrag(e,t)})),a.mouseup||(a.mouseup=Object(h.addEventListener)(window,"mouseup",function(t){M.onDragEnd(e,t)})),a.highlighter.lock(),a.drag={oldCursor:document.body.style.cursor,oldSelection:a.getDomSelection(),oldPaths:e.map(r),oldParent:o,oldNextNode:o.childs[i.getIndex()+1]||o.append,oldParentPathRedo:o.getInternalPath(),oldIndexRedo:n.getIndex(),mouseX:t.pageX,offsetY:l,level:n.getLevel()},document.body.style.cursor="move",t.preventDefault()}},M.onDrag=function(e,t){if(!Array.isArray(e))return M.onDrag([e],t);if(0!==e.length){var n,i,r,o,s,a,l,c,u,d,f,p=e[0].editor,m=t.pageY-p.drag.offsetY,g=t.pageX,v=!1,y=e[0],b=y.dom.tr,_=Object(h.getAbsoluteTop)(b),w=b.offsetHeight;if(m<_){for(n=b;n=n.previousSibling,a=M.getNodeFromTarget(n),c=n?Object(h.getAbsoluteTop)(n):0,n&&m<c;);a&&!a.parent&&(a=void 0),a||(n=(s=b.parentNode.firstChild)?s.nextSibling:void 0,(a=M.getNodeFromTarget(n))===y&&(a=void 0)),a&&a.isVisible()&&(c=(n=a.dom.tr)?Object(h.getAbsoluteTop)(n):0)+w<m&&(a=void 0),a&&(e.forEach(function(e){a.parent.moveBefore(e,a)}),v=!0)}else{var x=e[e.length-1];if(r=(o=x.expanded&&x.append?x.append.getDom():x.dom.tr)?o.nextSibling:void 0){for(u=Object(h.getAbsoluteTop)(r),i=r;l=M.getNodeFromTarget(i),i&&(d=i.nextSibling?Object(h.getAbsoluteTop)(i.nextSibling):0,f=i?d-u:0,l&&l.parent.childs.length===e.length&&l.parent.childs[e.length-1]===x&&(_+=27),i=i.nextSibling),i&&_+f<m;);if(l&&l.parent){var A=g-p.drag.mouseX,C=Math.round(A/24/2),k=p.drag.level+C,S=l.getLevel();for(n=l.dom.tr&&l.dom.tr.previousSibling;S<k&&n;){if(a=M.getNodeFromTarget(n),e.some(function(e){return e===a||a.isDescendantOf(e)}));else{if(!(a instanceof E))break;var L=a.parent.childs;if(L.length===e.length&&L[e.length-1]===x)break;S=(l=M.getNodeFromTarget(n)).getLevel()}n=n.previousSibling}l instanceof E&&!l.isVisible()&&l.parent.showMore.isVisible()&&(l=l._nextNode()),l&&l.dom.tr&&o.nextSibling!==l.dom.tr&&(e.forEach(function(e){l.parent.moveBefore(e,l)}),v=!0)}}}v&&(p.drag.mouseX=g,p.drag.level=y.getLevel()),p.startAutoScroll(m),t.preventDefault()}},M.onDragEnd=function(e,t){if(!Array.isArray(e))return M.onDrag([e],t);if(0!==e.length){var n=e[0],i=n.editor;e[0]&&e[0].dom.menu.focus();var r=i.drag.oldParent.getInternalPath(),s=n.parent.getInternalPath(),a=i.drag.oldParent===n.parent,l=i.drag.oldNextNode.getIndex(),c=n.getIndex(),u=i.drag.oldParentPathRedo,d=i.drag.oldIndexRedo,f=a&&d<c?c+e.length:c;a&&d===c||i._onAction("moveNodes",{count:e.length,fieldNames:e.map(o),oldParentPath:r,newParentPath:s,oldIndex:l,newIndex:c,oldIndexRedo:d,newIndexRedo:f,oldParentPathRedo:u,newParentPathRedo:null,oldSelection:i.drag.oldSelection,newSelection:i.getDomSelection()}),document.body.style.cursor=i.drag.oldCursor,i.highlighter.unlock(),e.forEach(function(e){e.updateDom(),t.target!==e.dom.drag&&t.target!==e.dom.menu&&i.highlighter.unhighlight()}),delete i.drag,i.mousemove&&(Object(h.removeEventListener)(window,"mousemove",i.mousemove),delete i.mousemove),i.mouseup&&(Object(h.removeEventListener)(window,"mouseup",i.mouseup),delete i.mouseup),i.stopAutoScroll(),t.preventDefault()}},M._findEnum=function(e){if(e.enum)return e.enum;var t=e.oneOf||e.anyOf||e.allOf;if(t){var n=t.filter(function(e){return e.enum});if(0<n.length)return n[0].enum}return null},M._findSchema=function(e,t,n){var i=e,r=i,o=e.oneOf||e.anyOf||e.allOf;o=o||[e];for(var s=0;s<o.length;s++){"$ref"in(i=o[s])&&"string"==typeof i.$ref&&(i=t[i.$ref])&&(r=M._findSchema(i,t,n));for(var a=0;a<n.length&&i;a++){var l=n.slice(a+1,n.length),c=n[a];if("string"!=typeof c||!i.patternProperties||i.properties&&c in i.properties)"string"==typeof c&&i.properties?c in i.properties?(i=i.properties[c])&&(r=M._findSchema(i,t,l)):r=null:"number"==typeof c&&i.items&&(i=i.items)&&(r=M._findSchema(i,t,l));else for(var u in i.patternProperties)c.match(u)&&(r=M._findSchema(i.patternProperties[u],t,l))}}return r===e&&0<n.length?null:r},M.onRemove=function(e){if(!Array.isArray(e))return M.onRemove([e]);if(e&&0<e.length){var t=e[0],n=t.parent,i=t.editor,o=t.getIndex();i.highlighter.unhighlight();var s=i.getDomSelection();M.blurNodes(e);var a=i.getDomSelection(),l=e.map(r);e.forEach(function(e){e.parent._remove(e)}),i._onAction("removeNodes",{nodes:e,paths:l,parentPath:n.getInternalPath(),index:o,oldSelection:s,newSelection:a})}},M.onDuplicate=function(e){if(!Array.isArray(e))return M.onDuplicate([e]);if(e&&0<e.length){var t=e[e.length-1],n=t.parent,i=t.editor;i.deselect(i.multiselection.nodes);var o=i.getDomSelection(),s=t,a=e.map(function(e){var t=e.clone();if("object"===e.parent.type){var i=e.parent.getFieldNames();t.field=Object(h.findUniqueName)(e.field,i)}return n.insertAfter(t,s),s=t});1===e.length?"object"===a[0].parent.type?(a[0].dom.field.innerHTML=e[0].field,a[0].focus("field")):a[0].focus():i.select(a);var l=i.getDomSelection();i._onAction("duplicateNodes",{paths:e.map(r),clonePaths:a.map(r),afterPath:t.getInternalPath(),parentPath:n.getInternalPath(),oldSelection:o,newSelection:l})}},M.getNodeFromTarget=function(e){for(;e;){if(e.node)return e.node;e=e.parentNode}},M.targetIsColorPicker=function(e){var t=M.getNodeFromTarget(e);if(t)for(var n=e&&e.parentNode;n;){if(n===t.dom.color)return!0;n=n.parentNode}return!1},M.blurNodes=function(e){if(Array.isArray(e)){var t=e[0],n=t.parent,i=t.getIndex();n.childs[i+e.length]?n.childs[i+e.length].focus():n.childs[i-1]?n.childs[i-1].focus():n.focus()}else M.blurNodes([e])},M.TYPE_TITLES={auto:Object(g.c)("autoType"),object:Object(g.c)("objectType"),array:Object(g.c)("arrayType"),string:Object(g.c)("stringType")};var L,E=((a.prototype=new(L=M)).getDom=function(){var e=this.dom;if(e.tr)return e.tr;this._updateEditability();var t=document.createElement("tr");if(t.className="jsoneditor-append",t.node=this,e.tr=t,"tree"===this.editor.options.mode){e.tdDrag=document.createElement("td");var n=document.createElement("td");e.tdMenu=n;var i=document.createElement("button");i.type="button",i.className="jsoneditor-button jsoneditor-contextmenu",i.title="Click to open the actions menu (Ctrl+M)",e.menu=i,n.appendChild(e.menu)}var r=document.createElement("td"),o=document.createElement("div");return o.innerHTML="("+Object(g.c)("empty")+")",o.className="jsoneditor-readonly",r.appendChild(o),e.td=r,e.text=o,this.updateDom(),t},a.prototype.getPath=function(){return null},a.prototype.getIndex=function(){return null},a.prototype.updateDom=function(e){var t=this.dom,n=t.td;n&&(n.style.paddingLeft=24*this.getLevel()+26+"px");var i=t.text;i&&(i.innerHTML="("+Object(g.c)("empty")+" "+this.parent.type+")");var r=t.tr;this.isVisible()?t.tr.firstChild||(t.tdDrag&&r.appendChild(t.tdDrag),t.tdMenu&&r.appendChild(t.tdMenu),r.appendChild(n)):t.tr.firstChild&&(t.tdDrag&&r.removeChild(t.tdDrag),t.tdMenu&&r.removeChild(t.tdMenu),r.removeChild(n))},a.prototype.isVisible=function(){return 0===this.parent.childs.length},a.prototype.showContextMenu=function(e,t){var n=this,i=L.TYPE_TITLES,r=[{text:Object(g.c)("auto"),className:"jsoneditor-type-auto",title:i.auto,click:function(){n._onAppend("","","auto")}},{text:Object(g.c)("array"),className:"jsoneditor-type-array",title:i.array,click:function(){n._onAppend("",[])}},{text:Object(g.c)("object"),className:"jsoneditor-type-object",title:i.object,click:function(){n._onAppend("",{})}},{text:Object(g.c)("string"),className:"jsoneditor-type-string",title:i.string,click:function(){n._onAppend("","","string")}}];n.addTemplates(r,!0);var o=[{text:Object(g.c)("appendText"),title:Object(g.c)("appendTitleAuto"),submenuTitle:Object(g.c)("appendSubmenuTitle"),className:"jsoneditor-insert",click:function(){n._onAppend("","","auto")},submenu:r}];if(this.editor.options.onCreateMenu){var s=n.parent.getPath();o=this.editor.options.onCreateMenu(o,{type:"append",path:s,paths:[s]})}new m.a(o,{close:t}).show(e,this.editor.frame)},a.prototype.onEvent=function(e){var t=e.type,n=e.target||e.srcElement,i=this.dom;if(n===i.menu&&("mouseover"===t?this.editor.highlighter.highlight(this.parent):"mouseout"===t&&this.editor.highlighter.unhighlight()),"click"===t&&n===i.menu){var r=this.editor.highlighter;r.highlight(this.parent),r.lock(),Object(h.addClassName)(i.menu,"jsoneditor-selected"),this.showContextMenu(i.menu,function(){Object(h.removeClassName)(i.menu,"jsoneditor-selected"),r.unlock(),r.unhighlight()})}"keydown"===t&&this.onKeyDown(e)},a),D=((l.prototype=new M).getDom=function(){if(this.dom.tr)return this.dom.tr;if(this._updateEditability(),!this.dom.tr){var e=this,t=this.parent,n=document.createElement("a");n.appendChild(document.createTextNode(Object(g.c)("showMore"))),n.href="#",n.onclick=function(n){return t.visibleChilds=Math.floor(t.visibleChilds/t.getMaxVisibleChilds()+1)*t.getMaxVisibleChilds(),e.updateDom(),t.showChilds(),n.preventDefault(),!1};var i=document.createElement("a");i.appendChild(document.createTextNode(Object(g.c)("showAll"))),i.href="#",i.onclick=function(n){return t.visibleChilds=1/0,e.updateDom(),t.showChilds(),n.preventDefault(),!1};var r=document.createElement("div"),o=document.createTextNode(this._getShowMoreText());r.className="jsoneditor-show-more",r.appendChild(o),r.appendChild(n),r.appendChild(document.createTextNode(". ")),r.appendChild(i),r.appendChild(document.createTextNode(". "));var s=document.createElement("td");s.appendChild(r);var a=document.createElement("tr");"tree"===this.editor.options.mode&&(a.appendChild(document.createElement("td")),a.appendChild(document.createElement("td"))),a.appendChild(s),a.className="jsoneditor-show-more",this.dom.tr=a,this.dom.moreContents=r,this.dom.moreText=o}return this.updateDom(),this.dom.tr},l.prototype.updateDom=function(e){if(this.isVisible()){if(this.dom.tr.node=this.parent.childs[this.parent.visibleChilds],!this.dom.tr.parentNode){var t=this.parent._getNextTr();t&&t.parentNode.insertBefore(this.dom.tr,t)}this.dom.moreText.nodeValue=this._getShowMoreText(),this.dom.moreContents.style.marginLeft=24*(this.getLevel()+1)+"px"}else this.dom.tr&&this.dom.tr.parentNode&&this.dom.tr.parentNode.removeChild(this.dom.tr)},l.prototype._getShowMoreText=function(){return Object(g.c)("showMoreStatus",{visibleChilds:this.parent.visibleChilds,totalChilds:this.parent.childs.length})+" "},l.prototype.isVisible=function(){return this.parent.expanded&&this.parent.childs.length>this.parent.visibleChilds},l.prototype.onEvent=function(e){"keydown"===e.type&&this.onKeyDown(e)},l),T=n(7),I={start:function(e,t,n){return 0===t.indexOf(e)},contain:function(e,t,n){return-1<t.indexOf(e)}};n.d(t,"treeModeMixins",function(){return O});var j={create:function(e,t){if(!e)throw new Error("No container element provided.");this.container=e,this.dom={},this.highlighter=new d,this.selection=void 0,this.multiselection={nodes:[]},this.validateSchema=null,this.validationSequence=0,this.errorNodes=[],this.node=null,this.focusTarget=null,this._setOptions(t),t.autocomplete&&(this.autocomplete=function(e){function t(e){var t,n;document.createRange?((t=document.createRange()).selectNodeContents(e),t.collapse(!1),(n=window.getSelection()).removeAllRanges(),n.addRange(t)):document.selection&&((t=document.body.createTextRange()).moveToElementText(e),t.collapse(!1),t.select())}function n(e){return void 0===c&&((c=document.createElement("span")).style.visibility="hidden",c.style.position="fixed",c.style.outline="0",c.style.margin="0",c.style.padding="0",c.style.border="0",c.style.left="0",c.style.whiteSpace="pre",c.style.fontSize=s,c.style.fontFamily=a,c.style.fontWeight="normal",document.body.appendChild(c)),c.innerHTML=String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"),c.getBoundingClientRect().right}function i(){this.style.backgroundColor="#ddd"}function r(){this.style.backgroundColor=""}function o(){g.hide(),g.onmouseselection(this.__hint,g.rs)}(e=e||{}).filter=e.filter||"start",e.trigger=e.trigger||"keydown",e.confirmKeys=e.confirmKeys||[39,35,9],e.caseSensitive=e.caseSensitive||!1;var s="",a="",l=document.createElement("div");l.style.position="relative",l.style.outline="0",l.style.border="0",l.style.margin="0",l.style.padding="0";var c,u,d=document.createElement("div");d.className="autocomplete dropdown",d.style.position="absolute",d.style.visibility="hidden";var h,f,p,m,g,v={onArrowDown:function(){},onArrowUp:function(){},onEnter:function(){},onTab:function(){},startFrom:0,options:[],element:null,elementHint:null,elementStyle:null,wrapper:l,show:function(e,t,n){var i=this;this.startFrom=t,this.wrapper.remove(),this.elementHint&&(this.elementHint.remove(),this.elementHint=null),""===s&&(s=window.getComputedStyle(e).getPropertyValue("font-size")),""===a&&(a=window.getComputedStyle(e).getPropertyValue("font-family")),d.style.marginLeft="0",d.style.marginTop=e.getBoundingClientRect().height+"px",this.options=n,this.element!==e&&(this.element=e,this.elementStyle={zIndex:this.element.style.zIndex,position:this.element.style.position,backgroundColor:this.element.style.backgroundColor,borderColor:this.element.style.borderColor}),this.element.style.zIndex=3,this.element.style.position="relative",this.element.style.backgroundColor="transparent",this.element.style.borderColor="transparent",this.elementHint=e.cloneNode(),this.elementHint.className="autocomplete hint",this.elementHint.style.zIndex=2,this.elementHint.style.position="absolute",this.elementHint.onfocus=function(){i.element.focus()},this.element.addEventListener&&(this.element.removeEventListener("keydown",b),this.element.addEventListener("keydown",b,!1),this.element.removeEventListener("blur",_),this.element.addEventListener("blur",_,!1)),l.appendChild(this.elementHint),l.appendChild(d),e.parentElement.appendChild(l),this.repaint(e)},setText:function(e){this.element.innerText=e},getText:function(){return this.element.innerText},hideDropDown:function(){this.wrapper.remove(),this.elementHint&&(this.elementHint.remove(),this.elementHint=null,y.hide(),this.element.style.zIndex=this.elementStyle.zIndex,this.element.style.position=this.elementStyle.position,this.element.style.backgroundColor=this.elementStyle.backgroundColor,this.element.style.borderColor=this.elementStyle.borderColor)},repaint:function(t){var i=t.innerText;i=i.replace("\n","");var r=this.options.length,o=i.substring(this.startFrom);u=i.substring(0,this.startFrom);for(var s=0;s<r;s++){var a=this.options[s];if(!e.caseSensitive&&0===a.toLowerCase().indexOf(o.toLowerCase())||e.caseSensitive&&0===a.indexOf(o)){this.elementHint.innerText=u+o+a.substring(o.length),this.elementHint.realInnerText=u+a;break}}d.style.left=n(u)+"px",y.refresh(o,this.options),this.elementHint.style.width=n(this.elementHint.innerText)+10+"px","hidden"===d.style.visibility||(this.elementHint.style.width=n(this.elementHint.innerText)+d.clientWidth+"px")}},y=(h=d,f=[],p=0,m=-1,g={rs:v,hide:function(){h.style.visibility="hidden"},refresh:function(t,n){h.style.visibility="hidden",p=0,h.innerHTML="";var s=window.innerHeight||document.documentElement.clientHeight,a=h.parentNode.getBoundingClientRect(),l=a.top-6,c=s-a.bottom-6;f=[];var u="function"==typeof e.filter?e.filter:I[e.filter],d=u?n.filter(function(n){return u(e.caseSensitive?t:t.toLowerCase(),e.caseSensitive?n:n.toLowerCase(),e)}):[];0!==(f=d.map(function(e){var n=document.createElement("div");return n.className="item",n.onmouseover=i,n.onmouseout=r,n.onmousedown=o,n.__hint=e,n.innerHTML=e.substring(0,t.length)+"<b>"+e.substring(t.length)+"</b>",h.appendChild(n),n})).length&&(1===f.length&&(t.toLowerCase()===f[0].__hint.toLowerCase()&&!e.caseSensitive||t===f[0].__hint&&e.caseSensitive)||f.length<2||(g.highlight(0),3*c<l?(h.style.maxHeight=l+"px",h.style.top="",h.style.bottom="100%"):(h.style.top="100%",h.style.bottom="",h.style.maxHeight=c+"px"),h.style.visibility="visible"))},highlight:function(e){-1!==m&&f[m]&&(f[m].className="item"),f[e].className="item hover",m=e},move:function(e){return"hidden"===h.style.visibility?"":(p+e===-1||p+e===f.length||(p+=e,g.highlight(p)),f[p].__hint)},onmouseselection:function(){}}),b=function(n){var i=(n=n||window.event).keyCode;if(null!=this.elementHint&&33!==i&&34!==i){if(27===i)return v.hideDropDown(),v.element.focus(),n.preventDefault(),void n.stopPropagation();var r=this.element.innerText;if(r=r.replace("\n",""),0<=e.confirmKeys.indexOf(i))return 9===i&&0===this.elementHint.innerText.length&&v.onTab(),void(0<this.elementHint.innerText.length&&this.element.innerText!==this.elementHint.realInnerText&&(this.element.innerText=this.elementHint.realInnerText,v.hideDropDown(),t(this.element),9===i&&(v.element.focus(),n.preventDefault(),n.stopPropagation())));if(13!==i){if(40===i){var o=r.substring(this.startFrom),s=y.move(1);return""===s&&v.onArrowDown(),this.elementHint.innerText=u+o+s.substring(o.length),this.elementHint.realInnerText=u+s,n.preventDefault(),void n.stopPropagation()}if(38===i){var a=r.substring(this.startFrom),l=y.move(-1);""===l&&v.onArrowUp(),this.elementHint.innerText=u+a+l.substring(a.length),this.elementHint.realInnerText=u+l,n.preventDefault(),n.stopPropagation()}}else if(0===this.elementHint.innerText.length)v.onEnter();else{var c="hidden"===d.style.visibility;if(y.hide(),c)return v.hideDropDown(),v.element.focus(),void v.onEnter();this.element.innerText=this.elementHint.realInnerText,v.hideDropDown(),t(this.element),n.preventDefault(),n.stopPropagation()}}}.bind(v),_=function(e){v.hideDropDown()};return y.onmouseselection=function(e,n){n.element.innerText=n.elementHint.innerText=u+e,n.hideDropDown(),window.setTimeout(function(){n.element.focus(),t(n.element)},1)},v}(t.autocomplete)),this.options.history&&"view"!==this.options.mode&&(this.history=new f(this)),this._createFrame(),this._createTable()},destroy:function(){this.frame&&this.container&&this.frame.parentNode===this.container&&(this.container.removeChild(this.frame),this.frame=null),this.container=null,this.dom=null,this.clear(),this.node=null,this.focusTarget=null,this.selection=null,this.multiselection=null,this.errorNodes=null,this.validateSchema=null,this._debouncedValidate=null,this.history&&(this.history.destroy(),this.history=null),this.searchBox&&(this.searchBox.destroy(),this.searchBox=null),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null)},_setOptions:function(e){var t=this;this.options={search:!0,history:!0,mode:"tree",name:void 0,schema:null,schemaRefs:null,autocomplete:null,navigationBar:!0,mainMenuBar:!0,onSelectionChange:null,colorPicker:!0,onColorPicker:function(e,t,n){if(u.a){var i=e.getBoundingClientRect().top,r=window.innerHeight;new u.a({parent:e,color:t,popup:r-i<300&&300<i?"top":"bottom",onDone:function(e){var t=1===e.rgba[3]?e.hex.substr(0,7):e.hex;n(t)}}).show()}else console.warn("Cannot open color picker: the `vanilla-picker` library is not included in the bundle. Either use the full bundle or implement your own color picker using `onColorPicker`.")},timestampTag:!0,onEvent:null,enableSort:!0,enableTransform:!0},e&&Object.keys(e).forEach(function(n){t.options[n]=e[n]}),this.setSchema(this.options.schema,this.options.schemaRefs),this._debouncedValidate=Object(h.debounce)(this.validate.bind(this),this.DEBOUNCE_INTERVAL),e.onSelectionChange&&this.onSelectionChange(e.onSelectionChange),Object(g.b)(this.options.languages),Object(g.a)(this.options.language)},set:function(e){if(e instanceof Function||void 0===e)this.clear();else{this.content.removeChild(this.table);var t={field:this.options.name,value:e},n=new M(this,t);this._setRoot(n),this.validate(),this.node.expand(!1),this.content.appendChild(this.table)}this.history&&this.history.clear(),this.searchBox&&this.searchBox.clear()},update:function(e){if(!this.node.deepEqual(e)){var t=this.getSelection();if(this.onChangeDisabled=!0,this.node.update(e),this.onChangeDisabled=!1,this.validate(),this.searchBox&&!this.searchBox.isEmpty()&&this.searchBox.forceSearch(),t&&t.start&&t.end){var n=this.node.findNodeByPath(t.start.path),i=this.node.findNodeByPath(t.end.path);n&&i?this.setSelection(t.start,t.end):this.setSelection({},{})}else this.setSelection({},{})}},get:function(){return this.node?this.node.getValue():void 0},getText:function(){return JSON.stringify(this.get())},setText:function(e){try{this.set(Object(h.parse)(e))}catch(n){var t=Object(h.repair)(e);this.set(Object(h.parse)(t))}},updateText:function(e){try{this.update(Object(h.parse)(e))}catch(n){var t=Object(h.repair)(e);this.update(Object(h.parse)(t))}},setName:function(e){this.options.name=e,this.node&&this.node.updateField(this.options.name)},getName:function(){return this.options.name},focus:function(){var e=this.scrollableContent.querySelector("[contenteditable=true]");e?e.focus():this.node.dom.expand?this.node.dom.expand.focus():this.node.dom.menu?this.node.dom.menu.focus():(e=this.frame.querySelector("button"))&&e.focus()},clear:function(){this.node&&(this.node.hide(),delete this.node),this.treePath&&this.treePath.reset()},_setRoot:function(e){this.clear(),(this.node=e).setParent(null),e.setField(this.getName(),!1),delete e.index,this.tbody.appendChild(e.getDom())},search:function(e){var t;return this.node?(this.content.removeChild(this.table),t=this.node.search(e),this.content.appendChild(this.table)):t=[],t},expandAll:function(){this.node&&(this.content.removeChild(this.table),this.node.expand(),this.content.appendChild(this.table))},collapseAll:function(){this.node&&(this.content.removeChild(this.table),this.node.collapse(),this.content.appendChild(this.table))},_onAction:function(e,t){this.history&&this.history.add(e,t),this._onChange()},_onChange:function(){if(!this.onChangeDisabled){if(this.selection=this.getDomSelection(),this._debouncedValidate(),this.treePath){var e=this.node&&this.selection?this.node.findNodeByInternalPath(this.selection.path):this.multiselection?this.multiselection.nodes[0]:void 0;e?this._updateTreePath(e.getNodePath()):this.treePath.reset()}if(this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}if(this.options.onChangeJSON)try{this.options.onChangeJSON(this.get())}catch(e){console.error("Error in onChangeJSON callback: ",e)}if(this.options.onChangeText)try{this.options.onChangeText(this.getText())}catch(e){console.error("Error in onChangeText callback: ",e)}if(this.options.onClassName&&this.node.recursivelyUpdateCssClassesOnNodes(),this.options.onNodeName&&this.node.childs)try{this.node.recursivelyUpdateNodeName()}catch(e){console.error("Error in onNodeName callback: ",e)}}},validate:function(){var e=this.node;if(e){var t=e.getValue(),n=[];this.validateSchema&&(this.validateSchema(t)||(n=this.validateSchema.errors.map(function(e){return Object(h.improveSchemaError)(e)}).map(function(t){return{node:e.findNode(t.dataPath),error:t}}).filter(function(e){return null!=e.node})));try{this.validationSequence++;var i=this,r=this.validationSequence;this._validateCustom(t).then(function(e){if(r===i.validationSequence){var t=[].concat(n,e||[]);i._renderValidationErrors(t)}}).catch(function(e){console.error(e)})}catch(t){console.error(t)}}},_renderValidationErrors:function(e){this.errorNodes&&this.errorNodes.forEach(function(e){e.setError(null)});var t=e.reduce(function(e,t){return t.node.findParents().filter(function(t){return!e.some(function(e){return e[0]===t})}).map(function(e){return[e,t.node]}).concat(e)},[]);this.errorNodes=t.map(function(e){return{node:e[0],child:e[1],error:{message:"object"===e[0].type?"Contains invalid properties":"Contains invalid items"}}}).concat(e).map(function(e){return e.node.setError(e.error,e.child),e.node})},_validateCustom:function(e){try{if(this.options.onValidate){var t=this.node,n=this.options.onValidate(e);return(Object(h.isPromise)(n)?n:Promise.resolve(n)).then(function(e){return Array.isArray(e)?e.filter(function(e){var t=Object(h.isValidValidationError)(e);return t||console.warn('Ignoring a custom validation error with invalid structure. Expected structure: {path: [...], message: "..."}. Actual error:',e),t}).map(function(e){var n;try{n=e&&e.path?t.findNodeByPath(e.path):null}catch(e){}return n||console.warn("Ignoring validation error: node not found. Path:",e.path,"Error:",e),{node:n,error:e}}).filter(function(e){return e&&e.node&&e.error&&e.error.message}):null})}}catch(e){return Promise.reject(e)}return Promise.resolve(null)},refresh:function(){this.node&&this.node.updateDom({recurse:!0})},startAutoScroll:function(e){var t=this,n=this.scrollableContent,i=Object(h.getAbsoluteTop)(n),r=n.clientHeight,o=i+r;e<i+24&&0<n.scrollTop?this.autoScrollStep=(i+24-e)/3:o-24<e&&r+n.scrollTop<n.scrollHeight?this.autoScrollStep=(o-24-e)/3:this.autoScrollStep=void 0,this.autoScrollStep?this.autoScrollTimer||(this.autoScrollTimer=setInterval(function(){t.autoScrollStep?n.scrollTop-=t.autoScrollStep:t.stopAutoScroll()},50)):this.stopAutoScroll()},stopAutoScroll:function(){this.autoScrollTimer&&(clearTimeout(this.autoScrollTimer),delete this.autoScrollTimer),this.autoScrollStep&&delete this.autoScrollStep},setDomSelection:function(e){if(e)if("scrollTop"in e&&this.scrollableContent&&(this.scrollableContent.scrollTop=e.scrollTop),e.paths){var t=this,n=e.paths.map(function(e){return t.node.findNodeByInternalPath(e)});this.select(n)}else{var i=e.path?this.node.findNodeByInternalPath(e.path):null,r=i&&e.domName?i.dom[e.domName]:null;if(e.range&&r){var o=Object.assign({},e.range,{container:r});Object(h.setSelectionOffset)(o)}else i&&i.focus()}},getDomSelection:function(){var e=M.getNodeFromTarget(this.focusTarget),t=this.focusTarget,n=e?Object.keys(e.dom).find(function(n){return e.dom[n]===t}):null,i=Object(h.getSelectionOffset)();return i&&"DIV"!==i.container.nodeName&&(i=null),i&&i.container!==t&&(i=null),i&&delete i.container,{path:e?e.getInternalPath():null,domName:n,range:i,paths:0<this.multiselection.length?this.multiselection.nodes.map(function(e){return e.getInternalPath()}):null,scrollTop:this.scrollableContent?this.scrollableContent.scrollTop:0}},scrollTo:function(e,t){var n=this.scrollableContent;if(n){var i=this;i.animateTimeout&&(clearTimeout(i.animateTimeout),delete i.animateTimeout),i.animateCallback&&(i.animateCallback(!1),delete i.animateCallback);var r=n.clientHeight,o=n.scrollHeight-r,s=Math.min(Math.max(e-r/4,0),o);!function e(){var r=n.scrollTop,o=s-r;3<Math.abs(o)?(n.scrollTop+=o/3,i.animateCallback=t,i.animateTimeout=setTimeout(e,50)):(t&&t(!0),n.scrollTop=s,delete i.animateTimeout,delete i.animateCallback)}()}else t&&t(!1)},_createFrame:function(){function e(e){t._onEvent&&t._onEvent(e)}this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.container.appendChild(this.frame),this.contentOuter=document.createElement("div"),this.contentOuter.className="jsoneditor-outer";var t=this;if(this.frame.onclick=function(t){var n=t.target;e(t),"BUTTON"===n.nodeName&&t.preventDefault()},this.frame.oninput=e,this.frame.onchange=e,this.frame.onkeydown=e,this.frame.onkeyup=e,this.frame.oncut=e,this.frame.onpaste=e,this.frame.onmousedown=e,this.frame.onmouseup=e,this.frame.onmouseover=e,this.frame.onmouseout=e,Object(h.addEventListener)(this.frame,"focus",e,!0),Object(h.addEventListener)(this.frame,"blur",e,!0),this.frame.onfocusin=e,this.frame.onfocusout=e,this.options.mainMenuBar){Object(h.addClassName)(this.contentOuter,"has-main-menu-bar"),this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var n=document.createElement("button");n.type="button",n.className="jsoneditor-expand-all",n.title=Object(g.c)("expandAll"),n.onclick=function(){t.expandAll()},this.menu.appendChild(n);var i=document.createElement("button");if(i.type="button",i.title=Object(g.c)("collapseAll"),i.className="jsoneditor-collapse-all",i.onclick=function(){t.collapseAll()},this.menu.appendChild(i),this.options.enableSort){var r=document.createElement("button");r.type="button",r.className="jsoneditor-sort",r.title=Object(g.c)("sortTitleShort"),r.onclick=function(){t.node.showSortModal()},this.menu.appendChild(r)}if(this.options.enableTransform){var o=document.createElement("button");o.type="button",o.title=Object(g.c)("transformTitleShort"),o.className="jsoneditor-transform",o.onclick=function(){t.node.showTransformModal()},this.menu.appendChild(o)}if(this.history){var s=document.createElement("button");s.type="button",s.className="jsoneditor-undo jsoneditor-separator",s.title=Object(g.c)("undo"),s.onclick=function(){t._onUndo()},this.menu.appendChild(s),this.dom.undo=s;var a=document.createElement("button");a.type="button",a.className="jsoneditor-redo",a.title=Object(g.c)("redo"),a.onclick=function(){t._onRedo()},this.menu.appendChild(a),this.dom.redo=a,this.history.onChange=function(){s.disabled=!t.history.canUndo(),a.disabled=!t.history.canRedo()},this.history.onChange()}if(this.options&&this.options.modes&&this.options.modes.length){var l=this;this.modeSwitcher=new T.a(this.menu,this.options.modes,this.options.mode,function(e){l.setMode(e),l.modeSwitcher.focus()})}this.options.search&&(this.searchBox=new p(this,this.menu))}this.options.navigationBar&&(this.navBar=document.createElement("div"),this.navBar.className="jsoneditor-navigation-bar nav-bar-empty",this.frame.appendChild(this.navBar),this.treePath=new v(this.navBar,this.frame),this.treePath.onSectionSelected(this._onTreePathSectionSelected.bind(this)),this.treePath.onContextMenuItemSelected(this._onTreePathMenuItemSelected.bind(this)))},_onUndo:function(){this.history&&(this.history.undo(),this._onChange())},_onRedo:function(){this.history&&(this.history.redo(),this._onChange())},_onEvent:function(e){if(!M.targetIsColorPicker(e.target)){var t=M.getNodeFromTarget(e.target);if("keydown"===e.type&&this._onKeyDown(e),t&&"focus"===e.type&&(this.focusTarget=e.target,this.options.autocomplete&&"focus"===this.options.autocomplete.trigger&&this._showAutoComplete(e.target)),"mousedown"===e.type&&this._startDragDistance(e),"mousemove"!==e.type&&"mouseup"!==e.type&&"click"!==e.type||this._updateDragDistance(e),t&&this.options&&this.options.navigationBar&&t&&("keydown"===e.type||"mousedown"===e.type)){var n=this;setTimeout(function(){n._updateTreePath(t.getNodePath())})}if(t&&t.selected){if("click"===e.type){if(e.target===t.dom.menu)return void this.showContextMenu(e.target);e.hasMoved||this.deselect()}"mousedown"===e.type&&M.onDragStart(this.multiselection.nodes,e)}else"mousedown"===e.type&&Object(h.hasParentNode)(e.target,this.content)&&(this.deselect(),t&&e.target===t.dom.drag?M.onDragStart(t,e):t&&(e.target===t.dom.field||e.target===t.dom.value||e.target===t.dom.select)||this._onMultiSelectStart(e));t&&t.onEvent(e)}},_updateTreePath:function(e){function t(e){return e.parent?"array"===e.parent.type?e.index:e.field:e.type}if(e&&e.length){Object(h.removeClassName)(this.navBar,"nav-bar-empty");var n=[];e.forEach(function(e){var i={name:t(e),node:e,children:[]};e.childs&&e.childs.length&&e.childs.forEach(function(e){i.children.push({name:t(e),node:e})}),n.push(i)}),this.treePath.setPath(n)}else Object(h.addClassName)(this.navBar,"nav-bar-empty")},_onTreePathSectionSelected:function(e){e&&e.node&&(e.node.expandTo(),e.node.focus())},_onTreePathMenuItemSelected:function(e,t){if(e&&e.children.length){var n=e.children.find(function(e){return e.name===t});n&&n.node&&(this._updateTreePath(n.node.getNodePath()),n.node.expandTo(),n.node.focus())}},_startDragDistance:function(e){this.dragDistanceEvent={initialTarget:e.target,initialPageX:e.pageX,initialPageY:e.pageY,dragDistance:0,hasMoved:!1}},_updateDragDistance:function(e){this.dragDistanceEvent||this._startDragDistance(e);var t=e.pageX-this.dragDistanceEvent.initialPageX,n=e.pageY-this.dragDistanceEvent.initialPageY;return this.dragDistanceEvent.dragDistance=Math.sqrt(t*t+n*n),this.dragDistanceEvent.hasMoved=this.dragDistanceEvent.hasMoved||10<this.dragDistanceEvent.dragDistance,e.dragDistance=this.dragDistanceEvent.dragDistance,e.hasMoved=this.dragDistanceEvent.hasMoved,e.dragDistance},_onMultiSelectStart:function(e){var t=M.getNodeFromTarget(e.target);if("tree"===this.options.mode&&void 0===this.options.onEditable){this.multiselection={start:t||null,end:null,nodes:[]},this._startDragDistance(e);var n=this;this.mousemove||(this.mousemove=Object(h.addEventListener)(window,"mousemove",function(e){n._onMultiSelect(e)})),this.mouseup||(this.mouseup=Object(h.addEventListener)(window,"mouseup",function(e){n._onMultiSelectEnd(e)})),e.preventDefault()}},_onMultiSelect:function(e){if(e.preventDefault(),this._updateDragDistance(e),e.hasMoved){var t=M.getNodeFromTarget(e.target);t&&(null==this.multiselection.start&&(this.multiselection.start=t),this.multiselection.end=t),this.deselect();var n=this.multiselection.start,i=this.multiselection.end||this.multiselection.start;if(n&&i){if(this.multiselection.nodes=this._findTopLevelNodes(n,i),this.multiselection.nodes&&this.multiselection.nodes.length){var r=this.multiselection.nodes[0];this.multiselection.start===r||this.multiselection.start.isDescendantOf(r)?this.multiselection.direction="down":this.multiselection.direction="up"}this.select(this.multiselection.nodes)}}},_onMultiSelectEnd:function(){this.multiselection.nodes[0]&&this.multiselection.nodes[0].dom.menu.focus(),this.multiselection.start=null,this.multiselection.end=null,this.mousemove&&(Object(h.removeEventListener)(window,"mousemove",this.mousemove),delete this.mousemove),this.mouseup&&(Object(h.removeEventListener)(window,"mouseup",this.mouseup),delete this.mouseup)},deselect:function(e){var t=!!this.multiselection.nodes.length;this.multiselection.nodes.forEach(function(e){e.setSelected(!1)}),this.multiselection.nodes=[],e&&(this.multiselection.start=null,this.multiselection.end=null),t&&this._selectionChangedHandler&&this._selectionChangedHandler()},select:function(e){if(!Array.isArray(e))return this.select([e]);if(e){this.deselect(),this.multiselection.nodes=e.slice(0);var t=e[0];if(e.forEach(function(e){e.expandPathToNode(),e.setSelected(!0,e===t)}),this._selectionChangedHandler){var n=this.getSelection();this._selectionChangedHandler(n.start,n.end)}}},_findTopLevelNodes:function(e,t){for(var n=e.getNodePath(),i=t.getNodePath(),r=0;r<n.length&&n[r]===i[r];)r++;var o=n[r-1],s=n[r],a=i[r];if(s&&a||(o.parent?o=(a=s=o).parent:(s=o.childs[0],a=o.childs[o.childs.length-1])),o&&s&&a){var l=o.childs.indexOf(s),c=o.childs.indexOf(a),u=Math.min(l,c),d=Math.max(l,c);return o.childs.slice(u,d+1)}return[]},_showAutoComplete:function(e){var t=M.getNodeFromTarget(e),n="";0<=e.className.indexOf("jsoneditor-value")&&(n="value"),0<=e.className.indexOf("jsoneditor-field")&&(n="field");var i=this;setTimeout(function(){if(t&&("focus"===i.options.autocomplete.trigger||0<e.innerText.length)){var r=i.options.autocomplete.getOptions(e.innerText,t.getPath(),n,t.editor);null===r?i.autocomplete.hideDropDown():"function"==typeof r.then?r.then(function(t){null===t?i.autocomplete.hideDropDown():t.options?i.autocomplete.show(e,t.startFrom,t.options):i.autocomplete.show(e,0,t)}).catch(function(e){console.error(e)}):r.options?i.autocomplete.show(e,r.startFrom,r.options):i.autocomplete.show(e,0,r)}else i.autocomplete.hideDropDown()},50)},_onKeyDown:function(e){var t=e.which||e.keyCode,n=e.altKey,i=e.ctrlKey,r=e.metaKey,o=e.shiftKey,s=!1;if(9===t){var a=this;setTimeout(function(){Object(h.selectContentEditable)(a.focusTarget)},0)}this.searchBox&&(i&&70===t?(this.searchBox.dom.search.focus(),this.searchBox.dom.search.select(),s=!0):(114===t||i&&71===t)&&(o?this.searchBox.previous(!0):this.searchBox.next(!0),s=!0)),this.history&&(i&&!o&&90===t?(this._onUndo(),s=!0):i&&o&&90===t&&(this._onRedo(),s=!0)),this.options.autocomplete&&!s&&(i||n||r||1!==e.key.length&&8!==t&&46!==t||(s=!1,this._showAutoComplete(e.target))),s&&(e.preventDefault(),e.stopPropagation())},_createTable:function(){var e;this.options.navigationBar&&Object(h.addClassName)(this.contentOuter,"has-nav-bar"),this.scrollableContent=document.createElement("div"),this.scrollableContent.className="jsoneditor-tree",this.contentOuter.appendChild(this.scrollableContent),this.content=document.createElement("div"),this.content.className="jsoneditor-tree-inner",this.scrollableContent.appendChild(this.content),this.table=document.createElement("table"),this.table.className="jsoneditor-tree",this.content.appendChild(this.table),this.colgroupContent=document.createElement("colgroup"),"tree"===this.options.mode&&((e=document.createElement("col")).width="24px",this.colgroupContent.appendChild(e)),(e=document.createElement("col")).width="24px",this.colgroupContent.appendChild(e),e=document.createElement("col"),this.colgroupContent.appendChild(e),this.table.appendChild(this.colgroupContent),this.tbody=document.createElement("tbody"),this.table.appendChild(this.tbody),this.frame.appendChild(this.contentOuter)},showContextMenu:function(e,t){var n=[],i=this.multiselection.nodes.slice();if(n.push({text:Object(g.c)("duplicateText"),title:Object(g.c)("duplicateTitle"),className:"jsoneditor-duplicate",click:function(){M.onDuplicate(i)}}),n.push({text:Object(g.c)("remove"),title:Object(g.c)("removeTitle"),className:"jsoneditor-remove",click:function(){M.onRemove(i)}}),this.options.onCreateMenu){var r=i.map(function(e){return e.getPath()});n=this.options.onCreateMenu(n,{type:"multiple",path:r[0],paths:r})}new m.a(n,{close:t}).show(e,this.frame)},getSelection:function(){var e={start:null,end:null};if(this.multiselection.nodes&&this.multiselection.nodes.length&&this.multiselection.nodes.length){var t=this.multiselection.nodes[0],n=this.multiselection.nodes[this.multiselection.nodes.length-1];"down"===this.multiselection.direction?(e.start=t.serialize(),e.end=n.serialize()):(e.start=n.serialize(),e.end=t.serialize())}return e},onSelectionChange:function(e){"function"==typeof e&&(this._selectionChangedHandler=Object(h.debounce)(e,this.DEBOUNCE_INTERVAL))},setSelection:function(e,t){e&&e.dom&&e.range&&(console.warn("setSelection/getSelection usage for text selection is deprecated and should not be used, see documentation for supported selection options"),this.setDomSelection(e));var n=this._getNodeInstancesByRange(e,t);n.forEach(function(e){e.expandTo()}),this.select(n)},_getNodeInstancesByRange:function(e,t){var n,i;e&&e.path&&(n=this.node.findNodeByPath(e.path),t&&t.path&&(i=this.node.findNodeByPath(t.path)));var r=[];if(n instanceof M)if(i instanceof M&&i!==n)if(n.parent===i.parent){t=n.getIndex()<i.getIndex()?(e=n,i):(e=i,n);var o=e;for(r.push(o);o=o.nextSibling(),r.push(o),o&&o!==t;);}else r=this._findTopLevelNodes(n,i);else r.push(n);return r},getNodesByRange:function(e,t){var n=this._getNodeInstancesByRange(e,t),i=[];return n.forEach(function(e){i.push(e.serialize())}),i}},O=[{mode:"tree",mixin:j,data:"json"},{mode:"view",mixin:j,data:"json"},{mode:"form",mixin:j,data:"json"}]},function(e,t,n){"use strict";n.r(t);var i=n(4),r=n.n(i),o=n(1),s=n(7),a=n(14),l=n(6),c=n(8),u=n(19),d=n(2),h=n(0),f=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onChange=t,this.calculateItemSize=n||function(){return 1},this.limit=i,this.items=[],this.index=-1}return function(e,t,n){t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t)}(e,[{key:"add",value:function(e){for(;this._calculateHistorySize()>this.limit&&1<this.items.length;)this.items.shift(),this.index--;this.items=this.items.slice(0,this.index+1),this.items.push(e),this.index++,this.onChange()}},{key:"_calculateHistorySize",value:function(){var e=this.calculateItemSize,t=0;return this.items.forEach(function(n){t+=e(n)}),t}},{key:"undo",value:function(){if(this.canUndo())return this.index--,this.onChange(),this.items[this.index]}},{key:"redo",value:function(){if(this.canRedo())return this.index++,this.onChange(),this.items[this.index]}},{key:"canUndo",value:function(){return 0<this.index}},{key:"canRedo",value:function(){return this.index<this.items.length-1}},{key:"clear",value:function(){this.items=[],this.index=-1,this.onChange()}}]),e}();n.d(t,"previewModeMixins",function(){return g});var p=u.textModeMixins[0].mixin,m={create:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};void 0===t.statusBar&&(t.statusBar=!0),t.mainMenuBar=!1!==t.mainMenuBar,t.enableSort=!1!==t.enableSort,t.enableTransform=!1!==t.enableTransform,(this.options=t).indentation?this.indentation=Number(t.indentation):this.indentation=2,this.mode="preview";var n=this;if(this.container=e,this.dom={},this.json=void 0,this.text="",this._debouncedValidate=Object(h.debounce)(this.validate.bind(this),this.DEBOUNCE_INTERVAL),this.width=e.clientWidth,this.height=e.clientHeight,this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-preview",this.frame.onclick=function(e){e.preventDefault()},this.content=document.createElement("div"),this.content.className="jsoneditor-outer",this.dom.busy=document.createElement("div"),this.dom.busy.className="jsoneditor-busy",this.dom.busyContent=document.createElement("span"),this.dom.busyContent.innerHTML="busy...",this.dom.busy.appendChild(this.dom.busyContent),this.content.appendChild(this.dom.busy),this.dom.previewContent=document.createElement("pre"),this.dom.previewContent.className="jsoneditor-preview",this.dom.previewText=document.createTextNode(""),this.dom.previewContent.appendChild(this.dom.previewText),this.content.appendChild(this.dom.previewContent),this.options.mainMenuBar){Object(h.addClassName)(this.content,"has-main-menu-bar"),this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var i=document.createElement("button");i.type="button",i.className="jsoneditor-format",i.title="Format JSON data, with proper indentation and line feeds (Ctrl+\\)",this.menu.appendChild(i),i.onclick=function(){n.executeWithBusyMessage(function(){try{n.format()}catch(e){n._onError(e)}},"formatting...")};var r=document.createElement("button");if(r.type="button",r.className="jsoneditor-compact",r.title="Compact JSON data, remove all whitespaces (Ctrl+Shift+\\)",this.menu.appendChild(r),r.onclick=function(){n.executeWithBusyMessage(function(){try{n.compact()}catch(e){n._onError(e)}},"compacting...")},this.options.enableSort){var l=document.createElement("button");l.type="button",l.className="jsoneditor-sort",l.title=Object(o.c)("sortTitleShort"),l.onclick=function(){n._showSortModal()},this.menu.appendChild(l)}if(this.options.enableTransform){var c=document.createElement("button");c.type="button",c.title=Object(o.c)("transformTitleShort"),c.className="jsoneditor-transform",c.onclick=function(){n._showTransformModal()},this.dom.transform=c,this.menu.appendChild(c)}var u=document.createElement("button");if(u.type="button",u.className="jsoneditor-repair",u.title="Repair JSON: fix quotes and escape characters, remove comments and JSONP notation, turn JavaScript objects into JSON.",this.menu.appendChild(u),!(u.onclick=function(){void 0===n.json&&n.executeWithBusyMessage(function(){try{n.repair()}catch(e){n._onError(e)}},"repairing...")})!==this.options.history){this.history=new f(function(){n.dom.undo.disabled=!n.history.canUndo(),n.dom.redo.disabled=!n.history.canRedo()},function(e){return 2*e.text.length},d.c);var p=document.createElement("button");p.type="button",p.className="jsoneditor-undo jsoneditor-separator",p.title=Object(o.c)("undo"),p.onclick=function(){var e=n.history.undo();e&&n._applyHistory(e)},this.menu.appendChild(p),this.dom.undo=p;var m=document.createElement("button");m.type="button",m.className="jsoneditor-redo",m.title=Object(o.c)("redo"),m.onclick=function(){var e=n.history.redo();e&&n._applyHistory(e)},this.menu.appendChild(m),this.dom.redo=m,this.history.onChange()}this.options&&this.options.modes&&this.options.modes.length&&(this.modeSwitcher=new s.a(this.menu,this.options.modes,this.options.mode,function(e){n.setMode(e),n.modeSwitcher.focus()}))}if(this.errorTable=new a.a({errorTableVisible:!0,onToggleVisibility:function(){n.validate()},onFocusLine:null,onChangeHeight:function(e){var t=e+(n.dom.statusBar?n.dom.statusBar.clientHeight:0)+1;n.content.style.marginBottom=-t+"px",n.content.style.paddingBottom=t+"px"}}),this.frame.appendChild(this.content),this.frame.appendChild(this.errorTable.getErrorTable()),this.container.appendChild(this.frame),t.statusBar){Object(h.addClassName)(this.content,"has-status-bar");var g=document.createElement("div");(this.dom.statusBar=g).className="jsoneditor-statusbar",this.frame.appendChild(g),this.dom.fileSizeInfo=document.createElement("span"),this.dom.fileSizeInfo.className="jsoneditor-size-info",this.dom.fileSizeInfo.innerText="",g.appendChild(this.dom.fileSizeInfo),this.dom.arrayInfo=document.createElement("span"),this.dom.arrayInfo.className="jsoneditor-size-info",this.dom.arrayInfo.innerText="",g.appendChild(this.dom.arrayInfo),g.appendChild(this.errorTable.getErrorCounter()),g.appendChild(this.errorTable.getWarningIcon()),g.appendChild(this.errorTable.getErrorIcon())}this._renderPreview(),this.setSchema(this.options.schema,this.options.schemaRefs)},_renderPreview:function(){var e=this.getText();this.dom.previewText.nodeValue=Object(h.limitCharacters)(e,d.b),this.dom.fileSizeInfo&&(this.dom.fileSizeInfo.innerText="Size: "+Object(h.formatSize)(e.length)),this.dom.arrayInfo&&(Array.isArray(this.json)?this.dom.arrayInfo.innerText="Array: "+this.json.length+" items":this.dom.arrayInfo.innerText="")},_onChange:function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}if(this.options.onChangeJSON)try{this.options.onChangeJSON(this.get())}catch(e){console.error("Error in onChangeJSON callback: ",e)}if(this.options.onChangeText)try{this.options.onChangeText(this.getText())}catch(e){console.error("Error in onChangeText callback: ",e)}},_showSortModal:function(){var e=this;this.executeWithBusyMessage(function(){var t=e.options.modalAnchor||d.a,n=e.get();e._renderPreview(),Object(l.a)(t,n,function(t){e.executeWithBusyMessage(function(){!function(t,n){if(Array.isArray(t)){var i=Object(h.sort)(t,n.path,n.direction);e.sortedBy=n,e._setAndFireOnChange(i)}if(Object(h.isObject)(t)){var r=Object(h.sortObjectKeys)(t,n.direction);e.sortedBy=n,e._setAndFireOnChange(r)}}(n,t)},"sorting...")},e.sortedBy)},"parsing...")},_showTransformModal:function(){var e=this;this.executeWithBusyMessage(function(){var t=e.options.modalAnchor||d.a,n=e.get();e._renderPreview(),Object(c.a)(t,n,function(t){e.executeWithBusyMessage(function(){var i=r.a.search(n,t);e._setAndFireOnChange(i)},"transforming...")})},"parsing...")},destroy:function(){this.frame&&this.container&&this.frame.parentNode===this.container&&this.container.removeChild(this.frame),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null),this._debouncedValidate=null,this.history.clear(),this.history=null},compact:function(){var e=this.get(),t=JSON.stringify(e);this._setTextAndFireOnChange(t,e)},format:function(){var e=this.get(),t=JSON.stringify(e,null,this.indentation);this._setTextAndFireOnChange(t,e)},repair:function(){var e=this.getText(),t=Object(h.repair)(e);this._setTextAndFireOnChange(t)},focus:function(){this.dom.transform.focus()},set:function(e){this.history&&this.history.clear(),this._set(e)},update:function(e){this._set(e)},_set:function(e){this.text=void 0,this.json=e,this._renderPreview(),this._pushHistory(),this._debouncedValidate()},_setAndFireOnChange:function(e){this._set(e),this._onChange()},get:function(){if(void 0===this.json){var e=this.getText();this.json=Object(h.parse)(e)}return this.json},getText:function(){return void 0===this.text&&(this.text=JSON.stringify(this.json,null,this.indentation),!0===this.options.escapeUnicode&&(this.text=Object(h.escapeUnicodeChars)(this.text))),this.text},setText:function(e){this.history&&this.history.clear(),this._setText(e)},updateText:function(e){this.getText()!==e&&this._setText(e)},_setText:function(e,t){if(!0===this.options.escapeUnicode?this.text=Object(h.escapeUnicodeChars)(e):this.text=e,this.json=t,this._renderPreview(),void 0===this.json){var n=this;this.executeWithBusyMessage(function(){try{n.json=n.get(),n._renderPreview(),n._pushHistory()}catch(e){}},"parsing...")}else this._pushHistory();this._debouncedValidate()},_setTextAndFireOnChange:function(e,t){this._setText(e,t),this._onChange()},_applyHistory:function(e){this.json=e.json,this.text=e.text,this._renderPreview(),this._debouncedValidate()},_pushHistory:function(){if(this.history){var e={text:this.text,json:this.json};this.history.add(e)}},executeWithBusyMessage:function(e,t){if(this.getText().length>d.d){var n=this;Object(h.addClassName)(n.frame,"busy"),n.dom.busyContent.innerText=t,setTimeout(function(){e(),Object(h.removeClassName)(n.frame,"busy"),n.dom.busyContent.innerText=""},100)}else e()}};m.validate=p.validate,m._renderErrors=p._renderErrors;var g=[{mode:"preview",mixin:m,data:"json"}]}],e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(i,r,function(e){return t[e]}.bind(null,r));return i},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="",e(e.s=33);var t,n}()},function(e,t,n){var i=n(14);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(3)("62bece8f",i,!0,{})},function(e,t,n){var i=n(1);(e.exports=n(2)(!1)).push([e.i,'.jsoneditor .search input{height:auto;border:inherit;border:none;box-shadow:none}.jsoneditor table{border-collapse:collapse;width:auto}.jsoneditor td,.jsoneditor th{padding:0;display:table-cell;text-align:left;vertical-align:inherit;border-radius:inherit}.jsoneditor{color:#1a1a1a;border:thin solid #3883fa;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;position:relative;padding:0;line-height:100%}div.jsoneditor-default,div.jsoneditor-field,div.jsoneditor-readonly,div.jsoneditor-value{border:1px solid transparent;min-height:16px;min-width:32px;padding:2px;margin:1px;word-wrap:break-word;float:left}div.jsoneditor-field p,div.jsoneditor-value p{margin:0}div.jsoneditor-value{word-break:break-word}div.jsoneditor-value.jsoneditor-empty:after{content:"value"}div.jsoneditor-value.jsoneditor-string{color:#006000}div.jsoneditor-value.jsoneditor-number{color:#ee422e}div.jsoneditor-value.jsoneditor-boolean{color:#ff8c00}div.jsoneditor-value.jsoneditor-null{color:#004ed0}div.jsoneditor-value.jsoneditor-invalid{color:#000}div.jsoneditor-readonly{min-width:16px;color:grey}div.jsoneditor-empty{border-color:#d3d3d3;border-style:dashed;border-radius:2px}div.jsoneditor-field.jsoneditor-empty:after{content:"field"}div.jsoneditor td{vertical-align:top}div.jsoneditor td.jsoneditor-separator{padding:3px 0;vertical-align:top;color:grey}div.jsoneditor td.jsoneditor-tree{vertical-align:top}div.jsoneditor div.jsoneditor-anchor{cursor:pointer}div.jsoneditor div.jsoneditor-anchor .picker_wrapper.popup.popup_bottom{top:28px;left:-10px}div.jsoneditor.busy pre.jsoneditor-preview{background:#f5f5f5;color:grey}div.jsoneditor.busy div.jsoneditor-busy{display:inherit}div.jsoneditor code.jsoneditor-preview{background:0 0}div.jsoneditor.jsoneditor-mode-preview pre.jsoneditor-preview{width:100%;height:100%;box-sizing:border-box;overflow:auto;padding:2px;margin:0;white-space:pre-wrap;word-break:break-all}div.jsoneditor-default{color:grey;padding-left:10px}div.jsoneditor-tree{width:100%;height:100%;position:relative;overflow:auto}div.jsoneditor-tree button.jsoneditor-button{width:24px;height:24px;padding:0;margin:0;border:none;cursor:pointer;background:transparent url('+i(n(0))+")}div.jsoneditor-tree button.jsoneditor-button:focus{background-color:#f5f5f5;outline:1px solid #e5e5e5}div.jsoneditor-tree button.jsoneditor-collapsed{background-position:0 -48px}div.jsoneditor-tree button.jsoneditor-expanded{background-position:0 -72px}div.jsoneditor-tree button.jsoneditor-contextmenu{background-position:-48px -72px}div.jsoneditor-tree button.jsoneditor-invisible{visibility:hidden;background:0 0}div.jsoneditor-tree button.jsoneditor-dragarea{background:url("+i(n(0))+") -72px -72px;cursor:move}div.jsoneditor-tree :focus{outline:0}div.jsoneditor-tree div.jsoneditor-show-more{display:inline-block;padding:3px 4px;margin:2px 0;background-color:#e5e5e5;border-radius:3px;color:grey;font-family:arial,sans-serif;font-size:10pt}div.jsoneditor-tree div.jsoneditor-show-more a{display:inline-block;color:grey}div.jsoneditor-tree div.jsoneditor-color{display:inline-block;width:12px;height:12px;margin:4px;border:1px solid grey;cursor:pointer}div.jsoneditor-tree div.jsoneditor-date{background:#a1a1a1;color:#fff;font-family:arial,sans-serif;border-radius:3px;display:inline-block;padding:3px;margin:0 3px}div.jsoneditor-tree table.jsoneditor-tree{border-collapse:collapse;border-spacing:0;width:100%}div.jsoneditor-tree .jsoneditor-button.jsoneditor-schema-error{width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url("+i(n(0))+') -168px -48px}div.jsoneditor-outer{position:static;width:100%;height:100%;margin:0;padding:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}div.jsoneditor-outer.has-nav-bar{margin-top:-26px;padding-top:26px}div.jsoneditor-outer.has-nav-bar.has-main-menu-bar{margin-top:-61px;padding-top:61px}div.jsoneditor-outer.has-status-bar{margin-bottom:-26px;padding-bottom:26px}div.jsoneditor-outer.has-main-menu-bar{margin-top:-35px;padding-top:35px}div.jsoneditor-busy{position:absolute;top:15%;left:0;box-sizing:border-box;width:100%;text-align:center;display:none}div.jsoneditor-busy span{background-color:#ffffab;border:1px solid #fe0;border-radius:3px;padding:5px 15px;box-shadow:0 0 5px rgba(0,0,0,.4)}div.jsoneditor-field.jsoneditor-empty:after,div.jsoneditor-value.jsoneditor-empty:after{pointer-events:none;color:#d3d3d3;font-size:8pt}a.jsoneditor-value.jsoneditor-url,div.jsoneditor-value.jsoneditor-url{color:#006000;text-decoration:underline}a.jsoneditor-value.jsoneditor-url{display:inline-block;padding:2px;margin:2px}a.jsoneditor-value.jsoneditor-url:focus,a.jsoneditor-value.jsoneditor-url:hover{color:#ee422e}div.jsoneditor-field.jsoneditor-highlight,div.jsoneditor-field[contenteditable=true]:focus,div.jsoneditor-field[contenteditable=true]:hover,div.jsoneditor-value.jsoneditor-highlight,div.jsoneditor-value[contenteditable=true]:focus,div.jsoneditor-value[contenteditable=true]:hover{background-color:#ffffab;border:1px solid #fe0;border-radius:2px}div.jsoneditor-field.jsoneditor-highlight-active,div.jsoneditor-field.jsoneditor-highlight-active:focus,div.jsoneditor-field.jsoneditor-highlight-active:hover,div.jsoneditor-value.jsoneditor-highlight-active,div.jsoneditor-value.jsoneditor-highlight-active:focus,div.jsoneditor-value.jsoneditor-highlight-active:hover{background-color:#fe0;border:1px solid #ffc700;border-radius:2px}div.jsoneditor-value.jsoneditor-array,div.jsoneditor-value.jsoneditor-object{min-width:16px}div.jsoneditor-mode-form tr.jsoneditor-expandable td.jsoneditor-tree,div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree{cursor:pointer}div.jsoneditor-tree button.jsoneditor-contextmenu.jsoneditor-selected,div.jsoneditor-tree button.jsoneditor-contextmenu:focus,div.jsoneditor-tree button.jsoneditor-contextmenu:hover,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu{background-position:-48px -48px}div.jsoneditor-tree div.jsoneditor-show-more a:focus,div.jsoneditor-tree div.jsoneditor-show-more a:hover{color:#ee422e}.ace-jsoneditor,textarea.jsoneditor-text{min-height:150px}textarea.jsoneditor-text{width:100%;height:100%;margin:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;outline-width:0;border:none;background-color:#fff;resize:none}tr.jsoneditor-highlight,tr.jsoneditor-selected{background-color:#d3d3d3}tr.jsoneditor-selected button.jsoneditor-contextmenu,tr.jsoneditor-selected button.jsoneditor-dragarea{visibility:hidden}tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea{visibility:visible}div.jsoneditor-tree button.jsoneditor-dragarea:focus,div.jsoneditor-tree button.jsoneditor-dragarea:hover,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea{background-position:-72px -48px}div.jsoneditor td,div.jsoneditor th,div.jsoneditor tr{padding:0;margin:0}.jsoneditor-popover,.jsoneditor-schema-error,div.jsoneditor-field,div.jsoneditor-value,div.jsoneditor td,div.jsoneditor textarea,div.jsoneditor th,pre.jsoneditor-preview{font-family:dejavu sans mono,droid sans mono,consolas,monaco,lucida console,courier new,courier,monospace,sans-serif;font-size:10pt;color:#1a1a1a}.jsoneditor-schema-error{cursor:default;display:inline-block;height:24px;line-height:24px;position:relative;text-align:center;width:24px}.jsoneditor-popover{background-color:#4c4c4c;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,.4);color:#fff;padding:7px 10px;position:absolute;cursor:auto;width:200px;z-index:999}.jsoneditor-popover.jsoneditor-above{bottom:32px;left:-98px}.jsoneditor-popover.jsoneditor-above:before{border-top:7px solid #4c4c4c;bottom:-7px}.jsoneditor-popover.jsoneditor-below{top:32px;left:-98px}.jsoneditor-popover.jsoneditor-below:before{border-bottom:7px solid #4c4c4c;top:-7px}.jsoneditor-popover.jsoneditor-left{top:-7px;right:32px}.jsoneditor-popover.jsoneditor-left:before{border-left:7px solid #4c4c4c;border-top:7px solid transparent;border-bottom:7px solid transparent;content:"";top:19px;right:-14px;left:inherit;margin-left:inherit;margin-top:-7px;position:absolute}.jsoneditor-popover.jsoneditor-right{top:-7px;left:32px}.jsoneditor-popover.jsoneditor-right:before{border-right:7px solid #4c4c4c;border-top:7px solid transparent;border-bottom:7px solid transparent;content:"";top:19px;left:-14px;margin-left:inherit;margin-top:-7px;position:absolute}.jsoneditor-popover:before{border-right:7px solid transparent;border-left:7px solid transparent;content:"";display:block;left:50%;margin-left:-7px;position:absolute}.jsoneditor-text-errors tr.jump-to-line:hover{text-decoration:underline;cursor:pointer}.jsoneditor-schema-error:focus .jsoneditor-popover,.jsoneditor-schema-error:hover .jsoneditor-popover{display:block;animation:fade-in .3s linear 1,move-up .3s linear 1}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.jsoneditor .jsoneditor-validation-errors-container{max-height:130px;overflow-y:auto}.jsoneditor .jsoneditor-validation-errors{width:100%;overflow:hidden}.jsoneditor .jsoneditor-additional-errors{position:absolute;margin:auto;bottom:31px;left:calc(50% - 92px);color:grey;background-color:#ebebeb;padding:7px 15px;border-radius:8px}.jsoneditor .jsoneditor-additional-errors.visible{visibility:visible;opacity:1;transition:opacity 2s linear}.jsoneditor .jsoneditor-additional-errors.hidden{visibility:hidden;opacity:0;transition:visibility 0s 2s,opacity 2s linear}.jsoneditor .jsoneditor-text-errors{width:100%;border-collapse:collapse;border-top:1px solid #ffc700}.jsoneditor .jsoneditor-text-errors td{padding:3px 6px;vertical-align:middle}.jsoneditor .jsoneditor-text-errors td pre{margin:0;white-space:normal}.jsoneditor .jsoneditor-text-errors tr{background-color:#ffffab}.jsoneditor .jsoneditor-text-errors tr.parse-error{background-color:#ee2e2e70}.jsoneditor-text-errors .jsoneditor-schema-error{border:none;width:24px;height:24px;padding:0;margin:0 4px 0 0;cursor:pointer}.jsoneditor-text-errors tr .jsoneditor-schema-error{background:url('+i(n(0))+") -168px -48px}.jsoneditor-text-errors tr.parse-error .jsoneditor-schema-error{background:url("+i(n(0))+") -25px 0}.fadein{-webkit-animation:fadein .3s;animation:fadein .3s;-moz-animation:fadein .3s;-o-animation:fadein .3s}@keyframes fadein{0%{opacity:0}to{opacity:1}}.jsoneditor-contextmenu-root{position:relative;width:0;height:0}.jsoneditor-contextmenu{position:absolute;box-sizing:content-box;z-index:99}.jsoneditor-contextmenu .jsoneditor-menu{position:relative;left:0;top:0;width:128px;height:auto;background:#fff;border:1px solid #d3d3d3;box-shadow:2px 2px 12px hsla(0,0%,50%,.3);list-style:none;margin:0;padding:0}.jsoneditor-contextmenu .jsoneditor-menu button{position:relative;padding:0 4px 0 0;margin:0;width:128px;height:auto;border:none;cursor:pointer;color:#4d4d4d;background:0 0;font-size:10pt;font-family:arial,sans-serif;box-sizing:border-box;text-align:left}.jsoneditor-contextmenu .jsoneditor-menu button::-moz-focus-inner{padding:0;border:0}.jsoneditor-contextmenu .jsoneditor-menu button.jsoneditor-default{width:96px}.jsoneditor-contextmenu .jsoneditor-menu button.jsoneditor-expand{float:right;width:32px;height:24px;border-left:1px solid #e5e5e5}.jsoneditor-contextmenu .jsoneditor-menu li{overflow:hidden}.jsoneditor-contextmenu .jsoneditor-menu li ul{display:none;position:relative;left:-10px;top:0;border:none;box-shadow:inset 0 0 10px hsla(0,0%,50%,.5);padding:0 10px;-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.jsoneditor-contextmenu .jsoneditor-menu li ul .jsoneditor-icon{margin-left:24px}.jsoneditor-contextmenu .jsoneditor-menu li ul li button{padding-left:24px;animation:all ease-in-out 1s}.jsoneditor-contextmenu .jsoneditor-menu li button .jsoneditor-expand{position:absolute;top:0;right:0;width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url("+i(n(0))+") 0 -72px}.jsoneditor-contextmenu .jsoneditor-icon{position:absolute;top:0;left:0;width:24px;height:24px;border:none;padding:0;margin:0;background-image:url("+i(n(0))+')}.jsoneditor-contextmenu .jsoneditor-text{padding:4px 0 4px 24px;word-wrap:break-word}.jsoneditor-contextmenu .jsoneditor-text.jsoneditor-right-margin{padding-right:24px}.jsoneditor-contextmenu .jsoneditor-separator{height:0;border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}.jsoneditor-contextmenu button.jsoneditor-remove .jsoneditor-icon{background-position:-24px 0}.jsoneditor-contextmenu button.jsoneditor-append .jsoneditor-icon,.jsoneditor-contextmenu button.jsoneditor-insert .jsoneditor-icon{background-position:0 0}.jsoneditor-contextmenu button.jsoneditor-duplicate .jsoneditor-icon{background-position:-48px 0}.jsoneditor-contextmenu button.jsoneditor-sort-asc .jsoneditor-icon{background-position:-168px 0}.jsoneditor-contextmenu button.jsoneditor-sort-desc .jsoneditor-icon{background-position:-192px 0}.jsoneditor-contextmenu button.jsoneditor-transform .jsoneditor-icon{background-position:-216px 0}.jsoneditor-contextmenu button.jsoneditor-extract .jsoneditor-icon{background-position:0 -24px}.jsoneditor-contextmenu button.jsoneditor-type-string .jsoneditor-icon{background-position:-144px 0}.jsoneditor-contextmenu button.jsoneditor-type-auto .jsoneditor-icon{background-position:-120px 0}.jsoneditor-contextmenu button.jsoneditor-type-object .jsoneditor-icon{background-position:-72px 0}.jsoneditor-contextmenu button.jsoneditor-type-array .jsoneditor-icon{background-position:-96px 0}.jsoneditor-contextmenu button.jsoneditor-type-modes .jsoneditor-icon{background-image:none;width:6px}.jsoneditor-contextmenu li,.jsoneditor-contextmenu ul{box-sizing:content-box;position:relative}.jsoneditor-contextmenu .jsoneditor-menu button:focus,.jsoneditor-contextmenu .jsoneditor-menu button:hover{color:#1a1a1a;background-color:#f5f5f5;outline:0}.jsoneditor-contextmenu .jsoneditor-menu li button.jsoneditor-selected,.jsoneditor-contextmenu .jsoneditor-menu li button.jsoneditor-selected:focus,.jsoneditor-contextmenu .jsoneditor-menu li button.jsoneditor-selected:hover{color:#fff;background-color:#ee422e}.jsoneditor-contextmenu .jsoneditor-menu li ul li button:focus,.jsoneditor-contextmenu .jsoneditor-menu li ul li button:hover{background-color:#f5f5f5}.jsoneditor-modal{max-width:95%;border-radius:2px!important;padding:45px 15px 15px!important;box-shadow:2px 2px 12px hsla(0,0%,50%,.3);color:#4d4d4d;line-height:1.3em}.jsoneditor-modal.jsoneditor-modal-transform{width:600px!important}.jsoneditor-modal .pico-modal-header{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;padding:0 10px;height:30px;line-height:30px;font-family:arial,sans-serif;font-size:11pt;background:#3883fa;color:#fff}.jsoneditor-modal table{width:100%}.jsoneditor-modal table td{padding:3px 0}.jsoneditor-modal table td.jsoneditor-modal-input{text-align:right;padding-right:0;white-space:nowrap}.jsoneditor-modal table td.jsoneditor-modal-actions{padding-top:15px}.jsoneditor-modal table th{vertical-align:middle}.jsoneditor-modal p:first-child{margin-top:0}.jsoneditor-modal a{color:#3883fa}.jsoneditor-modal .jsoneditor-jmespath-block{margin-bottom:10px}.jsoneditor-modal .pico-close{background:0 0!important;font-size:24px!important;top:7px!important;right:7px!important;color:#fff}.jsoneditor-modal input{padding:4px}.jsoneditor-modal input[type=text]{cursor:inherit}.jsoneditor-modal input[disabled]{background:#d3d3d3;color:grey}.jsoneditor-modal .jsoneditor-select-wrapper{position:relative;display:inline-block}.jsoneditor-modal .jsoneditor-select-wrapper:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #666;position:absolute;right:8px;top:14px;pointer-events:none}.jsoneditor-modal select{padding:3px 24px 3px 10px;min-width:180px;max-width:350px;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-indent:0;text-overflow:"";font-size:10pt;line-height:1.5em}.jsoneditor-modal select::-ms-expand{display:none}.jsoneditor-modal .jsoneditor-button-group input{padding:4px 10px;margin:0;border-radius:0;border-left-style:none}.jsoneditor-modal .jsoneditor-button-group input.jsoneditor-button-first{border-top-left-radius:3px;border-bottom-left-radius:3px;border-left-style:solid}.jsoneditor-modal .jsoneditor-button-group input.jsoneditor-button-last{border-top-right-radius:3px;border-bottom-right-radius:3px}.jsoneditor-modal .jsoneditor-transform-preview{background:#f5f5f5;height:200px}.jsoneditor-modal .jsoneditor-transform-preview.jsoneditor-error{color:#ee422e}.jsoneditor-modal .jsoneditor-jmespath-wizard{line-height:1.2em;width:100%;padding:0;border-radius:3px}.jsoneditor-modal .jsoneditor-jmespath-label{font-weight:700;color:#1e90ff;margin-top:20px;margin-bottom:5px}.jsoneditor-modal .jsoneditor-jmespath-wizard-table{width:100%;border-collapse:collapse}.jsoneditor-modal .jsoneditor-jmespath-wizard-label{font-style:italic;margin:4px 0 2px}.jsoneditor-modal .jsoneditor-inline{position:relative;display:inline-block;width:100%;padding-top:2px;padding-bottom:2px}.jsoneditor-modal .jsoneditor-inline:not(:last-child){padding-right:2px}.jsoneditor-modal .jsoneditor-jmespath-filter{display:flex;flex-wrap:wrap}.jsoneditor-modal .jsoneditor-jmespath-filter-field{width:180px}.jsoneditor-modal .jsoneditor-jmespath-filter-relation{width:100px}.jsoneditor-modal .jsoneditor-jmespath-filter-value{min-width:180px;flex:1}.jsoneditor-modal .jsoneditor-jmespath-sort-field{width:170px}.jsoneditor-modal .jsoneditor-jmespath-sort-order{width:150px}.jsoneditor-modal .jsoneditor-jmespath-select-fields{width:100%}.jsoneditor-modal .selectr-selected{border-color:#d3d3d3;padding:4px 28px 4px 8px}.jsoneditor-modal .selectr-selected .selectr-tag{background-color:#3883fa;border-radius:5px}.jsoneditor-modal table td,.jsoneditor-modal table th{text-align:left;vertical-align:middle;font-weight:400;color:#4d4d4d;border-spacing:0;border-collapse:collapse}.jsoneditor-modal #query,.jsoneditor-modal input,.jsoneditor-modal select,.jsoneditor-modal textarea{background:#fff;border:1px solid #d3d3d3;color:#4d4d4d;border-radius:3px;padding:4px}.jsoneditor-modal,.jsoneditor-modal #query,.jsoneditor-modal input,.jsoneditor-modal option,.jsoneditor-modal select,.jsoneditor-modal table td,.jsoneditor-modal table th,.jsoneditor-modal textarea{font-size:10.5pt;font-family:arial,sans-serif}.jsoneditor-modal #query,.jsoneditor-modal .jsoneditor-transform-preview{font-family:dejavu sans mono,droid sans mono,consolas,monaco,lucida console,courier new,courier,monospace,sans-serif;font-size:10pt;width:100%;box-sizing:border-box}.jsoneditor-modal input[type=button],.jsoneditor-modal input[type=submit]{background:#f5f5f5;padding:4px 20px}.jsoneditor-modal input,.jsoneditor-modal select{cursor:pointer}.jsoneditor-modal .jsoneditor-button-group.jsoneditor-button-group-value-asc input.jsoneditor-button-asc,.jsoneditor-modal .jsoneditor-button-group.jsoneditor-button-group-value-desc input.jsoneditor-button-desc{background:#3883fa;border-color:#3883fa;color:#fff}.jsoneditor-menu{width:100%;height:35px;padding:2px;margin:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;background-color:#3883fa;border-bottom:1px solid #3883fa}.jsoneditor-menu>.jsoneditor-modes>button,.jsoneditor-menu>button{width:26px;height:26px;margin:2px;padding:0;border-radius:2px;border:1px solid transparent;background:transparent url('+i(n(0))+");color:#fff;opacity:.8;font-family:arial,sans-serif;font-size:10pt;float:left}.jsoneditor-menu>.jsoneditor-modes>button:hover,.jsoneditor-menu>button:hover{background-color:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.4)}.jsoneditor-menu>.jsoneditor-modes>button:active,.jsoneditor-menu>.jsoneditor-modes>button:focus,.jsoneditor-menu>button:active,.jsoneditor-menu>button:focus{background-color:hsla(0,0%,100%,.3)}.jsoneditor-menu>.jsoneditor-modes>button:disabled,.jsoneditor-menu>button:disabled{opacity:.5;background-color:transparent;border:none}.jsoneditor-menu>button.jsoneditor-collapse-all{background-position:0 -96px}.jsoneditor-menu>button.jsoneditor-expand-all{background-position:0 -120px}.jsoneditor-menu>button.jsoneditor-sort{background-position:-120px -96px}.jsoneditor-menu>button.jsoneditor-transform{background-position:-144px -96px}.jsoneditor.jsoneditor-mode-form>.jsoneditor-menu>button.jsoneditor-sort,.jsoneditor.jsoneditor-mode-form>.jsoneditor-menu>button.jsoneditor-transform,.jsoneditor.jsoneditor-mode-view>.jsoneditor-menu>button.jsoneditor-sort,.jsoneditor.jsoneditor-mode-view>.jsoneditor-menu>button.jsoneditor-transform{display:none}.jsoneditor-menu>button.jsoneditor-undo{background-position:-24px -96px}.jsoneditor-menu>button.jsoneditor-undo:disabled{background-position:-24px -120px}.jsoneditor-menu>button.jsoneditor-redo{background-position:-48px -96px}.jsoneditor-menu>button.jsoneditor-redo:disabled{background-position:-48px -120px}.jsoneditor-menu>button.jsoneditor-compact{background-position:-72px -96px}.jsoneditor-menu>button.jsoneditor-format{background-position:-72px -120px}.jsoneditor-menu>button.jsoneditor-repair{background-position:-96px -96px}.jsoneditor-menu>.jsoneditor-modes{display:inline-block;float:left}.jsoneditor-menu>.jsoneditor-modes>button{background-image:none;width:auto;padding-left:6px;padding-right:6px}.jsoneditor-menu>.jsoneditor-modes>button.jsoneditor-separator,.jsoneditor-menu>button.jsoneditor-separator{margin-left:10px}.jsoneditor-menu a{font-family:arial,sans-serif;font-size:10pt;color:#fff;opacity:.8;vertical-align:middle}.jsoneditor-menu a:hover{opacity:1}.jsoneditor-menu a.jsoneditor-poweredBy{font-size:8pt;position:absolute;right:0;top:0;padding:10px}.jsoneditor-search{font-family:arial,sans-serif;position:absolute;right:4px;top:4px;border-collapse:collapse;border-spacing:0;display:flex}.jsoneditor-search input{color:#1a1a1a;width:120px;border:none;outline:0;margin:1px;line-height:20px}.jsoneditor-search button{width:16px;height:24px;padding:0;margin:0;border:none;background:url("+i(n(0))+");vertical-align:top}.jsoneditor-search button:hover{background-color:transparent}.jsoneditor-search button.jsoneditor-refresh{width:18px;background-position:-99px -73px}.jsoneditor-search button.jsoneditor-next{cursor:pointer;background-position:-124px -73px}.jsoneditor-search button.jsoneditor-next:hover{background-position:-124px -49px}.jsoneditor-search button.jsoneditor-previous{cursor:pointer;background-position:-148px -73px;margin-right:2px}.jsoneditor-search button.jsoneditor-previous:hover{background-position:-148px -49px}.jsoneditor-results{font-family:arial,sans-serif;color:#fff;padding-right:5px;line-height:26px}.jsoneditor-frame{border:1px solid transparent;background-color:#fff;padding:0 2px;margin:0}.jsoneditor .autocomplete.dropdown{position:absolute;background:#fff;box-shadow:2px 2px 12px hsla(0,0%,50%,.3);border:1px solid #d3d3d3;z-index:100;overflow-x:hidden;overflow-y:auto;cursor:default;margin:0;padding:5px;text-align:left;outline:0;font-family:dejavu sans mono,droid sans mono,consolas,monaco,lucida console,courier new,courier,monospace,sans-serif;font-size:10pt}.jsoneditor .autocomplete.dropdown .item{color:#333}.jsoneditor .autocomplete.dropdown .item.hover{background-color:#ddd}.jsoneditor .autocomplete.hint{color:#aaa;top:4px;left:4px}.jsoneditor-treepath{padding:0 5px;overflow:hidden;white-space:nowrap;outline:0}.jsoneditor-treepath.show-all{word-wrap:break-word;white-space:normal;position:absolute;background-color:#ebebeb;z-index:999;box-shadow:2px 2px 12px hsla(0,0%,50%,.3)}.jsoneditor-treepath.show-all span.jsoneditor-treepath-show-all-btn{display:none}.jsoneditor-treepath div.jsoneditor-contextmenu-root{position:absolute;left:0}.jsoneditor-treepath .jsoneditor-treepath-show-all-btn{position:absolute;background-color:#ebebeb;left:0;height:20px;padding:0 3px;cursor:pointer}.jsoneditor-treepath .jsoneditor-treepath-element{margin:1px;font-family:arial,sans-serif;font-size:10pt}.jsoneditor-treepath .jsoneditor-treepath-seperator{margin:2px;font-size:9pt;font-family:arial,sans-serif}.jsoneditor-treepath span.jsoneditor-treepath-element:hover,.jsoneditor-treepath span.jsoneditor-treepath-seperator:hover{cursor:pointer;text-decoration:underline}.jsoneditor-statusbar{line-height:26px;height:26px;color:grey;background-color:#ebebeb;border-top:1px solid #d3d3d3;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:10pt}.jsoneditor-statusbar>.jsoneditor-curserinfo-val{margin-right:12px}.jsoneditor-statusbar>.jsoneditor-curserinfo-count{margin-left:4px}.jsoneditor-statusbar>.jsoneditor-validation-error-icon{float:right;width:24px;height:24px;padding:0;margin-top:1px;background:url("+i(n(0))+") -168px -48px;cursor:pointer}.jsoneditor-statusbar>.jsoneditor-validation-error-count{float:right;margin:0 4px 0 0;cursor:pointer}.jsoneditor-statusbar>.jsoneditor-parse-error-icon{float:right;width:24px;height:24px;padding:0;margin:1px;background:url("+i(n(0))+') -25px 0}.jsoneditor-statusbar .jsoneditor-array-info a{color:inherit}div.jsoneditor-statusbar>.jsoneditor-curserinfo-label,div.jsoneditor-statusbar>.jsoneditor-size-info{margin:0 4px}.jsoneditor-navigation-bar{width:100%;height:26px;line-height:26px;padding:0;margin:0;border-bottom:1px solid #d3d3d3;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;color:grey;background-color:#ebebeb;overflow:hidden;font-family:arial,sans-serif;font-size:10pt}/*!\n * Selectr 2.4.0\n * https://github.com/Mobius1/Selectr\n *\n * Released under the MIT license\n */.selectr-container{position:relative}.selectr-container li{list-style:none}.selectr-hidden{position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:-1px;padding:0;border:0 none}.selectr-visible{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:11}.selectr-desktop.multiple .selectr-visible{display:none}.selectr-desktop.multiple.native-open .selectr-visible{top:100%;min-height:200px!important;height:auto;opacity:1;display:block}.selectr-container.multiple.selectr-mobile .selectr-selected{z-index:0}.selectr-selected{position:relative;z-index:1;box-sizing:border-box;width:100%;padding:7px 28px 7px 14px;cursor:pointer;border:1px solid #999;border-radius:3px;background-color:#fff}.selectr-selected:before{position:absolute;top:50%;right:10px;width:0;height:0;content:"";-o-transform:rotate(0) translate3d(0,-50%,0);-ms-transform:rotate(0) translate3d(0,-50%,0);-moz-transform:rotate(0) translate3d(0,-50%,0);-webkit-transform:rotate(0) translate3d(0,-50%,0);transform:rotate(0) translate3d(0,-50%,0);border-width:4px 4px 0;border-style:solid;border-color:#6c7a86 transparent transparent}.selectr-container.native-open .selectr-selected:before,.selectr-container.open .selectr-selected:before{border-width:0 4px 4px;border-style:solid;border-color:transparent transparent #6c7a86}.selectr-label{display:none;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.selectr-placeholder{color:#6c7a86}.selectr-tags{margin:0;padding:0;white-space:normal}.has-selected .selectr-tags{margin:0 0 -2px}.selectr-tag{list-style:none;position:relative;float:left;padding:2px 25px 2px 8px;margin:0 2px 2px 0;cursor:default;color:#fff;border:medium none;border-radius:10px;background:#acb7bf none repeat scroll 0 0}.selectr-container.multiple.has-selected .selectr-selected{padding:5px 28px 5px 5px}.selectr-options-container{position:absolute;z-index:10000;top:calc(100% - 1px);left:0;display:none;box-sizing:border-box;width:100%;border-width:0 1px 1px;border-style:solid;border-color:transparent #999 #999;border-radius:0 0 3px 3px;background-color:#fff}.selectr-container.open .selectr-options-container{display:block}.selectr-input-container{position:relative;display:none}.selectr-clear,.selectr-input-clear,.selectr-tag-remove{position:absolute;top:50%;right:22px;width:20px;height:20px;padding:0;cursor:pointer;-o-transform:translate3d(0,-50%,0);-ms-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0);border:medium none;background-color:transparent;z-index:11}.selectr-clear,.selectr-input-clear{display:none}.selectr-container.has-selected .selectr-clear,.selectr-input-container.active .selectr-input-clear{display:block}.selectr-selected .selectr-tag-remove{right:2px}.selectr-clear:after,.selectr-clear:before,.selectr-input-clear:after,.selectr-input-clear:before,.selectr-tag-remove:after,.selectr-tag-remove:before{position:absolute;top:5px;left:9px;width:2px;height:10px;content:" ";background-color:#6c7a86}.selectr-tag-remove:after,.selectr-tag-remove:before{top:4px;width:3px;height:12px;background-color:#fff}.selectr-clear:before,.selectr-input-clear:before,.selectr-tag-remove:before{-o-transform:rotate(45deg);-ms-transform:rotate(45deg);-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.selectr-clear:after,.selectr-input-clear:after,.selectr-tag-remove:after{-o-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.selectr-input-container.active,.selectr-input-container.active .selectr-clear{display:block}.selectr-input{top:5px;left:5px;box-sizing:border-box;width:calc(100% - 30px);margin:10px 15px;padding:7px 30px 7px 9px;border:1px solid #999;border-radius:3px}.selectr-notice{display:none;box-sizing:border-box;width:100%;padding:8px 16px;border-top:1px solid #999;border-radius:0 0 3px 3px;background-color:#fff}.selectr-container.notice .selectr-notice{display:block}.selectr-container.notice .selectr-selected{border-radius:3px 3px 0 0}.selectr-options{position:relative;top:calc(100% + 2px);display:none;overflow-x:auto;overflow-y:scroll;max-height:200px;margin:0;padding:0}.selectr-container.notice .selectr-options-container,.selectr-container.open .selectr-input-container,.selectr-container.open .selectr-options{display:block}.selectr-option{position:relative;display:block;padding:5px 20px;list-style:outside none none;cursor:pointer;font-weight:400}.selectr-options.optgroups>.selectr-option{padding-left:25px}.selectr-optgroup{font-weight:700;padding:0}.selectr-optgroup--label{font-weight:700;margin-top:10px;padding:5px 15px}.selectr-match{text-decoration:underline}.selectr-option.selected{background-color:#ddd}.selectr-option.active{color:#fff;background-color:#5897fb}.selectr-option.disabled{opacity:.4}.selectr-option.excluded{display:none}.selectr-container.open .selectr-selected{border-color:#999 #999 transparent;border-radius:3px 3px 0 0}.selectr-container.open .selectr-selected:after{-o-transform:rotate(180deg) translate3d(0,50%,0);-ms-transform:rotate(180deg) translate3d(0,50%,0);-moz-transform:rotate(180deg) translate3d(0,50%,0);-webkit-transform:rotate(180deg) translate3d(0,50%,0);transform:rotate(180deg) translate3d(0,50%,0)}.selectr-disabled{opacity:.6}.has-selected .selectr-placeholder,.selectr-empty{display:none}.has-selected .selectr-label{display:block}.taggable .selectr-selected{padding:4px 28px 4px 4px}.taggable .selectr-selected:after{display:table;content:" ";clear:both}.taggable .selectr-label{width:auto}.taggable .selectr-tags{float:left;display:block}.taggable .selectr-placeholder{display:none}.input-tag{float:left;min-width:90px;width:auto}.selectr-tag-input{border:medium none;padding:3px 10px;width:100%;font-family:inherit;font-weight:inherit;font-size:inherit}.selectr-input-container.loading:after{position:absolute;top:50%;right:20px;width:20px;height:20px;content:"";-o-transform:translate3d(0,-50%,0);-ms-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0);-o-transform-origin:50% 0 0;-ms-transform-origin:50% 0 0;-moz-transform-origin:50% 0 0;-webkit-transform-origin:50% 0 0;transform-origin:50% 0 0;-moz-animation:.5s linear 0s normal forwards infinite running spin;-webkit-animation:.5s linear 0s normal forwards infinite running spin;animation:.5s linear 0s normal forwards infinite running spin;border-width:3px;border-style:solid;border-color:#aaa #ddd #ddd;border-radius:50%}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0) translate3d(0,-50%,0);transform:rotate(0) translate3d(0,-50%,0)}to{-webkit-transform:rotate(1turn) translate3d(0,-50%,0);transform:rotate(1turn) translate3d(0,-50%,0)}}@keyframes spin{0%{-webkit-transform:rotate(0) translate3d(0,-50%,0);transform:rotate(0) translate3d(0,-50%,0)}to{-webkit-transform:rotate(1turn) translate3d(0,-50%,0);transform:rotate(1turn) translate3d(0,-50%,0)}}.selectr-container.open.inverted .selectr-selected{border-color:transparent #999 #999;border-radius:0 0 3px 3px}.selectr-container.inverted .selectr-options-container{border-width:1px 1px 0;border-color:#999 #999 transparent;border-radius:3px 3px 0 0;background-color:#fff;top:auto;bottom:calc(100% - 1px)}.selectr-container ::-webkit-input-placeholder{color:#6c7a86;opacity:1}.selectr-container ::-moz-placeholder{color:#6c7a86;opacity:1}.selectr-container :-ms-input-placeholder{color:#6c7a86;opacity:1}.selectr-container ::placeholder{color:#6c7a86;opacity:1}',""])},function(e,t,n){"use strict";var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"jsoneditor-container",class:{"max-box":e.max,"min-box":!e.max},style:e.getHeight},[n("div",{ref:"jsoneditor",staticClass:"jsoneditor-box"}),e._v(" "),"code"==e.options.mode&&e.plus?n("button",{staticClass:"max-btn",attrs:{type:"button",size:"mini"},on:{click:function(t){e.max=!e.max}}}):e._e()])},staticRenderFns:[]};t.a=i}])},function(e,t,n){!function(e){"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function i(e,n){var i,r,o,s,a=null,l="number"==typeof n?n:(r=(i=t(String(n).split(/(ms|s)/i),2))[0],s=void 0===(o=i[1])?"ms":o,Number(r)*{ms:1,s:1e3}[s]),c=function(){for(var t=this,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=function(){a=null,e.apply(t,i)};clearTimeout(a),(a=setTimeout(o,l))||e.apply(this,i)};return c.cancel=function(){clearTimeout(a),a=null},c}function r(e){return e.map(function(e){return e.toLowerCase()})}function o(e,t){var n,i=e?e["debounce-events"]:[];return i&&i.length>0?Array.isArray(i)?r(i):r(i.split(",")):r((n=t,Array.isArray(n)?n:null==n?[]:[n]))}function s(e){return""===e}function a(e){var n=t(String(e).split("."),1)[0];return Number(n)>=3?"mounted":"bind"}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.lock,r=void 0!==n&&n,l=t.listenTo,c=void 0===l?"keyup":l,u=t.defaultTime,d=void 0===u?"300ms":u,h=t.fireOnEmpty,f=void 0!==h&&h,p=t.cancelOnEmpty,m=void 0!==p&&p,g=t.trim,v=void 0!==g&&g;return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},a(e),function(e,t,n){var a=t.value,l=t.arg,u=void 0===l?d:l,h=t.modifiers,p=Object.assign({lock:r,trim:v,fireonempty:f,cancelonempty:m},h),g=o(n.data.attrs,c),y=i(function(e){a(e.target.value,e)},u);function b(e){var t=p.trim?e.target.value.trim():e.target.value;s(t)&&p.cancelonempty?y.cancel():function(e,t){return"Enter"===e&&(!t.lock||t.unlock)}(e.key,p)||function(e,t,n){return s(e)&&n.fireonempty&&("Enter"===t||" "===t)}(t,e.key,p)?(y.cancel(),a(e.target.value,e)):y(e)}g.forEach(function(t){e.addEventListener(t,b)})})}l();var c={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.directive("debounce",l(e.version,t))}};e.debounce=i,e.default=c,e.getDirective=l,Object.defineProperty(e,"__esModule",{value:!0})}(t)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(266)},function(e,t,n){"use strict";var i=n(64);n.n(i).a},function(e,t,n){(t=e.exports=n(11)(!1)).i(n(255),""),t.push([e.i,"",""])},function(e,t,n){(e.exports=n(11)(!1)).push([e.i,"div[data-v-abe7ebba]{display:flex 1 0 0;-ms-flex-wrap:wrap;flex-wrap:wrap;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}svg[data-v-46d8ff05]{display:inline-block;position:absolute}.vue-workflow-chart-state{background-color:#fff;padding:20px;border-radius:3px;color:#11353d;font-size:14px;font-family:Open Sans;font-weight:600;margin-right:20px;margin-bottom:20px;max-width:120px;text-align:center;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.2);box-shadow:0 2px 4px 0 rgba(0,0,0,.2)}.vue-workflow-chart-state:hover{cursor:pointer;-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.2);box-shadow:0 4px 8px 0 rgba(0,0,0,.2)}.vue-workflow-chart-transition-label{background-color:#fff;padding:1px;font-size:14px;font-family:Open Sans;font-weight:400;color:#56676b;max-width:100px;text-align:center;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.05);box-shadow:0 2px 4px 0 rgba(0,0,0,.05)}.vue-workflow-chart-transition-label:hover{cursor:pointer;-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.15);box-shadow:0 4px 8px 0 rgba(0,0,0,.15)}.vue-workflow-chart-transition-arrow{fill:#84878a;stroke-width:1}.vue-workflow-chart-transition-path{fill:none;stroke:#84878a;stroke-width:3}div[data-v-3da956c2]{position:absolute}",""])},function(e,t,n){var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function l(e,t,n,i){var r=t&&t.prototype instanceof m?t:m,o=Object.create(r.prototype),s=new S(i||[]);return o._invoke=function(e,t,n){var i=u;return function(r,o){if(i===h)throw new Error("Generator is already running");if(i===f){if("throw"===r)throw o;return E()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=C(s,n);if(a){if(a===p)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===u)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=c(e,t,n);if("normal"===l.type){if(i=n.done?f:d,l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=f,n.method="throw",n.arg=l.arg)}}}(e,n,s),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function m(){}function g(){}function v(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(L([])));_&&_!==n&&i.call(_,o)&&(y=_);var w=v.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function A(e){var t;this._invoke=function(n,r){function o(){return new Promise(function(t,o){!function t(n,r,o,s){var a=c(e[n],e,r);if("throw"!==a.type){var l=a.arg,u=l.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,o,s)},function(e){t("throw",e,o,s)}):Promise.resolve(u).then(function(e){l.value=e,o(l)},function(e){return t("throw",e,o,s)})}s(a.arg)}(n,r,t,o)})}return t=t?t.then(o,o):o()}}function C(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=c(i,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,p;var o=r.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}return{next:E}}function E(){return{value:t,done:!0}}return g.prototype=w.constructor=v,v.constructor=g,v[a]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(A.prototype),A.prototype[s]=function(){return this},e.AsyncIterator=A,e.async=function(t,n,i,r){var o=new A(l(t,n,i,r));return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(w),w[a]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=L,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return a.type="throw",a.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var l=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;M(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:L(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=i}catch(e){Function("r","regeneratorRuntime = r")(i)}},function(e,t,n){var i=n(258),r=n(259),o=n(74);e.exports=function(){var e=null,t=null,n=null;function s(e,t){var n=this,r=t.success;return(t=i.extend(this.options[e+"Data"],[t])).success=function(i){t.success=r,n.options[e+"Process"].call(n,i,t)},this.options.http._http.call(this,t)}function a(e,t){var n=this.$auth;return n.options[e+"Perform"].call(n,n.options.router._bindData.call(n,t,this))}function l(e){return null===this.watch.authenticated&&r.get.call(this)?o.exists.call(this)?(this.watch.authenticated=!1,this.options.fetchData.enabled?void this.options.fetchPerform.call(this,{success:e,error:e,enabled:!0}):(this.options.fetchProcess.call(this,{},{}),e.call(this))):(this.options.logoutProcess.call(this,null,{}),this.watch.loaded=!0,e.call(this)):(this.watch.loaded=!0,e.call(this))}function c(e,t){var n,i,r="",o=t&&t.path;if(o&&t.query){for(n in t.query)t.query[n]&&(r+="&"+n+"="+t.query[n]);o+="?"+r.substring(1)}this.options.http._invalidToken&&this.options.http._invalidToken.call(this,e)&&(t&&(i=this.options.getAuthMeta(t)),i&&(o=i.redirect||this.options.authRedirect),this.options.logoutProcess.call(this,e,{redirect:o}))}function u(e,t){this.watch.authenticated=!0,this.watch.data=this.options.parseUserData.call(this,this.options.http._httpData.call(this,e)),this.watch.loaded=!0,this.options.fetchData.success&&this.options.fetchData.success.call(this,e),t.success&&t.success.call(this,e)}var d={rolesVar:"roles",tokenImpersonateName:"impersonate_auth_token",tokenDefaultName:"default_auth_token",tokenStore:["localStorage","cookie"],authRedirect:{path:"/login"},forbiddenRedirect:{path:"/403"},notFoundRedirect:{path:"/404"},registerData:{url:"auth/register",method:"POST",redirect:"/login"},loginData:{url:"auth/login",method:"POST",redirect:"/",fetchUser:!0},logoutData:{url:"auth/logout",method:"POST",redirect:"/",makeRequest:!1},oauth1Data:{url:"auth/login",method:"POST"},fetchData:{url:"auth/user",method:"GET",enabled:!0},refreshData:{url:"auth/refresh",method:"GET",enabled:!0,interval:30},impersonateData:{url:"auth/impersonate",method:"POST",redirect:"/"},unimpersonateData:{url:"auth/unimpersonate",method:"POST",redirect:"/admin",makeRequest:!1},facebookData:{url:"auth/facebook",method:"POST",redirect:"/"},googleData:{url:"auth/google",method:"POST",redirect:"/"},facebookOauth2Data:{url:"https://www.facebook.com/v2.5/dialog/oauth",params:{client_id:"",redirect_uri:function(){return this.options.getUrl()+"/login/facebook"},scope:"email"}},googleOauth2Data:{url:"https://accounts.google.com/o/oauth2/auth",params:{client_id:"",redirect_uri:function(){return this.options.getUrl()+"/login/google"},scope:"https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/plus.profile.emails.read"}},getUrl:function(){var e=window.location.port;return window.location.protocol+"//"+window.location.hostname+(e?":"+e:"")},cookieDomain:function(){return window.location.hostname},parseUserData:function(e){return e.data||{}},parseOauthState:function(e){return JSON.parse(decodeURIComponent(e))},tokenExpired:function(){return!r.get.call(this)},check:function(e,t){return!0===this.watch.authenticated&&(!e||i.compare(e,this.watch.data[t||this.options.rolesVar]))},checkAuthenticated:l,getAuthMeta:function(e){var t,n;return e.to?t=e.to.auth:(n=e.matched.filter(function(e){return e.meta.hasOwnProperty("auth")})).length&&(t=n[n.length-1].meta.auth),t},setTransitions:function(n){e=t,t=n},readyCallback:null,transitionEach:function(r,o,s){var a=(o||"").redirect||this.options.authRedirect,l=(o||"").forbiddenRedirect||(o||"").redirect||this.options.forbiddenRedirect,c=(o||"").redirect||this.options.notFoundRedirect;if((o=i.toArray(void 0!==(o||"").roles?o.roles:o))&&(!0===o||o.constructor===Array||i.isObject(o)))if(this.check()){if(o.constructor!==Array&&!i.isObject(o)||i.compare(o,this.watch.data[this.options.rolesVar]))return this.watch.redirect=n?{type:n,from:e,to:t}:null,n=null,s();n=403,s.call(this,l)}else n=401,s.call(this,a);else{if(!1!==o||!this.check())return this.watch.redirect=n?{type:n,from:e,to:t}:null,n=null,s();n=404,s.call(this,c)}},routerBeforeEach:function(e){var t=this;this.watch.authenticated&&!r.get.call(this)&&this.options.logoutProcess.call(this,null,{}),this.options.refreshData.enabled&&!this.watch.loaded&&r.get.call(this)?this.options.refreshPerform.call(this,{success:function(){this.options.checkAuthenticated.call(t,e)}}):l.call(this,e)},requestIntercept:function(e){var t,n;return e.ignoreVueAuth?e:(!1===e.impersonating&&this.impersonating()&&(n=this.options.tokenDefaultName),(t=r.get.call(this,n))&&this.options.auth.request.call(this,e,t),e)},responseIntercept:function(e,n){var i;n&&n.ignoreVueAuth||(c.call(this,e,t),(i=this.options.auth.response.call(this,e))&&r.set.call(this,null,i))},registerPerform:function(e){return s.call(this,"register",e)},registerProcess:function(e,t){!0===t.autoLogin?(t=i.extend(t,[this.options.loginData,{redirect:t.redirect}]),this.options.loginPerform.call(this,t)):(t.success&&t.success.call(this,e),t.redirect&&this.options.router._routerGo.call(this,t.redirect))},loginPerform:function(e){return s.call(this,"login",e)},loginProcess:function(e,t){var n=this;o.remember.call(this,t.rememberMe),this.watch.authenticated=null,this.options.fetchPerform.call(this,{enabled:t.fetchUser,success:function(){t.success&&t.success.call(this,e),t.redirect&&n.options.check.call(n)&&n.options.router._routerGo.call(n,t.redirect)}})},logoutPerform:function(e){if((e=i.extend(this.options.logoutData,[e||{}])).makeRequest)return s.call(this,"logout",e);this.options.logoutProcess.call(this,null,e)},logoutProcess:function(e,t){o.remove.call(this,"rememberMe"),o.remove.call(this,this.options.tokenImpersonateName),o.remove.call(this,this.options.tokenDefaultName),r.remove.call(this,this.options.tokenImpersonateName),r.remove.call(this,this.options.tokenDefaultName),this.watch.authenticated=!1,this.watch.data=null,t.success&&t.success.call(this,e,t),t.redirect&&this.options.router._routerGo.call(this,t.redirect)},fetchPerform:function(e){var t=this,n=e.error;if(e.error=function(e){t.watch.loaded=!0,t.options.fetchData.error&&t.options.fetchData.error.call(t,e),n&&n.call(t,e)},!0===this.watch.authenticated||e.enabled)return s.call(this,"fetch",e);u.call(this,{},e)},fetchProcess:u,refreshPerform:function(e){return s.call(this,"refresh",e)},refreshProcess:function(e,t){t.success&&t.success.call(this,e)},impersonatePerform:function(e){var t,n=this.token.call(this);return t=(e=e||{}).success,e.success=function(e){r.set.call(this,this.options.tokenImpersonateName,this.token.call(this)),r.set.call(this,this.options.tokenDefaultName,n),t&&t.call(this,e)},s.call(this,"impersonate",e)},impersonateProcess:function(e,t){var n=this;this.options.fetchPerform.call(this,{enabled:!0,success:function(){t.success&&t.success.call(this,e),t.redirect&&n.options.check.call(n)&&n.options.router._routerGo.call(n,t.redirect)}})},unimpersonatePerform:function(e){if((e=i.extend(this.options.unimpersonateData,[e||{}])).makeRequest)return s.call(this,"unimpersonate",e);this.options.unimpersonateProcess.call(this,null,e)},unimpersonateProcess:function(e,t){r.remove.call(this,this.options.tokenImpersonateName),this.options.fetchPerform.call(this,{enabled:!0,success:function(){t.success&&t.success.call(this,e,t),t.redirect&&this.options.router._routerGo.call(this,t.redirect)}})},oauth2Perform:function(e){var t,n={},r="";if(!0===(e=e||{}).code){e=i.extend(this.options[e.provider+"Data"],[e]);try{e.query.state&&(n=this.options.parseOauthState(e.query.state))}catch(e){console.error("vue-auth:error There was an issue retrieving the state data."),n={}}e.rememberMe=!0===n.rememberMe,e.state=n,this.options.loginPerform.call(this,e)}else{for(t in e.params=i.extend(this.options[e.provider+"Oauth2Data"].params,[e.params||{}]),(e=i.extend(this.options[e.provider+"Oauth2Data"],[e])).params.redirect_uri=e.redirect||e.params.redirect_uri,e.params.client_id=e.clientId||e.params.client_id,e.params.response_type=e.response_type||e.params.response_type||"code",e.params.scope=e.scope||e.params.scope,e.params.state=e.state||e.params.state||{},"function"==typeof e.params.redirect_uri&&(e.params.redirect_uri=e.params.redirect_uri.call(this)),e.params.state.rememberMe=!0===e.rememberMe,e.params.state=JSON.stringify(e.params.state),e.params)r+="&"+t+"="+encodeURIComponent(e.params[t]);window.location=e.url+"?"+r.substring(1)}}};function h(e,t){var n,r,o,s=this,a=["auth","http","router"];for(this.currentToken=null,this.options=i.extend(d,[t||{}]),this.options.Vue=e,this.watch=new this.options.Vue({data:function(){return{data:null,loaded:!1,redirect:null,authenticated:null}},watch:{loaded:function(e){!0===e&&s.options.readyCallback&&s.options.readyCallback()}}}),n=0,r=a.length;n<r;n++){if(!this.options[a[n]])return void console.error('Error (@websanova/vue-auth): "'+a[n]+'" driver must be set.');if(this.options[a[n]]._init&&(o=this.options[a[n]]._init.call(this)))return void console.error("Error (@websanova/vue-auth): "+o)}this.options.refreshData.interval&&this.options.refreshData.interval>0&&setInterval(function(){this.options.refreshData.enabled&&!this.options.tokenExpired.call(this)&&this.options.refreshPerform.call(this,{})}.bind(this),1e3*this.options.refreshData.interval*60),this.options.router._beforeEach.call(this,this.options.routerBeforeEach,this.options.transitionEach),this.options.http._interceptor.call(this,this.options.requestIntercept,this.options.responseIntercept)}return h.prototype.ready=function(e){return void 0!==e&&(this.$auth.options.readyCallback=e.bind(this)),this.$auth.watch.loaded},h.prototype.redirect=function(){return this.watch.redirect},h.prototype.user=function(e){return e&&(this.watch.data=e),this.watch.data||{}},h.prototype.check=function(e,t){return this.options.check.call(this,e,t)},h.prototype.impersonating=function(){return this.watch.data,!!r.get.call(this,this.options.tokenImpersonateName)},h.prototype.token=function(e,t){return t&&r.set.call(this,e,t),r.get.call(this,e)},h.prototype.fetch=function(e){return a.call(this,"fetch",e)},h.prototype.refresh=function(e){return a.call(this,"refresh",e)},h.prototype.register=function(e){return a.call(this,"register",e)},h.prototype.login=function(e){return a.call(this,"login",e)},h.prototype.logout=function(e){return a.call(this,"logout",e)},h.prototype.impersonate=function(e){return a.call(this,"impersonate",e)},h.prototype.unimpersonate=function(e){return a.call(this,"unimpersonate",e)},h.prototype.oauth2=function(e){return a.call(this,"oauth2",e)},h.prototype.enableImpersonate=function(){this.impersonating()&&(this.currentToken=null)},h.prototype.disableImpersonate=function(){this.impersonating()&&(this.currentToken=this.options.tokenDefaultName)},h}},function(e,t){e.exports=function(){function e(e){return null!==e&&"object"==typeof e&&e.constructor!==Array}function t(e){return"string"==typeof e||"number"==typeof e?[e]:e}return{extend:function t(n,i){var r,o,s,a={};for(s in n)e(n[s])&&"FormData"!==n[s].constructor.name?a[s]=t(n[s],{}):a[s]=n[s];for(r=0,o=i.length;r<o;r++)for(s in i[r])e(i[r][s])&&"FormData"!==i[r][s].constructor.name?a[s]=t(n[s]||{},[i[r][s]]):a[s]=i[r][s];return a},toArray:t,isObject:e,compare:function e(n,i){var r,o,s;if("[object Object]"===Object.prototype.toString.call(n)&&"[object Object]"===Object.prototype.toString.call(i)){for(s in n)if(e(n[s],i[s]))return!0;return!1}if(n=t(n),i=t(i),!n||!i||n.constructor!==Array||i.constructor!==Array)return!1;for(r=0,o=n.length;r<o;r++)if(i.indexOf(n[r])>=0)return!0;return!1}}}()},function(e,t,n){var i=n(74);e.exports=function(){function e(e){return(e=e||this.currentToken)||(this.impersonating.call(this)?this.options.tokenImpersonateName:this.options.tokenDefaultName)}function t(){try{if(!window.localStorage||!window.sessionStorage)throw"exception";return localStorage.setItem("storage_test",1),localStorage.removeItem("storage_test"),!0}catch(e){return!1}}function n(n,r,o){var s,a,l=[e.call(this,r)];for(o&&l.push(o),s=0,a=this.options.tokenStore.length;s<a;s++){if("localStorage"===this.options.tokenStore[s]&&t())return localStorage[n+"Item"](l[0],l[1]);if("cookie"===this.options.tokenStore[s])return i[n].apply(this,l)}}return{get:function(e){return n.call(this,"get",e)},set:function(e,t){return n.call(this,"set",e,t)},remove:function(e){return n.call(this,"remove",e)},expiring:function(){return!1}}}()},function(e,t,n){var i={"./af":75,"./af.js":75,"./ar":76,"./ar-dz":77,"./ar-dz.js":77,"./ar-kw":78,"./ar-kw.js":78,"./ar-ly":79,"./ar-ly.js":79,"./ar-ma":80,"./ar-ma.js":80,"./ar-sa":81,"./ar-sa.js":81,"./ar-tn":82,"./ar-tn.js":82,"./ar.js":76,"./az":83,"./az.js":83,"./be":84,"./be.js":84,"./bg":85,"./bg.js":85,"./bm":86,"./bm.js":86,"./bn":87,"./bn.js":87,"./bo":88,"./bo.js":88,"./br":89,"./br.js":89,"./bs":90,"./bs.js":90,"./ca":91,"./ca.js":91,"./cs":92,"./cs.js":92,"./cv":93,"./cv.js":93,"./cy":94,"./cy.js":94,"./da":95,"./da.js":95,"./de":96,"./de-at":97,"./de-at.js":97,"./de-ch":98,"./de-ch.js":98,"./de.js":96,"./dv":99,"./dv.js":99,"./el":100,"./el.js":100,"./en-SG":101,"./en-SG.js":101,"./en-au":102,"./en-au.js":102,"./en-ca":103,"./en-ca.js":103,"./en-gb":104,"./en-gb.js":104,"./en-ie":105,"./en-ie.js":105,"./en-il":106,"./en-il.js":106,"./en-nz":107,"./en-nz.js":107,"./eo":108,"./eo.js":108,"./es":109,"./es-do":110,"./es-do.js":110,"./es-us":111,"./es-us.js":111,"./es.js":109,"./et":112,"./et.js":112,"./eu":113,"./eu.js":113,"./fa":114,"./fa.js":114,"./fi":115,"./fi.js":115,"./fo":116,"./fo.js":116,"./fr":117,"./fr-ca":118,"./fr-ca.js":118,"./fr-ch":119,"./fr-ch.js":119,"./fr.js":117,"./fy":120,"./fy.js":120,"./ga":121,"./ga.js":121,"./gd":122,"./gd.js":122,"./gl":123,"./gl.js":123,"./gom-latn":124,"./gom-latn.js":124,"./gu":125,"./gu.js":125,"./he":126,"./he.js":126,"./hi":127,"./hi.js":127,"./hr":128,"./hr.js":128,"./hu":129,"./hu.js":129,"./hy-am":130,"./hy-am.js":130,"./id":131,"./id.js":131,"./is":132,"./is.js":132,"./it":133,"./it-ch":134,"./it-ch.js":134,"./it.js":133,"./ja":135,"./ja.js":135,"./jv":136,"./jv.js":136,"./ka":137,"./ka.js":137,"./kk":138,"./kk.js":138,"./km":139,"./km.js":139,"./kn":140,"./kn.js":140,"./ko":141,"./ko.js":141,"./ku":142,"./ku.js":142,"./ky":143,"./ky.js":143,"./lb":144,"./lb.js":144,"./lo":145,"./lo.js":145,"./lt":146,"./lt.js":146,"./lv":147,"./lv.js":147,"./me":148,"./me.js":148,"./mi":149,"./mi.js":149,"./mk":150,"./mk.js":150,"./ml":151,"./ml.js":151,"./mn":152,"./mn.js":152,"./mr":153,"./mr.js":153,"./ms":154,"./ms-my":155,"./ms-my.js":155,"./ms.js":154,"./mt":156,"./mt.js":156,"./my":157,"./my.js":157,"./nb":158,"./nb.js":158,"./ne":159,"./ne.js":159,"./nl":160,"./nl-be":161,"./nl-be.js":161,"./nl.js":160,"./nn":162,"./nn.js":162,"./pa-in":163,"./pa-in.js":163,"./pl":164,"./pl.js":164,"./pt":165,"./pt-br":166,"./pt-br.js":166,"./pt.js":165,"./ro":70,"./ro.js":70,"./ru":167,"./ru.js":167,"./sd":168,"./sd.js":168,"./se":169,"./se.js":169,"./si":170,"./si.js":170,"./sk":171,"./sk.js":171,"./sl":172,"./sl.js":172,"./sq":173,"./sq.js":173,"./sr":174,"./sr-cyrl":175,"./sr-cyrl.js":175,"./sr.js":174,"./ss":176,"./ss.js":176,"./sv":177,"./sv.js":177,"./sw":178,"./sw.js":178,"./ta":179,"./ta.js":179,"./te":180,"./te.js":180,"./tet":181,"./tet.js":181,"./tg":182,"./tg.js":182,"./th":183,"./th.js":183,"./tl-ph":184,"./tl-ph.js":184,"./tlh":185,"./tlh.js":185,"./tr":186,"./tr.js":186,"./tzl":187,"./tzl.js":187,"./tzm":188,"./tzm-latn":189,"./tzm-latn.js":189,"./tzm.js":188,"./ug-cn":190,"./ug-cn.js":190,"./uk":191,"./uk.js":191,"./ur":192,"./ur.js":192,"./uz":193,"./uz-latn":194,"./uz-latn.js":194,"./uz.js":193,"./vi":195,"./vi.js":195,"./x-pseudo":196,"./x-pseudo.js":196,"./yo":197,"./yo.js":197,"./zh-cn":198,"./zh-cn.js":198,"./zh-hk":199,"./zh-hk.js":199,"./zh-tw":200,"./zh-tw.js":200};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=260},function(e,t,n){var i=n(262);"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(14)(i,r);i.locals&&(e.exports=i.locals)},function(e,t,n){(e.exports=n(11)(!1)).push([e.i,"td[data-v-64721b4e],th[data-v-64721b4e]{padding:2px;background-color:#fff}td.today[data-v-64721b4e]{font-weight:700}td.disabled[data-v-64721b4e]{pointer-events:none;background-color:#eee;border-radius:0;opacity:.6}.fa[data-v-64721b4e]{display:inline-block;width:100%;height:100%;background:transparent no-repeat 50%;background-size:100% 100%;fill:#ccc}.next[data-v-64721b4e]:hover,.prev[data-v-64721b4e]:hover{background-color:transparent!important}.next .fa[data-v-64721b4e]:hover,.prev .fa[data-v-64721b4e]:hover{opacity:.6}.chevron-left[data-v-64721b4e]{width:16px;height:16px;display:block;background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 10 10'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E\")}.chevron-right[data-v-64721b4e]{width:16px;height:16px;display:block;background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 10 10'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E\")}.yearselect[data-v-64721b4e]{padding-right:1px;border:none;-webkit-appearance:menulist;-moz-appearance:menulist;appearance:menulist}.monthselect[data-v-64721b4e]{border:none}.daterangepicker{position:absolute;color:inherit;background-color:#fff;border-radius:4px;border:1px solid #ddd;width:278px;max-width:none;padding:0;margin-top:7px;top:100px;left:20px;z-index:3001;display:none;font-size:15px;line-height:1em}.daterangepicker:after,.daterangepicker:before{position:absolute;display:inline-block;border-bottom-color:rgba(0,0,0,.2);content:\"\"}.daterangepicker:before{top:-7px;border-right:7px solid transparent;border-left:7px solid transparent;border-bottom:7px solid #ccc}.daterangepicker:after{top:-6px;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent}.daterangepicker.opensleft:before{right:9px}.daterangepicker.opensleft:after{right:10px}.daterangepicker.openscenter:after,.daterangepicker.openscenter:before{left:0;right:0;width:0;margin-left:auto;margin-right:auto}.daterangepicker.opensright:before{left:9px}.daterangepicker.opensright:after{left:10px}.daterangepicker.drop-up{margin-top:-7px}.daterangepicker.drop-up:before{top:auto;bottom:-7px;border-bottom:initial;border-top:7px solid #ccc}.daterangepicker.drop-up:after{top:auto;bottom:-6px;border-bottom:initial;border-top:6px solid #fff}.daterangepicker.single .daterangepicker .ranges,.daterangepicker.single .drp-calendar{float:none}.daterangepicker.single .drp-selected{display:none}.daterangepicker.show-calendar .drp-buttons,.daterangepicker.show-calendar .drp-calendar{display:block}.daterangepicker.auto-apply .drp-buttons{display:none}.daterangepicker .drp-calendar{display:none;max-width:270px}.daterangepicker .drp-calendar.left{padding:8px 0 8px 8px}.daterangepicker .drp-calendar.right{padding:8px}.daterangepicker .drp-calendar.single .calendar-table{border:none}.daterangepicker .calendar-table .next span,.daterangepicker .calendar-table .prev span{color:#fff;border:solid #000;border-width:0 2px 2px 0;border-radius:0;display:inline-block;padding:3px}.daterangepicker .calendar-table .next span{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.daterangepicker .calendar-table .prev span{transform:rotate(135deg);-webkit-transform:rotate(135deg)}.daterangepicker .calendar-table td,.daterangepicker .calendar-table th{text-align:center;vertical-align:middle;min-width:32px;width:32px;height:24px;line-height:24px;font-size:12px;border-radius:4px;border:1px solid transparent;white-space:nowrap;cursor:pointer}.daterangepicker .calendar-table{border:1px solid #fff;border-radius:4px;background-color:#fff}.daterangepicker .calendar-table table{width:100%;margin:0;border-spacing:0;border-collapse:collapse;display:table}.daterangepicker td.available:hover,.daterangepicker th.available:hover{background-color:#eee;border-color:transparent;color:inherit}.daterangepicker td.week,.daterangepicker th.week{font-size:80%;color:#ccc}.daterangepicker td.off,.daterangepicker td.off.end-date,.daterangepicker td.off.in-range,.daterangepicker td.off.start-date{background-color:#fff;border-color:transparent;color:#999}.daterangepicker td.in-range{background-color:#ebf4f8;border-color:transparent;color:#000;border-radius:0}.daterangepicker td.start-date{border-radius:4px 0 0 4px}.daterangepicker td.end-date{border-radius:0 4px 4px 0}.daterangepicker td.start-date.end-date{border-radius:4px}.daterangepicker td.active,.daterangepicker td.active:hover{background-color:#357ebd;border-color:transparent;color:#fff}.daterangepicker th.month{width:auto}.daterangepicker option.disabled,.daterangepicker td.disabled{color:#999;cursor:not-allowed;text-decoration:line-through}.daterangepicker select.monthselect,.daterangepicker select.yearselect{font-size:12px;padding:1px;height:auto;margin:0;cursor:default}.daterangepicker select.monthselect{margin-right:2%;width:56%}.daterangepicker select.yearselect{width:40%}.daterangepicker select.ampmselect,.daterangepicker select.hourselect,.daterangepicker select.minuteselect,.daterangepicker select.secondselect{width:50px;margin:0 auto;background:#eee;border:1px solid #eee;padding:2px;outline:0;font-size:12px}.daterangepicker .calendar-time{text-align:center;margin:4px auto 0 auto;line-height:30px;position:relative}.daterangepicker .calendar-time select.disabled{color:#ccc;cursor:not-allowed}.daterangepicker .drp-buttons{clear:both;text-align:right;padding:8px;border-top:1px solid #ddd;display:none;line-height:12px;vertical-align:middle}.daterangepicker .drp-selected{display:inline-block;font-size:12px;padding-right:8px}.daterangepicker .drp-buttons .btn{margin-left:8px;font-size:12px;font-weight:700;padding:4px 8px}.daterangepicker.show-ranges .drp-calendar.left{border-left:1px solid #ddd}.daterangepicker .ranges{float:none;text-align:left;margin:0}.daterangepicker.show-calendar .ranges{margin-top:8px}.daterangepicker .ranges ul{list-style:none;margin:0 auto;padding:0;width:100%}.daterangepicker .ranges li{font-size:12px;padding:8px 12px;cursor:pointer}.daterangepicker .ranges li:hover{background-color:#eee}.daterangepicker .ranges li.active{background-color:#08c;color:#fff}@media (min-width:564px){.daterangepicker{width:auto}.daterangepicker .ranges ul{width:140px}.daterangepicker.single .ranges ul{width:100%}.daterangepicker.single .drp-calendar.left{clear:none}.daterangepicker.single.ltr .drp-calendar,.daterangepicker.single.ltr .ranges{float:left}.daterangepicker.single.rtl .drp-calendar,.daterangepicker.single.rtl .ranges{float:right}.daterangepicker.ltr{direction:ltr;text-align:left}.daterangepicker.ltr .drp-calendar.left{clear:left;margin-right:0}.daterangepicker.ltr .drp-calendar.left .calendar-table{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.daterangepicker.ltr .drp-calendar.right{margin-left:0}.daterangepicker.ltr .drp-calendar.right .calendar-table{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.daterangepicker.ltr .drp-calendar.left .calendar-table{padding-right:8px}.daterangepicker.ltr .drp-calendar,.daterangepicker.ltr .ranges{float:left}.daterangepicker.rtl{direction:rtl;text-align:right}.daterangepicker.rtl .drp-calendar.left{clear:right;margin-left:0}.daterangepicker.rtl .drp-calendar.left .calendar-table{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.daterangepicker.rtl .drp-calendar.right{margin-right:0}.daterangepicker.rtl .drp-calendar.right .calendar-table{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.daterangepicker.rtl .drp-calendar.left .calendar-table{padding-left:12px}.daterangepicker.rtl .drp-calendar,.daterangepicker.rtl .ranges{text-align:right;float:right}}@media (min-width:730px){.daterangepicker .ranges{width:auto}.daterangepicker.ltr .ranges{float:left}.daterangepicker.rtl .ranges{float:right}.daterangepicker .drp-calendar.left{clear:none!important}}.reportrange-text[data-v-8cc9549e]{background:#fff;cursor:pointer;padding:5px 10px;border:1px solid #ccc;width:100%}.daterangepicker[data-v-8cc9549e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex;width:auto}@media screen and (max-width:768px){.daterangepicker.show-ranges .drp-calendar.left[data-v-8cc9549e]{border-left:0}.daterangepicker.show-ranges .ranges[data-v-8cc9549e]{border-bottom:1px solid #ddd}.daterangepicker.show-ranges .ranges[data-v-8cc9549e] ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:auto}}@media screen and (min-width:540px){.daterangepicker[data-v-8cc9549e]{min-width:486px}.daterangepicker.show-weeknumbers[data-v-8cc9549e]{min-width:544px}}@media screen and (min-width:768px){.daterangepicker.show-ranges[data-v-8cc9549e]{min-width:628px}.daterangepicker.show-ranges.show-weeknumbers[data-v-8cc9549e]{min-width:682px}}@media screen and (max-width:340px){.daterangepicker.single[data-v-8cc9549e]{min-width:250px}.daterangepicker.single.show-weeknumbers[data-v-8cc9549e]{min-width:304px}}@media screen and (min-width:339px){.daterangepicker.single[data-v-8cc9549e]{min-width:auto}.daterangepicker.single.show-ranges[data-v-8cc9549e]{min-width:328px}.daterangepicker.single.show-ranges.show-weeknumbers[data-v-8cc9549e]{min-width:382px}.daterangepicker.single.show-ranges .drp-calendar.left[data-v-8cc9549e]{border-left:1px solid #ddd}.daterangepicker.single.show-ranges .ranges[data-v-8cc9549e]{width:auto;max-width:none;-ms-flex-preferred-size:auto;flex-basis:auto;border-bottom:0}.daterangepicker.single.show-ranges .ranges[data-v-8cc9549e] ul{display:block;width:100%}}.daterangepicker.show-calendar[data-v-8cc9549e]{display:block}.daterangepicker.opensleft[data-v-8cc9549e]{top:35px;right:10px;left:auto}.daterangepicker.openscenter[data-v-8cc9549e]{top:35px;right:auto;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}.daterangepicker.opensright[data-v-8cc9549e]{top:35px;left:10px;right:auto}.slide-fade-enter-active[data-v-8cc9549e]{-webkit-transition:all .2s ease;transition:all .2s ease}.slide-fade-leave-active[data-v-8cc9549e]{-webkit-transition:all .1s cubic-bezier(1,.5,.8,1);transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-enter[data-v-8cc9549e],.slide-fade-leave-to[data-v-8cc9549e]{-webkit-transform:translateX(10px);transform:translateX(10px);opacity:0}.vue-daterange-picker[data-v-8cc9549e]{position:relative;display:inline-block}",""])},function(e,t,n){var i=n(264);"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(14)(i,r);i.locals&&(e.exports=i.locals)},function(e,t,n){(e.exports=n(11)(!1)).push([e.i,'@charset "UTF-8";.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon::before{display:flex;align-items:center;font-size:2em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon::before{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;background-color:transparent;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:inherit}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:inherit;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon::before{display:flex;align-items:center;height:92%;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning::before{content:"!"}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info::before{content:"i"}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question::before{content:"?"}.swal2-icon.swal2-question.swal2-arabic-question-mark::before{content:"\\61F"}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}',""])},function(e,t,n){(function(e){(function(t){"use strict";var n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function i(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var r=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e,t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n,i){"object"===r(t)?e.exports=i():n.moment=i()}(n,function(){var t,n;function o(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)h(t,n)&&(e[n]=t[n]);return h(t,"toString")&&(e.toString=t.toString),h(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,i){return jt(e,t,n,i,!0).utc()}function m(e){return null==e._pf&&(e._pf={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}),e._pf}function g(e){if(null==e._isValid){var t=m(e),i=n.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function v(e){var t=p(NaN);return null!=e?f(m(t),e):m(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var y=o.momentProperties=[];function b(e,t){var n,i,r;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=m(t)),l(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)l(r=t[i=y[n]])||(e[i]=r);return e}var _=!1;function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,o.updateOffset(this),_=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function A(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function C(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=A(t)),n}function k(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&C(e[i])!==C(t[i]))&&s++;return s+o}function M(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return f(function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){for(var i,s=[],a=0;a<arguments.length;a++){if(i="","object"===r(arguments[a])){for(var l in i+="\n["+a+"] ",arguments[0])i+=l+": "+arguments[0][l]+", ";i=i.slice(0,-2)}else i=arguments[a];s.push(i)}M(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var L,E={};function D(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),E[e]||(M(t),E[e]=!0)}function T(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function I(e,t){var n,i=f({},e);for(n in t)h(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},f(i[n],e[n]),f(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)h(e,n)&&!h(t,n)&&a(e[n])&&(i[n]=f({},i[n]));return i}function j(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,L=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)h(e,t)&&n.push(t);return n};var O={};function F(e,t){var n=e.toLowerCase();O[n]=O[n+"s"]=O[t]=e}function N(e){return"string"==typeof e?O[e]||O[e.toLowerCase()]:void 0}function Y(e){var t,n,i={};for(n in e)h(e,n)&&(t=N(n))&&(i[t]=e[n]);return i}var P={};function R(e,t){P[e]=t}function B(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([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,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$={},W={};function G(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(W[e]=r),t&&(W[t[0]]=function(){return B(r.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function V(e,t){return e.isValid()?(t=U(t,e.localeData()),$[t]=$[t]||function(e){var t,n,i,r=e.match(H);for(t=0,n=r.length;t<n;t++)W[r[t]]?r[t]=W[r[t]]:r[t]=(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=T(r[i])?r[i].call(t,e):r[i];return o}}(t),$[t](e)):e.localeData().invalidDate()}function U(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(z.lastIndex=0;n>=0&&z.test(e);)e=e.replace(z,i),z.lastIndex=0,n-=1;return e}var Z=/\d/,X=/\d\d/,Q=/\d{3}/,K=/\d{4}/,J=/[+-]?\d{6}/,q=/\d\d?/,ee=/\d\d\d\d?/,te=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,ie=/\d{1,4}/,re=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,le=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ue={};function de(e,t,n){ue[e]=T(t)?t:function(e,i){return e&&n?n:t}}function he(e,t){return h(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={};function me(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=C(e)}),n=0;n<e.length;n++)pe[e[n]]=i}function ge(e,t){me(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ve(e,t,n){null!=t&&h(pe,e)&&pe[e](t,n._a,n,e)}var ye=0,be=1,_e=2,we=3,xe=4,Ae=5,Ce=6,ke=7,Me=8;function Se(e){return Le(e)?366:365}function Le(e){return e%4==0&&e%100!=0||e%400==0}G("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),G(0,["YY",2],0,function(){return this.year()%100}),G(0,["YYYY",4],0,"year"),G(0,["YYYYY",5],0,"year"),G(0,["YYYYYY",6,!0],0,"year"),F("year","y"),R("year",1),de("Y",se),de("YY",q,X),de("YYYY",ie,K),de("YYYYY",re,J),de("YYYYYY",re,J),me(["YYYYY","YYYYYY"],ye),me("YYYY",function(e,t){t[ye]=2===e.length?o.parseTwoDigitYear(e):C(e)}),me("YY",function(e,t){t[ye]=o.parseTwoDigitYear(e)}),me("Y",function(e,t){t[ye]=parseInt(e,10)}),o.parseTwoDigitYear=function(e){return C(e)+(C(e)>68?1900:2e3)};var Ee,De=Te("FullYear",!0);function Te(e,t){return function(n){return null!=n?(je(this,e,n),o.updateOffset(this,t),this):Ie(this,e)}}function Ie(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function je(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Le(e.year())?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Le(e)?29:28:31-i%7%2}Ee=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},G("M",["MM",2],"Mo",function(){return this.month()+1}),G("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),G("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),R("month",8),de("M",q),de("MM",q,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),me(["M","MM"],function(e,t){t[be]=C(e)-1}),me(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[be]=r:m(n).invalidMonth=e});var Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ye="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Pe(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Ee.call(this._shortMonthsParse,s))?r:null:-1!==(r=Ee.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=Ee.call(this._shortMonthsParse,s))?r:-1!==(r=Ee.call(this._longMonthsParse,s))?r:null:-1!==(r=Ee.call(this._longMonthsParse,s))?r:-1!==(r=Ee.call(this._shortMonthsParse,s))?r:null}function Re(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=C(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(Re(this,e),o.updateOffset(this,!0),this):Ie(this,"Month")}var He=ce,ze=ce;function $e(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=p([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=fe(i[t]),r[t]=fe(r[t]);for(t=0;t<24;t++)o[t]=fe(o[t]);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 We(e,t,n,i,r,o,s){var a=new Date(e,t,n,i,r,o,s);return e<100&&e>=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function Ge(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ve(e,t,n){var i=7+t-n;return-(7+Ge(e,0,i).getUTCDay()-t)%7+i-1}function Ue(e,t,n,i,r){var o,s,a=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r);return a<=0?s=Se(o=e-1)+a:a>Se(e)?(o=e+1,s=a-Se(e)):(o=e,s=a),{year:o,dayOfYear:s}}function Ze(e,t,n){var i,r,o=Ve(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?i=s+Xe(r=e.year()-1,t,n):s>Xe(e.year(),t,n)?(i=s-Xe(e.year(),t,n),r=e.year()+1):(r=e.year(),i=s),{week:i,year:r}}function Xe(e,t,n){var i=Ve(e,t,n),r=Ve(e+1,t,n);return(Se(e)-i+r)/7}G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),R("week",5),R("isoWeek",5),de("w",q),de("ww",q,X),de("W",q),de("WW",q,X),ge(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=C(e)}),G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),de("d",q),de("e",q),de("E",q),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,i){t[i]=C(e)});var Qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qe(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Ee.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ee.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Ee.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Ee.call(this._weekdaysParse,s))?r:-1!==(r=Ee.call(this._shortWeekdaysParse,s))?r:-1!==(r=Ee.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ee.call(this._shortWeekdaysParse,s))?r:-1!==(r=Ee.call(this._weekdaysParse,s))?r:-1!==(r=Ee.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Ee.call(this._minWeekdaysParse,s))?r:-1!==(r=Ee.call(this._weekdaysParse,s))?r:-1!==(r=Ee.call(this._shortWeekdaysParse,s))?r:null}var et=ce,tt=ce,nt=ce;function it(){function e(e,t){return t.length-e.length}var t,n,i,r,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(i),a.push(r),l.push(o),c.push(i),c.push(r),c.push(o);for(s.sort(e),a.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)a[t]=fe(a[t]),l[t]=fe(l[t]),c[t]=fe(c[t]);this._weekdaysRegex=new RegExp("^("+c.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 rt(){return this.hours()%12||12}function ot(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}G("H",["HH",2],0,"hour"),G("h",["hh",2],0,rt),G("k",["kk",2],0,function(){return this.hours()||24}),G("hmm",0,0,function(){return""+rt.apply(this)+B(this.minutes(),2)}),G("hmmss",0,0,function(){return""+rt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),ot("a",!0),ot("A",!1),F("hour","h"),R("hour",13),de("a",st),de("A",st),de("H",q),de("h",q),de("k",q),de("HH",q,X),de("hh",q,X),de("kk",q,X),de("hmm",ee),de("hmmss",te),de("Hmm",ee),de("Hmmss",te),me(["H","HH"],we),me(["k","kk"],function(e,t,n){var i=C(e);t[we]=24===i?0:i}),me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),me(["h","hh"],function(e,t,n){t[we]=C(e),m(n).bigHour=!0}),me("hmm",function(e,t,n){var i=e.length-2;t[we]=C(e.substr(0,i)),t[xe]=C(e.substr(i)),m(n).bigHour=!0}),me("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[we]=C(e.substr(0,i)),t[xe]=C(e.substr(i,2)),t[Ae]=C(e.substr(r)),m(n).bigHour=!0}),me("Hmm",function(e,t,n){var i=e.length-2;t[we]=C(e.substr(0,i)),t[xe]=C(e.substr(i))}),me("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[we]=C(e.substr(0,i)),t[xe]=C(e.substr(i,2)),t[Ae]=C(e.substr(r))});var at,lt=Te("Hours",!0),ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Ye,week:{dow:0,doy:6},weekdays:Qe,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},ut={},dt={};function ht(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var n=null;if(!ut[t]&&e&&e.exports)try{n=at._abbr,i(),pt(n)}catch(e){}return ut[t]}function pt(e,t){var n;return e&&(n=l(t)?gt(e):mt(e,t))&&(at=n),at._abbr}function mt(e,t){if(null!==t){var n=ct;if(t.abbr=e,null!=ut[e])D("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."),n=ut[e]._config;else if(null!=t.parentLocale){if(null==ut[t.parentLocale])return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;n=ut[t.parentLocale]._config}return ut[e]=new j(I(n,t)),dt[e]&&dt[e].forEach(function(e){mt(e.name,e.config)}),pt(e),ut[e]}return delete ut[e],null}function gt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!s(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=ht(e[o]).split("-")).length,n=(n=ht(e[o+1]))?n.split("-"):null;t>0;){if(i=ft(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&k(r,n,!0)>=t-1)break;t--}o++}return null}(e)}function vt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[be]<0||n[be]>11?be:n[_e]<1||n[_e]>Oe(n[ye],n[be])?_e:n[we]<0||n[we]>24||24===n[we]&&(0!==n[xe]||0!==n[Ae]||0!==n[Ce])?we:n[xe]<0||n[xe]>59?xe:n[Ae]<0||n[Ae]>59?Ae:n[Ce]<0||n[Ce]>999?Ce:-1,m(e)._overflowDayOfYear&&(t<ye||t>_e)&&(t=_e),m(e)._overflowWeeks&&-1===t&&(t=ke),m(e)._overflowWeekday&&-1===t&&(t=Me),m(e).overflow=t),e}function yt(e,t,n){return null!=e?e:null!=t?t:n}function bt(e){var t,n,i,r,s=[];if(!e._d){for(i=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[_e]&&null==e._a[be]&&function(e){var t,n,i,r,o,s,a,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,s=4,n=yt(t.GG,e._a[ye],Ze(Ot(),1,4).year),i=yt(t.W,1),((r=yt(t.E,1))<1||r>7)&&(l=!0);else{o=e._locale._week.dow,s=e._locale._week.doy;var c=Ze(Ot(),o,s);n=yt(t.gg,e._a[ye],c.year),i=yt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>Xe(n,o,s)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(a=Ue(n,i,r,o,s),e._a[ye]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(r=yt(e._a[ye],i[ye]),(e._dayOfYear>Se(r)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ge(r,0,e._dayOfYear),e._a[be]=n.getUTCMonth(),e._a[_e]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[we]&&0===e._a[xe]&&0===e._a[Ae]&&0===e._a[Ce]&&(e._nextDay=!0,e._a[we]=0),e._d=(e._useUTC?Ge:We).apply(null,s),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[we]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(m(e).weekdayMismatch=!0)}}var _t=/^\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)?)?$/,wt=/^\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)?)?$/,xt=/Z|[+-]\d\d(?::?\d\d)?/,At=[["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}/]],Ct=[["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/]],kt=/^\/?Date\((\-?\d+)/i;function Mt(e){var t,n,i,r,o,s,a=e._i,l=_t.exec(a)||wt.exec(a);if(l){for(m(e).iso=!0,t=0,n=At.length;t<n;t++)if(At[t][1].exec(l[1])){r=At[t][0],i=!1!==At[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=Ct.length;t<n;t++)if(Ct[t][1].exec(l[3])){o=(l[2]||" ")+Ct[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!xt.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(o||"")+(s||""),Tt(e)}else e._isValid=!1}var St=/^(?:(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}))$/;function Lt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var Et={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,i,r,o,s,a,l=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(l){var c=(t=l[4],n=l[3],i=l[2],r=l[5],o=l[6],s=l[7],a=[Lt(t),Ye.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(o,10)],s&&a.push(parseInt(s,10)),a);if(!function(e,t,n){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return Et[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(l[8],l[9],l[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Tt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,r,s,a=""+e._i,l=a.length,c=0;for(i=U(e._f,e._locale).match(H)||[],t=0;t<i.length;t++)r=i[t],(n=(a.match(he(r,e))||[])[0])&&((s=a.substr(0,a.indexOf(n))).length>0&&m(e).unusedInput.push(s),a=a.slice(a.indexOf(n)+n.length),c+=n.length),W[r]?(n?m(e).empty=!1:m(e).unusedTokens.push(r),ve(r,n,e)):e._strict&&!n&&m(e).unusedTokens.push(r);m(e).charsLeftOver=l-c,a.length>0&&m(e).unusedInput.push(a),e._a[we]<=12&&!0===m(e).bigHour&&e._a[we]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[we]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[we],e._meridiem),bt(e),vt(e)}else Dt(e);else Mt(e)}function It(e){var t=e._i,n=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(vt(t)):(u(t)?e._d=t:s(n)?function(e){var t,n,i,r,o;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Tt(t),g(t)&&(o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,(null==i||o<i)&&(i=o,n=t));f(e,n||t)}(e):n?Tt(e):function(e){var t=e._i;l(t)?e._d=new Date(o.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=kt.exec(e._i);null===t?(Mt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):s(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),bt(e)):a(t)?function(e){if(!e._d){var t=Y(e._i);e._a=d([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),bt(e)}}(e):c(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function jt(e,t,n,i,r){var o={};return!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,function(e){var t=new w(vt(It(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(o)}function Ot(e,t,n,i){return jt(e,t,n,i,!1)}o.createFromInputFallback=S("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),o.ISO_8601=function(){},o.RFC_2822=function(){};var Ft=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Nt=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Yt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=Y(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ee.call(Pt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Pt.length;++i)if(e[Pt[i]]){if(n)return!1;parseFloat(e[Pt[i]])!==C(e[Pt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=gt(),this._bubble()}function Bt(e){return e instanceof Rt}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,t){G(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),de("Z",le),de("ZZ",le),me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Wt(le,e)});var $t=/([\+\-]|\d\d)/gi;function Wt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match($t)||["-",0,0],r=60*i[1]+C(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Gt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(x(e)||u(e)?e.valueOf():Ot(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),o.updateOffset(n,!1),n):Ot(e).local()}function Vt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Zt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qt(e,t){var n,i,o,s=e,a=null;return Bt(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(s={},t?s[t]=e:s.milliseconds=e):(a=Zt.exec(e))?(n="-"===a[1]?-1:1,s={y:0,d:C(a[_e])*n,h:C(a[we])*n,m:C(a[xe])*n,s:C(a[Ae])*n,ms:C(Ht(1e3*a[Ce]))*n}):(a=Xt.exec(e))?(n="-"===a[1]?-1:(a[1],1),s={y:Kt(a[2],n),M:Kt(a[3],n),w:Kt(a[4],n),d:Kt(a[5],n),h:Kt(a[6],n),m:Kt(a[7],n),s:Kt(a[8],n)}):null==s?s={}:"object"===(void 0===s?"undefined":r(s))&&("from"in s||"to"in s)&&(o=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Gt(t,e),e.isBefore(t)?n=Jt(e,t):((n=Jt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Ot(s.from),Ot(s.to)),(s={}).ms=o.milliseconds,s.M=o.months),i=new Rt(s),Bt(e)&&h(e,"_locale")&&(i._locale=e._locale),i}function Kt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),en(this,Qt(n="string"==typeof n?+n:n,i),e),this}}function en(e,t,n,i){var r=t._milliseconds,s=Ht(t._days),a=Ht(t._months);e.isValid()&&(i=null==i||i,a&&Re(e,Ie(e,"Month")+a*n),s&&je(e,"Date",Ie(e,"Date")+s*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&o.updateOffset(e,s||a))}Qt.fn=Rt.prototype,Qt.invalid=function(){return Qt(NaN)};var tn=qt(1,"add"),nn=qt(-1,"subtract");function rn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function on(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gt(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sn=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function an(){return this._locale}function ln(e,t){G(0,[e,e.length],0,t)}function cn(e,t,n,i,r){var o;return null==e?Ze(this,i,r).year:(t>(o=Xe(e,i,r))&&(t=o),un.call(this,e,t,n,i,r))}function un(e,t,n,i,r){var o=Ue(e,t,n,i,r),s=Ge(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),de("G",se),de("g",se),de("GG",q,X),de("gg",q,X),de("GGGG",ie,K),de("gggg",ie,K),de("GGGGG",re,J),de("ggggg",re,J),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=C(e)}),ge(["gg","GG"],function(e,t,n,i){t[i]=o.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),F("quarter","Q"),R("quarter",7),de("Q",Z),me("Q",function(e,t){t[be]=3*(C(e)-1)}),G("D",["DD",2],"Do","date"),F("date","D"),R("date",9),de("D",q),de("DD",q,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),me(["D","DD"],_e),me("Do",function(e,t){t[_e]=C(e.match(q)[0])});var dn=Te("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),R("dayOfYear",4),de("DDD",ne),de("DDDD",Q),me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=C(e)}),G("m",["mm",2],0,"minute"),F("minute","m"),R("minute",14),de("m",q),de("mm",q,X),me(["m","mm"],xe);var hn=Te("Minutes",!1);G("s",["ss",2],0,"second"),F("second","s"),R("second",15),de("s",q),de("ss",q,X),me(["s","ss"],Ae);var fn,pn=Te("Seconds",!1);for(G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),R("millisecond",16),de("S",ne,Z),de("SS",ne,X),de("SSS",ne,Q),fn="SSSS";fn.length<=9;fn+="S")de(fn,oe);function mn(e,t){t[Ce]=C(1e3*("0."+e))}for(fn="S";fn.length<=9;fn+="S")me(fn,mn);var gn=Te("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var vn=w.prototype;function yn(e){return e}vn.add=tn,vn.calendar=function(e,t){var n=e||Ot(),i=Gt(n,this).startOf("day"),r=o.calendarFormat(this,i)||"sameElse",s=t&&(T(t[r])?t[r].call(this,n):t[r]);return this.format(s||this.localeData().calendar(r,this,Ot(n)))},vn.clone=function(){return new w(this)},vn.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Gt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=N(t)){case"year":o=rn(this,i)/12;break;case"month":o=rn(this,i);break;case"quarter":o=rn(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:A(o)},vn.endOf=function(e){return void 0===(e=N(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},vn.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Ot(e).isValid())?Qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Ot(),e)},vn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Ot(e).isValid())?Qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Ot(),e)},vn.get=function(e){return T(this[e=N(e)])?this[e]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(e,t){var n=x(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(l(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},vn.isBefore=function(e,t){var n=x(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(l(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},vn.isBetween=function(e,t,n,i){return("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},vn.isSame=function(e,t){var n,i=x(e)?e:Ot(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=N(t||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},vn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vn.isValid=function(){return g(this)},vn.lang=sn,vn.locale=on,vn.localeData=an,vn.max=Nt,vn.min=Ft,vn.parsingFlags=function(){return f({},m(this))},vn.set=function(e,t){if("object"===(void 0===e?"undefined":r(e)))for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:P[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=Y(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(T(this[e=N(e)]))return this[e](t);return this},vn.startOf=function(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},vn.subtract=nn,vn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},vn.toDate=function(){return new Date(this.valueOf())},vn.toISOString=function(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?V(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(Date.prototype.toISOString)?this.toDate().toISOString():V(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.year=De,vn.isLeapYear=function(){return Le(this.year())},vn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vn.month=Be,vn.daysInMonth=function(){return Oe(this.year(),this.month())},vn.week=vn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vn.isoWeek=vn.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vn.weeksInYear=function(){var e=this.localeData()._week;return Xe(this.year(),e.dow,e.doy)},vn.isoWeeksInYear=function(){return Xe(this.year(),1,4)},vn.date=dn,vn.day=vn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},vn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},vn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},vn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},vn.hour=vn.hours=lt,vn.minute=vn.minutes=hn,vn.second=vn.seconds=pn,vn.millisecond=vn.milliseconds=gn,vn.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Wt(le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Vt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?en(this,Qt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Vt(this)},vn.utc=function(e){return this.utcOffset(0,e)},vn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Vt(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Wt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Ut,vn.isUTC=Ut,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=S("dates accessor is deprecated. Use date instead.",dn),vn.months=S("months accessor is deprecated. Use month instead",Be),vn.years=S("years accessor is deprecated. Use year instead",De),vn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),vn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=It(e))._a){var t=e._isUTC?p(e._a):Ot(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var bn=j.prototype;function _n(e,t,n,i){var r=gt(),o=p().set(i,t);return r[n](o,e)}function wn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return _n(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=_n(e,i,n,"month");return r}function xn(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,o=gt(),s=e?o._week.dow:0;if(null!=n)return _n(t,(n+s)%7,i,"day");var a=[];for(r=0;r<7;r++)a[r]=_n(t,(r+s)%7,i,"day");return a}bn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},bn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(e){return this._ordinal.replace("%d",e)},bn.preparse=yn,bn.postformat=yn,bn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return T(r)?r(e,t,n,i):r.replace(/%d/i,e)},bn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},bn.set=function(e){var t,n;for(n in e)T(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},bn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Fe.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Pe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([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"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},bn.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||$e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=ze),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||$e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(e,t){return e?s(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:s(this._weekdays)?this._weekdays:this._weekdays.standalone},bn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},bn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},bn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([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"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},pt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=S("moment.lang is deprecated. Use moment.locale instead.",pt),o.langData=S("moment.langData is deprecated. Use moment.localeData instead.",gt);var An=Math.abs;function Cn(e,t,n,i){var r=Qt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function kn(e){return e<0?Math.floor(e):Math.ceil(e)}function Mn(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function Ln(e){return function(){return this.as(e)}}var En=Ln("ms"),Dn=Ln("s"),Tn=Ln("m"),In=Ln("h"),jn=Ln("d"),On=Ln("w"),Fn=Ln("M"),Nn=Ln("y");function Yn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Yn("milliseconds"),Rn=Yn("seconds"),Bn=Yn("minutes"),Hn=Yn("hours"),zn=Yn("days"),$n=Yn("months"),Wn=Yn("years"),Gn=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,M:11};function Un(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Zn=Math.abs;function Xn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Zn(this._milliseconds)/1e3,i=Zn(this._days),r=Zn(this._months);e=A(n/60),t=A(e/60),n%=60,e%=60;var o=A(r/12),s=r%=12,a=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=Xn(this._months)!==Xn(d)?"-":"",p=Xn(this._days)!==Xn(d)?"-":"",m=Xn(this._milliseconds)!==Xn(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(a?p+a+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var Kn=Rt.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var e=this._data;return this._milliseconds=An(this._milliseconds),this._days=An(this._days),this._months=An(this._months),e.milliseconds=An(e.milliseconds),e.seconds=An(e.seconds),e.minutes=An(e.minutes),e.hours=An(e.hours),e.months=An(e.months),e.years=An(e.years),this},Kn.add=function(e,t){return Cn(this,e,t,1)},Kn.subtract=function(e,t){return Cn(this,e,t,-1)},Kn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+i/864e5,n=this._months+Mn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Kn.asMilliseconds=En,Kn.asSeconds=Dn,Kn.asMinutes=Tn,Kn.asHours=In,Kn.asDays=jn,Kn.asWeeks=On,Kn.asMonths=Fn,Kn.asYears=Nn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},Kn._bubble=function(){var e,t,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*kn(Sn(a)+s),s=0,a=0),l.milliseconds=o%1e3,e=A(o/1e3),l.seconds=e%60,t=A(e/60),l.minutes=t%60,n=A(t/60),l.hours=n%24,s+=A(n/24),a+=r=A(Mn(s)),s-=kn(Sn(r)),i=A(a/12),a%=12,l.days=s,l.months=a,l.years=i,this},Kn.clone=function(){return Qt(this)},Kn.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},Kn.milliseconds=Pn,Kn.seconds=Rn,Kn.minutes=Bn,Kn.hours=Hn,Kn.days=zn,Kn.weeks=function(){return A(this.days()/7)},Kn.months=$n,Kn.years=Wn,Kn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Qt(e).abs(),r=Gn(i.as("s")),o=Gn(i.as("m")),s=Gn(i.as("h")),a=Gn(i.as("d")),l=Gn(i.as("M")),c=Gn(i.as("y")),u=r<=Vn.ss&&["s",r]||r<Vn.s&&["ss",r]||o<=1&&["m"]||o<Vn.m&&["mm",o]||s<=1&&["h"]||s<Vn.h&&["hh",s]||a<=1&&["d"]||a<Vn.d&&["dd",a]||l<=1&&["M"]||l<Vn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,Un.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Kn.toISOString=Qn,Kn.toString=Qn,Kn.toJSON=Qn,Kn.locale=on,Kn.localeData=an,Kn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Kn.lang=sn,G("X",0,0,"unix"),G("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),me("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),me("x",function(e,t,n){n._d=new Date(C(e))}),o.version="2.19.1",t=Ot,o.fn=vn,o.min=function(){return Yt("isBefore",[].slice.call(arguments,0))},o.max=function(){return Yt("isAfter",[].slice.call(arguments,0))},o.now=function(){return Date.now?Date.now():+new Date},o.utc=p,o.unix=function(e){return Ot(1e3*e)},o.months=function(e,t){return wn(e,t,"months")},o.isDate=u,o.locale=pt,o.invalid=v,o.duration=Qt,o.isMoment=x,o.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},o.parseZone=function(){return Ot.apply(null,arguments).parseZone()},o.localeData=gt,o.isDuration=Bt,o.monthsShort=function(e,t){return wn(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},o.defineLocale=mt,o.updateLocale=function(e,t){if(null!=t){var n,i=ct;null!=ut[e]&&(i=ut[e]._config),(n=new j(t=I(i,t))).parentLocale=ut[e],ut[e]=n,pt(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?ut[e]=ut[e].parentLocale:null!=ut[e]&&delete ut[e]);return ut[e]},o.locales=function(){return L(ut)},o.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},o.normalizeUnits=N,o.relativeTimeRounding=function(e){return void 0===e?Gn:"function"==typeof e&&(Gn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},o.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=vn,o})}),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var a={install:function(e,t){var n=t&&t.moment?t.moment:r;Object.defineProperties(e.prototype,{$moment:{get:function(){return n}}}),e.moment=n,e.filter("moment",function(){for(var e=arguments,t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=e[r];var s=(i=Array.prototype.slice.call(i)).shift(),a=void 0;if(a=Array.isArray(s)&&"string"==typeof s[0]?n(s[0],s[1],!0):"number"==typeof s&&s.toString().length<12?n.unix(s):n(s),!s||!a.isValid())return console.warn("Could not build a valid `moment` object from input."),s;function l(){for(var e=arguments,t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=e[r];var s=(i=Array.prototype.slice.call(i)).shift();switch(s){case"add":for(var c=i.shift().split(",").map(Function.prototype.call,String.prototype.trim),u={},d=0;d<c.length;d++){var h=c[d].split(" ");u[h[1]]=h[0]}a.add(u);break;case"subtract":for(var f=i.shift().split(",").map(Function.prototype.call,String.prototype.trim),p={},m=0;m<f.length;m++){var g=f[m].split(" ");p[g[1]]=g[0]}a.subtract(p);break;case"from":var v="now",y=!1;"now"===i[0]&&i.shift(),n(i[0]).isValid()&&(v=n(i.shift())),!0===i[0]&&(i.shift(),y=!0),a="now"!==v?a.from(v,y):a.fromNow(y);break;case"diff":var b=n(),_="",w=!1;n(i[0]).isValid()?b=n(i.shift()):null!==i[0]&&"now"!==i[0]||i.shift(),i[0]&&(_=i.shift()),!0===i[0]&&(w=i.shift()),a=a.diff(b,_,w);break;case"calendar":var x=n(),A={};n(i[0]).isValid()?x=n(i.shift()):null!==i[0]&&"now"!==i[0]||i.shift(),"object"===o(i[0])&&(A=i.shift()),a=a.calendar(x,A);break;case"utc":a.utc();break;case"timezone":a.tz(i.shift());break;default:var C=s;a=a.format(C)}i.length&&l.apply(l,i)}return l.apply(l,i),a}),e.filter("duration",function(){for(var e=arguments,t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=e[r];var o=(i=Array.prototype.slice.call(i)).shift(),a=i.shift();function l(e){Array.isArray(e)||(e=[e]);var t=n.duration.apply(n,s(e));return t.isValid()||console.warn("Could not build a valid `duration` object from input."),t}var c=l(o);if("add"===a||"subtract"===a){var u=l(i);c[a](u)}else if(c&&c[a]){var d;c=(d=c)[a].apply(d,s(i))}return c})}},l=a.install;t.default=a,t.install=l,Object.defineProperty(t,"__esModule",{value:!0})})(t)}).call(this,n(5))},function(e,t,n){"use strict";n.r(t);var i=n(3),r=n.n(i),o=n(8),s={data:function(){return{user:{}}},components:{},watch:{},created:function(){},mounted:function(){},methods:{}},a=n(1),l={data:function(){return{user:{}}},components:{},watch:{},created:function(){},mounted:function(){},methods:{}},c={name:"App",data:function(){return{isLoading:!0}},components:{"menu-component":Object(a.a)(s,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu-container"},[n("div",{staticClass:"sidebar"},[n("div",{staticClass:"logo text-center"},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin"}}},[n("img",{attrs:{src:"/build/images/logo.png",height:"53"}})])],1),e._v(" "),n("div",{staticClass:"sidebar-wrapper"},[n("ul",{staticClass:"nav"},[n("li",{staticClass:"d-flex",class:["/admin"==e.$route.path?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin"}}},[e._v("\n Dashboard\n ")])],1),e._v(" "),n("li",{staticClass:"d-flex",class:["/admin/statistics"==e.$route.path?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/statistics"}}},[e._v("\n Statistici\n ")])],1),e._v(" "),n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/applicants")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/applicants"}}},[e._v("\n Aplicanti\n ")])],1),e._v(" "),n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/jsonTree")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/jsonTree"}}},[e._v("\n Schema quiz\n ")])],1),e._v(" "),n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/referrals")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/referrals"}}},[e._v("\n Recomandari\n ")])],1),e._v(" "),"admin"==e.$auth.user().role?n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/settings")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/settings"}}},[e._v("\n Setari\n ")])],1):e._e(),e._v(" "),"admin"==e.$auth.user().role?n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/crm-settings")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/crm-settings"}}},[e._v("\n CRM Settings\n ")])],1):e._e(),e._v(" "),"admin"==e.$auth.user().role?n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/export-settings")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/export-settings"}}},[e._v("\n Setari Export\n ")])],1):e._e(),e._v(" "),n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/applicant-errors")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/applicant-errors"}}},[e._v("\n Erori\n ")])],1),e._v(" "),"admin"==e.$auth.user().role?n("li",{staticClass:"d-flex",class:[-1!=e.$route.path.indexOf("/admin/users")?"active":""]},[n("router-link",{staticClass:"w-100",attrs:{to:{path:"/admin/users"}}},[e._v("\n Users\n ")])],1):e._e()])])])])},[],!1,null,null,null).exports,"navbar-component":Object(a.a)(l,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"navbar navbar-expand-lg navbar-light"},[n("div",{staticClass:"collapse navbar-collapse",attrs:{id:"navbarSupportedContent"}},[e.$auth.check()?n("ul",{staticClass:"navbar-nav ml-auto"},[n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$auth.logout()}}},[e._v("Logout")])])]):e._e()])])},[],!1,null,null,null).exports},created:function(){this.$router.beforeEach(function(e,t,n){n()})},destroyed:function(){},watch:{$route:function(e,t){this.isLoading=!0}},mounted:function(){var e=this;this.$root.$on("doneLoading",function(){e.isLoading=!1}),this.$root.$on("onLoading",function(){e.isLoading=!0})},methods:{},computed:{}},u=Object(a.a)(c,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"home-page-container"},[e.$auth.check()?n("navbar-component"):e._e(),e._v(" "),e.$auth.check()?n("menu-component"):e._e(),e._v(" "),n("div",{staticClass:"main-panel",class:{full:!e.$auth.check()}},[n("router-view",{key:e.$route.fullPath,class:{"d-none":e.isLoading&&e.$auth.check()}}),e._v(" "),e.isLoading&&e.$auth.check()?n("div",{staticClass:"loading"},[n("img",{attrs:{src:"/build/images/logo.png"}})]):e._e()],1),e._v(" "),n("notifications",{attrs:{group:"main",position:"bottom right",width:"500"}})],1)},[],!1,null,null,null).exports,d=n(207),h=n.n(d),f=n(208),p=n.n(f),m={name:"App",components:{WorkflowChart:h.a},directives:{drag:p.a},data:function(){return{treeData:{},states:[],finishedGettingData:!1,transitions:[],stateSemantics:[{classname:"delete",id:"static_state_deleted"}],size:{width:"0px",height:"0px"}}},created:function(){this.generateJson(),this.$nextTick(function(){})},beforeRouteLeave:function(e,t,n){window.removeEventListener("scroll",function(e){}),n()},methods:{scrollFunction:function(e){console.log("zoooom");document.getElementById("jsonTree")},onLabelClicked:function(e,t){var n=this.treeData.questions;console.log(n[t.replace("question_","")]);var i=Object.values(n[t.replace("question_","")].answers).map(function(e){return console.log(e)," - "+e.title});alert(i.join("\n"))},sizeChanged:function(e){this.size={width:"".concat(e.width,"px"),height:"".concat(e.height,"px")}},generateJson:function(){var e=this;axios.get("getQuiz").then(function(t){e.treeData=JSON.parse(t.data.json),e.states=Object.keys(e.treeData.questions).map(function(t){var n=e.treeData.questions[t];return["loader","calculations","thanks","previous_thanks"].includes(n.step_type)?{id:"question_"+t,label:n.step_type}:(console.log(t),n&&Object.values(n.next_step).length>0&&n.next_step.map(function(n,i){e.transitions.push({id:"Dz2un1r"+t+i,question:t,answer:i,label:n.condition,target:"question_"+n.destination,source:"question_"+t})}),{id:"question_"+t,label:n.title[0].title+" (Intrebare ".concat(t,")")})}),e.$root.$emit("doneLoading"),e.finishedGettingData=!0})}}},g=(n(253),Object(a.a)(m,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"jsonTree",attrs:{id:"jsonTree"}},[e.finishedGettingData?n("workflow-chart",{directives:[{name:"drag",rawName:"v-drag"}],style:e.size,attrs:{transitions:e.transitions,states:e.states,orientation:"horizontal"},on:{"state-click":function(t){return e.onLabelClicked("state",t)},"transition-click":function(t){return e.onLabelClicked("transition",t)},"size-change":e.sizeChanged}}):e._e()],1)},[],!1,null,null,null).exports),v=n(2),y=n.n(v),b=n(209);function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function x(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){w(o,i,r,s,a,"next",e)}function a(e){w(o,i,r,s,a,"throw",e)}s(void 0)})}}var A,C,k,M={data:function(){return{date_locale:{direction:"ltr",format:this.$moment.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Aplica",cancelLabel:"Renunta",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:this.$moment.weekdaysMin(),monthNames:this.$moment.monthsShort(),firstDay:this.$moment.localeData().firstDayOfWeek()},date_ranges:{Azi:[this.$moment(),this.$moment()],Ieri:[this.$moment().subtract(1,"days"),this.$moment().subtract(1,"days")],"Luna aceasta":[this.$moment().startOf("month"),this.$moment().endOf("month")],"Anul acesta":[this.$moment().startOf("year"),this.$moment().endOf("year")],"Ultima saptamana":[this.$moment().subtract(1,"week").startOf("week"),this.$moment().subtract(1,"week").endOf("week")],"Ultima luna":[this.$moment().subtract(1,"month").startOf("month"),this.$moment().subtract(1,"month").endOf("month")]},applicants:[],statuses:{},selectedStatus:"call_clarificare",filteredApplicants:{},total_entries:0,filter:{referrals:[],dateRange:{startDate:null,endDate:null}},referrals:[],qualifiedForOptions:{online:"Online",sala_palatului:"Sala Palatului"},search:"",page:0,infiniteId:1}},components:{InfiniteLoading:n.n(b).a},watch:{"filter.referrals":function(){this.getApplicants()}},mounted:(k=x(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$refs.infiniteLoading.status=1,this.$refs.infiniteLoading.$emit("infinite",this.$refs.infiniteLoading.stateChanger),this.getStatuses(),e.next=5,this.getReferrals();case 5:case"end":return e.stop()}},e,this)})),function(){return k.apply(this,arguments)}),filters:{getLengthByFilter:function(e,t){return(""!=e?t.filter(function(t){return t.status==e}):t).length}},methods:{getStatuses:(C=x(y.a.mark(function e(){var t,n=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={referrals:this.filter.referrals.map(function(e){return e.id}),start_date:this.filter.dateRange.startDate,end_date:this.filter.dateRange.endDate},""!=this.search&&(t.search=this.search),e.next=4,axios.get("statuses-results",{params:t}).then(function(e){var t=e.data;n.statuses=t.data});case 4:case"end":return e.stop()}},e,this)})),function(){return C.apply(this,arguments)}),getApplicants:(A=x(y.a.mark(function e(t){var n,i=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={view_more:100*this.page,referrals:this.filter.referrals.map(function(e){return e.id}),start_date:this.filter.dateRange.startDate,end_date:this.filter.dateRange.endDate,status:this.selectedStatus},""!=this.search&&(n.search=this.search),axios.get("/contacts",{params:n}).then(function(e){var n,r=e.data;i.total_entries=r.total,r.data.length?(i.page++,(n=i.applicants).push.apply(n,_(r.data)),setTimeout(function(){t.loaded()},200),r.data.length<100&&t.complete()):t.complete(),i.$root.$emit("doneLoading")}).catch(function(e){e.response&&500==e.response.status&&alert(i.$t("error.500"))});case 3:case"end":return e.stop()}},e,this)})),function(e){return A.apply(this,arguments)}),searchFilterFunct:function(){var e=this;this.page=0,this.applicants=[],this.infiniteId+=1,this.getStatuses(),this.$nextTick(function(){e.$refs.infiniteLoading.status=1,e.$refs.infiniteLoading.$emit("infinite",e.$refs.infiniteLoading.stateChanger)})},viewCandidate:function(e){this.$router.push("/admin/applicants/"+e)},statusChange:function(e,t){var n=this;axios.post("change_contact_status",{entity_id:e,status:t.target.value}).then(function(){n.$notify({group:"main",title:"Salvat cu succes",type:"success"})})},qualifiedForChange:function(e,t){var n=this;axios.post("changeQualifiedFor",{entity_id:e,qualified_for:t.target.value}).then(function(){n.$notify({group:"main",title:"Salvat cu succes",type:"success"})})},changeExtraPeople:function(e,t){var n=this;axios.post("changeExtraPeople",{entity_id:e,extra_people:t.target.value}).then(function(){n.$notify({group:"main",title:"Salvat cu succes",type:"success"})})},deleteAplicant:function(e){var t=this;confirm("Vrei sa stergi inregistrarea pentru email-ul ".concat(e.email," ?"))&&axios.delete("contacts/".concat(e.id,"/destroy")).then(function(){t.getApplicants(),t.$notify({group:"main",title:"Sters cu succes",type:"success"})})},exportExcel:function(){axios({url:"/export/results",params:{filter:{referrals:this.filter.referrals.map(function(e){return e.id}),dateRange:this.filter.dateRange}},method:"GET",responseType:"blob"}).then(function(e){var t=window.URL.createObjectURL(new Blob([e.data])),n=document.createElement("a");n.href=t,n.setAttribute("download","export-".concat(Date.now(),".xls")),document.body.appendChild(n),n.click()})},getReferrals:function(){var e=this;axios.get("referrals").then(function(t){var n=t.data;e.referrals=n})}}},S=(n(53),Object(a.a)(M,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-4"},[e._m(0),e._v(" "),e.applicants?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedStatus,expression:"selectedStatus"}],staticClass:"col-md-4",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.selectedStatus=t.target.multiple?n:n[0]},e.searchFilterFunct]}},e._l(e.statuses,function(t,i){return n("option",{domProps:{value:i}},[e._v("\n "+e._s(t.name)+" ("+e._s(t.count)+")\n ")])}),0):e._e(),e._v(" "),n("div",{staticClass:"col-md-1 justify-content-center d-flex"},[n("button",{staticClass:"btn",on:{click:e.exportExcel}},[n("img",{attrs:{src:"/build/images/excel.png",width:"30"}})])]),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4"},[n("div",{staticClass:"filters"},[n("h5",{staticClass:"filter-title"},[e._v("Filtrari")]),e._v(" "),n("div",{staticClass:"filter-item search"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"},{name:"debounce",rawName:"v-debounce:500",value:e.searchFilterFunct,expression:"searchFilterFunct",arg:"500"}],attrs:{type:"text",placeholder:"Cauta aici in lista de aplicanti"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"filter-item"},[n("date-range-picker",{ref:"picker",staticClass:"ml-auto",attrs:{ranges:e.date_ranges,opens:"left","locale-data":e.date_locale},on:{update:e.getApplicants},scopedSlots:e._u([{key:"input",fn:function(t){return n("div",{staticClass:"datepicker-text",staticStyle:{"min-width":"350px"}},[n("span",[e._v(e._s(e._f("moment")(t.startDate,"MMMM Do YYYY")))]),e._v(" - "),n("span",[e._v(e._s(e._f("moment")(t.endDate,"MMMM Do YYYY")))])])}}]),model:{value:e.filter.dateRange,callback:function(t){e.$set(e.filter,"dateRange",t)},expression:"filter.dateRange"}})],1)])])])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped table-applicants"},[n("thead",[n("tr",[e._m(1),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),e._m(4),e._v(" "),e._m(5),e._v(" "),e._m(6),e._v(" "),e._m(7),e._v(" "),e._m(8),e._v(" "),e._m(9),e._v(" "),e._m(10),e._v(" "),e._m(11),e._v(" "),n("th",[e.$auth.check()&&"admin"==e.$auth.user().role?n("div",{staticClass:"header"}):e._e()])])]),e._v(" "),n("tbody",e._l(e.applicants,function(t,i){return n("tr",{key:i,attrs:{set:e.entity_json=JSON.parse(t.entity_json)}},[n("td",[e._v(e._s(t.created_at))]),e._v(" "),n("td",[e._v("\n "+e._s(t.full_name?t.full_name:e.entity_json[29].answers[0].fields[0].value)+"\n "),n("br"),e._v(" "),t.email||e.entity_json[29].answers[0].fields[2].value?n("span",{staticStyle:{"font-size":"12px"}},[e._v("\n "+e._s(t.email?t.email:e.entity_json[29].answers[0].fields[2].value)+"\n ")]):e._e()]),e._v(" "),n("td",[e._v("\n "+e._s(e.entity_json[1]?e.entity_json[1].answers[0].value:"-")+"\n "),Object.keys(e.entity_json).includes(1)&&"nu"==e.entity_json[1].answers[0].value?n("span",{staticStyle:{"font-size":"12px"}},[e._v(e._s(e.entity_json[2].answers[0].value))]):e._e()]),e._v(" "),n("td",[e._v("\n "+e._s(t.phone?t.phone:e.entity_json[29].answers[0].fields[3]?e.entity_json[29].answers[0].fields[3].value:"-")+" \n ")]),e._v(" "),n("td",[e._v("\n "+e._s(t.cui?t.cui:e.entity_json[29].answers[0].fields[1].value)+"\n "),t.company_name?n("br"):e._e(),e._v(" "),t.company_name?n("span",{staticStyle:{"font-size":"12px"}},[e._v(e._s(t.company_name)+" ")]):e._e()]),e._v(" "),n("td",[e._v("\n "+e._s(e.entity_json[4]?e.entity_json[4].answers[0].value:"-")+"\n ")]),e._v(" "),n("td",[e._v("\n "+e._s(e.entity_json[5]?e.entity_json[5].answers[0].value:"-")+"\n "),e.entity_json[6]?n("span",{staticStyle:{"font-size":"12px"}},[e._v(e._s(e.entity_json[6].answers[0].fields[0].value)+" ")]):e._e()]),e._v(" "),n("td",[n("span",{attrs:{title:"Completat de catre un angajat TBF. Daca aceasta valoare este modificata atunci nu vom mai lua in considerare ce a completat clientul in quiz"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.extra_people,expression:"applicant.extra_people"}],staticStyle:{"max-width":"50px"},attrs:{type:"number",name:"extra_people"},domProps:{value:t.extra_people},on:{blur:function(n){return e.changeExtraPeople(t.id,n)},input:function(n){n.target.composing||e.$set(t,"extra_people",n.target.value)}}})])]),e._v(" "),n("td",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.qualified_for,expression:"applicant.qualified_for"}],on:{change:[function(n){var i=Array.prototype.filter.call(n.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"qualified_for",n.target.multiple?i:i[0])},function(n){return e.qualifiedForChange(t.id,n)}]}},e._l(e.qualifiedForOptions,function(i,r){return n("option",{domProps:{value:r,selected:t.qualified_for==r||!t.qualified_for&&"online"==r}},[e._v(e._s(i))])}),0),e._v(" "),n("br"),e._v(" "),"sala_palatului"==t.qualified_for?n("span",{staticStyle:{"font-size":"12px"}},[e._v("FB1: "+e._s(t.feedback)+" / FB2: "+e._s(t.feedback_final))]):e._e()]),e._v(" "),n("td",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.status,expression:"applicant.status"}],on:{change:[function(n){var i=Array.prototype.filter.call(n.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"status",n.target.multiple?i:i[0])},function(n){return e.statusChange(t.id,n)}]}},e._l(e.statuses,function(t,i){return n("option",{domProps:{value:i}},[e._v(e._s(t.name))])}),0)]),e._v(" "),n("td",{on:{click:function(n){return n.target!==n.currentTarget?null:e.viewCandidate(t.id)}}},[e._v(e._s(parseFloat(t.activity_logs.reduce(function(e,t){return e+(t.time?parseFloat(t.time):0)},0)).toFixed(2))+"s")]),e._v(" "),e.$auth.check()&&"admin"==e.$auth.user().role?n("td",[n("button",{staticClass:"btn btn-danger",on:{click:function(n){return n.preventDefault(),e.deleteAplicant(t)}}},[e._v("Delete")])]):e._e()])}),0)])])])])])]),e._v(" "),n("infinite-loading",{ref:"infiniteLoading",attrs:{identifier:e.infiniteId},on:{infinite:e.getApplicants}},[n("div",{attrs:{slot:"spinner"},slot:"spinner"}),n("div",{attrs:{slot:"no-more"},slot:"no-more"}),n("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1)},[function(){var e=this.$createElement,t=this._self._c||e;return t("h2",{staticClass:"page-title dashboard col-md-7 col-sm-3"},[t("img",{attrs:{src:"/build/images/eye.svg"}}),this._v("Aplicanti\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Data")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Nume")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Antreprenor?")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Telefon")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("CUI")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Cifra")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Tara")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Nr pers. extra")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Calificat pentru")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Status")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("div",{staticClass:"header"},[this._v("Timp")])])}],!1,null,null,null).exports);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){D(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function I(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){T(o,i,r,s,a,"next",e)}function a(e){T(o,i,r,s,a,"throw",e)}s(void 0)})}}var j,O={data:function(){return{applicant:{},json:{},emailOferta:""}},components:{},watch:{},created:function(){},mounted:function(){var e=I(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getApplicant();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getApplicant:(j=I(y.a.mark(function e(){var t,n=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.$route.params.id,axios.get("/contacts/".concat(t,"/show")).then(function(e){var t=e.data,i=t.json,r=t.quiz_result;n.applicant=r,n.applicant.first_name=i[29].answers[0].fields[1].value,n.applicant.last_name=i[29].answers[0].fields[0].value,n.applicant.email=i[29].answers[0].fields[2].value,n.applicant.phone=i[29].answers[0].fields[3].value,Object.values(i)[0].order?n.json=E({},Object.values(i).sort(function(e,t){return e.order>t.order?1:-1})):n.json=i,n.$root.$emit("doneLoading")});case 2:case"end":return e.stop()}},e,this)})),function(){return j.apply(this,arguments)}),sendEmail:function(){var e=this;axios.post("/emailApplicant/"+this.$route.params.id,{email:this.emailOferta}).then(function(){e.$notify({group:"main",type:"success",title:"Email trimis"})})}}},F=Object(a.a)(O,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[e._m(0),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("div",{staticClass:"row"},[e._m(1),e._v(" "),n("div",{staticClass:"col d-flex flex-column justify-content-center"},[n("div",{staticClass:"row"},[e._v(e._s(e.applicant.first_name)+" "+e._s(e.applicant.last_name))]),e._v(" "),n("div",{staticClass:"row"},[n("small",[e._v("Email: "+e._s(e.applicant.email))])]),e._v(" "),n("div",{staticClass:"row"},[n("small",[e._v("Telefon: "+e._s(e.applicant.phone))])]),e._v(" "),n("div",{staticClass:"row"},[n("small",[e._v("Pret: "+e._s(e.applicant.entity_value)+"€")])]),e._v(" "),n("div",{staticClass:"row"},[n("small",[e._v("Feedback: "+e._s(e.applicant.feedback))])])])])])])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-8"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped"},[e._m(2),e._v(" "),n("tbody",e._l(e.json,function(t,i){return n("tr",{key:"question-"+i},[n("td",[e._v(e._s(t.answers[0].question))]),e._v(" "),null!=t.answers[0].fields&&t.answers[0].fields.length>0?n("td",e._l(t.answers[0].fields,function(t,i){return n("p",{key:"field-"+i},[e._v("\n "+e._s(t.value)+"\n ")])}),0):n("td",[e._v(e._s(t.answers[0].title))])])}),0)])])])]),e._v(" "),n("div",{staticClass:"col-4"},[n("div",{staticClass:"card d-flex h-100"},[n("div",{staticClass:"card-body pl-4 pr-4"},[n("iframe",{staticStyle:{overflow:"hidden",width:"100%"},attrs:{src:"/result/"+this.applicant.session_id,height:"100%",frameborder:"0"}})])]),e._v(" "),n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[e._m(3),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("form",{staticClass:"form-inline",on:{submit:function(t){return t.preventDefault(),e.sendEmail(t)}}},[n("div",{staticClass:"form-group mb-2 w-100 d-flex justify-content-between align-content-center"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.emailOferta,expression:"emailOferta"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Introdu un email"},domProps:{value:e.emailOferta},on:{input:function(t){t.target.composing||(e.emailOferta=t.target.value)}}}),e._v(" "),n("button",{staticClass:"btn btn-success",attrs:{type:"submit"}},[e._v("Trimite")])])])])])])])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"row w-100 align-items-center mb-3"},[t("h2",{staticClass:"page-title dashboard col-md-10 col-sm-3"},[t("img",{attrs:{src:"/build/images/eye.svg"}}),this._v(" Vizualizare\n ")]),this._v(" "),t("div",{staticClass:"clearfix"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"col-2 d-flex justify-content-center"},[t("img",{staticClass:"img-profile",attrs:{src:"/build/images/profile.png"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",[t("tr",[t("th",[this._v("Intrebare")]),this._v(" "),t("th",[this._v("Raspuns")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"row mb-4"},[t("div",{staticClass:"col"},[t("h5",[this._v("Trimite o copie a ofertei la adresa de email")])])])}],!1,null,null,null).exports,N={data:function(){return{error:void 0,settings:{crm_host:"",crm_api_key:"",has_crm:"",reset_button:"",pixel_api_key:"",google_analytics_api_key:""},mailchimp_listings:[],selectedCrmLists:[],crm_lists:[],fav_ico:""}},created:function(){},mounted:function(){this.getSettings(),this.loadImage("/images/fav.ico")},methods:{getSettings:function(){var e=this;axios.get("/auth/user").then(function(t){var n=t.data,i=n.crm_lists,r=n.data;null!=i?(e.crm_lists=i,null!=r.crm_list_ids&&(e.selectedCrmLists=e.crm_lists.filter(function(e){if(r.crm_list_ids.includes(",")){if(r.crm_list_ids.split(",").includes(e.id))return e}else if(r.crm_list_ids==e.id)return e}))):e.crm_lists=[],e.settings.crm_host=null!=r.crm_host?r.crm_host:"",e.settings.crm_api_key=null!=r.crm_api_key?r.crm_api_key:"",e.settings.has_crm=null!=r.has_crm?r.has_crm:"",e.settings.reset_button=null!=r.reset_button?r.reset_button:"",e.settings.pixel_api_key=null!=r.pixel_api_key?r.pixel_api_key:"",e.settings.mailchimp_api_key=null!=r.mailchimp_api_key?r.mailchimp_api_key:"",e.settings.has_mailchimp=null!=r.has_mailchimp?r.has_mailchimp:"",e.settings.mailchimp_listing_id=null!=r.mailchimp_listing_id?r.mailchimp_listing_id:"",e.settings.google_analytics_api_key=null!=r.google_analytics_api_key?r.google_analytics_api_key:"",e.settings.mailchimp_api_key&&e.fetchListings(),e.$root.$emit("doneLoading")})},saveSettings:function(){var e=this,t=new FormData;t.append("crm_host",this.settings.crm_host),t.append("image",this.settings.fav_ico),t.append("crm_api_key",this.settings.crm_api_key),t.append("has_crm",this.settings.has_crm),t.append("mailchimp_api_key",this.settings.mailchimp_api_key),t.append("has_mailchimp",this.settings.has_mailchimp),t.append("mailchimp_listing_id",this.settings.mailchimp_listing_id),t.append("reset_button",this.settings.reset_button),t.append("pixel_api_key",this.settings.pixel_api_key),t.append("google_analytics_api_key",this.settings.google_analytics_api_key),t.append("crm_list_ids",this.selectedCrmLists.map(function(e){return e.id}).join()),axios({method:"post",url:"/settings",data:t,config:{headers:{"Content-Type":"multipart/form-data"}}}).then(function(t){e.$notify({group:"main",title:"Salvat cu succes",type:"success"}),e.getSettings()})},loadImage:function(e){var t=this,n=new Image,i=e;n.onload=function(){t.checkIfImageExists()},n.src=i},checkIfImageExists:function(){this.fav_ico="/images/fav.ico"},changeFavIco:function(){var e=this,t=this.$refs.addFavIco.files[0],n=new FileReader;n.onload=function(t){e.fav_ico=t.target.result},this.settings.fav_ico=t,n.readAsDataURL(t)},fetchListings:function(){var e=this;""!=this.settings.mailchimp_api_key?(axios({method:"post",url:"/fetchMailchimpListings",data:{mailchimp_api_key:this.settings.mailchimp_api_key}}).then(function(t){var n=t.data.lists.lists;e.mailchimp_listings=n}),this.error=void 0):this.error="Mailchimp api key empty"}}},Y=Object(a.a)(N,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[n("h2",{staticClass:"page-title dashboard col-md-6 col-sm-3"},[e._v("Settings")]),e._v(" "),n("div",{staticClass:"col-md-6 d-flex justify-content-end"},[n("button",{staticClass:" btn btn-success",on:{click:e.saveSettings}},[e._v("Save")])]),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("div",{staticClass:"card"},[e._m(0),e._v(" "),n("div",{staticClass:"card-body pl-4 pr-4"},[n("form",[n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.crm_host,expression:"settings.crm_host"}],staticClass:"form-control",attrs:{type:"text",placeholder:"CRM host"},domProps:{value:e.settings.crm_host},on:{input:function(t){t.target.composing||e.$set(e.settings,"crm_host",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.crm_api_key,expression:"settings.crm_api_key"}],staticClass:"form-control",attrs:{type:"text",placeholder:"CRM api key"},domProps:{value:e.settings.crm_api_key},on:{input:function(t){t.target.composing||e.$set(e.settings,"crm_api_key",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-12"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.has_crm,expression:"settings.has_crm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.has_crm)?e._i(e.settings.has_crm,null)>-1:e.settings.has_crm},on:{change:function(t){var n=e.settings.has_crm,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&e.$set(e.settings,"has_crm",n.concat([null])):o>-1&&e.$set(e.settings,"has_crm",n.slice(0,o).concat(n.slice(o+1)))}else e.$set(e.settings,"has_crm",r)}}}),e._v("\n Has Crm\n ")])])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-12"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.reset_button,expression:"settings.reset_button"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.reset_button)?e._i(e.settings.reset_button,null)>-1:e.settings.reset_button},on:{change:function(t){var n=e.settings.reset_button,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&e.$set(e.settings,"reset_button",n.concat([null])):o>-1&&e.$set(e.settings,"reset_button",n.slice(0,o).concat(n.slice(o+1)))}else e.$set(e.settings,"reset_button",r)}}}),e._v("\n Reset Button\n ")])])])])])])]),e._v(" "),n("div",{staticClass:"col-6"},[n("div",{staticClass:"card"},[e._m(1),e._v(" "),n("div",{staticClass:"card-body pl-4 pr-4"},[n("form",[n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.pixel_api_key,expression:"settings.pixel_api_key"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Pixel api key"},domProps:{value:e.settings.pixel_api_key},on:{input:function(t){t.target.composing||e.$set(e.settings,"pixel_api_key",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.google_analytics_api_key,expression:"settings.google_analytics_api_key"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Google Analytics api key"},domProps:{value:e.settings.google_analytics_api_key},on:{input:function(t){t.target.composing||e.$set(e.settings,"google_analytics_api_key",t.target.value)}}})])])])])])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("div",{staticClass:"card"},[e._m(2),e._v(" "),n("div",{staticClass:"card-body d-flex flex-column pl-4 pr-2"},[n("div",{staticClass:"row w-100"},[n("div",{staticClass:"form-group col-sm-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.mailchimp_api_key,expression:"settings.mailchimp_api_key"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Mailchimp api key"},domProps:{value:e.settings.mailchimp_api_key},on:{input:function(t){t.target.composing||e.$set(e.settings,"mailchimp_api_key",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group col-sm-5"},[n("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.fetchListings()}}},[e._v("Fetch listings")])])]),e._v(" "),n("div",{staticClass:"row w-100"},[e.mailchimp_listings.length>0?n("div",{staticClass:"form-group col-sm-12"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.mailchimp_listing_id,expression:"settings.mailchimp_listing_id"}],staticClass:"form-control",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.settings,"mailchimp_listing_id",t.target.multiple?n:n[0])}}},e._l(e.mailchimp_listings,function(t,i){return n("option",{key:"listing"+i,domProps:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])}),0)]):e._e()]),e._v(" "),n("div",{staticClass:"row w-100"},[n("div",{staticClass:"form-group col-sm-12"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.has_mailchimp,expression:"settings.has_mailchimp"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.has_mailchimp)?e._i(e.settings.has_mailchimp,null)>-1:e.settings.has_mailchimp},on:{change:function(t){var n=e.settings.has_mailchimp,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&e.$set(e.settings,"has_mailchimp",n.concat([null])):o>-1&&e.$set(e.settings,"has_mailchimp",n.slice(0,o).concat(n.slice(o+1)))}else e.$set(e.settings,"has_mailchimp",r)}}}),e._v("\n Has Mailchimp\n ")])])])])])]),e._v(" "),n("div",{staticClass:"col-6"},[n("div",{staticClass:"card"},[e._m(3),e._v(" "),n("div",{staticClass:"card-body d-flex justify-content-center pl-4 pr-4"},[n("input",{ref:"addFavIco",staticStyle:{display:"none"},attrs:{type:"file"},on:{change:e.changeFavIco}}),e._v(" "),n("img",{staticClass:"fav-icon-img",attrs:{src:""!=e.fav_ico?e.fav_ico:"/build/images/placeholder.jpg"},on:{click:function(t){return e.$refs.addFavIco.click()}}})])])]),e._v(" "),e.crm_lists.length>0?n("div",{staticClass:"col-6"},[n("div",{staticClass:"card"},[e._m(4),e._v(" "),n("div",{staticClass:"card-body d-flex justify-content-center pl-4 pr-4"},[n("div",{staticClass:"row w-100"},[n("multiselect",{attrs:{options:e.crm_lists,"track-by":"id",multiple:!0,label:"name"},model:{value:e.selectedCrmLists,callback:function(t){e.selectedCrmLists=t},expression:"selectedCrmLists"}})],1)])])]):e._e()])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[t("h4",{staticClass:"card-title"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[t("h4",{staticClass:"card-title"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header"},[t("h5",[this._v(" Mailchimp ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header"},[t("h5",[this._v("Fav ico")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header"},[t("h5",[this._v("Crm lists")])])}],!1,null,null,null).exports,P={data:function(){return{email:null,password:null,success:!1,has_error:!1,error:""}},mounted:function(){this.$root.$emit("doneLoading")},methods:{login:function(){this.$auth.redirect();var e=this;this.$auth.login({data:{email:e.email,password:e.password},success:function(){e.success=!0;this.$router.push({name:"admin"})},error:function(){e.has_error=!0,e.error=res.response.data.error},rememberMe:!0,fetchUser:!0})}}},R=Object(a.a)(P,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"row justify-content-md-center"},[n("div",{staticClass:"col-6"},[n("div",{staticClass:"card card-default"},[n("div",{staticClass:"card-header"},[e._v("Login")]),e._v(" "),n("div",{staticClass:"card-body"},[e.has_error&&!e.success?n("div",{staticClass:"alert alert-danger"},["login_error"==e.error?n("p",[e._v("Validation Errors.")]):n("p",[e._v("Error, unable to connect with these credentials.")])]):e._e(),e._v(" "),n("form",{attrs:{autocomplete:"off",method:"post"},on:{submit:function(t){return t.preventDefault(),e.login(t)}}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"email"}},[e._v("E-mail")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"form-control",attrs:{type:"email",id:"email",placeholder:"user@example.com",required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"password"}},[e._v("Password")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-control",attrs:{type:"password",id:"password",required:""},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}})]),e._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[e._v("Signin")])])])])])])])},[],!1,null,null,null).exports,B={data:function(){return{questions:[],crm_question_ids:[],renderComponent:!0}},created:function(){},mounted:function(){this.getQuestions(),this.$root.$emit("doneLoading")},methods:{getQuestions:function(){var e=this;axios.get("crm_questions").then(function(t){var n=t.data,i=n.crm_question_ids,r=n.json;e.questions=r.questions,Object.keys(r.questions).map(function(t){i.includes(t)?e.crm_question_ids[t]=!0:e.crm_question_ids[t]=!1})})},toggleCrmQuestion:function(e){var t=this;this.renderComponent=!1,this.crm_question_ids[e]=!this.crm_question_ids[e],this.$nextTick().then(function(){t.renderComponent=!0})},saveCrmSettings:function(){var e=this,t=[];this.crm_question_ids.map(function(e,n){1==e&&t.push(n)}),axios.post("crm_questions/store",{crm_question_ids:t}).then(function(){e.$notify({group:"main",title:"Salvat cu succes",type:"success"})})}}},H=Object(a.a)(B,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.renderComponent?n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[n("h2",{staticClass:"page-title dashboard col-md-6 col-sm-3"},[e._v("CRM Settings")]),e._v(" "),n("div",{staticClass:"col-md-6 d-flex justify-content-end"},[n("button",{staticClass:" btn btn-success",on:{click:e.saveCrmSettings}},[e._v("Save")])]),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[e._m(0),e._v(" "),n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped table-crm"},[e._m(1),e._v(" "),n("tbody",e._l(e.questions,function(t,i){return n("tr",{key:i,class:{checked:e.crm_question_ids[i]},on:{click:function(t){return e.toggleCrmQuestion(i)}}},[n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.crm_question_ids[i],expression:"crm_question_ids[key]"}],attrs:{type:"checkbox",name:"input_"+i},domProps:{checked:Array.isArray(e.crm_question_ids[i])?e._i(e.crm_question_ids[i],null)>-1:e.crm_question_ids[i]},on:{change:function(t){var n=e.crm_question_ids[i],r=t.target,o=!!r.checked;if(Array.isArray(n)){var s=e._i(n,null);r.checked?s<0&&e.$set(e.crm_question_ids,i,n.concat([null])):s>-1&&e.$set(e.crm_question_ids,i,n.slice(0,s).concat(n.slice(s+1)))}else e.$set(e.crm_question_ids,i,o)}}})]),e._v(" "),t.title?n("td",[e._v(e._s(t.title[0].title))]):n("td",[e._v(e._s(t.step_type))])])}),0)])])])])])])]):e._e()},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[t("h4",{staticClass:"card-title"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",[t("tr",[t("th"),this._v(" "),t("th",[this._v("Intrebare")])])])}],!1,null,null,null).exports;function z(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function $(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){z(o,i,r,s,a,"next",e)}function a(e){z(o,i,r,s,a,"throw",e)}s(void 0)})}}var W,G={data:function(){return{users:[]}},components:{},watch:{},created:function(){},mounted:function(){var e=$(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getUsers();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getUsers:(W=$(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/users").then(function(e){var n=e.data;t.users=n,t.$root.$emit("doneLoading")});case 2:case"end":return e.stop()}},e)})),function(){return W.apply(this,arguments)}),viewUser:function(e){this.$router.push("/admin/users/"+e)}}},V=Object(a.a)(G,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[e._m(0),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped table-users"},[e._m(1),e._v(" "),n("tbody",e._l(e.users,function(t,i){return n("tr",{key:i,on:{click:function(n){return e.viewUser(t.id)}}},[n("td",{staticClass:"text-center"},[e._v(e._s(t.name))]),e._v(" "),n("td",{staticClass:"text-center"},[e._v(e._s(t.email))])])}),0)])])])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"row w-100 align-items-center mb-3"},[t("h2",{staticClass:"page-title dashboard col-md-10 col-sm-3"},[t("img",{attrs:{src:"/build/images/eye.svg"}}),this._v("Users\n ")]),this._v(" "),t("div",{staticClass:"clearfix"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",[t("tr",[t("th",[t("div",{staticClass:"header text-center"},[this._v("Nume")])]),this._v(" "),t("th",[t("div",{staticClass:"header text-center"},[this._v("Email")])])])])}],!1,null,null,null).exports;function U(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function Z(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){U(o,i,r,s,a,"next",e)}function a(e){U(o,i,r,s,a,"throw",e)}s(void 0)})}}var X,Q={data:function(){return{user:{},password:"",confirm_password:"",error:""}},components:{},watch:{},created:function(){},mounted:function(){var e=Z(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getUser();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getUser:(X=Z(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/users/"+this.$route.params.id).then(function(e){var n=e.data;t.user=n,t.$root.$emit("doneLoading")});case 2:case"end":return e.stop()}},e,this)})),function(){return X.apply(this,arguments)}),saveUser:function(){var e=this;axios.post("/auth/changePassword",{password:this.password,password_confirmation:this.confirm_password,id:this.user.id}).then(function(t){e.$notify({group:"main",title:"Salvat cu succes",type:"success"}),e.password="",e.confirm_password="",e.error=""}).catch(function(t){e.error=t.response.data.errors.password[0]})}}},K=Object(a.a)(Q,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[n("h2",{staticClass:"page-title dashboard col-md-10 col-sm-3"},[n("img",{attrs:{src:"/build/images/eye.svg"}}),e._v(" "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("form",{on:{submit:function(t){return t.preventDefault(),e.saveUser(t)}}},[""!=e.error?n("h5",{staticClass:"text-danger"},[e._v(e._s(e.error))]):e._e(),e._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],attrs:{type:"password",placeholder:"Password"},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.confirm_password,expression:"confirm_password"}],attrs:{type:"password",placeholder:"Confirm Password"},domProps:{value:e.confirm_password},on:{input:function(t){t.target.composing||(e.confirm_password=t.target.value)}}})]),e._v(" "),n("button",{staticClass:"btn btn-success"},[e._v("Save")])])])])])])])])},[],!1,null,null,null).exports;function J(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function q(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){J(o,i,r,s,a,"next",e)}function a(e){J(o,i,r,s,a,"throw",e)}s(void 0)})}}var ee,te,ne,ie,re,oe,se={data:function(){var e=this;return{date_locale:{direction:"ltr",format:this.$moment.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Aplica",cancelLabel:"Renunta",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:this.$moment.weekdaysMin(),monthNames:this.$moment.monthsShort(),firstDay:this.$moment.localeData().firstDayOfWeek()},date_ranges:{Azi:[this.$moment(),this.$moment()],Ieri:[this.$moment().subtract(1,"days"),this.$moment().subtract(1,"days")],"Luna aceasta":[this.$moment().startOf("month"),this.$moment().endOf("month")],"Anul acesta":[this.$moment().startOf("year"),this.$moment().endOf("year")],"Ultima saptamana":[this.$moment().subtract(1,"week").startOf("week"),this.$moment().subtract(1,"week").endOf("week")],"Ultima luna":[this.$moment().subtract(1,"month").startOf("month"),this.$moment().subtract(1,"month").endOf("month")]},info_card_1:0,info_card_2:0,info_card_3:0,by_statuses:[],dateRange:{startDate:null,endDate:null},json:[],hours:{options:{chart:{id:"vuechart-example"},yaxis:[{seriesName:"Prima pagina"}],xaxis:{categories:["0:00 - 1:00","1:00 - 2:00","2:00 - 3:00","3:00 - 4:00","4:00 - 5:00","5:00 - 6:00","6:00 - 7:00","7:00 - 8:00","8:00 - 9:00","9:00 - 10:00","10:00 - 11:00","11:00 - 12:00","12:00 - 13:00","13:00 - 14:00","14:00 - 15:00","15:00 - 16:00","16:00 - 17:00","17:00 - 18:00","18:00 - 19:00","19:00 - 20:00","20:00 - 21:00","21:00 - 22:00","22:00 - 23:00","23:00 - 24:00"]}},series:[]},quit:{options:{chart:{id:"vuechart-example-2"},yaxis:[{seriesName:"Prima pagina"}],xaxis:{categories:[],labels:{formatter:function(t){return e.json[t].title&&e.json[t].title[0].title?e.json[t].title[0].title.substring(0,20)+"...":e.json[t].step_type.toUpperCase()}}},tooltip:{x:{formatter:function(t,n){n.series,n.seriesIndex;var i=n.dataPointIndex;n.w;return e.json[e.categories[i]].title?e.json[e.categories[i]].title[0].title:e.json[e.categories[i]].step_type.toUpperCase()}}}},series:[]},stepped:{options:{chart:{id:"vuechart-example-3"},yaxis:[{seriesName:"Prima pagina"}],xaxis:{categories:[],labels:{formatter:function(t){return e.json[t].title&&e.json[t].title[0].title?e.json[t].title[0].title.substring(0,20)+"...":e.json[t].step_type.toUpperCase()}}},tooltip:{x:{formatter:function(t,n){n.series,n.seriesIndex;var i=n.dataPointIndex;n.w;return e.json[e.categories[i]].title?e.json[e.categories[i]].title[0].title:e.json[e.categories[i]].step_type.toUpperCase()}}}},series:[]},conversion:{loading:!0,options:{chart:{id:"vuechart-example-4"},yaxis:[{seriesName:"Prima pagina"}],xaxis:{categories:[]}},series:[]}}},components:{},filters:{getInfoCard:function(e,t){return t>0?parseFloat(100*e/t).toFixed(2):(0).toFixed(2)}},watch:{},created:function(){},mounted:function(){var e=q(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getInfoCards();case 2:return e.next=4,this.getHourStatistics();case 4:return e.next=6,this.getQuitStatistics();case 6:return e.next=8,this.getSteppedStatistics();case 8:return e.next=10,this.getConversionStatistics();case 10:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getInfoCards:(oe=q(y.a.mark(function e(){var t,n,i=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=null!=this.dateRange.startDate?this.$moment(this.dateRange.startDate).format("YYYY-MM-DD"):null,n=null!=this.dateRange.endDate?this.$moment(this.dateRange.endDate).format("YYYY-MM-DD"):null,e.next=4,axios.get("/statistics/dashboard?startDate="+t+"&&endDate="+n).then(function(e){var t=e.data;i.info_card_1=t.info_card_1,i.info_card_2=t.info_card_2,i.info_card_3=t.info_card_3,i.by_statuses=t.by_statuses});case 4:case"end":return e.stop()}},e,this)})),function(){return oe.apply(this,arguments)}),getHourStatistics:(re=q(y.a.mark(function e(){var t,n,i=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=null!=this.dateRange.startDate?this.$moment(this.dateRange.startDate).format("YYYY-MM-DD"):null,n=null!=this.dateRange.endDate?this.$moment(this.dateRange.endDate).format("YYYY-MM-DD"):null,e.next=4,axios.get("/statistics/hours?startDate="+t+"&&endDate="+n).then(function(e){var t=e.data;i.hours.series=t});case 4:case"end":return e.stop()}},e,this)})),function(){return re.apply(this,arguments)}),getQuitStatistics:(ie=q(y.a.mark(function e(){var t,n,i=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=null!=this.dateRange.startDate?this.$moment(this.dateRange.startDate).format("YYYY-MM-DD"):null,n=null!=this.dateRange.endDate?this.$moment(this.dateRange.endDate).format("YYYY-MM-DD"):null,e.next=4,axios.get("/statistics/quit?startDate="+t+"&&endDate="+n).then(function(e){var t=e.data;i.categories=Object.values(t.categories).map(function(e){return e}),i.quit.options.xaxis.categories=i.categories,i.quit.series=t.series.map(function(e){return{data:Object.values(e.data),name:e.name}}),i.json=t.json,i.quit.options.xaxis.categories.sort(function(e,t){return e-t})});case 4:case"end":return e.stop()}},e,this)})),function(){return ie.apply(this,arguments)}),getSteppedStatistics:(ne=q(y.a.mark(function e(){var t,n,i=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=null!=this.dateRange.startDate?this.$moment(this.dateRange.startDate).format("YYYY-MM-DD"):null,n=null!=this.dateRange.endDate?this.$moment(this.dateRange.endDate).format("YYYY-MM-DD"):null,e.next=4,axios.get("/statistics/stepped?startDate="+t+"&&endDate="+n).then(function(e){var t=e.data;i.categories=Object.values(t.categories).map(function(e){return e}),i.stepped.options.xaxis.categories=i.categories,i.stepped.series=t.series.map(function(e){return{data:Object.values(e.data),name:e.name}}),i.json=t.json,i.stepped.options.xaxis.categories.sort(function(e,t){return e-t}),i.$nextTick().then(function(){i.$root.$emit("doneLoading")})});case 4:case"end":return e.stop()}},e,this)})),function(){return ne.apply(this,arguments)}),getConversionStatistics:(te=q(y.a.mark(function e(){var t,n,i=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=null!=this.dateRange.startDate?this.$moment(this.dateRange.startDate).format("YYYY-MM-DD"):null,n=null!=this.dateRange.endDate?this.$moment(this.dateRange.endDate).format("YYYY-MM-DD"):null,this.conversion.loading=!0,axios.get("/statistics/conversion?startDate="+t+"&&endDate="+n).then(function(e){var t=e.data;i.conversion.options.xaxis.categories=t.categories,i.conversion.options.yaxis=t.yaxis.map(function(e){return{seriesName:e.series,show:e.show,max:e.max,opposite:e.opposite,forceNiceScale:!1,axisTicks:{show:!0},axisBorder:{show:!0,color:e.color},labels:{style:{color:e.color}},title:{text:e.title,style:{color:e.color,fontSize:"18px"}}}}),i.conversion.series=t.series.map(function(e){return{data:e.data,name:e.name,type:e.type}}),i.conversion.loading=!1});case 4:case"end":return e.stop()}},e,this)})),function(){return te.apply(this,arguments)}),viewUser:function(e){this.$router.push("/admin/users/"+e)},exportExcelMain:function(){var e=null!=this.dateRange.startDate?this.$moment(this.dateRange.startDate).format("YYYY-MM-DD"):null,t=null!=this.dateRange.endDate?this.$moment(this.dateRange.endDate).format("YYYY-MM-DD"):null;axios.get("/export/main_results?startDate="+e+"&&endDate="+t,{responseType:"blob"}).then(function(e){var t=e.data,n=window.URL.createObjectURL(new Blob([t])),i=document.createElement("a");i.href=n,i.setAttribute("download","export-".concat(Date.now(),".xls")),document.body.appendChild(i),i.click()})},updateValues:(ee=q(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getInfoCards();case 2:return e.next=4,this.getHourStatistics();case 4:return e.next=6,this.getQuitStatistics();case 6:return e.next=8,this.getSteppedStatistics();case 8:return e.next=10,this.getConversionStatistics();case 10:case"end":return e.stop()}},e,this)})),function(){return ee.apply(this,arguments)})}},ae=Object(a.a)(se,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin dashboard"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[n("h2",{staticClass:"page-dashboard dashboard col-md-12 col-sm-3"},[n("img",{attrs:{src:"/build/images/speedometer.svg"}}),e._v("Dashboard\n "),n("date-range-picker",{ref:"picker",staticClass:"ml-auto",attrs:{ranges:e.date_ranges,opens:"left","locale-data":e.date_locale},on:{update:e.updateValues},scopedSlots:e._u([{key:"input",fn:function(t){return n("div",{staticClass:"datepicker-text",staticStyle:{"min-width":"350px"}},[n("span",[e._v(e._s(e._f("moment")(t.startDate,"MMMM Do YYYY")))]),e._v(" - "),n("span",[e._v(e._s(e._f("moment")(t.endDate,"MMMM Do YYYY")))])])}}]),model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row info-cards"},[n("div",{staticClass:"col-md-4 col-sm-12"},[n("div",{staticClass:"card card-1"},[n("div",{staticClass:"card-body p-4"},[e._m(0),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_1)+" persoane")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("au accesat prima pagina")])]),e._v(" "),n("div",{staticClass:"card-body-footer"})])])]),e._v(" "),n("div",{staticClass:"col-md-4 col-sm-12"},[n("div",{staticClass:"card card-2"},[n("div",{staticClass:"card-body p-4"},[e._m(1),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_2)+" persoane")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("au pornit quizul")])]),e._v(" "),n("div",{staticClass:"card-body-footer"},[n("div",[e._v(e._s(e._f("getInfoCard")(e.info_card_2,e.info_card_1))+"% au pornit quizul")])])])])]),e._v(" "),n("div",{staticClass:"col-md-4 col-sm-12"},[n("div",{staticClass:"card card-3"},[n("div",{staticClass:"card-body p-4"},[e._m(2),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_3)+" persoane")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("au finalizat quizul")])]),e._v(" "),n("div",{staticClass:"card-body-footer"},[n("div",[e._v(e._s(e._f("getInfoCard")(e.info_card_3,e.info_card_2))+"% au finalizat quizul")])])])])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("table",{staticClass:"table table-bordered"},[e._m(3),e._v(" "),n("tbody",e._l(e.by_statuses,function(t,i){return n("tr",[n("td",[e._v(e._s(t.name))]),e._v(" "),n("td",[e._v(e._s(t.unique_companies))]),e._v(" "),n("td",[e._v(e._s(t.total_people))])])}),0)])])])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("button",{staticClass:"btn p-0 float-right",on:{click:e.exportExcelMain}},[n("img",{attrs:{src:"/build/images/excel.png",width:"30"}})])])]),e._v(" "),e.hours.series.length>0?n("apexchart",{attrs:{type:"line",height:"500",width:"100%",options:e.hours.options,series:e.hours.series}}):e._e()],1)])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("h5",[e._v("Statistici renuntare quiz")]),e._v(" "),e.quit.series.length>0?n("apexchart",{attrs:{type:"line",height:"500",width:"100%",options:e.quit.options,series:e.quit.series}}):e._e()],1)])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("h5",[e._v("Statistici intrebari parcurse")]),e._v(" "),e.stepped.series.length>0?n("apexchart",{attrs:{type:"line",height:"500",width:"100%",options:e.stepped.options,series:e.stepped.series}}):e._e()],1)])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("h5",[e._v("Statistici conversie \n "),null==e.dateRange.startDate?n("span",[e._v("pe ultimele 30 de zile")]):n("span",[e._v(e._s(e._f("moment")(e.dateRange.startDate,"D/MM/YYYY"))+" - "+e._s(e._f("moment")(e.dateRange.endDate,"D/MM/YYYY")))])]),e._v(" "),e.conversion.series.length>0&&!e.conversion.loading?n("apexchart",{attrs:{type:"line",height:"500",width:"100%",options:e.conversion.options,series:e.conversion.series}}):e._e()],1)])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-body-header"},[t("img",{attrs:{src:"/build/images/eye_white.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("img",{attrs:{src:"/build/images/percentage.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("img",{attrs:{src:"/build/images/stopwatch.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",{staticClass:"table-active"},[t("tr",[t("td",[this._v("Categorie")]),this._v(" "),t("td",[this._v("Companii unice")]),this._v(" "),t("td",[this._v("Total persoane")])])])}],!1,null,null,null).exports;function le(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function ce(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){le(o,i,r,s,a,"next",e)}function a(e){le(o,i,r,s,a,"throw",e)}s(void 0)})}}var ue={data:function(){return{info_card_1:0,info_card_2:0,info_card_3:0,sala_palatului:0,questions_array:[]}},components:{},filters:{getInfoCard:function(e,t){return t>0?parseFloat(100*e/t).toFixed(2):(0).toFixed(2)}},watch:{},created:function(){},mounted:function(){var e=ce(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getInfoCards();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getInfoCards:function(){var e=ce(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/statistics").then(function(e){var n=e.data;t.info_card_1=n.info_card_1,t.info_card_2=n.info_card_2,t.info_card_3=n.info_card_3,t.sala_palatului=n.sala_palatului,t.questions_array=n.questions_array,t.$root.$emit("doneLoading")});case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),viewUser:function(e){this.$router.push("/admin/users/"+e)}}},de=Object(a.a)(ue,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[e._m(0),e._v(" "),n("div",{staticClass:"row info-cards"},[n("div",{staticClass:"col-3"},[n("div",{staticClass:"card card-1"},[n("div",{staticClass:"card-body p-4"},[e._m(1),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_1)+" persoane")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("au accesat prima pagina")])]),e._v(" "),n("div",{staticClass:"card-body-footer"})])])]),e._v(" "),n("div",{staticClass:"col-3"},[n("div",{staticClass:"card card-2"},[n("div",{staticClass:"card-body p-4"},[e._m(2),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_2)+" persoane")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("au pornit quizul")])]),e._v(" "),n("div",{staticClass:"card-body-footer"},[n("div",[e._v(e._s(e._f("getInfoCard")(e.info_card_2,e.info_card_1))+"% au pornit quizul")])])])])]),e._v(" "),n("div",{staticClass:"col-3"},[n("div",{staticClass:"card card-3"},[n("div",{staticClass:"card-body p-4"},[e._m(3),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_3)+" persoane")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("au finalizat quizul")])]),e._v(" "),n("div",{staticClass:"card-body-footer"},[n("div",[e._v(e._s(e._f("getInfoCard")(e.info_card_3,e.info_card_2))+"% au finalizat quizul")])])])])]),e._v(" "),n("div",{staticClass:"col-3"},[n("div",{staticClass:"card card-3"},[n("div",{staticClass:"card-body p-4"},[e._m(4),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",{staticClass:"content-title"},[e._v(e._s(e.sala_palatului)+" / 4000")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("Sala Palatului")]),e._v(" "),n("div",{staticClass:"content-title"},[e._v(e._s(e.info_card_3-e.sala_palatului)+" / 10000")]),e._v(" "),n("div",{staticClass:"content-subtitle"},[e._v("Online")])]),e._v(" "),n("div",{staticClass:"card-body-footer"})])])])]),e._v(" "),e._l(e.questions_array,function(t,i){return t.titles.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("table",{staticClass:"table"},[e._m(5,!0),e._v(" "),n("tbody",[n("tr",[n("td",[e._v("#"+e._s(i))]),e._v(" "),t.titles.length>0?n("td",{staticClass:"w-25"},[e._v(e._s(t.titles[0].title))]):e._e(),e._v(" "),n("td",[e._v(e._s(t.min_time)+"s")]),e._v(" "),n("td",[e._v(e._s(t.med_time)+"s")]),e._v(" "),n("td",[e._v(e._s(t.max_time)+"s")]),e._v(" "),n("td",[e._v(e._s(t.total))]),e._v(" "),n("td",[e._v(e._s(t.has_finished))]),e._v(" "),n("td",[e._v(e._s(e._f("getInfoCard")(t.has_finished,t.total))+"%")])])])])])])])]):e._e()})],2)])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"row w-100 align-items-center mb-3"},[t("h2",{staticClass:"page-dashboard dashboard col-md-10 col-sm-3"},[t("img",{attrs:{src:"/build/images/speedometer.svg"}}),this._v("Dashboard\n ")]),this._v(" "),t("div",{staticClass:"clearfix"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-body-header"},[t("img",{attrs:{src:"/build/images/eye_white.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("img",{attrs:{src:"/build/images/percentage.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("img",{attrs:{src:"/build/images/stopwatch.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("img",{attrs:{src:"/build/images/stopwatch.svg"}})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("thead",[n("tr",[n("th",[e._v("Index")]),e._v(" "),n("th",{staticClass:"w-25"}),e._v(" "),n("th",[e._v("Timp min")]),e._v(" "),n("th",[e._v("Timp med")]),e._v(" "),n("th",[e._v("Timp max")]),e._v(" "),n("th",[e._v("Nr. afisari")]),e._v(" "),n("th",[e._v("Nr. aplicanti")]),e._v(" "),n("th",[e._v("%")])])])}],!1,null,null,null).exports;function he(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function fe(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){he(o,i,r,s,a,"next",e)}function a(e){he(o,i,r,s,a,"throw",e)}s(void 0)})}}var pe={data:function(){return{applicants:[],statuses:{},selectedStatus:"",filteredApplicants:{}}},components:{},watch:{},created:function(){},mounted:function(){var e=fe(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getApplicants();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),filters:{getLengthByFilter:function(e,t){return(""!=e?t.filter(function(t){return t.notified==e}):t).length}},methods:{getApplicants:function(){var e=fe(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/getErrorApplicants").then(function(e){var n=e.data;for(var i in t.applicants=n,t.applicants)t.applicants[i].entity_json=JSON.parse(t.applicants[i].entity_json);t.filterApplicants(""),t.$root.$emit("doneLoading")});case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),filterApplicants:function(e){this.filteredApplicants=""!=e?this.applicants.filter(function(t){return t.notified==e}):this.applicants},viewCandidate:function(e){this.$router.push("/admin/applicant-errors/"+e)},statusChange:function(e,t){var n=this;axios.post("change_contact_status",{entity_id:e,status:t.target.value}).then(function(){n.$notify({group:"main",title:"Salvat cu succes",type:"success"})})},deleteAplicant:function(e){var t=this;axios.delete("contacts/"+e+"/destroy").then(function(){t.getApplicants(),t.$notify({group:"main",title:"Sters cu succes",type:"success"})})}}},me=Object(a.a)(pe,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[e._m(0),e._v(" "),e.applicants?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedStatus,expression:"selectedStatus"}],staticClass:"col-md-2",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.selectedStatus=t.target.multiple?n:n[0]},function(t){return e.filterApplicants(t.target.value)}]}},[n("option",{attrs:{value:""}},[e._v("Toate ("+e._s(e._f("getLengthByFilter")("",e.applicants))+")")]),e._v(" "),n("option",{attrs:{value:"0"}},[e._v("Noi ("+e._s(e._f("getLengthByFilter")(0,e.applicants))+")")]),e._v(" "),n("option",{attrs:{value:"1"}},[e._v("Notificati ("+e._s(e._f("getLengthByFilter")(1,e.applicants))+")")]),e._v(" "),e._l(e.statuses,function(t,i){return n("option",{domProps:{value:i}},[e._v(e._s(t)+" ("+e._s(e._f("getLengthByFilter")(i,e.applicants))+")")])})],2):e._e(),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped table-applicants"},[e._m(1),e._v(" "),n("tbody",e._l(e.filteredApplicants,function(t,i){return n("tr",{key:i},[n("td",{on:{click:function(n){return n.target!==n.currentTarget?null:e.viewCandidate(t.id)}}},[e._v(e._s(t.created_at))]),e._v(" "),n("td",{on:{click:function(n){return n.target!==n.currentTarget?null:e.viewCandidate(t.id)}}},[e._v(e._s(t.first_name)+" "+e._s(t.last_name))]),e._v(" "),n("td",{on:{click:function(n){return n.target!==n.currentTarget?null:e.viewCandidate(t.id)}}},[e._v(e._s(t.email))]),e._v(" "),n("td",{on:{click:function(n){return n.target!==n.currentTarget?null:e.viewCandidate(t.id)}}},[e._v(e._s(t.phone))]),e._v(" "),n("td")])}),0)])])])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("h2",{staticClass:"page-title dashboard col-md-10 col-sm-3"},[t("img",{attrs:{src:"/build/images/eye.svg"}}),this._v("Erori\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",[t("tr",[t("th",[t("div",{staticClass:"header"},[this._v("Data preluare")])]),this._v(" "),t("th",[t("div",{staticClass:"header"},[this._v("Nume")])]),this._v(" "),t("th",[t("div",{staticClass:"header"},[this._v("Email")])]),this._v(" "),t("th",[t("div",{staticClass:"header"},[this._v("Telefon")])])])])}],!1,null,null,null).exports;function ge(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function ve(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){ge(o,i,r,s,a,"next",e)}function a(e){ge(o,i,r,s,a,"throw",e)}s(void 0)})}}var ye={data:function(){return{applicant:{},json:{}}},components:{},watch:{},created:function(){},mounted:function(){var e=ve(y.a.mark(function e(){return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getApplicant();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getApplicant:function(){var e=ve(y.a.mark(function e(){var t,n=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.$route.params.id,axios.get("/getErrorApplicant/".concat(t)).then(function(e){var t=e.data;n.applicant=t,n.json=JSON.parse(t.entity_json),console.log(t,n.json),n.$root.$emit("doneLoading")});case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}},be=Object(a.a)(ye,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[e._m(0),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body p-4"},[n("div",{staticClass:"row"},[e._m(1),e._v(" "),n("div",{staticClass:"col d-flex flex-column justify-content-center"},[n("div",{staticClass:"row"},[e._v(e._s(e.applicant.first_name)+" "+e._s(e.applicant.last_name))]),e._v(" "),n("div",{staticClass:"row"},[n("small",[e._v("Email: "+e._s(e.applicant.email))])]),e._v(" "),n("div",{staticClass:"row"},[n("small",[e._v("Telefon: "+e._s(e.applicant.phone))])])])])])])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped"},[e._m(2),e._v(" "),n("tbody",e._l(e.json,function(t){return n("tr",[n("td",[e._v(e._s(t.answers[0].question))]),e._v(" "),null!=t.answers[0].fields&&t.answers[0].fields.length>0?n("td",e._l(t.answers[0].fields,function(t){return n("p",[e._v("\n "+e._s(t.value)+"\n ")])}),0):n("td",[e._v(e._s(t.answers[0].title))])])}),0)])])])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"row w-100 align-items-center mb-3"},[t("h2",{staticClass:"page-title dashboard col-md-10 col-sm-3"},[t("img",{attrs:{src:"/build/images/eye.svg"}}),this._v(" Vizualizare\n ")]),this._v(" "),t("div",{staticClass:"clearfix"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"col-2 d-flex justify-content-center"},[t("img",{staticClass:"img-profile",attrs:{src:"/build/images/profile.png"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",[t("tr",[t("th",[this._v("Intrebare")]),this._v(" "),t("th",[this._v("Raspuns")])])])}],!1,null,null,null).exports;function _e(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function we(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){_e(o,i,r,s,a,"next",e)}function a(e){_e(o,i,r,s,a,"throw",e)}s(void 0)})}}var xe,Ae={data:function(){return{referrals:[],newReferral:"",error:""}},created:function(){},mounted:function(){var e=we(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getReferrals();case 2:this.$nextTick(function(){t.$root.$emit("doneLoading")});case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{getReferrals:(xe=we(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:axios.get("referrals").then(function(e){var n=e.data;t.referrals=n});case 1:case"end":return e.stop()}},e)})),function(){return xe.apply(this,arguments)}),addReferral:function(){var e=this;this.newReferral?(this.error="",axios.post("referrals",{name:this.newReferral}).then(function(t){t.data;e.getReferrals()})):this.error="Campul nume este obligatoriu"},removeReferral:function(e){var t=this;axios.delete("referrals/"+e).then(function(e){e.data;t.getReferrals()})},toggleVisible:function(e,t){var n=this;"link"!=t.target.id&&axios.post("referrals/"+e+"/updateShow").then(function(){n.getReferrals()})}}},Ce=Object(a.a)(Ae,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[e._m(0),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[e._m(1),e._v(" "),n("div",{staticClass:"card-body pl-4 pr-4"},[e.error?n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"alert alert-danger"},[e._v(e._s(e.error))])])]):e._e(),e._v(" "),n("div",{staticClass:"row mb-4"},[n("div",{staticClass:"col-sm-11"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.newReferral,expression:"newReferral"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Nume"},domProps:{value:e.newReferral},on:{input:function(t){t.target.composing||(e.newReferral=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"col-sm-1"},[n("button",{staticClass:"btn",on:{click:function(t){return t.preventDefault(),e.addReferral(t)}}},[n("img",{attrs:{src:"/build/images/plus-green.png"}})])])]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col table-responsive"},[n("table",{staticClass:"table table-striped table-hover text-center"},[e._m(2),e._v(" "),n("tbody",e._l(e.referrals,function(t,i){return n("tr",{on:{click:function(n){return e.toggleVisible(t.id,n)}}},[n("td",[e._v(e._s(i+1))]),e._v(" "),n("td",[e._v(e._s(t.name))]),e._v(" "),n("td",[e._v(e._s(t.token))]),e._v(" "),n("td",[n("router-link",{attrs:{target:"_blank",id:"link",to:{path:"/"+t.token}}},[e._v("Link")])],1),e._v(" "),n("td",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.show}})]),e._v(" "),n("td",[e._v(e._s(t.results.length))]),e._v(" "),n("td",[n("button",{staticClass:"btn",on:{click:function(n){return e.removeReferral(t.id)}}},[n("img",{attrs:{src:"/build/images/cancel.png"}})])])])}),0)])])])])])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"row w-100 align-items-center mb-3"},[t("h2",{staticClass:"page-title dashboard col-md-6 col-sm-3"},[this._v("Recomandari")]),this._v(" "),t("div",{staticClass:"clearfix"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[t("h4",{staticClass:"card-title"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("thead",[n("tr",[n("th",[e._v("#")]),e._v(" "),n("th",[e._v("Nume")]),e._v(" "),n("th",[e._v("Token")]),e._v(" "),n("th",[e._v("Link")]),e._v(" "),n("th",[e._v("Vizibilitate")]),e._v(" "),n("th",[e._v("Numar aplicanti")]),e._v(" "),n("th",[e._v("Actiuni")])])])}],!1,null,null,null).exports;function ke(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function Me(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){ke(o,i,r,s,a,"next",e)}function a(e){ke(o,i,r,s,a,"throw",e)}s(void 0)})}}var Se,Le={data:function(){return{jsonData:{},tab:"tree",error:""}},watch:{jsonData:function(e){this.error=""}},created:function(){},mounted:function(){var e=Me(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getJson();case 2:this.$nextTick(function(){t.$root.$emit("doneLoading")});case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),methods:{onError:function(e){var t=e.stack.split("\n")[0],n=t.indexOf("on line "),i=t.slice(n+8,t.length-1);this.error="Eroare in linia "+i},getJson:(Se=Me(y.a.mark(function e(){var t=this;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:axios.get("/getJson").then(function(e){var n=e.data;t.jsonData=n});case 1:case"end":return e.stop()}},e)})),function(){return Se.apply(this,arguments)}),setTab:function(e){this.tab=e},saveJson:function(){var e=this;this.$swal({title:"Esti sigur ca vrei sa salvezi?",type:"warning",showCancelButton:!0,confirmButtonText:"Da",cancelButtonText:"Nu, m-am razgandit",showCloseButton:!0,showLoaderOnConfirm:!0}).then(function(t){t.value&&axios.post("postJson",{json:e.jsonData}).then(function(t){e.$notify({group:"main",title:"Salvat cu succes",type:"success"})})})}}},Ee=Object(a.a)(Le,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[n("h2",{staticClass:"page-title dashboard col-md-6 col-sm-3"},[e._v("Edit JSON")]),e._v(" "),n("h2",{staticClass:"col-md-6 d-flex justify-content-end"},[n("button",{staticClass:"btn btn-success",on:{click:function(t){return e.saveJson()}}},[e._v("Save")])]),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-8"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[n("h4",{staticClass:"card-title"},[n("ul",{staticClass:"nav nav-tabs",attrs:{id:"myTab",role:"tablist"}},[n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link active",attrs:{id:"tree-tab","data-toggle":"tab",href:"#",role:"tab","aria-controls":"tree","aria-selected":"true"},on:{click:function(t){return e.setTab("tree")}}},[e._v("Tree")])]),e._v(" "),n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",attrs:{id:"texteditor-tab","data-toggle":"tab",href:"#",role:"tab","aria-controls":"texteditor","aria-selected":"false"},on:{click:function(t){return e.setTab("texteditor")}}},[e._v("Text Editor")])])])])]),e._v(" "),n("div",{staticClass:"card-body pl-4 pr-4"},[n("div",{staticClass:"tab-content",attrs:{id:"myTabContent"}},["tree"==e.tab?n("div",{staticClass:"tab-pane fade show active",attrs:{id:"tree",role:"tabpanel","aria-labelledby":"tree-tab"}},[n("JsonEditor",{attrs:{options:{confirmText:"confirm",cancelText:"cancel"},objData:e.jsonData},model:{value:e.jsonData,callback:function(t){e.jsonData=t},expression:"jsonData"}})],1):"texteditor"==e.tab?n("div",{staticClass:"tab-pane fade show active",attrs:{id:"texteditor",role:"tabpanel","aria-labelledby":"texteditor-tab"}},[""!=e.error?n("p",{staticClass:"alert alert-danger"},[e._v(e._s(e.error))]):e._e(),e._v(" "),n("v-jsoneditor",{attrs:{plus:!1,height:"70vh"},on:{error:e.onError},model:{value:e.jsonData,callback:function(t){e.jsonData=t},expression:"jsonData"}})],1):e._e()])])])]),e._v(" "),e._m(0)])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"col-4"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[t("h4",{staticClass:"card-title"},[this._v("Documentatie")])]),this._v(" "),t("div",{staticClass:"card-body pl-4 pr-4"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col d-flex justify-content-center"},[t("a",{attrs:{target:"_blank",href:"https://docs.google.com/document/d/162glR2r_8Mb9N3Biqw0Caq-ML71OGELht1NeRYfmeTQ/edit"}},[this._v("Link documentatie")])])])])])])}],!1,null,null,null).exports,De={data:function(){return{questions:[],export_question_ids:[],export_question_headers:[],renderComponent:!0}},created:function(){},mounted:function(){this.getQuestions(),this.$root.$emit("doneLoading")},methods:{getQuestions:function(){var e=this;axios.get("export-settings").then(function(t){var n=t.data;e.questions=n.json.questions,Object.keys(n.json.questions).map(function(t){n.settings_questions.find(function(e){return e.question_key==t})?(e.export_question_ids[t]=!0,e.export_question_headers[t]=n.settings_questions.find(function(e){return e.question_key==t}).header_name):e.export_question_ids[t]=!1})})},toggleExportQuestion:function(e){var t=this;this.renderComponent=!1,this.export_question_ids[e]=!this.export_question_ids[e],this.$nextTick().then(function(){t.renderComponent=!0})},saveExportSettings:function(){var e=this,t=[],n=!1;this.export_question_ids.map(function(i,r){1==i&&(""!=e.export_question_headers[r]&&void 0!==e.export_question_headers[r]?t.push({question_key:r,header:e.export_question_headers[r]}):n=!0)}),n?this.$notify({group:"main",title:'Valoarea fieldului "Header Export" nu poate fi goala',type:"error"}):axios.post("export-settings/store",{export_questions:t}).then(function(){e.$notify({group:"main",title:"Salvat cu succes",type:"success"})})}}},Te=Object(a.a)(De,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.renderComponent?n("div",{staticClass:"content admin"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row w-100 align-items-center mb-3"},[n("h2",{staticClass:"page-title dashboard col-md-6 col-sm-3"},[e._v("CRM Settings")]),e._v(" "),n("div",{staticClass:"col-md-6 d-flex justify-content-end"},[n("button",{staticClass:" btn btn-success",on:{click:e.saveExportSettings}},[e._v("Save")])]),e._v(" "),n("div",{staticClass:"clearfix"})]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"card"},[e._m(0),e._v(" "),n("div",{staticClass:"card-body pl-4 pr-4 table-responsive"},[n("table",{staticClass:"table table-hover table-striped table-crm"},[e._m(1),e._v(" "),n("tbody",e._l(e.questions,function(t,i){return n("tr",{key:"question-"+i,class:{checked:e.export_question_ids[i]}},[n("td",{on:{click:function(t){return e.toggleExportQuestion(i)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.export_question_ids[i],expression:"export_question_ids[key]"}],attrs:{type:"checkbox",name:"input_"+i},domProps:{checked:Array.isArray(e.export_question_ids[i])?e._i(e.export_question_ids[i],null)>-1:e.export_question_ids[i]},on:{change:function(t){var n=e.export_question_ids[i],r=t.target,o=!!r.checked;if(Array.isArray(n)){var s=e._i(n,null);r.checked?s<0&&e.$set(e.export_question_ids,i,n.concat([null])):s>-1&&e.$set(e.export_question_ids,i,n.slice(0,s).concat(n.slice(s+1)))}else e.$set(e.export_question_ids,i,o)}}})]),e._v(" "),t.title?n("td",{staticClass:"w-50",on:{click:function(t){return e.toggleExportQuestion(i)}}},[e._v(e._s(t.title[0].title))]):n("td",{staticClass:"w-50",on:{click:function(t){return e.toggleExportQuestion(i)}}},[e._v(e._s(t.step_type))]),e._v(" "),n("td",{staticClass:"w-50"},[e.export_question_ids[i]?n("input",{directives:[{name:"model",rawName:"v-model",value:e.export_question_headers[i],expression:"export_question_headers[key]"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:e.export_question_headers[i]},on:{input:function(t){t.target.composing||e.$set(e.export_question_headers,i,t.target.value)}}}):e._e()])])}),0)])])])])])])]):e._e()},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header header-dashboard d-flex align-items-center pl-4 pr-4 justify-content-center"},[t("h4",{staticClass:"card-title"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("thead",[t("tr",[t("th"),this._v(" "),t("th",[this._v("Intrebare")]),this._v(" "),t("th",[this._v("Header export")])])])}],!1,null,null,null).exports;r.a.use(o.a);var Ie=[{path:"/admin",name:"admin",component:ae,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/jsonTree",name:"admin.jsonTree",component:g,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/applicants",name:"admin.applicants",component:S,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/statistics",name:"admin.statistics",component:de,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/applicants/:id",name:"admin.applicants.show",component:F,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/users",name:"admin.users",component:V,meta:{auth:{roles:["admin"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/users/:id",name:"admin.users.show",component:K,meta:{auth:{roles:["admin"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/settings",name:"admin.settings",component:Y,meta:{auth:{roles:["admin"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/crm-settings",name:"admin.crm_settings",component:H,meta:{auth:{roles:["admin"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/applicant-errors",name:"admin.applicant-error.list",component:me,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/applicant-errors/:id",name:"admin.applicant-error.show",component:be,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/referrals",name:"admin.referrals",component:Ce,meta:{auth:{roles:["admin","agent"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/json",name:"admin.json",component:Ee,meta:{auth:{roles:["admin"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/export-settings",name:"admin.export-settings",component:Te,meta:{auth:{roles:["admin"],redirect:{name:"login"},forbiddenRedirect:"/403"}}},{path:"/admin/login",name:"login",component:R,meta:{auth:!1}}],je=new o.a({mode:"history",routes:Ie,linkActiveClass:"active",scrollBehavior:function(e,t,n){return{x:0,y:0}}}),Oe=n(210),Fe=n.n(Oe),Ne=n(211),Ye=n.n(Ne),Pe=n(212),Re=n.n(Pe),Be=n(213),He=n.n(Be),ze=n(214),$e=n.n(ze),We={auth:Re.a,http:He.a,router:$e.a,tokenDefaultName:"laravel-jwt-auth",tokenStore:["localStorage"],rolesVar:"role",registerData:{url:"auth/register",method:"POST",redirect:"/login"},loginData:{url:"auth/login",method:"POST",redirect:"",fetchUser:!0},logoutData:{url:"auth/logout",method:"POST",redirect:"/admin/login",makeRequest:!0},fetchData:{url:"auth/user",method:"GET",enabled:!0},refreshData:{url:"auth/refresh",method:"GET",enabled:!0,interval:30}},Ge=n(215),Ve=n.n(Ge),Ue=n(51),Ze=n.n(Ue),Xe=n(52),Qe=n.n(Xe),Ke=n(216),Je=n.n(Ke),qe=n(217),et=n.n(qe),tt=n(218),nt=n.n(tt),it=n(16),rt=n.n(it),ot=function(){function e(){}return e.install=function(e,t){var n,i=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var i=rt.a.mixin(t);return i.fire.apply(i,e)}return rt.a.fire.apply(rt.a,e)};for(n in rt.a)Object.prototype.hasOwnProperty.call(rt.a,n)&&"function"==typeof rt.a[n]&&(i[n]=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return rt.a[e].apply(rt.a,t)}}(n));e.swal=i,e.prototype.hasOwnProperty("$swal")||(e.prototype.$swal=i)},e}(),st=(n(261),n(263),n(219)),at=n.n(st);n(28),n(48),window.Vue=n(3),r.a.router=je,r.a.use(Ye.a,axios),r.a.use(Fe.a,We),r.a.use(o.a),axios.defaults.baseURL="https://inscriere.tbf.ro/api",r.a.use(Ve.a),r.a.component("multiselect",Ze.a),r.a.use(nt.a),r.a.use(et.a),r.a.component("apexchart",Qe.a),r.a.component("date-range-picker",Je.a),r.a.use(ot);var lt=n(0);n(70),r.a.use(n(265),{moment:lt}),r.a.use(at.a);new r.a({el:"#admin",router:je,components:{Admin:u},data:function(){return{}},mounted:function(){}})}]);
Back