Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
firstmatrixcoin
public_html
ocean-arc.firstmatrix.co.in
plugins
input-mask
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=145)}([function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function o(){return e.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function d(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function f(t,e){for(var n in e)d(e,n)&&(t[n]=e[n]);return d(e,"toString")&&(t.toString=e.toString),d(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,r){return Ae(t,e,n,r,!0).utc()}function p(t){return null==t._pf&&(t._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}),t._pf}function m(t){if(null==t._isValid){var e=p(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(o=o&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return o;t._isValid=o}return t._isValid}function g(t){var e=h(NaN);return null!=t?f(p(e),t):p(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var v=o.momentProperties=[];function b(t,e){var n,r,o;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=p(e)),s(e._locale)||(t._locale=e._locale),v.length>0)for(n=0;n<v.length;n++)s(o=e[r=v[n]])||(t[r]=o);return t}var y=!1;function M(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,o.updateOffset(this),y=!1)}function _(t){return t instanceof M||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function A(t,e,n){var r,o=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(r=0;r<o;r++)(n&&t[r]!==e[r]||!n&&x(t[r])!==x(e[r]))&&a++;return a+i}function L(t){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,e){var n=!0;return f((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),n){for(var r,i=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];i.push(r)}L(t+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var k,S={};function O(t,e){null!=o.deprecationHandler&&o.deprecationHandler(t,e),S[t]||(L(e),S[t]=!0)}function C(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function z(t,e){var n,r=f({},t);for(n in e)d(e,n)&&(a(t[n])&&a(e[n])?(r[n]={},f(r[n],t[n]),f(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)d(t,n)&&!d(e,n)&&a(t[n])&&(r[n]=f({},r[n]));return r}function D(t){null!=t&&this.set(t)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,k=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)d(t,e)&&n.push(e);return n};var E={};function N(t,e){var n=t.toLowerCase();E[n]=E[n+"s"]=E[e]=t}function B(t){return"string"==typeof t?E[t]||E[t.toLowerCase()]:void 0}function P(t){var e,n,r={};for(n in t)d(t,n)&&(e=B(n))&&(r[e]=t[n]);return r}var R={};function Y(t,e){R[t]=e}function W(t,e,n){var r=""+Math.abs(t),o=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}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,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},j={};function X(t,e,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),t&&(j[t]=o),e&&(j[e[0]]=function(){return W(o.apply(this,arguments),e[1],e[2])}),n&&(j[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function F(t,e){return t.isValid()?(e=U(e,t.localeData()),I[e]=I[e]||function(t){var e,n,r,o=t.match(H);for(e=0,n=o.length;e<n;e++)j[o[e]]?o[e]=j[o[e]]:o[e]=(r=o[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,i="";for(r=0;r<n;r++)i+=C(o[r])?o[r].call(e,t):o[r];return i}}(e),I[e](t)):t.localeData().invalidDate()}function U(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(q.lastIndex=0;n>=0&&q.test(t);)t=t.replace(q,r),q.lastIndex=0,n-=1;return t}var V=/\d/,G=/\d\d/,$=/\d{3}/,K=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,Z=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,rt=/[+-]?\d{1,6}/,ot=/\d+/,it=/[+-]?\d+/,at=/Z|[+-]\d\d:?\d\d/gi,st=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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,ut={};function lt(t,e,n){ut[t]=C(e)?e:function(t,r){return t&&n?n:e}}function dt(t,e){return d(ut,t)?ut[t](e._strict,e._locale):new RegExp(ft(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,o){return e||n||r||o}))))}function ft(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function pt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),c(e)&&(r=function(t,n){n[e]=x(t)}),n=0;n<t.length;n++)ht[t[n]]=r}function mt(t,e){pt(t,(function(t,n,r,o){r._w=r._w||{},e(t,r._w,r,o)}))}function gt(t,e,n){null!=e&&d(ht,t)&&ht[t](e,n._a,n,t)}function vt(t){return bt(t)?366:365}function bt(t){return t%4==0&&t%100!=0||t%400==0}X("Y",0,0,(function(){var t=this.year();return t<=9999?""+t:"+"+t})),X(0,["YY",2],0,(function(){return this.year()%100})),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),N("year","y"),Y("year",1),lt("Y",it),lt("YY",Q,G),lt("YYYY",nt,K),lt("YYYYY",rt,J),lt("YYYYYY",rt,J),pt(["YYYYY","YYYYYY"],0),pt("YYYY",(function(t,e){e[0]=2===t.length?o.parseTwoDigitYear(t):x(t)})),pt("YY",(function(t,e){e[0]=o.parseTwoDigitYear(t)})),pt("Y",(function(t,e){e[0]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)};var yt,Mt=_t("FullYear",!0);function _t(t,e){return function(n){return null!=n?(xt(this,t,n),o.updateOffset(this,e),this):wt(this,t)}}function wt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function xt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&bt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),At(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function At(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,r=(e%(n=12)+n)%n;return t+=(e-r)/12,1===r?bt(t)?29:28:31-r%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},X("M",["MM",2],"Mo",(function(){return this.month()+1})),X("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),X("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),N("month","M"),Y("month",8),lt("M",Q),lt("MM",Q,G),lt("MMM",(function(t,e){return e.monthsShortRegex(t)})),lt("MMMM",(function(t,e){return e.monthsRegex(t)})),pt(["M","MM"],(function(t,e){e[1]=x(t)-1})),pt(["MMM","MMMM"],(function(t,e,n,r){var o=n._locale.monthsParse(t,r,n._strict);null!=o?e[1]=o:p(n).invalidMonth=t}));var Lt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),kt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function St(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(o=yt.call(this._shortMonthsParse,a))?o:null:-1!==(o=yt.call(this._longMonthsParse,a))?o:null:"MMM"===e?-1!==(o=yt.call(this._shortMonthsParse,a))||-1!==(o=yt.call(this._longMonthsParse,a))?o:null:-1!==(o=yt.call(this._longMonthsParse,a))||-1!==(o=yt.call(this._shortMonthsParse,a))?o:null}function Ot(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(!c(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),At(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Ct(t){return null!=t?(Ot(this,t),o.updateOffset(this,!0),this):wt(this,"Month")}var zt=ct,Dt=ct;function Et(){function t(t,e){return e.length-t.length}var e,n,r=[],o=[],i=[];for(e=0;e<12;e++)n=h([2e3,e]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(t),o.sort(t),i.sort(t),e=0;e<12;e++)r[e]=ft(r[e]),o[e]=ft(o[e]);for(e=0;e<24;e++)i[e]=ft(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Nt(t,e,n,r,o,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,o,i,a),s}function Bt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Pt(t,e,n){var r=7+e-n;return-(7+Bt(t,0,r).getUTCDay()-e)%7+r-1}function Rt(t,e,n,r,o){var i,a,s=1+7*(e-1)+(7+n-r)%7+Pt(t,r,o);return s<=0?a=vt(i=t-1)+s:s>vt(t)?(i=t+1,a=s-vt(t)):(i=t,a=s),{year:i,dayOfYear:a}}function Yt(t,e,n){var r,o,i=Pt(t.year(),e,n),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?r=a+Wt(o=t.year()-1,e,n):a>Wt(t.year(),e,n)?(r=a-Wt(t.year(),e,n),o=t.year()+1):(o=t.year(),r=a),{week:r,year:o}}function Wt(t,e,n){var r=Pt(t,e,n),o=Pt(t+1,e,n);return(vt(t)-r+o)/7}function Ht(t,e){return t.slice(e,7).concat(t.slice(0,e))}X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),Y("week",5),Y("isoWeek",5),lt("w",Q),lt("ww",Q,G),lt("W",Q),lt("WW",Q,G),mt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=x(t)})),X("d",0,"do","day"),X("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),X("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),X("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),lt("d",Q),lt("e",Q),lt("E",Q),lt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),lt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),lt("dddd",(function(t,e){return e.weekdaysRegex(t)})),mt(["dd","ddd","dddd"],(function(t,e,n,r){var o=n._locale.weekdaysParse(t,r,n._strict);null!=o?e.d=o:p(n).invalidWeekday=t})),mt(["d","e","E"],(function(t,e,n,r){e[r]=x(t)}));var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Xt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(o=yt.call(this._weekdaysParse,a))?o:null:"ddd"===e?-1!==(o=yt.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=yt.call(this._minWeekdaysParse,a))?o:null:"dddd"===e?-1!==(o=yt.call(this._weekdaysParse,a))||-1!==(o=yt.call(this._shortWeekdaysParse,a))||-1!==(o=yt.call(this._minWeekdaysParse,a))?o:null:"ddd"===e?-1!==(o=yt.call(this._shortWeekdaysParse,a))||-1!==(o=yt.call(this._weekdaysParse,a))||-1!==(o=yt.call(this._minWeekdaysParse,a))?o:null:-1!==(o=yt.call(this._minWeekdaysParse,a))||-1!==(o=yt.call(this._weekdaysParse,a))||-1!==(o=yt.call(this._shortWeekdaysParse,a))?o:null}var Ft=ct,Ut=ct,Vt=ct;function Gt(){function t(t,e){return e.length-t.length}var e,n,r,o,i,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),u.push(r),u.push(o),u.push(i);for(a.sort(t),s.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)s[e]=ft(s[e]),c[e]=ft(c[e]),u[e]=ft(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $t(){return this.hours()%12||12}function Kt(t,e){X(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Jt(t,e){return e._meridiemParse}X("H",["HH",2],0,"hour"),X("h",["hh",2],0,$t),X("k",["kk",2],0,(function(){return this.hours()||24})),X("hmm",0,0,(function(){return""+$t.apply(this)+W(this.minutes(),2)})),X("hmmss",0,0,(function(){return""+$t.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),X("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),X("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),N("hour","h"),Y("hour",13),lt("a",Jt),lt("A",Jt),lt("H",Q),lt("h",Q),lt("k",Q),lt("HH",Q,G),lt("hh",Q,G),lt("kk",Q,G),lt("hmm",Z),lt("hmmss",tt),lt("Hmm",Z),lt("Hmmss",tt),pt(["H","HH"],3),pt(["k","kk"],(function(t,e,n){var r=x(t);e[3]=24===r?0:r})),pt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),pt(["h","hh"],(function(t,e,n){e[3]=x(t),p(n).bigHour=!0})),pt("hmm",(function(t,e,n){var r=t.length-2;e[3]=x(t.substr(0,r)),e[4]=x(t.substr(r)),p(n).bigHour=!0})),pt("hmmss",(function(t,e,n){var r=t.length-4,o=t.length-2;e[3]=x(t.substr(0,r)),e[4]=x(t.substr(r,2)),e[5]=x(t.substr(o)),p(n).bigHour=!0})),pt("Hmm",(function(t,e,n){var r=t.length-2;e[3]=x(t.substr(0,r)),e[4]=x(t.substr(r))})),pt("Hmmss",(function(t,e,n){var r=t.length-4,o=t.length-2;e[3]=x(t.substr(0,r)),e[4]=x(t.substr(r,2)),e[5]=x(t.substr(o))}));var Qt,Zt=_t("Hours",!0),te={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:Tt,monthsShort:kt,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:jt,weekdaysShort:It,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function re(t){return t?t.toLowerCase().replace("_","-"):t}function oe(e){var r=null;if(!ee[e]&&void 0!==t&&t&&t.exports)try{r=Qt._abbr,n(149)("./"+e),ie(r)}catch(t){}return ee[e]}function ie(t,e){var n;return t&&((n=s(e)?se(t):ae(t,e))?Qt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function ae(t,e){if(null!==e){var n,r=te;if(e.abbr=t,null!=ee[t])O("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."),r=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])r=ee[e.parentLocale]._config;else{if(null==(n=oe(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ee[t]=new D(z(r,e)),ne[t]&&ne[t].forEach((function(t){ae(t.name,t.config)})),ie(t),ee[t]}return delete ee[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!i(t)){if(e=oe(t))return e;t=[t]}return function(t){for(var e,n,r,o,i=0;i<t.length;){for(e=(o=re(t[i]).split("-")).length,n=(n=re(t[i+1]))?n.split("-"):null;e>0;){if(r=oe(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&A(o,n,!0)>=e-1)break;e--}i++}return Qt}(t)}function ce(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>At(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}function ue(t,e,n){return null!=t?t:null!=e?e:n}function le(t){var e,n,r,i,a,s=[];if(!t._d){for(r=function(t){var e=new Date(o.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,r,o,i,a,s,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)i=1,a=4,n=ue(e.GG,t._a[0],Yt(Le(),1,4).year),r=ue(e.W,1),((o=ue(e.E,1))<1||o>7)&&(c=!0);else{i=t._locale._week.dow,a=t._locale._week.doy;var u=Yt(Le(),i,a);n=ue(e.gg,t._a[0],u.year),r=ue(e.w,u.week),null!=e.d?((o=e.d)<0||o>6)&&(c=!0):null!=e.e?(o=e.e+i,(e.e<0||e.e>6)&&(c=!0)):o=i}r<1||r>Wt(n,i,a)?p(t)._overflowWeeks=!0:null!=c?p(t)._overflowWeekday=!0:(s=Rt(n,r,o,i,a),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=ue(t._a[0],r[0]),(t._dayOfYear>vt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Bt(a,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Bt:Nt).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(p(t).weekdayMismatch=!0)}}var de=/^\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)?)?$/,fe=/^\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)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["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}/]],me=[["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/]],ge=/^\/?Date\((\-?\d+)/i;function ve(t){var e,n,r,o,i,a,s=t._i,c=de.exec(s)||fe.exec(s);if(c){for(p(t).iso=!0,e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(c[1])){o=pe[e][0],r=!1!==pe[e][2];break}if(null==o)return void(t._isValid=!1);if(c[3]){for(e=0,n=me.length;e<n;e++)if(me[e][1].exec(c[3])){i=(c[2]||" ")+me[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!he.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=o+(i||"")+(a||""),we(t)}else t._isValid=!1}var be=/^(?:(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 ye(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}var Me={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,r,o,i,a,s,c=be.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var u=(e=c[4],n=c[3],r=c[2],o=c[5],i=c[6],a=c[7],s=[ye(e),kt.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(t,e,n){return!t||It.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],u,t))return;t._a=u,t._tzm=function(t,e,n){if(t)return Me[t];if(e)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),t._d=Bt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function we(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],p(t).empty=!0;var e,n,r,i,a,s=""+t._i,c=s.length,u=0;for(r=U(t._f,t._locale).match(H)||[],e=0;e<r.length;e++)i=r[e],(n=(s.match(dt(i,t))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(t).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),j[i]?(n?p(t).empty=!1:p(t).unusedTokens.push(i),gt(i,n,t)):t._strict&&!n&&p(t).unusedTokens.push(i);p(t).charsLeftOver=c-u,s.length>0&&p(t).unusedInput.push(s),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),le(t),ce(t)}else _e(t);else ve(t)}function xe(t){var e=t._i,n=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),_(e)?new M(ce(e)):(u(e)?t._d=e:i(n)?function(t){var e,n,r,o,i;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)i=0,e=b({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],we(e),m(e)&&(i+=p(e).charsLeftOver,i+=10*p(e).unusedTokens.length,p(e).score=i,(null==r||i<r)&&(r=i,n=e));f(t,n||e)}(t):n?we(t):function(t){var e=t._i;s(e)?t._d=new Date(o.now()):u(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ge.exec(t._i);null===e?(ve(t),!1===t._isValid&&(delete t._isValid,_e(t),!1===t._isValid&&(delete t._isValid,o.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):i(e)?(t._a=l(e.slice(0),(function(t){return parseInt(t,10)})),le(t)):a(e)?function(t){if(!t._d){var e=P(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),le(t)}}(t):c(e)?t._d=new Date(e):o.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Ae(t,e,n,r,o){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||i(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=n,c._i=t,c._f=e,c._strict=r,(s=new M(ce(xe(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Le(t,e,n,r){return Ae(t,e,n,r,!1)}o.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Te=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()})),ke=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}));function Se(t,e){var n,r;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return Le();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ce(t){var e=P(t),n=e.year||0,r=e.quarter||0,o=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===yt.call(Oe,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Oe.length;++r)if(t[Oe[r]]){if(n)return!1;parseFloat(t[Oe[r]])!==x(t[Oe[r]])&&(n=!0)}return!0}(e),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=se(),this._bubble()}function ze(t){return t instanceof Ce}function De(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ee(t,e){X(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+W(~~(t/60),2)+e+W(~~t%60,2)}))}Ee("Z",":"),Ee("ZZ",""),lt("Z",st),lt("ZZ",st),pt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Be(st,t)}));var Ne=/([\+\-]|\d\d)/gi;function Be(t,e){var n=(e||"").match(t);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Ne)||["-",0,0],o=60*r[1]+x(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Pe(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(_(t)||u(t)?t.valueOf():Le(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Le(t).local()}function Re(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ye(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var We=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qe(t,e){var n,r,o,i,a,s,u=t,l=null;return ze(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:c(t)?(u={},e?u[e]=t:u.milliseconds=t):(l=We.exec(t))?(n="-"===l[1]?-1:1,u={y:0,d:x(l[2])*n,h:x(l[3])*n,m:x(l[4])*n,s:x(l[5])*n,ms:x(De(1e3*l[6]))*n}):(l=He.exec(t))?(n="-"===l[1]?-1:1,u={y:Ie(l[2],n),M:Ie(l[3],n),w:Ie(l[4],n),d:Ie(l[5],n),h:Ie(l[6],n),m:Ie(l[7],n),s:Ie(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(i=Le(u.from),a=Le(u.to),o=i.isValid()&&a.isValid()?(a=Pe(a,i),i.isBefore(a)?s=je(i,a):((s=je(a,i)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=o.milliseconds,u.M=o.months),r=new Ce(u),ze(t)&&d(t,"_locale")&&(r._locale=t._locale),r}function Ie(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function je(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(t,e){return function(n,r){var o;return null===r||isNaN(+r)||(O(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Fe(this,qe(n="string"==typeof n?+n:n,r),t),this}}function Fe(t,e,n,r){var i=e._milliseconds,a=De(e._days),s=De(e._months);t.isValid()&&(r=null==r||r,s&&Ot(t,wt(t,"Month")+s*n),a&&xt(t,"Date",wt(t,"Date")+a*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&o.updateOffset(t,a||s))}qe.fn=Ce.prototype,qe.invalid=function(){return qe(NaN)};var Ue=Xe(1,"add"),Ve=Xe(-1,"subtract");function Ge(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function $e(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ke=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function Je(){return this._locale}function Qe(t,e){return(t%e+e)%e}function Ze(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function tn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function en(t,e){X(0,[t,t.length],0,e)}function nn(t,e,n,r,o){var i;return null==t?Yt(this,r,o).year:(e>(i=Wt(t,r,o))&&(e=i),rn.call(this,t,e,n,r,o))}function rn(t,e,n,r,o){var i=Rt(t,e,n,r,o),a=Bt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}X(0,["gg",2],0,(function(){return this.weekYear()%100})),X(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),lt("G",it),lt("g",it),lt("GG",Q,G),lt("gg",Q,G),lt("GGGG",nt,K),lt("gggg",nt,K),lt("GGGGG",rt,J),lt("ggggg",rt,J),mt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=x(t)})),mt(["gg","GG"],(function(t,e,n,r){e[r]=o.parseTwoDigitYear(t)})),X("Q",0,"Qo","quarter"),N("quarter","Q"),Y("quarter",7),lt("Q",V),pt("Q",(function(t,e){e[1]=3*(x(t)-1)})),X("D",["DD",2],"Do","date"),N("date","D"),Y("date",9),lt("D",Q),lt("DD",Q,G),lt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),pt(["D","DD"],2),pt("Do",(function(t,e){e[2]=x(t.match(Q)[0])}));var on=_t("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),Y("dayOfYear",4),lt("DDD",et),lt("DDDD",$),pt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=x(t)})),X("m",["mm",2],0,"minute"),N("minute","m"),Y("minute",14),lt("m",Q),lt("mm",Q,G),pt(["m","mm"],4);var an=_t("Minutes",!1);X("s",["ss",2],0,"second"),N("second","s"),Y("second",15),lt("s",Q),lt("ss",Q,G),pt(["s","ss"],5);var sn,cn=_t("Seconds",!1);for(X("S",0,0,(function(){return~~(this.millisecond()/100)})),X(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),X(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),X(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),X(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),X(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),X(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),Y("millisecond",16),lt("S",et,V),lt("SS",et,G),lt("SSS",et,$),sn="SSSS";sn.length<=9;sn+="S")lt(sn,ot);function un(t,e){e[6]=x(1e3*("0."+t))}for(sn="S";sn.length<=9;sn+="S")pt(sn,un);var ln=_t("Milliseconds",!1);X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");var dn=M.prototype;function fn(t){return t}dn.add=Ue,dn.calendar=function(t,e){var n=t||Le(),r=Pe(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=e&&(C(e[i])?e[i].call(this,n):e[i]);return this.format(a||this.localeData().calendar(i,this,Le(n)))},dn.clone=function(){return new M(this)},dn.diff=function(t,e,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Pe(t,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),e=B(e)){case"year":i=Ge(this,r)/12;break;case"month":i=Ge(this,r);break;case"quarter":i=Ge(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:w(i)},dn.endOf=function(t){var e;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?tn:Ze;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-Qe(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-Qe(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-Qe(e,1e3)-1}return this._d.setTime(e),o.updateOffset(this,!0),this},dn.format=function(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var e=F(this,t);return this.localeData().postformat(e)},dn.from=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Le(t).isValid())?qe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},dn.fromNow=function(t){return this.from(Le(),t)},dn.to=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Le(t).isValid())?qe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},dn.toNow=function(t){return this.to(Le(),t)},dn.get=function(t){return C(this[t=B(t)])?this[t]():this},dn.invalidAt=function(){return p(this).overflow},dn.isAfter=function(t,e){var n=_(t)?t:Le(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},dn.isBefore=function(t,e){var n=_(t)?t:Le(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},dn.isBetween=function(t,e,n,r){var o=_(t)?t:Le(t),i=_(e)?e:Le(e);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},dn.isSame=function(t,e){var n,r=_(t)?t:Le(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},dn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},dn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},dn.isValid=function(){return m(this)},dn.lang=Ke,dn.locale=$e,dn.localeData=Je,dn.max=ke,dn.min=Te,dn.parsingFlags=function(){return f({},p(this))},dn.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:R[n]});return e.sort((function(t,e){return t.priority-e.priority})),e}(t=P(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(C(this[t=B(t)]))return this[t](e);return this},dn.startOf=function(t){var e;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?tn:Ze;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Qe(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=Qe(e,6e4);break;case"second":e=this._d.valueOf(),e-=Qe(e,1e3)}return this._d.setTime(e),o.updateOffset(this,!0),this},dn.subtract=Ve,dn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},dn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},dn.toDate=function(){return new Date(this.valueOf())},dn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?F(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.year=Mt,dn.isLeapYear=function(){return bt(this.year())},dn.weekYear=function(t){return nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(t){return nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},dn.month=Ct,dn.daysInMonth=function(){return At(this.year(),this.month())},dn.week=dn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},dn.isoWeek=dn.isoWeeks=function(t){var e=Yt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},dn.weeksInYear=function(){var t=this.localeData()._week;return Wt(this.year(),t.dow,t.doy)},dn.isoWeeksInYear=function(){return Wt(this.year(),1,4)},dn.date=on,dn.day=dn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},dn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},dn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},dn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},dn.hour=dn.hours=Zt,dn.minute=dn.minutes=an,dn.second=dn.seconds=cn,dn.millisecond=dn.milliseconds=ln,dn.utcOffset=function(t,e,n){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Be(st,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Re(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!e||this._changeInProgress?Fe(this,qe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Re(this)},dn.utc=function(t){return this.utcOffset(0,t)},dn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Re(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Be(at,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Le(t).utcOffset():0,(this.utcOffset()-t)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Ye,dn.isUTC=Ye,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=T("dates accessor is deprecated. Use date instead.",on),dn.months=T("months accessor is deprecated. Use month instead",Ct),dn.years=T("years accessor is deprecated. Use year instead",Mt),dn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),dn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(b(t,this),(t=xe(t))._a){var e=t._isUTC?h(t._a):Le(t._a);this._isDSTShifted=this.isValid()&&A(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hn=D.prototype;function pn(t,e,n,r){var o=se(),i=h().set(r,e);return o[n](i,t)}function mn(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return pn(t,e,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=pn(t,r,n,"month");return o}function gn(t,e,n,r){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var o,i=se(),a=t?i._week.dow:0;if(null!=n)return pn(e,(n+a)%7,r,"day");var s=[];for(o=0;o<7;o++)s[o]=pn(e,(o+a)%7,r,"day");return s}hn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return C(r)?r.call(e,n):r},hn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(t){return this._ordinal.replace("%d",t)},hn.preparse=fn,hn.postformat=fn,hn.relativeTime=function(t,e,n,r){var o=this._relativeTime[n];return C(o)?o(t,e,n,r):o.replace(/%d/i,t)},hn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return C(n)?n(e):n.replace(/%s/i,e)},hn.set=function(t){var e,n;for(n in t)C(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Lt).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},hn.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Lt.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(t,e,n){var r,o,i;if(this._monthsParseExact)return St.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},hn.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Et.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Dt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Et.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=zt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(t){return Yt(t,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(t,e){var n=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ht(n,this._week.dow):t?n[t.day()]:n},hn.weekdaysMin=function(t){return!0===t?Ht(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},hn.weekdaysShort=function(t){return!0===t?Ht(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},hn.weekdaysParse=function(t,e,n){var r,o,i;if(this._weekdaysParseExact)return Xt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},hn.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},ie("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),o.lang=T("moment.lang is deprecated. Use moment.locale instead.",ie),o.langData=T("moment.langData is deprecated. Use moment.localeData instead.",se);var vn=Math.abs;function bn(t,e,n,r){var o=qe(e,n);return t._milliseconds+=r*o._milliseconds,t._days+=r*o._days,t._months+=r*o._months,t._bubble()}function yn(t){return t<0?Math.floor(t):Math.ceil(t)}function Mn(t){return 4800*t/146097}function _n(t){return 146097*t/4800}function wn(t){return function(){return this.as(t)}}var xn=wn("ms"),An=wn("s"),Ln=wn("m"),Tn=wn("h"),kn=wn("d"),Sn=wn("w"),On=wn("M"),Cn=wn("Q"),zn=wn("y");function Dn(t){return function(){return this.isValid()?this._data[t]:NaN}}var En=Dn("milliseconds"),Nn=Dn("seconds"),Bn=Dn("minutes"),Pn=Dn("hours"),Rn=Dn("days"),Yn=Dn("months"),Wn=Dn("years"),Hn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11};function In(t,e,n,r,o){return o.relativeTime(e||1,!!n,t,r)}var jn=Math.abs;function Xn(t){return(t>0)-(t<0)||+t}function Fn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=jn(this._milliseconds)/1e3,r=jn(this._days),o=jn(this._months);t=w(n/60),e=w(t/60),n%=60,t%=60;var i=w(o/12),a=o%=12,s=r,c=e,u=t,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Xn(this._months)!==Xn(d)?"-":"",p=Xn(this._days)!==Xn(d)?"-":"",m=Xn(this._milliseconds)!==Xn(d)?"-":"";return f+"P"+(i?h+i+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||u||l?"T":"")+(c?m+c+"H":"")+(u?m+u+"M":"")+(l?m+l+"S":"")}var Un=Ce.prototype;return Un.isValid=function(){return this._isValid},Un.abs=function(){var t=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),t.milliseconds=vn(t.milliseconds),t.seconds=vn(t.seconds),t.minutes=vn(t.minutes),t.hours=vn(t.hours),t.months=vn(t.months),t.years=vn(t.years),this},Un.add=function(t,e){return bn(this,t,e,1)},Un.subtract=function(t,e){return bn(this,t,e,-1)},Un.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=B(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Mn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(_n(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Un.asMilliseconds=xn,Un.asSeconds=An,Un.asMinutes=Ln,Un.asHours=Tn,Un.asDays=kn,Un.asWeeks=Sn,Un.asMonths=On,Un.asQuarters=Cn,Un.asYears=zn,Un.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},Un._bubble=function(){var t,e,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*yn(_n(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=w(i/1e3),c.seconds=t%60,e=w(t/60),c.minutes=e%60,n=w(e/60),c.hours=n%24,a+=w(n/24),o=w(Mn(a)),s+=o,a-=yn(_n(o)),r=w(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Un.clone=function(){return qe(this)},Un.get=function(t){return t=B(t),this.isValid()?this[t+"s"]():NaN},Un.milliseconds=En,Un.seconds=Nn,Un.minutes=Bn,Un.hours=Pn,Un.days=Rn,Un.weeks=function(){return w(this.days()/7)},Un.months=Yn,Un.years=Wn,Un.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var r=qe(t).abs(),o=Hn(r.as("s")),i=Hn(r.as("m")),a=Hn(r.as("h")),s=Hn(r.as("d")),c=Hn(r.as("M")),u=Hn(r.as("y")),l=o<=qn.ss&&["s",o]||o<qn.s&&["ss",o]||i<=1&&["m"]||i<qn.m&&["mm",i]||a<=1&&["h"]||a<qn.h&&["hh",a]||s<=1&&["d"]||s<qn.d&&["dd",s]||c<=1&&["M"]||c<qn.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=e,l[3]=+t>0,l[4]=n,In.apply(null,l)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Un.toISOString=Fn,Un.toString=Fn,Un.toJSON=Fn,Un.locale=$e,Un.localeData=Je,Un.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),Un.lang=Ke,X("X",0,0,"unix"),X("x",0,0,"valueOf"),lt("x",it),lt("X",/[+-]?\d+(\.\d{1,3})?/),pt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),pt("x",(function(t,e,n){n._d=new Date(x(t))})),o.version="2.24.0",e=Le,o.fn=dn,o.min=function(){var t=[].slice.call(arguments,0);return Se("isBefore",t)},o.max=function(){var t=[].slice.call(arguments,0);return Se("isAfter",t)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=h,o.unix=function(t){return Le(1e3*t)},o.months=function(t,e){return mn(t,e,"months")},o.isDate=u,o.locale=ie,o.invalid=g,o.duration=qe,o.isMoment=_,o.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},o.parseZone=function(){return Le.apply(null,arguments).parseZone()},o.localeData=se,o.isDuration=ze,o.monthsShort=function(t,e){return mn(t,e,"monthsShort")},o.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},o.defineLocale=ae,o.updateLocale=function(t,e){if(null!=e){var n,r,o=te;null!=(r=oe(t))&&(o=r._config),e=z(o,e),(n=new D(e)).parentLocale=ee[t],ee[t]=n,ie(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?ee[t]=ee[t].parentLocale:null!=ee[t]&&delete ee[t]);return ee[t]},o.locales=function(){return k(ee)},o.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},o.normalizeUnits=B,o.relativeTimeRounding=function(t){return void 0===t?Hn:"function"==typeof t&&(Hn=t,!0)},o.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},o.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=dn,o.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"},o}()}).call(this,n(10)(t))},function(t,e,n){"use strict";var r=n(139),o=n(213),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return e},extend:function(t,e,n){return u(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(239);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(9)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(242);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(9)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(244);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(9)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";(function(e){var r=n(1),o=n(215),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e)&&(s=n(141)),s),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(i)})),t.exports=c}).call(this,n(140))},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=s.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),u=null,l=0,d=[],f=n(240);function h(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],e))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],e));i[r.id]={id:r.id,refs:1,parts:s}}}}function p(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=e.base?i[0]+e.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(t,e){var n=c(t.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 r=d[d.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),d.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.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 o=c(t.insertAt.before,n);n.insertBefore(e,o)}}function g(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return b(e,t.attrs),m(t,e),e}function b(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function y(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=l++;n=u||(u=v(e)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",b(e,t.attrs),m(t,e),e}(e),r=A.bind(null,n,e),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),r=x.bind(null,n),o=function(){g(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return h(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}t&&h(p(t,e),e);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var M,_=(M=[],function(t,e){return M[t]=e,M.filter(Boolean).join("\n")});function w(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function x(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function A(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],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}}),t.webpackPolyfill=1),t}},function(t,e,n){!function(t){"use strict";t.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(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,n,i,a){var s=r(e),c=o[t][r(e)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:a,monthsShort:a,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(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%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(t){return function(e,o,i,a){var s=n(e),c=r[t][n(e)];return 2===s&&(c=c[o?0:1]),c.replace(/%d/i,e)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:i,monthsShort:i,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(t){return"م"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.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(t){return"م"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={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ı"};t.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(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n){var r,o;return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+(r=+t,o={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}t.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:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.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(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.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(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}t.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:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="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("_"),r=[/^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],o=/^(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 i(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?o+(i(t)?"sekundy":"sekund"):o+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?o+(i(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?o+(i(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?o+(i(t)?"dny":"dní"):o+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?o+(i(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?o+(i(t)?"roky":"let"):o+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},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(t,e,n){!function(t){"use strict";t.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(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[n][0]:o[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[n][0]:o[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[n][0]:o[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,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(t){return"މފ"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(0))},function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").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(t,e){var n,r=this._calendarEl[t],o=e&&e.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(e)),r.replace("{}",o%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(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>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(t,e,n){!function(t){"use strict";var e="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,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(t,e,n){!function(t){"use strict";var e="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,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(t,e,n){!function(t){"use strict";var e="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,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(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?o[n][2]?o[n][2]:o[n][1]:r?o[n][0]:o[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.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(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<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(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function r(t,r,o,i){var a="";switch(o){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=function(t,r){return t<10?r?n[t]:e[t]:t}(t,i)+" "+a}t.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: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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="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("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},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(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?o[n][0]:o[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.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(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.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(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,r){var o=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return o+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return o+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return o+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return o+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return o+(r||e?" év":" éve")}return""}function r(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.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(t,e,n){!function(t){"use strict";t.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(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<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(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,r,o){var i=t+" ";switch(r){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?i+(n||o?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?i+(n||o?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return e(t)?i+(n||o?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return e(t)?n?i+"dagar":i+(o?"daga":"dögum"):n?i+"dagur":i+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return e(t)?n?i+"mánuðir":i+(o?"mánuði":"mánuðum"):n?i+"mánuður":i+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return e(t)?i+(n||o?"ár":"árum"):i+(n||o?"ár":"ári")}}t.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(t,e,n){!function(t){"use strict";t.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(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},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(t,e,n){!function(t){"use strict";t.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(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},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(t,e,n){!function(t){"use strict";t.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(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<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(t,e,n){!function(t){"use strict";t.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(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.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(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.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(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.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(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:r,monthsShort:r,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(t){return/ئێواره/.test(t)},meridiem:function(t,e,n){return t<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(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={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 e?o[n][0]:o[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.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(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<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(t){return"ທີ່"+t}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={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(t,e,n,r){return e?o(n)[0]:r?o(n)[1]:o(n)[2]}function r(t){return t%10==0||t>10&&t<20}function o(t){return e[t].split("_")}function i(t,e,i,a){var s=t+" ";return 1===t?s+n(0,e,i[0],a):e?s+(r(t)?o(i)[1]:o(i)[0]):a?s+o(i)[1]:s+(r(t)?o(i)[1]:o(i)[2])}t.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(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={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(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function r(t,r,o){return t+" "+n(e[o],t,r)}function o(t,r,o){return n(e[o],t,r)}t.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(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:r,m:o,mm:r,h:o,hh:r,d:o,dd:r,M:o,MM:r,y:o,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={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(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var o=e.words[r];return 1===r.length?n?o[0]:o[1]:t+" "+e.correctGrammaticalCase(t,o)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n,r){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.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(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(t,e,n,r){var o="";if(e)switch(n){case"s":o="काही सेकंद";break;case"ss":o="%d सेकंद";break;case"m":o="एक मिनिट";break;case"mm":o="%d मिनिटे";break;case"h":o="एक तास";break;case"hh":o="%d तास";break;case"d":o="एक दिवस";break;case"dd":o="%d दिवस";break;case"M":o="एक महिना";break;case"MM":o="%d महिने";break;case"y":o="एक वर्ष";break;case"yy":o="%d वर्षे"}else switch(n){case"s":o="काही सेकंदां";break;case"ss":o="%d सेकंदां";break;case"m":o="एका मिनिटा";break;case"mm":o="%d मिनिटां";break;case"h":o="एका तासा";break;case"hh":o="%d तासां";break;case"d":o="एका दिवसा";break;case"dd":o="%d दिवसां";break;case"M":o="एका महिन्या";break;case"MM":o="%d महिन्यां";break;case"y":o="एका वर्षा";break;case"yy":o="%d वर्षां"}return o.replace(/%d/i,t)}t.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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?t<4?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.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(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.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(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<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(t,e,n){!function(t){"use strict";var e="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("_"),r=[/^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],o=/^(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;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="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("_"),r=[/^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],o=/^(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;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.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(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="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 r(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function o(t,e,n){var o=t+" ";switch(n){case"ss":return o+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return o+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return o+(r(t)?"godziny":"godzin");case"MM":return o+(r(t)?"miesiące":"miesięcy");case"yy":return o+(r(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,r){return t?""===r?"("+n[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(r)?n[t.month()]:e[t.month()]:e},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:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";function e(t,e,n){var r=" ";return(t%100>=20||t>=100&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}t.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:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n){var r,o;return"m"===n?e?"минута":"минуту":t+" "+(r=+t,o={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.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(t){if(t.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(t){if(t.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:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,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(t){return"شام"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="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 r(t){return t>1&&t<5}function o(t,e,n,o){var i=t+" ";switch(n){case"s":return e||o?"pár sekúnd":"pár sekundami";case"ss":return e||o?i+(r(t)?"sekundy":"sekúnd"):i+"sekundami";case"m":return e?"minúta":o?"minútu":"minútou";case"mm":return e||o?i+(r(t)?"minúty":"minút"):i+"minútami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?i+(r(t)?"hodiny":"hodín"):i+"hodinami";case"d":return e||o?"deň":"dňom";case"dd":return e||o?i+(r(t)?"dni":"dní"):i+"dňami";case"M":return e||o?"mesiac":"mesiacom";case"MM":return e||o?i+(r(t)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return e||o?"rok":"rokom";case"yy":return e||o?i+(r(t)?"roky":"rokov"):i+"rokmi"}}t.defineLocale("sk",{months:e,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return o+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return o+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return o+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return o+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return o+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<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(t,e,n){!function(t){"use strict";var e={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(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var o=e.words[r];return 1===r.length?n?o[0]:o[1]:t+" "+e.correctGrammaticalCase(t,o)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var o=e.words[r];return 1===r.length?n?o[0]:o[1]:t+" "+e.correctGrammaticalCase(t,o)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e||2===e?"a":"e")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.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(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.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(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<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(t,e,n){!function(t){"use strict";t.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(t){return t},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,r,o){var i=function(t){var n=Math.floor(t%1e3/100),r=Math.floor(t%100/10),o=t%10,i="";return n>0&&(i+=e[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+e[r]+"maH"),o>0&&(i+=(""!==i?" ":"")+e[o]),""===i?"pagh":i}(t);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}t.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(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" 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(t,e,n){!function(t){"use strict";var e={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ı"};t.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(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var r=t%10;return t+(e[r]||e[t%100-r]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var o={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r||e?o[n][0]:o[n][1]}t.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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<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(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";function e(t,e,n){var r,o;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(r=+t,o={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.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:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n(0))},function(t,e,n){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,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(t){return"شام"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<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(t){return t},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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(t,e,n){var r;!function(o,i){t.exports?(i.default=i,t.exports=o.document?i(o):i):void 0===(r=function(){return i(o)}.call(e,n,e,t))||(t.exports=r)}("undefined"!=typeof window?window:this,(function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n))}var n={};return e(n,"parts/Globals.js",[],(function(){var e=void 0!==t?t:"undefined"!=typeof window?window:{},n=e.document,r=e.navigator&&e.navigator.userAgent||"",o=n&&n.createElementNS&&!!n.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i=/(edge|msie|trident)/i.test(r)&&!e.opera,a=-1!==r.indexOf("Firefox"),s=-1!==r.indexOf("Chrome"),c=a&&4>parseInt(r.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.1.2",deg2rad:2*Math.PI/360,doc:n,hasBidiBug:c,hasTouch:!!e.TouchEvent,isMS:i,isWebKit:-1!==r.indexOf("AppleWebKit"),isFirefox:a,isChrome:s,isSafari:!s&&-1!==r.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(r),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:o,win:e,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}})),e(n,"parts/Utilities.js",[n["parts/Globals.js"]],(function(t){function e(t,n,r,o){var i=n?"Highcharts error":"Highcharts warning";32===t&&(t=i+": Deprecated member");var a=g(t),s=a?i+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();if(i=function(){if(n)throw Error(s);u.console&&-1===e.messages.indexOf(s)&&console.log(s)},void 0!==o){var c="";a&&(s+="?"),V(o,(function(t,e){c+="\n - "+e+": "+t,a&&(s+=encodeURI(e)+"="+encodeURI(t))})),s+=c}r?J(r,"displayError",{code:t,message:s,params:o},i):i(),e.messages.push(s)}function n(){var t,e=arguments,n={},o=function(t,e){return"object"!=typeof t&&(t={}),V(e,(function(n,i){!r(n,!0)||m(n)||p(n)?t[i]=e[i]:t[i]=o(t[i]||{},n)})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var i=e.length;for(t=0;t<i;t++)n=o(n,e[t]);return n}function r(t,e){return!(!t||"object"!=typeof t||e&&h(t))}function o(t,e,n){var r;return f(e)?b(n)?t.setAttribute(e,n):t&&t.getAttribute&&((r=t.getAttribute(e))||"class"!==e||(r=t.getAttribute(e+"Name"))):V(e,(function(e,n){t.setAttribute(n,e)})),r}function i(){for(var t=arguments,e=t.length,n=0;n<e;n++){var r=t[n];if(null!=r)return r}}function a(t,e){if(!t)return e;var n=t.split(".").reverse();if(1===n.length)return e[t];for(t=n.pop();void 0!==t&&null!=e;)e=e[t],t=n.pop();return e}t.timers=[];var s=t.charts,c=t.doc,u=t.win;(e||(e={})).messages=[],t.error=e;var l=function(){function e(t,e,n){this.options=e,this.elem=t,this.prop=n}return e.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=[],r=this.now||0;if(1!==r&&e&&t)if(e.length===t.length&&1>r)for(var o=0;o<t.length;o++){for(var i=e[o],a=t[o],s=[],c=0;c<a.length;c++){var u=i[c],l=a[c];s[c]="number"==typeof u&&"number"==typeof l&&("A"!==a[0]||4!==c&&5!==c)?u+r*(l-u):l}n.push(s)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},e.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)},e.prototype.run=function(e,n,r){var o=this,i=o.options,a=function(t){return!a.stopped&&o.step(t)},s=u.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&s(c)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=r,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&s(c)):(delete i.curAnim[this.prop],i.complete&&0===Object.keys(i.curAnim).length&&i.complete.call(this.elem))},e.prototype.step=function(t){var e=+new Date,n=this.options,r=this.elem,o=n.complete,i=n.duration,a=n.curAnim;if(r.attr&&!r.element)t=!1;else if(t||e>=i+this.startTime){this.now=this.end,this.pos=1,this.update();var s=a[this.prop]=!0;V(a,(function(t){!0!==t&&(s=!1)})),s&&o&&o.call(r),t=!1}else this.pos=n.easing((e-this.startTime)/i),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},e.prototype.initPath=function(t,e,n){function r(t,e){for(;t.length<d;){var n=t[0],r=e[d-t.length];r&&"M"===n[0]&&(t[0]="C"===r[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),s&&t.push(t[t.length-1])}}function o(t,e){for(;t.length<d;)if("C"===(e=t[t.length/c-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),s){var n=t[t.length/c].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var i=t.startX,a=t.endX;e=e&&e.slice(),n=n.slice();var s=t.isArea,c=s?2:1;if(!e)return[n,n];if(i&&a){for(t=0;t<i.length;t++){if(i[t]===a[0]){var u=t;break}if(i[0]===a[a.length-i.length+t]){u=t;var l=!0;break}if(i[i.length-1]===a[a.length-i.length+t]){u=i.length-t;break}}void 0===u&&(e=[])}if(e.length&&g(u)){var d=n.length+u*c;l?(r(e,n),o(n,e)):(r(n,e),o(e,n))}return[e,n]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,t.color(this.start).tweenTo(t.color(this.end),this.pos),null,!0)},e}();t.Fx=l,t.merge=n;var d=t.pInt=function(t,e){return parseInt(t,e||10)},f=t.isString=function(t){return"string"==typeof t},h=t.isArray=function(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t};t.isObject=r;var p=t.isDOMElement=function(t){return r(t)&&"number"==typeof t.nodeType},m=t.isClass=function(t){var e=t&&t.constructor;return!(!r(t,!0)||p(t)||!e||!e.name||"Object"===e.name)},g=t.isNumber=function(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t},v=t.erase=function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},b=t.defined=function(t){return null!=t};t.attr=o;var y=t.splat=function(t){return h(t)?t:[t]},M=t.syncTimeout=function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},_=t.clearTimeout=function(t){b(t)&&clearTimeout(t)},w=t.extend=function(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t};t.pick=i;var x=t.css=function(e,n){t.isMS&&!t.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),w(e.style,n)},A=t.createElement=function(t,e,n,r,o){return t=c.createElement(t),e&&w(t,e),o&&x(t,{padding:"0",border:"none",margin:"0"}),n&&x(t,n),r&&r.appendChild(t),t},L=t.extendClass=function(t,e){var n=function(){};return n.prototype=new t,w(n.prototype,e),n},T=t.pad=function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},k=t.relativeLength=function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},S=t.wrap=function(t,e,n){var r=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){r.apply(o,arguments.length?arguments:e)},t.unshift(r),t=n.apply(this,t),o.proceed=null,t}},O=t.format=function(e,n,r){var o="{",i=!1,s=[],c=/f$/,u=/\.([0-9])/,l=t.defaultOptions.lang,d=r&&r.time||t.time;for(r=r&&r.numberFormatter||q;e;){var f=e.indexOf(o);if(-1===f)break;var h=e.slice(0,f);if(i){if(o=a((h=h.split(":")).shift()||"",n),h.length&&"number"==typeof o)if(h=h.join(":"),c.test(h)){var p=parseInt((h.match(u)||["","-1"])[1],10);null!==o&&(o=r(o,p,l.decimalPoint,-1<h.indexOf(",")?l.thousandsSep:""))}else o=d.dateFormat(h,o);s.push(o)}else s.push(h);e=e.slice(f+1),o=(i=!i)?"}":"{"}return s.push(e),s.join("")},C=t.getMagnitude=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},z=t.normalizeTickInterval=function(t,e,n,r,o){var a=t,s=t/(n=i(n,1));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===n?e=e.filter((function(t){return 0==t%1})):.1>=n&&(e=[1/n]))),r=0;r<e.length&&(a=e[r],!(o&&a*n>=t||!o&&s<=(e[r]+(e[r+1]||e[r]))/2));r++);return R(a*n,-Math.round(Math.log(.001)/Math.LN10))},D=t.stableSort=function(t,e){var n,r,o=t.length;for(r=0;r<o;r++)t[r].safeI=r;for(t.sort((function(t,r){return 0===(n=e(t,r))?t.safeI-r.safeI:n})),r=0;r<o;r++)delete t[r].safeI},E=t.arrayMin=function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},N=t.arrayMax=function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},B=t.destroyObjectProperties=function(t,e){V(t,(function(n,r){n&&n!==e&&n.destroy&&n.destroy(),delete t[r]}))},P=t.discardElement=function(e){var n=t.garbageBin;n||(n=A("div")),e&&n.appendChild(e),n.innerHTML=""},R=t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},Y=t.setAnimation=function(t,e){e.renderer.globalAnimation=i(t,e.options.chart.animation,!0)},W=t.animObject=function(t){return r(t)?n(t):{duration:t?500:0}},H=t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},q=t.numberFormat=function(e,n,r,o){e=+e||0,n=+n;var a=t.defaultOptions.lang,s=(e.toString().split(".")[1]||"").split("e")[0].length,c=e.toString().split("e");if(-1===n)n=Math.min(s,20);else if(g(n)){if(n&&c[1]&&0>c[1]){var u=n+ +c[1];0<=u?(c[0]=(+c[0]).toExponential(u).split("e")[0],n=u):(c[0]=c[0].split(".")[0]||0,e=20>n?(c[0]*Math.pow(10,c[1])).toFixed(n):0,c[1]=0)}}else n=2;var l=(Math.abs(c[1]?c[0]:e)+Math.pow(10,-Math.max(n,s)-1)).toFixed(n);return u=3<(s=String(d(l))).length?s.length%3:0,r=i(r,a.decimalPoint),o=i(o,a.thousandsSep),e=(0>e?"-":"")+(u?s.substr(0,u)+o:""),e+=s.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),n&&(e+=r+l.slice(-n)),c[1]&&0!=+e&&(e+="e"+c[1]),e};Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var I=t.getStyle=function(n,r,o){return"width"===r?(r=Math.min(n.offsetWidth,n.scrollWidth),(o=n.getBoundingClientRect&&n.getBoundingClientRect().width)<r&&o>=r-1&&(r=Math.floor(o)),Math.max(0,r-t.getStyle(n,"padding-left")-t.getStyle(n,"padding-right"))):"height"===r?Math.max(0,Math.min(n.offsetHeight,n.scrollHeight)-t.getStyle(n,"padding-top")-t.getStyle(n,"padding-bottom")):(u.getComputedStyle||e(27,!0),(n=u.getComputedStyle(n,void 0))&&(n=n.getPropertyValue(r),i(o,"opacity"!==r)&&(n=d(n))),n)},j=t.inArray=function(t,n,r){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,r)},X=t.find=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,r=t.length;for(n=0;n<r;n++)if(e(t[n],n))return t[n]};t.keys=function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)};var F=t.offset=function(t){var e=c.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0}).top+(u.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(u.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},U=t.stop=function(e,n){for(var r=t.timers.length;r--;)t.timers[r].elem!==e||n&&n!==t.timers[r].prop||(t.timers[r].stopped=!0)},V=t.objectEach=function(t,e,n){for(var r in t)Object.hasOwnProperty.call(t,r)&&e.call(n||t[r],t[r],r,t)};V({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,r){t[r]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts."+r]="use Array."+n,o)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var G,$=t.addEvent=function(e,n,r,o){void 0===o&&(o={});var i=e.addEventListener||t.addEventListenerPolyfill,a="function"==typeof e&&e.prototype?e.prototype.protoEvents=e.prototype.protoEvents||{}:e.hcEvents=e.hcEvents||{};return t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0),i&&i.call(e,n,r,!1),a[n]||(a[n]=[]),a[n].push({fn:r,order:"number"==typeof o.order?o.order:1/0}),a[n].sort((function(t,e){return t.order-e.order})),function(){K(e,n,r)}},K=t.removeEvent=function(e,n,r){function o(n,r){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,n,r,!1)}function i(t){var r;if(e.nodeName){if(n){var i={};i[n]=!0}else i=t;V(i,(function(e,n){if(t[n])for(r=t[n].length;r--;)o(n,t[n][r].fn)}))}}var a;["protoEvents","hcEvents"].forEach((function(t,s){var c=(s=s?e:e.prototype)&&s[t];c&&(n?(a=c[n]||[],r?(c[n]=a.filter((function(t){return r!==t.fn})),o(n,r)):(i(c),c[n]=[])):(i(c),s[t]={}))}))},J=t.fireEvent=function(t,e,n,r){var o;if(n=n||{},c.createEvent&&(t.dispatchEvent||t.fireEvent)){var i=c.createEvent("Events");i.initEvent(e,!0,!0),w(i,n),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent(e,i)}else n.target||w(n,{preventDefault:function(){n.defaultPrevented=!0},target:t,type:e}),function(e,r){void 0===e&&(e=[]),void 0===r&&(r=[]);var i=0,a=0,s=e.length+r.length;for(o=0;o<s;o++)!1===(e[i]?r[a]?e[i].order<=r[a].order?e[i++]:r[a++]:e[i++]:r[a++]).fn.call(t,n)&&n.preventDefault()}(t.protoEvents&&t.protoEvents[e],t.hcEvents&&t.hcEvents[e]);r&&!n.defaultPrevented&&r.call(t,n)},Q=t.animate=function(t,e,o){var i,a,s,c="";if(!r(o)){var u=arguments;o={duration:u[2],easing:u[3],complete:u[4]}}g(o.duration)||(o.duration=400),o.easing="function"==typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=n(e),V(e,(function(n,r){U(t,r),s=new l(t,o,r),a=null,"d"===r&&h(e.d)?(s.paths=s.initPath(t,t.pathArray,e.d),s.toD=e.d,i=0,a=1):t.attr?i=t.attr(r):(i=parseFloat(I(t,r))||0,"opacity"!==r&&(c="px")),a||(a=n),a&&a.match&&a.match("px")&&(a=a.replace(/px/g,"")),s.run(i,a,c)}))},Z=t.seriesType=function(e,r,o,i,a){var s=rt(),c=t.seriesTypes;return s.plotOptions[e]=n(s.plotOptions[r],o),c[e]=L(c[r]||function(){},i),c[e].prototype.type=e,a&&(c[e].prototype.pointClass=L(t.Point,a)),c[e]},tt=t.uniqueKey=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(G?"":t)+e++}}(),et=t.useSerialIds=function(t){return G=i(t,G)},nt=t.isFunction=function(t){return"function"==typeof t},rt=t.getOptions=function(){return t.defaultOptions},ot=t.setOptions=function(e){return t.defaultOptions=n(!0,t.defaultOptions,e),(e.time||e.global)&&t.time.update(n(t.defaultOptions.global,t.defaultOptions.time,e.global,e.time)),t.defaultOptions};return u.jQuery&&(u.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[f(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):s[o(this[0],"data-highcharts-chart")]}),{Fx:t.Fx,addEvent:$,animate:Q,animObject:W,arrayMax:N,arrayMin:E,attr:o,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:_,correctFloat:R,createElement:A,css:x,defined:b,destroyObjectProperties:B,discardElement:P,erase:v,error:e,extend:w,extendClass:L,find:X,fireEvent:J,format:O,getMagnitude:C,getNestedProperty:a,getOptions:rt,getStyle:I,inArray:j,isArray:h,isClass:m,isDOMElement:p,isFunction:nt,isNumber:g,isObject:r,isString:f,merge:n,normalizeTickInterval:z,numberFormat:q,objectEach:V,offset:F,pad:T,pick:i,pInt:d,relativeLength:k,removeEvent:K,seriesType:Z,setAnimation:Y,setOptions:ot,splat:y,stableSort:D,stop:U,syncTimeout:M,timeUnits:H,uniqueKey:tt,useSerialIds:et,wrap:S}})),e(n,"parts/Color.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.isNumber,r=e.merge,o=e.pInt;return e=function(){function t(e){if(this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],this.rgba=[],!(this instanceof t))return new t(e);this.init(e)}return t.parse=function(e){return new t(e)},t.prototype.init=function(e){var n,r;if((this.input=e=t.names[e&&e.toLowerCase?e.toLowerCase():""]||e)&&e.stops)this.stops=e.stops.map((function(e){return new t(e[1])}));else{if(e&&e.charAt&&"#"===e.charAt()){var o=e.length;e=parseInt(e.substr(1),16),7===o?n=[(16711680&e)>>16,(65280&e)>>8,255&e,1]:4===o&&(n=[(3840&e)>>4|(3840&e)>>8,(240&e)>>4|240&e,(15&e)<<4|15&e,1])}if(!n)for(r=this.parsers.length;r--&&!n;){var i=this.parsers[r];(o=i.regex.exec(e))&&(n=i.parse(o))}}this.rgba=n||[]},t.prototype.get=function(t){var e=this.input,o=this.rgba;if(void 0!==this.stops){var i=r(e);i.stops=[].concat(i.stops),this.stops.forEach((function(e,n){i.stops[n]=[i.stops[n][0],e.get(t)]}))}else i=o&&n(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?o[3]:"rgba("+o.join(",")+")":e;return i},t.prototype.brighten=function(t){var e,r=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(e=0;3>e;e++)r[e]+=o(255*t),0>r[e]&&(r[e]=0),255<r[e]&&(r[e]=255);return this},t.prototype.setOpacity=function(t){return this.rgba[3]=t,this},t.prototype.tweenTo=function(t,e){var n=this.rgba,r=t.rgba;return r.length&&n&&n.length?e=((t=1!==r[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(r[0]+(n[0]-r[0])*(1-e))+","+Math.round(r[1]+(n[1]-r[1])*(1-e))+","+Math.round(r[2]+(n[2]-r[2])*(1-e))+(t?","+(r[3]+(n[3]-r[3])*(1-e)):"")+")":e=t.input||"none",e},t.names={white:"#ffffff",black:"#000000"},t}(),t.Color=e,t.color=e.parse,t.Color})),e(n,"parts/SVGElement.js",[n["parts/Color.js"],n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e,n){var r=e.deg2rad,o=e.doc,i=e.hasTouch,a=e.isFirefox,s=e.noop,c=e.svg,u=e.SVG_NS,l=e.win,d=n.animate,f=n.animObject,h=n.attr,p=n.createElement,m=n.css,g=n.defined,v=n.erase,b=n.extend,y=n.fireEvent,M=n.isArray,_=n.isFunction,w=n.isNumber,x=n.isString,A=n.merge,L=n.objectEach,T=n.pick,k=n.pInt,S=n.stop,O=n.uniqueKey;return(n=function(){function n(){this.height=this.element=void 0,this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" "),this.width=void 0}return n.prototype._defaultGetter=function(t){return t=T(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},n.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},n.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var r=this.zIndexSetter();return r||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},n.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this},n.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},n.prototype.align=function(t,e,n){var r,o,i,a={},s=this.renderer,c=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||x(n))&&(this.alignTo=r=n||"renderer",v(c,this),c.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,r=this.alignTo),n=T(n,s[r],s),r=t.align,s=t.verticalAlign,c=(n.x||0)+(t.x||0);var u=(n.y||0)+(t.y||0);return"right"===r?o=1:"center"===r&&(o=2),o&&(c+=(n.width-(t.width||0))/o),a[e?"translateX":"x"]=Math.round(c),"bottom"===s?i=1:"middle"===s&&(i=2),i&&(u+=(n.height-(t.height||0))/i),a[e?"translateY":"y"]=Math.round(u),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},n.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},n.prototype.animate=function(t,e,n){var r=f(T(e,this.renderer.globalAnimation,!0));return T(o.hidden,o.msHidden,o.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),d(this,t,r)):(this.attr(t,void 0,n),L(t,(function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1})}),this)),this},n.prototype.applyTextOutline=function(t){var n,r=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(r.style.fill)));var o=(t=t.split(" "))[t.length-1];if((n=t[0])&&"none"!==n&&e.svg){this.fakeTS=!0,t=[].slice.call(r.getElementsByTagName("tspan")),this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*e+n})),this.removeTextOutline(t);var i=!!r.textContent&&/^[\u0591-\u065F\u066A-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(r.textContent),s=r.firstChild;t.forEach((function(t,e){0===e&&(t.setAttribute("x",r.getAttribute("x")),e=r.getAttribute("y"),t.setAttribute("y",e||0),null===e&&r.setAttribute("y",0)),e=t.cloneNode(!0),h(i&&!a?t:e,{class:"highcharts-text-outline",fill:o,stroke:o,"stroke-width":n,"stroke-linejoin":"round"}),r.insertBefore(e,s)})),i&&a&&t[0]&&((t=t[0].cloneNode(!0)).textContent=" ",r.insertBefore(t,s))}},n.prototype.attr=function(t,e,n,r){var o,i,a,s=this.element,c=this,u=this.symbolCustomAttribs;if("string"==typeof t&&void 0!==e){var l=t;(t={})[l]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,s):(L(t,(function(e,n){i=!1,r||S(this,n),this.symbolName&&-1!==u.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),i=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),i||((a=this[n+"Setter"]||this._defaultSetter).call(this,e,n,s),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,a))}),this),this.afterSetters()),n&&n.call(this),c},n.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},n.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),g(t.strokeWidth)&&(t.strokeWidth=e),t},n.prototype.complexColor=function(e,n,r){var o,i,a,s,c,u,l,d,f,h,p,m=this.renderer,v=[];y(this.renderer,"complexColor",{args:arguments},(function(){if(e.radialGradient?i="radialGradient":e.linearGradient&&(i="linearGradient"),i){if(a=e[i],c=m.gradients,u=e.stops,f=r.radialReference,M(a)&&(e[i]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===i&&f&&!g(a.gradientUnits)&&(s=a,a=A(a,m.getRadialAttr(f,s),{gradientUnits:"userSpaceOnUse"})),L(a,(function(t,e){"id"!==e&&v.push(e,t)})),L(u,(function(t){v.push(t)})),v=v.join(","),c[v])h=c[v].attr("id");else{a.id=h=O();var b=c[v]=m.createElement(i).attr(a).add(m.defs);b.radAttr=s,b.stops=[],u.forEach((function(e){0===e[1].indexOf("rgba")?(o=t.parse(e[1]),l=o.get("rgb"),d=o.get("a")):(l=e[1],d=1),e=m.createElement("stop").attr({offset:e[0],"stop-color":l,"stop-opacity":d}).add(b),b.stops.push(e)}))}p="url("+m.url+"#"+h+")",r.setAttribute(n,p),r.gradient=v,e.toString=function(){return p}}}))},n.prototype.css=function(t){var e=this.styles,n={},r=this.element,o="",i=!e,a=["textOutline","textOverflow","width"];if(t&&t.color&&(t.fill=t.color),e&&L(t,(function(t,r){e&&e[r]!==t&&(n[r]=t,i=!0)})),i){if(e&&(t=b(e,n)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===r.nodeName.toLowerCase()&&t.width)var s=this.textWidth=k(t.width);if(this.styles=t,s&&!c&&this.renderer.forExport&&delete t.width,r.namespaceURI===this.SVG_NS){var u=function(t,e){return"-"+e.toLowerCase()};L(t,(function(t,e){-1===a.indexOf(e)&&(o+=e.replace(/([A-Z])/g,u)+":"+t+";")})),o&&h(r,"style",o)}else m(r,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},n.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+k(n[t])*T(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},n.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,r=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0,o=e.ownerSVGElement;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,S(t),t.clipPath&&o){var i=t.clipPath;[].forEach.call(o.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(i.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=i.destroy()}if(t.stops){for(o=0;o<t.stops.length;o++)t.stops[o].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)e=r.parentGroup,t.safeRemoveChild(r.div),delete r.div,r=e;t.alignTo&&v(n.alignedObjects,t),L(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},n.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},n.prototype.destroyTextPath=function(t,e){var n=t.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)n.appendChild(t[0]);n.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},n.prototype.dSetter=function(t,e,n){M(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},n.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:T(t,150),complete:function(){e.attr({y:-9999}).hide()}})},n.prototype.fillSetter=function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},n.prototype.getBBox=function(t,e){var o,i=this.renderer,a=this.element,s=this.styles,c=this.textStr,u=i.cache,l=i.cacheKeys,d=a.namespaceURI===this.SVG_NS;e=T(e,this.rotation,0);var f=i.styledMode?a&&n.prototype.getStyle.call(a,"font-size"):s&&s.fontSize;if(g(c)){var h=c.toString();-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",e,f,this.textWidth,s&&s.textOverflow,s&&s.fontWeight].join()}if(h&&!t&&(o=u[h]),!o){if(d||i.forExport){try{var p=this.fakeTS&&function(t){[].forEach.call(a.querySelectorAll(".highcharts-text-outline"),(function(e){e.style.display=t}))};_(p)&&p("none"),o=a.getBBox?b({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight},_(p)&&p("")}catch(t){}(!o||0>o.width)&&(o={width:0,height:0})}else o=this.htmlGetBBox();if(i.isSVG&&(t=o.width,i=o.height,d&&(o.height=i={"11px,17":14,"13px,20":16}[s&&s.fontSize+","+Math.round(i)]||i),e&&(s=e*r,o.width=Math.abs(i*Math.sin(s))+Math.abs(t*Math.cos(s)),o.height=Math.abs(i*Math.cos(s))+Math.abs(t*Math.sin(s)))),h&&0<o.height){for(;250<l.length;)delete u[l.shift()];u[h]||l.push(h),u[h]=o}}return o},n.prototype.getStyle=function(t){return l.getComputedStyle(this.element||this,"").getPropertyValue(t)},n.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},n.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},n.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},n.prototype.init=function(t,e){this.element="span"===e?p(e):o.createElementNS(this.SVG_NS,e),this.renderer=t,y(this,"afterInit")},n.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},n.prototype.on=function(t,e){var n,r,o,a=this.element;return i&&"click"===t?(a.ontouchstart=function(t){n=t.touches[0].clientX,r=t.touches[0].clientY},a.ontouchend=function(t){n&&4<=Math.sqrt(Math.pow(n-t.changedTouches[0].clientX,2)+Math.pow(r-t.changedTouches[0].clientY,2))||e.call(a,t),o=!0,t.preventDefault()},a.onclick=function(t){o||e.call(a,t)}):a["on"+t]=e,this},n.prototype.opacitySetter=function(t,e,n){this[e]=t,n.setAttribute(e,t)},n.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(x(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},n.prototype.removeTextOutline=function(t){for(var e,n=t.length;n--;)"highcharts-text-outline"===(e=t[n]).getAttribute("class")&&v(t,this.element.removeChild(e))},n.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},n.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},n.prototype.setTextPath=function(t,e){var n=this.element,r={textAnchor:"text-anchor"},o=!1,i=this.textPathWrapper,a=!i,c=(e=A(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e)).attributes;if(t&&e&&e.enabled){i&&null===i.element.parentNode?(a=!0,i=i.destroy()):i&&this.removeTextOutline.call(i.parentGroup,[].slice.call(n.getElementsByTagName("tspan"))),this.options&&this.options.padding&&(c.dx=-this.options.padding),i||(this.textPathWrapper=i=this.renderer.createElement("textPath"),o=!0);var u=i.element;if((e=t.element.getAttribute("id"))||t.element.setAttribute("id",e=O()),a)for(t=n.getElementsByTagName("tspan");t.length;)t[0].setAttribute("y",0),w(c.dx)&&t[0].setAttribute("x",-c.dx),u.appendChild(t[0]);o&&i&&i.add({element:this.text?this.text.element:n}),u.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+e),g(c.dy)&&(u.parentNode.setAttribute("dy",c.dy),delete c.dy),g(c.dx)&&(u.parentNode.setAttribute("dx",c.dx),delete c.dx),L(c,(function(t,e){u.setAttribute(r[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(i,[].slice.call(n.getElementsByTagName("tspan"))),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=s}else i&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},n.prototype.shadow=function(t,e,n){var r,o=[],i=this.element,a=!1,s=this.oldShadowOptions,c={color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:3};if(!0===t?r=c:"object"==typeof t&&(r=b(c,t)),r&&(r&&s&&L(r,(function(t,e){t!==s[e]&&(a=!0)})),a&&this.destroyShadows(),this.oldShadowOptions=r),r){if(!this.shadows){var u=r.opacity/r.width,l=this.parentInverted?"translate(-1,-1)":"translate("+r.offsetX+", "+r.offsetY+")";for(c=1;c<=r.width;c++){var d=i.cloneNode(!1),f=2*r.width+1-2*c;h(d,{stroke:t.color||"#000000","stroke-opacity":u*c,"stroke-width":f,transform:l,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),n&&(h(d,"height",Math.max(h(d,"height")-f,0)),d.cutHeight=f),e?e.element.appendChild(d):i.parentNode&&i.parentNode.insertBefore(d,i),o.push(d)}this.shadows=o}}else this.destroyShadows();return this},n.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},n.prototype.strokeSetter=function(t,e,r){this[e]=t,this.stroke&&this["stroke-width"]?(n.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===e&&0===t&&this.hasStroke?(r.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},n.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=k(t);else if(""!==t){var n=o.createElementNS(u,"rect");h(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},n.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=T(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},n.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},n.prototype.titleSetter=function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=o.createElementNS(this.SVG_NS,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(o.createTextNode(String(T(t,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")))},n.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},n.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},n.prototype.updateShadows=function(t,e,n){var r=this.shadows;if(r)for(var o=r.length;o--;)n.call(r[o],"height"===t?Math.max(e-(r[o].cutHeight||0),0):"d"===t?this.d:e,t,r[o])},n.prototype.updateTransform=function(){var t=this.translateX||0,e=this.translateY||0,n=this.scaleX,r=this.scaleY,o=this.inverted,i=this.rotation,a=this.matrix,s=this.element;o&&(t+=this.width,e+=this.height),t=["translate("+t+","+e+")"],g(a)&&t.push("matrix("+a.join(",")+")"),o?t.push("rotate(90) scale(-1,1)"):i&&t.push("rotate("+i+" "+T(this.rotationOriginX,s.getAttribute("x"),0)+" "+T(this.rotationOriginY,s.getAttribute("y")||0)+")"),(g(n)||g(r))&&t.push("scale("+T(n,1)+" "+T(r,1)+")"),t.length&&s.setAttribute("transform",t.join(" "))},n.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},n.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},n.prototype.zIndexSetter=function(t,e){var n=this.renderer,r=this.parentGroup,o=(r||n).element||n.box,i=this.element,a=!1;n=o===n.box;var s,c=this.added;if(g(t)?(i.setAttribute("data-z-index",t),t=+t,this[e]===t&&(c=!1)):g(this[e])&&i.removeAttribute("data-z-index"),this[e]=t,c){for((t=this.zIndex)&&r&&(r.handleZ=!0),s=(e=o.childNodes).length-1;0<=s&&!a;s--){c=(r=e[s]).getAttribute("data-z-index");var u=!g(c);r!==i&&(0>t&&u&&!n&&!s?(o.insertBefore(i,e[s]),a=!0):(k(c)<=t||u&&(!g(t)||0<=t))&&(o.insertBefore(i,e[s+1]||null),a=!0))}a||(o.insertBefore(i,e[n?3:0]||null),a=!0)}return a},n}()).prototype["stroke-widthSetter"]=n.prototype.strokeSetter,n.prototype.yGetter=n.prototype.xGetter,n.prototype.matrixSetter=n.prototype.rotationOriginXSetter=n.prototype.rotationOriginYSetter=n.prototype.rotationSetter=n.prototype.scaleXSetter=n.prototype.scaleYSetter=n.prototype.translateXSetter=n.prototype.translateYSetter=n.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},e.SVGElement=n,e.SVGElement})),e(n,"parts/SVGLabel.js",[n["parts/SVGElement.js"],n["parts/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.defined,o=e.extend,i=e.isNumber,a=e.merge,s=e.removeEvent;return function(e){function c(t,n,r,o,i,a,s,u,l,d){var f=e.call(this)||this;if(f.init(t,"g"),f.textStr=n,f.x=r,f.y=o,f.anchorX=a,f.anchorY=s,f.baseline=l,f.className=d,"button"!==d&&f.addClass("highcharts-label"),d&&f.addClass("highcharts-"+d),f.text=t.text("",0,0,u).attr({zIndex:1}),"string"==typeof i){var h=/^url\((.*?)\)$/.test(i);(f.renderer.symbols[i]||h)&&(f.symbolKey=i)}return f.bBox=c.emptyBBox,f.padding=3,f.paddingLeft=0,f.baselineOffset=0,f.needsBox=t.styledMode||h,f.deferredAttr={},f.alignFactor=0,f}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach((function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n);var r="fontSize"in n||"fontWeight"in n;("width"in n||r)&&(this.updateBoxSize(),r&&this.updateTextPadding())}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){s(this.element,"mouseenter"),s(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){var t=this.bBox,e=this.padding;return{width:t.width+2*e,height:t.height+2*e,x:t.x-e,y:t.y-e}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.on=function(e,n){var r=this,o=r.text,i=o&&"SPAN"===o.element.tagName?o:void 0;if(i){var a=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(r.element.contains(t.relatedTarget)||i.element.contains(t.relatedTarget))||n.call(r.element,t)};i.on(e,a)}return t.prototype.on.call(r,e,a||n),r},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t){r(t)&&t!==this.padding&&(this.padding=t,this.updateTextPadding())},c.prototype.paddingLeftSetter=function(t){r(t)&&t!==this.paddingLeft&&(this.paddingLeft=t,this.updateTextPadding())},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateBoxSize(),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.paddingLeft,s=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!r(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=(this.widthSetting||s.width||0)+2*n+a,this.height=(this.heightSetting||s.height||0)+2*n,this.baselineOffset=n+Math.min(this.renderer.fontMetrics(t&&t.fontSize,this.text).b,s.height||1/0),this.needsBox&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t),e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={}),this.bBox=s},c.prototype.updateTextPadding=function(){var t=this.text,e=this.baseline?0:this.baselineOffset,n=this.paddingLeft+this.padding;r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0),this.updateBoxSize()),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=i(t)?t:void 0},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*((this.widthSetting||this.bBox.width)+2*this.padding),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color cursor direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(n,"parts/SVGRenderer.js",[n["parts/Color.js"],n["parts/Globals.js"],n["parts/SVGElement.js"],n["parts/SVGLabel.js"],n["parts/Utilities.js"]],(function(t,e,n,r,o){var i=o.addEvent,a=o.attr,s=o.createElement,c=o.css,u=o.defined,l=o.destroyObjectProperties,d=o.extend,f=o.isArray,h=o.isNumber,p=o.isObject,m=o.isString,g=o.merge,v=o.objectEach,b=o.pick,y=o.pInt,M=o.splat,_=o.uniqueKey,w=e.charts,x=e.deg2rad,A=e.doc,L=e.isFirefox,T=e.isMS,k=e.isWebKit;o=e.noop;var S=e.svg,O=e.SVG_NS,C=e.symbolSizes,z=e.win,D=function(){function e(t,e,n,r,o,i,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,r,o,i,a)}return e.prototype.init=function(t,e,n,r,o,s,u){var l,d=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});u||d.css(this.getStyle(r)),r=d.element,t.appendChild(r),a(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&a(r,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=r,this.boxWrapper=d,this.alignedObjects=[],this.url=(L||k)&&A.getElementsByTagName("base").length?z.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(A.createTextNode("Created with Highcharts 8.1.2")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=o,this.styledMode=u,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),L&&t.getBoundingClientRect&&((e=function(){c(t,{left:0,top:0}),l=t.getBoundingClientRect(),c(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=i(z,"resize",e))},e.prototype.definition=function(t){var e=this;return function t(n,r){var o;return M(n).forEach((function(n){var i=e.createElement(n.tagName),a={};v(n,(function(t,e){"tagName"!==e&&"children"!==e&&"textContent"!==e&&(a[e]=t)})),i.attr(a),i.add(r||e.defs),n.textContent&&i.element.appendChild(A.createTextNode(n.textContent)),t(n.children||[],i),o=i})),o}(t)},e.prototype.getStyle=function(t){return this.style=d({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},e.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),l(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},e.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},e.prototype.truncate=function(t,e,n,r,o,i,a){var s,c,u=this,l=t.rotation,d=r?1:0,f=(n||r).length,h=f,p=[],m=function(t){e.firstChild&&e.removeChild(e.firstChild),t&&e.appendChild(A.createTextNode(t))},g=function(i,s){if(void 0===p[s=s||i])if(e.getSubStringLength)try{p[s]=o+e.getSubStringLength(0,r?s+1:s)}catch(t){}else u.getSpanWidth&&(m(a(n||r,i)),p[s]=o+u.getSpanWidth(t,e));return p[s]};t.rotation=0;var v=g(e.textContent.length);if(c=o+v>i){for(;d<=f;)h=Math.ceil((d+f)/2),r&&(s=a(r,h)),v=g(h,s&&s.length-1),d===f?d=f+1:v>i?f=h-1:d=h;0===f?m(""):n&&f===n.length-1||m(s||a(n||r,h))}return r&&r.splice(0,h),t.actualWidth=v,t.rotation=l,c},e.prototype.buildText=function(t){var e,n,r=t.element,o=this,i=o.forExport,s=b(t.textStr,"").toString(),u=-1!==s.indexOf("<"),l=r.childNodes,d=a(r,"x"),f=t.styles,h=t.textWidth,p=f&&f.lineHeight,g=f&&f.textOutline,M=f&&"ellipsis"===f.textOverflow,_=f&&"nowrap"===f.whiteSpace,w=f&&f.fontSize,x=l.length;f=h&&!t.added&&this.box;var L=function(t){var e;return o.styledMode||(e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:w||o.style.fontSize||12),p?y(p):o.fontMetrics(e,t.getAttribute("style")?t:r).h},T=function(t,e){return v(o.escapes,(function(n,r){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),r))})),t},k=function(t,e){var n=t.indexOf("<");if(-1!==(n=(t=t.substring(n,t.indexOf(">")-n)).indexOf(e+"="))&&(n=n+e.length+1,'"'===(e=t.charAt(n))||"'"===e))return(t=t.substring(n+1)).substring(0,t.indexOf(e))},C=/<br.*?>/g,z=[s,M,_,p,g,w,h].join();if(z!==t.textCache){for(t.textCache=z;x--;)r.removeChild(l[x]);u||g||M||h||-1!==s.indexOf(" ")&&(!_||C.test(s))?(f&&f.appendChild(r),u?s=(s=o.styledMode?s.replace(/<(b|strong)>/g,'<span class="highcharts-strong">').replace(/<(i|em)>/g,'<span class="highcharts-emphasized">'):s.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">')).replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(C):s=[s],(s=s.filter((function(t){return""!==t}))).forEach((function(s,u){var l=0,f=0,p=(s=s.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||")).split("|||");p.forEach((function(s){if(""!==s||1===p.length){var m,g,v={},b=A.createElementNS(o.SVG_NS,"tspan");if((m=k(s,"class"))&&a(b,"class",m),(m=k(s,"style"))&&(m=m.replace(/(;| |^)color([ :])/,"$1fill$2"),a(b,"style",m)),(g=k(s,"href"))&&!i&&-1===g.split(":")[0].toLowerCase().indexOf("javascript")){var y=A.createElementNS(o.SVG_NS,"a");a(y,"href",g),a(b,"class","highcharts-anchor"),y.appendChild(b),o.styledMode||c(b,{cursor:"pointer"})}if(" "!==(s=T(s.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(b.appendChild(A.createTextNode(s)),l?v.dx=0:u&&null!==d&&(v.x=d),a(b,v),r.appendChild(y||b),!l&&n&&(!S&&i&&c(b,{display:"block"}),a(b,"dy",L(b))),h){var x=s.replace(/([^\^])-/g,"$1- ").split(" ");if(v=!_&&(1<p.length||u||1<x.length),y=0,g=L(b),M)e=o.truncate(t,b,s,void 0,0,Math.max(0,h-parseInt(w||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(v)for(;x.length;)x.length&&!_&&0<y&&(b=A.createElementNS(O,"tspan"),a(b,{dy:g,x:d}),m&&a(b,"style",m),b.appendChild(A.createTextNode(x.join(" ").replace(/- /g,"-"))),r.appendChild(b)),o.truncate(t,b,null,x,0===y?f:0,h,(function(t,e){return x.slice(0,e).join(" ").replace(/- /g,"-")})),f=t.actualWidth,y++}l++}}})),n=n||r.childNodes.length})),M&&e&&t.attr("title",T(t.textStr||"",["<",">"])),f&&f.removeChild(r),m(g)&&t.applyTextOutline&&t.applyTextOutline(g)):r.appendChild(A.createTextNode(T(s)))}},e.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},e.prototype.button=function(t,e,n,r,o,a,s,c,u,l){var f=this.label(t,e,n,u,void 0,void 0,l,void 0,"button"),h=0,p=this.styledMode;if(t=o&&o.style||{},o&&o.style&&delete o.style,f.attr(g({padding:8,r:2},o)),!p){var m=(o=g({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:t},o)).style;delete o.style;var v=(a=g(o,{fill:"#e6e6e6"},a)).style;delete a.style;var b=(s=g(o,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},s)).style;delete s.style;var y=(c=g(o,{style:{color:"#cccccc"}},c)).style;delete c.style}return i(f.element,T?"mouseover":"mouseenter",(function(){3!==h&&f.setState(1)})),i(f.element,T?"mouseout":"mouseleave",(function(){3!==h&&f.setState(h)})),f.setState=function(t){1!==t&&(f.state=h=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),p||f.attr([o,a,s,c][t||0]).css([m,v,b,y][t||0])},p||f.attr(o).css(d({cursor:"default"},m)),f.on("click",(function(t){3!==h&&r.call(f,t)}))},e.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var r=t[0],o=t[1];return r[1]===o[1]&&(r[1]=o[1]=Math[n](r[1])-e%2/2),r[2]===o[2]&&(r[2]=o[2]=Math[n](r[2])+e%2/2),t},e.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return f(t)?e.d=t:p(t)&&d(e,t),this.createElement("path").attr(e)},e.prototype.circle=function(t,e,n){return t=p(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},e.prototype.arc=function(t,e,n,r,o,i){return p(t)?(e=(r=t).y,n=r.r,t=r.x):r={innerR:r,start:o,end:i},(t=this.symbol("arc",t,e,n,n,r)).r=n,t},e.prototype.rect=function(t,e,n,r,o,i){o=p(t)?t.r:o;var s=this.createElement("rect");return t=p(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(r,0)},this.styledMode||(void 0!==i&&(t.strokeWidth=i,t=s.crisp(t)),t.fill="none"),o&&(t.r=o),s.rSetter=function(t,e,n){s.r=t,a(n,{rx:t,ry:t})},s.rGetter=function(){return s.r},s.attr(t)},e.prototype.setSize=function(t,e,n){var r=this.alignedObjects,o=r.length;for(this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:b(n,!0)?void 0:0});o--;)r[o].align()},e.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},e.prototype.image=function(t,e,n,r,o,a){var s={preserveAspectRatio:"none"},c=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},u=function(e){c(l.element,t),a.call(l,e)};1<arguments.length&&d(s,{x:e,y:n,width:r,height:o});var l=this.createElement("image").attr(s);return a?(c(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),s=new z.Image,i(s,"load",u),s.src=t,s.complete&&u({})):c(l.element,t),l},e.prototype.symbol=function(t,e,n,r,o,i){var a,l=this,f=/^url\((.*?)\)$/,h=f.test(t),p=!h&&(this.symbols[t]?t:"circle"),m=p&&this.symbols[p];if(m){"number"==typeof e&&(a=m.call(this.symbols,Math.round(e||0),Math.round(n||0),r||0,o||0,i));var g=this.path(a);l.styledMode||g.attr("fill","none"),d(g,{symbolName:p,x:e,y:n,width:r,height:o}),i&&d(g,i)}else if(h){var v=t.match(f)[1];(g=this.image(v)).imgwidth=b(C[v]&&C[v].width,i&&i.width),g.imgheight=b(C[v]&&C[v].height,i&&i.height);var y=function(){g.attr({width:g.width,height:g.height})};["width","height"].forEach((function(t){g[t+"Setter"]=function(t,e){var n={},r=this["img"+e],o="width"===e?"translateX":"translateY";this[e]=t,u(r)&&(i&&"within"===i.backgroundSize&&this.width&&this.height&&(r=Math.round(r*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,r),this.alignByTranslate||(n[o]=((this[e]||0)-r)/2,this.attr(n)))}})),u(e)&&g.attr({x:e,y:n}),g.isImg=!0,u(g.imgwidth)&&u(g.imgheight)?y():(g.attr({width:0,height:0}),s("img",{onload:function(){var t=w[l.chartIndex];0===this.width&&(c(this,{position:"absolute",top:"-999em"}),A.body.appendChild(this)),C[v]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&y(),this.parentNode&&this.parentNode.removeChild(this),l.imgCount--,l.imgCount||!t||t.hasLoaded||t.onload()},src:v}),this.imgCount++)}return g},e.prototype.clipRect=function(t,e,n,r){var o=_()+"-",i=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,n,r,0).add(i)).id=o,t.clipPath=i,t.count=0,t},e.prototype.text=function(t,e,n,r){var o={};return!r||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),n&&(o.y=Math.round(n)),u(t)&&(o.text=t),t=this.createElement("text").attr(o),r||(t.xSetter=function(t,e,n){var r,o=n.getElementsByTagName("tspan"),i=n.getAttribute(e);for(r=0;r<o.length;r++){var a=o[r];a.getAttribute(e)===i&&a.setAttribute(e,t)}n.setAttribute(e,t)}),t):this.html(t,e,n)},e.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!z.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&n.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?y(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},e.prototype.rotCorr=function(t,e,n){var r=t;return e&&n&&(r=Math.max(r*Math.cos(e*x),4)),{x:-t/3*Math.sin(e*x),y:r}},e.prototype.pathToSegments=function(t){for(var e=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)m(n[0])&&h(t[o])&&n.length===r[n[0].toUpperCase()]&&t.splice(o,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[o]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[o]);return e.push(n.slice(0)),e},e.prototype.label=function(t,e,n,o,i,a,s,c,u){return new r(this,t,e,n,o,i,a,s,c,u)},e}();return D.prototype.Element=n,D.prototype.SVG_NS=O,D.prototype.draw=o,D.prototype.escapes={"&":"&","<":"<",">":">","'":"'",'"':"""},D.prototype.symbols={circle:function(t,e,n,r){return this.arc(t+n/2,e+r/2,n/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(t,e,n,r){return[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]},triangle:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r],["L",t,e+r],["Z"]]},"triangle-down":function(t,e,n,r){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+r],["Z"]]},diamond:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r/2],["L",t+n/2,e+r],["L",t,e+r/2],["Z"]]},arc:function(t,e,n,r,o){var i=[];if(o){var a=o.start||0,s=o.end||0,c=o.r||n;n=o.r||r||n;var l=.001>Math.abs(s-a-2*Math.PI);s-=.001,r=o.innerR,l=b(o.open,l);var d=Math.cos(a),f=Math.sin(a),h=Math.cos(s),p=Math.sin(s);a=b(o.longArc,.001>s-a-Math.PI?0:1),i.push(["M",t+c*d,e+n*f],["A",c,n,0,a,b(o.clockwise,1),t+c*h,e+n*p]),u(r)&&i.push(l?["M",t+r*h,e+r*p]:["L",t+r*h,e+r*p],["A",r,r,0,a,u(o.clockwise)?1-o.clockwise:0,t+r*d,e+r*f]),l||i.push(["Z"])}return i},callout:function(t,e,n,r,o){var i=Math.min(o&&o.r||0,n,r),a=i+6,s=o&&o.anchorX||0;o=o&&o.anchorY||0;var c=[["M",t+i,e],["L",t+n-i,e],["C",t+n,e,t+n,e,t+n,e+i],["L",t+n,e+r-i],["C",t+n,e+r,t+n,e+r,t+n-i,e+r],["L",t+i,e+r],["C",t,e+r,t,e+r,t,e+r-i],["L",t,e+i],["C",t,e,t,e,t+i,e]];return s&&s>n?o>e+a&&o<e+r-a?c.splice(3,1,["L",t+n,o-6],["L",t+n+6,o],["L",t+n,o+6],["L",t+n,e+r-i]):c.splice(3,1,["L",t+n,r/2],["L",s,o],["L",t+n,r/2],["L",t+n,e+r-i]):s&&0>s?o>e+a&&o<e+r-a?c.splice(7,1,["L",t,o+6],["L",t-6,o],["L",t,o-6],["L",t,e+i]):c.splice(7,1,["L",t,r/2],["L",s,o],["L",t,r/2],["L",t,e+i]):o&&o>r&&s>t+a&&s<t+n-a?c.splice(5,1,["L",s+6,e+r],["L",s,e+r+6],["L",s-6,e+r],["L",t+i,e+r]):o&&0>o&&s>t+a&&s<t+n-a&&c.splice(1,1,["L",s-6,e],["L",s,e-6],["L",s+6,e],["L",n-i,e]),c}},e.SVGRenderer=D,e.Renderer=e.SVGRenderer,e.Renderer})),e(n,"parts/Html.js",[n["parts/Globals.js"],n["parts/SVGElement.js"],n["parts/SVGRenderer.js"],n["parts/Utilities.js"]],(function(t,e,n,r){var o=r.attr,i=r.createElement,a=r.css,s=r.defined,c=r.extend,u=r.pick,l=r.pInt,d=t.isFirefox,f=t.isMS,h=t.isWebKit,p=t.win;c(e.prototype,{htmlCss:function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=u(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var r=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),a(this.element,t),r&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,r=this.translateY||0,o=this.x||0,i=this.y||0,c=this.textAlign||"left",u={left:0,center:.5,right:1}[c],d=this.styles,f=d&&d.whiteSpace;if(a(e,{marginLeft:n,marginTop:r}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){a(t,{marginLeft:n+1,marginTop:r+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){d=this.rotation;var h,p=this.textWidth&&l(this.textWidth),m=[d,c,e.innerHTML,this.textWidth,this.textAlign].join();(h=p!==this.oldTextWidth)&&!(h=p>this.oldTextWidth)&&((h=this.textPxLength)||(a(e,{width:"",whiteSpace:f||"nowrap"}),h=e.offsetWidth),h=h>p),h&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(a(e,{width:p+"px",display:"block",whiteSpace:f||"normal"}),this.oldTextWidth=p,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,m!==this.cTT&&(f=t.fontMetrics(e.style.fontSize,e).b,!s(d)||d===(this.oldRotation||0)&&c===this.oldAlign||this.setSpanRotation(d,u,f),this.getSpanCorrection(!s(d)&&this.textPxLength||e.offsetWidth,f,u,d,c)),a(e,{left:o+(this.xCorr||0)+"px",top:i+(this.yCorr||0)+"px"}),this.cTT=m,this.oldRotation=d,this.oldAlign=c}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var r={},o=this.renderer.getTransformKey();r[o]=r.transform="rotate("+t+"deg)",r[o+(d?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+n+"px",a(this.element,r)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),c(n.prototype,{getTransformKey:function(){return f&&!/Edge/.test(p.navigator.userAgent)?"-ms-transform":h?"-webkit-transform":d?"MozTransform":p.opera?"-o-transform":""},html:function(t,n,r){var a=this.createElement("span"),s=a.element,l=a.renderer,d=l.isSVG,f=function(t,n){["opacity","visibility"].forEach((function(r){t[r+"Setter"]=function(o,i,a){var s=t.div?t.div.style:n;e.prototype[r+"Setter"].call(this,o,i,a),s&&(s[i]=o)}})),t.addedSetters=!0};return a.textSetter=function(t){t!==s.innerHTML&&(delete this.bBox,delete this.oldTextWidth),this.textStr=t,s.innerHTML=u(t,""),a.doTransform=!0},d&&f(a,a.element.style),a.xSetter=a.ySetter=a.alignSetter=a.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),a[e]=t,a.doTransform=!0},a.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},a.attr({text:t,x:Math.round(n),y:Math.round(r)}).css({position:"absolute"}),l.styledMode||a.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),s.style.whiteSpace="nowrap",a.css=a.htmlCss,d&&(a.add=function(t){var e=l.box.parentNode,n=[];if(this.parentGroup=t){var r=t.div;if(!r){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function s(e,n){t[n]=e,"translateX"===n?l.left=e+"px":l.top=e+"px",t.doTransform=!0}var u=o(t.element,"class"),l=(r=t.div=t.div||i("div",u?{className:u}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},r||e)).style;c(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(r),on:function(){return n[0].div&&a.on.apply({element:n[0].div},arguments),t},translateXSetter:s,translateYSetter:s}),t.addedSetters||f(t)}))}}else r=e;return r.appendChild(s),a.added=!0,a.alignOnAdd&&a.htmlUpdateTransform(),a}),a}})})),e(n,"parts/Tick.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.clamp,r=e.correctFloat,o=e.defined,i=e.destroyObjectProperties,a=e.extend,s=e.fireEvent,c=e.isNumber,u=e.merge,l=e.objectEach,d=e.pick,f=t.deg2rad;return e=function(){function t(t,e,n,r,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,s(this,"init"),n||r||this.addLabel()}return t.prototype.addLabel=function(){var t=this,e=t.axis,n=e.options,i=e.chart,s=e.categories,c=e.logarithmic,u=e.names,l=t.pos,f=d(t.options&&t.options.labels,n.labels),h=e.tickPositions,p=l===h[0],m=l===h[h.length-1];u=this.parameters.category||(s?d(s[l],u[l],l):l);var g,v,b=t.label;if(s=(!f.step||1===f.step)&&1===e.tickInterval,h=h.info,e.dateTime&&h)var y=i.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&h.higherRanks[l]||h.unitName]),M=y.main;t.isFirst=p,t.isLast=m,t.formatCtx={axis:e,chart:i,isFirst:p,isLast:m,dateTimeLabelFormat:M,tickPositionInfo:h,value:c?r(c.lin2log(u)):u,pos:l},n=e.labelFormatter.call(t.formatCtx,this.formatCtx),(v=y&&y.list)&&(t.shortenLabel=function(){for(g=0;g<v.length;g++)if(b.attr({text:e.labelFormatter.call(a(t.formatCtx,{dateTimeLabelFormat:v[g]}))}),b.getBBox().width<e.getSlotWidth(t)-2*d(f.padding,5))return;b.attr({text:""})}),s&&e._addedPlotLB&&e.isXAxis&&t.moveLabel(n,f),o(b)||t.movedLabel?b&&b.textStr!==n&&!s&&(!b.textWidth||f.style&&f.style.width||b.styles.width||b.css({width:null}),b.attr({text:n}),b.textPxLength=b.getBBox().width):(t.label=b=t.createLabel({x:0,y:0},n,f),t.rotation=0)},t.prototype.createLabel=function(t,e,n){var r=this.axis,i=r.chart;return(t=o(e)&&n.enabled?i.renderer.text(e,t.x,t.y,n.useHTML).add(r.labelGroup):null)&&(i.styledMode||t.css(u(n.style)),t.textPxLength=t.getBBox().width),t},t.prototype.destroy=function(){i(this,this.axis)},t.prototype.getPosition=function(t,e,o,i){var a=this.axis,c=a.chart,u=i&&c.oldChartHeight||c.chartHeight;return(t={x:t?r(a.translate(e+o,null,null,i)+a.transB):a.left+a.offset+(a.opposite?(i&&c.oldChartWidth||c.chartWidth)-a.right-a.left:0),y:t?u-a.bottom+a.offset-(a.opposite?a.height:0):r(u-a.translate(e+o,null,null,i)-a.transB)}).y=n(t.y,-1e5,1e5),s(this,"afterGetPosition",{pos:t}),t},t.prototype.getLabelPosition=function(t,e,n,r,i,a,c,u){var l=this.axis,d=l.transA,h=l.isLinked&&l.linkedParent?l.linkedParent.reversed:l.reversed,p=l.staggerLines,m=l.tickRotCorr||{x:0,y:0},g=i.y,v=r||l.reserveSpaceDefault?0:-l.labelOffset*("center"===l.labelAlign?.5:1),b={};return o(g)||(g=0===l.side?n.rotation?-8:-n.getBBox().height:2===l.side?m.y+8:Math.cos(n.rotation*f)*(m.y-n.getBBox(!1,0).height/2)),t=t+i.x+v+m.x-(a&&r?a*d*(h?-1:1):0),e=e+g-(a&&!r?a*d*(h?1:-1):0),p&&(n=c/(u||1)%p,l.opposite&&(n=p-n-1),e+=l.labelOffset/p*n),b.x=t,b.y=Math.round(e),s(this,"afterGetLabelPosition",{pos:b,tickmarkOffset:a,index:c}),b},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(t,e,n,r,o,i){return i.crispLine([["M",t,e],["L",t+(o?0:-n),e+(o?n:0)]],r)},t.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,r=t.x,o=e.chart.chartWidth,i=e.chart.spacing,a=d(e.labelLeft,Math.min(e.pos,i[3]));i=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-i[1]));var s,c=this.label,u=this.rotation,l={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],h=c.getBBox().width,p=e.getSlotWidth(this),m=p,g=1,v={};u||"justify"!==d(n.overflow,"justify")?0>u&&r-l*h<a?s=Math.round(r/Math.cos(u*f)-a):0<u&&r+l*h>i&&(s=Math.round((o-r)/Math.cos(u*f))):(o=r+(1-l)*h,r-l*h<a?m=t.x+m*(1-l)-a:o>i&&(m=i-t.x+m*l,g=-1),(m=Math.min(p,m))<p&&"center"===e.labelAlign&&(t.x+=g*(p-m-l*(p-Math.min(h,m)))),(h>m||e.autoRotation&&(c.styles||{}).width)&&(s=m)),s&&(this.shortenLabel?this.shortenLabel():(v.width=Math.floor(s)+"px",(n.style||{}).textOverflow||(v.textOverflow="ellipsis"),c.css(v)))},t.prototype.moveLabel=function(t,e){var n=this,r=n.label,o=!1,i=n.axis,a=i.reversed,s=i.chart.inverted;if(r&&r.textStr===t?(n.movedLabel=r,o=!0,delete n.label):l(i.ticks,(function(e){o||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,o=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!o&&(n.labelPos||r)){var c=n.labelPos||r.xy;r=s?c.x:a?0:i.width+i.left,i=s?a?i.width+i.left:0:c.y,n.movedLabel=n.createLabel({x:r,y:i},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},t.prototype.render=function(t,e,n){var r=this.axis,o=r.horiz,i=this.pos,a=d(this.tickmarkOffset,r.tickmarkOffset);a=(i=this.getPosition(o,i,a,e)).x;var c=i.y;r=o&&a===r.pos+r.len||!o&&c===r.pos?-1:1,n=d(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(i,n,r),this.renderLabel(i,e,n,t),this.isNew=!1,s(this,"afterRender")},t.prototype.renderGridLine=function(t,e,n){var r=this.axis,o=r.options,i=this.gridLine,a={},s=this.pos,c=this.type,u=d(this.tickmarkOffset,r.tickmarkOffset),l=r.chart.renderer,f=c?c+"Grid":"grid",h=o[f+"LineWidth"],p=o[f+"LineColor"];o=o[f+"LineDashStyle"],i||(r.chart.styledMode||(a.stroke=p,a["stroke-width"]=h,o&&(a.dashstyle=o)),c||(a.zIndex=1),t&&(e=0),this.gridLine=i=l.path().attr(a).addClass("highcharts-"+(c?c+"-":"")+"grid-line").add(r.gridGroup)),i&&(n=r.getPlotLinePath({value:s+u,lineWidth:i.strokeWidth()*n,force:"pass",old:t}))&&i[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},t.prototype.renderMark=function(t,e,n){var r=this.axis,o=r.options,i=r.chart.renderer,a=this.type,s=a?a+"Tick":"tick",c=r.tickSize(s),u=this.mark,l=!u,f=t.x;t=t.y;var h=d(o[s+"Width"],!a&&r.isXAxis?1:0);o=o[s+"Color"],c&&(r.opposite&&(c[0]=-c[0]),l&&(this.mark=u=i.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:o,"stroke-width":h})),u[l?"attr":"animate"]({d:this.getMarkPath(f,t,c[0],u.strokeWidth()*n,r.horiz,i),opacity:e}))},t.prototype.renderLabel=function(t,e,n,r){var o=this.axis,i=o.horiz,a=o.options,s=this.label,u=a.labels,l=u.step;o=d(this.tickmarkOffset,o.tickmarkOffset);var f=!0,h=t.x;t=t.y,s&&c(h)&&(s.xy=t=this.getLabelPosition(h,t,s,i,u,o,r,l),this.isFirst&&!this.isLast&&!d(a.showFirstLabel,1)||this.isLast&&!this.isFirst&&!d(a.showLastLabel,1)?f=!1:!i||u.step||u.rotation||e||0===n||this.handleOverflow(t),l&&r%l&&(f=!1),f&&c(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed,r=this.axis.chart.inverted;if(t&&!this.isNew){var o=r?t.xy.x:n?e.left:e.width+e.left;n=r?n?e.width+e.top:e.top:t.xy.y,t.animate({x:o,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}(),t.Tick=e,t.Tick})),e(n,"parts/Time.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.defined,r=e.error,o=e.extend,i=e.isObject,a=e.merge,s=e.objectEach,c=e.pad,u=e.pick,l=e.splat,d=e.timeUnits,f=t.win;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=f.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),r=n-this.getTimezoneOffset(e);return e.setTime(r),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t)return e["setUTC"+t](n);var r=this.getTimezoneOffset(e);return r=e.getTime()-r,e.setTime(r),e["setUTC"+t](n),t=this.getTimezoneOffset(e),r=e.getTime()+t,e.setTime(r)}return this.useUTC?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){var e=u(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||f.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=!(e&&!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(e,n,r,o,i,a){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),c=this.getTimezoneOffset(s);s+=c;var l=this.getTimezoneOffset(s);c!==l?s+=l-c:c-36e5!==this.getTimezoneOffset(s-36e5)||t.isSafari||(s-=36e5)}else s=new this.Date(e,n,u(r,1),u(o,0),u(i,0),u(a,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=f.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(n)return function(t){return 6e4*-n.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&e.getTimezoneOffset?function(t){return 6e4*e.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,r,i){var a;if(!n(r)||isNaN(r))return(null===(a=t.defaultOptions.lang)||void 0===a?void 0:a.invalidDate)||"";e=u(e,"%Y-%m-%d %H:%M:%S");var l=this;a=new this.Date(r);var d=this.get("Hours",a),f=this.get("Day",a),h=this.get("Date",a),p=this.get("Month",a),m=this.get("FullYear",a),g=t.defaultOptions.lang,v=null==g?void 0:g.weekdays,b=null==g?void 0:g.shortWeekdays;return a=o({a:b?b[f]:v[f].substr(0,3),A:v[f],d:c(h),e:c(h,2," "),w:f,b:g.shortMonths[p],B:g.months[p],m:c(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(a.getSeconds()),L:c(Math.floor(r%1e3),3)},t.dateFormats),s(a,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(l,r):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return i(t,!0)?t:{main:(t=l(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,r,i){var a,s=this,c=[],l={},f=new s.Date(e),h=t.unitRange,p=t.count||1;if(i=u(i,1),n(e)){if(s.set("Milliseconds",f,h>=d.second?0:p*Math.floor(s.get("Milliseconds",f)/p)),h>=d.second&&s.set("Seconds",f,h>=d.minute?0:p*Math.floor(s.get("Seconds",f)/p)),h>=d.minute&&s.set("Minutes",f,h>=d.hour?0:p*Math.floor(s.get("Minutes",f)/p)),h>=d.hour&&s.set("Hours",f,h>=d.day?0:p*Math.floor(s.get("Hours",f)/p)),h>=d.day&&s.set("Date",f,h>=d.month?1:Math.max(1,p*Math.floor(s.get("Date",f)/p))),h>=d.month){s.set("Month",f,h>=d.year?0:p*Math.floor(s.get("Month",f)/p));var m=s.get("FullYear",f)}h>=d.year&&s.set("FullYear",f,m-m%p),h===d.week&&(m=s.get("Day",f),s.set("Date",f,s.get("Date",f)-m+i+(m<i?-7:0))),m=s.get("FullYear",f),i=s.get("Month",f);var g=s.get("Date",f),v=s.get("Hours",f);for(e=f.getTime(),s.variableTimezone&&(a=r-e>4*d.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(r)),e=f.getTime(),f=1;e<r;)c.push(e),e=h===d.year?s.makeTime(m+f*p,0):h===d.month?s.makeTime(m,i+f*p):!a||h!==d.day&&h!==d.week?a&&h===d.hour&&1<p?s.makeTime(m,i,g,v+f*p):e+h*p:s.makeTime(m,i,g+f*p*(h===d.day?1:7)),f++;c.push(e),h<=d.hour&&1e4>c.length&&c.forEach((function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(l[t]="day")}))}return c.info=o(t,{higherRanks:l,totalRange:h*p}),c},e}(),t.Time=e,t.Time})),e(n,"parts/Options.js",[n["parts/Globals.js"],n["parts/Time.js"],n["parts/Color.js"],n["parts/Utilities.js"]],(function(t,e,n,r){return n=n.parse,r=r.merge,t.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:t.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:t.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:n("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},t.time=new e(r(t.defaultOptions.global,t.defaultOptions.time)),t.dateFormat=function(e,n,r){return t.time.dateFormat(e,n,r)},{dateFormat:t.dateFormat,defaultOptions:t.defaultOptions,time:t.time}})),e(n,"parts/Axis.js",[n["parts/Color.js"],n["parts/Globals.js"],n["parts/Tick.js"],n["parts/Utilities.js"],n["parts/Options.js"]],(function(t,e,n,r,o){var i=r.addEvent,a=r.animObject,s=r.arrayMax,c=r.arrayMin,u=r.clamp,l=r.correctFloat,d=r.defined,f=r.destroyObjectProperties,h=r.error,p=r.extend,m=r.fireEvent,g=r.format,v=r.getMagnitude,b=r.isArray,y=r.isFunction,M=r.isNumber,_=r.isString,w=r.merge,x=r.normalizeTickInterval,A=r.objectEach,L=r.pick,T=r.relativeLength,k=r.removeEvent,S=r.splat,O=r.syncTimeout,C=o.defaultOptions,z=e.deg2rad;return r=function(){function r(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.oldMin=this.oldMax=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return r.prototype.init=function(t,e){var n=e.isX,r=this;r.chart=t,r.horiz=t.inverted&&!r.isZAxis?!n:n,r.isXAxis=n,r.coll=r.coll||(n?"xAxis":"yAxis"),m(this,"init",{userOptions:e}),r.opposite=e.opposite,r.side=e.side||(r.horiz?r.opposite?0:2:r.opposite?1:3),r.setOptions(e);var o=this.options,a=o.type;r.labelFormatter=o.labels.formatter||r.defaultLabelFormatter,r.userOptions=e,r.minPixelPadding=0,r.reversed=o.reversed,r.visible=!1!==o.visible,r.zoomEnabled=!1!==o.zoomEnabled,r.hasNames="category"===a||!0===o.categories,r.categories=o.categories||r.hasNames,r.names||(r.names=[],r.names.keys={}),r.plotLinesAndBandsGroups={},r.positiveValuesOnly=!(!r.logarithmic||o.allowNegativeLog),r.isLinked=d(o.linkedTo),r.ticks={},r.labelEdge=[],r.minorTicks={},r.plotLinesAndBands=[],r.alternateBands={},r.len=0,r.minRange=r.userMinRange=o.minRange||o.maxZoom,r.range=o.range,r.offset=o.offset||0,r.max=null,r.min=null,r.crosshair=L(o.crosshair,S(t.options.tooltip.crosshairs)[n?0:1],!1),e=r.options.events,-1===t.axes.indexOf(r)&&(n?t.axes.splice(t.xAxis.length,0,r):t.axes.push(r),t[r.coll].push(r)),r.series=r.series||[],t.inverted&&!r.isZAxis&&n&&void 0===r.reversed&&(r.reversed=!0),r.labelRotation=r.options.labels.rotation,A(e,(function(t,e){y(t)&&i(r,e,t)})),m(this,"afterInit")},r.prototype.setOptions=function(t){this.options=w(r.defaultOptions,"yAxis"===this.coll&&r.defaultYAxisOptions,[r.defaultTopAxisOptions,r.defaultRightAxisOptions,r.defaultBottomAxisOptions,r.defaultLeftAxisOptions][this.side],w(C[this.coll],t)),m(this,"afterSetOptions",{userOptions:t})},r.prototype.defaultLabelFormatter=function(){var t=this.axis,e=M(this.value)?this.value:NaN,n=t.chart.time,r=t.categories,o=this.dateTimeLabelFormat,i=C.lang,a=i.numericSymbols;i=i.numericSymbolMagnitude||1e3;var s=a&&a.length,c=t.options.labels.format;t=t.logarithmic?Math.abs(e):t.tickInterval;var u=this.chart,l=u.numberFormatter;if(c)var d=g(c,this,u);else if(r)d=""+this.value;else if(o)d=n.dateFormat(o,e);else if(s&&1e3<=t)for(;s--&&void 0===d;)t>=(n=Math.pow(i,s+1))&&0==10*e%n&&null!==a[s]&&0!==e&&(d=l(e/n,-1)+a[s]);return void 0===d&&(d=1e4<=Math.abs(e)?l(e,-1):l(e,-1,void 0,"")),d},r.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;m(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(r){if(r.visible||!n.options.chart.ignoreHiddenSeries){var o=r.options,i=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=i&&(i=null),e.isXAxis){if((o=r.xData).length){var a=(t=r.getXExtremes(o)).min,s=t.max;M(a)||a instanceof Date||(o=o.filter(M),a=(t=r.getXExtremes(o)).min,s=t.max),o.length&&(e.dataMin=Math.min(L(e.dataMin,a),a),e.dataMax=Math.max(L(e.dataMax,s),s))}}else r=r.applyExtremes(),M(r.dataMin)&&(a=r.dataMin,e.dataMin=Math.min(L(e.dataMin,a),a)),M(r.dataMax)&&(s=r.dataMax,e.dataMax=Math.max(L(e.dataMax,s),s)),d(i)&&(e.threshold=i),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),m(this,"afterGetSeriesExtremes")},r.prototype.translate=function(t,e,n,r,o,i){var a=this.linkedParent||this,s=1,c=0,u=r?a.oldTransA:a.transA;r=r?a.oldMin:a.min;var l=a.minPixelPadding;return o=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&o)&&a.lin2val,u||(u=a.transA),n&&(s*=-1,c=a.len),a.reversed&&(c-=(s*=-1)*(a.sector||a.len)),e?(t=(t*s+c-l)/u+r,o&&(t=a.lin2val(t))):(o&&(t=a.val2lin(t)),t=M(r)?s*(t-r)*u+c+s*l+(M(i)?u*i:0):void 0),t},r.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},r.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},r.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==v&&t<e||t>n)&&(v?t=u(t,e,n):a=!0),t}var n,r,o,i,a,s=this,c=s.chart,l=s.left,d=s.top,f=t.old,h=t.value,p=t.translatedValue,g=t.lineWidth,v=t.force,b=f&&c.oldChartHeight||c.chartHeight,y=f&&c.oldChartWidth||c.chartWidth,_=s.transB;return t={value:h,lineWidth:g,old:f,force:v,acrossPanes:t.acrossPanes,translatedValue:p},m(this,"getPlotLinePath",t,(function(t){p=L(p,s.translate(h,null,null,f)),p=u(p,-1e5,1e5),n=o=Math.round(p+_),r=i=Math.round(b-p-_),M(p)?s.horiz?(r=d,i=b-s.bottom,n=o=e(n,l,l+s.width)):(n=l,o=y-s.right,r=i=e(r,d,d+s.height)):(a=!0,v=!1),t.path=a&&!v?null:c.renderer.crispLine([["M",n,r],["L",o,i]],g||1)})),t.path},r.prototype.getLinearTickPositions=function(t,e,n){var r=l(Math.floor(e/t)*t);n=l(Math.ceil(n/t)*t);var o,i=[];if(l(r+t)===r&&(o=20),this.single)return[e];for(e=r;e<=n&&(i.push(e),(e=l(e+t,o))!==a);)var a=e;return i},r.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?L(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},r.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,r=[],o=this.pointRangePadding||0,i=this.min-o,a=(o=this.max+o)-i;if(a&&a/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,o){e&&r.push.apply(r,s.getLogTickPositions(n,o[e-1],o[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())r=r.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),i,o,t.startOfWeek));else for(t=i+(e[0]-i)%n;t<=o&&t!==r[0];t+=n)r.push(t)}return 0!==r.length&&this.trimTicks(r),r},r.prototype.adjustForMinRange=function(){var t,e,n,r,o=this.options,i=this.min,a=this.max,u=this.logarithmic;if(this.isXAxis&&void 0===this.minRange&&!u&&(d(o.min)||d(o.max)?this.minRange=null:(this.series.forEach((function(o){for(r=o.xData,e=o.xIncrement?1:r.length-1;0<e;e--)n=r[e]-r[e-1],(void 0===t||n<t)&&(t=n)})),this.minRange=Math.min(5*t,this.dataMax-this.dataMin))),a-i<this.minRange){var l=this.dataMax-this.dataMin>=this.minRange,f=this.minRange,h=(f-a+i)/2;h=[i-h,L(o.min,i-h)],l&&(h[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(i=s(h))+f,L(o.max,i+f)],l&&(a[2]=u?u.log2lin(this.dataMax):this.dataMax),(a=c(a))-i<f&&(h[0]=a-f,h[1]=L(o.min,a-f),i=s(h))}this.min=i,this.max=a},r.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,r=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&d(n)&&r&&(t=d(t)?Math.min(t,n):n)})),t},r.prototype.nameToX=function(t){var e=b(this.categories),n=e?this.categories:this.names,r=t.options.x;if(t.series.requireSorting=!1,d(r)||(r=!1===this.options.uniqueNames?t.series.autoIncrement():e?n.indexOf(t.name):L(n.keys[t.name],-1)),-1===r){if(!e)var o=n.length}else o=r;return void 0!==o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},r.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,r){if(n&&n.options&&void 0!==n.name){var o=t.nameToX(n);void 0!==o&&o!==n.x&&(n.x=o,e.xData[r]=o)}}))})))},r.prototype.setAxisTranslation=function(t){var e=this,n=e.max-e.min,r=e.axisPointRange||0,o=0,i=0,a=e.linkedParent,s=!!e.categories,c=e.transA,u=e.isXAxis;if(u||s||r){var l=e.getClosest();a?(o=a.minPointOffset,i=a.pointRangePadding):e.series.forEach((function(t){var n=s?1:u?L(t.options.pointRange,l,0):e.axisPointRange||0,a=t.options.pointPlacement;r=Math.max(r,n),e.single&&!s||(t=t.is("xrange")?!u:u,o=Math.max(o,t&&_(a)?0:n/2),i=Math.max(i,t&&"on"===a?0:n))})),a=e.ordinal&&e.ordinal.slope&&l?e.ordinal.slope/l:1,e.minPointOffset=o*=a,e.pointRangePadding=i*=a,e.pointRange=Math.min(r,e.single&&s?1:n),u&&(e.closestPointRange=l)}t&&(e.oldTransA=c),e.translationSlope=e.transA=c=e.staticScale||e.len/(n+i||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=c*o,m(this,"afterSetAxisTranslation")},r.prototype.minFromRange=function(){return this.max-this.range},r.prototype.setTickInterval=function(t){var e=this,n=e.chart,r=e.logarithmic,o=e.options,i=e.isXAxis,a=e.isLinked,s=o.maxPadding,c=o.minPadding,u=o.tickInterval,f=o.tickPixelInterval,p=e.categories,g=M(e.threshold)?e.threshold:null,b=e.softThreshold;e.dateTime||p||a||this.getTickAmount();var y=L(e.userMin,o.min),_=L(e.userMax,o.max);if(a){e.linkedParent=n[e.coll][o.linkedTo];var w=e.linkedParent.getExtremes();e.min=L(w.min,w.dataMin),e.max=L(w.max,w.dataMax),o.type!==e.linkedParent.options.type&&h(11,1,n)}else{if(!b&&d(g))if(e.dataMin>=g)w=g,c=0;else if(e.dataMax<=g){var A=g;s=0}e.min=L(y,w,e.dataMin),e.max=L(_,A,e.dataMax)}r&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,L(e.dataMin,e.min))&&h(10,1,n),e.min=l(r.log2lin(e.min),16),e.max=l(r.log2lin(e.max),16)),e.range&&d(e.max)&&(e.userMin=e.min=y=Math.max(e.dataMin,e.minFromRange()),e.userMax=_=e.max,e.range=null),m(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(p||e.axisPointRange||e.stacking&&e.stacking.usePercentage||a)&&d(e.min)&&d(e.max)&&(n=e.max-e.min)&&(!d(y)&&c&&(e.min-=n*c),!d(_)&&s&&(e.max+=n*s)),M(e.userMin)||(M(o.softMin)&&o.softMin<e.min&&(e.min=y=o.softMin),M(o.floor)&&(e.min=Math.max(e.min,o.floor))),M(e.userMax)||(M(o.softMax)&&o.softMax>e.max&&(e.max=_=o.softMax),M(o.ceiling)&&(e.max=Math.min(e.max,o.ceiling))),b&&d(e.dataMin)&&(g=g||0,!d(y)&&e.min<g&&e.dataMin>=g?e.min=e.options.minRange?Math.min(g,e.max-e.minRange):g:!d(_)&&e.max>g&&e.dataMax<=g&&(e.max=e.options.minRange?Math.max(g,e.min+e.minRange):g)),e.tickInterval=e.min===e.max||void 0===e.min||void 0===e.max?1:a&&!u&&f===e.linkedParent.options.tickPixelInterval?u=e.linkedParent.tickInterval:L(u,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,p?1:(e.max-e.min)*f/Math.max(e.len,f)),i&&!t&&e.series.forEach((function(t){t.processData(e.min!==e.oldMin||e.max!==e.oldMax)})),e.setAxisTranslation(!0),m(this,"initialAxisTranslation"),e.pointRange&&!u&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=L(o.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!u&&e.tickInterval<t&&(e.tickInterval=t),e.dateTime||e.logarithmic||u||(e.tickInterval=x(e.tickInterval,void 0,v(e.tickInterval),L(o.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},r.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,n=this.getMinorTickInterval(),r=t.tickPositioner,o=this.hasVerticalPanning(),i="colorAxis"===this.coll,a=(i||!o)&&t.startOnTick;o=(i||!o)&&t.endOnTick,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&d(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=n=e&&e.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(n=[this.min,this.max],h(19,!1,this.chart)),n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=n=r),this.paddedTicks=n.slice(0),this.trimTicks(n,a,o),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),m(this,"afterSetTickPositions")},r.prototype.trimTicks=function(t,e,n){var r=t[0],o=t[t.length-1],i=!this.isOrdinal&&this.minPointOffset||0;if(m(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-i>t[0];)t.shift();if(n)this.max=o;else for(;this.max+i<t[t.length-1];)t.pop();0===t.length&&d(r)&&!this.options.tickPositions&&t.push((o+r)/2)}},r.prototype.alignToOthers=function(){var t,e={},n=this.options;return!1===this.chart.options.chart.alignTicks||!1===n.alignTicks||!1===n.startOnTick||!1===n.endOnTick||this.logarithmic||this.chart[this.coll].forEach((function(n){var r=n.options;r=[n.horiz?r.left:r.top,r.width,r.height,r.pane].join(),n.series.length&&(e[r]?t=!0:e[r]=1)})),t},r.prototype.getTickAmount=function(){var t=this.options,e=t.tickAmount,n=t.tickPixelInterval;!d(t.tickInterval)&&!e&&this.len<n&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=Math.ceil(this.len/n)+1),4>e&&(this.finalTickAmt=e,e=5),this.tickAmount=e},r.prototype.adjustTickAmount=function(){var t,e=this.options,n=this.tickInterval,r=this.tickPositions,o=this.tickAmount,i=this.finalTickAmt,a=r&&r.length,s=L(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(a<o){for(t=this.min;r.length<o;)r.length%2||t===s?r.push(l(r[r.length-1]+n)):r.unshift(l(r[0]-n));this.transA*=(a-1)/(o-1),this.min=e.startOnTick?r[0]:Math.min(this.min,r[0]),this.max=e.endOnTick?r[r.length-1]:Math.max(this.max,r[r.length-1])}else a>o&&(this.tickInterval*=2,this.setTickPositions());if(d(i)){for(n=e=r.length;n--;)(3===i&&1==n%2||2>=i&&0<n&&n<e-1)&&r.splice(n,1);this.finalTickAmt=void 0}}},r.prototype.setScale=function(){var t,e=!1,n=!1;this.series.forEach((function(t){var r;e=e||t.isDirtyData||t.isDirty,n=n||(null===(r=t.xAxis)||void 0===r?void 0:r.isDirty)||!1})),this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),(t=this.len!==this.oldAxisLength)||e||n||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=t||this.min!==this.oldMin||this.max!==this.oldMax)):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),m(this,"afterSetScale")},r.prototype.setExtremes=function(t,e,n,r,o){var i=this,a=i.chart;n=L(n,!0),i.series.forEach((function(t){delete t.kdTree})),o=p(o,{min:t,max:e}),m(i,"setExtremes",o,(function(){i.userMin=t,i.userMax=e,i.eventArgs=o,n&&a.redraw(r)}))},r.prototype.zoom=function(t,e){var n=this,r=this.dataMin,o=this.dataMax,i=this.options,a=Math.min(r,L(i.min,r)),s=Math.max(o,L(i.max,o));return m(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,i=t.newMax;e===n.min&&i===n.max||(n.allowZoomOutside||(d(r)&&(e<a&&(e=a),e>s&&(e=s)),d(o)&&(i<a&&(i=a),i>s&&(i=s))),n.displayBtn=void 0!==e||void 0!==i,n.setExtremes(e,i,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},r.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,o=this.width=Math.round(T(L(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),i=this.height=Math.round(T(L(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(T(L(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(T(L(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-i-a,this.right=t.chartWidth-o-e,this.len=Math.max(r?o:i,0),this.pos=r?e:a},r.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?l(t.lin2log(this.min)):this.min,max:t?l(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},r.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},r.prototype.autoLabelAlign=function(t){var e=(L(t,0)-90*this.side+720)%360;return m(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},r.prototype.tickSize=function(t){var e=this.options,n=e["tick"===t?"tickLength":"minorTickLength"],r=L(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0);if(r&&n){"inside"===e[t+"Position"]&&(n=-n);var o=[n,r]}return m(this,"afterTickSize",t={tickSize:o}),t.tickSize},r.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},r.prototype.unsquish=function(){var t,e,n,r=this.options.labels,o=this.horiz,i=this.tickInterval,a=i,s=this.len/(((this.categories?1:0)+this.max-this.min)/i),c=r.rotation,u=this.labelMetrics(),f=Number.MAX_VALUE,h=this.max-this.min,p=function(t){var e=t/(s||1);return(e=1<e?Math.ceil(e):1)*i>h&&1/0!==t&&1/0!==s&&h&&(e=Math.ceil(h/i)),l(e*i)};return o?(n=!r.staggerLines&&!r.step&&(d(c)?[c]:s<L(r.autoRotationLimit,80)&&r.autoRotation))&&n.forEach((function(n){if(n===c||n&&-90<=n&&90>=n){var r=(e=p(Math.abs(u.h/Math.sin(z*n))))+Math.abs(n/360);r<f&&(f=r,t=n,a=e)}})):r.step||(a=p(u.h)),this.autoRotation=n,this.labelRotation=L(t,c),a},r.prototype.getSlotWidth=function(t){var e,n=this.chart,r=this.horiz,o=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),a=n.margin[3];if(t&&M(t.slotWidth))return t.slotWidth;if(r&&o&&2>(o.step||0))return o.rotation?0:(this.staggerLines||1)*this.len/i;if(!r){if(void 0!==(t=null===(e=null==o?void 0:o.style)||void 0===e?void 0:e.width))return parseInt(t,10);if(a)return a-n.spacing[3]}return.33*n.chartWidth},r.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,r=this.ticks,o=this.options.labels,i=o&&o.style||{},a=this.horiz,s=this.getSlotWidth(),c=Math.max(1,Math.round(s-2*(o.padding||5))),u={},l=this.labelMetrics(),d=o.style&&o.style.textOverflow,f=0;if(_(o.rotation)||(u.rotation=o.rotation||0),n.forEach((function(t){(t=r[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>f&&(f=t.label.textPxLength)})),this.maxLabelLength=f,this.autoRotation)f>c&&f>l.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(s){var h=c;if(!d){var p="clip";for(c=n.length;!a&&c--;){var m=n[c];(m=r[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/n.length-(l.h-l.f)&&(m.specificTextOverflow="ellipsis"))}}}u.rotation&&(h=f>.5*t.chartHeight?.33*t.chartHeight:f,d||(p="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(u.align=this.labelAlign),n.forEach((function(t){var e=(t=r[t])&&t.label,n=i.width,o={};e&&(e.attr(u),t.shortenLabel?t.shortenLabel():h&&!n&&"nowrap"!==i.whiteSpace&&(h<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=h+"px",d||(o.textOverflow=e.specificTextOverflow||p),e.css(o)):e.styles&&e.styles.width&&!o.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=u.rotation)}),this),this.tickRotCorr=e.rotCorr(l.b,this.labelRotation||0,0!==this.side)},r.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&d(this.min)&&d(this.max)},r.prototype.addTitle=function(t){var e,n=this.chart.renderer,r=this.horiz,o=this.opposite,i=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=i.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[i.align]),this.axisTitle=n.text(i.text,0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation||0,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(w(i.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||i.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},r.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new n(this,t)},r.prototype.getOffset=function(){var t,e=this,n=e.chart,r=n.renderer,o=e.options,i=e.tickPositions,a=e.ticks,s=e.horiz,c=e.side,u=n.inverted&&!e.isZAxis?[1,0,3,2][c]:c,l=0,f=0,h=o.title,p=o.labels,g=0,v=n.axisOffset;n=n.clipOffset;var b=[-1,1,1,-1][c],y=o.className,M=e.axisParent,_=e.hasData();if(e.showAxis=t=_||L(o.showEmpty,!0),e.staggerLines=e.horiz&&p.staggerLines,e.axisGroup||(e.gridGroup=r.g("grid").attr({zIndex:o.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(y||"")).add(M),e.axisGroup=r.g("axis").attr({zIndex:o.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(y||"")).add(M),e.labelGroup=r.g("axis-labels").attr({zIndex:p.zIndex||7}).addClass("highcharts-"+e.coll.toLowerCase()+"-labels "+(y||"")).add(M)),_||e.isLinked?(i.forEach((function(t,n){e.generateTick(t,n)})),e.renderUnsquish(),e.reserveSpaceDefault=0===c||2===c||{1:"left",3:"right"}[c]===e.labelAlign,L(p.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&i.forEach((function(t){g=Math.max(a[t].getLabelSize(),g)})),e.staggerLines&&(g*=e.staggerLines),e.labelOffset=g*(e.opposite?-1:1)):A(a,(function(t,e){t.destroy(),delete a[e]})),h&&h.text&&!1!==h.enabled&&(e.addTitle(t),t&&!1!==h.reserveSpace)){e.titleOffset=l=e.axisTitle.getBBox()[s?"height":"width"];var w=h.offset;f=d(w)?0:L(h.margin,s?5:10)}e.renderLine(),e.offset=b*L(o.offset,v[c]?v[c]+(o.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},r=0===c?-e.labelMetrics().h:2===c?e.tickRotCorr.y:0,f=Math.abs(g)+f,g&&(f=f-r+b*(s?L(p.y,e.tickRotCorr.y+8*b):p.x)),e.axisTitleMargin=L(w,f),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,i)),s=this.tickSize("tick"),v[c]=Math.max(v[c],e.axisTitleMargin+l+b*e.offset,f,i&&i.length&&s?s[0]+b*e.offset:0),o=o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[u]=Math.max(n[u],o),m(this,"afterGetOffset")},r.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,r=this.offset,o=this.horiz,i=this.left+(n?this.width:0)+r;return r=e.chartHeight-this.bottom-(n?this.height:0)+r,n&&(t*=-1),e.renderer.crispLine([["M",o?this.left:i,o?r:this.top],["L",o?e.chartWidth-this.right:i,o?r:e.chartHeight-this.bottom]],t)},r.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},r.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,r=this.len,o=this.options.title,i=t?e:n,a=this.opposite,s=this.offset,c=o.x||0,u=o.y||0,l=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style&&o.style.fontSize,l);return l=Math.max(l.getBBox(null,0).height-d.h-1,0),r={low:i+(t?0:r),middle:i+r/2,high:i+(t?r:0)}[o.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-l,l,d.f,-l][this.side],t={x:t?r+c:e+(a?this.width:0)+s+c,y:t?e+u-(a?this.height:0)+s:r+u},m(this,"afterGetTitlePosition",{titlePosition:t}),t},r.prototype.renderMinorTick=function(t){var e=this.chart.hasRendered&&M(this.oldMin),r=this.minorTicks;r[t]||(r[t]=new n(this,t,"minor")),e&&r[t].isNew&&r[t].render(null,!0),r[t].render(null,!1,1)},r.prototype.renderTick=function(t,e){var r=this.isLinked,o=this.ticks,i=this.chart.hasRendered&&M(this.oldMin);(!r||t>=this.min&&t<=this.max)&&(o[t]||(o[t]=new n(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},r.prototype.render=function(){var t,r,o=this,i=o.chart,s=o.logarithmic,c=o.options,u=o.isLinked,l=o.tickPositions,d=o.axisTitle,f=o.ticks,h=o.minorTicks,p=o.alternateBands,g=c.stackLabels,v=c.alternateGridColor,b=o.tickmarkOffset,y=o.axisLine,_=o.showAxis,w=a(i.renderer.globalAnimation);o.labelEdge.length=0,o.overlap=!1,[f,h,p].forEach((function(t){A(t,(function(t){t.isActive=!1}))})),(o.hasData()||u)&&(o.minorTickInterval&&!o.categories&&o.getMinorTickPositions().forEach((function(t){o.renderMinorTick(t)})),l.length&&(l.forEach((function(t,e){o.renderTick(t,e)})),b&&(0===o.min||o.single)&&(f[-1]||(f[-1]=new n(o,-1,null,!0)),f[-1].render(-1))),v&&l.forEach((function(n,a){r=void 0!==l[a+1]?l[a+1]+b:o.max-b,0==a%2&&n<o.max&&r<=o.max+(i.polar?-b:b)&&(p[n]||(p[n]=new e.PlotLineOrBand(o)),t=n+b,p[n].options={from:s?s.lin2log(t):t,to:s?s.lin2log(r):r,color:v,className:"highcharts-alternate-grid"},p[n].render(),p[n].isActive=!0)})),o._addedPlotLB||((c.plotLines||[]).concat(c.plotBands||[]).forEach((function(t){o.addPlotBandOrLine(t)})),o._addedPlotLB=!0)),[f,h,p].forEach((function(t){var e,n=[],r=w.duration;A(t,(function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,n.push(e))})),O((function(){for(e=n.length;e--;)t[n[e]]&&!t[n[e]].isActive&&(t[n[e]].destroy(),delete t[n[e]])}),t!==p&&i.hasRendered&&r?r:0)})),y&&(y[y.isPlaced?"animate":"attr"]({d:this.getLinePath(y.strokeWidth())}),y.isPlaced=!0,y[_?"show":"hide"](_)),d&&_&&(c=o.getTitlePosition(),M(c.y)?(d[d.isNew?"attr":"animate"](c),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&o.stacking&&o.stacking.renderStackTotals(),o.isDirty=!1,m(this,"afterRender")},r.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},r.prototype.getKeepProps=function(){return this.keepProps||r.keepProps},r.prototype.destroy=function(t){var e,n=this,r=n.plotLinesAndBands;if(m(this,"destroy",{keepEvents:t}),t||k(n),[n.ticks,n.minorTicks,n.alternateBands].forEach((function(t){f(t)})),r)for(t=r.length;t--;)r[t].destroy();for(e in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){n[t]&&(n[t]=n[t].destroy())})),n.plotLinesAndBandsGroups)n.plotLinesAndBandsGroups[e]=n.plotLinesAndBandsGroups[e].destroy();A(n,(function(t,e){-1===n.getKeepProps().indexOf(e)&&delete n[e]}))},r.prototype.drawCrosshair=function(e,n){var r,o=this.crosshair,i=L(o.snap,!0),a=this.cross,s=this.chart;if(m(this,"drawCrosshair",{e:e,point:n}),e||(e=this.cross&&this.cross.e),this.crosshair&&!1!==(d(n)||!i)){if(i?d(n)&&(r=L("colorAxis"!==this.coll?n.crosshairPos:null,this.isXAxis?n.plotX:this.len-n.plotY)):r=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),d(r)){var c={value:n&&(this.isXAxis?n.x:L(n.stackY,n.y)),translatedValue:r};s.polar&&p(c,{isCrosshair:!0,chartX:e&&e.chartX,chartY:e&&e.chartY,point:n}),c=this.getPlotLinePath(c)||null}if(!d(c))return void this.hideCrosshair();i=this.categories&&!this.isRadial,a||(this.cross=a=s.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(i?"category ":"thin ")+o.className).attr({zIndex:L(o.zIndex,2)}).add(),s.styledMode||(a.attr({stroke:o.color||(i?t.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":L(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&a.attr({dashstyle:o.dashStyle}))),a.show().attr({d:c}),i&&!o.width&&a.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();m(this,"afterDrawCrosshair",{e:e,point:n})},r.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),m(this,"afterHideCrosshair")},r.prototype.hasVerticalPanning=function(){var t,e;return/y/.test((null===(e=null===(t=this.chart.options.chart)||void 0===t?void 0:t.panning)||void 0===e?void 0:e.type)||"")},r.defaultOptions={dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,x:0,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},r.defaultYAxisOptions={endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},r.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},r.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},r.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},r.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},r.keepProps="extKey hcEvents names series userMax userMin".split(" "),r}(),e.Axis=r,e.Axis})),e(n,"parts/DateTimeAxis.js",[n["parts/Axis.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.addEvent,r=e.getMagnitude,o=e.normalizeTickInterval,i=e.timeUnits,a=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=i[e[0]],c=e[1];for(a=0;a<n.length&&(e=n[a],s=i[e[0]],c=e[1],!(n[a+1]&&t<=(s*c[c.length-1]+i[n[a+1][0]])/2));a++);return s===i.year&&t<5*s&&(c=[1,2,5]),{unitRange:s,count:t=o(t/s,c,"year"===e[0]?Math.max(r(t/s),1):1),unitName:e[0]}},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("dateTime"),t.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)},n(t,"init",(function(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new a(this))}))},t.AdditionsClass=a,t}()).compose(t),e})),e(n,"parts/LogarithmicAxis.js",[n["parts/Axis.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.addEvent,r=e.getMagnitude,o=e.normalizeTickInterval,i=e.pick,a=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,a){var s=this.axis,c=s.len,u=s.options,l=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),l=s.getLinearTickPositions(t,e,n);else if(.08<=t){var d,f;for(u=Math.floor(e),c=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];u<n+1&&!f;u++){var h=c.length;for(d=0;d<h&&!f;d++){var p=this.log2lin(this.lin2log(u)*c[d]);p>e&&(!a||m<=n)&&void 0!==m&&l.push(m),m>n&&(f=!0);var m=p}}}else e=this.lin2log(e),n=this.lin2log(n),t=a?s.getMinorTickInterval():u.tickInterval,t=i("auto"===t?null:t,this.minorAutoInterval,u.tickPixelInterval/(a?5:1)*(n-e)/((a?c/s.tickPositions.length:c)||1)),t=o(t,void 0,r(t)),l=s.getLinearTickPositions(t,e,n).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),l},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic");var e=t.prototype,r=a.prototype;e.log2lin=r.log2lin,e.lin2log=r.lin2log,n(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:(e||(e=this.logarithmic=new a(this)),this.log2lin!==e.log2lin&&(e.log2lin=this.log2lin.bind(this)),this.lin2log!==e.lin2log&&(e.lin2log=this.lin2log.bind(this)))})),n(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}()).compose(t),e})),e(n,"parts/PlotLineOrBand.js",[n["parts/Axis.js"],n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e,n){var r=n.arrayMax,o=n.arrayMin,i=n.defined,a=n.destroyObjectProperties,s=n.erase,c=n.extend,u=n.merge,l=n.objectEach,d=n.pick,f=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){e.fireEvent(this,"render");var t=this,n=t.axis,r=n.horiz,o=n.logarithmic,a=t.options,s=a.label,c=t.label,f=a.to,h=a.from,p=a.value,m=i(h)&&i(f),g=i(p),v=t.svgElem,b=!v,y=[],M=a.color,_=d(a.zIndex,0),w=a.events;y={class:"highcharts-plot-"+(m?"band ":"line ")+(a.className||"")};var x={},A=n.chart.renderer,L=m?"bands":"lines";if(o&&(h=o.log2lin(h),f=o.log2lin(f),p=o.log2lin(p)),n.chart.styledMode||(g?(y.stroke=M||"#999999",y["stroke-width"]=d(a.width,1),a.dashStyle&&(y.dashstyle=a.dashStyle)):m&&(y.fill=M||"#e6ebf5",a.borderWidth&&(y.stroke=a.borderColor,y["stroke-width"]=a.borderWidth))),x.zIndex=_,L+="-"+_,(o=n.plotLinesAndBandsGroups[L])||(n.plotLinesAndBandsGroups[L]=o=A.g("plot-"+L).attr(x).add()),b&&(t.svgElem=v=A.path().attr(y).add(o)),g)y=n.getPlotLinePath({value:p,lineWidth:v.strokeWidth(),acrossPanes:a.acrossPanes});else{if(!m)return;y=n.getPlotBandPath(h,f,a)}return!t.eventsAdded&&w&&(l(w,(function(e,n){v.on(n,(function(e){w[n].apply(t,[e])}))})),t.eventsAdded=!0),(b||!v.d)&&y&&y.length?v.attr({d:y}):v&&(y?(v.show(!0),v.animate({d:y})):v.d&&(v.hide(),c&&(t.label=c=c.destroy()))),s&&(i(s.text)||i(s.formatter))&&y&&y.length&&0<n.width&&0<n.height&&!y.isFlat?(s=u({align:r&&m&&"center",x:r?!m&&4:10,verticalAlign:!r&&m&&"middle",y:r?m?16:10:m?6:-4,rotation:r&&!m&&90},s),this.renderLabel(s,y,m,_)):c&&c.hide(),t},t.prototype.renderLabel=function(t,e,n,i){var a=this.label,s=this.axis.chart.renderer;a||((a={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(n?"band":"line")+"-label "+(t.className||"")}).zIndex=i,i=this.getLabelText(t),this.label=a=s.text(i,0,0,t.useHTML).attr(a).add(),this.axis.chart.styledMode||a.css(t.style)),s=e.xBounds||[e[0][1],e[1][1],n?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],n?e[2][2]:e[0][2]],n=o(s),i=o(e),a.align(t,!1,{x:n,y:i,width:r(s)-n,height:r(e)-i}),a.show(!0)},t.prototype.getLabelText=function(t){return i(t.formatter)?t.formatter.call(this):t.text},t.prototype.destroy=function(){s(this.axis.plotLinesAndBands,this),delete this.axis,a(this)},t}();return c(t.prototype,{getPlotBandPath:function(t,e){var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:this.options.acrossPanes}),r=this.getPlotLinePath({value:t,force:!0,acrossPanes:this.options.acrossPanes}),o=[],i=this.horiz,a=1;if(t=t<this.min&&e<this.min||t>this.max&&e>this.max,r&&n){if(t){var s=r.toString()===n.toString();a=0}for(t=0;t<r.length;t+=2){e=r[t];var c=r[t+1],u=n[t],l=n[t+1];"M"!==e[0]&&"L"!==e[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==l[0]&&"L"!==l[0]||(i&&u[1]===e[1]?(u[1]+=a,l[1]+=a):i||u[2]!==e[2]||(u[2]+=a,l[2]+=a),o.push(["M",e[1],e[2]],["L",c[1],c[2]],["L",l[1],l[2]],["L",u[1],u[2]],["Z"])),o.isFlat=s}}return o},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,e){var n=new f(this,t).render(),r=this.userOptions;if(n){if(e){var o=r[e]||[];o.push(t),r[e]=o}this.plotLinesAndBands.push(n),this._addedPlotLB=!0}return n},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,n=this.options,r=this.userOptions,o=e.length;o--;)e[o].id===t&&e[o].destroy();[n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&s(e,e[o])}))},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),e.PlotLineOrBand=f,e.PlotLineOrBand})),e(n,"parts/Tooltip.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=t.doc,r=e.clamp,o=e.css,i=e.defined,a=e.discardElement,s=e.extend,c=e.fireEvent,u=e.format,l=e.isNumber,d=e.isString,f=e.merge,h=e.pick,p=e.splat,m=e.syncTimeout,g=e.timeUnits,v=function(){function v(t,e){this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return v.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",id:"drop-shadow-"+t.index,opacity:.5,children:[{tagName:"feGaussianBlur",in:"SourceAlpha",stdDeviation:1},{tagName:"feOffset",dx:1,dy:1},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",type:"linear",slope:.3}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",in:"SourceGraphic"}]}]}),t.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+t.index+"{filter:url(#drop-shadow-"+t.index+")}"})},v.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},v.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},v.prototype.defaultFormatter=function(t){var e=this.points||p(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},v.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),a(this.container)),e.clearTimeout(this.hideTimer),e.clearTimeout(this.tooltipTimeout)},v.prototype.getAnchor=function(t,e){var n,r,o=this.chart,i=o.pointer,a=o.inverted,s=o.plotTop,c=o.plotLeft,u=0,l=0;return t=p(t),this.followPointer&&e?(void 0===e.chartX&&(e=i.normalize(e)),t=[e.chartX-c,e.chartY-s]):t[0].tooltipPos?t=t[0].tooltipPos:(t.forEach((function(t){n=t.series.yAxis,r=t.series.xAxis,u+=t.plotX+(!a&&r?r.left-c:0),l+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!a&&n?n.top-s:0)})),u/=t.length,l/=t.length,t=[a?o.plotWidth-l:u,this.shared&&!a&&1<t.length&&e?e.chartY-s:a?o.plotHeight-u:l]),t.map(Math.round)},v.prototype.getDateFormat=function(t,e,n,r){var o=this.chart.time,i=o.dateFormat("%m-%d %H:%M:%S.%L",e),a={millisecond:15,second:12,minute:9,hour:6,day:3},s="millisecond";for(c in g){if(t===g.week&&+o.dateFormat("%w",e)===n&&"00:00:00.000"===i.substr(6)){var c="week";break}if(g[c]>t){c=s;break}if(a[c]&&i.substr(a[c])!=="01-01 00:00:00.000".substr(a[c]))break;"week"!==c&&(s=c)}if(c)var u=o.resolveDTLFormat(r[c]).main;return u},v.prototype.getLabel=function(){var e,n,r,a=this,s=this.chart.renderer,c=this.chart.styledMode,u=this.options,l="tooltip"+(i(u.className)?" "+u.className:""),d=(null===(e=u.style)||void 0===e?void 0:e.pointerEvents)||(!this.followPointer&&u.stickOnContact?"auto":"none");e=function(){a.inContact=!0};if(!this.label){if(this.outside&&(this.container=r=t.doc.createElement("div"),r.className="highcharts-tooltip-container",o(r,{position:"absolute",top:"1px",pointerEvents:d,zIndex:3}),t.doc.body.appendChild(r),this.renderer=s=new t.Renderer(r,0,0,null===(n=this.chart.options.chart)||void 0===n?void 0:n.style,void 0,void 0,s.styledMode)),this.split?this.label=s.g(l):(this.label=s.label("",0,0,u.shape||"callout",null,null,u.useHTML,null,l).attr({padding:u.padding,r:u.borderRadius}),c||this.label.attr({fill:u.backgroundColor,"stroke-width":u.borderWidth}).css(u.style).css({pointerEvents:d}).shadow(u.shadow)),c&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),a.outside&&!a.split){var f=this.label,h=f.xSetter,p=f.ySetter;f.xSetter=function(t){h.call(f,a.distance),r.style.left=t+"px"},f.ySetter=function(t){p.call(f,a.distance),r.style.top=t+"px"}}this.label.on("mouseenter",e).on("mouseleave",(function(){var t=a.chart.hoverSeries;a.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()})).attr({zIndex:8}).add()}return this.label},v.prototype.getPosition=function(t,e,r){var o,i=this.chart,a=this.distance,s={},c=i.inverted&&r.h||0,u=this.outside,l=u?n.documentElement.clientWidth-2*a:i.chartWidth,d=u?Math.max(n.body.scrollHeight,n.documentElement.scrollHeight,n.body.offsetHeight,n.documentElement.offsetHeight,n.documentElement.clientHeight):i.chartHeight,f=i.pointer.getChartPosition(),p=i.containerScaling,m=function(t){return p?t*p.scaleX:t},g=function(t){return p?t*p.scaleY:t},v=function(n){var o="x"===n;return[n,o?l:d,o?t:e].concat(u?[o?m(t):g(e),o?f.left-a+m(r.plotX+i.plotLeft):f.top-a+g(r.plotY+i.plotTop),0,o?l:d]:[o?t:e,o?r.plotX+i.plotLeft:r.plotY+i.plotTop,o?i.plotLeft:i.plotTop,o?i.plotLeft+i.plotWidth:i.plotTop+i.plotHeight])},b=v("y"),y=v("x"),M=!this.followPointer&&h(r.ttBelow,!i.inverted==!!r.negative),_=function(t,e,n,r,o,i,u){var l="y"===t?g(a):m(a),d=(n-r)/2,f=r<o-a,h=o+a+r<e,p=o-l-n+d;if(o=o+l-d,M&&h)s[t]=o;else if(!M&&f)s[t]=p;else if(f)s[t]=Math.min(u-r,0>p-c?p:p-c);else{if(!h)return!1;s[t]=Math.max(i,o+c+n>e?o:o+c)}},w=function(t,e,n,r,o){var i;return o<a||o>e-a?i=!1:s[t]=o<n/2?1:o>e-r/2?e-r-2:o-n/2,i},x=function(t){var e=b;b=y,y=e,o=t},A=function(){!1!==_.apply(0,b)?!1!==w.apply(0,y)||o||(x(!0),A()):o?s.x=s.y=0:(x(!0),A())};return(i.inverted||1<this.len)&&x(),A(),s},v.prototype.getXDateFormat=function(t,e,n){e=e.dateTimeLabelFormats;var r=n&&n.closestPointRange;return(r?this.getDateFormat(r,t.x,n.options.startOfWeek,e):e.day)||e.year},v.prototype.hide=function(t){var n=this;e.clearTimeout(this.hideTimer),t=h(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=m((function(){n.getLabel().fadeOut(t?void 0:t),n.isHidden=!0}),t))},v.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=h(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},v.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},v.prototype.move=function(t,n,r,o){var i=this,a=i.now,c=!1!==i.options.animation&&!i.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(n-a.y)),u=i.followPointer||1<i.len;s(a,{x:c?(2*a.x+t)/3:t,y:c?(a.y+n)/2:n,anchorX:u?void 0:c?(2*a.anchorX+r)/3:r,anchorY:u?void 0:c?(a.anchorY+o)/2:o}),i.getLabel().attr(a),i.drawTracker(),c&&(e.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){i&&i.move(t,n,r,o)}),32))},v.prototype.refresh=function(t,n){var r=this.chart,o=this.options,i=t,a={},s=[],u=o.formatter||this.defaultFormatter;a=this.shared;var l=r.styledMode;if(o.enabled){e.clearTimeout(this.hideTimer),this.followPointer=p(i)[0].series.tooltipOptions.followPointer;var d=this.getAnchor(i,n);n=d[0];var f=d[1];!a||i.series&&i.series.noSharedTooltip?a=i.getLabelConfig():(r.pointer.applyInactiveState(i),i.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(a={x:i[0].category,y:i[0].y}).points=s,i=i[0]),this.len=s.length,r=u.call(a,this),u=i.series,this.distance=h(u.tooltipOptions.distance,16),!1===r?this.hide():(this.split?this.renderSplit(r,p(t)):(t=this.getLabel(),o.style.width&&!l||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:r&&r.join?r.join(""):r}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+h(i.colorIndex,u.colorIndex)),l||t.attr({stroke:o.borderColor||i.color||u.color||"#666666"}),this.updatePosition({plotX:n,plotY:f,negative:i.negative,ttBelow:i.ttBelow,h:d[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1),c(this,"refresh")}},v.prototype.renderSplit=function(e,n){function o(t,e,n,o,i){return void 0===i&&(i=!0),n?(e=T?0:O,t=r(t-o/2,A.left,A.right-o)):(e-=k,t=r(t=i?t-o-_:t+_,i?t:A.left,A.right)),{x:t,y:e}}var i=this,a=i.chart,c=i.chart,u=c.plotHeight,l=c.plotLeft,f=c.plotTop,p=c.pointer,m=c.renderer,g=c.scrollablePixelsY,v=void 0===g?0:g,b=(g=void 0===(g=c.scrollingContainer)?{scrollLeft:0,scrollTop:0}:g).scrollLeft,y=g.scrollTop,M=c.styledMode,_=i.distance,w=i.options,x=i.options.positioner,A={left:b,right:b+c.chartWidth,top:y,bottom:y+c.chartHeight},L=i.getLabel(),T=!(!a.xAxis[0]||!a.xAxis[0].opposite),k=f+y,S=0,O=u-v;d(e)&&(e=[!1,e]),e=e.slice(0,n.length+1).reduce((function(t,e,a){if(!1!==e&&""!==e){var s=(a=n[a-1]||{isHeader:!0,plotX:n[0].plotX,plotY:u,series:{}}).isHeader,c=s?i:a.series,d=c.tt,p=a.isHeader,g=a.series,b="highcharts-color-"+h(a.colorIndex,g.colorIndex,"none");d||(d={padding:w.padding,r:w.borderRadius},M||(d.fill=w.backgroundColor,d["stroke-width"]=w.borderWidth),d=m.label("",0,0,w[p?"headerShape":"shape"]||"callout",void 0,void 0,w.useHTML).addClass((p?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+b).attr(d).add(L)),d.isActive=!0,d.attr({text:e}),M||d.css(w.style).shadow(w.shadow).attr({stroke:w.borderColor||a.color||g.color||"#333333"}),e=c.tt=d,c=(p=e.getBBox()).width+e.strokeWidth(),s&&(S=p.height,O+=S,T&&(k-=S)),g=void 0===(g=a.plotX)?0:g,b=void 0===(b=a.plotY)?0:b;var C=a.series;if(a.isHeader){g=l+g;var z=f+u/2}else d=C.xAxis,C=C.yAxis,g=d.pos+r(g,-_,d.len+_),C.pos+b>=y+f&&C.pos+b<=y+f+u-v&&(z=C.pos+b);g=r(g,A.left-_,A.right+_),"number"==typeof z?(p=p.height+1,b=x?x.call(i,c,p,a):o(g,z,s,c),t.push({align:x?0:void 0,anchorX:g,anchorY:z,boxWidth:c,point:a,rank:h(b.rank,s?1:0),size:p,target:b.y,tt:e,x:b.x})):e.isActive=!1}return t}),[]),!x&&e.some((function(t){return t.x<A.left}))&&(e=e.map((function(t){var e=o(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return s(t,{target:e.y,x:e.x})}))),i.cleanSplit(),t.distribute(e,O),e.forEach((function(t){var e=t.pos;t.tt.attr({visibility:void 0===e?"hidden":"inherit",x:t.x,y:e+k,anchorX:t.anchorX,anchorY:t.anchorY})})),e=i.container,a=i.renderer,i.outside&&e&&a&&(c=L.getBBox(),a.setSize(c.width+c.x,c.height+c.y,!1),p=p.getChartPosition(),e.style.left=p.left+"px",e.style.top=p.top+"px")},v.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,n=t.hoverPoint;if(e&&n){var r={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var o=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,r.x=Math.min(0,n[0]),r.y=Math.min(0,n[1]),r.width=0>n[0]?Math.max(Math.abs(n[0]),o.width-n[0]):Math.max(Math.abs(n[0]),o.width),r.height=0>n[1]?Math.max(Math.abs(n[1]),o.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),o.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},v.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},v.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=e?"footer":"header",r=t.series,o=r.tooltipOptions,i=o.xDateFormat,a=r.xAxis,s=a&&"datetime"===a.options.type&&l(t.key),d=o[n+"Format"];return c(this,"headerFormatter",e={isFooter:e,labelConfig:t},(function(e){s&&!i&&(i=this.getXDateFormat(t,o,a)),s&&i&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){d=d.replace("{point."+t+"}","{point."+t+":"+i+"}")})),r.chart.styledMode&&(d=this.styledModeFormat(d)),e.text=u(d,{point:t,series:r},this.chart)})),e.text},v.prototype.update=function(t){this.destroy(),f(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,f(!0,this.options,t))},v.prototype.updatePosition=function(t){var e=this.chart,n=e.pointer,r=this.getLabel(),i=t.plotX+e.plotLeft,a=t.plotY+e.plotTop;if(n=n.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,r.width,r.height,t),this.outside){var s=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(r.width+s,r.height+s,!1),(e=e.containerScaling)&&(o(this.container,{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),i*=e.scaleX,a*=e.scaleY),i+=n.left-t.x,a+=n.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),i,a)},v}();return t.Tooltip=v,t.Tooltip})),e(n,"parts/Pointer.js",[n["parts/Color.js"],n["parts/Globals.js"],n["parts/Tooltip.js"],n["parts/Utilities.js"]],(function(t,e,n,r){var o=t.parse,i=e.charts,a=e.noop,s=r.addEvent,c=r.attr,u=r.css,l=r.defined,d=r.extend,f=r.find,h=r.fireEvent,p=r.isNumber,m=r.isObject,g=r.objectEach,v=r.offset,b=r.pick,y=r.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.chart=t,this.hasDragged=!1,this.options=e,this.unbindContainerMouseLeave=function(){},this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var t=this;void 0!==t.unDocMouseMove&&t.unDocMouseMove(),this.unbindContainerMouseLeave(),e.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),g(t,(function(e,n){t[n]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,r=t.chartX,i=t.chartY,a=this.zoomHor,s=this.zoomVert,c=e.plotLeft,u=e.plotTop,l=e.plotWidth,d=e.plotHeight,f=this.selectionMarker,h=this.mouseDownX||0,p=this.mouseDownY||0,g=m(n.panning)?n.panning&&n.panning.enabled:n.panning,v=n.panKey&&t[n.panKey+"Key"];if((!f||!f.touch)&&(r<c?r=c:r>c+l&&(r=c+l),i<u?i=u:i>u+d&&(i=u+d),this.hasDragged=Math.sqrt(Math.pow(h-r,2)+Math.pow(p-i,2)),10<this.hasDragged)){var b=e.isInsidePlot(h-c,p-u);e.hasCartesianSeries&&(this.zoomX||this.zoomY)&&b&&!v&&!f&&(this.selectionMarker=f=e.renderer.rect(c,u,a?1:l,s?1:d,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||f.attr({fill:n.selectionMarkerFill||o("#335cad").setOpacity(.25).get()})),f&&a&&(r-=h,f.attr({width:Math.abs(r),x:(0<r?0:r)+h})),f&&s&&(r=i-p,f.attr({height:Math.abs(r),y:(0<r?0:r)+p})),b&&!f&&g&&e.pan(t,n.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){var o,i={originalEvent:t,xAxis:[],yAxis:[]},a=this.selectionMarker,s=a.attr?a.attr("x"):a.x,c=a.attr?a.attr("y"):a.y,f=a.attr?a.attr("width"):a.width,m=a.attr?a.attr("height"):a.height;(this.hasDragged||r)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&l(n.min)&&(r||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&p(s)&&p(c)){var a=n.horiz,u="touchend"===t.type?n.minPixelPadding:0,d=n.toValue((a?s:c)+u);a=n.toValue((a?s+f:c+m)-u),i[n.coll].push({axis:n,min:Math.min(d,a),max:Math.max(d,a)}),o=!0}})),o&&h(n,"selection",i,(function(t){n.zoom(d(t,r?{animation:!1}:null))}))),p(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),r&&this.scaleGroups()}n&&p(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var r,o=this.chart,i=o.hoverPoint;return o=o.tooltip,i&&o&&o.isStickyOnContact()?i:(t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,o),(o=m(t,!0))&&!(o=!m(r,!0))){o=r.distX-t.distX;var i=r.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);o=0<(0!==o&&e?o:0!==i?i:0!==a?a:r.series.index>t.series.index?-1:1)}o&&(r=t)})),r)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,r=n.xAxis;n=n.yAxis;var o=b(t.clientX,t.plotX),i=t.shapeArgs;return r&&n?e?{chartX:r.len+r.pos-o,chartY:n.len+n.pos-t.plotY}:{chartX:o+r.pos,chartY:t.plotY+n.pos}:i&&i.x&&i.y?{chartX:i.x,chartY:i.y}:void 0},t.prototype.getChartPosition=function(){return this.chartPosition||(this.chartPosition=v(this.chart.container))},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,r,o,i){var a,s=[];r=!(!r||!t);var c=e&&!e.stickyTracking,u={chartX:i?i.chartX:void 0,chartY:i?i.chartY:void 0,shared:o};return h(this,"beforeGetHoverData",u),c=c?[e]:n.filter((function(t){return u.filter?u.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&t.stickyTracking})),e=(a=r||!i?t:this.findNearestKDPoint(c,o,i))&&a.series,a&&(o&&!e.noSharedTooltip?(c=n.filter((function(t){return u.filter?u.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=f(t.points,(function(t){return t.x===a.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),s.push(e))})):s.push(a)),h(this,"afterGetHoverData",u={hoverPoint:a}),{hoverPoint:u.hoverPoint,hoverSeries:e,hoverPoints:s}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=c(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=b(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,r=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=r.pageX-e.left,e=r.pageY-e.top,(r=this.chart.containerScaling)&&(n/=r.scaleX,e/=r.scaleY),d(t,{chartX:Math.round(n),chartY:Math.round(e)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var r=e.plotLeft,o=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(h(n.series,"click",d(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-r,t.chartY-o)&&h(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),void 0!==t.button&&1!=(1&(t.buttons||t.button))||(this.zoomOption(t),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(t){var n=i[b(e.hoverChartIndex,-1)],r=this.chart.tooltip;t=this.normalize(t),n&&(t.relatedTarget||t.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),r&&!r.isHidden&&this.reset()},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),"mousedown"===e.mouseIsDown&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.runPointActions(t)},t.prototype.onDocumentTouchEnd=function(t){i[e.hoverChartIndex]&&i[e.hoverChartIndex].pointer.drop(t)},t.prototype.onContainerTouchMove=function(t){this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.zoomOption(t),this.touch(t,!0)},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n);var r=e.tooltip;!n||r&&r.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(t){var n=i[b(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},t.prototype.pinch=function(t){var e=this,n=e.chart,r=e.pinchDown,o=t.touches||[],i=o.length,s=e.lastValidTouch,c=e.hasZoom,u=e.selectionMarker,l={},f=1===i&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),h={};1<i&&(e.initiated=!0),c&&e.initiated&&!f&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){r[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],r=t.minPixelPadding,o=t.toPixels(Math.min(b(t.options.min,t.dataMin),t.dataMin)),i=t.toPixels(Math.max(b(t.options.max,t.dataMax),t.dataMax)),a=Math.max(o,i);e.min=Math.min(t.pos,Math.min(o,i)-r),e.max=Math.max(t.pos+t.len,a+r)}})),e.res=!0):e.followTouchMove&&1===i?this.runPointActions(e.normalize(t)):r.length&&(u||(e.selectionMarker=u=d({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(r,o,l,u,h,s),e.hasPinched=c,e.scaleGroups(l,h),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,r,o,i){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,r,o,i),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,r,o,i)},t.prototype.pinchTranslateDirection=function(t,e,n,r,o,i,a,s){var c,u,l=this.chart,d=t?"x":"y",f=t?"X":"Y",h="chart"+f,p=t?"width":"height",m=l["plot"+(t?"Left":"Top")],g=s||1,v=l.inverted,b=l.bounds[t?"h":"v"],y=1===e.length,M=e[0][h],_=n[0][h],w=!y&&e[1][h],x=!y&&n[1][h];if((n=function(){"number"==typeof x&&20<Math.abs(M-w)&&(g=s||Math.abs(_-x)/Math.abs(M-w)),u=(m-_)/g+M,c=l["plot"+(t?"Width":"Height")]/g})(),(e=u)<b.min){e=b.min;var A=!0}else e+c>b.max&&(e=b.max-c,A=!0);A?(_-=.8*(_-a[d][0]),"number"==typeof x&&(x-=.8*(x-a[d][1])),n()):a[d]=[_,x],v||(i[d]=u-m,i[p]=c),i=v?1/g:g,o[p]=c,o[d]=e,r[v?t?"scaleY":"scaleX":"scale"+f]=g,r["translate"+f]=i*m+(_-i*M)},t.prototype.reset=function(t,e){var n=this.chart,r=n.hoverSeries,o=n.hoverPoint,i=n.hoverPoints,a=n.tooltip,s=a&&a.shared?i:o;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&i?i.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),n.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),i&&i.forEach((function(t){t.setState()})),r&&r.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(t,n){var r=this.chart,o=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!o&&o.shared,c=n||r.hoverPoint,u=c&&c.series||r.hoverSeries;c=(u=this.getHoverData(c,u,r.series,(!t||"touchmove"!==t.type)&&(!!n||u&&u.directTouch&&this.isDirectTouch),a,t)).hoverPoint;var l=u.hoverPoints;if(n=(u=u.hoverSeries)&&u.tooltipOptions.followPointer,a=a&&u&&!u.noSharedTooltip,c&&(c!==r.hoverPoint||o&&o.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===l.indexOf(t)&&t.setState()})),r.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(l),(l||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!c.series)return;r.hoverPoints=l,r.hoverPoint=c,c.firePointEvent("mouseOver"),o&&o.refresh(a?l:c,t)}else n&&o&&!o.isHidden&&(c=o.getAnchor([{}],t),o.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(r.container.ownerDocument,"mousemove",(function(t){var n=i[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)}))),r.axes.forEach((function(e){var n,o=b((e.crosshair||{}).snap,!0);o&&((n=r.hoverPoint)&&n.series[e.coll]===e||(n=f(l,(function(t){return t.series[e.coll]===e})))),n||!o?e.drawCrosshair(t,n):e.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n,r=this.chart;r.series.forEach((function(o){n=t||o.getPlotBox(),o.xAxis&&o.xAxis.zoomEnabled&&o.group&&(o.group.attr(n),o.markerGroup&&(o.markerGroup.attr(n),o.markerGroup.clip(e?r.clipRect:null)),o.dataLabelsGroup&&o.dataLabelsGroup.attr(n))})),r.clipRect.attr(e||r.clipBox)},t.prototype.setDOMEvents=function(){var t=this.chart.container,n=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.unbindContainerMouseLeave=s(t,"mouseleave",this.onContainerMouseLeave.bind(this)),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(n,"mouseup",this.onDocumentMouseUp.bind(this))),e.hasTouch&&(s(t,"touchstart",this.onContainerTouchStart.bind(this)),s(t,"touchmove",this.onContainerTouchMove.bind(this)),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(n,"touchend",this.onDocumentTouchEnd.bind(this))))},t.prototype.setHoverChartIndex=function(){var t=this.chart,n=e.charts[b(e.hoverChartIndex,-1)];n&&n!==t&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(e.hoverChartIndex=t.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop)&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var r=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));b(r,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart,r=n.zoomType||"";e=e.inverted,/touch/.test(t.type)&&(r=b(n.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=r=/y/.test(r),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},t}(),e.Pointer=t})),e(n,"parts/MSPointer.js",[n["parts/Globals.js"],n["parts/Pointer.js"],n["parts/Utilities.js"]],(function(t,e,n){function r(){var t=[];return t.item=function(t){return this[t]},d(h,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(e,n,o,i){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!a[t.hoverChartIndex]||(i(e),(i=a[t.hoverChartIndex].pointer)[n]({type:o,target:e.currentTarget,preventDefault:c,touches:r()}))}var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=t.charts,s=t.doc,c=t.noop,u=n.addEvent,l=n.css,d=n.objectEach,f=n.removeEvent,h={},p=!!t.win.PointerEvent;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.batchMSEvents=function(t){t(this.chart.container,p?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,p?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,p?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},e.prototype.destroy=function(){this.batchMSEvents(f),t.prototype.destroy.call(this)},e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this.hasZoom&&l(e.container,{"-ms-touch-action":"none","touch-action":"none"})},e.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},e.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY},h[t.pointerId].target||(h[t.pointerId].target=t.currentTarget)}))},e.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete h[t.pointerId]}))},e.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},e}(e)})),e(n,"parts/Legend.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.addEvent,r=e.animObject,o=e.css,i=e.defined,a=e.discardElement,s=e.find,c=e.fireEvent,u=e.format,l=e.isNumber,d=e.merge,f=e.pick,h=e.relativeLength,p=e.setAnimation,m=e.stableSort,g=e.syncTimeout;e=e.wrap;var v=t.isFirefox,b=t.marginNames,y=t.win,M=function(){function e(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return e.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=n(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},e.prototype.setOptions=function(t){var e=f(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=d(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=f(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},e.prototype.update=function(t,e){var n=this.chart;this.setOptions(d(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,f(e,!0)&&n.redraw(),c(this,"afterUpdate")},e.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,r=t.legendItem,o=t.legendLine,i=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,u=t.options&&t.options.marker,l={fill:s};r&&r.css({fill:n,color:n}),o&&o.attr({stroke:s}),i&&(u&&i.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=a)),i.attr(l))}c(this,"afterColorizeItem",{item:t,visible:e})},e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},e.prototype.positionItem=function(t){var e=this,n=this.options,r=n.symbolPadding,o=!n.rtl,a=t._legendItemPos;n=a[0],a=a[1];var s=t.checkbox,u=t.legendGroup;u&&u.element&&(r={translateX:o?n:this.legendWidth-n-2*r-4,translateY:a},o=function(){c(e,"afterPositionItem",{item:t})},i(u.translateY)?u.animate(r,{complete:o}):(u.attr(r),o())),s&&(s.x=n,s.y=a)},e.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&a(t.checkbox)},e.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},e.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var r=t.translateY;this.allItems.forEach((function(i){var a=i.checkbox;if(a){var s=r+n+a.y+(this.scrollOffset||0)+3;o(a,{left:t.translateX+i.checkboxOffset+a.x-20+"px",top:s+"px",display:this.proximate||s>r-6&&s<r+e-6?"":"none"})}}),this)}},e.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,r=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r},e.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?u(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},e.prototype.renderItem=function(t){var e=this.chart,n=e.renderer,r=this.options,o=this.symbolWidth,i=r.symbolPadding,a=this.itemStyle,s=this.itemHiddenStyle,c="horizontal"===r.layout?f(r.itemDistance,20):0,u=!r.rtl,l=t.legendItem,h=!t.series,p=!h&&t.series.drawLegendSymbol?t.series:t,m=p.options;c=o+i+c+((m=this.createCheckboxForItem&&m&&m.showCheckbox)?20:0);var g=r.useHTML,v=t.options.className;l||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(h?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=l=n.text("",u?o+i:-i,this.baseline||0,g),e.styledMode||l.css(d(t.visible?a:s)),l.attr({align:u?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(e.styledMode?12:a.fontSize,l),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,l.attr("y",this.baseline)),this.symbolHeight=r.symbolHeight||this.fontMetrics.f,p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,l,g)),m&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||l.css({width:(r.itemWidth||this.widthOption||e.spacingBox.width)-c+"px"}),this.setText(t),e=l.getBBox(),t.itemWidth=t.checkboxOffset=r.itemWidth||t.legendItemWidth||e.width+c,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||e.height||this.symbolHeight)},e.prototype.layoutItem=function(t){var e=this.options,n=this.padding,r="horizontal"===e.layout,o=t.itemHeight,i=this.itemMarginBottom,a=this.itemMarginTop,s=r?f(e.itemDistance,20):0,c=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>c?this.maxItemWidth:t.itemWidth,r&&this.itemX-n+e>c&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+i),this.lastLineHeight=0),this.lastItemY=a+this.itemY+i,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=e:(this.itemY+=a+o+i,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},e.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&f(n.showInLegend,!i(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))})),c(this,"afterGetAllItems",{allItems:t}),t},e.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},e.prototype.adjustMargins=function(t,e){var n=this.chart,r=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(a,s){a.test(o)&&!i(t[s])&&(n[b[s]]=Math.max(n[b[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*r[s%2?"x":"y"]+f(r.margin,12)+e[s]+(n.titleOffset[s]||0)))}))},e.prototype.proximatePositions=function(){var e=this.chart,n=[],r="left"===this.options.align;this.allItems.forEach((function(t){var o=r;if(t.yAxis&&t.points){t.xAxis.options.reversed&&(o=!o);var i=s(o?t.points:t.points.slice(0).reverse(),(function(t){return l(t.plotY)}));o=this.itemMarginTop+t.legendItem.getBBox().height+this.itemMarginBottom;var a=t.yAxis.top-e.plotTop;t.visible?(i=i?i.plotY:t.yAxis.height,i+=a-.3*o):i=a+t.yAxis.height,n.push({target:i,size:o,item:t})}}),this),t.distribute(n,e.plotHeight),n.forEach((function(t){t.item._legendItemPos[1]=e.plotTop-e.spacing[0]+t.pos}))},e.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.group,r=this.box,o=this.options,i=this.padding;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=h(o.width,t.spacingBox.width-i);var a=t.spacingBox.width-2*i-o.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,n||(this.group=n=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(n),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var s=this.getAllItems();m(s,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),o.reversed&&s.reverse(),this.allItems=s,this.display=a=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+i;var u=this.lastItemY+this.lastLineHeight+this.titleHeight;u=this.handleOverflow(u),u+=i,r||(this.box=r=e.rect().addClass("highcharts-legend-box").attr({r:o.borderRadius}).add(n),r.isNew=!0),t.styledMode||r.attr({stroke:o.borderColor,"stroke-width":o.borderWidth||0,fill:o.backgroundColor||"none"}).shadow(o.shadow),0<s&&0<u&&(r[r.isNew?"attr":"animate"](r.crisp.call({},{x:0,y:0,width:s,height:u},r.strokeWidth())),r.isNew=!1),r[a?"show":"hide"](),t.styledMode&&"none"===n.getStyle("display")&&(s=u=0),this.legendWidth=s,this.legendHeight=u,a&&this.align(),this.proximate||this.positionItems(),c(this,"afterRender")},e.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,r=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?r+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(r-=e.titleOffset[2]),r!==t.y&&(t=d(t,{y:r})),this.group.align(d(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},e.prototype.handleOverflow=function(t){var e=this,n=this.chart,r=n.renderer,o=this.options,i=o.y,a=this.padding;i=n.spacingBox.height+("top"===o.verticalAlign?-i:i)-a;var s,c,u=o.maxHeight,l=this.clipRect,d=o.navigation,h=f(d.animation,!0),p=d.arrowSize||12,m=this.nav,g=this.pages,v=this.allItems,b=function(t){"number"==typeof t?l.attr({height:t}):l&&(e.clipRect=l.destroy(),e.contentGroup.clip()),e.contentGroup.div&&(e.contentGroup.div.style.clip=t?"rect("+a+"px,9999px,"+(a+t)+"px,0)":"auto")},y=function(t){return e[t]=r.circle(0,0,1.3*p).translate(p/2,p/2).add(m),n.styledMode||e[t].attr("fill","rgba(0,0,0,0.0001)"),e[t]};return"horizontal"!==o.layout||"middle"===o.verticalAlign||o.floating||(i/=2),u&&(i=Math.min(i,u)),g.length=0,t>i&&!1!==d.enabled?(this.clipHeight=s=Math.max(i-20-this.titleHeight-a,0),this.currentPage=f(this.currentPage,1),this.fullHeight=t,v.forEach((function(t,e){var n=t._legendItemPos[1],r=Math.round(t.legendItem.getBBox().height),o=g.length;(!o||n-g[o-1]>s&&(c||n)!==g[o-1])&&(g.push(c||n),o++),t.pageIx=o-1,c&&(v[e-1].pageIx=o-1),e===v.length-1&&n+r-g[o-1]>s&&n!==c&&(g.push(n),t.pageIx=o),n!==c&&(c=n)})),l||(l=e.clipRect=r.clipRect(0,a,9999,0),e.contentGroup.clip(l)),b(s),m||(this.nav=m=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,p,p).add(m),y("upTracker").on("click",(function(){e.scroll(-1,h)})),this.pager=r.text("",15,10).addClass("highcharts-legend-navigation"),n.styledMode||this.pager.css(d.style),this.pager.add(m),this.down=r.symbol("triangle-down",0,0,p,p).add(m),y("downTracker").on("click",(function(){e.scroll(1,h)}))),e.scroll(0),t=i):m&&(b(),this.nav=m.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},e.prototype.scroll=function(t,e){var n=this,o=this.chart,i=this.pages,a=i.length,s=this.currentPage+t;t=this.clipHeight;var u=this.options.navigation,l=this.pager,d=this.padding;s>a&&(s=a),0<s&&(void 0!==e&&p(e,o),this.nav.attr({translateX:d,translateY:t+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===s?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),l.attr({text:s+"/"+a}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:s===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),o.styledMode||(this.up.attr({fill:1===s?u.inactiveColor:u.activeColor}),this.upTracker.css({cursor:1===s?"default":"pointer"}),this.down.attr({fill:s===a?u.inactiveColor:u.activeColor}),this.downTracker.css({cursor:s===a?"default":"pointer"})),this.scrollOffset=-i[s-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=s,this.positionCheckboxes(),e=r(f(e,o.renderer.globalAnimation,!0)),g((function(){c(n,"afterScroll",{currentPage:s})}),e.duration||0))},e}();return(/Trident\/7\.0/.test(y.navigator&&y.navigator.userAgent)||v)&&e(M.prototype,"positionItem",(function(t,e){var n=this,r=function(){e._legendItemPos&&t.call(n,e)};r(),n.bubbleLegend||setTimeout(r)})),t.Legend=M,t.Legend})),e(n,"parts/Chart.js",[n["parts/Axis.js"],n["parts/Globals.js"],n["parts/Legend.js"],n["parts/MSPointer.js"],n["parts/Options.js"],n["parts/Pointer.js"],n["parts/Time.js"],n["parts/Utilities.js"]],(function(t,e,n,r,o,i,a,s){var c=e.charts,u=e.doc,l=e.seriesTypes,d=e.win,f=o.defaultOptions,h=s.addEvent,p=s.animate,m=s.animObject,g=s.attr,v=s.createElement,b=s.css,y=s.defined,M=s.discardElement,_=s.erase,w=s.error,x=s.extend,A=s.find,L=s.fireEvent,T=s.getStyle,k=s.isArray,S=s.isFunction,O=s.isNumber,C=s.isObject,z=s.isString,D=s.merge,E=s.numberFormat,N=s.objectEach,B=s.pick,P=s.pInt,R=s.relativeLength,Y=s.removeEvent,W=s.setAnimation,H=s.splat,q=s.syncTimeout,I=s.uniqueKey,j=e.marginNames,X=function(){function o(t,e,n){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.getArgs(t,e,n)}return o.prototype.getArgs=function(t,e,n){z(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},o.prototype.init=function(t,n){var r,o=t.series,i=t.plotOptions||{};L(this,"init",{args:arguments},(function(){t.series=null;var s=(r=D(f,t)).chart||{};N(r.plotOptions,(function(t,e){C(t)&&(t.tooltip=i[e]&&D(i[e].tooltip)||void 0)})),r.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,r.series=t.series=o,this.userOptions=t;var u=s.events;this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=n,this.isResizing=0,this.options=r,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new a(t.time):e.time,this.numberFormatter=s.numberFormatter||E,this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes;var l=this;l.index=c.length,c.push(l),e.chartCount++,u&&N(u,(function(t,e){S(t)&&h(l,e,t)})),l.xAxis=[],l.yAxis=[],l.pointCount=l.colorCounter=l.symbolCounter=0,L(l,"afterInit"),l.firstRender()}))},o.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=l[e];return n||w(17,!0,this,{missingModuleFor:e}),(e=new n).init(this,t),e},o.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},o.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},o.prototype.orderSeries=function(t){var e=this.series;for(t=t||0;t<e.length;t++)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},o.prototype.isInsidePlot=function(t,e,n){var r=n?e:t;return r={x:r,y:t=n?t:e,isInsidePlot:0<=r&&r<=this.plotWidth&&0<=t&&t<=this.plotHeight},L(this,"afterIsInsidePlot",r),r.isInsidePlot},o.prototype.redraw=function(t){L(this,"beforeRedraw");var e=this,n=e.axes,r=e.series,o=e.pointer,i=e.legend,a=e.userOptions.legend,s=e.isDirtyLegend,c=e.hasCartesianSeries,u=e.isDirtyBox,l=e.renderer,d=l.isHidden(),f=[];for(e.setResponsive&&e.setResponsive(!1),W(!!e.hasRendered&&t,e),d&&e.temporaryDisplay(),e.layOutTitles(),t=r.length;t--;){var h=r[t];if(h.options.stacking){var p=!0;if(h.isDirty){var m=!0;break}}}if(m)for(t=r.length;t--;)(h=r[t]).options.stacking&&(h.isDirty=!0);r.forEach((function(t){t.isDirty&&("point"===t.options.legendType?(t.updateTotals&&t.updateTotals(),s=!0):a&&(a.labelFormatter||a.labelFormat)&&(s=!0)),t.isDirtyData&&L(t,"updatedData")})),s&&i&&i.options.enabled&&(i.render(),e.isDirtyLegend=!1),p&&e.getStacks(),c&&n.forEach((function(t){e.isResizing&&O(t.min)||(t.updateNames(),t.setScale())})),e.getMargins(),c&&(n.forEach((function(t){t.isDirty&&(u=!0)})),n.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,f.push((function(){L(t,"afterSetExtremes",x(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||p)&&t.redraw()}))),u&&e.drawChartBox(),L(e,"predraw"),r.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),o&&o.reset(!0),l.draw(),L(e,"redraw"),L(e,"render"),d&&e.temporaryDisplay(!0),f.forEach((function(t){t.call()}))},o.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}var n,r=this.series,o=A(this.axes,e)||A(this.series,e);for(n=0;!o&&n<r.length;n++)o=A(r[n].points||[],e);return o},o.prototype.getAxes=function(){var e=this,n=this.options,r=n.xAxis=H(n.xAxis||{});n=n.yAxis=H(n.yAxis||{}),L(this,"getAxes"),r.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),r.concat(n).forEach((function(n){new t(e,n)})),L(this,"afterGetAxes")},o.prototype.getSelectedPoints=function(){var t=[];return this.series.forEach((function(e){t=t.concat(e.getPointsCollection().filter((function(t){return B(t.selectedStaging,t.selected)})))})),t},o.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},o.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},o.prototype.applyDescription=function(t,e){var n=this,r="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};r=this.options[t]=D(!this.styledMode&&{style:r},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),r&&!o&&((o=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+t,zIndex:r.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(r.style),this[t]=o)},o.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o=this[t],i=this.options[t],a=i.verticalAlign||"top";if(t="title"===t?-3:"top"===a?e[0]+2:0,o){if(!this.styledMode)var s=i.style.fontSize;s=n.fontMetrics(s,o).b,o.css({width:(i.width||r.width+(i.widthAdjust||0))+"px"});var c=Math.round(o.getBBox(i.useHTML).height);o.align(x({y:"bottom"===a?s:t+s,height:c},i),!1,"spacingBox"),i.floating||("top"===a?e[0]=Math.ceil(e[0]+c):"bottom"===a&&(e[2]=Math.ceil(e[2]+c)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,L(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&B(t,!0)&&this.isDirtyBox&&this.redraw())},o.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;y(e)||(this.containerWidth=T(n,"width")),y(t)||(this.containerHeight=T(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,R(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},o.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(b(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(u.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(u.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,u.body.appendChild(e)),("none"===T(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),b(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==u.body););},o.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},o.prototype.getContainer=function(){var t,n,r=this.options,o=r.chart,i=this.renderTo,a=I();i||(this.renderTo=i=o.renderTo),z(i)&&(this.renderTo=i=u.getElementById(i)),i||w(13,!0,this);var s=P(g(i,"data-highcharts-chart"));O(s)&&c[s]&&c[s].hasRendered&&c[s].destroy(),g(i,"data-highcharts-chart",this.index),i.innerHTML="",o.skipClone||i.offsetWidth||this.temporaryDisplay(),this.getChartSize(),s=this.chartWidth;var l=this.chartHeight;if(b(i,{overflow:"hidden"}),this.styledMode||(t=x({position:"relative",overflow:"hidden",width:s+"px",height:l+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},o.style)),this.container=i=v("div",{id:a},t,i),this._cursor=i.style.cursor,this.renderer=new(e[o.renderer]||e.Renderer)(i,s,l,null,o.forExport,r.exporting&&r.exporting.allowHTML,this.styledMode),W(void 0,this),this.setClassName(o.className),this.styledMode)for(n in r.defs)this.renderer.definition(r.defs[n]);else this.renderer.setStyle(o.style);this.renderer.chartIndex=this.index,L(this,"afterGetContainer")},o.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,r=this.titleOffset;this.resetMargins(),r[0]&&!y(n[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+e[0])),r[2]&&!y(n[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),L(this,"getMargins"),t||this.getAxisMargins()},o.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,r=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):n&&n.length&&o(n),j.forEach((function(n,o){y(r[o])||(t[n]+=e[o])})),t.setChartSize()},o.prototype.reflow=function(t){var e=this,n=e.options.chart,r=e.renderTo,o=y(n.width)&&y(n.height),i=n.width||T(r,"width");n=n.height||T(r,"height"),r=t?t.target:d,o||e.isPrinting||!i||!n||r!==d&&r!==u||(i===e.containerWidth&&n===e.containerHeight||(s.clearTimeout(e.reflowTimeout),e.reflowTimeout=q((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=i,e.containerHeight=n)},o.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=h(d,"resize",(function(t){e.options&&e.reflow(t)})),h(this,"destroy",this.unbindReflow))},o.prototype.setSize=function(t,e,n){var r=this,o=r.renderer;r.isResizing+=1,W(n,r),n=o.globalAnimation,r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,void 0!==t&&(r.options.chart.width=t),void 0!==e&&(r.options.chart.height=e),r.getChartSize(),r.styledMode||(n?p:b)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},n),r.setChartSize(!0),o.setSize(r.chartWidth,r.chartHeight,n),r.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(n),r.oldChartHeight=null,L(r,"resize"),q((function(){r&&L(r,"endResize",null,(function(){--r.isResizing}))}),m(n).duration||0)},o.prototype.setChartSize=function(t){var e,n,r,o,i=this.inverted,a=this.renderer,s=this.chartWidth,c=this.chartHeight,u=this.options.chart,l=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(c-n-this.marginBottom)),this.plotSizeX=i?o:r,this.plotSizeY=i?r:o,this.plotBorderWidth=u.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:c-l[0]-l[2]},this.plotBox=a.plotBox={x:e,y:n,width:r,height:o},s=2*Math.floor(this.plotBorderWidth/2),i=Math.ceil(Math.max(s,d[3])/2),a=Math.ceil(Math.max(s,d[0])/2),this.clipBox={x:i,y:a,width:Math.floor(this.plotSizeX-Math.max(s,d[1])/2-i),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(s,d[2])/2-a))},t||this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),L(this,"afterSetChartSize",{skipAxes:t})},o.prototype.resetMargins=function(){L(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var r=e[n],o=C(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,i){t[n][i]=B(e[n+r],o[i])}))})),j.forEach((function(e,n){t[e]=B(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},o.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,r=this.chartWidth,o=this.chartHeight,i=this.chartBackground,a=this.plotBackground,s=this.plotBorder,c=this.styledMode,u=this.plotBGImage,l=e.backgroundColor,d=e.plotBackgroundColor,f=e.plotBackgroundImage,h=this.plotLeft,p=this.plotTop,m=this.plotWidth,g=this.plotHeight,v=this.plotBox,b=this.clipRect,y=this.clipBox,M="animate";if(i||(this.chartBackground=i=n.rect().addClass("highcharts-background").add(),M="attr"),c)var _=t=i.strokeWidth();else t=(_=e.borderWidth||0)+(e.shadow?8:0),l={fill:l||"none"},(_||i["stroke-width"])&&(l.stroke=e.borderColor,l["stroke-width"]=_),i.attr(l).shadow(e.shadow);i[M]({x:t/2,y:t/2,width:r-t-_%2,height:o-t-_%2,r:e.borderRadius}),M="animate",a||(M="attr",this.plotBackground=a=n.rect().addClass("highcharts-plot-background").add()),a[M](v),c||(a.attr({fill:d||"none"}).shadow(e.plotShadow),f&&(u?(f!==u.attr("href")&&u.attr("href",f),u.animate(v)):this.plotBGImage=n.image(f,h,p,m,g).add())),b?b.animate({width:y.width,height:y.height}):this.clipRect=n.clipRect(y),M="animate",s||(M="attr",this.plotBorder=s=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),c||s.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),s[M](s.crisp({x:h,y:p,width:m,height:g},-s.strokeWidth())),this.isDirtyBox=!1,L(this,"afterDrawChartBox")},o.prototype.propFromSeries=function(){var t,e,n,r=this,o=r.options.chart,i=r.options.series;["inverted","angular","polar"].forEach((function(a){for(t=l[o.type||o.defaultSeriesType],n=o[a]||t&&t.prototype[a],e=i&&i.length;!n&&e--;)(t=l[i[e].type])&&t.prototype[a]&&(n=!0);r[a]=n}))},o.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;z(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=B(e.options.visible,n.options.visible,e.visible))})),L(this,"afterLinkSeries")},o.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},o.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var r=x(e.style,n.style),o=P(r.left)+t.plotLeft,i=P(r.top)+t.plotTop+12;delete r.left,delete r.top,t.renderer.text(n.html,o,i).attr({zIndex:2}).css(r).add()}))},o.prototype.render=function(){var t=this.axes,e=this.colorAxis,r=this.renderer,o=this.options,i=0,a=function(t){t.forEach((function(t){t.visible&&t.render()}))};this.setTitle(),this.legend=new n(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return i=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-i,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var c=1.1<o/this.plotWidth,u=1.05<s/this.plotHeight;(c||u)&&(t.forEach((function(t){(t.horiz&&c||!t.horiz&&u)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?a(t):e&&e.length&&a(e),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.updateContainerScaling(),this.hasRendered=!0},o.prototype.addCredits=function(t){var e=this,n=D(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(d.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},o.prototype.updateContainerScaling=function(){var t=this.container;if(2<t.offsetWidth&&2<t.offsetHeight&&t.getBoundingClientRect){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth;t=e.height/t.offsetHeight,1!==n||1!==t?this.containerScaling={scaleX:n,scaleY:t}:delete this.containerScaling}},o.prototype.destroy=function(){var t,n=this,r=n.axes,o=n.series,i=n.container,a=i&&i.parentNode;for(L(n,"destroy"),n.renderer.forExport?_(c,n):c[n.index]=void 0,e.chartCount--,n.renderTo.removeAttribute("data-highcharts-chart"),Y(n),t=r.length;t--;)r[t]=r[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=o.length;t--;)o[t]=o[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var e=n[t];e&&e.destroy&&(n[t]=e.destroy())})),i&&(i.innerHTML="",Y(i),a&&M(i)),N(n,(function(t,e){delete n[e]}))},o.prototype.firstRender=function(){var t=this,n=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(k(n.series)?n.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),L(t,"beforeRender"),i&&(t.pointer=e.hasTouch||!d.PointerEvent&&!d.MSPointerEvent?new i(t,n):new r(t,n)),t.render(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},o.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),L(this,"load"),L(this,"render"),y(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},o}();return X.prototype.callbacks=[],e.chart=function(t,e,n){return new X(t,e,n)},e.Chart=X})),e(n,"parts/ScrollablePlotArea.js",[n["parts/Chart.js"],n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e,n){var r=n.addEvent,o=n.createElement,i=n.pick,a=n.stop;r(t,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,r=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(r){if(this.scrollablePixelsX=r=Math.max(0,r-this.chartWidth)){this.plotWidth+=r,this.inverted?(this.clipBox.height+=r,this.plotBox.height+=r):(this.clipBox.width+=r,this.plotBox.width+=r);var o={1:{name:"right",value:r}}}}else n&&(this.scrollablePixelsY=r=Math.max(0,n-this.chartHeight))&&(this.plotHeight+=r,this.inverted?(this.clipBox.width+=r,this.plotBox.width+=r):(this.clipBox.height+=r,this.plotBox.height+=r),o={2:{name:"bottom",value:r}});o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var n=o[t.side].name,r=this[n];this[n]=r-o[t.side].value;var i=e.Axis.prototype.getPlotLinePath.apply(this,arguments);return this[n]=r,i}:(t.setAxisSize(),t.setAxisTranslation())}))}})),r(t,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),t.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingContainer=o("div",{className:"highcharts-scrolling"},e,this.renderTo),r(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=o("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},t.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,r=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),r.push(t,t+"-labels"),r.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},t.prototype.applyFixed=function(){var t,n,s=!this.fixedDiv,c=this.options.chart.scrollablePlotArea;s?(this.fixedDiv=o("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:2},null,!0),this.renderTo.insertBefore(this.fixedDiv,this.renderTo.firstChild),this.renderTo.style.overflow="visible",this.fixedRenderer=n=new e.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,null===(t=this.options.chart)||void 0===t?void 0:t.style),this.scrollableMask=n.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":i(c.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),this.moveFixedElements(),r(this,"afterShowResetZoom",this.moveFixedElements),r(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),t=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=t+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:t,height:n,viewBox:[0,0,t,n].join(" ")}),this.chartBackground.attr({width:t,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",s&&(c.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*c.scrollPositionX),c.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*c.scrollPositionY)),n=this.axisOffset,s=this.plotTop-n[0]-1,c=this.plotLeft-n[3]-1,t=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var u=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),l=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);s=this.scrollablePixelsX?[["M",0,s],["L",this.plotLeft-1,s],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",u,s],["L",this.chartWidth,s],["L",this.chartWidth,t],["L",u,t],["Z"]]:this.scrollablePixelsY?[["M",c,0],["L",c,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",c,l],["L",c,this.chartHeight],["L",n,this.chartHeight],["L",n,l],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:s})}})),e(n,"parts/StackingAxis.js",[n["parts/Utilities.js"]],(function(t){var e=t.addEvent,n=t.destroyObjectProperties,r=t.fireEvent,o=t.objectEach,i=t.pick,a=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,o=i(e.options.reversedStacks,!0),a=n.length;if(!e.isXAxis){for(this.usePercentage=!1,t=a;t--;){var s=n[o?t:a-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;t<a;t++)n[t].modifyStacks();r(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;o(t,(function(t){o(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||o(e,(function(e){o(e,(function(n,r){n.touched<t.stacksTouched?(n.destroy(),delete e[r]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis.chart,e=t.renderer,n=this.stacks,r=this.stackTotalGroup=this.stackTotalGroup||e.g("stack-labels").attr({visibility:"visible",zIndex:6}).add();r.translate(t.plotLeft,t.plotTop),o(n,(function(t){o(t,(function(t){t.render(r)}))}))},t}();return function(){function t(){}return t.compose=function(n){e(n,"init",t.onInit),e(n,"destroy",t.onDestroy)},t.onDestroy=function(){var t=this.stacking;if(t){var e=t.stacks;o(e,(function(t,r){n(t),e[r]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}},t.onInit=function(){this.stacking||(this.stacking=new a(this))},t}()})),e(n,"mixins/legend-symbol.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.merge,r=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var n=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-n)/2:0,t.baseline-n+1,o?n:t.symbolWidth,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,o=e.marker,i=t.symbolWidth,a=t.symbolHeight,s=a/2,c=this.chart.renderer,u=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var l={};this.chart.styledMode||(l={"stroke-width":e.lineWidth||0},e.dashStyle&&(l.dashstyle=e.dashStyle)),this.legendLine=c.path(["M",0,t,"L",i,t]).addClass("highcharts-graph").attr(l).add(u),o&&!1!==o.enabled&&i&&(e=Math.min(r(o.radius,s),s),0===this.symbol.indexOf("url")&&(o=n(o,{width:a,height:a}),e=0),this.legendSymbol=o=c.symbol(this.symbol,i/2-e,t-e,2*e,2*e,o).addClass("highcharts-point").add(u),o.isMarker=!0)}},t.LegendSymbolMixin})),e(n,"parts/Point.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.animObject,r=e.defined,o=e.erase,i=e.extend,a=e.fireEvent,s=e.format,c=e.getNestedProperty,u=e.isArray,l=e.isNumber,d=e.isObject,f=e.syncTimeout,h=e.pick,p=e.removeEvent,m=e.uniqueKey;return e=function(){function t(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return t.prototype.animateBeforeDestroy=function(){var t,e=this,n={x:e.startXPos,opacity:0},r=e.getGraphicalProps();r.singular.forEach((function(r){t="dataLabel"===r,e[r]=e[r].animate(t?{x:e[r].startXPos,y:e[r].startYPos,opacity:0}:n)})),r.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(i({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,n){var r=this.series,o=r.options.pointValKey||r.pointValKey;return e=t.prototype.optionsToObject.call(this,e),i(this,e),this.options=this.options?i(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,o&&(this.y=t.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=h(this.isValid&&!this.isValid(),null===this.x||!l(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),void 0===this.x&&r&&(this.x=void 0===n?r.autoIncrement(this):n),this},t.prototype.destroy=function(){function t(){for(a in(e.graphic||e.dataLabel||e.dataLabels)&&(p(e),e.destroyElements()),e)e[a]=null}var e=this,r=e.series,i=r.chart;r=r.options.dataSorting;var a,s=i.hoverPoints,c=n(e.series.chart.renderer.globalAnimation);e.legendItem&&i.legend.destroyItem(e),s&&(e.setState(),o(s,e),s.length||(i.hoverPoints=null)),e===i.hoverPoint&&e.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),f(t,c.duration)):t(),i.pointCount--},t.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},t.prototype.firePointEvent=function(t,e,n){var r=this,o=this.series.options;(o.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&r.importEvents(),"click"===t&&o.allowPointSelect&&(n=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),a(r,t,e,n)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},t.prototype.getGraphicalProps=function(t){var e,n=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","shadowGroup"),t.dataLabel&&r.push("dataLabel","dataLabelUpper","connector"),e=r.length;e--;){var i=r[e];n[i]&&o.singular.push(i)}return["dataLabel","connector"].forEach((function(e){var r=e+"s";t[e]&&n[r]&&o.plural.push(r)})),o},t.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},t.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?c(t,this.options):this[t]},t.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,r=0;for(n=e[r];this[t]>=n.value;)n=e[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=r(this.id)?this.id:m(),this.resolveColor(),t.chart.pointCount++,a(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var n={},r=this.series,o=r.options.keys,i=o||r.pointArrayMap||["y"],a=i.length,s=0,c=0;if(l(e)||null===e)n[i[0]]=e;else if(u(e))for(!o&&e.length>a&&("string"===(r=typeof e[0])?n.name=e[0]:"number"===r&&(n.x=e[0]),s++);c<a;)o&&void 0===e[s]||(0<i[c].indexOf(".")?t.prototype.setNestedProperty(n,e[s],i[c]):n[i[c]]=e[s]),s++,c++;else"object"==typeof e&&(n=e,e.dataLabels&&(r._hasPointLabels=!0),e.marker&&(r._hasPointMarkers=!0));return n},t.prototype.resolveColor=function(){var t=this.series,e=t.chart.options.chart.colorCount,n=t.chart.styledMode;delete this.nonZonedColor,n||this.options.color||(this.color=t.color),t.options.colorByPoint?(n||(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter],e=e.length),n=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)):n=t.colorIndex,this.colorIndex=h(this.colorIndex,n)},t.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,r,o){return t[n]=o.length-1===r?e:d(t[n],!0)?t[n]:{},t[n]}),t),t},t.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,r=h(n.valueDecimals,""),o=n.valuePrefix||"",i=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(o||i)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+i)),t=t.replace(RegExp(e+"}","g"),e+":,."+r+"f}")})),s(t,{point:this,series:this.series},e.chart)},t}(),t.Point=e})),e(n,"parts/Series.js",[n["parts/Globals.js"],n["mixins/legend-symbol.js"],n["parts/Options.js"],n["parts/Point.js"],n["parts/SVGElement.js"],n["parts/Utilities.js"]],(function(t,e,n,r,o,i){var a=n.defaultOptions,s=i.addEvent,c=i.animObject,u=i.arrayMax,l=i.arrayMin,d=i.clamp,f=i.correctFloat,h=i.defined,p=i.erase,m=i.error,g=i.extend,v=i.find,b=i.fireEvent,y=i.getNestedProperty,M=i.isArray,_=i.isFunction,w=i.isNumber,x=i.isString,A=i.merge,L=i.objectEach,T=i.pick,k=i.removeEvent;n=i.seriesType;var S=i.splat,O=i.syncTimeout,C=t.seriesTypes,z=t.win;t.Series=n("line",null,{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,eventsToUnbind:[],isCartesian:!0,parallelArrays:["x","y"],pointClass:r,requireSorting:!0,sorted:!0,init:function(t,e){b(this,"init",{options:e});var n,r=this,o=t.series;this.eventOptions=this.eventOptions||{},r.chart=t,r.options=e=r.setOptions(e),r.linkedSeries=[],r.bindAxes(),g(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected});var i=e.events;L(i,(function(t,e){_(t)&&r.eventOptions[e]!==t&&(_(r.eventOptions[e])&&k(r,e,r.eventOptions[e]),r.eventOptions[e]=t,s(r,e,t))})),(i&&i.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(n=o[o.length-1]),r._i=T(n&&n._i,-1)+1,r.opacity=r.options.opacity,t.orderSeries(this.insert(o)),e.dataSorting&&e.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(e.data,!1),b(this,"afterInit")},is:function(t){return C[t]&&this instanceof C[t]},insert:function(t){var e,n=this.options.index;if(w(n)){for(e=t.length;e--;)if(n>=T(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return T(e,t.length-1)},bindAxes:function(){var t,e=this,n=e.options,r=e.chart;b(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){r[o].forEach((function(r){t=r.options,(n[o]===t.index||void 0!==n[o]&&n[o]===t.id||void 0===n[o]&&0===t.index)&&(e.insert(r.series),e[o]=r,r.isDirty=!0)})),e[o]||e.optionalAxis===o||m(18,!0,r)}))})),b(this,"afterBindAxes")},updateParallelArrays:function(t,e){var n=t.series,r=arguments,o=w(e)?function(r){var o="y"===r&&n.toYData?n.toYData(t):t[r];n[r+"Data"][e]=o}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(r,2))};n.parallelArrays.forEach(o)},hasData:function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},autoIncrement:function(){var t,e=this.options,n=this.xIncrement,r=e.pointIntervalUnit,o=this.chart.time;return n=T(n,e.pointStart,0),this.pointInterval=t=T(this.pointInterval,e.pointInterval,1),r&&(e=new o.Date(n),"day"===r?o.set("Date",e,o.get("Date",e)+t):"month"===r?o.set("Month",e,o.get("Month",e)+t):"year"===r&&o.set("FullYear",e,o.get("FullYear",e)+t),t=e.getTime()-n),this.xIncrement=n+t,n},setDataSortingOptions:function(){var t=this.options;g(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),h(t.pointRange)||(t.pointRange=1)},setOptions:function(t){var e=this.chart,n=e.options,r=n.plotOptions,o=e.userOptions||{};t=A(t),e=e.styledMode;var i={plotOptions:r,userOptions:t};b(this,"setOptions",i);var s=i.plotOptions[this.type],c=o.plotOptions||{};return this.userOptions=i.userOptions,o=A(s,r.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=A(a.tooltip,a.plotOptions.series&&a.plotOptions.series.tooltip,a.plotOptions[this.type].tooltip,n.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,t.tooltip),this.stickyTracking=T(t.stickyTracking,c[this.type]&&c[this.type].stickyTracking,c.series&&c.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===s.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,n=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(r={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(r.color=o.negativeColor,r.fillColor=o.negativeFillColor),n.push(r)),n.length&&h(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),b(this,"afterSetOptions",{options:o}),o},getName:function(){return T(this.options.name,"Series "+(this.index+1))},getCyclic:function(t,e,n){var r=this.chart,o=this.userOptions,i=t+"Index",a=t+"Counter",s=n?n.length:T(r.options.chart[t+"Count"],r[t+"Count"]);if(!e){var c=T(o[i],o["_"+i]);h(c)||(r.series.length||(r[a]=0),o["_"+i]=c=r[a]%s,r[a]+=1),n&&(e=n[c])}void 0!==c&&(this[i]=c),this[t]=e},getColor:function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||a.plotOptions[this.type].color,this.chart.options.colors)},getPointsCollection:function(){return(this.hasGroupedData?this.points:this.data)||[]},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},findPointIndex:function(t,e){var n,r=t.id,o=t.x,i=this.points,a=this.options.dataSorting;if(r)var s=this.chart.get(r);else if(this.linkedParent||this.enabledDataSorting){var c=a&&a.matchByName?"name":"index";if(!(s=v(i,(function(e){return!e.touched&&e[c]===t[c]}))))return}if(s){var u=s&&s.index;void 0!==u&&(n=!0)}return void 0===u&&w(o)&&(u=this.xData.indexOf(o,e)),-1!==u&&void 0!==u&&this.cropped&&(u=u>=this.cropStart?u-this.cropStart:u),!n&&i[u]&&i[u].touched&&(u=void 0),u},drawLegendSymbol:e.drawLineMarker,updateData:function(t,e){var n,r,o,i=this.options,a=i.dataSorting,s=this.points,c=[],l=this.requireSorting,d=t.length===s.length,f=!0;if(this.xIncrement=null,t.forEach((function(t,e){var r=h(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=r.x;r.id||w(u)?(-1===(u=this.findPointIndex(r,o))||void 0===u?c.push(t):s[u]&&t!==i.data[u]?(s[u].update(t,!1,null,!1),s[u].touched=!0,l&&(o=u+1)):s[u]&&(s[u].touched=!0),(!d||e!==u||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)}),this),n)for(t=s.length;t--;)(r=s[t])&&!r.touched&&r.remove&&r.remove(!1,e);else!d||a&&a.enabled?f=!1:(t.forEach((function(t,e){s[e].update&&t!==s[e].y&&s[e].update(t,!1,null,!1)})),c.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!f&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=u(this.xData),this.autoIncrement()),!0)},setData:function(t,e,n,r){var o,i=this,a=i.points,s=a&&a.length||0,c=i.options,u=i.chart,l=c.dataSorting,d=null,f=i.xAxis;d=c.turboThreshold;var h,p=this.xData,g=this.yData,v=(o=i.pointArrayMap)&&o.length,b=c.keys,y=0,_=1;if(o=(t=t||[]).length,e=T(e,!0),l&&l.enabled&&(t=this.sortData(t)),!1!==r&&o&&s&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.isSeriesBoosting&&(h=this.updateData(t,n)),!h){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(t){i[t+"Data"].length=0})),d&&o>d)if(d=i.getFirstValidPoint(t),w(d))for(n=0;n<o;n++)p[n]=this.autoIncrement(),g[n]=t[n];else if(M(d))if(v)for(n=0;n<o;n++)r=t[n],p[n]=r[0],g[n]=r.slice(1,v+1);else for(b&&(y=0<=(y=b.indexOf("x"))?y:0,_=0<=(_=b.indexOf("y"))?_:1),n=0;n<o;n++)r=t[n],p[n]=r[y],g[n]=r[_];else m(12,!1,u);else for(n=0;n<o;n++)void 0!==t[n]&&(r={series:i},i.pointClass.prototype.applyOptions.apply(r,[t[n]]),i.updateParallelArrays(r,n));for(g&&x(g[0])&&m(14,!0,u),i.data=[],i.options.data=i.userOptions.data=t,n=s;n--;)a[n]&&a[n].destroy&&a[n].destroy();f&&(f.minRange=f.userMinRange),i.isDirty=u.isDirtyBox=!0,i.isDirtyData=!!a,n=!1}"point"===c.legendType&&(this.processData(),this.generatePoints()),e&&u.redraw(n)},sortData:function(t){var e=this,n=e.options.dataSorting.sortKey||"y",r=function(t,e){return h(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,o){t[o]=r(e,n),t[o].index=o}),this),t.concat().sort((function(t,e){return t=y(n,t),(e=y(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,o=n.data;n.dataSorting&&n.dataSorting.enabled||!o||(o.forEach((function(n,i){o[i]=r(e,n),t[i]&&(o[i].x=t[i].x,o[i].index=i)})),e.setData(o,!1))})),t},getProcessedData:function(t){var e=this.xData,n=this.yData,r=e.length,o=0,i=this.xAxis,a=this.options,s=a.cropThreshold,c=t||this.getExtremesFromAll||a.getExtremesFromAll,u=this.isCartesian;t=i&&i.val2lin,a=!(!i||!i.logarithmic);var l=this.requireSorting;if(i)var d=(i=i.getExtremes()).min,f=i.max;if(u&&this.sorted&&!c&&(!s||r>s||this.forceCrop))if(e[r-1]<d||e[0]>f)e=[],n=[];else if(this.yData&&(e[0]<d||e[r-1]>f)){e=(o=this.cropData(this.xData,this.yData,d,f)).xData,n=o.yData,o=o.start;var h=!0}for(s=e.length||1;--s;)if(0<(r=a?t(e[s])-t(e[s-1]):e[s]-e[s-1])&&(void 0===p||r<p))var p=r;else 0>r&&l&&(m(15,!1,this.chart),l=!1);return{xData:e,yData:n,cropped:h,cropStart:o,closestPointRange:p}},processData:function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},cropData:function(t,e,n,r,o){var i,a=t.length,s=0,c=a;for(o=T(o,this.cropShoulder),i=0;i<a;i++)if(t[i]>=n){s=Math.max(0,i-o);break}for(n=i;n<a;n++)if(t[n]>r){c=n+o;break}return{xData:t.slice(s,c),yData:e.slice(s,c),start:s,end:c}},generatePoints:function(){var t,e=this.options,n=e.data,r=this.data,o=this.processedXData,i=this.processedYData,a=this.pointClass,s=o.length,c=this.cropStart||0,u=this.hasGroupedData;e=e.keys;var l,d=[];for(r||u||((r=[]).length=n.length,r=this.data=r),e&&u&&(this.options.keys=!1),l=0;l<s;l++){var f=c+l;if(u){var h=(new a).init(this,[o[l]].concat(S(i[l])));h.dataGroup=this.groupMap[l],h.dataGroup.options&&(h.options=h.dataGroup.options,g(h,h.dataGroup.options),delete h.dataLabels)}else(h=r[f])||void 0===n[f]||(r[f]=h=(new a).init(this,n[f],o[l]));h&&(h.index=f,d[l]=h)}if(this.options.keys=e,r&&(s!==(t=r.length)||u))for(l=0;l<t;l++)l!==c||u||(l+=s),r[l]&&(r[l].destroyElements(),r[l].plotX=void 0);this.data=r,this.points=d,b(this,"afterGeneratePoints")},getXExtremes:function(t){return{min:l(t),max:u(t)}},getExtremes:function(t,e){var n,r=this.xAxis,o=this.yAxis,i=this.processedXData||this.xData,a=[],s=0,c=0,d=0,f=this.requireSorting?this.cropShoulder:0,h=!!o&&o.positiveValuesOnly;for(o=(t=t||this.stackedYData||this.processedYData||[]).length,r&&(c=(d=r.getExtremes()).min,d=d.max),n=0;n<o;n++){var p=i[n],m=t[n],g=(w(m)||M(m))&&(m.length||0<m||!h);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!r||(i[n+f]||p)>=c&&(i[n-f]||p)<=d,g&&p)if(g=m.length)for(;g--;)w(m[g])&&(a[s++]=m[g]);else a[s++]=m}return t={dataMin:l(a),dataMax:u(a)},b(this,"afterGetExtremes",{dataExtremes:t}),t},applyExtremes:function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},getFirstValidPoint:function(t){for(var e=null,n=t.length,r=0;null===e&&r<n;)e=t[r],r++;return e},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,r=n.stacking,o=this.xAxis,i=o.categories,a=this.enabledDataSorting,s=this.yAxis,c=this.points,u=c.length,l=!!this.modifyValue,p=this.pointPlacementToXValue(),m=!!p,g=n.threshold,v=n.startFromThreshold?g:0,y=this.zoneAxis||"y",_=Number.MAX_VALUE;for(t=0;t<u;t++){var x=c[t],A=x.x,L=x.y,k=x.low,S=r&&s.stacking&&s.stacking.stacks[(this.negStacks&&L<(v?0:g)?"-":"")+this.stackKey];if(s.positiveValuesOnly&&null!==L&&0>=L&&(x.isNull=!0),x.plotX=e=f(d(o.translate(A,0,0,0,1,p,"flags"===this.type),-1e5,1e5)),r&&this.visible&&S&&S[A]){var O=this.getStackIndicator(O,A,this.index);if(!x.isNull)var C=S[A],z=C.points[O.key]}if(M(z)&&(k=z[0],L=z[1],k===v&&O.key===S[A].base&&(k=T(w(g)&&g,s.min)),s.positiveValuesOnly&&0>=k&&(k=null),x.total=x.stackTotal=C.total,x.percentage=C.total&&x.y/C.total*100,x.stackY=L,this.irregularWidths||C.setOffset(this.pointXOffset||0,this.barW||0)),x.yBottom=h(k)?d(s.translate(k,0,1,0,1),-1e5,1e5):null,l&&(L=this.modifyValue(L,x)),x.plotY="number"==typeof L&&1/0!==L?d(s.translate(L,0,1,0,1),-1e5,1e5):void 0,x.isInside=this.isPointInside(x),x.clientX=m?f(o.translate(A,0,0,0,1,p)):e,x.negative=x[y]<(n[y+"Threshold"]||g||0),x.category=i&&void 0!==i[x.x]?i[x.x]:x.x,!x.isNull&&!1!==x.visible){void 0!==D&&(_=Math.min(_,Math.abs(e-D)));var D=e}x.zone=this.zones.length&&x.getZone(),!x.graphic&&this.group&&a&&(x.isNew=!0)}this.closestPointRangePx=_,b(this,"afterTranslate")},getValidPoints:function(t,e,n){var r=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!r.isInsidePlot(t.plotX,t.plotY,r.inverted))&&(!1!==t.visible&&(n||!t.isNull))}))},getClipBox:function(t,e){var n=this.options,r=this.chart,o=r.inverted,i=this.xAxis,a=i&&this.yAxis,s=r.options.chart.scrollablePlotArea||{};return t&&!1===n.clip&&a?t=o?{y:-r.chartWidth+a.len+a.pos,height:r.chartWidth,width:r.chartHeight,x:-r.chartHeight+i.len+i.pos}:{y:-a.pos,height:r.chartHeight,width:r.chartWidth,x:-i.pos}:(t=this.clipBox||r.clipBox,e&&(t.width=r.plotSizeX,t.x=(r.scrollablePixelsX||0)*(s.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},setClip:function(t){var e=this.chart,n=this.options,r=e.renderer,o=e.inverted,i=this.clipBox,a=this.getClipBox(t),s=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,a.height,n.xAxis,n.yAxis].join(),c=e[s],u=e[s+"m"];t&&(a.width=0,o&&(a.x=e.plotHeight+(!1!==n.clip?0:e.plotTop))),c?e.hasLoaded||c.attr(a):(t&&(e[s+"m"]=u=r.clipRect(o?e.plotSizeX+99:-99,o?-e.plotLeft:-e.plotTop,99,o?e.chartWidth:e.chartHeight)),e[s]=c=r.clipRect(a),c.count={length:0}),t&&!c.count[this.index]&&(c.count[this.index]=!0,c.count.length+=1),(!1!==n.clip||t)&&(this.group.clip(t||i?c:e.clipRect),this.markerGroup.clip(u),this.sharedClipKey=s),t||(c.count[this.index]&&(delete c.count[this.index],--c.count.length),0===c.count.length&&s&&e[s]&&(i||(e[s]=e[s].destroy()),e[s+"m"]&&(e[s+"m"]=e[s+"m"].destroy())))},animate:function(t){var e=this.chart,n=c(this.options.animation);if(!e.hasRendered)if(t)this.setClip(n);else{var r=this.sharedClipKey;t=e[r];var o=this.getClipBox(n,!0);t&&t.animate(o,n),e[r+"m"]&&e[r+"m"].animate({width:o.width+99,x:o.x-(e.inverted?0:99)},n)}},afterAnimate:function(){this.setClip(),b(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,n=this.points,r=this.chart,o=this.options.marker,i=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=T(o.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<n.length;t++){var c=n[t],u=(e=c.graphic)?"animate":"attr",l=c.marker||{},d=!!c.marker;if((s&&void 0===l.enabled||l.enabled)&&!c.isNull&&!1!==c.visible){var f=T(l.symbol,this.symbol),h=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=a.reversed?-h.width:a.width);var p=!1!==c.isInside;e?e[p?"show":"hide"](p).animate(h):p&&(0<h.width||c.hasImage)&&(c.graphic=e=r.renderer.symbol(f,h.x,h.y,h.width,h.height,d?l:o).add(i),this.enabledDataSorting&&r.hasRendered&&(e.attr({x:c.startXPos}),u="animate")),e&&"animate"===u&&e[p?"show":"hide"](p).animate(h),e&&!r.styledMode&&e[u](this.pointAttribs(c,c.selected&&"select")),e&&e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}},markerAttribs:function(t,e){var n=this.options,r=n.marker,o=t.marker||{},i=o.symbol||r.symbol,a=T(o.radius,r.radius);return e&&(r=r.states[e],e=o.states&&o.states[e],a=T(e&&e.radius,r&&r.radius,a+(r&&r.radiusPlus||0))),t.hasImage=i&&0===i.indexOf("url"),t.hasImage&&(a=0),t={x:n.crisp?Math.floor(t.plotX)-a:t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},pointAttribs:function(t,e){var n=this.options.marker,r=t&&t.options,o=r&&r.marker||{},i=this.color,a=r&&r.color,s=t&&t.color;r=T(o.lineWidth,n.lineWidth);var c=t&&t.zone&&t.zone.color;return t=1,i=a||c||s||i,a=o.fillColor||n.fillColor||i,i=o.lineColor||n.lineColor||i,e=e||"normal",n=n.states[e],e=o.states&&o.states[e]||{},r=T(e.lineWidth,n.lineWidth,r+T(e.lineWidthPlus,n.lineWidthPlus,0)),a=e.fillColor||n.fillColor||a,{stroke:i=e.lineColor||n.lineColor||i,"stroke-width":r,fill:a,opacity:t=T(e.opacity,n.opacity,t)}},destroy:function(t){var e,n,r,a=this,s=a.chart,c=/AppleWebKit\/533/.test(z.navigator.userAgent),u=a.data||[];for(b(a,"destroy"),this.removeEvents(t),(a.axisTypes||[]).forEach((function(t){(r=a[t])&&r.series&&(p(r.series,a),r.isDirty=r.forceRedraw=!0)})),a.legendItem&&a.chart.legend.destroyItem(a),e=u.length;e--;)(n=u[e])&&n.destroy&&n.destroy();a.points=null,i.clearTimeout(a.animationTimeout),L(a,(function(t,e){t instanceof o&&!t.survive&&t[c&&"group"===e?"hide":"destroy"]()})),s.hoverSeries===a&&(s.hoverSeries=null),p(s.series,a),s.orderSeries(),L(a,(function(e,n){t&&"hcEvents"===n||delete a[n]}))},getGraphPath:function(t,e,n){var r,o,i=this,a=i.options,s=a.step,c=[],u=[];return(r=(t=t||i.points).reversed)&&t.reverse(),(s={right:1,center:2}[s]||s&&3)&&r&&(s=4-s),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(r,l){var d=r.plotX,f=r.plotY,p=t[l-1];(r.leftCliff||p&&p.rightCliff)&&!n&&(o=!0),r.isNull&&!h(e)&&0<l?o=!a.connectNulls:r.isNull&&!e?o=!0:(0===l||o?l=[["M",r.plotX,r.plotY]]:i.getPointSpline?l=[i.getPointSpline(t,r,l)]:s?(l=1===s?[["L",p.plotX,f]]:2===s?[["L",(p.plotX+d)/2,p.plotY],["L",(p.plotX+d)/2,f]]:[["L",d,p.plotY]]).push(["L",d,f]):l=[["L",d,f]],u.push(r.x),s&&(u.push(r.x),2===s&&u.push(r.x)),c.push.apply(c,l),o=!1)})),c.xMap=u,i.graphPath=c},drawGraph:function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),r=this.chart.styledMode,o=[["graph","highcharts-graph"]];r||o[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(o=t.getZonesGraphs(o)).forEach((function(o,i){var a=o[0],s=t[a],c=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(o[1]).attr({zIndex:1}).add(t.group)),s&&!r&&(a={stroke:o[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},o[3]?a.dashstyle=o[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[c](a).shadow(2>i&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},getZonesGraphs:function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},applyZones:function(){var t,e,n,r,o,i,a,s,c=this,u=this.chart,l=u.renderer,f=this.zones,h=this.clips||[],p=this.graph,m=this.area,g=Math.max(u.chartWidth,u.chartHeight),v=this[(this.zoneAxis||"y")+"Axis"],b=u.inverted,y=!1;if(f.length&&(p||m)&&v&&void 0!==v.min){var M=v.reversed,_=v.horiz;p&&!this.showLine&&p.hide(),m&&m.hide();var w=v.getExtremes();f.forEach((function(f,x){t=M?_?u.plotWidth:0:_?0:v.toPixels(w.min)||0,t=d(T(e,t),0,g),e=d(Math.round(v.toPixels(T(f.value,w.max),!0)||0),0,g),y&&(t=e=v.toPixels(w.max)),r=Math.abs(t-e),o=Math.min(t,e),i=Math.max(t,e),v.isXAxis?(n={x:b?i:o,y:0,width:r,height:g},_||(n.x=u.plotHeight-n.x)):(n={x:0,y:b?i:o,width:g,height:r},_&&(n.y=u.plotWidth-n.y)),b&&l.isVML&&(n=v.isXAxis?{x:0,y:M?o:i,height:n.width,width:u.chartWidth}:{x:n.y-u.plotLeft-u.spacingBox.x,y:0,width:n.height,height:u.chartHeight}),h[x]?h[x].animate(n):h[x]=l.clipRect(n),a=c["zone-area-"+x],s=c["zone-graph-"+x],p&&s&&s.clip(h[x]),m&&a&&a.clip(h[x]),y=f.value>w.max,c.resetZones&&0===e&&(e=void 0)})),this.clips=h}else c.visible&&(p&&p.show(!0),m&&m.show(!0))},invertGroups:function(t){function e(){["group","markerGroup"].forEach((function(e){n[e]&&(r.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))}))}var n=this,r=n.chart;n.xAxis&&(n.eventsToUnbind.push(s(r,"resize",e)),e(),n.invertGroups=e)},plotGroup:function(t,e,n,r,o){var i=this[t],a=!i;return n={visibility:n,zIndex:r||.1},void 0===this.opacity||this.chart.styledMode||(n.opacity=this.opacity),a&&(this[t]=i=this.chart.renderer.g().add(o)),i.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(h(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(i.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),i.attr(n)[a?"attr":"animate"](this.getPlotBox()),i},getPlotBox:function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},removeEvents:function(t){t?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0):k(this)},render:function(){var t=this,e=t.chart,n=t.options,r=!t.finishedAnimating&&e.renderer.isSVG&&c(n.animation).duration,o=t.visible?"inherit":"hidden",i=n.zIndex,a=t.hasRendered,s=e.seriesGroup,u=e.inverted;b(this,"render");var l=t.plotGroup("group","series",o,i,s);t.markerGroup=t.plotGroup("markerGroup","markers",o,i,s),r&&t.animate&&t.animate(!0),l.inverted=!(!t.isCartesian&&!t.invertable)&&u,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(u),!1===n.clip||t.sharedClipKey||a||l.clip(e.clipRect),r&&t.animate&&t.animate(),a||(t.animationTimeout=O((function(){t.afterAnimate()}),r||0)),t.isDirty=!1,t.hasRendered=!0,b(t,"afterRender")},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,o=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:T(r&&r.left,t.plotLeft),translateY:T(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var n=this.xAxis,r=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:o?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)},buildKDTree:function(t){this.buildingKdTree=!0;var e=this,n=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,O((function(){e.kdTree=function t(n,r,o){var i;if(i=n&&n.length){var a=e.kdAxisArray[r%o];return n.sort((function(t,e){return t[a]-e[a]})),{point:n[i=Math.floor(i/2)],left:t(n.slice(0,i),r+1,o),right:t(n.slice(i+1),r+1,o)}}}(e.getValidPoints(null,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},searchKDTree:function(t,e,n){var r=this,o=this.kdAxisArray[0],i=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<r.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,c){var u=n.point,l=r.kdAxisArray[s%c],d=u,f=h(e[o])&&h(u[o])?Math.pow(e[o]-u[o],2):null,p=h(e[i])&&h(u[i])?Math.pow(e[i]-u[i],2):null;return p=(f||0)+(p||0),u.dist=h(p)?Math.sqrt(p):Number.MAX_VALUE,u.distX=h(f)?Math.sqrt(f):Number.MAX_VALUE,f=0>(l=e[l]-u[l])?"right":"left",n[p=0>l?"left":"right"]&&(d=(p=t(e,n[p],s+1,c))[a]<d[a]?p:u),n[f]&&Math.sqrt(l*l)<d[a]&&(d=(e=t(e,n[f],s+1,c))[a]<d[a]?e:d),d}(t,this.kdTree,e,e)},pointPlacementToXValue:function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),w(t)?t*T(e,n.pointRange):0},isPointInside:function(t){return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=this.yAxis.len&&0<=t.plotX&&t.plotX<=this.xAxis.len}})})),e(n,"parts/Stacking.js",[n["parts/Axis.js"],n["parts/Chart.js"],n["parts/Globals.js"],n["parts/StackingAxis.js"],n["parts/Utilities.js"]],(function(t,e,n,r,o){var i=o.correctFloat,a=o.defined,s=o.destroyObjectProperties,c=o.format,u=o.isNumber,l=o.pick,d=n.Series,f=function(){function t(t,e,n,r,o){var i=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e=e||{},this.x=r,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(i?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(i?"middle":n?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(i?n?"right":"left":"center")}return t.prototype.destroy=function(){s(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,r=n.format;r=r?c(r,this,e):n.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),r={r:n.borderRadius||0,text:r,rotation:n.rotation,padding:l(n.padding,5),visibility:"hidden"},e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotHeight},t.prototype.setOffset=function(t,e,n,r,o){var i=this.axis,s=i.chart;r=i.translate(i.stacking.usePercentage?100:r||this.total,0,0,0,1),n=i.translate(n||0),n=a(r)&&Math.abs(r-n),t=l(o,s.xAxis[0].translate(this.x))+t,i=a(r)&&this.getStackBox(s,this,t,r,e,n,i),e=this.label,n=this.isNegative,t="justify"===l(this.options.overflow,"justify");var c=this.textAlign;e&&i&&(o=e.getBBox(),r=e.padding,c="left"===c?s.inverted?-r:r:"right"===c?o.width:s.inverted&&"center"===c?o.width/2:s.inverted?n?o.width+r:-r:o.width/2,n=s.inverted?o.height/2:n?-r:o.height,this.alignOptions.x=l(this.options.x,0),this.alignOptions.y=l(this.options.y,0),i.x-=c,i.y-=n,e.align(this.alignOptions,null,i),s.isInsidePlot(e.alignAttr.x+c-this.alignOptions.x,e.alignAttr.y+n-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&d.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,i),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),l(!t&&this.options.crop,!0)&&((s=u(e.x)&&u(e.y)&&s.isInsidePlot(e.x-r+e.width,e.y)&&s.isInsidePlot(e.x+r,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,n,r,o,i,a){var s=e.axis.reversed,c=t.inverted,u=a.height+a.pos-(c?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:c?e?r-a.right:r-i+a.pos-t.plotLeft:n+t.xAxis[0].transB-t.plotLeft,y:c?a.height-n-o:e?u-r-i:u-r,width:c?i:o,height:c?o:i}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var r=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,l(n.options.stack,""),e?r.top:r.left,e?r.height:r.width].join())}))},r.compose(t),d.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&d.prototype.setStackedPoints.call(this,"group")},d.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,r=this.processedYData,o=[],s=r.length,c=this.options,u=c.threshold,d=l(c.startFromThreshold&&u,0);c=c.stack;var h,p,m="-"+(t=t?this.type+","+e:this.stackKey),g=this.negStacks,v=this.yAxis,b=v.stacking.stacks,y=v.stacking.oldStacks;for(v.stacking.stacksTouched+=1,p=0;p<s;p++){var M=n[p],_=r[p],w=this.getStackIndicator(w,M,this.index),x=w.key,A=(h=g&&_<(d?0:u))?m:t;b[A]||(b[A]={}),b[A][M]||(y[A]&&y[A][M]?(b[A][M]=y[A][M],b[A][M].total=null):b[A][M]=new f(v,v.options.stackLabels,h,M,c)),A=b[A][M],null!==_?(A.points[x]=A.points[this.index]=[l(A.cumulative,d)],a(A.cumulative)||(A.base=x),A.touched=v.stacking.stacksTouched,0<w.index&&!1===this.singleStacks&&(A.points[x][0]=A.points[this.index+","+M+",0"][0])):A.points[x]=A.points[this.index]=null,"percent"===e?(h=h?t:m,g&&b[h]&&b[h][M]?(h=b[h][M],A.total=h.total=Math.max(h.total,A.total)+Math.abs(_)||0):A.total=i(A.total+(Math.abs(_)||0))):"group"===e?null!==_&&(A.total=(A.total||0)+1):A.total=i(A.total+(_||0)),A.cumulative="group"===e?(A.total||1)-1:l(A.cumulative,d)+(_||0),null!==_&&(A.points[x].push(A.cumulative),o[p]=A.cumulative,A.hasValidPoints=!0)}"percent"===e&&(v.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),v.stacking.oldStacks={}}},d.prototype.modifyStacks=function(){var t,e=this,n=e.stackKey,r=e.yAxis.stacking.stacks,o=e.processedXData,i=e.options.stacking;e[i+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var a,s,c=o.length;c--;)a=o[c],t=e.getStackIndicator(t,a,e.index,n),(s=(a=r[n]&&r[n][a])&&a.points[t.key])&&e[i+"Stacker"](s,a,c)}))},d.prototype.percentStacker=function(t,e,n){e=e.total?100/e.total:0,t[0]=i(t[0]*e),t[1]=i(t[1]*e),this.stackedYData[n]=t[1]},d.prototype.getStackIndicator=function(t,e,n,r){return!a(t)||t.x!==e||r&&t.key!==r?t={x:e,index:0,key:r}:t.index++,t.key=[n,e,t.index].join(),t},n.StackItem=f,n.StackItem})),e(n,"parts/Dynamics.js",[n["parts/Axis.js"],n["parts/Chart.js"],n["parts/Globals.js"],n["parts/Options.js"],n["parts/Point.js"],n["parts/Time.js"],n["parts/Utilities.js"]],(function(t,e,n,r,o,i,a){var s=r.time,c=a.addEvent,u=a.animate,l=a.createElement,d=a.css,f=a.defined,h=a.erase,p=a.error,m=a.extend,g=a.fireEvent,v=a.isArray,b=a.isNumber,y=a.isObject,M=a.isString,_=a.merge,w=a.objectEach,x=a.pick,A=a.relativeLength,L=a.setAnimation,T=a.splat;r=n.Series;var k=n.seriesTypes;n.cleanRecursively=function(t,e){var r={};return w(t,(function(o,i){y(t[i],!0)&&!t.nodeType&&e[i]?(o=n.cleanRecursively(t[i],e[i]),Object.keys(o).length&&(r[i]=o)):(y(t[i])||t[i]!==e[i])&&(r[i]=t[i])})),r},m(e.prototype,{addSeries:function(t,e,n){var r,o=this;return t&&(e=x(e,!0),g(o,"addSeries",{options:t},(function(){r=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),r.enabledDataSorting&&r.setData(t.data,!1),g(o,"afterAddSeries",{series:r}),e&&o.redraw(n)}))),r},addAxis:function(t,e,n,r){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:r})},addColorAxis:function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},createAxis:function(e,r){var o=this.options,i="colorAxis"===e,a=r.redraw,s=r.animation;r=_(r.axis,{index:this[e].length,isX:"xAxis"===e});var c=i?new n.ColorAxis(this,r):new t(this,r);return o[e]=T(o[e]||{}),o[e].push(r),i&&(this.isDirtyLegend=!0,this.axes.forEach((function(t){t.series=[]})),this.series.forEach((function(t){t.bindAxes(),t.isDirtyData=!0}))),x(a,!0)&&this.redraw(s),c},showLoading:function(t){var e=this,n=e.options,r=e.loadingDiv,o=n.loading,i=function(){r&&d(r,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};r||(e.loadingDiv=r=l("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container),e.loadingSpan=l("span",{className:"highcharts-loading-inner"},null,r),c(e,"redraw",i)),r.className="highcharts-loading",e.loadingSpan.innerHTML=x(t,n.lang.loading,""),e.styledMode||(d(r,m(o.style,{zIndex:10})),d(e.loadingSpan,o.labelStyle),e.loadingShown||(d(r,{opacity:0,display:""}),u(r,{opacity:o.style.opacity||.5},{duration:o.showDuration||0}))),e.loadingShown=!0,i()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||u(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){d(e,{display:"none"})}})),this.loadingShown=!1},propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" "),collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],update:function(t,e,r,o){var a,c,u,l=this,d={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},h=t.isResponsiveOptions,p=[];if(g(l,"update",{options:t}),h||l.setResponsive(!1,!0),t=n.cleanRecursively(t,l.options),_(!0,l.userOptions,t),a=t.chart){if(_(!0,l.options.chart,a),"className"in a&&l.setClassName(a.className),"reflow"in a&&l.setReflow(a.reflow),"inverted"in a||"polar"in a||"type"in a){l.propFromSeries();var m=!0}"alignTicks"in a&&(m=!0),w(a,(function(t,e){-1!==l.propsRequireUpdateSeries.indexOf("chart."+e)&&(c=!0),-1!==l.propsRequireDirtyBox.indexOf(e)&&(l.isDirtyBox=!0),-1!==l.propsRequireReflow.indexOf(e)&&(h?l.isDirtyBox=!0:u=!0)})),!l.styledMode&&"style"in a&&l.renderer.setStyle(a.style)}!l.styledMode&&t.colors&&(this.options.colors=t.colors),t.plotOptions&&_(!0,this.options.plotOptions,t.plotOptions),t.time&&this.time===s&&(this.time=new i(t.time)),w(t,(function(t,e){l[e]&&"function"==typeof l[e].update?l[e].update(t,!1):"function"==typeof l[d[e]]&&l[d[e]](t),"chart"!==e&&-1!==l.propsRequireUpdateSeries.indexOf(e)&&(c=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){if("series"===e){var n=[];l[e].forEach((function(t,e){t.options.isInternal||n.push(x(t.options.index,e))}))}T(t[e]).forEach((function(t,o){var i,a=f(t.id);a&&(i=l.get(t.id)),i||(i=l[e][n?n[o]:o])&&a&&f(i.options.id)&&(i=void 0),i&&i.coll===e&&(i.update(t,!1),r&&(i.touched=!0)),!i&&r&&l.collectionsWithInit[e]&&(l.collectionsWithInit[e][0].apply(l,[t].concat(l.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),r&&l[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:p.push(t)}))}})),p.forEach((function(t){t.remove&&t.remove(!1)})),m&&l.axes.forEach((function(t){t.update({},!1)})),c&&l.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),t.loading&&_(!0,l.options.loading,t.loading),m=a&&a.width,a=a&&a.height,M(a)&&(a=A(a,m||l.chartWidth)),u||b(m)&&m!==l.chartWidth||b(a)&&a!==l.chartHeight?l.setSize(m,a,o):x(e,!0)&&l.redraw(o),g(l,"afterUpdate",{options:t,redraw:e,animation:o})},setSubtitle:function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},setCaption:function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}}),e.prototype.collectionsWithInit={xAxis:[e.prototype.addAxis,[!0]],yAxis:[e.prototype.addAxis,[!1]],series:[e.prototype.addSeries]},m(o.prototype,{update:function(t,e,n,r){function o(){a.applyOptions(t);var r=c&&a.hasDummyGraphic;r=null===a.y?!r:r,c&&r&&(a.graphic=c.destroy(),delete a.hasDummyGraphic),y(t,!0)&&(c&&c.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=c.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),i=a.index,s.updateParallelArrays(a,i),l.data[i]=y(l.data[i],!0)||y(t,!0)?a.options:x(t,l.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===l.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(n)}var i,a=this,s=a.series,c=a.graphic,u=s.chart,l=s.options;e=x(e,!0),!1===r?o():a.firePointEvent("update",{options:t},o)},remove:function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}}),m(r.prototype,{addPoint:function(t,e,n,r,o){var i=this.options,a=this.data,s=this.chart,c=this.xAxis;c=c&&c.hasNames&&c.names;var u,l=i.data,d=this.xData;e=x(e,!0);var f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);var h=f.x,p=d.length;if(this.requireSorting&&h<d[p-1])for(u=!0;p&&d[p-1]>h;)p--;this.updateParallelArrays(f,"splice",p,0,0),this.updateParallelArrays(f,p),c&&f.name&&(c[h]=f.name),l.splice(p,0,t),u&&(this.data.splice(p,0,null),this.processData()),"point"===i.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(f,"shift"),l.shift())),!1!==o&&g(this,"addPoint",{point:f}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(r)},removePoint:function(t,e,n){var r=this,o=r.data,i=o[t],a=r.points,s=r.chart,c=function(){a&&a.length===o.length&&a.splice(t,1),o.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(i||{series:r},"splice",t,1),i&&i.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&s.redraw()};L(n,s),e=x(e,!0),i?i.firePointEvent("remove",null,c):c()},remove:function(t,e,n,r){function o(){i.destroy(r),i.remove=null,a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),x(t,!0)&&a.redraw(e)}var i=this,a=i.chart;!1!==n?g(i,"remove",null,o):o()},update:function(t,e){t=n.cleanRecursively(t,this.userOptions),g(this,"update",{options:t});var r,o=this,i=o.chart,a=o.userOptions,s=o.initialType||o.type,c=t.type||a.type||i.options.chart.type,u=!(this.hasDerivedData||t.dataGrouping||c&&c!==this.type||void 0!==t.pointStart||t.pointInterval||t.pointIntervalUnit||t.keys),l=k[s].prototype,d=["eventOptions","navigatorSeries","baseSeries"],f=o.finishedAnimating&&{animation:!1},h={};for(r in u&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),o.parallelArrays.forEach((function(t){d.push(t+"Data")})),t.data&&(t.dataSorting&&m(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=_(a,f,{index:void 0===a.index?o.index:a.index,pointStart:x(a.pointStart,o.xData[0])},!u&&{data:o.options.data},t),u&&t.data&&(t.data=o.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(t){d[t]=o[t],delete o[t]})),o.remove(!1,null,!1,!0),l)o[r]=void 0;if(k[c||s]?m(o,k[c||s].prototype):p(17,!0,i,{missingModuleFor:c||s}),d.forEach((function(t){o[t]=d[t]})),o.init(i,t),u&&this.points){var v=o.options;!1===v.visible?(h.graphic=1,h.dataLabel=1):o._hasPointLabels||(t=v.marker,a=v.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(h.graphic=1),a&&!1===a.enabled&&(h.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(h).length&&t.destroyElements(h),!1===v.showInLegend&&t.legendItem&&i.legend.destroyItem(t))}),this)}o.initialType=s,i.linkSeries(),g(this,"afterUpdate"),x(e,!0)&&i.redraw(!!u&&void 0)},setName:function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}}),m(t.prototype,{update:function(t,e){var n=this.chart,r=t&&t.events||{};t=_(this.userOptions,t),n.options[this.coll].indexOf&&(n.options[this.coll][n.options[this.coll].indexOf(this.userOptions)]=t),w(n.options[this.coll].events,(function(t,e){void 0===r[e]&&(r[e]=void 0)})),this.destroy(!0),this.init(n,m(t,{events:r})),n.isDirtyBox=!0,x(e,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,n=this.coll,r=this.series,o=r.length;o--;)r[o]&&r[o].remove(!1);h(e.axes,this),h(e[n],this),v(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,x(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})})),e(n,"parts/AreaSeries.js",[n["parts/Globals.js"],n["parts/Color.js"],n["mixins/legend-symbol.js"],n["parts/Utilities.js"]],(function(t,e,n,r){var o=e.parse,i=r.objectEach,a=r.pick;e=r.seriesType;var s=t.Series;e("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(t){var e,n=[],r=[],o=this.xAxis,s=this.yAxis,c=s.stacking.stacks[this.stackKey],u={},l=this.index,d=s.series,f=d.length,h=a(s.options.reversedStacks,!0)?1:-1;if(t=t||this.points,this.options.stacking){for(e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,u[t[e].x]=t[e];i(c,(function(t,e){null!==t.total&&r.push(e)})),r.sort((function(t,e){return t-e}));var p=d.map((function(t){return t.visible}));r.forEach((function(t,i){var a,d,m=0;if(u[t]&&!u[t].isNull)n.push(u[t]),[-1,1].forEach((function(n){var o=1===n?"rightNull":"leftNull",s=0,m=c[r[i+n]];if(m)for(e=l;0<=e&&e<f;)(a=m.points[e])||(e===l?u[t][o]=!0:p[e]&&(d=c[t].points[e])&&(s-=d[1]-d[0])),e+=h;u[t][1===n?"rightCliff":"leftCliff"]=s}));else{for(e=l;0<=e&&e<f;){if(a=c[t].points[e]){m=a[1];break}e+=h}m=s.translate(m,0,1,0,1),n.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:m,yBottom:m})}}))}return n},getGraphPath:function(t){var e,n=s.prototype.getGraphPath,r=this.options,o=r.stacking,i=this.yAxis,c=[],u=[],l=this.index,d=i.stacking.stacks[this.stackKey],f=r.threshold,h=Math.round(i.getThreshold(r.threshold));r=a(r.connectNulls,"percent"===o);var p=function(e,n,r){var a=t[e];e=o&&d[a.x].points[l];var s=a[r+"Null"]||0;if(r=a[r+"Cliff"]||0,a=!0,r||s){var p=(s?e[0]:e[1])+r,m=e[0]+r;a=!!s}else!o&&t[n]&&t[n].isNull&&(p=m=f);void 0!==p&&(u.push({plotX:g,plotY:null===p?h:i.getThreshold(p),isNull:a,isCliff:!0}),c.push({plotX:g,plotY:null===m?h:i.getThreshold(m),doCurve:!1}))};for(t=t||this.points,o&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){o||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,g=a(t[e].rectPlotX,t[e].plotX),v=a(t[e].yBottom,h);m&&!r||(r||p(e,e-1,"left"),m&&!o&&r||(u.push(t[e]),c.push({x:e,plotX:g,plotY:v})),r||p(e,e+1,"right"))}return e=n.call(this,u,!0,!0),c.reversed=!0,(v=(m=n.call(this,c,!0,!0))[0])&&"M"===v[0]&&(m[0]=["L",v[1],v[2]]),m=e.concat(m),n=n.call(this,u,!1,r),m.xMap=e.xMap,this.areaPath=m,n},drawGraph:function(){this.areaPath=[],s.prototype.drawGraph.apply(this);var t=this,e=this.areaPath,n=this.options,r=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(e,o){r.push(["zone-area-"+o,"highcharts-area highcharts-zone-area-"+o+" "+e.className,e.color||t.color,e.fillColor||n.fillColor])})),r.forEach((function(r){var i=r[0],s=t[i],c=s?"animate":"attr",u={};s?(s.endX=t.preventGraphAnimation?null:e.xMap,s.animate({d:e})):(u.zIndex=0,(s=t[i]=t.chart.renderer.path(e).addClass(r[1]).add(t.group)).isArea=!0),t.chart.styledMode||(u.fill=a(r[3],o(r[2]).setOpacity(a(n.fillOpacity,.75)).get())),s[c](u),s.startX=e.xMap,s.shiftUnit=n.step?2:1}))},drawLegendSymbol:n.drawRectangle})})),e(n,"parts/SplineSeries.js",[n["parts/Utilities.js"]],(function(t){var e=t.pick;(t=t.seriesType)("spline","line",{},{getPointSpline:function(t,n,r){var o=n.plotX||0,i=n.plotY||0,a=t[r-1];if(r=t[r+1],a&&!a.isNull&&!1!==a.doCurve&&!n.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!n.isCliff){t=a.plotY||0;var s=r.plotX||0;r=r.plotY||0;var c=0,u=(1.5*o+(a.plotX||0))/2.5,l=(1.5*i+t)/2.5,d=(1.5*i+r)/2.5;(s=(1.5*o+s)/2.5)!==u&&(c=(d-l)*(s-o)/(s-u)+i-d),d+=c,(l+=c)>t&&l>i?d=2*i-(l=Math.max(t,i)):l<t&&l<i&&(d=2*i-(l=Math.min(t,i))),d>r&&d>i?l=2*i-(d=Math.max(r,i)):d<r&&d<i&&(l=2*i-(d=Math.min(r,i))),n.rightContX=s,n.rightContY=d}return n=["C",e(a.rightContX,a.plotX,0),e(a.rightContY,a.plotY,0),e(u,o,0),e(l,i,0),o,i],a.rightContX=a.rightContY=void 0,n}})})),e(n,"parts/AreaSplineSeries.js",[n["parts/Globals.js"],n["mixins/legend-symbol.js"],n["parts/Options.js"],n["parts/Utilities.js"]],(function(t,e,n,r){r=r.seriesType,t=t.seriesTypes.area.prototype,r("areaspline","spline",n.defaultOptions.plotOptions.area,{getStackPoints:t.getStackPoints,getGraphPath:t.getGraphPath,drawGraph:t.drawGraph,drawLegendSymbol:e.drawRectangle})})),e(n,"parts/ColumnSeries.js",[n["parts/Globals.js"],n["parts/Color.js"],n["mixins/legend-symbol.js"],n["parts/Utilities.js"]],(function(t,e,n,r){var o=e.parse,i=r.animObject,a=r.clamp,s=r.defined,c=r.extend,u=r.isNumber,l=r.merge,d=r.pick;e=r.seriesType;var f=t.Series;e("column","line",{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"},{cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){f.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}))},getColumnMetrics:function(){var t=this,e=t.options,n=t.xAxis,r=t.yAxis,o=n.options.reversedStacks;o=n.reversed&&!o||!n.reversed&&o;var i,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&r.len===n.len&&r.pos===n.pos){if(o.stacking&&"group"!==o.stacking){i=e.stackKey,void 0===a[i]&&(a[i]=s++);var c=a[i]}else!1!==o.grouping&&(c=s++);e.columnIndex=c}}));var c=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),u=c*e.groupPadding,l=(c-2*u)/(s||1);return e=Math.min(e.maxPointWidth||n.len,d(e.pointWidth,l*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(l-e)/2+(u+((t.columnIndex||0)+(o?1:0))*l-c/2)*(o?-1:1),paddedWidth:l,columnCount:s},t.columnMetrics},crispCol:function(t,e,n,r){var o=this.chart,i=this.borderWidth,a=-(i%2?.5:0);return i=i%2?.5:1,o.inverted&&o.renderer.isVML&&(i+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),r=Math.round(e+r)+i,a=.5>=Math.abs(e)&&.5<r,r-=e=Math.round(e)+i,a&&r&&(--e,r+=1),{x:t,y:e,width:n,height:r}},adjustForMissingColumns:function(e,n,r,o){var i=this,a=this.options.stacking;if(!r.isNull&&1<o.columnCount){var s=0,c=0;Highcharts.objectEach(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(e){if("number"==typeof r.x&&(e=e[r.x.toString()])){var n=e.points[i.index],o=e.total;a?(n&&(s=c),e.hasValidPoints&&c++):t.isArray(n)&&(s=n[1],c=o||0)}})),e=(r.plotX||0)+((c-1)*o.paddedWidth+n)/2-n-s*o.paddedWidth}return e},translate:function(){var t=this,e=t.chart,n=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA;r=t.borderWidth=d(n.borderWidth,r?0:1);var o=t.xAxis,i=t.yAxis,c=n.threshold,l=t.translatedThreshold=i.getThreshold(c),h=d(n.minPointLength,5),p=t.getColumnMetrics(),m=p.width,g=t.barW=Math.max(m,1+2*r),v=t.pointXOffset=p.offset,b=t.dataMin,y=t.dataMax;e.inverted&&(l-=.5),n.pointPadding&&(g=Math.ceil(g)),f.prototype.translate.apply(t),t.points.forEach((function(r){var f=d(r.yBottom,l),M=999+Math.abs(f),_=m,w=r.plotX||0;M=a(r.plotY,-M,i.len+M);var x=w+v,A=g,L=Math.min(M,f),T=Math.max(M,f)-L;if(h&&Math.abs(T)<h){T=h;var k=!i.reversed&&!r.negative||i.reversed&&r.negative;u(c)&&u(y)&&r.y===c&&y<=c&&(i.min||0)<c&&b!==y&&(k=!k),L=Math.abs(L-l)>h?f-h:l-(k?h:0)}s(r.options.pointWidth)&&(_=A=Math.ceil(r.options.pointWidth),x-=Math.round((_-m)/2)),n.centerInCategory&&(x=t.adjustForMissingColumns(x,_,r,p)),r.barX=x,r.pointWidth=_,r.tooltipPos=e.inverted?[i.len+i.pos-e.plotLeft-M,o.len+o.pos-e.plotTop-(w||0)-v-A/2,T]:[x+A/2,M+i.pos-e.plotTop,T],r.shapeType=t.pointClass.prototype.shapeType||"rect",r.shapeArgs=t.crispCol.apply(t,r.isNull?[x,l,A,0]:[x,L,A,T])}))},getSymbol:t.noop,drawLegendSymbol:n.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var n=this.options,r=this.pointAttrToOptions||{},i=r.stroke||"borderColor",a=r["stroke-width"]||"borderWidth",s=t&&t.color||this.color,c=t&&t[i]||n[i]||this.color||s,u=t&&t[a]||n[a]||this[a]||0;r=t&&t.options.dashStyle||n.dashStyle;var f=d(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var h=t.getZone();s=t.options.color||h&&(h.color||t.nonZonedColor)||this.color,h&&(c=h.borderColor||c,r=h.dashStyle||r,u=h.borderWidth||u)}return e&&t&&(e=(t=l(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&o(s).brighten(t.brightness).get()||s,c=t[i]||c,u=t[a]||u,r=t.dashStyle||r,f=d(t.opacity,f)),i={fill:s,stroke:c,"stroke-width":u,opacity:f},r&&(i.dashstyle=r),i},drawPoints:function(){var t,e=this,n=this.chart,r=e.options,o=n.renderer,i=r.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,c=!!s,d=s&&n.pointCount<i?"animate":"attr";u(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t?t.width:0):e.xAxis.width),s||(a.graphic=s=o[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&n.hasRendered&&n.pointCount<i&&(s.attr({x:a.startXPos}),c=!0,d="animate"),s&&c&&s[d](l(t)),r.borderRadius&&s[d]({r:r.borderRadius}),n.styledMode||s[d](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&r.shadow,null,r.stacking&&!r.borderRadius),s.addClass(a.getClassName(),!0)):s&&(a.graphic=s.destroy())}))},animate:function(t){var e=this,n=this.yAxis,r=e.options,o=this.chart.inverted,s={},u=o?"translateX":"translateY";if(t)s.scaleY=.001,t=a(n.toPixels(r.threshold),n.pos,n.pos+n.len),o?s.translateX=t-n.len:s.translateY=t,e.clipBox&&e.setClip(),e.group.attr(s);else{var l=e.group.attr(u);e.group.animate({scaleY:1},c(i(e.options.animation),{step:function(t,r){e.group&&(s[u]=l+r.pos*(n.pos-l),e.group.attr(s))}}))}},remove:function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),f.prototype.remove.apply(t,arguments)}})})),e(n,"parts/BarSeries.js",[n["parts/Utilities.js"]],(function(t){(t=t.seriesType)("bar","column",null,{inverted:!0})})),e(n,"parts/ScatterSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.addEvent;e=e.seriesType;var r=t.Series;e("scatter","line",{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&r.prototype.drawGraph.call(this)},applyJitter:function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(r,o){["x","y"].forEach((function(i,a){var s="plot"+i.toUpperCase();if(e[i]&&!r.isNull){var c=t[i+"Axis"],u=e[i]*c.transA;if(c&&!c.isLog){var l=Math.max(0,r[s]-u);c=Math.min(c.len,r[s]+u),a=1e4*Math.sin(o+a*n),r[s]=l+(c-l)*(a-Math.floor(a)),"x"===i&&(r.clientX=r.plotX)}}}))}))}}),n(r,"afterTranslate",(function(){this.applyJitter&&this.applyJitter()}))})),e(n,"mixins/centered-series.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.isNumber,r=e.pick,o=e.relativeLength,i=t.deg2rad;t.CenteredSeriesMixin={getCenter:function(){var e=this.options,n=this.chart,i=2*(e.slicedOffset||0),a=n.plotWidth-2*i,s=n.plotHeight-2*i,c=e.center,u=Math.min(a,s),l=e.size,d=e.innerSize||0;for("string"==typeof l&&(l=parseFloat(l)),"string"==typeof d&&(d=parseFloat(d)),e=[r(c[0],"50%"),r(c[1],"50%"),r(l&&0>l?void 0:e.size,"100%"),r(d&&0>d?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t.Series||(e[3]=0),c=0;4>c;++c)l=e[c],n=2>c||2===c&&/%$/.test(l),e[c]=o(l,[a,s,u,e[2]][c])+(n?i:0);return e[3]>e[2]&&(e[3]=e[2]),e},getStartAndEndRadians:function(t,e){return t=n(t)?t:0,e=n(e)&&e>t&&360>e-t?e:t+360,{start:i*(t+-90),end:i*(e+-90)}}}})),e(n,"parts/PieSeries.js",[n["parts/Globals.js"],n["mixins/legend-symbol.js"],n["parts/Point.js"],n["parts/Utilities.js"]],(function(t,e,n,r){var o=r.addEvent,i=r.clamp,a=r.defined,s=r.fireEvent,c=r.isNumber,u=r.merge,l=r.pick,d=r.relativeLength,f=r.seriesType,h=r.setAnimation,p=(r=t.CenteredSeriesMixin).getStartAndEndRadians,m=t.noop,g=t.Series;f("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:t.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,n=e.points,r=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,o=t.shapeArgs;n&&o&&(n.attr({r:l(t.startR,e.center&&e.center[3]/2),start:r,end:r}),n.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},hasData:function(){return!!this.processedXData.length},updateTotals:function(){var t,e=0,n=this.points,r=n.length,o=this.options.ignoreHiddenPoint;for(t=0;t<r;t++){var i=n[t];e+=o&&!i.visible||i.isNull?0:i.y}for(this.total=e,t=0;t<r;t++)(i=n[t]).percentage=0<e&&(i.visible||!o)?i.y/e*100:0,i.total=e},generatePoints:function(){g.prototype.generatePoints.call(this),this.updateTotals()},getX:function(t,e,n){var r=this.center,o=this.radii?this.radii[n.index]:r[2]/2;return t=Math.asin(i((t-r[1])/(o+n.labelDistance),-1,1)),r[0]+(e?-1:1)*Math.cos(t)*(o+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},translate:function(t){this.generatePoints();var e=0,n=this.options,r=n.slicedOffset,o=r+(n.borderWidth||0),i=p(n.startAngle,n.endAngle),a=this.startAngleRad=i.start;i=(this.endAngleRad=i.end)-a;var c=this.points,u=n.dataLabels.distance;n=n.ignoreHiddenPoint;var f,h=c.length;for(t||(this.center=t=this.getCenter()),f=0;f<h;f++){var m=c[f],g=a+e*i;n&&!m.visible||(e+=m.percentage/100);var v=a+e*i;m.shapeType="arc",m.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*g)/1e3,end:Math.round(1e3*v)/1e3},m.labelDistance=l(m.options.dataLabels&&m.options.dataLabels.distance,u),m.labelDistance=d(m.labelDistance,m.shapeArgs.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,m.labelDistance),(v=(v+g)/2)>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),m.slicedTranslation={translateX:Math.round(Math.cos(v)*r),translateY:Math.round(Math.sin(v)*r)};var b=Math.cos(v)*t[2]/2,y=Math.sin(v)*t[2]/2;m.tooltipPos=[t[0]+.7*b,t[1]+.7*y],m.half=v<-Math.PI/2||v>Math.PI/2?1:0,m.angle=v,g=Math.min(o,m.labelDistance/5),m.labelPosition={natural:{x:t[0]+b+Math.cos(v)*m.labelDistance,y:t[1]+y+Math.sin(v)*m.labelDistance},final:{},alignment:0>m.labelDistance?"center":m.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+b+Math.cos(v)*g,y:t[1]+y+Math.sin(v)*g},touchingSliceAt:{x:t[0]+b,y:t[1]+y}}}}s(this,"afterTranslate")},drawEmpty:function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total){var r=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(r,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:Highcharts.SVGRenderer.prototype.symbols.arc(r,o,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var t,e,n,r,o=this,i=o.chart,a=i.renderer,s=o.options.shadow;this.drawEmpty(),!s||o.shadowGroup||i.styledMode||(o.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(c){var l={};if(e=c.graphic,!c.isNull&&e){if(r=c.shapeArgs,t=c.getTranslate(),!i.styledMode){var d=c.shadowGroup;s&&!d&&(d=c.shadowGroup=a.g("shadow").add(o.shadowGroup)),d&&d.attr(t),n=o.pointAttribs(c,c.selected&&"select")}c.delayedRendering?(e.setRadialReference(o.center).attr(r).attr(t),i.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,d),c.delayedRendering=!1):(e.setRadialReference(o.center),i.styledMode||u(!0,l,n),u(!0,l,r,t),e.animate(l)),e.attr({visibility:c.visible?"inherit":"hidden"}),e.addClass(c.getClassName())}else e&&(c.graphic=e.destroy())}))},drawPoints:function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},searchPoint:m,sortByAngle:function(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))},drawLegendSymbol:e.drawRectangle,getCenter:r.getCenter,getSymbol:m,drawGraph:null},{init:function(){n.prototype.init.apply(this,arguments);var t=this;t.name=l(t.name,"Slice");var e=function(e){t.slice("select"===e.type)};return o(t,"select",e),o(t,"unselect",e),t},isValid:function(){return c(this.y)&&0<=this.y},setVisible:function(t,e){var n=this,r=n.series,o=r.chart,i=r.options.ignoreHiddenPoint;e=l(e,i),t!==n.visible&&(n.visible=n.options.visible=t=void 0===t?!n.visible:t,r.options.data[r.data.indexOf(n)]=n.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](!0)})),n.legendItem&&o.legend.colorizeItem(n,t),t||"hover"!==n.state||n.setState(""),i&&(r.isDirty=!0),e&&o.redraw())},slice:function(t,e,n){var r=this.series;h(n,r.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},connectorShapes:{fixedOffset:function(t,e,n){var r=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-e.x,2*r.y-e.y,r.x,r.y]:["L",r.x,r.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var r=this.series,o=r.center[0],i=r.chart.plotWidth,a=r.chart.plotLeft;r=t.alignment;var s=this.shapeArgs.r;return n=d(n.crookDistance,1),n=["L",i="left"===r?o+s+(i+a-o-s)*(1-n):a+(o-s)*n,t.y],o=!0,("left"===r?i>t.x||i<e.x:i<t.x||i>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(n),t.push(["L",e.x,e.y]),t}},getConnectorPath:function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=e.connectorShape,r=this.connectorShapes;return r[n]&&(n=r[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)}})})),e(n,"parts/DataLabels.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],(function(t,e){var n=t.noop,r=t.seriesTypes,o=e.animObject,i=e.arrayMax,a=e.clamp,s=e.defined,c=e.extend,u=e.fireEvent,l=e.format,d=e.isArray,f=e.merge,h=e.objectEach,p=e.pick,m=e.relativeLength,g=e.splat,v=e.stableSort,b=t.Series;t.distribute=function(e,n,r){function o(t,e){return t.target-e.target}var i,s=!0,c=e,u=[],l=0,d=c.reducedLen||n;for(i=e.length;i--;)l+=e[i].size;if(l>d){for(v(e,(function(t,e){return(e.rank||0)-(t.rank||0)})),l=i=0;l<=d;)l+=e[i].size,i++;u=e.splice(i-1,e.length)}for(v(e,o),e=e.map((function(t){return{size:t.size,targets:[t.target],align:p(t.align,.5)}}));s;){for(i=e.length;i--;)s=e[i],l=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=a(l-s.size*s.align,0,n-s.size);for(i=e.length,s=!1;i--;)0<i&&e[i-1].pos+e[i-1].size>e[i].pos&&(e[i-1].size+=e[i].size,e[i-1].targets=e[i-1].targets.concat(e[i].targets),e[i-1].align=.5,e[i-1].pos+e[i-1].size>n&&(e[i-1].pos=n-e[i-1].size),e.splice(i,1),s=!0)}c.push.apply(c,u),i=0,e.some((function(e){var o=0;if(e.targets.some((function(){if(c[i].pos=e.pos+o,void 0!==r&&Math.abs(c[i].pos-c[i].target)>r)return c.slice(0,i+1).forEach((function(t){delete t.pos})),c.reducedLen=(c.reducedLen||n)-.1*n,c.reducedLen>.1*n&&t.distribute(c,n,r),!0;o+=c[i].size,i++})))return!0})),v(c,o)},b.prototype.drawDataLabels=function(){function t(t,e){var n,r=[];if(d(t)&&!d(e))r=t.map((function(t){return f(t,e)}));else if(d(e)&&!d(t))r=e.map((function(e){return f(t,e)}));else if(d(t)||d(e))for(n=Math.max(t.length,e.length);n--;)r[n]=f(t[n],e[n]);else r=f(t,e);return r}var e=this,n=e.chart,r=e.options,i=r.dataLabels,a=e.points,c=e.hasRendered||0,m=o(r.animation).duration,v=Math.min(m,200),b=!n.renderer.forExport&&p(i.defer,0<v),y=n.renderer;if(i=t(t(n.options.plotOptions&&n.options.plotOptions.series&&n.options.plotOptions.series.dataLabels,n.options.plotOptions&&n.options.plotOptions[e.type]&&n.options.plotOptions[e.type].dataLabels),i),u(this,"drawDataLabels"),d(i)||i.enabled||e._hasPointLabels){var M=e.plotGroup("dataLabelsGroup","data-labels",b&&!c?"hidden":"inherit",i.zIndex||6);b&&(M.attr({opacity:+c}),c||setTimeout((function(){var t=e.dataLabelsGroup;t&&(e.visible&&M.show(!0),t[r.animation?"animate":"attr"]({opacity:1},{duration:v}))}),m-v)),a.forEach((function(o){g(t(i,o.dlOptions||o.options&&o.options.dataLabels)).forEach((function(t,i){var a=t.enabled&&(!o.isNull||o.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(o,t),c=o.dataLabels?o.dataLabels[i]:o.dataLabel,u=o.connectors?o.connectors[i]:o.connector,d=p(t.distance,o.labelDistance),f=!c;if(a){var m=o.getLabelConfig(),g=p(t[o.formatPrefix+"Format"],t.format);m=s(g)?l(g,m,n):(t[o.formatPrefix+"Formatter"]||t.formatter).call(m,t),g=t.style;var v=t.rotation;n.styledMode||(g.color=p(t.color,g.color,e.color,"#000000"),"contrast"===g.color?(o.contrastColor=y.getContrast(o.color||e.color),g.color=!s(d)&&t.inside||0>d||r.stacking?o.contrastColor:"#000000"):delete o.contrastColor,r.cursor&&(g.cursor=r.cursor));var b={r:t.borderRadius||0,rotation:v,padding:t.padding,zIndex:1};n.styledMode||(b.fill=t.backgroundColor,b.stroke=t.borderColor,b["stroke-width"]=t.borderWidth),h(b,(function(t,e){void 0===t&&delete b[e]}))}!c||a&&s(m)?a&&s(m)&&(c?b.text=m:(o.dataLabels=o.dataLabels||[],c=o.dataLabels[i]=v?y.text(m,0,-9999,t.useHTML).addClass("highcharts-data-label"):y.label(m,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),i||(o.dataLabel=c),c.addClass(" highcharts-data-label-color-"+o.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),c.options=t,c.attr(b),n.styledMode||c.css(g).shadow(t.shadow),c.added||c.add(M),t.textPath&&!t.useHTML&&(c.setTextPath(o.getDataLabelPath&&o.getDataLabelPath(c)||o.graphic,t.textPath),o.dataLabelPath&&!t.textPath.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy())),e.alignDataLabel(o,c,t,null,f)):(o.dataLabel=o.dataLabel&&o.dataLabel.destroy(),o.dataLabels&&(1===o.dataLabels.length?delete o.dataLabels:delete o.dataLabels[i]),i||delete o.dataLabel,u&&(o.connector=o.connector.destroy(),o.connectors&&(1===o.connectors.length?delete o.connectors:delete o.connectors[i])))}))}))}u(this,"afterDrawDataLabels")},b.prototype.alignDataLabel=function(t,e,n,r,o){var i=this,a=this.chart,s=this.isCartesian&&a.inverted,u=this.enabledDataSorting,l=p(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),d=p(t.plotY,-9999),f=e.getBBox(),h=n.rotation,m=n.align,g=a.isInsidePlot(l,Math.round(d),s),v="justify"===p(n.overflow,u?"none":"justify"),b=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!v||g||n.inside&&r&&a.isInsidePlot(l,s?r.x+1:r.y+r.height-1,s)),y=function(n){u&&i.xAxis&&!v&&i.setDataLabelStartPos(t,e,o,g,n)};if(b){var M=a.renderer.fontMetrics(a.styledMode?void 0:n.style.fontSize,e).b;r=c({x:s?this.yAxis.len-d:l,y:Math.round(s?this.xAxis.len-l:d),width:0,height:0},r),c(n,{width:f.width,height:f.height}),h?(v=!1,l=a.renderer.rotCorr(M,h),y(l={x:r.x+(n.x||0)+r.width/2+l.x,y:r.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height}),e[o?"attr":"animate"](l).attr({align:m}),y=180<(y=(h+720)%360)&&360>y,"left"===m?l.y-=y?f.height:0:"center"===m?(l.x-=f.width/2,l.y-=f.height/2):"right"===m&&(l.x-=f.width,l.y-=y?0:f.height),e.placed=!0,e.alignAttr=l):(y(r),e.align(n,null,r),l=e.alignAttr),v&&0<=r.height?this.justifyDataLabel(e,n,l,f,r,o):p(n.crop,!0)&&(b=a.isInsidePlot(l.x,l.y)&&a.isInsidePlot(l.x+f.width,l.y+f.height)),n.shape&&!h&&e[o?"attr":"animate"]({anchorX:s?a.plotWidth-t.plotY:t.plotX,anchorY:s?a.plotHeight-t.plotX:t.plotY})}o&&u&&(e.placed=!1),b||u&&!v||(e.hide(!0),e.placed=!1)},b.prototype.setDataLabelStartPos=function(t,e,n,r,o){var i=this.chart,a=i.inverted,s=this.xAxis,c=s.reversed,u=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,s=a?o.x:c?-u-t:s.width-u+t,o=a?c?this.yAxis.height-u+t:-u-t:o.y,e.startXPos=s,e.startYPos=o,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),i.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},b.prototype.justifyDataLabel=function(t,e,n,r,o,i){var a=this.chart,s=e.align,c=e.verticalAlign,u=t.box?0:t.padding||0,l=e.x;l=void 0===l?0:l;var d=e.y,f=void 0===d?0:d;if(0>(d=n.x+u)){"right"===s&&0<=l?(e.align="left",e.inside=!0):l-=d;var h=!0}return(d=n.x+r.width-u)>a.plotWidth&&("left"===s&&0>=l?(e.align="right",e.inside=!0):l+=a.plotWidth-d,h=!0),0>(d=n.y+u)&&("bottom"===c&&0<=f?(e.verticalAlign="top",e.inside=!0):f-=d,h=!0),(d=n.y+r.height-u)>a.plotHeight&&("top"===c&&0>=f?(e.verticalAlign="bottom",e.inside=!0):f+=a.plotHeight-d,h=!0),h&&(e.x=l,e.y=f,t.placed=!i,t.align(e,void 0,o)),h},r.pie&&(r.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,r){return t.getX(n<e.top+2||n>e.bottom-2?r:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,r){return t=t.getBBox().width,e?t+r:n-t-r},alignToConnectors:function(t,e,n,r){var o,i=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>i&&(i=o)})),e?i+r:n-i-r}},r.pie.prototype.drawDataLabels=function(){var e,n,r,o,a,c,u,l,d,h,m,g,v=this,y=v.data,M=v.chart,_=v.options.dataLabels||{},w=_.connectorPadding,x=M.plotWidth,A=M.plotHeight,L=M.plotLeft,T=Math.round(M.chartWidth/3),k=v.center,S=k[2]/2,O=k[1],C=[[],[]],z=[0,0,0,0],D=v.dataLabelPositioners;v.visible&&(_.enabled||v._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),b.prototype.drawDataLabels.apply(v),y.forEach((function(t){t.dataLabel&&(t.visible?(C[t.half].push(t),t.dataLabel._pos=null,!s(_.style.width)&&!s(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>T&&(t.dataLabel.css({width:Math.round(.7*T)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),C.forEach((function(n,r){var i,f=n.length,b=[];if(f){if(v.sortByAngle(n,r-.5),0<v.maxLabelDistance){var y=Math.max(0,O-S-v.maxLabelDistance),T=Math.min(O+S+v.maxLabelDistance,M.plotHeight);n.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,O-S-t.labelDistance),t.bottom=Math.min(O+S+t.labelDistance,M.plotHeight),i=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+i/2,size:i,rank:t.y},b.push(t.distributeBox))})),y=T+i-y,t.distribute(b,y,y/5)}for(m=0;m<f;m++){if(e=n[m],c=e.labelPosition,o=e.dataLabel,h=!1===e.visible?"hidden":"inherit",d=y=c.natural.y,b&&s(e.distributeBox)&&(void 0===e.distributeBox.pos?h="hidden":(u=e.distributeBox.size,d=D.radialDistributionY(e))),delete e.positionIndex,_.justify)l=D.justify(e,S,k);else switch(_.alignTo){case"connectors":l=D.alignToConnectors(n,r,x,L);break;case"plotEdges":l=D.alignToPlotEdges(o,r,x,L);break;default:l=D.radialDistributionX(v,e,d,y)}o._attr={visibility:h,align:c.alignment},g=e.options.dataLabels||{},o._pos={x:l+p(g.x,_.x)+({left:w,right:-w}[c.alignment]||0),y:d+p(g.y,_.y)-10},c.final.x=l,c.final.y=d,p(_.crop,!0)&&(a=o.getBBox().width,y=null,l-a<w&&1===r?(y=Math.round(a-l+w),z[3]=Math.max(y,z[3])):l+a>x-w&&0===r&&(y=Math.round(l+a-x+w),z[1]=Math.max(y,z[1])),0>d-u/2?z[0]=Math.max(Math.round(u/2-d),z[0]):d+u/2>A&&(z[2]=Math.max(Math.round(d+u/2-A),z[2])),o.sideOverflow=y)}}})),0===i(z)||this.verifyDataLabelOverflow(z))&&(this.placeDataLabels(),this.points.forEach((function(t){var e;(g=f(_,t.options.dataLabels),n=p(g.connectorWidth,1))&&(r=t.connector,(o=t.dataLabel)&&o._pos&&t.visible&&0<t.labelDistance?(h=o._attr.visibility,(e=!r)&&(t.connector=r=M.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),M.styledMode||r.attr({"stroke-width":n,stroke:g.connectorColor||t.color||"#666666"})),r[e?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",h)):r&&(t.connector=r.destroy()))})))},r.pie.prototype.placeDataLabels=function(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)},r.pie.prototype.alignDataLabel=n,r.pie.prototype.verifyDataLabelOverflow=function(t){var e=this.center,n=this.options,r=n.center,o=n.minSize||80,i=null!==n.size;if(!i){if(null!==r[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),o);else s=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==r[1]?s=a(s,o,e[2]-Math.max(t[0],t[2])):(s=a(s,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(m(n.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):i=!0}return i}),r.column&&(r.column.prototype.alignDataLabel=function(t,e,n,r,o){var i=this.chart.inverted,a=t.series,s=t.dlBox||t.shapeArgs,c=p(t.below,t.plotY>p(this.translatedThreshold,a.yAxis.len)),u=p(n.inside,!!this.options.stacking);s&&(0>(r=f(s)).y&&(r.height+=r.y,r.y=0),0<(s=r.y+r.height-a.yAxis.len)&&s<r.height&&(r.height-=s),i&&(r={x:a.yAxis.len-r.y-r.height,y:a.xAxis.len-r.x-r.width,width:r.height,height:r.width}),u||(i?(r.x+=c?0:r.width,r.width=0):(r.y+=c?r.height:0,r.height=0))),n.align=p(n.align,!i||u?"center":c?"right":"left"),n.verticalAlign=p(n.verticalAlign,i||u?"middle":c?"top":"bottom"),b.prototype.alignDataLabel.call(this,t,e,n,r,o),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})})})),e(n,"modules/overlapping-datalabels.src.js",[n["parts/Chart.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.addEvent,r=e.fireEvent,o=e.isArray,i=e.isNumber,a=e.objectEach,s=e.pick;n(t,"render",(function(){var t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&a(e.stacking.stacks,(function(e){a(e,(function(e){t.push(e.label)}))}))})),(this.series||[]).forEach((function(e){var n=e.options.dataLabels;e.visible&&(!1!==n.enabled||e._hasPointLabels)&&(e.nodes||e.points).forEach((function(e){e.visible&&(o(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[]).forEach((function(n){var r=n.options;n.labelrank=s(r.labelrank,e.labelrank,e.shapeArgs&&e.shapeArgs.height),r.allowOverlap||t.push(n)}))}))})),this.hideOverlappingLabels(t)})),t.prototype.hideOverlappingLabels=function(t){var e,n,o,a=this,s=t.length,c=a.renderer,u=!1,l=function(t){var e,n,r=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var a=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var u=t.width-2*r;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+n*u:i(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:a.x+(s.translateX||0)+r-o,y:a.y+(s.translateY||0)+r-e,width:t.width-2*r,height:t.height-2*r}}};for(n=0;n<s;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=l(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<s;n++){var d=(l=t[n])&&l.absoluteBox;for(e=n+1;e<s;++e){var f=(o=t[e])&&o.absoluteBox;!d||!f||l===o||0===l.newOpacity||0===o.newOpacity||f.x>d.x+d.width||f.x+f.width<d.x||f.y>d.y+d.height||f.y+f.height<d.y||((l.labelrank<o.labelrank?l:o).newOpacity=0)}}t.forEach((function(t){if(t){var e=t.newOpacity;t.oldOpacity!==e&&(t.alignAttr&&t.placed?(t[e?"removeClass":"addClass"]("highcharts-data-label-hidden"),u=!0,t.alignAttr.opacity=e,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){a.styledMode||t.css({pointerEvents:e?"auto":"none"}),t.visibility=e?"inherit":"hidden",t.placed=!!e})),r(a,"afterHideOverlappingLabel")):t.attr({opacity:e})),t.isOld=!0}})),u&&r(a,"afterHideAllOverlappingLabels")}})),e(n,"parts/Interaction.js",[n["parts/Chart.js"],n["parts/Globals.js"],n["parts/Legend.js"],n["parts/Options.js"],n["parts/Point.js"],n["parts/Utilities.js"]],(function(t,e,n,r,o,i){var a=r.defaultOptions,s=i.addEvent,c=i.createElement,u=i.css,l=i.defined,d=i.extend,f=i.fireEvent,h=i.isArray,p=i.isFunction,m=i.isNumber,g=i.isObject,v=i.merge,b=i.objectEach,y=i.pick,M=e.hasTouch;r=e.Series,i=e.seriesTypes;var _=e.svg,w=e.TrackerMixin={drawTrackerPoint:function(){var t,e=this,n=e.chart,r=n.pointer,o=function(t){var e=r.getPointFromEvent(t);void 0!==e&&(r.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=h(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),M&&e[t].on("touchstart",o),!n.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))})),e._hasTracking=!0),f(this,"afterDrawTracker")},drawTrackerGraph:function(){var t=this,e=t.options,n=e.trackByArea,r=[].concat(n?t.areaPath:t.graphPath),o=t.chart,i=o.pointer,a=o.renderer,s=o.options.tooltip.snap,c=t.tracker,u=function(e){o.hoverSeries!==t&&t.onMouseOver()},l="rgba(192,192,192,"+(_?1e-4:.002)+")";c?c.attr({d:r}):t.graph&&(t.tracker=a.path(r).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l,fill:n?l:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup].forEach((function(t){t.addClass("highcharts-tracker").on("mouseover",u).on("mouseout",(function(t){i.onTrackerMouseOut(t)})),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),M&&t.on("touchstart",u)}))),f(this,"afterDrawTracker")}};i.column&&(i.column.prototype.drawTracker=w.drawTrackerPoint),i.pie&&(i.pie.prototype.drawTracker=w.drawTrackerPoint),i.scatter&&(i.scatter.prototype.drawTracker=w.drawTrackerPoint),d(n.prototype,{setItemEvents:function(t,e,n){var r=this,i=r.chart.renderer.boxWrapper,a=t instanceof o,s="highcharts-legend-"+(a?"point":"series")+"-active",c=r.chart.styledMode;(n?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){t.visible&&r.allItems.forEach((function(e){t!==e&&e.setState("inactive",!a)})),t.setState("hover"),t.visible&&i.addClass(s),c||e.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||e.css(v(t.visible?r.itemStyle:r.itemHiddenStyle)),r.allItems.forEach((function(e){t!==e&&e.setState("",!a)})),i.removeClass(s),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),r.allItems.forEach((function(e){t!==e&&e.setState(t.visible?"inactive":"",!a)}))};i.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):f(t,"legendItemClick",e,n)}))}))},createCheckboxForItem:function(t){t.checkbox=c("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),s(t.checkbox,"click",(function(e){f(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))}}),d(t.prototype,{showResetZoom:function(){function t(){e.zoomOut()}var e=this,n=a.lang,r=e.options.chart.resetZoomButton,o=r.theme,i=o.states,s="chart"===r.relativeTo||"spaceBox"===r.relativeTo?null:"plotBox";f(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,o,i&&i.hover).attr({align:r.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(r.position,!1,s)})),f(this,"afterShowResetZoom")},zoomOut:function(){f(this,"selection",{resetSelection:!0},this.zoom)},zoom:function(t){var e,n=this,r=n.pointer,o=!1,i=n.inverted?r.mouseDownX:r.mouseDownY;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),r.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=n.inverted?a.left:a.top,c=n.inverted?s+a.width:s+a.height,u=a.isXAxis,d=!1;(!u&&i>=s&&i<=c||u||!l(i))&&(d=!0),r[u?"zoomX":"zoomY"]&&d&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=n.resetZoomButton;o&&!a?n.showResetZoom():!o&&g(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(y(n.options.chart.animation,t&&t.animation,100>n.pointCount))},pan:function(t,n){var r,o=this,i=o.hoverPoints,a=o.options.chart,s=o.options.mapNavigation&&o.options.mapNavigation.enabled;n="object"==typeof n?n:{enabled:n,type:"x"},a&&a.panning&&(a.panning=n);var c=n.type;f(this,"pan",{originalEvent:t},(function(){i&&i.forEach((function(t){t.setState()}));var n=[1];"xy"===c?n=[1,0]:"y"===c&&(n=[0]),n.forEach((function(n){var i=o[n?"xAxis":"yAxis"][0],a=i.horiz,u=t[a?"chartX":"chartY"],l=o[a=a?"mouseDownX":"mouseDownY"],d=(i.pointRange||0)/2,f=i.reversed&&!o.inverted||!i.reversed&&o.inverted?-1:1,h=i.getExtremes(),p=i.toValue(l-u,!0)+d*f,g=(f=i.toValue(l+i.len-u,!0)-d*f)<p;l=g?f:p,p=g?p:f;var v=i.hasVerticalPanning(),b=i.panningState;i.series.forEach((function(t){if(v&&!n&&(!b||b.isDirty)){var e=t.getProcessedData(!0);t=t.getExtremes(e.yData,!0),b||(b={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),m(t.dataMin)&&m(t.dataMax)&&(b.startMin=Math.min(t.dataMin,b.startMin),b.startMax=Math.max(t.dataMax,b.startMax))}})),f=Math.min(e.pick(null==b?void 0:b.startMin,h.dataMin),d?h.min:i.toValue(i.toPixels(h.min)-i.minPixelPadding)),d=Math.max(e.pick(null==b?void 0:b.startMax,h.dataMax),d?h.max:i.toValue(i.toPixels(h.max)+i.minPixelPadding)),i.panningState=b,i.isOrdinal||(0<(g=f-l)&&(p+=g,l=f),0<(g=p-d)&&(p=d,l-=g),i.series.length&&l!==h.min&&p!==h.max&&l>=f&&p<=d&&(i.setExtremes(l,p,!1,!1,{trigger:"pan"}),o.resetZoomButton||s||l===f||p===d||!c.match("y")||(o.showResetZoom(),i.displayBtn=!1),r=!0),o[a]=u)})),r&&o.redraw(!1),u(o.container,{cursor:"move"})}))}}),d(o.prototype,{select:function(t,e){var n=this,r=n.series,o=r.chart;this.selectedStaging=t=y(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,r.options.data[r.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||o.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},onMouseOver:function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},onMouseOut:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var t=this,e=v(t.series.options.point,t.options).events;t.events=e,b(e,(function(e,n){p(e)&&s(t,n,e)})),this.hasImportedEvents=!0}},setState:function(t,e){var n,r=this.series,o=this.state,i=r.options.states[t||"normal"]||{},s=a.plotOptions[r.type].marker&&r.options.marker,c=s&&!1===s.enabled,u=s&&s.states&&s.states[t||"normal"]||{},l=!1===u.enabled,h=r.stateMarkerGraphic,p=this.marker||{},m=r.chart,g=r.halo,v=s&&r.markerAttribs;if(!((t=t||"")===this.state&&!e||this.selected&&"select"!==t||!1===i.enabled||t&&(l||c&&!1===u.enabled)||t&&p.states&&p.states[t]&&!1===p.states[t].enabled)){if(this.state=t,v&&(n=r.markerAttribs(this,t)),this.graphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),t&&this.graphic.addClass("highcharts-point-"+t),!m.styledMode){var b=r.pointAttribs(this,t),M=y(m.options.chart.animation,i.animation);r.options.inactiveOtherPoints&&b.opacity&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:b.opacity},M)})),this.connector&&this.connector.animate({opacity:b.opacity},M)),this.graphic.animate(b,M)}n&&this.graphic.animate(n,y(m.options.chart.animation,u.animation,s.animation)),h&&h.hide()}else t&&u&&(o=p.symbol||r.symbol,h&&h.currentSymbol!==o&&(h=h.destroy()),n&&(h?h[e?"animate":"attr"]({x:n.x,y:n.y}):o&&(r.stateMarkerGraphic=h=m.renderer.symbol(o,n.x,n.y,n.width,n.height).add(r.markerGroup),h.currentSymbol=o)),!m.styledMode&&h&&h.attr(r.pointAttribs(this,t))),h&&(h[t&&this.isInside?"show":"hide"](),h.element.point=this);t=i.halo,i=(h=this.graphic||h)&&h.visibility||"inherit",t&&t.size&&h&&"hidden"!==i&&!this.isCluster?(g||(r.halo=g=m.renderer.path().add(h.parentGroup)),g.show()[e?"animate":"attr"]({d:this.haloPath(t.size)}),g.attr({class:"highcharts-halo highcharts-color-"+y(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:i,zIndex:-1}),g.point=this,m.styledMode||g.attr(d({fill:this.color||r.color,"fill-opacity":t.opacity},t.attributes))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),f(this,"afterSetState")}},haloPath:function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)}}),d(r.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&f(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,n=e.tooltip,r=e.hoverPoint;e.hoverSeries=null,r&&r.onMouseOut(),this&&t.events.mouseOut&&f(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},setState:function(t,e){var n=this,r=n.options,o=n.graph,i=r.inactiveOtherPoints,a=r.states,s=r.lineWidth,c=r.opacity,u=y(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation);if(r=0,t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(s=a[t].lineWidth||s+(a[t].lineWidthPlus||0),c=y(a[t].opacity,c)),o&&!o.dashstyle)for(a={"stroke-width":s},o.animate(a,u);n["zone-graph-"+r];)n["zone-graph-"+r].attr(a),r+=1;i||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},u)}))}e&&i&&n.points&&n.setAllPointsToState(t)},setAllPointsToState:function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},setVisible:function(t,e){var n=this,r=n.chart,o=n.legendItem,i=r.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][s]()})),r.hoverSeries!==n&&(r.hoverPoint&&r.hoverPoint.series)!==n||n.onMouseOut(),o&&r.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&r.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),i&&(r.isDirtyBox=!0),f(n,s),!1!==e&&r.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),f(this,t?"select":"unselect")},drawTracker:w.drawTrackerGraph})})),e(n,"parts/Responsive.js",[n["parts/Chart.js"],n["parts/Utilities.js"]],(function(t,e){var n=e.find,r=e.isArray,o=e.isObject,i=e.merge,a=e.objectEach,s=e.pick,c=e.splat,u=e.uniqueKey;t.prototype.setResponsive=function(t,e){var r=this.options.responsive,o=[],a=this.currentResponsive;!e&&r&&r.rules&&r.rules.forEach((function(t){void 0===t._id&&(t._id=u()),this.matchResponsiveRule(t,o)}),this),(e=i.apply(0,o.map((function(t){return n(r.rules,(function(e){return e._id===t})).chartOptions})))).isResponsiveOptions=!0,(o=o.toString()||void 0)!==(a&&a.ruleIds)&&(a&&this.update(a.undoOptions,t,!0),o?((a=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:o,mergedOptions:e,undoOptions:a},this.update(e,t,!0)):this.currentResponsive=void 0)},t.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,i,s,u){var l;a(n,(function(n,a){if(!u&&-1<e.collectionsWithUpdate.indexOf(a))for(n=c(n),s[a]=[],l=0;l<Math.max(n.length,i[a].length);l++)i[a][l]&&(void 0===n[l]?s[a][l]=i[a][l]:(s[a][l]={},t(n[l],i[a][l],s[a][l],u+1)));else o(n)?(s[a]=r(n)?[]:{},t(n,i[a]||{},s[a],u+1)):s[a]=void 0===i[a]?null:i[a]}))}(t,this.options,n,0),n}})),e(n,"masters/highcharts.src.js",[n["parts/Globals.js"]],(function(t){return t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&h())}function h(){if(!l){var t=s(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++d<e;)c&&c[d].run();d=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(1),o=n(216),i=n(218),a=n(219),s=n(220),c=n(142);t.exports=function(t){return new Promise((function(e,u){var l=t.data,d=t.headers;r.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",p=t.auth.password||"";d.Authorization="Basic "+btoa(h+":"+p)}if(f.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};o(e,u,r),f=null}},f.onerror=function(){u(c("Network Error",t,null,f)),f=null},f.ontimeout=function(){u(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var m=n(221),g=(t.withCredentials||s(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;g&&(d[t.xsrfHeaderName]=g)}if("setRequestHeader"in f&&r.forEach(d,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)})),t.withCredentials&&(f.withCredentials=!0),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),u(t),f=null)})),void 0===l&&(l=null),f.send(l)}))}},function(t,e,n){"use strict";var r=n(217);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){n(146),t.exports=n(251)},function(t,e,n){n(249),window.Vue=n(234),Vue.component("example",n(245)),Vue.component("passport-clients",n(246).default),Vue.component("passport-authorized-clients",n(247).default),Vue.component("passport-personal-access-tokens",n(248).default);new Vue({el:"#app"})},function(t,e,n){(function(t,r){var o;(function(){var i="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",u="[object Array]",l="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",p="[object GeneratorFunction]",m="[object Map]",g="[object Number]",v="[object Object]",b="[object RegExp]",y="[object Set]",M="[object String]",_="[object Symbol]",w="[object WeakMap]",x="[object ArrayBuffer]",A="[object DataView]",L="[object Float32Array]",T="[object Float64Array]",k="[object Int8Array]",S="[object Int16Array]",O="[object Int32Array]",C="[object Uint8Array]",z="[object Uint16Array]",D="[object Uint32Array]",E=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,Y=RegExp(P.source),W=RegExp(R.source),H=/<%-([\s\S]+?)%>/g,q=/<%([\s\S]+?)%>/g,I=/<%=([\s\S]+?)%>/g,j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,F=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U=/[\\^$.*+?()[\]{}|]/g,V=RegExp(U.source),G=/^\s+|\s+$/g,$=/^\s+/,K=/\s+$/,J=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Q=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,tt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,ct=/^(?:0|[1-9]\d*)$/,ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lt=/($^)/,dt=/['\n\r\u2028\u2029\\]/g,ft="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\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",pt="[\\ud800-\\udfff]",mt="["+ht+"]",gt="["+ft+"]",vt="\\d+",bt="[\\u2700-\\u27bf]",yt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Mt="[^\\ud800-\\udfff"+ht+vt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",xt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",Lt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Tt="(?:"+yt+"|"+Mt+")",kt="(?:"+Lt+"|"+Mt+")",St="(?:"+gt+"|"+_t+")"+"?",Ot="[\\ufe0e\\ufe0f]?"+St+("(?:\\u200d(?:"+[wt,xt,At].join("|")+")[\\ufe0e\\ufe0f]?"+St+")*"),Ct="(?:"+[bt,xt,At].join("|")+")"+Ot,zt="(?:"+[wt+gt+"?",gt,xt,At,pt].join("|")+")",Dt=RegExp("['’]","g"),Et=RegExp(gt,"g"),Nt=RegExp(_t+"(?="+_t+")|"+zt+Ot,"g"),Bt=RegExp([Lt+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,Lt,"$"].join("|")+")",kt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,Lt+Tt,"$"].join("|")+")",Lt+"?"+Tt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Lt+"+(?:['’](?: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_])",vt,Ct].join("|"),"g"),Pt=RegExp("[\\u200d\\ud800-\\udfff"+ft+"\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yt=["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"],Wt=-1,Ht={};Ht[L]=Ht[T]=Ht[k]=Ht[S]=Ht[O]=Ht[C]=Ht["[object Uint8ClampedArray]"]=Ht[z]=Ht[D]=!0,Ht[c]=Ht[u]=Ht[x]=Ht[l]=Ht[A]=Ht[d]=Ht[f]=Ht[h]=Ht[m]=Ht[g]=Ht[v]=Ht[b]=Ht[y]=Ht[M]=Ht[w]=!1;var qt={};qt[c]=qt[u]=qt[x]=qt[A]=qt[l]=qt[d]=qt[L]=qt[T]=qt[k]=qt[S]=qt[O]=qt[m]=qt[g]=qt[v]=qt[b]=qt[y]=qt[M]=qt[_]=qt[C]=qt["[object Uint8ClampedArray]"]=qt[z]=qt[D]=!0,qt[f]=qt[h]=qt[w]=!1;var It={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},jt=parseFloat,Xt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,Ut="object"==typeof self&&self&&self.Object===Object&&self,Vt=Ft||Ut||Function("return this")(),Gt=e&&!e.nodeType&&e,$t=Gt&&"object"==typeof r&&r&&!r.nodeType&&r,Kt=$t&&$t.exports===Gt,Jt=Kt&&Ft.process,Qt=function(){try{var t=$t&&$t.require&&$t.require("util").types;return t||Jt&&Jt.binding&&Jt.binding("util")}catch(t){}}(),Zt=Qt&&Qt.isArrayBuffer,te=Qt&&Qt.isDate,ee=Qt&&Qt.isMap,ne=Qt&&Qt.isRegExp,re=Qt&&Qt.isSet,oe=Qt&&Qt.isTypedArray;function ie(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}function se(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function ce(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function ue(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function le(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function de(t,e){return!!(null==t?0:t.length)&&_e(t,e,0)>-1}function fe(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function he(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function pe(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function me(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function ge(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function ve(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var be=Le("length");function ye(t,e,n){var r;return n(t,(function(t,n,o){if(e(t,n,o))return r=n,!1})),r}function Me(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function _e(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):Me(t,xe,n)}function we(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function xe(t){return t!=t}function Ae(t,e){var n=null==t?0:t.length;return n?Se(t,e)/n:NaN}function Le(t){return function(e){return null==e?void 0:e[t]}}function Te(t){return function(e){return null==t?void 0:t[e]}}function ke(t,e,n,r,o){return o(t,(function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)})),n}function Se(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Oe(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Ce(t){return function(e){return t(e)}}function ze(t,e){return he(e,(function(e){return t[e]}))}function De(t,e){return t.has(e)}function Ee(t,e){for(var n=-1,r=t.length;++n<r&&_e(e,t[n],0)>-1;);return n}function Ne(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Be(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Pe=Te({"À":"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"}),Re=Te({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ye(t){return"\\"+It[t]}function We(t){return Pt.test(t)}function He(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function qe(t,e){return function(n){return t(e(n))}}function Ie(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var s=t[n];s!==e&&s!==a||(t[n]=a,i[o++]=n)}return i}function je(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function Xe(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Fe(t){return We(t)?function(t){var e=Nt.lastIndex=0;for(;Nt.test(t);)++e;return e}(t):be(t)}function Ue(t){return We(t)?function(t){return t.match(Nt)||[]}(t):function(t){return t.split("")}(t)}var Ve=Te({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Ge=function t(e){var n,r=(e=null==e?Vt:Ge.defaults(Vt.Object(),e,Ge.pick(Vt,Yt))).Array,o=e.Date,ft=e.Error,ht=e.Function,pt=e.Math,mt=e.Object,gt=e.RegExp,vt=e.String,bt=e.TypeError,yt=r.prototype,Mt=ht.prototype,_t=mt.prototype,wt=e["__core-js_shared__"],xt=Mt.toString,At=_t.hasOwnProperty,Lt=0,Tt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",kt=_t.toString,St=xt.call(mt),Ot=Vt._,Ct=gt("^"+xt.call(At).replace(U,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zt=Kt?e.Buffer:void 0,Nt=e.Symbol,Pt=e.Uint8Array,It=zt?zt.allocUnsafe:void 0,Ft=qe(mt.getPrototypeOf,mt),Ut=mt.create,Gt=_t.propertyIsEnumerable,$t=yt.splice,Jt=Nt?Nt.isConcatSpreadable:void 0,Qt=Nt?Nt.iterator:void 0,be=Nt?Nt.toStringTag:void 0,Te=function(){try{var t=ti(mt,"defineProperty");return t({},"",{}),t}catch(t){}}(),$e=e.clearTimeout!==Vt.clearTimeout&&e.clearTimeout,Ke=o&&o.now!==Vt.Date.now&&o.now,Je=e.setTimeout!==Vt.setTimeout&&e.setTimeout,Qe=pt.ceil,Ze=pt.floor,tn=mt.getOwnPropertySymbols,en=zt?zt.isBuffer:void 0,nn=e.isFinite,rn=yt.join,on=qe(mt.keys,mt),an=pt.max,sn=pt.min,cn=o.now,un=e.parseInt,ln=pt.random,dn=yt.reverse,fn=ti(e,"DataView"),hn=ti(e,"Map"),pn=ti(e,"Promise"),mn=ti(e,"Set"),gn=ti(e,"WeakMap"),vn=ti(mt,"create"),bn=gn&&new gn,yn={},Mn=ki(fn),_n=ki(hn),wn=ki(pn),xn=ki(mn),An=ki(gn),Ln=Nt?Nt.prototype:void 0,Tn=Ln?Ln.valueOf:void 0,kn=Ln?Ln.toString:void 0;function Sn(t){if(Xa(t)&&!Ea(t)&&!(t instanceof Dn)){if(t instanceof zn)return t;if(At.call(t,"__wrapped__"))return Si(t)}return new zn(t)}var On=function(){function t(){}return function(e){if(!ja(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Cn(){}function zn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Dn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function En(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Bn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Pn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Bn;++e<n;)this.add(t[e])}function Rn(t){var e=this.__data__=new Nn(t);this.size=e.size}function Yn(t,e){var n=Ea(t),r=!n&&Da(t),o=!n&&!r&&Ra(t),i=!n&&!r&&!o&&Qa(t),a=n||r||o||i,s=a?Oe(t.length,vt):[],c=s.length;for(var u in t)!e&&!At.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||si(u,c))||s.push(u);return s}function Wn(t){var e=t.length;return e?t[Pr(0,e-1)]:void 0}function Hn(t,e){return Ai(bo(t),$n(e,0,t.length))}function qn(t){return Ai(bo(t))}function In(t,e,n){(void 0!==n&&!Oa(t[e],n)||void 0===n&&!(e in t))&&Vn(t,e,n)}function jn(t,e,n){var r=t[e];At.call(t,e)&&Oa(r,n)&&(void 0!==n||e in t)||Vn(t,e,n)}function Xn(t,e){for(var n=t.length;n--;)if(Oa(t[n][0],e))return n;return-1}function Fn(t,e,n,r){return tr(t,(function(t,o,i){e(r,t,n(t),i)})),r}function Un(t,e){return t&&yo(e,Ms(e),t)}function Vn(t,e,n){"__proto__"==e&&Te?Te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Gn(t,e){for(var n=-1,o=e.length,i=r(o),a=null==t;++n<o;)i[n]=a?void 0:ms(t,e[n]);return i}function $n(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Kn(t,e,n,r,o,i){var a,s=1&e,u=2&e,f=4&e;if(n&&(a=o?n(t,r,o,i):n(t)),void 0!==a)return a;if(!ja(t))return t;var w=Ea(t);if(w){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&At.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return bo(t,a)}else{var E=ri(t),N=E==h||E==p;if(Ra(t))return fo(t,s);if(E==v||E==c||N&&!o){if(a=u||N?{}:ii(t),!s)return u?function(t,e){return yo(t,ni(t),e)}(t,function(t,e){return t&&yo(e,_s(e),t)}(a,t)):function(t,e){return yo(t,ei(t),e)}(t,Un(a,t))}else{if(!qt[E])return o?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case x:return ho(t);case l:case d:return new r(+t);case A:return function(t,e){var n=e?ho(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case L:case T:case k:case S:case O:case C:case"[object Uint8ClampedArray]":case z:case D:return po(t,n);case m:return new r;case g:case M:return new r(t);case b:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case y:return new r;case _:return o=t,Tn?mt(Tn.call(o)):{}}var o}(t,E,s)}}i||(i=new Rn);var B=i.get(t);if(B)return B;i.set(t,a),$a(t)?t.forEach((function(r){a.add(Kn(r,e,n,r,t,i))})):Fa(t)&&t.forEach((function(r,o){a.set(o,Kn(r,e,n,o,t,i))}));var P=w?void 0:(f?u?Vo:Uo:u?_s:Ms)(t);return se(P||t,(function(r,o){P&&(r=t[o=r]),jn(a,o,Kn(r,e,n,o,t,i))})),a}function Jn(t,e,n){var r=n.length;if(null==t)return!r;for(t=mt(t);r--;){var o=n[r],i=e[o],a=t[o];if(void 0===a&&!(o in t)||!i(a))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new bt(i);return Mi((function(){t.apply(void 0,n)}),e)}function Zn(t,e,n,r){var o=-1,i=de,a=!0,s=t.length,c=[],u=e.length;if(!s)return c;n&&(e=he(e,Ce(n))),r?(i=fe,a=!1):e.length>=200&&(i=De,a=!1,e=new Pn(e));t:for(;++o<s;){var l=t[o],d=null==n?l:n(l);if(l=r||0!==l?l:0,a&&d==d){for(var f=u;f--;)if(e[f]===d)continue t;c.push(l)}else i(e,d,r)||c.push(l)}return c}Sn.templateSettings={escape:H,evaluate:q,interpolate:I,variable:"",imports:{_:Sn}},Sn.prototype=Cn.prototype,Sn.prototype.constructor=Sn,zn.prototype=On(Cn.prototype),zn.prototype.constructor=zn,Dn.prototype=On(Cn.prototype),Dn.prototype.constructor=Dn,En.prototype.clear=function(){this.__data__=vn?vn(null):{},this.size=0},En.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},En.prototype.get=function(t){var e=this.__data__;if(vn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return At.call(e,t)?e[t]:void 0},En.prototype.has=function(t){var e=this.__data__;return vn?void 0!==e[t]:At.call(e,t)},En.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=vn&&void 0===e?"__lodash_hash_undefined__":e,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=Xn(e,t);return!(n<0)&&(n==e.length-1?e.pop():$t.call(e,n,1),--this.size,!0)},Nn.prototype.get=function(t){var e=this.__data__,n=Xn(e,t);return n<0?void 0:e[n][1]},Nn.prototype.has=function(t){return Xn(this.__data__,t)>-1},Nn.prototype.set=function(t,e){var n=this.__data__,r=Xn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Bn.prototype.clear=function(){this.size=0,this.__data__={hash:new En,map:new(hn||Nn),string:new En}},Bn.prototype.delete=function(t){var e=Qo(this,t).delete(t);return this.size-=e?1:0,e},Bn.prototype.get=function(t){return Qo(this,t).get(t)},Bn.prototype.has=function(t){return Qo(this,t).has(t)},Bn.prototype.set=function(t,e){var n=Qo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Pn.prototype.add=Pn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Pn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.clear=function(){this.__data__=new Nn,this.size=0},Rn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Rn.prototype.get=function(t){return this.__data__.get(t)},Rn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!hn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Bn(r)}return n.set(t,e),this.size=n.size,this};var tr=wo(cr),er=wo(ur,!0);function nr(t,e){var n=!0;return tr(t,(function(t,r,o){return n=!!e(t,r,o)})),n}function rr(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],a=e(i);if(null!=a&&(void 0===s?a==a&&!Ja(a):n(a,s)))var s=a,c=i}return c}function or(t,e){var n=[];return tr(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function ir(t,e,n,r,o){var i=-1,a=t.length;for(n||(n=ai),o||(o=[]);++i<a;){var s=t[i];e>0&&n(s)?e>1?ir(s,e-1,n,r,o):pe(o,s):r||(o[o.length]=s)}return o}var ar=xo(),sr=xo(!0);function cr(t,e){return t&&ar(t,e,Ms)}function ur(t,e){return t&&sr(t,e,Ms)}function lr(t,e){return le(e,(function(e){return Ha(t[e])}))}function dr(t,e){for(var n=0,r=(e=so(e,t)).length;null!=t&&n<r;)t=t[Ti(e[n++])];return n&&n==r?t:void 0}function fr(t,e,n){var r=e(t);return Ea(t)?r:pe(r,n(t))}function hr(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":be&&be in mt(t)?function(t){var e=At.call(t,be),n=t[be];try{t[be]=void 0;var r=!0}catch(t){}var o=kt.call(t);r&&(e?t[be]=n:delete t[be]);return o}(t):function(t){return kt.call(t)}(t)}function pr(t,e){return t>e}function mr(t,e){return null!=t&&At.call(t,e)}function gr(t,e){return null!=t&&e in mt(t)}function vr(t,e,n){for(var o=n?fe:de,i=t[0].length,a=t.length,s=a,c=r(a),u=1/0,l=[];s--;){var d=t[s];s&&e&&(d=he(d,Ce(e))),u=sn(d.length,u),c[s]=!n&&(e||i>=120&&d.length>=120)?new Pn(s&&d):void 0}d=t[0];var f=-1,h=c[0];t:for(;++f<i&&l.length<u;){var p=d[f],m=e?e(p):p;if(p=n||0!==p?p:0,!(h?De(h,m):o(l,m,n))){for(s=a;--s;){var g=c[s];if(!(g?De(g,m):o(t[s],m,n)))continue t}h&&h.push(m),l.push(p)}}return l}function br(t,e,n){var r=null==(t=gi(t,e=so(e,t)))?t:t[Ti(Wi(e))];return null==r?void 0:ie(r,t,n)}function yr(t){return Xa(t)&&hr(t)==c}function Mr(t,e,n,r,o){return t===e||(null==t||null==e||!Xa(t)&&!Xa(e)?t!=t&&e!=e:function(t,e,n,r,o,i){var a=Ea(t),s=Ea(e),h=a?u:ri(t),p=s?u:ri(e),w=(h=h==c?v:h)==v,L=(p=p==c?v:p)==v,T=h==p;if(T&&Ra(t)){if(!Ra(e))return!1;a=!0,w=!1}if(T&&!w)return i||(i=new Rn),a||Qa(t)?Xo(t,e,n,r,o,i):function(t,e,n,r,o,i,a){switch(n){case A:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!i(new Pt(t),new Pt(e)));case l:case d:case g:return Oa(+t,+e);case f:return t.name==e.name&&t.message==e.message;case b:case M:return t==e+"";case m:var s=He;case y:var c=1&r;if(s||(s=je),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var h=Xo(s(t),s(e),r,o,i,a);return a.delete(t),h;case _:if(Tn)return Tn.call(t)==Tn.call(e)}return!1}(t,e,h,n,r,o,i);if(!(1&n)){var k=w&&At.call(t,"__wrapped__"),S=L&&At.call(e,"__wrapped__");if(k||S){var O=k?t.value():t,C=S?e.value():e;return i||(i=new Rn),o(O,C,n,r,i)}}if(!T)return!1;return i||(i=new Rn),function(t,e,n,r,o,i){var a=1&n,s=Uo(t),c=s.length,u=Uo(e).length;if(c!=u&&!a)return!1;var l=c;for(;l--;){var d=s[l];if(!(a?d in e:At.call(e,d)))return!1}var f=i.get(t),h=i.get(e);if(f&&h)return f==e&&h==t;var p=!0;i.set(t,e),i.set(e,t);var m=a;for(;++l<c;){d=s[l];var g=t[d],v=e[d];if(r)var b=a?r(v,g,d,e,t,i):r(g,v,d,t,e,i);if(!(void 0===b?g===v||o(g,v,n,r,i):b)){p=!1;break}m||(m="constructor"==d)}if(p&&!m){var y=t.constructor,M=e.constructor;y==M||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof M&&M instanceof M||(p=!1)}return i.delete(t),i.delete(e),p}(t,e,n,r,o,i)}(t,e,n,r,Mr,o))}function _r(t,e,n,r){var o=n.length,i=o,a=!r;if(null==t)return!i;for(t=mt(t);o--;){var s=n[o];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++o<i;){var c=(s=n[o])[0],u=t[c],l=s[1];if(a&&s[2]){if(void 0===u&&!(c in t))return!1}else{var d=new Rn;if(r)var f=r(u,l,c,t,e,d);if(!(void 0===f?Mr(l,u,3,r,d):f))return!1}}return!0}function wr(t){return!(!ja(t)||(e=t,Tt&&Tt in e))&&(Ha(t)?Ct:at).test(ki(t));var e}function xr(t){return"function"==typeof t?t:null==t?Us:"object"==typeof t?Ea(t)?Or(t[0],t[1]):Sr(t):ec(t)}function Ar(t){if(!fi(t))return on(t);var e=[];for(var n in mt(t))At.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Lr(t){if(!ja(t))return function(t){var e=[];if(null!=t)for(var n in mt(t))e.push(n);return e}(t);var e=fi(t),n=[];for(var r in t)("constructor"!=r||!e&&At.call(t,r))&&n.push(r);return n}function Tr(t,e){return t<e}function kr(t,e){var n=-1,o=Ba(t)?r(t.length):[];return tr(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}function Sr(t){var e=Zo(t);return 1==e.length&&e[0][2]?pi(e[0][0],e[0][1]):function(n){return n===t||_r(n,t,e)}}function Or(t,e){return ui(t)&&hi(e)?pi(Ti(t),e):function(n){var r=ms(n,t);return void 0===r&&r===e?gs(n,t):Mr(e,r,3)}}function Cr(t,e,n,r,o){t!==e&&ar(e,(function(i,a){if(o||(o=new Rn),ja(i))!function(t,e,n,r,o,i,a){var s=bi(t,n),c=bi(e,n),u=a.get(c);if(u)return void In(t,n,u);var l=i?i(s,c,n+"",t,e,a):void 0,d=void 0===l;if(d){var f=Ea(c),h=!f&&Ra(c),p=!f&&!h&&Qa(c);l=c,f||h||p?Ea(s)?l=s:Pa(s)?l=bo(s):h?(d=!1,l=fo(c,!0)):p?(d=!1,l=po(c,!0)):l=[]:Va(c)||Da(c)?(l=s,Da(s)?l=as(s):ja(s)&&!Ha(s)||(l=ii(c))):d=!1}d&&(a.set(c,l),o(l,c,r,i,a),a.delete(c));In(t,n,l)}(t,e,a,n,Cr,r,o);else{var s=r?r(bi(t,a),i,a+"",t,e,o):void 0;void 0===s&&(s=i),In(t,a,s)}}),_s)}function zr(t,e){var n=t.length;if(n)return si(e+=e<0?n:0,n)?t[e]:void 0}function Dr(t,e,n){e=e.length?he(e,(function(t){return Ea(t)?function(e){return dr(e,1===t.length?t[0]:t)}:t})):[Us];var r=-1;return e=he(e,Ce(Jo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(kr(t,(function(t,n,o){return{criteria:he(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){var r=-1,o=t.criteria,i=e.criteria,a=o.length,s=n.length;for(;++r<a;){var c=mo(o[r],i[r]);if(c){if(r>=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Er(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var a=e[r],s=dr(t,a);n(s,a)&&qr(i,so(a,t),s)}return i}function Nr(t,e,n,r){var o=r?we:_e,i=-1,a=e.length,s=t;for(t===e&&(e=bo(e)),n&&(s=he(t,Ce(n)));++i<a;)for(var c=0,u=e[i],l=n?n(u):u;(c=o(s,l,c,r))>-1;)s!==t&&$t.call(s,c,1),$t.call(t,c,1);return t}function Br(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;si(o)?$t.call(t,o,1):Zr(t,o)}}return t}function Pr(t,e){return t+Ze(ln()*(e-t+1))}function Rr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Ze(e/2))&&(t+=t)}while(e);return n}function Yr(t,e){return _i(mi(t,e,Us),t+"")}function Wr(t){return Wn(Os(t))}function Hr(t,e){var n=Os(t);return Ai(n,$n(e,0,n.length))}function qr(t,e,n,r){if(!ja(t))return t;for(var o=-1,i=(e=so(e,t)).length,a=i-1,s=t;null!=s&&++o<i;){var c=Ti(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var l=s[c];void 0===(u=r?r(l,c,s):void 0)&&(u=ja(l)?l:si(e[o+1])?[]:{})}jn(s,c,u),s=s[c]}return t}var Ir=bn?function(t,e){return bn.set(t,e),t}:Us,jr=Te?function(t,e){return Te(t,"toString",{configurable:!0,enumerable:!1,value:js(e),writable:!0})}:Us;function Xr(t){return Ai(Os(t))}function Fr(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=r(i);++o<i;)a[o]=t[o+e];return a}function Ur(t,e){var n;return tr(t,(function(t,r,o){return!(n=e(t,r,o))})),!!n}function Vr(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=t[i];null!==a&&!Ja(a)&&(n?a<=e:a<e)?r=i+1:o=i}return o}return Gr(t,e,Us,n)}function Gr(t,e,n,r){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var a=(e=n(e))!=e,s=null===e,c=Ja(e),u=void 0===e;o<i;){var l=Ze((o+i)/2),d=n(t[l]),f=void 0!==d,h=null===d,p=d==d,m=Ja(d);if(a)var g=r||p;else g=u?p&&(r||f):s?p&&f&&(r||!h):c?p&&f&&!h&&(r||!m):!h&&!m&&(r?d<=e:d<e);g?o=l+1:i=l}return sn(i,4294967294)}function $r(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Oa(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Kr(t){return"number"==typeof t?t:Ja(t)?NaN:+t}function Jr(t){if("string"==typeof t)return t;if(Ea(t))return he(t,Jr)+"";if(Ja(t))return kn?kn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qr(t,e,n){var r=-1,o=de,i=t.length,a=!0,s=[],c=s;if(n)a=!1,o=fe;else if(i>=200){var u=e?null:Yo(t);if(u)return je(u);a=!1,o=De,c=new Pn}else c=e?[]:s;t:for(;++r<i;){var l=t[r],d=e?e(l):l;if(l=n||0!==l?l:0,a&&d==d){for(var f=c.length;f--;)if(c[f]===d)continue t;e&&c.push(d),s.push(l)}else o(c,d,n)||(c!==s&&c.push(d),s.push(l))}return s}function Zr(t,e){return null==(t=gi(t,e=so(e,t)))||delete t[Ti(Wi(e))]}function to(t,e,n,r){return qr(t,e,n(dr(t,e)),r)}function eo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?Fr(t,r?0:i,r?i+1:o):Fr(t,r?i+1:0,r?o:i)}function no(t,e){var n=t;return n instanceof Dn&&(n=n.value()),me(e,(function(t,e){return e.func.apply(e.thisArg,pe([t],e.args))}),n)}function ro(t,e,n){var o=t.length;if(o<2)return o?Qr(t[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=t[i],c=-1;++c<o;)c!=i&&(a[i]=Zn(a[i]||s,t[c],e,n));return Qr(ir(a,1),e,n)}function oo(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var s=r<i?e[r]:void 0;n(a,t[r],s)}return a}function io(t){return Pa(t)?t:[]}function ao(t){return"function"==typeof t?t:Us}function so(t,e){return Ea(t)?t:ui(t,e)?[t]:Li(ss(t))}var co=Yr;function uo(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Fr(t,e,n)}var lo=$e||function(t){return Vt.clearTimeout(t)};function fo(t,e){if(e)return t.slice();var n=t.length,r=It?It(n):new t.constructor(n);return t.copy(r),r}function ho(t){var e=new t.constructor(t.byteLength);return new Pt(e).set(new Pt(t)),e}function po(t,e){var n=e?ho(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function mo(t,e){if(t!==e){var n=void 0!==t,r=null===t,o=t==t,i=Ja(t),a=void 0!==e,s=null===e,c=e==e,u=Ja(e);if(!s&&!u&&!i&&t>e||i&&a&&c&&!s&&!u||r&&a&&c||!n&&c||!o)return 1;if(!r&&!i&&!u&&t<e||u&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!c)return-1}return 0}function go(t,e,n,o){for(var i=-1,a=t.length,s=n.length,c=-1,u=e.length,l=an(a-s,0),d=r(u+l),f=!o;++c<u;)d[c]=e[c];for(;++i<s;)(f||i<a)&&(d[n[i]]=t[i]);for(;l--;)d[c++]=t[i++];return d}function vo(t,e,n,o){for(var i=-1,a=t.length,s=-1,c=n.length,u=-1,l=e.length,d=an(a-c,0),f=r(d+l),h=!o;++i<d;)f[i]=t[i];for(var p=i;++u<l;)f[p+u]=e[u];for(;++s<c;)(h||i<a)&&(f[p+n[s]]=t[i++]);return f}function bo(t,e){var n=-1,o=t.length;for(e||(e=r(o));++n<o;)e[n]=t[n];return e}function yo(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var s=e[i],c=r?r(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),o?Vn(n,s,c):jn(n,s,c)}return n}function Mo(t,e){return function(n,r){var o=Ea(n)?ae:Fn,i=e?e():{};return o(n,t,Jo(r,2),i)}}function _o(t){return Yr((function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&ci(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=mt(e);++r<o;){var s=n[r];s&&t(e,s,r,i)}return e}))}function wo(t,e){return function(n,r){if(null==n)return n;if(!Ba(n))return t(n,r);for(var o=n.length,i=e?o:-1,a=mt(n);(e?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function xo(t){return function(e,n,r){for(var o=-1,i=mt(e),a=r(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(i[c],c,i))break}return e}}function Ao(t){return function(e){var n=We(e=ss(e))?Ue(e):void 0,r=n?n[0]:e.charAt(0),o=n?uo(n,1).join(""):e.slice(1);return r[t]()+o}}function Lo(t){return function(e){return me(Hs(Ds(e).replace(Dt,"")),t,"")}}function To(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=On(t.prototype),r=t.apply(n,e);return ja(r)?r:n}}function ko(t){return function(e,n,r){var o=mt(e);if(!Ba(e)){var i=Jo(n,3);e=Ms(e),n=function(t){return i(o[t],t,o)}}var a=t(e,n,r);return a>-1?o[i?e[a]:a]:void 0}}function So(t){return Fo((function(e){var n=e.length,r=n,o=zn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new bt(i);if(o&&!s&&"wrapper"==$o(a))var s=new zn([],!0)}for(r=s?r:n;++r<n;){var c=$o(a=e[r]),u="wrapper"==c?Go(a):void 0;s=u&&li(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?s[$o(u[0])].apply(s,u[3]):1==a.length&&li(a)?s[c]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&Ea(r))return s.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}}))}function Oo(t,e,n,o,i,a,s,c,u,l){var d=128&e,f=1&e,h=2&e,p=24&e,m=512&e,g=h?void 0:To(t);return function v(){for(var b=arguments.length,y=r(b),M=b;M--;)y[M]=arguments[M];if(p)var _=Ko(v),w=Be(y,_);if(o&&(y=go(y,o,i,p)),a&&(y=vo(y,a,s,p)),b-=w,p&&b<l){var x=Ie(y,_);return Po(t,e,Oo,v.placeholder,n,y,x,c,u,l-b)}var A=f?n:this,L=h?A[t]:t;return b=y.length,c?y=vi(y,c):m&&b>1&&y.reverse(),d&&u<b&&(y.length=u),this&&this!==Vt&&this instanceof v&&(L=g||To(L)),L.apply(A,y)}}function Co(t,e){return function(n,r){return function(t,e,n,r){return cr(t,(function(t,o,i){e(r,n(t),o,i)})),r}(n,t,e(r),{})}}function zo(t,e){return function(n,r){var o;if(void 0===n&&void 0===r)return e;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Jr(n),r=Jr(r)):(n=Kr(n),r=Kr(r)),o=t(n,r)}return o}}function Do(t){return Fo((function(e){return e=he(e,Ce(Jo())),Yr((function(n){var r=this;return t(e,(function(t){return ie(t,r,n)}))}))}))}function Eo(t,e){var n=(e=void 0===e?" ":Jr(e)).length;if(n<2)return n?Rr(e,t):e;var r=Rr(e,Qe(t/Fe(e)));return We(e)?uo(Ue(r),0,t).join(""):r.slice(0,t)}function No(t){return function(e,n,o){return o&&"number"!=typeof o&&ci(e,n,o)&&(n=o=void 0),e=ns(e),void 0===n?(n=e,e=0):n=ns(n),function(t,e,n,o){for(var i=-1,a=an(Qe((e-t)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=t,t+=n;return s}(e,n,o=void 0===o?e<n?1:-1:ns(o),t)}}function Bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=is(e),n=is(n)),t(e,n)}}function Po(t,e,n,r,o,i,a,s,c,u){var l=8&e;e|=l?32:64,4&(e&=~(l?64:32))||(e&=-4);var d=[t,e,o,l?i:void 0,l?a:void 0,l?void 0:i,l?void 0:a,s,c,u],f=n.apply(void 0,d);return li(t)&&yi(f,d),f.placeholder=r,wi(f,t,e)}function Ro(t){var e=pt[t];return function(t,n){if(t=is(t),(n=null==n?0:sn(rs(n),292))&&nn(t)){var r=(ss(t)+"e").split("e");return+((r=(ss(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Yo=mn&&1/je(new mn([,-0]))[1]==1/0?function(t){return new mn(t)}:Js;function Wo(t){return function(e){var n=ri(e);return n==m?He(e):n==y?Xe(e):function(t,e){return he(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Ho(t,e,n,o,s,c,u,l){var d=2&e;if(!d&&"function"!=typeof t)throw new bt(i);var f=o?o.length:0;if(f||(e&=-97,o=s=void 0),u=void 0===u?u:an(rs(u),0),l=void 0===l?l:rs(l),f-=s?s.length:0,64&e){var h=o,p=s;o=s=void 0}var m=d?void 0:Go(t),g=[t,e,n,o,s,h,p,c,u,l];if(m&&function(t,e){var n=t[1],r=e[1],o=n|r,i=o<131,s=128==r&&8==n||128==r&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!i&&!s)return t;1&r&&(t[2]=e[2],o|=1&n?0:4);var c=e[3];if(c){var u=t[3];t[3]=u?go(u,c,e[4]):c,t[4]=u?Ie(t[3],a):e[4]}(c=e[5])&&(u=t[5],t[5]=u?vo(u,c,e[6]):c,t[6]=u?Ie(t[5],a):e[6]);(c=e[7])&&(t[7]=c);128&r&&(t[8]=null==t[8]?e[8]:sn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=o}(g,m),t=g[0],e=g[1],n=g[2],o=g[3],s=g[4],!(l=g[9]=void 0===g[9]?d?0:t.length:an(g[9]-f,0))&&24&e&&(e&=-25),e&&1!=e)v=8==e||16==e?function(t,e,n){var o=To(t);return function i(){for(var a=arguments.length,s=r(a),c=a,u=Ko(i);c--;)s[c]=arguments[c];var l=a<3&&s[0]!==u&&s[a-1]!==u?[]:Ie(s,u);if((a-=l.length)<n)return Po(t,e,Oo,i.placeholder,void 0,s,l,void 0,void 0,n-a);var d=this&&this!==Vt&&this instanceof i?o:t;return ie(d,this,s)}}(t,e,l):32!=e&&33!=e||s.length?Oo.apply(void 0,g):function(t,e,n,o){var i=1&e,a=To(t);return function e(){for(var s=-1,c=arguments.length,u=-1,l=o.length,d=r(l+c),f=this&&this!==Vt&&this instanceof e?a:t;++u<l;)d[u]=o[u];for(;c--;)d[u++]=arguments[++s];return ie(f,i?n:this,d)}}(t,e,n,o);else var v=function(t,e,n){var r=1&e,o=To(t);return function e(){var i=this&&this!==Vt&&this instanceof e?o:t;return i.apply(r?n:this,arguments)}}(t,e,n);return wi((m?Ir:yi)(v,g),t,e)}function qo(t,e,n,r){return void 0===t||Oa(t,_t[n])&&!At.call(r,n)?e:t}function Io(t,e,n,r,o,i){return ja(t)&&ja(e)&&(i.set(e,t),Cr(t,e,void 0,Io,i),i.delete(e)),t}function jo(t){return Va(t)?void 0:t}function Xo(t,e,n,r,o,i){var a=1&n,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=i.get(t),l=i.get(e);if(u&&l)return u==e&&l==t;var d=-1,f=!0,h=2&n?new Pn:void 0;for(i.set(t,e),i.set(e,t);++d<s;){var p=t[d],m=e[d];if(r)var g=a?r(m,p,d,e,t,i):r(p,m,d,t,e,i);if(void 0!==g){if(g)continue;f=!1;break}if(h){if(!ve(e,(function(t,e){if(!De(h,e)&&(p===t||o(p,t,n,r,i)))return h.push(e)}))){f=!1;break}}else if(p!==m&&!o(p,m,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function Fo(t){return _i(mi(t,void 0,Ni),t+"")}function Uo(t){return fr(t,Ms,ei)}function Vo(t){return fr(t,_s,ni)}var Go=bn?function(t){return bn.get(t)}:Js;function $o(t){for(var e=t.name+"",n=yn[e],r=At.call(yn,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function Ko(t){return(At.call(Sn,"placeholder")?Sn:t).placeholder}function Jo(){var t=Sn.iteratee||Vs;return t=t===Vs?xr:t,arguments.length?t(arguments[0],arguments[1]):t}function Qo(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Zo(t){for(var e=Ms(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,hi(o)]}return e}function ti(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return wr(n)?n:void 0}var ei=tn?function(t){return null==t?[]:(t=mt(t),le(tn(t),(function(e){return Gt.call(t,e)})))}:oc,ni=tn?function(t){for(var e=[];t;)pe(e,ei(t)),t=Ft(t);return e}:oc,ri=hr;function oi(t,e,n){for(var r=-1,o=(e=so(e,t)).length,i=!1;++r<o;){var a=Ti(e[r]);if(!(i=null!=t&&n(t,a)))break;t=t[a]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Ia(o)&&si(a,o)&&(Ea(t)||Da(t))}function ii(t){return"function"!=typeof t.constructor||fi(t)?{}:On(Ft(t))}function ai(t){return Ea(t)||Da(t)||!!(Jt&&t&&t[Jt])}function si(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&ct.test(t))&&t>-1&&t%1==0&&t<e}function ci(t,e,n){if(!ja(n))return!1;var r=typeof e;return!!("number"==r?Ba(n)&&si(e,n.length):"string"==r&&e in n)&&Oa(n[e],t)}function ui(t,e){if(Ea(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ja(t))||(X.test(t)||!j.test(t)||null!=e&&t in mt(e))}function li(t){var e=$o(t),n=Sn[e];if("function"!=typeof n||!(e in Dn.prototype))return!1;if(t===n)return!0;var r=Go(n);return!!r&&t===r[0]}(fn&&ri(new fn(new ArrayBuffer(1)))!=A||hn&&ri(new hn)!=m||pn&&"[object Promise]"!=ri(pn.resolve())||mn&&ri(new mn)!=y||gn&&ri(new gn)!=w)&&(ri=function(t){var e=hr(t),n=e==v?t.constructor:void 0,r=n?ki(n):"";if(r)switch(r){case Mn:return A;case _n:return m;case wn:return"[object Promise]";case xn:return y;case An:return w}return e});var di=wt?Ha:ic;function fi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||_t)}function hi(t){return t==t&&!ja(t)}function pi(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in mt(n)))}}function mi(t,e,n){return e=an(void 0===e?t.length-1:e,0),function(){for(var o=arguments,i=-1,a=an(o.length-e,0),s=r(a);++i<a;)s[i]=o[e+i];i=-1;for(var c=r(e+1);++i<e;)c[i]=o[i];return c[e]=n(s),ie(t,this,c)}}function gi(t,e){return e.length<2?t:dr(t,Fr(e,0,-1))}function vi(t,e){for(var n=t.length,r=sn(e.length,n),o=bo(t);r--;){var i=e[r];t[r]=si(i,n)?o[i]:void 0}return t}function bi(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var yi=xi(Ir),Mi=Je||function(t,e){return Vt.setTimeout(t,e)},_i=xi(jr);function wi(t,e,n){var r=e+"";return _i(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(J,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return se(s,(function(n){var r="_."+n[0];e&n[1]&&!de(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(Q);return e?e[1].split(Z):[]}(r),n)))}function xi(t){var e=0,n=0;return function(){var r=cn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Ai(t,e){var n=-1,r=t.length,o=r-1;for(e=void 0===e?r:e;++n<e;){var i=Pr(n,o),a=t[i];t[i]=t[n],t[n]=a}return t.length=e,t}var Li=function(t){var e=xa(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(F,(function(t,n,r,o){e.push(r?o.replace(et,"$1"):n||t)})),e}));function Ti(t){if("string"==typeof t||Ja(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ki(t){if(null!=t){try{return xt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Si(t){if(t instanceof Dn)return t.clone();var e=new zn(t.__wrapped__,t.__chain__);return e.__actions__=bo(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Oi=Yr((function(t,e){return Pa(t)?Zn(t,ir(e,1,Pa,!0)):[]})),Ci=Yr((function(t,e){var n=Wi(e);return Pa(n)&&(n=void 0),Pa(t)?Zn(t,ir(e,1,Pa,!0),Jo(n,2)):[]})),zi=Yr((function(t,e){var n=Wi(e);return Pa(n)&&(n=void 0),Pa(t)?Zn(t,ir(e,1,Pa,!0),void 0,n):[]}));function Di(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),Me(t,Jo(e,3),o)}function Ei(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=rs(n),o=n<0?an(r+o,0):sn(o,r-1)),Me(t,Jo(e,3),o,!0)}function Ni(t){return(null==t?0:t.length)?ir(t,1):[]}function Bi(t){return t&&t.length?t[0]:void 0}var Pi=Yr((function(t){var e=he(t,io);return e.length&&e[0]===t[0]?vr(e):[]})),Ri=Yr((function(t){var e=Wi(t),n=he(t,io);return e===Wi(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?vr(n,Jo(e,2)):[]})),Yi=Yr((function(t){var e=Wi(t),n=he(t,io);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?vr(n,void 0,e):[]}));function Wi(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Hi=Yr(qi);function qi(t,e){return t&&t.length&&e&&e.length?Nr(t,e):t}var Ii=Fo((function(t,e){var n=null==t?0:t.length,r=Gn(t,e);return Br(t,he(e,(function(t){return si(t,n)?+t:t})).sort(mo)),r}));function ji(t){return null==t?t:dn.call(t)}var Xi=Yr((function(t){return Qr(ir(t,1,Pa,!0))})),Fi=Yr((function(t){var e=Wi(t);return Pa(e)&&(e=void 0),Qr(ir(t,1,Pa,!0),Jo(e,2))})),Ui=Yr((function(t){var e=Wi(t);return e="function"==typeof e?e:void 0,Qr(ir(t,1,Pa,!0),void 0,e)}));function Vi(t){if(!t||!t.length)return[];var e=0;return t=le(t,(function(t){if(Pa(t))return e=an(t.length,e),!0})),Oe(e,(function(e){return he(t,Le(e))}))}function Gi(t,e){if(!t||!t.length)return[];var n=Vi(t);return null==e?n:he(n,(function(t){return ie(e,void 0,t)}))}var $i=Yr((function(t,e){return Pa(t)?Zn(t,e):[]})),Ki=Yr((function(t){return ro(le(t,Pa))})),Ji=Yr((function(t){var e=Wi(t);return Pa(e)&&(e=void 0),ro(le(t,Pa),Jo(e,2))})),Qi=Yr((function(t){var e=Wi(t);return e="function"==typeof e?e:void 0,ro(le(t,Pa),void 0,e)})),Zi=Yr(Vi);var ta=Yr((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Gi(t,n)}));function ea(t){var e=Sn(t);return e.__chain__=!0,e}function na(t,e){return e(t)}var ra=Fo((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Gn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Dn&&si(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new zn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(o)}));var oa=Mo((function(t,e,n){At.call(t,n)?++t[n]:Vn(t,n,1)}));var ia=ko(Di),aa=ko(Ei);function sa(t,e){return(Ea(t)?se:tr)(t,Jo(e,3))}function ca(t,e){return(Ea(t)?ce:er)(t,Jo(e,3))}var ua=Mo((function(t,e,n){At.call(t,n)?t[n].push(e):Vn(t,n,[e])}));var la=Yr((function(t,e,n){var o=-1,i="function"==typeof e,a=Ba(t)?r(t.length):[];return tr(t,(function(t){a[++o]=i?ie(e,t,n):br(t,e,n)})),a})),da=Mo((function(t,e,n){Vn(t,n,e)}));function fa(t,e){return(Ea(t)?he:kr)(t,Jo(e,3))}var ha=Mo((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var pa=Yr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ci(t,e[0],e[1])?e=[]:n>2&&ci(e[0],e[1],e[2])&&(e=[e[0]]),Dr(t,ir(e,1),[])})),ma=Ke||function(){return Vt.Date.now()};function ga(t,e,n){return e=n?void 0:e,Ho(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function va(t,e){var n;if("function"!=typeof e)throw new bt(i);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ba=Yr((function(t,e,n){var r=1;if(n.length){var o=Ie(n,Ko(ba));r|=32}return Ho(t,r,e,n,o)})),ya=Yr((function(t,e,n){var r=3;if(n.length){var o=Ie(n,Ko(ya));r|=32}return Ho(e,r,t,n,o)}));function Ma(t,e,n){var r,o,a,s,c,u,l=0,d=!1,f=!1,h=!0;if("function"!=typeof t)throw new bt(i);function p(e){var n=r,i=o;return r=o=void 0,l=e,s=t.apply(i,n)}function m(t){return l=t,c=Mi(v,e),d?p(t):s}function g(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-l>=a}function v(){var t=ma();if(g(t))return b(t);c=Mi(v,function(t){var n=e-(t-u);return f?sn(n,a-(t-l)):n}(t))}function b(t){return c=void 0,h&&r?p(t):(r=o=void 0,s)}function y(){var t=ma(),n=g(t);if(r=arguments,o=this,u=t,n){if(void 0===c)return m(u);if(f)return lo(c),c=Mi(v,e),p(u)}return void 0===c&&(c=Mi(v,e)),s}return e=is(e)||0,ja(n)&&(d=!!n.leading,a=(f="maxWait"in n)?an(is(n.maxWait)||0,e):a,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==c&&lo(c),l=0,r=u=o=c=void 0},y.flush=function(){return void 0===c?s:b(ma())},y}var _a=Yr((function(t,e){return Qn(t,1,e)})),wa=Yr((function(t,e,n){return Qn(t,is(e)||0,n)}));function xa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new bt(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xa.Cache||Bn),n}function Aa(t){if("function"!=typeof t)throw new bt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}xa.Cache=Bn;var La=co((function(t,e){var n=(e=1==e.length&&Ea(e[0])?he(e[0],Ce(Jo())):he(ir(e,1),Ce(Jo()))).length;return Yr((function(r){for(var o=-1,i=sn(r.length,n);++o<i;)r[o]=e[o].call(this,r[o]);return ie(t,this,r)}))})),Ta=Yr((function(t,e){return Ho(t,32,void 0,e,Ie(e,Ko(Ta)))})),ka=Yr((function(t,e){return Ho(t,64,void 0,e,Ie(e,Ko(ka)))})),Sa=Fo((function(t,e){return Ho(t,256,void 0,void 0,void 0,e)}));function Oa(t,e){return t===e||t!=t&&e!=e}var Ca=Bo(pr),za=Bo((function(t,e){return t>=e})),Da=yr(function(){return arguments}())?yr:function(t){return Xa(t)&&At.call(t,"callee")&&!Gt.call(t,"callee")},Ea=r.isArray,Na=Zt?Ce(Zt):function(t){return Xa(t)&&hr(t)==x};function Ba(t){return null!=t&&Ia(t.length)&&!Ha(t)}function Pa(t){return Xa(t)&&Ba(t)}var Ra=en||ic,Ya=te?Ce(te):function(t){return Xa(t)&&hr(t)==d};function Wa(t){if(!Xa(t))return!1;var e=hr(t);return e==f||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Va(t)}function Ha(t){if(!ja(t))return!1;var e=hr(t);return e==h||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function qa(t){return"number"==typeof t&&t==rs(t)}function Ia(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function ja(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Xa(t){return null!=t&&"object"==typeof t}var Fa=ee?Ce(ee):function(t){return Xa(t)&&ri(t)==m};function Ua(t){return"number"==typeof t||Xa(t)&&hr(t)==g}function Va(t){if(!Xa(t)||hr(t)!=v)return!1;var e=Ft(t);if(null===e)return!0;var n=At.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&xt.call(n)==St}var Ga=ne?Ce(ne):function(t){return Xa(t)&&hr(t)==b};var $a=re?Ce(re):function(t){return Xa(t)&&ri(t)==y};function Ka(t){return"string"==typeof t||!Ea(t)&&Xa(t)&&hr(t)==M}function Ja(t){return"symbol"==typeof t||Xa(t)&&hr(t)==_}var Qa=oe?Ce(oe):function(t){return Xa(t)&&Ia(t.length)&&!!Ht[hr(t)]};var Za=Bo(Tr),ts=Bo((function(t,e){return t<=e}));function es(t){if(!t)return[];if(Ba(t))return Ka(t)?Ue(t):bo(t);if(Qt&&t[Qt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Qt]());var e=ri(t);return(e==m?He:e==y?je:Os)(t)}function ns(t){return t?(t=is(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=ns(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?$n(rs(t),0,4294967295):0}function is(t){if("number"==typeof t)return t;if(Ja(t))return NaN;if(ja(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ja(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(G,"");var n=it.test(t);return n||st.test(t)?Xt(t.slice(2),n?2:8):ot.test(t)?NaN:+t}function as(t){return yo(t,_s(t))}function ss(t){return null==t?"":Jr(t)}var cs=_o((function(t,e){if(fi(e)||Ba(e))yo(e,Ms(e),t);else for(var n in e)At.call(e,n)&&jn(t,n,e[n])})),us=_o((function(t,e){yo(e,_s(e),t)})),ls=_o((function(t,e,n,r){yo(e,_s(e),t,r)})),ds=_o((function(t,e,n,r){yo(e,Ms(e),t,r)})),fs=Fo(Gn);var hs=Yr((function(t,e){t=mt(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&ci(e[0],e[1],o)&&(r=1);++n<r;)for(var i=e[n],a=_s(i),s=-1,c=a.length;++s<c;){var u=a[s],l=t[u];(void 0===l||Oa(l,_t[u])&&!At.call(t,u))&&(t[u]=i[u])}return t})),ps=Yr((function(t){return t.push(void 0,Io),ie(xs,void 0,t)}));function ms(t,e,n){var r=null==t?void 0:dr(t,e);return void 0===r?n:r}function gs(t,e){return null!=t&&oi(t,e,gr)}var vs=Co((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),t[e]=n}),js(Us)),bs=Co((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),At.call(t,e)?t[e].push(n):t[e]=[n]}),Jo),ys=Yr(br);function Ms(t){return Ba(t)?Yn(t):Ar(t)}function _s(t){return Ba(t)?Yn(t,!0):Lr(t)}var ws=_o((function(t,e,n){Cr(t,e,n)})),xs=_o((function(t,e,n,r){Cr(t,e,n,r)})),As=Fo((function(t,e){var n={};if(null==t)return n;var r=!1;e=he(e,(function(e){return e=so(e,t),r||(r=e.length>1),e})),yo(t,Vo(t),n),r&&(n=Kn(n,7,jo));for(var o=e.length;o--;)Zr(n,e[o]);return n}));var Ls=Fo((function(t,e){return null==t?{}:function(t,e){return Er(t,e,(function(e,n){return gs(t,n)}))}(t,e)}));function Ts(t,e){if(null==t)return{};var n=he(Vo(t),(function(t){return[t]}));return e=Jo(e),Er(t,n,(function(t,n){return e(t,n[0])}))}var ks=Wo(Ms),Ss=Wo(_s);function Os(t){return null==t?[]:ze(t,Ms(t))}var Cs=Lo((function(t,e,n){return e=e.toLowerCase(),t+(n?zs(e):e)}));function zs(t){return Ws(ss(t).toLowerCase())}function Ds(t){return(t=ss(t))&&t.replace(ut,Pe).replace(Et,"")}var Es=Lo((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ns=Lo((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Bs=Ao("toLowerCase");var Ps=Lo((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Rs=Lo((function(t,e,n){return t+(n?" ":"")+Ws(e)}));var Ys=Lo((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ws=Ao("toUpperCase");function Hs(t,e,n){return t=ss(t),void 0===(e=n?void 0:e)?function(t){return Rt.test(t)}(t)?function(t){return t.match(Bt)||[]}(t):function(t){return t.match(tt)||[]}(t):t.match(e)||[]}var qs=Yr((function(t,e){try{return ie(t,void 0,e)}catch(t){return Wa(t)?t:new ft(t)}})),Is=Fo((function(t,e){return se(e,(function(e){e=Ti(e),Vn(t,e,ba(t[e],t))})),t}));function js(t){return function(){return t}}var Xs=So(),Fs=So(!0);function Us(t){return t}function Vs(t){return xr("function"==typeof t?t:Kn(t,1))}var Gs=Yr((function(t,e){return function(n){return br(n,t,e)}})),$s=Yr((function(t,e){return function(n){return br(t,n,e)}}));function Ks(t,e,n){var r=Ms(e),o=lr(e,r);null!=n||ja(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=lr(e,Ms(e)));var i=!(ja(n)&&"chain"in n&&!n.chain),a=Ha(t);return se(o,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__),o=n.__actions__=bo(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,pe([this.value()],arguments))})})),t}function Js(){}var Qs=Do(he),Zs=Do(ue),tc=Do(ve);function ec(t){return ui(t)?Le(Ti(t)):function(t){return function(e){return dr(e,t)}}(t)}var nc=No(),rc=No(!0);function oc(){return[]}function ic(){return!1}var ac=zo((function(t,e){return t+e}),0),sc=Ro("ceil"),cc=zo((function(t,e){return t/e}),1),uc=Ro("floor");var lc,dc=zo((function(t,e){return t*e}),1),fc=Ro("round"),hc=zo((function(t,e){return t-e}),0);return Sn.after=function(t,e){if("function"!=typeof e)throw new bt(i);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},Sn.ary=ga,Sn.assign=cs,Sn.assignIn=us,Sn.assignInWith=ls,Sn.assignWith=ds,Sn.at=fs,Sn.before=va,Sn.bind=ba,Sn.bindAll=Is,Sn.bindKey=ya,Sn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ea(t)?t:[t]},Sn.chain=ea,Sn.chunk=function(t,e,n){e=(n?ci(t,e,n):void 0===e)?1:an(rs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,a=0,s=r(Qe(o/e));i<o;)s[a++]=Fr(t,i,i+=e);return s},Sn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},Sn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],o=t;o--;)e[o-1]=arguments[o];return pe(Ea(n)?bo(n):[n],ir(e,1))},Sn.cond=function(t){var e=null==t?0:t.length,n=Jo();return t=e?he(t,(function(t){if("function"!=typeof t[1])throw new bt(i);return[n(t[0]),t[1]]})):[],Yr((function(n){for(var r=-1;++r<e;){var o=t[r];if(ie(o[0],this,n))return ie(o[1],this,n)}}))},Sn.conforms=function(t){return function(t){var e=Ms(t);return function(n){return Jn(n,t,e)}}(Kn(t,1))},Sn.constant=js,Sn.countBy=oa,Sn.create=function(t,e){var n=On(t);return null==e?n:Un(n,e)},Sn.curry=function t(e,n,r){var o=Ho(e,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=t.placeholder,o},Sn.curryRight=function t(e,n,r){var o=Ho(e,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=t.placeholder,o},Sn.debounce=Ma,Sn.defaults=hs,Sn.defaultsDeep=ps,Sn.defer=_a,Sn.delay=wa,Sn.difference=Oi,Sn.differenceBy=Ci,Sn.differenceWith=zi,Sn.drop=function(t,e,n){var r=null==t?0:t.length;return r?Fr(t,(e=n||void 0===e?1:rs(e))<0?0:e,r):[]},Sn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Fr(t,0,(e=r-(e=n||void 0===e?1:rs(e)))<0?0:e):[]},Sn.dropRightWhile=function(t,e){return t&&t.length?eo(t,Jo(e,3),!0,!0):[]},Sn.dropWhile=function(t,e){return t&&t.length?eo(t,Jo(e,3),!0):[]},Sn.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&ci(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=rs(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Sn.filter=function(t,e){return(Ea(t)?le:or)(t,Jo(e,3))},Sn.flatMap=function(t,e){return ir(fa(t,e),1)},Sn.flatMapDeep=function(t,e){return ir(fa(t,e),1/0)},Sn.flatMapDepth=function(t,e,n){return n=void 0===n?1:rs(n),ir(fa(t,e),n)},Sn.flatten=Ni,Sn.flattenDeep=function(t){return(null==t?0:t.length)?ir(t,1/0):[]},Sn.flattenDepth=function(t,e){return(null==t?0:t.length)?ir(t,e=void 0===e?1:rs(e)):[]},Sn.flip=function(t){return Ho(t,512)},Sn.flow=Xs,Sn.flowRight=Fs,Sn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},Sn.functions=function(t){return null==t?[]:lr(t,Ms(t))},Sn.functionsIn=function(t){return null==t?[]:lr(t,_s(t))},Sn.groupBy=ua,Sn.initial=function(t){return(null==t?0:t.length)?Fr(t,0,-1):[]},Sn.intersection=Pi,Sn.intersectionBy=Ri,Sn.intersectionWith=Yi,Sn.invert=vs,Sn.invertBy=bs,Sn.invokeMap=la,Sn.iteratee=Vs,Sn.keyBy=da,Sn.keys=Ms,Sn.keysIn=_s,Sn.map=fa,Sn.mapKeys=function(t,e){var n={};return e=Jo(e,3),cr(t,(function(t,r,o){Vn(n,e(t,r,o),t)})),n},Sn.mapValues=function(t,e){var n={};return e=Jo(e,3),cr(t,(function(t,r,o){Vn(n,r,e(t,r,o))})),n},Sn.matches=function(t){return Sr(Kn(t,1))},Sn.matchesProperty=function(t,e){return Or(t,Kn(e,1))},Sn.memoize=xa,Sn.merge=ws,Sn.mergeWith=xs,Sn.method=Gs,Sn.methodOf=$s,Sn.mixin=Ks,Sn.negate=Aa,Sn.nthArg=function(t){return t=rs(t),Yr((function(e){return zr(e,t)}))},Sn.omit=As,Sn.omitBy=function(t,e){return Ts(t,Aa(Jo(e)))},Sn.once=function(t){return va(2,t)},Sn.orderBy=function(t,e,n,r){return null==t?[]:(Ea(e)||(e=null==e?[]:[e]),Ea(n=r?void 0:n)||(n=null==n?[]:[n]),Dr(t,e,n))},Sn.over=Qs,Sn.overArgs=La,Sn.overEvery=Zs,Sn.overSome=tc,Sn.partial=Ta,Sn.partialRight=ka,Sn.partition=ha,Sn.pick=Ls,Sn.pickBy=Ts,Sn.property=ec,Sn.propertyOf=function(t){return function(e){return null==t?void 0:dr(t,e)}},Sn.pull=Hi,Sn.pullAll=qi,Sn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Nr(t,e,Jo(n,2)):t},Sn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Nr(t,e,void 0,n):t},Sn.pullAt=Ii,Sn.range=nc,Sn.rangeRight=rc,Sn.rearg=Sa,Sn.reject=function(t,e){return(Ea(t)?le:or)(t,Aa(Jo(e,3)))},Sn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=Jo(e,3);++r<i;){var a=t[r];e(a,r,t)&&(n.push(a),o.push(r))}return Br(t,o),n},Sn.rest=function(t,e){if("function"!=typeof t)throw new bt(i);return Yr(t,e=void 0===e?e:rs(e))},Sn.reverse=ji,Sn.sampleSize=function(t,e,n){return e=(n?ci(t,e,n):void 0===e)?1:rs(e),(Ea(t)?Hn:Hr)(t,e)},Sn.set=function(t,e,n){return null==t?t:qr(t,e,n)},Sn.setWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:qr(t,e,n,r)},Sn.shuffle=function(t){return(Ea(t)?qn:Xr)(t)},Sn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&ci(t,e,n)?(e=0,n=r):(e=null==e?0:rs(e),n=void 0===n?r:rs(n)),Fr(t,e,n)):[]},Sn.sortBy=pa,Sn.sortedUniq=function(t){return t&&t.length?$r(t):[]},Sn.sortedUniqBy=function(t,e){return t&&t.length?$r(t,Jo(e,2)):[]},Sn.split=function(t,e,n){return n&&"number"!=typeof n&&ci(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ss(t))&&("string"==typeof e||null!=e&&!Ga(e))&&!(e=Jr(e))&&We(t)?uo(Ue(t),0,n):t.split(e,n):[]},Sn.spread=function(t,e){if("function"!=typeof t)throw new bt(i);return e=null==e?0:an(rs(e),0),Yr((function(n){var r=n[e],o=uo(n,0,e);return r&&pe(o,r),ie(t,this,o)}))},Sn.tail=function(t){var e=null==t?0:t.length;return e?Fr(t,1,e):[]},Sn.take=function(t,e,n){return t&&t.length?Fr(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},Sn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Fr(t,(e=r-(e=n||void 0===e?1:rs(e)))<0?0:e,r):[]},Sn.takeRightWhile=function(t,e){return t&&t.length?eo(t,Jo(e,3),!1,!0):[]},Sn.takeWhile=function(t,e){return t&&t.length?eo(t,Jo(e,3)):[]},Sn.tap=function(t,e){return e(t),t},Sn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new bt(i);return ja(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ma(t,e,{leading:r,maxWait:e,trailing:o})},Sn.thru=na,Sn.toArray=es,Sn.toPairs=ks,Sn.toPairsIn=Ss,Sn.toPath=function(t){return Ea(t)?he(t,Ti):Ja(t)?[t]:bo(Li(ss(t)))},Sn.toPlainObject=as,Sn.transform=function(t,e,n){var r=Ea(t),o=r||Ra(t)||Qa(t);if(e=Jo(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:ja(t)&&Ha(i)?On(Ft(t)):{}}return(o?se:cr)(t,(function(t,r,o){return e(n,t,r,o)})),n},Sn.unary=function(t){return ga(t,1)},Sn.union=Xi,Sn.unionBy=Fi,Sn.unionWith=Ui,Sn.uniq=function(t){return t&&t.length?Qr(t):[]},Sn.uniqBy=function(t,e){return t&&t.length?Qr(t,Jo(e,2)):[]},Sn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qr(t,void 0,e):[]},Sn.unset=function(t,e){return null==t||Zr(t,e)},Sn.unzip=Vi,Sn.unzipWith=Gi,Sn.update=function(t,e,n){return null==t?t:to(t,e,ao(n))},Sn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:to(t,e,ao(n),r)},Sn.values=Os,Sn.valuesIn=function(t){return null==t?[]:ze(t,_s(t))},Sn.without=$i,Sn.words=Hs,Sn.wrap=function(t,e){return Ta(ao(e),t)},Sn.xor=Ki,Sn.xorBy=Ji,Sn.xorWith=Qi,Sn.zip=Zi,Sn.zipObject=function(t,e){return oo(t||[],e||[],jn)},Sn.zipObjectDeep=function(t,e){return oo(t||[],e||[],qr)},Sn.zipWith=ta,Sn.entries=ks,Sn.entriesIn=Ss,Sn.extend=us,Sn.extendWith=ls,Ks(Sn,Sn),Sn.add=ac,Sn.attempt=qs,Sn.camelCase=Cs,Sn.capitalize=zs,Sn.ceil=sc,Sn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=is(n))==n?n:0),void 0!==e&&(e=(e=is(e))==e?e:0),$n(is(t),e,n)},Sn.clone=function(t){return Kn(t,4)},Sn.cloneDeep=function(t){return Kn(t,5)},Sn.cloneDeepWith=function(t,e){return Kn(t,5,e="function"==typeof e?e:void 0)},Sn.cloneWith=function(t,e){return Kn(t,4,e="function"==typeof e?e:void 0)},Sn.conformsTo=function(t,e){return null==e||Jn(t,e,Ms(e))},Sn.deburr=Ds,Sn.defaultTo=function(t,e){return null==t||t!=t?e:t},Sn.divide=cc,Sn.endsWith=function(t,e,n){t=ss(t),e=Jr(e);var r=t.length,o=n=void 0===n?r:$n(rs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Sn.eq=Oa,Sn.escape=function(t){return(t=ss(t))&&W.test(t)?t.replace(R,Re):t},Sn.escapeRegExp=function(t){return(t=ss(t))&&V.test(t)?t.replace(U,"\\$&"):t},Sn.every=function(t,e,n){var r=Ea(t)?ue:nr;return n&&ci(t,e,n)&&(e=void 0),r(t,Jo(e,3))},Sn.find=ia,Sn.findIndex=Di,Sn.findKey=function(t,e){return ye(t,Jo(e,3),cr)},Sn.findLast=aa,Sn.findLastIndex=Ei,Sn.findLastKey=function(t,e){return ye(t,Jo(e,3),ur)},Sn.floor=uc,Sn.forEach=sa,Sn.forEachRight=ca,Sn.forIn=function(t,e){return null==t?t:ar(t,Jo(e,3),_s)},Sn.forInRight=function(t,e){return null==t?t:sr(t,Jo(e,3),_s)},Sn.forOwn=function(t,e){return t&&cr(t,Jo(e,3))},Sn.forOwnRight=function(t,e){return t&&ur(t,Jo(e,3))},Sn.get=ms,Sn.gt=Ca,Sn.gte=za,Sn.has=function(t,e){return null!=t&&oi(t,e,mr)},Sn.hasIn=gs,Sn.head=Bi,Sn.identity=Us,Sn.includes=function(t,e,n,r){t=Ba(t)?t:Os(t),n=n&&!r?rs(n):0;var o=t.length;return n<0&&(n=an(o+n,0)),Ka(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&_e(t,e,n)>-1},Sn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),_e(t,e,o)},Sn.inRange=function(t,e,n){return e=ns(e),void 0===n?(n=e,e=0):n=ns(n),function(t,e,n){return t>=sn(e,n)&&t<an(e,n)}(t=is(t),e,n)},Sn.invoke=ys,Sn.isArguments=Da,Sn.isArray=Ea,Sn.isArrayBuffer=Na,Sn.isArrayLike=Ba,Sn.isArrayLikeObject=Pa,Sn.isBoolean=function(t){return!0===t||!1===t||Xa(t)&&hr(t)==l},Sn.isBuffer=Ra,Sn.isDate=Ya,Sn.isElement=function(t){return Xa(t)&&1===t.nodeType&&!Va(t)},Sn.isEmpty=function(t){if(null==t)return!0;if(Ba(t)&&(Ea(t)||"string"==typeof t||"function"==typeof t.splice||Ra(t)||Qa(t)||Da(t)))return!t.length;var e=ri(t);if(e==m||e==y)return!t.size;if(fi(t))return!Ar(t).length;for(var n in t)if(At.call(t,n))return!1;return!0},Sn.isEqual=function(t,e){return Mr(t,e)},Sn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===r?Mr(t,e,void 0,n):!!r},Sn.isError=Wa,Sn.isFinite=function(t){return"number"==typeof t&&nn(t)},Sn.isFunction=Ha,Sn.isInteger=qa,Sn.isLength=Ia,Sn.isMap=Fa,Sn.isMatch=function(t,e){return t===e||_r(t,e,Zo(e))},Sn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,_r(t,e,Zo(e),n)},Sn.isNaN=function(t){return Ua(t)&&t!=+t},Sn.isNative=function(t){if(di(t))throw new ft("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return wr(t)},Sn.isNil=function(t){return null==t},Sn.isNull=function(t){return null===t},Sn.isNumber=Ua,Sn.isObject=ja,Sn.isObjectLike=Xa,Sn.isPlainObject=Va,Sn.isRegExp=Ga,Sn.isSafeInteger=function(t){return qa(t)&&t>=-9007199254740991&&t<=9007199254740991},Sn.isSet=$a,Sn.isString=Ka,Sn.isSymbol=Ja,Sn.isTypedArray=Qa,Sn.isUndefined=function(t){return void 0===t},Sn.isWeakMap=function(t){return Xa(t)&&ri(t)==w},Sn.isWeakSet=function(t){return Xa(t)&&"[object WeakSet]"==hr(t)},Sn.join=function(t,e){return null==t?"":rn.call(t,e)},Sn.kebabCase=Es,Sn.last=Wi,Sn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Me(t,xe,o,!0)},Sn.lowerCase=Ns,Sn.lowerFirst=Bs,Sn.lt=Za,Sn.lte=ts,Sn.max=function(t){return t&&t.length?rr(t,Us,pr):void 0},Sn.maxBy=function(t,e){return t&&t.length?rr(t,Jo(e,2),pr):void 0},Sn.mean=function(t){return Ae(t,Us)},Sn.meanBy=function(t,e){return Ae(t,Jo(e,2))},Sn.min=function(t){return t&&t.length?rr(t,Us,Tr):void 0},Sn.minBy=function(t,e){return t&&t.length?rr(t,Jo(e,2),Tr):void 0},Sn.stubArray=oc,Sn.stubFalse=ic,Sn.stubObject=function(){return{}},Sn.stubString=function(){return""},Sn.stubTrue=function(){return!0},Sn.multiply=dc,Sn.nth=function(t,e){return t&&t.length?zr(t,rs(e)):void 0},Sn.noConflict=function(){return Vt._===this&&(Vt._=Ot),this},Sn.noop=Js,Sn.now=ma,Sn.pad=function(t,e,n){t=ss(t);var r=(e=rs(e))?Fe(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Eo(Ze(o),n)+t+Eo(Qe(o),n)},Sn.padEnd=function(t,e,n){t=ss(t);var r=(e=rs(e))?Fe(t):0;return e&&r<e?t+Eo(e-r,n):t},Sn.padStart=function(t,e,n){t=ss(t);var r=(e=rs(e))?Fe(t):0;return e&&r<e?Eo(e-r,n)+t:t},Sn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),un(ss(t).replace($,""),e||0)},Sn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&ci(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=ns(t),void 0===e?(e=t,t=0):e=ns(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=ln();return sn(t+o*(e-t+jt("1e-"+((o+"").length-1))),e)}return Pr(t,e)},Sn.reduce=function(t,e,n){var r=Ea(t)?me:ke,o=arguments.length<3;return r(t,Jo(e,4),n,o,tr)},Sn.reduceRight=function(t,e,n){var r=Ea(t)?ge:ke,o=arguments.length<3;return r(t,Jo(e,4),n,o,er)},Sn.repeat=function(t,e,n){return e=(n?ci(t,e,n):void 0===e)?1:rs(e),Rr(ss(t),e)},Sn.replace=function(){var t=arguments,e=ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Sn.result=function(t,e,n){var r=-1,o=(e=so(e,t)).length;for(o||(o=1,t=void 0);++r<o;){var i=null==t?void 0:t[Ti(e[r])];void 0===i&&(r=o,i=n),t=Ha(i)?i.call(t):i}return t},Sn.round=fc,Sn.runInContext=t,Sn.sample=function(t){return(Ea(t)?Wn:Wr)(t)},Sn.size=function(t){if(null==t)return 0;if(Ba(t))return Ka(t)?Fe(t):t.length;var e=ri(t);return e==m||e==y?t.size:Ar(t).length},Sn.snakeCase=Ps,Sn.some=function(t,e,n){var r=Ea(t)?ve:Ur;return n&&ci(t,e,n)&&(e=void 0),r(t,Jo(e,3))},Sn.sortedIndex=function(t,e){return Vr(t,e)},Sn.sortedIndexBy=function(t,e,n){return Gr(t,e,Jo(n,2))},Sn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Vr(t,e);if(r<n&&Oa(t[r],e))return r}return-1},Sn.sortedLastIndex=function(t,e){return Vr(t,e,!0)},Sn.sortedLastIndexBy=function(t,e,n){return Gr(t,e,Jo(n,2),!0)},Sn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Vr(t,e,!0)-1;if(Oa(t[n],e))return n}return-1},Sn.startCase=Rs,Sn.startsWith=function(t,e,n){return t=ss(t),n=null==n?0:$n(rs(n),0,t.length),e=Jr(e),t.slice(n,n+e.length)==e},Sn.subtract=hc,Sn.sum=function(t){return t&&t.length?Se(t,Us):0},Sn.sumBy=function(t,e){return t&&t.length?Se(t,Jo(e,2)):0},Sn.template=function(t,e,n){var r=Sn.templateSettings;n&&ci(t,e,n)&&(e=void 0),t=ss(t),e=ls({},e,r,qo);var o,i,a=ls({},e.imports,r.imports,qo),s=Ms(a),c=ze(a,s),u=0,l=e.interpolate||lt,d="__p += '",f=gt((e.escape||lt).source+"|"+l.source+"|"+(l===I?nt:lt).source+"|"+(e.evaluate||lt).source+"|$","g"),h="//# sourceURL="+(At.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Wt+"]")+"\n";t.replace(f,(function(e,n,r,a,s,c){return r||(r=a),d+=t.slice(u,c).replace(dt,Ye),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(i=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=c+e.length,e})),d+="';\n";var p=At.call(e,"variable")&&e.variable;p||(d="with (obj) {\n"+d+"\n}\n"),d=(i?d.replace(E,""):d).replace(N,"$1").replace(B,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=qs((function(){return ht(s,h+"return "+d).apply(void 0,c)}));if(m.source=d,Wa(m))throw m;return m},Sn.times=function(t,e){if((t=rs(t))<1||t>9007199254740991)return[];var n=4294967295,r=sn(t,4294967295);t-=4294967295;for(var o=Oe(r,e=Jo(e));++n<t;)e(n);return o},Sn.toFinite=ns,Sn.toInteger=rs,Sn.toLength=os,Sn.toLower=function(t){return ss(t).toLowerCase()},Sn.toNumber=is,Sn.toSafeInteger=function(t){return t?$n(rs(t),-9007199254740991,9007199254740991):0===t?t:0},Sn.toString=ss,Sn.toUpper=function(t){return ss(t).toUpperCase()},Sn.trim=function(t,e,n){if((t=ss(t))&&(n||void 0===e))return t.replace(G,"");if(!t||!(e=Jr(e)))return t;var r=Ue(t),o=Ue(e);return uo(r,Ee(r,o),Ne(r,o)+1).join("")},Sn.trimEnd=function(t,e,n){if((t=ss(t))&&(n||void 0===e))return t.replace(K,"");if(!t||!(e=Jr(e)))return t;var r=Ue(t);return uo(r,0,Ne(r,Ue(e))+1).join("")},Sn.trimStart=function(t,e,n){if((t=ss(t))&&(n||void 0===e))return t.replace($,"");if(!t||!(e=Jr(e)))return t;var r=Ue(t);return uo(r,Ee(r,Ue(e))).join("")},Sn.truncate=function(t,e){var n=30,r="...";if(ja(e)){var o="separator"in e?e.separator:o;n="length"in e?rs(e.length):n,r="omission"in e?Jr(e.omission):r}var i=(t=ss(t)).length;if(We(t)){var a=Ue(t);i=a.length}if(n>=i)return t;var s=n-Fe(r);if(s<1)return r;var c=a?uo(a,0,s).join(""):t.slice(0,s);if(void 0===o)return c+r;if(a&&(s+=c.length-s),Ga(o)){if(t.slice(s).search(o)){var u,l=c;for(o.global||(o=gt(o.source,ss(rt.exec(o))+"g")),o.lastIndex=0;u=o.exec(l);)var d=u.index;c=c.slice(0,void 0===d?s:d)}}else if(t.indexOf(Jr(o),s)!=s){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},Sn.unescape=function(t){return(t=ss(t))&&Y.test(t)?t.replace(P,Ve):t},Sn.uniqueId=function(t){var e=++Lt;return ss(t)+e},Sn.upperCase=Ys,Sn.upperFirst=Ws,Sn.each=sa,Sn.eachRight=ca,Sn.first=Bi,Ks(Sn,(lc={},cr(Sn,(function(t,e){At.call(Sn.prototype,e)||(lc[e]=t)})),lc),{chain:!1}),Sn.VERSION="4.17.19",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Sn[t].placeholder=Sn})),se(["drop","take"],(function(t,e){Dn.prototype[t]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!e?new Dn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Dn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Dn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Jo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Dn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Dn.prototype[t]=function(){return this.__filtered__?new Dn(this):this[n](1)}})),Dn.prototype.compact=function(){return this.filter(Us)},Dn.prototype.find=function(t){return this.filter(t).head()},Dn.prototype.findLast=function(t){return this.reverse().find(t)},Dn.prototype.invokeMap=Yr((function(t,e){return"function"==typeof t?new Dn(this):this.map((function(n){return br(n,t,e)}))})),Dn.prototype.reject=function(t){return this.filter(Aa(Jo(t)))},Dn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Dn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Dn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Dn.prototype.toArray=function(){return this.take(4294967295)},cr(Dn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Sn[r?"take"+("last"==e?"Right":""):e],i=r||/^find/.test(e);o&&(Sn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,s=e instanceof Dn,c=a[0],u=s||Ea(e),l=function(t){var e=o.apply(Sn,pe([t],a));return r&&d?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(s=u=!1);var d=this.__chain__,f=!!this.__actions__.length,h=i&&!d,p=s&&!f;if(!i&&u){e=p?e:new Dn(this);var m=t.apply(e,a);return m.__actions__.push({func:na,args:[l],thisArg:void 0}),new zn(m,d)}return h&&p?t.apply(this,a):(m=this.thru(l),h?r?m.value()[0]:m.value():m)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=yt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Sn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Ea(o)?o:[],t)}return this[n]((function(n){return e.apply(Ea(n)?n:[],t)}))}})),cr(Dn.prototype,(function(t,e){var n=Sn[e];if(n){var r=n.name+"";At.call(yn,r)||(yn[r]=[]),yn[r].push({name:e,func:n})}})),yn[Oo(void 0,2).name]=[{name:"wrapper",func:void 0}],Dn.prototype.clone=function(){var t=new Dn(this.__wrapped__);return t.__actions__=bo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=bo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=bo(this.__views__),t},Dn.prototype.reverse=function(){if(this.__filtered__){var t=new Dn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Dn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ea(t),r=e<0,o=n?t.length:0,i=function(t,e,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=sn(e,t+a);break;case"takeRight":t=an(t,e-a)}}return{start:t,end:e}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,d=l.length,f=0,h=sn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return no(t,this.__actions__);var p=[];t:for(;c--&&f<h;){for(var m=-1,g=t[u+=e];++m<d;){var v=l[m],b=v.iteratee,y=v.type,M=b(g);if(2==y)g=M;else if(!M){if(1==y)continue t;break t}}p[f++]=g}return p},Sn.prototype.at=ra,Sn.prototype.chain=function(){return ea(this)},Sn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Sn.prototype.next=function(){void 0===this.__values__&&(this.__values__=es(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Sn.prototype.plant=function(t){for(var e,n=this;n instanceof Cn;){var r=Si(n);r.__index__=0,r.__values__=void 0,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Sn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Dn){var e=t;return this.__actions__.length&&(e=new Dn(this)),(e=e.reverse()).__actions__.push({func:na,args:[ji],thisArg:void 0}),new zn(e,this.__chain__)}return this.thru(ji)},Sn.prototype.toJSON=Sn.prototype.valueOf=Sn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Sn.prototype.first=Sn.prototype.head,Qt&&(Sn.prototype[Qt]=function(){return this}),Sn}();Vt._=Ge,void 0===(o=function(){return Ge}.call(e,n,e,r))||(r.exports=o)}).call(this)}).call(this,n(2),n(10)(t))},function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(n,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(t){return i.flat.call(t)}:function(t){return i.concat.apply([],t)},u=i.push,l=i.indexOf,d={},f=d.toString,h=d.hasOwnProperty,p=h.toString,m=p.call(Object),g={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},y=n.document,M={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var r,o,i=(n=n||y).createElement("script");if(i.text=t,e)for(r in M)(o=e[r]||e.getAttribute&&e.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[f.call(t)]||"object":typeof t}var x=function(t,e){return new x.fn.init(t,e)};function A(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!v(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}x.fn=x.prototype={jquery:"3.5.1",constructor:x,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return x.each(this,t)},map:function(t){return this.pushStack(x.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var t,e,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(t=arguments[s]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(u&&r&&(x.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[e],i=o&&!Array.isArray(n)?[]:o||x.isPlainObject(n)?n:{},o=!1,a[e]=x.extend(u,i,r)):void 0!==r&&(a[e]=r));return a},x.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t))&&(!(e=a(t))||"function"==typeof(n=h.call(e,"constructor")&&e.constructor)&&p.call(n)===m)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){_(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(A(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(A(Object(t))?x.merge(n,"string"==typeof t?[t]:t):u.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:l.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,o=t.length;r<n;r++)t[o++]=e[r];return t.length=o,t},grep:function(t,e,n){for(var r=[],o=0,i=t.length,a=!n;o<i;o++)!e(t[o],o)!==a&&r.push(t[o]);return r},map:function(t,e,n){var r,o,i=0,a=[];if(A(t))for(r=t.length;i<r;i++)null!=(o=e(t[i],i,n))&&a.push(o);else for(i in t)null!=(o=e(t[i],i,n))&&a.push(o);return c(a)},guid:1,support:g}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var L=function(t){var e,n,r,o,i,a,s,c,u,l,d,f,h,p,m,g,v,b,y,M="sizzle"+1*new Date,_=t.document,w=0,x=0,A=ct(),L=ct(),T=ct(),k=ct(),S=function(t,e){return t===e&&(d=!0),0},O={}.hasOwnProperty,C=[],z=C.pop,D=C.push,E=C.push,N=C.slice,B=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",Y="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+R+"*("+Y+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Y+"))|)"+R+"*\\]",H=":("+Y+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),I=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),j=new RegExp("^"+R+"*,"+R+"*"),X=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),F=new RegExp(R+"|>"),U=new RegExp(H),V=new RegExp("^"+Y+"$"),G={ID:new RegExp("^#("+Y+")"),CLASS:new RegExp("^\\.("+Y+")"),TAG:new RegExp("^("+Y+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){f()},at=Mt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{E.apply(C=N.call(_.childNodes),_.childNodes),C[_.childNodes.length].nodeType}catch(t){E={apply:C.length?function(t,e){D.apply(t,N.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function st(t,e,r,o){var i,s,u,l,d,p,v,b=e&&e.ownerDocument,_=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return r;if(!o&&(f(e),e=e||h,m)){if(11!==_&&(d=Z.exec(t)))if(i=d[1]){if(9===_){if(!(u=e.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(b&&(u=b.getElementById(i))&&y(e,u)&&u.id===i)return r.push(u),r}else{if(d[2])return E.apply(r,e.getElementsByTagName(t)),r;if((i=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return E.apply(r,e.getElementsByClassName(i)),r}if(n.qsa&&!k[t+" "]&&(!g||!g.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(v=t,b=e,1===_&&(F.test(t)||X.test(t))){for((b=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((l=e.getAttribute("id"))?l=l.replace(rt,ot):e.setAttribute("id",l=M)),s=(p=a(t)).length;s--;)p[s]=(l?"#"+l:":scope")+" "+yt(p[s]);v=p.join(",")}try{return E.apply(r,b.querySelectorAll(v)),r}catch(e){k(t,!0)}finally{l===M&&e.removeAttribute("id")}}}return c(t.replace(I,"$1"),e,r,o)}function ct(){var t=[];return function e(n,o){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function ut(t){return t[M]=!0,t}function lt(t){var e=h.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=e}function ft(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ht(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function mt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ut((function(e){return e=+e,ut((function(n,r){for(var o,i=t([],n.length,e),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},i=st.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!$.test(e||n&&n.nodeName||"HTML")},f=st.setDocument=function(t){var e,o,a=t?t.ownerDocument||t:_;return a!=h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,m=!i(h),_!=h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",it,!1):o.attachEvent&&o.attachEvent("onunload",it)),n.scope=lt((function(t){return p.appendChild(t).appendChild(h.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=lt((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=lt((function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(h.getElementsByClassName),n.getById=lt((function(t){return p.appendChild(t).id=M,!h.getElementsByName||!h.getElementsByName(M).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n,r,o,i=e.getElementById(t);if(i){if((n=i.getAttributeNode("id"))&&n.value===t)return[i];for(o=e.getElementsByName(t),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===t)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],o=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&m)return e.getElementsByClassName(t)},v=[],g=[],(n.qsa=Q.test(h.querySelectorAll))&&(lt((function(t){var e;p.appendChild(t).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+P+")"),t.querySelectorAll("[id~="+M+"-]").length||g.push("~="),(e=h.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+M+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),lt((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(b=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&<((function(t){n.disconnectedMatch=b.call(t,"*"),b.call(t,"[s!='']:x"),v.push("!=",H)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(p.compareDocumentPosition),y=e||Q.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return d=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==h||t.ownerDocument==_&&y(_,t)?-1:e==h||e.ownerDocument==_&&y(_,e)?1:l?B(l,t)-B(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,r=0,o=t.parentNode,i=e.parentNode,a=[t],s=[e];if(!o||!i)return t==h?-1:e==h?1:o?-1:i?1:l?B(l,t)-B(l,e):0;if(o===i)return ft(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ft(a[r],s[r]):a[r]==_?-1:s[r]==_?1:0},h):h},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(f(t),n.matchesSelector&&m&&!k[e+" "]&&(!v||!v.test(e))&&(!g||!g.test(e)))try{var r=b.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){k(e,!0)}return st(e,h,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=h&&f(t),y(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=h&&f(t);var o=r.attrHandle[e.toLowerCase()],i=o&&O.call(r.attrHandle,e.toLowerCase())?o(t,e,!m):void 0;return void 0!==i?i:n.attributes||!m?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},st.escape=function(t){return(t+"").replace(rt,ot)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,r=[],o=0,i=0;if(d=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(S),d){for(;e=t[i++];)e===t[i]&&(o=r.push(i));for(;o--;)t.splice(r[o],1)}return l=null,t},o=st.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=o(e);return n},(r=st.selectors={cacheLength:50,createPseudo:ut,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=A[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&A(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var o=st.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,o){var i="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===o?function(t){return!!t.parentNode}:function(e,n,c){var u,l,d,f,h,p,m=i!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),b=!c&&!s,y=!1;if(g){if(i){for(;m;){for(f=e;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&b){for(y=(h=(u=(l=(d=(f=g)[M]||(f[M]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===w&&u[1])&&u[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(y=h=0)||p.pop();)if(1===f.nodeType&&++y&&f===e){l[t]=[w,h,y];break}}else if(b&&(y=h=(u=(l=(d=(f=e)[M]||(f[M]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===w&&u[1]),!1===y)for(;(f=++h&&f&&f[m]||(y=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++y||(b&&((l=(d=f[M]||(f[M]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]=[w,y]),f!==e)););return(y-=o)===r||y%r==0&&y/r>=0}}},PSEUDO:function(t,e){var n,o=r.pseudos[t]||r.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return o[M]?o(e):o.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ut((function(t,n){for(var r,i=o(t,e),a=i.length;a--;)t[r=B(t,i[a])]=!(n[r]=i[a])})):function(t){return o(t,0,n)}):o}},pseudos:{not:ut((function(t){var e=[],n=[],r=s(t.replace(I,"$1"));return r[M]?ut((function(t,e,n,o){for(var i,a=r(t,null,o,[]),s=t.length;s--;)(i=a[s])&&(t[s]=!(e[s]=i))})):function(t,o,i){return e[0]=t,r(e,null,i,n),e[0]=null,!n.pop()}})),has:ut((function(t){return function(e){return st(t,e).length>0}})),contains:ut((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||o(e)).indexOf(t)>-1}})),lang:ut((function(t){return V.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:mt(!1),disabled:mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt((function(){return[0]})),last:gt((function(t,e){return[e-1]})),eq:gt((function(t,e,n){return[n<0?n+e:n]})),even:gt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:gt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:gt((function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t})),gt:gt((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=ht(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=pt(e);function bt(){}function yt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function Mt(t,e,n){var r=e.dir,o=e.next,i=o||r,a=n&&"parentNode"===i,s=x++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,c){var u,l,d,f=[w,s];if(c){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,c))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(l=(d=e[M]||(e[M]={}))[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[r]||e;else{if((u=l[i])&&u[0]===w&&u[1]===s)return f[2]=u[2];if(l[i]=f,f[2]=t(e,n,c))return!0}return!1}}function _t(t){return t.length>1?function(e,n,r){for(var o=t.length;o--;)if(!t[o](e,n,r))return!1;return!0}:t[0]}function wt(t,e,n,r,o){for(var i,a=[],s=0,c=t.length,u=null!=e;s<c;s++)(i=t[s])&&(n&&!n(i,r,o)||(a.push(i),u&&e.push(s)));return a}function xt(t,e,n,r,o,i){return r&&!r[M]&&(r=xt(r)),o&&!o[M]&&(o=xt(o,i)),ut((function(i,a,s,c){var u,l,d,f=[],h=[],p=a.length,m=i||function(t,e,n){for(var r=0,o=e.length;r<o;r++)st(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),g=!t||!i&&e?m:wt(m,f,t,s,c),v=n?o||(i?t:p||r)?[]:a:g;if(n&&n(g,v,s,c),r)for(u=wt(v,h),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(v[h[l]]=!(g[h[l]]=d));if(i){if(o||t){if(o){for(u=[],l=v.length;l--;)(d=v[l])&&u.push(g[l]=d);o(null,v=[],u,c)}for(l=v.length;l--;)(d=v[l])&&(u=o?B(i,d):f[l])>-1&&(i[u]=!(a[u]=d))}}else v=wt(v===a?v.splice(p,v.length):v),o?o(null,a,v,c):E.apply(a,v)}))}function At(t){for(var e,n,o,i=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],c=a?1:0,l=Mt((function(t){return t===e}),s,!0),d=Mt((function(t){return B(e,t)>-1}),s,!0),f=[function(t,n,r){var o=!a&&(r||n!==u)||((e=n).nodeType?l(t,n,r):d(t,n,r));return e=null,o}];c<i;c++)if(n=r.relative[t[c].type])f=[Mt(_t(f),n)];else{if((n=r.filter[t[c].type].apply(null,t[c].matches))[M]){for(o=++c;o<i&&!r.relative[t[o].type];o++);return xt(c>1&&_t(f),c>1&&yt(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(I,"$1"),n,c<o&&At(t.slice(c,o)),o<i&&At(t=t.slice(o)),o<i&&yt(t))}f.push(n)}return _t(f)}return bt.prototype=r.filters=r.pseudos,r.setFilters=new bt,a=st.tokenize=function(t,e){var n,o,i,a,s,c,u,l=L[t+" "];if(l)return e?0:l.slice(0);for(s=t,c=[],u=r.preFilter;s;){for(a in n&&!(o=j.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=X.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(I," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return e?s.length:s?st.error(t):L(t,c).slice(0)},s=st.compile=function(t,e){var n,o=[],i=[],s=T[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=At(e[n]))[M]?o.push(s):i.push(s);(s=T(t,function(t,e){var n=e.length>0,o=t.length>0,i=function(i,a,s,c,l){var d,p,g,v=0,b="0",y=i&&[],M=[],_=u,x=i||o&&r.find.TAG("*",l),A=w+=null==_?1:Math.random()||.1,L=x.length;for(l&&(u=a==h||a||l);b!==L&&null!=(d=x[b]);b++){if(o&&d){for(p=0,a||d.ownerDocument==h||(f(d),s=!m);g=t[p++];)if(g(d,a||h,s)){c.push(d);break}l&&(w=A)}n&&((d=!g&&d)&&v--,i&&y.push(d))}if(v+=b,n&&b!==v){for(p=0;g=e[p++];)g(y,M,a,s);if(i){if(v>0)for(;b--;)y[b]||M[b]||(M[b]=z.call(c));M=wt(M)}E.apply(c,M),l&&!i&&M.length>0&&v+e.length>1&&st.uniqueSort(c)}return l&&(w=A,u=_),y};return n?ut(i):i}(i,o))).selector=t}return s},c=st.select=function(t,e,n,o){var i,c,u,l,d,f="function"==typeof t&&t,h=!o&&a(t=f.selector||t);if(n=n||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===e.nodeType&&m&&r.relative[c[1].type]){if(!(e=(r.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(i=G.needsContext.test(t)?0:c.length;i--&&(u=c[i],!r.relative[l=u.type]);)if((d=r.find[l])&&(o=d(u.matches[0].replace(et,nt),tt.test(c[0].type)&&vt(e.parentNode)||e))){if(c.splice(i,1),!(t=o.length&&yt(c)))return E.apply(n,o),n;break}}return(f||s(t,h))(o,e,!m,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=M.split("").sort(S).join("")===M,n.detectDuplicates=!!d,f(),n.sortDetached=lt((function(t){return 1&t.compareDocumentPosition(h.createElement("fieldset"))})),lt((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&<((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),lt((function(t){return null==t.getAttribute("disabled")}))||dt(P,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),st}(n);x.find=L,x.expr=L.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=L.uniqueSort,x.text=L.getText,x.isXMLDoc=L.isXML,x.contains=L.contains,x.escapeSelector=L.escape;var T=function(t,e,n){for(var r=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&x(t).is(n))break;r.push(t)}return r},k=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},S=x.expr.match.needsContext;function O(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function z(t,e,n){return v(e)?x.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?x.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?x.grep(t,(function(t){return l.call(e,t)>-1!==n})):x.filter(e,t,n)}x.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?x.find.matchesSelector(r,t)?[r]:[]:x.find.matches(t,x.grep(e,(function(t){return 1===t.nodeType})))},x.fn.extend({find:function(t){var e,n,r=this.length,o=this;if("string"!=typeof t)return this.pushStack(x(t).filter((function(){for(e=0;e<r;e++)if(x.contains(o[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)x.find(t,o[e],n);return r>1?x.uniqueSort(n):n},filter:function(t){return this.pushStack(z(this,t||[],!1))},not:function(t){return this.pushStack(z(this,t||[],!0))},is:function(t){return!!z(this,"string"==typeof t&&S.test(t)?x(t):t||[],!1).length}});var D,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(t,e,n){var r,o;if(!t)return this;if(n=n||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:E.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),C.test(r[1])&&x.isPlainObject(e))for(r in e)v(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=y.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(x):x.makeArray(t,this)}).prototype=x.fn,D=x(y);var N=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function P(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(x.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,o=this.length,i=[],a="string"!=typeof t&&x(t);if(!S.test(t))for(;r<o;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,t))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(t){return t?"string"==typeof t?l.call(x(t),this[0]):l.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),x.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return T(t,"parentNode")},parentsUntil:function(t,e,n){return T(t,"parentNode",n)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return T(t,"nextSibling")},prevAll:function(t){return T(t,"previousSibling")},nextUntil:function(t,e,n){return T(t,"nextSibling",n)},prevUntil:function(t,e,n){return T(t,"previousSibling",n)},siblings:function(t){return k((t.parentNode||{}).firstChild,t)},children:function(t){return k(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(O(t,"template")&&(t=t.content||t),x.merge([],t.childNodes))}},(function(t,e){x.fn[t]=function(n,r){var o=x.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=x.filter(r,o)),this.length>1&&(B[t]||x.uniqueSort(o),N.test(t)&&o.reverse()),this.pushStack(o)}}));var R=/[^\x20\t\r\n\f]+/g;function Y(t){return t}function W(t){throw t}function H(t,e,n,r){var o;try{t&&v(o=t.promise)?o.call(t).done(e).fail(n):t&&v(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}x.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return x.each(t.match(R)||[],(function(t,n){e[n]=!0})),e}(t):x.extend({},t);var e,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=i.length,n=!1);t.memory||(n=!1),e=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!e&&(s=i.length-1,a.push(n)),function e(n){x.each(n,(function(n,r){v(r)?t.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==w(r)&&e(r)}))}(arguments),n&&!e&&c()),this},remove:function(){return x.each(arguments,(function(t,e){for(var n;(n=x.inArray(e,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(t){return t?x.inArray(t,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||e||(i=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},x.extend({Deferred:function(t){var e=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return x.Deferred((function(n){x.each(e,(function(e,r){var o=v(t[r[4]])&&t[r[4]];i[r[1]]((function(){var t=o&&o.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,r,o){var i=0;function a(t,e,r,o){return function(){var s=this,c=arguments,u=function(){var n,u;if(!(t<i)){if((n=r.apply(s,c))===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(u)?o?u.call(n,a(i,e,Y,o),a(i,e,W,o)):(i++,u.call(n,a(i,e,Y,o),a(i,e,W,o),a(i,e,Y,e.notifyWith))):(r!==Y&&(s=void 0,c=[n]),(o||e.resolveWith)(s,c))}},l=o?u:function(){try{u()}catch(n){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(n,l.stackTrace),t+1>=i&&(r!==W&&(s=void 0,c=[n]),e.rejectWith(s,c))}};t?l():(x.Deferred.getStackHook&&(l.stackTrace=x.Deferred.getStackHook()),n.setTimeout(l))}}return x.Deferred((function(n){e[0][3].add(a(0,n,v(o)?o:Y,n.notifyWith)),e[1][3].add(a(0,n,v(t)?t:Y)),e[2][3].add(a(0,n,v(r)?r:W))})).promise()},promise:function(t){return null!=t?x.extend(t,o):o}},i={};return x.each(e,(function(t,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add((function(){r=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),o.promise(i),t&&t.call(i,i),i},when:function(t){var e=arguments.length,n=e,r=Array(n),o=s.call(arguments),i=x.Deferred(),a=function(t){return function(n){r[t]=this,o[t]=arguments.length>1?s.call(arguments):n,--e||i.resolveWith(r,o)}};if(e<=1&&(H(t,i.done(a(n)).resolve,i.reject,!e),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)H(o[n],a(n),i.reject);return i.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&q.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},x.readyException=function(t){n.setTimeout((function(){throw t}))};var I=x.Deferred();function j(){y.removeEventListener("DOMContentLoaded",j),n.removeEventListener("load",j),x.ready()}x.fn.ready=function(t){return I.then(t).catch((function(t){x.readyException(t)})),this},x.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==t&&--x.readyWait>0||I.resolveWith(y,[x]))}}),x.ready.then=I.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(x.ready):(y.addEventListener("DOMContentLoaded",j),n.addEventListener("load",j));var X=function(t,e,n,r,o,i,a){var s=0,c=t.length,u=null==n;if("object"===w(n))for(s in o=!0,n)X(t,e,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),u&&(a?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(x(t),n)})),e))for(;s<c;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return o?t:u?e.call(t):c?e(t[0],n):i},F=/^-ms-/,U=/-([a-z])/g;function V(t,e){return e.toUpperCase()}function G(t){return t.replace(F,"ms-").replace(U,V)}var $=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function K(){this.expando=x.expando+K.uid++}K.uid=1,K.prototype={cache:function(t){var e=t[this.expando];return e||(e={},$(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,o=this.cache(t);if("string"==typeof e)o[G(e)]=n;else for(r in e)o[G(r)]=e[r];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][G(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(G):(e=G(e))in r?[e]:e.match(R)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||x.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!x.isEmptyObject(e)}};var J=new K,Q=new K,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Z.test(t)?JSON.parse(t):t)}(n)}catch(t){}Q.set(t,e,n)}else n=void 0;return n}x.extend({hasData:function(t){return Q.hasData(t)||J.hasData(t)},data:function(t,e,n){return Q.access(t,e,n)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),x.fn.extend({data:function(t,e){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===t){if(this.length&&(o=Q.get(i),1===i.nodeType&&!J.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),et(i,r,o[r]));J.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each((function(){Q.set(this,t)})):X(this,(function(e){var n;if(i&&void 0===e)return void 0!==(n=Q.get(i,t))||void 0!==(n=et(i,t))?n:void 0;this.each((function(){Q.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){Q.remove(this,t)}))}}),x.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=x.queue(t,e),r=n.length,o=n.shift(),i=x._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===e&&n.unshift("inprogress"),delete i.stop,o.call(t,(function(){x.dequeue(t,e)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:x.Callbacks("once memory").add((function(){J.remove(t,[e+"queue",n])}))})}}),x.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?x.queue(this[0],t):void 0===e?this:this.each((function(){var n=x.queue(this,t,e);x._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&x.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){x.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,o=x.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=J.get(i[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rt=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],it=y.documentElement,at=function(t){return x.contains(t.ownerDocument,t)},st={composed:!0};it.getRootNode&&(at=function(t){return x.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&at(t)&&"none"===x.css(t,"display")};function ut(t,e,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return x.css(t,e,"")},c=s(),u=n&&n[3]||(x.cssNumber[e]?"":"px"),l=t.nodeType&&(x.cssNumber[e]||"px"!==u&&+c)&&rt.exec(x.css(t,e));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)x.style(t,e,l+u),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),l/=i;l*=2,x.style(t,e,l+u),n=n||[]}return n&&(l=+l||+c||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=o)),o}var lt={};function dt(t){var e,n=t.ownerDocument,r=t.nodeName,o=lt[r];return o||(e=n.body.appendChild(n.createElement(r)),o=x.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),lt[r]=o,o)}function ft(t,e){for(var n,r,o=[],i=0,a=t.length;i<a;i++)(r=t[i]).style&&(n=r.style.display,e?("none"===n&&(o[i]=J.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ct(r)&&(o[i]=dt(r))):"none"!==n&&(o[i]="none",J.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(t[i].style.display=o[i]);return t}x.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){ct(this)?x(this).show():x(this).hide()}))}});var ht,pt,mt=/^(?:checkbox|radio)$/i,gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;ht=y.createDocumentFragment().appendChild(y.createElement("div")),(pt=y.createElement("input")).setAttribute("type","radio"),pt.setAttribute("checked","checked"),pt.setAttribute("name","t"),ht.appendChild(pt),g.checkClone=ht.cloneNode(!0).cloneNode(!0).lastChild.checked,ht.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ht.cloneNode(!0).lastChild.defaultValue,ht.innerHTML="<option></option>",g.option=!!ht.lastChild;var bt={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 yt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&O(t,e)?x.merge([t],n):n}function Mt(t,e){for(var n=0,r=t.length;n<r;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}bt.tbody=bt.tfoot=bt.colgroup=bt.caption=bt.thead,bt.th=bt.td,g.option||(bt.optgroup=bt.option=[1,"<select multiple='multiple'>","</select>"]);var _t=/<|&#?\w+;/;function wt(t,e,n,r,o){for(var i,a,s,c,u,l,d=e.createDocumentFragment(),f=[],h=0,p=t.length;h<p;h++)if((i=t[h])||0===i)if("object"===w(i))x.merge(f,i.nodeType?[i]:i);else if(_t.test(i)){for(a=a||d.appendChild(e.createElement("div")),s=(gt.exec(i)||["",""])[1].toLowerCase(),c=bt[s]||bt._default,a.innerHTML=c[1]+x.htmlPrefilter(i)+c[2],l=c[0];l--;)a=a.lastChild;x.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(e.createTextNode(i));for(d.textContent="",h=0;i=f[h++];)if(r&&x.inArray(i,r)>-1)o&&o.push(i);else if(u=at(i),a=yt(d.appendChild(i),"script"),u&&Mt(a),n)for(l=0;i=a[l++];)vt.test(i.type||"")&&n.push(i);return d}var xt=/^key/,At=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Lt=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function kt(){return!1}function St(t,e){return t===function(){try{return y.activeElement}catch(t){}}()==("focus"===e)}function Ot(t,e,n,r,o,i){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Ot(t,s,n,r,e[s],i);return t}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=kt;else if(!o)return t;return 1===i&&(a=o,(o=function(t){return x().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),t.each((function(){x.event.add(this,e,o,r,n)}))}function Ct(t,e,n){n?(J.set(t,e,!1),x.event.add(t,e,{namespace:!1,handler:function(t){var r,o,i=J.get(this,e);if(1&t.isTrigger&&this[e]){if(i.length)(x.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=s.call(arguments),J.set(this,e,i),r=n(this,e),this[e](),i!==(o=J.get(this,e))||r?J.set(this,e,!1):o={},i!==o)return t.stopImmediatePropagation(),t.preventDefault(),o.value}else i.length&&(J.set(this,e,{value:x.event.trigger(x.extend(i[0],x.Event.prototype),i.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&x.event.add(t,e,Tt)}x.event={global:{},add:function(t,e,n,r,o){var i,a,s,c,u,l,d,f,h,p,m,g=J.get(t);if($(t))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(it,o),n.guid||(n.guid=x.guid++),(c=g.events)||(c=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(e){return void 0!==x&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(R)||[""]).length;u--;)h=m=(s=Lt.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=x.event.special[h]||{},l=x.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:p.join(".")},i),(f=c[h])||((f=c[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,l):f.push(l),x.event.global[h]=!0)},remove:function(t,e,n,r,o){var i,a,s,c,u,l,d,f,h,p,m,g=J.hasData(t)&&J.get(t);if(g&&(c=g.events)){for(u=(e=(e||"").match(R)||[""]).length;u--;)if(h=m=(s=Lt.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},f=c[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)l=f[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(i,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(t,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,p,g.handle)||x.removeEvent(t,h,g.handle),delete c[h])}else for(h in c)x.event.remove(t,h+e[u],n,r,!0);x.isEmptyObject(c)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,o,i,a,s=new Array(arguments.length),c=x.event.fix(t),u=(J.get(this,"events")||Object.create(null))[c.type]||[],l=x.event.special[c.type]||{};for(s[0]=c,e=1;e<arguments.length;e++)s[e]=arguments[e];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=x.event.handlers.call(this,c,u),e=0;(o=a[e++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,r,o,i,a,s=[],c=e.delegateCount,u=t.target;if(c&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=e[n]).selector+" "]&&(a[o]=r.needsContext?x(o,this).index(u)>-1:x.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,c<e.length&&s.push({elem:u,handlers:e.slice(c)}),s},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[x.expando]?t:new x.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return mt.test(e.type)&&e.click&&O(e,"input")&&Ct(e,"click",Tt),!1},trigger:function(t){var e=this||t;return mt.test(e.type)&&e.click&&O(e,"input")&&Ct(e,"click"),!0},_default:function(t){var e=t.target;return mt.test(e.type)&&e.click&&O(e,"input")&&J.get(e,"click")||O(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},x.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},x.Event=function(t,e){if(!(this instanceof x.Event))return new x.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Tt:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Tt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Tt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Tt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},x.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(t){var e=t.button;return null==t.which&&xt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&At.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(t,e){x.event.special[t]={setup:function(){return Ct(this,t,St),!1},trigger:function(){return Ct(this,t),!0},delegateType:e}})),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){x.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,o=t.relatedTarget,i=t.handleObj;return o&&(o===r||x.contains(r,o))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}})),x.fn.extend({on:function(t,e,n,r){return Ot(this,t,e,n,r)},one:function(t,e,n,r){return Ot(this,t,e,n,r,1)},off:function(t,e,n){var r,o;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,x(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each((function(){x.event.remove(this,t,n,e)}))}});var zt=/<script|<style|<link/i,Dt=/checked\s*(?:[^=]|=\s*.checked.)/i,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Nt(t,e){return O(t,"table")&&O(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function Bt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Pt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Rt(t,e){var n,r,o,i,a,s;if(1===e.nodeType){if(J.hasData(t)&&(s=J.get(t).events))for(o in J.remove(e,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)x.event.add(e,o,s[o][n]);Q.hasData(t)&&(i=Q.access(t),a=x.extend({},i),Q.set(e,a))}}function Yt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&mt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Wt(t,e,n,r){e=c(e);var o,i,a,s,u,l,d=0,f=t.length,h=f-1,p=e[0],m=v(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&Dt.test(p))return t.each((function(o){var i=t.eq(o);m&&(e[0]=p.call(this,o,i.html())),Wt(i,e,n,r)}));if(f&&(i=(o=wt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=x.map(yt(o,"script"),Bt)).length;d<f;d++)u=o,d!==h&&(u=x.clone(u,!0,!0),s&&x.merge(a,yt(u,"script"))),n.call(t[d],u,d);if(s)for(l=a[a.length-1].ownerDocument,x.map(a,Pt),d=0;d<s;d++)u=a[d],vt.test(u.type||"")&&!J.access(u,"globalEval")&&x.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?x._evalUrl&&!u.noModule&&x._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):_(u.textContent.replace(Et,""),u,l))}return t}function Ht(t,e,n){for(var r,o=e?x.filter(e,t):t,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||x.cleanData(yt(r)),r.parentNode&&(n&&at(r)&&Mt(yt(r,"script")),r.parentNode.removeChild(r));return t}x.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,o,i,a,s=t.cloneNode(!0),c=at(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(a=yt(s),r=0,o=(i=yt(t)).length;r<o;r++)Yt(i[r],a[r]);if(e)if(n)for(i=i||yt(t),a=a||yt(s),r=0,o=i.length;r<o;r++)Rt(i[r],a[r]);else Rt(t,s);return(a=yt(s,"script")).length>0&&Mt(a,!c&&yt(t,"script")),s},cleanData:function(t){for(var e,n,r,o=x.event.special,i=0;void 0!==(n=t[i]);i++)if($(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),x.fn.extend({detach:function(t){return Ht(this,t,!0)},remove:function(t){return Ht(this,t)},text:function(t){return X(this,(function(t){return void 0===t?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Wt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Nt(this,t).appendChild(t)}))},prepend:function(){return Wt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Nt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Wt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Wt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(x.cleanData(yt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return x.clone(this,t,e)}))},html:function(t){return X(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!zt.test(t)&&!bt[(gt.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(x.cleanData(yt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Wt(this,arguments,(function(e){var n=this.parentNode;x.inArray(this,t)<0&&(x.cleanData(yt(this)),n&&n.replaceChild(e,this))}),t)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){x.fn[t]=function(t){for(var n,r=[],o=x(t),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),x(o[a])[e](n),u.apply(r,n.get());return this.pushStack(r)}}));var qt=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),It=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},jt=function(t,e,n){var r,o,i={};for(o in e)i[o]=t.style[o],t.style[o]=e[o];for(o in r=n.call(t),e)t.style[o]=i[o];return r},Xt=new RegExp(ot.join("|"),"i");function Ft(t,e,n){var r,o,i,a,s=t.style;return(n=n||It(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||at(t)||(a=x.style(t,e)),!g.pixelBoxStyles()&&qt.test(a)&&Xt.test(e)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ut(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",it.appendChild(u).appendChild(l);var t=n.getComputedStyle(l);r="1%"!==t.top,c=12===e(t.marginLeft),l.style.right="60%",a=36===e(t.right),o=36===e(t.width),l.style.position="absolute",i=12===e(l.offsetWidth/3),it.removeChild(u),l=null}}function e(t){return Math.round(parseFloat(t))}var r,o,i,a,s,c,u=y.createElement("div"),l=y.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,x.extend(g,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),i},reliableTrDimensions:function(){var t,e,r,o;return null==s&&(t=y.createElement("table"),e=y.createElement("tr"),r=y.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",r.style.height="9px",it.appendChild(t).appendChild(e).appendChild(r),o=n.getComputedStyle(e),s=parseInt(o.height)>3,it.removeChild(t)),s}}))}();var Vt=["Webkit","Moz","ms"],Gt=y.createElement("div").style,$t={};function Kt(t){var e=x.cssProps[t]||$t[t];return e||(t in Gt?t:$t[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Vt.length;n--;)if((t=Vt[n]+e)in Gt)return t}(t)||t)}var Jt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Zt={position:"absolute",visibility:"hidden",display:"block"},te={letterSpacing:"0",fontWeight:"400"};function ee(t,e,n){var r=rt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ne(t,e,n,r,o,i){var a="width"===e?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=x.css(t,n+ot[a],!0,o)),r?("content"===n&&(c-=x.css(t,"padding"+ot[a],!0,o)),"margin"!==n&&(c-=x.css(t,"border"+ot[a]+"Width",!0,o))):(c+=x.css(t,"padding"+ot[a],!0,o),"padding"!==n?c+=x.css(t,"border"+ot[a]+"Width",!0,o):s+=x.css(t,"border"+ot[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-c-s-.5))||0),c}function re(t,e,n){var r=It(t),o=(!g.boxSizingReliable()||n)&&"border-box"===x.css(t,"boxSizing",!1,r),i=o,a=Ft(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if(qt.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&O(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(t,"display",!1,r))&&t.getClientRects().length&&(o="border-box"===x.css(t,"boxSizing",!1,r),(i=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ne(t,e,n||(o?"border":"content"),i,r,a)+"px"}function oe(t,e,n,r,o){return new oe.prototype.init(t,e,n,r,o)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ft(t,"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(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,i,a,s=G(e),c=Qt.test(e),u=t.style;if(c||(e=Kt(s)),a=x.cssHooks[e]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,r))?o:u[e];"string"===(i=typeof n)&&(o=rt.exec(n))&&o[1]&&(n=ut(t,e,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(x.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(c?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var o,i,a,s=G(e);return Qt.test(e)||(e=Kt(s)),(a=x.cssHooks[e]||x.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=Ft(t,e,r)),"normal"===o&&e in te&&(o=te[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],(function(t,e){x.cssHooks[e]={get:function(t,n,r){if(n)return!Jt.test(x.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?re(t,e,r):jt(t,Zt,(function(){return re(t,e,r)}))},set:function(t,n,r){var o,i=It(t),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===x.css(t,"boxSizing",!1,i),c=r?ne(t,e,r,s,i):0;return s&&a&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-ne(t,e,"border",!1,i)-.5)),c&&(o=rt.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=x.css(t,e)),ee(0,n,c)}}})),x.cssHooks.marginLeft=Ut(g.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ft(t,"marginLeft"))||t.getBoundingClientRect().left-jt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(t,e){x.cssHooks[t+e]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[t+ot[r]+e]=i[r]||i[r-2]||i[0];return o}},"margin"!==t&&(x.cssHooks[t+e].set=ee)})),x.fn.extend({css:function(t,e){return X(this,(function(t,e,n){var r,o,i={},a=0;if(Array.isArray(e)){for(r=It(t),o=e.length;a<o;a++)i[e[a]]=x.css(t,e[a],!1,r);return i}return void 0!==n?x.style(t,e,n):x.css(t,e)}),t,e,arguments.length>1)}}),x.Tween=oe,oe.prototype={constructor:oe,init:function(t,e,n,r,o,i){this.elem=t,this.prop=n,this.easing=o||x.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var t=oe.propHooks[this.prop];return t&&t.get?t.get(this):oe.propHooks._default.get(this)},run:function(t){var e,n=oe.propHooks[this.prop];return this.options.duration?this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):oe.propHooks._default.set(this),this}},oe.prototype.init.prototype=oe.prototype,oe.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=x.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):1!==t.elem.nodeType||!x.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:x.style(t.elem,t.prop,t.now+t.unit)}}},oe.propHooks.scrollTop=oe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},x.fx=oe.prototype.init,x.fx.step={};var ie,ae,se=/^(?:toggle|show|hide)$/,ce=/queueHooks$/;function ue(){ae&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ue):n.setTimeout(ue,x.fx.interval),x.fx.tick())}function le(){return n.setTimeout((function(){ie=void 0})),ie=Date.now()}function de(t,e){var n,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)o["margin"+(n=ot[r])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function fe(t,e,n){for(var r,o=(he.tweeners[e]||[]).concat(he.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,e,t))return r}function he(t,e,n){var r,o,i=0,a=he.prefilters.length,s=x.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var e=ie||le(),n=Math.max(0,u.startTime+u.duration-e),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(t,[u,r,n]),r<1&&a?n:(a||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||le(),duration:n.duration,tweens:[],createTween:function(e,n){var r=x.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(r),r},stop:function(e){var n=0,r=e?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),l=u.props;for(!function(t,e){var n,r,o,i,a;for(n in t)if(o=e[r=G(n)],i=t[n],Array.isArray(i)&&(o=i[1],i=t[n]=i[0]),n!==r&&(t[r]=i,delete t[n]),(a=x.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete t[r],i)n in t||(t[n]=i[n],e[n]=o);else e[r]=o}(l,u.opts.specialEasing);i<a;i++)if(r=he.prefilters[i].call(u,t,l,u.opts))return v(r.stop)&&(x._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return x.map(l,fe,u),v(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),x.fx.timer(x.extend(c,{elem:t,anim:u,queue:u.opts.queue})),u}x.Animation=x.extend(he,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,rt.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(R);for(var n,r=0,o=t.length;r<o;r++)n=t[r],he.tweeners[n]=he.tweeners[n]||[],he.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,o,i,a,s,c,u,l,d="width"in e||"height"in e,f=this,h={},p=t.style,m=t.nodeType&&ct(t),g=J.get(t,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,x.queue(t,"fx").length||a.empty.fire()}))}))),e)if(o=e[r],se.test(o)){if(delete e[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}h[r]=g&&g[r]||x.style(t,r)}if((c=!x.isEmptyObject(e))||!x.isEmptyObject(h))for(r in d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=J.get(t,"display")),"none"===(l=x.css(t,"display"))&&(u?l=u:(ft([t],!0),u=t.style.display||u,l=x.css(t,"display"),ft([t]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===x.css(t,"float")&&(c||(f.done((function(){p.display=u})),null==u&&(l=p.display,u="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),c=!1,h)c||(g?"hidden"in g&&(m=g.hidden):g=J.access(t,"fxshow",{display:u}),i&&(g.hidden=!m),m&&ft([t],!0),f.done((function(){for(r in m||ft([t]),J.remove(t,"fxshow"),h)x.style(t,r,h[r])}))),c=fe(m?g[r]:0,r,f),r in g||(g[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?he.prefilters.unshift(t):he.prefilters.push(t)}}),x.speed=function(t,e,n){var r=t&&"object"==typeof t?x.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var o=x.isEmptyObject(t),i=x.speed(e,n,r),a=function(){var e=he(this,x.extend({},t),i);(o||J.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,o=null!=t&&t+"queueHooks",i=x.timers,a=J.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ce.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=t&&i[o].queue!==t||(i[o].anim.stop(n),e=!1,i.splice(o,1));!e&&n||x.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=J.get(this),r=n[t+"queue"],o=n[t+"queueHooks"],i=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===t&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish}))}}),x.each(["toggle","show","hide"],(function(t,e){var n=x.fn[e];x.fn[e]=function(t,r,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(de(e,!0),t,r,o)}})),x.each({slideDown:de("show"),slideUp:de("hide"),slideToggle:de("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){x.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),x.timers=[],x.fx.tick=function(){var t,e=0,n=x.timers;for(ie=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||x.fx.stop(),ie=void 0},x.fx.timer=function(t){x.timers.push(t),x.fx.start()},x.fx.interval=13,x.fx.start=function(){ae||(ae=!0,ue())},x.fx.stop=function(){ae=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(t,e){return t=x.fx&&x.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,r){var o=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(o)}}))},function(){var t=y.createElement("input"),e=y.createElement("select").appendChild(y.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=y.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var pe,me=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return X(this,x.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){x.removeAttr(this,t)}))}}),x.extend({attr:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===t.getAttribute?x.prop(t,e,n):(1===i&&x.isXMLDoc(t)||(o=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void x.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(r=o.get(t,e))?r:null==(r=x.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&O(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,o=e&&e.match(R);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?x.removeAttr(t,n):t.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=me[e]||x.find.attr;me[e]=function(t,e,r){var o,i,a=e.toLowerCase();return r||(i=me[a],me[a]=o,o=null!=n(t,e,r)?a:null,me[a]=i),o}}));var ge=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function be(t){return(t.match(R)||[]).join(" ")}function ye(t){return t.getAttribute&&t.getAttribute("class")||""}function Me(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}x.fn.extend({prop:function(t,e){return X(this,x.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[x.propFix[t]||t]}))}}),x.extend({prop:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(t)||(e=x.propFix[e]||e,o=x.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:t[e]=n:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):ge.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(t){var e,n,r,o,i,a,s,c=0;if(v(t))return this.each((function(e){x(this).addClass(t.call(this,e,ye(this)))}));if((e=Me(t)).length)for(;n=this[c++];)if(o=ye(n),r=1===n.nodeType&&" "+be(o)+" "){for(a=0;i=e[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=be(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,o,i,a,s,c=0;if(v(t))return this.each((function(e){x(this).removeClass(t.call(this,e,ye(this)))}));if(!arguments.length)return this.attr("class","");if((e=Me(t)).length)for(;n=this[c++];)if(o=ye(n),r=1===n.nodeType&&" "+be(o)+" "){for(a=0;i=e[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=be(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(n){x(this).toggleClass(t.call(this,n,ye(this),e),e)})):this.each((function(){var e,o,i,a;if(r)for(o=0,i=x(this),a=Me(t);e=a[o++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||((e=ye(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+be(ye(n))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;x.fn.extend({val:function(t){var e,n,r,o=this[0];return arguments.length?(r=v(t),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?t.call(this,n,x(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=x.map(o,(function(t){return null==t?"":t+""}))),(e=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(_e,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:be(x.text(t))}},select:{get:function(t){var e,n,r,o=t.options,i=t.selectedIndex,a="select-one"===t.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(e=x(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,o=t.options,i=x.makeArray(e),a=o.length;a--;)((r=o[a]).selected=x.inArray(x.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=x.inArray(x(t).val(),e)>-1}},g.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),g.focusin="onfocusin"in n;var we=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};x.extend(x.event,{trigger:function(t,e,r,o){var i,a,s,c,u,l,d,f,p=[r||y],m=h.call(t,"type")?t.type:t,g=h.call(t,"namespace")?t.namespace.split("."):[];if(a=f=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!we.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(t=t[x.expando]?t:new x.Event(m,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:x.makeArray(e,[t]),d=x.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(r,e))){if(!o&&!d.noBubble&&!b(r)){for(c=d.delegateType||m,we.test(c+m)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||y)&&p.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=p[i++])&&!t.isPropagationStopped();)f=a,t.type=i>1?c:d.bindType||m,(l=(J.get(a,"events")||Object.create(null))[t.type]&&J.get(a,"handle"))&&l.apply(a,e),(l=u&&a[u])&&l.apply&&$(a)&&(t.result=l.apply(a,e),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),e)||!$(r)||u&&v(r[m])&&!b(r)&&((s=r[u])&&(r[u]=null),x.event.triggered=m,t.isPropagationStopped()&&f.addEventListener(m,xe),r[m](),t.isPropagationStopped()&&f.removeEventListener(m,xe),x.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(t,e,n){var r=x.extend(new x.Event,n,{type:t,isSimulated:!0});x.event.trigger(r,null,e)}}),x.fn.extend({trigger:function(t,e){return this.each((function(){x.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return x.event.trigger(t,e,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){x.event.simulate(e,t.target,x.event.fix(t))};x.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,o=J.access(r,e);o||r.addEventListener(t,n,!0),J.access(r,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=J.access(r,e)-1;o?J.access(r,e,o):(r.removeEventListener(t,n,!0),J.remove(r,e))}}}));var Ae=n.location,Le={guid:Date.now()},Te=/\?/;x.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),e};var ke=/\[\]$/,Se=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,Ce=/^(?:input|select|textarea|keygen)/i;function ze(t,e,n,r){var o;if(Array.isArray(e))x.each(e,(function(e,o){n||ke.test(t)?r(t,o):ze(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,r)}));else if(n||"object"!==w(e))r(t,e);else for(o in e)ze(t+"["+o+"]",e[o],n,r)}x.param=function(t,e){var n,r=[],o=function(t,e){var n=v(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t))x.each(t,(function(){o(this.name,this.value)}));else for(n in t)ze(n,t[n],e,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&Ce.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!mt.test(t))})).map((function(t,e){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(t){return{name:e.name,value:t.replace(Se,"\r\n")}})):{name:e.name,value:n.replace(Se,"\r\n")}})).get()}});var De=/%20/g,Ee=/#.*$/,Ne=/([?&])_=[^&]*/,Be=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pe=/^(?:GET|HEAD)$/,Re=/^\/\//,Ye={},We={},He="*/".concat("*"),qe=y.createElement("a");function Ie(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,o=0,i=e.toLowerCase().match(R)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function je(t,e,n,r){var o={},i=t===We;function a(s){var c;return o[s]=!0,x.each(t[s]||[],(function(t,s){var u=s(e,n,r);return"string"!=typeof u||i||o[u]?i?!(c=u):void 0:(e.dataTypes.unshift(u),a(u),!1)})),c}return a(e.dataTypes[0])||!o["*"]&&a("*")}function Xe(t,e){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:r||(r={}))[n]=e[n]);return r&&x.extend(!0,t,r),t}qe.href=Ae.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ae.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ae.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,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":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Xe(Xe(t,x.ajaxSettings),e):Xe(x.ajaxSettings,t)},ajaxPrefilter:Ie(Ye),ajaxTransport:Ie(We),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,o,i,a,s,c,u,l,d,f,h=x.ajaxSetup({},e),p=h.context||h,m=h.context&&(p.nodeType||p.jquery)?x(p):x.event,g=x.Deferred(),v=x.Callbacks("once memory"),b=h.statusCode||{},M={},_={},w="canceled",A={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=Be.exec(i);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(t,e){return null==u&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,M[t]=e),this},overrideMimeType:function(t){return null==u&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)A.always(t[A.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),L(0,e),this}};if(g.promise(A),h.url=((t||h.url||Ae.href)+"").replace(Re,Ae.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(R)||[""],null==h.crossDomain){c=y.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=qe.protocol+"//"+qe.host!=c.protocol+"//"+c.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),je(Ye,h,e,A),u)return A;for(d in(l=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Pe.test(h.type),o=h.url.replace(Ee,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(De,"+")):(f=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Te.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ne,"$1"),f=(Te.test(o)?"&":"?")+"_="+Le.guid+++f),h.url=o+f),h.ifModified&&(x.lastModified[o]&&A.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&A.setRequestHeader("If-None-Match",x.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&A.setRequestHeader("Content-Type",h.contentType),A.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+He+"; q=0.01":""):h.accepts["*"]),h.headers)A.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,A,h)||u))return A.abort();if(w="abort",v.add(h.complete),A.done(h.success),A.fail(h.error),r=je(We,h,e,A)){if(A.readyState=1,l&&m.trigger("ajaxSend",[A,h]),u)return A;h.async&&h.timeout>0&&(s=n.setTimeout((function(){A.abort("timeout")}),h.timeout));try{u=!1,r.send(M,L)}catch(t){if(u)throw t;L(-1,t)}}else L(-1,"No Transport");function L(t,e,a,c){var d,f,y,M,_,w=e;u||(u=!0,s&&n.clearTimeout(s),r=void 0,i=c||"",A.readyState=t>0?4:0,d=t>=200&&t<300||304===t,a&&(M=function(t,e,n){for(var r,o,i,a,s=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||t.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(h,A,a)),!d&&x.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),M=function(t,e,n,r){var o,i,a,s,c,u={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(i=l.shift();i;)if(t.responseFields[i]&&(n[t.responseFields[i]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=i,i=l.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=u[c+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+i}}}return{state:"success",data:e}}(h,M,A,d),d?(h.ifModified&&((_=A.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=_),(_=A.getResponseHeader("etag"))&&(x.etag[o]=_)),204===t||"HEAD"===h.type?w="nocontent":304===t?w="notmodified":(w=M.state,f=M.data,d=!(y=M.error))):(y=w,!t&&w||(w="error",t<0&&(t=0))),A.status=t,A.statusText=(e||w)+"",d?g.resolveWith(p,[f,w,A]):g.rejectWith(p,[A,w,y]),A.statusCode(b),b=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[A,h,d?f:y]),v.fireWith(p,[A,w]),l&&(m.trigger("ajaxComplete",[A,h]),--x.active||x.event.trigger("ajaxStop")))}return A},getJSON:function(t,e,n){return x.get(t,e,n,"json")},getScript:function(t,e){return x.get(t,void 0,e,"script")}}),x.each(["get","post"],(function(t,e){x[e]=function(t,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:t,type:e,dataType:o,data:n,success:r},x.isPlainObject(t)&&t))}})),x.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),x._evalUrl=function(t,e,n){return x.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){x.globalEval(t,e,n)}})},x.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=x(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){x(this).wrapInner(t.call(this,e))})):this.each((function(){var e=x(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){x(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)},x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Fe={0:200,1223:204},Ue=x.ajaxSettings.xhr();g.cors=!!Ue&&"withCredentials"in Ue,g.ajax=Ue=!!Ue,x.ajaxTransport((function(t){var e,r;if(g.cors||Ue&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Fe[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){e&&r()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),x.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return x.globalEval(t),t}}}),x.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),x.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,o){e=x("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),y.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ve,Ge=[],$e=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ge.pop()||x.expando+"_"+Le.guid++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",(function(t,e,r){var o,i,a,s=!1!==t.jsonp&&($e.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace($e,"$1"+o):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||x.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?x(n).removeProp(o):n[o]=i,t[o]&&(t.jsonpCallback=e.jsonpCallback,Ge.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Ve=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),x.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((r=(e=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,e.head.appendChild(r)):e=y),i=!n&&[],(o=C.exec(t))?[e.createElement(o[1])]:(o=wt([t],e,i),i&&i.length&&x(i).remove(),x.merge([],o.childNodes)));var r,o,i},x.fn.load=function(t,e,n){var r,o,i,a=this,s=t.indexOf(" ");return s>-1&&(r=be(t.slice(s)),t=t.slice(0,s)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&x.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done((function(t){i=arguments,a.html(r?x("<div>").append(x.parseHTML(t)).find(r):t)})).always(n&&function(t,e){a.each((function(){n.apply(this,i||[t.responseText,e,t])}))}),this},x.expr.pseudos.animated=function(t){return x.grep(x.timers,(function(e){return t===e.elem})).length},x.offset={setOffset:function(t,e,n){var r,o,i,a,s,c,u=x.css(t,"position"),l=x(t),d={};"static"===u&&(t.style.position="relative"),s=l.offset(),i=x.css(t,"top"),c=x.css(t,"left"),("absolute"===u||"fixed"===u)&&(i+c).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),v(e)&&(e=e.call(t,n,x.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+o),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),l.css(d))}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){x.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],o={top:0,left:0};if("fixed"===x.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((o=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),o.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-x.css(r,"marginTop",!0),left:e.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||it}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;x.fn[t]=function(r){return X(this,(function(t,r,o){var i;if(b(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===o)return i?i[e]:t[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):t[r]=o}),t,r,arguments.length)}})),x.each(["top","left"],(function(t,e){x.cssHooks[e]=Ut(g.pixelPosition,(function(t,n){if(n)return n=Ft(t,e),qt.test(n)?x(t).position()[e]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(t,e){x.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){x.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return X(this,(function(e,n,o){var i;return b(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===o?x.css(e,n,s):x.style(e,n,o,s)}),e,a?o:void 0,a)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){x.fn[e]=function(t){return this.on(e,t)}})),x.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),x.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(t,e){x.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Ke=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(t,e){var n,r,o;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return r=s.call(arguments,2),(o=function(){return t.apply(e||this,r.concat(s.call(arguments)))}).guid=t.guid=t.guid||x.guid++,o},x.holdReady=function(t){t?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=O,x.isFunction=v,x.isWindow=b,x.camelCase=G,x.type=w,x.now=Date.now,x.isNumeric=function(t){var e=x.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},x.trim=function(t){return null==t?"":(t+"").replace(Ke,"")},void 0===(r=function(){return x}.apply(e,[]))||(t.exports=r);var Je=n.jQuery,Qe=n.$;return x.noConflict=function(t){return n.$===x&&(n.$=Qe),t&&n.jQuery===x&&(n.jQuery=Je),x},void 0===o&&(n.jQuery=n.$=x),x}))},function(t,e,n){var r={"./af":11,"./af.js":11,"./ar":12,"./ar-dz":13,"./ar-dz.js":13,"./ar-kw":14,"./ar-kw.js":14,"./ar-ly":15,"./ar-ly.js":15,"./ar-ma":16,"./ar-ma.js":16,"./ar-sa":17,"./ar-sa.js":17,"./ar-tn":18,"./ar-tn.js":18,"./ar.js":12,"./az":19,"./az.js":19,"./be":20,"./be.js":20,"./bg":21,"./bg.js":21,"./bm":22,"./bm.js":22,"./bn":23,"./bn.js":23,"./bo":24,"./bo.js":24,"./br":25,"./br.js":25,"./bs":26,"./bs.js":26,"./ca":27,"./ca.js":27,"./cs":28,"./cs.js":28,"./cv":29,"./cv.js":29,"./cy":30,"./cy.js":30,"./da":31,"./da.js":31,"./de":32,"./de-at":33,"./de-at.js":33,"./de-ch":34,"./de-ch.js":34,"./de.js":32,"./dv":35,"./dv.js":35,"./el":36,"./el.js":36,"./en-SG":37,"./en-SG.js":37,"./en-au":38,"./en-au.js":38,"./en-ca":39,"./en-ca.js":39,"./en-gb":40,"./en-gb.js":40,"./en-ie":41,"./en-ie.js":41,"./en-il":42,"./en-il.js":42,"./en-nz":43,"./en-nz.js":43,"./eo":44,"./eo.js":44,"./es":45,"./es-do":46,"./es-do.js":46,"./es-us":47,"./es-us.js":47,"./es.js":45,"./et":48,"./et.js":48,"./eu":49,"./eu.js":49,"./fa":50,"./fa.js":50,"./fi":51,"./fi.js":51,"./fo":52,"./fo.js":52,"./fr":53,"./fr-ca":54,"./fr-ca.js":54,"./fr-ch":55,"./fr-ch.js":55,"./fr.js":53,"./fy":56,"./fy.js":56,"./ga":57,"./ga.js":57,"./gd":58,"./gd.js":58,"./gl":59,"./gl.js":59,"./gom-latn":60,"./gom-latn.js":60,"./gu":61,"./gu.js":61,"./he":62,"./he.js":62,"./hi":63,"./hi.js":63,"./hr":64,"./hr.js":64,"./hu":65,"./hu.js":65,"./hy-am":66,"./hy-am.js":66,"./id":67,"./id.js":67,"./is":68,"./is.js":68,"./it":69,"./it-ch":70,"./it-ch.js":70,"./it.js":69,"./ja":71,"./ja.js":71,"./jv":72,"./jv.js":72,"./ka":73,"./ka.js":73,"./kk":74,"./kk.js":74,"./km":75,"./km.js":75,"./kn":76,"./kn.js":76,"./ko":77,"./ko.js":77,"./ku":78,"./ku.js":78,"./ky":79,"./ky.js":79,"./lb":80,"./lb.js":80,"./lo":81,"./lo.js":81,"./lt":82,"./lt.js":82,"./lv":83,"./lv.js":83,"./me":84,"./me.js":84,"./mi":85,"./mi.js":85,"./mk":86,"./mk.js":86,"./ml":87,"./ml.js":87,"./mn":88,"./mn.js":88,"./mr":89,"./mr.js":89,"./ms":90,"./ms-my":91,"./ms-my.js":91,"./ms.js":90,"./mt":92,"./mt.js":92,"./my":93,"./my.js":93,"./nb":94,"./nb.js":94,"./ne":95,"./ne.js":95,"./nl":96,"./nl-be":97,"./nl-be.js":97,"./nl.js":96,"./nn":98,"./nn.js":98,"./pa-in":99,"./pa-in.js":99,"./pl":100,"./pl.js":100,"./pt":101,"./pt-br":102,"./pt-br.js":102,"./pt.js":101,"./ro":103,"./ro.js":103,"./ru":104,"./ru.js":104,"./sd":105,"./sd.js":105,"./se":106,"./se.js":106,"./si":107,"./si.js":107,"./sk":108,"./sk.js":108,"./sl":109,"./sl.js":109,"./sq":110,"./sq.js":110,"./sr":111,"./sr-cyrl":112,"./sr-cyrl.js":112,"./sr.js":111,"./ss":113,"./ss.js":113,"./sv":114,"./sv.js":114,"./sw":115,"./sw.js":115,"./ta":116,"./ta.js":116,"./te":117,"./te.js":117,"./tet":118,"./tet.js":118,"./tg":119,"./tg.js":119,"./th":120,"./th.js":120,"./tl-ph":121,"./tl-ph.js":121,"./tlh":122,"./tlh.js":122,"./tr":123,"./tr.js":123,"./tzl":124,"./tzl.js":124,"./tzm":125,"./tzm-latn":126,"./tzm-latn.js":126,"./tzm.js":125,"./ug-cn":127,"./ug-cn.js":127,"./uk":128,"./uk.js":128,"./ur":129,"./ur.js":129,"./uz":130,"./uz-latn":131,"./uz-latn.js":131,"./uz.js":130,"./vi":132,"./vi.js":132,"./x-pseudo":133,"./x-pseudo.js":133,"./yo":134,"./yo.js":134,"./zh-cn":135,"./zh-cn.js":135,"./zh-hk":136,"./zh-hk.js":136,"./zh-tw":137,"./zh-tw.js":137};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id=149},function(t,e,n){(t.exports=n(151)).tz.load(n(152))},function(t,e,n){var r,o,i;!function(a,s){"use strict";t.exports?t.exports=s(n(0)):(o=[n(0)],void 0===(i="function"==typeof(r=s)?r.apply(e,o):r)||(t.exports=i))}(0,(function(t){"use strict";var e,n={},r={},o={},i={};t&&"string"==typeof t.version||k("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var a=t.version.split("."),s=+a[0],c=+a[1];function u(t){return t>96?t-87:t>64?t-29:t-48}function l(t){var e=0,n=t.split("."),r=n[0],o=n[1]||"",i=1,a=0,s=1;for(45===t.charCodeAt(0)&&(e=1,s=-1);e<r.length;e++)a=60*a+u(r.charCodeAt(e));for(e=0;e<o.length;e++)i/=60,a+=u(o.charCodeAt(e))*i;return a*s}function d(t){for(var e=0;e<t.length;e++)t[e]=l(t[e])}function f(t,e){var n,r=[];for(n=0;n<e.length;n++)r[n]=t[e[n]];return r}function h(t){var e=t.split("|"),n=e[2].split(" "),r=e[3].split(""),o=e[4].split(" ");return d(n),d(r),d(o),function(t,e){for(var n=0;n<e;n++)t[n]=Math.round((t[n-1]||0)+6e4*t[n]);t[e-1]=1/0}(o,r.length),{name:e[0],abbrs:f(e[1].split(" "),r),offsets:f(n,r),untils:o,population:0|e[5]}}function p(t){t&&this._set(h(t))}function m(t){var e=t.toTimeString(),n=e.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=e.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+t,this.abbr=n,this.offset=t.getTimezoneOffset()}function g(t){this.zone=t,this.offsetScore=0,this.abbrScore=0}function v(t,e){for(var n,r;r=6e4*((e.at-t.at)/12e4|0);)(n=new m(new Date(t.at+r))).offset===t.offset?t=n:e=n;return t}function b(t,e){return t.offsetScore!==e.offsetScore?t.offsetScore-e.offsetScore:t.abbrScore!==e.abbrScore?t.abbrScore-e.abbrScore:t.zone.population!==e.zone.population?e.zone.population-t.zone.population:e.zone.name.localeCompare(t.zone.name)}function y(t,e){var n,r;for(d(e),n=0;n<e.length;n++)r=e[n],i[r]=i[r]||{},i[r][t]=!0}function M(t){var e,n,r,a=t.length,s={},c=[];for(e=0;e<a;e++)for(n in r=i[t[e].offset]||{})r.hasOwnProperty(n)&&(s[n]=!0);for(e in s)s.hasOwnProperty(e)&&c.push(o[e]);return c}function _(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var e=o[w(t)];if(e)return e;k("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var n,r,i,a=function(){var t,e,n,r=(new Date).getFullYear()-2,o=new m(new Date(r,0,1)),i=[o];for(n=1;n<48;n++)(e=new m(new Date(r,n,1))).offset!==o.offset&&(t=v(o,e),i.push(t),i.push(new m(new Date(t.at+6e4)))),o=e;for(n=0;n<4;n++)i.push(new m(new Date(r+n,0,1))),i.push(new m(new Date(r+n,6,1)));return i}(),s=a.length,c=M(a),u=[];for(r=0;r<c.length;r++){for(n=new g(A(c[r]),s),i=0;i<s;i++)n.scoreOffsetAt(a[i]);u.push(n)}return u.sort(b),u.length>0?u[0].zone.name:void 0}function w(t){return(t||"").toLowerCase().replace(/\//g,"_")}function x(t){var e,r,i,a;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)a=w(r=(i=t[e].split("|"))[0]),n[a]=t[e],o[a]=r,y(a,i[2].split(" "))}function A(t,e){t=w(t);var i,a=n[t];return a instanceof p?a:"string"==typeof a?(a=new p(a),n[t]=a,a):r[t]&&e!==A&&(i=A(r[t],A))?((a=n[t]=new p)._set(i),a.name=o[t],a):null}function L(t){var e,n,i,a;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)i=w((n=t[e].split("|"))[0]),a=w(n[1]),r[i]=a,o[i]=n[0],r[a]=i,o[a]=n[1]}function T(t){var e="X"===t._f||"x"===t._f;return!(!t._a||void 0!==t._tzm||e)}function k(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}function S(e){var n=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],o=A(r),i=t.utc.apply(null,n);return o&&!t.isMoment(e)&&T(i)&&i.add(o.parse(i),"minutes"),i.tz(r),i}(s<2||2===s&&c<6)&&k("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),p.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e,n=+t,r=this.untils;for(e=0;e<r.length;e++)if(n<r[e])return e},parse:function(t){var e,n,r,o,i=+t,a=this.offsets,s=this.untils,c=s.length-1;for(o=0;o<c;o++)if(e=a[o],n=a[o+1],r=a[o?o-1:o],e<n&&S.moveAmbiguousForward?e=n:e>r&&S.moveInvalidForward&&(e=r),i<s[o]-6e4*e)return a[o];return a[c]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){return k("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}},g.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset),this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr&&this.abbrScore++},S.version="0.5.27",S.dataVersion="",S._zones=n,S._links=r,S._names=o,S.add=x,S.link=L,S.load=function(t){x(t.zones),L(t.links),S.dataVersion=t.version},S.zone=A,S.zoneExists=function t(e){return t.didShowError||(t.didShowError=!0,k("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!A(e)},S.guess=function(t){return e&&!t||(e=_()),e},S.names=function(){var t,e=[];for(t in o)o.hasOwnProperty(t)&&(n[t]||n[r[t]])&&o[t]&&e.push(o[t]);return e.sort()},S.Zone=p,S.unpack=h,S.unpackBase60=l,S.needsOffset=T,S.moveInvalidForward=!0,S.moveAmbiguousForward=!1;var O,C=t.fn;function z(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function D(t){return function(){return this._z=null,t.apply(this,arguments)}}t.tz=S,t.defaultZone=null,t.updateOffset=function(e,n){var r,o=t.defaultZone;if(void 0===e._z&&(o&&T(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(o.parse(e),"minutes")),e._z=o),e._z)if(r=e._z.utcOffset(e),Math.abs(r)<16&&(r/=60),void 0!==e.utcOffset){var i=e._z;e.utcOffset(-r,n),e._z=i}else e.zone(r,n)},C.tz=function(e,n){if(e){if("string"!=typeof e)throw new Error("Time zone name must be a string, got "+e+" ["+typeof e+"]");return this._z=A(e),this._z?t.updateOffset(this,n):k("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},C.zoneName=z(C.zoneName),C.zoneAbbr=z(C.zoneAbbr),C.utc=D(C.utc),C.local=D(C.local),C.utcOffset=(O=C.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),t.tz.setDefault=function(e){return(s<2||2===s&&c<9)&&k("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?A(e):null,t};var E=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(E)?(E.push("_z"),E.push("_a")):E&&(E._z=null),t}))},function(t){t.exports=JSON.parse('{"version":"2019c","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0","America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|010101010101010101010101010|-1c2w0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Etc/GMT-0|GMT|0|0|","Etc/GMT-1|+01|-10|0|","Pacific/Port_Moresby|+10|-a0|0||25e4","Etc/GMT-11|+11|-b0|0|","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-3|+03|-30|0|","Etc/GMT-4|+04|-40|0|","Etc/GMT-5|+05|-50|0|","Etc/GMT-6|+06|-60|0|","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0|","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+3|-03|30|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],"links":["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"]}')},function(t,e,n){var r,o;!function(i){t.exports?(i.default=i,t.exports=i):(r=[n(138)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))}((function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n))}e(t=t?t._modules:{},"modules/full-screen.src.js",[t["parts/Chart.js"],t["parts/Globals.js"],t["parts/Utilities.js"]],(function(t,e,n){var r=n.addEvent;return n=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this.chart;this.isOpen&&this.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&this.unbindFullscreenEvent(),this.isOpen=!1,this.setButtonText()},t.prototype.open=function(){var t=this,e=t.chart;if(t.browserProps){t.unbindFullscreenEvent=r(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(t.isOpen=!0,t.setButtonText())}));var n=e.renderTo[t.browserProps.requestFullscreen]();n&&n.catch((function(){alert("Full screen is not supported inside a frame.")})),r(e,"destroy",t.unbindFullscreenEvent)}},t.prototype.setButtonText=function(){var t,e=this.chart,n=e.exportDivElements,r=e.options.exporting,o=null===(t=null==r?void 0:r.buttons)||void 0===t?void 0:t.contextButton.menuItems;t=e.options.lang,null!=r&&r.menuItemDefinitions&&null!=t&&t.exitFullscreen&&t.viewFullscreen&&o&&n&&n.length&&(n[o.indexOf("viewFullscreen")].innerHTML=this.isOpen?t.exitFullscreen:r.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=n,r(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"mixins/navigation.js",[],(function(){return{initUpdate:function(t){t.navigation||(t.navigation={updates:[],update:function(t,e){this.updates.forEach((function(n){n.update.call(n.context,t,e)}))}})},addUpdate:function(t,e){e.navigation||this.initUpdate(e),e.navigation.updates.push({update:t,context:e})}}})),e(t,"modules/exporting.src.js",[t["parts/Chart.js"],t["mixins/navigation.js"],t["parts/Globals.js"],t["parts/Options.js"],t["parts/SVGRenderer.js"],t["parts/Utilities.js"]],(function(t,e,n,r,o,i){var a=n.doc,s=n.isTouchDevice,c=n.win;r=r.defaultOptions;var u=i.addEvent,l=i.css,d=i.createElement,f=i.discardElement,h=i.extend,p=i.find,m=i.fireEvent,g=i.isObject,v=i.merge,b=i.objectEach,y=i.pick,M=i.removeEvent,_=i.uniqueKey,w=c.navigator.userAgent,x=n.Renderer.prototype.symbols,A=/Edge\/|Trident\/|MSIE /.test(w),L=/firefox/i.test(w);h(r.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),r.navigation||(r.navigation={}),v(!0,r.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}}),v(!0,r.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:s?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}}}),r.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},n.post=function(t,e,n){var r=d("form",v({method:"post",action:t,enctype:"multipart/form-data"},n),{display:"none"},a.body);b(e,(function(t,e){d("input",{type:"hidden",name:e,value:t},null,r)})),r.submit(),f(r)},n.isSafari&&n.win.matchMedia("print").addListener((function(t){n.printingChart&&(t.matches?n.printingChart.beforePrint():n.printingChart.afterPrint())})),h(t.prototype,{sanitizeSVG:function(t,e){var n=t.indexOf("</svg>")+6,r=t.substr(n);return t=t.substr(0,n),e&&e.exporting&&e.exporting.allowHTML&&r&&(r='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+r+"</body></foreignObject>",t=t.replace("</svg>",r+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g," ").replace(/­/g,""),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t},getChartHTML:function(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML},getSVG:function(t){var e,r=v(this.options,t);r.plotOptions=v(this.userOptions.plotOptions,t&&t.plotOptions),r.time=v(this.userOptions.time,t&&t.time);var o=d("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},a.body),i=this.renderTo.style.width,s=this.renderTo.style.height;i=r.exporting.sourceWidth||r.chart.width||/px$/.test(i)&&parseInt(i,10)||(r.isGantt?800:600),s=r.exporting.sourceHeight||r.chart.height||/px$/.test(s)&&parseInt(s,10)||400,h(r.chart,{animation:!1,renderTo:o,forExport:!0,renderer:"SVGRenderer",width:i,height:s}),r.exporting.enabled=!1,delete r.data,r.series=[],this.series.forEach((function(t){(e=v(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||r.series.push(e)})),this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=_())}));var c=new n.Chart(r,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var n={};t[e]&&(n[e]=t[e],c.update(n))})),this.axes.forEach((function(t){var e=p(c.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),n=t.getExtremes(),r=n.userMin;n=n.userMax,e&&(void 0!==r&&r!==e.min||void 0!==n&&n!==e.max)&&e.setExtremes(r,n,!0,!1)})),i=c.getChartHTML(),m(this,"getSVG",{chartCopy:c}),i=this.sanitizeSVG(i,r),r=null,c.destroy(),f(o),i},getSVGForExport:function(t,e){var n=this.options.exporting;return this.getSVG(v({chart:{borderRadius:0}},n.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||n.sourceWidth,sourceHeight:t&&t.sourceHeight||n.sourceHeight}}))},getFilename:function(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"==typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)},exportChart:function(t,e){e=this.getSVGForExport(t,e),t=v(this.options.exporting,t),n.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)},moveContainers:function(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))},beforePrint:function(){var t=a.body,e=this.options.exporting.printMaxWidth,n={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),m(this,"beforePrint"),e&&this.chartWidth>e&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(n.childNodes,(function(t,e){1===t.nodeType&&(n.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=n},afterPrint:function(){if(this.printReverseInfo){var t=this.printReverseInfo.childNodes,e=this.printReverseInfo.origDisplay,r=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo),[].forEach.call(t,(function(t,n){1===t.nodeType&&(t.style.display=e[n]||"")})),this.isPrinting=!1,r&&this.setSize.apply(this,r),delete this.printReverseInfo,delete n.printingChart,m(this,"afterPrint")}},print:function(){var t=this;t.isPrinting||(n.printingChart=t,n.isSafari||t.beforePrint(),setTimeout((function(){c.focus(),c.print(),n.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))},contextMenu:function(t,e,n,r,o,s,f){var p=this,v=p.options.navigation,b=p.chartWidth,y=p.chartHeight,M="cache-"+t,_=p[M],w=Math.max(o,s);if(!_){p.exportContextMenu=p[M]=_=d("div",{className:t},{position:"absolute",zIndex:1e3,padding:w+"px",pointerEvents:"auto"},p.fixedDiv||p.container);var x=d("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},_);p.styledMode||l(x,h({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},v.menuStyle)),_.hideMenu=function(){l(_,{display:"none"}),f&&f.setState(0),p.openMenu=!1,l(p.renderTo,{overflow:"hidden"}),i.clearTimeout(_.hideTimer),m(p,"exportMenuHidden")},p.exportEvents.push(u(_,"mouseleave",(function(){_.hideTimer=c.setTimeout(_.hideMenu,500)})),u(_,"mouseenter",(function(){i.clearTimeout(_.hideTimer)})),u(a,"mouseup",(function(e){p.pointer.inClass(e.target,t)||_.hideMenu()})),u(_,"click",(function(){p.openMenu&&_.hideMenu()}))),e.forEach((function(t){if("string"==typeof t&&(t=p.options.exporting.menuItemDefinitions[t]),g(t,!0)){if(t.separator)var e=d("hr",null,null,x);else e=d("li",{className:"highcharts-menu-item",onclick:function(e){e&&e.stopPropagation(),_.hideMenu(),t.onclick&&t.onclick.apply(p,arguments)},innerHTML:t.text||p.options.lang[t.textKey]},null,x),p.styledMode||(e.onmouseover=function(){l(this,v.menuItemHoverStyle)},e.onmouseout=function(){l(this,v.menuItemStyle)},l(e,h({cursor:"pointer"},v.menuItemStyle)));p.exportDivElements.push(e)}})),p.exportDivElements.push(x,_),p.exportMenuWidth=_.offsetWidth,p.exportMenuHeight=_.offsetHeight}e={display:"block"},n+p.exportMenuWidth>b?e.right=b-n-o-w+"px":e.left=n-w+"px",r+s+p.exportMenuHeight>y&&"top"!==f.alignOptions.verticalAlign?e.bottom=y-r-w+"px":e.top=r+s-w+"px",l(_,e),l(p.renderTo,{overflow:""}),p.openMenu=!0,m(p,"exportMenuShown")},addButton:function(t){var e=this,n=e.renderer,r=v(e.options.navigation.buttonOptions,t),o=r.onclick,i=r.menuItems,a=r.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==r.enabled){var s,c=r.theme,u=c.states,l=u&&u.hover;u=u&&u.select,e.styledMode||(c.fill=y(c.fill,"#ffffff"),c.stroke=y(c.stroke,"none")),delete c.states,o?s=function(t){t&&t.stopPropagation(),o.call(e,t)}:i&&(s=function(t){t&&t.stopPropagation(),e.contextMenu(d.menuClassName,i,d.translateX,d.translateY,d.width,d.height,d),d.setState(2)}),r.text&&r.symbol?c.paddingLeft=y(c.paddingLeft,25):r.text||h(c,{width:r.width,height:r.height,padding:0}),e.styledMode||(c["stroke-linecap"]="round",c.fill=y(c.fill,"#ffffff"),c.stroke=y(c.stroke,"none"));var d=n.button(r.text,0,0,s,c,l,u).addClass(t.className).attr({title:y(e.options.lang[r._titleKey||r.titleKey],"")});if(d.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,r.symbol){var f=n.symbol(r.symbol,r.symbolX-a/2,r.symbolY-a/2,a,a,{width:a,height:a}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d);e.styledMode||f.attr({stroke:r.symbolStroke,fill:r.symbolFill,"stroke-width":r.symbolStrokeWidth||1})}d.add(e.exportingGroup).align(h(r,{width:d.width,x:y(r.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(d.width+r.buttonSpacing)*("right"===r.align?-1:1),e.exportSVGElements.push(d,f)}},destroyExport:function(t){var e=t?t.target:this;t=e.exportSVGElements;var n,r=e.exportDivElements,o=e.exportEvents;t&&(t.forEach((function(t,r){t&&(t.onclick=t.ontouchstart=null,n="cache-"+t.menuClassName,e[n]&&delete e[n],e.exportSVGElements[r]=t.destroy())})),t.length=0),e.exportingGroup&&(e.exportingGroup.destroy(),delete e.exportingGroup),r&&(r.forEach((function(t,n){i.clearTimeout(t.hideTimer),M(t,"mouseleave"),e.exportDivElements[n]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,f(t)})),r.length=0),o&&(o.forEach((function(t){t()})),o.length=0)}}),o.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" "),o.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],o.prototype.unstyledElements=["clipPath","defs","desc"],t.prototype.inlineStyles=function(){function t(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}var e,n=this.renderer,r=n.inlineToAttributes,o=n.inlineBlacklist,i=n.inlineWhitelist,s=n.unstyledElements,u={};n=a.createElement("iframe"),l(n,{width:"1px",height:"1px",visibility:"hidden"}),a.body.appendChild(n);var d=n.contentWindow.document;d.open(),d.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>'),d.close(),function n(a){function l(e,n){if(f=h=!1,i){for(p=i.length;p--&&!h;)h=i[p].test(n);f=!h}for("transform"===n&&"none"===e&&(f=!0),p=o.length;p--&&!f;)f=o[p].test(n)||"function"==typeof e;f||y[n]===e&&"svg"!==a.nodeName||u[a.nodeName][n]===e||(r&&-1===r.indexOf(n)?m+=t(n)+":"+e+";":e&&a.setAttribute(t(n),e))}var f,h,p,m="";if(1===a.nodeType&&-1===s.indexOf(a.nodeName)){var g=c.getComputedStyle(a,null),y="svg"===a.nodeName?{}:c.getComputedStyle(a.parentNode,null);if(!u[a.nodeName]){e=d.getElementsByTagName("svg")[0];var M=d.createElementNS(a.namespaceURI,a.nodeName);e.appendChild(M),u[a.nodeName]=v(c.getComputedStyle(M,null)),"text"===a.nodeName&&delete u.text.fill,e.removeChild(M)}if(L||A)for(var _ in g)l(g[_],_);else b(g,l);m&&(g=a.getAttribute("style"),a.setAttribute("style",(g?g+";":"")+m)),"svg"===a.nodeName&&a.setAttribute("stroke-width","1px"),"text"!==a.nodeName&&[].forEach.call(a.children||a.childNodes,n)}}(this.container.querySelector("svg")),e.parentNode.removeChild(e)},x.menu=function(t,e,n,r){return[["M",t,e+2.5],["L",t+n,e+2.5],["M",t,e+r/2+.5],["L",t+n,e+r/2+.5],["M",t,e+r-1.5],["L",t+n,e+r-1.5]]},x.menuball=function(t,e,n,r){return r=r/3-2,[].concat(this.circle(n-r,e,r,r),this.circle(n-r,e+r+4,r,r),this.circle(n-r,e+2*(r+4),r,r))},t.prototype.renderExporting=function(){var t=this,e=t.options.exporting,n=e.buttons,r=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),r&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),b(n,(function(e){t.addButton(e)})),t.isDirtyExporting=!1),u(t,"destroy",t.destroyExport)},u(t,"init",(function(){var t=this;t.exporting={update:function(e,n){t.isDirtyExporting=!0,v(!0,t.options.exporting,e),y(n,!0)&&t.redraw()}},e.addUpdate((function(e,n){t.isDirtyExporting=!0,v(!0,t.options.navigation,e),y(n,!0)&&t.redraw()}),t)})),t.prototype.callbacks.push((function(t){t.renderExporting(),u(t,"redraw",t.renderExporting)}))})),e(t,"masters/modules/exporting.src.js",[],(function(){}))}))},function(t,e){!function(t){function e(t,e,o){var i=t[0],a=/er/.test(o)?_indeterminate:/bl/.test(o)?h:d,s=o==_update?{checked:i[d],disabled:i[h],indeterminate:"true"==t.attr(_indeterminate)||"false"==t.attr(_determinate)}:i[a];if(/^(ch|di|in)/.test(o)&&!s)n(t,a);else if(/^(un|en|de)/.test(o)&&s)r(t,a);else if(o==_update)for(var c in s)s[c]?n(t,c,!0):r(t,c,!0);else e&&"toggle"!=o||(e||t[_callback]("ifClicked"),s?i[_type]!==l&&r(t,a):n(t,a))}function n(e,n,o){var p=e[0],m=e.parent(),g=n==d,v=n==_indeterminate,b=n==h,y=v?_determinate:g?f:"enabled",M=i(e,y+a(p[_type])),_=i(e,n+a(p[_type]));if(!0!==p[n]){if(!o&&n==d&&p[_type]==l&&p.name){var w=e.closest("form"),x='input[name="'+p.name+'"]';(x=w.length?w.find(x):t(x)).each((function(){this!==p&&t(this).data(c)&&r(t(this),n)}))}v?(p[n]=!0,p[d]&&r(e,d,"force")):(o||(p[n]=!0),g&&p[_indeterminate]&&r(e,_indeterminate,!1)),s(e,g,n,o)}p[h]&&i(e,_cursor,!0)&&m.find("."+u).css(_cursor,"default"),m[_add](_||i(e,n)||""),m.attr("role")&&!v&&m.attr("aria-"+(b?h:d),"true"),m[_remove](M||i(e,y)||"")}function r(t,e,n){var r=t[0],o=t.parent(),c=e==d,l=e==_indeterminate,p=e==h,m=l?_determinate:c?f:"enabled",g=i(t,m+a(r[_type])),v=i(t,e+a(r[_type]));!1!==r[e]&&(!l&&n&&"force"!=n||(r[e]=!1),s(t,c,m,n)),!r[h]&&i(t,_cursor,!0)&&o.find("."+u).css(_cursor,"pointer"),o[_remove](v||i(t,e)||""),o.attr("role")&&!l&&o.attr("aria-"+(p?h:d),"false"),o[_add](g||i(t,m)||"")}function o(e,n){e.data(c)&&(e.parent().html(e.attr("style",e.data(c).s||"")),n&&e[_callback](n),e.off(".i").unwrap(),t(_label+'[for="'+e[0].id+'"]').add(e.closest(_label)).off(".i"))}function i(t,e,n){if(t.data(c))return t.data(c).o[e+(n?"":"Class")]}function a(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t,e,n,r){r||(e&&t[_callback]("ifToggled"),t[_callback]("ifChanged")[_callback]("if"+a(n)))}var c="iCheck",u=c+"-helper",l="radio",d="checked",f="un"+d,h="disabled";_determinate="determinate",_indeterminate="in"+_determinate,_update="update",_type="type",_click="click",_touch="touchbegin.i touchend.i",_add="addClass",_remove="removeClass",_callback="trigger",_label="label",_cursor="cursor",_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent),t.fn[c]=function(i,a){var s='input[type="checkbox"], input[type="'+l+'"]',f=t(),p=function(e){e.each((function(){var e=t(this);f=e.is(s)?f.add(e):f.add(e.find(s))}))};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(i))return i=i.toLowerCase(),p(this),f.each((function(){var n=t(this);"destroy"==i?o(n,"ifDestroyed"):e(n,!0,i),t.isFunction(a)&&a()}));if("object"!=typeof i&&i)return this;var m=t.extend({checkedClass:d,disabledClass:h,indeterminateClass:_indeterminate,labelHover:!0},i),g=m.handle,v=m.hoverClass||"hover",b=m.focusClass||"focus",y=m.activeClass||"active",M=!!m.labelHover,_=m.labelHoverClass||"hover",w=0|(""+m.increaseArea).replace("%","");return"checkbox"!=g&&g!=l||(s='input[type="'+g+'"]'),-50>w&&(w=-50),p(this),f.each((function(){var i=t(this);o(i);var a=this,s=a.id,f={position:"absolute",top:p=-w+"%",left:p,display:"block",width:f=100+2*w+"%",height:f,margin:0,padding:0,background:"#fff",border:0,opacity:0},p=_mobile?{position:"absolute",visibility:"hidden"}:w?f:{position:"absolute",opacity:0},g="checkbox"==a[_type]?m.checkboxClass||"icheckbox":m.radioClass||"i"+l,x=t(_label+'[for="'+s+'"]').add(i.closest(_label)),A=!!m.aria,L=c+"-"+Math.random().toString(36).substr(2,6),T='<div class="'+g+'" '+(A?'role="'+a[_type]+'" ':"");A&&x.each((function(){T+='aria-labelledby="',this.id?T+=this.id:(this.id=L,T+=L),T+='"'})),T=i.wrap(T+"/>")[_callback]("ifCreated").parent().append(m.insert),f=t('<ins class="'+u+'"/>').css(f).appendTo(T),i.data(c,{o:m,s:i.attr("style")}).css(p),m.inheritClass&&T[_add](a.className||""),m.inheritID&&s&&T.attr("id",c+"-"+s),"static"==T.css("position")&&T.css("position","relative"),e(i,!0,_update),x.length&&x.on(_click+".i mouseover.i mouseout.i "+_touch,(function(n){var r=n[_type],o=t(this);if(!a[h]){if(r==_click){if(t(n.target).is("a"))return;e(i,!1,!0)}else M&&(/ut|nd/.test(r)?(T[_remove](v),o[_remove](_)):(T[_add](v),o[_add](_)));if(!_mobile)return!1;n.stopPropagation()}})),i.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",(function(t){var e=t[_type];return t=t.keyCode,e!=_click&&("keydown"==e&&32==t?(a[_type]==l&&a[d]||(a[d]?r(i,d):n(i,d)),!1):void("keyup"==e&&a[_type]==l?!a[d]&&n(i,d):/us|ur/.test(e)&&T["blur"==e?_remove:_add](b)))})),f.on(_click+" mousedown mouseup mouseover mouseout "+_touch,(function(t){var n=t[_type],r=/wn|up/.test(n)?y:v;if(!a[h]){if(n==_click?e(i,!1,!0):(/wn|er|in/.test(n)?T[_add](r):T[_remove](r+" "+y),x.length&&M&&r==v&&x[/ut|nd/.test(n)?_remove:_add](_)),!_mobile)return!1;t.stopPropagation()}}))}))}}(window.jQuery||window.Zepto)},function(t,e,n){"use strict";function r(t){return getComputedStyle(t)}function o(t,e){for(var n in e){var r=e[n];"number"==typeof r&&(r+="px"),t.style[n]=r}return t}function i(t){var e=document.createElement("div");return e.className=t,e}n.r(e);var a="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function s(t,e){if(!a)throw new Error("No element matching method supported");return a.call(t,e)}function c(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function u(t,e){return Array.prototype.filter.call(t.children,(function(t){return s(t,e)}))}var l="ps",d={thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},f={focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}},h={x:null,y:null};function p(t,e){var n=t.element.classList,r=f.scrolling(e);n.contains(r)?clearTimeout(h[e]):n.add(r)}function m(t,e){h[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(f.scrolling(e))}),t.settings.scrollingThreshold)}var g=function(t){this.element=t,this.handlers={}},v={isEmpty:{configurable:!0}};g.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},g.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter((function(r){return!(!e||r===e)||(n.element.removeEventListener(t,r,!1),!1)}))},g.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},v.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(g.prototype,v);var b=function(){this.eventElements=[]};function y(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}b.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new g(t),this.eventElements.push(e)),e},b.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},b.prototype.unbind=function(t,e,n){var r=this.eventElement(t);r.unbind(e,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},b.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},b.prototype.once=function(t,e,n){var r=this.eventElement(t),o=function(t){r.unbind(e,o),n(t)};r.bind(e,o)};var M=function(t,e,n,r,o){var i;if(void 0===r&&(r=!0),void 0===o&&(o=!1),"top"===e)i=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");i=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,r,o){var i=n[0],a=n[1],s=n[2],c=n[3],u=n[4],l=n[5];void 0===r&&(r=!0);void 0===o&&(o=!1);var d=t.element;t.reach[c]=null,d[s]<1&&(t.reach[c]="start");d[s]>t[i]-t[a]-1&&(t.reach[c]="end");e&&(d.dispatchEvent(y("ps-scroll-"+c)),e<0?d.dispatchEvent(y("ps-scroll-"+u)):e>0&&d.dispatchEvent(y("ps-scroll-"+l)),r&&function(t,e){p(t,e),m(t,e)}(t,c));t.reach[c]&&(e||o)&&d.dispatchEvent(y("ps-"+c+"-reach-"+t.reach[c]))}(t,n,i,r,o)};function _(t){return parseInt(t,10)||0}var w={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},x=function(t){var e=t.element,n=Math.floor(e.scrollTop);t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(u(e,d.rail("x")).forEach((function(t){return c(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(u(e,d.rail("y")).forEach((function(t){return c(t)})),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=A(t,_(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=_((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=A(t,_(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=_(n*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth},r=Math.floor(t.scrollTop);e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft;e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-r:n.top=e.scrollbarXTop+r;o(e.scrollbarXRail,n);var i={top:r,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?i.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:i.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?i.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:i.left=e.scrollbarYLeft+t.scrollLeft;o(e.scrollbarYRail,i),o(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),o(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(f.active("x")):(e.classList.remove(f.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(f.active("y")):(e.classList.remove(f.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)};function A(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function L(t,e){var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],c=e[6],u=e[7],l=e[8],d=t.element,h=null,g=null,v=null;function b(e){d[c]=h+v*(e[o]-g),p(t,u),x(t),e.stopPropagation(),e.preventDefault()}function y(){m(t,u),t[l].classList.remove(f.clicking),t.event.unbind(t.ownerDocument,"mousemove",b)}t.event.bind(t[a],"mousedown",(function(e){h=d[c],g=e[o],v=(t[r]-t[n])/(t[i]-t[s]),t.event.bind(t.ownerDocument,"mousemove",b),t.event.once(t.ownerDocument,"mouseup",y),t[l].classList.add(f.clicking),e.stopPropagation(),e.preventDefault()}))}var T={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarYRail,"mousedown",(function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=n*t.containerHeight,x(t),e.stopPropagation()})),t.event.bind(t.scrollbarX,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarXRail,"mousedown",(function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=n*t.containerWidth,x(t),e.stopPropagation()}))},"drag-thumb":function(t){L(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),L(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(s(e,":hover")||s(t.scrollbarX,":focus")||s(t.scrollbarY,":focus"))){var r,o=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(o){if("IFRAME"===o.tagName)o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(s(r=o,"input,[contenteditable]")||s(r,"select,[contenteditable]")||s(r,"textarea,[contenteditable]")||s(r,"button,[contenteditable]"))return}var i=0,a=0;switch(n.which){case 37:i=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:a=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:i=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:a=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:a=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:a=t.containerHeight;break;case 34:a=-t.containerHeight;break;case 36:a=t.contentHeight;break;case 35:a=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==i||t.settings.suppressScrollY&&0!==a||(e.scrollTop-=a,e.scrollLeft+=i,x(t),function(n,r){var o=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===o&&r>0||o>=t.contentHeight-t.containerHeight&&r<0)return!t.settings.wheelPropagation}var i=e.scrollLeft;if(0===r){if(!t.scrollbarXActive)return!1;if(0===i&&n<0||i>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(i,a)&&n.preventDefault())}}))},wheel:function(t){var e=t.element;function n(n){var o=function(t){var e=t.deltaX,n=-1*t.deltaY;return void 0!==e&&void 0!==n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),i=o[0],a=o[1];if(!function(t,n,o){if(!w.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var i=t;i&&i!==e;){if(i.classList.contains(d.consuming))return!0;var a=r(i);if([a.overflow,a.overflowX,a.overflowY].join("").match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&!(0===i.scrollTop&&o>0||i.scrollTop===s&&o<0))return!0;var c=i.scrollWidth-i.clientWidth;if(c>0&&!(0===i.scrollLeft&&n<0||i.scrollLeft===c&&n>0))return!0}i=i.parentNode}return!1}(n.target,i,a)){var s=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(a?e.scrollTop-=a*t.settings.wheelSpeed:e.scrollTop+=i*t.settings.wheelSpeed,s=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(i?e.scrollLeft+=i*t.settings.wheelSpeed:e.scrollLeft-=a*t.settings.wheelSpeed,s=!0):(e.scrollTop-=a*t.settings.wheelSpeed,e.scrollLeft+=i*t.settings.wheelSpeed),x(t),(s=s||function(n,r){var o=Math.floor(e.scrollTop),i=0===e.scrollTop,a=o+e.offsetHeight===e.scrollHeight,s=0===e.scrollLeft,c=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(r)>Math.abs(n)?i||a:s||c)||!t.settings.wheelPropagation}(i,a))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",n):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(w.supportsTouch||w.supportsIePointer){var e=t.element,n={},o=0,i={},a=null;w.supportsTouch?(t.event.bind(e,"touchstart",l),t.event.bind(e,"touchmove",f),t.event.bind(e,"touchend",h)):w.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",l),t.event.bind(e,"pointermove",f),t.event.bind(e,"pointerup",h)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",l),t.event.bind(e,"MSPointerMove",f),t.event.bind(e,"MSPointerUp",h)))}function s(n,r){e.scrollTop-=r,e.scrollLeft-=n,x(t)}function c(t){return t.targetTouches?t.targetTouches[0]:t}function u(t){return(!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&&(!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function l(t){if(u(t)){var e=c(t);n.pageX=e.pageX,n.pageY=e.pageY,o=(new Date).getTime(),null!==a&&clearInterval(a)}}function f(a){if(u(a)){var l=c(a),f={pageX:l.pageX,pageY:l.pageY},h=f.pageX-n.pageX,p=f.pageY-n.pageY;if(function(t,n,o){if(!e.contains(t))return!1;for(var i=t;i&&i!==e;){if(i.classList.contains(d.consuming))return!0;var a=r(i);if([a.overflow,a.overflowX,a.overflowY].join("").match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&!(0===i.scrollTop&&o>0||i.scrollTop===s&&o<0))return!0;var c=i.scrollLeft-i.clientWidth;if(c>0&&!(0===i.scrollLeft&&n<0||i.scrollLeft===c&&n>0))return!0}i=i.parentNode}return!1}(a.target,h,p))return;s(h,p),n=f;var m=(new Date).getTime(),g=m-o;g>0&&(i.x=h/g,i.y=p/g,o=m),function(n,r){var o=Math.floor(e.scrollTop),i=e.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&o===t.contentHeight-t.containerHeight||r>0&&0===o)return 0===window.scrollY&&r>0&&w.isChrome}else if(a>s&&(n<0&&i===t.contentWidth-t.containerWidth||n>0&&0===i))return!0;return!0}(h,p)&&a.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(a),a=setInterval((function(){t.isInitialized?clearInterval(a):i.x||i.y?Math.abs(i.x)<.01&&Math.abs(i.y)<.01?clearInterval(a):(s(30*i.x,30*i.y),i.x*=.8,i.y*=.8):clearInterval(a)}),10))}}},k=function(t,e){var n=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var a in this.element=t,t.classList.add(l),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)n.settings[a]=e[a];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,c,u=function(){return t.classList.add(f.focus)},h=function(){return t.classList.remove(f.focus)};this.isRtl="rtl"===r(t).direction,this.isNegativeScroll=(c=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=c,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new b,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=i(d.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=i(d.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",u),this.event.bind(this.scrollbarX,"blur",h),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var p=r(this.scrollbarXRail);this.scrollbarXBottom=parseInt(p.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=_(p.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=_(p.borderLeftWidth)+_(p.borderRightWidth),o(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=_(p.marginLeft)+_(p.marginRight),o(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(d.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=i(d.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",u),this.event.bind(this.scrollbarY,"blur",h),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var m=r(this.scrollbarYRail);this.scrollbarYRight=parseInt(m.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=_(m.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=r(t);return _(e.width)+_(e.paddingLeft)+_(e.paddingRight)+_(e.borderLeftWidth)+_(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=_(m.borderTopWidth)+_(m.borderBottomWidth),o(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=_(m.marginTop)+_(m.marginBottom),o(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(t){return T[t](n)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return n.onScroll(t)})),x(this)};k.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,o(this.scrollbarXRail,{display:"block"}),o(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=_(r(this.scrollbarXRail).marginLeft)+_(r(this.scrollbarXRail).marginRight),this.railYMarginHeight=_(r(this.scrollbarYRail).marginTop)+_(r(this.scrollbarYRail).marginBottom),o(this.scrollbarXRail,{display:"none"}),o(this.scrollbarYRail,{display:"none"}),x(this),M(this,"top",0,!1,!0),M(this,"left",0,!1,!0),o(this.scrollbarXRail,{display:""}),o(this.scrollbarYRail,{display:""}))},k.prototype.onScroll=function(t){this.isAlive&&(x(this),M(this,"top",this.element.scrollTop-this.lastScrollTop),M(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},k.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),c(this.scrollbarX),c(this.scrollbarY),c(this.scrollbarXRail),c(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},k.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")},e.default=k},function(t,e,n){!function(){"use strict";var e="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=t.exports,r=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,o=n.length,i={};r<o;r++)if((t=n[r])&&t[1]in e){for(r=0;r<t.length;r++)i[n[0][r]]=t[r];return i}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},i={request:function(t){return new Promise(function(n,o){var i=function(){this.off("change",i),n()}.bind(this);this.on("change",i);var a=(t=t||e.documentElement)[r.requestFullscreen]();a instanceof Promise&&a.then(i).catch(o)}.bind(this))},exit:function(){return new Promise(function(t,n){if(this.isFullscreen){var o=function(){this.off("change",o),t()}.bind(this);this.on("change",o);var i=e[r.exitFullscreen]();i instanceof Promise&&i.then(o).catch(n)}else t()}.bind(this))},toggle:function(t){return this.isFullscreen?this.exit():this.request(t)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var r=o[t];r&&e.addEventListener(r,n,!1)},off:function(t,n){var r=o[t];r&&e.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(i,{isFullscreen:{get:function(){return Boolean(e[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(e[r.fullscreenEnabled])}}}),n?t.exports=i:window.screenfull=i):n?t.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},function(t,e,n){(function(t){!function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){return o(e[a][1][t]||t)}),u,u.exports,t,e,n,r)}return n[a].exports}for(var i=!1,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){var r=t("dragula");!function(){this.jKanban=function(){var t=this,e={enabled:!1};this._disallowedItemProperties=["id","title","click","drag","dragend","drop","order"],this.element="",this.container="",this.boardContainer=[],this.handlers=[],this.dragula=r,this.drake="",this.drakeBoard="",this.addItemButton=!1;var n={element:"",gutter:"15px",widthBoard:"250px",responsive:"700",responsivePercentage:!(this.buttonContent="+"),boards:[],dragBoards:!0,dragItems:!0,addItemButton:!1,buttonContent:"+",itemHandleOptions:this.itemHandleOptions=e,dragEl:function(t,e){},dragendEl:function(t){},dropEl:function(t,e,n,r){},dragBoard:function(t,e){},dragendBoard:function(t){},dropBoard:function(t,e,n,r){},click:function(t){},buttonClick:function(t,e){}};function o(e){e.addEventListener("click",(function(e){e.preventDefault(),t.options.click(this),"function"==typeof this.clickfn&&this.clickfn(this)}))}function i(e,n){e.addEventListener("click",(function(e){e.preventDefault(),t.options.buttonClick(this,n)}))}function a(e){var n=[];return t.options.boards.map((function(t){if(t.id===e)return n.push(t)})),n[0]}function s(e,n){for(var r in n)-1<t._disallowedItemProperties.indexOf(r)||e.setAttribute("data-"+r,n[r])}function c(e){var n=e;if(t.options.itemHandleOptions.enabled)if(void 0===(t.options.itemHandleOptions.customHandler||void 0)){var r=t.options.itemHandleOptions.customCssHandler,o=t.options.itemHandleOptions.customCssIconHandler;void 0===(r||void 0)&&(r="drag_handler"),void 0===(o||void 0)&&(o=r+"_icon"),n="<div class='item_handle "+r+"'><i class='item_handle "+o+"'></i></div><div>"+n+"</div>"}else n=t.options.itemHandleOptions.customHandler.replace("%s",n);return n}arguments[0]&&"object"==typeof arguments[0]&&(this.options=function(t,e){var n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(n,arguments[0])),this.__getCanMove=function(e){return t.options.itemHandleOptions.enabled?t.options.itemHandleOptions.handleClass?e.classList.contains(t.options.itemHandleOptions.handleClass):e.classList.contains("item_handle"):!!t.options.dragItems},this.init=function(){!function(){t.element=document.querySelector(t.options.element);var e=document.createElement("div");e.classList.add("kanban-container"),t.container=e,t.addBoards(t.options.boards,!0),t.element.appendChild(t.container)}(),window.innerWidth>t.options.responsive&&(t.drakeBoard=t.dragula([t.container],{moves:function(e,n,r,o){return!!t.options.dragBoards&&(r.classList.contains("kanban-board-header")||r.classList.contains("kanban-title-board"))},accepts:function(t,e,n,r){return e.classList.contains("kanban-container")},revertOnSpill:!0,direction:"horizontal"}).on("drag",(function(e,n){e.classList.add("is-moving"),t.options.dragBoard(e,n),"function"==typeof e.dragfn&&e.dragfn(e,n)})).on("dragend",(function(e){!function(){for(var e=1,n=0;n<t.container.childNodes.length;n++)t.container.childNodes[n].dataset.order=e++}(),e.classList.remove("is-moving"),t.options.dragendBoard(e),"function"==typeof e.dragendfn&&e.dragendfn(e)})).on("drop",(function(e,n,r,o){e.classList.remove("is-moving"),t.options.dropBoard(e,n,r,o),"function"==typeof e.dropfn&&e.dropfn(e,n,r,o)})),t.drake=t.dragula(t.boardContainer,{moves:function(e,n,r,o){return t.__getCanMove(r)},revertOnSpill:!0}).on("cancel",(function(e,n,r){t.enableAllBoards()})).on("drag",(function(e,n){var r=e.getAttribute("class");if(""!==r&&-1<r.indexOf("not-draggable"))t.drake.cancel(!0);else{e.classList.add("is-moving");var o=a(n.parentNode.dataset.id);void 0!==o.dragTo&&t.options.boards.map((function(e){-1===o.dragTo.indexOf(e.id)&&e.id!==n.parentNode.dataset.id&&t.findBoard(e.id).classList.add("disabled-board")})),t.options.dragEl(e,n),null!==e&&"function"==typeof e.dragfn&&e.dragfn(e,n)}})).on("dragend",(function(e){t.options.dragendEl(e),null!==e&&"function"==typeof e.dragendfn&&e.dragendfn(e)})).on("drop",(function(e,n,r,o){t.enableAllBoards();var i=a(r.parentNode.dataset.id);void 0!==i.dragTo&&-1===i.dragTo.indexOf(n.parentNode.dataset.id)&&n.parentNode.dataset.id!==r.parentNode.dataset.id&&t.drake.cancel(!0),null!==e&&(!1===t.options.dropEl(e,n,r,o)&&t.drake.cancel(!0),e.classList.remove("is-moving"),"function"==typeof e.dropfn&&e.dropfn(e,n,r,o))})))},this.enableAllBoards=function(){var t=document.querySelectorAll(".kanban-board");if(0<t.length&&void 0!==t)for(var e=0;e<t.length;e++)t[e].classList.remove("disabled-board")},this.addElement=function(e,n){var r=t.element.querySelector('[data-id="'+e+'"] .kanban-drag'),i=document.createElement("div");return i.classList.add("kanban-item"),void 0!==n.id&&""!==n.id&&i.setAttribute("data-eid",n.id),n.class&&Array.isArray(n.class)&&n.class.forEach((function(t){i.classList.add(t)})),i.innerHTML=c(n.title),i.clickfn=n.click,i.dragfn=n.drag,i.dragendfn=n.dragend,i.dropfn=n.drop,s(i,n),o(i),t.options.itemHandleOptions.enabled&&(i.style.cursor="default"),r.appendChild(i),t},this.addForm=function(e,n){var r=t.element.querySelector('[data-id="'+e+'"] .kanban-drag'),o=n.getAttribute("class");return n.setAttribute("class",o+" not-draggable"),r.appendChild(n),t},this.addBoards=function(e,n){if(t.options.responsivePercentage)if(t.container.style.width="100%",t.options.gutter="1%",window.innerWidth>t.options.responsive)var r=(100-2*e.length)/e.length;else r=100-2*e.length;else r=t.options.widthBoard;var a=t.options.addItemButton,u=t.options.buttonContent;for(var l in e){var d=e[l];n||t.options.boards.push(d),t.options.responsivePercentage||(""===t.container.style.width?t.container.style.width=parseInt(r)+2*parseInt(t.options.gutter)+"px":t.container.style.width=parseInt(t.container.style.width)+parseInt(r)+2*parseInt(t.options.gutter)+"px");var f=document.createElement("div");f.dataset.id=d.id,f.dataset.order=t.container.childNodes.length+1,f.classList.add("kanban-board"),t.options.responsivePercentage?f.style.width=r+"%":f.style.width=r,f.style.marginLeft=t.options.gutter,f.style.marginRight=t.options.gutter;var h=document.createElement("header");if(""!==d.class&&void 0!==d.class)var p=d.class.split(",");else p=[];if(h.classList.add("kanban-board-header"),p.map((function(t){h.classList.add(t)})),h.innerHTML='<div class="kanban-title-board">'+d.title+"</div>",a){var m=document.createElement("BUTTON"),g=document.createTextNode(u);m.setAttribute("class","kanban-title-button btn btn-default btn-xs"),m.appendChild(g),h.appendChild(m),i(m,d.id)}var v=document.createElement("main");if(v.classList.add("kanban-drag"),""!==d.bodyClass&&void 0!==d.bodyClass)var b=d.bodyClass.split(",");else b=[];for(var y in b.map((function(t){v.classList.add(t)})),t.boardContainer.push(v),d.item){var M=d.item[y],_=document.createElement("div");_.classList.add("kanban-item"),M.id&&(_.dataset.eid=M.id),M.class&&Array.isArray(M.class)&&M.class.forEach((function(t){_.classList.add(t)})),_.innerHTML=c(M.title),_.clickfn=M.click,_.dragfn=M.drag,_.dragendfn=M.dragend,_.dropfn=M.drop,s(_,M),o(_),t.options.itemHandleOptions.enabled&&(_.style.cursor="default"),v.appendChild(_)}var w=document.createElement("footer");f.appendChild(h),f.appendChild(v),f.appendChild(w),t.container.appendChild(f)}return t},this.findBoard=function(e){return t.element.querySelector('[data-id="'+e+'"]')},this.getParentBoardID=function(e){return"string"==typeof e&&(e=t.element.querySelector('[data-eid="'+e+'"]')),null===e?null:e.parentNode.parentNode.dataset.id},this.moveElement=function(t,e,n){if(t!==this.getParentBoardID(e))return this.removeElement(e),this.addElement(t,n)},this.replaceElement=function(e,n){var r=e;return"string"==typeof r&&(r=t.element.querySelector('[data-eid="'+e+'"]')),r.innerHTML=n.title,r.clickfn=n.click,r.dragfn=n.drag,r.dragendfn=n.dragend,r.dropfn=n.drop,s(r,n),t},this.findElement=function(e){return t.element.querySelector('[data-eid="'+e+'"]')},this.getBoardElements=function(e){return t.element.querySelector('[data-id="'+e+'"] .kanban-drag').childNodes},this.removeElement=function(e){return"string"==typeof e&&(e=t.element.querySelector('[data-eid="'+e+'"]')),null!==e&&("function"==typeof e.remove?e.remove():e.parentNode.removeChild(e)),t},this.removeBoard=function(e){var n=null;"string"==typeof e&&(n=t.element.querySelector('[data-id="'+e+'"]')),null!==n&&("function"==typeof n.remove?n.remove():n.parentNode.removeChild(n));for(var r=0;r<t.options.boards.length;r++)if(t.options.boards[r].id===e){t.options.boards.splice(r,1);break}return t},this.onButtonClick=function(t){},this.init()}}()},{dragula:9}],2:[function(t,e,n){e.exports=function(t,e){return Array.prototype.slice.call(t,e)}},{}],3:[function(t,e,n){"use strict";var r=t("ticky");e.exports=function(t,e,n){t&&r((function(){t.apply(n||null,e||[])}))}},{ticky:11}],4:[function(t,e,n){"use strict";var r=t("atoa"),o=t("./debounce");e.exports=function(t,e){var n=e||{},i={};return void 0===t&&(t={}),t.on=function(e,n){return i[e]?i[e].push(n):i[e]=[n],t},t.once=function(e,n){return n._once=!0,t.on(e,n),t},t.off=function(e,n){var r=arguments.length;if(1===r)delete i[e];else if(0===r)i={};else{var o=i[e];if(!o)return t;o.splice(o.indexOf(n),1)}return t},t.emit=function(){var e=r(arguments);return t.emitterSnapshot(e.shift()).apply(this,e)},t.emitterSnapshot=function(e){var a=(i[e]||[]).slice(0);return function(){var i=r(arguments),s=this||t;if("error"===e&&!1!==n.throws&&!a.length)throw 1===i.length?i[0]:i;return a.forEach((function(r){n.async?o(r,i,s):r.apply(s,i),r._once&&t.off(e,r)})),t}},t}},{"./debounce":3,atoa:2}],5:[function(e,n,r){(function(t){"use strict";var r=e("custom-event"),o=e("./eventmap"),i=t.document,a=function(t,e,n,r){return t.addEventListener(e,n,r)},s=function(t,e,n,r){return t.removeEventListener(e,n,r)},c=[];function u(t,e,n){var r=function(t,e,n){var r,o;for(r=0;r<c.length;r++)if((o=c[r]).element===t&&o.type===e&&o.fn===n)return r}(t,e,n);if(r){var o=c[r].wrapper;return c.splice(r,1),o}}t.addEventListener||(a=function(e,n,r){return e.attachEvent("on"+n,function(e,n,r){var o=u(e,n,r)||function(e,n,r){return function(n){var o=n||t.event;o.target=o.target||o.srcElement,o.preventDefault=o.preventDefault||function(){o.returnValue=!1},o.stopPropagation=o.stopPropagation||function(){o.cancelBubble=!0},o.which=o.which||o.keyCode,r.call(e,o)}}(e,0,r);return c.push({wrapper:o,element:e,type:n,fn:r}),o}(e,n,r))},s=function(t,e,n){var r=u(t,e,n);if(r)return t.detachEvent("on"+e,r)}),n.exports={add:a,remove:s,fabricate:function(t,e,n){var a=-1===o.indexOf(e)?new r(e,{detail:n}):function(){var t;return i.createEvent?(t=i.createEvent("Event")).initEvent(e,!0,!0):i.createEventObject&&(t=i.createEventObject()),t}();t.dispatchEvent?t.dispatchEvent(a):t.fireEvent("on"+e,a)}}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./eventmap":6,"custom-event":7}],6:[function(e,n,r){(function(t){"use strict";var e=[],r="",o=/^on/;for(r in t)o.test(r)&&e.push(r.slice(2));n.exports=e}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],7:[function(e,n,r){(function(t){var e=t.CustomEvent;n.exports=function(){try{var t=new e("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?e:"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],8:[function(t,e,n){"use strict";var r={};function o(t){var e=r[t];return e?e.lastIndex=0:r[t]=e=new RegExp("(?:^|\\s)"+t+"(?:\\s|$)","g"),e}e.exports={add:function(t,e){var n=t.className;n.length?o(e).test(n)||(t.className+=" "+e):t.className=e},rm:function(t,e){t.className=t.className.replace(o(e)," ").trim()}}},{}],9:[function(e,n,r){(function(t){"use strict";var r=e("contra/emitter"),o=e("crossvent"),i=e("./classes"),a=document,s=a.documentElement;function c(e,n,r,i){t.navigator.pointerEnabled?o[n](e,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[r],i):t.navigator.msPointerEnabled?o[n](e,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[r],i):(o[n](e,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[r],i),o[n](e,r,i))}function u(t){if(void 0!==t.touches)return t.touches.length;if(void 0!==t.which&&0!==t.which)return t.which;if(void 0!==t.buttons)return t.buttons;var e=t.button;return void 0!==e?1&e?1:2&e?3:4&e?2:0:void 0}function l(e,n){return void 0!==t[n]?t[n]:s.clientHeight?s[e]:a.body[e]}function d(t,e,n){var r,o=t||{},i=o.className;return o.className+=" gu-hide",r=a.elementFromPoint(e,n),o.className=i,r}function f(){return!1}function h(){return!0}function p(t){return t.width||t.right-t.left}function m(t){return t.height||t.bottom-t.top}function g(t){return t.parentNode===a?null:t.parentNode}function v(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"SELECT"===t.tagName||function t(e){return!!e&&("false"!==e.contentEditable&&("true"===e.contentEditable||t(g(e))))}(t)}function b(t){return t.nextElementSibling||function(){for(var e=t;(e=e.nextSibling)&&1!==e.nodeType;);return e}()}function y(t,e){var n=function(t){return t.targetTouches&&t.targetTouches.length?t.targetTouches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t}(e),r={pageX:"clientX",pageY:"clientY"};return t in r&&!(t in n)&&r[t]in n&&(t=r[t]),n[t]}n.exports=function(t,e){var n,M,_,w,x,A,L,T,k,S,O;1===arguments.length&&!1===Array.isArray(t)&&(e=t,t=[]);var C,z=null,D=e||{};void 0===D.moves&&(D.moves=h),void 0===D.accepts&&(D.accepts=h),void 0===D.invalid&&(D.invalid=function(){return!1}),void 0===D.containers&&(D.containers=t||[]),void 0===D.isContainer&&(D.isContainer=f),void 0===D.copy&&(D.copy=!1),void 0===D.copySortSource&&(D.copySortSource=!1),void 0===D.revertOnSpill&&(D.revertOnSpill=!1),void 0===D.removeOnSpill&&(D.removeOnSpill=!1),void 0===D.direction&&(D.direction="vertical"),void 0===D.ignoreInputTextSelection&&(D.ignoreInputTextSelection=!0),void 0===D.mirrorContainer&&(D.mirrorContainer=a.body);var E=r({containers:D.containers,start:function(t){var e=q(t);e&&I(e)},end:j,cancel:G,remove:V,destroy:function(){B(!0),F({})},canMove:function(t){return!!q(t)},dragging:!1});return!0===D.removeOnSpill&&E.on("over",(function(t){i.rm(t,"gu-hide")})).on("out",(function(t){E.dragging&&i.add(t,"gu-hide")})),B(),E;function N(t){return-1!==E.containers.indexOf(t)||D.isContainer(t)}function B(t){var e=t?"remove":"add";c(s,e,"mousedown",W),c(s,e,"mouseup",F)}function P(t){c(s,t?"remove":"add","mousemove",H)}function R(t){var e=t?"remove":"add";o[e](s,"selectstart",Y),o[e](s,"click",Y)}function Y(t){C&&t.preventDefault()}function W(t){if(A=t.clientX,L=t.clientY,1===u(t)&&!t.metaKey&&!t.ctrlKey){var e=t.target,n=q(e);n&&(C=n,P(),"mousedown"===t.type&&(v(e)?e.focus():t.preventDefault()))}}function H(t){if(C)if(0!==u(t)){if(void 0===t.clientX||t.clientX!==A||void 0===t.clientY||t.clientY!==L){if(D.ignoreInputTextSelection){var e=y("clientX",t),r=y("clientY",t);if(v(a.elementFromPoint(e,r)))return}var o=C;P(!0),R(),j(),I(o);var d=function(t){var e=t.getBoundingClientRect();return{left:e.left+l("scrollLeft","pageXOffset"),top:e.top+l("scrollTop","pageYOffset")}}(_);w=y("pageX",t)-d.left,x=y("pageY",t)-d.top,i.add(S||_,"gu-transit"),function(){if(!n){var t=_.getBoundingClientRect();(n=_.cloneNode(!0)).style.width=p(t)+"px",n.style.height=m(t)+"px",i.rm(n,"gu-transit"),i.add(n,"gu-mirror"),D.mirrorContainer.appendChild(n),c(s,"add","mousemove",Q),i.add(D.mirrorContainer,"gu-unselectable"),E.emit("cloned",n,_,"mirror")}}(),Q(t)}}else F({})}function q(t){if(!(E.dragging&&n||N(t))){for(var e=t;g(t)&&!1===N(g(t));){if(D.invalid(t,e))return;if(!(t=g(t)))return}var r=g(t);if(r&&!D.invalid(t,e)&&D.moves(t,r,e,b(t)))return{item:t,source:r}}}function I(t){!function(t,e){return"boolean"==typeof D.copy?D.copy:D.copy(t,e)}(t.item,t.source)||(S=t.item.cloneNode(!0),E.emit("cloned",S,t.item,"copy")),M=t.source,_=t.item,T=k=b(t.item),E.dragging=!0,E.emit("drag",_,M)}function j(){if(E.dragging){var t=S||_;U(t,g(t))}}function X(){P(!(C=!1)),R(!0)}function F(t){if(X(),E.dragging){var e=S||_,r=y("clientX",t),o=y("clientY",t),i=J(d(n,r,o),r,o);i&&(S&&D.copySortSource||!S||i!==M)?U(e,i):D.removeOnSpill?V():G()}}function U(t,e){var n=g(t);S&&D.copySortSource&&e===M&&n.removeChild(_),K(e)?E.emit("cancel",t,M,M):E.emit("drop",t,e,M,k),$()}function V(){if(E.dragging){var t=S||_,e=g(t);e&&e.removeChild(t),E.emit(S?"cancel":"remove",t,e,M),$()}}function G(t){if(E.dragging){var e=0<arguments.length?t:D.revertOnSpill,n=S||_,r=g(n),o=K(r);!1===o&&e&&(S?r&&r.removeChild(S):M.insertBefore(n,T)),o||e?E.emit("cancel",n,M,M):E.emit("drop",n,r,M,k),$()}}function $(){var t=S||_;X(),n&&(i.rm(D.mirrorContainer,"gu-unselectable"),c(s,"remove","mousemove",Q),g(n).removeChild(n),n=null),t&&i.rm(t,"gu-transit"),O&&clearTimeout(O),E.dragging=!1,z&&E.emit("out",t,z,M),E.emit("dragend",t),M=_=S=T=k=O=z=null}function K(t,e){var r;return r=void 0!==e?e:n?k:b(S||_),t===M&&r===T}function J(t,e,n){for(var r=t;r&&!o();)r=g(r);return r;function o(){if(!1===N(r))return!1;var o=Z(r,t),i=tt(r,o,e,n);return!!K(r,i)||D.accepts(_,r,M,i)}}function Q(t){if(n){t.preventDefault();var e=y("clientX",t),r=y("clientY",t),o=e-w,i=r-x;n.style.left=o+"px",n.style.top=i+"px";var a=S||_,s=d(n,e,r),c=J(s,e,r),u=null!==c&&c!==z;!u&&null!==c||(z&&p("out"),z=c,u&&p("over"));var l=g(a);if(c!==M||!S||D.copySortSource){var f,h=Z(c,s);if(null!==h)f=tt(c,h,e,r);else{if(!0!==D.revertOnSpill||S)return void(S&&l&&l.removeChild(a));f=T,c=M}(null===f&&u||f!==a&&f!==b(a))&&(k=f,c.insertBefore(a,f),E.emit("shadow",a,c,M))}else l&&l.removeChild(a)}function p(t){E.emit(t,a,z,M)}}function Z(t,e){for(var n=e;n!==t&&g(n)!==t;)n=g(n);return n===s?null:n}function tt(t,e,n,r){var o="horizontal"===D.direction;return e!==t?function(){var t=e.getBoundingClientRect();return i(o?n>t.left+p(t)/2:r>t.top+m(t)/2)}():function(){var e,i,a,s=t.children.length;for(e=0;e<s;e++){if(a=(i=t.children[e]).getBoundingClientRect(),o&&a.left+a.width/2>n)return i;if(!o&&a.top+a.height/2>r)return i}return null}();function i(t){return t?b(e):e}}}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./classes":8,"contra/emitter":4,crossvent:5}],10:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var u,l=[],d=!1,f=-1;function h(){d&&u&&(d=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!d){var t=c(h);d=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new m(t,e)),1!==l.length||d||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],11:[function(t,e,n){(function(t){var n;n="function"==typeof t?function(e){t(e)}:function(t){setTimeout(t,0)},e.exports=n}).call(this,t("timers").setImmediate)},{timers:12}],12:[function(t,e,n){(function(e,r){var o=t("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=c++,r=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,o((function(){s[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":10,timers:12}]},{},[1])}).call(this,n(2))},function(t,e,n){(function(e){!function(n){"use strict";var r=function(){},o=function(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t(e.apply(null,n))}},i=function(t){return function(){return t}},a=function(t){return t};function s(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.concat(n);return t.apply(null,o)}}var c=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return!t.apply(null,e)}},u=i(!1),l=i(!0),d=function(){return f},f=function(){var t=function(t){return t.isNone()},e=function(t){return t()},n=function(t){return t},o={fold:function(t,e){return t()},is:u,isSome:u,isNone:l,getOr:n,getOrThunk:e,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:n,orThunk:e,map:d,each:r,bind:d,exists:u,forall:l,filter:d,equals:t,equals_:t,toArray:function(){return[]},toString:i("none()")};return Object.freeze&&Object.freeze(o),o}(),h=function(t){var e=i(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:l,isNone:u,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return h(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:f},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(u,(function(e){return n(t,e)}))}};return o},p={some:h,none:d,from:function(t){return null==t?f:h(t)}},m=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},g=m("string"),v=m("object"),b=m("array"),y=m("null"),M=m("boolean"),_=m("function"),w=m("number"),x=Array.prototype.slice,A=Array.prototype.indexOf,L=Array.prototype.push,T=function(t,e){return A.call(t,e)},k=function(t,e){return T(t,e)>-1},S=function(t,e){for(var n=0,r=t.length;n<r;n++){if(e(t[n],n))return!0}return!1},O=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},C=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},z=function(t,e){for(var n=[],r=[],o=0,i=t.length;o<i;o++){var a=t[o];(e(a,o)?n:r).push(a)}return{pass:n,fail:r}},D=function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n},E=function(t,e,n){return function(t,e){for(var n=t.length-1;n>=0;n--){e(t[n],n)}}(t,(function(t){n=e(n,t)})),n},N=function(t,e,n){return C(t,(function(t){n=e(n,t)})),n},B=function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return p.some(o)}return p.none()},P=function(t,e){for(var n=0,r=t.length;n<r;n++){if(e(t[n],n))return p.some(n)}return p.none()},R=function(t,e){return function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!b(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);L.apply(e,t[n])}return e}(O(t,e))},Y=function(t,e){for(var n=0,r=t.length;n<r;++n){if(!0!==e(t[n],n))return!1}return!0},W=function(t,e){return D(t,(function(t){return!k(e,t)}))},H=function(t){return 0===t.length?p.none():p.some(t[0])},q=function(t){return 0===t.length?p.none():p.some(t[t.length-1])},I=_(Array.from)?Array.from:function(t){return x.call(t)},j=function(){return(j=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};var X=function(t){return function(e){return!!e&&e.nodeType===t}},F=X(1),U=function(t){var e=t.map((function(t){return t.toLowerCase()}));return function(t){if(t&&t.nodeName){var n=t.nodeName.toLowerCase();return k(e,n)}return!1}},V=function(t){return function(e){if(F(e)){if(e.contentEditable===t)return!0;if(e.getAttribute("data-mce-contenteditable")===t)return!0}return!1}},G=U(["textarea","input"]),$=X(3),K=X(8),J=X(9),Q=X(11),Z=U(["br"]),tt=V("true"),et=V("false"),nt={isText:$,isElement:F,isComment:K,isDocument:J,isDocumentFragment:Q,isBr:Z,isContentEditableTrue:tt,isContentEditableFalse:et,isRestrictedNode:function(t){return!!t&&!Object.getPrototypeOf(t)},matchNodeNames:U,hasPropValue:function(t,e){return function(n){return F(n)&&n[t]===e}},hasAttribute:function(t,e){return function(e){return F(e)&&e.hasAttribute(t)}},hasAttributeValue:function(t,e){return function(n){return F(n)&&n.getAttribute(t)===e}},matchStyleValues:function(t,e){var n=e.toLowerCase().split(" ");return function(e){var r;if(F(e))for(r=0;r<n.length;r++){var o=e.ownerDocument.defaultView.getComputedStyle(e,null);if((o?o.getPropertyValue(t):null)===n[r])return!0}return!1}},isBogus:function(t){return F(t)&&t.hasAttribute("data-mce-bogus")},isBogusAll:function(t){return F(t)&&"all"===t.getAttribute("data-mce-bogus")},isTable:function(t){return F(t)&&"TABLE"===t.tagName},isTextareaOrInput:G},rt=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return rt(n())}}},ot=function(){return it(0,0)},it=function(t,e){return{major:t,minor:e}},at={nu:it,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?ot():function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.test(e))return r}}(t,e);if(!n)return{major:0,minor:0};var r=function(t){return Number(e.replace(n,"$"+t))};return it(r(1),r(2))}(t,n)},unknown:ot},st=function(t,e){return function(){return e===t}},ct=function(t){var e=t.current;return{current:e,version:t.version,isEdge:st("Edge",e),isChrome:st("Chrome",e),isIE:st("IE",e),isOpera:st("Opera",e),isFirefox:st("Firefox",e),isSafari:st("Safari",e)}},ut={unknown:function(){return ct({current:void 0,version:at.unknown()})},nu:ct,edge:i("Edge"),chrome:i("Chrome"),ie:i("IE"),opera:i("Opera"),firefox:i("Firefox"),safari:i("Safari")},lt=function(t,e){return function(){return e===t}},dt=function(t){var e=t.current;return{current:e,version:t.version,isWindows:lt("Windows",e),isiOS:lt("iOS",e),isAndroid:lt("Android",e),isOSX:lt("OSX",e),isLinux:lt("Linux",e),isSolaris:lt("Solaris",e),isFreeBSD:lt("FreeBSD",e)}},ft={unknown:function(){return dt({current:void 0,version:at.unknown()})},nu:dt,windows:i("Windows"),ios:i("iOS"),android:i("Android"),linux:i("Linux"),osx:i("OSX"),solaris:i("Solaris"),freebsd:i("FreeBSD")},ht=function(t,e){var n=String(e).toLowerCase();return B(t,(function(t){return t.search(n)}))},pt=function(t,e){return ht(t,e).map((function(t){var n=at.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},mt=function(t,e){return ht(t,e).map((function(t){var n=at.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},gt=function(t,e){return-1!==t.indexOf(e)},vt=function(t,e){return function(t,e,n){return""===e||!(t.length<e.length)&&t.substr(n,n+e.length)===e}(t,e,0)},bt=function(t){return t.replace(/^\s+|\s+$/g,"")},yt=function(t){return t.replace(/\s+$/g,"")},Mt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,_t=function(t){return function(e){return gt(e,t)}},wt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return gt(t,"edge/")&>(t,"chrome")&>(t,"safari")&>(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Mt],search:function(t){return gt(t,"chrome")&&!gt(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return gt(t,"msie")||gt(t,"trident")}},{name:"Opera",versionRegexes:[Mt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:_t("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:_t("firefox")},{name:"Safari",versionRegexes:[Mt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(gt(t,"safari")||gt(t,"mobile/"))&>(t,"applewebkit")}}],xt=[{name:"Windows",search:_t("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return gt(t,"iphone")||gt(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:_t("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:_t("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:_t("linux"),versionRegexes:[]},{name:"Solaris",search:_t("sunos"),versionRegexes:[]},{name:"FreeBSD",search:_t("freebsd"),versionRegexes:[]}],At={browsers:i(wt),oses:i(xt)},Lt=function(t,e){var n=At.browsers(),r=At.oses(),o=pt(n,t).fold(ut.unknown,ut.nu),a=mt(r,t).fold(ft.unknown,ft.nu),s=function(t,e,n,r){var o=t.isiOS()&&!0===/ipad/i.test(n),a=t.isiOS()&&!o,s=t.isiOS()||t.isAndroid(),c=s||r("(pointer:coarse)"),u=o||!a&&s&&r("(min-device-width:768px)"),l=a||s&&!u,d=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),f=!l&&!u&&!d;return{isiPad:i(o),isiPhone:i(a),isTablet:i(u),isPhone:i(l),isTouch:i(c),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:i(d),isDesktop:i(f)}}(a,o,t,e);return{browser:o,os:a,deviceType:s}},Tt=rt(Lt(n.navigator.userAgent,(function(t){return n.window.matchMedia(t).matches}))),kt=function(){return Tt.get()},St=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:i(t)}},Ot={fromHtml:function(t,e){var r=(e||n.document).createElement("div");if(r.innerHTML=t,!r.hasChildNodes()||r.childNodes.length>1)throw n.console.error("HTML does not have a single root node",t),new Error("HTML must have a single root node");return St(r.childNodes[0])},fromTag:function(t,e){var r=(e||n.document).createElement(t);return St(r)},fromText:function(t,e){var r=(e||n.document).createTextNode(t);return St(r)},fromDom:St,fromPoint:function(t,e,n){var r=t.dom();return p.from(r.elementFromPoint(e,n)).map(St)}},Ct=(n.Node.ATTRIBUTE_NODE,n.Node.CDATA_SECTION_NODE,n.Node.COMMENT_NODE,n.Node.DOCUMENT_NODE),zt=(n.Node.DOCUMENT_TYPE_NODE,n.Node.DOCUMENT_FRAGMENT_NODE,n.Node.ELEMENT_NODE),Dt=n.Node.TEXT_NODE,Et=(n.Node.PROCESSING_INSTRUCTION_NODE,n.Node.ENTITY_REFERENCE_NODE,n.Node.ENTITY_NODE,n.Node.NOTATION_NODE,void 0!==n.window?n.window:Function("return this;")(),function(t){return t.dom().nodeName.toLowerCase()}),Nt=function(t){return function(e){return function(t){return t.dom().nodeType}(e)===t}},Bt=Nt(zt),Pt=Nt(Dt),Rt=Object.keys,Yt=Object.hasOwnProperty,Wt=function(t,e){for(var n=Rt(t),r=0,o=n.length;r<o;r++){var i=n[r];e(t[i],i)}},Ht=function(t,e){return qt(t,(function(t,n){return{k:n,v:e(t,n)}}))},qt=function(t,e){var n={};return Wt(t,(function(t,r){var o=e(t,r);n[o.k]=o.v})),n},It=function(t,e){var n={},r={};return Wt(t,(function(t,o){(e(t,o)?n:r)[o]=t})),{t:n,f:r}},jt=function(t,e){return Xt(t,e)?p.from(t[e]):p.none()},Xt=function(t,e){return Yt.call(t,e)},Ft=function(t){return void 0!==t.style&&_(t.style.getPropertyValue)},Ut=function(t){var e=Pt(t)?t.dom().parentNode:t.dom();return null!=e&&e.ownerDocument.body.contains(e)},Vt=function(t,e,r){if(!(g(r)||M(r)||w(r)))throw n.console.error("Invalid call to Attr.set. Key ",e,":: Value ",r,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(e,r+"")},Gt=function(t,e,n){Vt(t.dom(),e,n)},$t=function(t,e){var n=t.dom();Wt(e,(function(t,e){Vt(n,e,t)}))},Kt=function(t,e){var n=t.dom().getAttribute(e);return null===n?void 0:n},Jt=function(t,e){t.dom().removeAttribute(e)},Qt=function(t,e){var r=t.dom(),o=n.window.getComputedStyle(r).getPropertyValue(e),i=""!==o||Ut(t)?o:Zt(r,e);return null===i?void 0:i},Zt=function(t,e){return Ft(t)?t.style.getPropertyValue(e):""},te=function(t,e){var n=t.dom(),r=Zt(n,e);return p.from(r).filter((function(t){return t.length>0}))},ee=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t.length!==e.length)throw new Error('Wrong number of arguments to struct. Expected "['+t.length+']", got '+e.length+" arguments");var r={};return C(t,(function(t,n){r[t]=i(e[n])})),r}},ne=function(t,e){var n=[],r=function(t){return n.push(t),e(t)},o=e(t);do{o=o.bind(r)}while(o.isSome());return n},re=function(t,e,n){return 0!=(t.compareDocumentPosition(e)&n)},oe=function(t,e){return re(t,e,n.Node.DOCUMENT_POSITION_CONTAINED_BY)},ie=zt,ae=Ct,se=function(t,e){var n=t.dom();if(n.nodeType!==ie)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},ce=function(t){return t.nodeType!==ie&&t.nodeType!==ae||0===t.childElementCount},ue=function(t,e){return t.dom()===e.dom()},le=kt().browser.isIE()?function(t,e){return oe(t.dom(),e.dom())}:function(t,e){var n=t.dom(),r=e.dom();return n!==r&&n.contains(r)},de=function(t){return Ot.fromDom(t.dom().ownerDocument)},fe=function(t){return Ot.fromDom(t.dom().ownerDocument.defaultView)},he=function(t){return p.from(t.dom().parentNode).map(Ot.fromDom)},pe=function(t){return p.from(t.dom().previousSibling).map(Ot.fromDom)},me=function(t){return p.from(t.dom().nextSibling).map(Ot.fromDom)},ge=function(t){return function(t){var e=x.call(t,0);return e.reverse(),e}(ne(t,pe))},ve=function(t){return ne(t,me)},be=function(t){return O(t.dom().childNodes,Ot.fromDom)},ye=function(t,e){var n=t.dom().childNodes;return p.from(n[e]).map(Ot.fromDom)},Me=function(t){return ye(t,0)},_e=function(t){return ye(t,t.dom().childNodes.length-1)},we=(ee("element","offset"),kt().browser),xe=function(t){return B(t,Bt)},Ae=function(t,e){return t.children&&k(t.children,e)},Le=function(t,e,n){var r,o,i=0,a=0,s=t.ownerDocument;if(n=n||t,e){if(n===t&&e.getBoundingClientRect&&"static"===Qt(Ot.fromDom(t),"position"))return{x:i=(o=e.getBoundingClientRect()).left+(s.documentElement.scrollLeft||t.scrollLeft)-s.documentElement.clientLeft,y:a=o.top+(s.documentElement.scrollTop||t.scrollTop)-s.documentElement.clientTop};for(r=e;r&&r!==n&&r.nodeType&&!Ae(r,n);)i+=r.offsetLeft||0,a+=r.offsetTop||0,r=r.offsetParent;for(r=e.parentNode;r&&r!==n&&r.nodeType&&!Ae(r,n);)i-=r.scrollLeft||0,a-=r.scrollTop||0,r=r.parentNode;a+=function(t){return we.isFirefox()&&"table"===Et(t)?xe(be(t)).filter((function(t){return"caption"===Et(t)})).bind((function(t){return xe(ve(t)).map((function(e){var n=e.dom().offsetTop,r=t.dom().offsetTop,o=t.dom().offsetHeight;return n<=r?-o:0}))})).getOr(0):0}(Ot.fromDom(e))}return{x:i,y:a}},Te={},ke={exports:Te};!function(t,n,r,o){!function(o){if("object"==typeof n&&void 0!==r)r.exports=o();else if("function"==typeof t&&t.amd)t([],o);else{("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).EphoxContactWrapper=o()}}((function(){return function t(e,n,r){function i(s,c){if(!n[s]){if(!e[s]){var u="function"==typeof o&&o;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};e[s][0].call(d.exports,(function(t){return i(e[s][1][t]||t)}),d,d.exports,t,e,n,r)}return n[s].exports}for(var a="function"==typeof o&&o,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var u,l=[],d=!1,f=-1;function h(){d&&u&&(d=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!d){var t=c(h);d=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new m(t,e)),1!==l.length||d||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(t,e,n){(function(t){!function(n){var r=setTimeout;function o(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,r)}else(1===t._state?s:c)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void u(t);if("function"==typeof n)return void d((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var r,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&i._immediateFn((function(){t._handled||i._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,c(e,t))}))}catch(t){if(n)return;n=!0,c(e,t)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new l(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i((function(t,n){if(0===e.length)return t([]);var r=e.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}for(var i=0;i<e.length;i++)o(i,e[i])}))},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))},i.race=function(t){return new i((function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)}))},i._immediateFn="function"==typeof t?function(e){t(e)}:function(t){r(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(this,t("timers").setImmediate)},{timers:3}],3:[function(t,e,n){(function(e,r){var o=t("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=c++,r=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,o((function(){s[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var r=t("promise-polyfill"),o="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))}(void 0,Te,ke,void 0);var Se,Oe=ke.exports.boltExport,Ce=function(t){var e=p.none(),r=[],o=function(t){i()?s(t):r.push(t)},i=function(){return e.isSome()},a=function(t){C(t,s)},s=function(t){e.each((function(e){n.setTimeout((function(){t(e)}),0)}))};return t((function(t){e=p.some(t),a(r),r=[]})),{get:o,map:function(t){return Ce((function(e){o((function(n){e(t(n))}))}))},isReady:i}},ze={nu:Ce,pure:function(t){return Ce((function(e){e(t)}))}},De=function(t){n.setTimeout((function(){throw t}),0)},Ee=function(t){var e=function(e){t().then(e,De)};return{map:function(e){return Ee((function(){return t().then(e)}))},bind:function(e){return Ee((function(){return t().then((function(t){return e(t).toPromise()}))}))},anonBind:function(e){return Ee((function(){return t().then((function(){return e.toPromise()}))}))},toLazy:function(){return ze.nu(e)},toCached:function(){var e=null;return Ee((function(){return null===e&&(e=t()),e}))},toPromise:t,get:e}},Ne=function(t){return Ee((function(){return new Oe(t)}))},Be=function(t,e){return e((function(e){var n=[],r=0;0===t.length?e([]):C(t,(function(o,i){o.get(function(o){return function(i){n[o]=i,++r>=t.length&&e(n)}}(i))}))}))},Pe=function(t){return{is:function(e){return t===e},isValue:l,isError:u,getOr:i(t),getOrThunk:i(t),getOrDie:i(t),or:function(e){return Pe(t)},orThunk:function(e){return Pe(t)},fold:function(e,n){return n(t)},map:function(e){return Pe(e(t))},mapError:function(e){return Pe(t)},each:function(e){e(t)},bind:function(e){return e(t)},exists:function(e){return e(t)},forall:function(e){return e(t)},toOption:function(){return p.some(t)}}},Re=function(t){return{is:u,isValue:u,isError:l,getOr:a,getOrThunk:function(t){return t()},getOrDie:function(){return(e=String(t),function(){throw new Error(e)})();var e},or:function(t){return t},orThunk:function(t){return t()},fold:function(e,n){return e(t)},map:function(e){return Re(t)},mapError:function(e){return Re(e(t))},each:r,bind:function(e){return Re(t)},exists:u,forall:l,toOption:p.none}},Ye={value:Pe,error:Re,fromOption:function(t,e){return t.fold((function(){return Re(e)}),Pe)}},We=window.Promise?window.Promise:function(){function t(t,e){return function(){t.apply(e,arguments)}}var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=function(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(e,t(a,this),t(s,this))},o=r.immediateFn||"function"==typeof n.setImmediate&&n.setImmediate||function(t){n.setTimeout(t,1)};function i(t){var e=this;null!==this._state?o((function(){var n=e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void t.reject(e)}t.resolve(r)}else(e._state?t.resolve:t.reject)(e._value)})):this._deferreds.push(t)}function a(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void l(t(n,e),t(a,this),t(s,this))}this._state=!0,this._value=e,c.call(this)}catch(t){s.call(this,t)}}function s(t){this._state=!1,this._value=t,c.call(this)}function c(){for(var t=0,e=this._deferreds.length;t<e;t++)i.call(this,this._deferreds[t]);this._deferreds=null}function u(t,e,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.resolve=n,this.reject=r}function l(t,e,n){var r=!1;try{t((function(t){r||(r=!0,e(t))}),(function(t){r||(r=!0,n(t))}))}catch(t){if(r)return;r=!0,n(t)}}return r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){var n=this;return new r((function(r,o){i.call(n,new u(t,e,r,o))}))},r.all=function(){var t=Array.prototype.slice.call(1===arguments.length&&e(arguments[0])?arguments[0]:arguments);return new r((function(e,n){if(0===t.length)return e([]);var r=t.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),n)}t[i]=a,0==--r&&e(t)}catch(t){n(t)}}for(var i=0;i<t.length;i++)o(i,t[i])}))},r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===r?t:new r((function(e){e(t)}))},r.reject=function(t){return new r((function(e,n){n(t)}))},r.race=function(t){return new r((function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)}))},r}(),He=function(t,e){return"number"!=typeof e&&(e=0),n.setTimeout(t,e)},qe=function(t,e){return"number"!=typeof e&&(e=1),n.setInterval(t,e)},Ie=function(t,e){var r,o;return(o=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.clearTimeout(r),r=He((function(){t.apply(this,o)}),e)}).stop=function(){n.clearTimeout(r)},o},je={requestAnimationFrame:function(t,e){Se?Se.then(t):Se=new We((function(t){e||(e=n.document.body),function(t,e){var r,o=n.window.requestAnimationFrame,i=["ms","moz","webkit"];for(r=0;r<i.length&&!o;r++)o=n.window[i[r]+"RequestAnimationFrame"];o||(o=function(t){n.window.setTimeout(t,0)}),o(t,e)}(t,e)})).then(t)},setTimeout:He,setInterval:qe,setEditorTimeout:function(t,e,n){return He((function(){t.removed||e()}),n)},setEditorInterval:function(t,e,r){var o;return o=qe((function(){t.removed?n.clearInterval(o):e()}),r)},debounce:Ie,throttle:Ie,clearInterval:function(t){return n.clearInterval(t)},clearTimeout:function(t){return n.clearTimeout(t)}},Xe=n.navigator.userAgent,Fe=kt(),Ue=Fe.browser,Ve=Fe.os,Ge=Fe.deviceType,$e=/WebKit/.test(Xe)&&!Ue.isEdge(),Ke="FormData"in n.window&&"FileReader"in n.window&&"URL"in n.window&&!!n.URL.createObjectURL,Je=-1!==Xe.indexOf("Windows Phone"),Qe={opera:Ue.isOpera(),webkit:$e,ie:!(!Ue.isIE()&&!Ue.isEdge())&&Ue.version.major,gecko:Ue.isFirefox(),mac:Ve.isOSX()||Ve.isiOS(),iOS:Ge.isiPad()||Ge.isiPhone(),android:Ve.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:n.window.getSelection&&"Range"in n.window,documentMode:Ue.isIE()?n.document.documentMode||7:10,fileApi:Ke,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!Ue.isIE(),desktop:Ge.isDesktop(),windowsPhone:Je,browser:{current:Ue.current,version:Ue.version,isChrome:Ue.isChrome,isEdge:Ue.isEdge,isFirefox:Ue.isFirefox,isIE:Ue.isIE,isOpera:Ue.isOpera,isSafari:Ue.isSafari},os:{current:Ve.current,version:Ve.version,isAndroid:Ve.isAndroid,isFreeBSD:Ve.isFreeBSD,isiOS:Ve.isiOS,isLinux:Ve.isLinux,isOSX:Ve.isOSX,isSolaris:Ve.isSolaris,isWindows:Ve.isWindows},deviceType:{isDesktop:Ge.isDesktop,isiPad:Ge.isiPad,isiPhone:Ge.isiPhone,isPhone:Ge.isPhone,isTablet:Ge.isTablet,isTouch:Ge.isTouch,isWebView:Ge.isWebView}},Ze=Array.isArray,tn=function(t,e,n){var r,o;if(!t)return 0;if(n=n||t,void 0!==t.length){for(r=0,o=t.length;r<o;r++)if(!1===e.call(n,t[r],r,t))return 0}else for(r in t)if(t.hasOwnProperty(r)&&!1===e.call(n,t[r],r,t))return 0;return 1},en=function(t,e,n){var r,o;for(r=0,o=t.length;r<o;r++)if(e.call(n,t[r],r,t))return r;return-1},nn={isArray:Ze,toArray:function(t){var e,n,r=t;if(!Ze(t))for(r=[],e=0,n=t.length;e<n;e++)r[e]=t[e];return r},each:tn,map:function(t,e){var n=[];return tn(t,(function(r,o){n.push(e(r,o,t))})),n},filter:function(t,e){var n=[];return tn(t,(function(r,o){e&&!e(r,o,t)||n.push(r)})),n},indexOf:function(t,e){var n,r;if(t)for(n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},reduce:function(t,e,n,r){var o=0;for(arguments.length<3&&(n=t[0]);o<t.length;o++)n=e.call(r,n,t[o],o);return n},findIndex:en,find:function(t,e,n){var r=en(t,e,n);if(-1!==r)return t[r]},last:function(t){return t[t.length-1]}},rn=/^\s*|\s*$/g,on=function(t){return null==t?"":(""+t).replace(rn,"")},an=function(t,e){return e?!("array"!==e||!nn.isArray(t))||typeof t===e:void 0!==t},sn=function(t,e,n,r){r=r||this,t&&(n&&(t=t[n]),nn.each(t,(function(t,o){if(!1===e.call(r,t,o,n))return!1;sn(t,e,n,r)})))},cn={trim:on,isArray:nn.isArray,is:an,toArray:nn.toArray,makeMap:function(t,e,n){var r;for(e=e||",","string"==typeof(t=t||[])&&(t=t.split(e)),n=n||{},r=t.length;r--;)n[t[r]]={};return n},each:nn.each,map:nn.map,grep:nn.filter,inArray:nn.indexOf,hasOwn:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},extend:function(t,e){for(var n,r,o,i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s,c=arguments;for(n=1,r=c.length;n<r;n++)for(o in e=c[n])e.hasOwnProperty(o)&&void 0!==(s=e[o])&&(t[o]=s);return t},create:function(t,e,n){var r,o,i,a,s,c=0;if(t=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(t),i=t[3].match(/(^|\.)(\w+)$/i)[2],!(o=this.createNS(t[3].replace(/\.\w+$/,""),n))[i]){if("static"===t[2])return o[i]=e,void(this.onCreate&&this.onCreate(t[2],t[3],o[i]));e[i]||(e[i]=function(){},c=1),o[i]=e[i],this.extend(o[i].prototype,e),t[5]&&(r=this.resolve(t[5]).prototype,a=t[5].match(/\.(\w+)$/i)[1],s=o[i],o[i]=c?function(){return r[a].apply(this,arguments)}:function(){return this.parent=r[a],s.apply(this,arguments)},o[i].prototype[i]=o[i],this.each(r,(function(t,e){o[i].prototype[e]=r[e]})),this.each(e,(function(t,e){r[e]?o[i].prototype[e]=function(){return this.parent=r[e],t.apply(this,arguments)}:e!==i&&(o[i].prototype[e]=t)}))),this.each(e.static,(function(t,e){o[i][e]=t}))}},walk:sn,createNS:function(t,e){var r,o;for(e=e||n.window,t=t.split("."),r=0;r<t.length;r++)e[o=t[r]]||(e[o]={}),e=e[o];return e},resolve:function(t,e){var r,o;for(e=e||n.window,r=0,o=(t=t.split(".")).length;r<o&&(e=e[t[r]]);r++);return e},explode:function(t,e){return!t||an(t,"array")?t:nn.map(t.split(e||","),on)},_addCacheSuffix:function(t){var e=Qe.cacheSuffix;return e&&(t+=(-1===t.indexOf("?")?"?":"&")+e),t}};function un(t,e){void 0===e&&(e={});var r,s=0,c={};r=e.maxLoadTime||5e3;var u=function(e){t.getElementsByTagName("head")[0].appendChild(e)},l=function(o,i,a){var l,d,f,h,p=function(t){h.status=t,h.passed=[],h.failed=[],l&&(l.onload=null,l.onerror=null,l=null)},m=function(){for(var t=h.passed,e=t.length;e--;)t[e]();p(2)},g=function(){for(var t=h.failed,e=t.length;e--;)t[e]();p(3)},v=function(t,e){t()||((new Date).getTime()-f<r?je.setTimeout(e):g())},b=function(){v((function(){for(var e,n,r=t.styleSheets,o=r.length;o--;)if((n=(e=r[o]).ownerNode?e.ownerNode:e.owningElement)&&n.id===l.id)return m(),!0}),b)},y=function(){v((function(){try{var t=d.sheet.cssRules;return m(),!!t}catch(t){}}),y)};if(o=cn._addCacheSuffix(o),c[o]?h=c[o]:(h={passed:[],failed:[]},c[o]=h),i&&h.passed.push(i),a&&h.failed.push(a),1!==h.status)if(2!==h.status)if(3!==h.status){if(h.status=1,(l=t.createElement("link")).rel="stylesheet",l.type="text/css",l.id="u"+s++,l.async=!1,l.defer=!1,f=(new Date).getTime(),e.contentCssCors&&(l.crossOrigin="anonymous"),e.referrerPolicy&&Gt(Ot.fromDom(l),"referrerpolicy",e.referrerPolicy),!("onload"in l)||(M=n.navigator.userAgent.match(/WebKit\/(\d*)/))&&parseInt(M[1],10)<536){if(n.navigator.userAgent.indexOf("Firefox")>0)return(d=t.createElement("style")).textContent='@import "'+o+'"',y(),void u(d);b()}else l.onload=b,l.onerror=g;var M;u(l),l.href=o}else g();else m()},d=function(t){return Ne((function(e){l(t,o(e,i(Ye.value(t))),o(e,i(Ye.error(t))))}))},f=function(t){return t.fold(a,a)};return{load:l,loadAll:function(t,e,n){var r;(r=O(t,d),Be(r,Ne)).get((function(t){var r=z(t,(function(t){return t.isValue()}));r.fail.length>0?n(r.fail.map(f)):e(r.pass.map(f))}))},_setReferrerPolicy:function(t){e.referrerPolicy=t}}}var ln,dn,fn,hn=function(t){var e;return function(n){return(e=e||function(t,e){for(var n={},r=0,o=t.length;r<o;r++){var i=t[r];n[String(i)]=e(i,r)}return n}(t,i(!0))).hasOwnProperty(Et(n))}},pn=hn(["h1","h2","h3","h4","h5","h6"]),mn=hn(["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"]),gn=function(t){return Bt(t)&&!mn(t)},vn=function(t){return Bt(t)&&"br"===Et(t)},bn=hn(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),yn=hn(["ul","ol","dl"]),Mn=hn(["li","dd","dt"]),_n=hn(["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param","embed","source","wbr","track"]),wn=hn(["thead","tbody","tfoot"]),xn=hn(["td","th"]),An=hn(["pre","script","textarea","style"]),Ln=function(t){return t&&"SPAN"===t.tagName&&"bookmark"===t.getAttribute("data-mce-type")},Tn=function(t,e){var n,r=e.childNodes;if(!nt.isElement(e)||!Ln(e)){for(n=r.length-1;n>=0;n--)Tn(t,r[n]);if(!1===nt.isDocument(e)){if(nt.isText(e)&&e.nodeValue.length>0){var o=cn.trim(e.nodeValue).length;if(t.isBlock(e.parentNode)||o>0)return;if(0===o&&function(t){var e=t.previousSibling&&"SPAN"===t.previousSibling.nodeName,n=t.nextSibling&&"SPAN"===t.nextSibling.nodeName;return e&&n}(e))return}else if(nt.isElement(e)&&(1===(r=e.childNodes).length&&Ln(r[0])&&e.parentNode.insertBefore(r[0],e),r.length||_n(Ot.fromDom(e))))return;t.remove(e)}return e}},kn={trimNode:Tn},Sn=cn.makeMap,On=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cn=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zn=/[<>&\"\']/g,Dn=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,En={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};dn={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},fn={"<":"<",">":">","&":"&",""":'"',"'":"'"};var Nn=function(t,e){var n,r,o,i={};if(t){for(t=t.split(","),e=e||10,n=0;n<t.length;n+=2)r=String.fromCharCode(parseInt(t[n],e)),dn[r]||(o="&"+t[n+1]+";",i[r]=o,i[o]=r);return i}};ln=Nn("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var Bn=function(t,e){return t.replace(e?On:Cn,(function(t){return dn[t]||t}))},Pn=function(t,e){return t.replace(e?On:Cn,(function(t){return t.length>1?"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";":dn[t]||"&#"+t.charCodeAt(0)+";"}))},Rn=function(t,e,n){return n=n||ln,t.replace(e?On:Cn,(function(t){return dn[t]||n[t]||t}))},Yn={encodeRaw:Bn,encodeAllRaw:function(t){return(""+t).replace(zn,(function(t){return dn[t]||t}))},encodeNumeric:Pn,encodeNamed:Rn,getEncodeFunc:function(t,e){var n=Nn(e)||ln,r=Sn(t.replace(/\+/g,","));return r.named&&r.numeric?function(t,e){return t.replace(e?On:Cn,(function(t){return void 0!==dn[t]?dn[t]:void 0!==n[t]?n[t]:t.length>1?"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";":"&#"+t.charCodeAt(0)+";"}))}:r.named?e?function(t,e){return Rn(t,e,n)}:Rn:r.numeric?Pn:Bn},decode:function(t){return t.replace(Dn,(function(t,e){return e?(e="x"===e.charAt(0).toLowerCase()?parseInt(e.substr(1),16):parseInt(e,10))>65535?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):En[e]||String.fromCharCode(e):fn[t]||ln[t]||function(t){var e;return(e=Ot.fromTag("div").dom()).innerHTML=t,e.textContent||e.innerText||t}(t)}))}},Wn={},Hn={},qn=cn.makeMap,In=cn.each,jn=cn.extend,Xn=cn.explode,Fn=cn.inArray,Un=function(t,e){return(t=cn.trim(t))?t.split(e||" "):[]},Vn=function(t,e){var n;return t&&(n={},"string"==typeof t&&(t={"*":t}),In(t,(function(t,r){n[r]=n[r.toUpperCase()]="map"===e?qn(t,/[, ]/):Xn(t,/[, ]/)}))),n};function Gn(t){var e,n,r,o,i,a,s,c,u,l,d,f,h,p={},m={},g=[],v={},b={},y=function(e,n,r){var o=t[e];return o?o=qn(o,/[, ]/,qn(o.toUpperCase(),/[, ]/)):(o=Wn[e])||(o=qn(n," ",qn(n.toUpperCase()," ")),o=jn(o,r),Wn[e]=o),o};r=function(t){var e,n,r,o,i,a,s={},c=function(t,n,r){var o,i,a,c=function(t,e){var n,r,o={};for(n=0,r=t.length;n<r;n++)o[t[n]]=e||{};return o};for(n=n||"","string"==typeof(r=r||[])&&(r=Un(r)),o=(t=Un(t)).length;o--;)a={attributes:c(i=Un([e,n].join(" "))),attributesOrder:i,children:c(r,Hn)},s[t[o]]=a},u=function(t,e){var n,r,o,i;for(n=(t=Un(t)).length,e=Un(e);n--;)for(r=s[t[n]],o=0,i=e.length;o<i;o++)r.attributes[e[o]]={},r.attributesOrder.push(e[o])};return Wn[t]?Wn[t]:(e="id accesskey class dir lang style tabindex title role",n="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",r="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==t&&(e+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",n+=" article aside details dialog figure main header footer hgroup section nav",r+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!==t&&(e+=" xml:lang",r=[r,a="acronym applet basefont big font strike tt"].join(" "),In(Un(a),(function(t){c(t,"",r)})),n=[n,i="center dir isindex noframes"].join(" "),o=[n,r].join(" "),In(Un(i),(function(t){c(t,"",o)}))),o=o||[n,r].join(" "),c("html","manifest","head body"),c("head","","base command link meta noscript script style title"),c("title hr noscript br"),c("base","href target"),c("link","href rel media hreflang type sizes hreflang"),c("meta","name http-equiv content charset"),c("style","media type scoped"),c("script","src async defer type charset"),c("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",o),c("address dt dd div caption","",o),c("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",r),c("blockquote","cite",o),c("ol","reversed start type","li"),c("ul","","li"),c("li","value",o),c("dl","","dt dd"),c("a","href target rel media hreflang type",r),c("q","cite",r),c("ins del","cite datetime",o),c("img","src sizes srcset alt usemap ismap width height"),c("iframe","src name width height",o),c("embed","src type width height"),c("object","data type typemustmatch name usemap form width height",[o,"param"].join(" ")),c("param","name value"),c("map","name",[o,"area"].join(" ")),c("area","alt coords shape href target rel media hreflang type"),c("table","border","caption colgroup thead tfoot tbody tr"+("html4"===t?" col":"")),c("colgroup","span","col"),c("col","span"),c("tbody thead tfoot","","tr"),c("tr","","td th"),c("td","colspan rowspan headers",o),c("th","colspan rowspan headers scope abbr",o),c("form","accept-charset action autocomplete enctype method name novalidate target",o),c("fieldset","disabled form name",[o,"legend"].join(" ")),c("label","form for",r),c("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),c("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===t?o:r),c("select","disabled form multiple name required size","option optgroup"),c("optgroup","disabled label","option"),c("option","disabled label selected value"),c("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),c("menu","type label",[o,"li"].join(" ")),c("noscript","",o),"html4"!==t&&(c("wbr"),c("ruby","",[r,"rt rp"].join(" ")),c("figcaption","",o),c("mark rt rp summary bdi","",r),c("canvas","width height",o),c("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[o,"track source"].join(" ")),c("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[o,"track source"].join(" ")),c("picture","","img source"),c("source","src srcset type media sizes"),c("track","kind src srclang label default"),c("datalist","",[r,"option"].join(" ")),c("article section nav aside main header footer","",o),c("hgroup","","h1 h2 h3 h4 h5 h6"),c("figure","",[o,"figcaption"].join(" ")),c("time","datetime",r),c("dialog","open",o),c("command","type label icon disabled checked radiogroup command"),c("output","for form name",r),c("progress","value max",r),c("meter","value min max low high optimum",r),c("details","open",[o,"summary"].join(" ")),c("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!==t&&(u("script","language xml:space"),u("style","xml:space"),u("object","declare classid code codebase codetype archive standby align border hspace vspace"),u("embed","align name hspace vspace"),u("param","valuetype type"),u("a","charset name rev shape coords"),u("br","clear"),u("applet","codebase archive code object alt name width height align hspace vspace"),u("img","name longdesc align border hspace vspace"),u("iframe","longdesc frameborder marginwidth marginheight scrolling align"),u("font basefont","size color face"),u("input","usemap align"),u("select","onchange"),u("textarea"),u("h1 h2 h3 h4 h5 h6 div p legend caption","align"),u("ul","type compact"),u("li","type"),u("ol dl menu dir","compact"),u("pre","width xml:space"),u("hr","align noshade size width"),u("isindex","prompt"),u("table","summary width frame rules cellspacing cellpadding align bgcolor"),u("col","width align char charoff valign"),u("colgroup","width align char charoff valign"),u("thead","align char charoff valign"),u("tr","align char charoff valign bgcolor"),u("th","axis align char charoff valign nowrap bgcolor width height"),u("form","accept"),u("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),u("tfoot","align char charoff valign"),u("tbody","align char charoff valign"),u("area","nohref"),u("body","background bgcolor text link vlink alink")),"html4"!==t&&(u("input button select textarea","autofocus"),u("input textarea","placeholder"),u("a","download"),u("link script img","crossorigin"),u("iframe","sandbox seamless allowfullscreen")),In(Un("a form meter progress dfn"),(function(t){s[t]&&delete s[t].children[t]})),delete s.caption.children.table,delete s.script,Wn[t]=s,s)}((t=t||{}).schema),!1===t.verify_html&&(t.valid_elements="*[*]"),e=Vn(t.valid_styles),n=Vn(t.invalid_styles,"map"),c=Vn(t.valid_classes,"map"),o=y("whitespace_elements","pre script noscript style textarea video audio iframe object code"),i=y("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),a=y("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),s=y("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),l=y("non_empty_elements","td th iframe video audio object script pre code",a),d=y("move_caret_before_on_enter_elements","table",l),f=y("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),u=y("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",f),h=y("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),In((t.special||"script noscript noframes noembed title style textarea xmp").split(" "),(function(t){b[t]=new RegExp("</"+t+"[^>]*>","gi")}));var M=function(t){return new RegExp("^"+t.replace(/([?+*])/g,".$1")+"$")},_=function(t){var e,n,r,o,i,a,s,c,u,l,d,f,h,m,v,b,y,_,w,x=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,A=/^([!\-])?(\w+[\\:]:\w+|[^=:<]+)?(?:([=:<])(.*))?$/,L=/[*?+]/;if(t)for(t=Un(t,","),p["@"]&&(b=p["@"].attributes,y=p["@"].attributesOrder),e=0,n=t.length;e<n;e++)if(i=x.exec(t[e])){if(m=i[1],u=i[2],v=i[3],c=i[5],a={attributes:f={},attributesOrder:h=[]},"#"===m&&(a.paddEmpty=!0),"-"===m&&(a.removeEmpty=!0),"!"===i[4]&&(a.removeEmptyAttrs=!0),b){for(_ in b)f[_]=b[_];h.push.apply(h,y)}if(c)for(r=0,o=(c=Un(c,"|")).length;r<o;r++)if(i=A.exec(c[r])){if(s={},d=i[1],l=i[2].replace(/[\\:]:/g,":"),m=i[3],w=i[4],"!"===d&&(a.attributesRequired=a.attributesRequired||[],a.attributesRequired.push(l),s.required=!0),"-"===d){delete f[l],h.splice(Fn(h,l),1);continue}m&&("="===m&&(a.attributesDefault=a.attributesDefault||[],a.attributesDefault.push({name:l,value:w}),s.defaultValue=w),":"===m&&(a.attributesForced=a.attributesForced||[],a.attributesForced.push({name:l,value:w}),s.forcedValue=w),"<"===m&&(s.validValues=qn(w,"?"))),L.test(l)?(a.attributePatterns=a.attributePatterns||[],s.pattern=M(l),a.attributePatterns.push(s)):(f[l]||h.push(l),f[l]=s)}b||"@"!==u||(b=f,y=h),v&&(a.outputName=u,p[v]=a),L.test(u)?(a.pattern=M(u),g.push(a)):p[u]=a}},w=function(t){p={},g=[],_(t),In(r,(function(t,e){m[e]=t.children}))},x=function(t){var e=/^(~)?(.+)$/;t&&(Wn.text_block_elements=Wn.block_elements=null,In(Un(t,","),(function(t){var n=e.exec(t),r="~"===n[1],o=r?"span":"div",i=n[2];if(m[i]=m[o],v[i]=o,r||(u[i.toUpperCase()]={},u[i]={}),!p[i]){var a=p[o];delete(a=jn({},a)).removeEmptyAttrs,delete a.removeEmpty,p[i]=a}In(m,(function(t,e){t[o]&&(m[e]=t=jn({},m[e]),t[i]=t[o])}))})))},A=function(e){var n=/^([+\-]?)(\w+)\[([^\]]+)\]$/;Wn[t.schema]=null,e&&In(Un(e,","),(function(t){var e,r,o=n.exec(t);o&&(r=o[1],e=r?m[o[2]]:m[o[2]]={"#comment":{}},e=m[o[2]],In(Un(o[3],"|"),(function(t){"-"===r?delete e[t]:e[t]={}})))}))},L=function(t){var e,n=p[t];if(n)return n;for(e=g.length;e--;)if((n=g[e]).pattern.test(t))return n};t.valid_elements?w(t.valid_elements):(In(r,(function(t,e){p[e]={attributes:t.attributes,attributesOrder:t.attributesOrder},m[e]=t.children})),"html5"!==t.schema&&In(Un("strong/b em/i"),(function(t){t=Un(t,"/"),p[t[1]].outputName=t[0]})),In(Un("ol ul sub sup blockquote span font a table tbody tr strong em b i"),(function(t){p[t]&&(p[t].removeEmpty=!0)})),In(Un("p h1 h2 h3 h4 h5 h6 th td pre div address caption li"),(function(t){p[t].paddEmpty=!0})),In(Un("span"),(function(t){p[t].removeEmptyAttrs=!0}))),x(t.custom_elements),A(t.valid_children),_(t.extended_valid_elements),A("+ol[ul|ol],+ul[ul|ol]"),In({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(function(t,e){p[e]&&(p[e].parentsRequired=Un(t))})),t.invalid_elements&&In(Xn(t.invalid_elements),(function(t){p[t]&&delete p[t]})),L("span")||_("span[!data-mce-type|*]");return{children:m,elements:p,getValidStyles:function(){return e},getValidClasses:function(){return c},getBlockElements:function(){return u},getInvalidStyles:function(){return n},getShortEndedElements:function(){return a},getTextBlockElements:function(){return f},getTextInlineElements:function(){return h},getBoolAttrs:function(){return s},getElementRule:L,getSelfClosingElements:function(){return i},getNonEmptyElements:function(){return l},getMoveCaretBeforeOnEnterElements:function(){return d},getWhiteSpaceElements:function(){return o},getSpecialElements:function(){return b},isValidChild:function(t,e){var n=m[t.toLowerCase()];return!(!n||!n[e.toLowerCase()])},isValid:function(t,e){var n,r,o=L(t);if(o){if(!e)return!0;if(o.attributes[e])return!0;if(n=o.attributePatterns)for(r=n.length;r--;)if(n[r].pattern.test(t))return!0}return!1},getCustomElements:function(){return v},addValidElements:_,setValidElements:w,addCustomElements:x,addValidChildren:A}}var $n,Kn,Jn,Qn,Zn,tr,er,nr,rr,or,ir,ar,sr,cr,ur,lr,dr,fr,hr=function(t,e,n,r){var o=function(t){return(t=parseInt(t,10).toString(16)).length>1?t:"0"+t};return"#"+o(e)+o(n)+o(r)},pr=function(t,e){var n,r,o,i,a=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,s=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,c=/\s*([^:]+):\s*([^;]+);?/g,u=/\s+$/,l={};for(t=t||{},e&&(o=e.getValidStyles(),i=e.getInvalidStyles()),r="\\\" \\' \\; \\: ; : \ufeff".split(" "),n=0;n<r.length;n++)l[r[n]]="\ufeff"+n,l["\ufeff"+n]=r[n];return{toHex:function(t){return t.replace(a,hr)},parse:function(e){var r,o,i,d,f,h,p,m,g={},v=t.url_converter,b=t.url_converter_scope||this,y=function(t,e,r){var o,i,a,s;if((o=g[t+"-top"+e])&&(i=g[t+"-right"+e])&&(a=g[t+"-bottom"+e])&&(s=g[t+"-left"+e])){var c=[o,i,a,s];for(n=c.length-1;n--&&c[n]===c[n+1];);n>-1&&r||(g[t+e]=-1===n?c[0]:c.join(" "),delete g[t+"-top"+e],delete g[t+"-right"+e],delete g[t+"-bottom"+e],delete g[t+"-left"+e])}},M=function(t){var e,n=g[t];if(n){for(e=(n=n.split(" ")).length;e--;)if(n[e]!==n[0])return!1;return g[t]=n[0],!0}},_=function(t){return d=!0,l[t]},w=function(t,e){return d&&(t=t.replace(/\uFEFF[0-9]/g,(function(t){return l[t]}))),e||(t=t.replace(/\\([\'\";:])/g,"$1")),t},x=function(t){return String.fromCharCode(parseInt(t.slice(1),16))},A=function(t){return t.replace(/\\[0-9a-f]+/gi,x)},L=function(e,n,r,o,i,a){if(i=i||a)return"'"+(i=w(i)).replace(/\'/g,"\\'")+"'";if(n=w(n||r||o),!t.allow_script_urls){var s=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(s))return"";if(!t.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return v&&(n=v.call(b,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(e){for(e=(e=e.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,_).replace(/\"[^\"]+\"|\'[^\']+\'/g,(function(t){return t.replace(/[;:]/g,_)}));r=c.exec(e);)if(c.lastIndex=r.index+r[0].length,o=r[1].replace(u,"").toLowerCase(),i=r[2].replace(u,""),o&&i){if(o=A(o),i=A(i),-1!==o.indexOf("\ufeff")||-1!==o.indexOf('"'))continue;if(!t.allow_script_urls&&("behavior"===o||/expression\s*\(|\/\*|\*\//.test(i)))continue;"font-weight"===o&&"700"===i?i="bold":"color"!==o&&"background-color"!==o||(i=i.toLowerCase()),i=(i=i.replace(a,hr)).replace(s,L),g[o]=d?w(i,!0):i}y("border","",!0),y("border","-width"),y("border","-color"),y("border","-style"),y("padding",""),y("margin",""),f="border",p="border-style",m="border-color",M(h="border-width")&&M(p)&&M(m)&&(g[f]=g[h]+" "+g[p]+" "+g[m],delete g[h],delete g[p],delete g[m]),"medium none"===g.border&&delete g.border,"none"===g["border-image"]&&delete g["border-image"]}return g},serialize:function(t,e){var n,r,a="",s=function(e){var n,r,i,s;if(n=o[e])for(r=0,i=n.length;r<i;r++)e=n[r],(s=t[e])&&(a+=(a.length>0?" ":"")+e+": "+s+";")},c=function(t,e){var n;return(!(n=i["*"])||!n[t])&&(!(n=i[e])||!n[t])};if(e&&o)s("*"),s(e);else for(n in t)!(r=t[n])||i&&!c(n,e)||(a+=(a.length>0?" ":"")+n+": "+r+";");return a}}},mr=/^(?:mouse|contextmenu)|click/,gr={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1,keyIdentifier:1,mozPressure:1},vr=function(){return!1},br=function(){return!0},yr=function(t,e,n,r){t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent&&t.attachEvent("on"+e,n)},Mr=function(t,e,n,r){t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent&&t.detachEvent("on"+e,n)},_r=function(t,e){var r,o=e||{};for(r in t)gr[r]||(o[r]=t[r]);if(o.target||(o.target=o.srcElement||n.document),Qe.experimentalShadowDom&&(o.target=function(t,e){if(t.composedPath){var n=t.composedPath();if(n&&n.length>0)return n[0]}return e}(t,o.target)),t&&mr.test(t.type)&&void 0===t.pageX&&void 0!==t.clientX){var i=o.target.ownerDocument||n.document,a=i.documentElement,s=i.body;o.pageX=t.clientX+(a&&a.scrollLeft||s&&s.scrollLeft||0)-(a&&a.clientLeft||s&&s.clientLeft||0),o.pageY=t.clientY+(a&&a.scrollTop||s&&s.scrollTop||0)-(a&&a.clientTop||s&&s.clientTop||0)}return o.preventDefault=function(){o.isDefaultPrevented=br,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},o.stopPropagation=function(){o.isPropagationStopped=br,t&&(t.stopPropagation?t.stopPropagation():t.cancelBubble=!0)},o.stopImmediatePropagation=function(){o.isImmediatePropagationStopped=br,o.stopPropagation()},!1===function(t){return t.isDefaultPrevented===br||t.isDefaultPrevented===vr}(o)&&(o.isDefaultPrevented=vr,o.isPropagationStopped=vr,o.isImmediatePropagationStopped=vr),void 0===o.metaKey&&(o.metaKey=!1),o},wr=function(t,e,n){var r=t.document,o={type:"ready"};if(n.domLoaded)e(o);else{var i=function(){Mr(t,"DOMContentLoaded",i),Mr(t,"load",i),n.domLoaded||(n.domLoaded=!0,e(o))};"complete"===r.readyState||"interactive"===r.readyState&&r.body?i():yr(t,"DOMContentLoaded",i),yr(t,"load",i)}},xr=function(){function t(){this.domLoaded=!1,this.events={},this.count=1,this.expando="mce-data-"+(+new Date).toString(32),this.hasMouseEnterLeave="onmouseenter"in n.document.documentElement,this.hasFocusIn="onfocusin"in n.document.documentElement,this.count=1}return t.prototype.bind=function(t,e,r,o){var i,a,s,c,u,l,d,f=this,h=n.window,p=function(t){f.executeHandlers(_r(t||h.event),i)};if(t&&3!==t.nodeType&&8!==t.nodeType){t[f.expando]?i=t[f.expando]:(i=f.count++,t[f.expando]=i,f.events[i]={}),o=o||t;var m=e.split(" ");for(s=m.length;s--;)l=p,u=d=!1,"DOMContentLoaded"===(c=m[s])&&(c="ready"),f.domLoaded&&"ready"===c&&"complete"===t.readyState?r.call(o,_r({type:c})):(f.hasMouseEnterLeave||(u=f.mouseEnterLeave[c])&&(l=function(t){var e,n;if(e=t.currentTarget,(n=t.relatedTarget)&&e.contains)n=e.contains(n);else for(;n&&n!==e;)n=n.parentNode;n||((t=_r(t||h.event)).type="mouseout"===t.type?"mouseleave":"mouseenter",t.target=e,f.executeHandlers(t,i))}),f.hasFocusIn||"focusin"!==c&&"focusout"!==c||(d=!0,u="focusin"===c?"focus":"blur",l=function(t){(t=_r(t||h.event)).type="focus"===t.type?"focusin":"focusout",f.executeHandlers(t,i)}),(a=f.events[i][c])?"ready"===c&&f.domLoaded?r(_r({type:c})):a.push({func:r,scope:o}):(f.events[i][c]=a=[{func:r,scope:o}],a.fakeName=u,a.capture=d,a.nativeHandler=l,"ready"===c?wr(t,l,f):yr(t,u||c,l,d)));return t=a=0,r}},t.prototype.unbind=function(t,e,n){var r,o,i,a,s,c;if(!t||3===t.nodeType||8===t.nodeType)return this;if(r=t[this.expando]){if(c=this.events[r],e){var u=e.split(" ");for(i=u.length;i--;)if(o=c[s=u[i]]){if(n)for(a=o.length;a--;)if(o[a].func===n){var l=o.nativeHandler,d=o.fakeName,f=o.capture;(o=o.slice(0,a).concat(o.slice(a+1))).nativeHandler=l,o.fakeName=d,o.capture=f,c[s]=o}n&&0!==o.length||(delete c[s],Mr(t,o.fakeName||s,o.nativeHandler,o.capture))}}else{for(s in c)o=c[s],Mr(t,o.fakeName||s,o.nativeHandler,o.capture);c={}}for(s in c)return this;delete this.events[r];try{delete t[this.expando]}catch(e){t[this.expando]=null}}return this},t.prototype.fire=function(t,e,n){var r;if(!t||3===t.nodeType||8===t.nodeType)return this;var o=_r(null,n);o.type=e,o.target=t;do{(r=t[this.expando])&&this.executeHandlers(o,r),t=t.parentNode||t.ownerDocument||t.defaultView||t.parentWindow}while(t&&!o.isPropagationStopped());return this},t.prototype.clean=function(t){var e,n;if(!t||3===t.nodeType||8===t.nodeType)return this;if(t[this.expando]&&this.unbind(t),t.getElementsByTagName||(t=t.document),t&&t.getElementsByTagName)for(this.unbind(t),e=(n=t.getElementsByTagName("*")).length;e--;)(t=n[e])[this.expando]&&this.unbind(t);return this},t.prototype.destroy=function(){this.events={}},t.prototype.cancel=function(t){return t&&(t.preventDefault(),t.stopImmediatePropagation()),!1},t.prototype.executeHandlers=function(t,e){var n,r,o,i,a=this.events[e];if(n=a&&a[t.type])for(r=0,o=n.length;r<o;r++)if((i=n[r])&&!1===i.func.call(i.scope,t)&&t.preventDefault(),t.isImmediatePropagationStopped())return},t.Event=new t,t}(),Ar="sizzle"+-new Date,Lr=n.window.document,Tr=0,kr=0,Sr=io(),Or=io(),Cr=io(),zr=function(t,e){return t===e&&(ir=!0),0},Dr={}.hasOwnProperty,Er=[],Nr=Er.pop,Br=Er.push,Pr=Er.push,Rr=Er.slice,Yr=Er.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},Wr="[\\x20\\t\\r\\n\\f]",Hr="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",qr="\\["+Wr+"*("+Hr+")(?:"+Wr+"*([*^$|!~]?=)"+Wr+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Hr+"))|)"+Wr+"*\\]",Ir=":("+Hr+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+qr+")*)|.*)\\)|)",jr=new RegExp("^"+Wr+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Wr+"+$","g"),Xr=new RegExp("^"+Wr+"*,"+Wr+"*"),Fr=new RegExp("^"+Wr+"*([>+~]|"+Wr+")"+Wr+"*"),Ur=new RegExp("="+Wr+"*([^\\]'\"]*?)"+Wr+"*\\]","g"),Vr=new RegExp(Ir),Gr=new RegExp("^"+Hr+"$"),$r={ID:new RegExp("^#("+Hr+")"),CLASS:new RegExp("^\\.("+Hr+")"),TAG:new RegExp("^("+Hr+"|[*])"),ATTR:new RegExp("^"+qr),PSEUDO:new RegExp("^"+Ir),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Wr+"*(even|odd|(([+-]|)(\\d*)n|)"+Wr+"*(?:([+-]|)"+Wr+"*(\\d+)|))"+Wr+"*\\)|)","i"),bool:new RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:new RegExp("^"+Wr+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Wr+"*((?:-\\d)?\\d*)"+Wr+"*\\)|)(?=[^-]|$)","i")},Kr=/^(?:input|select|textarea|button)$/i,Jr=/^h\d$/i,Qr=/^[^{]+\{\s*\[native \w/,Zr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,to=/[+~]/,eo=/'|\\/g,no=new RegExp("\\\\([\\da-f]{1,6}"+Wr+"?|("+Wr+")|.)","ig"),ro=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Pr.apply(Er=Rr.call(Lr.childNodes),Lr.childNodes),Er[Lr.childNodes.length].nodeType}catch(t){Pr={apply:Er.length?function(t,e){Br.apply(t,Rr.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}var oo=function(t,e,n,r){var o,i,a,s,c,u,l,d,f,h;if((e?e.ownerDocument||e:Lr)!==sr&&ar(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=(e=e||sr).nodeType)&&9!==s)return[];if(ur&&!r){if(o=Zr.exec(t))if(a=o[1]){if(9===s){if(!(i=e.getElementById(a))||!i.parentNode)return n;if(i.id===a)return n.push(i),n}else if(e.ownerDocument&&(i=e.ownerDocument.getElementById(a))&&fr(e,i)&&i.id===a)return n.push(i),n}else{if(o[2])return Pr.apply(n,e.getElementsByTagName(t)),n;if((a=o[3])&&Kn.getElementsByClassName)return Pr.apply(n,e.getElementsByClassName(a)),n}if(Kn.qsa&&(!lr||!lr.test(t))){if(d=l=Ar,f=e,h=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=tr(t),(l=e.getAttribute("id"))?d=l.replace(eo,"\\$&"):e.setAttribute("id",d),d="[id='"+d+"'] ",c=u.length;c--;)u[c]=d+po(u[c]);f=to.test(t)&&fo(e.parentNode)||e,h=u.join(",")}if(h)try{return Pr.apply(n,f.querySelectorAll(h)),n}catch(t){}finally{l||e.removeAttribute("id")}}}return nr(t.replace(jr,"$1"),e,n,r)};function io(){var t=[];return function e(n,r){return t.push(n+" ")>Jn.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ao(t){return t[Ar]=!0,t}function so(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function co(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function uo(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function lo(t){return ao((function(e){return e=+e,ao((function(n,r){for(var o,i=t([],n.length,e),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function fo(t){return t&&void 0!==t.getElementsByTagName&&t}for($n in Kn=oo.support={},Zn=oo.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},ar=oo.setDocument=function(t){var e,n=t?t.ownerDocument||t:Lr,r=n.defaultView;return n!==sr&&9===n.nodeType&&n.documentElement?(sr=n,cr=n.documentElement,ur=!Zn(n),r&&r!==function(t){try{return t.top}catch(t){}return null}(r)&&(r.addEventListener?r.addEventListener("unload",(function(){ar()}),!1):r.attachEvent&&r.attachEvent("onunload",(function(){ar()}))),Kn.attributes=!0,Kn.getElementsByTagName=!0,Kn.getElementsByClassName=Qr.test(n.getElementsByClassName),Kn.getById=!0,Jn.find.ID=function(t,e){if(void 0!==e.getElementById&&ur){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},Jn.filter.ID=function(t){var e=t.replace(no,ro);return function(t){return t.getAttribute("id")===e}},Jn.find.TAG=Kn.getElementsByTagName?function(t,e){if(void 0!==e.getElementsByTagName)return e.getElementsByTagName(t)}:function(t,e){var n,r=[],o=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},Jn.find.CLASS=Kn.getElementsByClassName&&function(t,e){if(ur)return e.getElementsByClassName(t)},dr=[],lr=[],Kn.disconnectedMatch=!0,lr=lr.length&&new RegExp(lr.join("|")),dr=dr.length&&new RegExp(dr.join("|")),e=Qr.test(cr.compareDocumentPosition),fr=e||Qr.test(cr.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},zr=e?function(t,e){if(t===e)return ir=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!Kn.sortDetached&&e.compareDocumentPosition(t)===r?t===n||t.ownerDocument===Lr&&fr(Lr,t)?-1:e===n||e.ownerDocument===Lr&&fr(Lr,e)?1:or?Yr.call(or,t)-Yr.call(or,e):0:4&r?-1:1)}:function(t,e){if(t===e)return ir=!0,0;var r,o=0,i=t.parentNode,a=e.parentNode,s=[t],c=[e];if(!i||!a)return t===n?-1:e===n?1:i?-1:a?1:or?Yr.call(or,t)-Yr.call(or,e):0;if(i===a)return so(t,e);for(r=t;r=r.parentNode;)s.unshift(r);for(r=e;r=r.parentNode;)c.unshift(r);for(;s[o]===c[o];)o++;return o?so(s[o],c[o]):s[o]===Lr?-1:c[o]===Lr?1:0},n):sr},oo.matches=function(t,e){return oo(t,null,null,e)},oo.matchesSelector=function(t,e){if((t.ownerDocument||t)!==sr&&ar(t),e=e.replace(Ur,"='$1']"),Kn.matchesSelector&&ur&&(!dr||!dr.test(e))&&(!lr||!lr.test(e)))try{var n=(void 0).call(t,e);if(n||Kn.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return oo(e,sr,null,[t]).length>0},oo.contains=function(t,e){return(t.ownerDocument||t)!==sr&&ar(t),fr(t,e)},oo.attr=function(t,e){(t.ownerDocument||t)!==sr&&ar(t);var n=Jn.attrHandle[e.toLowerCase()],r=n&&Dr.call(Jn.attrHandle,e.toLowerCase())?n(t,e,!ur):void 0;return void 0!==r?r:Kn.attributes||!ur?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},oo.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},oo.uniqueSort=function(t){var e,n=[],r=0,o=0;if(ir=!Kn.detectDuplicates,or=!Kn.sortStable&&t.slice(0),t.sort(zr),ir){for(;e=t[o++];)e===t[o]&&(r=n.push(o));for(;r--;)t.splice(n[r],1)}return or=null,t},Qn=oo.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=Qn(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=Qn(e);return n},(Jn=oo.selectors={cacheLength:50,createPseudo:ao,match:$r,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(no,ro),t[3]=(t[3]||t[4]||t[5]||"").replace(no,ro),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||oo.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&oo.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return $r.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Vr.test(n)&&(e=tr(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(no,ro).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=Sr[t+" "];return e||(e=new RegExp("(^|"+Wr+")"+t+"("+Wr+"|$)"))&&Sr(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var o=oo.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,o){var i="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===o?function(t){return!!t.parentNode}:function(e,n,c){var u,l,d,f,h,p,m=i!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),b=!c&&!s;if(g){if(i){for(;m;){for(d=e;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&b){for(h=(u=(l=g[Ar]||(g[Ar]={}))[t]||[])[0]===Tr&&u[1],f=u[0]===Tr&&u[2],d=h&&g.childNodes[h];d=++h&&d&&d[m]||(f=h=0)||p.pop();)if(1===d.nodeType&&++f&&d===e){l[t]=[Tr,h,f];break}}else if(b&&(u=(e[Ar]||(e[Ar]={}))[t])&&u[0]===Tr)f=u[1];else for(;(d=++h&&d&&d[m]||(f=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(b&&((d[Ar]||(d[Ar]={}))[t]=[Tr,f]),d!==e)););return(f-=o)===r||f%r==0&&f/r>=0}}},PSEUDO:function(t,e){var n,r=Jn.pseudos[t]||Jn.setFilters[t.toLowerCase()]||oo.error("unsupported pseudo: "+t);return r[Ar]?r(e):r.length>1?(n=[t,t,"",e],Jn.setFilters.hasOwnProperty(t.toLowerCase())?ao((function(t,n){for(var o,i=r(t,e),a=i.length;a--;)t[o=Yr.call(t,i[a])]=!(n[o]=i[a])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ao((function(t){var e=[],n=[],r=er(t.replace(jr,"$1"));return r[Ar]?ao((function(t,e,n,o){for(var i,a=r(t,null,o,[]),s=t.length;s--;)(i=a[s])&&(t[s]=!(e[s]=i))})):function(t,o,i){return e[0]=t,r(e,null,i,n),!n.pop()}})),has:ao((function(t){return function(e){return oo(t,e).length>0}})),contains:ao((function(t){return t=t.replace(no,ro),function(e){return(e.textContent||e.innerText||Qn(e)).indexOf(t)>-1}})),lang:ao((function(t){return Gr.test(t||"")||oo.error("unsupported lang: "+t),t=t.replace(no,ro).toLowerCase(),function(e){var n;do{if(n=ur?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=n.window.location&&n.window.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===cr},focus:function(t){return t===sr.activeElement&&(!sr.hasFocus||sr.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!Jn.pseudos.empty(t)},header:function(t){return Jr.test(t.nodeName)},input:function(t){return Kr.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:lo((function(){return[0]})),last:lo((function(t,e){return[e-1]})),eq:lo((function(t,e,n){return[n<0?n+e:n]})),even:lo((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:lo((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:lo((function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t})),gt:lo((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}}).pseudos.nth=Jn.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})Jn.pseudos[$n]=co($n);for($n in{submit:!0,reset:!0})Jn.pseudos[$n]=uo($n);function ho(){}function po(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function mo(t,e,n){var r=e.dir,o=n&&"parentNode"===r,i=kr++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||o)return t(e,n,i)}:function(e,n,a){var s,c,u=[Tr,i];if(a){for(;e=e[r];)if((1===e.nodeType||o)&&t(e,n,a))return!0}else for(;e=e[r];)if(1===e.nodeType||o){if((s=(c=e[Ar]||(e[Ar]={}))[r])&&s[0]===Tr&&s[1]===i)return u[2]=s[2];if(c[r]=u,u[2]=t(e,n,a))return!0}}}function go(t){return t.length>1?function(e,n,r){for(var o=t.length;o--;)if(!t[o](e,n,r))return!1;return!0}:t[0]}function vo(t,e,n,r,o){for(var i,a=[],s=0,c=t.length,u=null!=e;s<c;s++)(i=t[s])&&(n&&!n(i,r,o)||(a.push(i),u&&e.push(s)));return a}function bo(t,e,n,r,o,i){return r&&!r[Ar]&&(r=bo(r)),o&&!o[Ar]&&(o=bo(o,i)),ao((function(i,a,s,c){var u,l,d,f=[],h=[],p=a.length,m=i||function(t,e,n){for(var r=0,o=e.length;r<o;r++)oo(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),g=!t||!i&&e?m:vo(m,f,t,s,c),v=n?o||(i?t:p||r)?[]:a:g;if(n&&n(g,v,s,c),r)for(u=vo(v,h),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(v[h[l]]=!(g[h[l]]=d));if(i){if(o||t){if(o){for(u=[],l=v.length;l--;)(d=v[l])&&u.push(g[l]=d);o(null,v=[],u,c)}for(l=v.length;l--;)(d=v[l])&&(u=o?Yr.call(i,d):f[l])>-1&&(i[u]=!(a[u]=d))}}else v=vo(v===a?v.splice(p,v.length):v),o?o(null,a,v,c):Pr.apply(a,v)}))}function yo(t){for(var e,n,r,o=t.length,i=Jn.relative[t[0].type],a=i||Jn.relative[" "],s=i?1:0,c=mo((function(t){return t===e}),a,!0),u=mo((function(t){return Yr.call(e,t)>-1}),a,!0),l=[function(t,n,r){return!i&&(r||n!==rr)||((e=n).nodeType?c(t,n,r):u(t,n,r))}];s<o;s++)if(n=Jn.relative[t[s].type])l=[mo(go(l),n)];else{if((n=Jn.filter[t[s].type].apply(null,t[s].matches))[Ar]){for(r=++s;r<o&&!Jn.relative[t[r].type];r++);return bo(s>1&&go(l),s>1&&po(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(jr,"$1"),n,s<r&&yo(t.slice(s,r)),r<o&&yo(t=t.slice(r)),r<o&&po(t))}l.push(n)}return go(l)}ho.prototype=Jn.filters=Jn.pseudos,Jn.setFilters=new ho,tr=oo.tokenize=function(t,e){var n,r,o,i,a,s,c,u=Or[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],c=Jn.preFilter;a;){for(i in n&&!(r=Xr.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(o=[])),n=!1,(r=Fr.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(jr," ")}),a=a.slice(n.length)),Jn.filter)Jn.filter.hasOwnProperty(i)&&(!(r=$r[i].exec(a))||c[i]&&!(r=c[i](r))||(n=r.shift(),o.push({value:n,type:i,matches:r}),a=a.slice(n.length)));if(!n)break}return e?a.length:a?oo.error(t):Or(t,s).slice(0)},er=oo.compile=function(t,e){var n,r=[],o=[],i=Cr[t+" "];if(!i){for(e||(e=tr(t)),n=e.length;n--;)(i=yo(e[n]))[Ar]?r.push(i):o.push(i);(i=Cr(t,function(t,e){var n=e.length>0,r=t.length>0,o=function(o,i,a,s,c){var u,l,d,f=0,h="0",p=o&&[],m=[],g=rr,v=o||r&&Jn.find.TAG("*",c),b=Tr+=null==g?1:Math.random()||.1,y=v.length;for(c&&(rr=i!==sr&&i);h!==y&&null!=(u=v[h]);h++){if(r&&u){for(l=0;d=t[l++];)if(d(u,i,a)){s.push(u);break}c&&(Tr=b)}n&&((u=!d&&u)&&f--,o&&p.push(u))}if(f+=h,n&&h!==f){for(l=0;d=e[l++];)d(p,m,i,a);if(o){if(f>0)for(;h--;)p[h]||m[h]||(m[h]=Nr.call(s));m=vo(m)}Pr.apply(s,m),c&&!o&&m.length>0&&f+e.length>1&&oo.uniqueSort(s)}return c&&(Tr=b,rr=g),p};return n?ao(o):o}(o,r))).selector=t}return i},nr=oo.select=function(t,e,n,r){var o,i,a,s,c,u="function"==typeof t&&t,l=!r&&tr(t=u.selector||t);if(n=n||[],1===l.length){if((i=l[0]=l[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&Kn.getById&&9===e.nodeType&&ur&&Jn.relative[i[1].type]){if(!(e=(Jn.find.ID(a.matches[0].replace(no,ro),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(i.shift().value.length)}for(o=$r.needsContext.test(t)?0:i.length;o--&&(a=i[o],!Jn.relative[s=a.type]);)if((c=Jn.find[s])&&(r=c(a.matches[0].replace(no,ro),to.test(i[0].type)&&fo(e.parentNode)||e))){if(i.splice(o,1),!(t=r.length&&po(i)))return Pr.apply(n,r),n;break}}return(u||er(t,l))(r,e,!ur,n,to.test(t)&&fo(e.parentNode)||e),n},Kn.sortStable=Ar.split("").sort(zr).join("")===Ar,Kn.detectDuplicates=!!ir,ar(),Kn.sortDetached=!0;var Mo=n.document,_o=Array.prototype.push,wo=Array.prototype.slice,xo=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Ao=xr.Event,Lo=cn.makeMap("children,contents,next,prev"),To=function(t){return void 0!==t},ko=function(t){return"string"==typeof t},So=function(t,e){var n,r,o;for(o=(e=e||Mo).createElement("div"),n=e.createDocumentFragment(),o.innerHTML=t;r=o.firstChild;)n.appendChild(r);return n},Oo=function(t,e,n,r){var o;if(ko(e))e=So(e,jo(t[0]));else if(e.length&&!e.nodeType){if(e=Vo.makeArray(e),r)for(o=e.length-1;o>=0;o--)Oo(t,e[o],n,r);else for(o=0;o<e.length;o++)Oo(t,e[o],n,r);return t}if(e.nodeType)for(o=t.length;o--;)n.call(t[o],e);return t},Co=function(t,e){return t&&e&&-1!==(" "+t.className+" ").indexOf(" "+e+" ")},zo=function(t,e,n){var r,o;return e=Vo(e)[0],t.each((function(){n&&r===this.parentNode||(r=this.parentNode,o=e.cloneNode(!1),this.parentNode.insertBefore(o,this)),o.appendChild(this)})),t},Do=cn.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),Eo=cn.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),No={for:"htmlFor",class:"className",readonly:"readOnly"},Bo={float:"cssFloat"},Po={},Ro={},Yo=function(t,e){return new Vo.fn.init(t,e)},Wo=/^\s*|\s*$/g,Ho=function(t){return null==t?"":(""+t).replace(Wo,"")},qo=function(t,e){var n,r,o,i;if(t)if(void 0===(n=t.length)){for(r in t)if(t.hasOwnProperty(r)&&(i=t[r],!1===e.call(i,r,i)))break}else for(o=0;o<n&&(i=t[o],!1!==e.call(i,o,i));o++);return t},Io=function(t,e){var n=[];return qo(t,(function(t,r){e(r,t)&&n.push(r)})),n},jo=function(t){return t?9===t.nodeType?t:t.ownerDocument:Mo};Yo.fn=Yo.prototype={constructor:Yo,selector:"",context:null,length:0,init:function(t,e){var r,o;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if(e&&e.nodeType)this.context=e;else{if(e)return Vo(t).attr(e);this.context=e=n.document}if(ko(t)){if(this.selector=t,!(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:xo.exec(t)))return Vo(e).find(t);if(r[1])for(o=So(t,jo(e)).firstChild;o;)_o.call(this,o),o=o.nextSibling;else{if(!(o=jo(e).getElementById(r[2])))return this;if(o.id!==r[2])return this.find(t);this.length=1,this[0]=o}}else this.add(t,!1);return this},toArray:function(){return cn.toArray(this)},add:function(t,e){var n,r;if(ko(t))return this.add(Vo(t));if(!1!==e)for(n=Vo.unique(this.toArray().concat(Vo.makeArray(t))),this.length=n.length,r=0;r<n.length;r++)this[r]=n[r];else _o.apply(this,Vo.makeArray(t));return this},attr:function(t,e){var n,r=this;if("object"==typeof t)qo(t,(function(t,e){r.attr(t,e)}));else{if(!To(e)){if(r[0]&&1===r[0].nodeType){if((n=Po[t])&&n.get)return n.get(r[0],t);if(Eo[t])return r.prop(t)?t:void 0;null===(e=r[0].getAttribute(t,2))&&(e=void 0)}return e}this.each((function(){var n;if(1===this.nodeType){if((n=Po[t])&&n.set)return void n.set(this,e);null===e?this.removeAttribute(t,2):this.setAttribute(t,e,2)}}))}return r},removeAttr:function(t){return this.attr(t,null)},prop:function(t,e){var n=this;if("object"==typeof(t=No[t]||t))qo(t,(function(t,e){n.prop(t,e)}));else{if(!To(e))return n[0]&&n[0].nodeType&&t in n[0]?n[0][t]:e;this.each((function(){1===this.nodeType&&(this[t]=e)}))}return n},css:function(t,e){var n,r,o=this,i=function(t){return t.replace(/-(\D)/g,(function(t,e){return e.toUpperCase()}))},a=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t}))};if("object"==typeof t)qo(t,(function(t,e){o.css(t,e)}));else if(To(e))t=i(t),"number"!=typeof e||Do[t]||(e=e.toString()+"px"),o.each((function(){var n=this.style;if((r=Ro[t])&&r.set)r.set(this,e);else{try{this.style[Bo[t]||t]=e}catch(t){}null!==e&&""!==e||(n.removeProperty?n.removeProperty(a(t)):n.removeAttribute(t))}}));else{if(n=o[0],(r=Ro[t])&&r.get)return r.get(n);if(!n.ownerDocument.defaultView)return n.currentStyle?n.currentStyle[i(t)]:"";try{return n.ownerDocument.defaultView.getComputedStyle(n,null).getPropertyValue(a(t))}catch(t){return}}return o},remove:function(){for(var t,e=this.length;e--;)t=this[e],Ao.clean(t),t.parentNode&&t.parentNode.removeChild(t);return this},empty:function(){for(var t,e=this.length;e--;)for(t=this[e];t.firstChild;)t.removeChild(t.firstChild);return this},html:function(t){var e;if(To(t)){e=this.length;try{for(;e--;)this[e].innerHTML=t}catch(n){Vo(this[e]).empty().append(t)}return this}return this[0]?this[0].innerHTML:""},text:function(t){var e;if(To(t)){for(e=this.length;e--;)"innerText"in this[e]?this[e].innerText=t:this[0].textContent=t;return this}return this[0]?this[0].innerText||this[0].textContent:""},append:function(){return Oo(this,arguments,(function(t){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.appendChild(t)}))},prepend:function(){return Oo(this,arguments,(function(t){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.insertBefore(t,this.firstChild)}),!0)},before:function(){var t=this;return t[0]&&t[0].parentNode?Oo(t,arguments,(function(t){this.parentNode.insertBefore(t,this)})):t},after:function(){var t=this;return t[0]&&t[0].parentNode?Oo(t,arguments,(function(t){this.parentNode.insertBefore(t,this.nextSibling)}),!0):t},appendTo:function(t){return Vo(t).append(this),this},prependTo:function(t){return Vo(t).prepend(this),this},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){return zo(this,t)},wrapAll:function(t){return zo(this,t,!0)},wrapInner:function(t){return this.each((function(){Vo(this).contents().wrapAll(t)})),this},unwrap:function(){return this.parent().each((function(){Vo(this).replaceWith(this.childNodes)}))},clone:function(){var t=[];return this.each((function(){t.push(this.cloneNode(!0))})),Vo(t)},addClass:function(t){return this.toggleClass(t,!0)},removeClass:function(t){return this.toggleClass(t,!1)},toggleClass:function(t,e){var n=this;return"string"!=typeof t||(-1!==t.indexOf(" ")?qo(t.split(" "),(function(){n.toggleClass(this,e)})):n.each((function(n,r){var o,i;(i=Co(r,t))!==e&&(o=r.className,i?r.className=Ho((" "+o+" ").replace(" "+t+" "," ")):r.className+=o?" "+t:t)}))),n},hasClass:function(t){return Co(this[0],t)},each:function(t){return qo(this,t)},on:function(t,e){return this.each((function(){Ao.bind(this,t,e)}))},off:function(t,e){return this.each((function(){Ao.unbind(this,t,e)}))},trigger:function(t){return this.each((function(){"object"==typeof t?Ao.fire(this,t.type,t):Ao.fire(this,t)}))},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new Vo(wo.apply(this,arguments))},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(t){var e,n,r=[];for(e=0,n=this.length;e<n;e++)Vo.find(t,this[e],r);return Vo(r)},filter:function(t){return Vo("function"==typeof t?Io(this.toArray(),(function(e,n){return t(n,e)})):Vo.filter(t,this.toArray()))},closest:function(t){var e=[];return t instanceof Vo&&(t=t[0]),this.each((function(n,r){for(;r;){if("string"==typeof t&&Vo(r).is(t)){e.push(r);break}if(r===t){e.push(r);break}r=r.parentNode}})),Vo(e)},offset:function(t){var e,n,r,o,i=0,a=0;return t?this.css(t):((e=this[0])&&(r=(n=e.ownerDocument).documentElement,e.getBoundingClientRect&&(i=(o=e.getBoundingClientRect()).left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,a=o.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:a})},push:_o,sort:Array.prototype.sort,splice:Array.prototype.splice},cn.extend(Yo,{extend:cn.extend,makeArray:function(t){return(e=t)&&e===e.window||t.nodeType?[t]:cn.toArray(t);var e},inArray:function(t,e){var n;if(e.indexOf)return e.indexOf(t);for(n=e.length;n--;)if(e[n]===t)return n;return-1},isArray:cn.isArray,each:qo,trim:Ho,grep:Io,find:oo,expr:oo.selectors,unique:oo.uniqueSort,text:oo.getText,contains:oo.contains,filter:function(t,e,n){var r=e.length;for(n&&(t=":not("+t+")");r--;)1!==e[r].nodeType&&e.splice(r,1);return e=1===e.length?Vo.find.matchesSelector(e[0],t)?[e[0]]:[]:Vo.find.matches(t,e)}});var Xo=function(t,e,n){var r=[],o=t[e];for("string"!=typeof n&&n instanceof Vo&&(n=n[0]);o&&9!==o.nodeType;){if(void 0!==n){if(o===n)break;if("string"==typeof n&&Vo(o).is(n))break}1===o.nodeType&&r.push(o),o=o[e]}return r},Fo=function(t,e,n,r){var o=[];for(r instanceof Vo&&(r=r[0]);t;t=t[e])if(!n||t.nodeType===n){if(void 0!==r){if(t===r)break;if("string"==typeof r&&Vo(t).is(r))break}o.push(t)}return o},Uo=function(t,e,n){for(t=t[e];t;t=t[e])if(t.nodeType===n)return t;return null};qo({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Xo(t,"parentNode")},next:function(t){return Uo(t,"nextSibling",1)},prev:function(t){return Uo(t,"previousSibling",1)},children:function(t){return Fo(t.firstChild,"nextSibling",1)},contents:function(t){return cn.toArray(("iframe"===t.nodeName?t.contentDocument||t.contentWindow.document:t).childNodes)}},(function(t,e){Yo.fn[t]=function(n){var r=[];this.each((function(){var t=e.call(r,this,n,r);t&&(Vo.isArray(t)?r.push.apply(r,t):r.push(t))})),this.length>1&&(Lo[t]||(r=Vo.unique(r)),0===t.indexOf("parents")&&(r=r.reverse()));var o=Vo(r);return n?o.filter(n):o}})),qo({parentsUntil:function(t,e){return Xo(t,"parentNode",e)},nextUntil:function(t,e){return Fo(t,"nextSibling",1,e).slice(1)},prevUntil:function(t,e){return Fo(t,"previousSibling",1,e).slice(1)}},(function(t,e){Yo.fn[t]=function(n,r){var o=[];this.each((function(){var t=e.call(o,this,n,o);t&&(Vo.isArray(t)?o.push.apply(o,t):o.push(t))})),this.length>1&&(o=Vo.unique(o),0!==t.indexOf("parents")&&"prevUntil"!==t||(o=o.reverse()));var i=Vo(o);return r?i.filter(r):i}})),Yo.fn.is=function(t){return!!t&&this.filter(t).length>0},Yo.fn.init.prototype=Yo.fn,Yo.overrideDefaults=function(t){var e,n=function(r,o){return e=e||t(),0===arguments.length&&(r=e.element),o||(o=e.context),new n.fn.init(r,o)};return Vo.extend(n,this),n},Yo.attrHooks=Po,Yo.cssHooks=Ro;var Vo=Yo,Go=function(){function t(t,e){this.node=t,this.rootNode=e,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return t.prototype.current=function(){return this.node},t.prototype.next=function(t){return this.node=this.findSibling(this.node,"firstChild","nextSibling",t),this.node},t.prototype.prev=function(t){return this.node=this.findSibling(this.node,"lastChild","previousSibling",t),this.node},t.prototype.prev2=function(t){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",t),this.node},t.prototype.findSibling=function(t,e,n,r){var o,i;if(t){if(!r&&t[e])return t[e];if(t!==this.rootNode){if(o=t[n])return o;for(i=t.parentNode;i&&i!==this.rootNode;i=i.parentNode)if(o=i[n])return o}}},t.prototype.findPreviousNode=function(t,e,n,r){var o,i,a;if(t){if(o=t[n],this.rootNode&&o===this.rootNode)return;if(o){if(!r)for(a=o[e];a;a=a[e])if(!a[e])return a;return o}if((i=t.parentNode)&&i!==this.rootNode)return i}},t}(),$o=function(t,e){he(t).each((function(n){n.dom().insertBefore(e.dom(),t.dom())}))},Ko=function(t,e){me(t).fold((function(){he(t).each((function(t){Qo(t,e)}))}),(function(t){$o(t,e)}))},Jo=function(t,e){Me(t).fold((function(){Qo(t,e)}),(function(n){t.dom().insertBefore(e.dom(),n.dom())}))},Qo=function(t,e){t.dom().appendChild(e.dom())},Zo=function(t,e){C(e,(function(e){Qo(t,e)}))},ti=function(t){t.dom().textContent="",C(be(t),(function(t){ei(t)}))},ei=function(t){var e=t.dom();null!==e.parentNode&&e.parentNode.removeChild(e)},ni=function(t){var e,n=be(t);n.length>0&&(e=t,C(n,(function(t){$o(e,t)}))),ei(t)},ri=function(t,e){return{left:i(t),top:i(e),translate:function(n,r){return ri(t+n,e+r)}}},oi=ri,ii=function(t,e){return void 0!==t?t:void 0!==e?e:0},ai=function(t){var e=t.dom(),n=e.ownerDocument.body;return n===e?oi(n.offsetLeft,n.offsetTop):Ut(t)?function(t){var e=t.getBoundingClientRect();return oi(e.left,e.top)}(e):oi(0,0)},si=kt().browser.isSafari(),ci=function(t){var e=void 0!==t?t.dom():n.document,r=e.body.scrollLeft||e.documentElement.scrollLeft,o=e.body.scrollTop||e.documentElement.scrollTop;return oi(r,o)},ui=function(t,e,r){(void 0!==r?r.dom():n.document).defaultView.scrollTo(t,e)},li=function(t,e){si&&_(t.dom().scrollIntoViewIfNeeded)?t.dom().scrollIntoViewIfNeeded(!1):t.dom().scrollIntoView(e)},di=function(t,e,n,r){return{x:i(t),y:i(e),width:i(n),height:i(r),right:i(t+n),bottom:i(e+r)}},fi=function(t){var e=void 0===t?n.window:t,r=e.document,o=ci(Ot.fromDom(r)),i=e.visualViewport;if(void 0!==i)return di(Math.max(i.pageLeft,o.left()),Math.max(i.pageTop,o.top()),i.width,i.height);var a=r.documentElement,s=a.clientWidth,c=a.clientHeight;return di(o.left(),o.top(),s,c)},hi=cn.each,pi=cn.grep,mi=Qe.ie,gi=/^([a-z0-9],?)+$/i,vi=/^[ \t\r\n]*$/,bi=function(t,e){var n=e.attr("style"),r=t.serialize(t.parse(n),e[0].nodeName);r||(r=null),e.attr("data-mce-style",r)},yi=function(t,e){var n,r,o=0;if(t)for(n=t.nodeType,t=t.previousSibling;t;t=t.previousSibling)r=t.nodeType,(!e||3!==r||r!==n&&t.nodeValue.length)&&(o++,n=r);return o};function Mi(t,e){var r,o=this;void 0===e&&(e={});var i={},a=n.window,s={},c=0,u=un(t,{contentCssCors:e.contentCssCors,referrerPolicy:e.referrerPolicy}),l=[],d=e.schema?e.schema:Gn({}),f=pr({url_converter:e.url_converter,url_converter_scope:e.url_converter_scope},e.schema),h=e.ownEvents?new xr:xr.Event,p=d.getBlockElements(),m=Vo.overrideDefaults((function(){return{context:t,element:I.getRoot()}})),v=function(e){if(e&&t&&"string"==typeof e){var n=t.getElementById(e);return n&&n.id!==e?t.getElementsByName(e)[1]:n}return e},b=function(t){return"string"==typeof t&&(t=v(t)),m(t)},y=function(t,e,n){var o,i,a=b(t);return a.length&&(i=(o=r[e])&&o.get?o.get(a,e):a.attr(e)),void 0===i&&(i=n||""),i},M=function(t){var e=v(t);return e?e.attributes:[]},_=function(t,n,o){var i,a;""===o&&(o=null);var s=b(t);i=s.attr(n),s.length&&((a=r[n])&&a.set?a.set(s,o,n):s.attr(n,o),i!==o&&e.onSetAttrib&&e.onSetAttrib({attrElm:s,attrName:n,attrValue:o}))},w=function(){return e.root_element||t.body},x=function(e,n){return Le(t.body,v(e),n)},A=function(t,e,n){var r=b(t);return n?r.css(e):("float"===(e=e.replace(/-(\D)/g,(function(t,e){return e.toUpperCase()})))&&(e=Qe.browser.isIE()?"styleFloat":"cssFloat"),r[0]&&r[0].style?r[0].style[e]:void 0)},L=function(t){var e,n;return t=v(t),e=A(t,"width"),n=A(t,"height"),-1===e.indexOf("px")&&(e=0),-1===n.indexOf("px")&&(n=0),{w:parseInt(e,10)||t.offsetWidth||t.clientWidth,h:parseInt(n,10)||t.offsetHeight||t.clientHeight}},T=function(t,e){var n;if(!t)return!1;if(!Array.isArray(t)){if("*"===e)return 1===t.nodeType;if(gi.test(e)){var r=e.toLowerCase().split(/,/),o=t.nodeName.toLowerCase();for(n=r.length-1;n>=0;n--)if(r[n]===o)return!0;return!1}if(t.nodeType&&1!==t.nodeType)return!1}var i=Array.isArray(t)?t:[t];return oo(e,i[0].ownerDocument||i[0],null,i).length>0},k=function(t,e,n,r){var o,i=[],a=v(t);for(r=void 0===r,n=n||("BODY"!==w().nodeName?w().parentNode:null),cn.is(e,"string")&&(o=e,e="*"===e?function(t){return 1===t.nodeType}:function(t){return T(t,o)});a&&a!==n&&a.nodeType&&9!==a.nodeType;){if(!e||"function"==typeof e&&e(a)){if(!r)return[a];i.push(a)}a=a.parentNode}return r?i:null},S=function(t,e,n){var r=e;if(t)for("string"==typeof e&&(r=function(t){return T(t,e)}),t=t[n];t;t=t[n])if("function"==typeof r&&r(t))return t;return null},O=function(t,e,n){var r,i="string"==typeof t?v(t):t;if(!i)return!1;if(cn.isArray(i)&&(i.length||0===i.length))return r=[],hi(i,(function(t,o){t&&("string"==typeof t&&(t=v(t)),r.push(e.call(n,t,o)))})),r;var a=n||o;return e.call(a,i)},C=function(t,e){b(t).each((function(t,n){hi(e,(function(t,e){_(n,e,t)}))}))},z=function(t,e){var n=b(t);mi?n.each((function(t,n){if(!1!==n.canHaveHTML){for(;n.firstChild;)n.removeChild(n.firstChild);try{n.innerHTML="<br>"+e,n.removeChild(n.firstChild)}catch(t){Vo("<div></div>").html("<br>"+e).contents().slice(1).appendTo(n)}return e}})):n.html(e)},D=function(e,n,r,o,i){return O(e,(function(e){var a="string"==typeof n?t.createElement(n):n;return C(a,r),o&&("string"!=typeof o&&o.nodeType?a.appendChild(o):"string"==typeof o&&z(a,o)),i?a:e.appendChild(a)}))},E=function(e,n,r){return D(t.createElement(e),e,n,r,!0)},N=Yn.encodeAllRaw,B=function(t,e){var n=b(t);return e?n.each((function(){for(var t;t=this.firstChild;)3===t.nodeType&&0===t.data.length?this.removeChild(t):this.parentNode.insertBefore(t,this)})).remove():n.remove(),n.length>1?n.toArray():n[0]},P=function(t,e,n){b(t).toggleClass(e,n).each((function(){""===this.className&&Vo(this).attr("class",null)}))},R=function(t,e,n){return O(e,(function(e){return cn.is(e,"array")&&(t=t.cloneNode(!0)),n&&hi(pi(e.childNodes),(function(e){t.appendChild(e)})),e.parentNode.replaceChild(t,e)}))},Y=function(){return t.createRange()},W=function(n,r,o,i){if(cn.isArray(n)){for(var s=n.length,c=[];s--;)c[s]=W(n[s],r,o,i);return c}return!e.collect||n!==t&&n!==a||l.push([n,r,o,i]),h.bind(n,r,o,i||I)},H=function(e,n,r){var o;if(cn.isArray(e)){o=e.length;for(var i=[];o--;)i[o]=H(e[o],n,r);return i}if(l&&(e===t||e===a))for(o=l.length;o--;){var s=l[o];e!==s[0]||n&&n!==s[1]||r&&r!==s[2]||h.unbind(s[0],s[1],s[2])}return h.unbind(e,n,r)},q=function(t){if(t&&nt.isElement(t)){var e=t.getAttribute("data-mce-contenteditable");return e&&"inherit"!==e?e:"inherit"!==t.contentEditable?t.contentEditable:null}return null},I={doc:t,settings:e,win:a,files:s,stdMode:!0,boxModel:!0,styleSheetLoader:u,boundEvents:l,styles:f,schema:d,events:h,isBlock:function(t){if("string"==typeof t)return!!p[t];if(t){var e=t.nodeType;if(e)return!(1!==e||!p[t.nodeName])}return!1},$:m,$$:b,root:null,clone:function(e,n){if(!mi||1!==e.nodeType||n)return e.cloneNode(n);if(!n){var r=t.createElement(e.nodeName);return hi(M(e),(function(t){_(r,t.nodeName,y(e,t.nodeName))})),r}return null},getRoot:w,getViewPort:function(t){var e=fi(t);return{x:e.x(),y:e.y(),w:e.width(),h:e.height()}},getRect:function(t){var e,n;return t=v(t),e=x(t),n=L(t),{x:e.x,y:e.y,w:n.w,h:n.h}},getSize:L,getParent:function(t,e,n){var r=k(t,e,n,!1);return r&&r.length>0?r[0]:null},getParents:k,get:v,getNext:function(t,e){return S(t,e,"nextSibling")},getPrev:function(t,e){return S(t,e,"previousSibling")},select:function(n,r){return oo(n,v(r)||e.root_element||t,[])},is:T,add:D,create:E,createHTML:function(t,e,n){var r,o="";for(r in o+="<"+t,e)e.hasOwnProperty(r)&&null!==e[r]&&void 0!==e[r]&&(o+=" "+r+'="'+N(e[r])+'"');return void 0!==n?o+">"+n+"</"+t+">":o+" />"},createFragment:function(e){var n,r=t.createElement("div"),o=t.createDocumentFragment();for(e&&(r.innerHTML=e);n=r.firstChild;)o.appendChild(n);return o},remove:B,setStyle:function(t,n,r){var o=g(n)?b(t).css(n,r):b(t).css(n);e.update_styles&&bi(f,o)},getStyle:A,setStyles:function(t,n){var r=b(t).css(n);e.update_styles&&bi(f,r)},removeAllAttribs:function(t){return O(t,(function(t){var e,n=t.attributes;for(e=n.length-1;e>=0;e--)t.removeAttributeNode(n.item(e))}))},setAttrib:_,setAttribs:C,getAttrib:y,getPos:x,parseStyle:function(t){return f.parse(t)},serializeStyle:function(t,e){return f.serialize(t,e)},addStyle:function(e){var r,o;if(I!==Mi.DOM&&t===n.document){if(i[e])return;i[e]=!0}(o=t.getElementById("mceDefaultStyles"))||((o=t.createElement("style")).id="mceDefaultStyles",o.type="text/css",(r=t.getElementsByTagName("head")[0]).firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o)),o.styleSheet?o.styleSheet.cssText+=e:o.appendChild(t.createTextNode(e))},loadCSS:function(r){var o;I===Mi.DOM||t!==n.document?(r||(r=""),o=t.getElementsByTagName("head")[0],hi(r.split(","),(function(t){var n;t=cn._addCacheSuffix(t),s[t]||(s[t]=!0,n=E("link",j(j({rel:"stylesheet",type:"text/css",href:t},e.contentCssCors?{crossOrigin:"anonymous"}:{}),e.referrerPolicy?{referrerPolicy:e.referrerPolicy}:{})),o.appendChild(n))}))):Mi.DOM.loadCSS(r)},addClass:function(t,e){b(t).addClass(e)},removeClass:function(t,e){P(t,e,!1)},hasClass:function(t,e){return b(t).hasClass(e)},toggleClass:P,show:function(t){b(t).show()},hide:function(t){b(t).hide()},isHidden:function(t){return"none"===b(t).css("display")},uniqueId:function(t){return(t||"mce_")+c++},setHTML:z,getOuterHTML:function(t){var e="string"==typeof t?v(t):t;return nt.isElement(e)?e.outerHTML:Vo("<div></div>").append(Vo(e).clone()).html()},setOuterHTML:function(t,e){b(t).each((function(){try{if("outerHTML"in this)return void(this.outerHTML=e)}catch(t){}B(Vo(this).html(e),!0)}))},decode:Yn.decode,encode:N,insertAfter:function(t,e){var n=v(e);return O(t,(function(t){var e,r;return e=n.parentNode,(r=n.nextSibling)?e.insertBefore(t,r):e.appendChild(t),t}))},replace:R,rename:function(t,e){var n;return t.nodeName!==e.toUpperCase()&&(n=E(e),hi(M(t),(function(e){_(n,e.nodeName,y(t,e.nodeName))})),R(n,t,!0)),n||t},findCommonAncestor:function(t,e){for(var n,r=t;r;){for(n=e;n&&r!==n;)n=n.parentNode;if(r===n)break;r=r.parentNode}return!r&&t.ownerDocument?t.ownerDocument.documentElement:r},toHex:function(t){return f.toHex(cn.trim(t))},run:O,getAttribs:M,isEmpty:function(t,e){var n,r,o,i,a=0;if(t=t.firstChild){var s=new Go(t,t.parentNode),c=d?d.getWhiteSpaceElements():{};e=e||(d?d.getNonEmptyElements():null);do{if(o=t.nodeType,nt.isElement(t)){var u=t.getAttribute("data-mce-bogus");if(u){t=s.next("all"===u);continue}if(i=t.nodeName.toLowerCase(),e&&e[i]){if("br"===i){a++,t=s.next();continue}return!1}for(n=(r=M(t)).length;n--;)if("name"===(i=r[n].nodeName)||"data-mce-bookmark"===i)return!1}if(8===o)return!1;if(3===o&&!vi.test(t.nodeValue))return!1;if(3===o&&t.parentNode&&c[t.parentNode.nodeName]&&vi.test(t.nodeValue))return!1;t=s.next()}while(t)}return a<=1},createRng:Y,nodeIndex:yi,split:function(t,e,n){var r,o,i,a=Y();if(t&&e)return a.setStart(t.parentNode,yi(t)),a.setEnd(e.parentNode,yi(e)),r=a.extractContents(),(a=Y()).setStart(e.parentNode,yi(e)+1),a.setEnd(t.parentNode,yi(t)+1),o=a.extractContents(),(i=t.parentNode).insertBefore(kn.trimNode(I,r),t),n?i.insertBefore(n,t):i.insertBefore(e,t),i.insertBefore(kn.trimNode(I,o),t),B(t),n||e},bind:W,unbind:H,fire:function(t,e,n){return h.fire(t,e,n)},getContentEditable:q,getContentEditableParent:function(t){for(var e=w(),n=null;t&&t!==e&&null===(n=q(t));t=t.parentNode);return n},destroy:function(){if(l)for(var t=l.length;t--;){var e=l[t];h.unbind(e[0],e[1],e[2])}oo.setDocument&&oo.setDocument()},isChildOf:function(t,e){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},dumpRng:function(t){return"startContainer: "+t.startContainer.nodeName+", startOffset: "+t.startOffset+", endContainer: "+t.endContainer.nodeName+", endOffset: "+t.endOffset}};return r=function(t,e,n){var r=e.keep_values,o={set:function(t,r,o){e.url_converter&&(r=e.url_converter.call(e.url_converter_scope||n(),r,o,t[0])),t.attr("data-mce-"+o,r).attr(o,r)},get:function(t,e){return t.attr("data-mce-"+e)||t.attr(e)}},i={style:{set:function(t,e){null===e||"object"!=typeof e?(r&&t.attr("data-mce-style",e),t.attr("style",e)):t.css(e)},get:function(e){var n=e.attr("data-mce-style")||e.attr("style");return n=t.serialize(t.parse(n),e[0].nodeName)}}};return r&&(i.href=i.src=o),i}(f,e,(function(){return I})),I}!function(t){t.DOM=t(n.document),t.nodeIndex=yi}(Mi||(Mi={}));var _i=Mi,wi=_i.DOM,xi=cn.each,Ai=cn.grep,Li=function(){function t(t){void 0===t&&(t={}),this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=0,this.settings=t}return t.prototype._setReferrerPolicy=function(t){this.settings.referrerPolicy=t},t.prototype.loadScript=function(t,e,r){var o,i,a=wi;i=a.uniqueId(),(o=n.document.createElement("script")).id=i,o.type="text/javascript",o.src=cn._addCacheSuffix(t),this.settings.referrerPolicy&&a.setAttrib(o,"referrerpolicy",this.settings.referrerPolicy),o.onload=function(){a.remove(i),o&&(o.onreadystatechange=o.onload=o=null),e()},o.onerror=function(){_(r)?r():void 0!==n.console&&n.console.log&&n.console.log("Failed to load script: "+t)},(n.document.getElementsByTagName("head")[0]||n.document.body).appendChild(o)},t.prototype.isDone=function(t){return 2===this.states[t]},t.prototype.markDone=function(t){this.states[t]=2},t.prototype.add=function(t,e,n,r){void 0===this.states[t]&&(this.queue.push(t),this.states[t]=0),e&&(this.scriptLoadedCallbacks[t]||(this.scriptLoadedCallbacks[t]=[]),this.scriptLoadedCallbacks[t].push({success:e,failure:r,scope:n||this}))},t.prototype.load=function(t,e,n,r){return this.add(t,e,n,r)},t.prototype.remove=function(t){delete this.states[t],delete this.scriptLoadedCallbacks[t]},t.prototype.loadQueue=function(t,e,n){this.loadScripts(this.queue,t,e,n)},t.prototype.loadScripts=function(t,e,n,r){var o,i=this,a=[],s=function(t,e){xi(i.scriptLoadedCallbacks[e],(function(e){_(e[t])&&e[t].call(e.scope)})),i.scriptLoadedCallbacks[e]=void 0};i.queueLoadedCallbacks.push({success:e,failure:r,scope:n||this}),(o=function(){var e=Ai(t);if(t.length=0,xi(e,(function(t){2!==i.states[t]?3!==i.states[t]?1!==i.states[t]&&(i.states[t]=1,i.loading++,i.loadScript(t,(function(){i.states[t]=2,i.loading--,s("success",t),o()}),(function(){i.states[t]=3,i.loading--,a.push(t),s("failure",t),o()}))):s("failure",t):s("success",t)})),!i.loading){var n=i.queueLoadedCallbacks.slice(0);i.queueLoadedCallbacks.length=0,xi(n,(function(t){0===a.length?_(t.success)&&t.success.call(t.scope):_(t.failure)&&t.failure.call(t.scope,a)}))}})()},t.ScriptLoader=new t,t}(),Ti={},ki=rt("en"),Si={getData:function(){return Ht(Ti,(function(t){return j({},t)}))},setCode:function(t){t&&ki.set(t)},getCode:function(){return ki.get()},add:function(t,e){var n=Ti[t];for(var r in n||(Ti[t]=n={}),e)n[r.toLowerCase()]=e[r]},translate:function(t){var e,n=Ti[ki.get()]||{},r=function(t){return _(t)?Object.prototype.toString.call(t):o(t)?"":""+t},o=function(t){return""===t||null==t},i=function(t){var e=r(t),o=e.toLowerCase();return Xt(n,o)?r(n[o]):e},a=function(t){return t.replace(/{context:\w+}$/,"")};if(o(t))return"";if(v(e=t)&&Xt(e,"raw"))return r(t.raw);if(function(t){return b(t)&&t.length>1}(t)){var s=t.slice(1);return a(i(t[0]).replace(/\{([0-9]+)\}/g,(function(t,e){return Xt(s,e)?r(s[e]):t})))}return a(i(t))},isRtl:function(){return jt(Ti,ki.get()).bind((function(t){return jt(t,"_dir")})).exists((function(t){return"rtl"===t}))},hasCode:function(t){return Xt(Ti,t)}},Oi=cn.each;function Ci(){var t=this,e=[],n={},r={},o=[],i=function(t){var e;return r[t]&&(e=r[t].dependencies),e||[]},a=function(t,e){return"object"==typeof e?e:"string"==typeof t?{prefix:"",resource:e,suffix:""}:{prefix:t.prefix,resource:e,suffix:t.suffix}},s=function(t,e,n,r){var o=i(t);Oi(o,(function(t){var n=a(e,t);c(n.resource,n,void 0,void 0)})),n&&(r?n.call(r):n.call(Li))},c=function(t,e,o,i,a){if(!n[t]){var c="string"==typeof e?e:e.prefix+e.resource+e.suffix;0!==c.indexOf("/")&&-1===c.indexOf("://")&&(c=Ci.baseURL+"/"+c),n[t]=c.substring(0,c.lastIndexOf("/")),r[t]?s(t,e,o,i):Li.ScriptLoader.add(c,(function(){return s(t,e,o,i)}),i,a)}};return{items:e,urls:n,lookup:r,_listeners:o,get:function(t){if(r[t])return r[t].instance},dependencies:i,requireLangPack:function(t,e){var r=Si.getCode();if(r&&!1!==Ci.languageLoad){if(e)if(-1!==(e=","+e+",").indexOf(","+r.substr(0,2)+","))r=r.substr(0,2);else if(-1===e.indexOf(","+r+","))return;Li.ScriptLoader.add(n[t]+"/langs/"+r+".js")}},add:function(t,n,i){e.push(n),r[t]={instance:n,dependencies:i};var a=z(o,(function(e){return e.name===t}));return o=a.fail,Oi(a.pass,(function(t){t.callback()})),n},remove:function(t){delete n[t],delete r[t]},createUrl:a,addComponents:function(e,n){var r=t.urls[e];Oi(n,(function(t){Li.ScriptLoader.add(r+"/"+t)}))},load:c,waitFor:function(t,e){r.hasOwnProperty(t)?e():o.push({name:t,callback:e})}}}!function(t){t.PluginManager=t(),t.ThemeManager=t()}(Ci||(Ci={}));var zi=Ci,Di=function(t,e){var r=null;return{cancel:function(){null!==r&&(n.clearTimeout(r),r=null)},throttle:function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];null===r&&(r=n.setTimeout((function(){t.apply(null,o),r=null}),e))}}},Ei=function(t,e){var n=Kt(t,e);return void 0===n||""===n?[]:n.split(" ")},Ni=function(t){return void 0!==t.dom().classList},Bi=function(t,e){return function(t,e,n){var r=Ei(t,e).concat([n]);return Gt(t,e,r.join(" ")),!0}(t,"class",e)},Pi=function(t,e){return function(t,e,n){var r=D(Ei(t,e),(function(t){return t!==n}));return r.length>0?Gt(t,e,r.join(" ")):Jt(t,e),!1}(t,"class",e)},Ri=function(t,e){Ni(t)?t.dom().classList.add(e):Bi(t,e)},Yi=function(t){0===(Ni(t)?t.dom().classList:function(t){return Ei(t,"class")}(t)).length&&Jt(t,"class")},Wi=function(t,e){return Ni(t)&&t.dom().classList.contains(e)},Hi=function(t,e){var n=[];return C(be(t),(function(t){e(t)&&(n=n.concat([t])),n=n.concat(Hi(t,e))})),n},qi=function(t,e){return function(t,e){var r=void 0===e?n.document:e.dom();return ce(r)?[]:O(r.querySelectorAll(t),Ot.fromDom)}(e,t)};function Ii(t,e,n,r,o){return t(n,r)?p.some(n):_(o)&&o(n)?p.none():e(n,r,o)}var ji=function(t,e,n){for(var r=t.dom(),o=_(n)?n:i(!1);r.parentNode;){r=r.parentNode;var a=Ot.fromDom(r);if(e(a))return p.some(a);if(o(a))break}return p.none()},Xi=function(t,e,n){return Ii((function(t,e){return e(t)}),ji,t,e,n)},Fi=function(t,e,n){return ji(t,(function(t){return se(t,e)}),n)},Ui=function(t,e){return function(t,e){var r=void 0===e?n.document:e.dom();return ce(r)?p.none():p.from(r.querySelector(t)).map(Ot.fromDom)}(e,t)},Vi=function(t,e,n){return Ii(se,Fi,t,e,n)},Gi=i("mce-annotation"),$i=i("data-mce-annotation"),Ki=i("data-mce-annotation-uid"),Ji=function(t,e){var n=t.selection.getRng(),r=Ot.fromDom(n.startContainer),o=Ot.fromDom(t.getBody()),i=e.fold((function(){return"."+Gi()}),(function(t){return"["+$i()+'="'+t+'"]'})),a=ye(r,n.startOffset).getOr(r),s=Vi(a,i,(function(t){return ue(t,o)})),c=function(t,e){return function(t,e){var n=t.dom();return!(!n||!n.hasAttribute)&&n.hasAttribute(e)}(t,e)?p.some(Kt(t,e)):p.none()};return s.bind((function(e){return c(e,""+Ki()).bind((function(n){return c(e,""+$i()).map((function(e){var r=Qi(t,n);return{uid:n,name:e,elements:r}}))}))}))},Qi=function(t,e){var n=Ot.fromDom(t.getBody());return qi(n,"["+Ki()+'="'+e+'"]')},Zi=function(t,e){var r,o,i,a=rt({}),s=function(t,e){c(t,(function(t){return e(t),t}))},c=function(t,e){var n=a.get(),r=e(n.hasOwnProperty(t)?n[t]:{listeners:[],previous:rt(p.none())});n[t]=r,a.set(n)},u=(r=function(){var e,n,r,o=a.get(),i=(e=Rt(o),(r=x.call(e,0)).sort(n),r);C(i,(function(e){c(e,(function(n){var r=n.previous.get();return Ji(t,p.some(e)).fold((function(){r.isSome()&&(function(t){s(t,(function(e){C(e.listeners,(function(e){return e(!1,t)}))}))}(e),n.previous.set(p.none()))}),(function(t){var e=t.uid,o=t.name,i=t.elements;r.is(e)||(function(t,e,n){s(t,(function(r){C(r.listeners,(function(r){return r(!0,t,{uid:e,nodes:O(n,(function(t){return t.dom()}))})}))}))}(o,e,i),n.previous.set(p.some(e)))})),{previous:n.previous,listeners:n.listeners}}))}))},o=30,i=null,{cancel:function(){null!==i&&(n.clearTimeout(i),i=null)},throttle:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];null!==i&&n.clearTimeout(i),i=n.setTimeout((function(){r.apply(null,t),i=null}),o)}});t.on("remove",(function(){u.cancel()})),t.on("NodeChange",(function(){u.throttle()}));return{addListener:function(t,e){c(t,(function(t){return{previous:t.previous,listeners:t.listeners.concat([e])}}))}}},ta=function(t,e){t.on("init",(function(){t.serializer.addNodeFilter("span",(function(t){C(t,(function(t){(function(t){return p.from(t.attr($i())).bind(e.lookup)})(t).each((function(e){!1===e.persistent&&t.unwrap()}))}))}))}))},ea=0,na=function(t,e){return Ot.fromDom(t.dom().cloneNode(e))},ra=function(t){return na(t,!1)},oa=function(t){return na(t,!0)},ia=function(t,e){var r,o,i=de(t).dom(),a=Ot.fromDom(i.createDocumentFragment()),s=(r=e,(o=(i||n.document).createElement("div")).innerHTML=r,be(Ot.fromDom(o)));Zo(a,s),ti(t),Qo(t,a)},aa=function(t){return"\ufeff"===t},sa="\ufeff",ca=function(t){return t.replace(new RegExp("\ufeff","g"),"")},ua=nt.isElement,la=nt.isText,da=function(t){return la(t)&&(t=t.parentNode),ua(t)&&t.hasAttribute("data-mce-caret")},fa=function(t){return la(t)&&aa(t.data)},ha=function(t){return da(t)||fa(t)},pa=function(t){return t.firstChild!==t.lastChild||!nt.isBr(t.firstChild)},ma=function(t){var e=t.container();return!(!t||!nt.isText(e))&&(e.data.charAt(t.offset())===sa||t.isAtStart()&&fa(e.previousSibling))},ga=function(t){var e=t.container();return!(!t||!nt.isText(e))&&(e.data.charAt(t.offset()-1)===sa||t.isAtEnd()&&fa(e.nextSibling))},va=function(t,e,r){var o,i,a;return(o=e.ownerDocument.createElement(t)).setAttribute("data-mce-caret",r?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(((a=n.document.createElement("br")).setAttribute("data-mce-bogus","1"),a)),i=e.parentNode,r?i.insertBefore(o,e):e.nextSibling?i.insertBefore(o,e.nextSibling):i.appendChild(o),o},ba=function(t){return la(t)&&t.data[0]===sa},ya=function(t){return la(t)&&t.data[t.data.length-1]===sa},Ma=function(t){return t&&t.hasAttribute("data-mce-caret")?(e=t.getElementsByTagName("br"),n=e[e.length-1],nt.isBogus(n)&&n.parentNode.removeChild(n),t.removeAttribute("data-mce-caret"),t.removeAttribute("data-mce-bogus"),t.removeAttribute("style"),t.removeAttribute("_moz_abspos"),t):null;var e,n},_a=nt.isContentEditableTrue,wa=nt.isContentEditableFalse,xa=nt.isBr,Aa=nt.isText,La=nt.matchNodeNames(["script","style","textarea"]),Ta=nt.matchNodeNames(["img","input","textarea","hr","iframe","video","audio","object"]),ka=nt.matchNodeNames(["table"]),Sa=ha,Oa=function(t){return!Sa(t)&&(Aa(t)?!La(t.parentNode):Ta(t)||xa(t)||ka(t)||Ca(t))},Ca=function(t){return!1===function(t){return nt.isElement(t)&&"true"===t.getAttribute("unselectable")}(t)&&wa(t)},za=function(t,e){return Oa(t)&&function(t,e){for(t=t.parentNode;t&&t!==e;t=t.parentNode){if(Ca(t))return!1;if(_a(t))return!0}return!0}(t,e)},Da=Math.round,Ea=function(t){return t?{left:Da(t.left),top:Da(t.top),bottom:Da(t.bottom),right:Da(t.right),width:Da(t.width),height:Da(t.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}},Na=function(t,e){return t=Ea(t),e||(t.left=t.left+t.width),t.right=t.left,t.width=0,t},Ba=function(t,e,n){return t>=0&&t<=Math.min(e.height,n.height)/2},Pa=function(t,e){return t.bottom-t.height/2<e.top||!(t.top>e.bottom)&&Ba(e.top-t.bottom,t,e)},Ra=function(t,e){return t.top>e.bottom||!(t.bottom<e.top)&&Ba(e.bottom-t.top,t,e)},Ya=function(t,e,n){return e>=t.left&&e<=t.right&&n>=t.top&&n<=t.bottom},Wa=function(t){var e=t.startContainer,n=t.startOffset;return e.hasChildNodes()&&t.endOffset===n+1?e.childNodes[n]:null},Ha=function(t,e){return 1===t.nodeType&&t.hasChildNodes()&&(e>=t.childNodes.length&&(e=t.childNodes.length-1),t=t.childNodes[e]),t},qa=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),Ia=function(t){return"string"==typeof t&&t.charCodeAt(0)>=768&&qa.test(t)},ja=function(t,e,n){return t.isSome()&&e.isSome()?p.some(n(t.getOrDie(),e.getOrDie())):p.none()},Xa=[].slice,Fa=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Xa.call(arguments);return function(t){for(var e=0;e<n.length;e++)if(!n[e](t))return!1;return!0}},Ua=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Xa.call(arguments);return function(t){for(var e=0;e<n.length;e++)if(n[e](t))return!0;return!1}},Va=nt.isElement,Ga=Oa,$a=nt.matchStyleValues("display","block table"),Ka=nt.matchStyleValues("float","left right"),Ja=Fa(Va,Ga,c(Ka)),Qa=c(nt.matchStyleValues("white-space","pre pre-line pre-wrap")),Za=nt.isText,ts=nt.isBr,es=_i.nodeIndex,ns=Ha,rs=function(t){return"createRange"in t?t.createRange():_i.DOM.createRng()},os=function(t){return t&&/[\r\n\t ]/.test(t)},is=function(t){return!!t.setStart&&!!t.setEnd},as=function(t){var e,n=t.startContainer,r=t.startOffset;return!!(os(t.toString())&&Qa(n.parentNode)&&nt.isText(n)&&(e=n.data,os(e[r-1])||os(e[r+1])))},ss=function(t){return 0===t.left&&0===t.right&&0===t.top&&0===t.bottom},cs=function(t){var e,n;return e=(n=t.getClientRects()).length>0?Ea(n[0]):Ea(t.getBoundingClientRect()),!is(t)&&ts(t)&&ss(e)?function(t){var e,n=t.ownerDocument,r=rs(n),o=n.createTextNode(" "),i=t.parentNode;return i.insertBefore(o,t),r.setStart(o,0),r.setEnd(o,1),e=Ea(r.getBoundingClientRect()),i.removeChild(o),e}(t):ss(e)&&is(t)?function(t){var e=t.startContainer,n=t.endContainer,r=t.startOffset,o=t.endOffset;if(e===n&&nt.isText(n)&&0===r&&1===o){var i=t.cloneRange();return i.setEndAfter(n),cs(i)}return null}(t):e},us=function(t,e){var n=Na(t,e);return n.width=1,n.right=n.left+1,n},ls=function(t){var e,n,r=[],o=function(t){var e,n;0!==t.height&&(r.length>0&&(e=t,n=r[r.length-1],e.left===n.left&&e.top===n.top&&e.bottom===n.bottom&&e.right===n.right)||r.push(t))},i=function(t,e){var n=rs(t.ownerDocument);if(e<t.data.length){if(Ia(t.data[e]))return r;if(Ia(t.data[e-1])&&(n.setStart(t,e),n.setEnd(t,e+1),!as(n)))return o(us(cs(n),!1)),r}e>0&&(n.setStart(t,e-1),n.setEnd(t,e),as(n)||o(us(cs(n),!1))),e<t.data.length&&(n.setStart(t,e),n.setEnd(t,e+1),as(n)||o(us(cs(n),!0)))};if(Za(t.container()))return i(t.container(),t.offset()),r;if(Va(t.container()))if(t.isAtEnd())n=ns(t.container(),t.offset()),Za(n)&&i(n,n.data.length),Ja(n)&&!ts(n)&&o(us(cs(n),!1));else{if(n=ns(t.container(),t.offset()),Za(n)&&i(n,0),Ja(n)&&t.isAtEnd())return o(us(cs(n),!1)),r;e=ns(t.container(),t.offset()-1),Ja(e)&&!ts(e)&&($a(e)||$a(n)||!Ja(n))&&o(us(cs(e),!1)),Ja(n)&&o(us(cs(n),!0))}return r};function ds(t,e,n){var r=function(){return n||(n=ls(ds(t,e))),n};return{container:i(t),offset:i(e),toRange:function(){var n;return(n=rs(t.ownerDocument)).setStart(t,e),n.setEnd(t,e),n},getClientRects:r,isVisible:function(){return r().length>0},isAtStart:function(){return Za(t),0===e},isAtEnd:function(){return Za(t)?e>=t.data.length:e>=t.childNodes.length},isEqual:function(n){return n&&t===n.container()&&e===n.offset()},getNode:function(n){return ns(t,n?e-1:e)}}}!function(t){t.fromRangeStart=function(e){return t(e.startContainer,e.startOffset)},t.fromRangeEnd=function(e){return t(e.endContainer,e.endOffset)},t.after=function(e){return t(e.parentNode,es(e)+1)},t.before=function(e){return t(e.parentNode,es(e))},t.isAbove=function(t,e){return ja(H(e.getClientRects()),q(t.getClientRects()),Pa).getOr(!1)},t.isBelow=function(t,e){return ja(q(e.getClientRects()),H(t.getClientRects()),Ra).getOr(!1)},t.isAtStart=function(t){return!!t&&t.isAtStart()},t.isAtEnd=function(t){return!!t&&t.isAtEnd()},t.isTextPosition=function(t){return!!t&&nt.isText(t.container())},t.isElementPosition=function(e){return!1===t.isTextPosition(e)}}(ds||(ds={}));var fs,hs=ds,ps=nt.isText,ms=nt.isBogus,gs=_i.nodeIndex,vs=function(t){var e=t.parentNode;return ms(e)?vs(e):e},bs=function(t){return t?nn.reduce(t.childNodes,(function(t,e){return ms(e)&&"BR"!==e.nodeName?t=t.concat(bs(e)):t.push(e),t}),[]):[]},ys=function(t){return function(e){return t===e}},Ms=function(t){return(ps(t)?"text()":t.nodeName.toLowerCase())+"["+function(t){var e,n,r;return e=bs(vs(t)),n=nn.findIndex(e,ys(t),t),e=e.slice(0,n+1),r=nn.reduce(e,(function(t,n,r){return ps(n)&&ps(e[r-1])&&t++,t}),0),e=nn.filter(e,nt.matchNodeNames([t.nodeName])),(n=nn.findIndex(e,ys(t),t))-r}(t)+"]"},_s=function(t,e){var n,r,o,i,a,s=[];return n=e.container(),r=e.offset(),ps(n)?o=function(t,e){for(;(t=t.previousSibling)&&ps(t);)e+=t.data.length;return e}(n,r):(r>=(i=n.childNodes).length?(o="after",r=i.length-1):o="before",n=i[r]),s.push(Ms(n)),a=function(t,e,n){var r=[];for(e=e.parentNode;e!==t&&(!n||!n(e));e=e.parentNode)r.push(e);return r}(t,n),a=nn.filter(a,c(nt.isBogus)),(s=s.concat(nn.map(a,(function(t){return Ms(t)})))).reverse().join("/")+","+o},ws=function(t,e){var n,r,o;return e?(n=e.split(","),e=n[0].split("/"),o=n.length>1?n[1]:"before",(r=nn.reduce(e,(function(t,e){return(e=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(e))?("text()"===e[1]&&(e[1]="#text"),function(t,e,n){var r=bs(t);return r=nn.filter(r,(function(t,e){return!ps(t)||!ps(r[e-1])})),(r=nn.filter(r,nt.matchNodeNames([e])))[n]}(t,e[1],parseInt(e[2],10))):null}),t))?ps(r)?function(t,e){for(var n,r=t,o=0;ps(r);){if(n=r.data.length,e>=o&&e<=o+n){t=r,e-=o;break}if(!ps(r.nextSibling)){t=r,e=n;break}o+=n,r=r.nextSibling}return ps(t)&&e>t.data.length&&(e=t.data.length),hs(t,e)}(r,parseInt(o,10)):(o="after"===o?gs(r)+1:gs(r),hs(r.parentNode,o)):null):null},xs=function(t,e){nt.isText(e)&&0===e.data.length&&t.remove(e)},As=function(t,e,n){nt.isDocumentFragment(n)?function(t,e,n){var r=p.from(n.firstChild),o=p.from(n.lastChild);e.insertNode(n),r.each((function(e){return xs(t,e.previousSibling)})),o.each((function(e){return xs(t,e.nextSibling)}))}(t,e,n):function(t,e,n){e.insertNode(n),xs(t,n.previousSibling),xs(t,n.nextSibling)}(t,e,n)},Ls=nt.isContentEditableFalse,Ts=function(t,e,n,r,o){var i,a=r[o?"startContainer":"endContainer"],s=r[o?"startOffset":"endOffset"],c=[],u=0,l=t.getRoot();for(nt.isText(a)?c.push(n?function(t,e,n){var r,o;for(o=t(e.data.slice(0,n)).length,r=e.previousSibling;r&&nt.isText(r);r=r.previousSibling)o+=t(r.data).length;return o}(e,a,s):s):(s>=(i=a.childNodes).length&&i.length&&(u=1,s=Math.max(0,i.length-1)),c.push(t.nodeIndex(i[s],n)+u));a&&a!==l;a=a.parentNode)c.push(t.nodeIndex(a,n));return c},ks=function(t,e,n){var r=0;return cn.each(t.select(e),(function(t){if("all"!==t.getAttribute("data-mce-bogus"))return t!==n&&void r++})),r},Ss=function(t,e){var n,r,o,i=e?"start":"end";n=t[i+"Container"],r=t[i+"Offset"],nt.isElement(n)&&"TR"===n.nodeName&&(n=(o=n.childNodes)[Math.min(e?r:r-1,o.length-1)])&&(r=e?0:n.childNodes.length,t["set"+(e?"Start":"End")](n,r))},Os=function(t){return Ss(t,!0),Ss(t,!1),t},Cs=function(t,e){var n;if(nt.isElement(t)&&(t=Ha(t,e),Ls(t)))return t;if(ha(t)){if(nt.isText(t)&&da(t)&&(t=t.parentNode),n=t.previousSibling,Ls(n))return n;if(n=t.nextSibling,Ls(n))return n}},zs=function(t,e,n){var r=n.getNode(),o=r?r.nodeName:null,i=n.getRng();if(Ls(r)||"IMG"===o)return{name:o,index:ks(n.dom,o,r)};var a=function(t){return Cs(t.startContainer,t.startOffset)||Cs(t.endContainer,t.endOffset)}(i);return a?{name:o=a.tagName,index:ks(n.dom,o,a)}:function(t,e,n,r){var o=e.dom,i={};return i.start=Ts(o,t,n,r,!0),e.isCollapsed()||(i.end=Ts(o,t,n,r,!1)),i}(t,n,e,i)},Ds=function(t,e,n){var r={"data-mce-type":"bookmark",id:e,style:"overflow:hidden;line-height:0px"};return n?t.create("span",r,""):t.create("span",r)},Es=function(t,e){var n=t.dom,r=t.getRng(),o=n.uniqueId(),i=t.isCollapsed(),a=t.getNode(),s=a.nodeName;if("IMG"===s)return{name:s,index:ks(n,s,a)};var c=Os(r.cloneRange());if(!i){c.collapse(!1);var u=Ds(n,o+"_end",e);As(n,c,u)}(r=Os(r)).collapse(!0);var l=Ds(n,o+"_start",e);return As(n,r,l),t.moveToBookmark({id:o,keep:1}),{id:o}},Ns={getBookmark:function(t,e,n){return 2===e?zs(ca,n,t):3===e?function(t){var e=t.getRng();return{start:_s(t.dom.getRoot(),hs.fromRangeStart(e)),end:_s(t.dom.getRoot(),hs.fromRangeEnd(e))}}(t):e?function(t){return{rng:t.getRng()}}(t):Es(t,!1)},getUndoBookmark:s(zs,a,!0),getPersistentBookmark:Es},Bs=function(t){return nt.isElement(t)&&"_mce_caret"===t.id},Ps=function(t,e){for(;e&&e!==t;){if("_mce_caret"===e.id)return e;e=e.parentNode}return null},Rs=nt.isElement,Ys=nt.isText,Ws=function(t){var e=t.parentNode;e&&e.removeChild(t)},Hs=function(t,e){0===e.length?Ws(t):t.nodeValue=e},qs=function(t){var e=ca(t);return{count:t.length-e.length,text:e}},Is=function(t,e){return Fs(t),e},js=function(t,e){var n=e.container(),r=function(t,e){var n=T(t,e);return-1===n?p.none():p.some(n)}(I(n.childNodes),t).map((function(t){return t<e.offset()?hs(n,e.offset()-1):e})).getOr(e);return Fs(t),r},Xs=function(t,e){return Ys(t)&&e.container()===t?function(t,e){var n=qs(t.data.substr(0,e.offset())),r=qs(t.data.substr(e.offset())),o=n.text+r.text;return o.length>0?(Hs(t,o),hs(t,e.offset()-n.count)):e}(t,e):Is(t,e)},Fs=function(t){if(Rs(t)&&ha(t)&&(pa(t)?t.removeAttribute("data-mce-caret"):Ws(t)),Ys(t)){var e=ca(function(t){try{return t.nodeValue}catch(t){return""}}(t));Hs(t,e)}},Us={removeAndReposition:function(t,e){return hs.isTextPosition(e)?Xs(t,e):function(t,e){return e.container()===t.parentNode?js(t,e):Is(t,e)}(t,e)},remove:Fs},Vs=kt().browser,Gs=nt.isContentEditableFalse,$s=function(t,e,n){var r,o,i,a,s,c=Na(e.getBoundingClientRect(),n);return"BODY"===t.tagName?(r=t.ownerDocument.documentElement,o=t.scrollLeft||r.scrollLeft,i=t.scrollTop||r.scrollTop):(s=t.getBoundingClientRect(),o=t.scrollLeft-s.left,i=t.scrollTop-s.top),c.left+=o,c.right+=o,c.top+=i,c.bottom+=i,c.width=1,(a=e.offsetWidth-e.clientWidth)>0&&(n&&(a*=-1),c.left+=a,c.right+=a),c},Ks=function(t,e,n){var r,o,i=rt(p.none()),a=function(){!function(t){var e,n,r,o,i;for(e=Vo("*[contentEditable=false]",t),o=0;o<e.length;o++)r=(n=e[o]).previousSibling,ya(r)&&(1===(i=r.data).length?r.parentNode.removeChild(r):r.deleteData(i.length-1,1)),r=n.nextSibling,ba(r)&&(1===(i=r.data).length?r.parentNode.removeChild(r):r.deleteData(0,1))}(t),o&&(Us.remove(o),o=null),i.get().each((function(t){Vo(t.caret).remove(),i.set(p.none())})),je.clearInterval(r)},s=function(){r=je.setInterval((function(){n()?Vo("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden"):Vo("div.mce-visual-caret",t).addClass("mce-visual-caret-hidden")}),500)};return{show:function(n,r){var c,u,l;if(a(),l=r,nt.isElement(l)&&/^(TD|TH)$/i.test(l.tagName))return null;if(!e(r))return o=function(t,e){var n,r,o;if(r=t.ownerDocument.createTextNode(sa),o=t.parentNode,e){if(n=t.previousSibling,la(n)){if(ha(n))return n;if(ya(n))return n.splitText(n.data.length-1)}o.insertBefore(r,t)}else{if(n=t.nextSibling,la(n)){if(ha(n))return n;if(ba(n))return n.splitText(1),n}t.nextSibling?o.insertBefore(r,t.nextSibling):o.appendChild(r)}return r}(r,n),u=r.ownerDocument.createRange(),Gs(o.nextSibling)?(u.setStart(o,0),u.setEnd(o,0)):(u.setStart(o,1),u.setEnd(o,1)),u;o=va("p",r,n),c=$s(t,r,n),Vo(o).css("top",c.top);var d=Vo('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(c).appendTo(t)[0];return i.set(p.some({caret:d,element:r,before:n})),i.get().each((function(t){n&&Vo(t.caret).addClass("mce-visual-caret-before")})),s(),(u=r.ownerDocument.createRange()).setStart(o,0),u.setEnd(o,0),u},hide:a,getCss:function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"},reposition:function(){i.get().each((function(e){var n=$s(t,e.element,e.before);Vo(e.caret).css(j({},n))}))},destroy:function(){return je.clearInterval(r)}}},Js=function(){return Vs.isIE()||Vs.isEdge()||Vs.isFirefox()},Qs=function(t){return Gs(t)||nt.isTable(t)&&Js()},Zs=nt.isContentEditableFalse,tc=nt.matchStyleValues("display","block table table-cell table-caption list-item"),ec=ha,nc=da,rc=nt.isElement,oc=Oa,ic=function(t){return t>0},ac=function(t){return t<0},sc=function(t,e){for(var n;n=t(e);)if(!nc(n))return n;return null},cc=function(t,e,n,r,o){var i=new Go(t,r);if(ac(e)){if((Zs(t)||nc(t))&&n(t=sc(i.prev,!0)))return t;for(;t=sc(i.prev,o);)if(n(t))return t}if(ic(e)){if((Zs(t)||nc(t))&&n(t=sc(i.next,!0)))return t;for(;t=sc(i.next,o);)if(n(t))return t}return null},uc=function(t,e){for(;t&&t!==e;){if(tc(t))return t;t=t.parentNode}return null},lc=function(t,e,n){return uc(t.container(),n)===uc(e.container(),n)},dc=function(t,e){var n,r;return e?(n=e.container(),r=e.offset(),rc(n)?n.childNodes[r+t]:null):null},fc=function(t,e){var n=e.ownerDocument.createRange();return t?(n.setStartBefore(e),n.setEndBefore(e)):(n.setStartAfter(e),n.setEndAfter(e)),n},hc=function(t,e,n){return uc(e,t)===uc(n,t)},pc=function(t,e,n){var r,o;for(o=t?"previousSibling":"nextSibling";n&&n!==e;){if(r=n[o],ec(r)&&(r=r[o]),Zs(r)){if(hc(e,r,n))return r;break}if(oc(r))break;n=n.parentNode}return null},mc=s(fc,!0),gc=s(fc,!1),vc=function(t,e,n){var r,o,i,a,c=s(pc,!0,e),u=s(pc,!1,e);if(o=n.startContainer,i=n.startOffset,da(o)){if(rc(o)||(o=o.parentNode),"before"===(a=o.getAttribute("data-mce-caret"))&&(r=o.nextSibling,Qs(r)))return mc(r);if("after"===a&&(r=o.previousSibling,Qs(r)))return gc(r)}if(!n.collapsed)return n;if(nt.isText(o)){if(ec(o)){if(1===t){if(r=u(o))return mc(r);if(r=c(o))return gc(r)}if(-1===t){if(r=c(o))return gc(r);if(r=u(o))return mc(r)}return n}if(ya(o)&&i>=o.data.length-1)return 1===t&&(r=u(o))?mc(r):n;if(ba(o)&&i<=1)return-1===t&&(r=c(o))?gc(r):n;if(i===o.data.length)return(r=u(o))?mc(r):n;if(0===i)return(r=c(o))?gc(r):n}return n},bc=function(t,e){return p.from(dc(t?0:-1,e)).filter(Zs)},yc=function(t,e,n){var r=vc(t,e,n);return-1===t?ds.fromRangeStart(r):ds.fromRangeEnd(r)},Mc=function(t){return p.from(t.getNode()).map(Ot.fromDom)},_c=function(t,e){for(;e=t(e);)if(e.isVisible())return e;return e},wc=function(t,e){var n=lc(t,e);return!(n||!nt.isBr(t.getNode()))||n};!function(t){t[t.Backwards=-1]="Backwards",t[t.Forwards=1]="Forwards"}(fs||(fs={}));var xc=nt.isContentEditableFalse,Ac=nt.isText,Lc=nt.isElement,Tc=nt.isBr,kc=Oa,Sc=function(t){return Ta(t)||function(t){return!!Ca(t)&&!0!==N(I(t.getElementsByTagName("*")),(function(t,e){return t||_a(e)}),!1)}(t)},Oc=za,Cc=function(t,e){return t.hasChildNodes()&&e<t.childNodes.length?t.childNodes[e]:null},zc=function(t,e){if(ic(t)){if(kc(e.previousSibling)&&!Ac(e.previousSibling))return hs.before(e);if(Ac(e))return hs(e,0)}if(ac(t)){if(kc(e.nextSibling)&&!Ac(e.nextSibling))return hs.after(e);if(Ac(e))return hs(e,e.data.length)}return ac(t)?Tc(e)?hs.before(e):hs.after(e):hs.before(e)},Dc=function(t,e,n){var r,o,a,s,c;if(!Lc(n)||!e)return null;if(e.isEqual(hs.after(n))&&n.lastChild){if(c=hs.after(n.lastChild),ac(t)&&kc(n.lastChild)&&Lc(n.lastChild))return Tc(n.lastChild)?hs.before(n.lastChild):c}else c=e;var u=c.container(),l=c.offset();if(Ac(u)){if(ac(t)&&l>0)return hs(u,--l);if(ic(t)&&l<u.length)return hs(u,++l);r=u}else{if(ac(t)&&l>0&&(o=Cc(u,l-1),kc(o)))return!Sc(o)&&(a=cc(o,t,Oc,o))?Ac(a)?hs(a,a.data.length):hs.after(a):Ac(o)?hs(o,o.data.length):hs.before(o);if(ic(t)&&l<u.childNodes.length&&(o=Cc(u,l),kc(o)))return Tc(o)?function(t,e){var n=e.nextSibling;return n&&kc(n)?Ac(n)?hs(n,0):hs.before(n):Dc(fs.Forwards,hs.after(e),t)}(n,o):!Sc(o)&&(a=cc(o,t,Oc,o))?Ac(a)?hs(a,0):hs.before(a):Ac(o)?hs(o,0):hs.after(o);r=o||c.getNode()}return(ic(t)&&c.isAtEnd()||ac(t)&&c.isAtStart())&&(r=cc(r,t,i(!0),n,!0),Oc(r,n))?zc(t,r):(o=cc(r,t,Oc,n),!(s=nn.last(D(function(t,e){for(var n=[];t&&t!==e;)n.push(t),t=t.parentNode;return n}(u,n),xc)))||o&&s.contains(o)?o?zc(t,o):null:c=ic(t)?hs.after(s):hs.before(s))},Ec=function(t){return{next:function(e){return Dc(fs.Forwards,e,t)},prev:function(e){return Dc(fs.Backwards,e,t)}}},Nc=function(t){return hs.isTextPosition(t)?0===t.offset():Oa(t.getNode())},Bc=function(t){if(hs.isTextPosition(t)){var e=t.container();return t.offset()===e.data.length}return Oa(t.getNode(!0))},Pc=function(t,e){return!hs.isTextPosition(t)&&!hs.isTextPosition(e)&&t.getNode()===e.getNode(!0)},Rc=function(t,e,n){return t?!Pc(e,n)&&(r=e,!(!hs.isTextPosition(r)&&nt.isBr(r.getNode())))&&Bc(e)&&Nc(n):!Pc(n,e)&&Nc(e)&&Bc(n);var r},Yc=function(t,e,n){var r=Ec(e);return p.from(t?r.next(n):r.prev(n))},Wc=function(t,e,n){return Yc(t,e,n).bind((function(r){return lc(n,r,e)&&Rc(t,n,r)?Yc(t,e,r):p.some(r)}))},Hc=function(t,e,n,r){return Wc(t,e,n).bind((function(n){return r(n)?Hc(t,e,n,r):p.some(n)}))},qc=function(t,e){var n,r=t?e.firstChild:e.lastChild;return nt.isText(r)?p.some(hs(r,t?0:r.data.length)):r?Oa(r)?p.some(t?hs.before(r):(n=r,nt.isBr(n)?hs.before(n):hs.after(n))):function(t,e,n){var r=t?hs.before(n):hs.after(n);return Yc(t,e,r)}(t,e,r):p.none()},Ic=s(Yc,!0),jc=s(Yc,!1),Xc={fromPosition:Yc,nextPosition:Ic,prevPosition:jc,navigate:Wc,navigateIgnore:Hc,positionIn:qc,firstPositionIn:s(qc,!0),lastPositionIn:s(qc,!1)},Fc=function(t,e){return nt.isElement(e)&&t.isBlock(e)&&!e.innerHTML&&!Qe.ie&&(e.innerHTML='<br data-mce-bogus="1" />'),e},Uc=function(t,e){return Xc.lastPositionIn(t).fold((function(){return!1}),(function(t){return e.setStart(t.container(),t.offset()),e.setEnd(t.container(),t.offset()),!0}))},Vc=function(t,e,n){return!(!function(t){return!1===t.hasChildNodes()}(e)||!Ps(t,e))&&(function(t,e){var n=t.ownerDocument.createTextNode(sa);t.appendChild(n),e.setStart(n,0),e.setEnd(n,0)}(e,n),!0)},Gc=function(t,e,n,r){var o,i,a,s,c=n[e?"start":"end"],u=t.getRoot();if(c){for(a=c[0],i=u,o=c.length-1;o>=1;o--){if(s=i.childNodes,Vc(u,i,r))return!0;if(c[o]>s.length-1)return!!Vc(u,i,r)||Uc(i,r);i=s[c[o]]}3===i.nodeType&&(a=Math.min(c[0],i.nodeValue.length)),1===i.nodeType&&(a=Math.min(c[0],i.childNodes.length)),e?r.setStart(i,a):r.setEnd(i,a)}return!0},$c=function(t){return nt.isText(t)&&t.data.length>0},Kc=function(t,e,n){var r,o,i,a,s,c,u=t.get(n.id+"_"+e),l=n.keep;if(u){if(r=u.parentNode,"start"===e?(l?u.hasChildNodes()?(r=u.firstChild,o=1):$c(u.nextSibling)?(r=u.nextSibling,o=0):$c(u.previousSibling)?(r=u.previousSibling,o=u.previousSibling.data.length):(r=u.parentNode,o=t.nodeIndex(u)+1):o=t.nodeIndex(u),s=r,c=o):(l?u.hasChildNodes()?(r=u.firstChild,o=1):$c(u.previousSibling)?(r=u.previousSibling,o=u.previousSibling.data.length):(r=u.parentNode,o=t.nodeIndex(u)):o=t.nodeIndex(u),s=r,c=o),!l){for(a=u.previousSibling,i=u.nextSibling,cn.each(cn.grep(u.childNodes),(function(t){nt.isText(t)&&(t.nodeValue=t.nodeValue.replace(/\uFEFF/g,""))}));u=t.get(n.id+"_"+e);)t.remove(u,!0);a&&i&&a.nodeType===i.nodeType&&nt.isText(a)&&!Qe.opera&&(o=a.nodeValue.length,a.appendData(i.nodeValue),t.remove(i),s=a,c=o)}return p.some(hs(s,c))}return p.none()},Jc=function(t,e){var n=t.dom;if(e){if(function(t){return cn.isArray(t.start)}(e))return function(t,e){var n=t.createRng();return Gc(t,!0,e,n)&&Gc(t,!1,e,n)?p.some(n):p.none()}(n,e);if(function(t){return"string"==typeof t.start}(e))return p.some(function(t,e){var n,r;return n=t.createRng(),r=ws(t.getRoot(),e.start),n.setStart(r.container(),r.offset()),r=ws(t.getRoot(),e.end),n.setEnd(r.container(),r.offset()),n}(n,e));if(function(t){return t.hasOwnProperty("id")}(e))return function(t,e){var n=Kc(t,"start",e),r=Kc(t,"end",e);return ja(n,r.or(n),(function(e,n){var r=t.createRng();return r.setStart(Fc(t,e.container()),e.offset()),r.setEnd(Fc(t,n.container()),n.offset()),r}))}(n,e);if(function(t){return t.hasOwnProperty("name")}(e))return function(t,e){return p.from(t.select(e.name)[e.index]).map((function(e){var n=t.createRng();return n.selectNode(e),n}))}(n,e);if(function(t){return t.hasOwnProperty("rng")}(e))return p.some(e.rng)}return p.none()},Qc=function(t,e,n){return Ns.getBookmark(t,e,n)},Zc=function(t,e){Jc(t,e).each((function(e){t.setRng(e)}))},tu=function(t){return nt.isElement(t)&&"SPAN"===t.tagName&&"bookmark"===t.getAttribute("data-mce-type")},eu=function(t){return t&&/^(IMG)$/.test(t.nodeName)},nu=function(t){return t&&3===t.nodeType&&/^([\t \r\n]+|)$/.test(t.nodeValue)},ru=function(t,e,n){return"color"!==n&&"backgroundColor"!==n||(e=t.toHex(e)),"fontWeight"===n&&700===e&&(e="bold"),"fontFamily"===n&&(e=e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+e},ou={isInlineBlock:eu,moveStart:function(t,e,n){var r,o,i,a=n.startOffset,s=n.startContainer;if((n.startContainer!==n.endContainer||!eu(n.startContainer.childNodes[n.startOffset]))&&1===s.nodeType)for(a<(i=s.childNodes).length?(s=i[a],r=new Go(s,t.getParent(s,t.isBlock))):(s=i[i.length-1],(r=new Go(s,t.getParent(s,t.isBlock))).next(!0)),o=r.current();o;o=r.next())if(3===o.nodeType&&!nu(o))return n.setStart(o,0),void e.setRng(n)},getNonWhiteSpaceSibling:function(t,e,n){if(t)for(e=e?"nextSibling":"previousSibling",t=n?t:t[e];t;t=t[e])if(1===t.nodeType||!nu(t))return t},isTextBlock:function(t,e){return e.nodeType&&(e=e.nodeName),!!t.schema.getTextBlockElements()[e.toLowerCase()]},isValid:function(t,e,n){return t.schema.isValidChild(e,n)},isWhiteSpaceNode:nu,replaceVars:function(t,e){return"string"!=typeof t?t=t(e):e&&(t=t.replace(/%(\w+)/g,(function(t,n){return e[n]||t}))),t},isEq:function(t,e){return e=e||"",t=""+((t=t||"").nodeName||t),e=""+(e.nodeName||e),t.toLowerCase()===e.toLowerCase()},normalizeStyleValue:ru,getStyle:function(t,e,n){return ru(t,t.getStyle(e,n),n)},getTextDecoration:function(t,e){var n;return t.getParent(e,(function(e){return(n=t.getStyle(e,"text-decoration"))&&"none"!==n})),n},getParents:function(t,e,n){return t.getParents(e,n,t.getRoot())}},iu=tu,au=ou.getParents,su=ou.isWhiteSpaceNode,cu=ou.isTextBlock,uu=function(t,e){for(void 0===e&&(e=3===t.nodeType?t.length:t.childNodes.length);t&&t.hasChildNodes();)(t=t.childNodes[e])&&(e=3===t.nodeType?t.length:t.childNodes.length);return{node:t,offset:e}},lu=function(t,e){for(var n=e;n;){if(1===n.nodeType&&t.getContentEditable(n))return"false"===t.getContentEditable(n)?n:e;n=n.parentNode}return e},du=function(t,e,n,r){var o,i,a=n.nodeValue;return void 0===r&&(r=t?a.length:0),t?-1!==(o=(o=a.lastIndexOf(" ",r))>(i=a.lastIndexOf(" ",r))?o:i)&&!e&&(o<r||!t)&&o<=a.length&&o++:(o=a.indexOf(" ",r),i=a.indexOf(" ",r),o=-1!==o&&(-1===i||o<i)?o:i),o},fu=function(t,e,n,r,o,i){var a,s,c;if(3===n.nodeType){if(-1!==(s=du(o,i,n,r)))return{container:n,offset:s};c=n}for(var u=new Go(n,t.getParent(n,t.isBlock)||e);a=u[o?"prev":"next"]();)if(3!==a.nodeType||iu(a.parentNode)){if(t.isBlock(a)||ou.isEq(a,"BR"))break}else if(c=a,-1!==(s=du(o,i,a)))return{container:a,offset:s};if(c)return{container:c,offset:r=o?0:c.length}},hu=function(t,e,n,r,o){var i,a,s,c;for(3===r.nodeType&&0===r.nodeValue.length&&r[o]&&(r=r[o]),i=au(t,r),a=0;a<i.length;a++)for(s=0;s<e.length;s++)if((!("collapsed"in(c=e[s]))||c.collapsed===n.collapsed)&&t.is(i[a],c.selector))return i[a];return r},pu=function(t,e,n,r){var o,i=t.dom,a=i.getRoot();if(e[0].wrapper||(o=i.getParent(n,e[0].block,a)),!o){var s=i.getParent(n,"LI,TD,TH");o=i.getParent(3===n.nodeType?n.parentNode:n,(function(e){return e!==a&&cu(t,e)}),s)}if(o&&e[0].wrapper&&(o=au(i,o,"ul,ol").reverse()[0]||o),!o)for(o=n;o[r]&&!i.isBlock(o[r])&&(o=o[r],!ou.isEq(o,"br")););return o||n},mu=function(t,e,n,r,o,i,a){var s,c,u,l,d,f;if(s=c=a?n:o,l=a?"previousSibling":"nextSibling",d=t.getRoot(),3===s.nodeType&&!su(s)&&(a?r>0:i<s.nodeValue.length))return s;for(;;){if(!e[0].block_expand&&t.isBlock(c))return c;for(u=c[l];u;u=u[l])if(!iu(u)&&!su(u)&&("BR"!==(f=u).nodeName||!f.getAttribute("data-mce-bogus")||f.nextSibling))return c;if(c===d||c.parentNode===d){s=c;break}c=c.parentNode}return s},gu=function(t,e,n,r){var o,i=e.startContainer,a=e.startOffset,s=e.endContainer,c=e.endOffset,u=t.dom;return 1===i.nodeType&&i.hasChildNodes()&&3===(i=Ha(i,a)).nodeType&&(a=0),1===s.nodeType&&s.hasChildNodes()&&3===(s=Ha(s,e.collapsed?c:c-1)).nodeType&&(c=s.nodeValue.length),i=lu(u,i),s=lu(u,s),(iu(i.parentNode)||iu(i))&&(i=iu(i)?i:i.parentNode,3===(i=e.collapsed?i.previousSibling||i:i.nextSibling||i).nodeType&&(a=e.collapsed?i.length:0)),(iu(s.parentNode)||iu(s))&&(s=iu(s)?s:s.parentNode,3===(s=e.collapsed?s.nextSibling||s:s.previousSibling||s).nodeType&&(c=e.collapsed?0:s.length)),e.collapsed&&((o=fu(u,t.getBody(),i,a,!0,r))&&(i=o.container,a=o.offset),(o=fu(u,t.getBody(),s,c,!1,r))&&(s=o.container,c=o.offset)),n[0].inline&&(s=r?s:function(t,e){var n=uu(t,e);if(n.node){for(;n.node&&0===n.offset&&n.node.previousSibling;)n=uu(n.node.previousSibling);n.node&&n.offset>0&&3===n.node.nodeType&&" "===n.node.nodeValue.charAt(n.offset-1)&&n.offset>1&&(t=n.node).splitText(n.offset-1)}return t}(s,c)),(n[0].inline||n[0].block_expand)&&(n[0].inline&&3===i.nodeType&&0!==a||(i=mu(u,n,i,a,s,c,!0)),n[0].inline&&3===s.nodeType&&c!==s.nodeValue.length||(s=mu(u,n,i,a,s,c,!1))),n[0].selector&&!1!==n[0].expand&&!n[0].inline&&(i=hu(u,n,e,i,"previousSibling"),s=hu(u,n,e,s,"nextSibling")),(n[0].block||n[0].selector)&&(i=pu(t,n,i,"previousSibling"),s=pu(t,n,s,"nextSibling"),n[0].block&&(u.isBlock(i)||(i=mu(u,n,i,a,s,c,!0)),u.isBlock(s)||(s=mu(u,n,i,a,s,c,!1)))),1===i.nodeType&&(a=u.nodeIndex(i),i=i.parentNode),1===s.nodeType&&(c=u.nodeIndex(s)+1,s=s.parentNode),{startContainer:i,startOffset:a,endContainer:s,endOffset:c}},vu=cn.each,bu=function(t,e,n){var r,o,i,a,s,c,u,l=e.startContainer,d=e.startOffset,f=e.endContainer,h=e.endOffset;if((u=t.select("td[data-mce-selected],th[data-mce-selected]")).length>0)vu(u,(function(t){n([t])}));else{var p,m,g,v=function(t){var e;return 3===(e=t[0]).nodeType&&e===l&&d>=e.nodeValue.length&&t.splice(0,1),e=t[t.length-1],0===h&&t.length>0&&e===f&&3===e.nodeType&&t.splice(t.length-1,1),t},b=function(t,e,n){for(var r=[];t&&t!==n;t=t[e])r.push(t);return r},y=function(t,e){do{if(t.parentNode===e)return t;t=t.parentNode}while(t)},M=function(t,e,r){var o=r?"nextSibling":"previousSibling";for(s=(a=t).parentNode;a&&a!==e;a=s)s=a.parentNode,(c=b(a===t?a:a[o],o)).length&&(r||c.reverse(),n(v(c)))};if(1===l.nodeType&&l.hasChildNodes()&&(l=l.childNodes[d]),1===f.nodeType&&f.hasChildNodes()&&(m=h,g=(p=f).childNodes,--m>g.length-1?m=g.length-1:m<0&&(m=0),f=g[m]||p),l===f)return n(v([l]));for(r=t.findCommonAncestor(l,f),a=l;a;a=a.parentNode){if(a===f)return M(l,r,!0);if(a===r)break}for(a=f;a;a=a.parentNode){if(a===l)return M(f,r);if(a===r)break}o=y(l,r)||l,i=y(f,r)||f,M(l,o,!0),(c=b(o===l?o:o.nextSibling,"nextSibling",i===f?i.nextSibling:i)).length&&n(v(c)),M(f,i)}};var yu=function(t,e){var n=function(e){return t(e)?p.from(e.dom().nodeValue):p.none()};return{get:function(r){if(!t(r))throw new Error("Can only get "+e+" value of a "+e+" node");return n(r).getOr("")},getOption:n,set:function(n,r){if(!t(n))throw new Error("Can only set raw "+e+" value of a "+e+" node");n.dom().nodeValue=r}}}(Pt,"text"),Mu=function(t){return yu.get(t)},_u=function(t,e,n,r){return he(e).fold((function(){return"skipping"}),(function(o){return"br"===r||function(t){return Pt(t)&&"\ufeff"===Mu(t)}(e)?"valid":function(t){return Bt(t)&&Wi(t,Gi())}(e)?"existing":Bs(e)?"caret":ou.isValid(t,n,r)&&ou.isValid(t,Et(o),n)?"valid":"invalid-child"}))},wu=function(t,e,n,r){var o,i,a=e.uid,s=void 0===a?(o="mce-annotation",i=(new Date).getTime(),o+"_"+Math.floor(1e9*Math.random())+ ++ea+String(i)):a,c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(e,["uid"]),u=Ot.fromTag("span",t);Ri(u,Gi()),Gt(u,""+Ki(),s),Gt(u,""+$i(),n);var l=r(s,c),d=l.attributes,f=void 0===d?{}:d,h=l.classes,p=void 0===h?[]:h;return $t(u,f),function(t,e){C(e,(function(e){Ri(t,e)}))}(u,p),u},xu=function(t,e,n,r,o){var i=[],a=wu(t.getDoc(),o,n,r),s=rt(p.none()),c=function(){s.set(p.none())},u=function(t){C(t,l)},l=function(e){switch(_u(t,e,"span",Et(e))){case"invalid-child":c();var n=be(e);u(n),c();break;case"valid":!function(t,e){$o(t,e),Qo(e,t)}(e,s.get().getOrThunk((function(){var t=ra(a);return i.push(t),s.set(p.some(t)),t})))}};return bu(t.dom,e,(function(t){c(),function(t){var e=O(t,Ot.fromDom);u(e)}(t)})),i},Au=function(t,e,n,r){t.undoManager.transact((function(){var o=t.selection.getRng();if(o.collapsed&&function(t,e){var n=gu(t,e,[{inline:!0}],function(t){return 3===t.startContainer.nodeType&&t.startContainer.nodeValue.length>=t.startOffset&&" "===t.startContainer.nodeValue[t.startOffset]}(e));e.setStart(n.startContainer,n.startOffset),e.setEnd(n.endContainer,n.endOffset),t.selection.setRng(e)}(t,o),t.selection.getRng().collapsed){var i=wu(t.getDoc(),r,e,n.decorate);ia(i," "),t.selection.getRng().insertNode(i.dom()),t.selection.select(i.dom())}else{var a=Ns.getPersistentBookmark(t.selection,!1),s=t.selection.getRng();xu(t,s,e,n.decorate,r),t.selection.moveToBookmark(a)}}))},Lu=function(t){var e,n=(e={},{register:function(t,n){e[t]={name:t,settings:n}},lookup:function(t){return e.hasOwnProperty(t)?p.from(e[t]).map((function(t){return t.settings})):p.none()}});ta(t,n);var r=Zi(t);return{register:function(t,e){n.register(t,e)},annotate:function(e,r){n.lookup(e).each((function(n){Au(t,e,n,r)}))},annotationChanged:function(t,e){r.addListener(t,e)},remove:function(e){Ji(t,p.some(e)).each((function(t){var e=t.elements;C(e,ni)}))},getAll:function(e){var n=function(t,e){var n=Ot.fromDom(t.getBody()),r=qi(n,"["+$i()+'="'+e+'"]'),o={};return C(r,(function(t){var e=Kt(t,Ki()),n=o.hasOwnProperty(e)?o[e]:[];o[e]=n.concat([t])})),o}(t,e);return Ht(n,(function(t){return O(t,(function(t){return t.dom()}))}))}}},Tu=/^[ \t\r\n]*$/,ku={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Su=function(t,e,n){var r=n?"lastChild":"firstChild",o=n?"prev":"next";if(t[r])return t[r];if(t!==e){var i=t[o];if(i)return i;for(var a=t.parent;a&&a!==e;a=a.parent)if(i=a[o])return i}},Ou=function(){function t(t,e){this.name=t,this.type=e,1===e&&(this.attributes=[],this.attributes.map={})}return t.create=function(e,n){var r=new t(e,ku[e]||1);if(n)for(var o in n)r.attr(o,n[o]);return r},t.prototype.replace=function(t){return t.parent&&t.remove(),this.insert(t,this),this.remove(),this},t.prototype.attr=function(t,e){var n;if("string"!=typeof t){for(var r in t)this.attr(r,t[r]);return this}if(n=this.attributes){if(void 0!==e){if(null===e){if(t in n.map){delete n.map[t];for(var o=n.length;o--;)if(n[o].name===t)return n.splice(o,1),this}return this}if(t in n.map){for(o=n.length;o--;)if(n[o].name===t){n[o].value=e;break}}else n.push({name:t,value:e});return n.map[t]=e,this}return n.map[t]}},t.prototype.clone=function(){var e,n=new t(this.name,this.type);if(e=this.attributes){var r=[];r.map={};for(var o=0,i=e.length;o<i;o++){var a=e[o];"id"!==a.name&&(r[r.length]={name:a.name,value:a.value},r.map[a.name]=a.value)}n.attributes=r}return n.value=this.value,n.shortEnded=this.shortEnded,n},t.prototype.wrap=function(t){return this.parent.insert(t,this),t.append(this),this},t.prototype.unwrap=function(){for(var t=this.firstChild;t;){var e=t.next;this.insert(t,this,!0),t=e}this.remove()},t.prototype.remove=function(){var t=this.parent,e=this.next,n=this.prev;return t&&(t.firstChild===this?(t.firstChild=e,e&&(e.prev=null)):n.next=e,t.lastChild===this?(t.lastChild=n,n&&(n.next=null)):e.prev=n,this.parent=this.next=this.prev=null),this},t.prototype.append=function(t){t.parent&&t.remove();var e=this.lastChild;return e?(e.next=t,t.prev=e,this.lastChild=t):this.lastChild=this.firstChild=t,t.parent=this,t},t.prototype.insert=function(t,e,n){t.parent&&t.remove();var r=e.parent||this;return n?(e===r.firstChild?r.firstChild=t:e.prev.next=t,t.prev=e.prev,t.next=e,e.prev=t):(e===r.lastChild?r.lastChild=t:e.next.prev=t,t.next=e.next,t.prev=e,e.next=t),t.parent=r,t},t.prototype.getAll=function(t){for(var e=[],n=this.firstChild;n;n=Su(n,this))n.name===t&&e.push(n);return e},t.prototype.empty=function(){if(this.firstChild){for(var t=[],e=this.firstChild;e;e=Su(e,this))t.push(e);for(var n=t.length;n--;){(e=t[n]).parent=e.firstChild=e.lastChild=e.next=e.prev=null}}return this.firstChild=this.lastChild=null,this},t.prototype.isEmpty=function(t,e,n){void 0===e&&(e={});var r=this.firstChild;if(r)do{if(1===r.type){if(r.attr("data-mce-bogus"))continue;if(t[r.name])return!1;for(var o=r.attributes.length;o--;){var i=r.attributes[o].name;if("name"===i||0===i.indexOf("data-mce-bookmark"))return!1}}if(8===r.type)return!1;if(3===r.type&&!Tu.test(r.value))return!1;if(3===r.type&&r.parent&&e[r.parent.name]&&Tu.test(r.value))return!1;if(n&&n(r))return!1}while(r=Su(r,this));return!0},t.prototype.walk=function(t){return Su(this,null,t)},t}(),Cu=function(t){return t.replace(/<!--|-->/g,"")},zu=function(t,e,n){var r,o,i,a,s=1;for(a=t.getShortEndedElements(),(i=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g).lastIndex=r=n;o=i.exec(e);){if(r=i.lastIndex,"/"===o[1])s--;else if(!o[1]){if(o[2]in a)continue;s++}if(0===s)break}return r},Du=function(t,e){var n=t.exec(e);if(n){var r=n[1],o=n[2];return"string"==typeof r&&"data-mce-bogus"===r.toLowerCase()?o:null}return null};function Eu(t,e){void 0===e&&(e=Gn());var n=function(){};!1!==(t=t||{}).fix_self_closing&&(t.fix_self_closing=!0);var r=t.comment?t.comment:n,o=t.cdata?t.cdata:n,i=t.text?t.text:n,a=t.start?t.start:n,s=t.end?t.end:n,c=t.pi?t.pi:n,u=t.doctype?t.doctype:n;return{parse:function(n){var l,d,f,h,p,m,g,v,b,y,M,_,w,x,A,L,T,k,S,O,C,z,D,E,N,B,P,R,Y,W=0,H=[],q=0,I=Yn.decode,j=cn.makeMap("src,href,data,background,formaction,poster,xlink:href"),X=/((java|vb)script|mhtml):/i,F=function(t){var e,n;for(e=H.length;e--&&H[e].name!==t;);if(e>=0){for(n=H.length-1;n>=e;n--)(t=H[n]).valid&&s(t.name);H.length=e}},U=function(e,n,r,o,i){var a,s;if(r=(n=n.toLowerCase())in M?n:I(r||o||i||""),w&&!v&&!1===function(t){return 0===t.indexOf("data-")||0===t.indexOf("aria-")}(n)){if(!(a=k[n])&&S){for(s=S.length;s--&&!(a=S[s]).pattern.test(n););-1===s&&(a=null)}if(!a)return;if(a.validValues&&!(r in a.validValues))return}if(j[n]&&!t.allow_script_urls){var c=r.replace(/[\s\u0000-\u001F]+/g,"");try{c=decodeURIComponent(c)}catch(t){c=unescape(c)}if(X.test(c))return;if(function(t,e){return!t.allow_html_data_urls&&(/^data:image\//i.test(e)?!1===t.allow_svg_data_urls&&/^data:image\/svg\+xml/i.test(e):/^data:/i.test(e))}(t,c))return}v&&(n in j||0===n.indexOf("on"))||(h.map[n]=r,h.push({name:n,value:r}))};for(N=new RegExp("<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),B=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,y=e.getShortEndedElements(),E=t.self_closing_elements||e.getSelfClosingElements(),M=e.getBoolAttrs(),w=t.validate,b=t.remove_internals,Y=t.fix_self_closing,P=e.getSpecialElements(),D=n+">";l=N.exec(D);){if(W<l.index&&i(I(n.substr(W,l.index-W))),d=l[6])":"===(d=d.toLowerCase()).charAt(0)&&(d=d.substr(1)),F(d);else if(d=l[7]){if(l.index+l[0].length>n.length){i(I(n.substr(l.index))),W=l.index+l[0].length;continue}":"===(d=d.toLowerCase()).charAt(0)&&(d=d.substr(1)),_=d in y,Y&&E[d]&&H.length>0&&H[H.length-1].name===d&&F(d);var V=Du(B,l[8]);if(null!==V){if("all"===V){W=zu(e,n,N.lastIndex),N.lastIndex=W;continue}A=!1}if(!w||(x=e.getElementRule(d))){if(A=!0,w&&(k=x.attributes,S=x.attributePatterns),(T=l[8])?((v=-1!==T.indexOf("data-mce-type"))&&b&&(A=!1),(h=[]).map={},T.replace(B,U)):(h=[]).map={},w&&!v){if(O=x.attributesRequired,C=x.attributesDefault,z=x.attributesForced,x.removeEmptyAttrs&&!h.length&&(A=!1),z)for(p=z.length;p--;)g=(L=z[p]).name,"{$uid}"===(R=L.value)&&(R="mce_"+q++),h.map[g]=R,h.push({name:g,value:R});if(C)for(p=C.length;p--;)(g=(L=C[p]).name)in h.map||("{$uid}"===(R=L.value)&&(R="mce_"+q++),h.map[g]=R,h.push({name:g,value:R}));if(O){for(p=O.length;p--&&!(O[p]in h.map););-1===p&&(A=!1)}if(L=h.map["data-mce-bogus"]){if("all"===L){W=zu(e,n,N.lastIndex),N.lastIndex=W;continue}A=!1}}A&&a(d,h,_)}else A=!1;if(f=P[d]){f.lastIndex=W=l.index+l[0].length,(l=f.exec(n))?(A&&(m=n.substr(W,l.index-W)),W=l.index+l[0].length):(m=n.substr(W),W=n.length),A&&(m.length>0&&i(m,!0),s(d)),N.lastIndex=W;continue}_||(T&&T.indexOf("/")===T.length-1?A&&s(d):H.push({name:d,valid:A}))}else(d=l[1])?(">"===d.charAt(0)&&(d=" "+d),t.allow_conditional_comments||"[if"!==d.substr(0,3).toLowerCase()||(d=" "+d),r(d)):(d=l[2])?o(Cu(d)):(d=l[3])?u(d):(d=l[4])&&c(d,l[5]);W=l.index+l[0].length}for(W<n.length&&i(I(n.substr(W))),p=H.length-1;p>=0;p--)(d=H[p]).valid&&s(d.name)}}}!function(t){t.findEndTag=zu}(Eu||(Eu={}));var Nu,Bu=Eu,Pu=function(t,e){var n,r,o,i,a,s=e,c=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,u=t.schema;for(s=function(t,e){var n=new RegExp(["\\s?("+t.join("|")+')="[^"]+"'].join("|"),"gi");return e.replace(n,"")}(t.getTempAttrs(),s),a=u.getShortEndedElements();i=c.exec(s);)r=c.lastIndex,o=i[0].length,n=a[i[1]]?r:Bu.findEndTag(u,s,r),s=s.substring(0,r-o)+s.substring(n),c.lastIndex=r-o;return ca(s)},Ru=Pu,Yu={trimExternal:Ru,trimInternal:Pu},Wu=function(t,e,n){var r=t.getParam(e,n);if(-1!==r.indexOf("=")){var o=t.getParam(e,"","hash");return o.hasOwnProperty(t.id)?o[t.id]:n}return r},Hu=function(t){return t.getParam("iframe_attrs",{})},qu=function(t){return t.getParam("doctype","<!DOCTYPE html>")},Iu=function(t){return t.getParam("document_base_url","")},ju=function(t){return Wu(t,"body_id","tinymce")},Xu=function(t){return Wu(t,"body_class","")},Fu=function(t){return t.getParam("content_security_policy","")},Uu=function(t){return t.getParam("br_in_pre",!0)},Vu=function(t){if(t.getParam("force_p_newlines",!1))return"p";var e=t.getParam("forced_root_block","p");return!1===e?"":!0===e?"p":e},Gu=function(t){return t.getParam("forced_root_block_attrs",{})},$u=function(t){return t.getParam("br_newline_selector",".mce-toc h2,figcaption,caption")},Ku=function(t){return t.getParam("no_newline_selector","")},Ju=function(t){return t.getParam("keep_styles",!0)},Qu=function(t){return t.getParam("end_container_on_empty_block",!1)},Zu=function(t){return cn.explode(t.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))},tl=function(t){return cn.explode(t.getParam("font_size_classes",""))},el=function(t){return t.getParam("icons","","string")},nl=function(t){return t.getParam("icons_url","","string")},rl=function(t){return t.getParam("images_dataimg_filter",i(!0),"function")},ol=function(t){return t.getParam("automatic_uploads",!0,"boolean")},il=function(t){return t.getParam("images_reuse_filename",!1,"boolean")},al=function(t){return t.getParam("images_replace_blob_uris",!0,"boolean")},sl=function(t){return t.getParam("images_upload_url","","string")},cl=function(t){return t.getParam("images_upload_base_path","","string")},ul=function(t){return t.getParam("images_upload_credentials",!1,"boolean")},ll=function(t){return t.getParam("images_upload_handler",null,"function")},dl=function(t){return t.getParam("content_css_cors",!1,"boolean")},fl=function(t){return t.getParam("referrer_policy","","string")},hl=function(t){return t.getParam("language","en","string")},pl=function(t){return t.getParam("language_url","","string")},ml=function(t){return t.getParam("indent_use_margin",!1)},gl=function(t){return t.getParam("indentation","40px","string")},vl=function(t){var e=t.settings.content_css;return g(e)?O(e.split(","),bt):b(e)?e:!1===e||t.inline?[]:["default"]},bl=function(t){return t.getParam("directionality",Si.isRtl()?"rtl":void 0)},yl=function(t){return t.getParam("inline_boundaries_selector","a[href],code,.mce-annotation","string")},Ml=function(t,e,n){var r;if(e.format=e.format?e.format:"html",e.get=!0,e.getInner=!0,e.no_events||t.fire("BeforeGetContent",e),"raw"===e.format)r=cn.trim(Yu.trimExternal(t.serializer,n.innerHTML));else if("text"===e.format)r=ca(n.innerText||n.textContent);else{if("tree"===e.format)return t.serializer.serialize(n,e);r=function(t,e){var n=Vu(t),r=new RegExp("^(<"+n+"[^>]*>( | |\\s| |<br \\/>|)<\\/"+n+">[\r\n]*|<br \\/>[\r\n]*)$");return e.replace(r,"")}(t,t.serializer.serialize(n,e))}return"text"===e.format||An(Ot.fromDom(n))?e.content=r:e.content=cn.trim(r),e.no_events||t.fire("GetContent",e),e.content},_l=cn.makeMap,wl=function(t){var e,n,r,o,i,a=[];return e=(t=t||{}).indent,n=_l(t.indent_before||""),r=_l(t.indent_after||""),o=Yn.getEncodeFunc(t.entity_encoding||"raw",t.entities),i="html"===t.element_format,{start:function(t,s,c){var u,l,d,f;if(e&&n[t]&&a.length>0&&(f=a[a.length-1]).length>0&&"\n"!==f&&a.push("\n"),a.push("<",t),s)for(u=0,l=s.length;u<l;u++)d=s[u],a.push(" ",d.name,'="',o(d.value,!0),'"');a[a.length]=!c||i?">":" />",c&&e&&r[t]&&a.length>0&&(f=a[a.length-1]).length>0&&"\n"!==f&&a.push("\n")},end:function(t){var n;a.push("</",t,">"),e&&r[t]&&a.length>0&&(n=a[a.length-1]).length>0&&"\n"!==n&&a.push("\n")},text:function(t,e){t.length>0&&(a[a.length]=e?t:o(t))},cdata:function(t){a.push("<![CDATA[",t,"]]>")},comment:function(t){a.push("\x3c!--",t,"--\x3e")},pi:function(t,n){n?a.push("<?",t," ",o(n),"?>"):a.push("<?",t,"?>"),e&&a.push("\n")},doctype:function(t){a.push("<!DOCTYPE",t,">",e?"\n":"")},reset:function(){a.length=0},getContent:function(){return a.join("").replace(/\n$/,"")}}},xl=function(t,e){void 0===e&&(e=Gn());var n=wl(t);(t=t||{}).validate=!("validate"in t)||t.validate;return{serialize:function(r){var o,i;i=t.validate,o={3:function(t){n.text(t.value,t.raw)},8:function(t){n.comment(t.value)},7:function(t){n.pi(t.name,t.value)},10:function(t){n.doctype(t.value)},4:function(t){n.cdata(t.value)},11:function(t){if(t=t.firstChild)do{a(t)}while(t=t.next)}},n.reset();var a=function(t){var r,s,c,u,l,d,f,h,p,m=o[t.type];if(m)m(t);else{if(r=t.name,s=t.shortEnded,c=t.attributes,i&&c&&c.length>1&&((d=[]).map={},p=e.getElementRule(t.name))){for(f=0,h=p.attributesOrder.length;f<h;f++)(u=p.attributesOrder[f])in c.map&&(l=c.map[u],d.map[u]=l,d.push({name:u,value:l}));for(f=0,h=c.length;f<h;f++)(u=c[f].name)in d.map||(l=c.map[u],d.map[u]=l,d.push({name:u,value:l}));c=d}if(n.start(t.name,c,s),!s){if(t=t.firstChild)do{a(t)}while(t=t.next);n.end(r)}}};return 1!==r.type||t.inner?o[11](r):a(r),n.getContent()}}},Al=function(t,e){e(t),t.firstChild&&Al(t.firstChild,e),t.next&&Al(t.next,e)},Ll=function(t,e,n){var r=function(t,e,n){var r={},o={},i=[];for(var a in n.firstChild&&Al(n.firstChild,(function(n){C(t,(function(t){t.name===n.name&&(r[t.name]?r[t.name].nodes.push(n):r[t.name]={filter:t,nodes:[n]})})),C(e,(function(t){"string"==typeof n.attr(t.name)&&(o[t.name]?o[t.name].nodes.push(n):o[t.name]={filter:t,nodes:[n]})}))})),r)r.hasOwnProperty(a)&&i.push(r[a]);for(var a in o)o.hasOwnProperty(a)&&i.push(o[a]);return i}(t,e,n);C(r,(function(t){C(t.filter.callbacks,(function(e){e(t.nodes,t.filter.name,{})}))}))},Tl=function(t){var e=de(t).dom();return t.dom()===e.activeElement},kl=function(t){var e=void 0!==t?t.dom():n.document;return p.from(e.activeElement).map(Ot.fromDom)},Sl=function(t){if(!b(t))throw new Error("cases must be an array");if(0===t.length)throw new Error("there must be at least one case");var e=[],r={};return C(t,(function(o,i){var a=Rt(o);if(1!==a.length)throw new Error("one and only one name per case");var s=a[0],c=o[s];if(void 0!==r[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!b(c))throw new Error("case arguments must be an array");e.push(s),r[s]=function(){var r=arguments.length;if(r!==c.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+c.length+" ("+c+"), got "+r);for(var o=new Array(r),a=0;a<o.length;a++)o[a]=arguments[a];var u=function(t){var n=Rt(t);if(e.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+e.join(",")+"\nActual: "+n.join(","));if(!Y(e,(function(t){return k(n,t)})))throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+e.join(", "));return t[s].apply(null,o)};return{fold:function(){if(arguments.length!==t.length)throw new Error("Wrong number of arguments to fold. Expected "+t.length+", got "+arguments.length);var e=arguments[i];return e.apply(null,o)},match:u,log:function(t){n.console.log(t,{constructors:e,constructor:s,params:o})}}}})),r},Ol={create:ee("start","soffset","finish","foffset")},Cl=Sl([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),zl=(Cl.before,Cl.on,Cl.after,function(t){return t.fold(a,a,a)}),Dl=Sl([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),El={domRange:Dl.domRange,relative:Dl.relative,exact:Dl.exact,exactFromRange:function(t){return Dl.exact(t.start(),t.soffset(),t.finish(),t.foffset())},getWin:function(t){var e=function(t){return t.match({domRange:function(t){return Ot.fromDom(t.startContainer)},relative:function(t,e){return zl(t)},exact:function(t,e,n,r){return t}})}(t);return fe(e)},range:Ol.create},Nl=kt().browser,Bl=function(t,e){var n=Pt(e)?Mu(e).length:be(e).length+1;return t>n?n:t<0?0:t},Pl=function(t){return El.range(t.start(),Bl(t.soffset(),t.start()),t.finish(),Bl(t.foffset(),t.finish()))},Rl=function(t,e){return!nt.isRestrictedNode(e.dom())&&(le(t,e)||ue(t,e))},Yl=function(t){return function(e){return Rl(t,e.start())&&Rl(t,e.finish())}},Wl=function(t){return!0===t.inline||Nl.isIE()},Hl=function(t){return El.range(Ot.fromDom(t.startContainer),t.startOffset,Ot.fromDom(t.endContainer),t.endOffset)},ql=function(t){var e=t.getSelection();return(e&&0!==e.rangeCount?p.from(e.getRangeAt(0)):p.none()).map(Hl)},Il=function(t){var e=fe(t);return ql(e.dom()).filter(Yl(t))},jl=function(t,e){return p.from(e).filter(Yl(t)).map(Pl)},Xl=function(t){var e=n.document.createRange();try{return e.setStart(t.start().dom(),t.soffset()),e.setEnd(t.finish().dom(),t.foffset()),p.some(e)}catch(t){return p.none()}},Fl=function(t){return(t.bookmark?t.bookmark:p.none()).bind((function(e){return jl(Ot.fromDom(t.getBody()),e)})).bind(Xl)},Ul=function(t){var e=Wl(t)?Il(Ot.fromDom(t.getBody())):p.none();t.bookmark=e.isSome()?e:t.bookmark},Vl=function(t){Fl(t).each((function(e){t.selection.setRng(e)}))},Gl=Fl,$l={isEditorUIElement:function(t){var e=t.className.toString();return-1!==e.indexOf("tox-")||-1!==e.indexOf("mce-")}},Kl=function(t,e){kt().browser.isIE()?function(t){t.on("focusout",(function(){Ul(t)}))}(t):function(t,e){t.on("mouseup touchend",(function(t){e.throttle()}))}(t,e),t.on("keyup NodeChange",(function(e){(function(t){return"nodechange"===t.type&&t.selectionChange})(e)||Ul(t)}))},Jl=function(t){var e=Di((function(){Ul(t)}),0);t.on("init",(function(){t.inline&&function(t,e){var r=function(){e.throttle()};_i.DOM.bind(n.document,"mouseup",r),t.on("remove",(function(){_i.DOM.unbind(n.document,"mouseup",r)}))}(t,e),Kl(t,e)})),t.on("remove",(function(){e.cancel()}))},Ql=_i.DOM,Zl=function(t){return $l.isEditorUIElement(t)},td=function(t,e){var n=t?t.settings.custom_ui_selector:"";return null!==Ql.getParent(e,(function(e){return Zl(e)||!!n&&t.dom.is(e,n)}))},ed=function(t,e){var r=e.editor;Jl(r),r.on("focusin",(function(){var e=t.focusedEditor;e!==this&&(e&&e.fire("blur",{focusedEditor:this}),t.setActive(this),t.focusedEditor=this,this.fire("focus",{blurredEditor:e}),this.focus(!0))})),r.on("focusout",(function(){var e=this;je.setEditorTimeout(e,(function(){var r=t.focusedEditor;td(e,function(){try{return n.document.activeElement}catch(t){return n.document.body}}())||r!==e||(e.fire("blur",{focusedEditor:null}),t.focusedEditor=null)}))})),Nu||(Nu=function(e){var r,o=t.activeEditor;r=e.target,o&&r.ownerDocument===n.document&&(r===n.document.body||td(o,r)||t.focusedEditor!==o||(o.fire("blur",{focusedEditor:null}),t.focusedEditor=null))},Ql.bind(n.document,"focusin",Nu))},nd=function(t,e){t.focusedEditor===e.editor&&(t.focusedEditor=null),t.activeEditor||(Ql.unbind(n.document,"focusin",Nu),Nu=null)},rd=function(t){t.on("AddEditor",s(ed,t)),t.on("RemoveEditor",s(nd,t))},od=function(t){var e=t.classList;return void 0!==e&&(e.contains("tox-edit-area")||e.contains("tox-edit-area__iframe")||e.contains("mce-content-body"))},id=td,ad=function(t,e){return function(t){return t.collapsed?p.from(Ha(t.startContainer,t.startOffset)).map(Ot.fromDom):p.none()}(e).bind((function(e){return wn(e)?p.some(e):!1===le(t,e)?p.some(t):p.none()}))},sd=function(t,e){ad(Ot.fromDom(t.getBody()),e).bind((function(t){return Xc.firstPositionIn(t.dom())})).fold((function(){t.selection.normalize()}),(function(e){return t.selection.setRng(e.toRange())}))},cd=function(t){if(t.setActive)try{t.setActive()}catch(e){t.focus()}else t.focus()},ud=function(t){return Tl(t)||(e=t,kl(de(e)).filter((function(t){return e.dom().contains(t.dom())}))).isSome();var e},ld=function(t){return t.inline?function(t){var e=t.getBody();return e&&ud(Ot.fromDom(e))}(t):function(t){return t.iframeElement&&Tl(Ot.fromDom(t.iframeElement))}(t)},dd=function(t){return t.editorManager.setActive(t)},fd=function(t,e){t.removed||(e?dd(t):function(t){var e=t.selection,n=t.getBody(),r=e.getRng();t.quirks.refreshContentEditable(),void 0!==t.bookmark&&!1===ld(t)&&Gl(t).each((function(e){t.selection.setRng(e),r=e}));var o=function(t,e){return t.dom.getParent(e,(function(e){return"true"===t.dom.getContentEditable(e)}))}(t,e.getNode());if(t.$.contains(n,o))return cd(o),sd(t,r),void dd(t);t.inline||(Qe.opera||cd(n),t.getWin().focus()),(Qe.gecko||t.inline)&&(cd(n),sd(t,r)),dd(t)}(t))},hd=ld,pd=function(t){return ld(t)||function(t){return kl().filter((function(e){return!od(e.dom())&&id(t,e.dom())})).isSome()}(t)},md=function(t){return t instanceof Ou},gd=function(t,e){t.dom.setHTML(t.getBody(),e),function(t){hd(t)&&Xc.firstPositionIn(t.getBody()).each((function(e){var n=e.getNode(),r=nt.isTable(n)?Xc.firstPositionIn(n).getOr(e):e;t.selection.setRng(r.toRange())}))}(t)},vd=function(t,e,n){return void 0===n&&(n={}),n.format=n.format?n.format:"html",n.set=!0,n.content=md(e)?"":e,md(e)||n.no_events||(t.fire("BeforeSetContent",n),e=n.content),p.from(t.getBody()).fold(i(e),(function(r){return md(e)?function(t,e,n,r){Ll(t.parser.getNodeFilters(),t.parser.getAttributeFilters(),n);var o=xl({validate:t.validate},t.schema).serialize(n);return r.content=An(Ot.fromDom(e))?o:cn.trim(o),gd(t,r.content),r.no_events||t.fire("SetContent",r),n}(t,r,e,n):function(t,e,n,r){var o,i;return 0===n.length||/^\s+$/.test(n)?(i='<br data-mce-bogus="1">',"TABLE"===e.nodeName?n="<tr><td>"+i+"</td></tr>":/^(UL|OL)$/.test(e.nodeName)&&(n="<li>"+i+"</li>"),(o=Vu(t))&&t.schema.isValidChild(e.nodeName.toLowerCase(),o.toLowerCase())?(n=i,n=t.dom.createHTML(o,t.settings.forced_root_block_attrs,n)):n||(n='<br data-mce-bogus="1">'),gd(t,n),t.fire("SetContent",r)):("raw"!==r.format&&(n=xl({validate:t.validate},t.schema).serialize(t.parser.parse(n,{isRootContent:!0,insert:!0}))),r.content=An(Ot.fromDom(e))?n:cn.trim(n),gd(t,r.content),r.no_events||t.fire("SetContent",r)),r.content}(t,r,e,n)}))},bd=function(t,e){return t.fire("PreProcess",e)},yd=function(t,e){return t.fire("PostProcess",e)},Md=function(t){return t.fire("remove")},_d=function(t){return t.fire("detach")},wd=function(t,e){return t.fire("SwitchMode",{mode:e})},xd=function(t,e,n,r){t.fire("ObjectResizeStart",{target:e,width:n,height:r})},Ad=function(t,e,n,r){t.fire("ObjectResized",{target:e,width:n,height:r})},Ld=_i.DOM,Td=function(t){return p.from(t).each((function(t){return t.destroy()}))},kd=function(t){if(!t.removed){var e=t._selectionOverrides,n=t.editorUpload,r=t.getBody(),o=t.getElement();r&&t.save({is_removing:!0}),t.removed=!0,t.unbindAllNativeEvents(),t.hasHiddenInput&&o&&Ld.remove(o.nextSibling),Md(t),t.editorManager.remove(t),!t.inline&&r&&function(t){Ld.setStyle(t.id,"display",t.orgDisplay)}(t),_d(t),Ld.remove(t.getContainer()),Td(e),Td(n),t.destroy()}},Sd=function(t,e){var n=t.selection,r=t.dom;t.destroyed||(e||t.removed?(e||(t.editorManager.off("beforeunload",t._beforeUnload),t.theme&&t.theme.destroy&&t.theme.destroy(),Td(n),Td(r)),function(t){var e=t.formElement;e&&(e._mceOldSubmit&&(e.submit=e._mceOldSubmit,e._mceOldSubmit=null),Ld.unbind(e,"submit reset",t.formEventDelegate))}(t),function(t){t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null,t.selection&&(t.selection=t.selection.win=t.selection.dom=t.selection.dom.doc=null)}(t),t.destroyed=!0):t.remove())},Od=Object.prototype.hasOwnProperty,Cd=function(t){return function(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];if(0===e.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<e.length;o++){var i=e[o];for(var a in i)Od.call(i,a)&&(r[a]=t(r[a],i[a]))}return r}},zd=Cd((function(t,e){return v(t)&&v(e)?zd(t,e):e})),Dd=Cd((function(t,e){return e})),Ed=ee("sections","settings"),Nd=kt().deviceType,Bd=Nd.isTouch(),Pd=Nd.isPhone(),Rd=Nd.isTablet(),Yd=["lists","autolink","autosave"],Wd={table_grid:!1,object_resizing:!1,resize:!1},Hd=function(t){var e=b(t)?t.join(" "):t,n=O(g(e)?e.split(" "):[],bt);return D(n,(function(t){return t.length>0}))},qd=function(t,e){var n=It(e,(function(e,n){return k(t,n)}));return Ed(n.t,n.f)},Id=function(t,e){return t.sections().hasOwnProperty(e)},jd=function(t){return j(j(j({},Wd),{resize:!1,toolbar_drawer:"scrolling",toolbar_sticky:!1}),t?{menubar:!1}:{})},Xd=function(t,e){var n=e.external_plugins?e.external_plugins:{};return t&&t.external_plugins?cn.extend({},t.external_plugins,n):n},Fd=function(t,e,n,r){var o=Hd(n.forced_plugins),i=Hd(r.plugins),a=function(t,e){return Id(t,e)?t.sections()[e]:{}}(e,"mobile"),c=a.plugins?Hd(a.plugins):i,u=function(t,e){return[].concat(Hd(t)).concat(Hd(e))}(o,t&&function(t,e,n){var r=t.sections();return Id(t,e)&&r[e].theme===n}(e,"mobile","mobile")?D(c,s(k,Yd)):t&&Id(e,"mobile")?c:i);return cn.extend(r,{plugins:u.join(" ")})},Ud=function(t,e,n,r,o){var i=t?{mobile:jd(e)}:{},a=qd(["mobile"],zd(i,o)),s=cn.extend(n,r,a.settings(),function(t,e){return t&&Id(e,"mobile")}(t,a)?function(t,e,n){void 0===n&&(n={});var r=t.sections(),o=r.hasOwnProperty(e)?r[e]:{};return cn.extend({},n,o)}(a,"mobile"):{},{validate:!0,external_plugins:Xd(r,a.settings())});return Fd(t,a,r,s)},Vd=function(t,e,n,r,o){var i=function(t,e,n,r){var o={id:t,theme:"silver",toolbar_drawer:"floating",plugins:"",document_base_url:e,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:r.convertURL,url_converter_scope:r};return j(j({},o),n?Wd:{})}(e,n,Bd,t);return Ud(Pd||Rd,Pd,i,r,o)},Gd=function(t,e,n){return p.from(e.settings[n]).filter(t)},$d=function(t,e,n,r){var o,i=e in t.settings?t.settings[e]:n;return"hash"===r?function(t){var e={};return"string"==typeof t?C(t.indexOf("=")>0?t.split(/[;,](?![^=;,]*(?:[;,]|$))/):t.split(","),(function(t){var n=t.split("=");n.length>1?e[cn.trim(n[0])]=cn.trim(n[1]):e[cn.trim(n[0])]=cn.trim(n[0])})):e=t,e}(i):"string"===r?Gd(g,t,e).getOr(n):"number"===r?Gd(w,t,e).getOr(n):"boolean"===r?Gd(M,t,e).getOr(n):"object"===r?Gd(v,t,e).getOr(n):"array"===r?Gd(b,t,e).getOr(n):"string[]"===r?Gd((o=g,function(t){return b(t)&&Y(t,o)}),t,e).getOr(n):"function"===r?Gd(_,t,e).getOr(n):i},Kd=function(t,e){return e.dom()[t]},Jd=function(t,e){return parseInt(Qt(e,t),10)},Qd=s(Kd,"clientWidth"),Zd=s(Kd,"clientHeight"),tf=s(Jd,"margin-top"),ef=s(Jd,"margin-left"),nf=function(t,e,n){var r,o=Ot.fromDom(t.getBody()),i=t.inline?o:(r=o,Ot.fromDom(r.dom().ownerDocument.documentElement)),a=function(t,e,n,r){var o=function(t){return t.dom().getBoundingClientRect()}(e);return{x:n-(t?o.left+e.dom().clientLeft+ef(e):0),y:r-(t?o.top+e.dom().clientTop+tf(e):0)}}(t.inline,i,e,n);return function(t,e,n){var r=Qd(t),o=Zd(t);return e>=0&&n>=0&&e<=r&&n<=o}(i,a.x,a.y)},rf=function(t){var e,n=t.inline?t.getBody():t.getContentAreaContainer();return(e=n,p.from(e).map(Ot.fromDom)).map((function(t){return le(de(t),t)})).getOr(!1)};function of(t){var e=[],n=function(){var e,n=t.theme;return n&&n.getNotificationManagerImpl?n.getNotificationManagerImpl():{open:e=function(){throw new Error("Theme did not provide a NotificationManager implementation.")},close:e,reposition:e,getArgs:e}},r=function(){e.length>0&&n().reposition(e)},o=function(t){P(e,(function(e){return e===t})).each((function(t){e.splice(t,1)}))},i=function(i){if(!t.removed&&rf(t))return B(e,(function(t){return e=n().getArgs(t),r=i,!(e.type!==r.type||e.text!==r.text||e.progressBar||e.timeout||r.progressBar||r.timeout);var e,r})).getOrThunk((function(){t.editorManager.setActive(t);var a=n().open(i,(function(){o(a),r()}));return function(t){e.push(t)}(a),r(),a}))};return function(t){t.on("SkinLoaded",(function(){var e=t.settings.service_message;e&&i({text:e,type:"warning",timeout:0})})),t.on("ResizeEditor ResizeWindow NodeChange",(function(){je.requestAnimationFrame(r)})),t.on("remove",(function(){C(e.slice(),(function(t){n().close(t)}))}))}(t),{open:i,close:function(){p.from(e[0]).each((function(t){n().close(t),o(t),r()}))},getNotifications:function(){return e}}}var af,sf=function(t){var e=[],n=function(){var e,n=t.theme;return n&&n.getWindowManagerImpl?n.getWindowManagerImpl():{open:e=function(){throw new Error("Theme did not provide a WindowManager implementation.")},openUrl:e,alert:e,confirm:e,close:e,getParams:e,setParams:e}},r=function(t,e){return function(){return e?e.apply(t,arguments):void 0}},o=function(n){e.push(n),function(e){t.fire("OpenWindow",{dialog:e})}(n)},i=function(n){!function(e){t.fire("CloseWindow",{dialog:e})}(n),0===(e=D(e,(function(t){return t!==n}))).length&&t.focus()},a=function(e){t.editorManager.setActive(t),Ul(t);var n=e();return o(n),n};return t.on("remove",(function(){C(e,(function(t){n().close(t)}))})),{open:function(t,e){return a((function(){return n().open(t,e,i)}))},openUrl:function(t){return a((function(){return n().openUrl(t,i)}))},alert:function(t,e,o){n().alert(t,r(o||this,e))},confirm:function(t,e,o){n().confirm(t,r(o||this,e))},close:function(){p.from(e[e.length-1]).each((function(t){n().close(t),i(t)}))}}},cf=function(t,e){t.notificationManager.open({type:"error",text:e})},uf=function(t,e){t._skinLoaded?cf(t,e):t.on("SkinLoaded",(function(){cf(t,e)}))},lf=function(t){n.console.error(t)},df=function(t,e,n){return n?"Failed to load "+t+": "+n+" from url "+e:"Failed to load "+t+" url: "+e},ff=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var o=n.window.console;o&&(o.error?o.error.apply(o,arguments):o.log.apply(o,arguments))},hf={pluginLoadError:function(t,e){lf(df("plugin",t,e))},iconsLoadError:function(t,e){lf(df("icons",t,e))},languageLoadError:function(t,e){lf(df("language",t,e))},pluginInitError:function(t,e,n){var r=Si.translate(["Failed to initialize plugin: {0}",e]);ff(r,n),uf(t,r)},uploadError:function(t,e){uf(t,Si.translate(["Failed to upload image: {0}",e]))},displayError:uf,initError:ff},pf=(af={},{add:function(t,e){af[t]=e},get:function(t){return af[t]?af[t]:{icons:{}}},has:function(t){return Xt(af,t)}}),mf=zi.PluginManager,gf=zi.ThemeManager;function vf(t,e){var r={},o=function(t,r,o,i){var a,s;(a=new n.XMLHttpRequest).open("POST",e.url),a.withCredentials=e.credentials,a.upload.onprogress=function(t){i(t.loaded/t.total*100)},a.onerror=function(){o("Image upload failed due to a XHR Transport error. Code: "+a.status)},a.onload=function(){var t,n,i;a.status<200||a.status>=300?o("HTTP Error: "+a.status):(t=JSON.parse(a.responseText))&&"string"==typeof t.location?r((n=e.basePath,i=t.location,n?n.replace(/\/$/,"")+"/"+i.replace(/^\//,""):i)):o("Invalid JSON: "+a.responseText)},(s=new n.FormData).append("file",t.blob(),t.filename()),a.send(s)},i=function(t,e){return{url:e,blobInfo:t,status:!0}},a=function(t,e){return{url:"",blobInfo:t,status:!1,error:e}},s=function(t,e){cn.each(r[t],(function(t){t(e)})),delete r[t]},c=function(n,o){return n=cn.grep(n,(function(e){return!t.isUploaded(e.blobUri())})),We.all(cn.map(n,(function(n){return t.isPending(n.blobUri())?function(t){var e=t.blobUri();return new We((function(t){r[e]=r[e]||[],r[e].push(t)}))}(n):function(e,n,r){return t.markPending(e.blobUri()),new We((function(o){var c,u=function(){};try{var l=function(){c&&(c.close(),u)};n(e,(function(n){l(),t.markUploaded(e.blobUri(),n),s(e.blobUri(),i(e,n)),o(i(e,n))}),(function(n){l(),t.removeFailed(e.blobUri()),s(e.blobUri(),a(e,n)),o(a(e,n))}),(function(t){t<0||t>100||(c||(c=r()),c.progressBar.value(t))}))}catch(t){o(a(e,t.message))}}))}(n,e.handler,o)})))};return!1===_(e.handler)&&(e.handler=o),{upload:function(t,n){return e.url||e.handler!==o?c(t,n):new We((function(t){t([])}))}}}var bf=function(t){var e,n,r=decodeURIComponent(t).split(",");return(n=/data:([^;]+)/.exec(r[0]))&&(e=n[1]),{type:e,data:r[1]}},yf=function(t){return 0===t.indexOf("blob:")?function(t){return new We((function(e,r){var o=function(){r("Cannot convert "+t+" to Blob. Resource might not exist or is inaccessible.")};try{var i=new n.XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(){200===this.status?e(this.response):o()},i.onerror=o,i.send()}catch(t){o()}}))}(t):0===t.indexOf("data:")?(e=t,new We((function(t){var r,o,i,a=bf(e);try{r=n.atob(a.data)}catch(e){return void t(new n.Blob([]))}for(o=new Uint8Array(r.length),i=0;i<o.length;i++)o[i]=r.charCodeAt(i);t(new n.Blob([o],{type:a.type}))}))):null;var e},Mf=function(t){return new We((function(e){var r=new n.FileReader;r.onloadend=function(){e(r.result)},r.readAsDataURL(t)}))},_f=bf,wf=0,xf=function(t){return(t||"blobid")+wf++};function Af(t,e){var n={};return{findAll:function(r,o){var a;o||(o=i(!0)),a=D(function(t){return t?I(t.getElementsByTagName("img")):[]}(r),(function(e){var n=e.src;return!!Qe.fileApi&&(!e.hasAttribute("data-mce-bogus")&&(!e.hasAttribute("data-mce-placeholder")&&(!(!n||n===Qe.transparentSrc)&&(0===n.indexOf("blob:")?!t.isUploaded(n)&&o(e):0===n.indexOf("data:")&&o(e)))))}));var s=O(a,(function(t){if(n[t.src])return new We((function(e){n[t.src].then((function(n){if("string"==typeof n)return n;e({image:t,blobInfo:n.blobInfo})}))}));var r=new We((function(n,r){!function(t,e,n,r){var o,i;0!==e.src.indexOf("blob:")?(o=_f(e.src).data,(i=t.findFirst((function(t){return t.base64()===o})))?n({image:e,blobInfo:i}):yf(e.src).then((function(r){i=t.create(xf(),r,o),t.add(i),n({image:e,blobInfo:i})}),(function(t){r(t)}))):(i=t.getByUri(e.src))?n({image:e,blobInfo:i}):yf(e.src).then((function(r){Mf(r).then((function(a){o=_f(a).data,i=t.create(xf(),r,o),t.add(i),n({image:e,blobInfo:i})}))}),(function(t){r(t)}))}(e,t,n,r)})).then((function(t){return delete n[t.image.src],t})).catch((function(e){return delete n[t.src],e}));return n[t.src]=r,r}));return We.all(s)}}}var Lf=0,Tf=function(t){return t+Lf+++(e=function(){return Math.round(4294967295*Math.random()).toString(36)},"s"+(new Date).getTime().toString(36)+e()+e()+e());var e};var kf,Sf,Of=function(t){var e,r,o,a,s,c=function(){var t=[],e=function(t){var e,r,o;if(!t.blob||!t.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");return e=t.id||Tf("blobid"),r=t.name||e,{id:i(e),name:i(r),filename:i(r+"."+(o=t.blob.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png"}[o.toLowerCase()]||"dat")),blob:i(t.blob),base64:i(t.base64),blobUri:i(t.blobUri||n.URL.createObjectURL(t.blob)),uri:i(t.uri)}},r=function(t){return o((function(e){return e.id()===t}))},o=function(e){return D(t,e)[0]};return{create:function(t,n,r,o){if(g(t))return e({id:t,name:o,blob:n,base64:r});if(v(t))return e(t);throw new Error("Unknown input type")},add:function(e){r(e.id())||t.push(e)},get:r,getByUri:function(t){return o((function(e){return e.blobUri()===t}))},findFirst:o,removeByUri:function(e){t=D(t,(function(t){return t.blobUri()!==e||(n.URL.revokeObjectURL(t.blobUri()),!1)}))},destroy:function(){C(t,(function(t){n.URL.revokeObjectURL(t.blobUri())})),t=[]}}}(),u=(o={},a=function(t,e){return{status:t,resultUri:e}},{hasBlobUri:s=function(t){return t in o},getResultUri:function(t){var e=o[t];return e?e.resultUri:null},isPending:function(t){return!!s(t)&&1===o[t].status},isUploaded:function(t){return!!s(t)&&2===o[t].status},markPending:function(t){o[t]=a(1,null)},markUploaded:function(t,e){o[t]=a(2,e)},removeFailed:function(t){delete o[t]},destroy:function(){o={}}}),l=[],d=function(e){return function(n){return t.selection?e(n):[]}},f=function(t,e,n){var r=0;do{-1!==(r=t.indexOf(e,r))&&(t=t.substring(0,r)+n+t.substr(r+e.length),r+=n.length-e.length+1)}while(-1!==r);return t},h=function(t,e,n){return t=f(t,'src="'+e+'"','src="'+n+'"'),t=f(t,'data-mce-src="'+e+'"','data-mce-src="'+n+'"')},p=function(e,n){C(t.undoManager.data,(function(t){"fragmented"===t.type?t.fragments=O(t.fragments,(function(t){return h(t,e,n)})):t.content=h(t.content,e,n)}))},m=function(){return t.notificationManager.open({text:t.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})},b=function(n){return e||(e=vf(u,{url:sl(t),basePath:cl(t),credentials:ul(t),handler:ll(t)})),_().then(d((function(r){var o;return o=O(r,(function(t){return t.blobInfo})),e.upload(o,m).then(d((function(e){var o=O(e,(function(e,n){var o=r[n].image;return e.status&&al(t)?function(e,n){c.removeByUri(e.src),p(e.src,n),t.$(e).attr({src:il(t)?n+"?"+(new Date).getTime():n,"data-mce-src":t.convertURL(n,"src")})}(o,e.url):e.error&&hf.uploadError(t,e.error),{element:o,status:e.status}}));return n&&n(o),o})))})))},y=function(e){if(ol(t))return b(e)},M=function(e){return!1!==Y(l,(function(t){return t(e)}))&&(0!==e.getAttribute("src").indexOf("data:")||rl(t)(e))},_=function(){return r||(r=Af(u,c)),r.findAll(t.getBody(),M).then(d((function(e){return e=D(e,(function(e){return"string"!=typeof e||(hf.displayError(t,e),!1)})),C(e,(function(t){p(t.image.src,t.blobInfo.blobUri()),t.image.src=t.blobInfo.blobUri(),t.image.removeAttribute("data-mce-src")})),e})))},w=function(e){return e.replace(/src="(blob:[^"]+)"/g,(function(e,n){var r=u.getResultUri(n);if(r)return'src="'+r+'"';var o=c.getByUri(n);return o||(o=N(t.editorManager.get(),(function(t,e){return t||e.editorUpload&&e.editorUpload.blobCache.getByUri(n)}),null)),o?'src="data:'+o.blob().type+";base64,"+o.base64()+'"':e}))};return t.on("SetContent",(function(){ol(t)?y():_()})),t.on("RawSaveContent",(function(t){t.content=w(t.content)})),t.on("GetContent",(function(t){t.source_view||"raw"===t.format||(t.content=w(t.content))})),t.on("PostRender",(function(){t.parser.addNodeFilter("img",(function(t){C(t,(function(t){var e=t.attr("src");if(!c.getByUri(e)){var n=u.getResultUri(e);n&&t.attr("src",n)}}))}))})),{blobCache:c,addFilter:function(t){l.push(t)},uploadImages:b,uploadImagesAuto:y,scanForImages:_,destroy:function(){c.destroy(),u.destroy(),r=e=null}}},Cf=function(t,e,n){return le(e,t)?function(t,e){for(var n=_(e)?e:u,r=t.dom(),o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=Ot.fromDom(i);if(o.push(a),!0===n(a))break;r=i}return o}(t,(function(t){return n(t)||ue(t,e)})).slice(0,-1):[]},zf=function(t,e){return Cf(t,e,i(!1))},Df=zf,Ef=function(t,e){return[t].concat(zf(t,e))},Nf=function(t,e){return t.hasOwnProperty(e.nodeName)},Bf=function(t,e){return!!nt.isText(e)||!!nt.isElement(e)&&(!Nf(t,e)&&!tu(e))},Pf=function(t,e){if(nt.isText(e)){if(0===e.nodeValue.length)return!0;if(/^\s+$/.test(e.nodeValue)&&(!e.nextSibling||Nf(t,e.nextSibling)))return!0}return!1},Rf=function(t){var e,n,r,o,i,a,s,c,u,l,d=t.dom,f=t.selection,h=t.schema,p=h.getBlockElements(),m=f.getStart(),g=t.getBody(),v=Vu(t);if(m&&nt.isElement(m)&&v&&(l=g.nodeName.toLowerCase(),h.isValidChild(l,v.toLowerCase())&&!function(t,e,n){return S(Df(Ot.fromDom(n),Ot.fromDom(e)),(function(e){return Nf(t,e.dom())}))}(p,g,m))){for(n=(e=f.getRng()).startContainer,r=e.startOffset,o=e.endContainer,i=e.endOffset,u=hd(t),m=g.firstChild;m;)if(Bf(p,m)){if(Pf(p,m)){s=m,m=m.nextSibling,d.remove(s);continue}a||(a=d.create(v,Gu(t)),m.parentNode.insertBefore(a,m),c=!0),s=m,m=m.nextSibling,a.appendChild(s)}else a=null,m=m.nextSibling;c&&u&&(e.setStart(n,r),e.setEnd(o,i),f.setRng(e),t.nodeChanged())}},Yf=function(t){Vu(t)&&t.on("NodeChange",s(Rf,t))},Wf=function(t,e){return t&&e&&t.startContainer===e.startContainer&&t.startOffset===e.startOffset&&t.endContainer===e.endContainer&&t.endOffset===e.endOffset},Hf=function(t){return Me(t).fold(i([t]),(function(e){return[t].concat(Hf(e))}))},qf=function(t){return _e(t).fold(i([t]),(function(e){return"br"===Et(e)?pe(e).map((function(e){return[t].concat(qf(e))})).getOr([]):[t].concat(qf(e))}))},If=function(t,e){return ja(function(t){var e=t.startContainer,n=t.startOffset;return nt.isText(e)?0===n?p.some(Ot.fromDom(e)):p.none():p.from(e.childNodes[n]).map(Ot.fromDom)}(e),function(t){var e=t.endContainer,n=t.endOffset;return nt.isText(e)?n===e.data.length?p.some(Ot.fromDom(e)):p.none():p.from(e.childNodes[n-1]).map(Ot.fromDom)}(e),(function(e,n){var r=B(Hf(t),s(ue,e)),o=B(qf(t),s(ue,n));return r.isSome()&&o.isSome()})).getOr(!1)},jf=function(t,e,n,r){var o=n,i=new Go(n,o),a=t.schema.getNonEmptyElements();do{if(3===n.nodeType&&0!==cn.trim(n.nodeValue).length)return void(r?e.setStart(n,0):e.setEnd(n,n.nodeValue.length));if(a[n.nodeName]&&!/^(TD|TH)$/.test(n.nodeName))return void(r?e.setStartBefore(n):"BR"===n.nodeName?e.setEndBefore(n):e.setEndAfter(n))}while(n=r?i.next():i.prev());"BODY"===o.nodeName&&(r?e.setStart(o,0):e.setEnd(o,o.childNodes.length))},Xf=function(t){var e=t.selection.getSel();return e&&e.rangeCount>0},Ff=function(){function t(t){var e;this.lastPath=[],this.editor=t;var n=this;"onselectionchange"in t.getDoc()||t.on("NodeChange click mouseup keyup focus",(function(n){var r,o;o={startContainer:(r=t.selection.getRng()).startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset},"nodechange"!==n.type&&Wf(o,e)||t.fire("SelectionChange"),e=o})),t.on("contextmenu",(function(){t.fire("SelectionChange")})),t.on("SelectionChange",(function(){var e=t.selection.getStart(!0);!e||!Qe.range&&t.selection.isCollapsed()||Xf(t)&&!n.isSameElementPath(e)&&t.dom.isChildOf(e,t.getBody())&&t.nodeChanged({selectionChange:!0})})),t.on("mouseup",(function(e){!e.isDefaultPrevented()&&Xf(t)&&("IMG"===t.selection.getNode().nodeName?je.setEditorTimeout(t,(function(){t.nodeChanged()})):t.nodeChanged())}))}return t.prototype.nodeChanged=function(t){var e,n,r,o=this.editor.selection;this.editor.initialized&&o&&!this.editor.settings.disable_nodechange&&!this.editor.readonly&&(r=this.editor.getBody(),(e=o.getStart(!0)||r).ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(e,r)||(e=r),n=[],this.editor.dom.getParent(e,(function(t){if(t===r)return!0;n.push(t)})),(t=t||{}).element=e,t.parents=n,this.editor.fire("NodeChange",t))},t.prototype.isSameElementPath=function(t){var e,n;if((n=this.editor.$(t).parentsUntil(this.editor.getBody()).add(t)).length===this.lastPath.length){for(e=n.length;e>=0&&n[e]===this.lastPath[e];e--);if(-1===e)return this.lastPath=n,!0}return this.lastPath=n,!1},t}(),Uf={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,END:35,HOME:36,modifierPressed:function(t){return t.shiftKey||t.ctrlKey||t.altKey||this.metaKeyPressed(t)},metaKeyPressed:function(t){return Qe.mac?t.metaKey:t.ctrlKey&&!t.altKey}},Vf=(kf=" ",function(t){return kf===t}),Gf=function(t){return/^[\r\n\t ]$/.test(t)},$f=function(t){return!Gf(t)&&!Vf(t)},Kf=function(t,e,n){return p.from(n.container()).filter(nt.isText).exists((function(r){var o=t?0:-1;return e(r.data.charAt(n.offset()+o))}))},Jf=s(Kf,!0,Gf),Qf=s(Kf,!1,Gf),Zf=function(t){var e=t.container();return nt.isText(e)&&0===e.data.length},th=function(t,e){return function(n){return p.from(dc(t?0:-1,n)).filter(e).isSome()}},eh=function(t){return"IMG"===t.nodeName&&"block"===Qt(Ot.fromDom(t),"display")},nh=function(t){return nt.isContentEditableFalse(t)&&!nt.isBogusAll(t)},rh=th(!0,eh),oh=th(!1,eh),ih=th(!0,nt.isTable),ah=th(!1,nt.isTable),sh=th(!0,nh),ch=th(!1,nh),uh=function(t){return N(t,(function(t,e){return t.concat(function(t){var e=function(e){return O(e,(function(e){return(e=Ea(e)).node=t,e}))};if(nt.isElement(t))return e(t.getClientRects());if(nt.isText(t)){var n=t.ownerDocument.createRange();return n.setStart(t,0),n.setEnd(t,t.data.length),e(n.getClientRects())}}(e))}),[])};!function(t){t[t.Up=-1]="Up",t[t.Down=1]="Down"}(Sf||(Sf={}));var lh=function(t,e,n,r,o,i){var a,s,c=0,u=[],l=function(r){var i,a,l;for(l=uh([r]),-1===t&&(l=l.reverse()),i=0;i<l.length;i++)if(a=l[i],!n(a,s)){if(u.length>0&&e(a,nn.last(u))&&c++,a.line=c,o(a))return!0;u.push(a)}};return(s=nn.last(i.getClientRects()))?(l(a=i.getNode()),function(t,e,n,r){for(;r=cc(r,t,za,e);)if(n(r))return}(t,r,l,a),u):u},dh=s(lh,Sf.Up,Pa,Ra),fh=s(lh,Sf.Down,Ra,Pa),hh=function(t){return function(e){return function(t,e){return e.line>t}(t,e)}},ph=function(t){return function(e){return function(t,e){return e.line===t}(t,e)}},mh=nt.isContentEditableFalse,gh=cc,vh=function(t,e){return Math.abs(t.left-e)},bh=function(t,e){return Math.abs(t.right-e)},yh=function(t,e){return t>=e.left&&t<=e.right},Mh=function(t,e){return nn.reduce(t,(function(t,n){var r,o;return r=Math.min(vh(t,e),bh(t,e)),o=Math.min(vh(n,e),bh(n,e)),yh(e,n)?n:yh(e,t)?t:o===r&&mh(n.node)||o<r?n:t}))},_h=function(t,e,n,r){for(;r=gh(r,t,za,e);)if(n(r))return},wh=function(t,e,n){var r,o=uh(function(t){return D(I(t.getElementsByTagName("*")),Qs)}(t)),i=D(o,(function(t){return n>=t.top&&n<=t.bottom}));return(r=Mh(i,e))&&(r=Mh(function(t,e){var n=[],r=function(t,r){var o;return o=D(uh([r]),(function(n){return!t(n,e)})),n=n.concat(o),0===o.length};return n.push(e),_h(Sf.Up,t,s(r,Pa),e.node),_h(Sf.Down,t,s(r,Ra),e.node),n}(t,r),e))&&Qs(r.node)?function(t,e){return{node:t.node,before:vh(t,e)<bh(t,e)}}(r,e):null},xh=function(t,e,n){if(n.collapsed)return!1;if(Qe.browser.isIE()&&n.startOffset===n.endOffset-1&&n.startContainer===n.endContainer){var r=n.startContainer.childNodes[n.startOffset];if(nt.isElement(r))return S(r.getClientRects(),(function(n){return Ya(n,t,e)}))}return S(n.getClientRects(),(function(n){return Ya(n,t,e)}))},Ah=function(t){var e,n,r,o;return o=t.getBoundingClientRect(),n=(e=t.ownerDocument).documentElement,r=e.defaultView,{top:o.top+r.pageYOffset-n.clientTop,left:o.left+r.pageXOffset-n.clientLeft}},Lh=function(t,e){return function(t,e,n){return{pageX:n.left-t.left+e.left,pageY:n.top-t.top+e.top}}(function(t){return t.inline?Ah(t.getBody()):{left:0,top:0}}(t),function(t){var e=t.getBody();return t.inline?{left:e.scrollLeft,top:e.scrollTop}:{left:0,top:0}}(t),function(t,e){if(e.target.ownerDocument!==t.getDoc()){var n=Ah(t.getContentAreaContainer()),r=function(t){var e=t.getBody(),n=t.getDoc().documentElement,r={left:e.scrollLeft,top:e.scrollTop},o={left:e.scrollLeft||n.scrollLeft,top:e.scrollTop||n.scrollTop};return t.inline?r:o}(t);return{left:e.pageX-n.left+r.left,top:e.pageY-n.top+r.top}}return{left:e.pageX,top:e.pageY}}(t,e))},Th=nt.isContentEditableFalse,kh=nt.isContentEditableTrue,Sh=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},Oh=function(t,e){return function(n){if(function(t){return 0===t.button}(n)){var r=B(e.dom.getParents(n.target),Ua(Th,kh)).getOr(null);if(s=e.getBody(),Th(c=r)&&c!==s){var o=e.dom.getPos(r),i=e.getBody(),a=e.getDoc().documentElement;t.element=r,t.screenX=n.screenX,t.screenY=n.screenY,t.maxX=(e.inline?i.scrollWidth:a.offsetWidth)-2,t.maxY=(e.inline?i.scrollHeight:a.offsetHeight)-2,t.relX=n.pageX-o.x,t.relY=n.pageY-o.y,t.width=r.offsetWidth,t.height=r.offsetHeight,t.ghost=function(t,e,n,r){var o=e.cloneNode(!0);t.dom.setStyles(o,{width:n,height:r}),t.dom.setAttrib(o,"data-mce-selected",null);var i=t.dom.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return t.dom.setStyles(i,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),t.dom.setStyles(o,{margin:0,boxSizing:"border-box"}),i.appendChild(o),i}(e,r,t.width,t.height)}}var s,c}},Ch=function(t,e){return function(n){if(t.dragging&&function(t,e,n){return e!==n&&!t.dom.isChildOf(e,n)&&!Th(e)}(e,(s=e.selection,3===(c=s.getSel().getRangeAt(0).startContainer).nodeType?c.parentNode:c),t.element)){var r=(i=t.element,(a=i.cloneNode(!0)).removeAttribute("data-mce-selected"),a),o=e.fire("drop",{targetClone:r,clientX:n.clientX,clientY:n.clientY});o.isDefaultPrevented()||(r=o.targetClone,e.undoManager.transact((function(){Sh(t.element),e.insertContent(e.dom.getOuterHTML(r)),e._selectionOverrides.hideFakeCaret()})))}var i,a,s,c;zh(t)}},zh=function(t){t.dragging=!1,t.element=null,Sh(t.ghost)},Dh=function(t){var e,r,o,i,a,s,c={};e=_i.DOM,s=n.document,r=Oh(c,t),o=function(t,e){var n=je.throttle((function(t,n){e._selectionOverrides.hideFakeCaret(),e.selection.placeCaretAt(t,n)}),0);return function(r){var o,i,a=Math.max(Math.abs(r.screenX-t.screenX),Math.abs(r.screenY-t.screenY));if(function(t){return t.element}(t)&&!t.dragging&&a>10){if(e.fire("dragstart",{target:t.element}).isDefaultPrevented())return;t.dragging=!0,e.focus()}if(t.dragging){var s=function(t,e){return{pageX:e.pageX-t.relX,pageY:e.pageY+5}}(t,Lh(e,r));o=t.ghost,i=e.getBody(),o.parentNode!==i&&i.appendChild(o),function(t,e,n,r,o,i){var a=0,s=0;t.style.left=e.pageX+"px",t.style.top=e.pageY+"px",e.pageX+n>o&&(a=e.pageX+n-o),e.pageY+r>i&&(s=e.pageY+r-i),t.style.width=n-a+"px",t.style.height=r-s+"px"}(t.ghost,s,t.width,t.height,t.maxX,t.maxY),n(r.clientX,r.clientY)}}}(c,t),i=Ch(c,t),a=function(t,e){return function(){t.dragging&&e.fire("dragend"),zh(t)}}(c,t),t.on("mousedown",r),t.on("mousemove",o),t.on("mouseup",i),e.bind(s,"mousemove",o),e.bind(s,"mouseup",a),t.on("remove",(function(){e.unbind(s,"mousemove",o),e.unbind(s,"mouseup",a)}))},Eh=function(t){Dh(t),function(t){t.on("drop",(function(e){var n=void 0!==e.clientX?t.getDoc().elementFromPoint(e.clientX,e.clientY):null;(Th(n)||Th(t.dom.getContentEditableParent(n)))&&e.preventDefault()}))}(t)},Nh=nt.isContentEditableTrue,Bh=nt.isContentEditableFalse,Ph=function(t,e,n,r,o){return e._selectionOverrides.showCaret(t,n,r,o)},Rh=function(t,e){return t.fire("BeforeObjectSelected",{target:e}).isDefaultPrevented()?null:function(t){var e=t.ownerDocument.createRange();return e.selectNode(t),e}(e)},Yh=function(t,e,n){var r=vc(1,t.getBody(),e),o=hs.fromRangeStart(r),i=o.getNode();if(Bh(i))return Ph(1,t,i,!o.isAtEnd(),!1);var a=o.getNode(!0);if(Bh(a))return Ph(1,t,a,!1,!1);var s=t.dom.getParent(o.getNode(),(function(t){return Bh(t)||Nh(t)}));return Bh(s)?Ph(1,t,s,!1,n):null},Wh=function(t,e,n){if(!e||!e.collapsed)return e;var r=Yh(t,e,n);return r||e},Hh=function(t){var e=Di((function(){if(!t.removed&&t.getBody().contains(n.document.activeElement)&&t.selection.getRng().collapsed){var e=Wh(t,t.selection.getRng(),!1);t.selection.setRng(e)}}),0);t.on("focus",(function(){e.throttle()})),t.on("blur",(function(){e.cancel()}))},qh=nt.isContentEditableTrue,Ih=nt.isContentEditableFalse,jh=function(t,e){for(var n=t.getBody();e&&e!==n;){if(qh(e)||Ih(e))return e;e=e.parentNode}return null},Xh=function(t){var e,n=t.getBody(),r=Ks(t.getBody(),(function(e){return t.dom.isBlock(e)}),(function(){return hd(t)})),o="sel-"+t.dom.uniqueId(),i=function(e){e&&t.selection.setRng(e)},a=function(){return t.selection.getRng()},s=function(e,n,o,i){return void 0===i&&(i=!0),t.fire("ShowCaret",{target:n,direction:e,before:o}).isDefaultPrevented()?null:(i&&t.selection.scrollIntoView(n,-1===e),r.show(o,n))},c=function(t){return ha(t)||ba(t)||ya(t)},u=function(t){return c(t.startContainer)||c(t.endContainer)},l=function(e){var n=t.schema.getShortEndedElements(),r=t.dom.createRng(),o=e.startContainer,i=e.startOffset,a=e.endContainer,s=e.endOffset;return Xt(n,o.nodeName.toLowerCase())?0===i?r.setStartBefore(o):r.setStartAfter(o):r.setStart(o,i),Xt(n,a.nodeName.toLowerCase())?0===s?r.setEndBefore(a):r.setEndAfter(a):r.setEnd(a,s),r},d=function(r,i){var a,c,l,d,f,p,m,g,v,b,y=t.$,M=t.dom;if(!r)return null;if(r.collapsed){if(!u(r))if(!1===i){if(g=yc(-1,n,r),Qs(g.getNode(!0)))return s(-1,g.getNode(!0),!1,!1);if(Qs(g.getNode()))return s(-1,g.getNode(),!g.isAtEnd(),!1)}else{if(g=yc(1,n,r),Qs(g.getNode()))return s(1,g.getNode(),!g.isAtEnd(),!1);if(Qs(g.getNode(!0)))return s(1,g.getNode(!0),!1,!1)}return null}if(d=r.startContainer,f=r.startOffset,p=r.endOffset,3===d.nodeType&&0===f&&Ih(d.parentNode)&&(d=d.parentNode,f=M.nodeIndex(d),d=d.parentNode),1!==d.nodeType)return null;if(p===f+1&&d===r.endContainer&&(a=d.childNodes[f]),!Ih(a))return null;if(v=b=a.cloneNode(!0),(m=t.fire("ObjectSelected",{target:a,targetClone:v})).isDefaultPrevented())return null;c=Ui(Ot.fromDom(t.getBody()),"#"+o).fold((function(){return y([])}),(function(t){return y([t.dom()])})),v=m.targetClone,0===c.length&&(c=y('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>').attr("id",o)).appendTo(t.getBody()),r=t.dom.createRng(),v===b&&Qe.ie?(c.empty().append('<p style="font-size: 0" data-mce-bogus="all"> </p>').append(v),r.setStartAfter(c[0].firstChild.firstChild),r.setEndAfter(v)):(c.empty().append(" ").append(v).append(" "),r.setStart(c[0].firstChild,1),r.setEnd(c[0].lastChild,0)),c.css({top:M.getPos(a,t.getBody()).y}),c[0].focus(),(l=t.selection.getSel()).removeAllRanges(),l.addRange(r);var _=Ot.fromDom(a);return C(qi(Ot.fromDom(t.getBody()),"*[data-mce-selected]"),(function(t){ue(_,t)||Jt(t,"data-mce-selected")})),t.dom.getAttrib(a,"data-mce-selected")||a.setAttribute("data-mce-selected","1"),e=a,h(),r},f=function(){e&&(e.removeAttribute("data-mce-selected"),Ui(Ot.fromDom(t.getBody()),"#"+o).each(ei),e=null),Ui(Ot.fromDom(t.getBody()),"#"+o).each(ei),e=null},h=function(){r.hide()};return Qe.ceFalse&&function(){t.on("mouseup",(function(e){var n=a();n.collapsed&&nf(t,e.clientX,e.clientY)&&i(Yh(t,n,!1))})),t.on("click",(function(e){var n;(n=jh(t,e.target))&&(Ih(n)&&(e.preventDefault(),t.focus()),qh(n)&&t.dom.isChildOf(n,t.selection.getNode())&&f())})),t.on("blur NewBlock",(function(){f()})),t.on("ResizeWindow FullscreenStateChanged",(function(){return r.reposition()}));var c=function(e,n){var r,o,i=t.dom.getParent(e,t.dom.isBlock),a=t.dom.getParent(n,t.dom.isBlock);return!(!i||!t.dom.isChildOf(i,a)||!1!==Ih(jh(t,i)))||i&&(r=i,o=a,!(t.dom.getParent(r,t.dom.isBlock)===t.dom.getParent(o,t.dom.isBlock)))&&function(t){var e=Ec(t);if(!t.firstChild)return!1;var n=hs.before(t.firstChild),r=e.next(n);return r&&!sh(r)&&!ch(r)}(i)};!function(t){var e=!1;t.on("touchstart",(function(){e=!1})),t.on("touchmove",(function(){e=!0})),t.on("touchend",(function(n){if(!e){var r=jh(t,n.target);Ih(r)&&(n.preventDefault(),d(Rh(t,r)))}}),!0)}(t),t.on("mousedown",(function(e){var r,o=e.target;if((o===n||"HTML"===o.nodeName||t.dom.isChildOf(o,n))&&!1!==nf(t,e.clientX,e.clientY))if(r=jh(t,o))Ih(r)?(e.preventDefault(),d(Rh(t,r))):(f(),qh(r)&&e.shiftKey||xh(e.clientX,e.clientY,t.selection.getRng())||(h(),t.selection.placeCaretAt(e.clientX,e.clientY)));else if(!1===Qs(o)){f(),h();var a=wh(n,e.clientX,e.clientY);if(a&&!c(e.target,a.node)){e.preventDefault();var u=s(1,a.node,a.before,!1);t.getBody().focus(),i(u)}}})),t.on("keypress",(function(e){Uf.modifierPressed(e)||(e.keyCode,Ih(t.selection.getNode())&&e.preventDefault())})),t.on("GetSelectionRange",(function(t){var n=t.range;if(e){if(!e.parentNode)return void(e=null);(n=n.cloneRange()).selectNode(e),t.range=n}})),t.on("SetSelectionRange",(function(t){t.range=l(t.range);var e=d(t.range,t.forward);e&&(t.range=e)}));t.on("AfterSetSelectionRange",(function(e){var n,r=e.range;u(r)||"mcepastebin"===r.startContainer.parentNode.id||h(),n=r.startContainer.parentNode,t.dom.hasClass(n,"mce-offscreen-selection")||f()})),t.on("copy",(function(e){var n,r=e.clipboardData;if(!e.isDefaultPrevented()&&e.clipboardData&&!Qe.ie){var i=(n=t.dom.get(o))?n.getElementsByTagName("*")[0]:n;i&&(e.preventDefault(),r.clearData(),r.setData("text/html",i.outerHTML),r.setData("text/plain",i.outerText))}})),Eh(t),Hh(t)}(),{showCaret:s,showBlockCaretContainer:function(e){e.hasAttribute("data-mce-caret")&&(Ma(e),i(a()),t.selection.scrollIntoView(e))},hideFakeCaret:h,destroy:function(){r.destroy(),e=null}}},Fh=0,Uh=2,Vh=1,Gh=function(t,e){var n=t.length+e.length+2,r=new Array(n),o=new Array(n),i=function(n,r,o,a,c){var u=s(n,r,o,a);if(null===u||u.start===r&&u.diag===r-a||u.end===n&&u.diag===n-o)for(var l=n,d=o;l<r||d<a;)l<r&&d<a&&t[l]===e[d]?(c.push([0,t[l]]),++l,++d):r-n>a-o?(c.push([2,t[l]]),++l):(c.push([1,e[d]]),++d);else{i(n,u.start,o,u.start-u.diag,c);for(var f=u.start;f<u.end;++f)c.push([0,t[f]]);i(u.end,r,u.end-u.diag,a,c)}},a=function(n,r,o,i){for(var a=n;a-r<i&&a<o&&t[a]===e[a-r];)++a;return function(t,e,n){return{start:t,end:e,diag:n}}(n,a,r)},s=function(n,i,s,c){var u=i-n,l=c-s;if(0===u||0===l)return null;var d,f,h,p,m,g=u-l,v=l+u,b=(v%2==0?v:v+1)/2;for(r[1+b]=n,o[1+b]=i+1,d=0;d<=b;++d){for(f=-d;f<=d;f+=2){for(h=f+b,f===-d||f!==d&&r[h-1]<r[h+1]?r[h]=r[h+1]:r[h]=r[h-1]+1,m=(p=r[h])-n+s-f;p<i&&m<c&&t[p]===e[m];)r[h]=++p,++m;if(g%2!=0&&g-d<=f&&f<=g+d&&o[h-g]<=r[h])return a(o[h-g],f+n-s,i,c)}for(f=g-d;f<=g+d;f+=2){for(h=f+b-g,f===g-d||f!==g+d&&o[h+1]<=o[h-1]?o[h]=o[h+1]-1:o[h]=o[h-1],m=(p=o[h]-1)-n+s-f;p>=n&&m>=s&&t[p]===e[m];)o[h]=p--,m--;if(g%2==0&&-d<=f&&f<=d&&o[h]<=r[h+g])return a(o[h],f+n-s,i,c)}}},c=[];return i(0,t.length,0,e.length,c),c},$h=function(t){return nt.isElement(t)?t.outerHTML:nt.isText(t)?Yn.encodeRaw(t.data,!1):nt.isComment(t)?"\x3c!--"+t.data+"--\x3e":""},Kh=function(t,e,r){var o=function(t){var e,r,o;for(o=n.document.createElement("div"),e=n.document.createDocumentFragment(),t&&(o.innerHTML=t);r=o.firstChild;)e.appendChild(r);return e}(e);if(t.hasChildNodes()&&r<t.childNodes.length){var i=t.childNodes[r];i.parentNode.insertBefore(o,i)}else t.appendChild(o)},Jh=function(t){return D(O(I(t.childNodes),$h),(function(t){return t.length>0}))},Qh=function(t,e){var n=O(I(e.childNodes),$h);return function(t,e){var n=0;C(t,(function(t){t[0]===Fh?n++:t[0]===Vh?(Kh(e,t[1],n),n++):t[0]===Uh&&function(t,e){if(t.hasChildNodes()&&e<t.childNodes.length){var n=t.childNodes[e];n.parentNode.removeChild(n)}}(e,n)}))}(Gh(n,t),e),e},Zh=rt(p.none()),tp=function(t){return{type:"fragmented",fragments:t,content:"",bookmark:null,beforeBookmark:null}},ep=function(t){return{type:"complete",fragments:null,content:t,bookmark:null,beforeBookmark:null}},np=function(t){return"fragmented"===t.type?t.fragments.join(""):t.content},rp=function(t){var e=Ot.fromTag("body",Zh.get().getOrThunk((function(){var t=n.document.implementation.createHTMLDocument("undo");return Zh.set(p.some(t)),t})));return ia(e,np(t)),C(qi(e,"*[data-mce-bogus]"),ni),e.dom().innerHTML},op=function(t){var e,n,r;return e=Jh(t.getBody()),n=(r=R(e,(function(e){var n=Yu.trimInternal(t.serializer,e);return n.length>0?[n]:[]}))).join(""),-1!==n.indexOf("</iframe>")?tp(r):ep(n)},ip=function(t,e,n){"fragmented"===e.type?Qh(e.fragments,t.getBody()):t.setContent(e.content,{format:"raw"}),t.selection.moveToBookmark(n?e.beforeBookmark:e.bookmark)},ap=function(t,e){return!(!t||!e)&&(!!function(t,e){return np(t)===np(e)}(t,e)||function(t,e){return rp(t)===rp(e)}(t,e))},sp=function(t){return 0===t.get()},cp=function(t,e,n){sp(n)&&(t.typing=e)},up=function(t,e){t.typing&&(cp(t,!1,e),t.add())},lp=function(t){var e=rt(p.none()),n=rt(0),r=rt(0),o={data:[],typing:!1,beforeChange:function(){!function(t,e,n){sp(e)&&n.set(p.some(Ns.getUndoBookmark(t.selection)))}(t,n,e)},add:function(i,a){return function(t,e,n,r,o,i,a){var s=t.settings,c=op(t);if(i=i||{},i=cn.extend(i,c),!1===sp(r)||t.removed)return null;var u=e.data[n.get()];if(t.fire("BeforeAddUndo",{level:i,lastLevel:u,originalEvent:a}).isDefaultPrevented())return null;if(u&&ap(u,i))return null;if(e.data[n.get()]&&o.get().each((function(t){e.data[n.get()].beforeBookmark=t})),s.custom_undo_redo_levels&&e.data.length>s.custom_undo_redo_levels){for(var l=0;l<e.data.length-1;l++)e.data[l]=e.data[l+1];e.data.length--,n.set(e.data.length)}i.bookmark=Ns.getUndoBookmark(t.selection),n.get()<e.data.length-1&&(e.data.length=n.get()+1),e.data.push(i),n.set(e.data.length-1);var d={level:i,lastLevel:u,originalEvent:a};return t.fire("AddUndo",d),n.get()>0&&(t.setDirty(!0),t.fire("change",d)),i}(t,o,r,n,e,i,a)},undo:function(){return function(t,e,n,r){var o;return e.typing&&(e.add(),e.typing=!1,cp(e,!1,n)),r.get()>0&&(r.set(r.get()-1),o=e.data[r.get()],ip(t,o,!0),t.setDirty(!0),t.fire("Undo",{level:o})),o}(t,o,n,r)},redo:function(){return function(t,e,n){var r;return e.get()<n.length-1&&(e.set(e.get()+1),r=n[e.get()],ip(t,r,!1),t.setDirty(!0),t.fire("Redo",{level:r})),r}(t,r,o.data)},clear:function(){!function(t,e,n){e.data=[],n.set(0),e.typing=!1,t.fire("ClearUndos")}(t,o,r)},reset:function(){!function(t){t.clear(),t.add()}(o)},hasUndo:function(){return function(t,e,n){return n.get()>0||e.typing&&e.data[0]&&!ap(op(t),e.data[0])}(t,o,r)},hasRedo:function(){return function(t,e){return e.get()<t.data.length-1&&!t.typing}(o,r)},transact:function(t){return function(t,e,n){return up(t,e),t.beforeChange(),t.ignore(n),t.add()}(o,n,t)},ignore:function(t){!function(t,e){try{t.set(t.get()+1),e()}finally{t.set(t.get()-1)}}(n,t)},extra:function(e,n){!function(t,e,n,r,o){if(e.transact(r)){var i=e.data[n.get()].bookmark,a=e.data[n.get()-1];ip(t,a,!0),e.transact(o)&&(e.data[n.get()-1].beforeBookmark=i)}}(t,o,r,e,n)}};return function(t,e,n){var r=rt(!1),o=function(t){cp(e,!1,n),e.add({},t)};t.on("init",(function(){e.add()})),t.on("BeforeExecCommand",(function(t){var r=t.command;"Undo"!==r&&"Redo"!==r&&"mceRepaint"!==r&&(up(e,n),e.beforeChange())})),t.on("ExecCommand",(function(t){var e=t.command;"Undo"!==e&&"Redo"!==e&&"mceRepaint"!==e&&o(t)})),t.on("ObjectResizeStart cut",(function(){e.beforeChange()})),t.on("SaveContent ObjectResized blur",o),t.on("dragend",o),t.on("keyup",(function(n){var i=n.keyCode;n.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||n.ctrlKey)&&(o(),t.nodeChanged()),46!==i&&8!==i||t.nodeChanged(),r.get()&&e.typing&&!1===ap(op(t),e.data[0])&&(!1===t.isDirty()&&(t.setDirty(!0),t.fire("change",{level:e.data[0],lastLevel:null})),t.fire("TypingUndo"),r.set(!1),t.nodeChanged()))})),t.on("keydown",(function(t){var i=t.keyCode;if(!t.isDefaultPrevented())if(i>=33&&i<=36||i>=37&&i<=40||45===i)e.typing&&o(t);else{var a=t.ctrlKey&&!t.altKey||t.metaKey;!(i<16||i>20)||224===i||91===i||e.typing||a||(e.beforeChange(),cp(e,!0,n),e.add({},t),r.set(!0))}})),t.on("mousedown",(function(t){e.typing&&o(t)}));t.on("input",(function(t){t.inputType&&("insertReplacementText"===t.inputType||function(t){return"insertText"===t.inputType&&null===t.data}(t))&&o(t)})),t.on("AddUndo Undo Redo ClearUndos",(function(e){e.isDefaultPrevented()||t.nodeChanged()}))}(t,o,n),function(t){t.addShortcut("meta+z","","Undo"),t.addShortcut("meta+y,meta+shift+z","","Redo")}(t),o},dp=function(t){var e=qi(t,"br"),n=D(function(t){for(var e=[],n=t.dom();n;)e.push(Ot.fromDom(n)),n=n.lastChild;return e}(t).slice(-1),vn);e.length===n.length&&C(n,ei)},fp=function(t){ti(t),Qo(t,Ot.fromHtml('<br data-mce-bogus="1">'))},hp=function(t){_e(t).each((function(e){pe(e).each((function(n){mn(t)&&vn(e)&&mn(n)&&ei(e)}))}))},pp=ou.isEq,mp=function(t,e,n){var r=t.formatter.get(n);if(r)for(var o=0;o<r.length;o++)if(!1===r[o].inherit&&t.dom.is(e,r[o].selector))return!0;return!1},gp=function(t,e,n,r){var o=t.dom.getRoot();return e!==o&&(e=t.dom.getParent(e,(function(e){return!!mp(t,e,n)||(e.parentNode===o||!!yp(t,e,n,r,!0))})),yp(t,e,n,r))},vp=function(t,e,n){return!!pp(e,n.inline)||(!!pp(e,n.block)||(n.selector?1===e.nodeType&&t.is(e,n.selector):void 0))},bp=function(t,e,n,r,o,i){var a,s,c,u=n[r];if(n.onmatch)return n.onmatch(e,n,r);if(u)if(void 0===u.length){for(a in u)if(u.hasOwnProperty(a)){if(s="attributes"===r?t.getAttrib(e,a):ou.getStyle(t,e,a),o&&!s&&!n.exact)return;if((!o||n.exact)&&!pp(s,ou.normalizeStyleValue(t,ou.replaceVars(u[a],i),a)))return}}else for(c=0;c<u.length;c++)if("attributes"===r?t.getAttrib(e,u[c]):ou.getStyle(t,e,u[c]))return n;return n},yp=function(t,e,n,r,o){var i,a,s,c,u=t.formatter.get(n),l=t.dom;if(u&&e)for(a=0;a<u.length;a++)if(i=u[a],vp(t.dom,e,i)&&bp(l,e,i,"attributes",o,r)&&bp(l,e,i,"styles",o,r)){if(c=i.classes)for(s=0;s<c.length;s++)if(!t.dom.hasClass(e,c[s]))return;return i}},Mp={matchNode:yp,matchName:vp,match:function(t,e,n,r){var o;return r?gp(t,r,e,n):(r=t.selection.getNode(),!!gp(t,r,e,n)||!((o=t.selection.getStart())===r||!gp(t,o,e,n)))},matchAll:function(t,e,n){var r,o=[],i={};return r=t.selection.getStart(),t.dom.getParent(r,(function(r){var a,s;for(a=0;a<e.length;a++)s=e[a],!i[s]&&yp(t,r,s,n)&&(i[s]=!0,o.push(s))}),t.dom.getRoot()),o},canApply:function(t,e){var n,r,o,i,a,s=t.formatter.get(e),c=t.dom;if(s)for(n=t.selection.getStart(),r=ou.getParents(c,n),i=s.length-1;i>=0;i--){if(!(a=s[i].selector)||s[i].defaultBlock)return!0;for(o=r.length-1;o>=0;o--)if(c.is(r[o],a))return!0}return!1},matchesUnInheritedFormatSelector:mp},_p=function(t,e){return t.splitText(e)},wp=function(t){var e=t.startContainer,n=t.startOffset,r=t.endContainer,o=t.endOffset;return e===r&&nt.isText(e)?n>0&&n<e.nodeValue.length&&(e=(r=_p(e,n)).previousSibling,o>n?(e=r=_p(r,o-=n).previousSibling,o=r.nodeValue.length,n=0):o=0):(nt.isText(e)&&n>0&&n<e.nodeValue.length&&(e=_p(e,n),n=0),nt.isText(r)&&o>0&&o<r.nodeValue.length&&(o=(r=_p(r,o).previousSibling).nodeValue.length)),{startContainer:e,startOffset:n,endContainer:r,endOffset:o}},xp=function(t,e,n){if(0!==n){var r=t.data.slice(e,e+n),o=e+n>=t.data.length,i=0===e;t.replaceData(e,n,function(t,e,n){return N(t,(function(r,o){return function(t){return-1!==" \f\n\r\t\v".indexOf(t)}(o)||" "===o?r.previousCharIsSpace||""===r.str&&e||r.str.length===t.length-1&&n?{previousCharIsSpace:!1,str:r.str+" "}:{previousCharIsSpace:!0,str:r.str+" "}:{previousCharIsSpace:!1,str:r.str+o}}),{previousCharIsSpace:!1,str:""}).str}(r,i,o))}},Ap=function(t,e){var n,r=t.data.slice(e),o=r.length-(n=r,n.replace(/^\s+/g,"")).length;return xp(t,e,o)},Lp=function(t,e){var n,r,o,i=Ot.fromDom(t),a=Ot.fromDom(e);return n=a,r="pre,code",o=s(ue,i),Fi(n,r,o).isSome()},Tp=function(t,e){return Oa(e)&&!1===function(t,e){return nt.isText(e)&&/^[ \t\r\n]*$/.test(e.data)&&!1===Lp(t,e)}(t,e)||function(t){return nt.isElement(t)&&"A"===t.nodeName&&t.hasAttribute("name")}(e)||kp(e)},kp=nt.hasAttribute("data-mce-bookmark"),Sp=nt.hasAttribute("data-mce-bogus"),Op=nt.hasAttributeValue("data-mce-bogus","all"),Cp=function(t){return function(t){var e,n=0;if(Tp(t,t))return!1;if(!(e=t.firstChild))return!0;var r=new Go(e,t);do{if(Op(e))e=r.next(!0);else if(Sp(e))e=r.next();else if(nt.isBr(e))n++,e=r.next();else{if(Tp(t,e))return!1;e=r.next()}}while(e);return n<=1}(t.dom())},zp=function(t,e){return function(t,e){var n=t.container(),r=t.offset();return!1===hs.isTextPosition(t)&&n===e.parentNode&&r>hs.before(e).offset()}(e,t)?hs(e.container(),e.offset()-1):e},Dp=function(t){return Oa(t.previousSibling)?p.some((e=t.previousSibling,nt.isText(e)?hs(e,e.data.length):hs.after(e))):t.previousSibling?Xc.lastPositionIn(t.previousSibling):p.none();var e},Ep=function(t){return Oa(t.nextSibling)?p.some((e=t.nextSibling,nt.isText(e)?hs(e,0):hs.before(e))):t.nextSibling?Xc.firstPositionIn(t.nextSibling):p.none();var e},Np=function(t,e){return Dp(e).orThunk((function(){return Ep(e)})).orThunk((function(){return function(t,e){var n=hs.before(e.previousSibling?e.previousSibling:e.parentNode);return Xc.prevPosition(t,n).fold((function(){return Xc.nextPosition(t,hs.after(e))}),p.some)}(t,e)}))},Bp=function(t,e){return Ep(e).orThunk((function(){return Dp(e)})).orThunk((function(){return function(t,e){return Xc.nextPosition(t,hs.after(e)).fold((function(){return Xc.prevPosition(t,hs.before(e))}),p.some)}(t,e)}))},Pp=function(t,e,n){return function(t,e,n){return t?Bp(e,n):Np(e,n)}(t,e,n).map(s(zp,n))},Rp=function(t,e,n){n.fold((function(){t.focus()}),(function(n){t.selection.setRng(n.toRange(),e)}))},Yp=function(t,e){return e&&t.schema.getBlockElements().hasOwnProperty(Et(e))},Wp=function(t){if(Cp(t)){var e=Ot.fromHtml('<br data-mce-bogus="1">');return ti(t),Qo(t,e),p.some(hs.before(e.dom()))}return p.none()},Hp=function(t,e,n){var r,o,i,a,s=pe(t).filter(Pt),c=me(t).filter(Pt);return ei(t),(r=s,o=c,i=e,a=function(t,e,r){var o=t.dom(),i=e.dom(),a=o.data.length;return function(t,e,n){var r=yt(t.data).length;t.appendData(e.data),ei(Ot.fromDom(e)),n&&Ap(t,r)}(o,i,n),r.container()===i?hs(o,a):r},r.isSome()&&o.isSome()&&i.isSome()?p.some(a(r.getOrDie(),o.getOrDie(),i.getOrDie())):p.none()).orThunk((function(){return n&&(s.each((function(t){return e=t.dom(),n=t.dom().length,r=e.data.slice(0,n),o=r.length-yt(r).length,xp(e,n-o,o);var e,n,r,o})),c.each((function(t){return Ap(t.dom(),0)}))),e}))},qp=function(t,e,n,r){void 0===r&&(r=!0);var o,i=Pp(e,t.getBody(),n.dom()),a=ji(n,s(Yp,t),(o=t.getBody(),function(t){return t.dom()===o})),c=Hp(n,i,function(t,e){return Xt(t.schema.getTextInlineElements(),Et(e))}(t,n));t.dom.isEmpty(t.getBody())?(t.setContent(""),t.selection.setCursorLocation()):a.bind(Wp).fold((function(){r&&Rp(t,e,c)}),(function(n){r&&Rp(t,e,p.some(n))}))},Ip=sa,jp=function(t){return function(t){for(var e=[];t;){if(3===t.nodeType&&t.nodeValue!==Ip||t.childNodes.length>1)return[];1===t.nodeType&&e.push(t),t=t.firstChild}return e}(t).length>0},Xp=function(t){if(t){var e=new Go(t,t);for(t=e.current();t;t=e.next())if(3===t.nodeType)return t}return null},Fp=function(t){var e=Ot.fromTag("span");return $t(e,{id:"_mce_caret","data-mce-bogus":"1","data-mce-type":"format-caret"}),t&&Qo(e,Ot.fromText(Ip)),e},Up=function(t,e,n){void 0===n&&(n=!0);var r=t.dom,o=t.selection;if(jp(e))qp(t,!1,Ot.fromDom(e),n);else{var i=o.getRng(),a=r.getParent(e,r.isBlock),s=function(t){var e=Xp(t);return e&&e.nodeValue.charAt(0)===Ip&&e.deleteData(0,1),e}(e);i.startContainer===s&&i.startOffset>0&&i.setStart(s,i.startOffset-1),i.endContainer===s&&i.endOffset>0&&i.setEnd(s,i.endOffset-1),r.remove(e,!0),a&&r.isEmpty(a)&&fp(Ot.fromDom(a)),o.setRng(i)}},Vp=function(t,e,n){void 0===n&&(n=!0);var r=t.dom,o=t.selection;if(e)Up(t,e,n);else if(!(e=Ps(t.getBody(),o.getStart())))for(;e=r.get("_mce_caret");)Up(t,e,!1)},Gp=function(t,e,n){var r=t.dom,o=r.getParent(n,s(ou.isTextBlock,t));o&&r.isEmpty(o)?n.parentNode.replaceChild(e,n):(dp(Ot.fromDom(n)),r.isEmpty(n)?n.parentNode.replaceChild(e,n):r.insertAfter(e,n))},$p=function(t,e){return t.appendChild(e),e},Kp=function(t,e){var n=E(t,(function(t,e){return $p(t,e.cloneNode(!1))}),e);return $p(n,n.ownerDocument.createTextNode(Ip))},Jp=function(t){t.on("mouseup keydown",(function(e){!function(t,e){var n=t.selection,r=t.getBody();Vp(t,null,!1),8!==e&&46!==e||!n.isCollapsed()||n.getStart().innerHTML!==Ip||Vp(t,Ps(r,n.getStart())),37!==e&&39!==e||Vp(t,Ps(r,n.getStart()))}(t,e.keyCode)}))},Qp=function(t,e){return t.schema.getTextInlineElements().hasOwnProperty(Et(e))&&!Bs(e.dom())&&!nt.isBogus(e.dom())},Zp={},tm=nn.filter,em=nn.each;!function(t,e){var n=Zp[t];n||(Zp[t]=n=[]),Zp[t].push(e)}("pre",(function(t){var e,n,r=t.selection.getRng();e=nt.matchNodeNames(["pre"]),r.collapsed||(n=t.selection.getSelectedBlocks(),em(tm(tm(n,e),(function(t){return e(t.previousSibling)&&-1!==nn.indexOf(n,t.previousSibling)})),(function(t){var e,n;e=t.previousSibling,Vo(n=t).remove(),Vo(e).append("<br><br>").append(n.childNodes)})))}));var nm=function(t,e){em(Zp[t],(function(t){t(e)}))},rm=cn.each,om=function(t){this.compare=function(e,n){if(e.nodeName!==n.nodeName)return!1;var r=function(e){var n={};return rm(t.getAttribs(e),(function(r){var o=r.nodeName.toLowerCase();0!==o.indexOf("_")&&"style"!==o&&0!==o.indexOf("data-")&&(n[o]=t.getAttrib(e,o))})),n},o=function(t,e){var n,r;for(r in t)if(t.hasOwnProperty(r)){if(void 0===(n=e[r]))return!1;if(t[r]!==n)return!1;delete e[r]}for(r in e)if(e.hasOwnProperty(r))return!1;return!0};return!!o(r(e),r(n))&&(!!o(t.parseStyle(t.getAttrib(e,"style")),t.parseStyle(t.getAttrib(n,"style")))&&(!tu(e)&&!tu(n)))}},im=/^(src|href|style)$/,am=cn.each,sm=ou.isEq,cm=function(t,e,n){return t.isChildOf(e,n)&&e!==n&&!t.isBlock(n)},um=function(t,e,n){var r,o,i;return r=e[n?"startContainer":"endContainer"],o=e[n?"startOffset":"endOffset"],nt.isElement(r)&&(i=r.childNodes.length-1,!n&&o&&o--,r=r.childNodes[o>i?i:o]),nt.isText(r)&&n&&o>=r.nodeValue.length&&(r=new Go(r,t.getBody()).next()||r),nt.isText(r)&&!n&&0===o&&(r=new Go(r,t.getBody()).prev()||r),r},lm=function(t,e,n,r){var o=t.create(n,r);return e.parentNode.insertBefore(o,e),o.appendChild(e),o},dm=function(t,e,n,r,o){var i=Ot.fromDom(e),a=Ot.fromDom(t.create(r,o)),s=n?ve(i):ge(i);return Zo(a,s),n?($o(i,a),Jo(a,i)):(Ko(i,a),Qo(a,i)),a.dom()},fm=function(t,e,n,r){return!(e=ou.getNonWhiteSpaceSibling(e,n,r))||"BR"===e.nodeName||t.isBlock(e)},hm=function(t,e,n,r,o){var i,a,s,c=t.dom;if(!function(t,e,n){return!!sm(e,n.inline)||(!!sm(e,n.block)||(n.selector?nt.isElement(e)&&t.is(e,n.selector):void 0))}(c,r,e)&&!function(t,e){return e.links&&"A"===t.tagName}(r,e))return!1;if("all"!==e.remove)for(am(e.styles,(function(t,i){t=ou.normalizeStyleValue(c,ou.replaceVars(t,n),i),"number"==typeof i&&(i=t,o=0),(e.remove_similar||!o||sm(ou.getStyle(c,o,i),t))&&c.setStyle(r,i,""),s=1})),s&&""===c.getAttrib(r,"style")&&(r.removeAttribute("style"),r.removeAttribute("data-mce-style")),am(e.attributes,(function(t,i){var a;if(t=ou.replaceVars(t,n),"number"==typeof i&&(i=t,o=0),e.remove_similar||!o||sm(c.getAttrib(o,i),t)){if("class"===i&&(t=c.getAttrib(r,i))&&(a="",am(t.split(/\s+/),(function(t){/mce\-\w+/.test(t)&&(a+=(a?" ":"")+t)})),a))return void c.setAttrib(r,i,a);"class"===i&&r.removeAttribute("className"),im.test(i)&&r.removeAttribute("data-mce-"+i),r.removeAttribute(i)}})),am(e.classes,(function(t){t=ou.replaceVars(t,n),o&&!c.hasClass(o,t)||c.removeClass(r,t)})),a=c.getAttribs(r),i=0;i<a.length;i++){var u=a[i].nodeName;if(0!==u.indexOf("_")&&0!==u.indexOf("data-"))return!1}return"none"!==e.remove?(function(t,e,n){var r,o=e.parentNode,i=t.dom,a=Vu(t);n.block&&(a?o===i.getRoot()&&(n.list_block&&sm(e,n.list_block)||am(cn.grep(e.childNodes),(function(e){ou.isValid(t,a,e.nodeName.toLowerCase())?r?r.appendChild(e):(r=lm(i,e,a),i.setAttribs(r,t.settings.forced_root_block_attrs)):r=0}))):i.isBlock(e)&&!i.isBlock(o)&&(fm(i,e,!1)||fm(i,e.firstChild,!0,1)||e.insertBefore(i.create("br"),e.firstChild),fm(i,e,!0)||fm(i,e.lastChild,!1,1)||e.appendChild(i.create("br")))),n.selector&&n.inline&&!sm(n.inline,e)||i.remove(e,1)}(t,r,e),!0):void 0},pm=hm,mm=function(t,e,n,r,o){var i,a,s=t.formatter.get(e),c=s[0],u=!0,l=t.dom,d=t.selection,f=function(r){var i=function(t,e,n,r,o){var i;return am(ou.getParents(t.dom,e.parentNode).reverse(),(function(e){var a;i||"_start"===e.id||"_end"===e.id||(a=Mp.matchNode(t,e,n,r,o))&&!1!==a.split&&(i=e)})),i}(t,r,e,n,o);return function(t,e,n,r,o,i,a,s){var c,u,l,d,f,h,p=t.dom;if(n){for(h=n.parentNode,c=r.parentNode;c&&c!==h;c=c.parentNode){for(u=p.clone(c,!1),f=0;f<e.length;f++)if(hm(t,e[f],s,u,u)){u=0;break}u&&(l&&u.appendChild(l),d||(d=u),l=u)}!i||a.mixed&&p.isBlock(n)||(r=p.split(n,r)),l&&(o.parentNode.insertBefore(l,o),d.appendChild(o))}return r}(t,s,i,r,r,!0,c,n)},h=function(e){var r,o,i,a,d;if(nt.isElement(e)&&l.getContentEditable(e)&&(a=u,u="true"===l.getContentEditable(e),d=!0),r=cn.grep(e.childNodes),u&&!d)for(o=0,i=s.length;o<i&&!hm(t,s[o],n,e,e);o++);if(c.deep&&r.length){for(o=0,i=r.length;o<i;o++)h(r[o]);d&&(u=a)}},m=function(t){var e=l.get(t?"_start":"_end"),n=e[t?"firstChild":"lastChild"];return function(t){return tu(t)&&nt.isElement(t)&&("_start"===t.id||"_end"===t.id)}(n)&&(n=n[t?"firstChild":"lastChild"]),nt.isText(n)&&0===n.data.length&&(n=t?e.previousSibling||e.nextSibling:e.nextSibling||e.previousSibling),l.remove(e,!0),n},g=function(e){var n,r,o=e.commonAncestorContainer;if(e=gu(t,e,s,!0),c.split){if(e=wp(e),(n=um(t,e,!0))!==(r=um(t,e))){if(/^(TR|TH|TD)$/.test(n.nodeName)&&n.firstChild&&(n="TR"===n.nodeName?n.firstChild.firstChild||n:n.firstChild||n),o&&/^T(HEAD|BODY|FOOT|R)$/.test(o.nodeName)&&function(t){return/^(TH|TD)$/.test(t.nodeName)}(r)&&r.firstChild&&(r=r.firstChild||r),cm(l,n,r)){var i=p.from(n.firstChild).getOr(n);return f(dm(l,i,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void m(!0)}if(cm(l,r,n)){i=p.from(r.lastChild).getOr(r);return f(dm(l,i,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void m(!1)}n=lm(l,n,"span",{id:"_start","data-mce-type":"bookmark"}),r=lm(l,r,"span",{id:"_end","data-mce-type":"bookmark"}),f(n),f(r),n=m(!0),r=m()}else n=r=f(n);e.startContainer=n.parentNode?n.parentNode:n,e.startOffset=l.nodeIndex(n),e.endContainer=r.parentNode?r.parentNode:r,e.endOffset=l.nodeIndex(r)+1}bu(l,e,(function(e){am(e,(function(e){h(e),nt.isElement(e)&&"underline"===t.dom.getStyle(e,"text-decoration")&&e.parentNode&&"underline"===ou.getTextDecoration(l,e.parentNode)&&hm(t,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,e)}))}))};if(r)r.nodeType?((a=l.createRng()).setStartBefore(r),a.setEndAfter(r),g(a)):g(r);else if("false"!==l.getContentEditable(d.getNode()))d.isCollapsed()&&c.inline&&!l.select("td[data-mce-selected],th[data-mce-selected]").length?function(t,e,n,r){var o,i,a,s,c,u,l,d=t.dom,f=t.selection,h=[],p=f.getRng();for(o=p.startContainer,i=p.startOffset,c=o,3===o.nodeType&&(i!==o.nodeValue.length&&(s=!0),c=c.parentNode);c;){if(Mp.matchNode(t,c,e,n,r)){u=c;break}c.nextSibling&&(s=!0),h.push(c),c=c.parentNode}if(u)if(s){a=f.getBookmark(),p.collapse(!0);var m=gu(t,p,t.formatter.get(e),!0);m=wp(m),t.formatter.remove(e,n,m),f.moveToBookmark(a)}else{l=Ps(t.getBody(),u);var g=Fp(!1).dom(),v=Kp(h,g);Gp(t,g,l||u),Up(t,l,!1),f.setCursorLocation(v,1),d.isEmpty(u)&&d.remove(u)}}(t,e,n,o):(i=Ns.getPersistentBookmark(t.selection,!0),g(d.getRng()),d.moveToBookmark(i),c.inline&&Mp.match(t,e,n,d.getStart())&&ou.moveStart(l,d,d.getRng()),t.nodeChanged());else{r=d.getNode();for(var v=0,b=s.length;v<b&&(!s[v].ceFalseOverride||!hm(t,s[v],n,r,r));v++);}},gm=cn.each,vm=function(t){return t&&1===t.nodeType&&!tu(t)&&!Bs(t)&&!nt.isBogus(t)},bm=function(t,e){var n;for(n=t;n;n=n[e]){if(3===n.nodeType&&0!==n.nodeValue.length)return t;if(1===n.nodeType&&!tu(n))return n}return t},ym=function(t,e,n){var r,o,i=new om(t);if(e&&n&&(e=bm(e,"previousSibling"),n=bm(n,"nextSibling"),i.compare(e,n))){for(r=e.nextSibling;r&&r!==n;)o=r,r=r.nextSibling,e.appendChild(o);return t.remove(n),cn.each(cn.grep(n.childNodes),(function(t){e.appendChild(t)})),e}return n},Mm=function(t,e,n){gm(t.childNodes,(function(t){vm(t)&&(e(t)&&n(t),t.hasChildNodes()&&Mm(t,e,n))}))},_m=function(t,e){return s((function(e,n){return!(!n||!ou.getStyle(t,n,e))}),e)},wm=function(t,e,n){return s((function(e,n,r){t.setStyle(r,e,n),""===r.getAttribute("style")&&r.removeAttribute("style"),xm(t,r)}),e,n)},xm=function(t,e){"SPAN"===e.nodeName&&0===t.getAttribs(e).length&&t.remove(e,!0)},Am=function(t,e){var n;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(n=ou.getTextDecoration(t,e.parentNode),t.getStyle(e,"color")&&n?t.setStyle(e,"text-decoration",n):t.getStyle(e,"text-decoration")===n&&t.setStyle(e,"text-decoration",null))},Lm=function(t,e,n,r){gm(e,(function(e){gm(t.dom.select(e.inline,r),(function(r){vm(r)&&pm(t,e,n,r,e.exact?r:null)})),function(t,e,n){if(e.clear_child_styles){var r=e.links?"*:not(a)":"*";gm(t.select(r,n),(function(n){vm(n)&&gm(e.styles,(function(e,r){t.setStyle(n,r,"")}))}))}}(t.dom,e,r)}))},Tm=function(t,e,n,r){(e.styles.color||e.styles.textDecoration)&&(cn.walk(r,s(Am,t),"childNodes"),Am(t,r))},km=function(t,e,n,r){e.styles&&e.styles.backgroundColor&&Mm(r,_m(t,"fontSize"),wm(t,"backgroundColor",ou.replaceVars(e.styles.backgroundColor,n)))},Sm=function(t,e,n,r){"sub"!==e.inline&&"sup"!==e.inline||(Mm(r,_m(t,"fontSize"),wm(t,"fontSize","")),t.remove(t.select("sup"===e.inline?"sub":"sup",r),!0))},Om=function(t,e,n,r){r&&!1!==e.merge_siblings&&(r=ym(t,ou.getNonWhiteSpaceSibling(r),r),r=ym(t,r,ou.getNonWhiteSpaceSibling(r,!0)))},Cm=function(t,e,n,r,o){Mp.matchNode(t,o.parentNode,n,r)&&pm(t,e,r,o)||e.merge_with_parents&&t.dom.getParent(o.parentNode,(function(i){if(Mp.matchNode(t,i,n,r))return pm(t,e,r,o),!0}))},zm=function(t){var e=hs.fromRangeStart(t),r=hs.fromRangeEnd(t),o=t.commonAncestorContainer;return Xc.fromPosition(!1,o,r).map((function(i){return!lc(e,r,o)&&lc(e,i,o)?function(t,e,r,o){var i=n.document.createRange();return i.setStart(t,e),i.setEnd(r,o),i}(e.container(),e.offset(),i.container(),i.offset()):t})).getOr(t)},Dm=function(t){return t.collapsed?t:zm(t)},Em=cn.each,Nm=function(t,e,n,r){var o,i,a=t.formatter.get(e),s=a[0],c=!r&&t.selection.isCollapsed(),u=t.dom,l=t.selection,d=function(t,e){if(e=e||s,t){if(e.onformat&&e.onformat(t,e,n,r),Em(e.styles,(function(e,r){u.setStyle(t,r,ou.replaceVars(e,n))})),e.styles){var o=u.getAttrib(t,"style");o&&t.setAttribute("data-mce-style",o)}Em(e.attributes,(function(e,r){u.setAttrib(t,r,ou.replaceVars(e,n))})),Em(e.classes,(function(e){e=ou.replaceVars(e,n),u.hasClass(t,e)||u.addClass(t,e)}))}},f=function(t,e){var n=!1;return!!s.selector&&(Em(t,(function(t){if(!("collapsed"in t)||t.collapsed===c)return u.is(e,t.selector)&&!Bs(e)?(d(e,t),n=!0,!1):void 0})),n)},h=function(r,o,i,c){var u,l,h=[],p=!0;u=s.inline||s.block,l=r.create(u),d(l),bu(r,o,(function(o){var i,m=function(o){var g,v,b,y;if(y=p,g=o.nodeName.toLowerCase(),v=o.parentNode.nodeName.toLowerCase(),1===o.nodeType&&r.getContentEditable(o)&&(y=p,p="true"===r.getContentEditable(o),b=!0),ou.isEq(g,"br"))return i=0,void(s.block&&r.remove(o));if(s.wrapper&&Mp.matchNode(t,o,e,n))i=0;else{if(p&&!b&&s.block&&!s.wrapper&&ou.isTextBlock(t,g)&&ou.isValid(t,v,u))return o=r.rename(o,u),d(o),h.push(o),void(i=0);if(s.selector){var M=f(a,o);if(!s.inline||M)return void(i=0)}!p||b||!ou.isValid(t,u,g)||!ou.isValid(t,v,u)||!c&&3===o.nodeType&&1===o.nodeValue.length&&65279===o.nodeValue.charCodeAt(0)||Bs(o)||s.inline&&r.isBlock(o)?(i=0,Em(cn.grep(o.childNodes),m),b&&(p=y),i=0):(i||(i=r.clone(l,!1),o.parentNode.insertBefore(i,o),h.push(i)),i.appendChild(o))}};Em(o,m)})),!0===s.links&&Em(h,(function(t){var e=function(t){"A"===t.nodeName&&d(t,s),Em(cn.grep(t.childNodes),e)};e(t)})),Em(h,(function(o){var i,c=function(t){var e=!1;return Em(t.childNodes,(function(t){if(function(t){return t&&1===t.nodeType&&!tu(t)&&!Bs(t)&&!nt.isBogus(t)}(t))return e=t,!1})),e};i=function(t){var e=0;return Em(t.childNodes,(function(t){ou.isWhiteSpaceNode(t)||tu(t)||e++})),e}(o),!(h.length>1)&&r.isBlock(o)||0!==i?(s.inline||s.wrapper)&&(s.exact||1!==i||(o=function(t){var e,n;return(e=c(t))&&!tu(e)&&Mp.matchName(r,e,s)&&(n=r.clone(e,!1),d(n),r.replace(n,t,!0),r.remove(e,1)),n||t}(o)),Lm(t,a,n,o),Cm(t,s,e,n,o),km(r,s,n,o),Sm(r,s,n,o),Om(r,s,n,o)):r.remove(o,1)}))};if("false"!==u.getContentEditable(l.getNode())){if(s){if(r)r.nodeType?f(a,r)||((i=u.createRng()).setStartBefore(r),i.setEndAfter(r),h(u,gu(t,i,a),0,!0)):h(u,r,0,!0);else if(c&&s.inline&&!u.select("td[data-mce-selected],th[data-mce-selected]").length)!function(t,e,n){var r,o,i,a,s,c,u=t.selection;a=(r=u.getRng()).startOffset,c=r.startContainer.nodeValue,(o=Ps(t.getBody(),u.getStart()))&&(i=Xp(o));var l,d,f=/[^\s\u00a0\u00ad\u200b\ufeff]/;c&&a>0&&a<c.length&&f.test(c.charAt(a))&&f.test(c.charAt(a-1))?(s=u.getBookmark(),r.collapse(!0),r=gu(t,r,t.formatter.get(e)),r=wp(r),t.formatter.apply(e,n,r),u.moveToBookmark(s)):(o&&i.nodeValue===Ip||(l=t.getDoc(),d=Fp(!0).dom(),i=(o=l.importNode(d,!0)).firstChild,r.insertNode(o),a=1),t.formatter.apply(e,n,o),u.setCursorLocation(i,a))}(t,e,n);else{var p=t.selection.getNode();t.settings.forced_root_block||!a[0].defaultBlock||u.getParent(p,u.isBlock)||Nm(t,a[0].defaultBlock),t.selection.setRng(Dm(t.selection.getRng())),o=Ns.getPersistentBookmark(t.selection,!0),h(u,gu(t,l.getRng(),a)),s.styles&&Tm(u,s,n,p),l.moveToBookmark(o),ou.moveStart(u,l,l.getRng()),t.nodeChanged()}nm(e,t)}}else{r=l.getNode();for(var m=0,g=a.length;m<g;m++)if(a[m].ceFalseOverride&&u.is(r,a[m].selector))return void d(r,a[m])}},Bm={applyFormat:Nm},Pm=function(t,e,n,r){var o=Rt(n.get()),i={},a={},s=D(ou.getParents(t.dom,e),(function(t){return 1===t.nodeType&&!t.getAttribute("data-mce-bogus")}));Wt(r,(function(e,n){cn.each(s,(function(r){return t.formatter.matchNode(r,n,{},e.similar)?(-1===o.indexOf(n)&&(C(e.callbacks,(function(t){t(!0,{node:r,format:n,parents:s})})),i[n]=e.callbacks),a[n]=e.callbacks,!1):!Mp.matchesUnInheritedFormatSelector(t,r,n)&&void 0}))}));var c=Rm(n.get(),a,e,s);n.set(j(j({},i),c))},Rm=function(t,e,n,r){return It(t,(function(t,o){return!!Xt(e,o)||(C(t,(function(t){t(!1,{node:n,format:o,parents:r})})),!1)})).t},Ym=function(t,e,n,r,o){return null===e.get()&&function(t,e){var n=rt({});t.set({}),e.on("NodeChange",(function(r){Pm(e,r.element,n,t.get())}))}(e,t),function(t,e,n,r){var o=t.get();C(e.split(","),(function(t){o[t]||(o[t]={similar:r,callbacks:[]}),o[t].callbacks.push(n)})),t.set(o)}(e,n,r,o),{unbind:function(){return function(t,e,n){var r=t.get();C(e.split(","),(function(t){r[t].callbacks=D(r[t].callbacks,(function(t){return t!==n})),0===r[t].callbacks.length&&delete r[t]})),t.set(r)}(e,n,r)}}},Wm=function(t){var e={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(e,n,r){cn.each(r,(function(n,r){t.setAttrib(e,r,n)}))}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return cn.each("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),(function(t){e[t]={block:t,remove:"all"}})),e};var Hm=cn.each,qm=_i.DOM,Im=function(t,e){var n,r,o,i=e&&e.schema||Gn({}),a=function(t){var e;return r="string"==typeof t?{name:t,classes:[],attrs:{}}:t,function(t,e){e.classes.length&&qm.addClass(t,e.classes.join(" ")),qm.setAttribs(t,e.attrs)}(e=qm.create(r.name),r),e},s=function(t,e,n){var r,o,c,u=e.length>0&&e[0],l=u&&u.name;if(c=function(t,e){var n="string"!=typeof t?t.nodeName.toLowerCase():t,r=i.getElementRule(n),o=r&&r.parentsRequired;return!(!o||!o.length)&&(e&&-1!==cn.inArray(o,e)?e:o[0])}(t,l))l===c?(o=e[0],e=e.slice(1)):o=c;else if(u)o=e[0],e=e.slice(1);else if(!n)return t;return o&&(r=a(o)).appendChild(t),n&&(r||(r=qm.create("div")).appendChild(t),cn.each(n,(function(e){var n=a(e);r.insertBefore(n,t)}))),s(r,e,o&&o.siblings)};return t&&t.length?(r=t[0],n=a(r),(o=qm.create("div")).appendChild(s(n,t.slice(1),r.siblings)),o):""},jm=function(t){var e,n={classes:[],attrs:{}};return"*"!==(t=n.selector=cn.trim(t))&&(e=t.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(function(t,e,r,o,i){switch(e){case"#":n.attrs.id=r;break;case".":n.classes.push(r);break;case":":-1!==cn.inArray("checked disabled enabled read-only required".split(" "),r)&&(n.attrs[r]=r)}if("["===o){var a=i.match(/([\w\-]+)(?:\=\"([^\"]+))?/);a&&(n.attrs[a[1]]=a[2])}return""}))),n.name=e||"div",n},Xm=function(t){return t&&"string"==typeof t?(t=(t=t.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),cn.map(t.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(t){var e=cn.map(t.split(/(?:~\+|~|\+)/),jm),n=e.pop();return e.length&&(n.siblings=e),n})).reverse()):[]},Fm=function(t,e){var n,r,o,i,a,s,c="";if(!1===(s=t.settings.preview_styles))return"";"string"!=typeof s&&(s="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow");var u=function(t){return t.replace(/%(\w+)/g,"")};if("string"==typeof e){if(!(e=t.formatter.get(e)))return;e=e[0]}return"preview"in e&&!1===(s=e.preview)?"":(n=e.block||e.inline||"span",(i=Xm(e.selector)).length?(i[0].name||(i[0].name=n),n=e.selector,r=Im(i,t)):r=Im([n],t),o=qm.select(n,r)[0]||r.firstChild,Hm(e.styles,(function(t,e){(t=u(t))&&qm.setStyle(o,e,t)})),Hm(e.attributes,(function(t,e){(t=u(t))&&qm.setAttrib(o,e,t)})),Hm(e.classes,(function(t){t=u(t),qm.hasClass(o,t)||qm.addClass(o,t)})),t.fire("PreviewFormats"),qm.setStyles(r,{position:"absolute",left:-65535}),t.getBody().appendChild(r),a=qm.getStyle(t.getBody(),"fontSize",!0),a=/px$/.test(a)?parseInt(a,10):0,Hm(s.split(" "),(function(e){var n=qm.getStyle(o,e,!0);if(!("background-color"===e&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)&&(n=qm.getStyle(t.getBody(),e,!0),"#ffffff"===qm.toHex(n).toLowerCase())||"color"===e&&"#000000"===qm.toHex(n).toLowerCase())){if("font-size"===e&&/em|%$/.test(n)){if(0===a)return;n=parseFloat(n)/(/%$/.test(n)?100:1)*a+"px"}"border"===e&&n&&(c+="padding:0 2px;"),c+=e+":"+n+";"}})),t.fire("AfterPreviewFormats"),qm.remove(r),c)},Um=function(t,e,n,r,o){var i=e.get(n);!Mp.match(t,n,r,o)||"toggle"in i[0]&&!i[0].toggle?Bm.applyFormat(t,n,r,o):mm(t,n,r,o)},Vm=function(t){t.addShortcut("meta+b","","Bold"),t.addShortcut("meta+i","","Italic"),t.addShortcut("meta+u","","Underline");for(var e=1;e<=6;e++)t.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);t.addShortcut("access+7","",["FormatBlock",!1,"p"]),t.addShortcut("access+8","",["FormatBlock",!1,"div"]),t.addShortcut("access+9","",["FormatBlock",!1,"address"])},Gm=function(t){var e=function(t){var e={},n=function(t,r){t&&("string"!=typeof t?cn.each(t,(function(t,e){n(e,t)})):(b(r)||(r=[r]),cn.each(r,(function(t){void 0===t.deep&&(t.deep=!t.selector),void 0===t.split&&(t.split=!t.selector||t.inline),void 0===t.remove&&t.selector&&!t.inline&&(t.remove="none"),t.selector&&t.inline&&(t.mixed=!0,t.block_expand=!0),"string"==typeof t.classes&&(t.classes=t.classes.split(/\s+/))})),e[t]=r))};return n(Wm(t.dom)),n(t.settings.formats),{get:function(t){return t?e[t]:e},has:function(t){return Xt(e,t)},register:n,unregister:function(t){return t&&e[t]&&delete e[t],e}}}(t),n=rt(null);return Vm(t),Jp(t),{get:e.get,has:e.has,register:e.register,unregister:e.unregister,apply:s(Bm.applyFormat,t),remove:s(mm,t),toggle:s(Um,t,e),match:s(Mp.match,t),matchAll:s(Mp.matchAll,t),matchNode:s(Mp.matchNode,t),canApply:s(Mp.canApply,t),formatChanged:s(Ym,t,n),getCssText:s(Fm,t)}},$m=function(t,e,n){t.addAttributeFilter("data-mce-tabindex",(function(t,e){for(var n,r=t.length;r--;)(n=t[r]).attr("tabindex",n.attr("data-mce-tabindex")),n.attr(e,null)})),t.addAttributeFilter("src,href,style",(function(t,r){for(var o,i,a=t.length,s="data-mce-"+r,c=e.url_converter,u=e.url_converter_scope;a--;)void 0!==(i=(o=t[a]).attr(s))?(o.attr(r,i.length>0?i:null),o.attr(s,null)):(i=o.attr(r),"style"===r?i=n.serializeStyle(n.parseStyle(i),o.name):c&&(i=c.call(u,i,r,o.name)),o.attr(r,i.length>0?i:null))})),t.addAttributeFilter("class",(function(t){for(var e,n,r=t.length;r--;)(n=(e=t[r]).attr("class"))&&(n=e.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),e.attr("class",n.length>0?n:null))})),t.addAttributeFilter("data-mce-type",(function(t,e,n){for(var r,o=t.length;o--;){if("bookmark"===(r=t[o]).attr("data-mce-type")&&!n.cleanup)p.from(r.firstChild).exists((function(t){return!aa(t.value)}))?r.unwrap():r.remove()}})),t.addNodeFilter("noscript",(function(t){for(var e,n=t.length;n--;)(e=t[n].firstChild)&&(e.value=Yn.decode(e.value))})),t.addNodeFilter("script,style",(function(t,n){for(var r,o,i,a=t.length,s=function(t){return t.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")};a--;)o=(r=t[a]).firstChild?r.firstChild.value:"","script"===n?((i=r.attr("type"))&&r.attr("type","mce-no/type"===i?null:i.replace(/^mce\-/,"")),"xhtml"===e.element_format&&o.length>0&&(r.firstChild.value="// <![CDATA[\n"+s(o)+"\n// ]]>")):"xhtml"===e.element_format&&o.length>0&&(r.firstChild.value="\x3c!--\n"+s(o)+"\n--\x3e")})),t.addNodeFilter("#comment",(function(t){for(var e,n=t.length;n--;)0===(e=t[n]).value.indexOf("[CDATA[")?(e.name="#cdata",e.type=4,e.value=e.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===e.value.indexOf("mce:protected ")&&(e.name="#text",e.type=3,e.raw=!0,e.value=unescape(e.value).substr(14))})),t.addNodeFilter("xml:namespace,input",(function(t,e){for(var n,r=t.length;r--;)7===(n=t[r]).type?n.remove():1===n.type&&("input"!==e||n.attr("type")||n.attr("type","text"))})),t.addAttributeFilter("data-mce-type",(function(e){C(e,(function(e){"format-caret"===e.attr("data-mce-type")&&(e.isEmpty(t.schema.getNonEmptyElements())?e.remove():e.unwrap())}))})),t.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",(function(t,e){for(var n=t.length;n--;)t[n].attr(e,null)}))},Km=function(t){var e,n,r=function(t){return t&&"br"===t.name};r(e=t.lastChild)&&r(n=e.prev)&&(e.remove(),n.remove())},Jm=function(t,e,r){return function(t,e){return t&&t.hasEventListeners("PreProcess")&&!e.no_events}(t,r)?function(t,e,r){var o,i,a,s=t.dom;return e=e.cloneNode(!0),(o=n.document.implementation).createHTMLDocument&&(i=o.createHTMLDocument(""),cn.each("BODY"===e.nodeName?e.childNodes:[e],(function(t){i.body.appendChild(i.importNode(t,!0))})),e="BODY"!==e.nodeName?i.body.firstChild:i.body,a=s.doc,s.doc=i),bd(t,Dd(r,{node:e})),a&&(s.doc=a),e}(t,e,r):e},Qm=function(t,e,n){t.addNodeFilter("font",(function(t){C(t,(function(t){var r=e.parse(t.attr("style")),o=t.attr("color"),i=t.attr("face"),a=t.attr("size");o&&(r.color=o),i&&(r["font-family"]=i),a&&(r["font-size"]=n[parseInt(t.attr("size"),10)-1]),t.name="span",t.attr("style",e.serialize(r)),function(t,e){C(e,(function(e){t.attr(e,null)}))}(t,["color","face","size"])}))}))},Zm=function(t,e){var n=pr();e.convert_fonts_to_spans&&Qm(t,n,cn.explode(e.font_size_legacy_values)),function(t,e){t.addNodeFilter("strike",(function(t){C(t,(function(t){var n=e.parse(t.attr("style"));n["text-decoration"]="line-through",t.name="span",t.attr("style",e.serialize(n))}))}))}(t,n)},tg=function(t,e){e.inline_styles&&Zm(t,e)},eg=function(t,e,n,r){(t.padd_empty_with_br||e.insert)&&n[r.name]?r.empty().append(new Ou("br",1)).shortEnded=!0:r.empty().append(new Ou("#text",3)).value=" "},ng=function(t,e){return t&&t.firstChild&&t.firstChild===t.lastChild&&t.firstChild.name===e},rg=function(t,e,n,r){return r.isEmpty(e,n,(function(e){return function(t,e){var n=t.getElementRule(e.name);return n&&n.paddEmpty}(t,e)}))},og=cn.makeMap,ig=cn.each,ag=cn.explode,sg=cn.extend,cg=function(t,e){void 0===e&&(e=Gn());var n={},r=[],o={},i={};(t=t||{}).validate=!("validate"in t)||t.validate,t.root_name=t.root_name||"body";var a=function(t){var e,a,s;(a=t.name)in n&&((s=o[a])?s.push(t):o[a]=[t]),e=r.length;for(;e--;)(a=r[e].name)in t.attributes.map&&((s=i[a])?s.push(t):i[a]=[t]);return t},s={schema:e,addAttributeFilter:function(t,e){ig(ag(t),(function(t){var n;for(n=0;n<r.length;n++)if(r[n].name===t)return void r[n].callbacks.push(e);r.push({name:t,callbacks:[e]})}))},getAttributeFilters:function(){return[].concat(r)},addNodeFilter:function(t,e){ig(ag(t),(function(t){var r=n[t];r||(n[t]=r=[]),r.push(e)}))},getNodeFilters:function(){var t=[];for(var e in n)n.hasOwnProperty(e)&&t.push({name:e,callbacks:n[e]});return t},filterNode:a,parse:function(s,c){var u,l,d,f,h,p,m,g,v,b,y,M=[];c=c||{},o={},i={},v=sg(og("script,style,head,html,body,title,meta,param"),e.getBlockElements());var _=e.getNonEmptyElements(),w=e.children,x=t.validate,A=function(t){return!1===t?"":!0===t?"p":t}("forced_root_block"in c?c.forced_root_block:t.forced_root_block),L=e.getWhiteSpaceElements(),T=/^[ \t\r\n]+/,k=/[ \t\r\n]+$/,S=/[ \t\r\n]+/g,O=/^[ \t\r\n]+$/;b=L.hasOwnProperty(c.context)||L.hasOwnProperty(t.root_name);var C=function(t,e){var r,i=new Ou(t,e);return t in n&&((r=o[t])?r.push(i):o[t]=[i]),i},z=function(t){var n,r,o,i,a=e.getBlockElements();for(n=t.prev;n&&3===n.type;){if((o=n.value.replace(k,"")).length>0)return void(n.value=o);if(r=n.next){if(3===r.type&&r.value.length){n=n.prev;continue}if(!a[r.name]&&"script"!==r.name&&"style"!==r.name){n=n.prev;continue}}i=n.prev,n.remove(),n=i}};u=Bu({validate:x,allow_script_urls:t.allow_script_urls,allow_conditional_comments:t.allow_conditional_comments,self_closing_elements:function(t){var e,n={};for(e in t)"li"!==e&&"p"!==e&&(n[e]=t[e]);return n}(e.getSelfClosingElements()),cdata:function(t){y.append(C("#cdata",4)).value=t},text:function(t,e){var n;b||(t=t.replace(S," "),function(t,e){return t&&(e[t.name]||"br"===t.name)}(y.lastChild,v)&&(t=t.replace(T,""))),0!==t.length&&((n=C("#text",3)).raw=!!e,y.append(n).value=t)},comment:function(t){y.append(C("#comment",8)).value=t},pi:function(t,e){y.append(C(t,7)).value=e,z(y)},doctype:function(t){y.append(C("#doctype",10)).value=t,z(y)},start:function(t,n,o){var a,s,c,u,l;if(c=x?e.getElementRule(t):{}){for((a=C(c.outputName||t,1)).attributes=n,a.shortEnded=o,y.append(a),(l=w[y.name])&&w[a.name]&&!l[a.name]&&M.push(a),s=r.length;s--;)(u=r[s].name)in n.map&&((m=i[u])?m.push(a):i[u]=[a]);v[t]&&z(a),o||(y=a),!b&&L[t]&&(b=!0)}},end:function(n){var r,o,i,a,s;if(o=x?e.getElementRule(n):{}){if(v[n]&&!b){if((r=y.firstChild)&&3===r.type)if((i=r.value.replace(T,"")).length>0)r.value=i,r=r.next;else for(a=r.next,r.remove(),r=a;r&&3===r.type;)i=r.value,a=r.next,(0===i.length||O.test(i))&&(r.remove(),r=a),r=a;if((r=y.lastChild)&&3===r.type)if((i=r.value.replace(k,"")).length>0)r.value=i,r=r.prev;else for(a=r.prev,r.remove(),r=a;r&&3===r.type;)i=r.value,a=r.prev,(0===i.length||O.test(i))&&(r.remove(),r=a),r=a}if(b&&L[n]&&(b=!1),o.removeEmpty&&rg(e,_,L,y)&&!y.attr("name")&&!y.attr("id"))return s=y.parent,v[y.name]?y.empty().remove():y.unwrap(),void(y=s);o.paddEmpty&&(function(t){return ng(t,"#text")&&" "===t.firstChild.value}(y)||rg(e,_,L,y))&&eg(t,c,v,y),y=y.parent}}},e);var D=y=new Ou(c.context||t.root_name,11);if(u.parse(s),x&&M.length&&(c.context?c.invalid=!0:function(t){var n,r,o,i,s,c,u,l,d,f,h,p,m,g,v,b;for(p=og("tr,td,th,tbody,thead,tfoot,table"),f=e.getNonEmptyElements(),h=e.getWhiteSpaceElements(),m=e.getTextBlockElements(),g=e.getSpecialElements(),n=0;n<t.length;n++)if((r=t[n]).parent&&!r.fixed)if(m[r.name]&&"li"===r.parent.name){for(v=r.next;v&&m[v.name];)v.name="li",v.fixed=!0,r.parent.insert(v,r.parent),v=v.next;r.unwrap(r)}else{for(i=[r],o=r.parent;o&&!e.isValidChild(o.name,r.name)&&!p[o.name];o=o.parent)i.push(o);if(o&&i.length>1){for(i.reverse(),s=c=a(i[0].clone()),d=0;d<i.length-1;d++){for(e.isValidChild(c.name,i[d].name)?(u=a(i[d].clone()),c.append(u)):u=c,l=i[d].firstChild;l&&l!==i[d+1];)b=l.next,u.append(l),l=b;c=u}rg(e,f,h,s)?o.insert(r,i[0],!0):(o.insert(s,i[0],!0),o.insert(r,s)),o=i[0],(rg(e,f,h,o)||ng(o,"br"))&&o.empty().remove()}else if(r.parent){if("li"===r.name){if((v=r.prev)&&("ul"===v.name||"ul"===v.name)){v.append(r);continue}if((v=r.next)&&("ul"===v.name||"ul"===v.name)){v.insert(r,v.firstChild,!0);continue}r.wrap(a(new Ou("ul",1)));continue}e.isValidChild(r.parent.name,"div")&&e.isValidChild("div",r.name)?r.wrap(a(new Ou("div",1))):g[r.name]?r.empty().remove():r.unwrap()}}}(M)),A&&("body"===D.name||c.isRootContent)&&function(){var n,r,o=D.firstChild,i=function(t){t&&((o=t.firstChild)&&3===o.type&&(o.value=o.value.replace(T,"")),(o=t.lastChild)&&3===o.type&&(o.value=o.value.replace(k,"")))};if(e.isValidChild(D.name,A.toLowerCase())){for(;o;)n=o.next,3===o.type||1===o.type&&"p"!==o.name&&!v[o.name]&&!o.attr("data-mce-type")?(r||((r=C(A,1)).attr(t.forced_root_block_attrs),D.insert(r,o)),r.append(o)):(i(r),r=null),o=n;i(r)}}(),!c.invalid){for(g in o)if(o.hasOwnProperty(g)){for(m=n[g],h=(l=o[g]).length;h--;)l[h].parent||l.splice(h,1);for(d=0,f=m.length;d<f;d++)m[d](l,g,c)}for(d=0,f=r.length;d<f;d++)if((m=r[d]).name in i){for(h=(l=i[m.name]).length;h--;)l[h].parent||l.splice(h,1);for(h=0,p=m.callbacks.length;h<p;h++)m.callbacks[h](l,m.name,c)}}return D}};return function(t,e){var n=t.schema;e.remove_trailing_brs&&t.addNodeFilter("br",(function(t,r,o){var i,a,s,c,u,l,d,f,h=t.length,p=cn.extend({},n.getBlockElements()),m=n.getNonEmptyElements(),g=n.getNonEmptyElements();for(p.body=1,i=0;i<h;i++)if(s=(a=t[i]).parent,p[a.parent.name]&&a===s.lastChild){for(u=a.prev;u;){if("span"!==(l=u.name)||"bookmark"!==u.attr("data-mce-type")){if("br"!==l)break;if("br"===l){a=null;break}}u=u.prev}a&&(a.remove(),rg(n,m,g,s)&&(d=n.getElementRule(s.name))&&(d.removeEmpty?s.remove():d.paddEmpty&&eg(e,o,p,s)))}else{for(c=a;s&&s.firstChild===c&&s.lastChild===c&&(c=s,!p[s.name]);)s=s.parent;c===s&&!0!==e.padd_empty_with_br&&((f=new Ou("#text",3)).value=" ",a.replace(f))}})),t.addAttributeFilter("href",(function(t){var n,r,o,i=t.length;if(!e.allow_unsafe_link_target)for(;i--;)"a"===(n=t[i]).name&&"_blank"===n.attr("target")&&n.attr("rel",(r=n.attr("rel"),o=void 0,o=r?cn.trim(r):"",/\b(noopener)\b/g.test(o)?o:function(t){return t.split(" ").filter((function(t){return t.length>0})).concat(["noopener"]).sort().join(" ")}(o)))})),e.allow_html_in_named_anchor||t.addAttributeFilter("id,name",(function(t){for(var e,n,r,o,i=t.length;i--;)if("a"===(o=t[i]).name&&o.firstChild&&!o.attr("href")){r=o.parent,e=o.lastChild;do{n=e.prev,r.insert(e,o),e=n}while(e)}})),e.fix_list_elements&&t.addNodeFilter("ul,ol",(function(t){for(var e,n,r=t.length;r--;)if("ul"===(n=(e=t[r]).parent).name||"ol"===n.name)if(e.prev&&"li"===e.prev.name)e.prev.append(e);else{var o=new Ou("li",1);o.attr("style","list-style-type: none"),e.wrap(o)}})),e.validate&&n.getValidClasses()&&t.addAttributeFilter("class",(function(t){for(var e,r,o,i,a,s,c,u=t.length,l=n.getValidClasses();u--;){for(r=(e=t[u]).attr("class").split(" "),a="",o=0;o<r.length;o++)i=r[o],c=!1,(s=l["*"])&&s[i]&&(c=!0),s=l[e.name],!c&&s&&s[i]&&(c=!0),c&&(a&&(a+=" "),a+=i);a.length||(a=null),e.attr("class",a)}}))}(s,t),tg(s,t),s},ug=function(t,e,n){-1===cn.inArray(e,n)&&(t.addAttributeFilter(n,(function(t,e){for(var n=t.length;n--;)t[n].attr(e,null)})),e.push(n))},lg=function(t,e,n,r,o){return function(t,e,n){return!e.no_events&&t?yd(t,Dd(e,{content:n})).content:n}(t,o,function(t,e,n){return xl(t,e).serialize(n)}(e,n,r))},dg=function(t,e){var n,r,o,i=["data-mce-selected"];n=e&&e.dom?e.dom:_i.DOM,r=e&&e.schema?e.schema:Gn(t),t.entity_encoding=t.entity_encoding||"named",t.remove_trailing_brs=!("remove_trailing_brs"in t)||t.remove_trailing_brs,o=cg(t,r),$m(o,t,n);return{schema:r,addNodeFilter:o.addNodeFilter,addAttributeFilter:o.addAttributeFilter,serialize:function(i,a){var s=Dd({format:"html"},a||{}),c=Jm(e,i,s),u=function(t,e,n){var r=ca(n.getInner?e.innerHTML:t.getOuterHTML(e));return n.selection||An(Ot.fromDom(e))?r:cn.trim(r)}(n,c,s),l=function(t,e,n){var r=n.selection?Dd({forced_root_block:!1},n):n,o=t.parse(e,r);return Km(o),o}(o,u,s);return"tree"===s.format?l:lg(e,t,r,l,s)},addRules:function(t){r.addValidElements(t)},setRules:function(t){r.setValidElements(t)},addTempAttr:s(ug,o,i),getTempAttrs:function(){return i}}},fg=function(t,e){var n=dg(t,e);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs}};function hg(t){return{getBookmark:s(Qc,t),moveToBookmark:s(Zc,t)}}!function(t){t.isBookmarkNode=tu}(hg||(hg={}));var pg=hg,mg=nt.isContentEditableFalse,gg=nt.isContentEditableTrue,vg=function(t,e){var r,o,i,a,s,c,u,l,d,f,h,p,m,g,v,b,y,M=e.dom,_=cn.each,w=e.getDoc(),x=n.document,A=Math.abs,L=Math.round,T=e.getBody();a={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var k=function(t){return t&&("IMG"===t.nodeName||e.dom.is(t,"figure.image"))},S=function(t){var n=t.target;(function(t,e){if("longpress"===t.type||0===t.type.indexOf("touch")){var n=t.touches[0];return k(t.target)&&!xh(n.clientX,n.clientY,e)}return k(t.target)&&!xh(t.clientX,t.clientY,e)})(t,e.selection.getRng())&&!t.isDefaultPrevented()&&e.selection.select(n)},O=function(t){return e.dom.is(t,"figure.image")?t.querySelector("img"):t},C=function(t){var n=e.settings.object_resizing;return!1!==n&&!Qe.iOS&&("string"!=typeof n&&(n="table,img,figure.image,div"),"false"!==t.getAttribute("data-mce-resize")&&(t!==e.getBody()&&se(Ot.fromDom(t),n)))},z=function(t){var n,a,_,w;n=t.screenX-c,a=t.screenY-u,g=n*s[2]+f,v=a*s[3]+h,g=g<5?5:g,v=v<5?5:v,(k(r)&&!1!==e.settings.resize_img_proportional?!Uf.modifierPressed(t):Uf.modifierPressed(t)||k(r)&&s[2]*s[3]!=0)&&(A(n)>A(a)?(v=L(g*p),g=L(v/p)):(g=L(v/p),v=L(g*p))),M.setStyles(O(o),{width:g,height:v}),_=(_=s.startPos.x+n)>0?_:0,w=(w=s.startPos.y+a)>0?w:0,M.setStyles(i,{left:_,top:w,display:"block"}),i.innerHTML=g+" × "+v,s[2]<0&&o.clientWidth<=g&&M.setStyle(o,"left",l+(f-g)),s[3]<0&&o.clientHeight<=v&&M.setStyle(o,"top",d+(h-v)),(n=T.scrollWidth-b)+(a=T.scrollHeight-y)!==0&&M.setStyles(i,{left:_-n,top:w-a}),m||(xd(e,r,f,h),m=!0)},D=function(){m=!1;var t=function(t,n){n&&(r.style[t]||!e.schema.isValid(r.nodeName.toLowerCase(),t)?M.setStyle(O(r),t,n):M.setAttrib(O(r),t,n))};t("width",g),t("height",v),M.unbind(w,"mousemove",z),M.unbind(w,"mouseup",D),x!==w&&(M.unbind(x,"mousemove",z),M.unbind(x,"mouseup",D)),M.remove(o),M.remove(i),E(r),Ad(e,r,g,v),M.setAttrib(r,"style",M.getAttrib(r,"style")),e.nodeChanged()},E=function(t){var n,m,A,L,k;N(),R(),n=M.getPos(t,T),l=n.x,d=n.y,k=t.getBoundingClientRect(),m=k.width||k.right-k.left,A=k.height||k.bottom-k.top,r!==t&&(r=t,g=v=0),L=e.fire("ObjectSelected",{target:t}),C(t)&&!L.isDefaultPrevented()?_(a,(function(t,e){var n;(n=M.get("mceResizeHandle"+e))&&M.remove(n),n=M.add(T,"div",{id:"mceResizeHandle"+e,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+e+"-resize; margin:0; padding:0"}),11===Qe.ie&&(n.contentEditable=!1),M.bind(n,"mousedown",(function(e){e.stopImmediatePropagation(),e.preventDefault(),function(e){c=e.screenX,u=e.screenY,f=O(r).clientWidth,h=O(r).clientHeight,p=h/f,s=t,t.startPos={x:m*t[0]+l,y:A*t[1]+d},b=T.scrollWidth,y=T.scrollHeight,o=r.cloneNode(!0),M.addClass(o,"mce-clonedresizable"),M.setAttrib(o,"data-mce-bogus","all"),o.contentEditable=!1,o.unSelectabe=!0,M.setStyles(o,{left:l,top:d,margin:0}),o.removeAttribute("data-mce-selected"),T.appendChild(o),M.bind(w,"mousemove",z),M.bind(w,"mouseup",D),x!==w&&(M.bind(x,"mousemove",z),M.bind(x,"mouseup",D)),i=M.add(T,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},f+" × "+h)}(e)})),t.elm=n,M.setStyles(n,{left:m*t[0]+l-n.offsetWidth/2,top:A*t[1]+d-n.offsetHeight/2})})):N(),r.setAttribute("data-mce-selected","1")},N=function(){var t,e;for(t in R(),r&&r.removeAttribute("data-mce-selected"),a)(e=M.get("mceResizeHandle"+t))&&(M.unbind(e),M.remove(e))},B=function(n){var r,o=function(t,e){if(t)do{if(t===e)return!0}while(t=t.parentNode)};m||e.removed||(_(M.select("img[data-mce-selected],hr[data-mce-selected]"),(function(t){t.removeAttribute("data-mce-selected")})),r="mousedown"===n.type?n.target:t.getNode(),o(r=M.$(r).closest("table,img,figure.image,hr")[0],T)&&(Y(),o(t.getStart(!0),r)&&o(t.getEnd(!0),r))?E(r):N())},P=function(t){return mg(function(t,e){for(;e&&e!==t;){if(gg(e)||mg(e))return e;e=e.parentNode}return null}(e.getBody(),t))},R=function(){for(var t in a){var e=a[t];e.elm&&(M.unbind(e.elm),delete e.elm)}},Y=function(){try{e.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(t){}};e.on("init",(function(){Y(),(Qe.browser.isIE()||Qe.browser.isEdge())&&(e.on("mousedown click",(function(t){var n=t.target,r=n.nodeName;m||!/^(TABLE|IMG|HR)$/.test(r)||P(n)||(2!==t.button&&e.selection.select(n,"TABLE"===r),"mousedown"===t.type&&e.nodeChanged())})),e.dom.bind(T,"mscontrolselect",(function(t){var n=function(t){je.setEditorTimeout(e,(function(){e.selection.select(t)}))};if(P(t.target))return t.preventDefault(),void n(t.target);/^(TABLE|IMG|HR)$/.test(t.target.nodeName)&&(t.preventDefault(),"IMG"===t.target.tagName&&n(t.target))})));var t=je.throttle((function(t){e.composing||B(t)}));e.on("nodechange ResizeEditor ResizeWindow drop FullscreenStateChanged",t),e.on("keyup compositionend",(function(e){r&&"TABLE"===r.nodeName&&t(e)})),e.on("hide blur",N),e.on("contextmenu longpress",S,!0)})),e.on("remove",R);return{isResizable:C,showResizeRect:E,hideResizeRect:N,updateResizeRect:B,destroy:function(){r=o=null}}};var bg=function(t,e){var n=function(n){var r=e(n);if(r<=0||null===r){var o=Qt(n,t);return parseFloat(o)||0}return r},r=function(t,e){return N(e,(function(e,n){var r=Qt(t,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?e:e+o}),0)};return{set:function(e,n){if(!w(n)&&!n.match(/^[0-9]+$/))throw new Error(t+".set accepts only positive integer values. Value was "+n);var r=e.dom();Ft(r)&&(r.style[t]=n+"px")},get:n,getOuter:n,aggregate:r,max:function(t,e,n){var o=r(t,n);return e>o?e-o:0}}}("height",(function(t){var e=t.dom();return Ut(t)?e.getBoundingClientRect().height:e.offsetHeight})),yg=function(t,e){return t.view(e).fold(i([]),(function(e){var n=t.owner(e),r=yg(t,n);return[e].concat(r)}))},Mg=Object.freeze({view:function(t){return(t.dom()===n.document?p.none():p.from(t.dom().defaultView.frameElement)).map(Ot.fromDom)},owner:function(t){return de(t)}}),_g=function(t){var e=Ot.fromDom(n.document),r=ci(e),o=function(t,e){var n=e.owner(t);return yg(e,n)}(t,Mg),i=ai(t),a=E(o,(function(t,e){var n=ai(e);return{left:t.left+n.left(),top:t.top+n.top()}}),{left:0,top:0});return oi(a.left+i.left()+r.left(),a.top+i.top()+r.top())},wg=function(t){return"textarea"===Et(t)},xg=function(t,e){var n=function(t){var e=t.dom().ownerDocument,n=e.body,r=e.defaultView,o=e.documentElement;if(n===t.dom())return oi(n.offsetLeft,n.offsetTop);var i=ii(r.pageYOffset,o.scrollTop),a=ii(r.pageXOffset,o.scrollLeft),s=ii(o.clientTop,n.clientTop),c=ii(o.clientLeft,n.clientLeft);return ai(t).translate(a-c,i-s)}(t),r=function(t){return bg.get(t)}(t);return{element:t,bottom:n.top()+r,pos:n,cleanup:e}},Ag=function(t,e){var n=function(t,e){var n=be(t);if(0===n.length||wg(t))return{element:t,offset:e};if(e<n.length&&!wg(n[e]))return{element:n[e],offset:0};var r=n[n.length-1];return wg(r)?{element:t,offset:e}:"img"===Et(r)?{element:r,offset:1}:Pt(r)?{element:r,offset:Mu(r).length}:{element:r,offset:be(r).length}}(t,e),r=Ot.fromHtml('<span data-mce-bogus="all">'+sa+"</span>");return $o(n.element,r),xg(r,(function(){return ei(r)}))},Lg=function(t){return xg(Ot.fromDom(t),r)},Tg=function(t,e,n,r){Og(t,(function(o,i){return kg(t,e,n,r)}),n)},kg=function(t,e,n,r){var o=Ot.fromDom(t.getBody()),i=Ot.fromDom(t.getDoc());o.dom().offsetWidth;var a=ci(i).top(),s=Ag(Ot.fromDom(n.startContainer),n.startOffset);e(i,a,s,r),s.cleanup()},Sg=function(t,e,n,r){var o=Ot.fromDom(t.getDoc());n(o,ci(o).top(),e,r)},Og=function(t,e,n){var r=n.startContainer,o=n.startOffset,i=n.endContainer,a=n.endOffset;e(Ot.fromDom(r),Ot.fromDom(i));var s=t.dom.createRng();s.setStart(r,o),s.setEnd(i,a),t.selection.setRng(n)},Cg=function(t,e,n,r){var o=t.pos;if(n)ui(o.left(),o.top(),r);else{var i=o.top()-e+(t.bottom-o.top());ui(o.left(),i,r)}},zg=function(t,e,n,r,o){r.pos.top()<e?Cg(r,n,!1!==o,t):r.bottom>n+e&&Cg(r,n,!0===o,t)},Dg=function(t,e,n,r){var o=t.dom().defaultView.innerHeight;zg(t,e,o,n,r)},Eg=function(t,e,r,o,i){var a=e.dom().defaultView.innerHeight;zg(e,r,a,o,i);var s=_g(o.element),c=fi(n.window);s.top()<c.y()?li(o.element,!1!==i):s.top()>c.bottom()&&li(o.element,!0===i)},Ng=function(t,e,n){return Tg(t,s(Dg),e,n)},Bg=function(t,e,n){return Sg(t,Lg(e),s(Dg),n)},Pg=function(t,e,n){return Tg(t,s(Eg,t),e,n)},Rg=function(t,e,n){return Sg(t,Lg(e),s(Eg,t),n)},Yg=function(t,e,n){(function(t,e,n){return t.fire("ScrollIntoView",{elm:e,alignToTop:n}).isDefaultPrevented()})(t,e,n)||(t.inline?Bg:Rg)(t,e,n)},Wg=function(t,e,n){(t.inline?Ng:Pg)(t,e,n)},Hg=function(t){return nt.isContentEditableTrue(t)||nt.isContentEditableFalse(t)},qg=function(t,e,n){var r,o,i=n;if(i.caretPositionFromPoint)(o=i.caretPositionFromPoint(t,e))&&((r=n.createRange()).setStart(o.offsetNode,o.offset),r.collapse(!0));else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(t,e);else if(i.body.createTextRange){r=i.body.createTextRange();try{r.moveToPoint(t,e),r.collapse(!0)}catch(o){r=function(t,e,n){var r,o,i;if(r=n.elementFromPoint(t,e),o=n.body.createTextRange(),r&&"HTML"!==r.tagName||(r=n.body),o.moveToElementText(r),(i=(i=cn.toArray(o.getClientRects())).sort((function(t,n){return(t=Math.abs(Math.max(t.top-e,t.bottom-e)))-(n=Math.abs(Math.max(n.top-e,n.bottom-e)))}))).length>0){e=(i[0].bottom+i[0].top)/2;try{return o.moveToPoint(t,e),o.collapse(!0),o}catch(t){}}return null}(t,e,n)}return function(t,e){var n=t&&t.parentElement?t.parentElement():null;return nt.isContentEditableFalse(function(t,e,n){for(;t&&t!==e;){if(n(t))return t;t=t.parentNode}return null}(n,e,Hg))?null:t}(r,n.body)}return r},Ig=function(t,e){return O(e,(function(e){var n=t.fire("GetSelectionRange",{range:e});return n.range!==e?n.range:e}))},jg=function(t,e){var r=(e||n.document).createDocumentFragment();return C(t,(function(t){r.appendChild(t.dom())})),Ot.fromDom(r)},Xg=ee("element","width","rows"),Fg=ee("element","cells"),Ug=ee("x","y"),Vg=function(t,e){var n=parseInt(Kt(t,e),10);return isNaN(n)?1:n},Gg=function(t,e,n){var r=t.rows();return!!(r[n]?r[n].cells():[])[e]},$g=function(t){return N(t,(function(t,e){return e.cells().length>t?e.cells().length:t}),0)},Kg=function(t,e){for(var n=t.rows(),r=0;r<n.length;r++)for(var o=n[r].cells(),i=0;i<o.length;i++)if(ue(o[i],e))return p.some(Ug(i,r));return p.none()},Jg=function(t,e,n,r,o){for(var i=[],a=t.rows(),s=n;s<=o;s++){var c=a[s].cells(),u=e<r?c.slice(e,r+1):c.slice(r,e+1);i.push(Fg(a[s].element(),u))}return i},Qg=function(t){var e=Xg(ra(t),0,[]);return C(qi(t,"tr"),(function(t,n){C(qi(t,"td,th"),(function(r,o){!function(t,e,n,r,o){for(var i=Vg(o,"rowspan"),a=Vg(o,"colspan"),s=t.rows(),c=n;c<n+i;c++){s[c]||(s[c]=Fg(oa(r),[]));for(var u=e;u<e+a;u++){s[c].cells()[u]=c===n&&u===e?o:ra(o)}}}(e,function(t,e,n){for(;Gg(t,e,n);)e++;return e}(e,o,n),n,t,r)}))})),Xg(e.element(),$g(e.rows()),e.rows())},Zg=function(t){return function(t,e){var n=ra(t.element()),r=Ot.fromTag("tbody");return Zo(r,e),Qo(n,r),n}(t,function(t){return O(t.rows(),(function(t){var e=O(t.cells(),(function(t){var e=oa(t);return Jt(e,"colspan"),Jt(e,"rowspan"),e})),n=ra(t.element());return Zo(n,e),n}))}(t))},tv=function(t,e,n){return Kg(t,e).bind((function(e){return Kg(t,n).map((function(n){return function(t,e,n){var r=e.x(),o=e.y(),i=n.x(),a=n.y(),s=o<a?Jg(t,r,o,i,a):Jg(t,r,a,i,o);return Xg(t.element(),$g(s),s)}(t,e,n)}))}))},ev=function(t){var e=[];if(t)for(var n=0;n<t.rangeCount;n++)e.push(t.getRangeAt(n));return e},nv=ev,rv=function(t){return R(t,(function(t){var e=Wa(t);return e?[Ot.fromDom(e)]:[]}))},ov=function(t){return ev(t).length>1},iv=function(t){return D(rv(t),xn)},av=function(t){return qi(t,"td[data-mce-selected],th[data-mce-selected]")},sv=function(t,e){var n=av(e),r=iv(t);return n.length>0?n:r},cv=sv,uv=function(t){return sv(nv(t.selection.getSel()),Ot.fromDom(t.getBody()))},lv=function(t,e){return B(t,(function(t){return"li"===Et(t)&&If(t,e)})).fold(i([]),(function(e){return function(t){return B(t,(function(t){return"ul"===Et(t)||"ol"===Et(t)}))}(t).map((function(t){return[Ot.fromTag("li"),Ot.fromTag(Et(t))]})).getOr([])}))},dv=function(t,e){var n=Ot.fromDom(e.commonAncestorContainer),r=Ef(n,t),o=D(r,(function(t){return gn(t)||pn(t)})),a=lv(r,e),s=o.concat(a.length?a:function(t){return Mn(t)?he(t).filter(yn).fold(i([]),(function(e){return[t,e]})):yn(t)?[t]:[]}(n));return O(s,ra)},fv=function(){return jg([])},hv=function(t,e){return n=Ot.fromDom(e.cloneContents()),r=dv(t,e),o=N(r,(function(t,e){return Qo(e,t),e}),n),r.length>0?jg([o]):o;var n,r,o},pv=function(t,e){return(n=t,r=e[0],Fi(r,"table",s(ue,n))).bind((function(t){var n=e[0],r=e[e.length-1],o=Qg(t);return tv(o,n,r).map((function(t){return jg([Zg(t)])}))})).getOrThunk(fv);var n,r},mv=function(t,e){var n=cv(e,t);return n.length>0?pv(t,n):function(t,e){return e.length>0&&e[0].collapsed?fv():hv(t,e[0])}(t,e)},gv=function(t,e){if(void 0===e&&(e={}),e.get=!0,e.format=e.format||"html",e.selection=!0,(e=t.fire("BeforeGetContent",e)).isDefaultPrevented())return t.fire("GetContent",e),e.content;if("text"===e.format)return function(t){return p.from(t.selection.getRng()).map((function(e){var n=t.dom.add(t.getBody(),"div",{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},e.cloneContents()),r=ca(n.innerText);return t.dom.remove(n),r})).getOr("")}(t);e.getInner=!0;var n=function(t,e){var n,r=t.selection.getRng(),o=t.dom.create("body"),i=t.selection.getSel(),a=Ig(t,nv(i));return(n=e.contextual?mv(Ot.fromDom(t.getBody()),a).dom():r.cloneContents())&&o.appendChild(n),t.selection.serializer.serialize(o,e)}(t,e);return"tree"===e.format?n:(e.content=t.selection.isCollapsed()?"":n,t.fire("GetContent",e),e.content)},vv=function(t,e,n){return null!==function(t,e,n){for(;t&&t!==e;){if(n(t))return t;t=t.parentNode}return null}(t,e,n)},bv=function(t,e,n){return vv(t,e,(function(t){return t.nodeName===n}))},yv=function(t){return t&&"TABLE"===t.nodeName},Mv=function(t){return t&&/^(TD|TH|CAPTION)$/.test(t.nodeName)},_v=function(t,e){return ha(t)&&!1===vv(t,e,Bs)},wv=function(t,e,n){for(var r=new Go(e,t.getParent(e.parentNode,t.isBlock)||t.getRoot());e=r[n?"prev":"next"]();)if(nt.isBr(e))return!0},xv=function(t,e,n,r,o){var i,a,s=t.getRoot(),c=t.schema.getNonEmptyElements(),u=t.getParent(o.parentNode,t.isBlock)||s;if(r&&nt.isBr(o)&&e&&t.isEmpty(u))return p.some(ds(o.parentNode,t.nodeIndex(o)));for(var l=new Go(o,u);a=l[r?"prev":"next"]();){if("false"===t.getContentEditableParent(a)||_v(a,s))return p.none();if(nt.isText(a)&&a.nodeValue.length>0)return!1===bv(a,s,"A")?p.some(ds(a,r?a.nodeValue.length:0)):p.none();if(t.isBlock(a)||c[a.nodeName.toLowerCase()])return p.none();i=a}return n&&i?p.some(ds(i,0)):p.none()},Av=function(t,e,n,r){var o,i,a,s,c,u,l=t.getRoot(),d=!1;if(o=r[(n?"start":"end")+"Container"],i=r[(n?"start":"end")+"Offset"],u=nt.isElement(o)&&i===o.childNodes.length,s=t.schema.getNonEmptyElements(),c=n,ha(o))return p.none();if(nt.isElement(o)&&i>o.childNodes.length-1&&(c=!1),nt.isDocument(o)&&(o=l,i=0),o===l){if(c&&(a=o.childNodes[i>0?i-1:0])){if(ha(a))return p.none();if(s[a.nodeName]||yv(a))return p.none()}if(o.hasChildNodes()){if(i=Math.min(!c&&i>0?i-1:i,o.childNodes.length-1),o=o.childNodes[i],i=nt.isText(o)&&u?o.data.length:0,!e&&o===l.lastChild&&yv(o))return p.none();if(function(t,e){for(;e&&e!==t;){if(nt.isContentEditableFalse(e))return!0;e=e.parentNode}return!1}(l,o)||ha(o))return p.none();if(o.hasChildNodes()&&!1===yv(o)){a=o;var f=new Go(o,l);do{if(nt.isContentEditableFalse(a)||ha(a)){d=!1;break}if(nt.isText(a)&&a.nodeValue.length>0){i=c?0:a.nodeValue.length,o=a,d=!0;break}if(s[a.nodeName.toLowerCase()]&&!Mv(a)){i=t.nodeIndex(a),o=a.parentNode,c||i++,d=!0;break}}while(a=c?f.next():f.prev())}}}return e&&(nt.isText(o)&&0===i&&xv(t,u,e,!0,o).each((function(t){o=t.container(),i=t.offset(),d=!0})),nt.isElement(o)&&((a=o.childNodes[i])||(a=o.childNodes[i-1]),!a||!nt.isBr(a)||function(t,e){return t.previousSibling&&t.previousSibling.nodeName===e}(a,"A")||wv(t,a,!1)||wv(t,a,!0)||xv(t,u,e,!0,a).each((function(t){o=t.container(),i=t.offset(),d=!0})))),c&&!e&&nt.isText(o)&&i===o.nodeValue.length&&xv(t,u,e,!1,o).each((function(t){o=t.container(),i=t.offset(),d=!0})),d?p.some(ds(o,i)):p.none()},Lv=function(t,e){var n=e.collapsed,r=e.cloneRange(),o=ds.fromRangeStart(e);return Av(t,n,!0,r).each((function(t){n&&ds.isAbove(o,t)||r.setStart(t.container(),t.offset())})),n||Av(t,n,!1,r).each((function(t){r.setEnd(t.container(),t.offset())})),n&&r.collapse(!0),Wf(e,r)?p.none():p.some(r)},Tv=function(t){return 0===t.dom().length?(ei(t),p.none()):p.some(t)},kv=function(t,e,n){if((n=function(t,e){return(t=t||{format:"html"}).set=!0,t.selection=!0,t.content=e,t}(n,e)).no_events||!(n=t.fire("BeforeSetContent",n)).isDefaultPrevented()){var r=t.selection.getRng();!function(t,e){var n=p.from(e.firstChild).map(Ot.fromDom),r=p.from(e.lastChild).map(Ot.fromDom);t.deleteContents(),t.insertNode(e);var o=n.bind(pe).filter(Pt).bind(Tv),i=r.bind(me).filter(Pt).bind(Tv);ja(o,n.filter(Pt),(function(t,e){!function(t,e){t.insertData(0,e)}(e.dom(),t.dom().data),ei(t)})),ja(i,r.filter(Pt),(function(e,n){var r=n.dom().length;n.dom().appendData(e.dom().data),t.setEnd(n.dom(),r),ei(e)})),t.collapse(!1)}(r,r.createContextualFragment(n.content)),t.selection.setRng(r),Wg(t,r),n.no_events||t.fire("SetContent",n)}else t.fire("SetContent",n)},Sv=function(t,e,n,r,o){var i=n?e.startContainer:e.endContainer,a=n?e.startOffset:e.endOffset;return p.from(i).map(Ot.fromDom).map((function(t){return r&&e.collapsed?t:ye(t,o(t,a)).getOr(t)})).bind((function(t){return Bt(t)?p.some(t):he(t)})).map((function(t){return t.dom()})).getOr(t)},Ov=function(t,e,n){return Sv(t,e,!0,n,(function(t,e){return Math.min(t.dom().childNodes.length,e)}))},Cv=function(t,e,n){return Sv(t,e,!1,n,(function(t,e){return e>0?e-1:e}))},zv=function(t,e){for(var n=t;t&&nt.isText(t)&&0===t.length;)t=e?t.nextSibling:t.previousSibling;return t||n},Dv=function(t,e,n){if(t&&t.hasOwnProperty(e)){var r=D(t[e],(function(t){return t!==n}));0===r.length?delete t[e]:t[e]=r}};var Ev,Nv=function(t){return!!t.select},Bv=function(t){return!(!t||!t.ownerDocument)&&le(Ot.fromDom(t.ownerDocument),Ot.fromDom(t))},Pv=function(t,e,n,r){var o,i,a,s,c=function(t,e){var n,r;return{selectorChangedWithUnbind:function(o,i){return n||(n={},r={},e.on("NodeChange",(function(e){var o=e.element,i=t.getParents(o,null,t.getRoot()),a={};cn.each(n,(function(e,n){cn.each(i,(function(o){if(t.is(o,n))return r[n]||(cn.each(e,(function(t){t(!0,{node:o,selector:n,parents:i})})),r[n]=e),a[n]=e,!1}))})),cn.each(r,(function(t,e){a[e]||(delete r[e],cn.each(t,(function(t){t(!1,{node:o,selector:e,parents:i})})))}))}))),n[o]||(n[o]=[]),n[o].push(i),{unbind:function(){Dv(n,o,i),Dv(r,o,i)}}}}}(t,r).selectorChangedWithUnbind,u=function(t,e){return kv(r,t,e)},l=function(t){var e=f();e.collapse(!!t),h(e)},d=function(){return e.getSelection?e.getSelection():e.document.selection},f=function(){var n,o,i,c,u=function(t,e,n){try{return e.compareBoundaryPoints(t,n)}catch(t){return-1}};if(!e)return null;if(null==(c=e.document))return null;if(void 0!==r.bookmark&&!1===hd(r)){var l=Gl(r);if(l.isSome())return l.map((function(t){return Ig(r,[t])[0]})).getOr(c.createRange())}try{(n=d())&&!nt.isRestrictedNode(n.anchorNode)&&(o=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():c.createRange())}catch(t){}return(o=Ig(r,[o])[0])||(o=c.createRange?c.createRange():c.body.createTextRange()),o.setStart&&9===o.startContainer.nodeType&&o.collapsed&&(i=t.getRoot(),o.setStart(i,0),o.setEnd(i,0)),a&&s&&(0===u(o.START_TO_START,o,a)&&0===u(o.END_TO_END,o,a)?o=s:(a=null,s=null)),o},h=function(t,e){var n,o;if(function(t){return!!t&&(!!Nv(t)||Bv(t.startContainer)&&Bv(t.endContainer))}(t)){var i=Nv(t)?t:null;if(i){s=null;try{i.select()}catch(t){}}else{if(n=d(),t=r.fire("SetSelectionRange",{range:t,forward:e}).range,n){s=t;try{n.removeAllRanges(),n.addRange(t)}catch(t){}!1===e&&n.extend&&(n.collapse(t.endContainer,t.endOffset),n.extend(t.startContainer,t.startOffset)),a=n.rangeCount>0?n.getRangeAt(0):null}t.collapsed||t.startContainer!==t.endContainer||!n.setBaseAndExtent||Qe.ie||t.endOffset-t.startOffset<2&&t.startContainer.hasChildNodes()&&(o=t.startContainer.childNodes[t.startOffset])&&"IMG"===o.tagName&&(n.setBaseAndExtent(t.startContainer,t.startOffset,t.endContainer,t.endOffset),n.anchorNode===t.startContainer&&n.focusNode===t.endContainer||n.setBaseAndExtent(o,0,o,1)),r.fire("AfterSetSelectionRange",{range:t,forward:e})}}},m=function(){var e,n,r=d();return!(r&&r.anchorNode&&r.focusNode)||((e=t.createRng()).setStart(r.anchorNode,r.anchorOffset),e.collapse(!0),(n=t.createRng()).setStart(r.focusNode,r.focusOffset),n.collapse(!0),e.compareBoundaryPoints(e.START_TO_START,n)<=0)},g={bookmarkManager:null,controlSelection:null,dom:t,win:e,serializer:n,editor:r,collapse:l,setCursorLocation:function(e,n){var o=t.createRng();e?(o.setStart(e,n),o.setEnd(e,n),h(o),l(!1)):(jf(t,o,r.getBody(),!0),h(o))},getContent:function(t){return gv(r,t)},setContent:u,getBookmark:function(t,e){return o.getBookmark(t,e)},moveToBookmark:function(t){return o.moveToBookmark(t)},select:function(e,n){return function(t,e,n){return p.from(e).map((function(e){var r=t.nodeIndex(e),o=t.createRng();return o.setStart(e.parentNode,r),o.setEnd(e.parentNode,r+1),n&&(jf(t,o,e,!0),jf(t,o,e,!1)),o}))}(t,e,n).each(h),e},isCollapsed:function(){var t=f(),e=d();return!(!t||t.item)&&(t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!e||t.collapsed)},isForward:m,setNode:function(e){return u(t.getOuterHTML(e)),e},getNode:function(){return t=r.getBody(),(e=f())?(o=e.startContainer,i=e.endContainer,a=e.startOffset,s=e.endOffset,n=e.commonAncestorContainer,!e.collapsed&&(o===i&&s-a<2&&o.hasChildNodes()&&(n=o.childNodes[a]),3===o.nodeType&&3===i.nodeType&&(o=o.length===a?zv(o.nextSibling,!0):o.parentNode,i=0===s?zv(i.previousSibling,!1):i.parentNode,o&&o===i))?o:n&&3===n.nodeType?n.parentNode:n):t;var t,e,n,o,i,a,s},getSel:d,setRng:h,getRng:f,getStart:function(t){return Ov(r.getBody(),f(),t)},getEnd:function(t){return Cv(r.getBody(),f(),t)},getSelectedBlocks:function(e,n){return function(t,e,n,r){var o,i,a=[];if(i=t.getRoot(),n=t.getParent(n||Ov(i,e,e.collapsed),t.isBlock),r=t.getParent(r||Cv(i,e,e.collapsed),t.isBlock),n&&n!==i&&a.push(n),n&&r&&n!==r){o=n;for(var s=new Go(n,i);(o=s.next())&&o!==r;)t.isBlock(o)&&a.push(o)}return r&&n!==r&&r!==i&&a.push(r),a}(t,f(),e,n)},normalize:function(){var e=f(),n=d();if(!ov(n)&&Xf(r)){var o=Lv(t,e);return o.each((function(t){h(t,m())})),o.getOr(e)}return e},selectorChanged:function(t,e){return c(t,e),g},selectorChangedWithUnbind:c,getScrollContainer:function(){for(var e,n=t.getRoot();n&&"BODY"!==n.nodeName;){if(n.scrollHeight>n.clientHeight){e=n;break}n=n.parentNode}return e},scrollIntoView:function(t,e){return Yg(r,t,e)},placeCaretAt:function(t,e){return h(qg(t,e,r.getDoc()))},getBoundingClientRect:function(){var t=f();return t.collapsed?hs.fromRangeStart(t).getClientRects()[0]:t.getBoundingClientRect()},destroy:function(){e=a=s=null,i.destroy()}};return o=pg(g),i=vg(g,r),g.bookmarkManager=o,g.controlSelection=i,g},Rv=nt.isText,Yv=function(t){return Rv(t)&&t.data[0]===sa},Wv=function(t){return Rv(t)&&t.data[t.data.length-1]===sa},Hv=function(t){return t.ownerDocument.createTextNode(sa)},qv=function(t,e){return t?function(t){if(Rv(t.previousSibling))return Wv(t.previousSibling)||t.previousSibling.appendData(sa),t.previousSibling;if(Rv(t))return Yv(t)||t.insertData(0,sa),t;var e=Hv(t);return t.parentNode.insertBefore(e,t),e}(e):function(t){if(Rv(t.nextSibling))return Yv(t.nextSibling)||t.nextSibling.insertData(0,sa),t.nextSibling;if(Rv(t))return Wv(t)||t.appendData(sa),t;var e=Hv(t);return t.nextSibling?t.parentNode.insertBefore(e,t.nextSibling):t.parentNode.appendChild(e),e}(e)},Iv=s(qv,!0),jv=s(qv,!1),Xv=function(t,e){return nt.isText(t.container())?qv(e,t.container()):qv(e,t.getNode())},Fv=function(t,e){var n=e.get();return n&&t.container()===n&&fa(n)},Uv=function(t,e){return e.fold((function(e){Us.remove(t.get());var n=Iv(e);return t.set(n),p.some(hs(n,n.length-1))}),(function(e){return Xc.firstPositionIn(e).map((function(e){if(Fv(e,t))return hs(t.get(),1);Us.remove(t.get());var n=Xv(e,!0);return t.set(n),hs(n,1)}))}),(function(e){return Xc.lastPositionIn(e).map((function(e){if(Fv(e,t))return hs(t.get(),t.get().length-1);Us.remove(t.get());var n=Xv(e,!1);return t.set(n),hs(n,n.length-1)}))}),(function(e){Us.remove(t.get());var n=jv(e);return t.set(n),p.some(hs(n,1))}))},Vv=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,Gv=function(t,e){if(!e)return e;var n=e.container(),r=e.offset();return t?fa(n)?nt.isText(n.nextSibling)?hs(n.nextSibling,0):hs.after(n):ma(e)?hs(n,r+1):e:fa(n)?nt.isText(n.previousSibling)?hs(n.previousSibling,n.previousSibling.data.length):hs.before(n):ga(e)?hs(n,r-1):e},$v={isInlineTarget:function(t,e){return se(Ot.fromDom(e),yl(t))},findRootInline:function(t,e,n){var r=function(t,e,n){return D(_i.DOM.getParents(n.container(),"*",e),t)}(t,e,n);return p.from(r[r.length-1])},isRtl:function(t){return"rtl"===_i.DOM.getStyle(t,"direction",!0)||(e=t.textContent,Vv.test(e));var e},isAtZwsp:function(t){return ma(t)||ga(t)},normalizePosition:Gv,normalizeForwards:s(Gv,!0),normalizeBackwards:s(Gv,!1),hasSameParentBlock:function(t,e,n){var r=uc(e,t),o=uc(n,t);return r&&r===o}},Kv=function(t,e){for(var n=0;n<t.length;n++){var r=t[n].apply(null,e);if(r.isSome())return r}return p.none()},Jv=Sl([{before:["element"]},{start:["element"]},{end:["element"]},{after:["element"]}]),Qv=function(t,e){var n=uc(e,t);return n||t},Zv=function(t,e,n){var r=$v.normalizeForwards(n),o=Qv(e,r.container());return $v.findRootInline(t,o,r).fold((function(){return Xc.nextPosition(o,r).bind(s($v.findRootInline,t,o)).map((function(t){return Jv.before(t)}))}),p.none)},tb=function(t,e){return null===Ps(t,e)},eb=function(t,e,n){return $v.findRootInline(t,e,n).filter(s(tb,e))},nb=function(t,e,n){var r=$v.normalizeBackwards(n);return eb(t,e,r).bind((function(t){return Xc.prevPosition(t,r).isNone()?p.some(Jv.start(t)):p.none()}))},rb=function(t,e,n){var r=$v.normalizeForwards(n);return eb(t,e,r).bind((function(t){return Xc.nextPosition(t,r).isNone()?p.some(Jv.end(t)):p.none()}))},ob=function(t,e,n){var r=$v.normalizeBackwards(n),o=Qv(e,r.container());return $v.findRootInline(t,o,r).fold((function(){return Xc.prevPosition(o,r).bind(s($v.findRootInline,t,o)).map((function(t){return Jv.after(t)}))}),p.none)},ib=function(t){return!1===$v.isRtl(sb(t))},ab=function(t,e,n){return Kv([Zv,nb,rb,ob],[t,e,n]).filter(ib)},sb=function(t){return t.fold(a,a,a,a)},cb=function(t){return t.fold(i("before"),i("start"),i("end"),i("after"))},ub=function(t){return t.fold(Jv.before,Jv.before,Jv.after,Jv.after)},lb=function(t,e,n,r,o,i){return ja($v.findRootInline(e,n,r),$v.findRootInline(e,n,o),(function(e,r){return e!==r&&$v.hasSameParentBlock(n,e,r)?Jv.after(t?e:r):i})).getOr(i)},db=function(t,e){return t.fold(i(!0),(function(t){return r=e,!(cb(n=t)===cb(r)&&sb(n)===sb(r));var n,r}))},fb=function(t,e){return t?e.fold(o(p.some,Jv.start),p.none,o(p.some,Jv.after),p.none):e.fold(p.none,o(p.some,Jv.before),p.none,o(p.some,Jv.end))},hb=function(t,e,n,r){var o=$v.normalizePosition(t,r),i=ab(e,n,o);return ab(e,n,o).bind(s(fb,t)).orThunk((function(){return function(t,e,n,r,o){var i=$v.normalizePosition(t,o);return Xc.fromPosition(t,n,i).map(s($v.normalizePosition,t)).fold((function(){return r.map(ub)}),(function(o){return ab(e,n,o).map(s(lb,t,e,n,i,o)).filter(s(db,r))})).filter(ib)}(t,e,n,i,r)}))},pb=ab,mb=hb,gb=(s(hb,!1),s(hb,!0),ub),vb=function(t){return t.fold(Jv.start,Jv.start,Jv.end,Jv.end)},bb=function(t){return _(t.selection.getSel().modify)},yb=function(t,e,n){var r=t?1:-1;return e.setRng(hs(n.container(),n.offset()+r).toRange()),e.getSel().modify("move",t?"forward":"backward","word"),!0},Mb=function(t,e){var n=e.selection.getRng(),r=t?hs.fromRangeEnd(n):hs.fromRangeStart(n);return!!bb(e)&&(t&&ma(r)?yb(!0,e.selection,r):!(t||!ga(r))&&yb(!1,e.selection,r))},_b=function(t,e){var n=t.dom.createRng();n.setStart(e.container(),e.offset()),n.setEnd(e.container(),e.offset()),t.selection.setRng(n)},wb=function(t){return!1!==t.settings.inline_boundaries},xb=function(t,e){t?e.setAttribute("data-mce-selected","inline-boundary"):e.removeAttribute("data-mce-selected")},Ab=function(t,e,n){return Uv(e,n).map((function(e){return _b(t,e),n}))},Lb=function(t,e,n){return function(){return!!wb(e)&&Mb(t,e)}},Tb={move:function(t,e,n){return function(){return!!wb(t)&&function(t,e,n){var r=t.getBody(),o=hs.fromRangeStart(t.selection.getRng()),i=s($v.isInlineTarget,t);return mb(n,i,r,o).bind((function(n){return Ab(t,e,n)}))}(t,e,n).isSome()}},moveNextWord:s(Lb,!0),movePrevWord:s(Lb,!1),setupSelectedState:function(t){var e=rt(null),n=s($v.isInlineTarget,t);return t.on("NodeChange",(function(r){wb(t)&&(function(t,e,n){var r=D(e.select('*[data-mce-selected="inline-boundary"]'),t),o=D(n,t);C(W(r,o),s(xb,!1)),C(W(o,r),s(xb,!0))}(n,t.dom,r.parents),function(t,e){if(t.selection.isCollapsed()&&!0!==t.composing&&e.get()){var n=hs.fromRangeStart(t.selection.getRng());hs.isTextPosition(n)&&!1===$v.isAtZwsp(n)&&(_b(t,Us.removeAndReposition(e.get(),n)),e.set(null))}}(t,e),function(t,e,n,r){if(e.selection.isCollapsed()){var o=D(r,t);C(o,(function(r){var o=hs.fromRangeStart(e.selection.getRng());pb(t,e.getBody(),o).bind((function(t){return Ab(e,n,t)}))}))}}(n,t,e,r.parents))})),e},setCaretPosition:_b};!function(t){t[t.Br=0]="Br",t[t.Block=1]="Block",t[t.Wrap=2]="Wrap",t[t.Eol=3]="Eol"}(Ev||(Ev={}));var kb,Sb,Ob=function(t,e){return t===fs.Backwards?e.reverse():e},Cb=function(t,e,n){return t===fs.Forwards?e.next(n):e.prev(n)},zb=function(t,e,n,r){return nt.isBr(r.getNode(e===fs.Forwards))?Ev.Br:!1===lc(n,r)?Ev.Block:Ev.Wrap},Db=function(t,e,n,r){for(var o,i=Ec(n),a=r,s=[];a&&(o=Cb(e,i,a));){if(nt.isBr(o.getNode(!1)))return e===fs.Forwards?{positions:Ob(e,s).concat([o]),breakType:Ev.Br,breakAt:p.some(o)}:{positions:Ob(e,s),breakType:Ev.Br,breakAt:p.some(o)};if(o.isVisible()){if(t(a,o)){var c=zb(0,e,a,o);return{positions:Ob(e,s),breakType:c,breakAt:p.some(o)}}s.push(o),a=o}else a=o}return{positions:Ob(e,s),breakType:Ev.Eol,breakAt:p.none()}},Eb=function(t,e,n,r){return e(n,r).breakAt.map((function(r){var o=e(n,r).positions;return t===fs.Backwards?o.concat(r):[r].concat(o)})).getOr([])},Nb=function(t,e){return N(t,(function(t,n){return t.fold((function(){return p.some(n)}),(function(r){return ja(H(r.getClientRects()),H(n.getClientRects()),(function(t,o){var i=Math.abs(e-t.left);return Math.abs(e-o.left)<=i?n:r})).or(t)}))}),p.none())},Bb=function(t,e){return H(e.getClientRects()).bind((function(e){return Nb(t,e.left)}))},Pb=s(Db,ds.isAbove,-1),Rb=s(Db,ds.isBelow,1),Yb=s(Eb,-1,Pb),Wb=s(Eb,1,Rb),Hb=nt.isContentEditableFalse,qb=Wa,Ib=function(t,e,n,r){var o=t===fs.Forwards,i=o?sh:ch;if(!r.collapsed){var a=qb(r);if(Hb(a))return Ph(t,e,a,t===fs.Backwards,!0)}var s=function(t){return da(t.startContainer)}(r),c=yc(t,e.getBody(),r);if(i(c))return Rh(e,c.getNode(!o));var u=$v.normalizePosition(o,n(c));if(!u)return s?r:null;if(i(u))return Ph(t,e,u.getNode(!o),o,!0);var l=n(u);return l&&i(l)&&wc(u,l)?Ph(t,e,l.getNode(!o),o,!0):s?Wh(e,u.toRange(),!0):null},jb=function(t,e,n,r){var o,i,a,s,c,u,l,d,f;if(f=qb(r),o=yc(t,e.getBody(),r),i=n(e.getBody(),hh(1),o),a=D(i,ph(1)),c=nn.last(o.getClientRects()),(sh(o)||ih(o))&&(f=o.getNode()),(ch(o)||ah(o))&&(f=o.getNode(!0)),!c)return null;if(u=c.left,(s=Mh(a,u))&&Hb(s.node))return l=Math.abs(u-s.left),d=Math.abs(u-s.right),Ph(t,e,s.node,l<d,!0);if(f){var h=function(t,e,n,r){var o,i,a,s,c,u,l=Ec(e),d=[],f=0,h=function(t){return nn.last(t.getClientRects())};1===t?(o=l.next,i=Ra,a=Pa,s=hs.after(r)):(o=l.prev,i=Pa,a=Ra,s=hs.before(r)),u=h(s);do{if(s.isVisible()&&!a(c=h(s),u)){if(d.length>0&&i(c,nn.last(d))&&f++,(c=Ea(c)).position=s,c.line=f,n(c))return d;d.push(c)}}while(s=o(s));return d}(t,e.getBody(),hh(1),f);if(s=Mh(D(h,ph(1)),u))return Wh(e,s.position.toRange(),!0);if(s=nn.last(D(h,ph(0))))return Wh(e,s.position.toRange(),!0)}},Xb=function(t,e,n){var r,o,i=Ec(t.getBody()),a=s(_c,i.next),c=s(_c,i.prev);if(n.collapsed&&t.settings.forced_root_block){if(!(r=t.dom.getParent(n.startContainer,"PRE")))return;(1===e?a(hs.fromRangeStart(n)):c(hs.fromRangeStart(n)))||(o=function(t){var e=t.dom.create(Vu(t));return(!Qe.ie||Qe.ie>=11)&&(e.innerHTML='<br data-mce-bogus="1">'),e}(t),1===e?t.$(r).after(o):t.$(r).before(o),t.selection.select(o,!0),t.selection.collapse())}},Fb=function(t,e){return function(){var n=function(t,e){var n,r=Ec(t.getBody()),o=s(_c,r.next),i=s(_c,r.prev),a=e?fs.Forwards:fs.Backwards,c=e?o:i,u=t.selection.getRng();return(n=Ib(a,t,c,u))?n:(n=Xb(t,a,u))||null}(t,e);return!!n&&(t.selection.setRng(n),!0)}},Ub=function(t,e){return function(){var n=function(t,e){var n,r=e?1:-1,o=e?fh:dh,i=t.selection.getRng();return(n=jb(r,t,o,i))?n:(n=Xb(t,r,i))||null}(t,e);return!!n&&(t.selection.setRng(n),!0)}},Vb=function(t,e){return function(){var n=e?hs.fromRangeEnd(t.selection.getRng()):hs.fromRangeStart(t.selection.getRng()),r=e?Rb(t.getBody(),n):Pb(t.getBody(),n);return(e?q(r.positions):H(r.positions)).filter(function(t){return function(e){return t?ch(e):sh(e)}}(e)).fold(i(!1),(function(e){return t.selection.setRng(e.toRange()),!0}))}},Gb=function(t,e,n,r,o){var i=qi(Ot.fromDom(n),"td,th,caption").map((function(t){return t.dom()}));return function(t,e,n){return N(t,(function(t,r){return t.fold((function(){return p.some(r)}),(function(t){var o=Math.sqrt(Math.abs(t.x-e)+Math.abs(t.y-n)),i=Math.sqrt(Math.abs(r.x-e)+Math.abs(r.y-n));return p.some(i<o?r:t)}))}),p.none())}(D(function(t,e){return R(e,(function(e){var n=function(t,e){return{left:t.left-e,top:t.top-e,right:t.right+2*e,bottom:t.bottom+2*e,width:t.width+e,height:t.height+e}}(Ea(e.getBoundingClientRect()),-1);return[{x:n.left,y:t(n),cell:e},{x:n.right,y:t(n),cell:e}]}))}(t,i),(function(t){return e(t,o)})),r,o).map((function(t){return t.cell}))},$b=s(Gb,(function(t){return t.bottom}),(function(t,e){return t.y<e})),Kb=s(Gb,(function(t){return t.top}),(function(t,e){return t.y>e})),Jb=function(t,e){return H(e.getClientRects()).bind((function(e){return $b(t,e.left,e.top)})).bind((function(t){return Bb((n=t,Xc.lastPositionIn(n).map((function(t){return Pb(n,t).positions.concat(t)})).getOr([])),e);var n}))},Qb=function(t,e){return q(e.getClientRects()).bind((function(e){return Kb(t,e.left,e.top)})).bind((function(t){return Bb((n=t,Xc.firstPositionIn(n).map((function(t){return[t].concat(Rb(n,t).positions)})).getOr([])),e);var n}))},Zb=function(t,e){t.selection.setRng(e),Wg(t,e)},ty=function(t,e,n){var r=t(e,n);return function(t){return t.breakType===Ev.Wrap&&0===t.positions.length}(r)||!nt.isBr(n.getNode())&&function(t){return t.breakType===Ev.Br&&1===t.positions.length}(r)?!function(t,e,n){return n.breakAt.map((function(n){return t(e,n).breakAt.isSome()})).getOr(!1)}(t,e,r):r.breakAt.isNone()},ey=s(ty,Pb),ny=s(ty,Rb),ry=function(t,e,n,r){var o=t.selection.getRng(),i=e?1:-1;if(Js()&&function(t,e,n){var r=hs.fromRangeStart(e);return Xc.positionIn(!t,n).map((function(t){return t.isEqual(r)})).getOr(!1)}(e,o,n)){var a=Ph(i,t,n,!e,!0);return Zb(t,a),!0}return!1},oy=function(t,e){var n=e.getNode(t);return nt.isElement(n)&&"TABLE"===n.nodeName?p.some(n):p.none()},iy=function(t,e,n){var r=oy(!!e,n),o=!1===e;r.fold((function(){return Zb(t,n.toRange())}),(function(r){return Xc.positionIn(o,t.getBody()).filter((function(t){return t.isEqual(n)})).fold((function(){return Zb(t,n.toRange())}),(function(o){return function(t,e,n,r){var o=Vu(e);o?e.undoManager.transact((function(){var r=Ot.fromTag(o);$t(r,Gu(e)),Qo(r,Ot.fromTag("br")),t?Ko(Ot.fromDom(n),r):$o(Ot.fromDom(n),r);var i=e.dom.createRng();i.setStart(r.dom(),0),i.setEnd(r.dom(),0),Zb(e,i)})):Zb(e,r.toRange())}(e,t,r,n)}))}))},ay=function(t,e,n,r){var o=t.selection.getRng(),i=hs.fromRangeStart(o),a=t.getBody();if(!e&&ey(r,i)){var s=function(t,e,n){return Jb(e,n).orThunk((function(){return H(n.getClientRects()).bind((function(n){return Nb(Yb(t,hs.before(e)),n.left)}))})).getOr(hs.before(e))}(a,n,i);return iy(t,e,s),!0}if(e&&ny(r,i)){s=function(t,e,n){return Qb(e,n).orThunk((function(){return H(n.getClientRects()).bind((function(n){return Nb(Wb(t,hs.after(e)),n.left)}))})).getOr(hs.after(e))}(a,n,i);return iy(t,e,s),!0}return!1},sy=function(t,e){return function(){return p.from(t.dom.getParent(t.selection.getNode(),"td,th")).bind((function(n){return p.from(t.dom.getParent(n,"table")).map((function(n){return ry(t,e,n)}))})).getOr(!1)}},cy=function(t,e){return function(){return p.from(t.dom.getParent(t.selection.getNode(),"td,th")).bind((function(n){return p.from(t.dom.getParent(n,"table")).map((function(r){return ay(t,e,r,n)}))})).getOr(!1)}},uy=function(t){return k(["figcaption"],Et(t))},ly=function(t){var e=n.document.createRange();return e.setStartBefore(t.dom()),e.setEndBefore(t.dom()),e},dy=function(t,e,n){n?Qo(t,e):Jo(t,e)},fy=function(t,e,n,r){return""===e?function(t,e){var n=Ot.fromTag("br");return dy(t,n,e),ly(n)}(t,r):function(t,e,n,r){var o=Ot.fromTag(n),i=Ot.fromTag("br");return $t(o,r),Qo(o,i),dy(t,o,e),ly(i)}(t,r,e,n)},hy=function(t,e,n){return e?function(t,e){return Rb(t,e).breakAt.isNone()}(t.dom(),n):function(t,e){return Pb(t,e).breakAt.isNone()}(t.dom(),n)},py=function(t,e){var n=Ot.fromDom(t.getBody()),r=hs.fromRangeStart(t.selection.getRng()),o=Vu(t),i=Gu(t);return function(t,e){var n=s(ue,e);return Xi(Ot.fromDom(t.container()),mn,n).filter(uy)}(r,n).exists((function(){if(hy(n,e,r)){var a=fy(n,o,i,e);return t.selection.setRng(a),!0}return!1}))},my=function(t,e){return function(){return!!t.selection.isCollapsed()&&py(t,e)}},gy=function(t,e){return R(function(t){return O(t,(function(t){return Dd({shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0,action:r},t)}))}(t),(function(t){return function(t,e){return e.keyCode===t.keyCode&&e.shiftKey===t.shiftKey&&e.altKey===t.altKey&&e.ctrlKey===t.ctrlKey&&e.metaKey===t.metaKey}(t,e)?[t]:[]}))},vy=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,r)}},by=function(t,e){return B(gy(t,e),(function(t){return t.action()}))},yy=function(t,e){t.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(t,e,n){var r=kt().os;by([{keyCode:Uf.RIGHT,action:Fb(t,!0)},{keyCode:Uf.LEFT,action:Fb(t,!1)},{keyCode:Uf.UP,action:Ub(t,!1)},{keyCode:Uf.DOWN,action:Ub(t,!0)},{keyCode:Uf.RIGHT,action:sy(t,!0)},{keyCode:Uf.LEFT,action:sy(t,!1)},{keyCode:Uf.UP,action:cy(t,!1)},{keyCode:Uf.DOWN,action:cy(t,!0)},{keyCode:Uf.RIGHT,action:Tb.move(t,e,!0)},{keyCode:Uf.LEFT,action:Tb.move(t,e,!1)},{keyCode:Uf.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:Tb.moveNextWord(t,e)},{keyCode:Uf.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:Tb.movePrevWord(t,e)},{keyCode:Uf.UP,action:my(t,!1)},{keyCode:Uf.DOWN,action:my(t,!0)}],n).each((function(t){n.preventDefault()}))}(t,e,n)}))},My=function(t,e){return le(t,e)?Xi(e,(function(t){return bn(t)||Mn(t)}),function(t){return function(e){return ue(t,Ot.fromDom(e.dom().parentNode))}}(t)):p.none()},_y=function(t){t.dom.isEmpty(t.getBody())&&(t.setContent(""),function(t){var e=t.getBody(),n=e.firstChild&&t.dom.isBlock(e.firstChild)?e.firstChild:e;t.selection.setCursorLocation(n,0)}(t))},wy=function(t,e,n){return ja(Xc.firstPositionIn(n),Xc.lastPositionIn(n),(function(r,o){var i=$v.normalizePosition(!0,r),a=$v.normalizePosition(!1,o),s=$v.normalizePosition(!1,e);return t?Xc.nextPosition(n,s).map((function(t){return t.isEqual(a)&&e.isEqual(i)})).getOr(!1):Xc.prevPosition(n,s).map((function(t){return t.isEqual(i)&&e.isEqual(a)})).getOr(!1)})).getOr(!0)},xy=function(t,e){return{from:i(t),to:i(e)}},Ay=function(t,e){var n=Ot.fromDom(t),r=Ot.fromDom(e.container());return My(n,r).map((function(t){return function(t,e){return{block:i(t),position:i(e)}}(t,e)}))},Ly=function(t,e,n){var r=Ay(t,hs.fromRangeStart(n)),o=r.bind((function(n){return Xc.fromPosition(e,t,n.position()).bind((function(n){return Ay(t,n).map((function(n){return function(t,e,n){return nt.isBr(n.position().getNode())&&!1===Cp(n.block())?Xc.positionIn(!1,n.block().dom()).bind((function(r){return r.isEqual(n.position())?Xc.fromPosition(e,t,r).bind((function(e){return Ay(t,e)})):p.some(n)})).getOr(n):n}(t,e,n)}))}))}));return ja(r,o,xy).filter((function(t){return function(t){return!1===ue(t.from().block(),t.to().block())}(t)&&function(t){return he(t.from().block()).bind((function(e){return he(t.to().block()).filter((function(t){return ue(e,t)}))})).isSome()}(t)&&function(t){return!1===nt.isContentEditableFalse(t.from().block().dom())&&!1===nt.isContentEditableFalse(t.to().block().dom())}(t)}))},Ty=function(t,e,n){return n.collapsed?Ly(t,e,n):p.none()},ky=function(t){var e=be(t);return P(e,mn).fold((function(){return e}),(function(t){return e.slice(0,t)}))},Sy=function(t){var e=ky(t);return C(e,ei),e},Oy=function(t,e){var n=Ef(e,t);return B(n.reverse(),Cp).each(ei)},Cy=function(t,e,n,r){if(Cp(n))return fp(n),Xc.firstPositionIn(n.dom());0===D(ge(r),(function(t){return!Cp(t)})).length&&Cp(e)&&$o(r,Ot.fromTag("br"));var o=Xc.prevPosition(n.dom(),hs.before(r.dom()));return C(Sy(e),(function(t){$o(r,t)})),Oy(t,e),o},zy=function(t,e,n){if(Cp(n))return ei(n),Cp(e)&&fp(e),Xc.firstPositionIn(e.dom());var r=Xc.lastPositionIn(n.dom());return C(Sy(e),(function(t){Qo(n,t)})),Oy(t,e),r},Dy=function(t,e){return le(e,t)?function(t,e){var n=Ef(e,t);return p.from(n[n.length-1])}(e,t):p.none()},Ey=function(t,e){Xc.positionIn(t,e.dom()).map((function(t){return t.getNode()})).map(Ot.fromDom).filter(vn).each(ei)},Ny=function(t,e,n){return Ey(!0,e),Ey(!1,n),Dy(e,n).fold(s(zy,t,e,n),s(Cy,t,e,n))},By=function(t,e,n,r){return e?Ny(t,r,n):Ny(t,n,r)},Py=function(t,e){var n=Ot.fromDom(t.getBody()),r=Ty(n.dom(),e,t.selection.getRng()).bind((function(t){return By(n,e,t.from().block(),t.to().block())}));return r.each((function(e){t.selection.setRng(e.toRange())})),r.isSome()},Ry=function(t,e){var n=Ot.fromDom(e),r=s(ue,t);return ji(n,xn,r).isSome()},Yy=function(t,e){var n=Xc.prevPosition(t.dom(),hs.fromRangeStart(e)).isNone(),r=Xc.nextPosition(t.dom(),hs.fromRangeEnd(e)).isNone();return!function(t,e){return Ry(t,e.startContainer)||Ry(t,e.endContainer)}(t,e)&&n&&r},Wy=function(t){var e=Ot.fromDom(t.getBody()),n=t.selection.getRng();return Yy(e,n)?function(t){return t.setContent(""),t.selection.setCursorLocation(),!0}(t):function(t,e){var n=e.getRng();return ja(My(t,Ot.fromDom(n.startContainer)),My(t,Ot.fromDom(n.endContainer)),(function(r,o){return!1===ue(r,o)&&(n.deleteContents(),By(t,!0,r,o).each((function(t){e.setRng(t.toRange())})),!0)})).getOr(!1)}(e,t.selection)},Hy=function(t,e){return!t.selection.isCollapsed()&&Wy(t)},qy=function(t){return Mc(t).exists(vn)},Iy=function(t,e,n){var r=D(Ef(Ot.fromDom(n.container()),e),mn),o=H(r).getOr(e);return Xc.fromPosition(t,o.dom(),n).filter(qy)},jy=function(t,e){return Mc(e).exists(vn)||Iy(!0,t,e).isSome()},Xy=function(t,e){return function(t){return p.from(t.getNode(!0)).map(Ot.fromDom)}(e).exists(vn)||Iy(!1,t,e).isSome()},Fy=s(Iy,!1),Uy=s(Iy,!0),Vy=Sl([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),Gy=function(t,e,n,r){var o=r.getNode(!1===e);return My(Ot.fromDom(t),Ot.fromDom(n.getNode())).map((function(t){return Cp(t)?Vy.remove(t.dom()):Vy.moveToElement(o)})).orThunk((function(){return p.some(Vy.moveToElement(o))}))},$y=function(t,e,n){return Xc.fromPosition(e,t,n).bind((function(r){return o=r.getNode(),xn(Ot.fromDom(o))||Mn(Ot.fromDom(o))||function(t,e,n,r){var o=function(e){return gn(Ot.fromDom(e))&&!lc(n,r,t)};return bc(!e,n).fold((function(){return bc(e,r).fold(i(!1),o)}),o)}(t,e,n,r)?p.none():e&&nt.isContentEditableFalse(r.getNode())||!1===e&&nt.isContentEditableFalse(r.getNode(!0))?Gy(t,e,n,r):e&&ch(n)||!1===e&&sh(n)?p.some(Vy.moveToPosition(r)):p.none();var o}))},Ky=function(t,e,n){return function(t,e){var n=e.getNode(!1===t),r=t?"after":"before";return nt.isElement(n)&&n.getAttribute("data-mce-caret")===r}(e,n)?function(t,e){return t&&nt.isContentEditableFalse(e.nextSibling)?p.some(Vy.moveToElement(e.nextSibling)):!1===t&&nt.isContentEditableFalse(e.previousSibling)?p.some(Vy.moveToElement(e.previousSibling)):p.none()}(e,n.getNode(!1===e)).fold((function(){return $y(t,e,n)}),p.some):$y(t,e,n).bind((function(e){return function(t,e,n){return n.fold((function(t){return p.some(Vy.remove(t))}),(function(t){return p.some(Vy.moveToElement(t))}),(function(n){return lc(e,n,t)?p.none():p.some(Vy.moveToPosition(n))}))}(t,n,e)}))},Jy=function(t,e){return p.from(tM(t.getBody(),e))},Qy=function(t,e){var n=t.selection.getNode();return Jy(t,n).filter(nt.isContentEditableFalse).fold((function(){return function(t,e,n){var r=vc(e?1:-1,t,n),o=hs.fromRangeStart(r),i=Ot.fromDom(t);return!1===e&&ch(o)?p.some(Vy.remove(o.getNode(!0))):e&&sh(o)?p.some(Vy.remove(o.getNode())):!1===e&&sh(o)&&Xy(i,o)?Fy(i,o).map((function(t){return Vy.remove(t.getNode())})):e&&ch(o)&&jy(i,o)?Uy(i,o).map((function(t){return Vy.remove(t.getNode())})):Ky(t,e,o)}(t.getBody(),e,t.selection.getRng()).map((function(n){return n.fold(function(t,e){return function(n){return t._selectionOverrides.hideFakeCaret(),qp(t,e,Ot.fromDom(n)),!0}}(t,e),function(t,e){return function(n){var r=e?hs.before(n):hs.after(n);return t.selection.setRng(r.toRange()),!0}}(t,e),function(t){return function(e){return t.selection.setRng(e.toRange()),!0}}(t))})).getOr(!1)}),(function(){return!0}))},Zy=function(t,e){var n=t.selection.getNode();return!!nt.isContentEditableFalse(n)&&Jy(t,n.parentNode).filter(nt.isContentEditableFalse).fold((function(){var n;return n=Ot.fromDom(t.getBody()),C(qi(n,".mce-offscreen-selection"),ei),qp(t,e,Ot.fromDom(t.selection.getNode())),_y(t),!0}),(function(){return!0}))},tM=function(t,e){for(;e&&e!==t;){if(nt.isContentEditableTrue(e)||nt.isContentEditableFalse(e))return e;e=e.parentNode}return null},eM=function(t,e){return t.selection.isCollapsed()?Qy(t,e):Zy(t,e)},nM=function(t){var e,n=tM(t.getBody(),t.selection.getNode());return nt.isContentEditableTrue(n)&&t.dom.isBlock(n)&&t.dom.isEmpty(n)&&(e=t.dom.create("br",{"data-mce-bogus":"1"}),t.dom.setHTML(n,""),n.appendChild(e),t.selection.setRng(hs.before(e).toRange())),!0},rM=function(t,e,n,r,o,i){var a=Ph(r,t,i.getNode(!o),o,!0);if(e.collapsed){var s=e.cloneRange();o?s.setEnd(a.startContainer,a.startOffset):s.setStart(a.endContainer,a.endOffset),s.deleteContents()}else e.deleteContents();return t.selection.setRng(a),function(t,e){nt.isText(e)&&0===e.data.length&&t.remove(e)}(t.dom,n),!0},oM=function(t,e){return function(t,e){var n=t.selection.getRng();if(!nt.isText(n.commonAncestorContainer))return!1;var r=e?fs.Forwards:fs.Backwards,o=Ec(t.getBody()),i=s(_c,o.next),a=s(_c,o.prev),c=e?i:a,u=e?sh:ch,l=yc(r,t.getBody(),n),d=$v.normalizePosition(e,c(l));if(!d||!wc(l,d))return!1;if(u(d))return rM(t,n,l.getNode(),r,e,d);var f=c(d);return!!(f&&u(f)&&wc(d,f))&&rM(t,n,l.getNode(),r,e,f)}(t,e)},iM=function(t,e){return function(n){return Uv(e,n).map((function(e){return Tb.setCaretPosition(t,e),!0})).getOr(!1)}},aM=function(t,e,r,o){var i=t.getBody(),a=s($v.isInlineTarget,t);t.undoManager.ignore((function(){t.selection.setRng(function(t,e){var r=n.document.createRange();return r.setStart(t.container(),t.offset()),r.setEnd(e.container(),e.offset()),r}(r,o)),t.execCommand("Delete"),pb(a,i,hs.fromRangeStart(t.selection.getRng())).map(vb).map(iM(t,e))})),t.nodeChanged()},sM=function(t,e,n,r){var o=function(t,e){var n=uc(e,t);return n||t}(t.getBody(),r.container()),a=s($v.isInlineTarget,t),c=pb(a,o,r);return c.bind((function(t){return n?t.fold(i(p.some(vb(t))),p.none,i(p.some(gb(t))),p.none):t.fold(p.none,i(p.some(gb(t))),p.none,i(p.some(vb(t))))})).map(iM(t,e)).getOrThunk((function(){var i=Xc.navigate(n,o,r),s=i.bind((function(t){return pb(a,o,t)}));return c.isSome()&&s.isSome()?$v.findRootInline(a,o,r).map((function(e){return!!function(t){return ja(Xc.firstPositionIn(t),Xc.lastPositionIn(t),(function(e,n){var r=$v.normalizePosition(!0,e),o=$v.normalizePosition(!1,n);return Xc.nextPosition(t,r).map((function(t){return t.isEqual(o)})).getOr(!0)})).getOr(!0)}(e)&&(qp(t,n,Ot.fromDom(e)),!0)})).getOr(!1):s.bind((function(o){return i.map((function(o){return n?aM(t,e,r,o):aM(t,e,o,r),!0}))})).getOr(!1)}))},cM=function(t,e,n){if(t.selection.isCollapsed()&&function(t){return!1!==t.settings.inline_boundaries}(t)){var r=hs.fromRangeStart(t.selection.getRng());return sM(t,e,n,r)}return!1},uM=function(t){return 1===be(t).length},lM=function(t,e,n,r){var o=s(Qp,e),i=O(D(r,o),(function(t){return t.dom()}));if(0===i.length)qp(e,t,n);else{var a=function(t,e){var n=Fp(!1),r=Kp(e,n.dom());return $o(Ot.fromDom(t),n),ei(Ot.fromDom(t)),hs(r,0)}(n.dom(),i);e.selection.setRng(a.toRange())}},dM=function(t,e){var n=Ot.fromDom(t.getBody()),r=Ot.fromDom(t.selection.getStart()),o=D(function(t,e){var n=Ef(e,t);return P(n,mn).fold(i(n),(function(t){return n.slice(0,t)}))}(n,r),uM);return q(o).map((function(n){var r,i=hs.fromRangeStart(t.selection.getRng());return!(!wy(e,i,n.dom())||(r=n,Bs(r.dom())&&jp(r.dom())))&&(lM(e,t,n,o),!0)})).getOr(!1)},fM=function(t,e){return!!t.selection.isCollapsed()&&dM(t,e)},hM=function(t,e){return{start:i(t),end:i(e)}},pM=Sl([{removeTable:["element"]},{emptyCells:["cells"]}]),mM=function(t,e){return Vi(Ot.fromDom(t),"td,th",e)},gM=function(t,e){return Fi(t,"table",e)},vM=function(t){return!1===ue(t.start(),t.end())},bM=function(t,e){return gM(t.start(),e).bind((function(n){return gM(t.end(),e).bind((function(t){return e=ue(n,t),r=n,e?p.some(r):p.none();var e,r}))}))},yM=function(t){return qi(t,"td,th")},MM=function(t,e){var n=mM(e.startContainer,t),r=mM(e.endContainer,t);return e.collapsed?p.none():ja(n,r,hM).fold((function(){return n.fold((function(){return r.bind((function(e){return gM(e,t).bind((function(t){return H(yM(t)).map((function(t){return hM(t,e)}))}))}))}),(function(e){return gM(e,t).bind((function(t){return q(yM(t)).map((function(t){return hM(e,t)}))}))}))}),(function(e){return _M(t,e)?p.none():function(t,e){return gM(t.start(),e).bind((function(e){return q(yM(e)).map((function(e){return hM(t.start(),e)}))}))}(e,t)}))},_M=function(t,e){return bM(e,t).isSome()},wM=function(t,e){return bM(t,e).map((function(e){return function(t,e,n){return{rng:i(t),table:i(e),cells:i(n)}}(t,e,yM(e))}))},xM=function(t,e){var n=function(t){return function(e){return ue(t,e)}}(t);return function(t,e){var n=mM(t.startContainer,e),r=mM(t.endContainer,e);return ja(n,r,hM).filter(vM).filter((function(t){return _M(e,t)})).orThunk((function(){return MM(e,t)}))}(e,n).bind((function(t){return wM(t,n)}))},AM=function(t,e){return P(t,(function(t){return ue(t,e)}))},LM=function(t){return function(t){return ja(AM(t.cells(),t.rng().start()),AM(t.cells(),t.rng().end()),(function(e,n){return t.cells().slice(e,n+1)}))}(t).map((function(e){var n=t.cells();return e.length===n.length?pM.removeTable(t.table()):pM.emptyCells(e)}))},TM=function(t,e){return C(e,fp),t.selection.setCursorLocation(e[0].dom(),0),!0},kM=function(t,e){return qp(t,!1,e),!0},SM=function(t,e,n){return function(t,e){return xM(t,e).bind(LM)}(e,n).map((function(e){return e.fold(s(kM,t),s(TM,t))}))},OM=function(t,e,n,r){return zM(e,r).fold((function(){return SM(t,e,n)}),(function(e){return function(t,e){return DM(t,e)}(t,e)})).getOr(!1)},CM=function(t,e){return B(Ef(e,t),xn)},zM=function(t,e){return B(Ef(e,t),(function(t){return"caption"===Et(t)}))},DM=function(t,e){return fp(e),t.selection.setCursorLocation(e.dom(),0),p.some(!0)},EM=function(t,e,n,r,o){return Xc.navigate(n,t.getBody(),o).bind((function(i){return function(t,e,n,r){return Xc.firstPositionIn(t.dom()).bind((function(o){return Xc.lastPositionIn(t.dom()).map((function(t){return e?n.isEqual(o)&&r.isEqual(t):n.isEqual(t)&&r.isEqual(o)}))})).getOr(!0)}(r,n,o,i)?function(t,e){return DM(t,e)}(t,r):function(t,e,n){return zM(t,Ot.fromDom(n.getNode())).map((function(t){return!1===ue(t,e)}))}(e,r,i)})).or(p.some(!0))},NM=function(t,e,n,r){var o=hs.fromRangeStart(t.selection.getRng());return CM(n,r).bind((function(r){return Cp(r)?DM(t,r):function(t,e,n,r,o){return Xc.navigate(n,t.getBody(),o).bind((function(t){return CM(e,Ot.fromDom(t.getNode())).map((function(t){return!1===ue(t,r)}))}))}(t,n,e,r,o)})).getOr(!1)},BM=function(t,e){return t?ih(e):ah(e)},PM=function(t,e,n){var r=Ot.fromDom(t.getBody());return zM(r,n).fold((function(){return NM(t,e,r,n)||function(t,e){var n=hs.fromRangeStart(t.selection.getRng());return BM(e,n)||Xc.fromPosition(e,t.getBody(),n).map((function(t){return BM(e,t)})).getOr(!1)}(t,e)}),(function(n){return function(t,e,n,r){var o=hs.fromRangeStart(t.selection.getRng());return Cp(r)?DM(t,r):EM(t,n,e,r,o)}(t,e,r,n).getOr(!1)}))},RM=function(t,e){var n=Ot.fromDom(t.selection.getStart(!0)),r=uv(t);return t.selection.isCollapsed()&&0===r.length?PM(t,e,n):function(t,e){var n=Ot.fromDom(t.getBody()),r=t.selection.getRng(),o=uv(t);return 0!==o.length?TM(t,o):OM(t,n,r,e)}(t,n)},YM=function(t,e){return!!t.selection.isCollapsed()&&function(t,e){var n=hs.fromRangeStart(t.selection.getRng());return Xc.fromPosition(e,t.getBody(),n).filter((function(t){return e?rh(t):oh(t)})).bind((function(t){return p.from(dc(e?0:-1,t))})).map((function(e){return t.selection.select(e),!0})).getOr(!1)}(t,e)},WM=function(t){var e=parseInt(t,10);return isNaN(e)?0:e},HM=function(t,e){return(t||"table"===Et(e)?"margin":"padding")+("rtl"===Qt(e,"direction")?"-right":"-left")},qM=function(t){var e=jM(t);return!0!==t.readonly&&(e.length>1||function(t,e){return Y(e,(function(e){var n=HM(ml(t),e),r=te(e,n).map(WM).getOr(0);return"false"!==t.dom.getContentEditable(e.dom())&&r>0}))}(t,e))},IM=function(t){return yn(t)||Mn(t)},jM=function(t){return D(O(t.selection.getSelectedBlocks(),Ot.fromDom),(function(t){return!IM(t)&&!function(t){return he(t).map(IM).getOr(!1)}(t)&&Xi(t,(function(t){return nt.isContentEditableTrue(t.dom())||nt.isContentEditableFalse(t.dom())})).exists((function(t){return nt.isContentEditableTrue(t.dom())}))}))},XM=function(t,e){var n=t.dom,r=t.selection,o=t.formatter,i=gl(t),a=/[a-z%]+$/i.exec(i)[0],s=parseInt(i,10),c=ml(t),u=Vu(t);t.queryCommandState("InsertUnorderedList")||t.queryCommandState("InsertOrderedList")||""!==u||n.getParent(r.getNode(),n.isBlock)||o.apply("div"),C(jM(t),(function(t){!function(t,e,n,r,o,i){var a=HM(n,Ot.fromDom(i));if("outdent"===e){var s=Math.max(0,WM(i.style[a])-r);t.setStyle(i,a,s?s+o:"")}else{s=WM(i.style[a])+r+o;t.setStyle(i,a,s)}}(n,e,c,s,a,t.dom())}))},FM=function(t,e,n){return Xc.navigateIgnore(t,e,n,Zf)},UM=function(t,e){return B(Ef(Ot.fromDom(e.container()),t),mn)},VM=function(t,e,n){return FM(t,e.dom(),n).forall((function(t){return UM(e,n).fold((function(){return!1===lc(t,n,e.dom())}),(function(r){return!1===lc(t,n,e.dom())&&le(r,Ot.fromDom(t.container()))}))}))},GM=function(t,e,n){return UM(e,n).fold((function(){return FM(t,e.dom(),n).forall((function(t){return!1===lc(t,n,e.dom())}))}),(function(e){return FM(t,e.dom(),n).isNone()}))},$M=s(GM,!1),KM=s(GM,!0),JM=s(VM,!1),QM=s(VM,!0),ZM=function(t,e,n){if(t.selection.isCollapsed()&&qM(t)){var r=t.dom,o=t.selection.getRng(),i=hs.fromRangeStart(o),a=r.getParent(o.startContainer,r.isBlock);if(null!==a&&$M(Ot.fromDom(a),i))return XM(t,"outdent"),!0}return!1},t_=function(t,e){t.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(t,e,n){by([{keyCode:Uf.BACKSPACE,action:vy(ZM,t,!1)},{keyCode:Uf.BACKSPACE,action:vy(eM,t,!1)},{keyCode:Uf.DELETE,action:vy(eM,t,!0)},{keyCode:Uf.BACKSPACE,action:vy(oM,t,!1)},{keyCode:Uf.DELETE,action:vy(oM,t,!0)},{keyCode:Uf.BACKSPACE,action:vy(cM,t,e,!1)},{keyCode:Uf.DELETE,action:vy(cM,t,e,!0)},{keyCode:Uf.BACKSPACE,action:vy(RM,t,!1)},{keyCode:Uf.DELETE,action:vy(RM,t,!0)},{keyCode:Uf.BACKSPACE,action:vy(YM,t,!1)},{keyCode:Uf.DELETE,action:vy(YM,t,!0)},{keyCode:Uf.BACKSPACE,action:vy(Hy,t,!1)},{keyCode:Uf.DELETE,action:vy(Hy,t,!0)},{keyCode:Uf.BACKSPACE,action:vy(Py,t,!1)},{keyCode:Uf.DELETE,action:vy(Py,t,!0)},{keyCode:Uf.BACKSPACE,action:vy(fM,t,!1)},{keyCode:Uf.DELETE,action:vy(fM,t,!0)}],n).each((function(t){n.preventDefault()}))}(t,e,n)})),t.on("keyup",(function(e){!1===e.isDefaultPrevented()&&function(t,e){by([{keyCode:Uf.BACKSPACE,action:vy(nM,t)},{keyCode:Uf.DELETE,action:vy(nM,t)}],e)}(t,e)}))},e_=function(t){return p.from(t.dom.getParent(t.selection.getStart(!0),t.dom.isBlock))},n_=function(t,e){var n,r,o=e,i=t.dom,a=t.schema.getMoveCaretBeforeOnEnterElements();if(e){if(/^(LI|DT|DD)$/.test(e.nodeName)){var s=function(t){for(;t;){if(1===t.nodeType||3===t.nodeType&&t.data&&/[\r\n\s]/.test(t.data))return t;t=t.nextSibling}}(e.firstChild);s&&/^(UL|OL|DL)$/.test(s.nodeName)&&e.insertBefore(i.doc.createTextNode(" "),e.firstChild)}if(r=i.createRng(),e.normalize(),e.hasChildNodes()){for(var c=new Go(e,e);n=c.current();){if(nt.isText(n)){r.setStart(n,0),r.setEnd(n,0);break}if(a[n.nodeName.toLowerCase()]){r.setStartBefore(n),r.setEndBefore(n);break}o=n,n=c.next()}n||(r.setStart(o,0),r.setEnd(o,0))}else nt.isBr(e)?e.nextSibling&&i.isBlock(e.nextSibling)?(r.setStartBefore(e),r.setEndBefore(e)):(r.setStartAfter(e),r.setEndAfter(e)):(r.setStart(e,0),r.setEnd(e,0));t.selection.setRng(r),t.selection.scrollIntoView(e)}},r_=function(t,e){var n,r,o=t.getRoot();for(n=e;n!==o&&"false"!==t.getContentEditable(n);)"true"===t.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o},o_=e_,i_=function(t){return e_(t).fold(i(""),(function(t){return t.nodeName.toUpperCase()}))},a_=function(t){return e_(t).filter((function(t){return Mn(Ot.fromDom(t))})).isSome()},s_=function(t,e){return t&&t.parentNode&&t.parentNode.nodeName===e},c_=function(t){return t&&/^(OL|UL|LI)$/.test(t.nodeName)},u_=function(t){var e=t.parentNode;return/^(LI|DT|DD)$/.test(e.nodeName)?e:t},l_=function(t,e,n){for(var r=t[n?"firstChild":"lastChild"];r&&!nt.isElement(r);)r=r[n?"nextSibling":"previousSibling"];return r===e},d_=function(t,e,n,r,o){var i=t.dom,a=t.selection.getRng();if(n!==t.getBody()){var s;c_(s=n)&&c_(s.parentNode)&&(o="LI");var c=o?e(o):i.create("BR");if(l_(n,r,!0)&&l_(n,r,!1))s_(n,"LI")?i.insertAfter(c,u_(n)):i.replace(c,n);else if(l_(n,r,!0))s_(n,"LI")?(i.insertAfter(c,u_(n)),c.appendChild(i.doc.createTextNode(" ")),c.appendChild(n)):n.parentNode.insertBefore(c,n);else if(l_(n,r,!1))i.insertAfter(c,u_(n));else{n=u_(n);var u=a.cloneRange();u.setStartAfter(r),u.setEndAfter(n);var l=u.extractContents();"LI"===o&&function(t,e){return t.firstChild&&t.firstChild.nodeName===e}(l,"LI")?(c=l.firstChild,i.insertAfter(l,n)):(i.insertAfter(l,n),i.insertAfter(c,n))}i.remove(r),n_(t,c)}},f_=function(t,e){return e&&"A"===e.nodeName&&t.isEmpty(e)},h_=function(t){t.innerHTML='<br data-mce-bogus="1">'},p_=function(t,e){return t.nodeName===e||t.previousSibling&&t.previousSibling.nodeName===e},m_=function(t,e){return e&&t.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&!/^(fixed|absolute)/i.test(e.style.position)&&"true"!==t.getContentEditable(e)},g_=function(t,e,n){return!1===nt.isText(e)?n:t?1===n&&e.data.charAt(n-1)===sa?0:n:n===e.data.length-1&&e.data.charAt(n)===sa?e.data.length:n},v_=function(t,e){var n,r,o=t.getRoot();for(n=e;n!==o&&"false"!==t.getContentEditable(n);)"true"===t.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o},b_=function(t,e){var n=Vu(t);n&&n.toLowerCase()===e.tagName.toLowerCase()&&t.dom.setAttribs(e,Gu(t))},y_=function(t,e){var n,r,o,i,a,s,c,u,l,d,f,h,p,m=t.dom,g=t.schema,v=g.getNonEmptyElements(),b=t.selection.getRng(),y=function(e){var n,i,s,c=o,u=g.getTextInlineElements();if(e||"TABLE"===d||"HR"===d?(n=m.create(e||h),b_(t,n)):n=a.cloneNode(!1),s=n,!1===Ju(t))m.setAttrib(n,"style",null),m.setAttrib(n,"class",null);else do{if(u[c.nodeName]){if(Bs(c)||tu(c))continue;i=c.cloneNode(!1),m.setAttrib(i,"id",""),n.hasChildNodes()?(i.appendChild(n.firstChild),n.appendChild(i)):(s=i,n.appendChild(i))}}while((c=c.parentNode)&&c!==r);return h_(s),n},M=function(t){var e,n,r=g_(t,o,i);if(nt.isText(o)&&(t?r>0:r<o.nodeValue.length))return!1;if(o.parentNode===a&&p&&!t)return!0;if(t&&nt.isElement(o)&&o===a.firstChild)return!0;if(p_(o,"TABLE")||p_(o,"HR"))return p&&!t||!p&&t;var s=new Go(o,a);for(nt.isText(o)&&(t&&0===r?s.prev():t||r!==o.nodeValue.length||s.next());e=s.current();){if(nt.isElement(e)){if(!e.getAttribute("data-mce-bogus")&&(n=e.nodeName.toLowerCase(),v[n]&&"br"!==n))return!1}else if(nt.isText(e)&&!/^[ \t\r\n]*$/.test(e.nodeValue))return!1;t?s.prev():s.next()}return!0},_=function(){c=/^(H[1-6]|PRE|FIGURE)$/.test(d)&&"HGROUP"!==f?y(h):y(),Qu(t)&&m_(m,l)&&m.isEmpty(a)?c=m.split(l,a):m.insertAfter(c,a),n_(t,c)};Lv(m,b).each((function(t){b.setStart(t.startContainer,t.startOffset),b.setEnd(t.endContainer,t.endOffset)})),o=b.startContainer,i=b.startOffset,h=Vu(t),s=!(!e||!e.shiftKey);var w=!(!e||!e.ctrlKey);nt.isElement(o)&&o.hasChildNodes()&&(p=i>o.childNodes.length-1,o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o,i=p&&nt.isText(o)?o.nodeValue.length:0),(r=v_(m,o))&&((h&&!s||!h&&s)&&(o=function(t,e,n,r,o){var i,a,s,c,u,l,d=e||"P",f=t.dom,h=v_(f,r);if(!(a=f.getParent(r,f.isBlock))||!m_(f,a)){if(l=(a=a||h)===t.getBody()||function(t){return t&&/^(TD|TH|CAPTION)$/.test(t.nodeName)}(a)?a.nodeName.toLowerCase():a.parentNode.nodeName.toLowerCase(),!a.hasChildNodes())return i=f.create(d),b_(t,i),a.appendChild(i),n.setStart(i,0),n.setEnd(i,0),i;for(c=r;c.parentNode!==a;)c=c.parentNode;for(;c&&!f.isBlock(c);)s=c,c=c.previousSibling;if(s&&t.schema.isValidChild(l,d.toLowerCase())){for(i=f.create(d),b_(t,i),s.parentNode.insertBefore(i,s),c=s;c&&!f.isBlock(c);)u=c.nextSibling,i.appendChild(c),c=u;n.setStart(r,o),n.setEnd(r,o)}}return r}(t,h,b,o,i)),a=m.getParent(o,m.isBlock),l=a?m.getParent(a.parentNode,m.isBlock):null,d=a?a.nodeName.toUpperCase():"","LI"!==(f=l?l.nodeName.toUpperCase():"")||w||(a=l,l=l.parentNode,d=f),/^(LI|DT|DD)$/.test(d)&&m.isEmpty(a)?d_(t,y,l,a,h):h&&a===t.getBody()||(h=h||"P",da(a)?(c=Ma(a),m.isEmpty(a)&&h_(a),n_(t,c)):M()?_():M(!0)?(c=a.parentNode.insertBefore(y(),a),n_(t,p_(a,"HR")?c:a)):((n=function(t){var e=t.cloneRange();return e.setStart(t.startContainer,g_(!0,t.startContainer,t.startOffset)),e.setEnd(t.endContainer,g_(!1,t.endContainer,t.endOffset)),e}(b).cloneRange()).setEndAfter(a),function(t){C(Hi(Ot.fromDom(t),Pt),(function(t){var e=t.dom();e.nodeValue=ca(e.nodeValue)}))}(u=n.extractContents()),function(t){do{nt.isText(t)&&(t.nodeValue=t.nodeValue.replace(/^[\r\n]+/,"")),t=t.firstChild}while(t)}(u),c=u.firstChild,m.insertAfter(u,a),function(t,e,n){var r,o=n,i=[];if(o){for(;o=o.firstChild;){if(t.isBlock(o))return;nt.isElement(o)&&!e[o.nodeName.toLowerCase()]&&i.push(o)}for(r=i.length;r--;)(!(o=i[r]).hasChildNodes()||o.firstChild===o.lastChild&&""===o.firstChild.nodeValue||f_(t,o))&&t.remove(o)}}(m,v,c),function(t,e){var n;e.normalize(),(n=e.lastChild)&&!/^(left|right)$/gi.test(t.getStyle(n,"float",!0))||t.add(e,"br")}(m,a),m.isEmpty(a)&&h_(a),c.normalize(),m.isEmpty(c)?(m.remove(c),_()):n_(t,c)),m.setAttrib(c,"id",""),t.fire("NewBlock",{newBlock:c})))},M_=function(t,e,n){var r=t.create("span",{}," ");n.parentNode.insertBefore(r,n),e.scrollIntoView(r),t.remove(r)},__=function(t,e,n,r){var o=t.createRng();r?(o.setStartBefore(n),o.setEndBefore(n)):(o.setStartAfter(n),o.setEndAfter(n)),e.setRng(o)},w_=function(t,e){var n,r,o=t.selection,i=t.dom,a=o.getRng();Lv(i,a).each((function(t){a.setStart(t.startContainer,t.startOffset),a.setEnd(t.endContainer,t.endOffset)}));var s=a.startOffset,c=a.startContainer;if(1===c.nodeType&&c.hasChildNodes()){var u=s>c.childNodes.length-1;c=c.childNodes[Math.min(s,c.childNodes.length-1)]||c,s=u&&3===c.nodeType?c.nodeValue.length:0}var l=i.getParent(c,i.isBlock),d=l?i.getParent(l.parentNode,i.isBlock):null,f=d?d.nodeName.toUpperCase():"",h=!(!e||!e.ctrlKey);"LI"!==f||h||(l=d),c&&3===c.nodeType&&s>=c.nodeValue.length&&(function(t,e,n){for(var r,o=new Go(e,n),i=t.getNonEmptyElements();r=o.next();)if(i[r.nodeName.toLowerCase()]||r.length>0)return!0}(t.schema,c,l)||(n=i.create("br"),a.insertNode(n),a.setStartAfter(n),a.setEndAfter(n),r=!0)),n=i.create("br"),As(i,a,n),M_(i,o,n),__(i,o,n,r),t.undoManager.add()},x_=function(t,e){var n=Ot.fromTag("br");$o(Ot.fromDom(e),n),t.undoManager.add()},A_=function(t,e){L_(t.getBody(),e)||Ko(Ot.fromDom(e),Ot.fromTag("br"));var n=Ot.fromTag("br");Ko(Ot.fromDom(e),n),M_(t.dom,t.selection,n.dom()),__(t.dom,t.selection,n.dom(),!1),t.undoManager.add()},L_=function(t,e){return n=hs.after(e),!!nt.isBr(n.getNode())||Xc.nextPosition(t,hs.after(e)).map((function(t){return nt.isBr(t.getNode())})).getOr(!1);var n},T_=function(t){return t&&"A"===t.nodeName&&"href"in t},k_=function(t){return t.fold(i(!1),T_,T_,i(!1))},S_=function(t,e){e.fold(r,s(x_,t),s(A_,t),r)},O_=function(t,e){var n=function(t){var e=s($v.isInlineTarget,t),n=hs.fromRangeStart(t.selection.getRng());return pb(e,t.getBody(),n).filter(k_)}(t);n.isSome()?n.each(s(S_,t)):w_(t,e)},C_=function(t,e){return o_(t).filter((function(t){return e.length>0&&se(Ot.fromDom(t),e)})).isSome()},z_=function(t){return C_(t,$u(t))},D_=function(t){return C_(t,Ku(t))},E_=Sl([{br:[]},{block:[]},{none:[]}]),N_=function(t,e){return D_(t)},B_=function(t){return function(e,n){return""===Vu(e)===t}},P_=function(t){return function(e,n){return a_(e)===t}},R_=function(t,e){return function(n,r){return i_(n)===t.toUpperCase()===e}},Y_=function(t){return R_("pre",t)},W_=function(t){return function(e,n){return Uu(e)===t}},H_=function(t,e){return z_(t)},q_=function(t,e){return e},I_=function(t){var e=Vu(t),n=r_(t.dom,t.selection.getStart());return n&&t.schema.isValidChild(n.nodeName,e||"P")},j_=function(t,e){return function(n,r){return N(t,(function(t,e){return t&&e(n,r)}),!0)?p.some(e):p.none()}},X_=function(t,e){return Kv([j_([N_],E_.none()),j_([R_("summary",!0)],E_.br()),j_([Y_(!0),W_(!1),q_],E_.br()),j_([Y_(!0),W_(!1)],E_.block()),j_([Y_(!0),W_(!0),q_],E_.block()),j_([Y_(!0),W_(!0)],E_.br()),j_([P_(!0),q_],E_.br()),j_([P_(!0)],E_.block()),j_([B_(!0),q_,I_],E_.block()),j_([B_(!0)],E_.br()),j_([H_],E_.br()),j_([B_(!1),q_],E_.br()),j_([I_],E_.block())],[t,!(!e||!e.shiftKey)]).getOr(E_.none())},F_=function(t,e){X_(t,e).fold((function(){O_(t,e)}),(function(){y_(t,e)}),r)},U_=function(t){t.on("keydown",(function(e){e.keyCode===Uf.ENTER&&function(t,e){var n;e.isDefaultPrevented()||(e.preventDefault(),(n=t.undoManager).typing&&(n.typing=!1,n.add()),t.undoManager.transact((function(){!1===t.selection.isCollapsed()&&t.execCommand("Delete"),F_(t,e)})))}(t,e)}))},V_=function(t,e){var n=e.container(),r=e.offset();return nt.isText(n)?(n.insertData(r,t),p.some(ds(n,r+t.length))):Mc(e).map((function(n){var r=Ot.fromText(t);return e.isAtEnd()?Ko(n,r):$o(n,r),ds(r.dom(),t.length)}))},G_=s(V_," "),$_=s(V_," "),K_=function(t){return ds.isTextPosition(t)&&!t.isAtStart()&&!t.isAtEnd()},J_=function(t,e){var n=D(Ef(Ot.fromDom(e.container()),t),mn);return H(n).getOr(t)},Q_=function(t,e){return K_(e)?Qf(e):Qf(e)||Xc.prevPosition(J_(t,e).dom(),e).exists(Qf)},Z_=function(t,e){return K_(e)?Jf(e):Jf(e)||Xc.nextPosition(J_(t,e).dom(),e).exists(Jf)},tw=function(t){return Mc(t).bind((function(t){return Xi(t,Bt)})).exists((function(t){return function(t){return k(["pre","pre-wrap"],t)}(Qt(t,"white-space"))}))},ew=function(t,e){return function(t,e){return Xc.prevPosition(t.dom(),e).isNone()}(t,e)||function(t,e){return Xc.nextPosition(t.dom(),e).isNone()}(t,e)||$M(t,e)||KM(t,e)||Xy(t,e)||jy(t,e)},nw=function(t,e){var n=function(t){var e=t.container(),n=t.offset();return nt.isText(e)&&n<e.data.length?ds(e,n+1):t}(e);return!tw(n)&&(KM(t,n)||QM(t,n)||jy(t,n)||Z_(t,n))},rw=function(t,e){return function(t,e){return!tw(e)&&($M(t,e)||JM(t,e)||Xy(t,e)||Q_(t,e))}(t,e)||nw(t,e)},ow=function(t,e){return Vf(t.charAt(e))},iw=function(t){var e=t.container();return nt.isText(e)&>(e.data," ")},aw=function(t){var e=t.data,n=function(t){var e=t.split("");return O(e,(function(t,n){return Vf(t)&&n>0&&n<e.length-1&&$f(e[n-1])&&$f(e[n+1])?" ":t})).join("")}(e);return n!==e&&(t.data=n,!0)},sw=function(t,e){return p.some(e).filter(iw).bind((function(e){var n=e.container();return function(t,e){var n=e.data,r=ds(e,0);return!(!ow(n,0)||rw(t,r))&&(e.data=" "+n.slice(1),!0)}(t,n)||aw(n)||function(t,e){var n=e.data,r=ds(e,n.length-1);return!(!ow(n,n.length-1)||rw(t,r))&&(e.data=n.slice(0,-1)+" ",!0)}(t,n)?p.some(e):p.none()}))},cw=function(t){var e=Ot.fromDom(t.getBody());t.selection.isCollapsed()&&sw(e,ds.fromRangeStart(t.selection.getRng())).each((function(e){t.selection.setRng(e.toRange())}))},uw=function(t,e){return function(n){return function(t,e){return!tw(e)&&(ew(t,e)||Q_(t,e)||Z_(t,e))}(t,n)?G_(e):$_(e)}},lw=function(t){var e=hs.fromRangeStart(t.selection.getRng()),n=Ot.fromDom(t.getBody());if(t.selection.isCollapsed()){var r=s($v.isInlineTarget,t),o=hs.fromRangeStart(t.selection.getRng());return pb(r,t.getBody(),o).bind(function(t){return function(e){return e.fold((function(e){return Xc.prevPosition(t.dom(),hs.before(e))}),(function(t){return Xc.firstPositionIn(t)}),(function(t){return Xc.lastPositionIn(t)}),(function(e){return Xc.nextPosition(t.dom(),hs.after(e))}))}}(n)).bind(uw(n,e)).exists(function(t){return function(e){return t.selection.setRng(e.toRange()),t.nodeChanged(),!0}}(t))}return!1},dw=function(t){t.on("keydown",(function(e){!1===e.isDefaultPrevented()&&function(t,e){by([{keyCode:Uf.SPACEBAR,action:vy(lw,t)}],e).each((function(t){e.preventDefault()}))}(t,e)}))},fw=function(t,e){e.hasAttribute("data-mce-caret")&&(Ma(e),function(t){t.selection.setRng(t.selection.getRng())}(t),t.selection.scrollIntoView(e))},hw=function(t,e){var n=function(t){return Ui(Ot.fromDom(t.getBody()),"*[data-mce-caret]").fold(i(null),(function(t){return t.dom()}))}(t);if(n)return"compositionstart"===e.type?(e.preventDefault(),e.stopPropagation(),void fw(t,n)):void(pa(n)&&(fw(t,n),t.undoManager.add()))},pw=function(t){t.on("keyup compositionstart",s(hw,t))},mw=kt().browser,gw=function(t){!function(t){var e=Di((function(){t.composing||cw(t)}),0);mw.isIE()&&(t.on("keypress",(function(t){e.throttle()})),t.on("remove",(function(t){e.cancel()})))}(t),t.on("input",(function(e){!1===e.isComposing&&cw(t)}))},vw=function(t){t.on("keydown",(function(e){!1===e.isDefaultPrevented()&&function(t,e){by([{keyCode:Uf.END,action:Vb(t,!0)},{keyCode:Uf.HOME,action:Vb(t,!1)}],e).each((function(t){e.preventDefault()}))}(t,e)}))},bw=function(t){var e=Tb.setupSelectedState(t);pw(t),yy(t,e),t_(t,e),U_(t),dw(t),gw(t),vw(t)},yw=function(t){var e,r,o,i=cn.each,a=Uf.BACKSPACE,s=Uf.DELETE,c=t.dom,u=t.selection,l=t.settings,d=t.parser,f=Qe.gecko,h=Qe.ie,p=Qe.webkit,m=h?"Text":"URL",g=function(e,n){try{t.getDoc().execCommand(e,!1,n)}catch(t){}},v=function(t){return t.isDefaultPrevented()},b=function(){t.shortcuts.add("meta+a",null,"SelectAll")},y=function(){t.on("keydown",(function(t){if(!v(t)&&t.keyCode===a&&u.isCollapsed()&&0===u.getRng().startOffset){var e=u.getNode().previousSibling;if(e&&e.nodeName&&"table"===e.nodeName.toLowerCase())return t.preventDefault(),!1}}))},M=function(){t.inline||(t.contentStyles.push("body {min-height: 150px}"),t.on("click",(function(e){var n;if("HTML"===e.target.nodeName){if(Qe.ie>11)return void t.getBody().focus();n=t.selection.getRng(),t.getBody().focus(),t.selection.setRng(n),t.selection.normalize(),t.nodeChanged()}})))};return t.on("keydown",(function(e){var n,r,o,i,a;if(!v(e)&&e.keyCode===Uf.BACKSPACE&&(r=(n=u.getRng()).startContainer,o=n.startOffset,i=c.getRoot(),a=r,n.collapsed&&0===o)){for(;a&&a.parentNode&&a.parentNode.firstChild===a&&a.parentNode!==i;)a=a.parentNode;"BLOCKQUOTE"===a.tagName&&(t.formatter.toggle("blockquote",null,a),(n=c.createRng()).setStart(r,0),n.setEnd(r,0),u.setRng(n))}})),e=function(t){var e=c.create("body"),n=t.cloneContents();return e.appendChild(n),u.serializer.serialize(e,{format:"html"})},t.on("keydown",(function(n){var r,o,i=n.keyCode;if(!v(n)&&(i===s||i===a)){if(r=t.selection.isCollapsed(),o=t.getBody(),r&&!c.isEmpty(o))return;if(!r&&!function(n){var r=e(n),o=c.createRng();return o.selectNode(t.getBody()),r===e(o)}(t.selection.getRng()))return;n.preventDefault(),t.setContent(""),o.firstChild&&c.isBlock(o.firstChild)?t.selection.setCursorLocation(o.firstChild,0):t.selection.setCursorLocation(o,0),t.nodeChanged()}})),Qe.windowsPhone||t.on("keyup focusin mouseup",(function(t){Uf.modifierPressed(t)||u.normalize()}),!0),p&&(t.inline||c.bind(t.getDoc(),"mousedown mouseup",(function(e){var n;if(e.target===t.getDoc().documentElement)if(n=u.getRng(),t.getBody().focus(),"mousedown"===e.type){if(ha(n.startContainer))return;u.placeCaretAt(e.clientX,e.clientY)}else u.setRng(n)})),t.on("click",(function(e){var n=e.target;/^(IMG|HR)$/.test(n.nodeName)&&"false"!==c.getContentEditableParent(n)&&(e.preventDefault(),t.selection.select(n),t.nodeChanged()),"A"===n.nodeName&&c.hasClass(n,"mce-item-anchor")&&(e.preventDefault(),u.select(n))})),l.forced_root_block&&t.on("init",(function(){g("DefaultParagraphSeparator",Vu(t))})),t.on("init",(function(){t.dom.bind(t.getBody(),"submit",(function(t){t.preventDefault()}))})),y(),d.addNodeFilter("br",(function(t){for(var e=t.length;e--;)"Apple-interchange-newline"===t[e].attr("class")&&t[e].remove()})),Qe.iOS?(t.inline||t.on("keydown",(function(){n.document.activeElement===n.document.body&&t.getWin().focus()})),M(),t.on("click",(function(t){var e=t.target;do{if("A"===e.tagName)return void t.preventDefault()}while(e=e.parentNode)})),t.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")):b()),Qe.ie>=11&&(M(),y()),Qe.ie&&(b(),g("AutoUrlDetect",!1),t.on("dragstart",(function(e){!function(e){var n,r;e.dataTransfer&&(t.selection.isCollapsed()&&"IMG"===e.target.tagName&&u.select(e.target),(n=t.selection.getContent()).length>0&&(r="data:text/mce-internal,"+escape(t.id)+","+escape(n),e.dataTransfer.setData(m,r)))}(e)})),t.on("drop",(function(e){if(!v(e)){var n=function(t){var e;return t.dataTransfer&&(e=t.dataTransfer.getData(m))&&e.indexOf("data:text/mce-internal,")>=0?(e=e.substr("data:text/mce-internal,".length).split(","),{id:unescape(e[0]),html:unescape(e[1])}):null}(e);if(n&&n.id!==t.id){e.preventDefault();var r=qg(e.x,e.y,t.getDoc());u.setRng(r),o=n.html,i=!0,t.queryCommandSupported("mceInsertClipboardContent")?t.execCommand("mceInsertClipboardContent",!1,{content:o,internal:i}):t.execCommand("mceInsertContent",!1,o)}}var o,i}))),f&&(t.on("keydown",(function(e){if(!v(e)&&e.keyCode===a){if(!t.getBody().getElementsByTagName("hr").length)return;if(u.isCollapsed()&&0===u.getRng().startOffset){var n=u.getNode(),r=n.previousSibling;if("HR"===n.nodeName)return c.remove(n),void e.preventDefault();r&&r.nodeName&&"hr"===r.nodeName.toLowerCase()&&(c.remove(r),e.preventDefault())}}})),n.Range.prototype.getClientRects||t.on("mousedown",(function(e){if(!v(e)&&"HTML"===e.target.nodeName){var n=t.getBody();n.blur(),je.setEditorTimeout(t,(function(){n.focus()}))}})),r=function(){var e=c.getAttribs(u.getStart().cloneNode(!1));return function(){var n=u.getStart();n!==t.getBody()&&(c.setAttrib(n,"style",null),i(e,(function(t){n.setAttributeNode(t.cloneNode(!0))})))}},o=function(){return!u.isCollapsed()&&c.getParent(u.getStart(),c.isBlock)!==c.getParent(u.getEnd(),c.isBlock)},t.on("keypress",(function(e){var n;if(!v(e)&&(8===e.keyCode||46===e.keyCode)&&o())return n=r(),t.getDoc().execCommand("delete",!1,null),n(),e.preventDefault(),!1})),c.bind(t.getDoc(),"cut",(function(e){var n;!v(e)&&o()&&(n=r(),je.setEditorTimeout(t,(function(){n()})))})),l.readonly||t.on("BeforeExecCommand mousedown",(function(){g("StyleWithCSS",!1),g("enableInlineTableEditing",!1),l.object_resizing||g("enableObjectResizing",!1)})),t.on("SetContent ExecCommand",(function(t){"setcontent"!==t.type&&"mceInsertLink"!==t.command||i(c.select("a"),(function(t){var e=t.parentNode,n=c.getRoot();if(e.lastChild===t){for(;e&&!c.isBlock(e);){if(e.parentNode.lastChild!==e||e===n)return;e=e.parentNode}c.add(e,"br",{"data-mce-bogus":1})}}))})),t.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}"),Qe.mac&&t.on("keydown",(function(e){!Uf.metaKeyPressed(e)||e.shiftKey||37!==e.keyCode&&39!==e.keyCode||(e.preventDefault(),t.selection.getSel().modify("move",37===e.keyCode?"backward":"forward","lineboundary"))})),y()),{refreshContentEditable:function(){},isHidden:function(){var e;return!(!f||t.removed)&&(!(e=t.selection.getSel())||!e.rangeCount||0===e.rangeCount)}}},Mw=function(t){return nt.isElement(t)&&bn(Ot.fromDom(t))},_w=function(t){t.on("click",(function(e){e.detail>=3&&function(t){var e=t.selection.getRng(),n=ds.fromRangeStart(e),r=ds.fromRangeEnd(e);if(ds.isElementPosition(n)){var o=n.container();Mw(o)&&Xc.firstPositionIn(o).each((function(t){return e.setStart(t.container(),t.offset())}))}if(ds.isElementPosition(r)){o=n.container();Mw(o)&&Xc.lastPositionIn(o).each((function(t){return e.setEnd(t.container(),t.offset())}))}t.selection.setRng(Dm(e))}(t)}))},ww=function(t){!function(t){t.on("click",(function(e){t.dom.getParent(e.target,"details")&&e.preventDefault()}))}(t),function(t){t.parser.addNodeFilter("details",(function(t){C(t,(function(t){t.attr("data-mce-open",t.attr("open")),t.attr("open","open")}))})),t.serializer.addNodeFilter("details",(function(t){C(t,(function(t){var e=t.attr("data-mce-open");t.attr("open",g(e)?e:null),t.attr("data-mce-open",null)}))}))}(t)},xw=_i.DOM,Aw=function(t){t.bindPendingEventDelegates(),t.initialized=!0,t.fire("init"),t.focus(!0),t.nodeChanged({initial:!0}),t.execCallback("init_instance_callback",t),function(t){t.settings.auto_focus&&je.setEditorTimeout(t,(function(){var e;(e=!0===t.settings.auto_focus?t:t.editorManager.get(t.settings.auto_focus)).destroyed||e.focus()}),100)}(t)},Lw=function(t,e){var r,o,i=t.settings,a=t.getElement(),s=t.getDoc();i.inline||(t.getElement().style.visibility=t.orgVisibility),e||t.inline||(s.open(),s.write(t.iframeHTML),s.close()),t.inline&&(t.on("remove",(function(){var t=this.getBody();xw.removeClass(t,"mce-content-body"),xw.removeClass(t,"mce-edit-focus"),xw.setAttrib(t,"contentEditable",null)})),xw.addClass(a,"mce-content-body"),t.contentDocument=s=n.document,t.contentWindow=n.window,t.bodyElement=a,t.contentAreaContainer=a,i.root_name=a.nodeName.toLowerCase()),(r=t.getBody()).disabled=!0,t.readonly=i.readonly,t.readonly||(t.inline&&"static"===xw.getStyle(r,"position",!0)&&(r.style.position="relative"),r.contentEditable=t.getParam("content_editable_state",!0)),r.disabled=!1,t.editorUpload=Of(t),t.schema=Gn(i),t.dom=_i(s,{keep_values:!0,url_converter:t.convertURL,url_converter_scope:t,hex_colors:i.force_hex_style_colors,update_styles:!0,root_element:t.inline?t.getBody():null,collect:function(){return t.inline},schema:t.schema,contentCssCors:dl(t),referrerPolicy:fl(t),onSetAttrib:function(e){t.fire("SetAttrib",e)}}),t.parser=function(t){var e=cg(t.settings,t.schema);return e.addAttributeFilter("src,href,style,tabindex",(function(e,n){for(var r,o,i,a=e.length,s=t.dom;a--;)if(o=(r=e[a]).attr(n),i="data-mce-"+n,!r.attr(i)){if(0===o.indexOf("data:")||0===o.indexOf("blob:"))continue;"style"===n?((o=s.serializeStyle(s.parseStyle(o),r.name)).length||(o=null),r.attr(i,o),r.attr(n,o)):"tabindex"===n?(r.attr(i,o),r.attr(n,null)):r.attr(i,t.convertURL(o,n,r.name))}})),e.addNodeFilter("script",(function(t){for(var e,n,r=t.length;r--;)0!==(n=(e=t[r]).attr("type")||"no/type").indexOf("mce-")&&e.attr("type","mce-"+n)})),e.addNodeFilter("#cdata",(function(t){for(var e,n=t.length;n--;)(e=t[n]).type=8,e.name="#comment",e.value="[CDATA["+e.value+"]]"})),e.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",(function(e){for(var n,r=e.length,o=t.schema.getNonEmptyElements();r--;)(n=e[r]).isEmpty(o)&&0===n.getAll("br").length&&(n.append(new Ou("br",1)).shortEnded=!0)})),e}(t),t.serializer=fg(i,t),t.selection=Pv(t.dom,t.getWin(),t.serializer,t),t.annotator=Lu(t),t.formatter=Gm(t),t.undoManager=lp(t),t._nodeChangeDispatcher=new Ff(t),t._selectionOverrides=Xh(t),ww(t),_w(t),bw(t),Yf(t),t.fire("PreInit"),i.browser_spellcheck||i.gecko_spellcheck||(s.body.spellcheck=!1,xw.setAttrib(r,"spellcheck","false")),t.quirks=yw(t),t.fire("PostRender");var c=bl(t);void 0!==c&&(r.dir=c),i.protect&&t.on("BeforeSetContent",(function(t){cn.each(i.protect,(function(e){t.content=t.content.replace(e,(function(t){return"\x3c!--mce:protected "+escape(t)+"--\x3e"}))}))})),t.on("SetContent",(function(){t.addVisual(t.getBody())})),t.load({initial:!0,format:"html"}),t.startContent=t.getContent({format:"raw"}),t.on("compositionstart compositionend",(function(e){t.composing="compositionstart"===e.type})),t.contentStyles.length>0&&(o="",cn.each(t.contentStyles,(function(t){o+=t+"\r\n"})),t.dom.addStyle(o)),function(t){return t.inline?xw.styleSheetLoader:t.dom.styleSheetLoader}(t).loadAll(t.contentCSS,(function(e){Aw(t)}),(function(e){Aw(t)})),i.content_style&&function(t,e){var n=Ot.fromDom(t.getDoc().head),r=Ot.fromTag("style");Gt(r,"type","text/css"),Qo(r,Ot.fromText(e)),Qo(n,r)}(t,i.content_style)},Tw=_i.DOM,kw=function(t,e){var r=t.editorManager.translate("Rich Text Area. Press ALT-0 for help."),o=function(t,e,n,r){var o=Ot.fromTag("iframe");return $t(o,r),$t(o,{id:t+"_ifr",frameBorder:"0",allowTransparency:"true",title:e}),Ri(o,"tox-edit-area__iframe"),o}(t.id,r,e.height,Hu(t)).dom();o.onload=function(){o.onload=null,t.fire("load")};var i=function(t,e){if(n.document.domain!==n.window.location.hostname&&Qe.browser.isIE()){var r=Tf("mce");t[r]=function(){Lw(t)};var o='javascript:(function(){document.open();document.domain="'+n.document.domain+'";var ed = window.parent.tinymce.get("'+t.id+'");document.write(ed.iframeHTML);document.close();ed.'+r+"(true);})()";return Tw.setAttrib(e,"src",o),!0}return!1}(t,o);return t.contentAreaContainer=e.iframeContainer,t.iframeElement=o,t.iframeHTML=function(t){var e,n,r;return r=qu(t)+"<html><head>",Iu(t)!==t.documentBaseUrl&&(r+='<base href="'+t.documentBaseURI.getURI()+'" />'),r+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />',e=ju(t),n=Xu(t),Fu(t)&&(r+='<meta http-equiv="Content-Security-Policy" content="'+Fu(t)+'" />'),r+='</head><body id="'+e+'" class="mce-content-body '+n+'" data-id="'+t.id+'"><br></body></html>'}(t),Tw.add(e.iframeContainer,o),i},Sw=function(t,e){var n=kw(t,e);e.editorContainer&&(Tw.get(e.editorContainer).style.display=t.orgDisplay,t.hidden=Tw.isHidden(e.editorContainer)),t.getElement().style.display="none",Tw.setAttrib(t.id,"aria-hidden","true"),n||Lw(t)},Ow=function(t){t.contentCSS=t.contentCSS.concat(function(t){var e=vl(t),n=t.editorManager.baseURL+"/skins/content",r="content"+t.editorManager.suffix+".css",o=!0===t.inline;return O(e,(function(e){return function(t){return/^[a-z0-9\-]+$/i.test(t)}(e)&&!o?n+"/"+e+"/"+r:t.documentBaseURI.toAbsolute(e)}))}(t))},Cw=_i.DOM,zw=function(t,e,n){var r=mf.get(n),o=mf.urls[n]||t.documentBaseUrl.replace(/\/$/,"");if(n=cn.trim(n),r&&-1===cn.inArray(e,n)){if(cn.each(mf.dependencies(n),(function(n){zw(t,e,n)})),t.plugins[n])return;try{var i=new r(t,o,t.$);t.plugins[n]=i,i.init&&(i.init(t,o),e.push(n))}catch(e){hf.pluginInitError(t,n,e)}}},Dw=function(t){return t.replace(/^\-/,"")},Ew=function(t){return{editorContainer:t,iframeContainer:t}},Nw=function(t){var e=t.getElement();return t.inline?Ew(null):function(t){var e=Cw.create("div");return Cw.insertAfter(e,t),Ew(e)}(e)},Bw=function(t){t.fire("ScriptsLoaded"),function(t){var e=cn.trim(t.settings.icons),n=t.ui.registry.getAll().icons,r=j(j({},{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1z" fill-rule="nonzero"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5L13 7H5a1 1 0 1 1 0-2h9.2zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 0 1 0-2h6.8zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 0 1 0-2h4.4zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2zM7 17l-1.2 2H5a1 1 0 0 1 0-2h2zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2zm5.2-13.5l1.3.7-9.7 16.3-1.3-.7 9.7-16.3z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="M5.6 13l12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="M18.5 13l-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1z" fill-rule="nonzero"/></svg>',"border-width":'<svg width="24" height="24"><path d="M5 14.8h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2zm-.5 3.7h15c.3 0 .5.2.5.5s-.2.5-.5.5h-15a.5.5 0 1 1 0-1zm.5-8.3h14c.6 0 1 .4 1 1v1c0 .5-.4 1-1 1H5a1 1 0 0 1-1-1v-1c0-.6.4-1 1-1zm0-5.7h14c.6 0 1 .4 1 1v2c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-2c0-.6.4-1 1-1z" fill-rule="evenodd"/></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1zM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7zm10 3.5l.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0zm-10-7l-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8zM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14zm-8 9.4l-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8zM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7z" fill-rule="nonzero"/></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 1 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5l-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1zm4.8-6.8V10H7.7V5.8h-1v-1h2zM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1zM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2v-.1-.2l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2zM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3L4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8L5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2L13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2zM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3L3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7zm0 12V9h-7v10h7z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3zM9 9v5l5-5H9zm1 6h5v-5l-5 5z" fill-rule="evenodd"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8zm-8.5 2.2l.1-.4v-.3-.4a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4zm5.4 4l.2-.5v-.4-.3a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5zm0 4h2v2h-2V9zM9 9h2v2H9V9zm4 4h2v2h-2v-2zm-4 0h2v2H9v-2zm0 4h2v2H9v-2zm4 0h2v2h-2v-2zM9 5h2v2H9V5z" fill-rule="evenodd"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19.8 8.8l-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5zm-2-.2l1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5zm-1 1l-2.5-2.4-6 6 2.5 2.5 6-6zm-7 7.1l-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9zM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13zm3-5.3l1.3 2 3-4.7 3.7 6H7l2-3.3z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm4.8 2.6l5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5zM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13z" fill-rule="nonzero"/></svg>',fill:'<svg width="24" height="26"><path d="M16.6 12l-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2zM5.2 13L10 8.2l4.8 4.8H5.2zM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2zm4-8h2V9h-2v2zM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2zm14-2v2h2a2 2 0 0 0-2-2zm-7 16h2V3h-2v18zm7-6h2v-2h-2v2zm-4-8h2V5h-2v2zm4 12a2 2 0 0 0 2-2h-2v2z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5zm8 4v2h2v-2h-2zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2zm2 14h-2v2a2 2 0 0 0 2-2zM3 11v2h18v-2H3zm6 7v2h2v-2H9zm8-4v2h2v-2h-2zM5 18c0 1.1.9 2 2 2v-2H5z" fill-rule="nonzero"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3z" fill-rule="nonzero"/></svg>',fullscreen:'<svg width="24" height="24"><path d="M15.3 10l-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3zm0 4l3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2zM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3zM8.7 10L5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="M5 15.7l2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7zM5 18V19h3l1.8-1.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8 8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1zM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="M5 15.7l3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7zM5 18V19h3l2.8-2.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4zm-1 3v2h2V7h-2zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3L16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="M16.7 4.7l-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8z" fill-rule="evenodd"/></svg>',line:'<svg width="24" height="24"><path d="M15 9l-8 8H4v-3l8-8 3 3zm1-1l-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1zM4 18h16v2H4v-2z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2.1 2a2 2 0 1 0 2.7 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8l-1.6 1v-1.1l1.6-1h1.2V17zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6zM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3zM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4zM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3zM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM37.1 34.6L34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3zM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33zm0 10v-1.2h-1.3V26H33zm0 10v-1.2h-1.3V36H33z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15zm0 10v-1.2h1.3V26H15zm0 10v-1.2h1.3V36H15z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M39.3 17l-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3zm-1.6-4.7l-.7 2.3h1.6l-.8-2.3zM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26zM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M12.6 17l-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3zM11 12.3l-.7 2.3h1.6l-.8-2.3zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3zm0 10v-1.2H33V27h-1.3zm0 10v-1.2H33V37h-1.3z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15zm0 10v-1.2h1.3V27H15zm0 10v-1.2h1.3V37H15z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3zM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5zM4.4 16.2L6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6z" fill-rule="evenodd"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="M15 13l2-2v8H5V7h8l-2 2H7v8h8v-4zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M17.8 9.8L15.4 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7l2.3 5.8zm0 0l2.2 5.7-2.3-5.8zM13 17v-2h-2v2h2zm0-4V7h-2v6h2z" fill-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19zm-1 8.8l.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2zM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6zm-1 8.8l.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4L1 13l6.4 6.5 6.5-6.5-6.5-6.5zM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7zM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1zM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1z"/></g></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5L8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><g fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="#000" stroke-width="2"><path d="M12 5v14M5 12h14"/></g></svg>',preferences:'<svg width="24" height="24"><path d="M20.1 13.5l-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5zm-2.4-1l.7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3zm-1 10H7v-4h10v4zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm.5-8H6v2h12V5z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M5 22.1l-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5zM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8zM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7zM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2zm0 2v2h14v-2H5zm10 0h2v2h-2v-2zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2a2 2 0 0 0-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8a2 2 0 0 0 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6zM8 8h2V6H8v2zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6zM14 13h2v-2h-2v2zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6zM8 18h2v-2H8v2z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="M16 6l4 4-8 9-8-9 4-4h8zm-4 10.2l5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7zM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6zm0-3v2h2V5H6zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1zm-5 1.5l-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5zM13 10V8h-2v2h2zm0-3V5h-2v2h2zm3 5l1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="M10.4 10l4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10zM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4L10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11z" fill-rule="nonzero"/></svg>',"table-cell-properties":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm10 10h-4v3h4v-3zm0-8h-4v3h4V7zM9 7H5v3h4V7zm-4 4v3h4v-3H5zm10 0v3h4v-3h-4zm0-1h4V7h-4v3zM5 15v3h4v-3H5zm10 3h4v-3h-4v3z" fill-rule="evenodd"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><path d="M12.5 5.5v6h6v-6h-6zm-1 0h-6v6h6v-6zm1 13h6v-6h-6v6zm-1 0v-6h-6v6h6zm-7-14h15v15h-15v-15z" fill-rule="nonzero"/></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M5.5 5.5v13h13v-13h-13zm-1-1h15v15h-15v-15z" opacity=".2"/><path d="M11.5 11.5v-7h1v7h7v1h-7v7h-1v-7h-7v-1h7z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path d="M9 11.2l1 1v.2l-1 1v-2.2zm5 1l1-1v2.2l-1-1v-.2zM20 5v14H4V5h16zm-1 2h-4v.8l-.2-.2-.8.8V7h-4v1.4l-.8-.8-.2.2V7H5v11h4v-1.8l.5.5.5-.4V18h4v-1.8l.8.8.2-.3V18h4V7zm-3.9 3.4l-1.8 1.9 1.8 1.9c.4.3.4.9 0 1.2-.3.3-.8.3-1.2 0L12 13.5l-1.8 1.9a.8.8 0 0 1-1.2 0 .9.9 0 0 1 0-1.2l1.8-1.9-1.9-2a.9.9 0 0 1 1.2-1.2l2 2 1.8-1.8c.3-.4.9-.4 1.2 0a.8.8 0 0 1 0 1.1z" fill-rule="evenodd"/></svg>',"table-delete-row":'<svg width="24" height="24"><path d="M16.7 8.8l1.1 1.2-2.4 2.5L18 15l-1.2 1.2-2.5-2.5-2.4 2.5-1.3-1.2 2.5-2.5-2.5-2.5 1.2-1.3 2.6 2.6 2.4-2.5zM4 5h16v14H4V5zm15 5V7H5v3h4.8l1 1H5v3h5.8l-1 1H5v3h14v-3h-.4l-1-1H19v-3h-1.3l1-1h.3z" fill-rule="evenodd"/></svg>',"table-delete-table":'<svg width="24" height="26"><path d="M4 6h16v14H4V6zm1 2v11h14V8H5zm11.7 8.7l-1.5 1.5L12 15l-3.3 3.2-1.4-1.5 3.2-3.2-3.3-3.2 1.5-1.5L12 12l3.2-3.2 1.5 1.5-3.2 3.2 3.2 3.2z" fill-rule="evenodd"/></svg>',"table-insert-column-after":'<svg width="24" height="24"><path d="M14.3 9c.4 0 .7.3.7.6v2.2h2.1c.4 0 .7.3.7.7 0 .4-.3.7-.7.7H15v2.2c0 .3-.3.6-.7.6a.7.7 0 0 1-.6-.6v-2.2h-2.2a.7.7 0 0 1 0-1.4h2.2V9.6c0-.3.3-.6.6-.6zM4 5h16v14H4V5zm5 13v-3H5v3h4zm0-4v-3H5v3h4zm0-4V7H5v3h4zm10 8V7h-9v11h9z" fill-rule="evenodd"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path d="M9.7 16a.7.7 0 0 1-.7-.6v-2.2H6.9a.7.7 0 0 1 0-1.4H9V9.6c0-.3.3-.6.7-.6.3 0 .6.3.6.6v2.2h2.2c.4 0 .8.3.8.7 0 .4-.4.7-.8.7h-2.2v2.2c0 .3-.3.6-.6.6zM4 5h16v14H4V5zm10 13V7H5v11h9zm5 0v-3h-4v3h4zm0-4v-3h-4v3h4zm0-4V7h-4v3h4z" fill-rule="evenodd"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path d="M14.8 10.5c0 .3-.2.5-.5.5h-1.8v1.8c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.6V11H9.7a.5.5 0 0 1 0-1h1.8V8.3c0-.3.2-.6.5-.6s.5.3.5.6V10h1.8c.3 0 .5.2.5.5zM4 5h16v14H4V5zm5 13v-3H5v3h4zm5 0v-3h-4v3h4zm5 0v-3h-4v3h4zm0-4V7H5v7h14z" fill-rule="evenodd"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path d="M9.2 14.5c0-.3.2-.5.5-.5h1.8v-1.8c0-.3.2-.5.5-.5s.5.2.5.6V14h1.8c.3 0 .5.2.5.5s-.2.5-.5.5h-1.8v1.7c0 .3-.2.6-.5.6a.5.5 0 0 1-.5-.6V15H9.7a.5.5 0 0 1-.5-.5zM4 5h16v14H4V5zm6 2v3h4V7h-4zM5 7v3h4V7H5zm14 11v-7H5v7h14zm0-8V7h-4v3h4z" fill-rule="evenodd"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M4 5h16v13H4V5zm10 12v-3h-4v3h4zm0-4v-3h-4v3h4zm0-4V6h-4v3h4zm5 8v-3h-4v3h4zm0-4v-3h-4v3h4zm0-4V6h-4v3h4z" fill-rule="evenodd"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm6 13h9v-7h-9v7zm4-11h-4v3h4V7zM9 7H5v3h4V7zm-4 4v3h4v-3H5zm10-1h4V7h-4v3zM5 15v3h4v-3H5z" fill-rule="evenodd"/></svg>',"table-row-properties":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm10 10h-4v3h4v-3zm0-8h-4v3h4V7zM9 7H5v3h4V7zm6 3h4V7h-4v3zM5 15v3h4v-3H5zm10 3h4v-3h-4v3z" fill-rule="evenodd"/></svg>',"table-split-cells":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm6 2v3h4V7h-4zM9 18v-3H5v3h4zm0-4v-3H5v3h4zm0-4V7H5v3h4zm10 8v-7h-9v7h9zm0-8V7h-4v3h4zm-3.5 4.5l1.5 1.6c.3.2.3.7 0 1-.2.2-.7.2-1 0l-1.5-1.6-1.6 1.5c-.2.3-.7.3-1 0a.7.7 0 0 1 0-1l1.6-1.5-1.5-1.6a.7.7 0 0 1 1-1l1.5 1.6 1.6-1.5c.2-.3.7-.3 1 0 .2.2.2.7 0 1l-1.6 1.5z" fill-rule="evenodd"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M4 5h16v13H4V5zm5 12v-3H5v3h4zm0-4v-3H5v3h4zm5 4v-3h-4v3h4zm0-4v-3h-4v3h4zm5 4v-3h-4v3h4zm0-4v-3h-4v3h4z" fill-rule="evenodd"/></svg>',table:'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm6 9h4v-3h-4v3zm4 1h-4v3h4v-3zm0-8h-4v3h4V7zM9 7H5v3h4V7zm-4 4v3h4v-3H5zm10 0v3h4v-3h-4zm0-1h4V7h-4v3zM5 15v3h4v-3H5zm10 3h4v-3h-4v3z" fill-rule="evenodd"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14zM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4zm2.6-7.6l-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4z"/></g></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="M12.7 14.3l-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8zm4.3-3l2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 1 1 2 0zm-2.2 4.4h2.4L16 12.5l-1.2 3.2z" fill-rule="evenodd"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1zM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2zM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1zM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12zM11 6.4L8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7zM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13z" fill-rule="nonzero"/></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2zm-4 0v2a2 2 0 0 1-2-2h2zm8 0v2h-2v-2h2zm8 0a2 2 0 0 1-2 2v-2h2zm-4 0v2h-2v-2h2zM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15zM5 15v2H3v-2h2zm16 0v2h-2v-2h2zM5 11v2H3v-2h2zm16 0v2h-2v-2h2zM5 7v2H3V7h2zm16 0v2h-2V7h2zM5 3v2H3c0-1.1.9-2 2-2zm8 0v2h-2V3h2zm6 0a2 2 0 0 1 2 2h-2V3zM9 3v2H7V3h2zm8 0v2h-2V3h2z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6zM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3zm.7-3l.3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8z" fill-rule="nonzero"/></svg>'}),pf.get(e).icons);Wt(r,(function(e,r){Xt(n,r)||t.ui.registry.addIcon(r,e)}))}(t),function(t){var e=t.settings.theme;if(g(e)){t.settings.theme=Dw(e);var n=gf.get(e);t.theme=new n(t,gf.urls[e]),t.theme.init&&t.theme.init(t,gf.urls[e]||t.documentBaseUrl.replace(/\/$/,""),t.$)}else t.theme={}}(t),function(t){var e=[];cn.each(t.settings.plugins.split(/[ ,]/),(function(n){zw(t,e,Dw(n))}))}(t);var e=function(t){var e=t.getElement();return t.orgDisplay=e.style.display,g(t.settings.theme)?function(t){return t.theme.renderUI()}(t):_(t.settings.theme)?function(t){var e=t.getElement(),n=(0,t.settings.theme)(t,e);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||t.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||t.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:e.offsetHeight,n}(t):Nw(t)}(t);return t.editorContainer=e.editorContainer?e.editorContainer:null,Ow(t),t.inline?Lw(t):Sw(t,e)},Pw=_i.DOM,Rw=function(t){return"-"===t.charAt(0)},Yw=function(t,e){(function(t){return p.from(nl(t)).filter((function(t){return t.length>0})).map((function(t){return{url:t,name:p.none()}}))})(e).orThunk((function(){return function(t){return p.from(el(t)).filter((function(t){return t.length>0&&!pf.has(t)})).map((function(e){return{url:t.editorManager.baseURL+"/icons/"+e+"/icons.js",name:p.some(e)}}))}(e)})).each((function(e){t.add(e.url,r,void 0,(function(){hf.iconsLoadError(e.url,e.name.getOrUndefined())}))}))},Ww=function(t,e){var n=Li.ScriptLoader;!function(t,e,n,r){var o=e.settings,i=o.theme;if(g(i)){if(!Rw(i)&&!gf.urls.hasOwnProperty(i)){var a=o.theme_url;a?gf.load(i,e.documentBaseURI.toAbsolute(a)):gf.load(i,"themes/"+i+"/theme"+n+".js")}t.loadQueue((function(){gf.waitFor(i,r)}))}else r()}(n,t,e,(function(){!function(t,e){var n=hl(e),o=pl(e);if(!1===Si.hasCode(n)&&"en"!==n){var i=""!==o?o:e.editorManager.baseURL+"/langs/"+n+".js";t.add(i,r,void 0,(function(){hf.languageLoadError(i,n)}))}}(n,t),Yw(n,t),function(t,e){b(t.plugins)&&(t.plugins=t.plugins.join(" ")),cn.each(t.external_plugins,(function(e,n){mf.load(n,e,r,void 0,(function(){hf.pluginLoadError(n,e)})),t.plugins+=" "+n})),cn.each(t.plugins.split(/[ ,]/),(function(t){if((t=cn.trim(t))&&!mf.urls[t])if(Rw(t)){t=t.substr(1,t.length);var n=mf.dependencies(t);cn.each(n,(function(t){var n={prefix:"plugins/",resource:t,suffix:"/plugin"+e+".js"};t=mf.createUrl(n,t),mf.load(t.resource,t,r,void 0,(function(){hf.pluginLoadError(t.prefix+t.resource+t.suffix,t.resource)}))}))}else{var o={prefix:"plugins/",resource:t,suffix:"/plugin"+e+".js"};mf.load(t,o,r,void 0,(function(){hf.pluginLoadError(o.prefix+o.resource+o.suffix,t)}))}}))}(t.settings,e),n.loadQueue((function(){t.removed||Bw(t)}),t,(function(){t.removed||Bw(t)}))}))},Hw=function(t){var e=t.settings,r=t.id;Si.setCode(hl(t));var o=function(){Pw.unbind(n.window,"ready",o),t.render()};if(xr.Event.domLoaded){if(t.getElement()&&Qe.contentEditable){e.inline?t.inline=!0:(t.orgVisibility=t.getElement().style.visibility,t.getElement().style.visibility="hidden");var i=t.getElement().form||Pw.getParent(r,"form");i&&(t.formElement=i,e.hidden_input&&!nt.isTextareaOrInput(t.getElement())&&(Pw.insertAfter(Pw.create("input",{type:"hidden",name:r}),r),t.hasHiddenInput=!0),t.formEventDelegate=function(e){t.fire(e.type,e)},Pw.bind(i,"submit reset",t.formEventDelegate),t.on("reset",(function(){t.resetContent()})),!e.submit_patch||i.submit.nodeType||i.submit.length||i._mceOldSubmit||(i._mceOldSubmit=i.submit,i.submit=function(){return t.editorManager.triggerSave(),t.setDirty(!1),i._mceOldSubmit(i)})),t.windowManager=sf(t),t.notificationManager=of(t),"xml"===e.encoding&&t.on("GetContent",(function(t){t.save&&(t.content=Pw.encode(t.content))})),e.add_form_submit_trigger&&t.on("submit",(function(){t.initialized&&t.save()})),e.add_unload_trigger&&(t._beforeUnload=function(){!t.initialized||t.destroyed||t.isHidden()||t.save({format:"raw",no_events:!0,set_dirty:!1})},t.editorManager.on("BeforeUnload",t._beforeUnload)),t.editorManager.add(t),Ww(t,t.suffix)}}else Pw.bind(n.window,"ready",o)},qw=function(t,e,n){Wi(t,e)&&!1===n?function(t,e){Ni(t)?t.dom().classList.remove(e):Pi(t,e);Yi(t)}(t,e):n&&Ri(t,e)},Iw=function(t,e,n){try{t.getDoc().execCommand(e,!1,n)}catch(t){}},jw=function(t,e){t.dom().contentEditable=e?"true":"false"},Xw=function(t,e){var n=Ot.fromDom(t.getBody());qw(n,"mce-content-readonly",e),e?(t.selection.controlSelection.hideResizeRect(),t._selectionOverrides.hideFakeCaret(),function(t){p.from(t.selection.getNode()).each((function(t){t.removeAttribute("data-mce-selected")}))}(t),t.readonly=!0,jw(n,!1),C(qi(n,'*[contenteditable="true"]'),(function(t){Gt(t,"data-mce-contenteditable","true"),jw(t,!1)}))):(t.readonly=!1,jw(n,!0),function(t){C(qi(t,'*[data-mce-contenteditable="true"]'),(function(t){Jt(t,"data-mce-contenteditable"),jw(t,!0)}))}(n),Iw(t,"StyleWithCSS",!1),Iw(t,"enableInlineTableEditing",!1),Iw(t,"enableObjectResizing",!1),pd(t)&&t.focus(),function(t){t.selection.setRng(t.selection.getRng())}(t),t.nodeChanged())},Fw=function(t){return!0===t.readonly},Uw=function(t){t.parser.addAttributeFilter("contenteditable",(function(e){Fw(t)&&C(e,(function(t){t.attr("data-mce-contenteditable",t.attr("contenteditable")),t.attr("contenteditable","false")}))})),t.serializer.addAttributeFilter("data-mce-contenteditable",(function(e){Fw(t)&&C(e,(function(t){t.attr("contenteditable",t.attr("data-mce-contenteditable"))}))})),t.serializer.addTempAttr("data-mce-contenteditable")},Vw=["design","readonly"],Gw=function(t,e,r,o){var i=r[e.get()],a=r[o];try{a.activate()}catch(t){return void n.console.error("problem while activating editor mode "+o+":",t)}i.deactivate(),i.editorReadOnly!==a.editorReadOnly&&Xw(t,a.editorReadOnly),e.set(o),wd(t,o)},$w=function(t){var e=rt("design"),o=rt({design:{activate:r,deactivate:r,editorReadOnly:!1},readonly:{activate:r,deactivate:r,editorReadOnly:!0}});return function(t){t.serializer?Uw(t):t.on("PreInit",(function(){Uw(t)}))}(t),function(t){t.on("ShowCaret",(function(e){Fw(t)&&e.preventDefault()})),t.on("ObjectSelected",(function(e){Fw(t)&&e.preventDefault()}))}(t),{isReadOnly:function(){return Fw(t)},set:function(n){return function(t,e,n,r){if(r!==n.get()){if(!Xt(e,r))throw new Error("Editor mode '"+r+"' is invalid");t.initialized?Gw(t,n,e,r):t.on("init",(function(){return Gw(t,n,e,r)}))}}(t,o.get(),e,n)},get:function(){return e.get()},register:function(t,e){o.set(function(t,e,r){var o;if(k(Vw,e))throw new Error("Cannot override default mode "+e);return j(j({},t),((o={})[e]=j(j({},r),{deactivate:function(){try{r.deactivate()}catch(t){n.console.error("problem while deactivating editor mode "+e+":",t)}}}),o))}(o.get(),t,e))}}},Kw=function(t){return cn.grep(t.childNodes,(function(t){return"LI"===t.nodeName}))},Jw=function(t){return t&&t.firstChild&&t.firstChild===t.lastChild&&function(t){return" "===t.data||nt.isBr(t)}(t.firstChild)},Qw=function(t){return t.length>0&&(!(e=t[t.length-1]).firstChild||Jw(e))?t.slice(0,-1):t;var e},Zw=function(t,e){var n=t.getParent(e,t.isBlock);return n&&"LI"===n.nodeName?n:null},tx=function(t,e){var n=hs.after(t),r=Ec(e).prev(n);return r?r.toRange():null},ex=function(t,e,n){var r=t.parentNode;return cn.each(e,(function(e){r.insertBefore(e,t)})),function(t,e){var n=hs.before(t),r=Ec(e).next(n);return r?r.toRange():null}(t,n)},nx=function(t,e){var n=e.firstChild,r=e.lastChild;return n&&"meta"===n.name&&(n=n.next),r&&"mce_marker"===r.attr("id")&&(r=r.prev),function(t,e){var n=t.getNonEmptyElements();return e&&(e.isEmpty(n)||function(t,e){return t.getBlockElements()[e.name]&&function(t){return t.firstChild&&t.firstChild===t.lastChild}(e)&&function(t){return"br"===t.name||" "===t.value}(e.firstChild)}(t,e))}(t,r)&&(r=r.prev),!(!n||n!==r)&&("ul"===n.name||"ol"===n.name)},rx=function(t,e,n,r){var o=function(t,e,n){var r=e.serialize(n);return function(t){var e=t.firstChild,n=t.lastChild;return e&&"META"===e.nodeName&&e.parentNode.removeChild(e),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),t}(t.createFragment(r))}(e,t,r),i=Zw(e,n.startContainer),a=Qw(Kw(o.firstChild)),s=e.getRoot(),c=function(t){var r=hs.fromRangeStart(n),o=Ec(e.getRoot()),a=1===t?o.prev(r):o.next(r);return!a||Zw(e,a.getNode())!==i};return c(1)?ex(i,a,s):c(2)?function(t,e,n,r){return r.insertAfter(e.reverse(),t),tx(e[0],n)}(i,a,s,e):function(t,e,n,r){var o=function(t,e){var n=e.cloneRange(),r=e.cloneRange();return n.setStartBefore(t),r.setEndAfter(t),[n.cloneContents(),r.cloneContents()]}(t,r),i=t.parentNode;return i.insertBefore(o[0],t),cn.each(e,(function(e){i.insertBefore(e,t)})),i.insertBefore(o[1],t),i.removeChild(t),tx(e[e.length-1],n)}(i,a,s,n)},ox=function(t,e){return!!Zw(t,e)},ix=nt.matchNodeNames(["td","th"]),ax=function(t,e){var n=t.selection.getRng(),r=n.startContainer,o=n.startOffset;n.collapsed&&function(t,e){return nt.isText(t)&&" "===t.nodeValue[e-1]}(r,o)&&nt.isText(r)&&(r.insertData(o-1," "),r.deleteData(o,1),n.setStart(r,o),n.setEnd(r,o),t.selection.setRng(n)),t.selection.setContent(e)},sx=function(t,e,n){var r,o,i,a,s,c,u,l,d,f,h,m=t.selection,g=t.dom;if(/^ | $/.test(e)&&(e=function(t,e){var n,r;n=t.startContainer,r=t.startOffset;var o=function(t){return n[t]&&3===n[t].nodeType};return 3===n.nodeType&&(r>0?e=e.replace(/^ /," "):o("previousSibling")||(e=e.replace(/^ /," ")),r<n.length?e=e.replace(/ (<br>|)$/," "):o("nextSibling")||(e=e.replace(/( | )(<br>|)$/," "))),e}(m.getRng(),e)),r=t.parser,h=n.merge,o=xl({validate:t.settings.validate},t.schema),f='<span id="mce_marker" data-mce-type="bookmark">​</span>',c={content:e,format:"html",selection:!0,paste:n.paste},(c=t.fire("BeforeSetContent",c)).isDefaultPrevented())t.fire("SetContent",{content:c.content,format:"html",selection:!0,paste:n.paste});else{-1===(e=c.content).indexOf("{$caret}")&&(e+="{$caret}"),e=e.replace(/\{\$caret\}/,f);var v=(l=m.getRng()).startContainer||(l.parentElement?l.parentElement():null),b=t.getBody();v===b&&m.isCollapsed()&&g.isBlock(b.firstChild)&&function(t,e){return e&&!t.schema.getShortEndedElements()[e.nodeName]}(t,b.firstChild)&&g.isEmpty(b.firstChild)&&((l=g.createRng()).setStart(b.firstChild,0),l.setEnd(b.firstChild,0),m.setRng(l)),m.isCollapsed()||(t.selection.setRng(Dm(t.selection.getRng())),t.getDoc().execCommand("Delete",!1,null),e=function(t,e){var n,r;return n=t.startContainer,r=t.startOffset,3===n.nodeType&&t.collapsed&&(" "===n.data[r]?(n.deleteData(r,1),/[\u00a0| ]$/.test(e)||(e+=" ")):" "===n.data[r-1]&&(n.deleteData(r-1,1),/[\u00a0| ]$/.test(e)||(e=" "+e))),e}(t.selection.getRng(),e));var y,M={context:(i=m.getNode()).nodeName.toLowerCase(),data:n.data,insert:!0};if(s=r.parse(e,M),!0===n.paste&&nx(t.schema,s)&&ox(g,i))return l=rx(o,g,t.selection.getRng(),s),t.selection.setRng(l),void t.fire("SetContent",c);if(function(t){for(var e=t;e=e.walk();)1===e.type&&e.attr("data-mce-fragment","1")}(s),"mce_marker"===(d=s.lastChild).attr("id"))for(u=d,d=d.prev;d;d=d.walk(!0))if(3===d.type||!g.isBlock(d.name)){t.schema.isValidChild(d.parent.name,"span")&&d.parent.insert(u,d,"br"===d.name);break}if(t._selectionOverrides.showBlockCaretContainer(i),M.invalid){for(ax(t,f),i=m.getNode(),a=t.getBody(),9===i.nodeType?i=d=a:d=i;d!==a;)i=d,d=d.parentNode;e=i===a?a.innerHTML:g.getOuterHTML(i),e=o.serialize(r.parse(e.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,(function(){return o.serialize(s)})))),i===a?g.setHTML(a,e):g.setOuterHTML(i,e)}else!function(t,e,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(t.dom.createFragment(e),n);else{var r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?t.dom.setHTML(n,e):ax(t,e)}}(t,e=o.serialize(s),i);!function(t,e){var n=t.schema.getTextInlineElements(),r=t.dom;if(e){var o=t.getBody(),i=new om(r);cn.each(r.select("*[data-mce-fragment]"),(function(t){for(var e=t.parentNode;e&&e!==o;e=e.parentNode)n[t.nodeName.toLowerCase()]&&i.compare(e,t)&&r.remove(t,!0)}))}}(t,h),function(t,e){var n,r,o,i,a,s=t.dom,c=t.selection;if(e){if(t.selection.scrollIntoView(e),n=function(e){for(var n=t.getBody();e&&e!==n;e=e.parentNode)if("false"===t.dom.getContentEditable(e))return e;return null}(e))return s.remove(e),void c.select(n);var u=s.createRng();(i=e.previousSibling)&&3===i.nodeType?(u.setStart(i,i.nodeValue.length),Qe.ie||(a=e.nextSibling)&&3===a.nodeType&&(i.appendData(a.data),a.parentNode.removeChild(a))):(u.setStartBefore(e),u.setEndBefore(e));r=s.getParent(e,s.isBlock),s.remove(e),r&&s.isEmpty(r)&&(t.$(r).empty(),u.setStart(r,0),u.setEnd(r,0),ix(r)||function(t){return!!t.getAttribute("data-mce-fragment")}(r)||!(o=function(e){var n=hs.fromRangeStart(e);if(n=Ec(t.getBody()).next(n))return n.toRange()}(u))?s.add(r,s.create("br",{"data-mce-bogus":"1"})):(u=o,s.remove(r))),c.setRng(u)}}(t,g.get("mce_marker")),y=t.getBody(),cn.each(y.getElementsByTagName("*"),(function(t){t.removeAttribute("data-mce-fragment")})),function(t,e){p.from(t.getParent(e,"td,th")).map(Ot.fromDom).each(hp)}(t.dom,t.selection.getStart()),t.fire("SetContent",c),t.addVisual()}},cx=function(t,e){var n=function(t){var e;return"string"!=typeof t?(e=cn.extend({paste:t.paste,data:{paste:t.paste}},t),{content:t.content,details:e}):{content:t,details:{}}}(e);sx(t,n.content,n.details)},ux=function(t,e){t.getDoc().execCommand(e,!1,null)},lx=function(t){ZM(t,!1)||eM(t,!1)||oM(t,!1)||cM(t,!1)||Py(t,!1)||RM(t)||Hy(t,!1)||fM(t,!1)||(ux(t,"Delete"),_y(t))},dx=function(t){eM(t,!0)||oM(t,!0)||cM(t,!0)||Py(t,!0)||RM(t)||Hy(t,!0)||fM(t,!0)||ux(t,"ForwardDelete")},fx=function(t){return function(e,n){return p.from(n).map(Ot.fromDom).filter(Bt).bind((function(n){return function(t,e,n){var r=function(e){return te(e,t)};return Xi(Ot.fromDom(n),(function(t){return r(t).isSome()}),(function(t){return ue(Ot.fromDom(e),t)})).bind(r)}(t,e,n.dom()).or(function(t,e){return p.from(_i.DOM.getStyle(e,t,!0))}(t,n.dom()))})).getOr("")}},hx={getFontSize:fx("font-size"),getFontFamily:o((function(t){return t.replace(/[\'\"\\]/g,"").replace(/,\s+/g,",")}),fx("font-family")),toPt:function(t,e){return/[0-9.]+px$/.test(t)?function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}(72*parseInt(t,10)/96,e||0)+"pt":t}},px=function(t){return Xc.firstPositionIn(t.getBody()).map((function(t){var e=t.container();return nt.isText(e)?e.parentNode:e}))},mx=function(t){return p.from(t.selection.getRng()).bind((function(e){return function(t,e){return t.startContainer===e&&0===t.startOffset}(e,t.getBody())?p.none():p.from(t.selection.getStart(!0))}))},gx=function(t,e){if(/^[0-9\.]+$/.test(e)){var n=parseInt(e,10);if(n>=1&&n<=7){var r=Zu(t),o=tl(t);return o?o[n-1]||e:r[n-1]||e}return e}return e},vx=function(t){var e=t.split(/\s*,\s*/);return O(e,(function(t){return-1===t.indexOf(" ")||vt(t,'"')||vt(t,"'")?t:"'"+t+"'"})).join(",")},bx=cn.each,yx=cn.map,Mx=cn.inArray,_x=function(){function t(t){this.commands={state:{},exec:{},value:{}},this.editor=t,this.setupCommands(t)}return t.prototype.execCommand=function(t,e,n,r){var o,i,a=!1,s=this;if(!s.editor.removed){if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(t)||r&&r.skip_focus?Vl(s.editor):s.editor.focus(),(r=s.editor.fire("BeforeExecCommand",{command:t,ui:e,value:n})).isDefaultPrevented())return!1;if(i=t.toLowerCase(),o=s.commands.exec[i])return o(i,e,n),s.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0;if(bx(this.editor.plugins,(function(r){if(r.execCommand&&r.execCommand(t,e,n))return s.editor.fire("ExecCommand",{command:t,ui:e,value:n}),a=!0,!1})),a)return a;if(s.editor.theme&&s.editor.theme.execCommand&&s.editor.theme.execCommand(t,e,n))return s.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0;try{a=s.editor.getDoc().execCommand(t,e,n)}catch(t){}return!!a&&(s.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0)}},t.prototype.queryCommandState=function(t){var e;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(t=t.toLowerCase(),e=this.commands.state[t])return e(t);try{return this.editor.getDoc().queryCommandState(t)}catch(t){}return!1}},t.prototype.queryCommandValue=function(t){var e;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(t=t.toLowerCase(),e=this.commands.value[t])return e(t);try{return this.editor.getDoc().queryCommandValue(t)}catch(t){}}},t.prototype.addCommands=function(t,e){var n=this;e=e||"exec",bx(t,(function(t,r){bx(r.toLowerCase().split(","),(function(r){n.commands[e][r]=t}))}))},t.prototype.addCommand=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.exec[t]=function(t,o,i,a){return e.call(n||r.editor,o,i,a)}},t.prototype.queryCommandSupported=function(t){if(t=t.toLowerCase(),this.commands.exec[t])return!0;try{return this.editor.getDoc().queryCommandSupported(t)}catch(t){}return!1},t.prototype.addQueryStateHandler=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.state[t]=function(){return e.call(n||r.editor)}},t.prototype.addQueryValueHandler=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.value[t]=function(){return e.call(n||r.editor)}},t.prototype.hasCustomCommand=function(t){return t=t.toLowerCase(),!!this.commands.exec[t]},t.prototype.execNativeCommand=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=null),this.editor.getDoc().execCommand(t,e,n)},t.prototype.isFormatMatch=function(t){return this.editor.formatter.match(t)},t.prototype.toggleFormat=function(t,e){this.editor.formatter.toggle(t,e?{value:e}:void 0),this.editor.nodeChanged()},t.prototype.storeSelection=function(t){this.selectionBookmark=this.editor.selection.getBookmark(t)},t.prototype.restoreSelection=function(){this.editor.selection.moveToBookmark(this.selectionBookmark)},t.prototype.setupCommands=function(t){var e=this;this.addCommands({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){t.undoManager.add()},"Cut,Copy,Paste":function(n){var r,o=t.getDoc();try{e.execNativeCommand(n)}catch(t){r=!0}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=t.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");Qe.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),t.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(t.selection.isCollapsed()){var e=t.dom.getParent(t.selection.getStart(),"a");e&&t.dom.remove(e,!0)}else t.formatter.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(n){var r=n.substring(7);"full"===r&&(r="justify"),bx("left,center,right,justify".split(","),(function(e){r!==e&&t.formatter.remove("align"+e)})),"none"!==r&&e.toggleFormat("align"+r)},"InsertUnorderedList,InsertOrderedList":function(n){var r,o;e.execNativeCommand(n),(r=t.dom.getParent(t.selection.getNode(),"ol,ul"))&&(o=r.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(o.nodeName)&&(e.storeSelection(),t.dom.split(o,r),e.restoreSelection()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(t){e.toggleFormat(t)},"ForeColor,HiliteColor":function(t,n,r){e.toggleFormat(t,r)},FontName:function(e,n,r){!function(t,e){var n=gx(t,e);t.formatter.toggle("fontname",{value:vx(n)}),t.nodeChanged()}(t,r)},FontSize:function(e,n,r){!function(t,e){t.formatter.toggle("fontsize",{value:gx(t,e)}),t.nodeChanged()}(t,r)},RemoveFormat:function(e){t.formatter.remove(e)},mceBlockQuote:function(){e.toggleFormat("blockquote")},FormatBlock:function(t,n,r){return e.toggleFormat(r||"p")},mceCleanup:function(){var e=t.selection.getBookmark();t.setContent(t.getContent()),t.selection.moveToBookmark(e)},mceRemoveNode:function(n,r,o){var i=o||t.selection.getNode();i!==t.getBody()&&(e.storeSelection(),t.dom.remove(i,!0),e.restoreSelection())},mceSelectNodeDepth:function(e,n,r){var o=0;t.dom.getParent(t.selection.getNode(),(function(e){if(1===e.nodeType&&o++===r)return t.selection.select(e),!1}),t.getBody())},mceSelectNode:function(e,n,r){t.selection.select(r)},mceInsertContent:function(e,n,r){cx(t,r)},mceInsertRawHTML:function(e,n,r){t.selection.setContent("tiny_mce_marker");var o=t.getContent();t.setContent(o.replace(/tiny_mce_marker/g,(function(){return r})))},mceInsertNewLine:function(e,n,r){F_(t,r)},mceToggleFormat:function(t,n,r){e.toggleFormat(r)},mceSetContent:function(e,n,r){t.setContent(r)},"Indent,Outdent":function(e){XM(t,e)},mceRepaint:function(){},InsertHorizontalRule:function(){t.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){t.hasVisual=!t.hasVisual,t.addVisual()},mceReplaceContent:function(e,n,r){t.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,t.selection.getContent({format:"text"})))},mceInsertLink:function(e,n,r){var o;"string"==typeof r&&(r={href:r}),o=t.dom.getParent(t.selection.getNode(),"a"),r.href=r.href.replace(/ /g,"%20"),o&&r.href||t.formatter.remove("link"),r.href&&t.formatter.apply("link",r,o)},selectAll:function(){var e=t.dom.getParent(t.selection.getStart(),nt.isContentEditableTrue);if(e){var n=t.dom.createRng();n.selectNodeContents(e),t.selection.setRng(n)}},delete:function(){lx(t)},forwardDelete:function(){dx(t)},mceNewDocument:function(){t.setContent("")},InsertLineBreak:function(e,n,r){return O_(t,r),!0}});var n=function(e){return function(){var n=t.selection.isCollapsed()?[t.dom.getParent(t.selection.getNode(),t.dom.isBlock)]:t.selection.getSelectedBlocks(),r=yx(n,(function(n){return!!t.formatter.matchNode(n,e)}));return-1!==Mx(r,!0)}};e.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(t){return e.isFormatMatch(t)},mceBlockQuote:function(){return e.isFormatMatch("blockquote")},Outdent:function(){return qM(t)},"InsertUnorderedList,InsertOrderedList":function(e){var n=t.dom.getParent(t.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===e&&"UL"===n.tagName||"insertorderedlist"===e&&"OL"===n.tagName)}},"state"),e.addCommands({Undo:function(){t.undoManager.undo()},Redo:function(){t.undoManager.redo()}}),e.addQueryValueHandler("FontName",(function(){return function(t){return mx(t).fold((function(){return px(t).map((function(e){return hx.getFontFamily(t.getBody(),e)})).getOr("")}),(function(e){return hx.getFontFamily(t.getBody(),e)}))}(t)}),this),e.addQueryValueHandler("FontSize",(function(){return function(t){return mx(t).fold((function(){return px(t).map((function(e){return hx.getFontSize(t.getBody(),e)})).getOr("")}),(function(e){return hx.getFontSize(t.getBody(),e)}))}(t)}),this)},t}(),wx=cn.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),xx=function(){function t(t){this.bindings={},this.settings=t||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||u}return t.isNative=function(t){return!!wx[t.toLowerCase()]},t.prototype.fire=function(t,e){var n,r,o,i;if(t=t.toLowerCase(),(e=e||{}).type=t,e.target||(e.target=this.scope),e.preventDefault||(e.preventDefault=function(){e.isDefaultPrevented=l},e.stopPropagation=function(){e.isPropagationStopped=l},e.stopImmediatePropagation=function(){e.isImmediatePropagationStopped=l},e.isDefaultPrevented=u,e.isPropagationStopped=u,e.isImmediatePropagationStopped=u),this.settings.beforeFire&&this.settings.beforeFire(e),n=this.bindings[t])for(r=0,o=n.length;r<o;r++){if((i=n[r]).once&&this.off(t,i.func),e.isImmediatePropagationStopped())return e.stopPropagation(),e;if(!1===i.func.call(this.scope,e))return e.preventDefault(),e}return e},t.prototype.on=function(t,e,n,r){var o,i,a;if(!1===e&&(e=u),e){var s={func:e};for(r&&cn.extend(s,r),a=(i=t.toLowerCase().split(" ")).length;a--;)t=i[a],(o=this.bindings[t])||(o=this.bindings[t]=[],this.toggleEvent(t,!0)),n?o.unshift(s):o.push(s)}return this},t.prototype.off=function(t,e){var n,r,o,i,a;if(t)for(n=(i=t.toLowerCase().split(" ")).length;n--;){if(t=i[n],r=this.bindings[t],!t){for(o in this.bindings)this.toggleEvent(o,!1),delete this.bindings[o];return this}if(r){if(e)for(a=r.length;a--;)r[a].func===e&&(r=r.slice(0,a).concat(r.slice(a+1)),this.bindings[t]=r);else r.length=0;r.length||(this.toggleEvent(t,!1),delete this.bindings[t])}}else{for(t in this.bindings)this.toggleEvent(t,!1);this.bindings={}}return this},t.prototype.once=function(t,e,n){return this.on(t,e,n,{once:!0})},t.prototype.has=function(t){return t=t.toLowerCase(),!(!this.bindings[t]||0===this.bindings[t].length)},t}(),Ax=function(t){return t._eventDispatcher||(t._eventDispatcher=new xx({scope:t,toggleEvent:function(e,n){xx.isNative(e)&&t.toggleNativeEvent&&t.toggleNativeEvent(e,n)}})),t._eventDispatcher},Lx={fire:function(t,e,n){if(this.removed&&"remove"!==t&&"detach"!==t)return e;var r=Ax(this).fire(t,e);if(!1!==n&&this.parent)for(var o=this.parent();o&&!r.isPropagationStopped();)o.fire(t,r,!1),o=o.parent();return r},on:function(t,e,n){return Ax(this).on(t,e,n)},off:function(t,e){return Ax(this).off(t,e)},once:function(t,e){return Ax(this).once(t,e)},hasEventListeners:function(t){return Ax(this).has(t)}},Tx=_i.DOM,kx=function(t,e){return"selectionchange"===e?t.getDoc():!t.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(e)?t.getDoc().documentElement:t.settings.event_root?(t.eventRoot||(t.eventRoot=Tx.select(t.settings.event_root)[0]),t.eventRoot):t.getBody()},Sx=function(t,e,n){!function(t){return!t.hidden&&!Fw(t)}(t)?Fw(t)&&function(t){var e=t.target;(function(t){return"click"===t.type})(t)&&"A"===e.tagName&&!Uf.metaKeyPressed(t)&&t.preventDefault()}(n):t.fire(e,n)},Ox=function(t,e){var n,r;if(t.delegates||(t.delegates={}),!t.delegates[e]&&!t.removed)if(n=kx(t,e),t.settings.event_root){if(kb||(kb={},t.editorManager.on("removeEditor",(function(){var e;if(!t.editorManager.activeEditor&&kb){for(e in kb)t.dom.unbind(kx(t,e));kb=null}}))),kb[e])return;r=function(n){for(var r=n.target,o=t.editorManager.get(),i=o.length;i--;){var a=o[i].getBody();(a===r||Tx.isChildOf(r,a))&&Sx(o[i],e,n)}},kb[e]=r,Tx.bind(n,e,r)}else r=function(n){Sx(t,e,n)},Tx.bind(n,e,r),t.delegates[e]=r},Cx=j(j({},Lx),{bindPendingEventDelegates:function(){var t=this;cn.each(t._pendingNativeEvents,(function(e){Ox(t,e)}))},toggleNativeEvent:function(t,e){"focus"!==t&&"blur"!==t&&(e?this.initialized?Ox(this,t):this._pendingNativeEvents?this._pendingNativeEvents.push(t):this._pendingNativeEvents=[t]:this.initialized&&(this.dom.unbind(kx(this,t),t,this.delegates[t]),delete this.delegates[t]))},unbindAllNativeEvents:function(){var t,e=this.getBody(),n=this.dom;if(this.delegates){for(t in this.delegates)this.dom.unbind(kx(this,t),t,this.delegates[t]);delete this.delegates}!this.inline&&e&&n&&(e.onload=null,n.unbind(this.getWin()),n.unbind(this.getDoc())),n&&(n.unbind(e),n.unbind(this.getContainer()))}}),zx=cn.each,Dx=cn.explode,Ex={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},Nx=cn.makeMap("alt,ctrl,shift,meta,access"),Bx=function(){function t(t){this.shortcuts={},this.pendingPatterns=[],this.editor=t;var e=this;t.on("keyup keypress keydown",(function(t){!e.hasModifier(t)&&!e.isFunctionKey(t)||t.isDefaultPrevented()||(zx(e.shortcuts,(function(n){if(e.matchShortcut(t,n))return e.pendingPatterns=n.subpatterns.slice(0),"keydown"===t.type&&e.executeShortcutAction(n),!0})),e.matchShortcut(t,e.pendingPatterns[0])&&(1===e.pendingPatterns.length&&"keydown"===t.type&&e.executeShortcutAction(e.pendingPatterns[0]),e.pendingPatterns.shift()))}))}return t.prototype.add=function(t,e,n,r){var o,i=this;return o=n,"string"==typeof n?n=function(){i.editor.execCommand(o,!1,null)}:cn.isArray(o)&&(n=function(){i.editor.execCommand(o[0],o[1],o[2])}),zx(Dx(cn.trim(t)),(function(t){var o=i.createShortcut(t,e,n,r);i.shortcuts[o.id]=o})),!0},t.prototype.remove=function(t){var e=this.createShortcut(t);return!!this.shortcuts[e.id]&&(delete this.shortcuts[e.id],!0)},t.prototype.parseShortcut=function(t){var e,n,r={};for(n in zx(Dx(t.toLowerCase(),"+"),(function(t){t in Nx?r[t]=!0:/^[0-9]{2,}$/.test(t)?r.keyCode=parseInt(t,10):(r.charCode=t.charCodeAt(0),r.keyCode=Ex[t]||t.toUpperCase().charCodeAt(0))})),e=[r.keyCode],Nx)r[n]?e.push(n):r[n]=!1;return r.id=e.join(","),r.access&&(r.alt=!0,Qe.mac?r.ctrl=!0:r.shift=!0),r.meta&&(Qe.mac?r.meta=!0:(r.ctrl=!0,r.meta=!1)),r},t.prototype.createShortcut=function(t,e,n,r){var o;return(o=cn.map(Dx(t,">"),this.parseShortcut))[o.length-1]=cn.extend(o[o.length-1],{func:n,scope:r||this.editor}),cn.extend(o[0],{desc:this.editor.translate(e),subpatterns:o.slice(1)})},t.prototype.hasModifier=function(t){return t.altKey||t.ctrlKey||t.metaKey},t.prototype.isFunctionKey=function(t){return"keydown"===t.type&&t.keyCode>=112&&t.keyCode<=123},t.prototype.matchShortcut=function(t,e){return!!e&&(e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&(e.alt===t.altKey&&e.shift===t.shiftKey&&(!!(t.keyCode===e.keyCode||t.charCode&&t.charCode===e.charCode)&&(t.preventDefault(),!0))))},t.prototype.executeShortcutAction=function(t){return t.func?t.func.call(t.scope):null},t}(),Px=cn.each,Rx=cn.trim,Yx="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),Wx={ftp:21,http:80,https:443,mailto:25},Hx=function(){function t(e,r){e=Rx(e),this.settings=r||{};var o=this.settings.base_uri,i=this;if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))i.source=e;else{var a=0===e.indexOf("//");if(0!==e.indexOf("/")||a||(e=(o&&o.protocol||"http")+"://mce_host"+e),!/^[\w\-]*:?\/\//.test(e)){var s=this.settings.base_uri?this.settings.base_uri.path:new t(n.document.location.href).directory;if(this.settings.base_uri&&""==this.settings.base_uri.protocol)e="//mce_host"+i.toAbsPath(s,e);else{var c=/([^#?]*)([#?]?.*)/.exec(e);e=(o&&o.protocol||"http")+"://mce_host"+i.toAbsPath(s,c[1])+c[2]}}e=e.replace(/@@/g,"(mce_at)");var u=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);Px(Yx,(function(t,e){var n=u[e];n&&(n=n.replace(/\(mce_at\)/g,"@@")),i[t]=n})),o&&(i.protocol||(i.protocol=o.protocol),i.userInfo||(i.userInfo=o.userInfo),i.port||"mce_host"!==i.host||(i.port=o.port),i.host&&"mce_host"!==i.host||(i.host=o.host),i.source=""),a&&(i.protocol="")}}return t.parseDataUri=function(t){var e,n=decodeURIComponent(t).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(e=r[1]),{type:e,data:n[1]}},t.getDocumentBaseUrl=function(t){var e;return e=0!==t.protocol.indexOf("http")&&"file:"!==t.protocol?t.href:t.protocol+"//"+t.host+t.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(e)&&(e=e.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(e)||(e+="/")),e},t.prototype.setPath=function(t){var e=/^(.*?)\/?(\w+)?$/.exec(t);this.path=e[0],this.directory=e[1],this.file=e[2],this.source="",this.getURI()},t.prototype.toRelative=function(e){var n;if("./"===e)return e;var r=new t(e,{base_uri:this});if("mce_host"!==r.host&&this.host!==r.host&&r.host||this.port!==r.port||this.protocol!==r.protocol&&""!==r.protocol)return r.getURI();var o=this.getURI(),i=r.getURI();return o===i||"/"===o.charAt(o.length-1)&&o.substr(0,o.length-1)===i?o:(n=this.toRelPath(this.path,r.path),r.query&&(n+="?"+r.query),r.anchor&&(n+="#"+r.anchor),n)},t.prototype.toAbsolute=function(e,n){var r=new t(e,{base_uri:this});return r.getURI(n&&this.isSameOrigin(r))},t.prototype.isSameOrigin=function(t){if(this.host==t.host&&this.protocol==t.protocol){if(this.port==t.port)return!0;var e=Wx[this.protocol];if(e&&(this.port||e)==(t.port||e))return!0}return!1},t.prototype.toRelPath=function(t,e){var n,r,o,i=0,a="",s=t.substring(0,t.lastIndexOf("/")).split("/");if(n=e.split("/"),s.length>=n.length)for(r=0,o=s.length;r<o;r++)if(r>=n.length||s[r]!==n[r]){i=r+1;break}if(s.length<n.length)for(r=0,o=n.length;r<o;r++)if(r>=s.length||s[r]!==n[r]){i=r+1;break}if(1===i)return e;for(r=0,o=s.length-(i-1);r<o;r++)a+="../";for(r=i-1,o=n.length;r<o;r++)a+=r!==i-1?"/"+n[r]:n[r];return a},t.prototype.toAbsPath=function(t,e){var n,r,o,i=0,a=[];r=/\/$/.test(e)?"/":"";var s=t.split("/"),c=e.split("/");for(Px(s,(function(t){t&&a.push(t)})),s=a,n=c.length-1,a=[];n>=0;n--)0!==c[n].length&&"."!==c[n]&&(".."!==c[n]?i>0?i--:a.push(c[n]):i++);return 0!==(o=(n=s.length-i)<=0?a.reverse().join("/"):s.slice(0,n).join("/")+"/"+a.reverse().join("/")).indexOf("/")&&(o="/"+o),r&&o.lastIndexOf("/")!==o.length-1&&(o+=r),o},t.prototype.getURI=function(t){var e;return void 0===t&&(t=!1),this.source&&!t||(e="",t||(this.protocol?e+=this.protocol+"://":e+="//",this.userInfo&&(e+=this.userInfo+"@"),this.host&&(e+=this.host),this.port&&(e+=":"+this.port)),this.path&&(e+=this.path),this.query&&(e+="?"+this.query),this.anchor&&(e+="#"+this.anchor),this.source=e),this.source},t}(),qx=function(){var t=function(){var t={},e={},n={},r={},o={},i={},a={},s=function(t,e){return function(n,r){return t[n.toLowerCase()]=j(j({},r),{type:e})}};return{addButton:s(t,"button"),addToggleButton:s(t,"togglebutton"),addMenuButton:s(t,"menubutton"),addSplitButton:s(t,"splitbutton"),addMenuItem:s(e,"menuitem"),addNestedMenuItem:s(e,"nestedmenuitem"),addToggleMenuItem:s(e,"togglemenuitem"),addAutocompleter:s(n,"autocompleter"),addContextMenu:s(o,"contextmenu"),addContextToolbar:s(i,"contexttoolbar"),addContextForm:s(i,"contextform"),addSidebar:s(a,"sidebar"),addIcon:function(t,e){return r[t.toLowerCase()]=e},getAll:function(){return{buttons:t,menuItems:e,icons:r,popups:n,contextMenus:o,contextToolbars:i,sidebars:a}}}}();return{addAutocompleter:t.addAutocompleter,addButton:t.addButton,addContextForm:t.addContextForm,addContextMenu:t.addContextMenu,addContextToolbar:t.addContextToolbar,addIcon:t.addIcon,addMenuButton:t.addMenuButton,addMenuItem:t.addMenuItem,addNestedMenuItem:t.addNestedMenuItem,addSidebar:t.addSidebar,addSplitButton:t.addSplitButton,addToggleButton:t.addToggleButton,addToggleMenuItem:t.addToggleMenuItem,getAll:t.getAll}},Ix=_i.DOM,jx=cn.extend,Xx=cn.each,Fx=cn.resolve,Ux=Qe.ie,Vx=function(){function t(t,e,n){var r=this;this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,jx(this,Cx),this.settings=Vd(this,t,this.documentBaseUrl,n.defaultSettings,e),this.settings.suffix&&(n.suffix=this.settings.suffix),this.suffix=n.suffix,this.settings.base_url&&n._setBaseUrl(this.settings.base_url),this.baseUri=n.baseURI,this.settings.referrer_policy&&(Li.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy),_i.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)),zi.languageLoad=this.settings.language_load,zi.baseURL=n.baseURL,this.id=t,this.setDirty(!1),this.documentBaseURI=new Hx(this.settings.document_base_url,{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=!!this.settings.inline,this.shortcuts=new Bx(this),this.editorCommands=new _x(this),this.settings.cache_suffix&&(Qe.cacheSuffix=this.settings.cache_suffix.replace(/^[\?\&]+/,"")),this.ui={registry:qx()};var o=$w(this);this.mode=o,this.setMode=o.set,n.fire("SetupEditor",{editor:this}),this.execCallback("setup",this),this.$=Vo.overrideDefaults((function(){return{context:r.inline?r.getBody():r.getDoc(),element:r.getBody()}}))}return t.prototype.render=function(){Hw(this)},t.prototype.focus=function(t){fd(this,t)},t.prototype.hasFocus=function(){return hd(this)},t.prototype.execCallback=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o=this,i=o.settings[t];if(i)return o.callbackLookup&&(r=o.callbackLookup[t])&&(i=r.func,r=r.scope),"string"==typeof i&&(r=(r=i.replace(/\.\w+$/,""))?Fx(r):0,i=Fx(i),o.callbackLookup=o.callbackLookup||{},o.callbackLookup[t]={func:i,scope:r}),i.apply(r||o,Array.prototype.slice.call(arguments,1))},t.prototype.translate=function(t){return Si.translate(t)},t.prototype.getParam=function(t,e,n){return $d(this,t,e,n)},t.prototype.nodeChanged=function(t){this._nodeChangeDispatcher.nodeChanged(t)},t.prototype.addCommand=function(t,e,n){this.editorCommands.addCommand(t,e,n)},t.prototype.addQueryStateHandler=function(t,e,n){this.editorCommands.addQueryStateHandler(t,e,n)},t.prototype.addQueryValueHandler=function(t,e,n){this.editorCommands.addQueryValueHandler(t,e,n)},t.prototype.addShortcut=function(t,e,n,r){this.shortcuts.add(t,e,n,r)},t.prototype.execCommand=function(t,e,n,r){return this.editorCommands.execCommand(t,e,n,r)},t.prototype.queryCommandState=function(t){return this.editorCommands.queryCommandState(t)},t.prototype.queryCommandValue=function(t){return this.editorCommands.queryCommandValue(t)},t.prototype.queryCommandSupported=function(t){return this.editorCommands.queryCommandSupported(t)},t.prototype.show=function(){this.hidden&&(this.hidden=!1,this.inline?this.getBody().contentEditable="true":(Ix.show(this.getContainer()),Ix.hide(this.id)),this.load(),this.fire("show"))},t.prototype.hide=function(){var t=this.getDoc();this.hidden||(Ux&&t&&!this.inline&&t.execCommand("SelectAll"),this.save(),this.inline?(this.getBody().contentEditable="false",this===this.editorManager.focusedEditor&&(this.editorManager.focusedEditor=null)):(Ix.hide(this.getContainer()),Ix.setStyle(this.id,"display",this.orgDisplay)),this.hidden=!0,this.fire("hide"))},t.prototype.isHidden=function(){return!!this.hidden},t.prototype.setProgressState=function(t,e){this.fire("ProgressState",{state:t,time:e})},t.prototype.load=function(t){var e,n=this.getElement();if(this.removed)return"";if(n){(t=t||{}).load=!0;var r=nt.isTextareaOrInput(n)?n.value:n.innerHTML;return e=this.setContent(r,t),t.element=n,t.no_events||this.fire("LoadContent",t),t.element=n=null,e}},t.prototype.save=function(t){var e,n,r=this,o=r.getElement();if(o&&r.initialized&&!r.removed)return(t=t||{}).save=!0,t.element=o,t.content=r.getContent(t),t.no_events||r.fire("SaveContent",t),"raw"===t.format&&r.fire("RawSaveContent",t),e=t.content,nt.isTextareaOrInput(o)?o.value=e:(!t.is_removing&&r.inline||(o.innerHTML=e),(n=Ix.getParent(r.id,"form"))&&Xx(n.elements,(function(t){if(t.name===r.id)return t.value=e,!1}))),t.element=o=null,!1!==t.set_dirty&&r.setDirty(!1),e},t.prototype.setContent=function(t,e){return vd(this,t,e)},t.prototype.getContent=function(t){return function(t,e){return void 0===e&&(e={}),p.from(t.getBody()).fold(i("tree"===e.format?new Ou("body",11):""),(function(n){return Ml(t,e,n)}))}(this,t)},t.prototype.insertContent=function(t,e){e&&(t=jx({content:t},e)),this.execCommand("mceInsertContent",!1,t)},t.prototype.resetContent=function(t){void 0===t?vd(this,this.startContent,{format:"raw"}):vd(this,t),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()},t.prototype.isDirty=function(){return!this.isNotDirty},t.prototype.setDirty=function(t){var e=!this.isNotDirty;this.isNotDirty=!t,t&&t!==e&&this.fire("dirty")},t.prototype.getContainer=function(){return this.container||(this.container=Ix.get(this.editorContainer||this.id+"_parent")),this.container},t.prototype.getContentAreaContainer=function(){return this.contentAreaContainer},t.prototype.getElement=function(){return this.targetElm||(this.targetElm=Ix.get(this.id)),this.targetElm},t.prototype.getWin=function(){var t;return this.contentWindow||(t=this.iframeElement)&&(this.contentWindow=t.contentWindow),this.contentWindow},t.prototype.getDoc=function(){var t;return this.contentDocument||(t=this.getWin())&&(this.contentDocument=t.document),this.contentDocument},t.prototype.getBody=function(){var t=this.getDoc();return this.bodyElement||(t?t.body:null)},t.prototype.convertURL=function(t,e,n){var r=this.settings;return r.urlconverter_callback?this.execCallback("urlconverter_callback",t,n,!0,e):!r.convert_urls||n&&"LINK"===n.nodeName||0===t.indexOf("file:")||0===t.length?t:r.relative_urls?this.documentBaseURI.toRelative(t):t=this.documentBaseURI.toAbsolute(t,r.remove_script_host)},t.prototype.addVisual=function(t){var e,n=this,r=n.settings,o=n.dom;t=t||n.getBody(),void 0===n.hasVisual&&(n.hasVisual=r.visual),Xx(o.select("table,a",t),(function(t){var i;switch(t.nodeName){case"TABLE":return e=r.visual_table_class||"mce-item-table",void((i=o.getAttrib(t,"border"))&&"0"!==i||!n.hasVisual?o.removeClass(t,e):o.addClass(t,e));case"A":return void(o.getAttrib(t,"href")||(i=o.getAttrib(t,"name")||t.id,e=r.visual_anchor_class||"mce-item-anchor",i&&n.hasVisual?o.addClass(t,e):o.removeClass(t,e)))}})),n.fire("VisualAid",{element:t,hasVisual:n.hasVisual})},t.prototype.remove=function(){kd(this)},t.prototype.destroy=function(t){Sd(this,t)},t.prototype.uploadImages=function(t){return this.editorUpload.uploadImages(t)},t.prototype._scanForImages=function(){return this.editorUpload.scanForImages()},t.prototype.addButton=function(){throw new Error("editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead")},t.prototype.addSidebar=function(){throw new Error("editor.addSidebar has been removed in tinymce 5x, use editor.ui.registry.addSidebar instead")},t.prototype.addMenuItem=function(){throw new Error("editor.addMenuItem has been removed in tinymce 5x, use editor.ui.registry.addMenuItem instead")},t.prototype.addContextToolbar=function(){throw new Error("editor.addContextToolbar has been removed in tinymce 5x, use editor.ui.registry.addContextToolbar instead")},t}(),Gx=_i.DOM,$x=cn.explode,Kx=cn.each,Jx=cn.extend,Qx=0,Zx=!1,tA=[],eA=[],nA=function(t){var e=t.type;Kx(aA.get(),(function(n){switch(e){case"scroll":n.fire("ScrollWindow",t);break;case"resize":n.fire("ResizeWindow",t)}}))},rA=function(t){t!==Zx&&(t?Vo(window).on("resize scroll",nA):Vo(window).off("resize scroll",nA),Zx=t)},oA=function(t){var e=eA;delete tA[t.id];for(var n=0;n<tA.length;n++)if(tA[n]===t){tA.splice(n,1);break}return eA=D(eA,(function(e){return t!==e})),aA.activeEditor===t&&(aA.activeEditor=eA.length>0?eA[0]:null),aA.focusedEditor===t&&(aA.focusedEditor=null),e.length!==eA.length},iA="CSS1Compat"!==n.document.compatMode,aA=j(j({},Lx),{baseURI:null,baseURL:null,defaultSettings:{},documentBaseURL:null,suffix:null,$:Vo,majorVersion:"5",minorVersion:"1.5",releaseDate:"2019-12-19",editors:tA,i18n:Si,activeEditor:null,focusedEditor:null,settings:{},setup:function(){var t,e,r="";e=Hx.getDocumentBaseUrl(n.document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(e)&&(e=e.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(e)||(e+="/"));var o=window.tinymce||window.tinyMCEPreInit;if(o)t=o.base||o.baseURL,r=o.suffix;else{for(var i=n.document.getElementsByTagName("script"),a=0;a<i.length;a++){var s;if(""!==(s=i[a].src||"")){var c=s.substring(s.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(s)){-1!==c.indexOf(".min")&&(r=".min"),t=s.substring(0,s.lastIndexOf("/"));break}}}if(!t&&n.document.currentScript)-1!==(s=n.document.currentScript.src).indexOf(".min")&&(r=".min"),t=s.substring(0,s.lastIndexOf("/"))}this.baseURL=new Hx(e).toAbsolute(t),this.documentBaseURL=e,this.baseURI=new Hx(this.baseURL),this.suffix=r,rd(this)},overrideDefaults:function(t){var e,n;(e=t.base_url)&&this._setBaseUrl(e),n=t.suffix,t.suffix&&(this.suffix=n),this.defaultSettings=t;var r=t.plugin_base_urls;for(var o in r)zi.PluginManager.urls[o]=r[o]},init:function(t){var e,r,o=this;r=cn.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");var i=function(t){var e=t.id;return e||(e=(e=t.name)&&!Gx.get(e)?t.name:Gx.uniqueId(),t.setAttribute("id",e)),e},a=function(t,e){return e.constructor===RegExp?e.test(t.className):Gx.hasClass(t,e)},s=function(t){e=t},c=function(){var e,u=0,l=[],d=function(t,n,r){var i=new Vx(t,n,o);l.push(i),i.on("init",(function(){++u===e.length&&s(l)})),i.targetElm=i.targetElm||r,i.render()};Gx.unbind(window,"ready",c),function(e){var n=t[e];if(n)n.apply(o,Array.prototype.slice.call(arguments,2))}("onpageload"),e=Vo.unique(function(t){var e,r=[];if(Qe.browser.isIE()&&Qe.browser.version.major<11)return hf.initError("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tinymce.com/docs/get-started/system-requirements/"),[];if(iA)return hf.initError("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[];if(t.types)return Kx(t.types,(function(t){r=r.concat(Gx.select(t.selector))})),r;if(t.selector)return Gx.select(t.selector);if(t.target)return[t.target];switch(t.mode){case"exact":(e=t.elements||"").length>0&&Kx($x(e),(function(t){var e;(e=Gx.get(t))?r.push(e):Kx(n.document.forms,(function(e){Kx(e.elements,(function(e){e.name===t&&(t="mce_editor_"+Qx++,Gx.setAttrib(e,"id",t),r.push(e))}))}))}));break;case"textareas":case"specific_textareas":Kx(Gx.select("textarea"),(function(e){t.editor_deselector&&a(e,t.editor_deselector)||t.editor_selector&&!a(e,t.editor_selector)||r.push(e)}))}return r}(t)),t.types?Kx(t.types,(function(n){cn.each(e,(function(e){return!Gx.is(e,n.selector)||(d(i(e),Jx({},t,n),e),!1)}))})):(cn.each(e,(function(t){var e;(e=o.get(t.id))&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(oA(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null)})),0===(e=cn.grep(e,(function(t){return!o.get(t.id)}))).length?s([]):Kx(e,(function(e){!function(t,e){return t.inline&&e.tagName.toLowerCase()in r}(t,e)?d(i(e),t,e):hf.initError("Could not initialize inline editor on invalid inline target element",e)})))};return o.settings=t,Gx.bind(window,"ready",c),new We((function(t){e?t(e):s=function(e){t(e)}}))},get:function(t){return 0===arguments.length?eA.slice(0):g(t)?B(eA,(function(e){return e.id===t})).getOr(null):w(t)&&eA[t]?eA[t]:null},add:function(t){var e=this;return tA[t.id]===t||(null===e.get(t.id)&&("length"!==t.id&&(tA[t.id]=t),tA.push(t),eA.push(t)),rA(!0),e.activeEditor=t,e.fire("AddEditor",{editor:t}),Sb||(Sb=function(t){var n=e.fire("BeforeUnload");if(n.returnValue)return t.preventDefault(),t.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",Sb))),t},createEditor:function(t,e){return this.add(new Vx(t,e,this))},remove:function(t){var e,n,r=this;if(t){if(!g(t))return n=t,y(r.get(n.id))?null:(oA(n)&&r.fire("RemoveEditor",{editor:n}),0===eA.length&&window.removeEventListener("beforeunload",Sb),n.remove(),rA(eA.length>0),n);Kx(Gx.select(t),(function(t){(n=r.get(t.id))&&r.remove(n)}))}else for(e=eA.length-1;e>=0;e--)r.remove(eA[e])},execCommand:function(t,e,n){var r=this.get(n);switch(t){case"mceAddEditor":return this.get(n)||new Vx(n,this.settings,this).render(),!0;case"mceRemoveEditor":return r&&r.remove(),!0;case"mceToggleEditor":return r?(r.isHidden()?r.show():r.hide(),!0):(this.execCommand("mceAddEditor",0,n),!0)}return!!this.activeEditor&&this.activeEditor.execCommand(t,e,n)},triggerSave:function(){Kx(eA,(function(t){t.save()}))},addI18n:function(t,e){Si.add(t,e)},translate:function(t){return Si.translate(t)},setActive:function(t){var e=this.activeEditor;this.activeEditor!==t&&(e&&e.fire("deactivate",{relatedTarget:t}),t.fire("activate",{relatedTarget:e})),this.activeEditor=t},_setBaseUrl:function(t){this.baseURL=new Hx(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new Hx(this.baseURL)}});function sA(t){return{walk:function(e,n){return bu(t,e,n)},split:wp,normalize:function(e){return Lv(t,e).fold(i(!1),(function(t){return e.setStart(t.startContainer,t.startOffset),e.setEnd(t.endContainer,t.endOffset),!0}))}}}aA.setup(),function(t){t.compareRanges=Wf,t.getCaretRangeFromPoint=qg,t.getSelectedNode=Wa,t.getNode=Ha}(sA||(sA={}));var cA,uA,lA,dA,fA=sA,hA=(cA={},uA={},{load:function(t,e){var r='Script at URL "'+e+'" failed to load',o='Script at URL "'+e+"\" did not call `tinymce.Resource.add('"+t+"', data)` within 1 second";if(void 0!==cA[t])return cA[t];var i=new We((function(i,a){var s=function(t,e,r){void 0===r&&(r=1e3);var o=!1,i=null,a=function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];o||(o=!0,null!==i&&(n.clearTimeout(i),i=null),t.apply(null,e))}},s=a(t),c=a(e);return{start:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o||null!==i||(i=n.setTimeout((function(){return c.apply(null,t)}),r))},resolve:s,reject:c}}(i,a);uA[t]=s.resolve,Li.ScriptLoader.loadScript(e,(function(){return s.start(o)}),(function(){return s.reject(r)}))}));return cA[t]=i,i},add:function(t,e){void 0!==uA[t]&&(uA[t](e),delete uA[t]),cA[t]=We.resolve(e)}}),pA=Math.min,mA=Math.max,gA=Math.round,vA=function(t,e,n){var r,o,i,a,s,c;return r=e.x,o=e.y,i=t.w,a=t.h,s=e.w,c=e.h,"b"===(n=(n||"").split(""))[0]&&(o+=c),"r"===n[1]&&(r+=s),"c"===n[0]&&(o+=gA(c/2)),"c"===n[1]&&(r+=gA(s/2)),"b"===n[3]&&(o-=a),"r"===n[4]&&(r-=i),"c"===n[3]&&(o-=gA(a/2)),"c"===n[4]&&(r-=gA(i/2)),bA(r,o,i,a)},bA=function(t,e,n,r){return{x:t,y:e,w:n,h:r}},yA={inflate:function(t,e,n){return bA(t.x-e,t.y-n,t.w+2*e,t.h+2*n)},relativePosition:vA,findBestRelativePosition:function(t,e,n,r){var o,i;for(i=0;i<r.length;i++)if((o=vA(t,e,r[i])).x>=n.x&&o.x+o.w<=n.w+n.x&&o.y>=n.y&&o.y+o.h<=n.h+n.y)return r[i];return null},intersect:function(t,e){var n,r,o,i;return n=mA(t.x,e.x),r=mA(t.y,e.y),o=pA(t.x+t.w,e.x+e.w),i=pA(t.y+t.h,e.y+e.h),o-n<0||i-r<0?null:bA(n,r,o-n,i-r)},clamp:function(t,e,n){var r,o,i,a,s,c,u,l,d,f;return s=t.x,c=t.y,u=t.x+t.w,l=t.y+t.h,d=e.x+e.w,f=e.y+e.h,r=mA(0,e.x-s),o=mA(0,e.y-c),i=mA(0,u-d),a=mA(0,l-f),s+=r,c+=o,n&&(u+=r,l+=o,s-=i,c-=a),bA(s,c,(u-=i)-s,(l-=a)-c)},create:bA,fromClientRect:function(t){return bA(t.left,t.top,t.width,t.height)}},MA=cn.each,_A=cn.extend,wA=function(){};wA.extend=lA=function(t){var e,n,r,o=this.prototype,i=function(){var t,e,n,r=this;if(!dA&&(r.init&&r.init.apply(r,arguments),e=r.Mixins))for(t=e.length;t--;)(n=e[t]).init&&n.init.apply(r,arguments)},a=function(){return this},s=function(t,e){return function(){var n,r=this,i=r._super;return r._super=o[t],n=e.apply(r,arguments),r._super=i,n}};for(n in dA=!0,e=new this,dA=!1,t.Mixins&&(MA(t.Mixins,(function(e){for(var n in e)"init"!==n&&(t[n]=e[n])})),o.Mixins&&(t.Mixins=o.Mixins.concat(t.Mixins))),t.Methods&&MA(t.Methods.split(","),(function(e){t[e]=a})),t.Properties&&MA(t.Properties.split(","),(function(e){var n="_"+e;t[e]=function(t){return void 0!==t?(this[n]=t,this):this[n]}})),t.Statics&&MA(t.Statics,(function(t,e){i[e]=t})),t.Defaults&&o.Defaults&&(t.Defaults=_A({},o.Defaults,t.Defaults)),t)"function"==typeof(r=t[n])&&o[n]?e[n]=s(n,r):e[n]=r;return i.prototype=e,i.constructor=i,i.extend=lA,i};var xA,AA=Math.min,LA=Math.max,TA=Math.round,kA={serialize:function(t){var e=JSON.stringify(t);return g(e)?e.replace(/[\u0080-\uFFFF]/g,(function(t){var e=t.charCodeAt(0).toString(16);return"\\u"+"0000".substring(e.length)+e})):e},parse:function(t){try{return JSON.parse(t)}catch(t){}}},SA={callbacks:{},count:0,send:function(t){var e=this,n=_i.DOM,r=void 0!==t.count?t.count:e.count,o="tinymce_jsonp_"+r;e.callbacks[r]=function(i){n.remove(o),delete e.callbacks[r],t.callback(i)},n.add(n.doc.body,"script",{id:o,src:t.url,type:"text/javascript"}),e.count++}},OA=j(j({},Lx),{send:function(t){var e,r=0,o=function(){!t.async||4===e.readyState||r++>1e4?(t.success&&r<1e4&&200===e.status?t.success.call(t.success_scope,""+e.responseText,e,t):t.error&&t.error.call(t.error_scope,r>1e4?"TIMED_OUT":"GENERAL",e,t),e=null):je.setTimeout(o,10)};if(t.scope=t.scope||this,t.success_scope=t.success_scope||t.scope,t.error_scope=t.error_scope||t.scope,t.async=!1!==t.async,t.data=t.data||"",OA.fire("beforeInitialize",{settings:t}),e=new n.XMLHttpRequest){if(e.overrideMimeType&&e.overrideMimeType(t.content_type),e.open(t.type||(t.data?"POST":"GET"),t.url,t.async),t.crossDomain&&(e.withCredentials=!0),t.content_type&&e.setRequestHeader("Content-Type",t.content_type),t.requestheaders&&cn.each(t.requestheaders,(function(t){e.setRequestHeader(t.key,t.value)})),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),(e=OA.fire("beforeSend",{xhr:e,settings:t}).xhr).send(t.data),!t.async)return o();je.setTimeout(o,10)}}}),CA=cn.extend,zA=function(){function t(t){this.settings=CA({},t),this.count=0}return t.sendRPC=function(e){return(new t).send(e)},t.prototype.send=function(t){var e=t.error,n=t.success,r=CA(this.settings,t);r.success=function(t,o){void 0===(t=kA.parse(t))&&(t={error:"JSON Parse error."}),t.error?e.call(r.error_scope||r.scope,t.error,o):n.call(r.success_scope||r.scope,t.result)},r.error=function(t,n){e&&e.call(r.error_scope||r.scope,t,n)},r.data=kA.serialize({id:t.id||"c"+this.count++,method:t.method,params:t.params}),r.content_type="application/json",OA.send(r)},t}();try{xA=n.window.localStorage}catch(t){xA=function(){var t={},e=[],n={getItem:function(e){var n=t[e];return n||null},setItem:function(n,r){e.push(n),t[n]=String(r)},key:function(t){return e[t]},removeItem:function(n){e=e.filter((function(t){return t===n})),delete t[n]},clear:function(){e=[],t={}},length:0};return Object.defineProperty(n,"length",{get:function(){return e.length},configurable:!1,enumerable:!1}),n}()}var DA={geom:{Rect:yA},util:{Promise:We,Delay:je,Tools:cn,VK:Uf,URI:Hx,Class:wA,EventDispatcher:xx,Observable:Lx,I18n:Si,XHR:OA,JSON:kA,JSONRequest:zA,JSONP:SA,LocalStorage:xA,Color:function(t){var e={},n=0,r=0,o=0,i=function(t){var i;return"object"==typeof t?"r"in t?(n=t.r,r=t.g,o=t.b):"v"in t&&function(t,e,i){var a,s,c,u;if(t=(parseInt(t,10)||0)%360,e=parseInt(e,10)/100,i=parseInt(i,10)/100,e=LA(0,AA(e,1)),i=LA(0,AA(i,1)),0!==e){switch(a=t/60,c=(s=i*e)*(1-Math.abs(a%2-1)),u=i-s,Math.floor(a)){case 0:n=s,r=c,o=0;break;case 1:n=c,r=s,o=0;break;case 2:n=0,r=s,o=c;break;case 3:n=0,r=c,o=s;break;case 4:n=c,r=0,o=s;break;case 5:n=s,r=0,o=c;break;default:n=r=o=0}n=TA(255*(n+u)),r=TA(255*(r+u)),o=TA(255*(o+u))}else n=r=o=TA(255*i)}(t.h,t.s,t.v):(i=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(t))?(n=parseInt(i[1],10),r=parseInt(i[2],10),o=parseInt(i[3],10)):(i=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(t))?(n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16)):(i=/#([0-F])([0-F])([0-F])/gi.exec(t))&&(n=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16),o=parseInt(i[3]+i[3],16)),n=n<0?0:n>255?255:n,r=r<0?0:r>255?255:r,o=o<0?0:o>255?255:o,e};return t&&i(t),e.toRgb=function(){return{r:n,g:r,b:o}},e.toHsv=function(){return function(t,e,n){var r,o,i,a;return 0,0,o=0,(i=AA(t/=255,AA(e/=255,n/=255)))===(a=LA(t,LA(e,n)))?{h:0,s:0,v:100*(o=i)}:(r=(a-i)/a,o=a,{h:TA(60*((t===i?3:n===i?1:5)-(t===i?e-n:n===i?t-e:n-t)/(a-i))),s:TA(100*r),v:TA(100*o)})}(n,r,o)},e.toHex=function(){var t=function(t){return(t=parseInt(t,10).toString(16)).length>1?t:"0"+t};return"#"+t(n)+t(r)+t(o)},e.parse=i,e}},dom:{EventUtils:xr,Sizzle:oo,DomQuery:Vo,TreeWalker:Go,DOMUtils:_i,ScriptLoader:Li,RangeUtils:fA,Serializer:fg,ControlSelection:vg,BookmarkManager:pg,Selection:Pv,Event:xr.Event},html:{Styles:pr,Entities:Yn,Node:Ou,Schema:Gn,SaxParser:Bu,DomParser:cg,Writer:wl,Serializer:xl},Env:Qe,AddOnManager:zi,Annotator:Lu,Formatter:Gm,UndoManager:lp,EditorCommands:_x,WindowManager:sf,NotificationManager:of,EditorObservable:Cx,Shortcuts:Bx,Editor:Vx,FocusManager:$l,EditorManager:aA,DOM:_i.DOM,ScriptLoader:Li.ScriptLoader,PluginManager:zi.PluginManager,ThemeManager:zi.ThemeManager,IconManager:pf,Resource:hA,trim:cn.trim,isArray:cn.isArray,is:cn.is,toArray:cn.toArray,makeMap:cn.makeMap,each:cn.each,map:cn.map,grep:cn.grep,inArray:cn.inArray,extend:cn.extend,create:cn.create,walk:cn.walk,createNS:cn.createNS,resolve:cn.resolve,explode:cn.explode,_addCacheSuffix:cn._addCacheSuffix,isOpera:Qe.opera,isWebKit:Qe.webkit,isIE:Qe.ie,isGecko:Qe.gecko,isMac:Qe.mac},EA=cn.extend(aA,DA);!function(t){window.tinymce=t,window.tinyMCE=t}(EA),function(e){try{t.exports=e}catch(t){}}(EA)}(window)}).call(this,n(2))},function(t,e,n){n(160)},function(t,e,n){(function(t){!function(e){"use strict";var n=function(){},r=function(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t(e.apply(null,n))}},o=function(t){return function(){return t}},i=function(t){return t};function a(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.concat(n);return t.apply(null,o)}}var s=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return!t.apply(null,e)}},c=function(t){return function(){throw new Error(t)}},u=o(!1),l=o(!0),d=tinymce.util.Tools.resolve("tinymce.ThemeManager"),f=function(){return(f=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function h(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function p(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var m,g=function(){return v},v=function(){var t=function(t){return t.isNone()},e=function(t){return t()},r=function(t){return t},i={fold:function(t,e){return t()},is:u,isSome:u,isNone:l,getOr:r,getOrThunk:e,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(void 0),or:r,orThunk:e,map:g,each:n,bind:g,exists:u,forall:l,filter:g,equals:t,equals_:t,toArray:function(){return[]},toString:o("none()")};return Object.freeze&&Object.freeze(i),i}(),b=function(t){var e=o(t),n=function(){return i},r=function(e){return e(t)},i={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:l,isNone:u,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return b(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?i:v},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(u,(function(e){return n(t,e)}))}};return i},y={some:b,none:g,from:function(t){return null==t?v:b(t)}},M=function(t){return{is:function(e){return t===e},isValue:l,isError:u,getOr:o(t),getOrThunk:o(t),getOrDie:o(t),or:function(e){return M(t)},orThunk:function(e){return M(t)},fold:function(e,n){return n(t)},map:function(e){return M(e(t))},mapError:function(e){return M(t)},each:function(e){e(t)},bind:function(e){return e(t)},exists:function(e){return e(t)},forall:function(e){return e(t)},toOption:function(){return y.some(t)}}},_=function(t){return{is:u,isValue:u,isError:l,getOr:i,getOrThunk:function(t){return t()},getOrDie:function(){return c(String(t))()},or:function(t){return t},orThunk:function(t){return t()},fold:function(e,n){return e(t)},map:function(e){return _(t)},mapError:function(e){return _(e(t))},each:n,bind:function(e){return _(t)},exists:u,forall:l,toOption:y.none}},w={value:M,error:_,fromOption:function(t,e){return t.fold((function(){return _(e)}),M)}},x=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},A=x("string"),L=x("object"),T=x("array"),k=x("boolean"),S=x("function"),O=x("number"),C=function(t,e){if(T(t)){for(var n=0,r=t.length;n<r;++n)if(!0!==e(t[n]))return!1;return!0}return!1},z=Array.prototype.slice,D=Array.prototype.indexOf,E=Array.prototype.push,N=function(t,e){return D.call(t,e)},B=function(t,e){return N(t,e)>-1},P=function(t,e){for(var n=0,r=t.length;n<r;n++){if(e(t[n],n))return!0}return!1},R=function(t,e){for(var n=[],r=0;r<t.length;r+=e){var o=z.call(t,r,r+e);n.push(o)}return n},Y=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},W=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},H=function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n},q=function(t,e,n){return function(t,e){for(var n=t.length-1;n>=0;n--){e(t[n],n)}}(t,(function(t){n=e(n,t)})),n},I=function(t,e,n){return W(t,(function(t){n=e(n,t)})),n},j=function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return y.some(o)}return y.none()},X=function(t,e){for(var n=0,r=t.length;n<r;n++){if(e(t[n],n))return y.some(n)}return y.none()},F=function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!T(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);E.apply(e,t[n])}return e},U=function(t,e){var n=Y(t,e);return F(n)},V=function(t,e){for(var n=0,r=t.length;n<r;++n){if(!0!==e(t[n],n))return!1}return!0},G=function(t){var e=z.call(t,0);return e.reverse(),e},$=function(t,e){return H(t,(function(t){return!B(e,t)}))},K=function(t){return[t]},J=function(t){return 0===t.length?y.none():y.some(t[0])},Q=function(t){return 0===t.length?y.none():y.some(t[t.length-1])},Z=S(Array.from)?Array.from:function(t){return z.call(t)},tt=Object.keys,et=Object.hasOwnProperty,nt=function(t,e){for(var n=tt(t),r=0,o=n.length;r<o;r++){var i=n[r];e(t[i],i)}},rt=function(t,e){return ot(t,(function(t,n){return{k:n,v:e(t,n)}}))},ot=function(t,e){var n={};return nt(t,(function(t,r){var o=e(t,r);n[o.k]=o.v})),n},it=function(t,e){var n=[];return nt(t,(function(t,r){n.push(e(t,r))})),n},at=function(t,e){for(var n=tt(t),r=0,o=n.length;r<o;r++){var i=n[r],a=t[i];if(e(a,i,t))return y.some(a)}return y.none()},st=function(t){return it(t,(function(t){return t}))},ct=function(t,e){return ut(t,e)?y.from(t[e]):y.none()},ut=function(t,e){return et.call(t,e)},lt=function(t){if(!T(t))throw new Error("cases must be an array");if(0===t.length)throw new Error("there must be at least one case");var n=[],r={};return W(t,(function(o,i){var a=tt(o);if(1!==a.length)throw new Error("one and only one name per case");var s=a[0],c=o[s];if(void 0!==r[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!T(c))throw new Error("case arguments must be an array");n.push(s),r[s]=function(){var r=arguments.length;if(r!==c.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+c.length+" ("+c+"), got "+r);for(var o=new Array(r),a=0;a<o.length;a++)o[a]=arguments[a];var u=function(t){var e=tt(t);if(n.length!==e.length)throw new Error("Wrong number of arguments to match. Expected: "+n.join(",")+"\nActual: "+e.join(","));if(!V(n,(function(t){return B(e,t)})))throw new Error("Not all branches were specified when using match. Specified: "+e.join(", ")+"\nRequired: "+n.join(", "));return t[s].apply(null,o)};return{fold:function(){if(arguments.length!==t.length)throw new Error("Wrong number of arguments to fold. Expected "+t.length+", got "+arguments.length);var e=arguments[i];return e.apply(null,o)},match:u,log:function(t){e.console.log(t,{constructors:n,constructor:s,params:o})}}}})),r},dt=Object.prototype.hasOwnProperty,ft=function(t){return function(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];if(0===e.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<e.length;o++){var i=e[o];for(var a in i)dt.call(i,a)&&(r[a]=t(r[a],i[a]))}return r}},ht=ft((function(t,e){return L(t)&&L(e)?ht(t,e):e})),pt=ft((function(t,e){return e})),mt=function(t){var e,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,e=t.apply(null,r)),e}},gt=lt([{strict:[]},{defaultedThunk:["fallbackThunk"]},{asOption:[]},{asDefaultedOptionThunk:["fallbackThunk"]},{mergeWithThunk:["baseThunk"]}]),vt=function(t){return gt.defaultedThunk(o(t))},bt=function(t){return gt.mergeWithThunk(o(t))},yt=gt.strict,Mt=gt.asOption,_t=gt.defaultedThunk,wt=gt.mergeWithThunk,xt=function(t){return function(e){return ut(e,t)?y.from(e[t]):y.none()}},At=function(t,e){return xt(e)(t)},Lt=function(t,e){var n={};return n[t]=e,n},Tt=(lt([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]),function(t,e){return function(t,e){var n={};return nt(t,(function(t,r){B(e,r)||(n[r]=t)})),n}(t,e)}),kt=function(t){return xt(t)},St=function(t,e){return function(t,e){return function(n){return ut(n,t)?n[t]:e}}(t,e)},Ot=function(t,e){return At(t,e)},Ct=function(t,e){return Lt(t,e)},zt=function(t){return function(t){var e={};return W(t,(function(t){e[t.key]=t.value})),e}(t)},Dt=function(t,e){var n,r=function(t){var e=[],n=[];return W(t,(function(t){t.fold((function(t){e.push(t)}),(function(t){n.push(t)}))})),{errors:e,values:n}}(t);return r.errors.length>0?(n=r.errors,w.error(F(n))):function(t,e){return 0===t.length?w.value(e):w.value(ht(e,pt.apply(void 0,t)))}(r.values,e)},Et=function(t,e){return function(t,e){return ut(t,e)&&void 0!==t[e]&&null!==t[e]}(t,e)};!function(t){t[t.Error=0]="Error",t[t.Value=1]="Value"}(m||(m={}));var Nt=function(t,e,n){return t.stype===m.Error?e(t.serror):n(t.svalue)},Bt=function(t){return{stype:m.Value,svalue:t}},Pt=function(t){return{stype:m.Error,serror:t}},Rt=function(t){return t.fold(Pt,Bt)},Yt=function(t){return Nt(t,w.error,w.value)},Wt=Bt,Ht=function(t){var e=[],n=[];return W(t,(function(t){Nt(t,(function(t){return n.push(t)}),(function(t){return e.push(t)}))})),{values:e,errors:n}},qt=Pt,It=function(t,e){return t.stype===m.Value?e(t.svalue):t},jt=function(t,e){return t.stype===m.Error?e(t.serror):t},Xt=function(t,e){return t.stype===m.Value?{stype:m.Value,svalue:e(t.svalue)}:t},Ft=function(t,e){return t.stype===m.Error?{stype:m.Error,serror:e(t.serror)}:t},Ut=function(t){return r(qt,F)(t)},Vt=function(t,e){var n=Ht(t);return n.errors.length>0?Ut(n.errors):function(t,e){return t.length>0?Wt(ht(e,pt.apply(void 0,t))):Wt(e)}(n.values,e)},Gt=function(t){var e=Ht(t);return e.errors.length>0?Ut(e.errors):Wt(e.values)},$t=lt([{setOf:["validator","valueType"]},{arrOf:["valueType"]},{objOf:["fields"]},{itemOf:["validator"]},{choiceOf:["key","branches"]},{thunk:["description"]},{func:["args","outputSchema"]}]),Kt=lt([{field:["name","presence","type"]},{state:["name"]}]),Jt=function(t){return L(t)&&tt(t).length>100?" removed due to size":JSON.stringify(t,null,2)},Qt=function(t,e){return qt([{path:t,getErrorInfo:e}])},Zt=lt([{field:["key","okey","presence","prop"]},{state:["okey","instantiator"]}]),te=function(t,e,n){return At(e,n).fold((function(){return function(t,e,n){return Qt(t,(function(){return'Could not find valid *strict* value for "'+e+'" in '+Jt(n)}))}(t,n,e)}),Wt)},ee=function(t,e,n){var r=At(t,e).fold((function(){return n(t)}),i);return Wt(r)},ne=function(t,e,n,r){return n.fold((function(n,i,a,s){var c=function(e){var o=s.extract(t.concat([n]),r,e);return Xt(o,(function(t){return Lt(i,r(t))}))},u=function(e){return e.fold((function(){var t=Lt(i,r(y.none()));return Wt(t)}),(function(e){var o=s.extract(t.concat([n]),r,e);return Xt(o,(function(t){return Lt(i,r(y.some(t)))}))}))};return a.fold((function(){return It(te(t,e,n),c)}),(function(t){return It(ee(e,n,t),c)}),(function(){return It(function(t,e){return Wt(At(t,e))}(e,n),u)}),(function(t){return It(function(t,e,n){var r=At(t,e).map((function(e){return!0===e?n(t):e}));return Wt(r)}(e,n,t),u)}),(function(t){var r=t(e),i=Xt(ee(e,n,o({})),(function(t){return ht(r,t)}));return It(i,c)}))}),(function(t,n){var o=n(e);return Wt(Lt(t,r(o)))}))},re=function(t){return{extract:function(e,n,r){return jt(t(r,n),(function(t){return function(t,e){return Qt(t,(function(){return e}))}(e,t)}))},toString:function(){return"val"},toDsl:function(){return $t.itemOf(t)}}},oe=function(t){var e=tt(t);return H(e,(function(e){return Et(t,e)}))},ie=function(t){var e=ae(t),n=q(t,(function(t,e){return e.fold((function(e){return ht(t,Ct(e,!0))}),o(t))}),{});return{extract:function(t,r,o){var i=k(o)?[]:oe(o),a=H(i,(function(t){return!Et(n,t)}));return 0===a.length?e.extract(t,r,o):function(t,e){return Qt(t,(function(){return"There are unsupported fields: ["+e.join(", ")+"] specified"}))}(t,a)},toString:e.toString,toDsl:e.toDsl}},ae=function(t){return{extract:function(e,n,r){return function(t,e,n,r){var o=Y(n,(function(n){return ne(t,e,n,r)}));return Vt(o,{})}(e,r,t,n)},toString:function(){return"obj{\n"+Y(t,(function(t){return t.fold((function(t,e,n,r){return t+" -> "+r.toString()}),(function(t,e){return"state("+t+")"}))})).join("\n")+"}"},toDsl:function(){return $t.objOf(Y(t,(function(t){return t.fold((function(t,e,n,r){return Kt.field(t,n,r)}),(function(t,e){return Kt.state(t)}))})))}}},se=function(t){return{extract:function(e,n,r){var o=Y(r,(function(r,o){return t.extract(e.concat(["["+o+"]"]),n,r)}));return Gt(o)},toString:function(){return"array("+t.toString()+")"},toDsl:function(){return $t.arrOf(t)}}},ce=function(t,e){return{extract:function(n,r,o){var a=tt(o),s=function(e,n){return se(re(t)).extract(e,i,n)}(n,a);return It(s,(function(t){var i=Y(t,(function(t){return Zt.field(t,t,yt(),e)}));return ae(i).extract(n,r,o)}))},toString:function(){return"setOf("+e.toString()+")"},toDsl:function(){return $t.setOf(t,e)}}},ue=o(re(Wt)),le=r(se,ae),de=Zt.state,fe=Zt.field,he=function(t,e,n,r,o){return Ot(r,o).fold((function(){return function(t,e,n){return Qt(t,(function(){return'The chosen schema: "'+n+'" did not exist in branches: '+Jt(e)}))}(t,r,o)}),(function(r){return r.extract(t.concat(["branch: "+o]),e,n)}))},pe=function(t,e){return{extract:function(n,r,o){return Ot(o,t).fold((function(){return function(t,e){return Qt(t,(function(){return'Choice schema did not contain choice key: "'+e+'"'}))}(n,t)}),(function(t){return he(n,r,o,e,t)}))},toString:function(){return"chooseOn("+t+"). Possible values: "+tt(e)},toDsl:function(){return $t.choiceOf(t,e)}}},me=re(Wt),ge=function(t){return{extract:function(e,n,r){return t().extract(e,n,r)},toString:function(){return t().toString()},toDsl:function(){return t().toDsl()}}},ve=function(t){return re((function(e){return t(e).fold(qt,Wt)}))},be=function(t,e){return ce((function(e){return Rt(t(e))}),e)},ye=function(t,e,n){return Yt(function(t,e,n,r){var o=e.extract([t],n,r);return Ft(o,(function(t){return{input:r,errors:t}}))}(t,e,i,n))},Me=function(t){return t.fold((function(t){throw new Error(we(t))}),i)},_e=function(t,e,n){return Me(ye(t,e,n))},we=function(t){return"Errors: \n"+(e=t.errors,n=e.length>10?e.slice(0,10).concat([{path:[],getErrorInfo:function(){return"... (only showing first ten failures)"}}]):e,Y(n,(function(t){return"Failed path: ("+t.path.join(" > ")+")\n"+t.getErrorInfo()}))+"\n\nInput object: ")+Jt(t.input);var e,n},xe=function(t,e){return pe(t,e)},Ae=function(t,e){return pe(t,rt(e,ae))},Le=o(me),Te=function(t,e){return re((function(n){var r=typeof n;return t(n)?Wt(n):qt("Expected type: "+e+" but got: "+r)}))},ke=Te(O,"number"),Se=Te(A,"string"),Oe=Te(k,"boolean"),Ce=Te(S,"function"),ze=function(t){var e=function(t,e){for(var n=t.next();!n.done;){if(!e(n.value))return!1;n=t.next()}return!0};if(Object(t)!==t)return!0;switch({}.toString.call(t).slice(8,-1)){case"Boolean":case"Number":case"String":case"Date":case"RegExp":case"Blob":case"FileList":case"ImageData":case"ImageBitmap":case"ArrayBuffer":return!0;case"Array":case"Object":return Object.keys(t).every((function(e){return ze(t[e])}));case"Map":return e(t.keys(),ze)&&e(t.values(),ze);case"Set":return e(t.keys(),ze);default:return!1}},De=re((function(t){return ze(t)?Wt(t):qt("Expected value to be acceptable for sending via postMessage")})),Ee=function(t){return ve((function(e){return B(t,e)?w.value(e):w.error('Unsupported value: "'+e+'", choose one of "'+t.join(", ")+'".')}))},Ne=function(t){return fe(t,t,yt(),ue())},Be=function(t,e){return fe(t,t,yt(),e)},Pe=function(t){return Be(t,ke)},Re=function(t){return Be(t,Se)},Ye=function(t,e){return fe(t,t,yt(),Ee(e))},We=function(t){return Be(t,Ce)},He=function(t,e){return fe(t,t,yt(),ae(e))},qe=function(t,e){return fe(t,t,yt(),le(e))},Ie=function(t,e){return fe(t,t,yt(),se(e))},je=function(t){return fe(t,t,Mt(),ue())},Xe=function(t,e){return fe(t,t,Mt(),e)},Fe=function(t){return Xe(t,ke)},Ue=function(t){return Xe(t,Se)},Ve=function(t){return Xe(t,Ce)},Ge=function(t,e){return Xe(t,ae(e))},$e=function(t,e){return fe(t,t,vt(e),ue())},Ke=function(t,e,n){return fe(t,t,vt(e),n)},Je=function(t,e){return Ke(t,e,ke)},Qe=function(t,e){return Ke(t,e,Se)},Ze=function(t,e,n){return Ke(t,e,Ee(n))},tn=function(t,e){return Ke(t,e,Oe)},en=function(t,e){return Ke(t,e,Ce)},nn=function(t,e,n){return Ke(t,e,ae(n))},rn=function(t,e){return de(t,e)},on=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return on(n())}}},an=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:o(t)}},sn={fromHtml:function(t,n){var r=(n||e.document).createElement("div");if(r.innerHTML=t,!r.hasChildNodes()||r.childNodes.length>1)throw e.console.error("HTML does not have a single root node",t),new Error("HTML must have a single root node");return an(r.childNodes[0])},fromTag:function(t,n){var r=(n||e.document).createElement(t);return an(r)},fromText:function(t,n){var r=(n||e.document).createTextNode(t);return an(r)},fromDom:an,fromPoint:function(t,e,n){var r=t.dom();return y.from(r.elementFromPoint(e,n)).map(an)}},cn=function(t,e,n){return 0!=(t.compareDocumentPosition(e)&n)},un=function(t,n){return cn(t,n,e.Node.DOCUMENT_POSITION_CONTAINED_BY)},ln=function(){return dn(0,0)},dn=function(t,e){return{major:t,minor:e}},fn={nu:dn,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?ln():function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.test(e))return r}}(t,e);if(!n)return{major:0,minor:0};var r=function(t){return Number(e.replace(n,"$"+t))};return dn(r(1),r(2))}(t,n)},unknown:ln},hn=function(t,e){return function(){return e===t}},pn=function(t){var e=t.current;return{current:e,version:t.version,isEdge:hn("Edge",e),isChrome:hn("Chrome",e),isIE:hn("IE",e),isOpera:hn("Opera",e),isFirefox:hn("Firefox",e),isSafari:hn("Safari",e)}},mn={unknown:function(){return pn({current:void 0,version:fn.unknown()})},nu:pn,edge:o("Edge"),chrome:o("Chrome"),ie:o("IE"),opera:o("Opera"),firefox:o("Firefox"),safari:o("Safari")},gn=function(t,e){return function(){return e===t}},vn=function(t){var e=t.current;return{current:e,version:t.version,isWindows:gn("Windows",e),isiOS:gn("iOS",e),isAndroid:gn("Android",e),isOSX:gn("OSX",e),isLinux:gn("Linux",e),isSolaris:gn("Solaris",e),isFreeBSD:gn("FreeBSD",e)}},bn={unknown:function(){return vn({current:void 0,version:fn.unknown()})},nu:vn,windows:o("Windows"),ios:o("iOS"),android:o("Android"),linux:o("Linux"),osx:o("OSX"),solaris:o("Solaris"),freebsd:o("FreeBSD")},yn=function(t,e){var n=String(e).toLowerCase();return j(t,(function(t){return t.search(n)}))},Mn=function(t,e){return yn(t,e).map((function(t){var n=fn.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},_n=function(t,e){return yn(t,e).map((function(t){var n=fn.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},wn=function(t,e){return-1!==t.indexOf(e)},xn=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,An=function(t){return function(e){return wn(e,t)}},Ln=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return wn(t,"edge/")&&wn(t,"chrome")&&wn(t,"safari")&&wn(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,xn],search:function(t){return wn(t,"chrome")&&!wn(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return wn(t,"msie")||wn(t,"trident")}},{name:"Opera",versionRegexes:[xn,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:An("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:An("firefox")},{name:"Safari",versionRegexes:[xn,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(wn(t,"safari")||wn(t,"mobile/"))&&wn(t,"applewebkit")}}],Tn=[{name:"Windows",search:An("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return wn(t,"iphone")||wn(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:An("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:An("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:An("linux"),versionRegexes:[]},{name:"Solaris",search:An("sunos"),versionRegexes:[]},{name:"FreeBSD",search:An("freebsd"),versionRegexes:[]}],kn={browsers:o(Ln),oses:o(Tn)},Sn=function(t,e){var n=kn.browsers(),r=kn.oses(),i=Mn(n,t).fold(mn.unknown,mn.nu),a=_n(r,t).fold(bn.unknown,bn.nu),s=function(t,e,n,r){var i=t.isiOS()&&!0===/ipad/i.test(n),a=t.isiOS()&&!i,s=t.isiOS()||t.isAndroid(),c=s||r("(pointer:coarse)"),u=i||!a&&s&&r("(min-device-width:768px)"),l=a||s&&!u,d=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),f=!l&&!u&&!d;return{isiPad:o(i),isiPhone:o(a),isTablet:o(u),isPhone:o(l),isTouch:o(c),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:o(d),isDesktop:o(f)}}(a,i,t,e);return{browser:i,os:a,deviceType:s}},On=on(Sn(e.navigator.userAgent,(function(t){return e.window.matchMedia(t).matches}))),Cn=function(){return On.get()},zn=(e.Node.ATTRIBUTE_NODE,e.Node.CDATA_SECTION_NODE,e.Node.COMMENT_NODE,e.Node.DOCUMENT_NODE),Dn=(e.Node.DOCUMENT_TYPE_NODE,e.Node.DOCUMENT_FRAGMENT_NODE,e.Node.ELEMENT_NODE),En=e.Node.TEXT_NODE,Nn=(e.Node.PROCESSING_INSTRUCTION_NODE,e.Node.ENTITY_REFERENCE_NODE,e.Node.ENTITY_NODE,e.Node.NOTATION_NODE,Dn),Bn=zn,Pn=function(t,e){var n=t.dom();if(n.nodeType!==Nn)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},Rn=function(t){return t.nodeType!==Nn&&t.nodeType!==Bn||0===t.childElementCount},Yn=function(t,n){var r=void 0===n?e.document:n.dom();return Rn(r)?[]:Y(r.querySelectorAll(t),sn.fromDom)},Wn=function(t,e){return t.dom()===e.dom()},Hn=Cn().browser.isIE()?function(t,e){return un(t.dom(),e.dom())}:function(t,e){var n=t.dom(),r=e.dom();return n!==r&&n.contains(r)},qn=function(t,e){return Wn(t.element(),e.event().target())};function In(t,e,n,r,o){return t(n,r)?y.some(n):S(o)&&o(n)?y.none():e(n,r,o)}void 0!==e.window?e.window:Function("return this;")();var jn=function(t){return t.dom().nodeName.toLowerCase()},Xn=function(t){return function(e){return function(t){return t.dom().nodeType}(e)===t}},Fn=Xn(Dn),Un=Xn(En),Vn=function(t){var e=Un(t)?t.dom().parentNode:t.dom();return null!=e&&e.ownerDocument.body.contains(e)},Gn=mt((function(){return $n(sn.fromDom(e.document))})),$n=function(t){var e=t.dom().body;if(null==e)throw new Error("Body is not available yet");return sn.fromDom(e)},Kn=function(t,e,n){for(var r=t.dom(),i=S(n)?n:o(!1);r.parentNode;){r=r.parentNode;var a=sn.fromDom(r);if(e(a))return y.some(a);if(i(a))break}return y.none()},Jn=function(t,e,n){return In((function(t,e){return e(t)}),Kn,t,e,n)},Qn=function(t,e){var n=function(t){for(var r=0;r<t.childNodes.length;r++){var o=sn.fromDom(t.childNodes[r]);if(e(o))return y.some(o);var i=n(t.childNodes[r]);if(i.isSome())return i}return y.none()};return n(t.dom())},Zn=function(t,e,n){return Jn(t,(function(t){return e(t).isSome()}),n).bind(e)},tr=function(t){if(!Et(t,"can")&&!Et(t,"abort")&&!Et(t,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(t,null,2)+" does not have can, abort, or run!");return _e("Extracting event.handler",ie([$e("can",o(!0)),$e("abort",o(!1)),$e("run",n)]),t)},er=function(t){var e=function(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return I(t,(function(t,r){return t&&e(r).apply(void 0,n)}),!0)}}(t,(function(t){return t.can})),n=function(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return I(t,(function(t,r){return t||e(r).apply(void 0,n)}),!1)}}(t,(function(t){return t.abort}));return tr({can:e,abort:n,run:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];W(t,(function(t){t.run.apply(void 0,e)}))}})},nr=o("touchstart"),rr=o("touchmove"),or=o("touchend"),ir=o("touchcancel"),ar=o("mousedown"),sr=o("mousemove"),cr=o("mouseout"),ur=o("mouseup"),lr=o("mouseover"),dr=o("focusin"),fr=o("focusout"),hr=o("keydown"),pr=o("keyup"),mr=o("input"),gr=o("change"),vr=o("click"),br=o("transitionend"),yr=o("selectstart"),Mr={tap:o("alloy.tap")},_r=o("alloy.focus"),wr=o("alloy.blur.post"),xr=o("alloy.paste.post"),Ar=o("alloy.receive"),Lr=o("alloy.execute"),Tr=o("alloy.focus.item"),kr=Mr.tap,Sr=o("alloy.longpress"),Or=o("alloy.sandbox.close"),Cr=o("alloy.typeahead.cancel"),zr=o("alloy.system.init"),Dr=o("alloy.system.touchmove"),Er=o("alloy.system.touchend"),Nr=o("alloy.system.scroll"),Br=o("alloy.system.resize"),Pr=o("alloy.system.attached"),Rr=o("alloy.system.detached"),Yr=o("alloy.system.dismissRequested"),Wr=o("alloy.system.repositionRequested"),Hr=o("alloy.focusmanager.shifted"),qr=o("alloy.slotcontainer.visibility"),Ir=o("alloy.change.tab"),jr=o("alloy.dismiss.tab"),Xr=o("alloy.highlight"),Fr=o("alloy.dehighlight"),Ur=function(t,e){Kr(t,t.element(),e,{})},Vr=function(t,e,n){Kr(t,t.element(),e,n)},Gr=function(t){Ur(t,Lr())},$r=function(t,e,n){Kr(t,e,n,{})},Kr=function(t,e,n,r){var i=f({target:e},r);t.getSystem().triggerEvent(n,e,rt(i,o))},Jr=function(t,e,n,r){t.getSystem().triggerEvent(n,e,r.event())},Qr=function(t){return zt(t)},Zr=function(t,e){return{key:t,value:tr({abort:e})}},to=function(t){return{key:t,value:tr({run:function(t,e){e.event().prevent()}})}},eo=function(t,e){return{key:t,value:tr({run:e})}},no=function(t,e,n){return{key:t,value:tr({run:function(t,r){e.apply(void 0,[t,r].concat(n))}})}},ro=function(t){return function(e){return{key:t,value:tr({run:function(t,n){qn(t,n)&&e(t,n)}})}}},oo=function(t,e,n){return function(t,e){return eo(t,(function(n,r){n.getSystem().getByUid(e).each((function(e){Jr(e,e.element(),t,r)}))}))}(t,e.partUids[n])},io=function(t,e){return eo(t,(function(t,n){var r=n.event(),i=t.getSystem().getByDom(r.target()).fold((function(){return Zn(r.target(),(function(e){return t.getSystem().getByDom(e).toOption()}),o(!1)).getOr(t)}),(function(t){return t}));e(t,i,n)}))},ao=function(t){return eo(t,(function(t,e){e.cut()}))},so=function(t){return eo(t,(function(t,e){e.stop()}))},co=function(t,e){return ro(t)(e)},uo=ro(Pr()),lo=ro(Rr()),fo=ro(zr()),ho=function(t){return function(e){return eo(t,e)}}(Lr()),po=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t.length!==e.length)throw new Error('Wrong number of arguments to struct. Expected "['+t.length+']", got '+e.length+" arguments");var r={};return W(t,(function(t,n){r[t]=o(e[n])})),r}},mo=function(t){return t.slice(0).sort()},go=function(t,e){if(!T(e))throw new Error("The "+t+" fields must be an array. Was: "+e+".");W(e,(function(e){if(!A(e))throw new Error("The value "+e+" in the "+t+" fields was not a string.")}))},vo=function(t,e){var n=t.concat(e);if(0===n.length)throw new Error("You must specify at least one required or optional field.");return go("required",t),go("optional",e),function(t){var e=mo(t);j(e,(function(t,n){return n<e.length-1&&t===e[n+1]})).each((function(t){throw new Error("The field: "+t+" occurs more than once in the combined fields: ["+e.join(", ")+"].")}))}(n),function(r){var i=tt(r);V(t,(function(t){return B(i,t)}))||function(t,e){throw new Error("All required keys ("+mo(t).join(", ")+") were not specified. Specified keys were: "+mo(e).join(", ")+".")}(t,i);var a=H(i,(function(t){return!B(n,t)}));a.length>0&&function(t){throw new Error("Unsupported keys for object: "+mo(t).join(", "))}(a);var s={};return W(t,(function(t){s[t]=o(r[t])})),W(e,(function(t){s[t]=o(Object.prototype.hasOwnProperty.call(r,t)?y.some(r[t]):y.none())})),s}},bo=function(t){return sn.fromDom(t.dom().ownerDocument)},yo=function(t){return sn.fromDom(t.dom().ownerDocument.documentElement)},Mo=function(t){return sn.fromDom(t.dom().ownerDocument.defaultView)},_o=function(t){return y.from(t.dom().parentNode).map(sn.fromDom)},wo=function(t){return y.from(t.dom().offsetParent).map(sn.fromDom)},xo=function(t){return Y(t.dom().childNodes,sn.fromDom)},Ao=function(t,e){var n=t.dom().childNodes;return y.from(n[e]).map(sn.fromDom)},Lo=(po("element","offset"),function(t,e){_o(t).each((function(n){n.dom().insertBefore(e.dom(),t.dom())}))}),To=function(t,e){(function(t){return y.from(t.dom().nextSibling).map(sn.fromDom)})(t).fold((function(){_o(t).each((function(t){So(t,e)}))}),(function(t){Lo(t,e)}))},ko=function(t,e){(function(t){return Ao(t,0)})(t).fold((function(){So(t,e)}),(function(n){t.dom().insertBefore(e.dom(),n.dom())}))},So=function(t,e){t.dom().appendChild(e.dom())},Oo=function(t,e){W(e,(function(e){So(t,e)}))},Co=function(t){t.dom().textContent="",W(xo(t),(function(t){zo(t)}))},zo=function(t){var e=t.dom();null!==e.parentNode&&e.parentNode.removeChild(e)},Do=function(t){var e,n=xo(t);n.length>0&&(e=t,W(n,(function(t){Lo(e,t)}))),zo(t)},Eo=function(t){return t.dom().innerHTML},No=function(t,n){var r,o,i=bo(t).dom(),a=sn.fromDom(i.createDocumentFragment()),s=(r=n,(o=(i||e.document).createElement("div")).innerHTML=r,xo(sn.fromDom(o)));Oo(a,s),Co(t),So(t,a)},Bo=function(t,n,r){if(!(A(r)||k(r)||O(r)))throw e.console.error("Invalid call to Attr.set. Key ",n,":: Value ",r,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(n,r+"")},Po=function(t,e,n){Bo(t.dom(),e,n)},Ro=function(t,e){var n=t.dom().getAttribute(e);return null===n?void 0:n},Yo=function(t,e){var n=t.dom();return!(!n||!n.hasAttribute)&&n.hasAttribute(e)},Wo=function(t,e){t.dom().removeAttribute(e)},Ho=function(t){return function(t,e){return sn.fromDom(t.dom().cloneNode(e))}(t,!1)},qo=function(t){return function(t){var e=sn.fromTag("div"),n=sn.fromDom(t.dom().cloneNode(!0));return So(e,n),Eo(e)}(Ho(t))},Io=function(t){return qo(t)},jo=Qr([function(t,e){return{key:t,value:tr({can:e})}}(_r(),(function(t,n){var r=n.event().originator(),o=n.event().target();return!function(t,e,n){return Wn(e,t.element())&&!Wn(e,n)}(t,r,o)||(e.console.warn(_r()+" did not get interpreted by the desired target. \nOriginator: "+Io(r)+"\nTarget: "+Io(o)+"\nCheck the "+_r()+" event handlers"),!1)}))]),Xo=Object.freeze({events:jo}),Fo=0,Uo=function(t){var e=(new Date).getTime();return t+"_"+Math.floor(1e9*Math.random())+ ++Fo+String(e)},Vo=o("alloy-id-"),Go=o("data-alloy-id"),$o=Vo(),Ko=Go(),Jo=function(t,e){Object.defineProperty(t.dom(),Ko,{value:e,writable:!0})},Qo=function(t){var e=Fn(t)?t.dom()[Ko]:null;return y.from(e)},Zo=function(t){return Uo(t)},ti=i,ei=function(t){var e=function(e){return function(){throw new Error("The component must be in a context to send: "+e+"\n"+Io(t().element())+" is not in context.")}};return{debugInfo:o("fake"),triggerEvent:e("triggerEvent"),triggerFocus:e("triggerFocus"),triggerEscape:e("triggerEscape"),build:e("build"),addToWorld:e("addToWorld"),removeFromWorld:e("removeFromWorld"),addToGui:e("addToGui"),removeFromGui:e("removeFromGui"),getByUid:e("getByUid"),getByDom:e("getByDom"),broadcast:e("broadcast"),broadcastOn:e("broadcastOn"),broadcastEvent:e("broadcastEvent"),isConnected:o(!1)}},ni=ei(),ri=function(t){return Y(t,(function(t){return function(t,e){return function(t,e,n){return""===e||!(t.length<e.length)&&t.substr(n,n+e.length)===e}(t,e,t.length-e.length)}(t,"/*")?t.substring(0,t.length-"/*".length):t}))},oi=function(t,e){var n=t.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return t.toFunctionAnnotation=function(){return{name:e,parameters:ri(i)}},t},ii=Uo("alloy-premade"),ai=function(t){return Ct(ii,t)},si=function(t){return function(t,e){var n=e.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return t.toFunctionAnnotation=function(){return{name:"OVERRIDE",parameters:ri(i.slice(1))}},t}((function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return t.apply(void 0,[e.getApis()].concat([e].concat(n)))}),t)},ci={init:function(){return ui({readState:function(){return"No State required"}})}},ui=function(t){return t},li=function(t,e){var n={};return nt(t,(function(t,r){nt(t,(function(t,o){var i=St(o,[])(n);n[o]=i.concat([e(r,t)])}))})),n},di=function(t){return{classes:void 0!==t.classes?t.classes:[],attributes:void 0!==t.attributes?t.attributes:{},styles:void 0!==t.styles?t.styles:{}}},fi=function(t,e){return n=a.apply(void 0,[t.handler].concat(e)),r=t.purpose(),{cHandler:n,purpose:o(r)};var n,r},hi=function(t){return t.cHandler},pi=function(t,e){return{name:o(t),handler:o(e)}},mi=function(t,e,n){var r=f(f({},n),function(t,e){var n={};return W(t,(function(t){n[t.name()]=t.handlers(e)})),n}(e,t));return li(r,pi)},gi=function(t){var e=function(t){return S(t)?{can:o(!0),abort:o(!1),run:t}:t}(t);return function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=[t,n].concat(r);e.abort.apply(void 0,i)?n.stop():e.can.apply(void 0,i)&&e.run.apply(void 0,i)}},vi=function(t,e,n){var r=e[n];return r?function(t,e,n,r){var o=n.slice(0);try{var i=o.sort((function(n,o){var i=n[e](),a=o[e](),s=r.indexOf(i),c=r.indexOf(a);if(-1===s)throw new Error("The ordering for "+t+" does not have an entry for "+i+".\nOrder specified: "+JSON.stringify(r,null,2));if(-1===c)throw new Error("The ordering for "+t+" does not have an entry for "+a+".\nOrder specified: "+JSON.stringify(r,null,2));return s<c?-1:c<s?1:0}));return w.value(i)}catch(t){return w.error([t])}}("Event: "+n,"name",t,r).map((function(t){var e=Y(t,(function(t){return t.handler()}));return er(e)})):function(t,e){return w.error(["The event ("+t+') has more than one behaviour that listens to it.\nWhen this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).\nThe behaviours that can trigger it are: '+JSON.stringify(Y(e,(function(t){return t.name()})),null,2)])}(n,t)},bi=function(t,e){var n=it(t,(function(t,n){return(1===t.length?w.value(t[0].handler()):vi(t,e,n)).map((function(r){var i=gi(r),a=t.length>1?H(e[n],(function(e){return P(t,(function(t){return t.name()===e}))})).join(" > "):t[0].name();return Ct(n,function(t,e){return{handler:t,purpose:o(e)}}(i,a))}))}));return Dt(n,{})},yi=function(t){return t.events},Mi=function(t,e){var n=Ro(t,e);return void 0===n||""===n?[]:n.split(" ")},_i=function(t){return void 0!==t.dom().classList},wi=function(t,e){return function(t,e,n){var r=Mi(t,e).concat([n]);return Po(t,e,r.join(" ")),!0}(t,"class",e)},xi=function(t,e){return function(t,e,n){var r=H(Mi(t,e),(function(t){return t!==n}));return r.length>0?Po(t,e,r.join(" ")):Wo(t,e),!1}(t,"class",e)},Ai=function(t,e){_i(t)?t.dom().classList.add(e):wi(t,e)},Li=function(t){0===(_i(t)?t.dom().classList:function(t){return Mi(t,"class")}(t)).length&&Wo(t,"class")},Ti=function(t,e){_i(t)?t.dom().classList.remove(e):xi(t,e);Li(t)},ki=function(t,e){return _i(t)&&t.dom().classList.contains(e)},Si=function(t,e){W(e,(function(e){Ai(t,e)}))},Oi=function(t,e){W(e,(function(e){Ti(t,e)}))},Ci=function(t){return void 0!==t.style&&S(t.style.getPropertyValue)},zi=function(t,n,r){if(!A(r))throw e.console.error("Invalid call to CSS.set. Property ",n,":: Value ",r,":: Element ",t),new Error("CSS value must be a string: "+r);Ci(t)&&t.style.setProperty(n,r)},Di=function(t,e){Ci(t)&&t.style.removeProperty(e)},Ei=function(t,e,n){var r=t.dom();zi(r,e,n)},Ni=function(t,e){var n=t.dom();nt(e,(function(t,e){zi(n,e,t)}))},Bi=function(t,n){var r=t.dom(),o=e.window.getComputedStyle(r).getPropertyValue(n),i=""!==o||Vn(t)?o:Pi(r,n);return null===i?void 0:i},Pi=function(t,e){return Ci(t)?t.style.getPropertyValue(e):""},Ri=function(t,e){var n=t.dom(),r=Pi(n,e);return y.from(r).filter((function(t){return t.length>0}))},Yi=function(t,e,n){var r=sn.fromTag(t);return Ei(r,e,n),Ri(r,e).isSome()},Wi=function(t,e){var n=t.dom();Di(n,e),Yo(t,"style")&&""===Ro(t,"style").replace(/^\s+|\s+$/g,"")&&Wo(t,"style")},Hi=function(t){return t.dom().offsetWidth},qi=function(t){return t.dom().value},Ii=function(t,e){if(void 0===e)throw new Error("Value.set was undefined");t.dom().value=e},ji=function(t){var e=sn.fromTag(t.tag);!function(t,e){var n=t.dom();nt(e,(function(t,e){Bo(n,e,t)}))}(e,t.attributes),Si(e,t.classes),Ni(e,t.styles),t.innerHtml.each((function(t){return No(e,t)}));var n=t.domChildren;return Oo(e,n),t.value.each((function(t){Ii(e,t)})),t.uid,Jo(e,t.uid),e},Xi=function(t,e){return function(t,e){var n=Y(e,(function(t){return Ge(t.name(),[Ne("config"),$e("state",ci)])})),r=ye("component.behaviours",ae(n),t.behaviours).fold((function(e){throw new Error(we(e)+"\nComplete spec:\n"+JSON.stringify(t,null,2))}),(function(t){return t}));return{list:e,data:rt(r,(function(t){var e=t.map((function(t){return{config:t.config,state:t.state.init(t.config)}}));return function(){return e}}))}}(t,e)},Fi=function(t){var e=function(t){var e=St("behaviours",{})(t),n=H(tt(e),(function(t){return void 0!==e[t]}));return Y(n,(function(t){return e[t].me}))}(t);return Xi(t,e)},Ui=function(t,e,n){var r,o,i,a=f(f({},(r=t).dom),{uid:r.uid,domChildren:Y(r.components,(function(t){return t.element()}))}),s=function(t){return t.domModification.fold((function(){return di({})}),di)}(t),c={"alloy.base.modification":s},u=e.length>0?function(t,e,n,r){var o=f({},e);W(n,(function(e){o[e.name()]=e.exhibit(t,r)}));var i=li(o,(function(t,e){return{name:t,modification:e}})),a=function(t){return q(t,(function(t,e){return f(f({},e.modification),t)}),{})},s=q(i.classes,(function(t,e){return e.modification.concat(t)}),[]),c=a(i.attributes),u=a(i.styles);return di({classes:s,attributes:c,styles:u})}(n,c,e,a):s;return i=u,f(f({},o=a),{attributes:f(f({},o.attributes),i.attributes),styles:f(f({},o.styles),i.styles),classes:o.classes.concat(i.classes)})},Vi=function(t,e,n){var r={"alloy.base.behaviour":yi(t)};return function(t,e,n,r){var o=mi(t,n,r);return bi(o,e)}(n,t.eventOrder,e,r).getOrDie()},Gi=function(t){var e=function(){return f},n=on(ni),r=Me(function(t){return ye("custom.definition",ae([fe("dom","dom",yt(),ae([Ne("tag"),$e("styles",{}),$e("classes",[]),$e("attributes",{}),je("value"),je("innerHtml")])),Ne("components"),Ne("uid"),$e("events",{}),$e("apis",{}),fe("eventOrder","eventOrder",bt({"alloy.execute":["disabling","alloy.base.behaviour","toggling","typeaheadevents"],"alloy.focus":["alloy.base.behaviour","focusing","keying"],"alloy.system.init":["alloy.base.behaviour","disabling","toggling","representing"],input:["alloy.base.behaviour","representing","streaming","invalidating"],"alloy.system.detached":["alloy.base.behaviour","representing","item-events","tooltipping"],mousedown:["focusing","alloy.base.behaviour","item-type-events"],touchstart:["focusing","alloy.base.behaviour","item-type-events"],mouseover:["item-type-events","tooltipping"]}),Le()),je("domModification")]),t)}(t)),i=Fi(t),a=function(t){return t.list}(i),s=function(t){return t.data}(i),c=Ui(r,a,s),u=ji(c),l=Vi(r,a,s),d=on(r.components),f={getSystem:n.get,config:function(e){var n=s;return(S(n[e.name()])?n[e.name()]:function(){throw new Error("Could not find "+e.name()+" in "+JSON.stringify(t,null,2))})()},hasConfigured:function(t){return S(s[t.name()])},spec:o(t),readState:function(t){return s[t]().map((function(t){return t.state.readState()})).getOr("not enabled")},getApis:function(){return r.apis},connect:function(t){n.set(t)},disconnect:function(){n.set(ei(e))},element:o(u),syncComponents:function(){var t=xo(u),e=U(t,(function(t){return n.get().getByDom(t).fold((function(){return[]}),(function(t){return[t]}))}));d.set(e)},components:d.get,events:o(l)};return f},$i=function(t){var e=ti(t),n=e.events,r=h(e,["events"]),o=function(t){var e=St("components",[])(t);return Y(e,Zi)}(r),i=f(f({},r),{events:f(f({},Xo),n),components:o});return w.value(Gi(i))},Ki=function(t){var e=sn.fromText(t);return Ji({element:e})},Ji=function(t){var e=_e("external.component",ie([Ne("element"),je("uid")]),t),r=on(ei());e.uid.each((function(t){Jo(e.element,t)}));var i={getSystem:r.get,config:y.none,hasConfigured:o(!1),connect:function(t){r.set(t)},disconnect:function(){r.set(ei((function(){return i})))},getApis:function(){return{}},element:o(e.element),spec:o(t),readState:o("No state"),syncComponents:n,components:o([]),events:o({})};return ai(i)},Qi=Zo,Zi=function(t){return function(t){return Ot(t,ii)}(t).fold((function(){var e=t.hasOwnProperty("uid")?t:f({uid:Qi("")},t);return $i(e).getOrDie()}),(function(t){return t}))},ta=ai;function ea(t,e){var n=function(n){var r=e(n);if(r<=0||null===r){var o=Bi(n,t);return parseFloat(o)||0}return r},r=function(t,e){return I(e,(function(e,n){var r=Bi(t,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?e:e+o}),0)};return{set:function(e,n){if(!O(n)&&!n.match(/^[0-9]+$/))throw new Error(t+".set accepts only positive integer values. Value was "+n);var r=e.dom();Ci(r)&&(r.style[t]=n+"px")},get:n,getOuter:n,aggregate:r,max:function(t,e,n){var o=r(t,n);return e>o?e-o:0}}}var na,ra=ea("height",(function(t){var e=t.dom();return Vn(t)?e.getBoundingClientRect().height:e.offsetHeight})),oa=function(t){return ra.get(t)},ia=function(t){return ra.getOuter(t)},aa=function(t,e){return{left:o(t),top:o(e),translate:function(n,r){return aa(t+n,e+r)}}},sa=aa,ca=function(t,e){return void 0!==t?t:void 0!==e?e:0},ua=function(t){var e=t.dom().ownerDocument,n=e.body,r=e.defaultView,o=e.documentElement;if(n===t.dom())return sa(n.offsetLeft,n.offsetTop);var i=ca(r.pageYOffset,o.scrollTop),a=ca(r.pageXOffset,o.scrollLeft),s=ca(o.clientTop,n.clientTop),c=ca(o.clientLeft,n.clientLeft);return la(t).translate(a-c,i-s)},la=function(t){var e=t.dom(),n=e.ownerDocument.body;return n===e?sa(n.offsetLeft,n.offsetTop):Vn(t)?function(t){var e=t.getBoundingClientRect();return sa(e.left,e.top)}(e):sa(0,0)},da=ea("width",(function(t){return t.dom().offsetWidth})),fa=function(t){return da.get(t)},ha=function(t){return da.getOuter(t)},pa=(Cn().browser.isSafari(),function(t){var n=void 0!==t?t.dom():e.document,r=n.body.scrollLeft||n.documentElement.scrollLeft,o=n.body.scrollTop||n.documentElement.scrollTop;return sa(r,o)}),ma=function(t,e,n,r){return{x:o(t),y:o(e),width:o(n),height:o(r),right:o(t+n),bottom:o(e+r)}},ga=function(t){var n=void 0===t?e.window:t,r=n.document,o=pa(sn.fromDom(r)),i=n.visualViewport;if(void 0!==i)return ma(Math.max(i.pageLeft,o.left()),Math.max(i.pageTop,o.top()),i.width,i.height);var a=r.documentElement,s=a.clientWidth,c=a.clientHeight;return ma(o.left(),o.top(),s,c)},va=function(t,e){return t.view(e).fold(o([]),(function(e){var n=t.owner(e),r=va(t,n);return[e].concat(r)}))},ba=Object.freeze({view:function(t){return(t.dom()===e.document?y.none():y.from(t.dom().defaultView.frameElement)).map(sn.fromDom)},owner:function(t){return bo(t)}}),ya=function(t){var n=sn.fromDom(e.document),r=pa(n);return function(t,e){var n=e.owner(t),r=va(e,n);return y.some(r)}(t,ba).fold(a(ua,t),(function(e){var n=la(t),o=q(e,(function(t,e){var n=la(e);return{left:t.left+n.left(),top:t.top+n.top()}}),{left:0,top:0});return sa(o.left+n.left()+r.left(),o.top+n.top()+r.top())}))},Ma=po("point","width","height"),_a=po("x","y","width","height"),wa=function(t,e,n,r){return{x:o(t),y:o(e),width:o(n),height:o(r),right:o(t+n),bottom:o(e+r)}},xa=function(t){var e=ua(t),n=ha(t),r=ia(t);return wa(e.left(),e.top(),n,r)},Aa=function(t){var e=ya(t),n=ha(t),r=ia(t);return wa(e.left(),e.top(),n,r)},La=function(){return ga(e.window)},Ta=function(t,e,n){return Kn(t,(function(t){return Pn(t,e)}),n)},ka=function(t,n){return function(t,n){var r=void 0===n?e.document:n.dom();return Rn(r)?y.none():y.from(r.querySelector(t)).map(sn.fromDom)}(n,t)},Sa=function(t,e,n){return In(Pn,Ta,t,e,n)},Oa=function(){var t=Uo("aria-owns");return{id:o(t),link:function(e){Po(e,"aria-owns",t)},unlink:function(t){Wo(t,"aria-owns")}}},Ca=function(t,e){return function(t){return Jn(t,(function(t){if(!Fn(t))return!1;var e=Ro(t,"id");return void 0!==e&&e.indexOf("aria-owns")>-1})).bind((function(t){var e=Ro(t,"id"),n=bo(t);return ka(n,'[aria-owns="'+e+'"]')}))}(e).exists((function(e){return za(t,e)}))},za=function(t,e){return n=e,r=function(e){return Wn(e,t.element())},i=o(!1),Jn(n,r,i).isSome()||Ca(t,e);var n,r,i},Da=function(t){for(var e=[],n=function(t){e.push(t)},r=0;r<t.length;r++)t[r].each(n);return e},Ea=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n],n);if(r.isSome())return r}return y.none()};!function(t){t[t.STOP=0]="STOP",t[t.NORMAL=1]="NORMAL",t[t.LOGGING=2]="LOGGING"}(na||(na={}));var Na=on({}),Ba=function(t,n,r){switch(Ot(Na.get(),t).orThunk((function(){var e=tt(Na.get());return Ea(e,(function(e){return t.indexOf(e)>-1?y.some(Na.get()[e]):y.none()}))})).getOr(na.NORMAL)){case na.NORMAL:return r(Ya());case na.LOGGING:var o=function(t,n){var r=[],o=(new Date).getTime();return{logEventCut:function(t,e,n){r.push({outcome:"cut",target:e,purpose:n})},logEventStopped:function(t,e,n){r.push({outcome:"stopped",target:e,purpose:n})},logNoParent:function(t,e,n){r.push({outcome:"no-parent",target:e,purpose:n})},logEventNoHandlers:function(t,e){r.push({outcome:"no-handlers-left",target:e})},logEventResponse:function(t,e,n){r.push({outcome:"response",purpose:n,target:e})},write:function(){var i=(new Date).getTime();B(["mousemove","mouseover","mouseout",zr()],t)||e.console.log(t,{event:t,time:i-o,target:n.dom(),sequence:Y(r,(function(t){return B(["cut","stopped","response"],t.outcome)?"{"+t.purpose+"} "+t.outcome+" at ("+Io(t.target)+")":t.outcome}))})}}}(t,n),i=r(o);return o.write(),i;case na.STOP:return!0}},Pa=["alloy/data/Fields","alloy/debugging/Debugging"],Ra=function(t,e,n){return Ba(t,e,n)},Ya=o({logEventCut:n,logEventStopped:n,logNoParent:n,logEventNoHandlers:n,logEventResponse:n,write:n}),Wa=o([Ne("menu"),Ne("selectedMenu")]),Ha=o([Ne("item"),Ne("selectedItem")]),qa=(o(ae(Ha().concat(Wa()))),o(ae(Ha()))),Ia=He("initSize",[Ne("numColumns"),Ne("numRows")]),ja=function(){return He("markers",[Ne("backgroundMenu")].concat(Wa()).concat(Ha()))},Xa=function(t){return He("markers",Y(t,Ne))},Fa=function(t,e,n){!function(){var t=new Error;if(void 0!==t.stack){var e=t.stack.split("\n");return j(e,(function(t){return t.indexOf("alloy")>0&&!P(Pa,(function(e){return t.indexOf(e)>-1}))})).getOr("unknown")}}();return fe(e,e,n,ve((function(t){return w.value((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.apply(void 0,e)}))})))},Ua=function(t){return Fa(0,t,vt(n))},Va=function(t){return Fa(0,t,vt(y.none))},Ga=function(t){return Fa(0,t,yt())},$a=function(t){return Fa(0,t,yt())},Ka=function(t,e){return rn(t,o(e))},Ja=function(t){return rn(t,i)},Qa=o(Ia),Za=po("x","y","bubble","direction","label"),ts=lt([{southeast:[]},{southwest:[]},{northeast:[]},{northwest:[]},{south:[]},{north:[]},{east:[]},{west:[]}]),es=ts.southeast,ns=ts.southwest,rs=ts.northeast,os=ts.northwest,is=ts.south,as=ts.north,ss=ts.east,cs=ts.west,us=function(t){return t.x()},ls=function(t,e){return t.x()+t.width()/2-e.width()/2},ds=function(t,e){return t.x()+t.width()-e.width()},fs=function(t,e){return t.y()-e.height()},hs=function(t){return t.y()+t.height()},ps=function(t,e){return t.y()+t.height()/2-e.height()/2},ms=function(t,e,n){return Za(us(t),hs(t),n.southeast(),es(),"layout-se")},gs=function(t,e,n){return Za(ds(t,e),hs(t),n.southwest(),ns(),"layout-sw")},vs=function(t,e,n){return Za(us(t),fs(t,e),n.northeast(),rs(),"layout-ne")},bs=function(t,e,n){return Za(ds(t,e),fs(t,e),n.northwest(),os(),"layout-nw")},ys=function(t,e,n){return Za(ls(t,e),fs(t,e),n.north(),as(),"layout-n")},Ms=function(t,e,n){return Za(ls(t,e),hs(t),n.south(),is(),"layout-s")},_s=function(t,e,n){return Za(function(t){return t.x()+t.width()}(t),ps(t,e),n.east(),ss(),"layout-e")},ws=function(t,e,n){return Za(function(t,e){return t.x()-e.width()}(t,e),ps(t,e),n.west(),cs(),"layout-w")},xs=function(){return[ms,gs,vs,bs,Ms,ys]},As=function(){return[gs,ms,bs,vs,Ms,ys]},Ls=function(t,e,n){return fo((function(r,o){n(r,t,e)}))},Ts=function(t,e,n){return function(t,e,n){var r=n.toString(),o=r.indexOf(")")+1,i=r.indexOf("("),a=r.substring(i+1,o-1).split(/,\s*/);return t.toFunctionAnnotation=function(){return{name:e,parameters:ri(a.slice(0,1).concat(a.slice(3)))}},t}((function(r){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var s=[r].concat(i);return r.config({name:o(t)}).fold((function(){throw new Error("We could not find any behaviour configuration for: "+t+". Using API: "+n)}),(function(t){var n=Array.prototype.slice.call(s,1);return e.apply(void 0,[r,t.config,t.state].concat(n))}))}),n,e)},ks=function(t){return{key:t,value:void 0}},Ss=function(t,e,n,r,o,i,s){var c=function(t){return Et(t,n)?t[n]():y.none()},u=rt(o,(function(t,e){return Ts(n,t,e)})),l=rt(i,(function(t,e){return oi(t,e)})),d=f(f(f({},l),u),{revoke:a(ks,n),config:function(e){var r=_e(n+"-config",t,e);return{key:n,value:{config:r,me:d,configAsRaw:mt((function(){return _e(n+"-config",t,e)})),initialConfig:e,state:s}}},schema:function(){return e},exhibit:function(t,e){return c(t).bind((function(t){return Ot(r,"exhibit").map((function(n){return n(e,t.config,t.state)}))})).getOr(di({}))},name:function(){return n},handlers:function(t){return c(t).map((function(t){return St("events",(function(t,e){return{}}))(r)(t.config,t.state)})).getOr({})}});return d},Os=function(t){return zt(t)},Cs=ie([Ne("fields"),Ne("name"),$e("active",{}),$e("apis",{}),$e("state",ci),$e("extra",{})]),zs=function(t){var e=_e("Creating behaviour: "+t.name,Cs,t);return function(t,e,n,r,o,i){var a,s,c=ie(t),u=Ge(e,[(a="config",s=t,Xe(a,ie(s)))]);return Ss(c,u,e,n,r,o,i)}(e.fields,e.name,e.active,e.apis,e.extra,e.state)},Ds=ie([Ne("branchKey"),Ne("branches"),Ne("name"),$e("active",{}),$e("apis",{}),$e("state",ci),$e("extra",{})]),Es=function(t){var e=_e("Creating behaviour: "+t.name,Ds,t);return function(t,e,n,r,o,i){var a=t,s=Ge(e,[Xe("config",t)]);return Ss(a,s,e,n,r,o,i)}(Ae(e.branchKey,e.branches),e.name,e.active,e.apis,e.extra,e.state)},Ns=o(void 0),Bs=Object.freeze({events:function(t){return Qr([eo(Ar(),(function(e,n){var r=t.channels,o=function(t,e){return e.universal()?t:H(t,(function(t){return B(e.channels(),t)}))}(tt(r),n);W(o,(function(t){var o=r[t],i=o.schema,a=_e("channel["+t+"] data\nReceiver: "+Io(e.element()),i,n.data());o.onReceive(e,a)}))}))])}}),Ps=[Be("channels",be(w.value,ie([Ga("onReceive"),$e("schema",Le())])))],Rs=zs({fields:Ps,name:"receiving",active:Bs}),Ys=Object.freeze({exhibit:function(t,e){return di({classes:[],styles:e.useFixed()?{}:{position:"relative"}})}}),Ws=function(t){t.dom().focus()},Hs=function(t){var n=void 0!==t?t.dom():e.document;return y.from(n.activeElement).map(sn.fromDom)},qs=function(t){return Hs(bo(t)).filter((function(e){return t.dom().contains(e.dom())}))},Is=function(t,e){var r=bo(e),o=Hs(r).bind((function(t){var n=function(e){return Wn(t,e)};return n(e)?y.some(e):Qn(e,n)})),i=t(e);return o.each((function(t){Hs(r).filter((function(e){return Wn(e,t)})).fold((function(){Ws(t)}),n)})),i},js=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right"],Xs=function(t,e,n){var r=function(t){return Ot(n,t).getOr([])},o=function(t,e,n){var o=$(js,n);return{offset:function(){return sa(t,e)},classesOn:function(){return U(n,r)},classesOff:function(){return U(o,r)}}};return{southeast:function(){return o(-t,e,["top","alignLeft"])},southwest:function(){return o(t,e,["top","alignRight"])},south:function(){return o(-t/2,e,["top","alignCentre"])},northeast:function(){return o(-t,-e,["bottom","alignLeft"])},northwest:function(){return o(t,-e,["bottom","alignRight"])},north:function(){return o(-t/2,-e,["bottom","alignCentre"])},east:function(){return o(t,-e/2,["valignCentre","left"])},west:function(){return o(-t,-e/2,["valignCentre","right"])},innerNorthwest:function(){return o(-t,e,["top","alignRight"])},innerNortheast:function(){return o(t,e,["top","alignLeft"])},innerNorth:function(){return o(-t/2,e,["top","alignCentre"])},innerSouthwest:function(){return o(-t,-e,["bottom","alignRight"])},innerSoutheast:function(){return o(t,-e,["bottom","alignLeft"])},innerSouth:function(){return o(-t/2,-e,["bottom","alignCentre"])},innerWest:function(){return o(t,-e/2,["valignCentre","right"])},innerEast:function(){return o(-t,-e/2,["valignCentre","left"])}}},Fs=function(){return Xs(0,0,{})},Us=vo(["x","y","width","height","maxHeight","maxWidth","direction","classes","label","candidateYforTest"],[]),Vs=po("position","left","top","right","bottom"),Gs=lt([{none:[]},{relative:["x","y","width","height"]},{fixed:["x","y","width","height"]}]),$s=function(t,e,n,r,o,i){var a=e.x()-n,s=e.y()-r,c=o-(a+e.width()),u=i-(s+e.height()),l=y.some(a),d=y.some(s),f=y.some(c),h=y.some(u),p=y.none();return function(t,e,n,r,o,i,a,s,c){return t.fold(e,n,r,o,i,a,s,c)}(e.direction(),(function(){return Vs(t,l,d,p,p)}),(function(){return Vs(t,p,d,f,p)}),(function(){return Vs(t,l,p,p,h)}),(function(){return Vs(t,p,p,f,h)}),(function(){return Vs(t,l,d,p,p)}),(function(){return Vs(t,l,p,p,h)}),(function(){return Vs(t,l,d,p,p)}),(function(){return Vs(t,p,d,f,p)}))},Ks=function(t,e){var n=a(ya,e),r=t.fold(n,n,(function(){var t=pa();return ya(e).translate(-t.left(),-t.top())})),o=ha(e),i=ia(e);return wa(r.left(),r.top(),o,i)},Js=function(t,e){return e.fold((function(){return t.fold(La,La,wa)}),(function(e){return t.fold(e,e,(function(){var n=e(),r=Qs(t,n.x(),n.y());return wa(r.left(),r.top(),n.width(),n.height())}))}))},Qs=function(t,e,n){var r=sa(e,n);return t.fold(o(r),o(r),(function(){var t=pa();return r.translate(-t.left(),-t.top())}))},Zs=Gs.relative,tc=Gs.fixed,ec=function(t,e){return function(n){return"rtl"===nc(n)?e:t}},nc=function(t){return"rtl"===Bi(t,"direction")?"rtl":"ltr"},rc=function(){return Ge("layouts",[Ne("onLtr"),Ne("onRtl")])},oc=function(t,e,n,r){var o=e.layouts.map((function(e){return e.onLtr(t)})).getOr(n),i=e.layouts.map((function(e){return e.onRtl(t)})).getOr(r);return ec(o,i)(t)},ic=[Ne("hotspot"),je("bubble"),$e("overrides",{}),rc(),Ka("placement",(function(t,e,n){var r=e.hotspot,o=Ks(n,r.element()),i=oc(t.element(),e,xs(),As());return y.some({anchorBox:o,bubble:e.bubble.getOr(Fs()),overrides:e.overrides,layouts:i,placer:y.none()})}))],ac=[Ne("x"),Ne("y"),$e("height",0),$e("width",0),$e("bubble",Fs()),$e("overrides",{}),rc(),Ka("placement",(function(t,e,n){var r=Qs(n,e.x,e.y),o=wa(r.left(),r.top(),e.width,e.height),i=oc(t.element(),e,[ms,gs,vs,bs,Ms,ys,_s,ws],[gs,ms,bs,vs,Ms,ys,_s,ws]);return y.some({anchorBox:o,bubble:e.bubble,overrides:e.overrides,layouts:i,placer:y.none()})}))],sc={create:po("start","soffset","finish","foffset")},cc=lt([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),uc=(cc.before,cc.on,cc.after,function(t){return t.fold(i,i,i)}),lc=lt([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),dc={domRange:lc.domRange,relative:lc.relative,exact:lc.exact,exactFromRange:function(t){return lc.exact(t.start(),t.soffset(),t.finish(),t.foffset())},getWin:function(t){var e=function(t){return t.match({domRange:function(t){return sn.fromDom(t.startContainer)},relative:function(t,e){return uc(t)},exact:function(t,e,n,r){return t}})}(t);return Mo(e)},range:sc.create},fc=function(t,e,n){var r,o=t.document.createRange();return r=o,e.fold((function(t){r.setStartBefore(t.dom())}),(function(t,e){r.setStart(t.dom(),e)}),(function(t){r.setStartAfter(t.dom())})),function(t,e){e.fold((function(e){t.setEndBefore(e.dom())}),(function(e,n){t.setEnd(e.dom(),n)}),(function(e){t.setEndAfter(e.dom())}))}(o,n),o},hc=function(t,e,n,r,o){var i=t.document.createRange();return i.setStart(e.dom(),n),i.setEnd(r.dom(),o),i},pc=function(t){return{left:o(t.left),top:o(t.top),right:o(t.right),bottom:o(t.bottom),width:o(t.width),height:o(t.height)}},mc=lt([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),gc=function(t,e,n){return e(sn.fromDom(n.startContainer),n.startOffset,sn.fromDom(n.endContainer),n.endOffset)},vc=function(t,e){return function(t,e){var n=e.ltr();return n.collapsed?e.rtl().filter((function(t){return!1===t.collapsed})).map((function(t){return mc.rtl(sn.fromDom(t.endContainer),t.endOffset,sn.fromDom(t.startContainer),t.startOffset)})).getOrThunk((function(){return gc(0,mc.ltr,n)})):gc(0,mc.ltr,n)}(0,function(t,e){return e.match({domRange:function(t){return{ltr:o(t),rtl:y.none}},relative:function(e,n){return{ltr:mt((function(){return fc(t,e,n)})),rtl:mt((function(){return y.some(fc(t,n,e))}))}},exact:function(e,n,r,o){return{ltr:mt((function(){return hc(t,e,n,r,o)})),rtl:mt((function(){return y.some(hc(t,r,o,e,n))}))}}})}(t,e))},bc=function(t,e,n){return e>=t.left&&e<=t.right&&n>=t.top&&n<=t.bottom};var yc=function(t,e){var n=function(e){return t(e)?y.from(e.dom().nodeValue):y.none()};return{get:function(r){if(!t(r))throw new Error("Can only get "+e+" value of a "+e+" node");return n(r).getOr("")},getOption:n,set:function(n,r){if(!t(n))throw new Error("Can only set raw "+e+" value of a "+e+" node");n.dom().nodeValue=r}}}(Un,"text"),Mc=function(t){return yc.get(t)},_c=function(t){return yc.getOption(t)},wc=function(t,e,n,r,o){var i=function(n){var r=t.dom().createRange();return r.setStart(e.dom(),n),r.collapse(!0),r},a=Mc(e).length,s=function(t,e,n,r,o){if(0===o)return 0;if(e===r)return o-1;for(var i=r,a=1;a<o;a++){var s=t(a),c=Math.abs(e-s.left);if(n<=s.bottom){if(n<s.top||c>i)return a-1;i=c}}return 0}((function(t){return i(t).getBoundingClientRect()}),n,r,o.right,a);return i(s)},xc=function(t,e,n,r){return Un(e)?function(t,e,n,r){var o=t.dom().createRange();o.selectNode(e.dom());var i=o.getClientRects();return Ea(i,(function(t){return bc(t,n,r)?y.some(t):y.none()})).map((function(o){return wc(t,e,n,r,o)}))}(t,e,n,r):function(t,e,n,r){var o=t.dom().createRange(),i=xo(e);return Ea(i,(function(e){return o.selectNode(e.dom()),bc(o.getBoundingClientRect(),n,r)?xc(t,e,n,r):y.none()}))}(t,e,n,r)},Ac=["img","br"],Lc=function(t){return _c(t).filter((function(t){return 0!==t.trim().length||t.indexOf(" ")>-1})).isSome()||B(Ac,jn(t))},Tc=function(t){return Qn(t,Lc)},kc=function(t){return Sc(t,Lc)},Sc=function(t,e){var n=function(t){for(var r=xo(t),o=r.length-1;o>=0;o--){var i=r[o];if(e(i))return y.some(i);var a=n(i);if(a.isSome())return a}return y.none()};return n(t)},Oc=function(t,e){return e-t.left<t.right-e},Cc=function(t,e,n){var r=t.dom().createRange();return r.selectNode(e.dom()),r.collapse(n),r},zc=function(t,e,n){var r=t.dom().createRange();r.selectNode(e.dom());var o=r.getBoundingClientRect(),i=Oc(o,n);return(!0===i?Tc:kc)(e).map((function(e){return Cc(t,e,i)}))},Dc=function(t,e,n){var r=e.dom().getBoundingClientRect(),o=Oc(r,n);return y.some(Cc(t,e,o))},Ec=function(t,e,n,r){var o=t.dom().createRange();o.selectNode(e.dom());var i=o.getBoundingClientRect();return function(t,e,n,r){var o=t.dom().createRange();o.selectNode(e.dom());var i=o.getBoundingClientRect(),a=Math.max(i.left,Math.min(i.right,n)),s=Math.max(i.top,Math.min(i.bottom,r));return xc(t,e,a,s)}(t,e,Math.max(i.left,Math.min(i.right,n)),Math.max(i.top,Math.min(i.bottom,r)))},Nc=(document.caretPositionFromPoint||document.caretRangeFromPoint,function(t,e){return Yn(e,t)}),Bc=function(t,e,n,r){var o=function(t,e,n,r){var o=bo(t).dom().createRange();return o.setStart(t.dom(),e),o.setEnd(n.dom(),r),o}(t,e,n,r),i=Wn(t,n)&&e===r;return o.collapsed&&!i},Pc=function(t){var e=sn.fromDom(t.anchorNode),n=sn.fromDom(t.focusNode);return Bc(e,t.anchorOffset,n,t.focusOffset)?y.some(sc.create(e,t.anchorOffset,n,t.focusOffset)):function(t){if(t.rangeCount>0){var e=t.getRangeAt(0),n=t.getRangeAt(t.rangeCount-1);return y.some(sc.create(sn.fromDom(e.startContainer),e.startOffset,sn.fromDom(n.endContainer),n.endOffset))}return y.none()}(t)},Rc=function(t,e){return function(t){var e=t.getClientRects(),n=e.length>0?e[0]:t.getBoundingClientRect();return n.width>0||n.height>0?y.some(n).map(pc):y.none()}(function(t,e){return vc(t,e).match({ltr:function(e,n,r,o){var i=t.document.createRange();return i.setStart(e.dom(),n),i.setEnd(r.dom(),o),i},rtl:function(e,n,r,o){var i=t.document.createRange();return i.setStart(r.dom(),o),i.setEnd(e.dom(),n),i}})}(t,e))},Yc=po("element","offset"),Wc=lt([{screen:["point"]},{absolute:["point","scrollLeft","scrollTop"]}]),Hc=function(t){return t.fold((function(t){return t}),(function(t,e,n){return t.translate(-e,-n)}))},qc=function(t){return t.fold((function(t){return t}),(function(t,e,n){return t}))},Ic=function(t){return I(t,(function(t,e){return t.translate(e.left(),e.top())}),sa(0,0))},jc=function(t){var e=Y(t,qc);return Ic(e)},Xc=Wc.screen,Fc=Wc.absolute,Uc=function(t,e,n){var r=bo(t.element()),o=pa(r),i=function(t,e,n){var r=Mo(n.root).dom();return y.from(r.frameElement).map(sn.fromDom).filter((function(e){var n=bo(e),r=bo(t.element());return Wn(n,r)})).map(ua)}(t,0,n).getOr(o);return Fc(i,o.left(),o.top())},Vc=function(t,e,n,r){var o=t,i=e,a=n,s=r;t<0&&(o=0,a=n+t),e<0&&(i=0,s=r+e);var c=Xc(sa(o,i));return y.some(Ma(c,a,s))},Gc=function(t,e,n,r,o){return t.map((function(t){var i,a,s,c=[e,t.point()],u=(i=function(){return jc(c)},a=function(){return jc(c)},s=function(){return function(t){var e=Y(t,Hc);return Ic(e)}(c)},r.fold(i,a,s)),l=_a(u.left(),u.top(),t.width(),t.height()),d=oc(o,n,n.showAbove?[vs,bs,ms,gs,ys,Ms]:[ms,gs,vs,bs,Ms,Ms],n.showAbove?[bs,vs,gs,ms,ys,Ms]:[gs,ms,bs,vs,Ms,ys]);return{anchorBox:l,bubble:n.bubble.getOr(Fs()),overrides:n.overrides,layouts:d,placer:y.none()}}))},$c=po("element","offset"),Kc=function(t,e){return Un(t)?$c(t,e):function(t,e){var n=xo(t);if(0===n.length)return Yc(t,e);if(e<n.length)return Yc(n[e],0);var r=n[n.length-1],o=Un(r)?Mc(r).length:xo(r).length;return Yc(r,o)}(t,e)},Jc=function(t,e){return e.getSelection.getOrThunk((function(){return function(){return function(t){return y.from(t.getSelection()).filter((function(t){return t.rangeCount>0})).bind(Pc)}(t)}}))().map((function(t){var e=Kc(t.start(),t.soffset()),n=Kc(t.finish(),t.foffset());return dc.range(e.element(),e.offset(),n.element(),n.offset())}))},Qc=[je("getSelection"),Ne("root"),je("bubble"),rc(),$e("overrides",{}),$e("showAbove",!1),Ka("placement",(function(t,e,n){var r=Mo(e.root).dom(),o=Uc(t,0,e),i=Jc(r,e).bind((function(t){return Rc(r,dc.exactFromRange(t)).orThunk((function(){var e=sn.fromText("\ufeff");return Lo(t.start(),e),Rc(r,dc.exact(e,0,e,1)).map((function(t){return zo(e),t}))})).bind((function(t){return Vc(t.left(),t.top(),t.width(),t.height())}))})),a=Jc(r,e).bind((function(t){return Fn(t.start())?y.some(t.start()):_o(t.start())})).getOr(t.element());return Gc(i,o,e,n,a)}))],Zc=[Ne("node"),Ne("root"),je("bubble"),rc(),$e("overrides",{}),$e("showAbove",!1),Ka("placement",(function(t,e,n){var r=Uc(t,0,e);return e.node.bind((function(o){var i=o.dom().getBoundingClientRect(),a=Vc(i.left,i.top,i.width,i.height),s=e.node.getOr(t.element());return Gc(a,r,e,n,s)}))}))],tu=function(t){return t.x()+t.width()},eu=function(t,e){return t.x()-e.width()},nu=function(t,e){return t.y()-e.height()+t.height()},ru=function(t){return t.y()},ou=function(t,e,n){return Za(tu(t),ru(t),n.southeast(),es(),"link-layout-se")},iu=function(t,e,n){return Za(eu(t,e),ru(t),n.southwest(),ns(),"link-layout-sw")},au=function(t,e,n){return Za(tu(t),nu(t,e),n.northeast(),rs(),"link-layout-ne")},su=function(t,e,n){return Za(eu(t,e),nu(t,e),n.northwest(),os(),"link-layout-nw")},cu=[Ne("item"),rc(),$e("overrides",{}),Ka("placement",(function(t,e,n){var r=Ks(n,e.item.element()),o=oc(t.element(),e,[ou,iu,au,su],[iu,ou,su,au]);return y.some({anchorBox:r,bubble:Fs(),overrides:e.overrides,layouts:o,placer:y.none()})}))],uu=Ae("anchor",{selection:Qc,node:Zc,hotspot:ic,submenu:cu,makeshift:ac}),lu=po("anchorBox","origin"),du=function(t,e){return lu(t,e)},fu=function(t,e,n,r){var o=t+e;return o>r?n:o<n?r:o},hu=function(t,e,n){return t<=e?e:t>=n?n:t},pu=lt([{fit:["reposition"]},{nofit:["reposition","deltaW","deltaH"]}]),mu=function(t,e,n,r){var i=t.x(),a=t.y(),s=t.bubble().offset().left(),c=t.bubble().offset().top(),u=r.y(),l=r.bottom(),d=r.x(),f=r.right(),h=a+c,p=function(t,e,n,r,o){var i=o.x(),a=o.y(),s=o.width(),c=o.height(),u=t>=i,l=e>=a,d=u&&l,f=t+n<=i+s&&e+r<=a+c,h=Math.abs(Math.min(n,u?i+s-t:i-(t+n))),p=Math.abs(Math.min(r,l?a+c-e:a-(e+r)));return{originInBounds:d,sizeInBounds:f,limitX:hu(t,o.x(),o.right()),limitY:hu(e,o.y(),o.bottom()),deltaW:h,deltaH:p}}(i+s,h,e,n,r),m=p.originInBounds,g=p.sizeInBounds,v=p.limitX,b=p.limitY,y=p.deltaW,M=p.deltaH,_=o(b+M-u),w=o(l-b),x=function(t,e,n,r){return t.fold(e,e,r,r,e,r,n,n)}(t.direction(),w,w,_),A=o(v+y-d),L=o(f-v),T=function(t,e,n,r){return t.fold(e,r,e,r,n,n,e,r)}(t.direction(),L,L,A),k=Us({x:v,y:b,width:y,height:M,maxHeight:x,maxWidth:T,direction:t.direction(),classes:{on:t.bubble().classesOn(),off:t.bubble().classesOff()},label:t.label(),candidateYforTest:h});return m&&g?pu.fit(k):pu.nofit(k,y,M)},gu=function(t,e,n,r){Wi(e,"max-height"),Wi(e,"max-width");var s,c={width:o(ha(s=e)),height:o(ia(s))};return function(t,e,n,r,o){var s=n.width(),c=n.height(),u=function(t,i,a,u){var l=t(e,n,r);return mu(l,s,c,o).fold(pu.fit,(function(t,e,n){return n>u||e>a?pu.nofit(t,e,n):pu.nofit(i,a,u)}))};return I(t,(function(t,e){var n=a(u,e);return t.fold(pu.fit,n)}),pu.nofit(Us({x:e.x(),y:e.y(),width:n.width(),height:n.height(),maxHeight:n.height(),maxWidth:n.width(),direction:es(),classes:{on:[],off:[]},label:"none",candidateYforTest:e.y()}),-1,-1)).fold(i,i)}(r.preference(),t,c,n,r.bounds())},vu=function(t,e,n){var r=function(t){return t+"px"},o=function(t,e){return t.fold((function(){return Vs("absolute",y.some(e.x()),y.some(e.y()),y.none(),y.none())}),(function(t,n,r,o){return $s("absolute",e,t,n,r,o)}),(function(t,n,r,o){return $s("fixed",e,t,n,r,o)}))}(n.origin(),e);!function(t,e){var n=t.dom();nt(e,(function(t,e){t.fold((function(){Di(n,e)}),(function(t){zi(n,e,t)}))}))}(t,{position:y.some(o.position()),left:o.left().map(r),top:o.top().map(r),right:o.right().map(r),bottom:o.bottom().map(r)})},bu=function(t,e){!function(t,e){var n=ra.max(t,e,["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"]);Ei(t,"max-height",n+"px")}(t,Math.floor(e))},yu=o((function(t,e){bu(t,e),Ni(t,{"overflow-x":"hidden","overflow-y":"auto"})})),Mu=o((function(t,e){bu(t,e)})),_u=vo(["bounds","origin","preference","maxHeightFunction","maxWidthFunction"],[]),wu=function(t,e,n){return void 0===t[e]?n:t[e]},xu=function(t,e,n,r){var o=gu(t,e,n,r);vu(e,o,r),function(t,e){var n=e.classes();Oi(t,n.off),Si(t,n.on)}(e,o),function(t,e,n){n.maxHeightFunction()(t,e.maxHeight())}(e,o,r),function(t,e,n){n.maxWidthFunction()(t,e.maxWidth())}(e,o,r)},Au=function(t,e,r,o,i){!function(t,e,r,o,i,a){var s=wu(a,"maxHeightFunction",yu()),c=wu(a,"maxWidthFunction",n),u=t.anchorBox(),l=t.origin(),d=_u({bounds:Js(l,i),origin:l,preference:o,maxHeightFunction:s,maxWidthFunction:c});xu(u,e,r,d)}(du(r.anchorBox,e),i.element(),r.bubble,r.layouts,o,r.overrides)},Lu=function(t,e,n,r,o,i){var a=i.map(xa);return Tu(t,e,n,r,o,a)},Tu=function(t,n,r,i,a,s){var c=_e("positioning anchor.info",uu,i);Is((function(){Ei(a.element(),"position","fixed");var r=Ri(a.element(),"visibility");Ei(a.element(),"visibility","hidden");var i,u=n.useFixed()?(i=e.document.documentElement,tc(0,0,i.clientWidth,i.clientHeight)):function(t){var e=ua(t.element()),n=t.element().dom().getBoundingClientRect();return Zs(e.left(),e.top(),n.width,n.height)}(t),l=c.placement,d=s.map(o).or(n.getBounds);l(t,c,u).each((function(e){e.placer.getOr(Au)(t,u,e,d,a)})),r.fold((function(){Wi(a.element(),"visibility")}),(function(t){Ei(a.element(),"visibility",t)})),Ri(a.element(),"left").isNone()&&Ri(a.element(),"top").isNone()&&Ri(a.element(),"right").isNone()&&Ri(a.element(),"bottom").isNone()&&Ri(a.element(),"position").is("fixed")&&Wi(a.element(),"position")}),a.element())},ku=Object.freeze({position:function(t,e,n,r,o){Lu(t,e,n,r,o,y.none())},positionWithin:Lu,positionWithinBounds:Tu,getMode:function(t,e,n){return e.useFixed()?"fixed":"absolute"}}),Su=[$e("useFixed",u),je("getBounds")],Ou=zs({fields:Su,name:"positioning",active:Ys,apis:ku}),Cu=function(t){Ur(t,Rr());var e=t.components();W(e,Cu)},zu=function(t){var e=t.components();W(e,zu),Ur(t,Pr())},Du=function(t,e){So(t.element(),e.element())},Eu=function(t,e){var n=t.components();!function(t){W(t.components(),(function(t){return zo(t.element())})),Co(t.element()),t.syncComponents()}(t);var r=$(n,e);W(r,(function(e){Cu(e),t.getSystem().removeFromWorld(e)})),W(e,(function(e){e.getSystem().isConnected()?Du(t,e):(t.getSystem().addToWorld(e),Du(t,e),Vn(t.element())&&zu(e)),t.syncComponents()}))},Nu=function(t,e){Bu(t,e,So)},Bu=function(t,e,n){t.getSystem().addToWorld(e),n(t.element(),e.element()),Vn(t.element())&&zu(e),t.syncComponents()},Pu=function(t){Cu(t),zo(t.element()),t.getSystem().removeFromWorld(t)},Ru=function(t){var e=_o(t.element()).bind((function(e){return t.getSystem().getByDom(e).toOption()}));Pu(t),e.each((function(t){t.syncComponents()}))},Yu=function(t){var e=t.components();W(e,Pu),Co(t.element()),t.syncComponents()},Wu=function(t,e){Hu(t,e,So)},Hu=function(t,e,n){n(t,e.element());var r=xo(e.element());W(r,(function(t){e.getByDom(t).each(zu)}))},qu=function(t){var e=xo(t.element());W(e,(function(e){t.getByDom(e).each(Cu)})),zo(t.element())},Iu=function(t,e,n,r){n.get().each((function(e){Yu(t)}));var o=e.getAttachPoint(t);Nu(o,t);var i=t.getSystem().build(r);return Nu(t,i),n.set(i),i},ju=function(t,e,n,r){var o=Iu(t,e,n,r);return e.onOpen(t,o),o},Xu=function(t,e,n){n.get().each((function(r){Yu(t),Ru(t),e.onClose(t,r),n.clear()}))},Fu=function(t,e,n){return n.isOpen()},Uu=function(t,e,n){var r=e.getAttachPoint(t);Ei(t.element(),"position",Ou.getMode(r)),function(t,e,n,r){Ri(t.element(),e).fold((function(){Wo(t.element(),n)}),(function(e){Po(t.element(),n,e)})),Ei(t.element(),e,r)}(t,"visibility",e.cloakVisibilityAttr,"hidden")},Vu=function(t,e,n){(function(t){return P(["top","left","right","bottom"],(function(e){return Ri(t,e).isSome()}))})(t.element())||Wi(t.element(),"position"),function(t,e,n){if(Yo(t.element(),n)){var r=Ro(t.element(),n);Ei(t.element(),e,r)}else Wi(t.element(),e)}(t,"visibility",e.cloakVisibilityAttr)},Gu=Object.freeze({cloak:Uu,decloak:Vu,open:ju,openWhileCloaked:function(t,e,n,r,o){Uu(t,e),ju(t,e,n,r),o(),Vu(t,e)},close:Xu,isOpen:Fu,isPartOf:function(t,e,n,r){return Fu(0,0,n)&&n.get().exists((function(n){return e.isPartOf(t,n,r)}))},getState:function(t,e,n){return n.get()},setContent:function(t,e,n,r){return n.get().map((function(){return Iu(t,e,n,r)}))}}),$u=Object.freeze({events:function(t,e){return Qr([eo(Or(),(function(n,r){Xu(n,t,e)}))])}}),Ku=[Ua("onOpen"),Ua("onClose"),Ne("isPartOf"),Ne("getAttachPoint"),$e("cloakVisibilityAttr","data-precloak-visibility")],Ju=zs({fields:Ku,name:"sandboxing",active:$u,apis:Gu,state:Object.freeze({init:function(){var t=on(y.none()),e=o("not-implemented");return ui({readState:e,isOpen:function(){return t.get().isSome()},clear:function(){t.set(y.none())},set:function(e){t.set(y.some(e))},get:function(e){return t.get()}})}})}),Qu=o("dismiss.popups"),Zu=o("reposition.popups"),tl=o("mouse.released"),el=ie([$e("isExtraPart",o(!1)),Ge("fireEventInstead",[$e("event",Yr())])]),nl=function(t){var e,n=_e("Dismissal",el,t);return(e={})[Qu()]={schema:ie([Ne("target")]),onReceive:function(t,e){Ju.isOpen(t)&&(Ju.isPartOf(t,e.target)||n.isExtraPart(t,e.target)||n.fireEventInstead.fold((function(){return Ju.close(t)}),(function(e){return Ur(t,e.event)})))}},e},rl=ie([$e("isExtraPart",o(!1)),Ge("fireEventInstead",[$e("event",Wr())]),We("doReposition")]),ol=function(t){var e,n=_e("Reposition",rl,t);return(e={})[Zu()]={onReceive:function(t){Ju.isOpen(t)&&n.fireEventInstead.fold((function(){return n.doReposition(t)}),(function(e){return Ur(t,e.event)}))}},e},il=function(t,e,n){e.store.manager.onLoad(t,e,n)},al=function(t,e,n){e.store.manager.onUnload(t,e,n)},sl=Object.freeze({onLoad:il,onUnload:al,setValue:function(t,e,n,r){e.store.manager.setValue(t,e,n,r)},getValue:function(t,e,n){return e.store.manager.getValue(t,e,n)},getState:function(t,e,n){return n}}),cl=Object.freeze({events:function(t,e){var n=t.resetOnDom?[uo((function(n,r){il(n,t,e)})),lo((function(n,r){al(n,t,e)}))]:[Ls(t,e,il)];return Qr(n)}}),ul=function(){var t=on(null);return ui({set:t.set,get:t.get,isNotSet:function(){return null===t.get()},clear:function(){t.set(null)},readState:function(){return{mode:"memory",value:t.get()}}})},ll=function(){var t=on({}),e=on({});return ui({readState:function(){return{mode:"dataset",dataByValue:t.get(),dataByText:e.get()}},lookup:function(n){return Ot(t.get(),n).orThunk((function(){return Ot(e.get(),n)}))},update:function(n){var r=t.get(),o=e.get(),i={},a={};W(n,(function(t){i[t.value]=t,Ot(t,"meta").each((function(e){Ot(e,"text").each((function(e){a[e]=t}))}))})),t.set(f(f({},r),i)),e.set(f(f({},o),a))},clear:function(){t.set({}),e.set({})}})},dl=Object.freeze({memory:ul,dataset:ll,manual:function(){return ui({readState:function(){}})},init:function(t){return t.store.manager.state(t)}}),fl=function(t,e,n,r){var o=e.store;n.update([r]),o.setValue(t,r),e.onSetValue(t,r)},hl=[je("initialValue"),Ne("getFallbackEntry"),Ne("getDataKey"),Ne("setValue"),Ka("manager",{setValue:fl,getValue:function(t,e,n){var r=e.store,o=r.getDataKey(t);return n.lookup(o).fold((function(){return r.getFallbackEntry(o)}),(function(t){return t}))},onLoad:function(t,e,n){e.store.initialValue.each((function(r){fl(t,e,n,r)}))},onUnload:function(t,e,n){n.clear()},state:ll})],pl=[Ne("getValue"),$e("setValue",n),je("initialValue"),Ka("manager",{setValue:function(t,e,n,r){e.store.setValue(t,r),e.onSetValue(t,r)},getValue:function(t,e,n){return e.store.getValue(t)},onLoad:function(t,e,n){e.store.initialValue.each((function(n){e.store.setValue(t,n)}))},onUnload:n,state:ci.init})],ml=[je("initialValue"),Ka("manager",{setValue:function(t,e,n,r){n.set(r),e.onSetValue(t,r)},getValue:function(t,e,n){return n.get()},onLoad:function(t,e,n){e.store.initialValue.each((function(t){n.isNotSet()&&n.set(t)}))},onUnload:function(t,e,n){n.clear()},state:ul})],gl=[Ke("store",{mode:"memory"},Ae("mode",{memory:ml,manual:pl,dataset:hl})),Ua("onSetValue"),$e("resetOnDom",!1)],vl=zs({fields:gl,name:"representing",active:cl,apis:sl,extra:{setValueFrom:function(t,e){var n=vl.getValue(e);vl.setValue(t,n)}},state:dl}),bl=function(t,e){return nn(t,{},Y(e,(function(e){return n=e.name(),r="Cannot configure "+e.name()+" for "+t,fe(n,n,Mt(),re((function(t){return qt("The field: "+n+" is forbidden. "+r)})));var n,r})).concat([rn("dump",i)]))},yl=function(t){return t.dump},Ml=function(t,e){return f(f({},t.dump),Os(e))},_l=bl,wl=Ml,xl=lt([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),Al=function(t,e,n,r){return"placeholder"===n.uiType?function(t,e,n,r){return t.exists((function(t){return t!==n.owner}))?xl.single(!0,o(n)):Ot(r,n.name).fold((function(){throw new Error("Unknown placeholder component: "+n.name+"\nKnown: ["+tt(r)+"]\nNamespace: "+t.getOr("none")+"\nSpec: "+JSON.stringify(n,null,2))}),(function(t){return t.replace()}))}(t,0,n,r):xl.single(!1,o(n))},Ll=function(t,e,n,r){return Al(t,0,n,r).fold((function(o,i){var a=i(e,n.config,n.validated),s=Ot(a,"components").getOr([]),c=U(s,(function(n){return Ll(t,e,n,r)}));return[f(f({},a),{components:c})]}),(function(t,r){var o=r(e,n.config,n.validated);return n.validated.preprocess.getOr(i)(o)}))},Tl=function(t,e,n,r){var i=rt(r,(function(t,e){return r=t,i=!1,{name:o(n=e),required:function(){return r.fold((function(t,e){return t}),(function(t,e){return t}))},used:function(){return i},replace:function(){if(!0===i)throw new Error("Trying to use the same placeholder more than once: "+n);return i=!0,r}};var n,r,i})),a=function(t,e,n,r){return U(n,(function(n){return Ll(t,e,n,r)}))}(t,e,n,i);return nt(i,(function(n){if(!1===n.used()&&n.required())throw new Error("Placeholder: "+n.name()+" was not found in components list\nNamespace: "+t.getOr("none")+"\nComponents: "+JSON.stringify(e.components,null,2))})),a},kl=xl.single,Sl=xl.multiple,Ol=o("placeholder"),Cl=lt([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),zl=$e("factory",{sketch:i}),Dl=$e("schema",[]),El=Ne("name"),Nl=fe("pname","pname",_t((function(t){return"<alloy."+Uo(t.name)+">"})),Le()),Bl=rn("schema",(function(){return[je("preprocess")]})),Pl=$e("defaults",o({})),Rl=$e("overrides",o({})),Yl=ae([zl,Dl,El,Nl,Pl,Rl]),Wl=ae([zl,Dl,El,Pl,Rl]),Hl=ae([zl,Dl,El,Nl,Pl,Rl]),ql=ae([zl,Bl,El,Ne("unit"),Nl,Pl,Rl]),Il=function(t){return t.fold(y.some,y.none,y.some,y.some)},jl=function(t){var e=function(t){return t.name};return t.fold(e,e,e,e)},Xl=function(t,e){return function(n){var r=_e("Converting part type",e,n);return t(r)}},Fl=Xl(Cl.required,Yl),Ul=Xl(Cl.external,Wl),Vl=Xl(Cl.optional,Hl),Gl=Xl(Cl.group,ql),$l=o("entirety"),Kl=Object.freeze({required:Fl,external:Ul,optional:Vl,group:Gl,asNamedPart:Il,name:jl,asCommon:function(t){return t.fold(i,i,i,i)},original:$l}),Jl=function(t,e,n,r){return ht(e.defaults(t,n,r),n,{uid:t.partUids[e.name]},e.overrides(t,n,r))},Ql=function(t,e){var n={};return W(e,(function(e){Il(e).each((function(e){var r=Zl(t,e.pname);n[e.name]=function(n){var o=_e("Part: "+e.name+" in "+t,ae(e.schema),n);return f(f({},r),{config:n,validated:o})}}))})),n},Zl=function(t,e){return{uiType:Ol(),owner:t,name:e}},td=function(t,e,n){return{uiType:Ol(),owner:t,name:e,config:n,validated:{}}},ed=function(t){return U(t,(function(t){return t.fold(y.none,y.some,y.none,y.none).map((function(t){return He(t.name,t.schema.concat([Ja($l())]))})).toArray()}))},nd=function(t){return Y(t,jl)},rd=function(t,e,n){return function(t,e,n){var r={},i={};return W(n,(function(t){t.fold((function(t){r[t.pname]=kl(!0,(function(e,n,r){return t.factory.sketch(Jl(e,t,n,r))}))}),(function(t){var n=e.parts[t.name];i[t.name]=o(t.factory.sketch(Jl(e,t,n[$l()]),n))}),(function(t){r[t.pname]=kl(!1,(function(e,n,r){return t.factory.sketch(Jl(e,t,n,r))}))}),(function(t){r[t.pname]=Sl(!0,(function(e,n,r){var o=e[t.name];return Y(o,(function(n){return t.factory.sketch(ht(t.defaults(e,n,r),n,t.overrides(e,n)))}))}))}))})),{internals:o(r),externals:o(i)}}(0,e,n)},od=function(t,e,n){return Tl(y.some(t),e,e.components,n)},id=function(t,e,n){var r=e.partUids[n];return t.getSystem().getByUid(r).toOption()},ad=function(t,e,n){return id(t,e,n).getOrDie("Could not find part: "+n)},sd=function(t,e,n){var r={},i=e.partUids,a=t.getSystem();return W(n,(function(t){r[t]=o(a.getByUid(i[t]))})),r},cd=function(t,e){var n=t.getSystem();return rt(e.partUids,(function(t,e){return o(n.getByUid(t))}))},ud=function(t){return tt(t.partUids)},ld=function(t,e,n){var r={},i=e.partUids,a=t.getSystem();return W(n,(function(t){r[t]=o(a.getByUid(i[t]).getOrDie())})),r},dd=function(t,e){var n=nd(e);return zt(Y(n,(function(e){return{key:e,value:t+"-"+e}})))},fd=function(t){return fe("partUids","partUids",wt((function(e){return dd(e.uid,t)})),Le())},hd=Object.freeze({generate:Ql,generateOne:td,schemas:ed,names:nd,substitutes:rd,components:od,defaultUids:dd,defaultUidsSchema:fd,getAllParts:cd,getAllPartNames:ud,getPart:id,getPartOrDie:ad,getParts:sd,getPartsOrDie:ld}),pd=function(t,e,n,r,o){var i=function(t,e){return(t.length>0?[He("parts",t)]:[]).concat([Ne("uid"),$e("dom",{}),$e("components",[]),Ja("originalSpec"),$e("debug.sketcher",{})]).concat(e)}(r,o);return _e(t+" [SpecSchema]",ie(i.concat(e)),n)},md=function(t,e,n,r,o){var i=gd(o),a=ed(n),s=fd(n),c=pd(t,e,i,a,[s]),u=rd(0,c,n);return r(c,od(t,c,u.internals()),i,u.externals())},gd=function(t){return t.hasOwnProperty("uid")?t:f(f({},t),{uid:Zo("uid")})};var vd,bd=ie([Ne("name"),Ne("factory"),Ne("configFields"),$e("apis",{}),$e("extraApis",{})]),yd=ie([Ne("name"),Ne("factory"),Ne("configFields"),Ne("partFields"),$e("apis",{}),$e("extraApis",{})]),Md=function(t){var e=_e("Sketcher for "+t.name,bd,t),n=rt(e.apis,si),r=rt(e.extraApis,(function(t,e){return oi(t,e)}));return f(f({name:o(e.name),partFields:o([]),configFields:o(e.configFields),sketch:function(t){return function(t,e,n,r){var o=gd(r);return n(pd(t,e,o,[],[]),o)}(e.name,e.configFields,e.factory,t)}},n),r)},_d=function(t){var e=_e("Sketcher for "+t.name,yd,t),n=Ql(e.name,e.partFields),r=rt(e.apis,si),i=rt(e.extraApis,(function(t,e){return oi(t,e)}));return f(f({name:o(e.name),partFields:o(e.partFields),configFields:o(e.configFields),sketch:function(t){return md(e.name,e.configFields,e.partFields,e.factory,t)},parts:o(n)},r),i)},wd=function(t){return"input"===jn(t)&&"radio"!==Ro(t,"type")||"textarea"===jn(t)},xd=Object.freeze({getCurrent:function(t,e,n){return e.find(t)}}),Ad=[Ne("find")],Ld=zs({fields:Ad,name:"composing",apis:xd}),Td=function(t,e,n,r){var o=Nc(t.element(),"."+e.highlightClass);W(o,(function(n){P(r,(function(t){return t.element()===n}))||(Ti(n,e.highlightClass),t.getSystem().getByDom(n).each((function(n){e.onDehighlight(t,n),Ur(n,Fr())})))}))},kd=function(t,e,n,r){Td(t,e,0,[r]),Sd(t,e,n,r)||(Ai(r.element(),e.highlightClass),e.onHighlight(t,r),Ur(r,Xr()))},Sd=function(t,e,n,r){return ki(r.element(),e.highlightClass)},Od=function(t,e,n,r){var o=Nc(t.element(),"."+e.itemClass);return y.from(o[r]).fold((function(){return w.error("No element found with index "+r)}),t.getSystem().getByDom)},Cd=function(t,e,n){return ka(t.element(),"."+e.itemClass).bind((function(e){return t.getSystem().getByDom(e).toOption()}))},zd=function(t,e,n){var r=Nc(t.element(),"."+e.itemClass);return(r.length>0?y.some(r[r.length-1]):y.none()).bind((function(e){return t.getSystem().getByDom(e).toOption()}))},Dd=function(t,e,n,r){var o=Nc(t.element(),"."+e.itemClass);return X(o,(function(t){return ki(t,e.highlightClass)})).bind((function(e){var n=fu(e,r,0,o.length-1);return t.getSystem().getByDom(o[n]).toOption()}))},Ed=function(t,e,n){var r=Nc(t.element(),"."+e.itemClass);return Da(Y(r,(function(e){return t.getSystem().getByDom(e).toOption()})))},Nd=Object.freeze({dehighlightAll:function(t,e,n){return Td(t,e,0,[])},dehighlight:function(t,e,n,r){Sd(t,e,n,r)&&(Ti(r.element(),e.highlightClass),e.onDehighlight(t,r),Ur(r,Fr()))},highlight:kd,highlightFirst:function(t,e,n){Cd(t,e).each((function(r){kd(t,e,n,r)}))},highlightLast:function(t,e,n){zd(t,e).each((function(r){kd(t,e,n,r)}))},highlightAt:function(t,e,n,r){Od(t,e,n,r).fold((function(t){throw new Error(t)}),(function(r){kd(t,e,n,r)}))},highlightBy:function(t,e,n,r){var o=Ed(t,e);j(o,r).each((function(r){kd(t,e,n,r)}))},isHighlighted:Sd,getHighlighted:function(t,e,n){return ka(t.element(),"."+e.highlightClass).bind((function(e){return t.getSystem().getByDom(e).toOption()}))},getFirst:Cd,getLast:zd,getPrevious:function(t,e,n){return Dd(t,e,0,-1)},getNext:function(t,e,n){return Dd(t,e,0,1)},getCandidates:Ed}),Bd=[Ne("highlightClass"),Ne("itemClass"),Ua("onHighlight"),Ua("onDehighlight")],Pd=zs({fields:Bd,name:"highlighting",apis:Nd}),Rd=function(t,e,n){var r=G(t.slice(0,e)),o=G(t.slice(e+1));return j(r.concat(o),n)},Yd=function(t,e,n){var r=G(t.slice(0,e));return j(r,n)},Wd=function(t,e,n){var r=t.slice(0,e),o=t.slice(e+1);return j(o.concat(r),n)},Hd=function(t,e,n){var r=t.slice(e+1);return j(r,n)},qd=function(t){return function(e){var n=e.raw();return B(t,n.which)}},Id=function(t){return function(e){return V(t,(function(t){return t(e)}))}},jd=function(t){return!0===t.raw().shiftKey},Xd=function(t){return!0===t.raw().ctrlKey},Fd=s(jd),Ud=function(t,e){return{matches:t,classification:e}},Vd=function(t,e,n){e.exists((function(t){return n.exists((function(e){return Wn(e,t)}))}))||Vr(t,Hr(),{prevFocus:e,newFocus:n})},Gd=function(){var t=function(t){return qs(t.element())};return{get:t,set:function(e,n){var r=t(e);e.getSystem().triggerFocus(n,e.element());var o=t(e);Vd(e,r,o)}}},$d=function(){var t=function(t){return Pd.getHighlighted(t).map((function(t){return t.element()}))};return{get:t,set:function(e,r){var o=t(e);e.getSystem().getByDom(r).fold(n,(function(t){Pd.highlight(e,t)}));var i=t(e);Vd(e,o,i)}}};!function(t){t.OnFocusMode="onFocus",t.OnEnterOrSpaceMode="onEnterOrSpace",t.OnApiMode="onApi"}(vd||(vd={}));var Kd,Jd=function(t,e,n,r,o){var i=function(t,e,n,r,o){var i,a,s=n(t,e,r,o);return(i=s,a=e.event(),j(i,(function(t){return t.matches(a)})).map((function(t){return t.classification}))).bind((function(n){return n(t,e,r,o)}))},a={schema:function(){return t.concat([$e("focusManager",Gd()),Ke("focusInside","onFocus",ve((function(t){return B(["onFocus","onEnterOrSpace","onApi"],t)?w.value(t):w.error("Invalid value for focusInside")}))),Ka("handler",a),Ka("state",e),Ka("sendFocusIn",o)])},processKey:i,toEvents:function(t,e){var a=t.focusInside!==vd.OnFocusMode?y.none():o(t).map((function(n){return eo(_r(),(function(r,o){n(r,t,e),o.stop()}))}));return Qr(a.toArray().concat([eo(hr(),(function(r,a){i(r,a,n,t,e).fold((function(){!function(n,r){var i=qd([32].concat([13]))(r.event());t.focusInside===vd.OnEnterOrSpaceMode&&i&&qn(n,r)&&o(t).each((function(o){o(n,t,e),r.stop()}))}(r,a)}),(function(t){a.stop()}))})),eo(pr(),(function(n,o){i(n,o,r,t,e).each((function(t){o.stop()}))}))]))}};return a},Qd=function(t){var e=[je("onEscape"),je("onEnter"),$e("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),$e("firstTabstop",0),$e("useTabstopAt",o(!0)),je("visibilitySelector")].concat([t]),n=function(t,e){var n=t.visibilitySelector.bind((function(t){return Sa(e,t)})).getOr(e);return oa(n)>0},r=function(t,e){(function(t,e){var r=Nc(t.element(),e.selector),o=H(r,(function(t){return n(e,t)}));return y.from(o[e.firstTabstop])})(t,e).each((function(n){e.focusManager.set(t,n)}))},i=function(t,e,r,o,i){return i(e,r,(function(t){return function(t,e){return n(t,e)&&t.useTabstopAt(e)}(o,t)})).fold((function(){return o.cyclic?y.some(!0):y.none()}),(function(e){return o.focusManager.set(t,e),y.some(!0)}))},s=function(t,e,n,r){var o=Nc(t.element(),n.selector);return function(t,e){return e.focusManager.get(t).bind((function(t){return Sa(t,e.selector)}))}(t,n).bind((function(e){return X(o,a(Wn,e)).bind((function(e){return i(t,o,e,n,r)}))}))},c=o([Ud(Id([jd,qd([9])]),(function(t,e,n,r){var o=n.cyclic?Rd:Yd;return s(t,0,n,o)})),Ud(qd([9]),(function(t,e,n,r){var o=n.cyclic?Wd:Hd;return s(t,0,n,o)})),Ud(qd([27]),(function(t,e,n,r){return n.onEscape.bind((function(n){return n(t,e)}))})),Ud(Id([Fd,qd([13])]),(function(t,e,n,r){return n.onEnter.bind((function(n){return n(t,e)}))}))]),u=o([]);return Jd(e,ci.init,c,u,(function(){return y.some(r)}))},Zd=Qd(rn("cyclic",o(!1))),tf=Qd(rn("cyclic",o(!0))),ef=function(t,e,n){return wd(n)&&qd([32])(e.event())?y.none():function(t,e,n){return $r(t,n,Lr()),y.some(!0)}(t,0,n)},nf=function(t,e){return y.some(!0)},rf=[$e("execute",ef),$e("useSpace",!1),$e("useEnter",!0),$e("useControlEnter",!1),$e("useDown",!1)],of=function(t,e,n){return n.execute(t,e,t.element())},af=Jd(rf,ci.init,(function(t,e,n,r){var o=n.useSpace&&!wd(t.element())?[32]:[],i=n.useEnter?[13]:[],a=n.useDown?[40]:[],s=o.concat(i).concat(a);return[Ud(qd(s),of)].concat(n.useControlEnter?[Ud(Id([Xd,qd([13])]),of)]:[])}),(function(t,e,n,r){return n.useSpace&&!wd(t.element())?[Ud(qd([32]),nf)]:[]}),(function(){return y.none()})),sf=function(t){var e=on(y.none());return ui({readState:function(){return e.get().map((function(t){return{numRows:t.numRows(),numColumns:t.numColumns()}})).getOr({numRows:"?",numColumns:"?"})},setGridSize:function(t,n){e.set(y.some({numRows:o(t),numColumns:o(n)}))},getNumRows:function(){return e.get().map((function(t){return t.numRows()}))},getNumColumns:function(){return e.get().map((function(t){return t.numColumns()}))}})},cf=Object.freeze({flatgrid:sf,init:function(t){return t.state(t)}}),uf=function(t){return function(e,n,r,o){var i=t(e.element());return hf(i,e,n,r,o)}},lf=function(t,e){var n=ec(t,e);return uf(n)},df=function(t,e){var n=ec(e,t);return uf(n)},ff=function(t){return function(e,n,r,o){return hf(t,e,n,r,o)}},hf=function(t,e,n,r,o){return r.focusManager.get(e).bind((function(n){return t(e.element(),n,r,o)})).map((function(t){return r.focusManager.set(e,t),!0}))},pf=ff,mf=ff,gf=ff,vf=function(t){return!function(t){return t.offsetWidth<=0&&t.offsetHeight<=0}(t.dom())},bf=vo(["index","candidates"],[]),yf=function(t,e,n){var r=a(Wn,e),o=Nc(t,n);return function(t,e){return X(t,e).map((function(e){return bf({index:e,candidates:t})}))}(H(o,vf),r)},Mf=function(t,e){return X(t,(function(t){return Wn(e,t)}))},_f=function(t,e,n,r){return r(Math.floor(e/n),e%n).bind((function(e){var r=e.row()*n+e.column();return r>=0&&r<t.length?y.some(t[r]):y.none()}))},wf=function(t,e,n,r,i){return _f(t,e,r,(function(e,a){var s=e===n-1?t.length-e*r:r,c=fu(a,i,0,s-1);return y.some({row:o(e),column:o(c)})}))},xf=function(t,e,n,r,i){return _f(t,e,r,(function(e,a){var s=fu(e,i,0,n-1),c=s===n-1?t.length-s*r:r,u=hu(a,0,c-1);return y.some({row:o(s),column:o(u)})}))},Af=[Ne("selector"),$e("execute",ef),Va("onEscape"),$e("captureTab",!1),Qa()],Lf=function(t,e,n){ka(t.element(),e.selector).each((function(n){e.focusManager.set(t,n)}))},Tf=function(t){return function(e,n,r,o){return yf(e,n,r.selector).bind((function(e){return t(e.candidates(),e.index(),o.getNumRows().getOr(r.initSize.numRows),o.getNumColumns().getOr(r.initSize.numColumns))}))}},kf=function(t,e,n,r){return n.captureTab?y.some(!0):y.none()},Sf=Tf((function(t,e,n,r){return wf(t,e,n,r,-1)})),Of=Tf((function(t,e,n,r){return wf(t,e,n,r,1)})),Cf=Tf((function(t,e,n,r){return xf(t,e,n,r,-1)})),zf=Tf((function(t,e,n,r){return xf(t,e,n,r,1)})),Df=o([Ud(qd([37]),lf(Sf,Of)),Ud(qd([39]),df(Sf,Of)),Ud(qd([38]),pf(Cf)),Ud(qd([40]),mf(zf)),Ud(Id([jd,qd([9])]),kf),Ud(Id([Fd,qd([9])]),kf),Ud(qd([27]),(function(t,e,n,r){return n.onEscape(t,e)})),Ud(qd([32].concat([13])),(function(t,e,n,r){return function(t,e){return e.focusManager.get(t).bind((function(t){return Sa(t,e.selector)}))}(t,n).bind((function(r){return n.execute(t,e,r)}))}))]),Ef=o([Ud(qd([32]),nf)]),Nf=Jd(Af,sf,Df,Ef,(function(){return y.some(Lf)})),Bf=function(t,e,n,r){var o=function(t,e,n){var i,a=fu(e,r,0,n.length-1);return a===t?y.none():(i=n[a],"button"===jn(i)&&"disabled"===Ro(i,"disabled")?o(t,a,n):y.from(n[a]))};return yf(t,n,e).bind((function(t){var e=t.index(),n=t.candidates();return o(e,e,n)}))},Pf=[Ne("selector"),$e("getInitial",y.none),$e("execute",ef),Va("onEscape"),$e("executeOnMove",!1),$e("allowVertical",!0)],Rf=function(t,e,n){return function(t,e){return e.focusManager.get(t).bind((function(t){return Sa(t,e.selector)}))}(t,n).bind((function(r){return n.execute(t,e,r)}))},Yf=function(t,e){e.getInitial(t).orThunk((function(){return ka(t.element(),e.selector)})).each((function(n){e.focusManager.set(t,n)}))},Wf=function(t,e,n){return Bf(t,n.selector,e,-1)},Hf=function(t,e,n){return Bf(t,n.selector,e,1)},qf=function(t){return function(e,n,r){return t(e,n,r).bind((function(){return r.executeOnMove?Rf(e,n,r):y.some(!0)}))}},If=function(t,e,n,r){return n.onEscape(t,e)},jf=o([Ud(qd([32]),nf)]),Xf=Jd(Pf,ci.init,(function(t,e,n,r){var o=[37].concat(n.allowVertical?[38]:[]),i=[39].concat(n.allowVertical?[40]:[]);return[Ud(qd(o),qf(lf(Wf,Hf))),Ud(qd(i),qf(df(Wf,Hf))),Ud(qd([13]),Rf),Ud(qd([32]),Rf),Ud(qd([27]),If)]}),jf,(function(){return y.some(Yf)})),Ff=vo(["rowIndex","columnIndex","cell"],[]),Uf=function(t,e,n){return y.from(t[e]).bind((function(t){return y.from(t[n]).map((function(t){return Ff({rowIndex:e,columnIndex:n,cell:t})}))}))},Vf=function(t,e,n,r){var o=t[e].length,i=fu(n,r,0,o-1);return Uf(t,e,i)},Gf=function(t,e,n,r){var o=fu(n,r,0,t.length-1),i=t[o].length,a=hu(e,0,i-1);return Uf(t,o,a)},$f=function(t,e,n,r){var o=t[e].length,i=hu(n+r,0,o-1);return Uf(t,e,i)},Kf=function(t,e,n,r){var o=hu(n+r,0,t.length-1),i=t[o].length,a=hu(e,0,i-1);return Uf(t,o,a)},Jf=[He("selectors",[Ne("row"),Ne("cell")]),$e("cycles",!0),$e("previousSelector",y.none),$e("execute",ef)],Qf=function(t,e){e.previousSelector(t).orThunk((function(){var n=e.selectors;return ka(t.element(),n.cell)})).each((function(n){e.focusManager.set(t,n)}))},Zf=function(t,e){return function(n,r,o){var i=o.cycles?t:e;return Sa(r,o.selectors.row).bind((function(t){var e=Nc(t,o.selectors.cell);return Mf(e,r).bind((function(e){var r=Nc(n,o.selectors.row);return Mf(r,t).bind((function(t){var n=function(t,e){return Y(t,(function(t){return Nc(t,e.selectors.cell)}))}(r,o);return i(n,t,e).map((function(t){return t.cell()}))}))}))}))}},th=Zf((function(t,e,n){return Vf(t,e,n,-1)}),(function(t,e,n){return $f(t,e,n,-1)})),eh=Zf((function(t,e,n){return Vf(t,e,n,1)}),(function(t,e,n){return $f(t,e,n,1)})),nh=Zf((function(t,e,n){return Gf(t,n,e,-1)}),(function(t,e,n){return Kf(t,n,e,-1)})),rh=Zf((function(t,e,n){return Gf(t,n,e,1)}),(function(t,e,n){return Kf(t,n,e,1)})),oh=o([Ud(qd([37]),lf(th,eh)),Ud(qd([39]),df(th,eh)),Ud(qd([38]),pf(nh)),Ud(qd([40]),mf(rh)),Ud(qd([32].concat([13])),(function(t,e,n){return qs(t.element()).bind((function(r){return n.execute(t,e,r)}))}))]),ih=o([Ud(qd([32]),nf)]),ah=Jd(Jf,ci.init,oh,ih,(function(){return y.some(Qf)})),sh=[Ne("selector"),$e("execute",ef),$e("moveOnTab",!1)],ch=function(t,e,n){return n.focusManager.get(t).bind((function(r){return n.execute(t,e,r)}))},uh=function(t,e){ka(t.element(),e.selector).each((function(n){e.focusManager.set(t,n)}))},lh=function(t,e,n){return Bf(t,n.selector,e,-1)},dh=function(t,e,n){return Bf(t,n.selector,e,1)},fh=o([Ud(qd([38]),gf(lh)),Ud(qd([40]),gf(dh)),Ud(Id([jd,qd([9])]),(function(t,e,n){return n.moveOnTab?gf(lh)(t,e,n):y.none()})),Ud(Id([Fd,qd([9])]),(function(t,e,n){return n.moveOnTab?gf(dh)(t,e,n):y.none()})),Ud(qd([13]),ch),Ud(qd([32]),ch)]),hh=o([Ud(qd([32]),nf)]),ph=Jd(sh,ci.init,fh,hh,(function(){return y.some(uh)})),mh=[Va("onSpace"),Va("onEnter"),Va("onShiftEnter"),Va("onLeft"),Va("onRight"),Va("onTab"),Va("onShiftTab"),Va("onUp"),Va("onDown"),Va("onEscape"),$e("stopSpaceKeyup",!1),je("focusIn")],gh=Jd(mh,ci.init,(function(t,e,n){return[Ud(qd([32]),n.onSpace),Ud(Id([Fd,qd([13])]),n.onEnter),Ud(Id([jd,qd([13])]),n.onShiftEnter),Ud(Id([jd,qd([9])]),n.onShiftTab),Ud(Id([Fd,qd([9])]),n.onTab),Ud(qd([38]),n.onUp),Ud(qd([40]),n.onDown),Ud(qd([37]),n.onLeft),Ud(qd([39]),n.onRight),Ud(qd([32]),n.onSpace),Ud(qd([27]),n.onEscape)]}),(function(t,e,n){return n.stopSpaceKeyup?[Ud(qd([32]),nf)]:[]}),(function(t){return t.focusIn})),vh=Zd.schema(),bh=tf.schema(),yh=Xf.schema(),Mh=Nf.schema(),_h=ah.schema(),wh=af.schema(),xh=ph.schema(),Ah=gh.schema(),Lh=Es({branchKey:"mode",branches:Object.freeze({acyclic:vh,cyclic:bh,flow:yh,flatgrid:Mh,matrix:_h,execution:wh,menu:xh,special:Ah}),name:"keying",active:{events:function(t,e){return t.handler.toEvents(t,e)}},apis:{focusIn:function(t,e,n){e.sendFocusIn(e).fold((function(){t.getSystem().triggerFocus(t.element(),t.element())}),(function(r){r(t,e,n)}))},setGridSize:function(t,n,r,o,i){Et(r,"setGridSize")?r.setGridSize(o,i):e.console.error("Layout does not support setGridSize")}},state:cf}),Th=function(t,e,n,r){var o=t.getSystem().build(r);Bu(t,o,n)},kh=function(t,e,n,r){var o=Sh(t);j(o,(function(t){return Wn(r.element(),t.element())})).each(Ru)},Sh=function(t,e){return t.components()},Oh=function(t,e,n,r,o){var i=Sh(t);return y.from(i[r]).map((function(e){return kh(t,0,0,e),o.each((function(e){Th(t,0,(function(t,e){!function(t,e,n){Ao(t,n).fold((function(){So(t,e)}),(function(t){Lo(t,e)}))}(t,e,r)}),e)})),e}))},Ch=zs({fields:[],name:"replacing",apis:Object.freeze({append:function(t,e,n,r){Th(t,0,So,r)},prepend:function(t,e,n,r){Th(t,0,ko,r)},remove:kh,replaceAt:Oh,replaceBy:function(t,e,n,r,o){var i=Sh(t);return X(i,r).bind((function(e){return Oh(t,0,0,e,o)}))},set:function(t,e,n,r){Is((function(){var e=Y(r,t.getSystem().build);Eu(t,e)}),t.element())},contents:Sh})}),zh=function(t,e){return{key:t,value:{config:{},me:function(t,e){var n=Qr(e);return zs({fields:[Ne("enabled")],name:t,active:{events:o(n)}})}(t,e),configAsRaw:o({}),initialConfig:{},state:ci}}},Dh=function(t,e){e.ignore||(Ws(t.element()),e.onFocus(t))},Eh=Object.freeze({focus:Dh,blur:function(t,e){e.ignore||function(t){t.dom().blur()}(t.element())},isFocused:function(t){return function(t){var e=bo(t).dom();return t.dom()===e.activeElement}(t.element())}}),Nh=Object.freeze({exhibit:function(t,e){var n=e.ignore?{}:{attributes:{tabindex:"-1"}};return di(n)},events:function(t){return Qr([eo(_r(),(function(e,n){Dh(e,t),n.stop()}))].concat(t.stopMousedown?[eo(ar(),(function(t,e){e.event().prevent()}))]:[]))}}),Bh=[Ua("onFocus"),$e("stopMousedown",!1),$e("ignore",!1)],Ph=zs({fields:Bh,name:"focusing",active:Nh,apis:Eh}),Rh=function(t,e,n){var r=e.aria;r.update(t,r,n.get())},Yh=function(t,e,n){e.toggleClass.each((function(e){n.get()?Ai(t.element(),e):Ti(t.element(),e)}))},Wh=function(t,e,n){Ih(t,e,n,!n.get())},Hh=function(t,e,n){n.set(!0),Yh(t,e,n),Rh(t,e,n)},qh=function(t,e,n){n.set(!1),Yh(t,e,n),Rh(t,e,n)},Ih=function(t,e,n,r){(r?Hh:qh)(t,e,n)},jh=function(t,e,n){Ih(t,e,n,e.selected)},Xh=Object.freeze({onLoad:jh,toggle:Wh,isOn:function(t,e,n){return n.get()},on:Hh,off:qh,set:Ih}),Fh=Object.freeze({exhibit:function(t,e,n){return di({})},events:function(t,e){var n,r,o,i=(n=t,r=e,o=Wh,ho((function(t){o(t,n,r)}))),a=Ls(t,e,jh);return Qr(F([t.toggleOnExecute?[i]:[],[a]]))}}),Uh=function(t,e,n){Po(t.element(),"aria-expanded",n)},Vh=[$e("selected",!1),je("toggleClass"),$e("toggleOnExecute",!0),Ke("aria",{mode:"none"},Ae("mode",{pressed:[$e("syncWithExpanded",!1),Ka("update",(function(t,e,n){Po(t.element(),"aria-pressed",n),e.syncWithExpanded&&Uh(t,e,n)}))],checked:[Ka("update",(function(t,e,n){Po(t.element(),"aria-checked",n)}))],expanded:[Ka("update",Uh)],selected:[Ka("update",(function(t,e,n){Po(t.element(),"aria-selected",n)}))],none:[Ka("update",n)]}))],Gh=zs({fields:Vh,name:"toggling",active:Fh,apis:Xh,state:(Kd=!1,{init:function(){var t=on(Kd);return{get:function(){return t.get()},set:function(e){return t.set(e)},clear:function(){return t.set(Kd)},readState:function(){return t.get()}}}})}),$h=function(){var t=function(t,e){e.stop(),Gr(t)};return[eo(vr(),t),eo(kr(),t),ao(nr()),ao(ar())]},Kh=function(t){return Qr(F([t.map((function(t){return ho((function(e,n){t(e),n.stop()}))})).toArray(),$h()]))},Jh=function(t){(qs(t.element()).isNone()||Ph.isFocused(t))&&(Ph.isFocused(t)||Ph.focus(t),Vr(t,"alloy.item-hover",{item:t}))},Qh=function(t){Vr(t,"alloy.item-focus",{item:t})},Zh=o("alloy.item-hover"),tp=o("alloy.item-focus"),ep=[Ne("data"),Ne("components"),Ne("dom"),$e("hasSubmenu",!1),je("toggling"),_l("itemBehaviours",[Gh,Ph,Lh,vl]),$e("ignoreFocus",!1),$e("domModification",{}),Ka("builder",(function(t){return{dom:t.dom,domModification:f(f({},t.domModification),{attributes:f(f(f({role:t.toggling.isSome()?"menuitemcheckbox":"menuitem"},t.domModification.attributes),{"aria-haspopup":t.hasSubmenu}),t.hasSubmenu?{"aria-expanded":!1}:{})}),behaviours:wl(t.itemBehaviours,[t.toggling.fold(Gh.revoke,(function(t){return Gh.config(f({aria:{mode:"checked"}},t))})),Ph.config({ignore:t.ignoreFocus,stopMousedown:t.ignoreFocus,onFocus:function(t){Qh(t)}}),Lh.config({mode:"execution"}),vl.config({store:{mode:"memory",initialValue:t.data}}),zh("item-type-events",p($h(),[eo(lr(),Jh),eo(Tr(),Ph.focus)]))]),components:t.components,eventOrder:t.eventOrder}})),$e("eventOrder",{})],np=[Ne("dom"),Ne("components"),Ka("builder",(function(t){return{dom:t.dom,components:t.components,events:Qr([so(Tr())])}}))],rp=o([Fl({name:"widget",overrides:function(t){return{behaviours:Os([vl.config({store:{mode:"manual",getValue:function(e){return t.data},setValue:function(){}}})])}}})]),op=[Ne("uid"),Ne("data"),Ne("components"),Ne("dom"),$e("autofocus",!1),$e("ignoreFocus",!1),_l("widgetBehaviours",[vl,Ph,Lh]),$e("domModification",{}),fd(rp()),Ka("builder",(function(t){var e=rd(0,t,rp()),n=od("item-widget",t,e.internals()),r=function(e){return id(e,t,"widget").map((function(t){return Lh.focusIn(t),t}))},o=function(e,n){return wd(n.event().target())?y.none():t.autofocus?(n.setSource(e.element()),y.none()):y.none()};return{dom:t.dom,components:n,domModification:t.domModification,events:Qr([ho((function(t,e){r(t).each((function(t){e.stop()}))})),eo(lr(),Jh),eo(Tr(),(function(e,n){t.autofocus?r(e):Ph.focus(e)}))]),behaviours:wl(t.widgetBehaviours,[vl.config({store:{mode:"memory",initialValue:t.data}}),Ph.config({ignore:t.ignoreFocus,onFocus:function(t){Qh(t)}}),Lh.config({mode:"special",focusIn:t.autofocus?function(t){r(t)}:Ns(),onLeft:o,onRight:o,onEscape:function(e,n){return Ph.isFocused(e)||t.autofocus?t.autofocus?(n.setSource(e.element()),y.none()):y.none():(Ph.focus(e),y.some(!0))}})])}}))],ip=Ae("type",{widget:op,item:ep,separator:np}),ap=o([Gl({factory:{sketch:function(t){var e=_e("menu.spec item",ip,t);return e.builder(e)}},name:"items",unit:"item",defaults:function(t,e){return e.hasOwnProperty("uid")?e:f(f({},e),{uid:Zo("item")})},overrides:function(t,e){return{type:e.type,ignoreFocus:t.fakeFocus,domModification:{classes:[t.markers.item]}}}})]),sp=o([Ne("value"),Ne("items"),Ne("dom"),Ne("components"),$e("eventOrder",{}),bl("menuBehaviours",[Pd,vl,Ld,Lh]),Ke("movement",{mode:"menu",moveOnTab:!0},Ae("mode",{grid:[Qa(),Ka("config",(function(t,e){return{mode:"flatgrid",selector:"."+t.markers.item,initSize:{numColumns:e.initSize.numColumns,numRows:e.initSize.numRows},focusManager:t.focusManager}}))],matrix:[Ka("config",(function(t,e){return{mode:"matrix",selectors:{row:e.rowSelector,cell:"."+t.markers.item},focusManager:t.focusManager}})),Ne("rowSelector")],menu:[$e("moveOnTab",!0),Ka("config",(function(t,e){return{mode:"menu",selector:"."+t.markers.item,moveOnTab:e.moveOnTab,focusManager:t.focusManager}}))]})),Be("markers",qa()),$e("fakeFocus",!1),$e("focusManager",Gd()),Ua("onHighlight")]),cp=o("alloy.menu-focus"),up=_d({name:"Menu",configFields:sp(),partFields:ap(),factory:function(t,e,n,r){return{uid:t.uid,dom:t.dom,markers:t.markers,behaviours:Ml(t.menuBehaviours,[Pd.config({highlightClass:t.markers.selectedItem,itemClass:t.markers.item,onHighlight:t.onHighlight}),vl.config({store:{mode:"memory",initialValue:t.value}}),Ld.config({find:y.some}),Lh.config(t.movement.config(t,t.movement))]),events:Qr([eo(tp(),(function(t,e){var n=e.event();t.getSystem().getByDom(n.target()).each((function(n){Pd.highlight(t,n),e.stop(),Vr(t,cp(),{menu:t,item:n})}))})),eo(Zh(),(function(t,e){var n=e.event().item();Pd.highlight(t,n)}))]),components:e,eventOrder:t.eventOrder,domModification:{attributes:{role:"menu"}}}}}),lp=function(t,e,n,r){return Ot(n,r).bind((function(r){return Ot(t,r).bind((function(r){var o=lp(t,e,n,r);return y.some([r].concat(o))}))})).getOr([])},dp=function(t,e){var n={};nt(t,(function(t,e){W(t,(function(t){n[t]=e}))}));var r=e,o=ot(e,(function(t,e){return{k:t,v:e}})),i=rt(o,(function(t,e){return[e].concat(lp(n,r,o,e))}));return rt(n,(function(t){return Ot(i,t).getOr([t])}))},fp=function(t){return"prepared"===t.type?y.some(t.menu):y.none()},hp={init:function(){var t=on({}),e=on({}),n=on({}),r=on(y.none()),o=on({}),i=function(e,n,r){return a(e).bind((function(o){return function(e){return at(t.get(),(function(t,n){return t===e}))}(e).bind((function(t){return n(t).map((function(t){return{triggeredMenu:o,triggeringItem:t,triggeringPath:r}}))}))}))},a=function(t){return s(t).bind(fp)},s=function(t){return Ot(e.get(),t)},c=function(e){return Ot(t.get(),e)};return{setMenuBuilt:function(t,n){var r;e.set(f(f({},e.get()),((r={})[t]={type:"prepared",menu:n},r)))},setContents:function(i,a,s,c){r.set(y.some(i)),t.set(s),e.set(a),o.set(c);var u=dp(c,s);n.set(u)},expand:function(e){return Ot(t.get(),e).map((function(t){var r=Ot(n.get(),e).getOr([]);return[t].concat(r)}))},refresh:function(t){return Ot(n.get(),t)},collapse:function(t){return Ot(n.get(),t).bind((function(t){return t.length>1?y.some(t.slice(1)):y.none()}))},lookupMenu:s,lookupItem:c,otherMenus:function(t){var e=o.get();return $(tt(e),t)},getPrimary:function(){return r.get().bind(a)},getMenus:function(){return e.get()},clear:function(){t.set({}),e.set({}),n.set({}),r.set(y.none())},isClear:function(){return r.get().isNone()},getTriggeringPath:function(t,e){var o=H(c(t).toArray(),(function(t){return a(t).isSome()}));return Ot(n.get(),t).bind((function(t){var n=G(o.concat(t));return function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.isSome())return y.none();e.push(r.getOrDie())}return y.some(e)}(U(n,(function(t,o){return i(t,e,n.slice(0,o+1)).fold((function(){return r.get().is(t)?[]:[y.none()]}),(function(t){return[y.some(t)]}))})))}))}}},extractPreparedMenu:fp},pp=o("collapse-item"),mp=Md({name:"TieredMenu",configFields:[$a("onExecute"),$a("onEscape"),Ga("onOpenMenu"),Ga("onOpenSubmenu"),Ga("onRepositionMenu"),Ua("onCollapseMenu"),$e("highlightImmediately",!0),He("data",[Ne("primary"),Ne("menus"),Ne("expansions")]),$e("fakeFocus",!1),Ua("onHighlight"),Ua("onHover"),ja(),Ne("dom"),$e("navigateOnHover",!0),$e("stayInDom",!1),bl("tmenuBehaviours",[Lh,Pd,Ld,Ch]),$e("eventOrder",{})],apis:{collapseMenu:function(t,e){t.collapseMenu(e)},highlightPrimary:function(t,e){t.highlightPrimary(e)},repositionMenus:function(t,e){t.repositionMenus(e)}},factory:function(t,e){var n,r=on(y.none()),o=hp.init(),i=function(e){var n=function(e,n,r){return rt(r,(function(r,o){var i=function(){return up.sketch(f(f({dom:r.dom},r),{value:o,items:r.items,markers:t.markers,fakeFocus:t.fakeFocus,onHighlight:t.onHighlight,focusManager:t.fakeFocus?$d():Gd()}))};return o===n?{type:"prepared",menu:e.getSystem().build(i())}:{type:"notbuilt",nbMenu:i}}))}(e,t.data.primary,t.data.menus),r=s();return o.setContents(t.data.primary,n,t.data.expansions,r),o.getPrimary()},a=function(t){return vl.getValue(t).value},s=function(e){return rt(t.data.menus,(function(t,e){return U(t.items,(function(t){return"separator"===t.type?[]:[t.data.value]}))}))},c=function(t,e){Pd.highlight(t,e),Pd.getHighlighted(e).orThunk((function(){return Pd.getFirst(e)})).each((function(e){$r(t,e.element(),Tr())}))},u=function(t,e){return Da(Y(e,(function(e){return t.lookupMenu(e).bind((function(t){return"prepared"===t.type?y.some(t.menu):y.none()}))})))},l=function(e,n,r){var o=u(n,n.otherMenus(r));W(o,(function(n){Oi(n.element(),[t.markers.backgroundMenu]),t.stayInDom||Ch.remove(e,n)}))},d=function(e,n){var o=function(e){return r.get().getOrThunk((function(){var n={},o=Nc(e.element(),"."+t.markers.item),i=H(o,(function(t){return"true"===Ro(t,"aria-haspopup")}));return W(i,(function(t){e.getSystem().getByDom(t).each((function(t){var e=a(t);n[e]=t}))})),r.set(y.some(n)),n}))}(e);nt(o,(function(t,e){var r=B(n,e);Po(t.element(),"aria-expanded",r)}))},h=function(e,n,r){return y.from(r[0]).bind((function(o){return n.lookupMenu(o).bind((function(o){if("notbuilt"===o.type)return y.none();var i=o.menu,a=u(n,r.slice(1));return W(a,(function(e){Ai(e.element(),t.markers.backgroundMenu)})),Vn(i.element())||Ch.append(e,ta(i)),Oi(i.element(),[t.markers.backgroundMenu]),c(e,i),l(e,n,r),y.some(i)}))}))};!function(t){t[t.HighlightSubmenu=0]="HighlightSubmenu",t[t.HighlightParent=1]="HighlightParent"}(n||(n={}));var p=function(e,r,i){void 0===i&&(i=n.HighlightSubmenu);var s=a(r);return o.expand(s).bind((function(a){return d(e,a),y.from(a[0]).bind((function(s){return o.lookupMenu(s).bind((function(c){var u=function(t,e,n){if("notbuilt"===n.type){var r=t.getSystem().build(n.nbMenu());return o.setMenuBuilt(e,r),r}return n.menu}(e,s,c);return Vn(u.element())||Ch.append(e,ta(u)),t.onOpenSubmenu(e,r,u,G(a)),i===n.HighlightSubmenu?(Pd.highlightFirst(u),h(e,o,a)):(Pd.dehighlightAll(u),y.some(r))}))}))}))},m=function(e,n){var r=a(n);return o.collapse(r).bind((function(r){return d(e,r),h(e,o,r).map((function(r){return t.onCollapseMenu(e,n,r),r}))}))},g=function(e){return function(n,r){return Sa(r.getSource(),"."+t.markers.item).bind((function(t){return n.getSystem().getByDom(t).toOption().bind((function(t){return e(n,t).map((function(){return!0}))}))}))}},v=Qr([eo(cp(),(function(t,e){var n=e.event().item();o.lookupItem(a(n)).each((function(){var n=e.event().menu();Pd.highlight(t,n);var r=a(e.event().item());o.refresh(r).each((function(e){return l(t,o,e)}))}))})),ho((function(e,r){var o=r.event().target();e.getSystem().getByDom(o).each((function(r){0===a(r).indexOf("collapse-item")&&m(e,r),p(e,r,n.HighlightSubmenu).fold((function(){t.onExecute(e,r)}),(function(){}))}))})),uo((function(e,n){i(e).each((function(n){Ch.append(e,ta(n)),t.onOpenMenu(e,n),t.highlightImmediately&&c(e,n)}))}))].concat(t.navigateOnHover?[eo(Zh(),(function(e,r){var i=r.event().item();!function(t,e){var n=a(e);o.refresh(n).bind((function(e){return d(t,e),h(t,o,e)}))}(e,i),p(e,i,n.HighlightParent),t.onHover(e,i)}))]:[])),b=function(t){return Pd.getHighlighted(t).bind(Pd.getHighlighted)},M={collapseMenu:function(t){b(t).each((function(e){m(t,e)}))},highlightPrimary:function(t){o.getPrimary().each((function(e){c(t,e)}))},repositionMenus:function(e){o.getPrimary().bind((function(t){return b(e).bind((function(t){var e=a(t),n=st(o.getMenus()),r=Da(Y(n,hp.extractPreparedMenu));return o.getTriggeringPath(e,(function(t){return function(t,e,n){return Ea(e,(function(t){if(!t.getSystem().isConnected())return y.none();var e=Pd.getCandidates(t);return j(e,(function(t){return a(t)===n}))}))}(0,r,t)}))})).map((function(e){return{primary:t,triggeringPath:e}}))})).fold((function(){(function(t){return y.from(t.components()[0]).filter((function(t){return"menu"===Ro(t.element(),"role")}))})(e).each((function(n){t.onRepositionMenu(e,n,[])}))}),(function(n){var r=n.primary,o=n.triggeringPath;t.onRepositionMenu(e,r,o)}))}};return{uid:t.uid,dom:t.dom,markers:t.markers,behaviours:Ml(t.tmenuBehaviours,[Lh.config({mode:"special",onRight:g((function(t,e){return wd(e.element())?y.none():p(t,e,n.HighlightSubmenu)})),onLeft:g((function(t,e){return wd(e.element())?y.none():m(t,e)})),onEscape:g((function(e,n){return m(e,n).orThunk((function(){return t.onEscape(e,n).map((function(){return e}))}))})),focusIn:function(t,e){o.getPrimary().each((function(e){$r(t,e.element(),Tr())}))}}),Pd.config({highlightClass:t.markers.selectedMenu,itemClass:t.markers.menu}),Ld.config({find:function(t){return Pd.getHighlighted(t)}}),Ch.config({})]),eventOrder:t.eventOrder,apis:M,events:v}},extraApis:{tieredData:function(t,e,n){return{primary:t,menus:e,expansions:n}},singleData:function(t,e){return{primary:t,menus:Ct(t,e),expansions:{}}},collapseItem:function(t){return{value:Uo(pp()),meta:{text:t}}}}}),gp=Md({name:"InlineView",configFields:[Ne("lazySink"),Ua("onShow"),Ua("onHide"),Ve("onEscape"),bl("inlineBehaviours",[Ju,vl,Rs]),Ge("fireDismissalEventInstead",[$e("event",Yr())]),Ge("fireRepositionEventInstead",[$e("event",Wr())]),$e("getRelated",y.none),$e("eventOrder",y.none)],factory:function(t,e){var n=function(t,e,n,o){r(t,e,n,(function(){return o.map((function(t){return xa(t)}))}))},r=function(e,n,r,o){var i=t.lazySink(e).getOrDie();Ju.openWhileCloaked(e,r,(function(){return Ou.positionWithinBounds(i,n,e,o())})),vl.setValue(e,y.some({mode:"position",anchor:n,getBounds:o}))},i=function(e,n,r,o){var i=function(t,e,n,r,o){var i=function(){return t.lazySink(e)},a="horizontal"===r.type?{layouts:{onLtr:function(){return xs()},onRtl:function(){return As()}}}:{},s=function(t){return function(t){return 2===t.length}(t)?a:{}};return mp.sketch({dom:{tag:"div"},data:r.data,markers:r.menu.markers,onEscape:function(){return Ju.close(e),t.onEscape.map((function(t){return t(e)})),y.some(!0)},onExecute:function(){return y.some(!0)},onOpenMenu:function(t,e){Ou.positionWithinBounds(i().getOrDie(),n,e,o())},onOpenSubmenu:function(t,e,n,r){var o=i().getOrDie();Ou.position(o,f({anchor:"submenu",item:e},s(r)),n)},onRepositionMenu:function(t,e,r){var a=i().getOrDie();Ou.positionWithinBounds(a,n,e,o()),W(r,(function(t){var e=s(t.triggeringPath);Ou.position(a,f({anchor:"submenu",item:t.triggeringItem},e),t.triggeredMenu)}))}})}(t,e,n,r,o);Ju.open(e,i),vl.setValue(e,y.some({mode:"menu",menu:i}))},a=function(e){Ju.isOpen(e)&&vl.getValue(e).each((function(n){switch(n.mode){case"menu":Ju.getState(e).each((function(t){mp.repositionMenus(t)}));break;case"position":var r=t.lazySink(e).getOrDie();Ou.positionWithinBounds(r,n.anchor,e,n.getBounds())}}))},s={setContent:function(t,e){Ju.setContent(t,e)},showAt:function(t,e,r){n(t,e,r,y.none())},showWithin:n,showWithinBounds:r,showMenuAt:function(t,e,n){i(t,e,n,(function(){return y.none()}))},showMenuWithinBounds:i,hide:function(t){vl.setValue(t,y.none()),Ju.close(t)},getContent:function(t){return Ju.getState(t)},reposition:a,isOpen:Ju.isOpen};return{uid:t.uid,dom:t.dom,behaviours:Ml(t.inlineBehaviours,[Ju.config({isPartOf:function(e,n,r){return za(n,r)||function(e,n){return t.getRelated(e).exists((function(t){return za(t,n)}))}(e,r)},getAttachPoint:function(e){return t.lazySink(e).getOrDie()},onOpen:function(e){t.onShow(e)},onClose:function(e){t.onHide(e)}}),vl.config({store:{mode:"memory",initialValue:y.none()}}),Rs.config({channels:f(f({},nl(f({isExtraPart:o(!1)},t.fireDismissalEventInstead.map((function(t){return{fireEventInstead:{event:t.event}}})).getOr({})))),ol(f(f({isExtraPart:o(!1)},t.fireRepositionEventInstead.map((function(t){return{fireEventInstead:{event:t.event}}})).getOr({})),{doReposition:a})))})]),eventOrder:t.eventOrder,apis:s}},apis:{showAt:function(t,e,n,r){t.showAt(e,n,r)},showWithin:function(t,e,n,r,o){t.showWithin(e,n,r,o)},showWithinBounds:function(t,e,n,r,o){t.showWithinBounds(e,n,r,o)},showMenuAt:function(t,e,n,r){t.showMenuAt(e,n,r)},showMenuWithinBounds:function(t,e,n,r,o){t.showMenuWithinBounds(e,n,r,o)},hide:function(t,e){t.hide(e)},isOpen:function(t,e){return t.isOpen(e)},getContent:function(t,e){return t.getContent(e)},setContent:function(t,e,n){t.setContent(e,n)},reposition:function(t,e){t.reposition(e)}}}),vp=function(t){return t.x()},bp=function(t,e){return t.x()+t.width()/2-e.width()/2},yp=function(t,e){return t.x()+t.width()-e.width()},Mp=function(t){return t.y()},_p=function(t,e){return t.y()+t.height()-e.height()},wp=function(t,e,n){return Za(vp(t),_p(t,e),n.innerSoutheast(),es(),"layout-se")},xp=function(t,e,n){return Za(yp(t,e),_p(t,e),n.innerSouthwest(),ns(),"layout-sw")},Ap=function(t,e,n){return Za(vp(t),Mp(t),n.innerNortheast(),rs(),"layout-ne")},Lp=function(t,e,n){return Za(yp(t,e),Mp(t),n.innerNorthwest(),os(),"layout-nw")},Tp=function(t,e,n){return Za(bp(t,e),Mp(t),n.innerNorth(),as(),"layout-n")},kp=function(t,e,n){return Za(bp(t,e),_p(t,e),n.innerSouth(),is(),"layout-s")},Sp=Md({name:"Button",factory:function(t){var e=Kh(t.action),n=t.dom.tag,r=function(e){return Ot(t.dom,"attributes").bind((function(t){return Ot(t,e)}))};return{uid:t.uid,dom:t.dom,components:t.components,events:e,behaviours:wl(t.buttonBehaviours,[Ph.config({}),Lh.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:function(){if("button"===n){var t=r("type").getOr("button"),e=r("role").map((function(t){return{role:t}})).getOr({});return f({type:t},e)}return{role:r("role").getOr("button")}}()},eventOrder:t.eventOrder}},configFields:[$e("uid",void 0),Ne("dom"),$e("components",[]),_l("buttonBehaviours",[Ph,Lh]),je("action"),je("role"),$e("eventOrder",{})]}),Op=function(t){var e=function(t){return void 0!==t.uid}(t)&&Et(t,"uid")?t.uid:Zo("memento");return{get:function(t){return t.getSystem().getByUid(e).getOrDie()},getOpt:function(t){return t.getSystem().getByUid(e).toOption()},asSpec:function(){return f(f({},t),{uid:e})}}},Cp=function(t){return y.from(t()["temporary-placeholder"]).getOr("!not found!")},zp=function(t,e){return y.from(e()[t]).getOrThunk((function(){return Cp(e)}))},Dp=function(t,e){return Ea(t,(function(t){return y.from(e()[t])})).getOrThunk((function(){return Cp(e)}))},Ep={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},Np=Md({name:"Notification",factory:function(t){var e=Op({dom:{tag:"p",innerHtml:t.translationProvider(t.text)},behaviours:Os([Ch.config({})])}),n=function(t){return{dom:{tag:"div",classes:["tox-bar"],attributes:{style:"width: "+t+"%"}}}},r=function(t){return{dom:{tag:"div",classes:["tox-text"],innerHtml:t+"%"}}},o=Op({dom:{tag:"div",classes:t.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(0)]},r(0)],behaviours:Os([Ch.config({})])}),i={updateProgress:function(t,e){t.getSystem().isConnected()&&o.getOpt(t).each((function(t){Ch.set(t,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(e)]},r(e)])}))},updateText:function(t,n){if(t.getSystem().isConnected()){var r=e.get(t);Ch.set(r,[Ki(n)])}}},a=F([t.icon.toArray(),t.level.toArray(),t.level.bind((function(t){return y.from(Ep[t])})).toArray()]);return{uid:t.uid,dom:{tag:"div",attributes:{role:"alert"},classes:t.level.map((function(t){return["tox-notification","tox-notification--in","tox-notification--"+t]})).getOr(["tox-notification","tox-notification--in"])},components:[{dom:{tag:"div",classes:["tox-notification__icon"],innerHtml:Dp(a,t.iconProvider)}},{dom:{tag:"div",classes:["tox-notification__body"]},components:[e.asSpec()],behaviours:Os([Ch.config({})])}].concat(t.progress?[o.asSpec()]:[]).concat(Sp.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"]},components:[{dom:{tag:"div",classes:["tox-icon"],innerHtml:zp("close",t.iconProvider),attributes:{"aria-label":t.translationProvider("Close")}}}],action:function(e){t.onAction(e)}})),apis:i}},configFields:[je("level"),Ne("progress"),Ne("icon"),Ne("onAction"),Ne("text"),Ne("iconProvider"),Ne("translationProvider")],apis:{updateProgress:function(t,e,n){t.updateProgress(e,n)},updateText:function(t,e,n){t.updateText(e,n)}}}),Bp=tinymce.util.Tools.resolve("tinymce.util.Delay");function Pp(t,e,n){var r=e.backstage;return{open:function(t,o){var i=function(){o(),gp.hide(s)},a=Zi(Np.sketch({text:t.text,level:B(["success","error","warning","warn","info"],t.type)?t.type:void 0,progress:!0===t.progressBar,icon:y.from(t.icon),onAction:i,iconProvider:r.shared.providers.icons,translationProvider:r.shared.providers.translate})),s=Zi(gp.sketch({dom:{tag:"div",classes:["tox-notifications-container"]},lazySink:e.backstage.shared.getSink,fireDismissalEventInstead:{}}));return n.add(s),t.timeout>0&&Bp.setTimeout((function(){i()}),t.timeout),{close:i,moveTo:function(t,e){gp.showAt(s,{anchor:"makeshift",x:t,y:e},ta(a))},moveRel:function(t,n){if("banner"!==n){var r=function(t){switch(t){case"bc-bc":return kp;case"tc-tc":return Tp;case"tc-bc":return ys;case"bc-tc":default:return Ms}}(n),o={anchor:"node",root:Gn(),node:y.some(sn.fromDom(t)),layouts:{onRtl:function(){return[r]},onLtr:function(){return[r]}}};gp.showAt(s,o,ta(a))}else gp.showAt(s,e.backstage.shared.anchors.banner(),ta(a))},text:function(t){Np.updateText(a,t)},settings:t,getEl:function(){return a.element().dom()},progressBar:{value:function(t){Np.updateProgress(a,t)}}}},close:function(t){t.close()},reposition:function(t){!function(t){W(t,(function(t){return t.moveTo(0,0)}))}(t),function(t){t.length>0&&(J(t).each((function(t){return t.moveRel(null,"banner")})),W(t,(function(e,n){n>0&&e.moveRel(t[n-1].getEl(),"bc-tc")})))}(t)},getArgs:function(t){return t.settings}}}var Rp,Yp=function(t,n){var r=null;return{cancel:function(){null!==r&&(e.clearTimeout(r),r=null)},throttle:function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];null!==r&&e.clearTimeout(r),r=e.setTimeout((function(){t.apply(null,o),r=null}),n)}}},Wp=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),Hp=lt([{aborted:[]},{edge:["element"]},{success:["info"]}]),qp=lt([{abort:[]},{kontinue:[]},{finish:["info"]}]),Ip=function(t,n,r,o,i,a){var s=function(){return a.fold(Hp.aborted,Hp.edge)},c=function(){var e=i();return e?Ip(t,e,y.none(),o,i,y.some(n)):s()};if(function(t,e){return t.isBlock(e)||B(["BR","IMG","HR","INPUT"],e.nodeName)||"false"===t.getContentEditable(e)}(t,n))return s();if(function(t){return t.nodeType===e.Node.TEXT_NODE}(n)){var u=n.textContent;return o(qp,n,u,r).fold(Hp.aborted,(function(){return c()}),Hp.success)}return c()},jp=function(t,e,n,r,o){var i=new Wp(e,o||t.getRoot());return Ip(t,e,y.some(n),r,i.prev,y.none())},Xp=function(t,e){return Fp(sn.fromDom(t.selection.getNode())).getOrThunk((function(){var n=sn.fromHtml('<span data-mce-autocompleter="1" data-mce-bogus="1"></span>',t.getDoc());return So(n,sn.fromDom(e.extractContents())),e.insertNode(n.dom()),_o(n).each((function(t){return t.dom().normalize()})),kc(n).map((function(e){t.selection.setCursorLocation(e.dom(),function(t){return"img"===jn(t)?1:_c(t).fold((function(){return xo(t).length}),(function(t){return t.length}))}(e))})),n}))},Fp=function(t){return Sa(t,"[data-mce-autocompleter]")},Up=/[\u00a0 \t\r\n]/,Vp=function(t,e){return t.toString().substring(e.length).replace(/\u00A0/g," ").replace(/\uFEFF/g,"")},Gp=function(t,e,n,r){if(void 0===r&&(r=0),!(o=e).collapsed||3!==o.startContainer.nodeType)return y.none();var o;return jp(t,e.startContainer,e.startOffset,(function(t,o,i,a){var s=a.getOr(i.length);return function(t,e,n,r){var o;for(o=e-1;o>=0;o--){var i=t.charAt(o);if(Up.test(i))return y.none();if(i===n)break}return-1===o||e-o<r?y.none():y.some(t.substring(o+1,e))}(i,s,n,1).fold((function(){return i.match(Up)?t.abort():t.kontinue()}),(function(a){var c=e.cloneRange();return c.setStart(o,s-a.length-1),c.setEnd(e.endContainer,e.endOffset),i.length<r?t.abort():t.finish({text:Vp(c,n),range:c,triggerChar:n})}))})).fold(y.none,y.none,y.some)},$p=function(t,e,n,r){return void 0===r&&(r=0),Fp(sn.fromDom(e.startContainer)).fold((function(){return Gp(t,e,n,r)}),(function(e){var r=t.createRng();return r.selectNode(e.dom()),y.some({range:r,text:Vp(r,n),triggerChar:n})}))},Kp=function(t,e){e.on("keypress compositionend",t.onKeypress.throttle),e.on("remove",t.onKeypress.cancel);var n=function(t,e){Vr(t,hr(),{raw:e})};e.on("keydown",(function(e){var r=function(){return t.getView().bind(Pd.getHighlighted)};8===e.which&&t.onKeypress.throttle(e),t.isActive()&&(27===e.which&&t.cancelIfNecessary(),t.isMenuOpen()?13===e.which?(r().each(Gr),e.preventDefault()):40===e.which?(r().fold((function(){t.getView().each(Pd.highlightFirst)}),(function(t){n(t,e)})),e.preventDefault(),e.stopImmediatePropagation()):37!==e.which&&38!==e.which&&39!==e.which||r().each((function(t){n(t,e),e.preventDefault(),e.stopImmediatePropagation()})):13!==e.which&&38!==e.which&&40!==e.which||t.cancelIfNecessary())})),e.on("NodeChange",(function(e){t.isActive()&&!t.isProcessingAction()&&Fp(sn.fromDom(e.element)).isNone()&&t.cancelIfNecessary()}))},Jp=tinymce.util.Tools.resolve("tinymce.util.Promise"),Qp=function(t,e){return{element:t,offset:e}},Zp=function(t){if(function(t){return t.nodeType===e.Node.TEXT_NODE}(t))return Qp(t,t.data.length);var n=t.childNodes;return n.length>0?Zp(n[n.length-1]):Qp(t,n.length)},tm=function(t,n){var r=t.childNodes;return r.length>0&&n<r.length?tm(r[n],0):r.length>0&&function(t){return t.nodeType===e.Node.ELEMENT_NODE}(t)&&r.length===n?Zp(r[r.length-1]):Qp(t,n)},em=function(t,e){var n=e(),r=t.selection.getRng();return function(t,e,n){return Ea(n.triggerChars,(function(n){return $p(t,e,n)}))}(t.dom,r,n).bind((function(n){return nm(t,e,n)}))},nm=function(t,e,n,r){void 0===r&&(r={});var a=e(),s=t.selection.getRng().startContainer.nodeValue,c=H(a.lookupByChar(n.triggerChar),(function(e){return n.text.length>=e.minChars&&e.matches.getOrThunk((function(){return function(t){var e=function(t,e,n,r){var o=r.getOr(n.length);return 0===o?t.kontinue():t.finish(/\s/.test(n.charAt(o-1)))};return function(n){var r=tm(n.startContainer,n.startOffset);return jp(t,r.element,r.offset,e).fold(o(!0),o(!0),i)}}(t.dom)}))(n.range,s,n.text)}));if(0===c.length)return y.none();var u=Jp.all(Y(c,(function(t){return t.fetch(n.text,t.maxResults,r).then((function(e){return{matchText:n.text,items:e,columns:t.columns,onAction:t.onAction}}))})));return y.some({lookupData:u,context:n})},rm=ae([Re("type"),Ue("text")]),om=ae([rn("type",(function(){return"autocompleteitem"})),rn("active",(function(){return!1})),rn("disabled",(function(){return!1})),$e("meta",{}),Re("value"),Ue("text"),Ue("icon")]),im=ae([Re("type"),Re("ch"),Je("minChars",1),$e("columns",1),Je("maxResults",10),Ve("matches"),We("fetch"),We("onAction")]),am=function(t){var e=t.ui.registry.getAll().popups,n=rt(e,(function(t){return function(t){return ye("Autocompleter",im,t)}(t).fold((function(t){throw new Error(we(t))}),(function(t){return t}))})),r=function(t){var e={};return W(t,(function(t){e[t]={}})),tt(e)}(it(n,(function(t){return t.ch}))),o=st(n);return{dataset:n,triggerChars:r,lookupByChar:function(t){return H(o,(function(e){return e.ch===t}))}}},sm=[tn("disabled",!1),Ue("text"),Ue("shortcut"),fe("value","value",_t((function(){return Uo("menuitem-value")})),Le()),$e("meta",{})],cm=ae([Re("type"),en("onSetup",(function(){return n})),en("onAction",n),Ue("icon")].concat(sm)),um=ae([Re("type"),We("getSubmenuItems"),en("onSetup",(function(){return n})),Ue("icon")].concat(sm)),lm=ae([Re("type"),tn("active",!1),en("onSetup",(function(){return n})),We("onAction")].concat(sm)),dm=ae([Re("type"),tn("active",!1),Ue("icon")].concat(sm)),fm=ae([Re("type"),Ye("fancytype",["inserttable","colorswatch"]),en("onAction",n)]),hm=function(t,e,n){var r=Nc(t.element(),"."+n);if(r.length>0){var o=X(r,(function(t){var n=t.dom().getBoundingClientRect().top,o=r[0].dom().getBoundingClientRect().top;return Math.abs(n-o)>e})).getOr(r.length);return y.some({numColumns:o,numRows:Math.ceil(r.length/o)})}return y.none()},pm=function(t,e){return Os([zh(t,e)])},mm=function(t){return pm(Uo("unnamed-events"),t)},gm=[Ne("lazySink"),Ne("tooltipDom"),$e("exclusive",!0),$e("tooltipComponents",[]),$e("delay",300),Ze("mode","normal",["normal","follow-highlight"]),$e("anchor",(function(t){return{anchor:"hotspot",hotspot:t,layouts:{onLtr:o([Ms,ys,ms,vs,gs,bs]),onRtl:o([Ms,ys,ms,vs,gs,bs])}}})),Ua("onHide"),Ua("onShow")],vm=Object.freeze({init:function(){var t=on(y.none()),n=on(y.none()),r=function(){t.get().each((function(t){e.clearTimeout(t)}))},i=o("not-implemented");return ui({getTooltip:function(){return n.get()},isShowing:function(){return n.get().isSome()},setTooltip:function(t){n.set(y.some(t))},clearTooltip:function(){n.set(y.none())},clearTimer:r,resetTimer:function(n,o){r(),t.set(y.some(e.setTimeout((function(){n()}),o)))},readState:i})}}),bm=Uo("tooltip.exclusive"),ym=Uo("tooltip.show"),Mm=Uo("tooltip.hide"),_m=function(t,e,n){t.getSystem().broadcastOn([bm],{})},wm=Object.freeze({hideAllExclusive:_m,setComponents:function(t,e,n,r){n.getTooltip().each((function(t){t.getSystem().isConnected()&&Ch.set(t,r)}))}}),xm=zs({fields:gm,name:"tooltipping",active:Object.freeze({events:function(t,e){var n=function(n){e.getTooltip().each((function(r){Ru(r),t.onHide(n,r),e.clearTooltip()})),e.clearTimer()};return Qr(F([[eo(ym,(function(n){e.resetTimer((function(){!function(n){if(!e.isShowing()){_m(n);var r=t.lazySink(n).getOrDie(),o=n.getSystem().build({dom:t.tooltipDom,components:t.tooltipComponents,events:Qr("normal"===t.mode?[eo(lr(),(function(t){Ur(n,ym)})),eo(cr(),(function(t){Ur(n,Mm)}))]:[]),behaviours:Os([Ch.config({})])});e.setTooltip(o),Nu(r,o),t.onShow(n,o),Ou.position(r,t.anchor(n),o)}}(n)}),t.delay)})),eo(Mm,(function(r){e.resetTimer((function(){n(r)}),t.delay)})),eo(Ar(),(function(t,e){B(e.channels(),bm)&&n(t)})),lo((function(t){n(t)}))],"normal"===t.mode?[eo(dr(),(function(t){Ur(t,ym)})),eo(wr(),(function(t){Ur(t,Mm)})),eo(lr(),(function(t){Ur(t,ym)})),eo(cr(),(function(t){Ur(t,Mm)}))]:[eo(Xr(),(function(t,e){Ur(t,ym)})),eo(Fr(),(function(t){Ur(t,Mm)}))]]))}}),state:vm,apis:wm}),Am=function(t){var e=sn.fromHtml(t),n=xo(e),r=function(t){var e=void 0!==t.dom().attributes?t.dom().attributes:[];return I(e,(function(t,e){var n;return"class"===e.name?t:f(f({},t),((n={})[e.name]=e.value,n))}),{})}(e),o=function(t){return Array.prototype.slice.call(t.dom().classList,0)}(e),i=0===n.length?{}:{innerHtml:Eo(e)};return f({tag:jn(e),classes:o,attributes:r},i)},Lm=tinymce.util.Tools.resolve("tinymce.util.I18n"),Tm="tox-menu-nav__js",km="tox-collection__item",Sm={normal:Tm,color:"tox-swatch"},Om="tox-collection__item-label",Cm="tox-collection__item--active",zm=function(t){return Ot(Sm,t).getOr(Tm)},Dm=tinymce.util.Tools.resolve("tinymce.Env"),Em=function(t){var e=Dm.mac?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl",access:"Shift+Alt"},n=t.split("+"),r=Y(n,(function(t){var n=t.toLowerCase().trim();return ut(e,n)?e[n]:t}));return Dm.mac?r.join(""):r.join("+")},Nm=function(t){return{dom:{tag:"div",classes:["tox-collection__item-icon"],innerHtml:t}}},Bm=function(t){return{dom:{tag:"div",classes:[Om]},components:[Ki(Lm.translate(t))]}},Pm=function(t,e){return{dom:{tag:"div",classes:[Om]},components:[{dom:{tag:t.tag,attributes:{style:t.styleAttr}},components:[Ki(Lm.translate(e))]}]}},Rm=function(t){return{dom:{tag:"div",classes:["tox-collection__item-accessory"],innerHtml:Em(t)}}},Ym=function(t){return{dom:{tag:"div",classes:["tox-collection__item-icon","tox-collection__item-checkmark"],innerHtml:zp("checkmark",t)}}},Wm=function(t,e,n,r,o){var i=n?t.checkMark.orThunk((function(){return e.or(y.some("")).map(Nm)})):y.none(),a=t.ariaLabel.map((function(t){return{attributes:{title:Lm.translate(t)}}})).getOr({});return{dom:pt({tag:"div",classes:[Tm,km].concat(o?["tox-collection__item-icon-rtl"]:[])},a),optComponents:[i,t.htmlContent.fold((function(){return t.textContent.map(r)}),(function(t){return y.some(function(t){return{dom:{tag:"div",classes:[Om],innerHtml:t}}}(t))})),t.shortcutContent.map(Rm),t.caret]}},Hm=["list-num-default","list-num-lower-alpha","list-num-lower-greek","list-num-lower-roman","list-num-upper-alpha","list-num-upper-roman"],qm=["list-bull-circle","list-bull-default","list-bull-square"],Im=function(t,e,n,r){void 0===r&&(r=y.none());var o,i=Lm.isRtl()&&t.iconContent.exists((function(t){return B(qm,t)})),s=(o=t.iconContent,o.map((function(t){return Lm.isRtl()&&B(Hm,t)?t+"-rtl":t}))).map((function(t){return function(t,e,n){return y.from(e()[t]).or(n).getOrThunk((function(){return Cp(e)}))}(t,e.icons,r)})),c=y.from(t.meta).fold((function(){return Bm}),(function(t){return ut(t,"style")?a(Pm,t.style):Bm}));return"color"===t.presets?function(t,e,n,r){var o,i;return{dom:(o=n.getOr(""),i=t.map((function(t){return' title="'+r.translate(t)+'"'})).getOr(""),Am("custom"===e?'<button class="tox-swatch tox-swatches__picker-btn"'+i+">"+o+"</button>":"remove"===e?'<div class="tox-swatch tox-swatch--remove"'+i+">"+o+"</div>":'<div class="tox-swatch" style="background-color: '+e+'" data-mce-color="'+e+'"'+i+"></div>")),optComponents:[]}}(t.ariaLabel,t.value,s,e):Wm(t,s,n,c,i)},jm=["input","button","textarea","select"],Xm=function(t,e,n){e.disabled&&Km(t,e)},Fm=function(t,e){return!0===e.useNative&&B(jm,jn(t.element()))},Um=function(t){Po(t.element(),"disabled","disabled")},Vm=function(t){Wo(t.element(),"disabled")},Gm=function(t){Po(t.element(),"aria-disabled","true")},$m=function(t){Po(t.element(),"aria-disabled","false")},Km=function(t,e,n){e.disableClass.each((function(e){Ai(t.element(),e)})),(Fm(t,e)?Um:Gm)(t),e.onDisabled(t)},Jm=function(t,e,n){e.disableClass.each((function(e){Ti(t.element(),e)})),(Fm(t,e)?Vm:$m)(t),e.onEnabled(t)},Qm=function(t,e){return Fm(t,e)?function(t){return Yo(t.element(),"disabled")}(t):function(t){return"true"===Ro(t.element(),"aria-disabled")}(t)},Zm=Object.freeze({enable:Jm,disable:Km,isDisabled:Qm,onLoad:Xm,set:function(t,e,n,r){(r?Km:Jm)(t,e,n)}}),tg=Object.freeze({exhibit:function(t,e,n){return di({classes:e.disabled?e.disableClass.map(K).getOr([]):[]})},events:function(t,e){return Qr([Zr(Lr(),(function(e,n){return Qm(e,t)})),Ls(t,e,Xm)])}}),eg=[$e("disabled",!1),$e("useNative",!0),je("disableClass"),Ua("onDisabled"),Ua("onEnabled")],ng=zs({fields:eg,name:"disabling",active:tg,apis:Zm}),rg=function(t){return ng.config({disabled:t,disableClass:"tox-collection__item--state-disabled"})},og=function(t){return ng.config({disabled:t})},ig=function(t){return ng.config({disabled:t,disableClass:"tox-tbtn--disabled"})},ag=function(t){return ng.config({disabled:t,disableClass:"tox-tbtn--disabled",useNative:!1})},sg=function(t,e){var n=t.getApi(e);return function(t){t(n)}},cg=function(t,e){return uo((function(n){sg(t,n)((function(n){var r=t.onSetup(n);null!=r&&e.set(r)}))}))},ug=function(t,e){return lo((function(n){return sg(t,n)(e.get())}))};!function(t){t[t.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",t[t.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX"}(Rp||(Rp={}));var lg=Rp,dg=function(t,e){return ho((function(n,r){sg(t,n)(t.onAction),t.triggersSubmenu||e!==lg.CLOSE_ON_EXECUTE||(Ur(n,Or()),r.stop())}))},fg={"alloy.execute":["disabling","alloy.base.behaviour","toggling","item-events"]},hg=function(t){return U(t,(function(t){return t.toArray()}))},pg=function(t,e,r){var o=on(n);return{type:"item",dom:e.dom,components:hg(e.optComponents),data:t.data,eventOrder:fg,hasSubmenu:t.triggersSubmenu,itemBehaviours:Os([zh("item-events",[dg(t,r),cg(t,o),ug(t,o)]),rg(t.disabled),Ch.config({})].concat(t.itemBehaviours))}},mg=function(t){return{value:t.value,meta:pt({text:t.text.getOr("")},t.meta)}},gg=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),vg=function(t,e){return ct(t,"tooltipWorker").map((function(t){return[xm.config({lazySink:e.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:function(t){return{anchor:"submenu",item:t,overrides:{maxHeightFunction:Mu}}},mode:"follow-highlight",onShow:function(e,n){t((function(t){xm.setComponents(e,[Ji({element:sn.fromDom(t)})])}))}})]})).getOr([])},bg=function(t,e){var n=function(t){return gg.DOM.encode(t)}(Lm.translate(t));if(e.length>0){var r=new RegExp(function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e),"gi");return n.replace(r,(function(t){return'<span class="tox-autocompleter-highlight">'+t+"</span>"}))}return n},yg=o(Ql("item-widget",rp())),Mg=Uo("cell-over"),_g=Uo("cell-execute"),wg=function(t,e,n){var r,o=function(n){return Vr(n,_g,{row:t,col:e})},i=function(t,e){e.stop(),o(t)};return Zi({dom:{tag:"div",attributes:(r={role:"button"},r["aria-labelledby"]=n,r)},behaviours:Os([zh("insert-table-picker-cell",[eo(lr(),Ph.focus),eo(Lr(),o),eo(vr(),i),eo(kr(),i)]),Gh.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),Ph.config({onFocus:function(n){return Vr(n,Mg,{row:t,col:e})}})])})},xg=function(t){return U(t,(function(t){return Y(t,ta)}))},Ag=function(t,e){return Ki(e+1+"x"+(t+1))};var Lg=function(t){return{value:o(t)}},Tg=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,kg=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Sg=function(t){return Tg.test(t)||kg.test(t)},Og=function(t){var e=function(t){var e=t.value().replace(Tg,(function(t,e,n,r){return e+e+n+n+r+r}));return{value:o(e)}}(t),n=kg.exec(e.value());return null===n?["FFFFFF","FF","FF","FF"]:n},Cg=function(t){var e=t.toString(16);return 1===e.length?"0"+e:e},zg=function(t){var e=Cg(t.red())+Cg(t.green())+Cg(t.blue());return Lg(e)},Dg=Math.min,Eg=Math.max,Ng=Math.round,Bg=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)/,Pg=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/,Rg=function(t,e,n,r){return{red:o(t),green:o(e),blue:o(n),alpha:o(r)}},Yg=function(t){var e=parseInt(t,10);return e.toString()===t&&e>=0&&e<=255},Wg=function(t){var e,n,r,o=(t.hue()||0)%360,i=t.saturation()/100,a=t.value()/100;if(i=Eg(0,Dg(i,1)),a=Eg(0,Dg(a,1)),0===i)return e=n=r=Ng(255*a),Rg(e,n,r,1);var s=o/60,c=a*i,u=c*(1-Math.abs(s%2-1)),l=a-c;switch(Math.floor(s)){case 0:e=c,n=u,r=0;break;case 1:e=u,n=c,r=0;break;case 2:e=0,n=c,r=u;break;case 3:e=0,n=u,r=c;break;case 4:e=u,n=0,r=c;break;case 5:e=c,n=0,r=u;break;default:e=n=r=0}return e=Ng(255*(e+l)),n=Ng(255*(n+l)),r=Ng(255*(r+l)),Rg(e,n,r,1)},Hg=function(t){var e=Og(t),n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16);return Rg(n,r,o,1)},qg=function(t,e,n,r){var o=parseInt(t,10),i=parseInt(e,10),a=parseInt(n,10),s=parseFloat(r);return Rg(o,i,a,s)},Ig=function(t){return"rgba("+t.red()+","+t.green()+","+t.blue()+","+t.alpha()+")"},jg=o(Rg(255,0,0,1)),Xg=tinymce.util.Tools.resolve("tinymce.util.LocalStorage");var Fg="choiceitem",Ug=[{type:Fg,text:"Light Green",value:"#BFEDD2"},{type:Fg,text:"Light Yellow",value:"#FBEEB8"},{type:Fg,text:"Light Red",value:"#F8CAC6"},{type:Fg,text:"Light Purple",value:"#ECCAFA"},{type:Fg,text:"Light Blue",value:"#C2E0F4"},{type:Fg,text:"Green",value:"#2DC26B"},{type:Fg,text:"Yellow",value:"#F1C40F"},{type:Fg,text:"Red",value:"#E03E2D"},{type:Fg,text:"Purple",value:"#B96AD9"},{type:Fg,text:"Blue",value:"#3598DB"},{type:Fg,text:"Dark Turquoise",value:"#169179"},{type:Fg,text:"Orange",value:"#E67E23"},{type:Fg,text:"Dark Red",value:"#BA372A"},{type:Fg,text:"Dark Purple",value:"#843FA1"},{type:Fg,text:"Dark Blue",value:"#236FA1"},{type:Fg,text:"Light Gray",value:"#ECF0F1"},{type:Fg,text:"Medium Gray",value:"#CED4D9"},{type:Fg,text:"Gray",value:"#95A5A6"},{type:Fg,text:"Dark Gray",value:"#7E8C8D"},{type:Fg,text:"Navy Blue",value:"#34495E"},{type:Fg,text:"Black",value:"#000000"},{type:Fg,text:"White",value:"#ffffff"}],Vg=function(t){void 0===t&&(t=10);var e,n=Xg.getItem("tinymce-custom-colors"),r=A(n)?JSON.parse(n):[],o=t-(e=r).length<0?e.slice(0,t):e,i=function(t){o.splice(t,1)};return{add:function(e){(function(t,e){var n=N(t,e);return-1===n?y.none():y.some(n)})(o,e).each(i),o.unshift(e),o.length>t&&o.pop(),Xg.setItem("tinymce-custom-colors",JSON.stringify(o))},state:function(){return o.slice(0)}}}(10),Gg=function(t){var n=[],r=e.document.createElement("canvas");r.height=1,r.width=1;for(var o=r.getContext("2d"),i=function(t,e){var n=e/255;return("0"+Math.round(t*n+255*(1-n)).toString(16)).slice(-2).toUpperCase()},a=function(t){if(/^[0-9A-Fa-f]{6}$/.test(t))return"#"+t.toUpperCase();o.clearRect(0,0,r.width,r.height),o.fillStyle="#FFFFFF",o.fillStyle=t,o.fillRect(0,0,1,1);var e=o.getImageData(0,0,1,1).data,n=e[0],a=e[1],s=e[2],c=e[3];return"#"+i(n,c)+i(a,c)+i(s,c)},s=0;s<t.length;s+=2)n.push({text:t[s+1],value:a(t[s]),type:"choiceitem"});return n},$g=function(t){return t.getParam("color_map")},Kg=function(t,e){return t.getParam("color_cols",e,"number")},Jg=function(t){return!1!==t.getParam("custom_colors")},Qg=function(t){var e=$g(t);return void 0!==e?Gg(e):Ug},Zg=function(){return Y(Vg.state(),(function(t){return{type:Fg,text:t,value:t}}))},tv=function(t){Vg.add(t)},ev=function(t){return t.fire("SkinLoaded")},nv=function(t){return t.fire("ResizeEditor")},rv=function(t,e){return t.fire("ScrollContent",e)},ov=function(t,e){return t.fire("ResizeContent",e)},iv=function(t,e){return t.fire("TextColorChange",e)},av=function(t,e){var n;return t.dom.getParents(t.selection.getStart(),(function(t){var r;(r=t.style["forecolor"===e?"color":"background-color"])&&(n=n||r)})),n},sv=function(t){return Math.max(5,Math.ceil(Math.sqrt(t)))},cv=function(t){var e=Qg(t),n=sv(e.length);return Kg(t,n)},uv=function(t,e,n,r){"custom"===n?mv(t)((function(n){n.each((function(n){tv(n),t.execCommand("mceApplyTextcolor",e,n),r(n)}))}),"#000000"):"remove"===n?(r(""),t.execCommand("mceRemoveTextcolor",e)):(r(n),t.execCommand("mceApplyTextcolor",e,n))},lv=function(t,e){return t.concat(Zg().concat(function(t){var e={type:"choiceitem",text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return t?[e,{type:"choiceitem",text:"Custom color",icon:"color-picker",value:"custom"}]:[e]}(e)))},dv=function(t,e){return function(n){n(lv(t,e))}},fv=function(t,e,n){var r,o;r="forecolor"===e?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color",o=n,t.setIconFill(r,o),t.setIconStroke(r,o)},hv=function(t,e,n,r,o){t.ui.registry.addSplitButton(e,{tooltip:r,presets:"color",icon:"forecolor"===e?"text-color":"highlight-bg-color",select:function(e){return y.from(av(t,n)).bind((function(t){return function(t){if("transparent"===t)return y.some(Rg(0,0,0,0));var e=Bg.exec(t);if(null!==e)return y.some(qg(e[1],e[2],e[3],"1"));var n=Pg.exec(t);return null!==n?y.some(qg(n[1],n[2],n[3],n[4])):y.none()}(t).map((function(t){var n=zg(t).value();return wn(e.toLowerCase(),n)}))})).getOr(!1)},columns:cv(t),fetch:dv(Qg(t),Jg(t)),onAction:function(e){null!==o.get()&&uv(t,n,o.get(),(function(){}))},onItemAction:function(r,i){uv(t,n,i,(function(n){o.set(n),iv(t,{name:e,color:n})}))},onSetup:function(n){null!==o.get()&&fv(n,e,o.get());var r=function(t){t.name===e&&fv(n,t.name,t.color)};return t.on("TextColorChange",r),function(){t.off("TextColorChange",r)}}})},pv=function(t,e,r,o){t.ui.registry.addNestedMenuItem(e,{text:o,icon:"forecolor"===e?"text-color":"highlight-bg-color",getSubmenuItems:function(){return[{type:"fancymenuitem",fancytype:"colorswatch",onAction:function(e){uv(t,r,e.value,n)}}]}})},mv=function(t){return function(e,n){var r={colorpicker:n},o=function(t){return function(e){var n=e.getData();t(y.from(n.colorpicker)),e.close()}}(e);t.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:r,onAction:function(t,e){"hex-valid"===e.name&&(e.value?t.enable("ok"):t.disable("ok"))},onSubmit:o,onClose:function(){},onCancel:function(){e(y.none())}})}},gv={register:function(t){!function(t){t.addCommand("mceApplyTextcolor",(function(e,n){!function(t,e,n){t.undoManager.transact((function(){t.focus(),t.formatter.apply(e,{value:n}),t.nodeChanged()}))}(t,e,n)})),t.addCommand("mceRemoveTextcolor",(function(e){!function(t,e){t.undoManager.transact((function(){t.focus(),t.formatter.remove(e,{value:null},null,!0),t.nodeChanged()}))}(t,e)}))}(t);var e=on(null),n=on(null);hv(t,"forecolor","forecolor","Text color",e),hv(t,"backcolor","hilitecolor","Background color",n),pv(t,"forecolor","forecolor","Text color"),pv(t,"backcolor","hilitecolor","Background color")},getColors:lv,getFetch:dv,colorPickerDialog:mv,getCurrentColor:av,getColorCols:cv,calcCols:sv},vv=function(t,e){return function(n){var r=R(n,e);return Y(r,(function(e){return{dom:t,components:e}}))}},bv=function(t,e){var n=[],r=[];return W(t,(function(t,o){e(t,o)?(r.length>0&&n.push(r),r=[],ut(t.dom,"innerHtml")&&r.push(t)):r.push(t)})),r.length>0&&n.push(r),Y(n,(function(t){return{dom:{tag:"div",classes:["tox-collection__group"]},components:t}}))},yv=function(t,e,n){return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===t?["tox-collection--list"]:["tox-collection--grid"])},components:[up.parts().items({preprocess:function(n){return"auto"!==t&&t>1?vv({tag:"div",classes:["tox-collection__group"]},t)(n):bv(n,(function(t,n){return"separator"===e[n].type}))}})]}},Mv=function(t){return"color"===t?"tox-swatches":"tox-menu"},_v=function(t){return{backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:Mv(t),tieredMenu:"tox-tiered-menu"}},wv=function(t){var e=_v(t);return{backgroundMenu:e.backgroundMenu,selectedMenu:e.selectedMenu,menu:e.menu,selectedItem:e.selectedItem,item:zm(t)}},xv=function(t,e,n){var r=_v(n);return{tag:"div",classes:F([[r.menu,"tox-menu-"+e+"-column"],t?[r.hasIcons]:[]])}},Av=[up.parts().items({})],Lv=function(t,e,n){var r=_v(n);return{dom:{tag:"div",classes:F([[r.tieredMenu]])},markers:wv(n)}},Tv=function(t){return void 0!==t.icon||"togglemenuitem"===t.type||"choicemenuitem"===t.type},kv=function(t){return e.console.error(we(t)),e.console.log(t),y.none()},Sv=function(t,e,n,r,o){var i,a=(i=n,{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[up.parts().items({preprocess:function(t){return bv(t,(function(t,e){return"separator"===i[e].type}))}})]});return{value:t,dom:a.dom,components:a.components,items:n}},Ov=function(t,e,n,r,o){var a;return"color"===o?{value:t,dom:(a=function(t){return{dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"]},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[up.parts().items({preprocess:"auto"!==t?vv({tag:"div",classes:["tox-swatches__row"]},t):i})]}]}}(r)).dom,components:a.components,items:n}:"normal"===o&&"auto"===r?{value:t,dom:(a=yv(r,n)).dom,components:a.components,items:n}:"normal"===o&&1===r?{value:t,dom:(a=yv(1,n)).dom,components:a.components,items:n}:"normal"===o?{value:t,dom:(a=yv(r,n)).dom,components:a.components,items:n}:"listpreview"===o&&"auto"!==r?{value:t,dom:(a=function(t){return{dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[up.parts().items({preprocess:vv({tag:"div",classes:["tox-collection__group"]},t)})]}}(r)).dom,components:a.components,items:n}:{value:t,dom:xv(e,r,o),components:Av,items:n}},Cv=function(t,e,n,r,o,i,a,s){var c=P(e,Tv),u=zv(e,n,r,"color"!==o?"normal":"color",i,a,s);return Ov(t,c,u,r,o)},zv=function(t,e,n,r,o,i,a){return Da(Y(t,(function(t){return"choiceitem"===t.type?function(t){return ye("choicemenuitem",dm,t)}(t).fold(kv,(function(s){return y.some(function(t,e,n,r,o,i,a){var s=Im({presets:n,textContent:e?t.text:y.none(),htmlContent:y.none(),ariaLabel:t.text,iconContent:t.icon,shortcutContent:e?t.shortcut:y.none(),checkMark:e?y.some(Ym(a.icons)):y.none(),caret:y.none(),value:t.value},a,!0);return ht(pg({data:mg(t),disabled:t.disabled,getApi:function(t){return{setActive:function(e){Gh.set(t,e)},isActive:function(){return Gh.isOn(t)},isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)}}},onAction:function(e){return r(t.value)},onSetup:function(t){return t.setActive(o),function(){}},triggersSubmenu:!1,itemBehaviours:[]},s,i),{toggling:{toggleClass:"tox-collection__item--enabled",toggleOnExecute:!1,selected:t.active}})}(s,1===n,r,e,i(t.value),o,a))})):y.none()})))},Dv=function(t,e){var n=wv(e);return 1===t?{mode:"menu",moveOnTab:!0}:"auto"===t?{mode:"grid",selector:"."+n.item,initSize:{numColumns:1,numRows:1}}:{mode:"matrix",rowSelector:"."+("color"===e?"tox-swatches__row":"tox-collection__group")}};var Ev,Nv={inserttable:function(t){var e=Uo("size-label"),n=function(t,e,n){for(var r=[],o=0;o<e;o++){for(var i=[],a=0;a<n;a++)i.push(wg(o,a,t));r.push(i)}return r}(e,10,10),r=Op({dom:{tag:"span",classes:["tox-insert-table-picker__label"],attributes:{id:e}},components:[Ki("0x0")],behaviours:Os([Ch.config({})])});return{type:"widget",data:{value:Uo("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[yg().widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:xg(n).concat(r.asSpec()),behaviours:Os([zh("insert-table-picker",[io(Mg,(function(t,e,o){var i=o.event().row(),a=o.event().col();!function(t,e,n,r,o){for(var i=0;i<r;i++)for(var a=0;a<o;a++)Gh.set(t[i][a],i<=e&&a<=n)}(n,i,a,10,10),Ch.set(r.get(t),[Ag(i,a)])})),io(_g,(function(e,n,r){t.onAction({numRows:r.event().row()+1,numColumns:r.event().col()+1}),Ur(e,Or())}))]),Lh.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:function(t,e){var n=gv.getColors(e.colorinput.getColors(),e.colorinput.hasCustomColors()),r=e.colorinput.getColorCols(),o=Cv(Uo("menu-value"),n,(function(e){t.onAction({value:e})}),r,"color",lg.CLOSE_ON_EXECUTE,(function(){return!1}),e.shared.providers),i=ht(f(f({},o),{markers:wv("color"),movement:Dv(r,"color")}));return{type:"widget",data:{value:Uo("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[yg().widget(up.sketch(i))]}}},Bv=function(t,e,n,r,o,i,a,s){void 0===s&&(s=!0);var c=Im({presets:r,textContent:y.none(),htmlContent:n?t.text.map((function(t){return bg(t,e)})):y.none(),ariaLabel:t.text,iconContent:t.icon,shortcutContent:y.none(),checkMark:y.none(),caret:y.none(),value:t.value},a.providers,s,t.icon);return pg({data:mg(t),disabled:t.disabled,getApi:function(){return{}},onAction:function(e){return o(t.value,t.meta)},onSetup:function(){return function(){}},triggersSubmenu:!1,itemBehaviours:vg(t.meta,a)},c,i)},Pv=function(t){var e=t.text.fold((function(){return{}}),(function(t){return{innerHtml:t}}));return{type:"separator",dom:f({tag:"div",classes:[km,"tox-collection__group-heading"]},e),components:[]}},Rv=function(t,e,n,r){void 0===r&&(r=!0);var o=Im({presets:"normal",iconContent:t.icon,textContent:t.text,htmlContent:y.none(),ariaLabel:t.text,caret:y.none(),checkMark:y.none(),shortcutContent:t.shortcut},n,r);return pg({data:mg(t),getApi:function(t){return{isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)}}},disabled:t.disabled,onAction:t.onAction,onSetup:t.onSetup,triggersSubmenu:!1,itemBehaviours:[]},o,e)},Yv=function(t,e,r,o,i){void 0===o&&(o=!0),void 0===i&&(i=!1);var a,s=i?(a=r.icons,{dom:{tag:"div",classes:["tox-collection__item-caret"],innerHtml:zp("chevron-down",a)}}):function(t){return{dom:{tag:"div",classes:["tox-collection__item-caret"],innerHtml:zp("chevron-right",t)}}}(r.icons),c=Im({presets:"normal",iconContent:t.icon,textContent:t.text,htmlContent:y.none(),ariaLabel:t.text,caret:y.some(s),checkMark:y.none(),shortcutContent:t.shortcut},r,o);return pg({data:mg(t),getApi:function(t){return{isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)}}},disabled:t.disabled,onAction:n,onSetup:t.onSetup,triggersSubmenu:!0,itemBehaviours:[]},c,e)},Wv=function(t,e,n){var r=Im({iconContent:y.none(),textContent:t.text,htmlContent:y.none(),ariaLabel:t.text,checkMark:y.some(Ym(n.icons)),caret:y.none(),shortcutContent:t.shortcut,presets:"normal",meta:t.meta},n,!0);return ht(pg({data:mg(t),disabled:t.disabled,getApi:function(t){return{setActive:function(e){Gh.set(t,e)},isActive:function(){return Gh.isOn(t)},isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)}}},onAction:t.onAction,onSetup:t.onSetup,triggersSubmenu:!1,itemBehaviours:[]},r,e),{toggling:{toggleClass:"tox-collection__item--enabled",toggleOnExecute:!1,selected:t.active}})},Hv=function(t,e){return(n=Nv,r=t.fancytype,Object.prototype.hasOwnProperty.call(n,r)?y.some(n[r]):y.none()).map((function(n){return n(t,e)}));var n,r};!function(t){t[t.ContentFocus=0]="ContentFocus",t[t.UiFocus=1]="UiFocus"}(Ev||(Ev={}));var qv=function(t){return void 0!==t.icon||"togglemenuitem"===t.type||"choicemenuitem"===t.type},Iv=function(t){return P(t,qv)},jv=function(t,n,r,o,i){var a=r.shared.providers,s=function(t){return i?f(f({},t),{shortcut:y.none(),icon:t.text.isSome()?y.none():t.icon}):t};switch(t.type){case"menuitem":return function(t){return ye("menuitem",cm,t)}(t).fold(kv,(function(t){return y.some(Rv(s(t),n,a,o))}));case"nestedmenuitem":return function(t){return ye("nestedmenuitem",um,t)}(t).fold(kv,(function(t){return y.some(Yv(s(t),n,a,o,i))}));case"togglemenuitem":return function(t){return ye("togglemenuitem",lm,t)}(t).fold(kv,(function(t){return y.some(Wv(s(t),n,a))}));case"separator":return function(t){return ye("separatormenuitem",rm,t)}(t).fold(kv,(function(t){return y.some(Pv(t))}));case"fancymenuitem":return function(t){return ye("fancymenuitem",fm,t)}(t).fold(kv,(function(t){return Hv(s(t),r)}));default:return e.console.error("Unknown item in general menu",t),y.none()}},Xv=function(t,e,n,r,o,i){var a=1===r,s=!a||Iv(t);return Da(Y(t,(function(t){return"separator"===t.type?function(t){return ye("Autocompleter.Separator",rm,t)}(t).fold(kv,(function(t){return y.some(Pv(t))})):function(t){return ye("Autocompleter.Item",om,t)}(t).fold(kv,(function(t){return y.some(Bv(t,e,a,"normal",n,o,i,s))}))})))},Fv=function(t,e,n,r,o){var i=Iv(e),a=Da(Y(e,(function(t){var e=function(t){return jv(t,n,r,function(t){return o?!t.hasOwnProperty("text"):i}(t),o)};return"nestedmenuitem"===t.type&&t.getSubmenuItems().length<=0?e(pt(t,{disabled:!0})):e(t)})));return(o?Sv:Ov)(t,i,a,1,"normal")},Uv=function(t){return mp.singleData(t.value,t)},Vv=function(t,n){var r=on(y.none()),o=on(!1),i=Zi(gp.sketch({dom:{tag:"div",classes:["tox-autocompleter"]},components:[],fireDismissalEventInstead:{},inlineBehaviours:Os([zh("dismissAutocompleter",[eo(Yr(),(function(){return c()}))])]),lazySink:n.getSink})),a=function(){return r.get().isSome()},s=function(){a()&&gp.hide(i)},c=function(){if(a()){var e=r.get().map((function(t){return t.element}));Fp(e.getOr(sn.fromDom(t.selection.getNode()))).each(Do),s(),r.set(y.none()),o.set(!1)}},u=mt((function(){return am(t)})),l=function(e,n,r,o){e.matchLength=n.text.length;var a=Ea(r,(function(t){return y.from(t.columns)})).getOr(1);gp.showAt(i,{anchor:"node",root:sn.fromDom(t.getBody()),node:y.from(e.element)},up.sketch(function(t,e,n,r){var o=n===Ev.ContentFocus?$d():Gd(),i=Dv(e,r),a=wv(r);return{dom:t.dom,components:t.components,items:t.items,value:t.value,markers:{selectedItem:a.selectedItem,item:a.item},movement:i,fakeFocus:n===Ev.ContentFocus,focusManager:o,menuBehaviours:mm("auto"!==e?[]:[uo((function(t,e){hm(t,4,a.item).each((function(e){var n=e.numColumns,r=e.numRows;Lh.setGridSize(t,r,n)}))}))])}}(Ov("autocompleter-value",!0,o,a,"normal"),a,Ev.ContentFocus,"normal"))),gp.getContent(i).each(Pd.highlightFirst)},d=function(i){(function(e){return r.get().map((function(n){return $p(t.dom,t.selection.getRng(),n.triggerChar).bind((function(n){return nm(t,u,n,e)}))})).getOrThunk((function(){return em(t,u)}))})(i).fold(c,(function(i){!function(e){if(!a()){var n=Xp(t,e.range);r.set(y.some({triggerChar:e.triggerChar,element:n,matchLength:e.text.length})),o.set(!1)}}(i.context),i.lookupData.then((function(a){r.get().map((function(r){var u,f,h,p=i.context;if(r.triggerChar===p.triggerChar){var m=(u=p.triggerChar,h=Ea(f=a,(function(t){return y.from(t.columns)})).getOr(1),U(f,(function(r){var i=r.items;return Xv(i,r.matchText,(function(n,i){var a=t.selection.getRng();$p(t.dom,a,u).fold((function(){return e.console.error("Lost context. Cursor probably moved")}),(function(t){var e=t.range,a={hide:function(){c()},reload:function(t){s(),d(t)}};o.set(!0),r.onAction(a,e,n,i),o.set(!1)}))}),h,lg.BUBBLE_TO_SANDBOX,n)})));m.length>0?l(r,p,a,m):p.text.length-r.matchLength>=10?c():s()}}))}))}))},f={onKeypress:Yp((function(t){27!==t.which&&d()}),50),cancelIfNecessary:c,isMenuOpen:function(){return gp.isOpen(i)},isActive:a,isProcessingAction:o.get,getView:function(){return gp.getContent(i)}};Kp(f,t)},Gv=function(t){var e=sn.fromDom(t.target),n=function(){t.stopPropagation()},i=function(){t.preventDefault()},a=r(i,n);return function(t,e,n,r,i,a,s){return{target:o(t),x:o(e),y:o(n),stop:r,prevent:i,kill:a,raw:o(s)}}(e,t.clientX,t.clientY,n,i,a,t)},$v=function(t,e,n,r,o){var i=function(t,e){return function(n){t(n)&&e(Gv(n))}}(n,r);return t.dom().addEventListener(e,i,o),{unbind:a(Kv,t,e,i,o)}},Kv=function(t,e,n,r){t.dom().removeEventListener(e,n,r)},Jv=o(!0),Qv=function(t,e,n){return function(t,e,n,r){return $v(t,e,n,r,!1)}(t,e,Jv,n)},Zv=function(t,e,n){return function(t,e,n,r){return $v(t,e,n,r,!0)}(t,e,Jv,n)},tb=Gv,eb=function(t,e,n){return Sa(t,e,n).isSome()};function nb(t,n){var r=null;return{cancel:function(){null!==r&&(e.clearTimeout(r),r=null)},schedule:function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];r=e.setTimeout((function(){t.apply(null,o),r=null}),n)}}}var rb=function(t){var e=t.raw();return void 0===e.touches||1!==e.touches.length?y.none():y.some(e.touches[0])},ob=function(t){var e=on(y.none()),n=on(!1),r=nb((function(e){t.triggerEvent(Sr(),e),n.set(!0)}),400),i=zt([{key:nr(),value:function(t){return rb(t).each((function(i){r.cancel();var a={x:o(i.clientX),y:o(i.clientY),target:t.target};r.schedule(t),n.set(!1),e.set(y.some(a))})),y.none()}},{key:rr(),value:function(t){return r.cancel(),rb(t).each((function(t){e.get().each((function(n){(function(t,e){var n=Math.abs(t.clientX-e.x()),r=Math.abs(t.clientY-e.y());return n>5||r>5})(t,n)&&e.set(y.none())}))})),y.none()}},{key:or(),value:function(o){r.cancel();return e.get().filter((function(t){return Wn(t.target(),o.target())})).map((function(e){return n.get()?(o.prevent(),!1):t.triggerEvent(kr(),o)}))}}]);return{fireIfReady:function(t,e){return Ot(i,e).bind((function(e){return e(t)}))}}},ib=Cn().browser.isFirefox(),ab=ie([We("triggerEvent"),$e("stopBackspace",!0)]),sb=function(t,n){var r=_e("Getting GUI events settings",ab,n),o=ob(r),i=Y(["touchstart","touchmove","touchend","touchcancel","gesturestart","mousedown","mouseup","mouseover","mousemove","mouseout","click"].concat(["selectstart","input","contextmenu","change","transitionend","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),(function(e){return Qv(t,e,(function(t){o.fireIfReady(t,e).each((function(e){e&&t.kill()})),r.triggerEvent(e,t)&&t.kill()}))})),a=on(y.none()),s=Qv(t,"paste",(function(t){o.fireIfReady(t,"paste").each((function(e){e&&t.kill()})),r.triggerEvent("paste",t)&&t.kill(),a.set(y.some(e.setTimeout((function(){r.triggerEvent(xr(),t)}),0)))})),c=Qv(t,"keydown",(function(t){r.triggerEvent("keydown",t)?t.kill():!0===r.stopBackspace&&function(t){return 8===t.raw().which&&!B(["input","textarea"],jn(t.target()))&&!eb(t.target(),'[contenteditable="true"]')}(t)&&t.prevent()})),u=function(t,e){return ib?Zv(t,"focus",e):Qv(t,"focusin",e)}(t,(function(t){r.triggerEvent("focusin",t)&&t.kill()})),l=on(y.none()),d=function(t,e){return ib?Zv(t,"blur",e):Qv(t,"focusout",e)}(t,(function(t){r.triggerEvent("focusout",t)&&t.kill(),l.set(y.some(e.setTimeout((function(){r.triggerEvent(wr(),t)}),0)))}));return{unbind:function(){W(i,(function(t){t.unbind()})),c.unbind(),u.unbind(),d.unbind(),s.unbind(),a.get().each(e.clearTimeout),l.get().each(e.clearTimeout)}}},cb=function(t,e){var n=Ot(t,"target").map((function(t){return t()})).getOr(e);return on(n)},ub=lt([{stopped:[]},{resume:["element"]},{complete:[]}]),lb=function(t,e,n,r,i,a){var s=t(e,r),c=function(t,e){var n=on(!1),r=on(!1);return{stop:function(){n.set(!0)},cut:function(){r.set(!0)},isStopped:n.get,isCut:r.get,event:o(t),setSource:e.set,getSource:e.get}}(n,i);return s.fold((function(){return a.logEventNoHandlers(e,r),ub.complete()}),(function(t){var n=t.descHandler();return hi(n)(c),c.isStopped()?(a.logEventStopped(e,t.element(),n.purpose()),ub.stopped()):c.isCut()?(a.logEventCut(e,t.element(),n.purpose()),ub.complete()):_o(t.element()).fold((function(){return a.logNoParent(e,t.element(),n.purpose()),ub.complete()}),(function(r){return a.logEventResponse(e,t.element(),n.purpose()),ub.resume(r)}))}))},db=function(t,e,n,r,o,i){return lb(t,e,n,r,o,i).fold((function(){return!0}),(function(r){return db(t,e,n,r,o,i)}),(function(){return!1}))},fb=function(t,e,r){var i=function(t){var e=on(!1);return{stop:function(){e.set(!0)},cut:n,isStopped:e.get,isCut:o(!1),event:o(t),setSource:c("Cannot set source of a broadcasted event"),getSource:c("Cannot get source of a broadcasted event")}}(e);return W(t,(function(t){var e=t.descHandler();hi(e)(i)})),i.isStopped()},hb=function(t,e,n,r,o){var i=cb(n,r);return db(t,e,n,r,i,o)},pb=po("element","descHandler");function mb(){var t={};return{registerId:function(e,n,r){nt(r,(function(r,o){var i=void 0!==t[o]?t[o]:{};i[n]=fi(r,e),t[o]=i}))},unregisterId:function(e){nt(t,(function(t,n){t.hasOwnProperty(e)&&delete t[e]}))},filterByType:function(e){return Ot(t,e).map((function(t){return it(t,(function(t,e){return function(t,e){return{id:o(t),descHandler:o(e)}}(e,t)}))})).getOr([])},find:function(e,n,r){var o=kt(n)(t);return Zn(r,(function(t){return function(t,e){return Qo(e).fold((function(){return y.none()}),(function(n){var r=kt(n);return t.bind(r).map((function(t){return pb(e,t)}))}))}(o,t)}),e)}}}function gb(){var t=mb(),e={},n=function(t){var e=t.element();return Qo(e).fold((function(){return function(t,e){var n=Uo($o+t);return Jo(e,n),n}("uid-",t.element())}),(function(t){return t}))},r=function(n){Qo(n.element()).each((function(n){delete e[n],t.unregisterId(n)}))};return{find:function(e,n,r){return t.find(e,n,r)},filter:function(e){return t.filterByType(e)},register:function(o){var i=n(o);Et(e,i)&&function(t,n){var o=e[n];if(o!==t)throw new Error('The tagId "'+n+'" is already used by: '+Io(o.element())+"\nCannot use it for: "+Io(t.element())+"\nThe conflicting element is"+(Vn(o.element())?" ":" not ")+"already in the DOM");r(t)}(o,i);var a=[o];t.registerId(a,i,o.events()),e[i]=o},unregister:r,getById:function(t){return kt(t)(e)}}}var vb,bb=Md({name:"Container",factory:function(t){var e=t.dom,n=e.attributes,r=h(e,["attributes"]);return{uid:t.uid,dom:f({tag:"div",attributes:f({role:"presentation"},n)},r),components:t.components,behaviours:yl(t.containerBehaviours),events:t.events,domModification:t.domModification,eventOrder:t.eventOrder}},configFields:[$e("components",[]),bl("containerBehaviours",[]),$e("events",{}),$e("domModification",{}),$e("eventOrder",{})]}),yb=function(t){var e=function(e){return _o(t.element()).fold((function(){return!0}),(function(t){return Wn(e,t)}))},r=gb(),i=function(t,n){return r.find(e,t,n)},a=sb(t.element(),{triggerEvent:function(t,e){return Ra(t,e.target(),(function(n){return function(t,e,n,r){var o=n.target();return hb(t,e,n,o,r)}(i,t,e,n)}))}}),s={debugInfo:o("real"),triggerEvent:function(t,e,n){Ra(t,e,(function(r){hb(i,t,n,e,r)}))},triggerFocus:function(t,e){Qo(t).fold((function(){Ws(t)}),(function(r){Ra(_r(),t,(function(r){!function(t,e,n,r,o){var i=cb(n,r);lb(t,e,n,r,i,o)}(i,_r(),{originator:o(e),kill:n,prevent:n,target:o(t)},t,r)}))}))},triggerEscape:function(t,e){s.triggerEvent("keydown",t.element(),e.event())},getByUid:function(t){return g(t)},getByDom:function(t){return v(t)},build:Zi,addToGui:function(t){l(t)},removeFromGui:function(t){d(t)},addToWorld:function(t){c(t)},removeFromWorld:function(t){u(t)},broadcast:function(t){h(t)},broadcastOn:function(t,e){p(t,e)},broadcastEvent:function(t,e){m(t,e)},isConnected:o(!0)},c=function(t){t.connect(s),Un(t.element())||(r.register(t),W(t.components(),c),s.triggerEvent(zr(),t.element(),{target:o(t.element())}))},u=function(t){Un(t.element())||(W(t.components(),u),r.unregister(t)),t.disconnect()},l=function(e){Nu(t,e)},d=function(t){Ru(t)},f=function(t){var e=r.filter(Ar());W(e,(function(e){var n=e.descHandler();hi(n)(t)}))},h=function(t){f({universal:o(!0),data:o(t)})},p=function(t,e){f({universal:o(!1),channels:o(t),data:o(e)})},m=function(t,e){var n=r.filter(t);return fb(n,e)},g=function(t){return r.getById(t).fold((function(){return w.error(new Error('Could not find component with uid: "'+t+'" in system.'))}),w.value)},v=function(t){var e=Qo(t).getOr("not found");return g(e)};return c(t),{root:o(t),element:t.element,destroy:function(){a.unbind(),zo(t.element())},add:l,remove:d,getByUid:g,getByDom:v,addToWorld:c,removeFromWorld:u,broadcast:h,broadcastOn:p,broadcastEvent:m}},Mb=tinymce.util.Tools.resolve("tinymce.EditorManager"),_b=function(t){return t.getParam("height",Math.max(t.getElement().offsetHeight,200))},wb=function(t){return t.getParam("width",gg.DOM.getStyle(t.getElement(),"width"))},xb=function(t){return y.from(t.settings.min_width).filter(O)},Ab=function(t){return y.from(t.settings.min_height).filter(O)},Lb=function(t){return y.from(t.getParam("max_width")).filter(O)},Tb=function(t){return y.from(t.getParam("max_height")).filter(O)},kb=function(t){return!1!==t.getParam("menubar",!0,"boolean")},Sb=function(t){var e=t.getParam("toolbar",!0),n=!0===e,r=A(e),o=T(e)&&e.length>0;return!Cb(t)&&(o||r||n)},Ob=function(t){var e=tt(t.settings),n=H(e,(function(t){return/^toolbar([1-9])$/.test(t)})),r=Y(n,(function(e){return t.getParam(e,!1,"string")})),o=H(r,(function(t){return"string"==typeof t}));return o.length>0?y.some(o):y.none()},Cb=function(t){return Ob(t).fold((function(){return t.getParam("toolbar",[],"string[]").length>0}),(function(){return!0}))};!function(t){t.default="",t.floating="floating",t.sliding="sliding",t.scrolling="scrolling"}(vb||(vb={}));var zb=function(t){return t.getParam("toolbar_drawer","","string")},Db=function(t){var e=function(t){return t.getParam("fixed_toolbar_container","","string")}(t);return e.length>0&&t.inline?ka(Gn(),e):y.none()},Eb=function(t){return t.inline&&Db(t).isSome()},Nb=function(t){return t.inline&&!kb(t)&&!Sb(t)&&!Cb(t)},Bb=function(t){return(t.getParam("toolbar_sticky",!1,"boolean")||t.inline)&&!Eb(t)&&!Nb(t)},Pb=function(t){return void 0===t.touches||1!==t.touches.length?y.none():y.some(t.touches[0])},Rb=function(t){var e=on(y.none()),n=on(!1),r=Yp((function(e){t.fire("longpress",f(f({},e),{type:"longpress"})),n.set(!0)}),400);t.on("touchstart",(function(t){Pb(t).each((function(i){r.cancel();var a={x:o(i.clientX),y:o(i.clientY),target:o(t.target)};r.throttle(t),n.set(!1),e.set(y.some(a))}))}),!0),t.on("touchmove",(function(o){r.cancel(),Pb(o).each((function(r){e.get().each((function(o){(function(t,e){var n=Math.abs(t.clientX-e.x()),r=Math.abs(t.clientY-e.y());return n>5||r>5})(r,o)&&(e.set(y.none()),n.set(!1),t.fire("longpresscancel"))}))}))}),!0),t.on("touchend touchcancel",(function(o){r.cancel(),"touchcancel"!==o.type&&e.get().filter((function(t){return t.target().isEqualNode(o.target)})).each((function(){n.get()?o.preventDefault():t.fire("tap",{touches:o.touches}).isDefaultPrevented()&&o.preventDefault()}))}),!0)},Yb=Uo("form-component-change"),Wb=Uo("form-close"),Hb=Uo("form-cancel"),qb=Uo("form-action"),Ib=Uo("form-submit"),jb=Uo("form-block"),Xb=Uo("form-unblock"),Fb=Uo("form-tabchange"),Ub=Uo("form-resize"),Vb=o([$e("prefix","form-field"),bl("fieldBehaviours",[Ld,vl])]),Gb=o([Vl({schema:[Ne("dom")],name:"label"}),Vl({factory:{sketch:function(t){return{uid:t.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:t.text}}}},schema:[Ne("text")],name:"aria-descriptor"}),Fl({factory:{sketch:function(t){var e=Tt(t,["factory"]);return t.factory.sketch(e)}},schema:[Ne("factory")],name:"field"})]),$b=_d({name:"FormField",configFields:Vb(),partFields:Gb(),factory:function(t,e,n,r){var o=Ml(t.fieldBehaviours,[Ld.config({find:function(e){return id(e,t,"field")}}),vl.config({store:{mode:"manual",getValue:function(t){return Ld.getCurrent(t).bind(vl.getValue)},setValue:function(t,e){Ld.getCurrent(t).each((function(t){vl.setValue(t,e)}))}}})]),i=Qr([uo((function(e,n){var r=sd(e,t,["label","field","aria-descriptor"]);r.field().each((function(e){var n=Uo(t.prefix);r.label().each((function(t){Po(t.element(),"for",n),Po(e.element(),"id",n)})),r["aria-descriptor"]().each((function(n){var r=Uo(t.prefix);Po(n.element(),"id",r),Po(e.element(),"aria-describedby",r)}))}))}))]),a={getField:function(e){return id(e,t,"field")},getLabel:function(e){return id(e,t,"label")}};return{uid:t.uid,dom:t.dom,components:e,behaviours:o,events:i,apis:a}},apis:{getField:function(t,e){return t.getField(e)},getLabel:function(t,e){return t.getLabel(e)}}}),Kb=o([je("data"),$e("inputAttributes",{}),$e("inputStyles",{}),$e("tag","input"),$e("inputClasses",[]),Ua("onSetValue"),$e("styles",{}),$e("eventOrder",{}),bl("inputBehaviours",[vl,Ph]),$e("selectOnFocus",!0)]),Jb=function(t){return Os([Ph.config({onFocus:!1===t.selectOnFocus?n:function(t){var e=t.element(),n=qi(e);e.dom().setSelectionRange(0,n.length)}})])},Qb=function(t){return f(f({},Jb(t)),Ml(t.inputBehaviours,[vl.config({store:{mode:"manual",initialValue:t.data.getOr(void 0),getValue:function(t){return qi(t.element())},setValue:function(t,e){qi(t.element())!==e&&Ii(t.element(),e)}},onSetValue:t.onSetValue})]))},Zb=function(t){return{tag:t.tag,attributes:f({type:"text"},t.inputAttributes),styles:t.inputStyles,classes:t.inputClasses}},ty=Md({name:"Input",configFields:Kb(),factory:function(t,e){return{uid:t.uid,dom:Zb(t),components:[],behaviours:Qb(t),eventOrder:t.eventOrder}}}),ey={},ny={exports:ey};!function(e,n,r,o){!function(o){if("object"==typeof n&&void 0!==r)r.exports=o();else if("function"==typeof e&&e.amd)e([],o);else{("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:this).EphoxContactWrapper=o()}}((function(){return function t(e,n,r){function i(s,c){if(!n[s]){if(!e[s]){var u="function"==typeof o&&o;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};e[s][0].call(d.exports,(function(t){return i(e[s][1][t]||t)}),d,d.exports,t,e,n,r)}return n[s].exports}for(var a="function"==typeof o&&o,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var u,l=[],d=!1,f=-1;function h(){d&&u&&(d=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!d){var t=c(h);d=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new m(t,e)),1!==l.length||d||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(t,e,n){(function(t){!function(n){var r=setTimeout;function o(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,r)}else(1===t._state?s:c)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void u(t);if("function"==typeof n)return void d((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var r,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&i._immediateFn((function(){t._handled||i._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,c(e,t))}))}catch(t){if(n)return;n=!0,c(e,t)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new l(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i((function(t,n){if(0===e.length)return t([]);var r=e.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}for(var i=0;i<e.length;i++)o(i,e[i])}))},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))},i.race=function(t){return new i((function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)}))},i._immediateFn="function"==typeof t?function(e){t(e)}:function(t){r(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(this,t("timers").setImmediate)},{timers:3}],3:[function(t,e,n){(function(e,r){var o=t("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=c++,r=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,o((function(){s[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var r=t("promise-polyfill"),o="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))}(void 0,ey,ny,void 0);var ry,oy=ny.exports.boltExport,iy=function(t){var n=y.none(),r=[],o=function(t){i()?s(t):r.push(t)},i=function(){return n.isSome()},a=function(t){W(t,s)},s=function(t){n.each((function(n){e.setTimeout((function(){t(n)}),0)}))};return t((function(t){n=y.some(t),a(r),r=[]})),{get:o,map:function(t){return iy((function(e){o((function(n){e(t(n))}))}))},isReady:i}},ay={nu:iy,pure:function(t){return iy((function(e){e(t)}))}},sy=function(t){e.setTimeout((function(){throw t}),0)},cy=function(t){var e=function(e){t().then(e,sy)};return{map:function(e){return cy((function(){return t().then(e)}))},bind:function(e){return cy((function(){return t().then((function(t){return e(t).toPromise()}))}))},anonBind:function(e){return cy((function(){return t().then((function(){return e.toPromise()}))}))},toLazy:function(){return ay.nu(e)},toCached:function(){var e=null;return cy((function(){return null===e&&(e=t()),e}))},toPromise:t,get:e}},uy=function(t){return cy((function(){return new oy(t)}))},ly=function(t){return cy((function(){return oy.resolve(t)}))},dy=["input","textarea"],fy=function(t){var e=jn(t);return B(dy,e)},hy=function(t,e){var n=e.getRoot(t).getOr(t.element());Ti(n,e.invalidClass),e.notify.each((function(e){fy(t.element())&&Po(t.element(),"aria-invalid",!1),e.getContainer(t).each((function(t){No(t,e.validHtml)})),e.onValid(t)}))},py=function(t,e,n,r){var o=e.getRoot(t).getOr(t.element());Ai(o,e.invalidClass),e.notify.each((function(e){fy(t.element())&&Po(t.element(),"aria-invalid",!0),e.getContainer(t).each((function(t){No(t,r)})),e.onInvalid(t,r)}))},my=function(t,e,n){return e.validator.fold((function(){return ly(w.value(!0))}),(function(e){return e.validate(t)}))},gy=function(t,e,n){return e.notify.each((function(e){e.onValidate(t)})),my(t,e).map((function(n){return t.getSystem().isConnected()?n.fold((function(n){return py(t,e,0,n),w.error(n)}),(function(n){return hy(t,e),w.value(n)})):w.error("No longer in system")}))},vy=Object.freeze({markValid:hy,markInvalid:py,query:my,run:gy,isInvalid:function(t,e){var n=e.getRoot(t).getOr(t.element());return ki(n,e.invalidClass)}}),by=Object.freeze({events:function(t,e){return t.validator.map((function(e){return Qr([eo(e.onEvent,(function(e){gy(e,t).get(i)}))].concat(e.validateOnLoad?[uo((function(e){gy(e,t).get(n)}))]:[]))})).getOr({})}}),yy=[Ne("invalidClass"),$e("getRoot",y.none),Ge("notify",[$e("aria","alert"),$e("getContainer",y.none),$e("validHtml",""),Ua("onValid"),Ua("onInvalid"),Ua("onValidate")]),Ge("validator",[Ne("validate"),$e("onEvent","input"),$e("validateOnLoad",!0)])],My=zs({fields:yy,name:"invalidating",active:by,apis:vy,extra:{validation:function(t){return function(e){var n=vl.getValue(e);return ly(t(n))}}}}),_y=Object.freeze({exhibit:function(t,e){return di({attributes:zt([{key:e.tabAttr,value:"true"}])})}}),wy=[$e("tabAttr","data-alloy-tabstop")],xy=zs({fields:wy,name:"tabstopping",active:_y}),Ay=function(t,e,n,r){var o=Ly(t,e,n,r);return $b.sketch(o)},Ly=function(t,e,n,r){return{dom:Ty(n),components:t.toArray().concat([e]),fieldBehaviours:Os(r)}},Ty=function(t){return{tag:"div",classes:["tox-form__group"].concat(t)}},ky=function(t,e){return $b.parts().label({dom:{tag:"label",classes:["tox-label"],innerHtml:e.translate(t)}})},Sy=Object.freeze({getCoupled:function(t,e,n,r){return n.getOrCreate(t,e,r)}}),Oy=[Be("others",be(w.value,Le()))],Cy=zs({fields:Oy,name:"coupling",apis:Sy,state:Object.freeze({init:function(t){var e={},n=o({});return ui({readState:n,getOrCreate:function(t,n,r){var o=tt(n.others);if(o)return Ot(e,r).getOrThunk((function(){var o=Ot(n.others,r).getOrDie("No information found for coupled component: "+r)(t),i=t.getSystem().build(o);return e[r]=i,i}));throw new Error("Cannot find coupled component: "+r+". Known coupled components: "+JSON.stringify(o,null,2))}})}})}),zy=o("sink"),Dy=o(Vl({name:zy(),overrides:o({dom:{tag:"div"},behaviours:Os([Ou.config({useFixed:l})]),events:Qr([ao(hr()),ao(ar()),ao(vr())])})}));!function(t){t[t.HighlightFirst=0]="HighlightFirst",t[t.HighlightNone=1]="HighlightNone"}(ry||(ry={}));var Ey=function(t,e){var n=t.getHotspot(e).getOr(e),r=t.getAnchorOverrides();return t.layouts.fold((function(){return{anchor:"hotspot",hotspot:n,overrides:r}}),(function(t){return{anchor:"hotspot",hotspot:n,overrides:r,layouts:t}}))},Ny=function(t,e,n,r,o,i,a){return function(t,e,n,r,o,i,a){var s=function(t,e,n){return(0,t.fetch)(n).map(e)}(t,e,r),c=Yy(r,t);return s.map((function(t){return t.bind((function(t){return y.from(mp.sketch(f(f({},i.menu()),{uid:Zo(""),data:t,highlightImmediately:a===ry.HighlightFirst,onOpenMenu:function(t,e){var r=c().getOrDie();Ou.position(r,n,e),Ju.decloak(o)},onOpenSubmenu:function(t,e,n){var r=c().getOrDie();Ou.position(r,{anchor:"submenu",item:e},n),Ju.decloak(o)},onRepositionMenu:function(t,e,r){var o=c().getOrDie();Ou.position(o,n,e),W(r,(function(t){Ou.position(o,{anchor:"submenu",item:t.triggeringItem},t.triggeredMenu)}))},onEscape:function(){return Ph.focus(r),Ju.close(o),y.some(!0)}})))}))}))}(t,e,Ey(t,n),n,r,o,a).map((function(t){return t.fold((function(){Ju.isOpen(r)&&Ju.close(r)}),(function(t){Ju.cloak(r),Ju.open(r,t),i(r)})),r}))},By=function(t,e,n,r,o,i,a){return Ju.close(r),ly(r)},Py=function(t,e,n,r,o,i){var a=Cy.getCoupled(n,"sandbox");return(Ju.isOpen(a)?By:Ny)(t,e,n,a,r,o,i)},Ry=function(t,e,n){var r=Ld.getCurrent(e).getOr(e),o=fa(t.element());n?Ei(r.element(),"min-width",o+"px"):function(t,e){da.set(t,e)}(r.element(),o)},Yy=function(t,e){return t.getSystem().getByUid(e.uid+"-"+zy()).map((function(t){return function(){return w.value(t)}})).getOrThunk((function(){return e.lazySink.fold((function(){return function(){return w.error(new Error("No internal sink is specified, nor could an external sink be found"))}}),(function(e){return function(){return e(t)}}))}))},Wy=function(t){Ju.getState(t).each((function(t){mp.repositionMenus(t)}))},Hy=function(t,e,n){var r=Oa(),i=Yy(e,t);return{dom:{tag:"div",classes:t.sandboxClasses,attributes:{id:r.id(),role:"listbox"}},behaviours:wl(t.sandboxBehaviours,[vl.config({store:{mode:"memory",initialValue:e}}),Ju.config({onOpen:function(o,i){var a=Ey(t,e);r.link(e.element()),t.matchWidth&&Ry(a.hotspot,i,t.useMinWidth),t.onOpen(a,o,i),void 0!==n&&void 0!==n.onOpen&&n.onOpen(o,i)},onClose:function(t,o){r.unlink(e.element()),void 0!==n&&void 0!==n.onClose&&n.onClose(t,o)},isPartOf:function(t,n,r){return za(n,r)||za(e,r)},getAttachPoint:function(){return i().getOrDie()}}),Ld.config({find:function(t){return Ju.getState(t).bind((function(t){return Ld.getCurrent(t)}))}}),Rs.config({channels:f(f({},nl({isExtraPart:o(!1)})),ol({isExtraPart:o(!1),doReposition:Wy}))})])}},qy=function(t){var e=Cy.getCoupled(t,"sandbox");Wy(e)},Iy=function(){return[$e("sandboxClasses",[]),_l("sandboxBehaviours",[Ld,Rs,Ju,vl])]},jy=o([Ne("dom"),Ne("fetch"),Ua("onOpen"),Va("onExecute"),$e("getHotspot",y.some),$e("getAnchorOverrides",o({})),$e("layouts",y.none()),bl("dropdownBehaviours",[Gh,Cy,Lh,Ph]),Ne("toggleClass"),$e("eventOrder",{}),je("lazySink"),$e("matchWidth",!1),$e("useMinWidth",!1),je("role")].concat(Iy())),Xy=o([Ul({schema:[ja()],name:"menu",defaults:function(t){return{onExecute:t.onExecute}}}),Dy()]),Fy=_d({name:"Dropdown",configFields:jy(),partFields:Xy(),factory:function(t,e,r,o){var i,a,s=function(t){Ju.getState(t).each((function(t){mp.highlightPrimary(t)}))},c={expand:function(e){Gh.isOn(e)||Py(t,(function(t){return t}),e,o,n,ry.HighlightNone).get(n)},open:function(e){Gh.isOn(e)||Py(t,(function(t){return t}),e,o,n,ry.HighlightFirst).get(n)},isOpen:Gh.isOn,close:function(e){Gh.isOn(e)&&Py(t,(function(t){return t}),e,o,n,ry.HighlightFirst).get(n)},repositionMenus:function(t){Gh.isOn(t)&&qy(t)}},u=function(t,e){return Gr(t),y.some(!0)};return{uid:t.uid,dom:t.dom,components:e,behaviours:Ml(t.dropdownBehaviours,[Gh.config({toggleClass:t.toggleClass,aria:{mode:"expanded"}}),Cy.config({others:{sandbox:function(e){return Hy(t,e,{onOpen:function(){Gh.on(e)},onClose:function(){Gh.off(e)}})}}}),Lh.config({mode:"special",onSpace:u,onEnter:u,onDown:function(t,e){if(Fy.isOpen(t)){var n=Cy.getCoupled(t,"sandbox");s(n)}else Fy.open(t);return y.some(!0)},onEscape:function(t,e){return Fy.isOpen(t)?(Fy.close(t),y.some(!0)):y.none()}}),Ph.config({})]),events:Kh(y.some((function(e){Py(t,(function(t){return t}),e,o,s,ry.HighlightFirst).get(n)}))),eventOrder:f(f({},t.eventOrder),(i={},i[Lr()]=["disabling","toggling","alloy.base.behaviour"],i)),apis:c,domModification:{attributes:f(f({"aria-haspopup":"true"},t.role.fold((function(){return{}}),(function(t){return{role:t}}))),"button"===t.dom.tag?{type:(a="type",Ot(t.dom,"attributes").bind((function(t){return Ot(t,a)}))).getOr("button")}:{})}}},apis:{open:function(t,e){return t.open(e)},expand:function(t,e){return t.expand(e)},close:function(t,e){return t.close(e)},isOpen:function(t,e){return t.isOpen(e)},repositionMenus:function(t,e){return t.repositionMenus(e)}}}),Uy=Object.freeze({events:function(t){return Qr([Zr(yr(),o(!0))])},exhibit:function(t,e){return di({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})}}),Vy=zs({fields:[],name:"unselecting",active:Uy}),Gy=Uo("color-input-change"),$y=Uo("color-swatch-change"),Ky=Uo("color-picker-cancel"),Jy=function(t,e,n){var r=$b.parts().field({factory:ty,inputClasses:["tox-textfield"],onSetValue:function(t){return My.run(t).get((function(){}))},inputBehaviours:Os([xy.config({}),My.config({invalidClass:"tox-textbox-field-invalid",getRoot:function(t){return _o(t.element())},notify:{onValid:function(t){var e=vl.getValue(t);Vr(t,Gy,{color:e})}},validator:{validateOnLoad:!1,validate:function(t){var e=vl.getValue(t);if(0===e.length)return ly(w.value(!0));var n=sn.fromTag("span");Ei(n,"background-color",e);var r=Ri(n,"background-color").fold((function(){return w.error("blah")}),(function(t){return w.value(e)}));return ly(r)}}})]),selectOnFocus:!1}),o=t.label.map((function(t){return ky(t,e.providers)})),i=function(t,e){Vr(t,$y,{value:e})},a=Op(function(t,e){return Fy.sketch({dom:t.dom,components:t.components,toggleClass:"mce-active",dropdownBehaviours:Os([Vy.config({}),xy.config({})]),layouts:t.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:e.getSink,fetch:function(n){return uy((function(e){return t.fetch(e)})).map((function(r){return y.from(Uv(ht(Cv(Uo("menu-value"),r,(function(e){t.onItemAction(n,e)}),t.columns,t.presets,lg.CLOSE_ON_EXECUTE,(function(){return!1}),e.providers),{movement:Dv(t.columns,t.presets)})))}))},parts:{menu:Lv(0,0,t.presets)}})}({dom:{tag:"span",attributes:{"aria-label":e.providers.translate("Color swatch")}},layouts:y.some({onRtl:function(){return[ms]},onLtr:function(){return[gs]}}),components:[],fetch:gv.getFetch(n.getColors(),n.hasCustomColors()),columns:n.getColorCols(),presets:"color",onItemAction:function(t,e){a.getOpt(t).each((function(t){"custom"===e?n.colorPicker((function(e){e.fold((function(){return Ur(t,Ky)}),(function(e){i(t,e),tv(e)}))}),"#ffffff"):i(t,"remove"===e?"":e)}))}},e));return $b.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:o.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[r,a.asSpec()]}]),fieldBehaviours:Os([zh("form-field-events",[eo(Gy,(function(e,n){a.getOpt(e).each((function(t){Ei(t.element(),"background-color",n.event().color())})),Vr(e,Yb,{name:t.name})})),eo($y,(function(t,e){$b.getField(t).each((function(n){vl.setValue(n,e.event().value()),Ld.getCurrent(t).each(Ph.focus)}))})),eo(Ky,(function(t,e){$b.getField(t).each((function(e){Ld.getCurrent(t).each(Ph.focus)}))}))])])})},Qy=function(t,e,n){return{hue:o(t),saturation:o(e),value:o(n)}},Zy=o(Uo("rgb-hex-update")),tM=o(Uo("slider-update")),eM=o(Uo("palette-update")),nM=Vl({schema:[Ne("dom")],name:"label"}),rM=function(t){return Vl({name:t+"-edge",overrides:function(e){return e.model.manager.edgeActions[t].fold((function(){return{}}),(function(t){return{events:Qr([no(nr(),t,[e]),no(ar(),t,[e]),no(sr(),(function(e,n,r){r.mouseIsDown.get()&&t(e,r)}),[e])])}}))}})},oM=rM("top-left"),iM=rM("top"),aM=rM("top-right"),sM=rM("right"),cM=rM("bottom-right"),uM=rM("bottom"),lM=rM("bottom-left"),dM=[nM,rM("left"),sM,iM,uM,oM,aM,lM,cM,Fl({name:"thumb",defaults:o({dom:{styles:{position:"absolute"}}}),overrides:function(t){return{events:Qr([oo(nr(),t,"spectrum"),oo(rr(),t,"spectrum"),oo(or(),t,"spectrum"),oo(ar(),t,"spectrum"),oo(sr(),t,"spectrum"),oo(ur(),t,"spectrum")])}}}),Fl({schema:[rn("mouseIsDown",(function(){return on(!1)}))],name:"spectrum",overrides:function(t){var e=t.model.manager,n=function(n,r){return e.getValueFromEvent(r).map((function(r){return e.setValueFrom(n,t,r)}))};return{behaviours:Os([Lh.config({mode:"special",onLeft:function(n){return e.onLeft(n,t)},onRight:function(n){return e.onRight(n,t)},onUp:function(n){return e.onUp(n,t)},onDown:function(n){return e.onDown(n,t)}}),Ph.config({})]),events:Qr([eo(nr(),n),eo(rr(),n),eo(ar(),n),eo(sr(),(function(e,r){t.mouseIsDown.get()&&n(e,r)}))])}}})],fM=o("slider.change.value"),hM=function(t){var e=t.event().raw();if(function(t){return-1!==t.type.indexOf("touch")}(e)){var n=e;return void 0!==n.touches&&1===n.touches.length?y.some(n.touches[0]).map((function(t){return sa(t.clientX,t.clientY)})):y.none()}var r=e;return void 0!==r.clientX?y.some(r).map((function(t){return sa(t.clientX,t.clientY)})):y.none()},pM=function(t){return t.model.minX},mM=function(t){return t.model.minY},gM=function(t){return t.model.minX-1},vM=function(t){return t.model.minY-1},bM=function(t){return t.model.maxX},yM=function(t){return t.model.maxY},MM=function(t){return t.model.maxX+1},_M=function(t){return t.model.maxY+1},wM=function(t,e,n){return e(t)-n(t)},xM=function(t){return wM(t,bM,pM)},AM=function(t){return wM(t,yM,mM)},LM=function(t){return xM(t)/2},TM=function(t){return AM(t)/2},kM=function(t){return t.stepSize},SM=function(t){return t.snapToGrid},OM=function(t){return t.snapStart},CM=function(t){return t.rounded},zM=function(t,e){return void 0!==t[e+"-edge"]},DM=function(t){return zM(t,"left")},EM=function(t){return zM(t,"right")},NM=function(t){return zM(t,"top")},BM=function(t){return zM(t,"bottom")},PM=function(t){return t.model.value.get()},RM=function(t){return{x:o(t)}},YM=function(t){return{y:o(t)}},WM=function(t,e){return{x:o(t),y:o(e)}},HM=function(t,e){Vr(t,fM(),{value:e})},qM=function(t,e,n,r){return t<e?t:t>n?n:t===e?e-1:Math.max(e,t-r)},IM=function(t,e,n,r){return t>n?t:t<e?e:t===n?n+1:Math.min(n,t+r)},jM=function(t,e,n){return Math.max(e,Math.min(n,t))},XM=function(t){var e=t.min,n=t.max,r=t.range,o=t.value,i=t.step,a=t.snap,s=t.snapStart,c=t.rounded,u=t.hasMinEdge,l=t.hasMaxEdge,d=t.minBound,f=t.maxBound,h=t.screenRange,p=u?e-1:e,m=l?n+1:n;if(o<d)return p;if(o>f)return m;var g=function(t,e,n){return Math.min(n,Math.max(t,e))-e}(o,d,f),v=jM(g/h*r+e,p,m);return a&&v>=e&&v<=n?function(t,e,n,r,o){return o.fold((function(){var o=t-e,i=Math.round(o/r)*r;return jM(e+i,e-1,n+1)}),(function(e){var o=(t-e)%r,i=Math.round(o/r),a=Math.floor((t-e)/r),s=Math.floor((n-e)/r),c=e+Math.min(s,a+i)*r;return Math.max(e,c)}))}(v,e,n,i,s):c?Math.round(v):v},FM=function(t){var e=t.min,n=t.max,r=t.range,o=t.value,i=t.hasMinEdge,a=t.hasMaxEdge,s=t.maxBound,c=t.maxOffset,u=t.centerMinEdge,l=t.centerMaxEdge;return o<e?i?0:u:o>n?a?s:l:(o-e)/r*c},UM=function(t){return t.element().dom().getBoundingClientRect()},VM=function(t,e){return t[e]},GM=function(t){var e=UM(t);return VM(e,"left")},$M=function(t){var e=UM(t);return VM(e,"right")},KM=function(t){var e=UM(t);return VM(e,"top")},JM=function(t){var e=UM(t);return VM(e,"bottom")},QM=function(t){var e=UM(t);return VM(e,"width")},ZM=function(t){var e=UM(t);return VM(e,"height")},t_=function(t,e,n){return(t+e)/2-n},e_=function(t,e){var n=UM(t),r=UM(e),o=VM(n,"left"),i=VM(n,"right"),a=VM(r,"left");return t_(o,i,a)},n_=function(t,e){var n=UM(t),r=UM(e),o=VM(n,"top"),i=VM(n,"bottom"),a=VM(r,"top");return t_(o,i,a)},r_=function(t,e){Vr(t,fM(),{value:e})},o_=function(t){return{x:o(t)}},i_=function(t,e,n){var r={min:pM(e),max:bM(e),range:xM(e),value:n,step:kM(e),snap:SM(e),snapStart:OM(e),rounded:CM(e),hasMinEdge:DM(e),hasMaxEdge:EM(e),minBound:GM(t),maxBound:$M(t),screenRange:QM(t)};return XM(r)},a_=function(t){return function(e,n){return function(t,e,n){var r=(t>0?IM:qM)(PM(n).x(),pM(n),bM(n),kM(n));return r_(e,o_(r)),y.some(r)}(t,e,n).map((function(){return!0}))}},s_=function(t,e,n,r,o,i){var a=function(t,e,n,r,o){var i=QM(t),a=r.bind((function(e){return y.some(e_(e,t))})).getOr(0),s=o.bind((function(e){return y.some(e_(e,t))})).getOr(i),c={min:pM(e),max:bM(e),range:xM(e),value:n,hasMinEdge:DM(e),hasMaxEdge:EM(e),minBound:GM(t),minOffset:0,maxBound:$M(t),maxOffset:i,centerMinEdge:a,centerMaxEdge:s};return FM(c)}(e,i,n,r,o);return GM(e)-GM(t)+a},c_=a_(-1),u_=a_(1),l_=y.none,d_=y.none,f_={"top-left":y.none(),top:y.none(),"top-right":y.none(),right:y.some((function(t,e){HM(t,RM(MM(e)))})),"bottom-right":y.none(),bottom:y.none(),"bottom-left":y.none(),left:y.some((function(t,e){HM(t,RM(gM(e)))}))},h_=Object.freeze({setValueFrom:function(t,e,n){var r=i_(t,e,n),o=o_(r);return r_(t,o),r},setToMin:function(t,e){var n=pM(e);r_(t,o_(n))},setToMax:function(t,e){var n=bM(e);r_(t,o_(n))},findValueOfOffset:i_,getValueFromEvent:function(t){return hM(t).map((function(t){return t.left()}))},findPositionOfValue:s_,setPositionFromValue:function(t,e,n,r){var o=PM(n),i=s_(t,r.getSpectrum(t),o.x(),r.getLeftEdge(t),r.getRightEdge(t),n),a=fa(e.element())/2;Ei(e.element(),"left",i-a+"px")},onLeft:c_,onRight:u_,onUp:l_,onDown:d_,edgeActions:f_}),p_=function(t,e){Vr(t,fM(),{value:e})},m_=function(t){return{y:o(t)}},g_=function(t,e,n){var r={min:mM(e),max:yM(e),range:AM(e),value:n,step:kM(e),snap:SM(e),snapStart:OM(e),rounded:CM(e),hasMinEdge:NM(e),hasMaxEdge:BM(e),minBound:KM(t),maxBound:JM(t),screenRange:ZM(t)};return XM(r)},v_=function(t){return function(e,n){return function(t,e,n){var r=(t>0?IM:qM)(PM(n).y(),mM(n),yM(n),kM(n));return p_(e,m_(r)),y.some(r)}(t,e,n).map((function(){return!0}))}},b_=function(t,e,n,r,o,i){var a=function(t,e,n,r,o){var i=ZM(t),a=r.bind((function(e){return y.some(n_(e,t))})).getOr(0),s=o.bind((function(e){return y.some(n_(e,t))})).getOr(i),c={min:mM(e),max:yM(e),range:AM(e),value:n,hasMinEdge:NM(e),hasMaxEdge:BM(e),minBound:KM(t),minOffset:0,maxBound:JM(t),maxOffset:i,centerMinEdge:a,centerMaxEdge:s};return FM(c)}(e,i,n,r,o);return KM(e)-KM(t)+a},y_=y.none,M_=y.none,__=v_(-1),w_=v_(1),x_={"top-left":y.none(),top:y.some((function(t,e){HM(t,YM(vM(e)))})),"top-right":y.none(),right:y.none(),"bottom-right":y.none(),bottom:y.some((function(t,e){HM(t,YM(_M(e)))})),"bottom-left":y.none(),left:y.none()},A_=Object.freeze({setValueFrom:function(t,e,n){var r=g_(t,e,n),o=m_(r);return p_(t,o),r},setToMin:function(t,e){var n=mM(e);p_(t,m_(n))},setToMax:function(t,e){var n=yM(e);p_(t,m_(n))},findValueOfOffset:g_,getValueFromEvent:function(t){return hM(t).map((function(t){return t.top()}))},findPositionOfValue:b_,setPositionFromValue:function(t,e,n,r){var o=PM(n),i=b_(t,r.getSpectrum(t),o.y(),r.getTopEdge(t),r.getBottomEdge(t),n),a=oa(e.element())/2;Ei(e.element(),"top",i-a+"px")},onLeft:y_,onRight:M_,onUp:__,onDown:w_,edgeActions:x_}),L_=function(t,e){Vr(t,fM(),{value:e})},T_=function(t,e){return{x:o(t),y:o(e)}},k_=function(t,e){return function(n,r){return function(t,e,n,r){var o=t>0?IM:qM,i=e?PM(r).x():o(PM(r).x(),pM(r),bM(r),kM(r)),a=e?o(PM(r).y(),mM(r),yM(r),kM(r)):PM(r).y();return L_(n,T_(i,a)),y.some(i)}(t,e,n,r).map((function(){return!0}))}},S_=k_(-1,!1),O_=k_(1,!1),C_=k_(-1,!0),z_=k_(1,!0),D_={"top-left":y.some((function(t,e){HM(t,WM(gM(e),vM(e)))})),top:y.some((function(t,e){HM(t,WM(LM(e),vM(e)))})),"top-right":y.some((function(t,e){HM(t,WM(MM(e),vM(e)))})),right:y.some((function(t,e){HM(t,WM(MM(e),TM(e)))})),"bottom-right":y.some((function(t,e){HM(t,WM(MM(e),_M(e)))})),bottom:y.some((function(t,e){HM(t,WM(LM(e),_M(e)))})),"bottom-left":y.some((function(t,e){HM(t,WM(gM(e),_M(e)))})),left:y.some((function(t,e){HM(t,WM(gM(e),TM(e)))}))},E_=Object.freeze({setValueFrom:function(t,e,n){var r=i_(t,e,n.left()),o=g_(t,e,n.top()),i=T_(r,o);return L_(t,i),i},setToMin:function(t,e){var n=pM(e),r=mM(e);L_(t,T_(n,r))},setToMax:function(t,e){var n=bM(e),r=yM(e);L_(t,T_(n,r))},getValueFromEvent:function(t){return hM(t)},setPositionFromValue:function(t,e,n,r){var o=PM(n),i=s_(t,r.getSpectrum(t),o.x(),r.getLeftEdge(t),r.getRightEdge(t),n),a=b_(t,r.getSpectrum(t),o.y(),r.getTopEdge(t),r.getBottomEdge(t),n),s=fa(e.element())/2,c=oa(e.element())/2;Ei(e.element(),"left",i-s+"px"),Ei(e.element(),"top",a-c+"px")},onLeft:S_,onRight:O_,onUp:C_,onDown:z_,edgeActions:D_}),N_=_d({name:"Slider",configFields:[$e("stepSize",1),$e("onChange",n),$e("onChoose",n),$e("onInit",n),$e("onDragStart",n),$e("onDragEnd",n),$e("snapToGrid",!1),$e("rounded",!0),je("snapStart"),Be("model",Ae("mode",{x:[$e("minX",0),$e("maxX",100),rn("value",(function(t){return on(t.mode.minX)})),Ne("getInitialValue"),Ka("manager",h_)],y:[$e("minY",0),$e("maxY",100),rn("value",(function(t){return on(t.mode.minY)})),Ne("getInitialValue"),Ka("manager",A_)],xy:[$e("minX",0),$e("maxX",100),$e("minY",0),$e("maxY",100),rn("value",(function(t){return on({x:o(t.mode.minX),y:o(t.mode.minY)})})),Ne("getInitialValue"),Ka("manager",E_)]})),bl("sliderBehaviours",[Lh,vl]),rn("mouseIsDown",(function(){return on(!1)}))],partFields:dM,factory:function(t,e,n,r){var i,a=function(e){return ad(e,t,"thumb")},s=function(e){return ad(e,t,"spectrum")},c=function(e){return id(e,t,"left-edge")},u=function(e){return id(e,t,"right-edge")},l=function(e){return id(e,t,"top-edge")},d=function(e){return id(e,t,"bottom-edge")},f=t.model,h=f.manager,p=function(e,n){h.setPositionFromValue(e,n,t,{getLeftEdge:c,getRightEdge:u,getTopEdge:l,getBottomEdge:d,getSpectrum:s})},m=function(e,n){f.value.set(n);var r=a(e);return p(e,r),t.onChange(e,r,n),y.some(!0)},g=function(e){var n=t.mouseIsDown.get();t.mouseIsDown.set(!1),n&&id(e,t,"thumb").each((function(n){var r=f.value.get();t.onChoose(e,n,r)}))},v=function(e,n){n.stop(),t.mouseIsDown.set(!0),t.onDragStart(e,a(e))},b=function(e,n){n.stop(),t.onDragEnd(e,a(e)),g(e)};return{uid:t.uid,dom:t.dom,components:e,behaviours:Ml(t.sliderBehaviours,[Lh.config({mode:"special",focusIn:function(e){return id(e,t,"spectrum").map(Lh.focusIn).map(o(!0))}}),vl.config({store:{mode:"manual",getValue:function(t){return f.value.get()}}}),Rs.config({channels:(i={},i[tl()]={onReceive:g},i)})]),events:Qr([eo(fM(),(function(t,e){m(t,e.event().value())})),uo((function(e,n){var r=f.getInitialValue();f.value.set(r);var o=a(e);p(e,o);var i=s(e);t.onInit(e,o,i,f.value.get())})),eo(nr(),v),eo(or(),b),eo(ar(),v),eo(ur(),b)]),apis:{resetToMin:function(e){h.setToMin(e,t)},resetToMax:function(e){h.setToMax(e,t)},changeValue:m,refresh:p},domModification:{styles:{position:"relative"}}}},apis:{resetToMin:function(t,e){t.resetToMin(e)},resetToMax:function(t,e){t.resetToMax(e)},refresh:function(t,e){t.refresh(e)}}}),B_=function(t,e){var n=N_.parts().spectrum({dom:{tag:"div",classes:[e("hue-slider-spectrum")],attributes:{role:"presentation"}}}),r=N_.parts().thumb({dom:{tag:"div",classes:[e("hue-slider-thumb")],attributes:{role:"presentation"}}});return N_.sketch({dom:{tag:"div",classes:[e("hue-slider")],attributes:{role:"presentation"}},rounded:!1,model:{mode:"y",getInitialValue:o({y:o(0)})},components:[n,r],sliderBehaviours:Os([Ph.config({})]),onChange:function(t,e,n){Vr(t,tM(),{value:n})}})},P_=[bl("formBehaviours",[vl])],R_=function(t){return"<alloy.field."+t+">"},Y_=function(t,e,n){return{uid:t.uid,dom:t.dom,components:e,behaviours:Ml(t.formBehaviours,[vl.config({store:{mode:"manual",getValue:function(e){var n=cd(e,t);return rt(n,(function(t,e){return t().bind((function(t){var e,n=Ld.getCurrent(t);return e="missing current",n.fold((function(){return w.error(e)}),w.value)})).map(vl.getValue)}))},setValue:function(e,n){nt(n,(function(n,r){id(e,t,r).each((function(t){Ld.getCurrent(t).each((function(t){vl.setValue(t,n)}))}))}))}}})]),apis:{getField:function(e,n){return id(e,t,n).bind(Ld.getCurrent)}}}},W_={getField:si((function(t,e,n){return t.getField(e,n)})),sketch:function(t){var e=function(){var t=[];return{field:function(e,n){return t.push(e),td("form",R_(e),n)},record:function(){return t}}}(),n=t(e),r=e.record(),o=Y(r,(function(t){return Fl({name:t,pname:R_(t)})}));return md("form",P_,o,Y_,n)}},H_=Uo("valid-input"),q_=Uo("invalid-input"),I_=Uo("validating-input"),j_=function(t,e,r,i){var a=function(n,r){return My.config({invalidClass:e("invalid"),notify:{onValidate:function(t){Vr(t,I_,{type:n})},onValid:function(t){Vr(t,H_,{type:n,value:vl.getValue(t)})},onInvalid:function(t){Vr(t,q_,{type:n,value:vl.getValue(t)})}},validator:{validate:function(e){var n=vl.getValue(e),o=r(n)?w.value(!0):w.error(t("aria.input.invalid"));return ly(o)},validateOnLoad:!1}})},s=function(r,o,i,s,c){var u=t("colorcustom.rgb.range"),l=[$b.parts().label({dom:{tag:"label",innerHtml:i,attributes:{"aria-label":s}}}),$b.parts().field({data:c,factory:ty,inputAttributes:f({type:"text"},"hex"===o?{"aria-live":"polite"}:{}),inputClasses:[e("textfield")],inputBehaviours:Os([a(o,r),xy.config({})]),onSetValue:function(t){My.isInvalid(t)&&My.run(t).get(n)}})],d="hex"!==o?[$b.parts()["aria-descriptor"]({text:u})]:[];return{dom:{tag:"div",attributes:{role:"presentation"}},components:l.concat(d)}},c=function(t,e){var n=e.red(),r=e.green(),o=e.blue();vl.setValue(t,{red:n,green:r,blue:o})},u=Op({dom:{tag:"div",classes:[e("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),l=function(t,e){u.getOpt(t).each((function(t){Ei(t.element(),"background-color","#"+e.value())}))};return Md({factory:function(){var n={red:o(on(y.some(255))),green:o(on(y.some(255))),blue:o(on(y.some(255))),hex:o(on(y.some("ffffff")))},a=function(t){return n[t]().get()},d=function(t,e){n[t]().set(e)},f=function(t){var e=t.red(),n=t.green(),r=t.blue();d("red",y.some(e)),d("green",y.some(n)),d("blue",y.some(r))},h=function(t,e){var n=e.event();"hex"!==n.type()?d(n.type(),y.none()):i(t)},p=function(t,e,n){var r=parseInt(n,10);d(e,y.some(r)),a("red").bind((function(t){return a("green").bind((function(e){return a("blue").map((function(n){return Rg(t,e,n,1)}))}))})).each((function(e){var n=function(t,e){var n=zg(e);return W_.getField(t,"hex").each((function(e){Ph.isFocused(e)||vl.setValue(t,{hex:n.value()})})),n}(t,e);l(t,n)}))},m=function(t,e){var n=e.event();!function(t){return"hex"===t.type()}(n)?p(t,n.type(),n.value()):function(t,e){r(t);var n=Lg(e);d("hex",y.some(e));var o=Hg(n);c(t,o),f(o),Vr(t,Zy(),{hex:n}),l(t,n)}(t,n.value())},g=function(e){return{label:t("colorcustom.rgb."+e+".label"),description:t("colorcustom.rgb."+e+".description")}},v=g("red"),b=g("green"),M=g("blue"),_=g("hex");return ht(W_.sketch((function(n){return{dom:{tag:"form",classes:[e("rgb-form")],attributes:{"aria-label":t("aria.color.picker")}},components:[n.field("red",$b.sketch(s(Yg,"red",v.label,v.description,255))),n.field("green",$b.sketch(s(Yg,"green",b.label,b.description,255))),n.field("blue",$b.sketch(s(Yg,"blue",M.label,M.description,255))),n.field("hex",$b.sketch(s(Sg,"hex",_.label,_.description,"ffffff"))),u.asSpec()],formBehaviours:Os([My.config({invalidClass:e("form-invalid")}),zh("rgb-form-events",[eo(H_,m),eo(q_,h),eo(I_,h)])])}})),{apis:{updateHex:function(t,e){vl.setValue(t,{hex:e.value()}),function(t,e){var n=Hg(e);c(t,n),f(n)}(t,e),l(t,e)}}})},name:"RgbForm",configFields:[],apis:{updateHex:function(t,e,n){t.updateHex(e,n)}},extraApis:{}})},X_=function(t,e){var n=N_.parts().spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[e("sv-palette-spectrum")]}}),r=N_.parts().thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[e("sv-palette-thumb")],innerHtml:"<div class="+e("sv-palette-inner-thumb")+' role="presentation"></div>'}}),i=function(t,e){var n=t.width,r=t.height,o=t.getContext("2d");if(null!==o){o.fillStyle=e,o.fillRect(0,0,n,r);var i=o.createLinearGradient(0,0,n,0);i.addColorStop(0,"rgba(255,255,255,1)"),i.addColorStop(1,"rgba(255,255,255,0)"),o.fillStyle=i,o.fillRect(0,0,n,r);var a=o.createLinearGradient(0,0,0,r);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),o.fillStyle=a,o.fillRect(0,0,n,r)}};return Md({factory:function(t){var a=o({x:o(0),y:o(0)}),s=Os([Ld.config({find:y.some}),Ph.config({})]);return N_.sketch({dom:{tag:"div",attributes:{role:"presentation"},classes:[e("sv-palette")]},model:{mode:"xy",getInitialValue:a},rounded:!1,components:[n,r],onChange:function(t,e,n){Vr(t,eM(),{value:n})},onInit:function(t,e,n,r){i(n.element().dom(),Ig(jg()))},sliderBehaviours:s})},name:"SaturationBrightnessPalette",configFields:[],apis:{setRgba:function(t,e,n){!function(t,e){var n=t.components()[0].element().dom();i(n,Ig(e))}(e,n)}},extraApis:{}})},F_=function(t,e){return Md({name:"ColourPicker",configFields:[Ne("dom"),$e("onValidHex",n),$e("onInvalidHex",n)],factory:function(n){var r,i=j_(t,e,n.onValidHex,n.onInvalidHex),a=X_(t,e),s={paletteRgba:o(on(jg()))},c=Op(a.sketch({})),u=Op(i.sketch({})),l=function(t,e){c.getOpt(t).each((function(t){var n=Hg(e);s.paletteRgba().set(n),a.setRgba(t,n)}))},d=function(t,e){u.getOpt(t).each((function(t){i.updateHex(t,e)}))},f=function(t,e,n){W(n,(function(n){n(t,e)}))};return{uid:n.uid,dom:n.dom,components:[c.asSpec(),B_(t,e),u.asSpec()],behaviours:Os([zh("colour-picker-events",[eo(eM(),(r=[d],function(t,e){var n=e.event().value(),o=function(t){var e,n=0,r=0,o=t.red()/255,i=t.green()/255,a=t.blue()/255,s=Math.min(o,Math.min(i,a)),c=Math.max(o,Math.max(i,a));return s===c?Qy(0,0,100*(r=s)):(n=60*((n=o===s?3:a===s?1:5)-(o===s?i-a:a===s?o-i:a-o)/(c-s)),e=(c-s)/c,r=c,Qy(Math.round(n),Math.round(100*e),Math.round(100*r)))}(s.paletteRgba().get()),i=Qy(o.hue(),n.x(),100-n.y()),a=Wg(i),c=zg(a);f(t,c,r)})),eo(tM(),function(){var t=[l,d];return function(e,n){var r=function(t){var e=Qy((100-t)/100*360,100,100),n=Wg(e);return zg(n)}(n.event().value().y());f(e,r,t)}}())]),Ld.config({find:function(t){return u.getOpt(t)}}),Lh.config({mode:"acyclic"})])}}})},U_=function(){return Ld.config({find:y.some})},V_=function(t){return Ld.config({find:t.getOpt})},G_=function(t){return Ld.config({find:function(e){return Ao(e.element(),t).bind((function(t){return e.getSystem().getByDom(t).toOption()}))}})},$_={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red component","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green component","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue component","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","colorcustom.sb.saturation":"Saturation","colorcustom.sb.brightness":"Brightness","colorcustom.sb.picker":"Saturation and Brightness Picker","colorcustom.sb.palette":"Saturation and Brightness Palette","colorcustom.sb.instructions":"Use arrow keys to select saturation and brightness, on x and y axes","colorcustom.hue.hue":"Hue","colorcustom.hue.slider":"Hue Slider","colorcustom.hue.palette":"Hue Palette","colorcustom.hue.instructions":"Use arrow keys to select a hue","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"},K_=function(t){return function(t){return $_[t]}(t)},J_=tinymce.util.Tools.resolve("tinymce.Resource"),Q_=ae([$e("preprocess",i),$e("postprocess",i)]),Z_=function(t,e,n){return vl.config(ht({store:{mode:"manual",getValue:e,setValue:n}},t.map((function(t){return{store:{initialValue:t}}})).getOr({})))},tw=function(t,e,n){return Z_(t,(function(t){return e(t.element())}),(function(t,e){return n(t.element(),e)}))},ew=function(t,e){var n=_e("RepresentingConfigs.memento processors",Q_,e);return vl.config({store:{mode:"manual",getValue:function(e){var r=t.get(e),o=vl.getValue(r);return n.postprocess(o)},setValue:function(e,r){var o=n.preprocess(r),i=t.get(e);vl.setValue(i,o)}}})},nw=Z_,rw=function(t){return tw(t,Eo,No)},ow=function(t){return vl.config({store:{mode:"memory",initialValue:t}})},iw=function(t,e){var n=function(t,e){e.stop()},r=function(t){return function(e,n){W(t,(function(t){t(e,n)}))}},o=function(t,e){if(!ng.isDisabled(t)){var n=e.event().raw();a(t,n.dataTransfer.files)}},i=function(t,e){var n=e.event().raw().target.files;a(t,n)},a=function(e,n){vl.setValue(e,function(t){var e=new RegExp("("+".jpg,.jpeg,.png,.gif".split(/\s*,\s*/).join("|")+")$","i");return H(Z(t),(function(t){return e.test(t.name)}))}(n)),Vr(e,Yb,{name:t.name})},s=Op({dom:{tag:"input",attributes:{type:"file",accept:"image/*"},styles:{display:"none"}},behaviours:Os([zh("input-file-events",[ao(vr()),ao(kr())])])}),c=t.label.map((function(t){return ky(t,e)})),u=$b.parts().field({factory:{sketch:function(t){return{uid:t.uid,dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:Os([ow([]),U_(),ng.config({}),Gh.config({toggleClass:"dragenter",toggleOnExecute:!1}),zh("dropzone-events",[eo("dragenter",r([n,Gh.toggle])),eo("dragleave",r([n,Gh.toggle])),eo("dragover",n),eo("drop",r([n,o])),eo(gr(),i)])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p",innerHtml:e.translate("Drop an image here")}},Sp.sketch({dom:{tag:"button",innerHtml:e.translate("Browse for an image"),styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[s.asSpec()],action:function(t){s.get(t).element().dom().click()},buttonBehaviours:Os([xy.config({})])})]}]}}}});return Ay(c,u,["tox-form__group--stretched"],[])},aw=Uo("alloy-fake-before-tabstop"),sw=Uo("alloy-fake-after-tabstop"),cw=function(t){return{dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:t},behaviours:Os([Ph.config({ignore:!0}),xy.config({})])}},uw=function(t,e){Vr(t,hr(),{raw:{which:9,shiftKey:e}})},lw=function(t){return eb(t,["."+aw,"."+sw].join(","),o(!1))},dw=function(t,e){var n=e.element();ki(n,aw)?uw(t,!0):ki(n,sw)&&uw(t,!1)},fw=function(t){return{dom:{tag:"div",classes:["tox-navobj"]},components:[cw([aw]),t,cw([sw])],behaviours:Os([G_(1)])}},hw=!(Cn().browser.isIE()||Cn().browser.isEdge()),pw=function(t,e){var n=hw&&t.sandboxed,r=f(f({},t.label.map((function(t){return{title:t}})).getOr({})),n?{sandbox:"allow-scripts allow-same-origin"}:{}),o=function(t){var e=on("");return{getValue:function(t){return e.get()},setValue:function(n,r){if(t)Po(n.element(),"srcdoc",r);else{Po(n.element(),"src","javascript:''");var o=n.element().dom().contentWindow.document;o.open(),o.write(r),o.close()}e.set(r)}}}(n),i=t.label.map((function(t){return ky(t,e)})),a=$b.parts().field({factory:{sketch:function(t){return fw({uid:t.uid,dom:{tag:"iframe",attributes:r},behaviours:Os([xy.config({}),Ph.config({}),nw(y.none(),o.getValue,o.setValue)])})}}});return Ay(i,a,["tox-form__group--stretched"],[])};function mw(t,n){return bw(e.document.createElement("canvas"),t,n)}function gw(t){var e=mw(t.width,t.height);return vw(e).drawImage(t,0,0),e}function vw(t){return t.getContext("2d")}function bw(t,e,n){return t.width=e,t.height=n,t}function yw(t){return t.naturalWidth||t.width}function Mw(t){return t.naturalHeight||t.height}var _w=window.Promise?window.Promise:function(){var t=function(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(t,r(a,this),r(s,this))},n=t.immediateFn||"function"==typeof window.setImmediate&&window.setImmediate||function(t){e.setTimeout(t,1)};function r(t,e){return function(){return t.apply(e,arguments)}}var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function i(t){var e=this;null!==this._state?n((function(){var n=e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void t.reject(e)}t.resolve(r)}else(e._state?t.resolve:t.reject)(e._value)})):this._deferreds.push(t)}function a(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var e=t.then;if("function"==typeof e)return void l(r(e,t),r(a,this),r(s,this))}this._state=!0,this._value=t,c.call(this)}catch(t){s.call(this,t)}}function s(t){this._state=!1,this._value=t,c.call(this)}function c(){for(var t=0,e=this._deferreds;t<e.length;t++){var n=e[t];i.call(this,n)}this._deferreds=[]}function u(t,e,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.resolve=n,this.reject=r}function l(t,e,n){var r=!1;try{t((function(t){r||(r=!0,e(t))}),(function(t){r||(r=!0,n(t))}))}catch(t){if(r)return;r=!0,n(t)}}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.then=function(e,n){var r=this;return new t((function(t,o){i.call(r,new u(e,n,t,o))}))},t.all=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=Array.prototype.slice.call(1===e.length&&o(e[0])?e[0]:e);return new t((function(t,e){if(0===r.length)return t([]);var n=r.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),e)}r[i]=a,0==--n&&t(r)}catch(t){e(t)}}for(var i=0;i<r.length;i++)o(i,r[i])}))},t.resolve=function(e){return e&&"object"==typeof e&&e.constructor===t?e:new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,n){n(e)}))},t.race=function(e){return new t((function(t,n){for(var r=0,o=e;r<o.length;r++){o[r].then(t,n)}}))},t}();function ww(t){return new _w((function(n,r){(function(t){var n=t.split(","),r=/data:([^;]+)/.exec(n[0]);if(!r)return y.none();for(var o=r[1],i=n[1],a=e.atob(i),s=a.length,c=Math.ceil(s/1024),u=new Array(c),l=0;l<c;++l){for(var d=1024*l,f=Math.min(d+1024,s),h=new Array(f-d),p=d,m=0;p<f;++m,++p)h[m]=a[p].charCodeAt(0);u[l]=new Uint8Array(h)}return y.some(new e.Blob(u,{type:o}))})(t).fold((function(){r("uri is not base64: "+t)}),n)}))}function xw(t,n,r){return n=n||"image/png",e.HTMLCanvasElement.prototype.toBlob?new _w((function(e,o){t.toBlob((function(t){t?e(t):o()}),n,r)})):ww(t.toDataURL(n,r))}function Aw(t){return function(t){return new _w((function(n,r){var o=e.URL.createObjectURL(t),i=new e.Image,a=function(){i.removeEventListener("load",s),i.removeEventListener("error",c)};function s(){a(),n(i)}function c(){a(),r("Unable to load data of type "+t.type+": "+o)}i.addEventListener("load",s),i.addEventListener("error",c),i.src=o,i.complete&&s()}))}(t).then((function(t){!function(t){e.URL.revokeObjectURL(t.src)}(t);var n=mw(yw(t),Mw(t));return vw(n).drawImage(t,0,0),n}))}function Lw(t,e,n){var r=e.type;function i(e,n){return t.then((function(t){return function(t,e,n){return e=e||"image/png",t.toDataURL(e,n)}(t,e,n)}))}return{getType:o(r),toBlob:function(){return _w.resolve(e)},toDataURL:function(){return n},toBase64:function(){return n.split(",")[1]},toAdjustedBlob:function(e,n){return t.then((function(t){return xw(t,e,n)}))},toAdjustedDataURL:i,toAdjustedBase64:function(t,e){return i(t,e).then((function(t){return t.split(",")[1]}))},toCanvas:function(){return t.then(gw)}}}function Tw(t){return function(t){return new _w((function(n){var r=new e.FileReader;r.onloadend=function(){n(r.result)},r.readAsDataURL(t)}))}(t).then((function(e){return Lw(Aw(t),t,e)}))}function kw(t,e){return xw(t,e).then((function(e){return Lw(_w.resolve(t),e,t.toDataURL())}))}function Sw(t,e,n){var r="string"==typeof t?parseFloat(t):t;return r>n?r=n:r<e&&(r=e),r}var Ow=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10];function Cw(t,e){for(var n,r=[],o=new Array(25),i=0;i<5;i++){for(var a=0;a<5;a++)r[a]=e[a+5*i];for(a=0;a<5;a++){n=0;for(var s=0;s<5;s++)n+=t[a+5*s]*r[s];o[a+5*i]=n}}return o}function zw(t,e){return t.toCanvas().then((function(n){return function(t,e,n){var r=vw(t);var o=function(t,e){for(var n,r,o,i,a=t.data,s=e[0],c=e[1],u=e[2],l=e[3],d=e[4],f=e[5],h=e[6],p=e[7],m=e[8],g=e[9],v=e[10],b=e[11],y=e[12],M=e[13],_=e[14],w=e[15],x=e[16],A=e[17],L=e[18],T=e[19],k=0;k<a.length;k+=4)n=a[k],r=a[k+1],o=a[k+2],i=a[k+3],a[k]=n*s+r*c+o*u+i*l+d,a[k+1]=n*f+r*h+o*p+i*m+g,a[k+2]=n*v+r*b+o*y+i*M+_,a[k+3]=n*w+r*x+o*A+i*L+T;return t}(r.getImageData(0,0,t.width,t.height),n);return r.putImageData(o,0,0),kw(t,e)}(n,t.getType(),e)}))}function Dw(t,e){return t.toCanvas().then((function(n){return function(t,e,n){var r=vw(t);var o=r.getImageData(0,0,t.width,t.height),i=r.getImageData(0,0,t.width,t.height);return i=function(t,e,n){function r(t,e,n){return t>n?t=n:t<e&&(t=e),t}for(var o=Math.round(Math.sqrt(n.length)),i=Math.floor(o/2),a=t.data,s=e.data,c=t.width,u=t.height,l=0;l<u;l++)for(var d=0;d<c;d++){for(var f=0,h=0,p=0,m=0;m<o;m++)for(var g=0;g<o;g++){var v=r(d+g-i,0,c-1),b=4*(r(l+m-i,0,u-1)*c+v),y=n[m*o+g];f+=a[b]*y,h+=a[b+1]*y,p+=a[b+2]*y}var M=4*(l*c+d);s[M]=r(f,0,255),s[M+1]=r(h,0,255),s[M+2]=r(p,0,255)}return e}(o,i,n),r.putImageData(i,0,0),kw(t,e)}(n,t.getType(),e)}))}function Ew(t){return function(e,n){return zw(e,t([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],n))}}var Nw,Bw,Pw=function(t){return function(e){return zw(e,t)}}([-1,0,0,0,255,0,-1,0,0,255,0,0,-1,0,255,0,0,0,1,0,0,0,0,0,1]),Rw=Ew((function(t,e){return Cw(t,[1,0,0,0,e=Sw(255*e,-255,255),0,1,0,0,e,0,0,1,0,e,0,0,0,1,0,0,0,0,0,1])})),Yw=Ew((function(t,e){var n;return e=Sw(e,-1,1),Cw(t,[(n=(e*=100)<0?127+e/100*127:127*(n=0===(n=e%1)?Ow[e]:Ow[Math.floor(e)]*(1-n)+Ow[Math.floor(e)+1]*n)+127)/127,0,0,0,.5*(127-n),0,n/127,0,0,.5*(127-n),0,0,n/127,0,.5*(127-n),0,0,0,1,0,0,0,0,0,1])})),Ww=function(t,e,n,r){return zw(t,function(t,e,n,r){return Cw(t,[e=Sw(e,0,2),0,0,0,0,0,n=Sw(n,0,2),0,0,0,0,0,r=Sw(r,0,2),0,0,0,0,0,1,0,0,0,0,0,1])}([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],e,n,r))},Hw=(Nw=[0,-1,0,-1,5,-1,0,-1,0],function(t){return Dw(t,Nw)}),qw=(Bw=function(t,e){return 255*Math.pow(t/255,1-e)},function(t,e){return t.toCanvas().then((function(n){return function(t,e,n){for(var r=vw(t),o=new Array(256),i=0;i<o.length;i++)o[i]=Bw(i,n);var a=function(t,e){for(var n=t.data,r=0;r<n.length;r+=4)n[r]=e[n[r]],n[r+1]=e[n[r+1]],n[r+2]=e[n[r+2]];return t}(r.getImageData(0,0,t.width,t.height),o);return r.putImageData(a,0,0),kw(t,e)}(n,t.getType(),e)}))});function Iw(t,e,n){var r=yw(t),o=Mw(t),i=e/r,a=n/o,s=!1;(i<.5||i>2)&&(i=i<.5?.5:2,s=!0),(a<.5||a>2)&&(a=a<.5?.5:2,s=!0);var c=function(t,e,n){return new _w((function(r){var o=yw(t),i=Mw(t),a=Math.floor(o*e),s=Math.floor(i*n),c=mw(a,s);vw(c).drawImage(t,0,0,o,i,0,0,a,s),r(c)}))}(t,i,a);return s?c.then((function(t){return Iw(t,e,n)})):c}function jw(t,e){return t.toCanvas().then((function(n){return function(t,e,n){var r=mw(t.width,t.height),o=vw(r),i=0,a=0;90!==(n=n<0?360+n:n)&&270!==n||bw(r,r.height,r.width);90!==n&&180!==n||(i=r.width);270!==n&&180!==n||(a=r.height);return o.translate(i,a),o.rotate(n*Math.PI/180),o.drawImage(t,0,0),kw(r,e)}(n,t.getType(),e)}))}function Xw(t,e){return t.toCanvas().then((function(n){return function(t,e,n){var r=mw(t.width,t.height),o=vw(r);"v"===n?(o.scale(1,-1),o.drawImage(t,0,-r.height)):(o.scale(-1,1),o.drawImage(t,-r.width,0));return kw(r,e)}(n,t.getType(),e)}))}function Fw(t,e,n,r,o){return t.toCanvas().then((function(i){return function(t,e,n,r,o,i){var a=mw(o,i);return vw(a).drawImage(t,-n,-r),kw(a,e)}(i,t.getType(),e,n,r,o)}))}var Uw=function(t){return Pw(t)},Vw=function(t){return Hw(t)},Gw=function(t,e){return qw(t,e)},$w=function(t,e){return Rw(t,e)},Kw=function(t,e){return Yw(t,e)},Jw=function(t,e){return Xw(t,e)},Qw=function(t,e,n){return function(t,e,n){return t.toCanvas().then((function(r){return Iw(r,e,n).then((function(e){return kw(e,t.getType())}))}))}(t,e,n)},Zw=function(t,e){return jw(t,e)},tx=function(t,e){return f({dom:{tag:"span",innerHtml:t,classes:["tox-icon","tox-tbtn__icon-wrap"]}},e)},ex=function(t,e){return tx(zp(t,e),{})},nx=function(t,e){return tx(zp(t,e),{behaviours:Os([Ch.config({})])})},rx=function(t,e,n){return{dom:{tag:"span",innerHtml:n.translate(t),classes:[e+"__select-label"]},behaviours:Os([Ch.config({})])}},ox=Uo("toolbar.button.execute"),ix={"alloy.execute":["disabling","alloy.base.behaviour","toggling","toolbar-button-events"]},ax=Uo("update-menu-text"),sx=Uo("update-menu-icon"),cx=function(t,e,r){var o=on(n),i=t.text.map((function(t){return Op(rx(t,e,r.providers))})),a=t.icon.map((function(t){return Op(nx(t,r.providers.icons))})),s=function(t,e){var n=vl.getValue(t);return Ph.focus(n),Vr(n,"keydown",{raw:e.event().raw()}),Fy.close(n),y.some(!0)},c=t.role.fold((function(){return{}}),(function(t){return{role:t}})),u=t.tooltip.fold((function(){return{}}),(function(t){var e=r.providers.translate(t);return{title:e,"aria-label":e}}));return Op(Fy.sketch(f(f({},c),{dom:{tag:"button",classes:[e,e+"--select"].concat(Y(t.classes,(function(t){return e+"--"+t}))),attributes:f({},u)},components:hg([a.map((function(t){return t.asSpec()})),i.map((function(t){return t.asSpec()})),y.some({dom:{tag:"div",classes:[e+"__select-chevron"],innerHtml:zp("chevron-down",r.providers.icons)}})]),matchWidth:!0,useMinWidth:!0,dropdownBehaviours:Os(p(t.dropdownBehaviours,[og(t.disabled),Vy.config({}),Ch.config({}),zh("dropdown-events",[cg(t,o),ug(t,o)]),zh("menubutton-update-display-text",[eo(ax,(function(t,e){i.bind((function(e){return e.getOpt(t)})).each((function(t){Ch.set(t,[Ki(r.providers.translate(e.event().text()))])}))})),eo(sx,(function(t,e){a.bind((function(e){return e.getOpt(t)})).each((function(t){Ch.set(t,[nx(e.event().icon(),r.providers.icons)])}))}))])])),eventOrder:ht(ix,{mousedown:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"]}),sandboxBehaviours:Os([Lh.config({mode:"special",onLeft:s,onRight:s})]),lazySink:r.getSink,toggleClass:e+"--active",parts:{menu:Lv(0,t.columns,t.presets)},fetch:function(){return uy(t.fetch)}}))).asSpec()},ux=function(t){return"separator"===t.type},lx={type:"separator"},dx=function(t,e){var n=I(t,(function(t,n){return function(t){return A(t)}(n)?""===n?t:"|"===n?t.length>0&&!ux(t[t.length-1])?t.concat([lx]):t:ut(e,n.toLowerCase())?t.concat([e[n.toLowerCase()]]):t:t.concat([n])}),[]);return n.length>0&&ux(n[n.length-1])&&n.pop(),n},fx=function(t,e){return function(t){return ut(t,"getSubmenuItems")}(t)?function(t,e){var n=t.getSubmenuItems(),r=hx(n,e);return{item:t,menus:ht(r.menus,Ct(t.value,r.items)),expansions:ht(r.expansions,Ct(t.value,t.value))}}(t,e):{item:t,menus:{},expansions:{}}},hx=function(t,e){var n=dx(A(t)?t.split(" "):t,e);return q(n,(function(t,n){var r=function(t){if(ux(t))return t;var e=Ot(t,"value").getOrThunk((function(){return Uo("generated-menu-item")}));return ht({value:e},t)}(n),o=fx(r,e);return{menus:ht(t.menus,o.menus),items:[o.item].concat(t.items),expansions:ht(t.expansions,o.expansions)}}),{menus:{},expansions:{},items:[]})},px=function(t,e,n,r){var o=Uo("primary-menu"),i=hx(t,n.shared.providers.menuItems());if(0===i.items.length)return y.none();var a=Fv(o,i.items,e,n,r),s=rt(i.menus,(function(t,r){return Fv(r,t,e,n,!1)})),c=ht(s,Ct(o,a));return y.from(mp.tieredData(o,c,i.expansions))},mx=function(t){return{isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)},setActive:function(e){var n=t.element();e?(Ai(n,"tox-tbtn--enabled"),Po(n,"aria-pressed",!0)):(Ti(n,"tox-tbtn--enabled"),Wo(n,"aria-pressed"))},isActive:function(){return ki(t.element(),"tox-tbtn--enabled")}}},gx=function(t,e,n,r){return cx({text:t.text,icon:t.icon,tooltip:t.tooltip,role:r,fetch:function(e){t.fetch((function(t){e(px(t,lg.CLOSE_ON_EXECUTE,n,!1))}))},onSetup:t.onSetup,getApi:mx,columns:1,presets:"normal",classes:[],dropdownBehaviours:[xy.config({})]},e,n.shared)},vx=function(t,e,n){var r=function(t){return function(r){var o=!r.isActive();r.setActive(o),t.storage.set(o),n.shared.getSink().each((function(n){e().getOpt(n).each((function(e){Ws(e.element()),Vr(e,qb,{name:t.name,value:t.storage.get()})}))}))}},o=function(t){return function(e){e.setActive(t.storage.get())}};return function(e){e(Y(t,(function(t){var e=t.text.fold((function(){return{}}),(function(t){return{text:t}}));return f(f({type:t.type},e),{onAction:r(t),onSetup:o(t)})})))}},bx=function(t,e,n,r,o){void 0===n&&(n=[]);var i=e.fold((function(){return{}}),(function(t){return{action:t}})),a=f({buttonBehaviours:Os([og(t.disabled),xy.config({}),zh("button press",[to("click"),to("mousedown")])].concat(n)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]}},i),s=ht(a,{dom:r});return ht(s,{components:o})},yx=function(t,e,n,r){void 0===r&&(r=[]);var o={tag:"button",classes:["tox-tbtn"],attributes:t.tooltip.map((function(t){return{"aria-label":n.translate(t),title:n.translate(t)}})).getOr({})},i=t.icon.map((function(t){return ex(t,n.icons)})),a=hg([i]);return bx(t,e,r,o,a)},Mx=function(t,e,n,r){void 0===r&&(r=[]);var o=yx(t,y.some(e),n,r);return Sp.sketch(o)},_x=function(t,e,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=[]);var i=n.translate(t.text),a=t.icon?t.icon.map((function(t){return ex(t,n.icons)})):y.none(),s=a.isSome()?hg([a]):[],c=a.isSome()?{}:{innerHtml:i},u=p(t.primary||t.borderless?["tox-button"]:["tox-button","tox-button--secondary"],a.isSome()?["tox-button--icon"]:[],t.borderless?["tox-button--naked"]:[],o),l=f(f({tag:"button",classes:u},c),{attributes:{title:i}});return bx(t,e,r,l,s)},wx=function(t,e,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=[]);var i=_x(t,y.some(e),n,r,o);return Sp.sketch(i)},xx=function(t,n){return function(r){"custom"===n?Vr(r,qb,{name:t,value:{}}):"submit"===n?Ur(r,Ib):"cancel"===n?Ur(r,Hb):e.console.error("Unknown button type: ",n)}},Ax=function(t,n,r){if(function(t,e){return"menu"===e}(0,n)){var o=t,i=f(f({},t),{fetch:vx(o.items,(function(){return a}),r)}),a=Op(gx(i,"tox-tbtn",r,y.none()));return a.asSpec()}if(function(t,e){return"custom"===e||"cancel"===e||"submit"===e}(0,n)){var s=xx(t.name,n),c=f(f({},t),{borderless:!1});return wx(c,s,r.shared.providers,[])}e.console.error("Unknown footer button type: ",n)},Lx=function(t,e){var n,r,o=xx(t.name,"custom");return n=y.none(),r=$b.parts().field(f({factory:Sp},_x(t,y.some(o),e,[ow(""),U_()]))),Ay(n,r,[],[])},Tx=o([$e("field1Name","field1"),$e("field2Name","field2"),Ga("onLockedChange"),Xa(["lockClass"]),$e("locked",!1),_l("coupledFieldBehaviours",[Ld,vl])]),kx=function(t,e){return Fl({factory:$b,name:t,overrides:function(t){return{fieldBehaviours:Os([zh("coupled-input-behaviour",[eo(mr(),(function(n){(function(t,e,n){return id(t,e,n).bind(Ld.getCurrent)})(n,t,e).each((function(e){id(n,t,"lock").each((function(r){Gh.isOn(r)&&t.onLockedChange(n,e,r)}))}))}))])])}}})},Sx=o([kx("field1","field2"),kx("field2","field1"),Fl({factory:Sp,schema:[Ne("dom")],name:"lock",overrides:function(t){return{buttonBehaviours:Os([Gh.config({selected:t.locked,toggleClass:t.markers.lockClass,aria:{mode:"pressed"}})])}}})]),Ox=_d({name:"FormCoupledInputs",configFields:Tx(),partFields:Sx(),factory:function(t,e,n,r){return{uid:t.uid,dom:t.dom,components:e,behaviours:wl(t.coupledFieldBehaviours,[Ld.config({find:y.some}),vl.config({store:{mode:"manual",getValue:function(e){var n,r=ld(e,t,["field1","field2"]);return(n={})[t.field1Name]=vl.getValue(r.field1()),n[t.field2Name]=vl.getValue(r.field2()),n},setValue:function(e,n){var r=ld(e,t,["field1","field2"]);Et(n,t.field1Name)&&vl.setValue(r.field1(),n[t.field1Name]),Et(n,t.field2Name)&&vl.setValue(r.field2(),n[t.field2Name])}}})]),apis:{getField1:function(e){return id(e,t,"field1")},getField2:function(e){return id(e,t,"field2")},getLock:function(e){return id(e,t,"lock")}}}},apis:{getField1:function(t,e){return t.getField1(e)},getField2:function(t,e){return t.getField2(e)},getLock:function(t,e){return t.getLock(e)}}}),Cx=function(t){var e=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(t);if(null!==e){var n=parseFloat(e[1]),r=e[2];return w.value({value:n,unit:r})}return w.error(t)},zx=function(t,e){var n={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},r=function(t){return Object.prototype.hasOwnProperty.call(n,t)};return t.unit===e?y.some(t.value):r(t.unit)&&r(e)?n[t.unit]===n[e]?y.some(t.value):y.some(t.value/n[t.unit]*n[e]):y.none()},Dx=function(t){return y.none()},Ex=function(t,e){var n,r,o,i=Cx(t).toOption(),a=Cx(e).toOption();return(n=i,r=a,o=function(t,e){return zx(t,e.unit).map((function(t){return e.value/t})).map((function(t){return function(t,e){return function(n){return zx(n,e).map((function(n){return{value:n*t,unit:e}}))}}(t,e.unit)})).getOr(Dx)},n.isSome()&&r.isSome()?y.some(o(n.getOrDie(),r.getOrDie())):y.none()).getOr(Dx)},Nx=function(t,e){var n=Dx,r=Uo("ratio-event"),o=Ox.parts().lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{title:e.translate(t.label.getOr("Constrain proportions"))}},components:[{dom:{tag:"span",classes:["tox-icon","tox-lock-icon__lock"],innerHtml:zp("lock",e.icons)}},{dom:{tag:"span",classes:["tox-icon","tox-lock-icon__unlock"],innerHtml:zp("unlock",e.icons)}}],buttonBehaviours:Os([og(t.disabled),xy.config({})])}),i=function(t){return{dom:{tag:"div",classes:["tox-form__group"]},components:t}},a=function(e){return $b.parts().field({factory:ty,inputClasses:["tox-textfield"],inputBehaviours:Os([ng.config({disabled:t.disabled}),xy.config({}),zh("size-input-events",[eo(dr(),(function(t,n){Vr(t,r,{isField1:e})})),eo(gr(),(function(e,n){Vr(e,Yb,{name:t.name})}))])]),selectOnFocus:!1})},s=function(t){return{dom:{tag:"label",classes:["tox-label"],innerHtml:e.translate(t)}}},c=Ox.parts().field1(i([$b.parts().label(s("Width")),a(!0)])),u=Ox.parts().field2(i([$b.parts().label(s("Height")),a(!1)]));return Ox.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[c,u,i([s(" "),o])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:function(t,e,r){Cx(vl.getValue(t)).each((function(t){n(t).each((function(t){vl.setValue(e,function(t){var e,n={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4},r=t.value.toFixed((e=t.unit)in n?n[e]:1);return-1!==r.indexOf(".")&&(r=r.replace(/\.?0*$/,"")),r+t.unit}(t))}))}))},coupledFieldBehaviours:Os([ng.config({disabled:t.disabled,onDisabled:function(t){Ox.getField1(t).bind($b.getField).each(ng.disable),Ox.getField2(t).bind($b.getField).each(ng.disable),Ox.getLock(t).each(ng.disable)},onEnabled:function(t){Ox.getField1(t).bind($b.getField).each(ng.enable),Ox.getField2(t).bind($b.getField).each(ng.enable),Ox.getLock(t).each(ng.enable)}}),zh("size-input-events2",[eo(r,(function(t,e){var r=e.event().isField1(),o=r?Ox.getField1(t):Ox.getField2(t),i=r?Ox.getField2(t):Ox.getField1(t),a=o.map(vl.getValue).getOr(""),s=i.map(vl.getValue).getOr("");n=Ex(a,s)}))])])})},Bx={undo:o(Uo("undo")),redo:o(Uo("redo")),zoom:o(Uo("zoom")),back:o(Uo("back")),apply:o(Uo("apply")),swap:o(Uo("swap")),transform:o(Uo("transform")),tempTransform:o(Uo("temp-transform")),transformApply:o(Uo("transform-apply"))},Px=o("save-state"),Rx=o("disable"),Yx=o("enable"),Wx={formActionEvent:qb,saveState:Px,disable:Rx,enable:Yx},Hx=function(t,e){var r=function(t,n,r,o){return Op(wx({name:t,text:t,disabled:r,primary:o,icon:y.none(),borderless:!1},n,e))},i=function(t,n,r,o){return Op(Mx({name:t,icon:y.some(t),tooltip:y.some(n),disabled:o,primary:!1,borderless:!1},r,e))},a=function(t,e){t.map((function(t){var n=t.get(e);n.hasConfigured(ng)&&ng.disable(n)}))},s=function(t,e){t.map((function(t){var n=t.get(e);n.hasConfigured(ng)&&ng.enable(n)}))},c={tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools-edit-panel"]},u=n,l=function(t,e,n){Vr(t,e,n)},d=function(t){return Ur(t,Wx.disable())},f=function(t){return Ur(t,Wx.enable())},h=function(t,e){d(t),l(t,Bx.transform(),{transform:e}),f(t)},p=function(t){return function(){et.getOpt(t).each((function(t){Ch.set(t,[Z])}))}},m=function(t,e){d(t),l(t,Bx.transformApply(),{transform:e,swap:p(t)}),f(t)},g=function(){return r("Back",(function(t){return l(t,Bx.back(),{swap:p(t)})}),!1,!1)},v=function(){return Op({dom:{tag:"div",classes:["tox-spacer"]},behaviours:Os([ng.config({})])})},b=function(){return r("Apply",(function(t){return l(t,Bx.apply(),{swap:p(t)})}),!0,!0)},M=function(){return function(e){var n=t.getRect();return function(t,e,n,r,o){return Fw(t,e,n,r,o)}(e,n.x,n.y,n.w,n.h)}},_=[g(),v(),r("Apply",(function(e){var n=M();m(e,n),t.hideCrop()}),!1,!0)],w=bb.sketch({dom:c,components:_.map((function(t){return t.asSpec()})),containerBehaviours:Os([zh("image-tools-crop-buttons-events",[eo(Wx.disable(),(function(t,e){a(_,t)})),eo(Wx.enable(),(function(t,e){s(_,t)}))])])}),x=Op(Nx({name:"size",label:y.none(),constrain:!0,disabled:!1},e)),A=[g(),v(),x,v(),r("Apply",(function(t){x.getOpt(t).each((function(e){var n=vl.getValue(e),r=function(t,e){return function(n){return Qw(n,t,e)}}(parseInt(n.width,10),parseInt(n.height,10));m(t,r)}))}),!1,!0)],L=bb.sketch({dom:c,components:A.map((function(t){return t.asSpec()})),containerBehaviours:Os([zh("image-tools-resize-buttons-events",[eo(Wx.disable(),(function(t,e){a(A,t)})),eo(Wx.enable(),(function(t,e){s(A,t)}))])])}),T=function(t,e){return function(n){return t(n,e)}},k=T(Jw,"h"),S=T(Jw,"v"),O=T(Zw,-90),C=T(Zw,90),z=function(t,e){!function(t,e){d(t),l(t,Bx.tempTransform(),{transform:e}),f(t)}(t,e)},D=[g(),v(),i("flip-horizontally","Flip horizontally",(function(t){z(t,k)}),!1),i("flip-vertically","Flip vertically",(function(t){z(t,S)}),!1),i("rotate-left","Rotate counterclockwise",(function(t){z(t,O)}),!1),i("rotate-right","Rotate clockwise",(function(t){z(t,C)}),!1),v(),b()],E=bb.sketch({dom:c,components:D.map((function(t){return t.asSpec()})),containerBehaviours:Os([zh("image-tools-fliprotate-buttons-events",[eo(Wx.disable(),(function(t,e){a(D,t)})),eo(Wx.enable(),(function(t,e){s(D,t)}))])])}),N=function(t,n,r,i,a){var s=N_.parts().label({dom:{tag:"label",classes:["tox-label"],innerHtml:e.translate(t)}}),c=N_.parts().spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),u=N_.parts().thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return Op(N_.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:r,maxX:a,getInitialValue:o({x:o(i)})},components:[s,c,u],sliderBehaviours:Os([Ph.config({})]),onChoose:n}))},B=function(t,e,n,r,o){return N(t,(function(t,n,r){var o=T(e,r.x()/100);h(t,o)}),n,r,o)},P=function(t,e,n,r,o){var i=function(t,e,n,r,o){return[g(),B(t,e,n,r,o),b()]}(t,e,n,r,o);return bb.sketch({dom:c,components:i.map((function(t){return t.asSpec()})),containerBehaviours:Os([zh("image-tools-filter-panel-buttons-events",[eo(Wx.disable(),(function(t,e){a(i,t)})),eo(Wx.enable(),(function(t,e){s(i,t)}))])])})},R=[g(),v(),b()],Y=bb.sketch({dom:c,components:R.map((function(t){return t.asSpec()}))}),W=P("Brightness",$w,-100,0,100),H=P("Contrast",Kw,-100,0,100),q=P("Gamma",Gw,-100,0,100),I=function(t,e,n){return function(r){return function(t,e,n,r){return Ww(t,e,n,r)}(r,t,e,n)}},j=function(t){return N(t,(function(t,e,n){var r=X.getOpt(t),o=U.getOpt(t),i=F.getOpt(t);r.each((function(e){o.each((function(n){i.each((function(r){var o=vl.getValue(e).x()/100,i=vl.getValue(r).x()/100,a=vl.getValue(n).x()/100,s=I(o,i,a);h(t,s)}))}))}))}),0,100,200)},X=j("R"),F=j("G"),U=j("B"),V=[g(),X,F,U,b()],G=bb.sketch({dom:c,components:V.map((function(t){return t.asSpec()}))}),$=function(t,e,n){return function(r){l(r,Bx.swap(),{transform:e,swap:function(){et.getOpt(r).each((function(e){Ch.set(e,[t]),n(e)}))}})}},K=y.some(Vw),J=y.some(Uw),Q=[i("crop","Crop",$(w,y.none(),(function(e){t.showCrop()})),!1),i("resize","Resize",$(L,y.none(),(function(e){x.getOpt(e).each((function(e){var n=t.getMeasurements(),r=n.width,o=n.height;vl.setValue(e,{width:r,height:o})}))})),!1),i("orientation","Orientation",$(E,y.none(),u),!1),i("brightness","Brightness",$(W,y.none(),u),!1),i("sharpen","Sharpen",$(Y,K,u),!1),i("contrast","Contrast",$(H,y.none(),u),!1),i("color-levels","Color levels",$(G,y.none(),u),!1),i("gamma","Gamma",$(q,y.none(),u),!1),i("invert","Invert",$(Y,J,u),!1)],Z=bb.sketch({dom:c,components:Q.map((function(t){return t.asSpec()}))}),tt=bb.sketch({dom:{tag:"div"},components:[Z],containerBehaviours:Os([Ch.config({})])}),et=Op(tt);return{memContainer:et,getApplyButton:function(t){return et.getOpt(t).map((function(t){var e=t.components()[0];return e.components()[e.components().length-1]}))}}},qx=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),Ix=tinymce.util.Tools.resolve("tinymce.geom.Rect"),jx=tinymce.util.Tools.resolve("tinymce.util.Observable"),Xx=tinymce.util.Tools.resolve("tinymce.util.Tools"),Fx=tinymce.util.Tools.resolve("tinymce.util.VK");function Ux(t){var e,n;if(t.changedTouches)for(e="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n<e.length;n++)t[e[n]]=t.changedTouches[0][e[n]]}function Vx(t,n){var r,o,i,a,s,c,u,l=n.document||e.document;n=n||{};var d=l.getElementById(n.handle||t);i=function(t){var i,f,h=function(t){var e,n,r,o,i,a,s,c=Math.max;return e=t.documentElement,n=t.body,r=c(e.scrollWidth,n.scrollWidth),o=c(e.clientWidth,n.clientWidth),i=c(e.offsetWidth,n.offsetWidth),a=c(e.scrollHeight,n.scrollHeight),s=c(e.clientHeight,n.clientHeight),{width:r<i?o:r,height:a<c(e.offsetHeight,n.offsetHeight)?s:a}}(l);Ux(t),t.preventDefault(),o=t.button,i=d,c=t.screenX,u=t.screenY,f=e.window.getComputedStyle?e.window.getComputedStyle(i,null).getPropertyValue("cursor"):i.runtimeStyle.cursor,r=qx("<div></div>").css({position:"absolute",top:0,left:0,width:h.width,height:h.height,zIndex:2147483647,opacity:1e-4,cursor:f}).appendTo(l.body),qx(l).on("mousemove touchmove",s).on("mouseup touchend",a),n.start(t)},s=function(t){if(Ux(t),t.button!==o)return a(t);t.deltaX=t.screenX-c,t.deltaY=t.screenY-u,t.preventDefault(),n.drag(t)},a=function(t){Ux(t),qx(l).off("mousemove touchmove",s).off("mouseup touchend",a),r.remove(),n.stop&&n.stop(t)},this.destroy=function(){qx(d).off()},qx(d).on("mousedown touchstart",i)}var Gx=0,$x=function(t,e,n,r,o){var i,a,s,c="tox-crid-"+Gx++,u=[{name:"move",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:0,deltaH:0,label:"Crop Mask"},{name:"nw",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:-1,deltaH:-1,label:"Top Left Crop Handle"},{name:"ne",xMul:1,yMul:0,deltaX:0,deltaY:1,deltaW:1,deltaH:-1,label:"Top Right Crop Handle"},{name:"sw",xMul:0,yMul:1,deltaX:1,deltaY:0,deltaW:-1,deltaH:1,label:"Bottom Left Crop Handle"},{name:"se",xMul:1,yMul:1,deltaX:0,deltaY:0,deltaW:1,deltaH:1,label:"Bottom Right Crop Handle"}];s=["top","right","bottom","left"];var l=function(t,e){return{x:e.x-t.x,y:e.y-t.y,w:e.w,h:e.h}};function d(e,r,o,a){var s,c,u,d,f;s=r.x,c=r.y,u=r.w,d=r.h,s+=o*e.deltaX,c+=a*e.deltaY,(u+=o*e.deltaW)<20&&(u=20),(d+=a*e.deltaH)<20&&(d=20),f=t=Ix.clamp({x:s,y:c,w:u,h:d},n,"move"===e.name),f=l(n,f),i.fire("updateRect",{rect:f}),p(f)}function f(t){function n(t,e){e.h<0&&(e.h=0),e.w<0&&(e.w=0),qx("#"+c+"-"+t,r).css({left:e.x,top:e.y,width:e.w,height:e.h})}Xx.each(u,(function(e){qx("#"+c+"-"+e.name,r).css({left:t.w*e.xMul+t.x,top:t.h*e.yMul+t.y})})),n("top",{x:e.x,y:e.y,w:e.w,h:t.y-e.y}),n("right",{x:t.x+t.w,y:t.y,w:e.w-t.x-t.w+e.x,h:t.h}),n("bottom",{x:e.x,y:t.y+t.h,w:e.w,h:e.h-t.y-t.h+e.y}),n("left",{x:e.x,y:t.y,w:t.x-e.x,h:t.h}),n("move",t)}function h(e){f(t=e)}function p(t){var e,r;h((e=n,{x:(r=t).x+e.x,y:r.y+e.y,w:r.w,h:r.h}))}return qx('<div id="'+c+'" class="tox-croprect-container" role="grid" aria-dropeffect="execute">').appendTo(r),Xx.each(s,(function(t){qx("#"+c,r).append('<div id="'+c+"-"+t+'"class="tox-croprect-block" style="display: none" data-mce-bogus="all">')})),Xx.each(u,(function(t){qx("#"+c,r).append('<div id="'+c+"-"+t.name+'" class="tox-croprect-handle tox-croprect-handle-'+t.name+'"style="display: none" data-mce-bogus="all" role="gridcell" tabindex="-1" aria-label="'+t.label+'" aria-grabbed="false" title="'+t.label+'">')})),a=Xx.map(u,(function(e){var n;return new Vx(c,{document:r.ownerDocument,handle:c+"-"+e.name,start:function(){n=t},drag:function(t){d(e,n,t.deltaX,t.deltaY)}})})),f(t),qx(r).on("focusin focusout",(function(t){qx(t.target).attr("aria-grabbed","focus"===t.type?"true":"false")})),qx(r).on("keydown",(function(e){var n;function r(t,e,r,o,i){t.stopPropagation(),t.preventDefault(),d(n,r,o,i)}switch(Xx.each(u,(function(t){if(e.target.id===c+"-"+t.name)return n=t,!1})),e.keyCode){case Fx.LEFT:r(e,0,t,-10,0);break;case Fx.RIGHT:r(e,0,t,10,0);break;case Fx.UP:r(e,0,t,0,-10);break;case Fx.DOWN:r(e,0,t,0,10);break;case Fx.ENTER:case Fx.SPACEBAR:e.preventDefault(),o()}})),i=Xx.extend({toggleVisibility:function(t){var e;e=Xx.map(u,(function(t){return"#"+c+"-"+t.name})).concat(Xx.map(s,(function(t){return"#"+c+"-"+t}))).join(","),t?qx(e,r).show():qx(e,r).hide()},setClampRect:function(e){n=e,f(t)},setRect:h,getInnerRect:function(){return l(n,t)},setInnerRect:p,setViewPortRect:function(n){e=n,f(t)},destroy:function(){Xx.each(a,(function(t){t.destroy()})),a=[]}},jx)},Kx=function(t){var e=Op({dom:{tag:"div",classes:["tox-image-tools__image-bg"],attributes:{role:"presentation"}}}),n=on(1),r=on(y.none()),o=on({x:0,y:0,w:1,h:1}),i=on({x:0,y:0,w:1,h:1}),a=function(t,i){u.getOpt(t).each((function(t){var a=n.get(),s=fa(t.element()),c=oa(t.element()),u=i.dom().naturalWidth*a,l=i.dom().naturalHeight*a,d=Math.max(0,s/2-u/2),f=Math.max(0,c/2-l/2),h={left:d.toString()+"px",top:f.toString()+"px",width:u.toString()+"px",height:l.toString()+"px",position:"absolute"};Ni(i,h),e.getOpt(t).each((function(t){Ni(t.element(),h)})),r.get().each((function(t){var e=o.get();t.setRect({x:e.x*a+d,y:e.y*a+f,w:e.w*a,h:e.h*a}),t.setClampRect({x:d,y:f,w:u,h:l}),t.setViewPortRect({x:0,y:0,w:s,h:c})}))}))},s=function(t,e){var r,s=sn.fromTag("img");return Po(s,"src",e),(r=s.dom(),new Jp((function(t){var e=function(){r.removeEventListener("load",e),t(r)};r.complete?t(r):r.addEventListener("load",e)}))).then((function(){return u.getOpt(t).map((function(t){var e=Ji({element:s});Ch.replaceAt(t,1,y.some(e));var r=i.get(),c={x:0,y:0,w:s.dom().naturalWidth,h:s.dom().naturalHeight};i.set(c);var l=Ix.inflate(c,-20,-20);return o.set(l),r.w===c.w&&r.h===c.h||function(t,e){u.getOpt(t).each((function(t){var r=fa(t.element()),o=oa(t.element()),i=e.dom().naturalWidth,a=e.dom().naturalHeight,s=Math.min(r/i,o/a);s>=1?n.set(1):n.set(s)}))}(t,s),a(t,s),s}))}))},c=bb.sketch({dom:{tag:"div",classes:["tox-image-tools__image"]},components:[e.asSpec(),{dom:{tag:"img",attributes:{src:t}}},{dom:{tag:"div"},behaviours:Os([zh("image-panel-crop-events",[uo((function(t){u.getOpt(t).each((function(t){var e=t.element().dom(),i=$x({x:10,y:10,w:100,h:100},{x:0,y:0,w:200,h:200},{x:0,y:0,w:200,h:200},e,(function(){}));i.toggleVisibility(!1),i.on("updateRect",(function(t){var e=t.rect,r=n.get(),i={x:Math.round(e.x/r),y:Math.round(e.y/r),w:Math.round(e.w/r),h:Math.round(e.h/r)};o.set(i)})),r.set(y.some(i))}))}))])])}],containerBehaviours:Os([Ch.config({}),zh("image-panel-events",[uo((function(e){s(e,t)}))])])}),u=Op(c);return{memContainer:u,updateSrc:s,zoom:function(t,e){var r=n.get(),o=e>0?Math.min(2,r+.1):Math.max(.1,r-.1);n.set(o),u.getOpt(t).each((function(t){var e=t.components()[1].element();a(t,e)}))},showCrop:function(){r.get().each((function(t){t.toggleVisibility(!0)}))},hideCrop:function(){r.get().each((function(t){t.toggleVisibility(!1)}))},getRect:function(){return o.get()},getMeasurements:function(){var t=i.get();return{width:t.w,height:t.h}}}},Jx=function(t,e,n,r,o){return Mx({name:t,icon:y.some(e),disabled:n,tooltip:y.some(t),primary:!1,borderless:!1},r,o)},Qx=function(t,e){e?ng.enable(t):ng.disable(t)};var Zx,tA,eA=function(t){var n=on(t),r=on(y.none()),o=function(){var t=[],e=-1;function n(){return e>0}function r(){return-1!==e&&e<t.length-1}return{data:t,add:function(n){var r;return r=t.splice(++e),t.push(n),{state:n,removed:r}},undo:function(){if(n())return t[--e]},redo:function(){if(r())return t[++e]},canUndo:n,canRedo:r}}();o.add(t);var i=function(t){n.set(t)},a=function(t){return{blob:t,url:e.URL.createObjectURL(t)}},s=function(t){e.URL.revokeObjectURL(t.url)},c=function(){r.get().each(s),r.set(y.none())},u=function(t){var e=a(t);i(e);var n,r=o.add(e).removed;return n=r,Xx.each(n,s),e.url};return{getBlobState:function(){return n.get()},setBlobState:i,addBlobState:u,getTempState:function(){return r.get().fold((function(){return n.get()}),(function(t){return t}))},updateTempState:function(t){var e=a(t);return c(),r.set(y.some(e)),e.url},addTempState:function(t){var e=a(t);return r.set(y.some(e)),e.url},applyTempState:function(t){return r.get().fold((function(){}),(function(e){u(e.blob),t()}))},destroyTempState:c,undo:function(){var t=o.undo();return i(t),t.url},redo:function(){var t=o.redo();return i(t),t.url},getHistoryStates:function(){return{undoEnabled:o.canUndo(),redoEnabled:o.canRedo()}}}},nA=function(t,r){var o=eA(t.currentState),i=function(t){var e=o.getHistoryStates();p.updateButtonUndoStates(t,e.undoEnabled,e.redoEnabled),Vr(t,Wx.formActionEvent,{name:Wx.saveState(),value:e.undoEnabled})},a=function(t){return t.toBlob()},s=function(t){Vr(t,Wx.formActionEvent,{name:Wx.disable(),value:{}})},c=function(t){m.getApplyButton(t).each((function(t){ng.enable(t)})),Vr(t,Wx.formActionEvent,{name:Wx.enable(),value:{}})},u=function(t,e){return s(t),h.updateSrc(t,e)},l=function(t,n,r,o,l){return s(t),function(t){return Tw(t)}(n).then(r).then(a).then(o).then((function(e){return u(t,e).then((function(e){return i(t),l(),c(t),e}))})).catch((function(n){return e.console.log(n),c(t),n}))},d=function(t,e,n){var r=o.getBlobState().blob;l(t,r,e,(function(t){return o.updateTempState(t)}),n)},f=function(t){var e=o.getBlobState().url;return o.destroyTempState(),i(t),e},h=Kx(t.currentState.url),p=function(t){var e=Op(Jx("Undo","undo",!0,(function(t){Vr(t,Bx.undo(),{direction:1})}),t)),n=Op(Jx("Redo","redo",!0,(function(t){Vr(t,Bx.redo(),{direction:1})}),t));return{container:bb.sketch({dom:{tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools__sidebar"]},components:[e.asSpec(),n.asSpec(),Jx("Zoom in","zoom-in",!1,(function(t){Vr(t,Bx.zoom(),{direction:1})}),t),Jx("Zoom out","zoom-out",!1,(function(t){Vr(t,Bx.zoom(),{direction:-1})}),t)]}),updateButtonUndoStates:function(t,r,o){e.getOpt(t).each((function(t){Qx(t,r)})),n.getOpt(t).each((function(t){Qx(t,o)}))}}}(r),m=Hx(h,r);return{dom:{tag:"div",attributes:{role:"presentation"}},components:[m.memContainer.asSpec(),h.memContainer.asSpec(),p.container],behaviours:Os([vl.config({store:{mode:"manual",getValue:function(){return o.getBlobState()}}}),zh("image-tools-events",[eo(Bx.undo(),(function(t,e){var n=o.undo();u(t,n).then((function(e){c(t),i(t)}))})),eo(Bx.redo(),(function(t,e){var n=o.redo();u(t,n).then((function(e){c(t),i(t)}))})),eo(Bx.zoom(),(function(t,e){var n=e.event().direction();h.zoom(t,n)})),eo(Bx.back(),(function(t,e){!function(t){var e=f(t);u(t,e).then((function(e){c(t)}))}(t),e.event().swap()(),h.hideCrop()})),eo(Bx.apply(),(function(t,e){o.applyTempState((function(){f(t),e.event().swap()()}))})),eo(Bx.transform(),(function(t,e){return d(t,e.event().transform(),n)})),eo(Bx.tempTransform(),(function(t,e){return function(t,e){var r=o.getTempState().blob;l(t,r,e,(function(t){return o.addTempState(t)}),n)}(t,e.event().transform())})),eo(Bx.transformApply(),(function(t,e){return function(t,e,n){var r=o.getBlobState().blob;l(t,r,e,(function(e){var n=o.addBlobState(e);return f(t),n}),n)}(t,e.event().transform(),e.event().swap())})),eo(Bx.swap(),(function(t,e){!function(t){p.updateButtonUndoStates(t,!1,!1)}(t);var n=e.event().transform(),r=e.event().swap();n.fold((function(){r()}),(function(e){d(t,e,r)}))}))]),U_()])}},rA=Md({name:"HtmlSelect",configFields:[Ne("options"),bl("selectBehaviours",[Ph,vl]),$e("selectClasses",[]),$e("selectAttributes",{}),je("data")],factory:function(t,e){var n=Y(t.options,(function(t){return{dom:{tag:"option",value:t.value,innerHtml:t.text}}})),r=t.data.map((function(t){return Ct("initialValue",t)})).getOr({});return{uid:t.uid,dom:{tag:"select",classes:t.selectClasses,attributes:t.selectAttributes},components:n,behaviours:Ml(t.selectBehaviours,[Ph.config({}),vl.config({store:f({mode:"manual",getValue:function(t){return qi(t.element())},setValue:function(e,n){j(t.options,(function(t){return t.value===n})).isSome()&&Ii(e.element(),n)}},r)})])}}}),oA=function(t,e){var n=t.label.map((function(t){return ky(t,e)})),r=[ng.config({disabled:t.disabled}),Lh.config({mode:"execution",useEnter:!0!==t.multiline,useControlEnter:!0===t.multiline,execute:function(t){return Ur(t,Ib),y.some(!0)}}),zh("textfield-change",[eo(mr(),(function(e,n){Vr(e,Yb,{name:t.name})})),eo(xr(),(function(e,n){Vr(e,Yb,{name:t.name})}))]),xy.config({})],i=t.validation.map((function(t){return My.config({getRoot:function(t){return _o(t.element())},invalidClass:"tox-invalid",validator:{validate:function(e){var n=vl.getValue(e),r=t.validator(n);return ly(!0===r?w.value(n):w.error(r))},validateOnLoad:t.validateOnLoad}})})).toArray(),a=t.placeholder.fold(o({}),(function(t){return{placeholder:e.translate(t)}})),s=t.inputMode.fold(o({}),(function(t){return{inputmode:t}})),c=f(f({},a),s),u=$b.parts().field({tag:!0===t.multiline?"textarea":"input",inputAttributes:c,inputClasses:[t.classname],inputBehaviours:Os(F([r,i])),selectOnFocus:!1,factory:ty}),l=(t.flex?["tox-form__group--stretched"]:[]).concat(t.maximized?["tox-form-group--maximize"]:[]),d=[ng.config({disabled:t.disabled,onDisabled:function(t){$b.getField(t).each(ng.disable)},onEnabled:function(t){$b.getField(t).each(ng.enable)}})];return Ay(n,u,l,d)},iA=Object.freeze({events:function(t,e){var n=t.stream.streams.setup(t,e);return Qr([eo(t.event,n),lo((function(){return e.cancel()}))].concat(t.cancelEvent.map((function(t){return[eo(t,(function(){return e.cancel()}))]})).getOr([])))}}),aA=function(t){var e=on(null);return ui({readState:function(){return{timer:null!==e.get()?"set":"unset"}},setTimer:function(t){e.set(t)},cancel:function(){var t=e.get();null!==t&&t.cancel()}})},sA=Object.freeze({throttle:aA,init:function(t){return t.stream.streams.state(t)}}),cA=[Be("stream",Ae("mode",{throttle:[Ne("delay"),$e("stopEvent",!0),Ka("streams",{setup:function(t,e){var n=t.stream,r=Yp(t.onStream,n.delay);return e.setTimer(r),function(t,e){r.throttle(t,e),n.stopEvent&&e.stop()}},state:aA})]})),$e("event","input"),je("cancelEvent"),Ga("onStream")],uA=zs({fields:cA,name:"streaming",active:iA,state:sA}),lA=function(t,e,n){var r=vl.getValue(n);vl.setValue(e,r),fA(e)},dA=function(t,e){var n=t.element(),r=qi(n),o=n.dom();"number"!==Ro(n,"type")&&e(o,r)},fA=function(t){dA(t,(function(t,e){return t.setSelectionRange(e.length,e.length)}))},hA=function(t,e,n){if(t.selectsOver){var r=vl.getValue(e),o=t.getDisplayText(r),i=vl.getValue(n);return 0===t.getDisplayText(i).indexOf(o)?y.some((function(){lA(0,e,n),function(t,e){dA(t,(function(t,n){return t.setSelectionRange(e,n.length)}))}(e,o.length)})):y.none()}return y.none()},pA=o("alloy.typeahead.itemexecute"),mA=o([je("lazySink"),Ne("fetch"),$e("minChars",5),$e("responseTime",1e3),Ua("onOpen"),$e("getHotspot",y.some),$e("getAnchorOverrides",o({})),$e("layouts",y.none()),$e("eventOrder",{}),nn("model",{},[$e("getDisplayText",(function(t){return void 0!==t.meta&&void 0!==t.meta.text?t.meta.text:t.value})),$e("selectsOver",!0),$e("populateFromBrowse",!0)]),Ua("onSetValue"),Va("onExecute"),Ua("onItemExecute"),$e("inputClasses",[]),$e("inputAttributes",{}),$e("inputStyles",{}),$e("matchWidth",!0),$e("useMinWidth",!1),$e("dismissOnBlur",!0),Xa(["openClass"]),je("initialData"),bl("typeaheadBehaviours",[Ph,vl,uA,Lh,Gh,Cy]),rn("previewing",(function(){return on(!0)}))].concat(Kb()).concat(Iy())),gA=o([Ul({schema:[ja()],name:"menu",overrides:function(t){return{fakeFocus:!0,onHighlight:function(e,n){t.previewing.get()?e.getSystem().getByUid(t.uid).each((function(r){hA(t.model,r,n).fold((function(){return Pd.dehighlight(e,n)}),(function(t){return t()}))})):e.getSystem().getByUid(t.uid).each((function(e){t.model.populateFromBrowse&&lA(t.model,e,n)})),t.previewing.set(!1)},onExecute:function(e,n){return e.getSystem().getByUid(t.uid).toOption().map((function(t){return Vr(t,pA(),{item:n}),!0}))},onHover:function(e,n){t.previewing.set(!1),e.getSystem().getByUid(t.uid).each((function(e){t.model.populateFromBrowse&&lA(t.model,e,n)}))}}}})]),vA=_d({name:"Typeahead",configFields:mA(),partFields:gA(),factory:function(t,e,r,o){var i=function(e,r,i){t.previewing.set(!1);var a=Cy.getCoupled(e,"sandbox");if(Ju.isOpen(a))Ld.getCurrent(a).each((function(t){Pd.getHighlighted(t).fold((function(){i(t)}),(function(){Jr(a,t.element(),"keydown",r)}))}));else{Ny(t,s(e),e,a,o,(function(t){Ld.getCurrent(t).each(i)}),ry.HighlightFirst).get(n)}},a=Jb(t),s=function(t){return function(e){return e.map((function(e){var n=st(e.menus),r=U(n,(function(t){return H(t.items,(function(t){return"item"===t.type}))}));return vl.getState(t).update(Y(r,(function(t){return t.data}))),e}))}},c=[Ph.config({}),vl.config({onSetValue:t.onSetValue,store:f({mode:"dataset",getDataKey:function(t){return qi(t.element())},getFallbackEntry:function(t){return{value:t,meta:{}}},setValue:function(e,n){Ii(e.element(),t.model.getDisplayText(n))}},t.initialData.map((function(t){return Ct("initialValue",t)})).getOr({}))}),uA.config({stream:{mode:"throttle",delay:t.responseTime,stopEvent:!1},onStream:function(e,r){var i=Cy.getCoupled(e,"sandbox");if(Ph.isFocused(e)&&qi(e.element()).length>=t.minChars){var a=Ld.getCurrent(i).bind((function(t){return Pd.getHighlighted(t).map(vl.getValue)}));t.previewing.set(!0);Ny(t,s(e),e,i,o,(function(e){Ld.getCurrent(i).each((function(e){a.fold((function(){t.model.selectsOver&&Pd.highlightFirst(e)}),(function(t){Pd.highlightBy(e,(function(e){return vl.getValue(e).value===t.value})),Pd.getHighlighted(e).orThunk((function(){return Pd.highlightFirst(e),y.none()}))}))}))}),ry.HighlightFirst).get(n)}},cancelEvent:Cr()}),Lh.config({mode:"special",onDown:function(t,e){return i(t,e,Pd.highlightFirst),y.some(!0)},onEscape:function(t){var e=Cy.getCoupled(t,"sandbox");return Ju.isOpen(e)?(Ju.close(e),y.some(!0)):y.none()},onUp:function(t,e){return i(t,e,Pd.highlightLast),y.some(!0)},onEnter:function(e){var n=Cy.getCoupled(e,"sandbox"),r=Ju.isOpen(n);if(r&&!t.previewing.get())return Ld.getCurrent(n).bind((function(t){return Pd.getHighlighted(t)})).map((function(t){return Vr(e,pA(),{item:t}),!0}));var o=vl.getValue(e);return Ur(e,Cr()),t.onExecute(n,e,o),r&&Ju.close(n),y.some(!0)}}),Gh.config({toggleClass:t.markers.openClass,aria:{mode:"expanded"}}),Cy.config({others:{sandbox:function(e){return Hy(t,e,{onOpen:function(){return Gh.on(e)},onClose:function(){return Gh.off(e)}})}}}),zh("typeaheadevents",[ho((function(e){var r=n;Py(t,s(e),e,o,r,ry.HighlightFirst).get(n)})),eo(pA(),(function(e,n){var r=Cy.getCoupled(e,"sandbox");lA(t.model,e,n.event().item()),Ur(e,Cr()),t.onItemExecute(e,r,n.event().item(),vl.getValue(e)),Ju.close(r),fA(e)}))].concat(t.dismissOnBlur?[eo(wr(),(function(t){var e=Cy.getCoupled(t,"sandbox");qs(e.element()).isNone()&&Ju.close(e)}))]:[]))];return{uid:t.uid,dom:Zb(ht(t,{inputAttributes:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true"}})),behaviours:f(f({},a),Ml(t.typeaheadBehaviours,c)),eventOrder:t.eventOrder}}}),bA=function(t){return f(f({},t),{toCached:function(){return bA(t.toCached())},bindFuture:function(e){return bA(t.bind((function(t){return t.fold((function(t){return ly(w.error(t))}),(function(t){return e(t)}))})))},bindResult:function(e){return bA(t.map((function(t){return t.bind(e)})))},mapResult:function(e){return bA(t.map((function(t){return t.map(e)})))},mapError:function(e){return bA(t.map((function(t){return t.mapError(e)})))},foldResult:function(e,n){return t.map((function(t){return t.fold(e,n)}))},withTimeout:function(n,r){return bA(uy((function(o){var i=!1,a=e.setTimeout((function(){i=!0,o(w.error(r()))}),n);t.get((function(t){i||(e.clearTimeout(a),o(t))}))})))}})},yA=function(t){return bA(uy(t))},MA=yA,_A={type:"separator"},wA=function(t){return{type:"menuitem",value:t.url,text:t.title,meta:{attach:t.attach},onAction:function(){}}},xA=function(t,e){return{type:"menuitem",value:e,text:t,meta:{attach:void 0},onAction:function(){}}},AA=function(t,e){return function(t){return Y(t,wA)}(function(t,e){return H(e,(function(e){return e.type===t}))}(t,e))},LA=function(t){return AA("header",t.targets)},TA=function(t){return AA("anchor",t.targets)},kA=function(t){return y.from(t.anchorTop).map((function(t){return xA("<top>",t)})).toArray()},SA=function(t){return y.from(t.anchorBottom).map((function(t){return xA("<bottom>",t)})).toArray()},OA=function(t,e){var n=t.toLowerCase();return H(e,(function(t){var e=void 0!==t.meta&&void 0!==t.meta.text?t.meta.text:t.text;return wn(e.toLowerCase(),n)||wn(t.value.toLowerCase(),n)}))},CA=function(t,e,n){var r=vl.getValue(e),o=void 0!==r.meta.text?r.meta.text:r.value;return n.getLinkInformation().fold((function(){return[]}),(function(e){var r,i=OA(o,function(t){return Y(t,(function(t){return xA(t,t)}))}(n.getHistory(t)));return"file"===t?(r=[i,OA(o,LA(e)),OA(o,F([kA(e),TA(e),SA(e)]))],I(r,(function(t,e){return 0===t.length||0===e.length?t.concat(e):t.concat(_A,e)}),[])):i}))},zA=Uo("aria-invalid"),DA=function(t,e){var n,r,o=t.label.map((function(t){return ky(t,e)})),a=function(t){return function(e,n){Sa(n.event().target(),"[data-collection-item-value]").each((function(r){t(e,n,r,Ro(r,"data-collection-item-value"))}))}},s=a((function(e,n,r,o){n.stop(),Vr(e,qb,{name:t.name,value:o})})),c=[eo(lr(),a((function(t,e,n){Ws(n)}))),eo(vr(),s),eo(kr(),s),eo(dr(),a((function(t,e,n){ka(t.element(),"."+Cm).each((function(t){Ti(t,Cm)})),Ai(n,Cm)}))),eo(fr(),a((function(t){ka(t.element(),"."+Cm).each((function(t){Ti(t,Cm)}))}))),ho(a((function(e,n,r,o){Vr(e,qb,{name:t.name,value:o})})))],u=$b.parts().field({dom:{tag:"div",classes:["tox-collection"].concat(1!==t.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:i},behaviours:Os([Ch.config({}),vl.config({store:{mode:"memory",initialValue:[]},onSetValue:function(e,n){!function(e,n){var r=Y(n,(function(e){var n,r=Lm.translate(e.text),o=1===t.columns?'<div class="tox-collection__item-label">'+r+"</div>":"",i='<div class="tox-collection__item-icon">'+e.icon+"</div>",a={_:" "," - ":" ","-":" "},s=r.replace(/\_| \- |\-/g,(function(t){return a[t]}));return'<div class="tox-collection__item" tabindex="-1" data-collection-item-value="'+(('"'===(n=e.value)?""":n)+'" title="')+s+'" aria-label="'+s+'">'+i+o+"</div>"})),o=t.columns>1&&"auto"!==t.columns?R(r,t.columns):[r],i=Y(o,(function(t){return'<div class="tox-collection__group">'+t.join("")+"</div>"}));No(e.element(),i.join(""))}(e,n),"auto"===t.columns&&hm(e,5,"tox-collection__item").each((function(t){var n=t.numRows,r=t.numColumns;Lh.setGridSize(e,n,r)})),Ur(e,Ub)}}),xy.config({}),Lh.config((n=t.columns,r="normal",1===n?{mode:"menu",moveOnTab:!1,selector:".tox-collection__item"}:"auto"===n?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:"color"===r?".tox-swatches__row":".tox-collection__group",cell:"color"===r?".tox-swatch":"."+km}})),zh("collection-events",c)])});return Ay(o,u,["tox-form__group--collection"],[])},EA=function(t){return function(e,n,r){return Ot(n,"name").fold((function(){return t(n,r)}),(function(o){return e.field(o,t(n,r))}))}},NA={bar:EA((function(t,e){return function(t,e){return{dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:Y(t.items,e.interpreter)}}(t,e.shared)})),collection:EA((function(t,e){return DA(t,e.shared.providers)})),alertbanner:EA((function(t,e){return function(t,e){return bb.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in","tox-notification--"+t.level]},components:[{dom:{tag:"div",classes:["tox-notification__icon"]},components:[Sp.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:zp(t.icon,e.icons),attributes:{title:e.translate(t.iconTooltip)}},action:function(e){Vr(e,qb,{name:"alert-banner",value:t.url})}})]},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:e.translate(t.text)}}]})}(t,e.shared.providers)})),input:EA((function(t,e){return function(t,e){return oA({name:t.name,multiline:!1,label:t.label,inputMode:t.inputMode,placeholder:t.placeholder,flex:!1,disabled:t.disabled,classname:"tox-textfield",validation:y.none(),maximized:t.maximized},e)}(t,e.shared.providers)})),textarea:EA((function(t,e){return function(t,e){return oA({name:t.name,multiline:!0,label:t.label,inputMode:y.none(),placeholder:t.placeholder,flex:!0,disabled:t.disabled,classname:"tox-textarea",validation:y.none(),maximized:t.maximized},e)}(t,e.shared.providers)})),label:EA((function(t,e){return function(t,e){var n={dom:{tag:"label",innerHtml:e.providers.translate(t.label),classes:["tox-label"]}},r=Y(t.items,e.interpreter);return{dom:{tag:"div",classes:["tox-form__group"]},components:[n].concat(r),behaviours:Os([U_(),Ch.config({}),rw(y.none()),Lh.config({mode:"acyclic"})])}}(t,e.shared)})),iframe:function(t){return function(e,n,r){var o=ht(n,{source:"dynamic"});return EA(t)(e,o,r)}}((function(t,e){return pw(t,e.shared.providers)})),button:EA((function(t,e){return Lx(t,e.shared.providers)})),checkbox:EA((function(t,e){return function(t,e){var n=vl.config({store:{mode:"manual",getValue:function(t){return t.element().dom().checked},setValue:function(t,e){t.element().dom().checked=e}}}),r=function(t){return t.element().dom().click(),y.some(!0)},o=$b.parts().field({factory:{sketch:i},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:Os([U_(),ng.config({disabled:t.disabled}),xy.config({}),Ph.config({}),n,Lh.config({mode:"special",onEnter:r,onSpace:r,stopSpaceKeyup:!0}),zh("checkbox-events",[eo(gr(),(function(e,n){Vr(e,Yb,{name:t.name})}))])])}),a=$b.parts().label({dom:{tag:"span",classes:["tox-checkbox__label"],innerHtml:e.translate(t.label)},behaviours:Os([Vy.config({})])}),s=function(t){return{dom:{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+t],innerHtml:zp("checked"===t?"selected":"unselected",e.icons)}}},c=Op({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[s("checked"),s("unchecked")]});return $b.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[o,c.asSpec(),a],fieldBehaviours:Os([ng.config({disabled:t.disabled,disableClass:"tox-checkbox--disabled",onDisabled:function(t){$b.getField(t).each(ng.disable)},onEnabled:function(t){$b.getField(t).each(ng.enable)}})])})}(t,e.shared.providers)})),colorinput:EA((function(t,e){return Jy(t,e.shared,e.colorinput)})),colorpicker:EA((function(t){var n=function(t){return"tox-"+t},r=F_(K_,n),o=Op(r.sketch({dom:{tag:"div",classes:[n("color-picker-container")],attributes:{role:"presentation"}},onValidHex:function(t){Vr(t,qb,{name:"hex-valid",value:!0})},onInvalidHex:function(t){Vr(t,qb,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[o.asSpec()],behaviours:Os([vl.config({store:{mode:"manual",getValue:function(t){var e=o.get(t);return Ld.getCurrent(e).bind((function(t){return vl.getValue(t).hex})).map((function(t){return"#"+t})).getOr("")},setValue:function(t,n){var r=/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(n),i=o.get(t);Ld.getCurrent(i).fold((function(){e.console.log("Can not find form")}),(function(t){vl.setValue(t,{hex:y.from(r[1]).getOr("")}),W_.getField(t,"hex").each((function(t){Ur(t,mr())}))}))}}}),U_()])}})),dropzone:EA((function(t,e){return iw(t,e.shared.providers)})),grid:EA((function(t,e){return function(t,e){return{dom:{tag:"div",classes:["tox-form__grid","tox-form__grid--"+t.columns+"col"]},components:Y(t.items,e.interpreter)}}(t,e.shared)})),selectbox:EA((function(t,e){return function(t,e){var n=Y(t.items,(function(t){return{text:e.translate(t.text),value:t.value}})),r=t.label.map((function(t){return ky(t,e)})),o=$b.parts().field({dom:{},selectAttributes:{size:t.size},options:n,factory:rA,selectBehaviours:Os([ng.config({disabled:t.disabled}),xy.config({}),zh("selectbox-change",[eo(gr(),(function(e,n){Vr(e,Yb,{name:t.name})}))])])}),i=t.size>1?y.none():y.some({dom:{tag:"div",classes:["tox-selectfield__icon-js"],innerHtml:zp("chevron-down",e.icons)}}),a={dom:{tag:"div",classes:["tox-selectfield"]},components:F([[o],i.toArray()])};return $b.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:F([r.toArray(),[a]]),fieldBehaviours:Os([ng.config({disabled:t.disabled,onDisabled:function(t){$b.getField(t).each(ng.disable)},onEnabled:function(t){$b.getField(t).each(ng.enable)}})])})}(t,e.shared.providers)})),sizeinput:EA((function(t,e){return Nx(t,e.shared.providers)})),urlinput:EA((function(t,e){return function(t,e,r){var o,i=e.shared.providers,a=function(e){var n=vl.getValue(e);r.addToHistory(n.value,t.filetype)},s=$b.parts().field({factory:vA,dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{"aria-errormessage":zA,type:"url"},minChars:0,responseTime:0,fetch:function(n){var o=CA(t.filetype,n,r),i=px(o,lg.BUBBLE_TO_SANDBOX,e,!1);return ly(i)},getHotspot:function(t){return p.getOpt(t)},onSetValue:function(t,e){t.hasConfigured(My)&&My.run(t).get(n)},typeaheadBehaviours:Os(F([r.getValidationHandler().map((function(e){return My.config({getRoot:function(t){return _o(t.element())},invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:function(t,e){u.getOpt(t).each((function(t){Po(t.element(),"title",i.translate(e))}))}},validator:{validate:function(n){var r=vl.getValue(n);return MA((function(n){e({type:t.filetype,url:r.value},(function(t){if("invalid"===t.status){var e=w.error(t.message);n(e)}else{var r=w.value(t.message);n(r)}}))}))},validateOnLoad:!1}})})).toArray(),[ng.config({disabled:t.disabled}),xy.config({}),zh("urlinput-events",F(["file"===t.filetype?[eo(mr(),(function(e){Vr(e,Yb,{name:t.name})}))]:[],[eo(gr(),(function(e){Vr(e,Yb,{name:t.name}),a(e)})),eo(xr(),(function(e){Vr(e,Yb,{name:t.name}),a(e)}))]]))]])),eventOrder:(o={},o[mr()]=["streaming","urlinput-events","invalidating"],o),model:{getDisplayText:function(t){return t.value},selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:e.shared.getSink,parts:{menu:Lv(0,0,"normal")},onExecute:function(t,e,n){Vr(e,Ib,{})},onItemExecute:function(e,n,r,o){a(e),Vr(e,Yb,{name:t.name})}}),c=t.label.map((function(t){return ky(t,i)})),u=Op(function(t,e,n,r){return void 0===n&&(n=t),void 0===r&&(r=t),{dom:{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+t],innerHtml:zp(n,i.icons),attributes:f({title:i.translate(r),"aria-live":"polite"},e.fold((function(){return{}}),(function(t){return{id:t}})))}}}("invalid",y.some(zA),"warning")),l=Op({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[u.asSpec()]}),d=r.getUrlPicker(t.filetype),h=Uo("browser.url.event"),p=Op({dom:{tag:"div",classes:["tox-control-wrap"]},components:[s,l.asSpec()],behaviours:Os([ng.config({disabled:t.disabled})])}),m=Op(wx({name:t.name,icon:y.some("browse"),text:t.label.getOr(""),disabled:t.disabled,primary:!1,borderless:!0},(function(t){return Ur(t,h)}),i,[],["tox-browse-url"]));return $b.sketch({dom:Ty([]),components:c.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:F([[p.asSpec()],d.map((function(){return m.asSpec()})).toArray()])}]),fieldBehaviours:Os([ng.config({disabled:t.disabled,onDisabled:function(t){$b.getField(t).each(ng.disable),m.getOpt(t).each(ng.disable)},onEnabled:function(t){$b.getField(t).each(ng.enable),m.getOpt(t).each(ng.enable)}}),zh("url-input-events",[eo(h,(function(e){Ld.getCurrent(e).each((function(n){var r=vl.getValue(n);d.each((function(o){o(r).get((function(r){vl.setValue(n,r),Vr(e,Yb,{name:t.name})}))}))}))}))])])})}(t,e,e.urlinput)})),customeditor:EA((function(t){var e=on(y.none()),n=Op({dom:{tag:t.tag}}),r=on(y.none());return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:Os([zh("editor-foo-events",[uo((function(o){n.getOpt(o).each((function(n){(!function(t){return Object.prototype.hasOwnProperty.call(t,"init")}(t)?J_.load(t.scriptId,t.scriptUrl).then((function(e){return e(n.element().dom(),t.settings)})):t.init(n.element().dom())).then((function(t){r.get().each((function(e){t.setValue(e)})),r.set(y.none()),e.set(y.some(t))}))}))}))]),vl.config({store:{mode:"manual",getValue:function(){return e.get().fold((function(){return r.get().getOr("")}),(function(t){return t.getValue()}))},setValue:function(t,n){e.get().fold((function(){r.set(y.some(n))}),(function(t){return t.setValue(n)}))}}}),U_()]),components:[n.asSpec()]}})),htmlpanel:EA((function(t){return"presentation"===t.presets?bb.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:t.html}}):bb.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:t.html,attributes:{role:"document"}},containerBehaviours:Os([xy.config({}),Ph.config({})])})})),imagetools:EA((function(t,e){return nA(t,e.shared.providers)})),table:EA((function(t,e){return function(t,e){var n,r,o=function(t){return{dom:{tag:"th",innerHtml:e.translate(t)}}},i=function(t){return{dom:{tag:"td",innerHtml:e.translate(t)}}},a=function(t){return{dom:{tag:"tr"},components:Y(t,i)}};return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(r=t.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:Y(r,o)}]}),(n=t.cells,{dom:{tag:"tbody"},components:Y(n,a)})],behaviours:Os([xy.config({}),Ph.config({})])}}(t,e.shared.providers)})),panel:EA((function(t,e){return function(t,e){return{dom:{tag:"div",classes:t.classes},components:Y(t.items,e.shared.interpreter)}}(t,e)}))},BA={field:function(t,e){return e}},PA=function(t,e,n){var r=ht(n,{shared:{interpreter:function(e){return RA(t,e,r)}}});return RA(t,e,r)},RA=function(t,n,r){return Ot(NA,n.type).fold((function(){return e.console.error('Unknown factory type "'+n.type+'", defaulting to container: ',n),n}),(function(e){return e(t,n,r)}))},YA=o((function(t,e){!function(t,e){var n=da.max(t,e,["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"]);Ei(t,"max-width",n+"px")}(t,Math.floor(e))})),WA={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},HA=function(t,e,n){return n?function(){return{anchor:"node",root:t(),node:y.from(t()),bubble:Xs(-12,-12,WA),layouts:{onRtl:function(){return[Ap]},onLtr:function(){return[Lp]}},overrides:{maxHeightFunction:Mu()}}}:function(){return{anchor:"hotspot",hotspot:e(),bubble:Xs(-12,12,WA),layouts:{onRtl:function(){return[ms]},onLtr:function(){return[gs]}},overrides:{maxHeightFunction:Mu()}}}},qA=function(t,e,n){return n?function(){return{anchor:"node",root:t(),node:y.from(t()),layouts:{onRtl:function(){return[Tp]},onLtr:function(){return[Tp]}}}}:function(){return{anchor:"hotspot",hotspot:e(),layouts:{onRtl:function(){return[Ms]},onLtr:function(){return[Ms]}}}}},IA=function(t){return function(){return{anchor:"hotspot",hotspot:t(),overrides:{maxWidthFunction:YA()},layouts:{onRtl:function(){return[ms,gs]},onLtr:function(){return[gs,ms]}}}}},jA=function(t,e){return function(){return{anchor:"selection",root:e(),getSelection:function(){var e=t.selection.getRng();return y.some(dc.range(sn.fromDom(e.startContainer),e.startOffset,sn.fromDom(e.endContainer),e.endOffset))}}}},XA=function(t){return function(e){return{anchor:"node",root:t(),node:e}}},FA=function(t,e,n){var r=Eb(t),o=function(){return sn.fromDom(t.getBody())};return{toolbar:HA(o,e,r),toolbarOverflow:IA(n),banner:qA(o,e,r),cursor:jA(t,o),node:XA(o)}},UA=function(t){return function(e,n){gv.colorPickerDialog(t)(e,n)}},VA=function(t){return function(){return Jg(t)}},GA=function(t){return function(){return Qg(t)}},$A=function(t){return function(){return gv.getColorCols(t)}},KA=function(t){return{colorPicker:UA(t),hasCustomColors:VA(t),getColors:GA(t),getColorCols:$A(t)}},JA=function(t){return function(){return function(t){return t.getParam("draggable_modal",!1,"boolean")}(t)}},QA=function(t){return{isDraggableModal:JA(t)}},ZA=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strike-through",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",icon:"align-left",format:"alignleft"},{title:"Center",icon:"align-center",format:"aligncenter"},{title:"Right",icon:"align-right",format:"alignright"},{title:"Justify",icon:"align-justify",format:"alignjustify"}]}],tL=function(t){return I(t,(function(t,e){if(ut(e,"items")){var n=tL(e.items);return{customFormats:t.customFormats.concat(n.customFormats),formats:t.formats.concat([{title:e.title,items:n.formats}])}}if(function(t){return ut(t,"inline")}(e)||function(t){return ut(t,"block")}(e)||function(t){return ut(t,"selector")}(e)){var r="custom-"+e.title.toLowerCase();return{customFormats:t.customFormats.concat([{name:r,format:e}]),formats:t.formats.concat([{title:e.title,format:r,icon:e.icon}])}}return f(f({},t),{formats:t.formats.concat(e)})}),{customFormats:[],formats:[]})},eL=function(t){return function(t){return y.from(t.getParam("style_formats")).filter(T)}(t).map((function(e){var n=function(t,e){var n=tL(e),r=function(e){W(e,(function(e){t.formatter.has(e.name)||t.formatter.register(e.name,e.format)}))};return t.formatter?r(n.customFormats):t.on("init",(function(){r(n.customFormats)})),n.formats}(t,e);return function(t){return t.getParam("style_formats_merge",!1,"boolean")}(t)?ZA.concat(n):n})).getOr(ZA)},nL=function(t,e,n){var r={type:"formatter",isSelected:e(t.format),getStylePreview:n(t.format)};return ht(t,r)},rL=function(t,e,n,r){var i=function(e){return Y(e,(function(e){var a=tt(e);if(Et(e,"items")){var s=i(e.items);return ht(function(t){var e={type:"submenu",isSelected:o(!1),getStylePreview:function(){return y.none()}};return ht(t,e)}(e),{getStyleItems:function(){return s}})}return Et(e,"format")?function(t){return nL(t,n,r)}(e):1===a.length&&B(a,"title")?ht(e,{type:"separator"}):function(e){var o=Uo(e.title),i={type:"formatter",format:o,isSelected:n(o),getStylePreview:r(o)},a=ht(e,i);return t.formatter.register(o,a),a}(e)}))};return i(e)},oL=function(t){var e=function(e){return function(){return t.formatter.match(e)}},n=function(e){return function(){var n=t.formatter.get(e);return void 0!==n?y.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styleAttr:t.formatter.getCssText(e)}):y.none()}},r=function(t){var e=t.items;return void 0!==e&&e.length>0?U(e,r):[t.format]},o=on([]),i=on([]),a=on([]),s=on([]),c=on(!1);t.on("init",(function(){var a=eL(t),s=rL(t,a,e,n);o.set(s),i.set(U(s,r))})),t.on("addStyleModifications",(function(o){var i=rL(t,o.items,e,n);a.set(i),c.set(o.replace),s.set(U(i,r))}));return{getData:function(){var t=c.get()?[]:o.get(),e=a.get();return t.concat(e)},getFlattenedKeys:function(){var t=c.get()?[]:i.get(),e=s.get();return t.concat(e)}}},iL=Xx.trim,aL=function(t){return function(e){if(e&&1===e.nodeType){if(e.contentEditable===t)return!0;if(e.getAttribute("data-mce-contenteditable")===t)return!0}return!1}},sL=aL("true"),cL=aL("false"),uL=function(t,e,n,r,o){return{type:t,title:e,url:n,level:r,attach:o}},lL=function(t){return t.innerText||t.textContent},dL=function(t){return function(t){return t&&"A"===t.nodeName&&void 0!==(t.id||t.name)}(t)&&hL(t)},fL=function(t){return t&&/^(H[1-6])$/.test(t.nodeName)},hL=function(t){return function(t){for(;t=t.parentNode;){var e=t.contentEditable;if(e&&"inherit"!==e)return sL(t)}return!1}(t)&&!cL(t)},pL=function(t){return fL(t)&&hL(t)},mL=function(t){var e=function(t){return t.id?t.id:Uo("h")}(t);return uL("header",lL(t),"#"+e,function(t){return fL(t)?parseInt(t.nodeName.substr(1),10):0}(t),(function(){t.id=e}))},gL=function(t){var e=t.id||t.name,r=lL(t);return uL("anchor",r||"#"+e,"#"+e,0,n)},vL=function(t){var e,n;return e="h1,h2,h3,h4,h5,h6,a:not([href])",n=t,Y(Nc(sn.fromDom(n),e),(function(t){return t.dom()}))},bL=function(t){return iL(t.title).length>0},yL=function(t){var e=vL(t);return H(function(t){return Y(H(t,pL),mL)}(e).concat(function(t){return Y(H(t,dL),gL)}(e)),bL)},ML="tinymce-url-history",_L=function(t){return A(t)&&/^https?/.test(t)},wL=function(t){return L(t)&&at(t,(function(t){return!(T(e=t)&&e.length<=5&&V(e,_L));var e})).isNone()},xL=function(){var t,n=e.localStorage.getItem(ML);if(null===n)return{};try{t=JSON.parse(n)}catch(t){if(t instanceof SyntaxError)return e.console.log("Local storage "+ML+" was not valid JSON",t),{};throw t}return wL(t)?t:(e.console.log("Local storage "+ML+" was not valid format",t),{})},AL=function(t){var e=xL();return Object.prototype.hasOwnProperty.call(e,t)?e[t]:[]},LL=function(t,n){if(_L(t)){var r=xL(),o=Object.prototype.hasOwnProperty.call(r,n)?r[n]:[],i=H(o,(function(e){return e!==t}));r[n]=[t].concat(i).slice(0,5),function(t){if(!wL(t))throw new Error("Bad format for history:\n"+JSON.stringify(t));e.localStorage.setItem(ML,JSON.stringify(t))}(r)}},TL=Object.prototype.hasOwnProperty,kL=function(t){return!!t},SL=function(t){return rt(Xx.makeMap(t,/[, ]/),kL)},OL=function(t,e,n){var r,o,i=(r=t,o=e,TL.call(r,o)?y.some(r[o]):y.none()).getOr(n);return A(i)?y.some(i):y.none()},CL=function(t){return y.some(t.file_picker_callback).filter(S)},zL=function(t,e){var n=function(t){var e=y.some(t.file_picker_types).filter(kL),n=y.some(t.file_browser_callback_types).filter(kL),r=e.or(n).map(SL);return CL(t).fold((function(){return!1}),(function(t){return r.fold((function(){return!0}),(function(t){return tt(t).length>0&&t}))}))}(t);return k(n)?n?CL(t):y.none():n[e]?CL(t):y.none()},DL=function(t){return{getHistory:AL,addToHistory:LL,getLinkInformation:function(){return function(t){return!1===t.settings.typeahead_urls?y.none():y.some({targets:yL(t.getBody()),anchorTop:OL(t.settings,"anchor_top","#top").getOrUndefined(),anchorBottom:OL(t.settings,"anchor_bottom","#bottom").getOrUndefined()})}(t)},getValidationHandler:function(){return function(t){return y.from(t.settings.file_picker_validator_handler).filter(S).orThunk((function(){return y.from(t.settings.filepicker_validator_handler).filter(S)}))}(t)},getUrlPicker:function(e){return function(t,e){return zL(t.settings,e).map((function(n){return function(r){return uy((function(o){var i=Xx.extend({filetype:e},y.from(r.meta).getOr({}));n.call(t,(function(t,e){if(!A(t))throw new Error("Expected value to be string");if(void 0!==e&&!L(e))throw new Error("Expected meta to be a object");o({value:t,meta:e})}),r.value,i)}))}}))}(t,e)}}},EL=function(t,e,n,r){var o=on(!1),i={shared:{providers:{icons:function(){return e.ui.registry.getAll().icons},menuItems:function(){return e.ui.registry.getAll().menuItems},translate:Lm.translate},interpreter:function(t){return function(t,e){return RA(BA,t,e)}(t,i)},anchors:FA(e,n,r),getSink:function(){return w.value(t)}},urlinput:DL(e),styleselect:oL(e),colorinput:KA(e),dialog:QA(e),isContextMenuOpen:function(){return o.get()},setContextMenuState:function(t){return o.set(t)}};return i},NL=o([Ne("dom"),$e("shell",!0),bl("toolbarBehaviours",[Ch])]),BL=o([Vl({name:"groups",overrides:function(t){return{behaviours:Os([Ch.config({})])}}})]),PL=_d({name:"Toolbar",configFields:NL(),partFields:BL(),factory:function(t,n,r,o){var i=function(e){return t.shell?y.some(e):id(e,t,"groups")},a=t.shell?{behaviours:[Ch.config({})],components:[]}:{behaviours:[],components:n};return{uid:t.uid,dom:t.dom,components:a.components,behaviours:Ml(t.toolbarBehaviours,a.behaviours),apis:{setGroups:function(t,n){i(t).fold((function(){throw e.console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")}),(function(t){Ch.set(t,n)}))}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:function(t,e,n){t.setGroups(e,n)}}}),RL=po("within","extra","withinWidth"),YL=function(t,e,n){var r,i=(r=function(t,e){var r=n(t);return y.some({element:o(t),start:o(e),finish:o(e+r),width:o(r)})},I(t,(function(t,e){return r(e,t.len).fold(o(t),(function(e){return{len:e.finish(),list:t.list.concat([e])}}))}),{len:0,list:[]}).list),a=H(i,(function(t){return t.finish()<=e})),s=q(a,(function(t,e){return t+e.width()}),0),c=i.slice(a.length);return{within:o(a),extra:o(c),withinWidth:o(s)}},WL=function(t){return Y(t,(function(t){return t.element()}))},HL=function(t,e,n,r){var o=function(t,e,n){var r=YL(e,t,n);return 0===r.extra().length?y.some(r):y.none()}(t,e,n).getOrThunk((function(){return YL(e,t-n(r),n)})),i=o.within(),a=o.extra(),s=o.withinWidth();return 1===a.length&&a[0].width()<=n(r)?function(t,e,n){var r=WL(t.concat(e));return RL(r,[],n)}(i,a,s):a.length>=1?function(t,e,n,r){var o=WL(t).concat([n]);return RL(o,WL(e),r)}(i,a,r,s):function(t,e,n){return RL(WL(t),[],n)}(i,0,s)},qL=function(t,e){var n=Y(e,(function(t){return ta(t)}));PL.setGroups(t,n)},IL=function(t,e,n,r){var o=ad(t,e,"primary"),i=id(t,e,"overflow-button"),a=Cy.getCoupled(t,"overflowGroup");Ei(o.element(),"visibility","hidden");var s=function(t,e){return t.bind((function(t){return qs(t.element()).bind((function(e){return t.getSystem().getByDom(e).toOption()}))})).orThunk((function(){return e.filter(Ph.isFocused)}))}(n,i);n.each((function(t){PL.setGroups(t,[])}));var c=e.builtGroups.get();qL(o,c.concat([a]));var u=fa(o.element()),l=HL(u,c,(function(t){return fa(t.element())}),a);0===l.extra().length?(Ch.remove(o,a),n.each((function(t){PL.setGroups(t,[])}))):(qL(o,l.within()),n.each((function(t){qL(t,l.extra())}))),Wi(o.element(),"visibility"),Hi(o.element()),n.each((function(t){i.each((function(e){return Gh.set(e,r(t))})),s.each(Ph.focus)}))},jL=o([Ne("items"),Xa(["itemSelector"]),bl("tgroupBehaviours",[Lh])]),XL=o([Gl({name:"items",unit:"item"})]),FL=_d({name:"ToolbarGroup",configFields:jL(),partFields:XL(),factory:function(t,e,n,r){return{uid:t.uid,dom:t.dom,components:e,behaviours:Ml(t.tgroupBehaviours,[Lh.config({mode:"flow",selector:t.markers.itemSelector})]),domModification:{attributes:{role:"toolbar"}}}}}),UL=o([bl("splitToolbarBehaviours",[Cy]),rn("builtGroups",(function(){return on([])}))]),VL=function(t,e,n,r,o){return{uid:t.uid,dom:t.dom,components:e,behaviours:Ml(t.splitToolbarBehaviours,[Cy.config({others:f(f({},o.coupling),{overflowGroup:function(t){return FL.sketch(f(f({},r["overflow-group"]()),{items:[Sp.sketch(f(f({},r["overflow-button"]()),{action:function(e){Ur(t,"alloy.toolbar.toggle")}}))]}))}})}),zh("toolbar-toggle-events",[eo("alloy.toolbar.toggle",(function(t){o.apis.toggle(t)}))])]),apis:f({setGroups:function(e,n){!function(e,n){var r=Y(n,e.getSystem().build);t.builtGroups.set(r)}(e,n),o.apis.refresh(e)},getMoreButton:function(e){return function(e){return id(e,t,"overflow-button")}(e)}},o.apis),domModification:{attributes:{role:"group"}}}},GL=o([Xa(["overflowToggledClass"]),Ne("getAnchor"),Ve("getOverflowBounds"),Ne("lazySink")].concat(UL())),$L=o([Fl({factory:PL,schema:NL(),name:"primary"}),Ul({factory:PL,schema:NL(),name:"overflow",overrides:function(t){return{toolbarBehaviours:Os([Lh.config({mode:"cyclic",onEscape:function(e){return id(e,t,"overflow-button").each(Ph.focus),y.none()}})])}}}),Ul({name:"overflow-button",overrides:function(t){return{dom:{attributes:{"aria-haspopup":"true"}},buttonBehaviours:Os([Gh.config({toggleClass:t.markers.overflowToggledClass,aria:{mode:"expanded"},toggleOnExecute:!1})])}}}),Ul({name:"overflow-group"})]),KL=function(t){return t.getSystem().isConnected()},JL=function(t,e,n){var r=e.lazySink(t).getOrDie(),o=e.getAnchor(t),i=e.getOverflowBounds.map((function(t){return t()}));Ou.positionWithinBounds(r,o,n,i)},QL=function(t,e){var n=Ju.getState(Cy.getCoupled(t,"sandbox"));IL(t,e,n,KL),n.each((function(n){return JL(t,e,n)}))},ZL=function(t,e){Ju.getState(Cy.getCoupled(t,"sandbox")).each((function(n){return JL(t,e,n)}))},tT=_d({name:"SplitFloatingToolbar",configFields:GL(),partFields:$L(),factory:function(t,e,n,r){return VL(t,e,0,r,{coupling:{sandbox:function(e){return function(t,e){var n=Oa();return{dom:{tag:"div",attributes:{id:n.id()}},behaviours:Os([Lh.config({mode:"special",onEscape:function(t){return Ju.close(t),y.some(!0)}}),Ju.config({onOpen:function(r,o){QL(t,e),id(t,e,"overflow-button").each((function(t){Gh.on(t),n.link(t.element())})),Lh.focusIn(o)},onClose:function(){id(t,e,"overflow-button").each((function(t){Gh.off(t),Ph.focus(t),n.unlink(t.element())}))},isPartOf:function(e,n,r){return za(n,r)||za(t,r)},getAttachPoint:function(){return e.lazySink(t).getOrDie()}}),Rs.config({channels:f({},ol({isExtraPart:o(!1),doReposition:function(){return ZL(t,e)}}))})])}}(e,t)}},apis:{refresh:function(e){return QL(e,t)},toggle:function(t){return function(t,e,n){var r=Cy.getCoupled(t,"sandbox");Ju.isOpen(r)?Ju.close(r):Ju.open(r,n.overflow())}(t,0,r)},getOverflow:function(t){return Ju.getState(Cy.getCoupled(t,"sandbox"))},reposition:function(e){return ZL(e,t)}}})},apis:{setGroups:function(t,e,n){t.setGroups(e,n)},refresh:function(t,e){t.refresh(e)},reposition:function(t,e){t.reposition(e)},getMoreButton:function(t,e){return t.getMoreButton(e)},getOverflow:function(t,e){return t.getOverflow(e)},toggle:function(t,e){t.toggle(e)}}}),eT=function(t,e){return e.getAnimationRoot.fold((function(){return t.element()}),(function(e){return e(t)}))},nT=function(t){return t.dimension.property},rT=function(t,e){return t.dimension.getDimension(e)},oT=function(t,e){var n=eT(t,e);Oi(n,[e.shrinkingClass,e.growingClass])},iT=function(t,e){Ti(t.element(),e.openClass),Ai(t.element(),e.closedClass),Ei(t.element(),nT(e),"0px"),Hi(t.element())},aT=function(t,e){Ti(t.element(),e.closedClass),Ai(t.element(),e.openClass),Wi(t.element(),nT(e))},sT=function(t,e,n,r){n.setCollapsed(),Ei(t.element(),nT(e),rT(e,t.element())),Hi(t.element()),oT(t,e),iT(t,e),e.onStartShrink(t),e.onShrunk(t)},cT=function(t,e,n,r){var o=r.getOrThunk((function(){return rT(e,t.element())}));n.setCollapsed(),Ei(t.element(),nT(e),o),Hi(t.element());var i=eT(t,e);Ti(i,e.growingClass),Ai(i,e.shrinkingClass),iT(t,e),e.onStartShrink(t)},uT=function(t,e,n){var r=rT(e,t.element());("0px"===r?sT:cT)(t,e,n,y.some(r))},lT=function(t,e,n){var r=eT(t,e),o=ki(r,e.shrinkingClass),i=rT(e,t.element());aT(t,e);var a=rT(e,t.element());(o?function(){Ei(t.element(),nT(e),i),Hi(t.element())}:function(){iT(t,e)})(),Ti(r,e.shrinkingClass),Ai(r,e.growingClass),aT(t,e),Ei(t.element(),nT(e),a),n.setExpanded(),e.onStartGrow(t)},dT=function(t,e,n){var r=eT(t,e);return!0===ki(r,e.growingClass)},fT=function(t,e,n){var r=eT(t,e);return!0===ki(r,e.shrinkingClass)},hT=Object.freeze({refresh:function(t,e,n){if(n.isExpanded()){Wi(t.element(),nT(e));var r=rT(e,t.element());Ei(t.element(),nT(e),r)}},grow:function(t,e,n){n.isExpanded()||lT(t,e,n)},shrink:function(t,e,n){n.isExpanded()&&uT(t,e,n)},immediateShrink:function(t,e,n){n.isExpanded()&&sT(t,e,n)},hasGrown:function(t,e,n){return n.isExpanded()},hasShrunk:function(t,e,n){return n.isCollapsed()},isGrowing:dT,isShrinking:fT,isTransitioning:function(t,e,n){return!0===dT(t,e)||!0===fT(t,e)},toggleGrow:function(t,e,n){(n.isExpanded()?uT:lT)(t,e,n)},disableTransitions:oT}),pT=Object.freeze({exhibit:function(t,e){var n=e.expanded;return di(n?{classes:[e.openClass],styles:{}}:{classes:[e.closedClass],styles:Ct(e.dimension.property,"0px")})},events:function(t,e){return Qr([co(br(),(function(n,r){r.event().raw().propertyName===t.dimension.property&&(oT(n,t),e.isExpanded()&&Wi(n.element(),t.dimension.property),(e.isExpanded()?t.onGrown:t.onShrunk)(n))}))])}}),mT=[Ne("closedClass"),Ne("openClass"),Ne("shrinkingClass"),Ne("growingClass"),je("getAnimationRoot"),Ua("onShrunk"),Ua("onStartShrink"),Ua("onGrown"),Ua("onStartGrow"),$e("expanded",!1),Be("dimension",Ae("property",{width:[Ka("property","width"),Ka("getDimension",(function(t){return fa(t)+"px"}))],height:[Ka("property","height"),Ka("getDimension",(function(t){return oa(t)+"px"}))]}))],gT=zs({fields:mT,name:"sliding",active:pT,apis:hT,state:Object.freeze({init:function(t){var e=on(t.expanded);return ui({isExpanded:function(){return!0===e.get()},isCollapsed:function(){return!1===e.get()},setCollapsed:a(e.set,!1),setExpanded:a(e.set,!0),readState:function(){return"expanded: "+e.get()}})}})}),vT=o([Xa(["closedClass","openClass","shrinkingClass","growingClass","overflowToggledClass"]),Ua("onOpened"),Ua("onClosed")].concat(UL())),bT=o([Fl({factory:PL,schema:NL(),name:"primary"}),Fl({factory:PL,schema:NL(),name:"overflow",overrides:function(t){return{toolbarBehaviours:Os([gT.config({dimension:{property:"height"},closedClass:t.markers.closedClass,openClass:t.markers.openClass,shrinkingClass:t.markers.shrinkingClass,growingClass:t.markers.growingClass,onShrunk:function(e){id(e,t,"overflow-button").each((function(t){Gh.off(t),Ph.focus(t)})),t.onClosed(e)},onGrown:function(e){Lh.focusIn(e),t.onOpened(e)},onStartGrow:function(e){id(e,t,"overflow-button").each(Gh.on)}}),Lh.config({mode:"acyclic",onEscape:function(e){return id(e,t,"overflow-button").each(Ph.focus),y.some(!0)}})])}}}),Ul({name:"overflow-button",overrides:function(t){return{buttonBehaviours:Os([Gh.config({toggleClass:t.markers.overflowToggledClass,aria:{mode:"pressed"},toggleOnExecute:!1})])}}}),Ul({name:"overflow-group"})]),yT=function(t){return gT.hasGrown(t)},MT=function(t,e){var n=id(t,e,"overflow");IL(t,e,n,yT),n.each(gT.refresh)},_T=_d({name:"SplitSlidingToolbar",configFields:vT(),partFields:bT(),factory:function(t,e,n,r){return VL(t,e,0,r,{coupling:{},apis:{refresh:function(e){return MT(e,t)},toggle:function(e){return function(t,e){id(t,e,"overflow").each((function(n){MT(t,e),gT.toggleGrow(n)}))}(e,t)},getOverflow:function(e){return id(e,t,"overflow")}}})},apis:{setGroups:function(t,e,n){t.setGroups(e,n)},refresh:function(t,e){t.refresh(e)},getMoreButton:function(t,e){return t.getMoreButton(e)},getOverflow:function(t,e){return t.getOverflow(e)},toggle:function(t,e){t.toggle(e)}}}),wT=o(Uo("toolbar-height-change")),xT=ae([(Zx="readonly",Be(Zx,Oe))]),AT=function(t,e){var n=t.outerContainer;!function(t,e){var n=t.outerContainer.element();e&&(t.mothership.broadcastOn([Qu()],{target:n}),t.uiMothership.broadcastOn([Qu()],{target:n})),t.mothership.broadcastOn(["silver.readonly"],{readonly:e}),t.uiMothership.broadcastOn(["silver.readonly"],{readonly:e})}(t,e),Yn("*",n.element()).forEach((function(t){n.getSystem().getByDom(t).each((function(t){t.hasConfigured(ng)&&ng.set(t,e)}))}))},LT=function(t,e){t.on("init",(function(){t.readonly&&AT(e,!0)})),t.on("SwitchMode",(function(){return AT(e,t.readonly)})),function(t){return t.getParam("readonly",!1,"boolean")}(t)&&t.setMode("readonly")},TT=function(t){var e;return Rs.config({channels:(e={},e["silver.readonly"]={schema:xT,onReceive:function(e,n){t(e).each((function(t){!function(t,e){Yn("*",t.element()).forEach((function(n){t.getSystem().getByDom(n).each((function(t){t.hasConfigured(ng)&&ng.set(t,e)}))}))}(t,n.readonly)}))}},e)})},kT=function(t){var e=t.title.fold((function(){return{}}),(function(t){return{attributes:{title:t}}}));return{dom:f({tag:"div",classes:["tox-toolbar__group"]},e),components:[FL.parts().items({})],items:t.items,markers:{itemSelector:"*:not(.tox-split-button) > .tox-tbtn:not([disabled]), .tox-split-button:not([disabled]), .tox-toolbar-nav-js:not([disabled])"},tgroupBehaviours:Os([xy.config({}),Ph.config({})])}},ST=function(t){return FL.sketch(kT(t))},OT=function(t,e,n){var r=uo((function(e){var n=Y(t.initGroups,ST);PL.setGroups(e,n)}));return Os([Lh.config({mode:e,onEscape:t.onEscape,selector:".tox-toolbar__group"}),zh("toolbar-events",[r]),TT(n)])},CT=function(t,e){var n=t.cyclicKeying?"cyclic":"acyclic";return{uid:t.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":kT({title:y.none(),items:[]}),"overflow-button":yx({name:"more",icon:y.some("more-drawer"),disabled:!1,tooltip:y.some("More..."),primary:!1,borderless:!1},y.none(),t.backstage.shared.providers)},splitToolbarBehaviours:OT(t,n,e)}},zT=function(t){var e=CT(t,tT.getOverflow),n=tT.parts().primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return tT.sketch(f(f({},e),{lazySink:t.getSink,getAnchor:function(){return t.backstage.shared.anchors.toolbarOverflow()},getOverflowBounds:function(){var e=t.moreDrawerData.lazyHeader().element(),n=Aa(e),r=yo(e),o=Aa(r);return wa(n.x()+4,o.y(),n.width()-8,o.height())},parts:f(f({},e.parts),{overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"]}}}),components:[n],markers:{overflowToggledClass:"tox-tbtn--enabled"}}))},DT=function(t){var e=_T.parts().primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),n=_T.parts().overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),r=CT(t,_T.getOverflow);return _T.sketch(f(f({},r),{components:[e,n],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:function(t){t.getSystem().broadcastOn([wT()],{type:"opened"})},onClosed:function(t){t.getSystem().broadcastOn([wT()],{type:"closed"})}}))},ET=function(t){var e=t.cyclicKeying?"cyclic":"acyclic";return PL.sketch({uid:t.uid,dom:{tag:"div",classes:["tox-toolbar"].concat(t.type===vb.scrolling?["tox-toolbar--scrolling"]:[])},components:[PL.parts().groups({})],toolbarBehaviours:OT(t,e,o(y.none()))})},NT=[tn("disabled",!1),Ue("tooltip"),Ue("icon"),Ue("text"),en("onSetup",(function(){return n}))],BT=ae([Re("type"),We("onAction")].concat(NT)),PT=function(t){return ye("toolbarbutton",BT,t)},RT=[Ue("text"),Ue("tooltip"),Ue("icon"),We("fetch"),en("onSetup",(function(){return n}))],YT=ae(p([Re("type")],RT)),WT=function(t){return ye("menubutton",YT,t)},HT=ae([Re("type"),Ue("tooltip"),Ue("icon"),Ue("text"),Ve("select"),We("fetch"),en("onSetup",(function(){return n})),Ze("presets","normal",["normal","color","listpreview"]),$e("columns",1),We("onAction"),We("onItemAction")]),qT=[tn("active",!1)].concat(NT),IT=ae(qT.concat([Re("type"),We("onAction")])),jT=function(t){return ye("ToggleButton",IT,t)},XT=[en("predicate",(function(){return!1})),Ze("scope","node",["node","editor"]),Ze("position","selection",["node","selection","line"])],FT=NT.concat([$e("type","contextformbutton"),$e("primary",!1),We("onAction"),rn("original",i)]),UT=qT.concat([$e("type","contextformbutton"),$e("primary",!1),We("onAction"),rn("original",i)]),VT=NT.concat([$e("type","contextformbutton")]),GT=qT.concat([$e("type","contextformtogglebutton")]),$T=Ae("type",{contextformbutton:FT,contextformtogglebutton:UT}),KT=ae([$e("type","contextform"),en("initValue",(function(){return""})),Ue("label"),Ie("commands",$T),Xe("launch",Ae("type",{contextformbutton:VT,contextformtogglebutton:GT}))].concat(XT)),JT=ae([$e("type","contexttoolbar"),Re("items")].concat(XT)),QT=Object.freeze({getState:function(t,e,n){return n}}),ZT=Object.freeze({events:function(t,e){var n=function(n,r){t.updateState.each((function(t){var o=t(n,r);e.set(o)})),t.renderComponents.each((function(t){var o=t(r,e.get()),i=Y(o,n.getSystem().build);Eu(n,i)}))};return Qr([eo(Ar(),(function(e,r){var o=t.channel;B(r.channels(),o)&&n(e,r.data())})),uo((function(e,r){t.initialData.each((function(t){n(e,t)}))}))])}}),tk=Object.freeze({init:function(t){var e=on(y.none());return{readState:function(){return e.get().fold((function(){return"none"}),(function(t){return t}))},get:function(){return e.get()},set:function(t){return e.set(t)},clear:function(){return e.set(y.none())}}}}),ek=[Ne("channel"),je("renderComponents"),je("updateState"),je("initialData")],nk=zs({fields:ek,name:"reflecting",active:ZT,apis:QT,state:tk}),rk=o([Ne("toggleClass"),Ne("fetch"),Ga("onExecute"),$e("getHotspot",y.some),$e("getAnchorOverrides",o({})),$e("layouts",y.none()),Ga("onItemExecute"),je("lazySink"),Ne("dom"),Ua("onOpen"),bl("splitDropdownBehaviours",[Cy,Lh,Ph]),$e("matchWidth",!1),$e("useMinWidth",!1),$e("eventOrder",{}),je("role")].concat(Iy())),ok=Fl({factory:Sp,schema:[Ne("dom")],name:"arrow",defaults:function(t){return{buttonBehaviours:Os([Ph.revoke()])}},overrides:function(t){return{dom:{tag:"span",attributes:{role:"presentation"}},action:function(e){e.getSystem().getByUid(t.uid).each(Gr)},buttonBehaviours:Os([Gh.config({toggleOnExecute:!1,toggleClass:t.toggleClass})])}}}),ik=Fl({factory:Sp,schema:[Ne("dom")],name:"button",defaults:function(t){return{buttonBehaviours:Os([Ph.revoke()])}},overrides:function(t){return{dom:{tag:"span",attributes:{role:"presentation"}},action:function(e){e.getSystem().getByUid(t.uid).each((function(n){t.onExecute(n,e)}))}}}}),ak=o([ok,ik,Vl({factory:{sketch:function(t){return{uid:t.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:t.text}}}},schema:[Ne("text")],name:"aria-descriptor"}),Ul({schema:[ja()],name:"menu",defaults:function(t){return{onExecute:function(e,n){e.getSystem().getByUid(t.uid).each((function(r){t.onItemExecute(r,e,n)}))}}}}),Dy()]),sk=_d({name:"SplitDropdown",configFields:rk(),partFields:ak(),factory:function(t,e,r,o){var i=function(t){Ld.getCurrent(t).each((function(t){Pd.highlightFirst(t),Lh.focusIn(t)}))},a=function(e){Py(t,(function(t){return t}),e,o,i,ry.HighlightFirst).get(n)},s=function(e){var n=ad(e,t,"button");return Gr(n),y.some(!0)},c=pt(Qr([uo((function(e,n){id(e,t,"aria-descriptor").each((function(t){var n=Uo("aria");Po(t.element(),"id",n),Po(e.element(),"aria-describedby",n)}))}))]),Kh(y.some(a))),u={repositionMenus:function(t){Gh.isOn(t)&&qy(t)}};return{uid:t.uid,dom:t.dom,components:e,apis:u,eventOrder:f(f({},t.eventOrder),{"alloy.execute":["disabling","toggling","alloy.base.behaviour"]}),events:c,behaviours:Ml(t.splitDropdownBehaviours,[Cy.config({others:{sandbox:function(e){var n=ad(e,t,"arrow");return Hy(t,e,{onOpen:function(){Gh.on(n),Gh.on(e)},onClose:function(){Gh.off(n),Gh.off(e)}})}}}),Lh.config({mode:"special",onSpace:s,onEnter:s,onDown:function(t){return a(t),y.some(!0)}}),Ph.config({}),Gh.config({toggleOnExecute:!1,aria:{mode:"expanded"}})]),domModification:{attributes:{role:t.role.getOr("button"),"aria-haspopup":!0}}}},apis:{repositionMenus:function(t,e){return t.repositionMenus(e)}}}),ck=function(t){return{isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)}}},uk=function(t){return{setActive:function(e){Gh.set(t,e)},isActive:function(){return Gh.isOn(t)},isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)}}},lk=function(t,e){return t.map((function(t){return{"aria-label":e.translate(t),title:e.translate(t)}})).getOr({})},dk=Uo("focus-button"),fk=["checklist","ordered-list"],hk=["indent","outdent","table-insert-column-after","table-insert-column-before","unordered-list"],pk=function(t,e,n,r,o,i){var a,s=function(t){return Lm.isRtl()&&B(fk,t)?t+"-rtl":t},c=Lm.isRtl()&&t.exists((function(t){return B(hk,t)}));return{dom:{tag:"button",classes:["tox-tbtn"].concat(e.isSome()?["tox-tbtn--select"]:[]).concat(c?["tox-tbtn__icon-rtl"]:[]),attributes:lk(n,i)},components:hg([t.map((function(t){return ex(s(t),i.icons)})),e.map((function(t){return rx(t,"tox-tbtn",i)}))]),eventOrder:(a={},a[ar()]=["focusing","alloy.base.behaviour","common-button-display-events"],a),buttonBehaviours:Os([zh("common-button-display-events",[eo(ar(),(function(t,e){e.event().prevent(),Ur(t,dk)}))])].concat(r.map((function(n){return nk.config({channel:n,initialData:{icon:t,text:e},renderComponents:function(t,e){return hg([t.icon.map((function(t){return ex(s(t),i.icons)})),t.text.map((function(t){return rx(t,"tox-tbtn",i)}))])}})})).toArray()).concat(o.getOr([])))}},mk=function(t,e,r){var o,i=on(n),a=pk(t.icon,t.text,t.tooltip,y.none(),y.none(),r);return Sp.sketch({dom:a.dom,components:a.components,eventOrder:ix,buttonBehaviours:Os([zh("toolbar-button-events",[(o={onAction:t.onAction,getApi:e.getApi},ho((function(t,e){sg(o,t)((function(e){Vr(t,ox,{buttonApi:e}),o.onAction(e)}))}))),cg(e,i),ug(e,i)]),ag(t.disabled)].concat(e.toolbarButtonBehaviours))})},gk=function(t,e,n){return mk(t,{toolbarButtonBehaviours:[].concat(n.length>0?[zh("toolbarButtonWith",n)]:[]),getApi:ck,onSetup:t.onSetup},e)},vk=function(t,e,n){return ht(mk(t,{toolbarButtonBehaviours:[Ch.config({}),Gh.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(n.length>0?[zh("toolbarToggleButtonWith",n)]:[]),getApi:uk,onSetup:t.onSetup},e))},bk=function(t,e,n){return function(r){return uy((function(t){return e.fetch(t)})).map((function(o){return y.from(Uv(ht(Cv(Uo("menu-value"),o,(function(n){e.onItemAction(t(r),n)}),e.columns,e.presets,lg.CLOSE_ON_EXECUTE,e.select.getOr((function(){return!1})),n),{movement:Dv(e.columns,e.presets),menuBehaviours:mm("auto"!==e.columns?[]:[uo((function(t,n){hm(t,4,zm(e.presets)).each((function(e){var n=e.numRows,r=e.numColumns;Lh.setGridSize(t,n,r)}))}))])})))}))}},yk=function(t,e){return eo(ox,(function(n,r){var o=function(t){return{hide:function(){return Ur(t,Or())},getValue:function(){return vl.getValue(t)}}}(t.get(n));e.onAction(o,r.event().buttonApi())}))},Mk=function(t,e,n){var r={backstage:{shared:{providers:n}}};return"contextformtogglebutton"===e.type?function(t,e,n){var r=e.original,o=(r.primary,h(r,["primary"])),i=Me(jT(f(f({},o),{type:"togglebutton",onAction:function(){}})));return vk(i,n.backstage.shared.providers,[yk(t,e)])}(t,e,r):function(t,e,n){var r=e.original,o=(r.primary,h(r,["primary"])),i=Me(PT(f(f({},o),{type:"button",onAction:function(){}})));return gk(i,n.backstage.shared.providers,[yk(t,e)])}(t,e,r)},_k=function(t,e,n){var r=e.label.fold((function(){return{}}),(function(t){return{"aria-label":t}})),o=Op(ty.sketch({inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-js"],data:e.initValue(),inputAttributes:r,selectOnFocus:!0,inputBehaviours:Os([Lh.config({mode:"special",onEnter:function(t){return i.findPrimary(t).map((function(t){return Gr(t),!0}))},onLeft:function(t,e){return e.cut(),y.none()},onRight:function(t,e){return e.cut(),y.none()}})])})),i=function(t,e,n){var r=Y(e,(function(e){return Op(Mk(t,e,n))}));return{asSpecs:function(){return Y(r,(function(t){return t.asSpec()}))},findPrimary:function(t){return Ea(e,(function(e,n){return e.primary?y.from(r[n]).bind((function(e){return e.getOpt(t)})).filter(s(ng.isDisabled)):y.none()}))}}}(o,e.commands,n.shared.providers);return ET({type:t,uid:Uo("context-toolbar"),initGroups:[{title:y.none(),items:[o.asSpec()]},{title:y.none(),items:i.asSpecs()}],onEscape:y.none,cyclicKeying:!0,backstage:n,getSink:function(){return w.error("")}})},wk=function(t,e){var n=Math.max(e.x(),t.x()),r=t.right()-n,o=e.width()-(n-e.x());return{x:n,width:Math.min(r,o)}},xk=function(t){var n=kb(t)||Sb(t)||Cb(t),r=ga(e.window),o=xa(sn.fromDom(t.getContentAreaContainer()));return t.inline&&!n?function(t,e,n){var r=wk(e,n),o=r.x,i=r.width;return wa(o,n.y(),i,n.height())}(0,o,r):t.inline?function(t,e,n){var r=wk(e,n),o=r.x,i=r.width,a=sn.fromDom(t.getContainer()),s=ka(a,".tox-editor-header").getOr(a),c=xa(s),u=n.height(),l=n.y();if(c.y()>=e.bottom()){var d=Math.min(u+l,c.y());return wa(o,l,i,d-l)}var f=Math.max(l,c.bottom());return wa(o,f,i,u-(f-l))}(t,o,r):function(t,e,n){var r=wk(e,n),o=r.x,i=r.width,a=sn.fromDom(t.getContainer()),s=ka(a,".tox-editor-header").getOr(a),c=xa(a),u=xa(s),l=Math.max(n.y(),e.y(),u.bottom()),d=c.bottom()-l,f=n.height()-(l-n.y()),h=Math.min(d,f);return wa(o,l,i,h)}(t,o,r)},Ak=function(t,e){return Ea(e,(function(e){return e.predicate(t.dom())?y.some({toolbarApi:e,elem:t}):y.none()}))},Lk=function(t,e){var n=function(t){return t.dom()===e.getBody()},r=sn.fromDom(e.selection.getNode());return Ak(r,t.inNodeScope).orThunk((function(){return Ak(r,t.inEditorScope).orThunk((function(){return function(t,e,n){for(var r=t.dom(),i=S(n)?n:o(!1);r.parentNode;){r=r.parentNode;var a=sn.fromDom(r),s=e(a);if(s.isSome())return s;if(i(a))break}return y.none()}(r,(function(e){return Ak(e,t.inNodeScope)}),n)}))}))},Tk=function(t,e){var n={},r=[],o=[],i={},a={},s=function(t,s){var c=Me(function(t){return ye("ContextForm",KT,t)}(s));n[t]=c,c.launch.map((function(n){i["form:"+t]=f(f({},s.launch),{type:"contextformtogglebutton"===n.type?"togglebutton":"button",onAction:function(){e(c)}})})),"editor"===c.scope?o.push(c):r.push(c),a[t]=c},c=function(t,e){(function(t){return ye("ContextToolbar",JT,t)})(e).each((function(n){"editor"===e.scope?o.push(n):r.push(n),a[t]=n}))},u=tt(t);return W(u,(function(e){var n=t[e];"contextform"===n.type?s(e,n):"contexttoolbar"===n.type&&c(e,n)})),{forms:n,inNodeScope:r,inEditorScope:o,lookupTable:a,formNavigators:i}},kk=Uo("forward-slide"),Sk=Uo("backward-slide"),Ok=Uo("change-slide-event"),Ck=function(t,e){return function(n){var r=on(y.none()),o=function(){n.setActive(t.formatter.match(e));var o=t.formatter.formatChanged(e,n.setActive).unbind;r.set(y.some(o))};return t.initialized?o():t.on("init",o),function(){return r.get().each((function(t){return t()}))}}},zk=function(t){return function(e){return function(){t.undoManager.transact((function(){t.focus(),t.execCommand("mceToggleFormat",!1,e.format)}))}}},Dk=function(t,e,n){var r=function(t,r,i,a){var s=e.shared.providers.translate(t.title);if("separator"===t.type)return y.some({type:"separator",text:s});if("submenu"===t.type){var c=U(t.getStyleItems(),(function(t){return o(t,r,a)}));return 0===r&&c.length<=0?y.none():y.some({type:"nestedmenuitem",text:s,disabled:c.length<=0,getSubmenuItems:function(){return U(t.getStyleItems(),(function(t){return o(t,r,a)}))}})}return y.some(f({type:"togglemenuitem",text:s,active:t.isSelected(a),disabled:i,onAction:n.onAction(t)},t.getStylePreview().fold((function(){return{}}),(function(t){return{meta:{style:t}}}))))},o=function(t,e,o){var i="formatter"===t.type&&n.isInvalid(t);return 0===e?i?[]:r(t,e,!1,o).toArray():r(t,e,i,o).toArray()},i=function(t){var e=n.getCurrentValue(),r=n.shouldHide?0:1;return U(t,(function(t){return o(t,r,e)}))};return{validateItems:i,getFetch:function(t,e){return function(n){var r=e(),o=i(r);n(px(o,lg.CLOSE_ON_EXECUTE,t,!1))}}}},Ek=function(t,e,n){var r=n.dataset,o="basic"===r.type?function(){return Y(r.data,(function(t){return nL(t,n.isSelectedFor,n.getPreviewFor)}))}:r.getData;return{items:Dk(0,e,n),getStyleItems:o}},Nk=function(t,e,r){var o=Ek(0,e,r),i=o.items,a=o.getStyleItems;return cx({text:r.icon.isSome()?y.none():y.some(""),icon:r.icon,tooltip:y.from(r.tooltip),role:y.none(),fetch:i.getFetch(e,a),onSetup:function(e){return r.setInitialValue.each((function(t){return t(e.getComponent())})),r.nodeChangeHandler.map((function(n){var r=n(e.getComponent());return t.on("NodeChange",r),function(){t.off("NodeChange",r)}})).getOr(n)},getApi:function(t){return{getComponent:function(){return t}}},columns:1,presets:"normal",classes:r.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[]},"tox-tbtn",e.shared)};!function(t){t[t.SemiColon=0]="SemiColon",t[t.Space=1]="Space"}(tA||(tA={}));var Bk,Pk=function(t,e,n,r){return{type:"basic",data:function(t){return Y(t,(function(t){var e=t,n=t,r=t.split("=");return r.length>1&&(e=r[0],n=r[1]),{title:e,format:n}}))}(function(t,e){return e===tA.SemiColon?t.replace(/;$/,"").split(";"):t.split(" ")}(Ot(t.settings,e).getOr(n),r))}},Rk=[{title:"Left",icon:"align-left",format:"alignleft"},{title:"Center",icon:"align-center",format:"aligncenter"},{title:"Right",icon:"align-right",format:"alignright"},{title:"Justify",icon:"align-justify",format:"alignjustify"}],Yk=function(t){var e=function(e){var n=j(Rk,(function(e){return t.formatter.match(e.format)})).fold((function(){return"left"}),(function(t){return t.title.toLowerCase()}));Vr(e,sx,{icon:"align-"+n})},n=y.some((function(t){return function(){return e(t)}})),r=y.some((function(t){return e(t)})),i={type:"basic",data:Rk};return{tooltip:"Align",icon:y.some("align-left"),isSelectedFor:function(e){return function(){return t.formatter.match(e)}},getCurrentValue:o(y.none()),getPreviewFor:function(t){return function(){return y.none()}},onAction:zk(t),setInitialValue:r,nodeChangeHandler:n,dataset:i,shouldHide:!1,isInvalid:function(e){return!t.formatter.canApply(e.format)}}},Wk=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],Hk=function(t){var e=t.split(/\s*,\s*/);return Y(e,(function(t){return t.replace(/^['"]+|['"]+$/g,"")}))},qk=function(t){var e=function(){var e=function(t){return t?Hk(t)[0]:""},n=t.queryCommandValue("FontName"),r=i.data,o=n?n.toLowerCase():"";return{matchOpt:j(r,(function(t){var n=t.format;return n.toLowerCase()===o||e(n).toLowerCase()===e(o).toLowerCase()})).orThunk((function(){return function(t){var e;return 0===t.indexOf("-apple-system")&&(e=Hk(t.toLowerCase()),V(Wk,(function(t){return e.indexOf(t.toLowerCase())>-1})))}(o)?y.from({title:"System Font",format:o}):y.none()})),font:n}},n=function(t){var n=e(),r=n.matchOpt,o=n.font,i=r.fold((function(){return o}),(function(t){return t.title}));Vr(t,ax,{text:i})},r=y.some((function(t){return function(){return n(t)}})),o=y.some((function(t){return n(t)})),i=Pk(t,"font_formats","Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",tA.SemiColon);return{tooltip:"Fonts",icon:y.none(),isSelectedFor:function(t){return function(e){return e.exists((function(e){return e.format===t}))}},getCurrentValue:function(){return e().matchOpt},getPreviewFor:function(t){return function(){return y.some({tag:"div",styleAttr:-1===t.indexOf("dings")?"font-family:"+t:""})}},onAction:function(e){return function(){t.undoManager.transact((function(){t.focus(),t.execCommand("FontName",!1,e.format)}))}},setInitialValue:o,nodeChangeHandler:r,dataset:i,shouldHide:!1,isInvalid:function(){return!1}}},Ik={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},jk=function(t,e){return/[0-9.]+px$/.test(t)?function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}(72*parseInt(t,10)/96,e||0)+"pt":t},Xk=function(t){var e=function(){var e=y.none(),n=s.data,r=t.queryCommandValue("FontSize");if(r)for(var o=function(t){var o=jk(r,t),i=ct(Ik,o).getOr("");e=j(n,(function(t){return t.format===r||t.format===o||t.format===i}))},i=3;e.isNone()&&i>=0;i--)o(i);return{matchOpt:e,px:r}},n=o(o(y.none())),r=function(t){var n=e(),r=n.matchOpt,o=n.px,i=r.fold((function(){return o}),(function(t){return t.title}));Vr(t,ax,{text:i})},i=y.some((function(t){return function(){return r(t)}})),a=y.some((function(t){return r(t)})),s=Pk(t,"fontsize_formats","8pt 10pt 12pt 14pt 18pt 24pt 36pt",tA.Space);return{tooltip:"Font sizes",icon:y.none(),isSelectedFor:function(t){return function(e){return e.exists((function(e){return e.format===t}))}},getPreviewFor:n,getCurrentValue:function(){return e().matchOpt},onAction:function(e){return function(){t.undoManager.transact((function(){t.focus(),t.execCommand("FontSize",!1,e.format)}))}},setInitialValue:a,nodeChangeHandler:i,dataset:s,shouldHide:!1,isInvalid:function(){return!1}}},Fk=function(t,e,n){var r=e();return Ea(n,(function(e){return j(r,(function(n){return t.formatter.matchNode(e,n.format)}))})).orThunk((function(){return t.formatter.match("p")?y.some({title:"Paragraph",format:"p"}):y.none()}))},Uk=function(t){var e=t.selection.getStart(!0)||t.getBody();return t.dom.getParents(e,(function(){return!0}),t.getBody())},Vk=function(t){var e=function(e,n){var r=Fk(t,(function(){return i.data}),e).fold((function(){return"Paragraph"}),(function(t){return t.title}));Vr(n,ax,{text:r})},n=y.some((function(t){return function(n){return e(n.parents,t)}})),r=y.some((function(n){var r=Uk(t);e(r,n)})),i=Pk(t,"block_formats","Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre",tA.SemiColon);return{tooltip:"Blocks",icon:y.none(),isSelectedFor:function(e){return function(){return t.formatter.match(e)}},getCurrentValue:o(y.none()),getPreviewFor:function(e){return function(){var n=t.formatter.get(e);return y.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styleAttr:t.formatter.getCssText(e)})}},onAction:zk(t),setInitialValue:r,nodeChangeHandler:n,dataset:i,shouldHide:!1,isInvalid:function(e){return!t.formatter.canApply(e.format)}}},Gk=function(t,e){var n=function(e,n){var r=function(t){var e=t.items;return void 0!==e&&e.length>0?U(e,r):[{title:t.title,format:t.format}]},o=U(eL(t),r),i=Fk(t,(function(){return o}),e).fold((function(){return"Paragraph"}),(function(t){return t.title}));Vr(n,ax,{text:i})},r=y.some((function(t){return function(e){return n(e.parents,t)}})),i=y.some((function(e){var r=Uk(t);n(r,e)}));return{tooltip:"Formats",icon:y.none(),isSelectedFor:function(e){return function(){return t.formatter.match(e)}},getCurrentValue:o(y.none()),getPreviewFor:function(e){return function(){var n=t.formatter.get(e);return void 0!==n?y.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styleAttr:t.formatter.getCssText(e)}):y.none()}},onAction:zk(t),setInitialValue:i,nodeChangeHandler:r,shouldHide:t.getParam("style_formats_autohide",!1,"boolean"),isInvalid:function(e){return!t.formatter.canApply(e.format)},dataset:e}},$k=[{name:"history",items:["undo","redo"]},{name:"styles",items:["styleselect"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],Kk=function(t,e){return function(n,r){var o=t(n).mapError((function(t){return we(t)})).getOrDie();return e(o,r)}},Jk={button:Kk(PT,(function(t,e){return function(t,e){return gk(t,e,[])}(t,e.backstage.shared.providers)})),togglebutton:Kk(jT,(function(t,e){return function(t,e){return vk(t,e,[])}(t,e.backstage.shared.providers)})),menubutton:Kk(WT,(function(t,e){return gx(t,"tox-tbtn",e.backstage,y.none())})),splitbutton:Kk((function(t){return ye("SplitButton",HT,t)}),(function(t,e){return function(t,e){var r,o=Uo("channel-update-split-dropdown-display"),i=function(t){return{isDisabled:function(){return ng.isDisabled(t)},setDisabled:function(e){return ng.set(t,e)},setIconFill:function(e,n){ka(t.element(),'svg path[id="'+e+'"], rect[id="'+e+'"]').each((function(t){Po(t,"fill",n)}))},setIconStroke:function(e,n){ka(t.element(),'svg path[id="'+e+'"], rect[id="'+e+'"]').each((function(t){Po(t,"stroke",n)}))},setActive:function(e){Po(t.element(),"aria-pressed",e),ka(t.element(),"span").each((function(n){t.getSystem().getByDom(n).each((function(t){return Gh.set(t,e)}))}))},isActive:function(){return ka(t.element(),"span").exists((function(e){return t.getSystem().getByDom(e).exists(Gh.isOn)}))}}},a=on(n),s={getApi:i,onSetup:t.onSetup};return sk.sketch({dom:{tag:"div",classes:["tox-split-button"],attributes:pt({"aria-pressed":!1},lk(t.tooltip,e.providers))},onExecute:function(e){t.onAction(i(e))},onItemExecute:function(t,e,n){},splitDropdownBehaviours:Os([ig(!1),zh("split-dropdown-events",[eo(dk,Ph.focus),cg(s,a),ug(s,a)]),Vy.config({})]),eventOrder:(r={},r[Pr()]=["alloy.base.behaviour","split-dropdown-events"],r),toggleClass:"tox-tbtn--enabled",lazySink:e.getSink,fetch:bk(i,t,e.providers),parts:{menu:Lv(0,t.columns,t.presets)},components:[sk.parts().button(pk(t.icon,t.text,y.none(),y.some(o),y.some([Gh.config({toggleClass:"tox-tbtn--enabled",toggleOnExecute:!1})]),e.providers)),sk.parts().arrow({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:zp("chevron-down",e.providers.icons)}}),sk.parts()["aria-descriptor"]({text:e.providers.translate("To open the popup, press Shift+Enter")})]})}(t,e.backstage.shared)})),styleSelectButton:function(t,e){return function(t,e){var n=f({type:"advanced"},e.styleselect);return Nk(t,e,Gk(t,n))}(t,e.backstage)},fontsizeSelectButton:function(t,e){return function(t,e){return Nk(t,e,Xk(t))}(t,e.backstage)},fontSelectButton:function(t,e){return function(t,e){return Nk(t,e,qk(t))}(t,e.backstage)},formatButton:function(t,e){return function(t,e){return Nk(t,e,Vk(t))}(t,e.backstage)},alignMenuButton:function(t,e){return function(t,e){return Nk(t,e,Yk(t))}(t,e.backstage)}},Qk={styleselect:Jk.styleSelectButton,fontsizeselect:Jk.fontsizeSelectButton,fontselect:Jk.fontSelectButton,formatselect:Jk.formatButton,align:Jk.alignMenuButton},Zk=function(t){var n,r=t.toolbar,o=t.buttons;return!1===r?[]:void 0===r||!0===r?function(t){var e=Y($k,(function(e){var n=H(e.items,(function(e){return ut(t,e)||ut(Qk,e)}));return{name:e.name,items:n}}));return H(e,(function(t){return t.items.length>0}))}(o):A(r)?(n=r.split("|"),Y(n,(function(t){return{items:t.trim().split(" ")}}))):function(t){return C(t,(function(t){return ut(t,"name")&&ut(t,"items")}))}(r)?r:(e.console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])},tS=function(t,n,r,o,i){return ct(n,r.toLowerCase()).orThunk((function(){return i.bind((function(t){return Ea(t,(function(t){return ct(n,t+r.toLowerCase())}))}))})).fold((function(){return ct(Qk,r.toLowerCase()).map((function(e){return e(t,o)})).orThunk((function(){return y.none()}))}),(function(t){return function(t,n){return ct(Jk,t.type).fold((function(){return e.console.error("skipping button defined by",t),y.none()}),(function(e){return y.some(e(t,n))}))}(t,o)}))},eS=function(t,e,n,r){var o=Zk(e),i=Y(o,(function(o){var i=U(o.items,(function(o){return 0===o.trim().length?[]:tS(t,e.buttons,o,n,r).toArray()}));return{title:y.from(t.translate(o.name)),items:i}}));return H(i,(function(t){return t.items.length>0}))},nS={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},rS={maxHeightFunction:Mu(),maxWidthFunction:YA()},oS={onLtr:function(){return[ys,Ms,vs,ms,bs,gs,Tp,kp,Ap,wp,Lp,xp]},onRtl:function(){return[ys,Ms,bs,gs,vs,ms,Tp,kp,Lp,xp,Ap,wp]}},iS={onLtr:function(){return[Ms,ms,gs,vs,bs,ys,Tp,kp,Ap,wp,Lp,xp]},onRtl:function(){return[Ms,gs,ms,bs,vs,ys,Tp,kp,Lp,xp,Ap,wp]}},aS=function(t,e,n,r){var o=Cn().deviceType.isTouch,i=Zi(function(t){var e=on([]);return gp.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:function(t){e.set([]),gp.getContent(t).each((function(t){Wi(t.element(),"visibility")})),Ti(t.element(),"tox-pop--resizing"),Wi(t.element(),"width")},inlineBehaviours:Os([zh("context-toolbar-events",[co(br(),(function(t,e){gp.getContent(t).each((function(t){})),Ti(t.element(),"tox-pop--resizing"),Wi(t.element(),"width")})),eo(Ok,(function(t,e){Wi(t.element(),"width");var n=fa(t.element());gp.setContent(t,e.event().contents()),Ai(t.element(),"tox-pop--resizing");var r=fa(t.element());Ei(t.element(),"width",n+"px"),gp.getContent(t).each((function(n){e.event().focus().bind((function(e){return Ws(e),qs(t.element())})).orThunk((function(){return Lh.focusIn(n),Hs()}))})),Bp.setTimeout((function(){Ei(t.element(),"width",r+"px")}),0)})),eo(kk,(function(t,n){gp.getContent(t).each((function(t){e.set(e.get().concat([{bar:t,focus:Hs()}]))})),Vr(t,Ok,{contents:n.event().forwardContents(),focus:y.none()})})),eo(Sk,(function(t,n){Q(e.get()).each((function(n){e.set(e.get().slice(0,e.get().length-1)),Vr(t,Ok,{contents:ta(n.bar),focus:n.focus})}))}))]),Lh.config({mode:"special",onEscape:function(n){return Q(e.get()).fold((function(){return t.onEscape()}),(function(t){return Ur(n,Sk),y.some(!0)}))}})]),lazySink:function(){return w.value(t.sink)}})}({sink:n,onEscape:function(){return t.focus(),y.some(!0)}})),a=function(){return xk(t)},s=function(){if(o()&&r.backstage.isContextMenuOpen())return!0;var e,n,i,s,c,u,l=(e=d.get().map((function(t){return t.getBoundingClientRect()})).getOrThunk((function(){return t.selection.getRng().getBoundingClientRect()})),n=t.inline?pa().top():Aa(sn.fromDom(t.getBody())).y(),{y:e.top+n,bottom:e.bottom+n}),f=a();return i=l.y,s=l.bottom,c=f.y(),u=f.bottom(),!(Math.max(i,c)<=Math.min(s,u))},c=function(){gp.hide(i)},u=function(){l.get().each((function(t){var e=i.element();Wi(e,"display"),s()?Ei(e,"display","none"):Ou.positionWithinBounds(n,t,i,y.some(a()))}))},l=on(y.none()),d=on(y.none()),f=on(null),h=function(e){return{dom:{tag:"div",classes:["tox-pop__dialog"]},components:[e],behaviours:Os([Lh.config({mode:"acyclic"}),zh("pop-dialog-wrap-events",[uo((function(e){t.shortcuts.add("ctrl+F9","focus statusbar",(function(){return Lh.focusIn(e)}))})),lo((function(e){t.shortcuts.remove("ctrl+F9")}))])])}},p=mt((function(){return Tk(e,(function(t){var e=m(t);Vr(i,kk,{forwardContents:h(e)})}))})),m=function(e){var n,o,i=t.ui.registry.getAll().buttons,a=zb(t)===vb.scrolling?vb.scrolling:vb.default,s=p();return"contexttoolbar"===e.type?(n=pt(i,s.formNavigators),o=eS(t,{buttons:n,toolbar:e.items},r,y.some(["form:"])),ET({type:a,uid:Uo("context-toolbar"),initGroups:o,onEscape:y.none,cyclicKeying:!0,backstage:r.backstage,getSink:function(){return w.error("")}})):_k(a,e,r.backstage)};t.on("contexttoolbar-show",(function(e){var n=p();Ot(n.lookupTable,e.toolbarKey).each((function(n){v(n,e.target===t?y.none():y.some(e)),gp.getContent(i).each(Lh.focusIn)}))}));var g=function(t,e){var n="node"===t?r.backstage.shared.anchors.node(e):r.backstage.shared.anchors.cursor();return ht(n,function(t,e){return"line"===t?{bubble:Xs(12,0,nS),layouts:{onLtr:function(){return[_s]},onRtl:function(){return[ws]}},overrides:rS}:{bubble:Xs(0,12,nS),layouts:e?iS:oS,overrides:rS}}(t,o()))},v=function(t,e){if(M(),!o()||!r.backstage.isContextMenuOpen()){var n=m(t),c=e.map(sn.fromDom),u=g(t.position,c);l.set(y.some(u)),d.set(e);var f=i.element();Wi(f,"display"),gp.showWithinBounds(i,u,h(n),(function(){return y.some(a())})),s()&&Ei(f,"display","none")}},b=function(){var e=p();Lk(e,t).fold((function(){l.set(y.none()),gp.hide(i)}),(function(t){v(t.toolbarApi,y.some(t.elem.dom()))}))},M=function(){var t=f.get();null!==t&&(Bp.clearTimeout(t),f.set(null))},_=function(t){M(),f.set(t)};t.on("init",(function(){t.on("contexttoolbar-hide",c),t.on("ScrollContent ScrollWindow longpress",u),t.on("click keyup SetContent ObjectResized ResizeEditor",(function(e){_(Bp.setEditorTimeout(t,b,0))})),t.on("focusout",(function(e){Bp.setEditorTimeout(t,(function(){qs(n.element()).isNone()&&qs(i.element()).isNone()&&(l.set(y.none()),gp.hide(i))}),0)})),t.on("SwitchMode",(function(){t.readonly&&(l.set(y.none()),gp.hide(i))})),t.on("NodeChange",(function(e){qs(i.element()).fold((function(){_(Bp.setEditorTimeout(t,b,0))}),(function(t){}))}))}))},sS=function(t,n,r){var o=function(t,e){W([n,r],(function(n){n.broadcastEvent(t,e)}))},i=function(t,e){W([n,r],(function(n){n.broadcastOn([t],e)}))},a=function(t){return i(Qu(),{target:t.target()})},s=Qv(sn.fromDom(e.document),"touchstart",a),c=Qv(sn.fromDom(e.document),"touchmove",(function(t){return o(Dr(),t)})),u=Qv(sn.fromDom(e.document),"touchend",(function(t){return o(Er(),t)})),l=Qv(sn.fromDom(e.document),"mousedown",a),d=Qv(sn.fromDom(e.document),"mouseup",(function(t){0===t.raw().button&&i(tl(),{target:t.target()})})),f=function(t){return i(Qu(),{target:sn.fromDom(t.target)})},h=function(t){0===t.button&&i(tl(),{target:sn.fromDom(t.target)})},p=function(t){return o(Nr(),tb(t))},m=function(t){i(Zu(),{}),o(Br(),tb(t))},g=function(){return i(Zu(),{})};t.on("PostRender",(function(){t.on("click",f),t.on("tap",f),t.on("mouseup",h),t.on("ScrollWindow",p),t.on("ResizeWindow",m),t.on("ResizeEditor",g)})),t.on("remove",(function(){t.off("click",f),t.off("tap",f),t.off("mouseup",h),t.off("ScrollWindow",p),t.off("ResizeWindow",m),t.off("ResizeEditor",g),l.unbind(),s.unbind(),c.unbind(),u.unbind(),d.unbind()})),t.on("detach",(function(){qu(n),qu(r),n.destroy(),r.destroy()}))},cS=hd,uS=Kl,lS=o([$e("shell",!1),Ne("makeItem"),$e("setupItem",n),_l("listBehaviours",[Ch])]),dS=Vl({name:"items",overrides:function(t){return{behaviours:Os([Ch.config({})])}}}),fS=o([dS]),hS=o("CustomList"),pS=_d({name:hS(),configFields:lS(),partFields:fS(),factory:function(t,n,r,o){var i=t.shell?{behaviours:[Ch.config({})],components:[]}:{behaviours:[],components:n},a=function(e){return t.shell?y.some(e):id(e,t,"items")};return{uid:t.uid,dom:t.dom,components:i.components,behaviours:Ml(t.listBehaviours,i.behaviours),apis:{setItems:function(n,r){a(n).fold((function(){throw e.console.error("Custom List was defined to not be a shell, but no item container was specified in components"),new Error("Custom List was defined to not be a shell, but no item container was specified in components")}),(function(e){var o=Ch.contents(e),i=r.length,a=i-o.length,s=a>0?function(t,e){for(var n=[],r=0;r<t;r++)n.push(e(r));return n}(a,(function(){return t.makeItem()})):[],c=o.slice(i);W(c,(function(t){return Ch.remove(e,t)})),W(s,(function(t){return Ch.append(e,t)}));var u=Ch.contents(e);W(u,(function(e,o){t.setupItem(n,e,r[o],o)}))}))}}}},apis:{setItems:function(t,e,n){t.setItems(e,n)}}}),mS=function(t){return(Ri(t,"position").is("fixed")?y.none():wo(t)).orThunk((function(){var e=sn.fromTag("span");Lo(t,e);var n=wo(e);return zo(e),n})).map(ua).getOrThunk((function(){return sa(0,0)}))},gS=lt([{offset:["x","y"]},{absolute:["x","y"]},{fixed:["x","y"]}]),vS=function(t){return function(e){return e.translate(-t.left(),-t.top())}},bS=function(t){return function(e){return e.translate(t.left(),t.top())}},yS=function(t){return function(e,n){return I(t,(function(t,e){return e(t)}),sa(e,n))}},MS=function(t,e,n){return t.fold(yS([bS(n),vS(e)]),yS([vS(e)]),yS([]))},_S=function(t,e,n){return t.fold(yS([bS(n)]),yS([]),yS([bS(e)]))},wS=function(t,e,n){return t.fold(yS([]),yS([vS(n)]),yS([bS(e),vS(n)]))},xS=function(t,e,n){return t.fold((function(t,e){return{position:"absolute",left:t+"px",top:e+"px"}}),(function(t,e){return{position:"absolute",left:t-n.left()+"px",top:e-n.top()+"px"}}),(function(t,e){return{position:"fixed",left:t+"px",top:e+"px"}}))},AS=function(t,e,n,r){var o=function(t,o){return function(i,a){var s=t(e,n,r);return o(i.getOr(s.left()),a.getOr(s.top()))}};return t.fold(o(wS,gS.offset),o(_S,gS.absolute),o(MS,gS.fixed))},LS=gS.offset,TS=gS.absolute,kS=gS.fixed,SS=lt([{static:[]},{absolute:["x","y"]},{fixed:["x","y"]}]),OS=function(t,e){var n=t.element();Ai(n,e.transitionClass),Ti(n,e.fadeOutClass),Ai(n,e.fadeInClass),e.onShow(t)},CS=function(t,e){var n=t.element();Ai(n,e.transitionClass),Ti(n,e.fadeInClass),Ai(n,e.fadeOutClass),e.onHide(t)},zS=function(t,e,n){return V(t,(function(t){switch(t){case"bottom":return function(t,e){return t.bottom()<=e.bottom()}(e,n);case"top":return function(t,e){return t.y()>=e.y()}(e,n)}}))},DS=function(t,e){return Yo(t,e)?y.some(parseInt(Ro(t,e),10)):y.none()},ES=function(t,e){return DS(t,e.leftAttr).bind((function(n){return DS(t,e.topAttr).map((function(e){var r=fa(t),o=oa(t);return wa(n,e,r,o)}))}))},NS=function(t,e,n){var r=Ro(t,e.positionAttr);switch(function(t,e){Wo(t,e.leftAttr),Wo(t,e.topAttr),Wo(t,e.positionAttr)}(t,e),r){case"static":return y.some(SS.static());case"absolute":return y.some(SS.absolute(n.x(),n.y()));default:return y.none()}},BS=function(t,e,n,r,o){var i=xa(t);if(zS(e.modes,i,n))return y.none();var a=o(),s=Bi(t,"position");!function(t,e,n,r,o){Po(t,e.leftAttr,n),Po(t,e.topAttr,r),Po(t,e.positionAttr,o)}(t,e,i.x(),i.y(),s);var c=TS(i.x(),i.y()),u=MS(c,r,a),l=TS(n.x(),n.y()),d=MS(l,r,a),f=i.y()<=n.y()?d.top():d.top()+n.height()-i.height();return y.some(SS.fixed(u.left(),f))},PS=function(t,e,n,r,o){var i=t.element();return Ri(i,"position").is("fixed")?function(t,e,n){return ES(t,e).filter((function(t){return zS(e.modes,t,n)})).bind((function(n){return NS(t,e,n)}))}(i,e,n):BS(i,e,n,r,o)},RS=function(t,e){W(["left","top","position"],(function(e){return Wi(t.element(),e)})),e.onUndocked(t)},YS=function(t,e,n,r,o){var i=xS(o,0,r);Ni(t.element(),i),("fixed"===i.position?e.onDocked:e.onUndocked)(t)},WS=function(t,e,n,r,o){void 0===o&&(o=!1),e.contextual.each((function(e){e.lazyContext(t).each((function(i){var a=function(t,e){return t.y()<e.bottom()&&t.bottom()>e.y()}(i,r);a!==n.isVisible()&&(n.setVisible(a),o&&!a?(Si(t.element(),[e.fadeOutClass]),e.onHide(t)):(a?OS:CS)(t,e))}))}))},HS=function(t,e,r){var o=t.element();r.setDocked(!1),function(t,e){var n=t.element();return ES(n,e).bind((function(t){return NS(n,e,t)}))}(t,e).each((function(r){r.fold((function(){return RS(t,e)}),(function(n,r){var i=bo(o),a=(pa(i),mS(o));YS(t,e,0,a,TS(n,r))}),n)})),r.setVisible(!0),e.contextual.each((function(e){Oi(o,[e.fadeInClass,e.fadeOutClass,e.transitionClass]),e.onShow(t)})),qS(t,e,r)},qS=function(t,e,n){t.getSystem().isConnected()&&function(t,e,n){var r=e.lazyViewport(t),o=t.element(),i=bo(o),a=pa(i),s=mt((function(){return mS(o)})),c=n.isDocked();c&&WS(t,e,n,r),PS(t,e,r,a,s).each((function(o){n.setDocked(!c),o.fold((function(){return RS(t,e)}),(function(n,r){return YS(t,e,0,s(),TS(n,r))}),(function(o,i){WS(t,e,n,r,!0),YS(t,e,0,s(),kS(o,i))}))}))}(t,e,n)},IS=function(t,e,n){n.isDocked()&&HS(t,e,n)},jS=Object.freeze({refresh:qS,reset:IS,isDocked:function(t,e,n){return n.isDocked()}}),XS=Object.freeze({events:function(t,e){return Qr([co(br(),(function(n,r){t.contextual.each((function(t){ki(n.element(),t.transitionClass)&&(Oi(n.element(),[t.transitionClass,t.fadeInClass]),(e.isVisible()?t.onShown:t.onHidden)(n));r.stop()}))})),eo(Nr(),(function(n,r){qS(n,t,e)})),eo(Br(),(function(n,r){IS(n,t,e)}))])}}),FS=[Ge("contextual",[Re("fadeInClass"),Re("fadeOutClass"),Re("transitionClass"),We("lazyContext"),Ua("onShow"),Ua("onShown"),Ua("onHide"),Ua("onHidden")]),en("lazyViewport",La),Re("leftAttr"),Re("topAttr"),Re("positionAttr"),function(t,e,n){return Ke(t,e,se(n))}("modes",["top","bottom"],Se),Ua("onDocked"),Ua("onUndocked")],US=Object.freeze({init:function(){var t=on(!1),e=on(!0);return ui({isDocked:function(){return t.get()},setDocked:function(e){return t.set(e)},isVisible:function(){return e.get()},setVisible:function(t){return e.set(t)},readState:function(){return"docked: "+t.get()+", visible: "+e.get()}})}}),VS=zs({fields:FS,name:"docking",active:XS,apis:jS,state:US}),GS={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},$S=function(t){var e=t.element();_o(e).each((function(n){if(VS.isDocked(t)){var r=fa(n);Ei(e,"width",r+"px");var o=ia(e);Ei(n,"padding-top",o+"px")}else Wi(e,"width"),Wi(n,"padding-top")}))},KS=function(t,e){e?(Ti(t,GS.fadeOutClass),Si(t,[GS.transitionClass,GS.fadeInClass])):(Ti(t,GS.fadeInClass),Si(t,[GS.fadeOutClass,GS.transitionClass]))},JS=function(t,e){var n=sn.fromDom(t.getContainer());e?(Ai(n,"tox-tinymce--toolbar-sticky-on"),Ti(n,"tox-tinymce--toolbar-sticky-off")):(Ai(n,"tox-tinymce--toolbar-sticky-off"),Ti(n,"tox-tinymce--toolbar-sticky-on"))},QS=function(t,e){var n,r=on(y.none()),o=function(t){e().each((function(e){return t(e.element())}))},i=function(n){t.inline||$S(n),JS(t,VS.isDocked(n)),n.getSystem().broadcastOn([Zu()],{}),e().each((function(t){return t.getSystem().broadcastOn([Zu()],{})}))},a=t.inline?[]:[Rs.config({channels:(n={},n[wT()]={onReceive:$S},n)})];return p([Ph.config({}),VS.config({leftAttr:"data-dock-left",topAttr:"data-dock-top",positionAttr:"data-dock-pos",contextual:f({lazyContext:function(e){var n=ia(e.element()),r=t.inline?t.getContentAreaContainer():t.getContainer(),o=xa(sn.fromDom(r)),i=o.height()-n;return y.some(wa(o.x(),o.y(),o.width(),i))},onShow:function(){o((function(t){return KS(t,!0)}))},onShown:function(t){o((function(t){return Oi(t,[GS.transitionClass,GS.fadeInClass])})),r.get().each((function(e){var n,o,i;n=t.element(),i=bo(o=e),Hs(i).filter((function(t){return!Wn(o,t)})).filter((function(t){return Wn(t,sn.fromDom(i.dom().body))||Hn(n,t)})).each((function(){return Ws(o)})),r.set(y.none())}))},onHide:function(t){r.set(function(t,e){return qs(t).orThunk((function(){return e().toOption().bind((function(t){return qs(t.element())}))}))}(t.element(),e)),o((function(t){return KS(t,!1)}))},onHidden:function(){o((function(t){return Oi(t,[GS.transitionClass])}))}},GS),modes:["top"],onDocked:i,onUndocked:i})],a)},ZS=Object.freeze({setup:function(t,e){t.inline||(t.on("ResizeWindow ResizeEditor ResizeContent",(function(){e().each($S)})),t.on("SkinLoaded",(function(){e().each(VS.reset)})),t.on("FullscreenStateChanged",(function(){e().each(VS.refresh)}))),t.on("PostRender",(function(){JS(t,!1)}))},isDocked:function(t){return t().map(VS.isDocked).getOr(!1)},getBehaviours:QS}),tO=n,eO=u,nO=o([]),rO=Object.freeze({setup:tO,isDocked:eO,getBehaviours:nO}),oO=Md({factory:function(t,e){var n={focus:Lh.focusIn,setMenus:function(t,n){var r=Y(n,(function(t){var n={type:"menubutton",text:t.text,fetch:function(e){e(t.getItems())}},r=WT(n).mapError((function(t){return we(t)})).getOrDie();return gx(r,"tox-mbtn",e.backstage,y.some("menuitem"))}));Ch.set(t,r)}};return{uid:t.uid,dom:t.dom,components:[],behaviours:Os([Ch.config({}),zh("menubar-events",[uo((function(e){t.onSetup(e)})),eo(lr(),(function(t,e){ka(t.element(),".tox-mbtn--active").each((function(n){Sa(e.event().target(),".tox-mbtn").each((function(e){Wn(n,e)||t.getSystem().getByDom(n).each((function(n){t.getSystem().getByDom(e).each((function(t){Fy.expand(t),Fy.close(n),Ph.focus(t)}))}))}))}))})),eo(Hr(),(function(t,e){e.event().prevFocus().bind((function(e){return t.getSystem().getByDom(e).toOption()})).each((function(n){e.event().newFocus().bind((function(e){return t.getSystem().getByDom(e).toOption()})).each((function(t){Fy.isOpen(n)&&(Fy.expand(t),Fy.close(n))}))}))}))]),Lh.config({mode:"flow",selector:".tox-mbtn",onEscape:function(e){return t.onEscape(e),y.some(!0)}}),xy.config({})]),apis:n,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[Ne("dom"),Ne("uid"),Ne("onEscape"),Ne("backstage"),$e("onSetup",n)],apis:{focus:function(t,e){t.focus(e)},setMenus:function(t,e,n){t.setMenus(e,n)}}}),iO=[bl("slotBehaviours",[])],aO=function(t){return"<alloy.field."+t+">"},sO=function(t,e,n){var r,o=function(e){return ud(t)},i=function(e,n){return void 0===n&&(n=void 0),function(r,o){return id(r,t,o).map((function(t){return e(t,o)})).getOr(n)}},a=function(t,e){return"true"!==Ro(t.element(),"aria-hidden")},s=i(a,!1),c=i((function(t,e){if(a(t)){var n=t.element();Ei(n,"display","none"),Po(n,"aria-hidden","true"),Vr(t,qr(),{name:e,visible:!1})}})),u=(r=c,function(t,e){W(e,(function(e){return r(t,e)}))}),l=i((function(t,e){if(!a(t)){var n=t.element();Wi(n,"display"),Wo(n,"aria-hidden"),Vr(t,qr(),{name:e,visible:!0})}})),d={getSlotNames:o,getSlot:function(e,n){return id(e,t,n)},isShowing:s,hideSlot:c,hideAllSlots:function(t){return u(t,o())},showSlot:l};return{uid:t.uid,dom:t.dom,components:e,behaviours:yl(t.slotBehaviours),apis:d}},cO=rt({getSlotNames:function(t,e){return t.getSlotNames(e)},getSlot:function(t,e,n){return t.getSlot(e,n)},isShowing:function(t,e,n){return t.isShowing(e,n)},hideSlot:function(t,e,n){return t.hideSlot(e,n)},hideAllSlots:function(t,e){return t.hideAllSlots(e)},showSlot:function(t,e,n){return t.showSlot(e,n)}},si),uO=f(f({},cO),{sketch:function(t){var e=function(){var t=[];return{slot:function(e,n){return t.push(e),td("container",aO(e),n)},record:function(){return t}}}(),n=t(e),r=e.record(),o=Y(r,(function(t){return Fl({name:t,pname:aO(t)})}));return md("container",iO,o,sO,n)}}),lO=ae([Ue("icon"),Ue("tooltip"),en("onShow",n),en("onHide",n),en("onSetup",(function(){return n}))]),dO=function(t){return{element:function(){return t.element().dom()}}},fO=function(t,e){var r=Y(tt(e),(function(t){var n=e[t],r=Me(function(t){return ye("sidebar",lO,t)}(n));return{name:t,getApi:dO,onSetup:r.onSetup,onShow:r.onShow,onHide:r.onHide}}));return Y(r,(function(e){var o=on(n);return t.slot(e.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:mm([cg(e,o),ug(e,o),eo(qr(),(function(t,e){var n=e.event();j(r,(function(t){return t.name===n.name()})).each((function(e){(n.visible()?e.onShow:e.onHide)(e.getApi(t))}))}))])})}))},hO=function(t){return uO.sketch((function(e){return{dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:fO(e,t),slotBehaviours:mm([uo((function(t){return uO.hideAllSlots(t)}))])}}))},pO=function(t){return Ld.getCurrent(t).bind((function(t){return gT.isGrowing(t)||gT.hasGrown(t)?Ld.getCurrent(t).bind((function(t){return j(uO.getSlotNames(t),(function(e){return uO.isShowing(t,e)}))})):y.none()}))},mO=Uo("FixSizeEvent"),gO=Uo("AutoSizeEvent"),vO=function(t){return{dom:{tag:"div",attributes:{"aria-label":t.translate("Loading...")},classes:["tox-throbber__busy-spinner"]},components:[{dom:Am('<div class="tox-spinner"><div></div><div></div><div></div></div>')}],behaviours:Os([Lh.config({mode:"special",onTab:function(){return y.some(!0)},onShiftTab:function(){return y.some(!0)}}),Ph.config({})])}},bO=function(t,e,n){var r=on(!1),o=on(y.none()),i=function(t){t!==r.get()&&(!function(t,e,n){var r=t.element();!0===e?(Ch.set(t,[vO(n)]),Wi(r,"display"),Wo(r,"aria-hidden")):(Ch.set(t,[]),Ei(r,"display","none"),Po(r,"aria-hidden","true"))}(e(),t,n.providers),r.set(t))};t.on("ProgressState",(function(e){if(o.get().each(Bp.clearTimeout),O(e.time)){var n=Bp.setEditorTimeout(t,(function(){return i(e.state)}),e.time);o.set(y.some(n))}else i(e.state),o.set(y.none())}))},yO=uS.optional({factory:oO,name:"menubar",schema:[Ne("backstage")]}),MO=uS.optional({factory:{sketch:function(t){return pS.sketch({uid:t.uid,dom:t.dom,listBehaviours:Os([Lh.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:function(){return ET({type:t.split,uid:Uo("multiple-toolbar-item"),backstage:t.backstage,cyclicKeying:!1,getSink:t.getSink,initGroups:[],onEscape:function(){return y.none()}})},setupItem:function(t,e,n,r){PL.setGroups(e,n)},shell:!0})}},name:"multiple-toolbar",schema:[Ne("dom"),Ne("onEscape")]}),_O=uS.optional({factory:{sketch:function(t){return function(t){return t.split===vb.sliding?DT:t.split===vb.floating?zT:ET}(t)({type:t.split,uid:t.uid,onEscape:function(){return t.onEscape(),y.some(!0)},cyclicKeying:!1,initGroups:[],getSink:t.getSink,backstage:t.backstage,moreDrawerData:{lazyToolbar:t.lazyToolbar,lazyMoreButton:t.lazyMoreButton,lazyHeader:t.lazyHeader}})}},name:"toolbar",schema:[Ne("dom"),Ne("onEscape"),Ne("getSink")]}),wO=uS.optional({factory:{sketch:function(t){var e=t.editor,n=t.sticky?QS:nO;return{uid:t.uid,dom:t.dom,components:t.components,behaviours:Os(n(e,t.getSink))}}},name:"header",schema:[Ne("dom")]}),xO=uS.optional({name:"socket",schema:[Ne("dom")]}),AO=uS.optional({factory:{sketch:function(t){return{uid:t.uid,dom:{tag:"div",classes:["tox-sidebar"],attributes:{role:"complementary"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:Os([xy.config({}),Ph.config({}),gT.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:function(t){Ld.getCurrent(t).each(uO.hideAllSlots),Ur(t,gO)},onGrown:function(t){Ur(t,gO)},onStartGrow:function(t){Vr(t,mO,{width:Ri(t.element(),"width").getOr("")})},onStartShrink:function(t){Vr(t,mO,{width:fa(t.element())+"px"})}}),Ch.config({}),Ld.config({find:function(t){var e=Ch.contents(t);return J(e)}})])}],behaviours:Os([G_(0),zh("sidebar-sliding-events",[eo(mO,(function(t,e){Ei(t.element(),"width",e.event().width())})),eo(gO,(function(t,e){Wi(t.element(),"width")}))])])}}},name:"sidebar",schema:[Ne("dom")]}),LO=uS.optional({factory:{sketch:function(t){return{uid:t.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:Os([Ch.config({})]),components:[]}}},name:"throbber",schema:[Ne("dom")]}),TO=_d({name:"OuterContainer",factory:function(t,e,n){var r={getSocket:function(e){return cS.getPart(e,t,"socket")},setSidebar:function(e,n){cS.getPart(e,t,"sidebar").each((function(t){return function(t,e){Ld.getCurrent(t).each((function(t){return Ch.set(t,[hO(e)])}))}(t,n)}))},toggleSidebar:function(e,n){cS.getPart(e,t,"sidebar").each((function(t){return function(t,e){Ld.getCurrent(t).each((function(t){Ld.getCurrent(t).each((function(n){gT.hasGrown(t)?uO.isShowing(n,e)?gT.shrink(t):(uO.hideAllSlots(n),uO.showSlot(n,e)):(uO.hideAllSlots(n),uO.showSlot(n,e),gT.grow(t))}))}))}(t,n)}))},whichSidebar:function(e){return cS.getPart(e,t,"sidebar").bind(pO).getOrNull()},getHeader:function(e){return cS.getPart(e,t,"header")},getToolbar:function(e){return cS.getPart(e,t,"toolbar")},setToolbar:function(e,n){cS.getPart(e,t,"toolbar").each((function(t){t.getApis().setGroups(t,n)}))},setToolbars:function(e,n){cS.getPart(e,t,"multiple-toolbar").each((function(t){pS.setItems(t,n)}))},refreshToolbar:function(e){cS.getPart(e,t,"toolbar").each((function(t){return t.getApis().refresh(t)}))},getMoreButton:function(e){return cS.getPart(e,t,"toolbar").bind((function(t){return t.getApis().getMoreButton(t)}))},getThrobber:function(e){return cS.getPart(e,t,"throbber")},focusToolbar:function(e){cS.getPart(e,t,"toolbar").orThunk((function(){return cS.getPart(e,t,"multiple-toolbar")})).each((function(t){Lh.focusIn(t)}))},setMenubar:function(e,n){cS.getPart(e,t,"menubar").each((function(t){oO.setMenus(t,n)}))},focusMenubar:function(e){cS.getPart(e,t,"menubar").each((function(t){oO.focus(t)}))}};return{uid:t.uid,dom:t.dom,components:e,apis:r,behaviours:t.behaviours}},configFields:[Ne("dom"),Ne("behaviours")],partFields:[wO,yO,_O,MO,xO,AO,LO],apis:{getSocket:function(t,e){return t.getSocket(e)},setSidebar:function(t,e,n){t.setSidebar(e,n)},toggleSidebar:function(t,e,n){t.toggleSidebar(e,n)},whichSidebar:function(t,e){return t.whichSidebar(e)},getHeader:function(t,e){return t.getHeader(e)},getToolbar:function(t,e){return t.getToolbar(e)},setToolbar:function(t,e,n){var r=Y(n,(function(t){return ST(t)}));t.setToolbar(e,r)},setToolbars:function(t,e,n){var r=Y(n,(function(t){return Y(t,ST)}));t.setToolbars(e,r)},getMoreButton:function(t,e){return t.getMoreButton(e)},refreshToolbar:function(t,e){return t.refreshToolbar(e)},getThrobber:function(t,e){return t.getThrobber(e)},setMenubar:function(t,e,n){t.setMenubar(e,n)},focusMenubar:function(t,e){t.focusMenubar(e)},focusToolbar:function(t,e){t.focusToolbar(e)}}}),kO={file:{title:"File",items:"newdocument restoredraft | preview | print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image link media addcomment pageembed template codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | formats blockformats fontformats fontsizes align | forecolor backcolor | removeformat"},tools:{title:"Tools",items:"spellchecker spellcheckerlanguage | a11ycheck code wordcount"},table:{title:"Table",items:"inserttable | cell row column | advtablesort | tableprops deletetable"},help:{title:"Help",items:"help"}},SO=function(t){return"string"==typeof t?t.split(" "):t},OO=function(t,e){var n=pt(kO,e.menus),r=tt(e.menus).length>0,o=void 0===e.menubar||!0===e.menubar?SO("file edit view insert format tools table help"):SO(!1===e.menubar?"":e.menubar),i=H(o,(function(t){return r&&e.menus.hasOwnProperty(t)&&e.menus[t].hasOwnProperty("items")||kO.hasOwnProperty(t)})),a=Y(i,(function(r){var o=n[r];return function(t,e,n){var r=function(t){return t.getParam("removed_menuitems","")}(n).split(/[ ,]/);return{text:t.title,getItems:function(){return U(t.items,(function(t){var n=t.toLowerCase();return 0===n.trim().length||P(r,(function(t){return t===n}))?[]:"separator"===n||"|"===n?[{type:"separator"}]:e.menuItems[n]?[e.menuItems[n]]:[]}))}}}({title:o.title,items:SO(o.items)},e,t)}));return H(a,(function(t){return t.getItems().length>0&&P(t.getItems(),(function(t){return"separator"!==t.type}))}))},CO=function(t){var e=function(){t._skinLoaded=!0,ev(t)};return function(){t.initialized?e():t.on("init",e)}},zO=function(t,e){var n,r=function(t){var e=t.settings,n=e.skin,r=e.skin_url;if(!1!==n){var o=n||"oxide";r=r?t.documentBaseURI.toAbsolute(r):Mb.baseURL+"/skins/ui/"+o}return r}(e);r&&(n=r+"/skin.min.css",e.contentCSS.push(r+(t?"/content.inline":"/content")+".min.css")),!1===function(t){return!1===t.getParam("skin")}(e)&&n?gg.DOM.styleSheetLoader.load(n,CO(e)):CO(e)()},DO=a(zO,!1),EO=a(zO,!0),NO=function(t,e,n,r){var o=e.outerContainer,i=n.toolbar,a=n.buttons;if(C(i,A)){var s=i.map((function(e){return eS(t,{toolbar:e,buttons:a},{backstage:r},y.none())}));TO.setToolbars(o,s)}else TO.setToolbar(o,eS(t,n,{backstage:r},y.none()))},BO=gg.DOM,PO=Cn(),RO=PO.os.isiOS()&&PO.os.version.major<=12,YO={render:function(t,n,r,o,i){var a=on(0);DO(t),function(t,e){Hu(t,e,To)}(sn.fromDom(i.targetNode),n.mothership),Wu(Gn(),n.uiMothership),t.on("PostRender",(function(){NO(t,n,r,o),a.set(t.getWin().innerWidth),TO.setMenubar(n.outerContainer,OO(t,r)),TO.setSidebar(n.outerContainer,r.sidebar),function(t){var e=t.getWin(),n=t.getDoc().documentElement,r=on(sa(e.innerWidth,e.innerHeight)),o=on(sa(n.offsetWidth,n.offsetHeight)),i=function(n){var i=t.getDoc().documentElement,a=r.get(),s=o.get();a.left()!==e.innerWidth||a.top()!==e.innerHeight?(r.set(sa(e.innerWidth,e.innerHeight)),ov(t,n)):s.left()===i.offsetWidth&&s.top()===i.offsetHeight||(o.set(sa(i.offsetWidth,i.offsetHeight)),ov(t,n))},a=function(e){return rv(t,e)};BO.bind(e,"resize",i),BO.bind(e,"scroll",a);var s=Zv(sn.fromDom(t.getBody()),"load",i);t.on("remove",(function(){s.unbind(),BO.unbind(e,"resize",i),BO.unbind(e,"scroll",a)}))}(t)}));var s,c,u,l=TO.getSocket(n.outerContainer).getOrDie("Could not find expected socket element");if(!0===RO){Ni(l.element(),{overflow:"scroll","-webkit-overflow-scrolling":"touch"});var d=(s=function(){t.fire("ScrollContent")},c=20,u=null,{cancel:function(){null!==u&&(e.clearTimeout(u),u=null)},throttle:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];null===u&&(u=e.setTimeout((function(){s.apply(null,t),u=null}),c))}});Qv(l.element(),"scroll",d.throttle)}LT(t,n),t.addCommand("ToggleSidebar",(function(e,r){TO.toggleSidebar(n.outerContainer,r),t.fire("ToggleSidebar")})),t.addQueryValueHandler("ToggleSidebar",(function(){return TO.whichSidebar(n.outerContainer)}));var f=zb(t);return f!==vb.sliding&&f!==vb.floating||t.on("ResizeWindow ResizeEditor ResizeContent",(function(){var e=t.getWin().innerWidth;e!==a.get()&&(TO.refreshToolbar(n.outerContainer),a.set(e))})),{iframeContainer:l.element().dom(),editorContainer:n.outerContainer.element().dom()}}},WO=function(t,e,n){var r=e.filter((function(e){return t<e})),o=n.filter((function(e){return t>e}));return r.or(o).getOr(t)},HO=function(t){return/^[0-9\.]+(|px)$/i.test(""+t)?y.some(parseInt(""+t,10)):y.none()},qO=function(t){return O(t)?t+"px":t},IO=function(t){return function(t){var e=_b(t),n=Ab(t),r=Tb(t);return HO(e).map((function(t){return WO(t,n,r)}))}(t).getOr(_b(t))},jO=function(t){var e=wb(t),n=xb(t),r=Lb(t);return HO(e).map((function(t){return WO(t,n,r)}))},XO={render:function(t,e,n,r,o){var i,a=gg.DOM,s=Eb(t),c=Bb(t),u=sn.fromDom(o.targetNode),l=Lb(t).or(jO(t)),d=zb(t),f=d===vb.sliding||d===vb.floating;EO(t);var h=function(t){(void 0===t&&(t=!1),f&&TO.refreshToolbar(e.outerContainer),s)||function(t){var n=f?t.fold((function(){return 0}),(function(t){return t.components().length>1?oa(t.components()[1].element()):0})):0,r=ua(u),o=r.top()-oa(i.element())+n;Ni(e.outerContainer.element(),{position:"absolute",top:Math.round(o)+"px",left:Math.round(r.left())+"px"});var a=l.getOrThunk((function(){var t=HO(Bi(Gn(),"margin-left")).getOr(0);return fa(Gn())-r.left()+t}));Ei(i.element(),"max-width",a+"px")}(TO.getToolbar(e.outerContainer));c&&(t?VS.reset(i):VS.refresh(i))},p=function(){Ei(e.outerContainer.element(),"display","flex"),a.addClass(t.getBody(),"mce-edit-focus"),Wi(e.uiMothership.element(),"display"),h()},m=function(){e.outerContainer&&(Ei(e.outerContainer.element(),"display","none"),a.removeClass(t.getBody(),"mce-edit-focus")),Ei(e.uiMothership.element(),"display","none")},g=function(){if(i)p();else{i=TO.getHeader(e.outerContainer).getOrDie();var o=function(t){return Db(t).getOr(Gn())}(t);Wu(o,e.mothership),Wu(o,e.uiMothership),NO(t,e,n,r),TO.setMenubar(e.outerContainer,OO(t,n)),p(),t.on("activate",p),t.on("deactivate",m),t.on("NodeChange SkinLoaded ResizeWindow",(function(){t.hidden||h(!0)})),t.nodeChanged()}};return t.on("focus",g),t.on("blur hide",m),t.on("init",(function(){t.hasFocus()&&g()})),LT(t,e),{editorContainer:e.outerContainer.element().dom()}}},FO=function(t){Xx.each([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],(function(e){t.ui.registry.addToggleButton(e.name,{tooltip:e.text,onAction:function(){return t.execCommand(e.cmd)},icon:e.icon,onSetup:Ck(t,e.name)})}));var e="alignnone",n="No alignment",r="JustifyNone",o="align-none";t.ui.registry.addButton(e,{tooltip:n,onAction:function(){return t.execCommand(r)},icon:o})},UO=function(t,e){return function(){t.execCommand("mceToggleFormat",!1,e)}},VO=function(t){!function(t){Xx.each([{name:"bold",text:"Bold",icon:"bold"},{name:"italic",text:"Italic",icon:"italic"},{name:"underline",text:"Underline",icon:"underline"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],(function(e,n){t.ui.registry.addToggleButton(e.name,{tooltip:e.text,icon:e.icon,onSetup:Ck(t,e.name),onAction:UO(t,e.name)})}));for(var e=1;e<=6;e++){var n="h"+e;t.ui.registry.addToggleButton(n,{text:n.toUpperCase(),tooltip:"Heading "+e,onSetup:Ck(t,n),onAction:UO(t,n)})}}(t),function(t){Xx.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"copy",text:"Copy",action:"Copy",icon:"copy"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"help",text:"Help",action:"mceHelp",icon:"help"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"}],(function(e){t.ui.registry.addButton(e.name,{tooltip:e.text,icon:e.icon,onAction:function(){return t.execCommand(e.action)}})}))}(t),function(t){Xx.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],(function(e){t.ui.registry.addToggleButton(e.name,{tooltip:e.text,icon:e.icon,onAction:function(){return t.execCommand(e.action)},onSetup:Ck(t,e.name)})}))}(t)},GO=function(t){VO(t),function(t){Xx.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through",shortcut:""},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript",shortcut:""},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript",shortcut:""},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting",shortcut:""},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document",shortcut:""},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A"}],(function(e){t.ui.registry.addMenuItem(e.name,{text:e.text,icon:e.icon,shortcut:e.shortcut,onAction:function(){return t.execCommand(e.action)}})})),t.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onAction:UO(t,"code")})}(t)},$O=function(t,e,n){var r=function(){return!!e.undoManager&&e.undoManager[n]()},o=function(){t.setDisabled(e.readonly||!r())};return t.setDisabled(!r()),e.on("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",o),function(){return e.off("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",o)}},KO=function(t){!function(t){t.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:function(e){return $O(e,t,"hasUndo")},onAction:function(){return t.execCommand("undo")}}),t.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:function(e){return $O(e,t,"hasRedo")},onAction:function(){return t.execCommand("redo")}})}(t),function(t){t.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",onSetup:function(e){return $O(e,t,"hasUndo")},onAction:function(){return t.execCommand("undo")}}),t.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",onSetup:function(e){return $O(e,t,"hasRedo")},onAction:function(){return t.execCommand("redo")}})}(t)},JO=function(t){!function(t){t.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:function(){return t.execCommand("mceToggleVisualAid")}})}(t),function(t){t.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:function(e){return function(t,e){t.setActive(e.hasVisual);var n=function(e){t.setActive(e.hasVisual)};return e.on("VisualAid",n),function(){return e.off("VisualAid",n)}}(e,t)},onAction:function(){t.execCommand("mceToggleVisualAid")}})}(t)},QO=function(t){!function(t){t.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:function(e){return function(t,e){t.setDisabled(!e.queryCommandState("outdent"));var n=function(){t.setDisabled(!e.queryCommandState("outdent"))};return e.on("NodeChange",n),function(){return e.off("NodeChange",n)}}(e,t)},onAction:function(){return t.execCommand("outdent")}}),t.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onAction:function(){return t.execCommand("indent")}})}(t)},ZO=function(t,e){!function(t,e){var n=Ek(0,e,Yk(t));t.ui.registry.addNestedMenuItem("align",{text:e.shared.providers.translate("Align"),getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(t,e),function(t,e){var n=Ek(0,e,qk(t));t.ui.registry.addNestedMenuItem("fontformats",{text:e.shared.providers.translate("Fonts"),getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(t,e),function(t,e){var n=f({type:"advanced"},e.styleselect),r=Ek(0,e,Gk(t,n));t.ui.registry.addNestedMenuItem("formats",{text:"Formats",getSubmenuItems:function(){return r.items.validateItems(r.getStyleItems())}})}(t,e),function(t,e){var n=Ek(0,e,Vk(t));t.ui.registry.addNestedMenuItem("blockformats",{text:"Blocks",getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(t,e),function(t,e){var n=Ek(0,e,Xk(t));t.ui.registry.addNestedMenuItem("fontsizes",{text:"Font sizes",getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(t,e)},tC=function(t,e){FO(t),GO(t),ZO(t,e),KO(t),gv.register(t),JO(t),QO(t)},eC=function(t,e){return{anchor:"makeshift",x:t,y:e}},nC=function(t){return"longpress"===t.type||0===t.type.indexOf("touch")},rC=function(t,e){var n=gg.DOM.getPos(t);return function(t,e,n){return eC(t.x+e,t.y+n)}(e,n.x,n.y)},oC=function(t,e){return"contextmenu"===e.type?t.inline?function(t){if(nC(t)){var e=t.touches[0];return eC(e.pageX,e.pageY)}return eC(t.pageX,t.pageY)}(e):rC(t.getContentAreaContainer(),function(t){if(nC(t)){var e=t.touches[0];return eC(e.clientX,e.clientY)}return eC(t.clientX,t.clientY)}(e)):iC(t)},iC=function(t){return{anchor:"selection",root:sn.fromDom(t.selection.getNode())}},aC=function(t){return{anchor:"node",node:y.some(sn.fromDom(t.selection.getNode())),root:sn.fromDom(t.getBody())}},sC=function(t,e,n,r,o,i){var a=n(),s=function(t,e,n){return n?aC(t):oC(t,e)}(t,e,i);px(a,lg.CLOSE_ON_EXECUTE,r,!1).map((function(t){e.preventDefault(),gp.showMenuAt(o,s,{menu:{markers:wv("normal")},data:t})}))},cC={onLtr:function(){return[Ms,ms,gs,vs,bs,ys,Tp,kp,Ap,wp,Lp,xp]},onRtl:function(){return[Ms,gs,ms,bs,vs,ys,Tp,kp,Lp,xp,Ap,wp]}},uC={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},lC=function(t,e,n,r,o,i){var a=function(t,e){var n=e?aC(t):iC(t);return f({bubble:Xs(0,12,uC),layouts:cC,overrides:{maxWidthFunction:YA(),maxHeightFunction:Mu()}},n)}(t,i);px(n,lg.CLOSE_ON_EXECUTE,r,!0).map((function(n){e.preventDefault(),gp.showMenuWithinBounds(o,a,{menu:{markers:wv("normal")},data:n,type:"horizontal"},(function(){return y.some(xk(t))})),t.fire("contexttoolbar-hide")}))},dC=function(t,e,n,r,o,i){var a=Cn(),s=a.os.isiOS(),c=a.os.isOSX(),u=a.os.isAndroid(),l=function(){var a=n();lC(t,e,a,r,o,i)};if(!c&&!s||i)u&&!i&&t.selection.setCursorLocation(e.target,0),l();else{var d=function(){!function(t){var e=t.selection.getRng(),n=function(){Bp.setEditorTimeout(t,(function(){t.selection.setRng(e)}),10),i()};t.once("touchend",n);var r=function(t){t.preventDefault(),t.stopImmediatePropagation()};t.on("mousedown",r,!0);var o=function(){return i()};t.once("longpresscancel",o);var i=function(){t.off("touchend",n),t.off("longpresscancel",o),t.off("mousedown",r)}}(t),l()};!function(t,e){var n=t.selection;if(n.isCollapsed()||e.touches.length<1)return!1;var r=e.touches[0],o=n.getRng();return Rc(t.getWin(),dc.domRange(o)).exists((function(t){return t.left()<=r.clientX&&t.right()>=r.clientX&&t.top()<=r.clientY&&t.bottom()>=r.clientY}))}(t,e)?(t.once("selectionchange",d),t.once("touchend",(function(){return t.off("selectionchange",d)}))):d()}},fC=function(t){return"string"==typeof t?t.split(/[ ,]/):t},hC=function(t){return t.settings.contextmenu_never_use_native||!1},pC=function(t){return function(t,e,n){var r=t.ui.registry.getAll().contextMenus;return ct(t.settings,e).map(fC).getOrThunk((function(){return H(fC(n),(function(t){return ut(r,t)}))}))}(t,"contextmenu","link linkchecker image imagetools table spellchecker configurepermanentpen")},mC=function(t){return!1===t.getParam("contextmenu")},gC=function(t){return A(t)?"|"===t:"separator"===t.type},vC={type:"separator"},bC=function(t){if(A(t))return t;switch(t.type){case"separator":return vC;case"submenu":return{type:"nestedmenuitem",text:t.text,icon:t.icon,getSubmenuItems:function(){var e=t.getSubmenuItems();return A(e)?e:Y(e,bC)}};default:return{type:"menuitem",text:t.text,icon:t.icon,onAction:(e=t.onAction,function(){return e()})}}var e},yC=function(t,e){if(0===e.length)return t;var n=Q(t).filter((function(t){return!gC(t)})).fold((function(){return[]}),(function(t){return[vC]}));return t.concat(n).concat(e).concat([vC])},MC=function(t,e,n){var r=Cn().deviceType.isTouch,o=Zi(gp.sketch({dom:{tag:"div"},lazySink:e,onEscape:function(){return t.focus()},onShow:function(){return n.setContextMenuState(!0)},onHide:function(){return n.setContextMenuState(!1)},fireDismissalEventInstead:{},inlineBehaviours:Os([zh("dismissContextMenu",[eo(Yr(),(function(e,n){Ju.close(e),t.focus()}))])])})),i=function(t){return gp.hide(o)},a=function(e){var i="longpress"===e.type;if(hC(t)&&e.preventDefault(),!function(t,e){return e.ctrlKey&&!hC(t)}(t,e)&&!mC(t)){var a=!i&&(2!==e.button||e.target===t.getBody());(r()?dC:sC)(t,e,(function(){var n=a?t.selection.getStart(!0):e.target,r=t.ui.registry.getAll(),o=pC(t);return function(t,e,n){var r=I(e,(function(e,r){if(ut(t,r)){var o=t[r].update(n);if(A(o))return yC(e,o.split(" "));if(o.length>0){var i=Y(o,bC);return yC(e,i)}return e}return e.concat([r])}),[]);return r.length>0&&gC(r[r.length-1])&&r.pop(),r}(r.contextMenus,o,n)}),n,o,a)}};t.on("init",(function(){var e="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(r()?"":" ResizeWindow");t.on(e,i),t.on(r()?"longpress":"longpress contextmenu",a)}))},_C=function(t,e){t.getSystem().addToGui(e),function(t){_o(t.element()).filter(Fn).each((function(e){Ri(e,"z-index").each((function(t){Po(e,"data-initial-z-index",t)})),Ei(e,"z-index",Bi(t.element(),"z-index"))}))}(e)},wC=function(t){!function(t){_o(t.element()).filter(Fn).each((function(t){var e=Ro(t,"data-initial-z-index");Yo(t,"data-initial-z-index")?Ei(t,"z-index",e):Wi(t,"z-index"),Wo(t,"data-initial-z-index")}))}(t),t.getSystem().removeFromGui(t)},xC=function(t,e,n){return t.getSystem().build(bb.sketch({dom:{styles:{left:"0px",top:"0px",width:"100%",height:"100%",position:"fixed","z-index":"1000000000000000"},classes:[e]},events:n}))},AC=Ge("snaps",[Ne("getSnapPoints"),Ua("onSensor"),Ne("leftAttr"),Ne("topAttr"),$e("lazyViewport",La),$e("mustSnap",!1)]),LC=[$e("useFixed",u),Ne("blockerClass"),$e("getTarget",i),$e("onDrag",n),$e("repositionTarget",!0),$e("onDrop",n),en("getBounds",La),AC],TC=function(t,e,n,r){return function(t,e){var n=t.element(),r=parseInt(Ro(n,e.leftAttr),10),o=parseInt(Ro(n,e.topAttr),10);return isNaN(r)||isNaN(o)?y.none():y.some(sa(r,o))}(t,e).fold((function(){return n}),(function(t){return kS(t.left()+r.left(),t.top()+r.top())}))},kC=function(t,e,n,r,o,i){var a=TC(t,e,n,r),s=e.mustSnap?CC(t,e,a,o,i):zC(t,e,a,o,i),c=MS(a,o,i);return function(t,e,n){var r=t.element();Po(r,e.leftAttr,n.left()+"px"),Po(r,e.topAttr,n.top()+"px")}(t,e,c),s.fold((function(){return{coord:kS(c.left(),c.top()),extra:y.none()}}),(function(t){return{coord:t.output(),extra:t.extra()}}))},SC=function(t,e){!function(t,e){var n=t.element();Wo(n,e.leftAttr),Wo(n,e.topAttr)}(t,e)},OC=function(t,e,n,r){return Ea(t,(function(t){var i=t.sensor();return function(t,e,n,r,o,i){var a=_S(t,o,i),s=_S(e,o,i);return Math.abs(a.left()-s.left())<=n&&Math.abs(a.top()-s.top())<=r}(e,i,t.range().left(),t.range().top(),n,r)?y.some({output:o(AS(t.output(),e,n,r)),extra:t.extra}):y.none()}))},CC=function(t,e,n,r,i){var a=e.getSnapPoints(t);return OC(a,n,r,i).orThunk((function(){return I(a,(function(t,e){var o=e.sensor(),a=function(t,e,n,r,o,i){var a=_S(t,o,i),s=_S(e,o,i),c=Math.abs(a.left()-s.left()),u=Math.abs(a.top()-s.top());return sa(c,u)}(n,o,e.range().left(),e.range().top(),r,i);return t.deltas.fold((function(){return{deltas:y.some(a),snap:y.some(e)}}),(function(n){return(a.left()+a.top())/2<=(n.left()+n.top())/2?{deltas:y.some(a),snap:y.some(e)}:t}))}),{deltas:y.none(),snap:y.none()}).snap.map((function(t){return{output:o(AS(t.output(),n,r,i)),extra:t.extra}}))}))},zC=function(t,e,n,r,o){var i=e.getSnapPoints(t);return OC(i,n,r,o)},DC=function(t){return(e=Ri(t,"left"),n=Ri(t,"top"),r=Ri(t,"position"),o=function(t,e,n){return("fixed"===n?kS:LS)(parseInt(t,10),parseInt(e,10))},e.isSome()&&n.isSome()&&r.isSome()?y.some(o(e.getOrDie(),n.getOrDie(),r.getOrDie())):y.none()).getOrThunk((function(){var e=ua(t);return TS(e.left(),e.top())}));var e,n,r,o},EC=function(t,e,n,r,o,i,a){return function(t,e,n,r,o){var i=o.bounds,a=_S(e,n,r),s=hu(a.left(),i.x(),i.x()+i.width()-o.width),c=hu(a.top(),i.y(),i.y()+i.height()-o.height),u=TS(s,c);return e.fold((function(){var t=wS(u,n,r);return LS(t.left(),t.top())}),(function(){return u}),(function(){var t=MS(u,n,r);return kS(t.left(),t.top())}))}(0,e.fold((function(){var t,e,a,s=(t=n,e=i.left(),a=i.top(),t.fold((function(t,n){return gS.offset(t+e,n+a)}),(function(t,n){return gS.absolute(t+e,n+a)}),(function(t,n){return gS.fixed(t+e,n+a)}))),c=MS(s,r,o);return kS(c.left(),c.top())}),(function(e){var a=kC(t,e,n,i,r,o);return a.extra.each((function(n){e.onSensor(t,n)})),a.coord})),r,o,a)},NC=function(t,e){return{bounds:t.getBounds(),height:ia(e.element()),width:ha(e.element())}},BC=function(t,e,n,r,o){var i=n.update(r,o),a=n.getStartData().getOrThunk((function(){return NC(e,t)}));i.each((function(n){!function(t,e,n,r){var o=e.getTarget(t.element());if(e.repositionTarget){var i=bo(t.element()),a=pa(i),s=mS(o),c=DC(o),u=EC(t,e.snaps,c,a,s,r,n),l=xS(u,0,s);Ni(o,l)}e.onDrag(t,o,r)}(t,e,a,n)}))},PC=function(t,e,n,r){e.each(wC),n.snaps.each((function(e){SC(t,e)}));var o=n.getTarget(t.element());r.reset(),n.onDrop(t,o)},RC=function(t){return function(e,n){var r=function(t){n.setStartData(NC(e,t))};return Qr(p([eo(Nr(),(function(t){n.getStartData().each((function(){return r(t)}))}))],t(e,n,r)))}},YC=Object.freeze({getData:function(t){return y.from(sa(t.x(),t.y()))},getDelta:function(t,e){return sa(e.left()-t.left(),e.top()-t.top())}}),WC=function(t,e,n){return[eo(ar(),(function(r,o){if(0===o.event().raw().button){o.stop();var i=function(){return PC(r,y.some(c),t,e)},a=nb(i,200),s={drop:i,delayDrop:a.schedule,forceDrop:i,move:function(n){a.cancel(),BC(r,t,e,YC,n)}},c=xC(r,t.blockerClass,function(t){return Qr([eo(ar(),t.forceDrop),eo(ur(),t.drop),eo(sr(),(function(e,n){t.move(n.event())})),eo(cr(),t.delayDrop)])}(s));n(r),_C(r,c)}}))]},HC=p(LC,[Ka("dragger",{handlers:RC(WC)})]),qC=Object.freeze({getData:function(t){var e=t.raw().touches;return 1===e.length?function(t){var e=t[0];return y.some(sa(e.clientX,e.clientY))}(e):y.none()},getDelta:function(t,e){return sa(e.left()-t.left(),e.top()-t.top())}}),IC=function(t,e,n){var r=on(y.none());return[eo(nr(),(function(o,i){i.stop();var a=function(){PC(o,r.get(),t,e),r.set(y.none())},s={drop:a,delayDrop:function(){},forceDrop:a,move:function(n){BC(o,t,e,qC,n)}},c=xC(o,t.blockerClass,function(t){return Qr([eo(nr(),t.forceDrop),eo(or(),t.drop),eo(ir(),t.drop),eo(rr(),(function(e,n){t.move(n.event())}))])}(s));r.set(y.some(c));n(o),_C(o,c)})),eo(rr(),(function(n,r){r.stop(),BC(n,t,e,qC,r.event())})),eo(or(),(function(n,o){o.stop(),PC(n,r.get(),t,e),r.set(y.none())})),eo(ir(),(function(n){PC(n,r.get(),t,e),r.set(y.none())}))]},jC=HC,XC=p(LC,[Ka("dragger",{handlers:RC(IC)})]),FC=p(LC,[Ka("dragger",{handlers:RC((function(t,e,n){return p(WC(t,e,n),IC(t,e,n))}))})]),UC=Object.freeze({mouse:jC,touch:XC,mouseOrTouch:FC}),VC=Object.freeze({init:function(){var t=y.none(),e=y.none(),n=o({});return ui({readState:n,reset:function(){t=y.none(),e=y.none()},update:function(e,n){return e.getData(n).bind((function(n){return function(e,n){var r=t.map((function(t){return e.getDelta(t,n)}));return t=y.some(n),r}(e,n)}))},getStartData:function(){return e},setStartData:function(t){e=y.some(t)}})}}),GC=Object.freeze({snapTo:function(t,e,n,r){var o=e.getTarget(t.element());if(e.repositionTarget){var i=bo(t.element()),a=pa(i),s=mS(o),c=function(t,e,n){return{coord:AS(t.output(),t.output(),e,n),extra:t.extra()}}(r,a,s),u=xS(c.coord,0,s);Ni(o,u)}}}),$C=Es({branchKey:"mode",branches:UC,name:"dragging",active:{events:function(t,e){return t.dragger.handlers(t,e)}},extra:{snap:vo(["sensor","range","output"],["extra"])},state:VC,apis:GC}),KC=Cn(),JC=function(t,e,n,r,o,i){return t.fold((function(){return $C.snap({sensor:TS(n-20,r-20),range:sa(o,i),output:TS(y.some(n),y.some(r)),extra:{td:e}})}),(function(t){var o=n-20,i=r-20,a=t.element().dom().getBoundingClientRect();return $C.snap({sensor:TS(o,i),range:sa(40,40),output:TS(y.some(n-a.width/2),y.some(r-a.height/2)),extra:{td:e}})}))},QC=function(t,e,n){return{getSnapPoints:t,leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:function(t,r){var o=r.td;(function(t,e){return t.exists((function(t){return Wn(t,e)}))})(e.get(),o)||(e.set(y.some(o)),n(o))},mustSnap:!0}},ZC=function(t){return Op(Sp.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:Os([$C.config({mode:"mouseOrTouch",blockerClass:"blocker",snaps:t}),Vy.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"],touchstart:["dragging","alloy.base.behaviour"]}}))},tz=function(t,e){var n=on([]),r=on([]),o=on(!1),i=on(y.none()),a=on(y.none()),s=function(t){var n=Aa(t);return JC(d.getOpt(e),t,n.x(),n.y(),n.width(),n.height())},c=function(t){var n=Aa(t);return JC(f.getOpt(e),t,n.right(),n.bottom(),n.width(),n.height())},u=QC((function(){return Y(n.get(),(function(t){return s(t)}))}),i,(function(e){a.get().each((function(n){t.fire("TableSelectorChange",{start:e,finish:n})}))})),l=QC((function(){return Y(r.get(),(function(t){return c(t)}))}),a,(function(e){i.get().each((function(n){t.fire("TableSelectorChange",{start:n,finish:e})}))})),d=ZC(u),f=ZC(l),h=Zi(d.asSpec()),p=Zi(f.asSpec()),m=function(e,n,r,o){var i=r(n);$C.snapTo(e,i);!function(e,n,r,o){var i=n.dom().getBoundingClientRect();Wi(e.element(),"display");var a=Mo(sn.fromDom(t.getBody())).dom().innerHeight,s=r(i),c=o(i,a);(s||c)&&Ei(e.element(),"display","none")}(e,n,(function(t){return t[o]<0}),(function(t,e){return t[o]>e}))},g=function(t){return m(h,t,s,"top")},v=function(t){return m(p,t,c,"bottom")};KC.deviceType.isTouch()&&(t.on("TableSelectionChange",(function(t){o.get()||(Nu(e,h),Nu(e,p),o.set(!0)),i.set(y.some(t.start)),a.set(y.some(t.finish)),t.otherCells.each((function(e){n.set(e.upOrLeftCells),r.set(e.downOrRightCells),g(t.start),v(t.finish)}))})),t.on("ResizeEditor ResizeWindow ScrollContent",(function(){i.get().each(g),a.get().each(v)})),t.on("TableSelectionClear",(function(){o.get()&&(Ru(h),Ru(p),o.set(!1)),i.set(y.none()),a.set(y.none())})))};!function(t){t[t.None=0]="None",t[t.Both=1]="Both",t[t.Vertical=2]="Vertical"}(Bk||(Bk={}));var ez,nz=function(t,e,n){var r=sn.fromDom(t.getContainer()),o=function(t,e,n,r,o){var i={};return i.height=WO(r+e.top(),Ab(t),Tb(t)),n===Bk.Both&&(i.width=WO(o+e.left(),xb(t),Lb(t))),i}(t,e,n,oa(r),fa(r));nt(o,(function(t,e){return Ei(r,e,qO(t))})),nv(t)},rz=function(t){if(1===t.nodeType){if("BR"===t.nodeName||t.getAttribute("data-mce-bogus"))return!0;if("bookmark"===t.getAttribute("data-mce-type"))return!0}return!1},oz=function(t,e){e.delimiter||(e.delimiter="»");return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"navigation"}},behaviours:Os([Lh.config({mode:"flow",selector:"div[role=button]"}),xy.config({}),Ch.config({}),zh("elementPathEvents",[uo((function(n,r){t.shortcuts.add("alt+F11","focus statusbar elementpath",(function(){return Lh.focusIn(n)})),t.on("NodeChange",(function(r){var o,i,a=function(e){for(var n=[],r=e.length;r-- >0;){var o=e[r];if(1===o.nodeType&&!rz(o)){var i=t.fire("ResolveName",{name:o.nodeName.toLowerCase(),target:o});if(i.isDefaultPrevented()||n.push({name:i.name,element:o}),i.isPropagationStopped())break}}return n}(r.parents);a.length>0&&Ch.set(n,(o=Y(a||[],(function(e,n){return Sp.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{role:"button","data-index":n,"tab-index":-1,"aria-level":n+1},innerHtml:e.name},action:function(n){t.focus(),t.selection.select(e.element),t.nodeChanged()}})})),i={dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0},innerHtml:" "+e.delimiter+" "}},I(o.slice(1),(function(t,e){var n=t;return n.push(i),n.push(e),n}),[o[0]])))}))}))])]),components:[]}},iz=function(t,e){var n=function(){var n,r=[];return t.getParam("elementpath",!0,"boolean")&&r.push(oz(t,{})),wn(t.settings.plugins,"wordcount")&&r.push(function(t,e){var n=function(t,n,r){return Ch.set(t,[Ki(e.translate(["{0} "+r,n[r]]))])};return Sp.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:Os([xy.config({}),Ch.config({}),vl.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),zh("wordcount-events",[ho((function(t){var e=vl.getValue(t),r="words"===e.mode?"characters":"words";vl.setValue(t,{mode:r,count:e.count}),n(t,e.count,r)})),uo((function(e){t.on("wordCountUpdate",(function(t){var r=vl.getValue(e).mode;vl.setValue(e,{mode:r,count:t.wordCount}),n(e,t.wordCount,r)}))}))])])})}(t,e)),t.getParam("branding",!0,"boolean")&&r.push({dom:{tag:"span",classes:["tox-statusbar__branding"],innerHtml:'<a href="https://www.tiny.cloud/?utm_campaign=editor_referral&utm_medium=poweredby&utm_source=tinymce&utm_content=v5" rel="noopener" target="_blank" tabindex="-1" aria-label="'+(n=Lm.translate(["Powered by {0}","Tiny"]))+'">'+n+"</a>"}}),r.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container"]},components:r}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:function(){var r=n(),o=function(t){var e=!wn(t.settings.plugins,"autoresize"),n=t.getParam("resize",e);return!1===n?Bk.None:"both"===n?Bk.Both:Bk.Vertical}(t);return o!==Bk.None&&r.push(function(n){return{dom:{tag:"div",classes:["tox-statusbar__resize-handle"],attributes:{title:e.translate("Resize")},innerHtml:zp("resize-handle",e.icons)},behaviours:Os([$C.config({mode:"mouse",repositionTarget:!1,onDrag:function(e,r,o){nz(t,o,n)},blockerClass:"tox-blocker"})])}}(o)),r}()}},az=function(t){var e=t.inline,n=e?XO:YO,r=Bb(t)?ZS:rO,o=y.none(),i=Cn(),a=i.browser.isIE()?["tox-platform-ie"]:[],s=i.deviceType.isTouch()?["tox-platform-touch"]:[],c=Lm.isRtl()?{attributes:{dir:"rtl"}}:{},u=function(){return o.bind(TO.getHeader)},l=Zi({dom:f({tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(a).concat(s)},c),behaviours:Os([Ou.config({useFixed:function(){return r.isDocked(u)}})])}),d=function(){return w.value(l)},h=Op({dom:{tag:"div",classes:["tox-anchorbar"]}}),p=function(){return o.bind((function(t){return TO.getMoreButton(t)})).getOrDie("Could not find more button element")},m=function(){return o.bind((function(t){return TO.getThrobber(t)})).getOrDie("Could not find throbber element")},g=EL(l,t,(function(){return o.bind((function(t){return h.getOpt(t)})).getOrDie("Could not find a anchor bar element")}),p),v=TO.parts().menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:g,onEscape:function(){t.focus()}}),b=zb(t),M=TO.parts().toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:d,backstage:g,onEscape:function(){t.focus()},split:b,lazyToolbar:function(){return o.bind((function(t){return TO.getToolbar(t)})).getOrDie("Could not find more toolbar element")},lazyMoreButton:p,lazyHeader:function(){return u().getOrDie("Could not find header element")}}),_=TO.parts()["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},onEscape:function(){},split:b}),x=TO.parts().socket({dom:{tag:"div",classes:["tox-edit-area"]}}),A=TO.parts().sidebar({dom:{tag:"div",classes:["tox-sidebar"]}}),L=TO.parts().throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:g}),T=t.getParam("statusbar",!0,"boolean")&&!e?y.some(iz(t,g.shared.providers)):y.none(),k={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[x,A]},S=Cb(t),O=Sb(t),C=kb(t),z=TO.parts().header({dom:{tag:"div",classes:["tox-editor-header"]},components:F([C?[v]:[],S?[_]:O?[M]:[],Eb(t)?[]:[h.asSpec()]]),sticky:Bb(t),editor:t,getSink:d}),D=F([[z],e?[]:[k]]),E=F([[{dom:{tag:"div",classes:["tox-editor-container"]},components:D}],e?[]:T.toArray(),[L]]),N=Nb(t),B=f(f({role:"application"},Lm.isRtl()?{dir:"rtl"}:{}),N?{"aria-hidden":"true"}:{}),P=Zi(TO.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(e?["tox-tinymce-inline"]:[]).concat(s).concat(a),styles:f({visibility:"hidden"},N?{opacity:"0",border:"0"}:{}),attributes:B},components:E,behaviours:Os([Lh.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a"})])}));o=y.some(P),t.shortcuts.add("alt+F9","focus menubar",(function(){TO.focusMenubar(P)})),t.shortcuts.add("alt+F10","focus toolbar",(function(){TO.focusToolbar(P)}));var R=yb(P),Y=yb(l);sS(t,R,Y),Rb(t);var H=function(){var e=qO(IO(t)),n=qO(function(t){return jO(t).getOr(wb(t))}(t));return t.inline||(Yi("div","width",n)&&Ei(P.element(),"width",n),Yi("div","height",e)?Ei(P.element(),"height",e):Ei(P.element(),"height","200px")),e};return{mothership:R,uiMothership:Y,backstage:g,renderUI:function(){r.setup(t,u),tC(t,g),MC(t,d,g),function(t){var e=t.ui.registry.getAll().sidebars;W(tt(e),(function(n){var r=e[n],o=function(){return y.from(t.queryCommandValue("ToggleSidebar")).is(n)};t.ui.registry.addToggleButton(n,{icon:r.icon,tooltip:r.tooltip,onAction:function(e){t.execCommand("ToggleSidebar",!1,n),e.setActive(o())},onSetup:function(e){var n=function(){return e.setActive(o())};return t.on("ToggleSidebar",n),function(){t.off("ToggleSidebar",n)}}})}))}(t),bO(t,m,g.shared);var e=t.ui.registry.getAll(),o=e.buttons,i=e.menuItems,a=e.contextToolbars,s=e.sidebars,c=Ob(t),f={menuItems:i,menus:t.settings.menu?rt(t.settings.menu,(function(t){return pt(t,{items:t.items})})):{},menubar:t.settings.menubar,toolbar:c.getOrThunk((function(){return t.getParam("toolbar",!0)})),buttons:o,sidebar:s};aS(t,a,l,{backstage:g}),tz(t,l);var h=t.getElement(),p=H(),v={mothership:R,uiMothership:Y,outerContainer:P},b={targetNode:h,height:p};return n.render(t,v,f,g,b)},getUi:function(){return{channels:{broadcastAll:Y.broadcast,broadcastOn:Y.broadcastOn,register:function(){}}}}}},sz=function(t,e){var n=y.from(Ro(t,"id")).fold((function(){var t=Uo("dialog-label");return Po(e,"id",t),t}),i);Po(t,"aria-labelledby",n)},cz=o([Ne("lazySink"),je("dragBlockClass"),en("getBounds",La),$e("useTabstopAt",o(!0)),$e("eventOrder",{}),bl("modalBehaviours",[Lh]),Va("onExecute"),$a("onEscape")]),uz={sketch:i},lz=o([Vl({name:"draghandle",overrides:function(t,e){return{behaviours:Os([$C.config({mode:"mouse",getTarget:function(t){return Ta(t,'[role="dialog"]').getOr(t)},blockerClass:t.dragBlockClass.getOrDie(new Error("The drag blocker class was not specified for a dialog with a drag handle: \n"+JSON.stringify(e,null,2)).message),getBounds:t.getDragBounds})])}}}),Fl({schema:[Ne("dom")],name:"title"}),Fl({factory:uz,schema:[Ne("dom")],name:"close"}),Fl({factory:uz,schema:[Ne("dom")],name:"body"}),Vl({factory:uz,schema:[Ne("dom")],name:"footer"}),Ul({factory:{sketch:function(t,e){return f(f({},t),{dom:e.dom,components:e.components})}},schema:[$e("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),$e("components",[])],name:"blocker"})]),dz=_d({name:"ModalDialog",configFields:cz(),partFields:lz(),factory:function(t,e,n,r){var o=Uo("alloy.dialog.busy"),a=Uo("alloy.dialog.idle"),s=Os([Lh.config({mode:"special",onTab:function(){return y.some(!0)},onShiftTab:function(){return y.some(!0)}}),Ph.config({})]),c=Uo("modal-events"),u=f(f({},t.eventOrder),{"alloy.system.attached":[c].concat(t.eventOrder["alloy.system.attached"]||[])});return{uid:t.uid,dom:t.dom,components:e,apis:{show:function(e){var n=t.lazySink(e).getOrDie(),i=on(y.none()),c=r.blocker(),u=n.getSystem().build(f(f({},c),{components:c.components.concat([ta(e)]),behaviours:Os([Ph.config({}),zh("dialog-blocker-events",[co(dr(),(function(){Lh.focusIn(e)})),eo(a,(function(t,n){Yo(e.element(),"aria-busy")&&(Wo(e.element(),"aria-busy"),i.get().each((function(t){return Ch.remove(e,t)})))})),eo(o,(function(t,n){Po(e.element(),"aria-busy","true");var r=n.event().getBusySpec();i.get().each((function(t){Ch.remove(e,t)}));var o=r(e,s),a=t.getSystem().build(o);i.set(y.some(a)),Ch.append(e,ta(a)),a.hasConfigured(Lh)&&Lh.focusIn(a)}))])])}));Nu(n,u),Lh.focusIn(e)},hide:function(t){_o(t.element()).each((function(e){t.getSystem().getByDom(e).each((function(t){Ru(t)}))}))},getBody:function(e){return ad(e,t,"body")},getFooter:function(e){return ad(e,t,"footer")},setIdle:function(t){Ur(t,a)},setBusy:function(t,e){Vr(t,o,{getBusySpec:e})}},eventOrder:u,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:Ml(t.modalBehaviours,[Ch.config({}),Lh.config({mode:"cyclic",onEnter:t.onExecute,onEscape:t.onEscape,useTabstopAt:t.useTabstopAt}),zh(c,[uo((function(e){var n,r,o;sz(e.element(),ad(e,t,"title").element()),n=e.element(),r=ad(e,t,"body").element(),o=y.from(Ro(n,"id")).fold((function(){var t=Uo("dialog-describe");return Po(r,"id",t),t}),i),Po(n,"aria-describedby",o)}))])])}},apis:{show:function(t,e){t.show(e)},hide:function(t,e){t.hide(e)},getBody:function(t,e){return t.getBody(e)},getFooter:function(t,e){return t.getFooter(e)},setBusy:function(t,e,n){t.setBusy(e,n)},setIdle:function(t,e){t.setIdle(e)}}}),fz=[Re("type"),Re("text"),Ye("level",["info","warn","error","success"]),Re("icon"),$e("url","")],hz=ae(fz),pz=[Re("type"),Re("text"),tn("disabled",!1),tn("primary",!1),fe("name","name",_t((function(){return Uo("button-name")})),Se),Ue("icon"),tn("borderless",!1)],mz=ae(pz),gz=[Re("type"),Re("name"),Re("label"),tn("disabled",!1)],vz=ae(gz),bz=Oe,yz=[Re("type"),Re("name")],Mz=yz.concat([Ue("label")]),_z=ae(Mz),wz=Se,xz=ae(Mz),Az=Se,Lz=ae(Mz),Tz=se(me),kz=function(t){return[Re("type"),Pe("columns"),t]},Sz=Mz.concat([tn("sandboxed",!0)]),Oz=ae(Sz),Cz=Se,zz=Mz.concat([Ue("inputMode"),Ue("placeholder"),tn("maximized",!1),tn("disabled",!1)]),Dz=ae(zz),Ez=Se,Nz=Mz.concat([qe("items",[Re("text"),Re("value")]),Je("size",1),tn("disabled",!1)]),Bz=ae(Nz),Pz=Se,Rz=Mz.concat([tn("constrain",!0),tn("disabled",!1)]),Yz=ae(Rz),Wz=ae([Re("width"),Re("height")]),Hz=Mz.concat([Ue("placeholder"),tn("maximized",!1),tn("disabled",!1)]),qz=ae(Hz),Iz=Se,jz=Mz.concat([Ze("filetype","file",["image","media","file"]),$e("disabled",!1)]),Xz=ae(jz),Fz=ae([Re("value"),$e("meta",{})]),Uz=yz.concat([Qe("tag","textarea"),Re("scriptId"),Re("scriptUrl"),function(t,e){return Ke(t,e,De)}("settings",void 0)]),Vz=yz.concat([Qe("tag","textarea"),We("init")]),Gz=ve((function(t){return ye("customeditor.old",ie(Vz),t).orThunk((function(){return ye("customeditor.new",ie(Uz),t)}))})),$z=Se,Kz=[Re("type"),Re("html"),Ze("presets","presentation",["presentation","document"])],Jz=ae(Kz),Qz=Mz.concat([Be("currentState",ae([Ne("blob"),Re("url")]))]),Zz=ae(Qz),tD=Mz.concat([$e("columns","auto")]),eD=ae(tD),nD=(ez=[Re("value"),Re("text"),Re("icon")],le(ez)),rD=function(t){return[Re("type"),Re("label"),t]},oD=[Re("type"),Ie("header",Se),Ie("cells",se(Se))],iD=ae(oD),aD=function(t){return fe("items","items",yt(),se(ve((function(e){return ye("Checking item of "+t,sD,e).fold((function(t){return w.error(we(t))}),(function(t){return w.value(t)}))}))))},sD=ge((function(){return xe("type",{alertbanner:hz,bar:ae((t=aD("bar"),[Re("type"),t])),button:mz,checkbox:vz,colorinput:_z,colorpicker:xz,dropzone:Lz,grid:ae(kz(aD("grid"))),iframe:Oz,input:Dz,selectbox:Bz,sizeinput:Yz,textarea:qz,urlinput:Xz,customeditor:Gz,htmlpanel:Jz,imagetools:Zz,collection:eD,label:ae(rD(aD("label"))),table:iD,panel:uD});var t})),cD=[Re("type"),$e("classes",[]),Ie("items",sD)],uD=ae(cD),lD=[fe("name","name",_t((function(){return Uo("tab-name")})),Se),Re("title"),Ie("items",sD)],dD=[Re("type"),qe("tabs",lD)],fD=ae(dD),hD=ae([Re("type"),Re("name"),tn("active",!1)].concat(sm)),pD=Oe,mD=[fe("name","name",_t((function(){return Uo("button-name")})),Se),Ue("icon"),Ze("align","end",["start","end"]),tn("primary",!1),tn("disabled",!1)],gD=p(mD,[Re("text")]),vD=p([Ye("type",["submit","cancel","custom"])],gD),bD=p([Ye("type",["menu"]),Ue("text"),Ue("tooltip"),Ue("icon"),Ie("items",hD),en("onSetup",(function(){return n}))],mD),yD=gD,MD=Ae("type",{submit:vD,cancel:vD,custom:vD,menu:bD}),_D=ae([Re("title"),Be("body",xe("type",{panel:uD,tabpanel:fD})),Qe("size","normal"),Ie("buttons",MD),$e("initialData",{}),en("onAction",n),en("onChange",n),en("onSubmit",n),en("onClose",n),en("onCancel",n),$e("onTabChange",n)]),wD=function(t){return L(t)?[t].concat(U(st(t),wD)):T(t)?U(t,wD):[]},xD=function(t){return A(t.type)&&A(t.name)},AD={checkbox:bz,colorinput:wz,colorpicker:Az,dropzone:Tz,input:Ez,iframe:Cz,sizeinput:Wz,selectbox:Pz,size:Wz,textarea:Iz,urlinput:Fz,customeditor:$z,collection:nD,togglemenuitem:pD},LD=function(t){var e=function(t){return H(wD(t),xD)}(t),n=U(e,(function(t){return function(t){return y.from(AD[t.type])}(t).fold((function(){return[]}),(function(e){return[Be(t.name,e)]}))}));return ae(n)},TD=ae(p([Ye("type",["cancel","custom"])],yD)),kD=ae([Re("title"),Re("url"),Fe("height"),Fe("width"),function(t,e){return Xe(t,se(e))}("buttons",TD),en("onAction",n),en("onCancel",n),en("onClose",n),en("onMessage",n)]),SD=function(t){return{internalDialog:Me(function(t){return ye("dialog",_D,t)}(t)),dataValidator:LD(t),initialData:t.initialData}},OD={open:function(t,e){var n=SD(e);return t(n.internalDialog,n.initialData,n.dataValidator)},openUrl:function(t,e){return t(Me(function(t){return ye("dialog",kD,t)}(e)))},redial:function(t){return SD(t)}},CD=function(t){var e=[],n={};return nt(t,(function(t,r){t.fold((function(){e.push(r)}),(function(t){n[r]=t}))})),e.length>0?w.error(e):w.value(n)},zD=function(t,n){var r=Op(W_.sketch((function(e){return{dom:{tag:"div",classes:["tox-form"].concat(t.classes)},components:Y(t.items,(function(t){return PA(e,t,n)}))}})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[r.asSpec()]}],behaviours:Os([Lh.config({mode:"acyclic",useTabstopAt:s(lw)}),V_(r),ew(r,{postprocess:function(t){return CD(t).fold((function(t){return e.console.error(t),{}}),(function(t){return t}))}})])}},DD=Md({name:"TabButton",configFields:[$e("uid",void 0),Ne("value"),fe("dom","dom",wt((function(t){return{attributes:{role:"tab",id:Uo("aria"),"aria-selected":"false"}}})),Le()),je("action"),$e("domModification",{}),bl("tabButtonBehaviours",[Ph,Lh,vl]),Ne("view")],factory:function(t,e){return{uid:t.uid,dom:t.dom,components:t.components,events:Kh(t.action),behaviours:Ml(t.tabButtonBehaviours,[Ph.config({}),Lh.config({mode:"execution",useSpace:!0,useEnter:!0}),vl.config({store:{mode:"memory",initialValue:t.value}})]),domModification:t.domModification}}}),ED=o([Ne("tabs"),Ne("dom"),$e("clickToDismiss",!1),bl("tabbarBehaviours",[Pd,Lh]),Xa(["tabClass","selectedClass"])]),ND=Gl({factory:DD,name:"tabs",unit:"tab",overrides:function(t,e){var r=function(t,e){Pd.dehighlight(t,e),Vr(t,jr(),{tabbar:t,button:e})},o=function(t,e){Pd.highlight(t,e),Vr(t,Ir(),{tabbar:t,button:e})};return{action:function(e){var i=e.getSystem().getByUid(t.uid).getOrDie(),a=Pd.isHighlighted(i,e);(a&&t.clickToDismiss?r:a?n:o)(i,e)},domModification:{classes:[t.markers.tabClass]}}}}),BD=o([ND]),PD=_d({name:"Tabbar",configFields:ED(),partFields:BD(),factory:function(t,e,n,r){return{uid:t.uid,dom:t.dom,components:e,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:Ml(t.tabbarBehaviours,[Pd.config({highlightClass:t.markers.selectedClass,itemClass:t.markers.tabClass,onHighlight:function(t,e){Po(e.element(),"aria-selected","true")},onDehighlight:function(t,e){Po(e.element(),"aria-selected","false")}}),Lh.config({mode:"flow",getInitial:function(t){return Pd.getHighlighted(t).map((function(t){return t.element()}))},selector:"."+t.markers.tabClass,executeOnMove:!0})])}}}),RD=Md({name:"Tabview",configFields:[bl("tabviewBehaviours",[Ch])],factory:function(t,e){return{uid:t.uid,dom:t.dom,behaviours:Ml(t.tabviewBehaviours,[Ch.config({})]),domModification:{attributes:{role:"tabpanel"}}}}}),YD=o([$e("selectFirst",!0),Ua("onChangeTab"),Ua("onDismissTab"),$e("tabs",[]),bl("tabSectionBehaviours",[])]),WD=Fl({factory:PD,schema:[Ne("dom"),He("markers",[Ne("tabClass"),Ne("selectedClass")])],name:"tabbar",defaults:function(t){return{tabs:t.tabs}}}),HD=Fl({factory:RD,name:"tabview"}),qD=o([WD,HD]),ID=_d({name:"TabSection",configFields:YD(),partFields:qD(),factory:function(t,e,n,r){var o=function(e,n){id(e,t,"tabbar").each((function(t){n(t).each(Gr)}))};return{uid:t.uid,dom:t.dom,components:e,behaviours:yl(t.tabSectionBehaviours),events:Qr(F([t.selectFirst?[uo((function(t,e){o(t,Pd.getFirst)}))]:[],[eo(Ir(),(function(e,n){!function(e){var n=vl.getValue(e);id(e,t,"tabview").each((function(r){j(t.tabs,(function(t){return t.value===n})).each((function(n){var o=n.view();Po(r.element(),"aria-labelledby",Ro(e.element(),"id")),Ch.set(r,o),t.onChangeTab(r,e,o)}))}))}(n.event().button())})),eo(jr(),(function(e,n){var r=n.event().button();t.onDismissTab(e,r)}))]])),apis:{getViewItems:function(e){return id(e,t,"tabview").map((function(t){return Ch.contents(t)})).getOr([])},showTab:function(t,e){o(t,(function(t){var n=Pd.getCandidates(t);return j(n,(function(t){return vl.getValue(t)===e})).filter((function(e){return!Pd.isHighlighted(t,e)}))}))}}}},apis:{getViewItems:function(t,e){return t.getViewItems(e)},showTab:function(t,e,n){t.showTab(e,n)}}}),jD=function(t){return J((e=t,n=function(t,e){return t>e?-1:t<e?1:0},(r=z.call(e,0)).sort(n),r));var e,n,r},XD=function(t,e){Ei(t,"height",e+"px"),Cn().browser.isIE()?Wi(t,"flex-basis"):Ei(t,"flex-basis",e+"px")},FD=function(t,n,r){Ta(t,'[role="dialog"]').each((function(t){ka(t,'[role="tablist"]').each((function(o){r.get().map((function(r){return Ei(n,"height","0"),Ei(n,"flex-basis","0"),Math.min(r,function(t,n,r){var o,i=yo(t).dom(),a=Ta(t,".tox-dialog-wrap").getOr(t);o="fixed"===Bi(a,"position")?Math.max(i.clientHeight,e.window.innerHeight):Math.max(i.offsetHeight,i.scrollHeight);var s=oa(n),c=n.dom().offsetLeft>=r.dom().offsetLeft+fa(r)?Math.max(oa(r),s):s,u=parseInt(Bi(t,"margin-top"),10)||0,l=parseInt(Bi(t,"margin-bottom"),10)||0;return o-(oa(t)+u+l-c)}(t,n,o))})).each((function(t){XD(n,t)}))}))}))},UD=function(t){return ka(t,'[role="tabpanel"]')},VD=function(t){var e;return{smartTabHeight:(e=on(y.none()),{extraEvents:[uo((function(n){var r=n.element();UD(r).each((function(o){Ei(o,"visibility","hidden"),n.getSystem().getByDom(o).toOption().each((function(n){var r=function(t,e,n){return Y(t,(function(r,o){Ch.set(n,t[o].view());var i=e.dom().getBoundingClientRect();return Ch.set(n,[]),i.height}))}(t,o,n),i=jD(r);e.set(i)})),FD(r,o,e),Wi(o,"visibility"),function(t,e){J(t).each((function(t){return ID.showTab(e,t.value)}))}(t,n),Bp.requestAnimationFrame((function(){FD(r,o,e)}))}))})),eo(Br(),(function(t){var n=t.element();UD(n).each((function(t){FD(n,t,e)}))})),eo(Ub,(function(t,n){var r=t.element();UD(r).each((function(t){var n=Hs();Ei(t,"visibility","hidden");var o=Ri(t,"height").map((function(t){return parseInt(t,10)}));Wi(t,"height"),Wi(t,"flex-basis");var i=t.dom().getBoundingClientRect().height;o.forall((function(t){return i>t}))?(e.set(y.from(i)),FD(r,t,e)):o.each((function(e){XD(t,e)})),Wi(t,"visibility"),n.each(Ws)}))}))],selectFirst:!1}),naiveTabHeight:{extraEvents:[],selectFirst:!0}}},GD=function(t,e){var n=on({}),r=function(t){var e=vl.getValue(t),r=CD(e).getOr({}),o=n.get(),i=ht(o,r);n.set(i)},o=function(t){var e=n.get();vl.setValue(t,e)},i=on(null),a=Y(t.tabs,(function(t){return{value:t.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"],innerHtml:e.shared.providers.translate(t.title)},view:function(){return[W_.sketch((function(n){return{dom:{tag:"div",classes:["tox-form"]},components:Y(t.items,(function(t){return PA(n,t,e)})),formBehaviours:Os([Lh.config({mode:"acyclic",useTabstopAt:s(lw)}),zh("TabView.form.events",[uo(o),lo(r)]),Rs.config({channels:zt([{key:"send-data-to-section",value:{onReceive:r}},{key:"send-data-to-view",value:{onReceive:o}}])})])}}))]}}})),c=VD(a).smartTabHeight;return ID.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:function(t,e,n){var r=vl.getValue(e);Vr(t,Fb,{name:r,oldName:i.get()}),i.set(r)},tabs:a,components:[ID.parts().tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[PD.parts().tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:Os([xy.config({})])}),ID.parts().tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:c.selectFirst,tabSectionBehaviours:Os([zh("tabpanel",c.extraEvents),Lh.config({mode:"acyclic"}),Ld.config({find:function(t){return J(ID.getViewItems(t))}}),vl.config({store:{mode:"manual",getValue:function(t){return t.getSystem().broadcastOn(["send-data-to-section"],{}),n.get()},setValue:function(t,e){n.set(e),t.getSystem().broadcastOn(["send-data-to-view"],{})}}})])})},$D=Uo("update-dialog"),KD=Uo("update-title"),JD=Uo("update-body"),QD=Uo("update-footer"),ZD=Uo("body-send-message"),tE=function(t,e,n,r){return{dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:f(f({},e.map((function(t){return{id:t}})).getOr({})),r?{"aria-live":"polite"}:{})},components:[],behaviours:Os([G_(0),nk.config({channel:JD,updateState:function(t,e){return y.some({isTabPanel:function(){return"tabpanel"===e.body.type}})},renderComponents:function(t){switch(t.body.type){case"tabpanel":return[GD(t.body,n)];default:return[zD(t.body,n)]}},initialData:t})])}},eE=function(t,e){return[io(dr(),dw),t(Wb,(function(t,n){e.onClose(),n.onClose()})),t(Hb,(function(t,e,n,r){e.onCancel(t),Ur(r,Wb)})),eo(Xb,(function(t,n){return e.onUnblock()})),eo(jb,(function(t,n){return e.onBlock(n.event())}))]},nE=function(t,e){var n=function(e,n){return eo(e,(function(e,o){r(e,(function(r,i){n(t(),r,o.event(),e)}))}))},r=function(t,e){nk.getState(t).get().each((function(n){e(n,t)}))};return p(eE(n,e),[n(qb,(function(t,e,n){e.onAction(t,{name:n.name()})}))])},rE=function(t,e){var n=function(e,n){return eo(e,(function(e,o){r(e,(function(r,i){n(t(),r,o.event(),e)}))}))},r=function(t,e){nk.getState(t).get().each((function(n){e(n.internalDialog,t)}))};return p(eE(n,e),[n(Ib,(function(t,e){return e.onSubmit(t)})),n(Yb,(function(t,e,n){e.onChange(t,{name:n.name()})})),n(qb,(function(t,e,n,r){var o=function(){return Lh.focusIn(r)},i=Hs();e.onAction(t,{name:n.name(),value:n.value()}),Hs().fold((function(){o()}),(function(t){(!Hn(r.element(),t)||Yo(t,"disabled")||Hn(t,i.getOrNull())&&Yo(i.getOrDie(),"disabled"))&&o()}))})),n(Fb,(function(t,e,n){e.onTabChange(t,{newTabName:n.name(),oldTabName:n.oldName()})})),lo((function(e){var n=t();vl.setValue(e,n.getData())}))])},oE=function(t,e){var n=function(t,e){for(var n=[],r=[],o=0,i=t.length;o<i;o++){var a=t[o];(e(a,o)?n:r).push(a)}return{pass:n,fail:r}}(e.map((function(t){return t.footerButtons})).getOr([]),(function(t){return"start"===t.align})),r=function(t,e){return bb.sketch({dom:{tag:"div",classes:["tox-dialog__footer-"+t]},components:Y(e,(function(t){return t.memento.asSpec()}))})};return[r("start",n.pass),r("end",n.fail)]},iE=function(t,e){return{dom:Am('<div class="tox-dialog__footer"></div>'),components:[],behaviours:Os([nk.config({channel:QD,initialData:t,updateState:function(t,n){var r=Y(n.buttons,(function(t){var n=Op(function(t,e){return Ax(t,t.type,e)}(t,e));return{name:t.name,align:t.align,memento:n}}));return y.some({lookupByName:function(t,e){return function(t,e,n){return j(e,(function(t){return t.name===n})).bind((function(e){return e.memento.getOpt(t)}))}(t,r,e)},footerButtons:r})},renderComponents:oE})])}},aE=function(t,e){return dz.parts().footer(iE(t,e))},sE=function(t,e){if(t.getRoot().getSystem().isConnected()){var n=Ld.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());return W_.getField(n,e).fold((function(){var r=t.getFooter();return nk.getState(r).get().bind((function(t){return t.lookupByName(n,e)}))}),(function(t){return y.some(t)}))}return y.none()},cE=function(t,e,n){var r=function(e){var n=t.getRoot();n.getSystem().isConnected()&&e(n)},o={getData:function(){var e=t.getRoot(),r=e.getSystem().isConnected()?t.getFormWrapper():e,o=vl.getValue(r),i=rt(n,(function(t){return t.get()}));return f(f({},o),i)},setData:function(e){r((function(r){var i=o.getData(),a=pt(i,e),s=function(t,e){var n=t.getRoot();return nk.getState(n).get().map((function(t){return Me(ye("data",t.dataValidator,e))})).getOr(e)}(t,a),c=t.getFormWrapper();vl.setValue(c,s),nt(n,(function(t,e){ut(a,e)&&t.set(a[e])}))}))},disable:function(e){sE(t,e).each(ng.disable)},enable:function(e){sE(t,e).each(ng.enable)},focus:function(e){sE(t,e).each(Ph.focus)},block:function(t){if(!A(t))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");r((function(e){Vr(e,jb,{message:t})}))},unblock:function(){r((function(t){Ur(t,Xb)}))},showTab:function(e){r((function(n){var r=t.getBody();nk.getState(r).get().exists((function(t){return t.isTabPanel()}))&&Ld.getCurrent(r).each((function(t){ID.showTab(t,e)}))}))},redial:function(t){r((function(n){var r=e(t);n.getSystem().broadcastOn([$D],r),n.getSystem().broadcastOn([KD],r.internalDialog),n.getSystem().broadcastOn([JD],r.internalDialog),n.getSystem().broadcastOn([QD],r.internalDialog),o.setData(r.initialData)}))},close:function(){r((function(t){Ur(t,Wb)}))}};return o},uE=Dm.deviceType.isTouch(),lE=function(t,e){return{dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[t,e]}},dE=function(t,e){return dz.parts().close(Sp.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":e.translate("Close")}},action:t,buttonBehaviours:Os([xy.config({})])}))},fE=function(){return dz.parts().title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}})},hE=function(t,e){return dz.parts().body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:Am("<p>"+e.translate(t)+"</p>")}]}]})},pE=function(t){return dz.parts().footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:t})},mE=function(t,e){return[bb.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:t}),bb.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:e})]},gE=function(t){var e,n="tox-dialog",r=n+"-wrap",o=r+"__backdrop",i=n+"__disable-scroll";return dz.sketch({lazySink:t.lazySink,onEscape:function(e){return t.onEscape(e),y.some(!0)},useTabstopAt:function(t){return!lw(t)},dom:{tag:"div",classes:[n].concat(t.extraClasses),styles:f({position:"relative"},t.extraStyles)},components:p([t.header,t.body],t.footer.toArray()),parts:{blocker:{dom:Am('<div class="'+r+'"></div>'),components:[{dom:{tag:"div",classes:uE?[o,o+"--opaque"]:[o]}}]}},dragBlockClass:r,modalBehaviours:Os(p([Ph.config({}),zh("dialog-events",t.dialogEvents.concat([co(dr(),(function(t,e){Lh.focusIn(t)}))])),zh("scroll-lock",[uo((function(){Ai(Gn(),i)})),lo((function(){Ti(Gn(),i)}))])],t.extraBehaviours)),eventOrder:f((e={},e[Lr()]=["dialog-events"],e[Pr()]=["scroll-lock","dialog-events","alloy.base.behaviour"],e[Rr()]=["alloy.base.behaviour","dialog-events","scroll-lock"],e),t.eventOrder)})},vE=function(t){return Sp.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close"),title:t.translate("Close")}},components:[{dom:{tag:"div",classes:["tox-icon"],innerHtml:'<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M17.953 7.453L13.422 12l4.531 4.547-1.406 1.406L12 13.422l-4.547 4.531-1.406-1.406L10.578 12 6.047 7.453l1.406-1.406L12 10.578l4.547-4.531z" fill-rule="evenodd"></path></svg>'}}],action:function(t){Ur(t,Hb)}})},bE=function(t,e,n){var r=function(t){return[Ki(n.translate(t.title))]};return{dom:{tag:"div",classes:["tox-dialog__title"],attributes:f({},e.map((function(t){return{id:t}})).getOr({}))},components:r(t),behaviours:Os([nk.config({channel:KD,renderComponents:r})])}},yE=function(){return{dom:Am('<div class="tox-dialog__draghandle"></div>')}},ME=function(t,e){return function(t,e){var n=dz.parts().title(bE(t,y.none(),e)),r=dz.parts().draghandle(yE()),o=dz.parts().close(vE(e)),i=[n].concat(t.draggable?[r]:[]).concat([o]);return bb.sketch({dom:Am('<div class="tox-dialog__header"></div>'),components:i})}({title:e.shared.providers.translate(t),draggable:e.dialog.isDraggableModal()},e.shared.providers)},_E=function(t,e){return{onClose:function(){return e.closeWindow()},onBlock:function(e){dz.setBusy(t(),(function(t,n){return{dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":e.message()},styles:{left:"0px",right:"0px",bottom:"0px",top:"0px",position:"absolute"}},behaviours:n,components:[{dom:Am('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}}))},onUnblock:function(){dz.setIdle(t())}}},wE=function(t,e,n,r){var o;return Zi(gE(f(f({},t),{lazySink:r.shared.getSink,extraBehaviours:p([nk.config({channel:$D,updateState:function(t,e){return y.some(e)},initialData:e}),ow({})],t.extraBehaviours),onEscape:function(t){Ur(t,Hb)},dialogEvents:n,eventOrder:(o={},o[Ar()]=["reflecting","receiving"],o[Pr()]=["scroll-lock","reflecting","messages","dialog-events","alloy.base.behaviour"],o[Rr()]=["alloy.base.behaviour","dialog-events","messages","reflecting","scroll-lock"],o)})))},xE=function(t){return Y(t,(function(t){return"menu"===t.type?function(t){var e=Y(t.items,(function(t){var e=on(!1);return f(f({},t),{storage:e})}));return f(f({},t),{items:e})}(t):t}))},AE=function(t){return I(t,(function(t,e){return"menu"===e.type?I(e.items,(function(t,e){return t[e.name]=e.storage,t}),t):t}),{})},LE=function(t,e,n){var r=ME(t.internalDialog.title,n),o=function(t,e){var n=tE(t,y.none(),e,!1);return dz.parts().body(n)}({body:t.internalDialog.body},n),i=xE(t.internalDialog.buttons),a=AE(i),s=aE({buttons:i},n),c=rE((function(){return f}),_E((function(){return d}),e)),u="normal"!==t.internalDialog.size?"large"===t.internalDialog.size?["tox-dialog--width-lg"]:["tox-dialog--width-md"]:[],l={header:r,body:o,footer:y.some(s),extraClasses:u,extraBehaviours:[],extraStyles:{}},d=wE(l,t,c,n),f=cE({getRoot:function(){return d},getBody:function(){return dz.getBody(d)},getFooter:function(){return dz.getFooter(d)},getFormWrapper:function(){var t=dz.getBody(d);return Ld.getCurrent(t).getOr(t)}},e.redial,a);return{dialog:d,instanceApi:f}},TE=function(t,e,n,r){var o,i,a=Uo("dialog-label"),s=Uo("dialog-content"),c=Op(function(t,e,n){return bb.sketch({dom:Am('<div class="tox-dialog__header"></div>'),components:[bE(t,y.some(e),n),yE(),vE(n)],containerBehaviours:Os([$C.config({mode:"mouse",blockerClass:"blocker",getTarget:function(t){return Sa(t,'[role="dialog"]').getOrDie()},snaps:{getSnapPoints:function(){return[]},leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])})}({title:t.internalDialog.title,draggable:!0},a,n.shared.providers)),u=Op(function(t,e,n,r){return tE(t,y.some(e),n,r)}({body:t.internalDialog.body},s,n,r)),l=xE(t.internalDialog.buttons),d=AE(l),f=Op(function(t,e){return iE(t,e)}({buttons:l},n)),h=rE((function(){return m}),{onBlock:function(){},onUnblock:function(){},onClose:function(){return e.closeWindow()}}),p=Zi({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline"],attributes:(o={role:"dialog"},o["aria-labelledby"]=a,o["aria-describedby"]=""+s,o)},eventOrder:(i={},i[Ar()]=[nk.name(),Rs.name()],i[Lr()]=["execute-on-form"],i[Pr()]=["reflecting","execute-on-form"],i),behaviours:Os([Lh.config({mode:"cyclic",onEscape:function(t){return Ur(t,Wb),y.some(!0)},useTabstopAt:function(t){return!lw(t)&&("button"!==jn(t)||"disabled"!==Ro(t,"disabled"))}}),nk.config({channel:$D,updateState:function(t,e){return y.some(e)},initialData:t}),Ph.config({}),zh("execute-on-form",h.concat([co(dr(),(function(t,e){Lh.focusIn(t)}))])),ow({})]),components:[c.asSpec(),u.asSpec(),f.asSpec()]}),m=cE({getRoot:function(){return p},getFooter:function(){return f.get(p)},getBody:function(){return u.get(p)},getFormWrapper:function(){var t=u.get(p);return Ld.getCurrent(t).getOr(t)}},e.redial,d);return{dialog:p,instanceApi:m}},kE=tinymce.util.Tools.resolve("tinymce.util.URI"),SE=["insertContent","setContent","execCommand","close","block","unblock"],OE=function(t){return L(t)&&-1!==SE.indexOf(t.mceAction)},CE=function(t,n,r,o){var i,a,c,u=ME(t.title,o),l=function(t){var e={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[fw({dom:{tag:"iframe",attributes:{src:t.url}},behaviours:Os([xy.config({}),Ph.config({})])})]}],behaviours:Os([Lh.config({mode:"acyclic",useTabstopAt:s(lw)})])};return dz.parts().body(e)}(t),d=t.buttons.bind((function(t){return 0===t.length?y.none():y.some(aE({buttons:t},o))})),h=nE((function(){return w}),_E((function(){return _}),n)),p=f(f({},t.height.fold((function(){return{}}),(function(t){return{height:t+"px","max-height":t+"px"}}))),t.width.fold((function(){return{}}),(function(t){return{width:t+"px","max-width":t+"px"}}))),m=t.width.isNone()&&t.height.isNone()?["tox-dialog--width-lg"]:[],g=new kE(t.url,{base_uri:new kE(e.window.location.href)}),v=g.protocol+"://"+g.host+(g.port?":"+g.port:""),b=on(y.none()),M=[zh("messages",[uo((function(){var n=Qv(sn.fromDom(e.window),"message",(function(e){if(g.isSameOrigin(new kE(e.raw().origin))){var n=e.raw().data;OE(n)?function(t,e,n){switch(n.mceAction){case"insertContent":t.insertContent(n.content);break;case"setContent":t.setContent(n.content);break;case"execCommand":var r=!!k(n.ui)&&n.ui;t.execCommand(n.cmd,r,n.value);break;case"close":e.close();break;case"block":e.block(n.message);break;case"unblock":e.unblock()}}(r,w,n):function(t){return!OE(t)&&L(t)&&ut(t,"mceAction")}(n)&&t.onMessage(w,n)}}));b.set(y.some(n))})),lo((function(){b.get().each((function(t){return t.unbind()}))}))]),Rs.config({channels:(i={},i[ZD]={onReceive:function(t,e){ka(t.element(),"iframe").each((function(t){t.dom().contentWindow.postMessage(e,v)}))}},i)})],_=wE({header:u,body:l,footer:d,extraClasses:m,extraBehaviours:M,extraStyles:p},t,h,o),w=(a=_,c=function(t){a.getSystem().isConnected()&&t(a)},{block:function(t){if(!A(t))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");c((function(e){Vr(e,jb,{message:t})}))},unblock:function(){c((function(t){Ur(t,Xb)}))},close:function(){c((function(t){Ur(t,Wb)}))},sendMessage:function(t){c((function(e){e.getSystem().broadcastOn([ZD],t)}))}});return{dialog:_,instanceApi:w}},zE=function(t,e){return e?[]:[VS.config({contextual:{lazyContext:function(){return y.some(xa(sn.fromDom(t.getContentAreaContainer())))},fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},leftAttr:"data-dock-left",topAttr:"data-dock-top",positionAttr:"data-dock-pos",modes:["top"]})]},DE=function(t){var e=t.backstage,n=t.editor,r=Bb(n),o=function(t){var e=t.backstage.shared;return{open:function(n,r){var o=function(){dz.hide(c),r()},i=Op(Ax({name:"close-alert",text:"OK",primary:!0,align:"end",disabled:!1,icon:y.none()},"cancel",t.backstage)),a=fE(),s=dE(o,e.providers),c=Zi(gE({lazySink:function(){return e.getSink()},header:lE(a,s),body:hE(n,e.providers),footer:y.some(pE(mE([],[i.asSpec()]))),onEscape:o,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[eo(Hb,o)],eventOrder:{}}));dz.show(c);var u=i.get(c);Ph.focus(u)}}}(t),i=function(t){var e=t.backstage.shared;return{open:function(n,r){var o=function(t){dz.hide(u),r(t)},i=Op(Ax({name:"yes",text:"Yes",primary:!0,align:"end",disabled:!1,icon:y.none()},"submit",t.backstage)),a=Ax({name:"no",text:"No",primary:!0,align:"end",disabled:!1,icon:y.none()},"cancel",t.backstage),s=fE(),c=dE((function(){return o(!1)}),e.providers),u=Zi(gE({lazySink:function(){return e.getSink()},header:lE(s,c),body:hE(n,e.providers),footer:y.some(pE(mE([],[a,i.asSpec()]))),onEscape:function(){return o(!1)},extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[eo(Hb,(function(){return o(!1)})),eo(Ib,(function(){return o(!0)}))],eventOrder:{}}));dz.show(u);var l=i.get(u);Ph.focus(l)}}}(t),a=function(t,r){return OD.openUrl((function(t){var o=CE(t,{closeWindow:function(){dz.hide(o.dialog),r(o.instanceApi)}},n,e);return dz.show(o.dialog),o.instanceApi}),t)},s=function(t,n){return OD.open((function(t,r,o){var i=r,a=LE({dataValidator:o,initialData:i,internalDialog:t},{redial:OD.redial,closeWindow:function(){dz.hide(a.dialog),n(a.instanceApi)}},e);return dz.show(a.dialog),a.instanceApi.setData(i),a.instanceApi}),t)},c=function(t,o,i,a){return OD.open((function(t,s,c){var u,l=Me(ye("data",c,s)),d=(u=on(y.none()),{clear:function(){u.set(y.none())},set:function(t){u.set(y.some(t))},isSet:function(){return u.get().isSome()},on:function(t){u.get().each(t)}}),f=function(){return d.on((function(t){VS.refresh(t)}))},h=TE({dataValidator:c,initialData:l,internalDialog:t},{redial:OD.redial,closeWindow:function(){d.on(gp.hide),n.off("ResizeEditor",f),d.clear(),i(h.instanceApi)}},e,a),m=Zi(gp.sketch({lazySink:e.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:{},inlineBehaviours:Os(p([zh("window-manager-inline-events",[eo(Yr(),(function(t,e){Ur(h.dialog,Hb)}))])],zE(n,r)))}));return d.set(m),gp.showWithin(m,o,ta(h.dialog),y.some(Gn())),r||(VS.refresh(m),n.on("ResizeEditor",f)),h.instanceApi.setData(l),Lh.focusIn(h.dialog),h.instanceApi}),t)};return{open:function(t,n,r){return void 0!==n&&"toolbar"===n.inline?c(t,e.shared.anchors.toolbar(),r,n.ariaAttrs):void 0!==n&&"cursor"===n.inline?c(t,e.shared.anchors.cursor(),r,n.ariaAttrs):s(t,r)},openUrl:function(t,e){return a(t,e)},alert:function(t,e){o.open(t,(function(){e()}))},close:function(t){t.close()},confirm:function(t,e){i.open(t,(function(t){e(t)}))}}};d.add("silver",(function(t){var e=az(t),n=e.uiMothership,r=e.backstage,i=e.renderUI,a=e.getUi;Vv(t,r.shared);var s=DE({editor:t,backstage:r});return{renderUI:i,getWindowManagerImpl:o(s),getNotificationManagerImpl:function(){return Pp(0,{backstage:r},n)},ui:a()}}))}(window)}).call(this,n(2))},function(t,e,n){n(162)},function(t,e,n){(function(t){!function(e){"use strict";var n,r,o,i,a,s=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return s(n())}}},c=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=function(t){return!(!/(^|[ ,])powerpaste([, ]|$)/.test(t.settings.plugins)||!c.get("powerpaste"))&&(void 0!==e.window.console&&e.window.console.log&&e.window.console.log("PowerPaste is incompatible with Paste plugin! Remove 'paste' from the 'plugins' option."),!0)},l=function(t,e){return{clipboard:t,quirks:e}},d=function(t,e,n,r){return t.fire("PastePreProcess",{content:e,internal:n,wordContent:r})},f=function(t,e,n,r){return t.fire("PastePostProcess",{node:e,internal:n,wordContent:r})},h=function(t,e){return t.fire("PastePlainTextToggle",{state:e})},p=function(t,e){return t.fire("paste",{ieFake:e})},m=function(t,e){"text"===e.pasteFormat.get()?(e.pasteFormat.set("html"),h(t,!1)):(e.pasteFormat.set("text"),h(t,!0)),t.focus()},g=function(t,e){t.addCommand("mceTogglePlainTextPaste",(function(){m(t,e)})),t.addCommand("mceInsertClipboardContent",(function(t,n){n.content&&e.pasteHtml(n.content,n.internal),n.text&&e.pasteText(n.text)}))},v=function(){},b=function(t){return function(){return t}},y=b(!1),M=b(!0),_=function(){return w},w=(n=function(t){return t.isNone()},i={fold:function(t,e){return t()},is:y,isSome:y,isNone:M,getOr:o=function(t){return t},getOrThunk:r=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:b(null),getOrUndefined:b(void 0),or:o,orThunk:r,map:_,each:v,bind:_,exists:y,forall:M,filter:_,equals:n,equals_:n,toArray:function(){return[]},toString:b("none()")},Object.freeze&&Object.freeze(i),i),x=function(t){var e=b(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:M,isNone:y,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return x(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:w},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(y,(function(e){return n(t,e)}))}};return o},A={some:x,none:_,from:function(t){return null==t?w:x(t)}},L=(a="function",function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===a}),T=Array.prototype.slice,k=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},S=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},O=L(Array.from)?Array.from:function(t){return T.call(t)},C={},z={exports:C};!function(e,n,r,o){!function(o){if("object"==typeof n&&void 0!==r)r.exports=o();else if("function"==typeof e&&e.amd)e([],o);else{("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:this).EphoxContactWrapper=o()}}((function(){return function t(e,n,r){function i(s,c){if(!n[s]){if(!e[s]){var u="function"==typeof o&&o;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};e[s][0].call(d.exports,(function(t){return i(e[s][1][t]||t)}),d,d.exports,t,e,n,r)}return n[s].exports}for(var a="function"==typeof o&&o,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var u,l=[],d=!1,f=-1;function h(){d&&u&&(d=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!d){var t=c(h);d=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new m(t,e)),1!==l.length||d||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(t,e,n){(function(t){!function(n){var r=setTimeout;function o(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,r)}else(1===t._state?s:c)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void u(t);if("function"==typeof n)return void d((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var r,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&i._immediateFn((function(){t._handled||i._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,c(e,t))}))}catch(t){if(n)return;n=!0,c(e,t)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new l(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i((function(t,n){if(0===e.length)return t([]);var r=e.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}for(var i=0;i<e.length;i++)o(i,e[i])}))},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))},i.race=function(t){return new i((function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)}))},i._immediateFn="function"==typeof t?function(e){t(e)}:function(t){r(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(this,t("timers").setImmediate)},{timers:3}],3:[function(t,e,n){(function(e,r){var o=t("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=c++,r=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,o((function(){s[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var r=t("promise-polyfill"),o="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))}(void 0,C,z,void 0);var D=z.exports.boltExport,E=function(t){var n=A.none(),r=[],o=function(t){i()?s(t):r.push(t)},i=function(){return n.isSome()},a=function(t){S(t,s)},s=function(t){n.each((function(n){e.setTimeout((function(){t(n)}),0)}))};return t((function(t){n=A.some(t),a(r),r=[]})),{get:o,map:function(t){return E((function(e){o((function(n){e(t(n))}))}))},isReady:i}},N={nu:E,pure:function(t){return E((function(e){e(t)}))}},B=function(t){e.setTimeout((function(){throw t}),0)},P=function(t){var e=function(e){t().then(e,B)};return{map:function(e){return P((function(){return t().then(e)}))},bind:function(e){return P((function(){return t().then((function(t){return e(t).toPromise()}))}))},anonBind:function(e){return P((function(){return t().then((function(){return e.toPromise()}))}))},toLazy:function(){return N.nu(e)},toCached:function(){var e=null;return P((function(){return null===e&&(e=t()),e}))},toPromise:t,get:e}},R=function(t){return P((function(){return new D(t)}))},Y=function(t,e){return e((function(e){var n=[],r=0;0===t.length?e([]):S(t,(function(o,i){o.get(function(o){return function(i){n[o]=i,++r>=t.length&&e(n)}}(i))}))}))},W=function(t,e){return n=k(t,e),Y(n,R);var n},H=tinymce.util.Tools.resolve("tinymce.Env"),q=tinymce.util.Tools.resolve("tinymce.util.Delay"),I=tinymce.util.Tools.resolve("tinymce.util.Tools"),j=tinymce.util.Tools.resolve("tinymce.util.VK"),X=function(t){return"\x3c!-- x-tinymce/html --\x3e"+t},F=function(t){return t.replace("\x3c!-- x-tinymce/html --\x3e","")},U=function(t){return-1!==t.indexOf("\x3c!-- x-tinymce/html --\x3e")},V=function(){return"x-tinymce/html"},G=tinymce.util.Tools.resolve("tinymce.html.Entities"),$=function(t){return t.replace(/\r?\n/g,"<br>")},K=function(t,e,n){var r=t.split(/\n\n/),o=function(t,e){var n,r=[],o="<"+t;if("object"==typeof e){for(n in e)e.hasOwnProperty(n)&&r.push(n+'="'+G.encodeAllRaw(e[n])+'"');r.length&&(o+=" "+r.join(" "))}return o+">"}(e,n),i="</"+e+">",a=I.map(r,(function(t){return t.split(/\n/).join("<br />")}));return 1===a.length?a[0]:I.map(a,(function(t){return o+t+i})).join("")},J=function(t){return!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(t)},Q=function(t,e,n){return e?K(t,!0===e?"p":e,n):$(t)},Z=tinymce.util.Tools.resolve("tinymce.html.DomParser"),tt=tinymce.util.Tools.resolve("tinymce.html.Serializer"),et=tinymce.util.Tools.resolve("tinymce.html.Node"),nt=tinymce.util.Tools.resolve("tinymce.html.Schema"),rt=function(t){return t.getParam("paste_block_drop",!1)},ot=function(t){return t.getParam("paste_data_images",!1)},it=function(t){return t.getParam("paste_filter_drop",!0)},at=function(t){return t.getParam("paste_preprocess")},st=function(t){return t.getParam("paste_postprocess")},ct=function(t){return t.getParam("paste_webkit_styles")},ut=function(t){return t.getParam("paste_remove_styles_if_webkit",!0)},lt=function(t){return t.getParam("paste_merge_formats",!0)},dt=function(t){return t.getParam("smart_paste",!0)},ft=function(t){return t.getParam("paste_as_text",!1)},ht=function(t){return t.getParam("paste_retain_style_properties")},pt=function(t){return t.getParam("paste_word_valid_elements","-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody")},mt=function(t){return t.getParam("paste_convert_word_fake_lists",!0)},gt=function(t){return t.getParam("paste_enable_default_filters",!0)};function vt(t,e){return I.each(e,(function(e){t=e.constructor===RegExp?t.replace(e,""):t.replace(e[0],e[1])})),t}var bt={filter:vt,innerText:function(t){var e=nt(),n=Z({},e),r="",o=e.getShortEndedElements(),i=I.makeMap("script noscript style textarea video audio iframe object"," "),a=e.getBlockElements();return t=vt(t,[/<!\[[^\]]+\]>/g]),function t(e){var n=e.name,s=e;if("br"!==n){if("wbr"!==n)if(o[n]&&(r+=" "),i[n])r+=" ";else{if(3===e.type&&(r+=e.value),!e.shortEnded&&(e=e.firstChild))do{t(e)}while(e=e.next);a[n]&&s.next&&(r+="\n","p"===n&&(r+="\n"))}}else r+="\n"}(n.parse(t)),r},trimHtml:function(t){return t=vt(t,[/^[\s\S]*<body[^>]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/<!--StartFragment-->|<!--EndFragment-->/g,[/( ?)<span class="Apple-converted-space">\u00a0<\/span>( ?)/g,function(t,e,n){return e||n?" ":" "}],/<br class="Apple-interchange-newline">/g,/<br>$/i])},createIdGenerator:function(t){var e=0;return function(){return t+e++}},isMsEdge:function(){return-1!==e.navigator.userAgent.indexOf(" Edge/")}};function yt(t){var e,n;return n=[/^[IVXLMCD]{1,2}\.[ \u00a0]/,/^[ivxlmcd]{1,2}\.[ \u00a0]/,/^[a-z]{1,2}[\.\)][ \u00a0]/,/^[A-Z]{1,2}[\.\)][ \u00a0]/,/^[0-9]+\.[ \u00a0]/,/^[\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]+\.[ \u00a0]/,/^[\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d\u62fe]+\.[ \u00a0]/],t=t.replace(/^[\u00a0 ]+/,""),I.each(n,(function(n){if(n.test(t))return e=!0,!1})),e}function Mt(t){var e,n,r=1;function o(t){var e="";if(3===t.type)return t.value;if(t=t.firstChild)do{e+=o(t)}while(t=t.next);return e}function i(t,e){if(3===t.type&&e.test(t.value))return t.value=t.value.replace(e,""),!1;if(t=t.firstChild)do{if(!i(t,e))return!1}while(t=t.next);return!0}function a(t,o,a){var s=t._listLevel||r;s!==r&&(s<r?e&&(e=e.parent.parent):(n=e,e=null)),e&&e.name===o?e.append(t):(n=n||e,e=new et(o,1),a>1&&e.attr("start",""+a),t.wrap(e)),t.name="li",s>r&&n&&n.lastChild.append(e),r=s,function t(e){if(e._listIgnore)e.remove();else if(e=e.firstChild)do{t(e)}while(e=e.next)}(t),i(t,/^\u00a0+/),i(t,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),i(t,/^\u00a0+/)}for(var s=[],c=t.firstChild;null!=c;)if(s.push(c),null!==(c=c.walk()))for(;void 0!==c&&c.parent!==t;)c=c.walk();for(var u=0;u<s.length;u++)if("p"===(t=s[u]).name&&t.firstChild){var l=o(t);if(/^[\s\u00a0]*[\u2022\u00b7\u00a7\u25CF]\s*/.test(l)){a(t,"ul");continue}if(yt(l)){var d=/([0-9]+)\./.exec(l),f=1;d&&(f=parseInt(d[1],10)),a(t,"ol",f);continue}if(t._listLevel){a(t,"ul",1);continue}e=null}else n=e,e=null}function _t(t,e,n,r){var o,i={},a=t.dom.parseStyle(r);return I.each(a,(function(a,s){switch(s){case"mso-list":(o=/\w+ \w+([0-9]+)/i.exec(r))&&(n._listLevel=parseInt(o[1],10)),/Ignore/i.test(a)&&n.firstChild&&(n._listIgnore=!0,n.firstChild._listIgnore=!0);break;case"horiz-align":s="text-align";break;case"vert-align":s="vertical-align";break;case"font-color":case"mso-foreground":s="color";break;case"mso-background":case"mso-highlight":s="background";break;case"font-weight":case"font-style":return void("normal"!==a&&(i[s]=a));case"mso-element":if(/^(comment|comment-list)$/i.test(a))return void n.remove()}0!==s.indexOf("mso-comment")?0!==s.indexOf("mso-")&&("all"===ht(t)||e&&e[s])&&(i[s]=a):n.remove()})),/(bold)/i.test(i["font-weight"])&&(delete i["font-weight"],n.wrap(new et("b",1))),/(italic)/i.test(i["font-style"])&&(delete i["font-style"],n.wrap(new et("i",1))),(i=t.dom.serializeStyle(i,n.name))||null}var wt={preProcess:function(t,e){return gt(t)?function(t,e){var n,r;(n=ht(t))&&(r=I.makeMap(n.split(/[, ]/))),e=bt.filter(e,[/<br class="?Apple-interchange-newline"?>/gi,/<b[^>]+id="?docs-internal-[^>]*>/gi,/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi," "],[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(t,e){return e.length>0?e.replace(/./," ").slice(Math.floor(e.length/2)).split("").join(" "):""}]]);var o=pt(t),i=nt({valid_elements:o,valid_children:"-li[p]"});I.each(i.elements,(function(t){t.attributes.class||(t.attributes.class={},t.attributesOrder.push("class")),t.attributes.style||(t.attributes.style={},t.attributesOrder.push("style"))}));var a=Z({},i);a.addAttributeFilter("style",(function(e){for(var n,o=e.length;o--;)(n=e[o]).attr("style",_t(t,r,n,n.attr("style"))),"span"===n.name&&n.parent&&!n.attributes.length&&n.unwrap()})),a.addAttributeFilter("class",(function(t){for(var e,n,r=t.length;r--;)n=(e=t[r]).attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(n)&&e.remove(),e.attr("class",null)})),a.addNodeFilter("del",(function(t){for(var e=t.length;e--;)t[e].remove()})),a.addNodeFilter("a",(function(t){for(var e,n,r,o=t.length;o--;)if(n=(e=t[o]).attr("href"),r=e.attr("name"),n&&-1!==n.indexOf("#_msocom_"))e.remove();else if(n&&0===n.indexOf("file://")&&(n=n.split("#")[1])&&(n="#"+n),n||r){if(r&&!/^_?(?:toc|edn|ftn)/i.test(r)){e.unwrap();continue}e.attr({href:n,name:r})}else e.unwrap()}));var s=a.parse(e);return mt(t)&&Mt(s),e=tt({validate:t.settings.validate},i).serialize(s)}(t,e):e},isWordContent:function(t){return/<font face="Times New Roman"|class="?Mso|style="[^"]*\bmso-|style='[^'']*\bmso-|w:WordDocument/i.test(t)||/class="OutlineElement/.test(t)||/id="?docs\-internal\-guid\-/.test(t)}},xt=function(t,e){return{content:t,cancelled:e}},At=function(t,e,n,r){var o=d(t,e,n,r),i=function(t,e){var n=Z({},t.schema);n.addNodeFilter("meta",(function(t){I.each(t,(function(t){return t.remove()}))}));var r=n.parse(e,{forced_root_block:!1,isRootContent:!0});return tt({validate:t.settings.validate},t.schema).serialize(r)}(t,o.content);return t.hasEventListeners("PastePostProcess")&&!o.isDefaultPrevented()?function(t,e,n,r){var o=t.dom.create("div",{style:"display:none"},e),i=f(t,o,n,r);return xt(i.node.innerHTML,i.isDefaultPrevented())}(t,i,n,r):xt(i,o.isDefaultPrevented())},Lt=function(t,e,n){var r=wt.isWordContent(e),o=r?wt.preProcess(t,e):e;return At(t,o,n,r)},Tt=function(t,e){return t.insertContent(e,{merge:lt(t),paste:!0}),!0},kt=function(t){return/^https?:\/\/[\w\?\-\/+=.&%@~#]+$/i.test(t)},St=function(t){return kt(t)&&/.(gif|jpe?g|png)$/.test(t)},Ot=function(t,e,n){return!(!1!==t.selection.isCollapsed()||!kt(e))&&function(t,e,n){return t.undoManager.extra((function(){n(t,e)}),(function(){t.execCommand("mceInsertLink",!1,e)})),!0}(t,e,n)},Ct=function(t,e,n){return!!St(e)&&function(t,e,n){return t.undoManager.extra((function(){n(t,e)}),(function(){t.insertContent('<img src="'+e+'">')})),!0}(t,e,n)},zt=St,Dt=function(t,e,n){n||!1===dt(t)?Tt(t,e):function(t,e){I.each([Ot,Ct,Tt],(function(n){return!0!==n(t,e,Tt)}))}(t,e)},Et=function(t){return"\n"===t||"\r"===t},Nt=function(t){return function(t,e,n){return S(t,(function(t){n=e(n,t)})),n}(t,(function(e,n){return function(t){return-1!==" \f\t\v".indexOf(t)}(n)||" "===n?e.pcIsSpace||""===e.str||e.str.length===t.length-1||function(t,e){return e<t.length&&e>=0&&Et(t[e])}(t,e.str.length+1)?{pcIsSpace:!1,str:e.str+" "}:{pcIsSpace:!0,str:e.str+" "}:{pcIsSpace:Et(n),str:e.str+n}}),{pcIsSpace:!1,str:""}).str},Bt=function(t,e,n,r){var o=Lt(t,e,n);!1===o.cancelled&&Dt(t,o.content,r)},Pt=function(t,e,n){var r=n||U(e);Bt(t,F(e),r,!1)},Rt=function(t,e){var n=t.dom.encode(e).replace(/\r\n/g,"\n"),r=Nt(n),o=Q(r,t.settings.forced_root_block,t.settings.forced_root_block_attrs);Bt(t,o,!1,!0)},Yt=function(t){var e={};if(t){if(t.getData){var n=t.getData("Text");n&&n.length>0&&-1===n.indexOf("data:text/mce-internal,")&&(e["text/plain"]=n)}if(t.types)for(var r=0;r<t.types.length;r++){var o=t.types[r];try{e[o]=t.getData(o)}catch(t){e[o]=""}}}return e},Wt=function(t,e){return e in t&&t[e].length>0},Ht=function(t){return Wt(t,"text/html")||Wt(t,"text/plain")},qt=bt.createIdGenerator("mceclip"),It=function(t,n,r){var o,i="paste"===n.type?n.clipboardData:n.dataTransfer;if(t.settings.paste_data_images&&i){var a=function(t){var e=t.items?k(O(t.items),(function(t){return t.getAsFile()})):[],n=t.files?O(t.files):[];return function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n}(e.length>0?e:n,(function(t){return/^image\/(jpeg|png|gif|bmp)$/.test(t.type)}))}(i);if(a.length>0)return n.preventDefault(),(o=a,W(o,(function(t){return R((function(e){var n=t.getAsFile?t.getAsFile():t,r=new window.FileReader;r.onload=function(){e({blob:n,uri:r.result})},r.readAsDataURL(n)}))}))).get((function(n){r&&t.selection.setRng(r),S(n,(function(n){!function(t,n){var r,o,i,a,s=(r=n.uri,-1!==(o=r.indexOf(","))?r.substr(o+1):null),c=qt(),u=t.settings.images_reuse_filename&&n.blob.name?function(t,e){var n=e.match(/([\s\S]+?)\.(?:jpeg|jpg|png|gif)$/i);return n?t.dom.encode(n[1]):null}(t,n.blob.name):c,l=new e.Image;if(l.src=n.uri,i=t.settings,a=l,!i.images_dataimg_filter||i.images_dataimg_filter(a)){var d,f=t.editorUpload.blobCache,h=void 0;(d=f.findFirst((function(t){return t.base64()===s})))?h=d:(h=f.create(c,n.blob,s,u),f.add(h)),Pt(t,'<img src="'+h.blobUri()+'">',!1)}else Pt(t,'<img src="'+n.uri+'">',!1)}(t,n)}))})),!0}return!1},jt=function(t){return j.metaKeyPressed(t)&&86===t.keyCode||t.shiftKey&&45===t.keyCode},Xt=function(t,n,r){var o,i,a=(o=s(A.none()),{clear:function(){o.set(A.none())},set:function(t){o.set(A.some(t))},isSet:function(){return o.get().isSome()},on:function(t){o.get().each(t)}});function c(e,r,o,i){var a,s,c;Wt(e,"text/html")?a=e["text/html"]:(a=n.getHtml(),i=i||U(a),n.isDefaultContent(a)&&(o=!0)),a=bt.trimHtml(a),n.remove(),s=!1===i&&J(a),c=zt(a),(!a.length||s&&!c)&&(o=!0),(o||c)&&(a=Wt(e,"text/plain")&&s?e["text/plain"]:bt.innerText(a)),n.isDefaultContent(a)?r||t.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents."):o?Rt(t,a):Pt(t,a,i)}t.on("keydown",(function(r){function o(t){jt(t)&&!t.isDefaultPrevented()&&n.remove()}if(jt(r)&&!r.isDefaultPrevented()){if((i=r.shiftKey&&86===r.keyCode)&&H.webkit&&-1!==e.navigator.userAgent.indexOf("Version/"))return;if(r.stopImmediatePropagation(),a.set(r),window.setTimeout((function(){a.clear()}),100),H.ie&&i)return r.preventDefault(),void p(t,!0);n.remove(),n.create(),t.once("keyup",o),t.once("paste",(function(){t.off("keyup",o)}))}}));t.on("paste",(function(o){var s=a.isSet(),u=function(t,e){var n=Yt(e.clipboardData||t.getDoc().dataTransfer);return bt.isMsEdge()?I.extend(n,{"text/html":""}):n}(t,o),l="text"===r.get()||i,d=Wt(u,V());i=!1,o.isDefaultPrevented()||function(t){var n=t.clipboardData;return-1!==e.navigator.userAgent.indexOf("Android")&&n&&n.items&&0===n.items.length}(o)?n.remove():Ht(u)||!It(t,o,n.getLastRng()||t.selection.getRng())?(s||o.preventDefault(),!H.ie||s&&!o.ieFake||Wt(u,"text/html")||(n.create(),t.dom.bind(n.getEl(),"paste",(function(t){t.stopPropagation()})),t.getDoc().execCommand("Paste",!1,null),u["text/html"]=n.getHtml()),Wt(u,"text/html")?(o.preventDefault(),d||(d=U(u["text/html"])),c(u,s,l,d)):q.setEditorTimeout(t,(function(){c(u,s,l,d)}),0)):n.remove()}))},Ft=function(t){return H.ie&&t.inline?e.document.body:t.getBody()},Ut=function(t,e,n){(function(t){return Ft(t)!==t.getBody()})(t)&&t.dom.bind(e,"paste keyup",(function(e){$t(t,n)||t.fire("paste")}))},Vt=function(t){return t.dom.get("mcepastebin")},Gt=function(t,e){return e===t},$t=function(t,e){var n,r=Vt(t);return(n=r)&&"mcepastebin"===n.id&&Gt(e,r.innerHTML)},Kt=function(t){var e=s(null);return{create:function(){return function(t,e,n){var r,o=t.dom,i=t.getBody();e.set(t.selection.getRng()),r=t.dom.add(Ft(t),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},n),(H.ie||H.gecko)&&o.setStyle(r,"left","rtl"===o.getStyle(i,"direction",!0)?65535:-65535),o.bind(r,"beforedeactivate focusin focusout",(function(t){t.stopPropagation()})),Ut(t,r,n),r.focus(),t.selection.select(r,!0)}(t,e,"%MCEPASTEBIN%")},remove:function(){return function(t,e){if(Vt(t)){for(var n=void 0,r=e.get();n=t.dom.get("mcepastebin");)t.dom.remove(n),t.dom.unbind(n);r&&t.selection.setRng(r)}e.set(null)}(t,e)},getEl:function(){return Vt(t)},getHtml:function(){return function(t){var e,n,r,o,i,a=function(e,n){e.appendChild(n),t.dom.remove(n,!0)};for(n=I.grep(Ft(t).childNodes,(function(t){return"mcepastebin"===t.id})),e=n.shift(),I.each(n,(function(t){a(e,t)})),r=(o=t.dom.select("div[id=mcepastebin]",e)).length-1;r>=0;r--)i=t.dom.create("div"),e.insertBefore(i,o[r]),a(i,o[r]);return e?e.innerHTML:""}(t)},getLastRng:function(){return function(t){return t.get()}(e)},isDefault:function(){return $t(t,"%MCEPASTEBIN%")},isDefaultContent:function(t){return Gt("%MCEPASTEBIN%",t)}}},Jt=function(t,e){var n=Kt(t);return t.on("PreInit",(function(){return function(t,e,n){var r;Xt(t,e,n),t.parser.addNodeFilter("img",(function(e,n,o){var i=function(t){t.attr("data-mce-object")||r===H.transparentSrc||t.remove()},a=function(t){return 0===t.indexOf("webkit-fake-url")},s=function(t){return 0===t.indexOf("data:")};if(!t.settings.paste_data_images&&function(t){return t.data&&!0===t.data.paste}(o))for(var c=e.length;c--;)(r=e[c].attr("src"))&&(a(r)||!t.settings.allow_html_data_urls&&s(r))&&i(e[c])}))}(t,n,e)})),{pasteFormat:e,pasteHtml:function(e,n){return Pt(t,e,n)},pasteText:function(e){return Rt(t,e)},pasteImageData:function(e,n){return It(t,e,n)},getDataTransferItems:Yt,hasHtmlOrText:Ht,hasContentType:Wt}},Qt=function(t,e,n){if(!function(t){return!1===H.iOS&&void 0!==t&&"function"==typeof t.setData&&!0!==bt.isMsEdge()}(t))return!1;try{return t.clearData(),t.setData("text/html",e),t.setData("text/plain",n),t.setData(V(),e),!0}catch(t){return!1}},Zt=function(t,e,n,r){Qt(t.clipboardData,e.html,e.text)?(t.preventDefault(),r()):n(e.html,r)},te=function(t){return function(e,n){var r=X(e),o=t.dom.create("div",{contenteditable:"false","data-mce-bogus":"all"}),i=t.dom.create("div",{contenteditable:"true"},r);t.dom.setStyles(o,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),o.appendChild(i),t.dom.add(t.getBody(),o);var a=t.selection.getRng();i.focus();var s=t.dom.createRng();s.selectNodeContents(i),t.selection.setRng(s),q.setTimeout((function(){t.selection.setRng(a),o.parentNode.removeChild(o),n()}),0)}},ee=function(t){return{html:t.selection.getContent({contextual:!0}),text:t.selection.getContent({format:"text"})}},ne=function(t){return!t.selection.isCollapsed()||function(t){return!!t.dom.getParent(t.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",t.getBody())}(t)},re=function(t){t.on("cut",function(t){return function(e){ne(t)&&Zt(e,ee(t),te(t),(function(){if(H.browser.isChrome()){var e=t.selection.getRng();q.setEditorTimeout(t,(function(){t.selection.setRng(e),t.execCommand("Delete")}),0)}else t.execCommand("Delete")}))}}(t)),t.on("copy",function(t){return function(e){ne(t)&&Zt(e,ee(t),te(t),(function(){}))}}(t))},oe=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),ie=function(t,e){return oe.getCaretRangeFromPoint(e.clientX,e.clientY,t.getDoc())},ae=function(t,e){t.focus(),t.selection.setRng(e)},se=function(t,e,n){rt(t)&&t.on("dragend dragover draggesture dragdrop drop drag",(function(t){t.preventDefault(),t.stopPropagation()})),ot(t)||t.on("drop",(function(t){var e=t.dataTransfer;e&&e.files&&e.files.length>0&&t.preventDefault()})),t.on("drop",(function(r){var o,i;if(i=ie(t,r),!r.isDefaultPrevented()&&!n.get()){o=e.getDataTransferItems(r.dataTransfer);var a,s=e.hasContentType(o,V());if(e.hasHtmlOrText(o)&&(!(a=o["text/plain"])||0!==a.indexOf("file://"))||!e.pasteImageData(r,i))if(i&&it(t)){var c=o["mce-internal"]||o["text/html"]||o["text/plain"];c&&(r.preventDefault(),q.setEditorTimeout(t,(function(){t.undoManager.transact((function(){o["mce-internal"]&&t.execCommand("Delete"),ae(t,i),c=bt.trimHtml(c),o["text/html"]?e.pasteHtml(c,s):e.pasteText(c)}))})))}}})),t.on("dragstart",(function(t){n.set(!0)})),t.on("dragover dragend",(function(e){ot(t)&&!1===n.get()&&(e.preventDefault(),ae(t,ie(t,e))),"dragend"===e.type&&n.set(!1)}))},ce=function(t){var e=t.plugins.paste,n=at(t);n&&t.on("PastePreProcess",(function(t){n.call(e,e,t)}));var r=st(t);r&&t.on("PastePostProcess",(function(t){r.call(e,e,t)}))};function ue(t,e){t.on("PastePreProcess",(function(n){n.content=e(t,n.content,n.internal,n.wordContent)}))}function le(t,e){if(!wt.isWordContent(e))return e;var n=[];I.each(t.schema.getBlockElements(),(function(t,e){n.push(e)}));var r=new RegExp("(?:<br> [\\s\\r\\n]+|<br>)*(<\\/?("+n.join("|")+")[^>]*>)(?:<br> [\\s\\r\\n]+|<br>)*","g");return e=bt.filter(e,[[r,"$1"]]),e=bt.filter(e,[[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]])}function de(t,e,n,r){if(r||n)return e;var o,i=ct(t);if(!1===ut(t)||"all"===i)return e;if(i&&(o=i.split(/[, ]/)),o){var a=t.dom,s=t.selection.getNode();e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,(function(t,e,n,r){var i=a.parseStyle(a.decode(n)),c={};if("none"===o)return e+r;for(var u=0;u<o.length;u++){var l=i[o[u]],d=a.getStyle(s,o[u],!0);/color/.test(o[u])&&(l=a.toHex(l),d=a.toHex(d)),d!==l&&(c[o[u]]=l)}return(c=a.serializeStyle(c,"span"))?e+' style="'+c+'"'+r:e+r}))}else e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return e=e.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,(function(t,e,n,r){return e+' style="'+n+'"'+r}))}function fe(t,e){t.$("a",e).find("font,u").each((function(e,n){t.dom.remove(n,!0)}))}var he=function(t){H.webkit&&ue(t,de),H.ie&&(ue(t,le),function(t,e){t.on("PastePostProcess",(function(n){e(t,n.node)}))}(t,fe))},pe=function(t,e){return function(n){n.setActive("text"===e.pasteFormat.get());var r=function(t){return n.setActive(t.state)};return t.on("PastePlainTextToggle",r),function(){return t.off("PastePlainTextToggle",r)}}},me=function(t,e){t.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:function(){return t.execCommand("mceTogglePlainTextPaste")},onSetup:pe(t,e)}),t.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",onAction:function(){return t.execCommand("mceTogglePlainTextPaste")},onSetup:pe(t,e)})};c.add("paste",(function(t){if(!1===u(t)){var e=s(!1),n=s(ft(t)?"text":"html"),r=Jt(t,n),o=he(t);return me(t,r),g(t,r),ce(t),re(t),se(t,r,e),l(r,o)}}))}(window)}).call(this,n(2))},function(t,e,n){n(164)},function(t,e,n){(function(t){!function(e){"use strict";var n,r,o,i,a=tinymce.util.Tools.resolve("tinymce.PluginManager"),s=tinymce.util.Tools.resolve("tinymce.util.VK"),c=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},u=c("string"),l=c("array"),d=c("boolean"),f=c("function"),h=function(t){var e=t.getParam("link_assume_external_targets",!1);return d(e)&&e?1:!u(e)||"http"!==e&&"https"!==e?0:e},p=function(t){return t.getParam("link_context_toolbar",!1,"boolean")},m=function(t){return t.getParam("link_list")},g=function(t){return t.getParam("default_link_target")},v=function(t){return t.getParam("target_list",!0)},b=function(t){return t.getParam("rel_list",[],"array")},y=function(t){return t.getParam("link_class_list",[],"array")},M=function(t){return t.getParam("link_title",!0,"boolean")},_=function(t){return t.getParam("allow_unsafe_link_target",!1,"boolean")},w=function(t){return t.getParam("link_quicklink",!1,"boolean")},x=function(t){var n=e.document.createElement("a");n.target="_blank",n.href=t,n.rel="noreferrer noopener";var r=e.document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,e.window,0,0,0,0,0,!1,!1,!1,!1,0,null),function(t,n){e.document.body.appendChild(t),t.dispatchEvent(n),e.document.body.removeChild(t)}(n,r)},A=function(){return(A=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},L=function(){},T=function(t){return function(){return t}},k=T(!1),S=T(!0),O=function(){return C},C=(n=function(t){return t.isNone()},i={fold:function(t,e){return t()},is:k,isSome:k,isNone:S,getOr:o=function(t){return t},getOrThunk:r=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:T(null),getOrUndefined:T(void 0),or:o,orThunk:r,map:O,each:L,bind:O,exists:k,forall:S,filter:O,equals:n,equals_:n,toArray:function(){return[]},toString:T("none()")},Object.freeze&&Object.freeze(i),i),z=function(t){var e=T(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:S,isNone:k,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return z(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:C},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(k,(function(e){return n(t,e)}))}};return o},D={some:z,none:O,from:function(t){return null==t?C:z(t)}},E=Array.prototype.slice,N=Array.prototype.indexOf,B=Array.prototype.push,P=function(t,e){return n=t,r=e,N.call(n,r)>-1;var n,r},R=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},Y=function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!l(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);B.apply(e,t[n])}return e},W=function(t,e){var n=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r}(t,e);return Y(n)},H=(f(Array.from)&&Array.from,tinymce.util.Tools.resolve("tinymce.util.Tools")),q=function(t){return/^\w+:/i.test(t)},I=function(t,e){var n=["noopener"],r=t?t.split(/\s+/):[],o=function(t){return t.filter((function(t){return-1===H.inArray(n,t)}))},i=e?function(t){return(t=o(t)).length>0?t.concat(n):n}(r):o(r);return i.length>0?function(t){return H.trim(t.sort().join(" "))}(i):""},j=function(t,e){return e=e||t.selection.getNode(),F(e)?t.dom.select("a[href]",e)[0]:t.dom.getParent(e,"a[href]")},X=function(t){return t&&"A"===t.nodeName&&!!t.href},F=function(t){return t&&"FIGURE"===t.nodeName&&/\bimage\b/i.test(t.className)},U=function(t){return function(t,e,n){return R(t,(function(t){n=e(n,t)})),n}(["title","rel","class","target"],(function(e,n){return t[n].each((function(t){e[n]=t.length>0?t:null})),e}),{href:t.href})},V=function(t,e){var n=A({},e);if(!(b(t).length>0)&&!1===_(t)){var r=I(n.rel,"_blank"===n.target);n.rel=r||null}return D.from(n.target).isNone()&&!1===v(t)&&(n.target=g(t)),n.href=function(t,e){return"http"!==e&&"https"!==e||q(t)?t:e+"://"+t}(n.href,h(t)),n},G=function(t,e){var n=t.dom.select("img",e)[0];if(n){var r=t.dom.getParents(n,"a[href]",e)[0];r&&(r.parentNode.insertBefore(n,r),t.dom.remove(r))}},$=function(t,e,n){var r=t.dom.select("img",e)[0];if(r){var o=t.dom.create("a",n);r.parentNode.insertBefore(o,r),o.appendChild(r)}},K=function(t,e,n){var r=t.selection.getNode(),o=j(t,r),i=V(t,U(n));t.undoManager.transact((function(){n.href===e.href&&e.attach(),o?(t.focus(),function(t,e,n,r){n.each((function(t){e.hasOwnProperty("innerText")?e.innerText=t:e.textContent=t})),t.dom.setAttribs(e,r),t.selection.select(e)}(t,o,n.text,i)):function(t,e,n,r){F(e)?$(t,e,r):n.fold((function(){t.execCommand("mceInsertLink",!1,r)}),(function(e){t.insertContent(t.dom.createHTML("a",r,t.dom.encode(e)))}))}(t,r,n.text,i)}))},J=function(t){t.undoManager.transact((function(){var e=t.selection.getNode();if(F(e))G(t,e);else{var n=t.dom.getParent(e,"a[href]",t.getBody());n&&t.dom.remove(n,!0)}t.focus()}))},Q=function(t){return H.grep(t,X).length>0},Z=function(t){var e=t.getAttribute("data-mce-href");return e||t.getAttribute("href")},tt=function(t){return!(/</.test(t)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(t)||-1===t.indexOf("href=")))},et=j,nt=function(t,e){return function(t){return t.replace(/\uFEFF/g,"")}(e?e.innerText||e.textContent:t.getContent({format:"text"}))},rt=I,ot=q,it=function(t){for(var e=[],n=function(t){e.push(t)},r=0;r<t.length;r++)t[r].each(n);return e},at=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n],n);if(r.isSome())return r}return D.none()},st=function(t){return u(t.value)?t.value:""},ct=function(t){return void 0===t&&(t=st),function(e){return D.from(e).map((function(e){return function(t,e){var n=[];return H.each(t,(function(t){var r=u(t.text)?t.text:u(t.title)?t.title:"";if(void 0!==t.menu);else{var o=e(t);n.push({text:r,value:o})}})),n}(e,t)}))}},ut={sanitize:function(t){return ct(st)(t)},sanitizeWith:ct,createUi:function(t,e){return function(n){return{name:t,type:"selectbox",label:e,items:n}}},getValue:st},lt=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return lt(n())}}},dt=function(t,e,n,r){var o=r[e],i=t.length>0;return void 0!==o?function(t,e){return at(e,(function(e){return D.some(e).filter((function(e){return e.value===t}))}))}(o,n).map((function(e){return{url:{value:e.value,meta:{text:i?t:e.text,attach:L}},text:i?t:e.text}})):D.none()},ft=function(t,e){var n=lt(t.text),r=function(t,r){var o,i,a=(o=e,i=r.name,"link"===i?o.catalogs.link:"anchor"===i?o.catalogs.anchor:D.none()).getOr([]);return dt(n.get(),r.name,a,t)};return{onChange:function(t,e){return"url"===e.name?function(t){if(n.get().length<=0){var e=void 0!==t.url.meta.text?t.url.meta.text:t.url.value;return D.some({text:e})}return D.none()}(t()):P(["anchor","link"],e.name)?r(t(),e):"text"===e.name?(n.set(t().text),D.none()):D.none()}}},ht={},pt={exports:ht};!function(e,n,r,o){!function(o){if("object"==typeof n&&void 0!==r)r.exports=o();else if("function"==typeof e&&e.amd)e([],o);else{("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:this).EphoxContactWrapper=o()}}((function(){return function t(e,n,r){function i(s,c){if(!n[s]){if(!e[s]){var u="function"==typeof o&&o;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};e[s][0].call(d.exports,(function(t){return i(e[s][1][t]||t)}),d,d.exports,t,e,n,r)}return n[s].exports}for(var a="function"==typeof o&&o,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var u,l=[],d=!1,f=-1;function h(){d&&u&&(d=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!d){var t=c(h);d=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new m(t,e)),1!==l.length||d||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(t,e,n){(function(t){!function(n){var r=setTimeout;function o(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,r)}else(1===t._state?s:c)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void u(t);if("function"==typeof n)return void d((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var r,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&i._immediateFn((function(){t._handled||i._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,c(e,t))}))}catch(t){if(n)return;n=!0,c(e,t)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new l(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i((function(t,n){if(0===e.length)return t([]);var r=e.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}for(var i=0;i<e.length;i++)o(i,e[i])}))},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))},i.race=function(t){return new i((function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)}))},i._immediateFn="function"==typeof t?function(e){t(e)}:function(t){r(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(this,t("timers").setImmediate)},{timers:3}],3:[function(t,e,n){(function(e,r){var o=t("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=c++,r=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,o((function(){s[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var r=t("promise-polyfill"),o="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))}(void 0,ht,pt,void 0);var mt=pt.exports.boltExport,gt=function(t){var n=D.none(),r=[],o=function(t){i()?s(t):r.push(t)},i=function(){return n.isSome()},a=function(t){R(t,s)},s=function(t){n.each((function(n){e.setTimeout((function(){t(n)}),0)}))};return t((function(t){n=D.some(t),a(r),r=[]})),{get:o,map:function(t){return gt((function(e){o((function(n){e(t(n))}))}))},isReady:i}},vt={nu:gt,pure:function(t){return gt((function(e){e(t)}))}},bt=function(t){e.setTimeout((function(){throw t}),0)},yt=function(t){var e=function(e){t().then(e,bt)};return{map:function(e){return yt((function(){return t().then(e)}))},bind:function(e){return yt((function(){return t().then((function(t){return e(t).toPromise()}))}))},anonBind:function(e){return yt((function(){return t().then((function(){return e.toPromise()}))}))},toLazy:function(){return vt.nu(e)},toCached:function(){var e=null;return yt((function(){return null===e&&(e=t()),e}))},toPromise:t,get:e}},Mt=function(t){return yt((function(){return new mt(t)}))},_t=function(t){return yt((function(){return mt.resolve(t)}))},wt=tinymce.util.Tools.resolve("tinymce.util.Delay"),xt=function(t){var e=t.href;return e.indexOf("@")>0&&-1===e.indexOf("//")&&-1===e.indexOf("mailto:")?D.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:function(t){return A(A({},t),{href:"mailto:"+e})}}):D.none()},At=function(t){return function(e){var n=e.href;return 1===t&&!ot(n)||0===t&&/^\s*www[\.|\d\.]/i.test(n)?D.some({message:"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",preprocess:function(t){return A(A({},t),{href:"http://"+n})}}):D.none()}},Lt=function(t,e,n){return at([xt,At(e)],(function(t){return t(n)})).fold((function(){return _t(n)}),(function(e){return Mt((function(r){!function(t,e,n){var r=t.selection.getRng();wt.setEditorTimeout(t,(function(){t.windowManager.confirm(e,(function(e){t.selection.setRng(r),n(e)}))}))}(t,e.message,(function(t){r(t?e.preprocess(n):n)}))}))}))},Tt=function(t){var e=t.dom.select("a:not([href])"),n=W(e,(function(t){var e=t.name||t.id;return e?[{text:e,value:"#"+e}]:[]}));return n.length>0?D.some([{text:"None",value:""}].concat(n)):D.none()},kt=function(t){var e=y(t);return e.length>0?ut.sanitize(e):D.none()},St=tinymce.util.Tools.resolve("tinymce.util.XHR"),Ot=function(t){var e=function(e){return t.convertURL(e.value||e.url,"href")},n=m(t);return Mt((function(t){u(n)?St.send({url:n,success:function(e){return t(function(t){try{return D.some(JSON.parse(t))}catch(t){return D.none()}}(e))},error:function(e){return t(D.none())}}):f(n)?n((function(e){return t(D.some(e))})):t(D.from(n))})).map((function(t){return t.bind(ut.sanitizeWith(e)).map((function(t){return t.length>0?[{text:"None",value:""}].concat(t):t}))}))},Ct=function(t,e){var n=b(t);if(n.length>0){var r=e.is("_blank");return(!1===_(t)?ut.sanitizeWith((function(t){return rt(ut.getValue(t),r)})):ut.sanitize)(n)}return D.none()},zt=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],Dt=function(t){var e=v(t);return l(e)?ut.sanitize(e).orThunk((function(){return D.some(zt)})):!1===e?D.none():D.some(zt)},Et=function(t,e,n){var r=t.getAttrib(e,n);return null!==r&&r.length>0?D.some(r):D.none()},Nt=function(t,e){return Ot(t).map((function(n){var r=function(t,e){var n=t.dom,r=tt(t.selection.getContent())?D.some(nt(t.selection,e)):D.none(),o=e?D.some(n.getAttrib(e,"href")):D.none(),i=e?D.from(n.getAttrib(e,"target")):D.none(),a=Et(n,e,"rel"),s=Et(n,e,"class");return{url:o,text:r,title:Et(n,e,"title"),target:i,rel:a,linkClass:s}}(t,e);return{anchor:r,catalogs:{targets:Dt(t),rels:Ct(t,r.target),classes:kt(t),anchor:Tt(t),link:n},optNode:D.from(e),flags:{titleEnabled:M(t)}}}))},Bt=function(t){(function(t){var e=et(t);return Nt(t,e)})(t).map((function(e){var n=function(t,e,n){return function(r){var o=r.getData();if(!o.url.value)return J(t),void r.close();var i=function(t){return D.from(o[t]).filter((function(n){return!e.anchor[t].is(n)}))},a={href:o.url.value,text:i("text"),target:i("target"),rel:i("rel"),class:i("linkClass"),title:i("title")},s={href:o.url.value,attach:void 0!==o.url.meta&&o.url.meta.attach?o.url.meta.attach:function(){}};Lt(t,n,a).get((function(e){K(t,s,e)})),r.close()}}(t,e,h(t));return function(t,e,n){var r=t.anchor.text.map((function(){return{name:"text",type:"input",label:"Text to display"}})).toArray(),o=t.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],i=function(t,e){return{url:{value:t.anchor.url.getOr(""),meta:{attach:function(){},text:t.anchor.url.fold((function(){return""}),(function(){return t.anchor.text.getOr("")})),original:{value:t.anchor.url.getOr("")}}},text:t.anchor.text.getOr(""),title:t.anchor.title.getOr(""),anchor:t.anchor.url.getOr(""),link:t.anchor.url.getOr(""),rel:t.anchor.rel.getOr(""),target:t.anchor.target.or(e).getOr(""),linkClass:t.anchor.linkClass.getOr("")}}(t,D.from(g(n))),a=ft(i,t),s=t.catalogs;return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:Y([[{name:"url",type:"urlinput",filetype:"file",label:"URL"}],r,o,it([s.anchor.map(ut.createUi("anchor","Anchors")),s.rels.map(ut.createUi("rel","Rel")),s.targets.map(ut.createUi("target","Open link in...")),s.link.map(ut.createUi("link","Link list")),s.classes.map(ut.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:i,onChange:function(t,e){var n=e.name;a.onChange(t.getData,{name:n}).each((function(e){t.setData(e)}))},onSubmit:e}}(e,n,t)})).get((function(e){t.windowManager.open(e)}))},Pt=function(t,e){return t.dom.getParent(e,"a[href]")},Rt=function(t){return Pt(t,t.selection.getStart())},Yt=function(t,e){if(e){var n=Z(e);if(/^#/.test(n)){var r=t.$(n);r.length&&t.selection.scrollIntoView(r[0],!0)}else x(e.href)}},Wt=function(t){return function(){Bt(t)}},Ht=function(t){return function(){Yt(t,Rt(t))}},qt=function(t){t.on("click",(function(e){var n=Pt(t,e.target);n&&s.metaKeyPressed(e)&&(e.preventDefault(),Yt(t,n))})),t.on("keydown",(function(e){var n=Rt(t);n&&13===e.keyCode&&function(t){return!0===t.altKey&&!1===t.shiftKey&&!1===t.ctrlKey&&!1===t.metaKey}(e)&&(e.preventDefault(),Yt(t,n))}))},It=function(t){return function(e){var n=function(n){return e.setActive(!t.readonly&&!!et(t,n.element))};return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}}},jt=function(t){return function(e){e.setDisabled(!Q(t.dom.getParents(t.selection.getStart())));var n=function(t){return e.setDisabled(!Q(t.parents))};return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}}},Xt=function(t){t.addCommand("mceLink",(function(){w(t)?t.fire("contexttoolbar-show",{toolbarKey:"quicklink"}):Wt(t)()}))},Ft=function(t){t.addShortcut("Meta+K","",(function(){t.execCommand("mceLink")}))},Ut=function(t){t.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:Wt(t),onSetup:It(t)}),t.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Ht(t),onSetup:jt(t)}),t.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:function(){return J(t)},onSetup:jt(t)})},Vt=function(t){t.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Ht(t),onSetup:jt(t)}),t.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:Wt(t)}),t.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:function(){return J(t)},onSetup:jt(t)})},Gt=function(t){t.ui.registry.addContextMenu("link",{update:function(e){return Q(t.dom.getParents(e,"a"))?"link unlink openlink":"link"}})},$t=function(t){var e=function(e){var n=t.selection.getNode();return e.setDisabled(!et(t,n)),function(){}};t.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:It(t)},label:"Link",predicate:function(e){return!!et(t,e)&&p(t)},initValue:function(){var e=et(t);return e?Z(e):""},commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:function(e){var n=t.selection.getNode();return e.setActive(!!et(t,n)),It(t)(e)},onAction:function(e){var n=et(t),r=e.getValue();if(n)t.dom.setAttrib(n,"href",r),function(t){t.selection.collapse(!1)}(t),e.hide();else{var o={href:r,attach:function(){}},i=tt(t.selection.getContent())?D.some(nt(t.selection,n)).filter((function(t){return t.length>0})).or(D.from(r)):D.none();K(t,o,{href:r,text:i,title:D.none(),rel:D.none(),target:D.none(),class:D.none()}),e.hide()}}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:e,onAction:function(e){J(t),e.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:e,onAction:function(e){Ht(t)(),e.hide()}}]})};a.add("link",(function(t){Ut(t),Vt(t),Gt(t),$t(t),qt(t),Xt(t),Ft(t)}))}(window)}).call(this,n(2))},function(t,e,n){n(166)},function(t,e){!function(){"use strict";var t,e,n,r,o=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=tinymce.util.Tools.resolve("tinymce.util.Tools"),a=function(t,e,n){var r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===n?null:{"list-style-type":n})},s=function(t){t.addCommand("ApplyUnorderedListStyle",(function(e,n){a(t,"UL",n["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",(function(e,n){a(t,"OL",n["list-style-type"])}))},c=function(t){var e=t.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");return e?e.split(/[ ,]/):[]},u=function(t){var e=t.getParam("advlist_bullet_styles","default,circle,square");return e?e.split(/[ ,]/):[]},l=function(){},d=function(t){return function(){return t}},f=d(!1),h=d(!0),p=function(){return m},m=(t=function(t){return t.isNone()},r={fold:function(t,e){return t()},is:f,isSome:f,isNone:h,getOr:n=function(t){return t},getOrThunk:e=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:d(null),getOrUndefined:d(void 0),or:n,orThunk:e,map:p,each:l,bind:p,exists:f,forall:h,filter:p,equals:t,equals_:t,toArray:function(){return[]},toString:d("none()")},Object.freeze&&Object.freeze(r),r),g=function(t){var e=d(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:h,isNone:f,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return g(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:m},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(f,(function(e){return n(t,e)}))}};return o},v=function(t){return null==t?m:g(t)},b=function(t){return t&&/^(TH|TD)$/.test(t.nodeName)},y=function(t){return function(e){return e&&/^(OL|UL|DL)$/.test(e.nodeName)&&function(t,e){return t.$.contains(t.getBody(),e)}(t,e)}},M=function(t){var e=t.dom.getParent(t.selection.getNode(),"ol,ul"),n=t.dom.getStyle(e,"listStyleType");return v(n)},_=function(t,e,n){var r=function(t,e){for(var n=0;n<t.length;n++){if(e(t[n]))return n}return-1}(e.parents,b),o=-1!==r?e.parents.slice(0,r):e.parents,a=i.grep(o,y(t));return a.length>0&&a[0].nodeName===n},w=function(t,e,n,r,o,s){s.length>0?function(t,e,n,r,o,s){t.ui.registry.addSplitButton(e,{tooltip:n,icon:"OL"===o?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:function(t){t(i.map(s,(function(t){return{type:"choiceitem",value:"default"===t?"":t,icon:"list-"+("OL"===o?"num":"bull")+"-"+("disc"===t||"decimal"===t?"default":t),text:function(t){return t.replace(/\-/g," ").replace(/\b\w/g,(function(t){return t.toUpperCase()}))}(t)}})))},onAction:function(){return t.execCommand(r)},onItemAction:function(e,n){a(t,o,n)},select:function(e){return M(t).map((function(t){return e===t})).getOr(!1)},onSetup:function(e){var n=function(n){e.setActive(_(t,n,o))};return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}}})}(t,e,n,r,o,s):function(t,e,n,r,o,i){t.ui.registry.addToggleButton(e,{active:!1,tooltip:n,icon:"OL"===o?"ordered-list":"unordered-list",onSetup:function(e){var n=function(n){e.setActive(_(t,n,o))};return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}},onAction:function(){return t.execCommand(r)}})}(t,e,n,r,o)},x=function(t){w(t,"numlist","Numbered list","InsertOrderedList","OL",c(t)),w(t,"bullist","Bullet list","InsertUnorderedList","UL",u(t))};o.add("advlist",(function(t){(function(t,e){var n=t.settings.plugins?t.settings.plugins:"";return-1!==i.inArray(n.split(/[ ,]/),e)})(t,"lists")&&(x(t),s(t))}))}()},function(t,e,n){n(168)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.Env"),n=function(t){return t.getParam("autolink_pattern",/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i)},r=function(t){return t.getParam("default_link_target",!1)},o=function(t,e){if(e<0&&(e=0),3===t.nodeType){var n=t.data.length;e>n&&(e=n)}return e},i=function(t,e,n){1!==e.nodeType||e.hasChildNodes()?t.setStart(e,o(e,n)):t.setStartBefore(e)},a=function(t,e,n){1!==e.nodeType||e.hasChildNodes()?t.setEnd(e,o(e,n)):t.setEndAfter(e)},s=function(t,e,o){var s,c,u,l,d,f,h,p,m,g,v=n(t),b=r(t);if("A"!==t.selection.getNode().tagName){if((s=t.selection.getRng(!0).cloneRange()).startOffset<5){if(!(p=s.endContainer.previousSibling)){if(!s.endContainer.firstChild||!s.endContainer.firstChild.nextSibling)return;p=s.endContainer.firstChild.nextSibling}if(m=p.length,i(s,p,m),a(s,p,m),s.endOffset<5)return;c=s.endOffset,l=p}else{if(3!==(l=s.endContainer).nodeType&&l.firstChild){for(;3!==l.nodeType&&l.firstChild;)l=l.firstChild;3===l.nodeType&&(i(s,l,0),a(s,l,l.nodeValue.length))}c=1===s.endOffset?2:s.endOffset-1-e}u=c;do{i(s,l,c>=2?c-2:0),a(s,l,c>=1?c-1:0),c-=1,g=s.toString()}while(" "!==g&&""!==g&&160!==g.charCodeAt(0)&&c-2>=0&&g!==o);!function(t,e){return t===e||" "===t||160===t.charCodeAt(0)}(s.toString(),o)?0===s.startOffset?(i(s,l,0),a(s,l,u)):(i(s,l,c),a(s,l,u)):(i(s,l,c),a(s,l,u),c+=1),"."===(f=s.toString()).charAt(f.length-1)&&a(s,l,u-1),(h=(f=s.toString().trim()).match(v))&&("www."===h[1]?h[1]="http://www.":/@$/.test(h[1])&&!/^mailto:/.test(h[1])&&(h[1]="mailto:"+h[1]),d=t.selection.getBookmark(),t.selection.setRng(s),t.execCommand("createlink",!1,h[1]+h[2]),!1!==b&&t.dom.setAttrib(t.selection.getNode(),"target",b),t.selection.moveToBookmark(d),t.nodeChanged())}},c=function(t){var n;t.on("keydown",(function(e){if(13===e.keyCode)return function(t){s(t,-1,"")}(t)})),e.browser.isIE()?t.on("focus",(function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(t){}}})):(t.on("keypress",(function(e){if(41===e.keyCode)return function(t){s(t,-1,"(")}(t)})),t.on("keyup",(function(e){if(32===e.keyCode)return function(t){s(t,0,"")}(t)})))};t.add("autolink",(function(t){c(t)}))}()},function(t,e,n){n(170)},function(t,e,n){(function(t){!function(e){"use strict";var n,r,o,i,a=tinymce.util.Tools.resolve("tinymce.PluginManager"),s=function(){},c=function(t){return function(){return t}},u=function(t){return t},l=c(!1),d=c(!0),f=function(){return h},h=(n=function(t){return t.isNone()},i={fold:function(t,e){return t()},is:l,isSome:l,isNone:d,getOr:o=function(t){return t},getOrThunk:r=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:c(null),getOrUndefined:c(void 0),or:o,orThunk:r,map:f,each:s,bind:f,exists:l,forall:d,filter:f,equals:n,equals_:n,toArray:function(){return[]},toString:c("none()")},Object.freeze&&Object.freeze(i),i),p=function(t){var e=c(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:d,isNone:l,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return p(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:h},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(l,(function(e){return n(t,e)}))}};return o},m={some:p,none:f,from:function(t){return null==t?h:p(t)}},g=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},v=g("string"),b=g("object"),y=g("array"),M=g("boolean"),_=g("function"),w=Array.prototype.slice,x=Array.prototype.push,A=function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!y(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);x.apply(e,t[n])}return e},L=(_(Array.from)&&Array.from,function(){return(L=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)}),T={},k={exports:T};!function(e,n,r,o){!function(o){if("object"==typeof n&&void 0!==r)r.exports=o();else if("function"==typeof e&&e.amd)e([],o);else{("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:this).EphoxContactWrapper=o()}}((function(){return function t(e,n,r){function i(s,c){if(!n[s]){if(!e[s]){var u="function"==typeof o&&o;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};e[s][0].call(d.exports,(function(t){return i(e[s][1][t]||t)}),d,d.exports,t,e,n,r)}return n[s].exports}for(var a="function"==typeof o&&o,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var u,l=[],d=!1,f=-1;function h(){d&&u&&(d=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!d){var t=c(h);d=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new m(t,e)),1!==l.length||d||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(t,e,n){(function(t){!function(n){var r=setTimeout;function o(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,r)}else(1===t._state?s:c)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void u(t);if("function"==typeof n)return void d((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var r,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&i._immediateFn((function(){t._handled||i._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,c(e,t))}))}catch(t){if(n)return;n=!0,c(e,t)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new l(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i((function(t,n){if(0===e.length)return t([]);var r=e.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(i,t)}),n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}for(var i=0;i<e.length;i++)o(i,e[i])}))},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))},i.race=function(t){return new i((function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)}))},i._immediateFn="function"==typeof t?function(e){t(e)}:function(t){r(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(this,t("timers").setImmediate)},{timers:3}],3:[function(t,e,n){(function(e,r){var o=t("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=c++,r=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,o((function(){s[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var r=t("promise-polyfill"),o="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))}(void 0,T,k,void 0);var S=k.exports.boltExport,O=function(t){var n=m.none(),r=[],o=function(t){i()?s(t):r.push(t)},i=function(){return n.isSome()},a=function(t){!function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}}(t,s)},s=function(t){n.each((function(n){e.setTimeout((function(){t(n)}),0)}))};return t((function(t){n=m.some(t),a(r),r=[]})),{get:o,map:function(t){return O((function(e){o((function(n){e(t(n))}))}))},isReady:i}},C={nu:O,pure:function(t){return O((function(e){e(t)}))}},z=function(t){e.setTimeout((function(){throw t}),0)},D=function(t){var e=function(e){t().then(e,z)};return{map:function(e){return D((function(){return t().then(e)}))},bind:function(e){return D((function(){return t().then((function(t){return e(t).toPromise()}))}))},anonBind:function(e){return D((function(){return t().then((function(){return e.toPromise()}))}))},toLazy:function(){return C.nu(e)},toCached:function(){var e=null;return D((function(){return null===e&&(e=t()),e}))},toPromise:t,get:e}},E=function(t){return D((function(){return new S(t)}))},N=function(t){return D((function(){return S.resolve(t)}))},B=function(t){return{is:function(e){return t===e},isValue:d,isError:l,getOr:c(t),getOrThunk:c(t),getOrDie:c(t),or:function(e){return B(t)},orThunk:function(e){return B(t)},fold:function(e,n){return n(t)},map:function(e){return B(e(t))},mapError:function(e){return B(t)},each:function(e){e(t)},bind:function(e){return e(t)},exists:function(e){return e(t)},forall:function(e){return e(t)},toOption:function(){return m.some(t)}}},P=function(t){return{is:l,isValue:l,isError:d,getOr:u,getOrThunk:function(t){return t()},getOrDie:function(){return(e=String(t),function(){throw new Error(e)})();var e},or:function(t){return t},orThunk:function(t){return t()},fold:function(e,n){return e(t)},map:function(e){return P(t)},mapError:function(e){return P(e(t))},each:s,bind:function(e){return P(t)},exists:l,forall:d,toOption:m.none}},R={value:B,error:P,fromOption:function(t,e){return t.fold((function(){return P(e)}),B)}},Y=function(t){return L(L({},t),{toCached:function(){return Y(t.toCached())},bindFuture:function(e){return Y(t.bind((function(t){return t.fold((function(t){return N(R.error(t))}),(function(t){return e(t)}))})))},bindResult:function(e){return Y(t.map((function(t){return t.bind(e)})))},mapResult:function(e){return Y(t.map((function(t){return t.map(e)})))},mapError:function(e){return Y(t.map((function(t){return t.mapError(e)})))},foldResult:function(e,n){return t.map((function(t){return t.fold(e,n)}))},withTimeout:function(n,r){return Y(E((function(o){var i=!1,a=e.setTimeout((function(){i=!0,o(R.error(r()))}),n);t.get((function(t){i||(e.clearTimeout(a),o(t))}))})))}})},W=function(t){return Y(E(t))},H=W,q=Object.prototype.hasOwnProperty,I=function(t){return function(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];if(0===e.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<e.length;o++){var i=e[o];for(var a in i)q.call(i,a)&&(r[a]=t(r[a],i[a]))}return r}},j=I((function(t,e){return b(t)&&b(e)?j(t,e):e})),X=I((function(t,e){return e})),F=function(t){var e=t.imageList.map((function(t){return{name:"images",type:"selectbox",label:"Image list",items:t}})),n=t.classList.map((function(t){return{name:"classes",type:"selectbox",label:"Class",items:t}}));return A([[{name:"src",type:"urlinput",filetype:"image",label:"Source"}],e.toArray(),t.hasDescription?[{name:"alt",type:"input",label:"Image description"}]:[],t.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],t.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{type:"grid",columns:2,items:A([n.toArray(),t.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]])},U=function(t){return{title:"General",name:"general",items:F(t)}},V=F,G=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),$=tinymce.util.Tools.resolve("tinymce.util.Promise"),K=tinymce.util.Tools.resolve("tinymce.util.XHR"),J=function(t){return t.getParam("images_upload_url","","string")},Q=function(t){return t.getParam("images_upload_handler",void 0,"function")},Z={hasDimensions:function(t){return t.getParam("image_dimensions",!0,"boolean")},hasUploadTab:function(t){return t.getParam("image_uploadtab",!0,"boolean")},hasAdvTab:function(t){return t.getParam("image_advtab",!1,"boolean")},getPrependUrl:function(t){return t.getParam("image_prepend_url","","string")},getClassList:function(t){return t.getParam("image_class_list")},hasDescription:function(t){return t.getParam("image_description",!0,"boolean")},hasImageTitle:function(t){return t.getParam("image_title",!1,"boolean")},hasImageCaption:function(t){return t.getParam("image_caption",!1,"boolean")},getImageList:function(t){return t.getParam("image_list",!1)},hasUploadUrl:function(t){return!!J(t)},hasUploadHandler:function(t){return!!Q(t)},getUploadUrl:J,getUploadHandler:Q,getUploadBasePath:function(t){return t.getParam("images_upload_base_path",void 0,"string")},getUploadCredentials:function(t){return t.getParam("images_upload_credentials",!1,"boolean")}},tt=function(t,e){return Math.max(parseInt(t,10),parseInt(e,10))},et=function(t,n){var r=e.document.createElement("img"),o=function(t){r.parentNode&&r.parentNode.removeChild(r),n(t)};r.onload=function(){var t={width:tt(r.width,r.clientWidth),height:tt(r.height,r.clientHeight)};o(R.value(t))},r.onerror=function(){o(R.error("Failed to get image dimensions for: "+t))};var i=r.style;i.visibility="hidden",i.position="fixed",i.bottom=i.left="0px",i.width=i.height="auto",e.document.body.appendChild(r),r.src=t},nt=function(t){return t&&(t=t.replace(/px$/,"")),t},rt=function(t){return t.length>0&&/^[0-9]+$/.test(t)&&(t+="px"),t},ot=function(t){if(t.margin){var e=String(t.margin).split(" ");switch(e.length){case 1:t["margin-top"]=t["margin-top"]||e[0],t["margin-right"]=t["margin-right"]||e[0],t["margin-bottom"]=t["margin-bottom"]||e[0],t["margin-left"]=t["margin-left"]||e[0];break;case 2:t["margin-top"]=t["margin-top"]||e[0],t["margin-right"]=t["margin-right"]||e[1],t["margin-bottom"]=t["margin-bottom"]||e[0],t["margin-left"]=t["margin-left"]||e[1];break;case 3:t["margin-top"]=t["margin-top"]||e[0],t["margin-right"]=t["margin-right"]||e[1],t["margin-bottom"]=t["margin-bottom"]||e[2],t["margin-left"]=t["margin-left"]||e[1];break;case 4:t["margin-top"]=t["margin-top"]||e[0],t["margin-right"]=t["margin-right"]||e[1],t["margin-bottom"]=t["margin-bottom"]||e[2],t["margin-left"]=t["margin-left"]||e[3]}delete t.margin}return t},it=function(t,e){var n=Z.getImageList(t);"string"==typeof n?K.send({url:n,success:function(t){e(JSON.parse(t))}}):"function"==typeof n?n(e):e(n)},at=function(t,e,n){var r=function(){n.onload=n.onerror=null,t.selection&&(t.selection.select(n),t.nodeChanged())};n.onload=function(){e.width||e.height||!Z.hasDimensions(t)||t.dom.setAttribs(n,{width:String(n.clientWidth),height:String(n.clientHeight)}),r()},n.onerror=r},st=function(t){return new $((function(n,r){var o=new e.FileReader;o.onload=function(){n(o.result)},o.onerror=function(){r(o.error.message)},o.readAsDataURL(t)}))},ct=function(t){return"IMG"===t.nodeName&&(t.hasAttribute("data-mce-object")||t.hasAttribute("data-mce-placeholder"))},ut=G.DOM,lt=function(t){return t.style.marginLeft&&t.style.marginRight&&t.style.marginLeft===t.style.marginRight?nt(t.style.marginLeft):""},dt=function(t){return t.style.marginTop&&t.style.marginBottom&&t.style.marginTop===t.style.marginBottom?nt(t.style.marginTop):""},ft=function(t){return t.style.borderWidth?nt(t.style.borderWidth):""},ht=function(t,e){return t.hasAttribute(e)?t.getAttribute(e):""},pt=function(t,e){return t.style[e]?t.style[e]:""},mt=function(t){return null!==t.parentNode&&"FIGURE"===t.parentNode.nodeName},gt=function(t,e,n){t.setAttribute(e,n)},vt=function(t){mt(t)?function(t){var e=t.parentNode;ut.insertAfter(t,e),ut.remove(e)}(t):function(t){var e=ut.create("figure",{class:"image"});ut.insertAfter(e,t),e.appendChild(t),e.appendChild(ut.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false"}(t)},bt=function(t,e){var n=t.getAttribute("style"),r=e(null!==n?n:"");r.length>0?(t.setAttribute("style",r),t.setAttribute("data-mce-style",r)):t.removeAttribute("style")},yt=function(t,e){return function(t,n,r){t.style[n]?(t.style[n]=rt(r),bt(t,e)):gt(t,n,r)}},Mt=function(t,e){return t.style[e]?nt(t.style[e]):ht(t,e)},_t=function(t,e){var n=rt(e);t.style.marginLeft=n,t.style.marginRight=n},wt=function(t,e){var n=rt(e);t.style.marginTop=n,t.style.marginBottom=n},xt=function(t,e){var n=rt(e);t.style.borderWidth=n},At=function(t,e){t.style.borderStyle=e},Lt=function(t){return"FIGURE"===t.nodeName},Tt=function(t,n){var r=e.document.createElement("img");return gt(r,"style",n.style),(lt(r)||""!==n.hspace)&&_t(r,n.hspace),(dt(r)||""!==n.vspace)&&wt(r,n.vspace),(ft(r)||""!==n.border)&&xt(r,n.border),(function(t){return pt(t,"borderStyle")}(r)||""!==n.borderStyle)&&At(r,n.borderStyle),t(r.getAttribute("style"))},kt=function(t,e){return{src:ht(e,"src"),alt:ht(e,"alt"),title:ht(e,"title"),width:Mt(e,"width"),height:Mt(e,"height"),class:ht(e,"class"),style:t(ht(e,"style")),caption:mt(e),hspace:lt(e),vspace:dt(e),border:ft(e),borderStyle:pt(e,"borderStyle")}},St=function(t,e,n,r,o){n[r]!==e[r]&&o(t,r,n[r])},Ot=function(t,e){return function(n,r,o){t(n,o),bt(n,e)}},Ct=function(t,e,n){var r=kt(t,n);St(n,r,e,"caption",(function(t,e,n){return vt(t)})),St(n,r,e,"src",gt),St(n,r,e,"alt",gt),St(n,r,e,"title",gt),St(n,r,e,"width",yt(0,t)),St(n,r,e,"height",yt(0,t)),St(n,r,e,"class",gt),St(n,r,e,"style",Ot((function(t,e){return gt(t,"style",e)}),t)),St(n,r,e,"hspace",Ot(_t,t)),St(n,r,e,"vspace",Ot(wt,t)),St(n,r,e,"border",Ot(xt,t)),St(n,r,e,"borderStyle",Ot(At,t))},zt=function(t,e){var n=t.dom.styles.parse(e),r=ot(n),o=t.dom.styles.parse(t.dom.styles.serialize(r));return t.dom.styles.serialize(o)},Dt=function(t){var e=t.selection.getNode(),n=t.dom.getParent(e,"figure.image");return n?t.dom.select("img",n)[0]:e&&("IMG"!==e.nodeName||ct(e))?null:e},Et=function(t,e){var n=t.dom,r=n.getParent(e.parentNode,(function(e){return t.schema.getTextBlockElements()[e.nodeName]}),t.getBody());return r?n.split(r,e):e},Nt=function(t,n){var r=function(t,n){var r=e.document.createElement("img");if(Ct(t,X(n,{caption:!1}),r),gt(r,"alt",n.alt),n.caption){var o=ut.create("figure",{class:"image"});return o.appendChild(r),o.appendChild(ut.create("figcaption",{contentEditable:"true"},"Caption")),o.contentEditable="false",o}return r}((function(e){return zt(t,e)}),n);t.dom.setAttrib(r,"data-mce-id","__mcenew"),t.focus(),t.selection.setContent(r.outerHTML);var o=t.dom.select('*[data-mce-id="__mcenew"]')[0];if(t.dom.setAttrib(o,"data-mce-id",null),Lt(o)){var i=Et(t,o);t.selection.select(i)}else t.selection.select(o)},Bt=function(t,e){var n=Dt(t);n?e.src?function(t,e){var n=Dt(t);if(Ct((function(e){return zt(t,e)}),e,n),function(t,e){t.dom.setAttrib(e,"src",e.getAttribute("src"))}(t,n),Lt(n.parentNode)){var r=n.parentNode;Et(t,r),t.selection.select(n.parentNode)}else t.selection.select(n),at(t,e,n)}(t,e):function(t,e){if(e){var n=t.dom.is(e.parentNode,"figure.image")?e.parentNode:e;t.dom.remove(n),t.focus(),t.nodeChanged(),t.dom.isEmpty(t.getBody())&&(t.setContent(""),t.selection.setCursorLocation())}}(t,n):e.src&&Nt(t,e)},Pt=tinymce.util.Tools.resolve("tinymce.util.Tools"),Rt=function(t){return v(t.value)?t.value:""},Yt=function(t,e){var n=[];return Pt.each(t,(function(t){var r=v(t.text)?t.text:v(t.title)?t.title:"";if(void 0!==t.menu){var o=Yt(t.menu,e);n.push({text:r,items:o})}else{var i=e(t);n.push({text:r,value:i})}})),n},Wt=function(t){return void 0===t&&(t=Rt),function(e){return e?m.from(e).map((function(e){return Yt(e,t)})):m.none()}},Ht=function(t,e){return function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n],n);if(r.isSome())return r}return m.none()}(t,(function(t){return function(t){return Object.prototype.hasOwnProperty.call(t,"items")}(t)?Ht(t.items,e):t.value===e?m.some(t):m.none()}))},qt=Wt,It=function(t){return Wt(Rt)(t)},jt=function(t,e){return t.bind((function(t){return Ht(t,e)}))};function Xt(t){var n=function(n,r,o,i){var a,s;(a=new e.XMLHttpRequest).open("POST",t.url),a.withCredentials=t.credentials,a.upload.onprogress=function(t){i(t.loaded/t.total*100)},a.onerror=function(){o("Image upload failed due to a XHR Transport error. Code: "+a.status)},a.onload=function(){var e,n,i;a.status<200||a.status>=300?o("HTTP Error: "+a.status):(e=JSON.parse(a.responseText))&&"string"==typeof e.location?r((n=t.basePath,i=e.location,n?n.replace(/\/$/,"")+"/"+i.replace(/^\//,""):i)):o("Invalid JSON: "+a.responseText)},(s=new e.FormData).append("file",n.blob(),n.filename()),a.send(s)};return t=Pt.extend({credentials:!1,handler:n},t),{upload:function(e){return t.url||t.handler!==n?function(t,e){return new $((function(n,r){try{e(t,n,r,s)}catch(t){r(t.message)}}))}(e,t.handler):$.reject("Upload url missing from the settings.")}}}var Ft=function(t){return{title:"Advanced",name:"advanced",items:[{type:"input",label:"Style",name:"style"},{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"selectbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}},Ut=function(t){var e=qt((function(e){return t.convertURL(e.value||e.url,"src")})),n=E((function(n){it(t,(function(t){n(e(t).map((function(t){return A([[{text:"None",value:""}],t])})))}))})),r=It(Z.getClassList(t)),o=Z.hasAdvTab(t),i=Z.hasUploadTab(t),a=Z.hasUploadUrl(t),s=Z.hasUploadHandler(t),c=function(t){var e=Dt(t);return e?kt((function(e){return zt(t,e)}),e):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:""}}(t),u=Z.hasDescription(t),l=Z.hasImageTitle(t),d=Z.hasDimensions(t),f=Z.hasImageCaption(t),h=Z.getUploadUrl(t),p=Z.getUploadBasePath(t),g=Z.getUploadCredentials(t),b=Z.getUploadHandler(t),y=m.some(Z.getPrependUrl(t)).filter((function(t){return v(t)&&t.length>0}));return n.map((function(t){return{image:c,imageList:t,classList:r,hasAdvTab:o,hasUploadTab:i,hasUploadUrl:a,hasUploadHandler:s,hasDescription:u,hasImageTitle:l,hasDimensions:d,hasImageCaption:f,url:h,basePath:p,credentials:g,handler:b,prependURL:y}}))},Vt=function(t){return{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}},Gt=function(t){return{src:{value:t.src,meta:{}},images:t.src,alt:t.alt,title:t.title,dimensions:{width:t.width,height:t.height},classes:t.class,caption:t.caption,style:t.style,vspace:t.vspace,border:t.border,hspace:t.hspace,borderstyle:t.borderStyle,fileinput:[]}},$t=function(t){return{src:t.src.value,alt:t.alt,title:t.title,width:t.dimensions.width,height:t.dimensions.height,class:t.classes,style:t.style,caption:t.caption,hspace:t.hspace,vspace:t.vspace,border:t.border,borderStyle:t.borderstyle}},Kt=function(t,e){var n=e.getData();(function(t,e){return/^(?:[a-zA-Z]+:)?\/\//.test(e)?m.none():t.prependURL.bind((function(t){return e.substring(0,t.length)!==t?m.some(t+e):m.none()}))})(t,n.src.value).each((function(t){e.setData({src:{value:t,meta:n.src.meta}})}))},Jt=function(t,e){var n=e.getData(),r=n.src.meta;if(void 0!==r){var o=j({},n);!function(t,e,n){t.hasDescription&&v(n.alt)&&(e.alt=n.alt),t.hasImageTitle&&v(n.title)&&(e.title=n.title),t.hasDimensions&&(v(n.width)&&(e.dimensions.width=n.width),v(n.height)&&(e.dimensions.height=n.height)),v(n.class)&&jt(t.classList,n.class).each((function(t){e.classes=t.value})),t.hasImageCaption&&M(n.caption)&&(e.caption=n.caption),t.hasAdvTab&&(v(n.vspace)&&(e.vspace=n.vspace),v(n.border)&&(e.border=n.border),v(n.hspace)&&(e.hspace=n.hspace),v(n.borderstyle)&&(e.borderstyle=n.borderstyle))}(t,o,r),e.setData(o)}},Qt=function(t,e,n,r){Kt(e,r),Jt(e,r),function(t,e,n,r){var o=r.getData(),i=o.src.value,a=o.src.meta||{};a.width||a.height||!e.hasDimensions||t.imageSize(i).get((function(t){t.each((function(t){n.open&&r.setData({dimensions:t})}))}))}(t,e,n,r),function(t,e,n){var r=n.getData(),o=jt(t.imageList,r.src.value);e.prevImage=o,n.setData({images:o.map((function(t){return t.value})).getOr("")})}(e,n,r)},Zt=function(t,e,n){var r=ot(t(n.style)),o=j({},n);return o.vspace=function(t){return t["margin-top"]&&t["margin-bottom"]&&t["margin-top"]===t["margin-bottom"]?nt(String(t["margin-top"])):""}(r),o.hspace=function(t){return t["margin-right"]&&t["margin-left"]&&t["margin-right"]===t["margin-left"]?nt(String(t["margin-right"])):""}(r),o.border=function(t){return t["border-width"]?nt(String(t["border-width"])):""}(r),o.borderstyle=function(t){return t["border-style"]?String(t["border-style"]):""}(r),o.style=function(t,e,n){return e(t(e(n)))}(t,e,r),o},te=function(t,n,r,o){var i,a=o.getData();o.block("Uploading image"),(i=a.fileinput,0===i.length?m.none():m.some(i[0])).fold((function(){o.unblock()}),(function(i){var a=e.URL.createObjectURL(i),s=Xt({url:n.url,basePath:n.basePath,credentials:n.credentials,handler:n.handler}),c=function(){o.unblock(),e.URL.revokeObjectURL(a)};st(i).then((function(e){var u=t.createBlobCache(i,a,e);s.upload(u).then((function(e){o.setData({src:{value:e,meta:{}}}),o.showTab("general"),Qt(t,n,r,o),c()})).catch((function(e){c(),t.alertErr(o,e)}))}))}))},ee=function(t,e,n){return function(r,o){"src"===o.name?Qt(t,e,n,r):"images"===o.name?function(t,e,n,r){var o=r.getData(),i=jt(e.imageList,o.images);i.each((function(t){""===o.alt||n.prevImage.map((function(t){return t.text===o.alt})).getOr(!1)?""===t.value?r.setData({src:t,alt:n.prevAlt}):r.setData({src:t,alt:t.text}):r.setData({src:t})})),n.prevImage=i,Qt(t,e,n,r)}(t,e,n,r):"alt"===o.name?n.prevAlt=r.getData().alt:"style"===o.name?function(t,e){var n=e.getData(),r=Zt(t.parseStyle,t.serializeStyle,n);e.setData(r)}(t,r):"vspace"===o.name||"hspace"===o.name||"border"===o.name||"borderstyle"===o.name?function(t,e,n){var r=j(Gt(e.image),n.getData()),o=Tt(t.normalizeCss,$t(r));n.setData({style:o})}(t,e,r):"fileinput"===o.name&&te(t,e,n,r)}},ne=function(t){return function(){t.open=!1}},re=function(t){return t.hasAdvTab||t.hasUploadUrl||t.hasUploadHandler?{type:"tabpanel",tabs:A([[U(t)],t.hasAdvTab?[Ft(t)]:[],t.hasUploadTab&&(t.hasUploadUrl||t.hasUploadHandler)?[Vt(t)]:[]])}:{type:"panel",items:V(t)}},oe=function(t){return function(e){var n=function(t){return{prevImage:jt(t.imageList,t.image.src),prevAlt:t.image.alt,open:!0}}(e);return{title:"Insert/Edit Image",size:"normal",body:re(e),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Gt(e.image),onSubmit:t.onSubmit(e),onChange:ee(t,e,n),onClose:ne(n)}}},ie=function(t){return function(e){return function(n){var r=j(Gt(e.image),n.getData());t.undoManager.transact((function(){Bt(t,$t(r))})),t.editorUpload.uploadImagesAuto(),n.close()}}},ae=function(t){return function(e){return H((function(n){et(t.documentBaseURI.toAbsolute(e),(function(t){var e=t.map((function(t){return{width:String(t.width),height:String(t.height)}}));n(e)}))}))}},se=function(t){return function(e,n,r){return t.editorUpload.blobCache.create({blob:e,blobUri:n,name:e.name?e.name.replace(/\.[^\.]+$/,""):null,base64:r.split(",")[1]})}},ce=function(t){return function(e,n){t.windowManager.alert(n,e.close)}},ue=function(t){return function(e){return zt(t,e)}},le=function(t){return function(e){return t.dom.parseStyle(e)}},de=function(t){return function(e,n){return t.dom.serializeStyle(e,n)}},fe=function(t){var e={onSubmit:ie(t),imageSize:ae(t),createBlobCache:se(t),alertErr:ce(t),normalizeCss:ue(t),parseStyle:le(t),serializeStyle:de(t)};return{open:function(){return Ut(t).map(oe(e)).get((function(e){t.windowManager.open(e)}))}}},he=function(t){t.addCommand("mceImage",fe(t).open)},pe=function(t){var e=t.attr("class");return e&&/\bimage\b/.test(e)},me=function(t){return function(e){for(var n=e.length,r=function(e){e.attr("contenteditable",t?"true":null)};n--;){var o=e[n];pe(o)&&(o.attr("contenteditable",t?"false":null),Pt.each(o.getAll("figcaption"),r))}}},ge=function(t){t.on("PreInit",(function(){t.parser.addNodeFilter("figure",me(!0)),t.serializer.addNodeFilter("figure",me(!1))}))},ve=function(t){t.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:fe(t).open,onSetup:function(e){return t.selection.selectorChangedWithUnbind("img:not([data-mce-object],[data-mce-placeholder]),figure.image",e.setActive).unbind}}),t.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:fe(t).open}),t.ui.registry.addContextMenu("image",{update:function(t){return Lt(t)||"IMG"===t.nodeName&&!ct(t)?["image"]:[]}})};a.add("image",(function(t){ge(t),ve(t),he(t)}))}(window)}).call(this,n(2))},function(t,e,n){n(172)},function(t,e){!function(t){"use strict";var e,n,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(){},i=function(t){return function(){return t}},a=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return!t.apply(null,e)}},s=i(!1),c=i(!0),u=function(){return l},l=function(){var t=function(t){return t.isNone()},e=function(t){return t()},n=function(t){return t},r={fold:function(t,e){return t()},is:s,isSome:s,isNone:c,getOr:n,getOrThunk:e,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:n,orThunk:e,map:u,each:o,bind:u,exists:s,forall:c,filter:u,equals:t,equals_:t,toArray:function(){return[]},toString:i("none()")};return Object.freeze&&Object.freeze(r),r}(),d=function(t){var e=i(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:c,isNone:s,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return d(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:l},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(s,(function(e){return n(t,e)}))}};return o},f={some:d,none:u,from:function(t){return null==t?l:d(t)}},h=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},p=h("string"),m=h("array"),g=h("boolean"),v=h("function"),b=h("number"),y=Array.prototype.slice,M=Array.prototype.push,_=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},w=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},x=function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n},A=function(t,e,n){return w(t,(function(t){n=e(n,t)})),n},L=function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return f.some(o)}return f.none()},T=function(t,e){return function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!m(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);M.apply(e,t[n])}return e}(_(t,e))},k=function(t){return 0===t.length?f.none():f.some(t[0])},S=function(t){return 0===t.length?f.none():f.some(t[t.length-1])},O=(v(Array.from)&&Array.from,function(t,e,n){return 0!=(t.compareDocumentPosition(e)&n)}),C=function(e,n){return O(e,n,t.Node.DOCUMENT_POSITION_CONTAINED_BY)},z=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return z(n())}}},D=function(){return E(0,0)},E=function(t,e){return{major:t,minor:e}},N={nu:E,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?D():function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.test(e))return r}}(t,e);if(!n)return{major:0,minor:0};var r=function(t){return Number(e.replace(n,"$"+t))};return E(r(1),r(2))}(t,n)},unknown:D},B=function(t,e){return function(){return e===t}},P=function(t){var e=t.current;return{current:e,version:t.version,isEdge:B("Edge",e),isChrome:B("Chrome",e),isIE:B("IE",e),isOpera:B("Opera",e),isFirefox:B("Firefox",e),isSafari:B("Safari",e)}},R={unknown:function(){return P({current:void 0,version:N.unknown()})},nu:P,edge:i("Edge"),chrome:i("Chrome"),ie:i("IE"),opera:i("Opera"),firefox:i("Firefox"),safari:i("Safari")},Y=function(t,e){return function(){return e===t}},W=function(t){var e=t.current;return{current:e,version:t.version,isWindows:Y("Windows",e),isiOS:Y("iOS",e),isAndroid:Y("Android",e),isOSX:Y("OSX",e),isLinux:Y("Linux",e),isSolaris:Y("Solaris",e),isFreeBSD:Y("FreeBSD",e)}},H={unknown:function(){return W({current:void 0,version:N.unknown()})},nu:W,windows:i("Windows"),ios:i("iOS"),android:i("Android"),linux:i("Linux"),osx:i("OSX"),solaris:i("Solaris"),freebsd:i("FreeBSD")},q=function(t,e){var n=String(e).toLowerCase();return L(t,(function(t){return t.search(n)}))},I=function(t,e){return q(t,e).map((function(t){var n=N.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},j=function(t,e){return q(t,e).map((function(t){var n=N.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},X=function(t,e){return-1!==t.indexOf(e)},F=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,U=function(t){return function(e){return X(e,t)}},V=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return X(t,"edge/")&&X(t,"chrome")&&X(t,"safari")&&X(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,F],search:function(t){return X(t,"chrome")&&!X(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return X(t,"msie")||X(t,"trident")}},{name:"Opera",versionRegexes:[F,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:U("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:U("firefox")},{name:"Safari",versionRegexes:[F,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(X(t,"safari")||X(t,"mobile/"))&&X(t,"applewebkit")}}],G=[{name:"Windows",search:U("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return X(t,"iphone")||X(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:U("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:U("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:U("linux"),versionRegexes:[]},{name:"Solaris",search:U("sunos"),versionRegexes:[]},{name:"FreeBSD",search:U("freebsd"),versionRegexes:[]}],$={browsers:i(V),oses:i(G)},K=function(t,e){var n=$.browsers(),r=$.oses(),o=I(n,t).fold(R.unknown,R.nu),a=j(r,t).fold(H.unknown,H.nu),s=function(t,e,n,r){var o=t.isiOS()&&!0===/ipad/i.test(n),a=t.isiOS()&&!o,s=t.isiOS()||t.isAndroid(),c=s||r("(pointer:coarse)"),u=o||!a&&s&&r("(min-device-width:768px)"),l=a||s&&!u,d=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),f=!l&&!u&&!d;return{isiPad:i(o),isiPhone:i(a),isTablet:i(u),isPhone:i(l),isTouch:i(c),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:i(d),isDesktop:i(f)}}(a,o,t,e);return{browser:o,os:a,deviceType:s}},J=z(K(t.navigator.userAgent,(function(e){return t.window.matchMedia(e).matches}))),Q=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:i(t)}},Z={fromHtml:function(e,n){var r=(n||t.document).createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1)throw t.console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Q(r.childNodes[0])},fromTag:function(e,n){var r=(n||t.document).createElement(e);return Q(r)},fromText:function(e,n){var r=(n||t.document).createTextNode(e);return Q(r)},fromDom:Q,fromPoint:function(t,e,n){var r=t.dom();return f.from(r.elementFromPoint(e,n)).map(Q)}},tt=(t.Node.ATTRIBUTE_NODE,t.Node.CDATA_SECTION_NODE,t.Node.COMMENT_NODE,t.Node.DOCUMENT_NODE,t.Node.DOCUMENT_TYPE_NODE,t.Node.DOCUMENT_FRAGMENT_NODE,t.Node.ELEMENT_NODE),et=(t.Node.TEXT_NODE,t.Node.PROCESSING_INSTRUCTION_NODE,t.Node.ENTITY_REFERENCE_NODE,t.Node.ENTITY_NODE,t.Node.NOTATION_NODE,tt),nt=function(t,e){return t.dom()===e.dom()},rt=J.get().browser,ot=rt.isIE()?function(t,e){return C(t.dom(),e.dom())}:function(t,e){var n=t.dom(),r=e.dom();return n!==r&&n.contains(r)},it=function(t,e){var n=t.dom();if(n.nodeType!==et)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},at=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),st=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),ct=tinymce.util.Tools.resolve("tinymce.util.VK"),ut=function(t,e,n){return t.isSome()&&e.isSome()?f.some(n(t.getOrDie(),e.getOrDie())):f.none()},lt=Object.keys,dt=function(t){return f.from(t.dom().parentNode).map(Z.fromDom)},ft=function(t){return _(t.dom().childNodes,Z.fromDom)},ht=function(t,e){var n=t.dom().childNodes;return f.from(n[e]).map(Z.fromDom)},pt=function(t){return ht(t,0)},mt=function(t){return ht(t,t.dom().childNodes.length-1)},gt=(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}("element","offset"),function(t,e){dt(t).each((function(n){n.dom().insertBefore(e.dom(),t.dom())}))}),vt=function(t,e){t.dom().appendChild(e.dom())},bt=function(t,e){w(e,(function(e){vt(t,e)}))},yt=function(t){var e=t.dom();null!==e.parentNode&&e.parentNode.removeChild(e)},Mt=function(t,e,n){return t.fire("ListMutation",{action:e,element:n})},_t=void 0!==t.window?t.window:Function("return this;")(),wt=function(t,e){return function(t,e){for(var n=null!=e?e:_t,r=0;r<t.length&&null!=n;++r)n=n[t[r]];return n}(t.split("."),e)},xt=function(t,e){var n=function(t,e){return wt(t,e)}(t,e);if(null==n)throw new Error(t+" not available on this browser");return n},At=function(t){return function(t){return xt("HTMLElement",t)}(wt("ownerDocument.defaultView",t)).prototype.isPrototypeOf(t)},Lt=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),Tt=tinymce.util.Tools.resolve("tinymce.util.Tools"),kt=function(t){return t&&"BR"===t.nodeName},St=function(t){return t&&3===t.nodeType},Ot=function(t){return t&&/^(OL|UL|DL)$/.test(t.nodeName)},Ct=function(t){return t&&/^(OL|UL)$/.test(t.nodeName)},zt=function(t){return t&&/^(DT|DD)$/.test(t.nodeName)},Dt=function(t){return t&&/^(LI|DT|DD)$/.test(t.nodeName)},Et=function(t){return t&&/^(TH|TD)$/.test(t.nodeName)},Nt=kt,Bt=function(t){return t.parentNode.firstChild===t},Pt=function(t,e){return e&&!!t.schema.getTextBlockElements()[e.nodeName]},Rt=function(t,e){return t&&t.nodeName in e},Yt=function(t,e){return!!kt(e)&&!(!t.isBlock(e.nextSibling)||kt(e.previousSibling))},Wt=function(t,e,n){var r=t.isEmpty(e);return!(n&&t.select("span[data-mce-type=bookmark]",e).length>0)&&r},Ht=function(t,e){return t.isChildOf(e,t.getRoot())},qt=function(t){var e=t.selection.getStart(!0);return t.dom.getParent(e,"OL,UL,DL",jt(t,e))},It=function(t){var e=t.selection.getSelectedBlocks();return Tt.grep(function(t,e){var n=Tt.map(e,(function(e){var n=t.dom.getParent(e,"li,dd,dt",jt(t,e));return n||e}));return Lt.unique(n)}(t,e),(function(t){return Dt(t)}))},jt=function(t,e){var n=t.dom.getParents(e,"TD,TH");return n.length>0?n[0]:t.getBody()},Xt=function(t,e){var n=t.dom.getParents(e,"ol,ul",jt(t,e));return S(n)},Ft=function(t,e){var n=_(e,(function(e){return Xt(t,e).getOr(e)}));return Lt.unique(n)},Ut={isList:function(t){var e=qt(t);return At(e)},getParentList:qt,getSelectedSubLists:function(t){var e=qt(t),n=t.selection.getSelectedBlocks();return function(t,e){return t&&1===e.length&&e[0]===t}(e,n)?function(t){return Tt.grep(t.querySelectorAll("ol,ul,dl"),(function(t){return Ot(t)}))}(e):Tt.grep(n,(function(t){return Ot(t)&&e!==t}))},getSelectedListItems:It,getClosestListRootElm:jt,getSelectedDlItems:function(t){return x(It(t),zt)},getSelectedListRoots:function(t){var e=function(t){var e=Xt(t,t.selection.getStart()),n=x(t.selection.getSelectedBlocks(),Ct);return e.toArray().concat(n)}(t);return Ft(t,e)}},Vt=function(t,e){var n,r,o,i,a=t.dom,s=t.schema.getBlockElements(),c=a.createFragment();if(t.settings.forced_root_block&&(o=t.settings.forced_root_block),o&&((r=a.create(o)).tagName===t.settings.forced_root_block&&a.setAttribs(r,t.settings.forced_root_block_attrs),Rt(e.firstChild,s)||c.appendChild(r)),e)for(;n=e.firstChild;){var u=n.nodeName;i||"SPAN"===u&&"bookmark"===n.getAttribute("data-mce-type")||(i=!0),Rt(n,s)?(c.appendChild(n),r=null):o?(r||(r=a.create(o),c.appendChild(r)),r.appendChild(n)):c.appendChild(n)}return t.settings.forced_root_block?i||r.appendChild(a.create("br",{"data-mce-bogus":"1"})):c.appendChild(a.create("br")),c},Gt=function(t){return t.dom().nodeName.toLowerCase()},$t=(e=tt,function(t){return function(t){return t.dom().nodeType}(t)===e}),Kt=function(e,n){var r=e.dom();!function(t,e){for(var n=lt(t),r=0,o=n.length;r<o;r++){var i=n[r];e(t[i],i)}}(n,(function(e,n){!function(e,n,r){if(!(p(r)||g(r)||b(r)))throw t.console.error("Invalid call to Attr.set. Key ",n,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(n,r+"")}(r,n,e)}))},Jt=function(t){return A(t.dom().attributes,(function(t,e){return t[e.name]=e.value,t}),{})},Qt=function(e,n,r){if(!p(r))throw t.console.error("Invalid call to CSS.set. Property ",n,":: Value ",r,":: Element ",e),new Error("CSS value must be a string: "+r);(function(t){return void 0!==t.style&&v(t.style.getPropertyValue)})(e)&&e.style.setProperty(n,r)},Zt=function(t){return function(t,e){return Z.fromDom(t.dom().cloneNode(e))}(t,!0)},te=function(t,e){var n=function(t,e){var n=Z.fromTag(e),r=Jt(t);return Kt(n,r),n}(t,e);gt(t,n);var r=ft(t);return bt(n,r),yt(t),n},ee=function(t,e){vt(t.item,e.list)},ne=function(t,e){var n={list:Z.fromTag(e,t),item:Z.fromTag("li",t)};return vt(n.list,n.item),n},re=function(t,e,n){var r=e.slice(0,n.depth);return S(r).each((function(e){!function(t,e){vt(t.list,e),t.item=e}(e,function(t,e,n){var r=Z.fromTag("li",t);return Kt(r,e),bt(r,n),r}(t,n.itemAttributes,n.content)),function(t,e){Gt(t.list)!==e.listType&&(t.list=te(t.list,e.listType)),Kt(t.list,e.listAttributes)}(e,n)})),r},oe=function(t,e,n){var r,o=function(t,e,n){for(var r=[],o=0;o<n;o++)r.push(ne(t,e.listType));return r}(t,n,n.depth-e.length);return function(t){for(var e=1;e<t.length;e++)ee(t[e-1],t[e])}(o),function(t,e){for(var n=0;n<t.length-1;n++)r=t[n].item,o="list-style-type",i="none",a=void 0,a=r.dom(),Qt(a,o,i);var r,o,i,a;S(t).each((function(t){Kt(t.list,e.listAttributes),Kt(t.item,e.itemAttributes),bt(t.item,e.content)}))}(o,n),r=o,ut(S(e),k(r),ee),e.concat(o)},ie=function(t){return it(t,"OL,UL")},ae=function(t){return pt(t).map(ie).getOr(!1)},se=function(t){return t.depth>0},ce=function(t){return t.isSelected},ue=function(t){var e=ft(t),n=mt(t).map(ie).getOr(!1)?e.slice(0,-1):e;return _(n,Zt)},le=Object.prototype.hasOwnProperty,de=(n=function(t,e){return e},function(){for(var t=new Array(arguments.length),e=0;e<t.length;e++)t[e]=arguments[e];if(0===t.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<t.length;o++){var i=t[o];for(var a in i)le.call(i,a)&&(r[a]=n(r[a],i[a]))}return r}),fe=function(t){w(t,(function(e,n){(function(t,e){for(var n=t[e].depth,r=e-1;r>=0;r--){if(t[r].depth===n)return f.some(t[r]);if(t[r].depth<n)break}return f.none()})(t,n).each((function(t){var n,r;r=t,(n=e).listType=r.listType,n.listAttributes=de({},r.listAttributes)}))}))},he=function(t,e,n,r){return pt(r).filter(ie).fold((function(){e.each((function(t){nt(t.start,r)&&n.set(!0)}));var o=function(t,e,n){return dt(t).filter($t).map((function(r){return{depth:e,isSelected:n,content:ue(t),itemAttributes:Jt(t),listAttributes:Jt(r),listType:Gt(r)}}))}(r,t,n.get());e.each((function(t){nt(t.end,r)&&n.set(!1)}));var i=mt(r).filter(ie).map((function(r){return pe(t,e,n,r)})).getOr([]);return o.toArray().concat(i)}),(function(r){return pe(t,e,n,r)}))},pe=function(t,e,n,r){return T(ft(r),(function(r){return(ie(r)?pe:he)(t+1,e,n,r)}))},me=function(e,n){return _(n,(function(n){var r,o,i,a=(r=n.content,i=(o||t.document).createDocumentFragment(),w(r,(function(t){i.appendChild(t.dom())})),Z.fromDom(i));return Z.fromDom(Vt(e,a.dom()))}))},ge=function(t,e){return fe(e),function(t,e){var n=A(e,(function(e,n){return n.depth>e.length?oe(t,e,n):re(t,e,n)}),[]);return k(n).map((function(t){return t.list}))}(t.contentDocument,e).toArray()},ve=function(t){var e,n,r=_(Ut.getSelectedListItems(t),Z.fromDom);return ut(L(r,a(ae)),L((e=r,(n=y.call(e,0)).reverse(),n),a(ae)),(function(t,e){return{start:t,end:e}}))},be=function(t,e,n){var r=function(t,e){var n=z(!1);return _(t,(function(t){return{sourceList:t,entries:pe(0,e,n,t)}}))}(e,ve(t));w(r,(function(e){!function(t,e){w(x(t,ce),(function(t){return function(t,e){switch(t){case"Indent":e.depth++;break;case"Outdent":e.depth--;break;case"Flatten":e.depth=0}}(e,t)}))}(e.entries,n);var r,o=function(t,e){return T(function(t,e){if(0===t.length)return[];for(var n=e(t[0]),r=[],o=[],i=0,a=t.length;i<a;i++){var s=t[i],c=e(s);c!==n&&(r.push(o),o=[]),n=c,o.push(s)}return 0!==o.length&&r.push(o),r}(e,se),(function(e){return k(e).map(se).getOr(!1)?ge(t,e):me(t,e)}))}(t,e.entries);w(o,(function(e){Mt(t,"Indent"===n?"IndentList":"OutdentList",e.dom())})),r=e.sourceList,w(o,(function(t){gt(r,t)})),yt(e.sourceList)}))},ye=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Me=ye.DOM,_e=function(t,e,n){var r,o,i,a,s,c;for(i=Me.select('span[data-mce-type="bookmark"]',e),s=Vt(t,n),(r=Me.createRng()).setStartAfter(n),r.setEndAfter(e),a=(o=r.extractContents()).firstChild;a;a=a.firstChild)if("LI"===a.nodeName&&t.dom.isEmpty(a)){Me.remove(a);break}t.dom.isEmpty(o)||Me.insertAfter(o,e),Me.insertAfter(s,e),Wt(t.dom,n.parentNode)&&(c=n.parentNode,Tt.each(i,(function(t){c.parentNode.insertBefore(t,n.parentNode)})),Me.remove(c)),Me.remove(n),Wt(t.dom,e)&&Me.remove(e)},we=function(t){it(t,"dt")&&te(t,"dd")},xe=function(t,e,n){w(n,"Indent"===e?we:function(e){return function(t,e){it(e,"dd")?te(e,"dt"):it(e,"dt")&&dt(e).each((function(n){return _e(t,n.dom(),e.dom())}))}(t,e)})},Ae=function(t,e){if(St(t))return{container:t,offset:e};var n=at.getNode(t,e);return St(n)?{container:n,offset:e>=t.childNodes.length?n.data.length:0}:n.previousSibling&&St(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&St(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:t,offset:e}},Le=function(t){var e=t.cloneRange(),n=Ae(t.startContainer,t.startOffset);e.setStart(n.container,n.offset);var r=Ae(t.endContainer,t.endOffset);return e.setEnd(r.container,r.offset),e},Te=function(t,e){var n=_(Ut.getSelectedListRoots(t),Z.fromDom),r=_(Ut.getSelectedDlItems(t),Z.fromDom),o=!1;if(n.length||r.length){var i=t.selection.getBookmark();be(t,n,e),xe(t,e,r),t.selection.moveToBookmark(i),t.selection.setRng(Le(t.selection.getRng())),t.nodeChanged(),o=!0}return o},ke=function(t){return Te(t,"Indent")},Se=function(t){return Te(t,"Outdent")},Oe=function(t){return Te(t,"Flatten")},Ce=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager"),ze=ye.DOM,De=function(t){var e={},n=function(n){var r,o,i;o=t[n?"startContainer":"endContainer"],i=t[n?"startOffset":"endOffset"],1===o.nodeType&&(r=ze.create("span",{"data-mce-type":"bookmark"}),o.hasChildNodes()?(i=Math.min(i,o.childNodes.length-1),n?o.insertBefore(r,o.childNodes[i]):ze.insertAfter(r,o.childNodes[i])):o.appendChild(r),o=r,i=0),e[n?"startContainer":"endContainer"]=o,e[n?"startOffset":"endOffset"]=i};return n(!0),t.collapsed||n(),e},Ee=function(t){function e(e){var n,r,o;n=o=t[e?"startContainer":"endContainer"],r=t[e?"startOffset":"endOffset"],n&&(1===n.nodeType&&(r=function(t){for(var e=t.parentNode.firstChild,n=0;e;){if(e===t)return n;1===e.nodeType&&"bookmark"===e.getAttribute("data-mce-type")||n++,e=e.nextSibling}return-1}(n),n=n.parentNode,ze.remove(o),!n.hasChildNodes()&&ze.isBlock(n)&&n.appendChild(ze.create("br"))),t[e?"startContainer":"endContainer"]=n,t[e?"startOffset":"endOffset"]=r)}e(!0),e();var n=ze.createRng();return n.setStart(t.startContainer,t.startOffset),t.endContainer&&n.setEnd(t.endContainer,t.endOffset),Le(n)},Ne=function(t){return/\btox\-/.test(t.className)},Be=function(t){switch(t){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},Pe=function(t,e){Tt.each(e,(function(e,n){t.setAttribute(n,e)}))},Re=function(t,e,n){!function(t,e,n){var r=n["list-style-type"]?n["list-style-type"]:null;t.setStyle(e,"list-style-type",r)}(t,e,n),function(t,e,n){Pe(e,n["list-attributes"]),Tt.each(t.select("li",e),(function(t){Pe(t,n["list-item-attributes"])}))}(t,e,n)},Ye=function(t,e,n,r){var o,i;for(o=e[n?"startContainer":"endContainer"],i=e[n?"startOffset":"endOffset"],1===o.nodeType&&(o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o),!n&&Nt(o.nextSibling)&&(o=o.nextSibling);o.parentNode!==r;){if(Pt(t,o))return o;if(/^(TD|TH)$/.test(o.parentNode.nodeName))return o;o=o.parentNode}return o},We=function(t,e,n){void 0===n&&(n={});var r,o=t.selection.getRng(!0),i="LI",a=Ut.getClosestListRootElm(t,t.selection.getStart(!0)),s=t.dom;"false"!==s.getContentEditable(t.selection.getNode())&&("DL"===(e=e.toUpperCase())&&(i="DT"),r=De(o),Tt.each(function(t,e,n){for(var r,o=[],i=t.dom,a=Ye(t,e,!0,n),s=Ye(t,e,!1,n),c=[],u=a;u&&(c.push(u),u!==s);u=u.nextSibling);return Tt.each(c,(function(e){if(Pt(t,e))return o.push(e),void(r=null);if(i.isBlock(e)||Nt(e))return Nt(e)&&i.remove(e),void(r=null);var a=e.nextSibling;Ce.isBookmarkNode(e)&&(Pt(t,a)||!a&&e.parentNode===n)?r=null:(r||(r=i.create("p"),e.parentNode.insertBefore(r,e),o.push(r)),r.appendChild(e))})),o}(t,o,a),(function(r){var o,a;(a=r.previousSibling)&&Ot(a)&&a.nodeName===e&&function(t,e,n){var r=t.getStyle(e,"list-style-type"),o=n?n["list-style-type"]:"";return r===(o=null===o?"":o)}(s,a,n)?(o=a,r=s.rename(r,i),a.appendChild(r)):(o=s.create(e),r.parentNode.insertBefore(o,r),o.appendChild(r),r=s.rename(r,i)),function(t,e,n){Tt.each(n,(function(n){var r;return t.setStyle(e,((r={})[n]="",r))}))}(s,r,["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"]),Re(s,o,n),qe(t.dom,o)})),t.selection.setRng(Ee(r)))},He=function(t,e,n){return function(t,e){return t&&e&&Ot(t)&&t.nodeName===e.nodeName}(e,n)&&function(t,e,n){return t.getStyle(e,"list-style-type",!0)===t.getStyle(n,"list-style-type",!0)}(t,e,n)&&(r=n,e.className===r.className);var r},qe=function(t,e){var n,r;if(n=e.nextSibling,He(t,e,n)){for(;r=n.firstChild;)e.appendChild(r);t.remove(n)}if(n=e.previousSibling,He(t,e,n)){for(;r=n.lastChild;)e.insertBefore(r,e.firstChild);t.remove(n)}},Ie=function(t,e,n,r,o){if(e.nodeName!==r||je(o)){var i=De(t.selection.getRng(!0));Tt.each([e].concat(n),(function(e){!function(t,e,n,r){if(e.nodeName!==n){var o=t.dom.rename(e,n);Re(t.dom,o,r),Mt(t,Be(n),o)}else Re(t.dom,e,r),Mt(t,Be(n),e)}(t,e,r,o)})),t.selection.setRng(Ee(i))}else Oe(t)},je=function(t){return"list-style-type"in t},Xe={toggleList:function(t,e,n){var r=Ut.getParentList(t),o=Ut.getSelectedSubLists(t);n=n||{},r&&o.length>0?Ie(t,r,o,e,n):function(t,e,n,r){if(e!==t.getBody())if(e)if(e.nodeName!==n||je(r)||Ne(e)){var o=De(t.selection.getRng(!0));Re(t.dom,e,r);var i=t.dom.rename(e,n);qe(t.dom,i),t.selection.setRng(Ee(o)),Mt(t,Be(n),i)}else Oe(t);else We(t,n,r),Mt(t,Be(n),e)}(t,r,e,n)},mergeWithAdjacentLists:qe},Fe=ye.DOM,Ue=function(t,e){var n,r=e.parentNode;"LI"===r.nodeName&&r.firstChild===e&&((n=r.previousSibling)&&"LI"===n.nodeName?(n.appendChild(e),Wt(t,r)&&Fe.remove(r)):Fe.setStyle(r,"listStyleType","none")),Ot(r)&&(n=r.previousSibling)&&"LI"===n.nodeName&&n.appendChild(e)},Ve=function(t,e){Tt.each(Tt.grep(t.select("ol,ul",e)),(function(e){Ue(t,e)}))},Ge=function(t,e,n,r){var o=e.startContainer,i=e.startOffset;if(St(o)&&(n?i<o.data.length:i>0))return o;var a=t.schema.getNonEmptyElements();1===o.nodeType&&(o=at.getNode(o,i));var s=new st(o,r);for(n&&Yt(t.dom,o)&&s.next();o=s[n?"next":"prev2"]();){if("LI"===o.nodeName&&!o.hasChildNodes())return o;if(a[o.nodeName])return o;if(St(o)&&o.data.length>0)return o}},$e=function(t,e){var n=e.childNodes;return 1===n.length&&!Ot(n[0])&&t.isBlock(n[0])},Ke=function(t,e,n){var r,o;if(o=$e(t,n)?n.firstChild:n,function(t,e){$e(t,e)&&t.remove(e.firstChild,!0)}(t,e),!Wt(t,e,!0))for(;r=e.firstChild;)o.appendChild(r)},Je=function(t,e,n){var r,o,i=e.parentNode;if(Ht(t,e)&&Ht(t,n)){Ot(n.lastChild)&&(o=n.lastChild),i===n.lastChild&&Nt(i.previousSibling)&&t.remove(i.previousSibling),(r=n.lastChild)&&Nt(r)&&e.hasChildNodes()&&t.remove(r),Wt(t,n,!0)&&t.$(n).empty(),Ke(t,e,n),o&&n.appendChild(o);var a=ot(Z.fromDom(n),Z.fromDom(e))?t.getParents(e,Ot,n):[];t.remove(e),w(a,(function(e){Wt(t,e)&&e!==t.getRoot()&&t.remove(e)}))}},Qe=function(t,e,n,r){var o=t.dom;if(o.isEmpty(r))!function(t,e,n){t.dom.$(n).empty(),Je(t.dom,e,n),t.selection.setCursorLocation(n)}(t,n,r);else{var i=De(e);Je(o,n,r),t.selection.setRng(Ee(i))}},Ze=function(t,e){var n=t.dom,r=t.selection,o=r.getStart(),i=Ut.getClosestListRootElm(t,o),a=n.getParent(r.getStart(),"LI",i);if(a){var s=a.parentNode;if(s===t.getBody()&&Wt(n,s))return!0;var c=Le(r.getRng()),u=n.getParent(Ge(t,c,e,i),"LI",i);if(u&&u!==a)return t.undoManager.transact((function(){e?Qe(t,c,u,a):Bt(a)?Se(t):function(t,e,n,r){var o=De(e);Je(t.dom,n,r);var i=Ee(o);t.selection.setRng(i)}(t,c,a,u)})),!0;if(!u&&!e&&0===c.startOffset&&0===c.endOffset)return t.undoManager.transact((function(){Oe(t)})),!0}return!1},tn=function(t,e){return Ze(t,e)||function(t,e){var n=t.dom,r=t.selection.getStart(),o=Ut.getClosestListRootElm(t,r),i=n.getParent(r,n.isBlock,o);if(i&&n.isEmpty(i)){var a=Le(t.selection.getRng()),s=n.getParent(Ge(t,a,e,o),"LI",o);if(s)return t.undoManager.transact((function(){!function(t,e,n){var r=t.getParent(e.parentNode,t.isBlock,n);t.remove(e),r&&t.isEmpty(r)&&t.remove(r)}(n,i,o),Xe.mergeWithAdjacentLists(n,s.parentNode),t.selection.select(s,!0),t.selection.collapse(e)})),!0}return!1}(t,e)},en=function(t,e){return t.selection.isCollapsed()?tn(t,e):function(t){var e=t.selection.getStart(),n=Ut.getClosestListRootElm(t,e);return!!(t.dom.getParent(e,"LI,DT,DD",n)||Ut.getSelectedListItems(t).length>0)&&(t.undoManager.transact((function(){t.execCommand("Delete"),Ve(t.dom,t.getBody())})),!0)}(t)},nn=function(t){t.on("keydown",(function(e){e.keyCode===ct.BACKSPACE?en(t,!1)&&e.preventDefault():e.keyCode===ct.DELETE&&en(t,!0)&&e.preventDefault()}))},rn=en,on=function(t){return{backspaceDelete:function(e){rn(t,e)}}},an=function(t,e){return function(){var n=t.dom.getParent(t.selection.getStart(),"UL,OL,DL");return n&&n.nodeName===e}},sn=function(t){t.on("BeforeExecCommand",(function(e){var n=e.command.toLowerCase();"indent"===n?ke(t):"outdent"===n&&Se(t)})),t.addCommand("InsertUnorderedList",(function(e,n){Xe.toggleList(t,"UL",n)})),t.addCommand("InsertOrderedList",(function(e,n){Xe.toggleList(t,"OL",n)})),t.addCommand("InsertDefinitionList",(function(e,n){Xe.toggleList(t,"DL",n)})),t.addCommand("RemoveList",(function(){Oe(t)})),t.addQueryStateHandler("InsertUnorderedList",an(t,"UL")),t.addQueryStateHandler("InsertOrderedList",an(t,"OL")),t.addQueryStateHandler("InsertDefinitionList",an(t,"DL"))},cn=function(t){return t.getParam("lists_indent_on_tab",!0)},un=function(t){cn(t)&&function(t){t.on("keydown",(function(e){e.keyCode!==ct.TAB||ct.metaKeyPressed(e)||t.undoManager.transact((function(){(e.shiftKey?Se(t):ke(t))&&e.preventDefault()}))}))}(t),nn(t)},ln=function(t,e){return function(n){var r=function(t){var r=function(t,e){for(var n=0;n<t.length;n++){if(e(t[n]))return n}return-1}(t.parents,Et),o=-1!==r?t.parents.slice(0,r):t.parents,i=Tt.grep(o,Ot);n.setActive(i.length>0&&i[0].nodeName===e&&!Ne(i[0]))};return t.on("NodeChange",r),function(){return t.off("NodeChange",r)}}},dn=function(t){var e=function(e){return function(){return t.execCommand(e)}};(function(t,e){var n=t.settings.plugins?t.settings.plugins:"";return-1!==Tt.inArray(n.split(/[ ,]/),e)})(t,"advlist")||(t.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:e("InsertOrderedList"),onSetup:ln(t,"OL")}),t.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:e("InsertUnorderedList"),onSetup:ln(t,"UL")}))};r.add("lists",(function(t){return un(t),dn(t),sn(t),on(t)}))}(window)},function(t,e,n){n(174)},function(t,e){!function(t){"use strict";var e,n,r,o,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(t,e){return t.fire("insertCustomChar",{chr:e})},s=function(t,e){var n=a(t,e).chr;t.execCommand("mceInsertContent",!1,n)},c=tinymce.util.Tools.resolve("tinymce.util.Tools"),u=function(t){return t.settings.charmap},l=function(t){return t.settings.charmap_append},d=function(){},f=function(t){return function(){return t}},h=f(!1),p=f(!0),m=function(){return g},g=(e=function(t){return t.isNone()},o={fold:function(t,e){return t()},is:h,isSome:h,isNone:p,getOr:r=function(t){return t},getOrThunk:n=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:f(null),getOrUndefined:f(void 0),or:r,orThunk:n,map:m,each:d,bind:m,exists:h,forall:p,filter:m,equals:e,equals_:e,toArray:function(){return[]},toString:f("none()")},Object.freeze&&Object.freeze(o),o),v=function(t){var e=f(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:p,isNone:h,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return v(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:g},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(h,(function(e){return n(t,e)}))}};return o},b={some:v,none:m,from:function(t){return null==t?g:v(t)}},y=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},M=y("array"),_=y("function"),w=Array.prototype.slice,x=Array.prototype.push,A=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},L=function(t,e){return function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!M(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);x.apply(e,t[n])}return e}(A(t,e))},T=(_(Array.from)&&Array.from,c.isArray),k=function(t){return T(t)?[].concat((e=t,c.grep(e,(function(t){return T(t)&&2===t.length})))):"function"==typeof t?t():[];var e},S=function(t){var e=function(t,e){var n=u(t);n&&(e=[{name:"User Defined",characters:k(n)}]);var r=l(t);if(r){var o=c.grep(e,(function(t){return"User Defined"===t.name}));return o.length?(o[0].characters=[].concat(o[0].characters).concat(k(r)),e):[].concat(e).concat({name:"User Defined",characters:k(r)})}return e}(t,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return e.length>1?[{name:"All",characters:L(e,(function(t){return t.characters}))}].concat(e):e},O=function(t){return{getCharMap:function(){return S(t)},insertChar:function(e){s(t,e)}}},C=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return C(n())}}},z=function(t,e){return-1!==t.indexOf(e)},D=function(t,e){var n=[],r=e.toLowerCase();return function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}}(t.characters,(function(t){(function(t,e,n){return!!z(String.fromCharCode(t).toLowerCase(),n)||(z(e.toLowerCase(),n)||z(e.toLowerCase().replace(/\s+/g,""),n))})(t[0],t[1],r)&&n.push(t)})),A(n,(function(t){return{text:t[1],value:String.fromCharCode(t[0]),icon:String.fromCharCode(t[0])}}))},E=function(e,n){var r,o,i,a=1===n.length?C("User Defined"):C("All"),c=function(t,e){(function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return b.some(o)}return b.none()})(n,(function(t){return t.name===a.get()})).each((function(n){var r=D(n,e);t.setData({results:r})}))},u=(r=function(t){var e=t.getData().pattern;c(t,e)},o=40,i=null,{cancel:function(){null!==i&&(t.clearTimeout(i),i=null)},throttle:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];null!==i&&t.clearTimeout(i),i=t.setTimeout((function(){r.apply(null,e),i=null}),o)}}),l={title:"Special Character",size:"normal",body:1===n.length?{type:"panel",items:[{label:"Search",type:"input",name:"pattern"},{type:"collection",name:"results"}]}:{type:"tabpanel",tabs:A(n,(function(t){return{title:t.name,name:t.name,items:[{label:"Search",type:"input",name:"pattern"},{type:"collection",name:"results"}]}}))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:D(n[0],"")},onAction:function(t,n){"results"===n.name&&(s(e,n.value),t.close())},onTabChange:function(t,e){a.set(e.newTabName),u.throttle(t)},onChange:function(t,e){"pattern"===e.name&&u.throttle(t)}};e.windowManager.open(l).focus("pattern")},N=function(t,e){t.addCommand("mceShowCharmap",(function(){E(t,e)}))},B=tinymce.util.Tools.resolve("tinymce.util.Promise"),P=function(t){t.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:function(){return t.execCommand("mceShowCharmap")}}),t.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:function(){return t.execCommand("mceShowCharmap")}})};i.add("charmap",(function(t){var e=S(t);return N(t,e),P(t),function(t,e){t.ui.registry.addAutocompleter("charmap",{ch:":",columns:"auto",minChars:2,fetch:function(t,n){return new B((function(n,r){n(D(e,t))}))},onAction:function(e,n,r){t.selection.setRng(n),t.insertContent(r),e.hide()}})}(t,e[0]),O(t)}))}(window)},function(t,e,n){n(176)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.Env"),n=function(t){t.addCommand("mcePrint",(function(){e.browser.isIE()?t.getDoc().execCommand("print",!1,null):t.getWin().print()}))},r=function(t){t.ui.registry.addButton("print",{icon:"print",tooltip:"Print",onAction:function(){return t.execCommand("mcePrint")}}),t.ui.registry.addMenuItem("print",{text:"Print...",icon:"print",onAction:function(){return t.execCommand("mcePrint")}})};t.add("print",(function(t){n(t),r(t),t.addShortcut("Meta+P","","mcePrint")}))}()},function(t,e,n){n(178)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.util.Tools"),n=function(t){return t.getParam("content_style","")},r=function(t){return t.getParam("content_css_cors",!1,"boolean")},o=tinymce.util.Tools.resolve("tinymce.Env"),i=function(t){var i="",a=t.dom.encode,s=n(t);i+='<base href="'+a(t.documentBaseURI.getURI())+'">',s&&(i+='<style type="text/css">'+s+"</style>");var c=r(t)?' crossorigin="anonymous"':"";e.each(t.contentCSS,(function(e){i+='<link type="text/css" rel="stylesheet" href="'+a(t.documentBaseURI.toAbsolute(e))+'"'+c+">"}));var u=t.settings.body_id||"tinymce";-1!==u.indexOf("=")&&(u=(u=t.getParam("body_id","","hash"))[t.id]||u);var l=t.settings.body_class||"";-1!==l.indexOf("=")&&(l=(l=t.getParam("body_class","","hash"))[t.id]||"");var d='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(o.mac?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",f=t.getBody().dir,h=f?' dir="'+a(f)+'"':"";return"<!DOCTYPE html><html><head>"+i+'</head><body id="'+a(u)+'" class="mce-content-body '+a(l)+'"'+h+">"+t.getContent()+d+"</body></html>"},a=function(t){t.addCommand("mcePreview",(function(){!function(t){var e=i(t);t.windowManager.open({title:"Preview",size:"large",body:{type:"panel",items:[{name:"preview",type:"iframe",sandboxed:!0}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{preview:e}}).focus("close")}(t)}))},s=function(t){t.ui.registry.addButton("preview",{icon:"preview",tooltip:"Preview",onAction:function(){return t.execCommand("mcePreview")}}),t.ui.registry.addMenuItem("preview",{icon:"preview",text:"Preview",onAction:function(){return t.execCommand("mcePreview")}})};t.add("preview",(function(t){a(t),s(t)}))}()},function(t,e,n){n(180)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=function(t){t.addCommand("InsertHorizontalRule",(function(){t.execCommand("mceInsertContent",!1,"<hr />")}))},n=function(t){t.ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:function(){return t.execCommand("InsertHorizontalRule")}}),t.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:function(){return t.execCommand("InsertHorizontalRule")}})};t.add("hr",(function(t){e(t),n(t)}))}()},function(t,e,n){n(182)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=function(t){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)},n=function(t){var e=t.selection.getNode();return"A"===e.tagName&&""===t.dom.getAttrib(e,"href")?e.getAttribute("id")||e.getAttribute("name"):""},r=function(t,e){var n=t.selection.getNode();"A"===n.tagName&&""===t.dom.getAttrib(n,"href")?(n.removeAttribute("name"),n.id=e,t.undoManager.add()):(t.focus(),t.selection.collapse(!0),t.execCommand("mceInsertContent",!1,t.dom.createHTML("a",{id:e})))},o=function(t){var o=n(t);t.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:o},onSubmit:function(n){(function(t,n){return e(n)?(r(t,n),!1):(t.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!0)})(t,n.getData().id)||n.close()}})},i=function(t){t.addCommand("mceAnchor",(function(){o(t)}))},a=function(t){return function(e){for(var n=0;n<e.length;n++)(r=e[n]).attr("href")||!r.attr("id")&&!r.attr("name")||r.firstChild||e[n].attr("contenteditable",t);var r}},s=function(t){t.on("PreInit",(function(){t.parser.addNodeFilter("a",a("false")),t.serializer.addNodeFilter("a",a(null))}))},c=function(t){t.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:function(){return t.execCommand("mceAnchor")},onSetup:function(e){return t.selection.selectorChangedWithUnbind("a:not([href])",e.setActive).unbind}}),t.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:function(){return t.execCommand("mceAnchor")}})};t.add("anchor",(function(t){s(t),i(t),c(t)}))}()},function(t,e,n){n(184)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.Env"),n=function(t){return t.getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e")},r=function(t){return t.getParam("pagebreak_split_block",!1)},o=function(){return"mce-pagebreak"},i=function(){return'<img src="'+e.transparentSrc+'" class="mce-pagebreak" data-mce-resize="false" data-mce-placeholder />'},a=function(t){var e=n(t),o=new RegExp(e.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,(function(t){return"\\"+t})),"gi");t.on("BeforeSetContent",(function(t){t.content=t.content.replace(o,i())})),t.on("PreInit",(function(){t.serializer.addNodeFilter("img",(function(n){for(var o,i,a=n.length;a--;)if((i=(o=n[a]).attr("class"))&&-1!==i.indexOf("mce-pagebreak")){var s=o.parent;if(t.schema.getBlockElements()[s.name]&&r(t)){s.type=3,s.value=e,s.raw=!0,o.remove();continue}o.type=3,o.value=e,o.raw=!0}}))}))},s=i,c=o,u=function(t){t.addCommand("mcePageBreak",(function(){t.settings.pagebreak_split_block?t.insertContent("<p>"+s()+"</p>"):t.insertContent(s())}))},l=function(t){t.on("ResolveName",(function(e){"IMG"===e.target.nodeName&&t.dom.hasClass(e.target,c())&&(e.name="pagebreak")}))},d=function(t){t.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:function(){return t.execCommand("mcePageBreak")}}),t.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:function(){return t.execCommand("mcePageBreak")}})};t.add("pagebreak",(function(t){u(t),d(t),a(t),l(t)}))}()},function(t,e,n){n(186)},function(t,e){!function(){"use strict";var t=function(e){var n=e,r=function(){return n};return{get:r,set:function(t){n=t},clone:function(){return t(r())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},r=tinymce.util.Tools.resolve("tinymce.util.Tools");function o(t){return t&&1===t.nodeType&&"false"===t.contentEditable}var i,a,s,c,u,l={findAndReplaceDOMText:function(t,e,n,r,i){var a,s,c,u,l,d,f=[],h=0;function p(t,e){if(e=e||0,!t[0])throw new Error("findAndReplaceDOMText cannot handle zero-length matches");var n=t.index;if(e>0){var r=t[e];if(!r)throw new Error("Invalid capture group");n+=t[0].indexOf(r),t[0]=r}return[n,n+t[0].length,[t[0]]]}if(c=e.ownerDocument,u=i.getBlockElements(),l=i.getWhiteSpaceElements(),d=i.getShortEndedElements(),s=function t(e){var n;if(3===e.nodeType)return e.data;if(l[e.nodeName]&&!u[e.nodeName])return"";if(n="",o(e))return"\n";if((u[e.nodeName]||d[e.nodeName])&&(n+="\n"),e=e.firstChild)do{n+=t(e)}while(e=e.nextSibling);return n}(e)){if(t.global)for(;a=t.exec(s);)f.push(p(a,r));else a=s.match(t),f.push(p(a,r));return f.length&&(h=f.length,function(t,e,n){var r,i,a,s,c=[],f=0,h=t,p=e.shift(),m=0;t:for(;;){if((u[h.nodeName]||d[h.nodeName]||o(h))&&f++,3===h.nodeType&&(!i&&h.length+f>=p[1]?(i=h,s=p[1]-f):r&&c.push(h),!r&&h.length+f>p[0]&&(r=h,a=p[0]-f),f+=h.length),r&&i){if(h=n({startNode:r,startNodeIndex:a,endNode:i,endNodeIndex:s,innerNodes:c,match:p[2],matchIndex:m}),f-=i.length-s,r=null,i=null,c=[],m++,!(p=e.shift()))break}else if(l[h.nodeName]&&!u[h.nodeName]||!h.firstChild){if(h.nextSibling){h=h.nextSibling;continue}}else if(!o(h)){h=h.firstChild;continue}for(;;){if(h.nextSibling){h=h.nextSibling;break}if(h.parentNode===t)break t;h=h.parentNode}}}(e,f,function(t){var e;if("function"!=typeof t){var n=t.nodeType?t:c.createElement(t);e=function(t,e){var r=n.cloneNode(!1);return r.setAttribute("data-mce-index",e),t&&r.appendChild(c.createTextNode(t)),r}}else e=t;return function(t){var n,r,o,i=t.startNode,a=t.endNode,s=t.matchIndex;if(i===a){var u=i;o=u.parentNode,t.startNodeIndex>0&&(n=c.createTextNode(u.data.substring(0,t.startNodeIndex)),o.insertBefore(n,u));var l=e(t.match[0],s);return o.insertBefore(l,u),t.endNodeIndex<u.length&&(r=c.createTextNode(u.data.substring(t.endNodeIndex)),o.insertBefore(r,u)),u.parentNode.removeChild(u),l}n=c.createTextNode(i.data.substring(0,t.startNodeIndex)),r=c.createTextNode(a.data.substring(t.endNodeIndex));for(var d=e(i.data.substring(t.startNodeIndex),s),f=0,h=t.innerNodes.length;f<h;++f){var p=t.innerNodes[f],m=e(p.data,s);p.parentNode.replaceChild(m,p)}var g=e(a.data.substring(0,t.endNodeIndex),s);return(o=i.parentNode).insertBefore(n,i),o.insertBefore(d,i),o.removeChild(i),(o=a.parentNode).insertBefore(g,a),o.insertBefore(r,a),o.removeChild(a),g}}(n))),h}}},d=function(t){var e=t.getAttribute("data-mce-index");return"number"==typeof e?""+e:e},f=function(t){var e=t.parentNode;t.firstChild&&e.insertBefore(t.firstChild,t),t.parentNode.removeChild(t)},h=function(t,e){var n,o=[];if((n=r.toArray(t.getBody().getElementsByTagName("span"))).length)for(var i=0;i<n.length;i++){var a=d(n[i]);null!==a&&a.length&&(a===e.toString()&&o.push(n[i]))}return o},p=function(t,e,n){var r=e.get(),o=r.index,i=t.dom;(n=!1!==n)?o+1===r.count?o=0:o++:o-1==-1?o=r.count-1:o--,i.removeClass(h(t,r.index),"mce-match-marker-selected");var a=h(t,o);return a.length?(i.addClass(h(t,o),"mce-match-marker-selected"),t.selection.scrollIntoView(a[0]),o):-1},m=function(t,e){var n=e.parentNode;t.remove(e),t.isEmpty(n)&&t.remove(n)},g=function(t,e,n,r,o){var i=function(t,e){var n=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").replace(/\s/g,"[^\\S\\r\\n]");return e?"\\b"+n+"\\b":n}(n,o),a=function(t,e,n){var r,o;return(o=t.dom.create("span",{"data-mce-bogus":1})).className="mce-match-marker",r=t.getBody(),_(t,e,!1),l.findAndReplaceDOMText(n,r,o,!1,t.schema)}(t,e,new RegExp(i,r?"g":"gi"));if(a){var s=p(t,e,!0);e.set({index:s,count:a,text:n,matchCase:r,wholeWord:o})}return a},v=function(t,e){var r=p(t,e,!0);e.set(n(n({},e.get()),{index:r}))},b=function(t,e){var r=p(t,e,!1);e.set(n(n({},e.get()),{index:r}))},y=function(t){var e=d(t);return null!==e&&e.length>0},M=function(t,e,o,i,a){var s,c,u,l,h,p=e.get(),g=p.index,M=g;for(i=!1!==i,u=t.getBody(),c=r.grep(r.toArray(u.getElementsByTagName("span")),y),s=0;s<c.length;s++){var _=d(c[s]);if(l=h=parseInt(_,10),a||l===p.index){for(o.length?(c[s].firstChild.nodeValue=o,f(c[s])):m(t.dom,c[s]);c[++s];){if((l=parseInt(d(c[s]),10))!==h){s--;break}m(t.dom,c[s])}i&&M--}else h>g&&c[s].setAttribute("data-mce-index",String(h-1))}return e.set(n(n({},p),{count:a?0:p.count-1,index:M})),i?v(t,e):b(t,e),!a&&e.get().count>0},_=function(t,e,o){var i,a,s,c,u=e.get();for(a=r.toArray(t.getBody().getElementsByTagName("span")),i=0;i<a.length;i++){var l=d(a[i]);null!==l&&l.length&&(l===u.index.toString()&&(s||(s=a[i].firstChild),c=a[i].firstChild),f(a[i]))}if(e.set(n(n({},u),{index:-1,count:0,text:""})),s&&c){var h=t.dom.createRng();return h.setStart(s,0),h.setEnd(c,c.data.length),!1!==o&&t.selection.setRng(h),h}},w=function(t,e){return{done:function(n){return _(t,e,n)},find:function(n,r,o){return g(t,e,n,r,o)},next:function(){return v(t,e)},prev:function(){return b(t,e)},replace:function(n,r,o){return M(t,e,n,r,o)}}},x=function(){},A=function(t){return function(){return t}},L=A(!1),T=A(!0),k=function(){return S},S=(i=function(t){return t.isNone()},c={fold:function(t,e){return t()},is:L,isSome:L,isNone:T,getOr:s=function(t){return t},getOrThunk:a=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:A(null),getOrUndefined:A(void 0),or:s,orThunk:a,map:k,each:x,bind:k,exists:L,forall:T,filter:k,equals:i,equals_:i,toArray:function(){return[]},toString:A("none()")},Object.freeze&&Object.freeze(c),c),O=function(t){var e=A(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:T,isNone:L,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return O(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:S},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(L,(function(e){return n(t,e)}))}};return o},C={some:O,none:k,from:function(t){return null==t?S:O(t)}},z=(u="function",function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===u}),D=Array.prototype.slice,E=(z(Array.from)&&Array.from,tinymce.util.Tools.resolve("tinymce.Env")),N=function(e,o){var i,a=(i=t(C.none()),{clear:function(){i.set(C.none())},set:function(t){i.set(C.some(t))},isSet:function(){return i.get().isSome()},on:function(t){i.get().each(t)}});e.undoManager.add();var s=r.trim(e.selection.getContent({format:"text"}));function c(t){(function(t,e){return e.get().count>1}(0,o)?t.enable:t.disable)("next"),(function(t,e){return e.get().count>1}(0,o)?t.enable:t.disable)("prev")}var u=function(t,e){!function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}}(["replace","replaceall","prev","next"],e?t.disable:t.enable)};var l=function(t,e){E.browser.isSafari()&&E.deviceType.isTouch()&&("find"===e||"replace"===e||"replaceall"===e)&&t.focus(e)},d=function(t){_(e,o,!1),u(t,!0),c(t)},f=function(t){var n=t.getData(),r=o.get();if(n.findtext.length){if(r.text===n.findtext&&r.matchCase===n.matchcase&&r.wholeWord===n.wholewords)v(e,o);else{var i=g(e,o,n.findtext,n.matchcase,n.wholewords);i<=0&&function(t){e.windowManager.alert("Could not find the specified string.",(function(){t.focus("findtext")}))}(t),u(t,0===i)}c(t)}else d(t)},h=o.get(),p={title:"Find and Replace",size:"normal",body:{type:"panel",items:[{type:"bar",items:[{type:"input",name:"findtext",placeholder:"Find",maximized:!0,inputMode:"search"},{type:"button",name:"prev",text:"Previous",icon:"action-prev",disabled:!0,borderless:!0},{type:"button",name:"next",text:"Next",icon:"action-next",disabled:!0,borderless:!0}]},{type:"input",name:"replacetext",placeholder:"Replace with",inputMode:"search"}]},buttons:[{type:"menu",name:"options",icon:"preferences",tooltip:"Preferences",align:"start",items:[{type:"togglemenuitem",name:"matchcase",text:"Match case"},{type:"togglemenuitem",name:"wholewords",text:"Find whole words only"}]},{type:"custom",name:"find",text:"Find",primary:!0},{type:"custom",name:"replace",text:"Replace",disabled:!0},{type:"custom",name:"replaceall",text:"Replace All",disabled:!0}],initialData:{findtext:s,replacetext:"",wholewords:h.wholeWord,matchcase:h.matchCase},onChange:function(t,e){"findtext"===e.name&&o.get().count>0&&d(t)},onAction:function(t,r){var i=t.getData();switch(r.name){case"find":f(t);break;case"replace":M(e,o,i.replacetext)?c(t):d(t);break;case"replaceall":M(e,o,i.replacetext,!0,!0),d(t);break;case"prev":b(e,o),c(t);break;case"next":v(e,o),c(t);break;case"matchcase":case"wholewords":!function(t){var e=t.getData(),r=o.get();o.set(n(n({},r),{matchCase:e.matchcase,wholeWord:e.wholewords}))}(t),d(t)}l(t,r.name)},onSubmit:function(t){f(t),l(t,"find")},onClose:function(){e.focus(),_(e,o),e.undoManager.add()}};a.set(e.windowManager.open(p,{inline:"toolbar"}))},B=function(t,e){t.addCommand("SearchReplace",(function(){N(t,e)}))},P=function(t,e){return function(){N(t,e)}},R=function(t,e){t.ui.registry.addMenuItem("searchreplace",{text:"Find and replace...",shortcut:"Meta+F",onAction:P(t,e),icon:"search"}),t.ui.registry.addButton("searchreplace",{tooltip:"Find and replace",onAction:P(t,e),icon:"search"}),t.shortcuts.add("Meta+F","",P(t,e))};e.add("searchreplace",(function(e){var n=t({index:-1,count:0,text:"",matchCase:!1,wholeWord:!1});return B(e,n),R(e,n),w(e,n)}))}()},function(t,e,n){n(188)},function(t,e){!function(){"use strict";var t,e,n,r,o,i,a=tinymce.util.Tools.resolve("tinymce.PluginManager"),s=function(){},c=function(t){return function(){return t}},u=function(t){return t},l=c(!1),d=c(!0),f=function(){return(f=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},h="[-'\\.‘’․﹒'.]",p="[:··״‧︓﹕:]",m="[±+*/,;;։،؍٬߸⁄︐︔﹐﹔,;]",g="[0-9٠-٩٫۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹]",v="\\r",b="\\n",y="[\v\f \u2028\u2029]",M="[̀-ͯ҃-҉֑-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ऀ-ःऺ-़ा-ॏ॑-ॗॢॣঁ-ঃ়া-ৄেৈো-্ৗৢৣਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑੰੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣஂா-ூெ-ைொ-்ௗఁ-ఃా-ౄె-ైొ-్ౕౖౢౣಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣംഃാ-ൄെ-ൈൊ-്ൗൢൣංඃ්ා-ුූෘ-ෟෲෳัิ-ฺ็-๎ັິ-ູົຼ່-ໍ༹༘༙༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏႚ-ႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳា-៓៝᠋-᠍ᢩᤠ-ᤫᤰ-᤻ᦰ-ᧀᧈᧉᨗ-ᨛᩕ-ᩞ᩠-᩿᩼ᬀ-ᬄ᬴-᭄᭫-᭳ᮀ-ᮂᮡ-᯦᮪-᯳ᰤ-᰷᳐-᳔᳒-᳨᳭ᳲ᷀-ᷦ᷼-᷿⃐-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꙯-꙲꙼꙽꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-꣄꣠-꣱ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀ꨩ-ꨶꩃꩌꩍꩻꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꯣ-ꯪ꯬꯭ﬞ︀-️︠-゙゚︦]",_="[-឴឵---\ufeff-]",w="[〱-〵゛゜゠-ヺー-ヿㇰ-ㇿ㋐-㋾㌀-㍗ヲ-ン]",x="[=_‿⁀⁔︳︴﹍-﹏_∀-⋿<>]",A="[!-#%-*,-\\/:;?@\\[-\\]_{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!-#%-*,-/:;?@[-]_{}⦅-・]",L=0,T=1,k=2,S=3,O=4,C=5,z=6,D=7,E=8,N=9,B=10,P=11,R=12,Y=13,W=[new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),new RegExp(h),new RegExp(p),new RegExp(m),new RegExp(g),new RegExp(v),new RegExp(b),new RegExp(y),new RegExp(M),new RegExp(_),new RegExp(w),new RegExp(x),new RegExp("@")],H=new RegExp("^"+A+"$"),q=function(){return I},I=(t=function(t){return t.isNone()},r={fold:function(t,e){return t()},is:l,isSome:l,isNone:d,getOr:n=function(t){return t},getOrThunk:e=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:c(null),getOrUndefined:c(void 0),or:n,orThunk:e,map:q,each:s,bind:q,exists:l,forall:d,filter:q,equals:t,equals_:t,toArray:function(){return[]},toString:c("none()")},Object.freeze&&Object.freeze(r),r),j=(o="function",function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===o}),X=Array.prototype.slice,F=(j(Array.from)&&Array.from,W),U=Y,V=function(t){for(var e=U,n=F.length,r=0;r<n;++r){var o=F[r];if(o&&o.test(t)){e=r;break}}return e},G=function(t){var e,n;return function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r}(t,(e=V,n={},function(t){if(n[t])return n[t];var r=e(t);return n[t]=r,r}))},$=function(t,e){var n,r,o=t[e],i=t[e+1];return!(e<0||e>t.length-1&&0!==e)&&((o!==L||i!==L)&&(r=t[e+2],(o!==L||i!==k&&i!==T&&i!==R||r!==L)&&(n=t[e-1],(o!==k&&o!==T&&i!==R||i!==L||n!==L)&&((o!==O&&o!==L||i!==O&&i!==L)&&((o!==S&&o!==T||i!==O||n!==O)&&((o!==O||i!==S&&i!==T||r!==O)&&(o!==E&&o!==N&&n!==E&&n!==N&&i!==E&&i!==N&&((o!==C||i!==z)&&(o===D||o===C||o===z||(i===D||i===C||i===z||(o!==B||i!==B)&&((i!==P||o!==L&&o!==O&&o!==B&&o!==P)&&((o!==P||i!==L&&i!==O&&i!==B)&&o!==R))))))))))))},K=/^\s+$/,J=H,Q=function(t){return"http"===t||"https"===t},Z=function(t,e){var n=function(t,e){var n;for(n=e;n<t.length&&!K.test(t[n]);n++);return n}(t,e+1);return"://"===t.slice(e+1,n).join("").substr(0,3)?n:e},tt=function(t,e,n){n=f(f({},{includeWhitespace:!1,includePunctuation:!1}),n);for(var r=[],o=[],i=0;i<t.length;i++){var a=e(t[i]);"\ufeff"!==a&&(r.push(t[i]),o.push(a))}return function(t,e,n,r){for(var o=[],i=[],a=0;a<n.length;++a)if(i.push(t[a]),$(n,a)){var s=e[a];if((r.includeWhitespace||!K.test(s))&&(r.includePunctuation||!J.test(s))){var c=a-i.length+1,u=a+1,l=e.slice(c,u).join("");if(Q(l)){var d=Z(e,a),f=t.slice(u,d);Array.prototype.push.apply(i,f),a=d}o.push(i)}i=[]}return o}(r,o,G(o),n)},et=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),nt=function(t,e){for(var n=e.getBlockElements(),r=e.getShortEndedElements(),o=function(t){return n[t.nodeName]||r[t.nodeName]},i=[],a="",s=new et(t,t);t=s.next();)3===t.nodeType?a+=t.data:o(t)&&a.length&&(i.push(a),a="");return a.length&&i.push(a),i},rt=function(t){return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length},ot=function(t,e){var n=nt(t,e).join("\n");return tt(n.split(""),u).length},it=function(t,e){var n=nt(t,e).join("");return rt(n)},at=function(t,e){var n=nt(t,e).join("").replace(/\s/g,"");return rt(n)},st=function(t,e){return function(){return e(t.getBody(),t.schema)}},ct=function(t,e){return function(){return e(t.selection.getRng().cloneContents(),t.schema)}},ut=function(t){return st(t,ot)},lt=tinymce.util.Tools.resolve("tinymce.util.Delay"),dt=function(t,e){!function(t,e){t.fire("wordCountUpdate",{wordCount:{words:e.body.getWordCount(),characters:e.body.getCharacterCount(),charactersWithoutSpaces:e.body.getCharacterCountWithoutSpaces()}})}(t,e)},ft=function(t,e){t.windowManager.open({title:"Word Count",body:{type:"panel",items:[{type:"table",header:["Count","Document","Selection"],cells:[["Words",String(e.body.getWordCount()),String(e.selection.getWordCount())],["Characters (no spaces)",String(e.body.getCharacterCountWithoutSpaces()),String(e.selection.getCharacterCountWithoutSpaces())],["Characters",String(e.body.getCharacterCount()),String(e.selection.getCharacterCount())]]}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}]})};void 0===i&&(i=300),a.add("wordcount",(function(t){var e=function(t){return{body:{getWordCount:ut(t),getCharacterCount:st(t,it),getCharacterCountWithoutSpaces:st(t,at)},selection:{getWordCount:ct(t,ot),getCharacterCount:ct(t,it),getCharacterCountWithoutSpaces:ct(t,at)},getCount:ut(t)}}(t);return function(t,e){t.ui.registry.addButton("wordcount",{tooltip:"Word count",icon:"character-count",onAction:function(){return ft(t,e)}}),t.ui.registry.addMenuItem("wordcount",{text:"Word count",icon:"character-count",onAction:function(){return ft(t,e)}})}(t,e),function(t,e,n){var r=lt.debounce((function(){return dt(t,e)}),n);t.on("init",(function(){dt(t,e),lt.setEditorTimeout(t,(function(){t.on("SetContent BeforeAddUndo Undo Redo keyup",r)}),0)}))}(t,e,i),e}))}()},function(t,e,n){n(190)},function(t,e){!function(){"use strict";var t=function(e){var n=e,r=function(){return n};return{get:r,set:function(t){n=t},clone:function(){return t(r())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(t,e){t.fire("VisualBlocks",{state:e})},r=function(t,e,r){t.dom.toggleClass(t.getBody(),"mce-visualblocks"),r.set(!r.get()),n(t,r.get())},o=function(t,e,n){t.addCommand("mceVisualBlocks",(function(){r(t,e,n)}))},i=function(t){return t.getParam("visualblocks_default_state",!1,"boolean")},a=function(t,e,n){t.on("PreviewFormats AfterPreviewFormats",(function(e){n.get()&&t.dom.toggleClass(t.getBody(),"mce-visualblocks","afterpreviewformats"===e.type)})),t.on("init",(function(){i(t)&&r(t,e,n)})),t.on("remove",(function(){t.dom.removeClass(t.getBody(),"mce-visualblocks")}))},s=function(t,e){return function(n){n.setActive(e.get());var r=function(t){return n.setActive(t.state)};return t.on("VisualBlocks",r),function(){return t.off("VisualBlocks",r)}}},c=function(t,e){t.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:function(){return t.execCommand("mceVisualBlocks")},onSetup:s(t,e)}),t.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",onAction:function(){return t.execCommand("mceVisualBlocks")},onSetup:s(t,e)})};e.add("visualblocks",(function(e,n){var r=t(!1);o(e,n,r),c(e,r),a(e,n,r)}))}()},function(t,e,n){n(192)},function(t,e){!function(t){"use strict";var e,n,r,o,i,a=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return a(n())}}},s=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=function(t){return{isEnabled:function(){return t.get()}}},u=function(t,e){return t.fire("VisualChars",{state:e})},l=function(){},d=function(t){return function(){return t}},f=d(!1),h=d(!0),p=function(){return m},m=(e=function(t){return t.isNone()},o={fold:function(t,e){return t()},is:f,isSome:f,isNone:h,getOr:r=function(t){return t},getOrThunk:n=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:d(null),getOrUndefined:d(void 0),or:r,orThunk:n,map:p,each:l,bind:p,exists:f,forall:h,filter:p,equals:e,equals_:e,toArray:function(){return[]},toString:d("none()")},Object.freeze&&Object.freeze(o),o),g=function(t){var e=d(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:h,isNone:f,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return g(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:m},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(f,(function(e){return n(t,e)}))}};return o},v=function(t){return null==t?m:g(t)},b=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},y=b("string"),M=b("boolean"),_=b("function"),w=b("number"),x=Array.prototype.slice,A=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},L=(_(Array.from)&&Array.from,t.Node.ATTRIBUTE_NODE,t.Node.CDATA_SECTION_NODE,t.Node.COMMENT_NODE,t.Node.DOCUMENT_NODE,t.Node.DOCUMENT_TYPE_NODE,t.Node.DOCUMENT_FRAGMENT_NODE,t.Node.ELEMENT_NODE,t.Node.TEXT_NODE),T=(t.Node.PROCESSING_INSTRUCTION_NODE,t.Node.ENTITY_REFERENCE_NODE,t.Node.ENTITY_NODE,t.Node.NOTATION_NODE,void 0!==t.window?t.window:Function("return this;")(),function(t){return t.dom().nodeValue}),k=(i=L,function(t){return function(t){return t.dom().nodeType}(t)===i}),S=function(e,n,r){!function(e,n,r){if(!(y(r)||M(r)||w(r)))throw t.console.error("Invalid call to Attr.set. Key ",n,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(n,r+"")}(e.dom(),n,r)},O=function(t,e){t.dom().removeAttribute(e)},C=function(t,e){var n=function(t,e){var n=t.dom().getAttribute(e);return null===n?void 0:n}(t,e);return void 0===n||""===n?[]:n.split(" ")},z=function(t){return void 0!==t.dom().classList},D=function(t,e){return function(t,e,n){var r=C(t,e).concat([n]);return S(t,e,r.join(" ")),!0}(t,"class",e)},E=function(t,e){return function(t,e,n){var r=function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n}(C(t,e),(function(t){return t!==n}));return r.length>0?S(t,e,r.join(" ")):O(t,e),!1}(t,"class",e)},N=function(t){0===(z(t)?t.dom().classList:function(t){return C(t,"class")}(t)).length&&O(t,"class")},B=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:d(t)}},P={fromHtml:function(e,n){var r=(n||t.document).createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1)throw t.console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return B(r.childNodes[0])},fromTag:function(e,n){var r=(n||t.document).createElement(e);return B(r)},fromText:function(e,n){var r=(n||t.document).createTextNode(e);return B(r)},fromDom:B,fromPoint:function(t,e,n){var r=t.dom();return v(r.elementFromPoint(e,n)).map(B)}},R={" ":"nbsp","":"shy"},Y=function(t,e){var n,r="";for(n in t)r+=n;return new RegExp("["+r+"]",e?"g":"")},W=function(t){var e,n="";for(e in t)n&&(n+=","),n+="span.mce-"+t[e];return n},H={charMap:R,regExp:Y(R),regExpGlobal:Y(R,!0),selector:W(R),nbspClass:"mce-nbsp",charMapToRegExp:Y,charMapToSelector:W},q=function(t){return'<span data-mce-bogus="1" class="mce-'+H.charMap[t]+'">'+t+"</span>"},I=function(t,e){var n=[],r=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r}(t.dom().childNodes,P.fromDom);return A(r,(function(t){e(t)&&(n=n.concat([t])),n=n.concat(I(t,e))})),n},j={isMatch:function(t){var e=T(t);return k(t)&&void 0!==e&&H.regExp.test(e)},filterDescendants:I,findParentElm:function(t,e){for(;t.parentNode;){if(t.parentNode===e)return t;t=t.parentNode}},replaceWithSpans:function(t){return t.replace(H.regExpGlobal,q)}},X=function(t){return"span"===t.nodeName.toLowerCase()&&t.classList.contains("mce-nbsp-wrap")},F=function(t,e){var n=j.filterDescendants(P.fromDom(e),j.isMatch);A(n,(function(e){var n,r,o=e.dom().parentNode;if(X(o))n=P.fromDom(o),r=H.nbspClass,z(n)?n.dom().classList.add(r):D(n,r);else{for(var i=j.replaceWithSpans(t.dom.encode(T(e))),a=t.dom.create("div",null,i),s=void 0;s=a.lastChild;)t.dom.insertAfter(s,e.dom());t.dom.remove(e.dom())}}))},U=function(t,e){var n=t.dom.select(H.selector,e);A(n,(function(e){X(e)?function(t,e){z(t)?t.dom().classList.remove(e):E(t,e);N(t)}(P.fromDom(e),H.nbspClass):t.dom.remove(e,!0)}))},V=F,G=U,$=function(t){var e=t.getBody(),n=t.selection.getBookmark(),r=j.findParentElm(t.selection.getNode(),e);U(t,r=void 0!==r?r:e),F(t,r),t.selection.moveToBookmark(n)},K=function(t,e){var n,r=t.getBody(),o=t.selection;e.set(!e.get()),u(t,e.get()),n=o.getBookmark(),!0===e.get()?V(t,r):G(t,r),o.moveToBookmark(n)},J=function(t,e){t.addCommand("mceVisualChars",(function(){K(t,e)}))},Q=tinymce.util.Tools.resolve("tinymce.util.Delay"),Z=function(t,e){var n=Q.debounce((function(){$(t)}),300);!1!==t.settings.forced_root_block&&t.on("keydown",(function(r){!0===e.get()&&(13===r.keyCode?$(t):n())}))},tt=function(t){return t.getParam("visualchars_default_state",!1)},et=function(t,e){t.on("init",(function(){var n=!tt(t);e.set(n),K(t,e)}))},nt=function(t,e){return function(n){n.setActive(e.get());var r=function(t){return n.setActive(t.state)};return t.on("VisualChars",r),function(){return t.off("VisualChars",r)}}};s.add("visualchars",(function(t){var e=a(!1);return J(t,e),function(t,e){t.ui.registry.addToggleButton("visualchars",{tooltip:"Show invisible characters",icon:"visualchars",onAction:function(){return t.execCommand("mceVisualChars")},onSetup:nt(t,e)}),t.ui.registry.addToggleMenuItem("visualchars",{text:"Show invisible characters",onAction:function(){return t.execCommand("mceVisualChars")},onSetup:nt(t,e)})}(t,e),Z(t,e),et(t,e),c(e)}))}(window)},function(t,e,n){n(194)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=function(t,e){t.focus(),t.undoManager.transact((function(){t.setContent(e)})),t.selection.setCursorLocation(),t.nodeChanged()},n=function(t){return t.getContent({source_view:!0})},r=function(t){var r=n(t);t.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:r},onSubmit:function(n){e(t,n.getData().code),n.close()}})},o=function(t){t.addCommand("mceCodeEditor",(function(){r(t)}))},i=function(t){t.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:function(){return r(t)}}),t.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:function(){return r(t)}})};t.add("code",(function(t){return o(t),i(t),{}}))}()},function(t,e,n){n(196)},function(t,e){!function(t){"use strict";var e,n,r,o,i=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return i(n())}}},a=tinymce.util.Tools.resolve("tinymce.PluginManager"),s=function(t){return{isFullscreen:function(){return null!==t.get()}}},c=function(){},u=function(t){return function(){return t}},l=u(!1),d=u(!0),f=function(){return h},h=function(){var t=function(t){return t.isNone()},e=function(t){return t()},n=function(t){return t},r={fold:function(t,e){return t()},is:l,isSome:l,isNone:d,getOr:n,getOrThunk:e,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:u(null),getOrUndefined:u(void 0),or:n,orThunk:e,map:f,each:c,bind:f,exists:l,forall:d,filter:f,equals:t,equals_:t,toArray:function(){return[]},toString:u("none()")};return Object.freeze&&Object.freeze(r),r}(),p=function(t){var e=u(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:d,isNone:l,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return p(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:h},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(l,(function(e){return n(t,e)}))}};return o},m={some:p,none:f,from:function(t){return null==t?h:p(t)}},g=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},v=g("string"),b=g("array"),y=g("boolean"),M=g("function"),_=g("number"),w=Array.prototype.slice,x=Array.prototype.push,A=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},L=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},T=function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n},k=function(t,e){return function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!b(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);x.apply(e,t[n])}return e}(A(t,e))},S=(M(Array.from)&&Array.from,Object.keys),O=function(t,e){return-1!==t.indexOf(e)},C=function(t){return void 0!==t.style&&M(t.style.getPropertyValue)},z=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:u(t)}},D={fromHtml:function(e,n){var r=(n||t.document).createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1)throw t.console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return z(r.childNodes[0])},fromTag:function(e,n){var r=(n||t.document).createElement(e);return z(r)},fromText:function(e,n){var r=(n||t.document).createTextNode(e);return z(r)},fromDom:z,fromPoint:function(t,e,n){var r=t.dom();return m.from(r.elementFromPoint(e,n)).map(z)}},E=(t.Node.ATTRIBUTE_NODE,t.Node.CDATA_SECTION_NODE,t.Node.COMMENT_NODE,t.Node.DOCUMENT_NODE),N=(t.Node.DOCUMENT_TYPE_NODE,t.Node.DOCUMENT_FRAGMENT_NODE,t.Node.ELEMENT_NODE),B=t.Node.TEXT_NODE,P=(t.Node.PROCESSING_INSTRUCTION_NODE,t.Node.ENTITY_REFERENCE_NODE,t.Node.ENTITY_NODE,t.Node.NOTATION_NODE,void 0!==t.window?t.window:Function("return this;")(),e=B,function(t){return function(t){return t.dom().nodeType}(t)===e}),R=function(e,n,r){!function(e,n,r){if(!(v(r)||y(r)||_(r)))throw t.console.error("Invalid call to Attr.set. Key ",n,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(n,r+"")}(e.dom(),n,r)},Y=function(t,e){var n=t.dom().getAttribute(e);return null===n?void 0:n},W=function(t,e){t.dom().removeAttribute(e)},H=function(e,n){var r=e.dom();!function(t,e){for(var n=S(t),r=0,o=n.length;r<o;r++){var i=n[r];e(t[i],i)}}(n,(function(e,n){!function(e,n,r){if(!v(r))throw t.console.error("Invalid call to CSS.set. Property ",n,":: Value ",r,":: Element ",e),new Error("CSS value must be a string: "+r);C(e)&&e.style.setProperty(n,r)}(r,n,e)}))},q=function(e,n){var r=e.dom(),o=t.window.getComputedStyle(r).getPropertyValue(n),i=""!==o||function(t){var e=P(t)?t.dom().parentNode:t.dom();return null!=e&&e.ownerDocument.body.contains(e)}(e)?o:I(r,n);return null===i?void 0:i},I=function(t,e){return C(t)?t.style.getPropertyValue(e):""},j=function(){return X(0,0)},X=function(t,e){return{major:t,minor:e}},F={nu:X,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?j():function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.test(e))return r}}(t,e);if(!n)return{major:0,minor:0};var r=function(t){return Number(e.replace(n,"$"+t))};return X(r(1),r(2))}(t,n)},unknown:j},U=function(t,e){return function(){return e===t}},V=function(t){var e=t.current;return{current:e,version:t.version,isEdge:U("Edge",e),isChrome:U("Chrome",e),isIE:U("IE",e),isOpera:U("Opera",e),isFirefox:U("Firefox",e),isSafari:U("Safari",e)}},G={unknown:function(){return V({current:void 0,version:F.unknown()})},nu:V,edge:u("Edge"),chrome:u("Chrome"),ie:u("IE"),opera:u("Opera"),firefox:u("Firefox"),safari:u("Safari")},$=function(t,e){return function(){return e===t}},K=function(t){var e=t.current;return{current:e,version:t.version,isWindows:$("Windows",e),isiOS:$("iOS",e),isAndroid:$("Android",e),isOSX:$("OSX",e),isLinux:$("Linux",e),isSolaris:$("Solaris",e),isFreeBSD:$("FreeBSD",e)}},J={unknown:function(){return K({current:void 0,version:F.unknown()})},nu:K,windows:u("Windows"),ios:u("iOS"),android:u("Android"),linux:u("Linux"),osx:u("OSX"),solaris:u("Solaris"),freebsd:u("FreeBSD")},Q=function(t,e){var n=String(e).toLowerCase();return function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return m.some(o)}return m.none()}(t,(function(t){return t.search(n)}))},Z=function(t,e){return Q(t,e).map((function(t){var n=F.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},tt=function(t,e){return Q(t,e).map((function(t){var n=F.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},et=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,nt=function(t){return function(e){return O(e,t)}},rt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return O(t,"edge/")&&O(t,"chrome")&&O(t,"safari")&&O(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,et],search:function(t){return O(t,"chrome")&&!O(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return O(t,"msie")||O(t,"trident")}},{name:"Opera",versionRegexes:[et,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:nt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:nt("firefox")},{name:"Safari",versionRegexes:[et,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(O(t,"safari")||O(t,"mobile/"))&&O(t,"applewebkit")}}],ot=[{name:"Windows",search:nt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return O(t,"iphone")||O(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:nt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:nt("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:nt("linux"),versionRegexes:[]},{name:"Solaris",search:nt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:nt("freebsd"),versionRegexes:[]}],it={browsers:u(rt),oses:u(ot)},at=function(t,e){var n=it.browsers(),r=it.oses(),o=Z(n,t).fold(G.unknown,G.nu),i=tt(r,t).fold(J.unknown,J.nu),a=function(t,e,n,r){var o=t.isiOS()&&!0===/ipad/i.test(n),i=t.isiOS()&&!o,a=t.isiOS()||t.isAndroid(),s=a||r("(pointer:coarse)"),c=o||!i&&a&&r("(min-device-width:768px)"),l=i||a&&!c,d=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),f=!l&&!c&&!d;return{isiPad:u(o),isiPhone:u(i),isTablet:u(c),isPhone:u(l),isTouch:u(s),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:u(d),isDesktop:u(f)}}(i,o,t,e);return{browser:o,os:i,deviceType:a}},st=i(at(t.navigator.userAgent,(function(e){return t.window.matchMedia(e).matches}))),ct=function(){return st.get()},ut=function(t,e,n){return 0!=(t.compareDocumentPosition(e)&n)},lt=function(e,n){return ut(e,n,t.Node.DOCUMENT_POSITION_CONTAINED_BY)},dt=N,ft=E,ht=function(t,e){var n=t.dom();if(n.nodeType!==dt)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},pt=function(e,n){var r,o=void 0===n?t.document:n.dom();return(r=o).nodeType!==dt&&r.nodeType!==ft||0===r.childElementCount?[]:A(o.querySelectorAll(e),D.fromDom)},mt=(ct().browser.isIE(),function(t){return function(t){return m.from(t.dom().parentNode).map(D.fromDom)}(t).map(gt).map((function(e){return T(e,(function(e){return n=e,!(t.dom()===n.dom());var n}))})).getOr([])}),gt=function(t){return A(t.dom().childNodes,D.fromDom)},vt=(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}("element","offset"),function(t,e){return{left:u(t),top:u(e),translate:function(n,r){return vt(t+n,e+r)}}}),bt=vt,yt=(ct().browser.isSafari(),function(t,e,n,r){return{x:u(t),y:u(e),width:u(n),height:u(r),right:u(t+n),bottom:u(e+r)}}),Mt=function(e){var n=void 0===e?t.window:e,r=n.document,o=function(e){var n=void 0!==e?e.dom():t.document,r=n.body.scrollLeft||n.documentElement.scrollLeft,o=n.body.scrollTop||n.documentElement.scrollTop;return bt(r,o)}(D.fromDom(r)),i=n.visualViewport;if(void 0!==i)return yt(Math.max(i.pageLeft,o.left()),Math.max(i.pageTop,o.top()),i.width,i.height);var a=r.documentElement,s=a.clientWidth,c=a.clientHeight;return yt(o.left(),o.top(),s,c)},_t=function(t,e){t.fire("FullscreenStateChanged",{state:e})},wt=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),xt=tinymce.util.Tools.resolve("tinymce.Env"),At=tinymce.util.Tools.resolve("tinymce.util.Delay"),Lt=function(t,e,n){return T(function(t,e){for(var n=M(e)?e:l,r=t.dom(),o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=D.fromDom(i);if(o.push(a),!0===n(a))break;r=i}return o}(t,n),e)},Tt=function(t,e,n){return Lt(t,(function(t){return ht(t,e)}),n)},kt=function(t,e){return function(t,e){return T(mt(t),e)}(t,(function(t){return ht(t,e)}))},St="data-ephox-mobile-fullscreen-style",Ot="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",Ct=xt.os.isAndroid(),zt=function(t,e){var n=function(t){return function(e){var n=Y(e,"style"),r=void 0===n?"no-styles":n.trim();r!==t&&(R(e,St,r),R(e,"style",t))}},r=Tt(t,"*"),o=k(r,(function(t){return kt(t,"*:not(.tox-silver-sink)")})),i=function(t){var e=q(t,"background-color");return void 0!==e&&""!==e?"background-color:"+e+"!important":"background-color:rgb(255,255,255)!important;"}(e);L(o,n("display:none!important;")),L(r,n("position:absolute!important;"+Ot+i)),n((!0===Ct?"":"position:absolute!important;")+Ot+i)(t)},Dt=function(){var t=pt("["+St+"]");L(t,(function(t){var e=Y(t,St);"no-styles"!==e?R(t,"style",e):W(t,"style"),W(t,St)}))},Et=wt.DOM,Nt=t.window.visualViewport,Bt=void 0===Nt?{bind:c,unbind:c}:(n=i(m.none()),r={clear:function(){n.set(m.none())},set:function(t){n.set(m.some(t))},isSet:function(){return n.get().isSome()},on:function(t){n.get().each(t)}},o=At.throttle((function(){t.document.body.scrollTop=0,t.document.documentElement.scrollTop=0,t.window.requestAnimationFrame((function(){r.on((function(t){return H(t,{top:Nt.offsetTop+"px",left:Nt.offsetLeft+"px",height:Nt.height+"px",width:Nt.width+"px"})}))}))}),50),{bind:function(t){r.set(t),o(),Nt.addEventListener("resize",o),Nt.addEventListener("scroll",o)},unbind:function(){r.on((function(){Nt.removeEventListener("scroll",o),Nt.removeEventListener("resize",o)})),r.clear()}}),Pt=function(e,n){var r,o,i,a=t.document.body,s=t.document.documentElement;o=e.getContainer();var c,u,l=D.fromDom(o),d=n.get(),f=D.fromDom(e.getBody()),h=xt.deviceType.isTouch();if(r=o.style,i=e.getContentAreaContainer().firstChild.style,d)i.width=d.iframeWidth,i.height=d.iframeHeight,r.width=d.containerWidth,r.height=d.containerHeight,r.top=d.containerTop,r.left=d.containerLeft,h&&Dt(),Et.removeClass(a,"tox-fullscreen"),Et.removeClass(s,"tox-fullscreen"),Et.removeClass(o,"tox-fullscreen"),c=d.scrollPos,t.window.scrollTo(c.x,c.y),n.set(null),_t(e,!1),Bt.unbind(),e.off("remove",Bt.unbind);else{var p={scrollPos:(u=Mt(t.window),{x:u.x(),y:u.y()}),containerWidth:r.width,containerHeight:r.height,containerTop:r.top,containerLeft:r.left,iframeWidth:i.width,iframeHeight:i.height};h&&zt(l,f),i.width=i.height="100%",r.width=r.height="",Et.addClass(a,"tox-fullscreen"),Et.addClass(s,"tox-fullscreen"),Et.addClass(o,"tox-fullscreen"),Bt.bind(l),e.on("remove",Bt.unbind),n.set(p),_t(e,!0)}},Rt=function(t,e){t.addCommand("mceFullScreen",(function(){Pt(t,e)}))},Yt=function(t,e){return function(n){n.setActive(null!==e.get());var r=function(t){return n.setActive(t.state)};return t.on("FullscreenStateChanged",r),function(){return t.off("FullscreenStateChanged",r)}}},Wt=function(t,e){t.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Meta+Shift+F",onAction:function(){return t.execCommand("mceFullScreen")},onSetup:Yt(t,e)}),t.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:function(){return t.execCommand("mceFullScreen")},onSetup:Yt(t,e)})};a.add("fullscreen",(function(t){var e=i(null);return t.settings.inline||(Rt(t,e),Wt(t,e),t.addShortcut("Meta+Shift+F","","mceFullScreen")),s(e)}))}(window)},function(t,e,n){n(198)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=function(t){return t.getParam("insertdatetime_timeformat",t.translate("%H:%M:%S"))},n=function(t){return t.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},r=function(t){return t.getParam("insertdatetime_dateformat",t.translate("%Y-%m-%d"))},o=e,i=n,a=function(t){var r=n(t);return r.length>0?r[0]:e(t)},s=function(t){return t.getParam("insertdatetime_element",!1)},c="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),u="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),d="January February March April May June July August September October November December".split(" "),f=function(t,e){if((t=""+t).length<e)for(var n=0;n<e-t.length;n++)t="0"+t;return t},h=function(t,e,n){return n=n||new Date,e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",f(n.getMonth()+1,2))).replace("%d",f(n.getDate(),2))).replace("%H",""+f(n.getHours(),2))).replace("%M",""+f(n.getMinutes(),2))).replace("%S",""+f(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+t.translate(d[n.getMonth()]))).replace("%b",""+t.translate(l[n.getMonth()]))).replace("%A",""+t.translate(u[n.getDay()]))).replace("%a",""+t.translate(c[n.getDay()]))).replace("%%","%")},p=function(t,e){if(s(t)){var n=h(t,e),r=void 0;r=/%[HMSIp]/.test(e)?h(t,"%Y-%m-%dT%H:%M"):h(t,"%Y-%m-%d");var o=t.dom.getParent(t.selection.getStart(),"time");o?function(t,e,n,r){var o=t.dom.create("time",{datetime:n},r);e.parentNode.insertBefore(o,e),t.dom.remove(e),t.selection.select(o,!0),t.selection.collapse(!1)}(t,o,r,n):t.insertContent('<time datetime="'+r+'">'+n+"</time>")}else t.insertContent(h(t,e))},m=h,g=function(t){t.addCommand("mceInsertDate",(function(){p(t,r(t))})),t.addCommand("mceInsertTime",(function(){p(t,o(t))}))},v=tinymce.util.Tools.resolve("tinymce.util.Tools"),b=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return b(n())}}},y=function(t){var e=i(t),n=b(a(t));t.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(t){return t===n.get()},fetch:function(n){n(v.map(e,(function(e){return{type:"choiceitem",text:m(t,e),value:e}})))},onAction:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];p(t,n.get())},onItemAction:function(e,r){n.set(r),p(t,r)}});var r=function(e){return function(){n.set(e),p(t,e)}};t.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return v.map(e,(function(e){return{type:"menuitem",text:m(t,e),onAction:r(e)}}))}})};t.add("insertdatetime",(function(t){g(t),y(t)}))}()},function(t,e,n){n(200)},function(t,e){!function(){"use strict";var t,e,n,r,o,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=function(){},c=function(t){return function(){return t}},u=c(!1),l=c(!0),d=function(){return f},f=(t=function(t){return t.isNone()},r={fold:function(t,e){return t()},is:u,isSome:u,isNone:l,getOr:n=function(t){return t},getOrThunk:e=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:c(null),getOrUndefined:c(void 0),or:n,orThunk:e,map:d,each:s,bind:d,exists:u,forall:l,filter:d,equals:t,equals_:t,toArray:function(){return[]},toString:c("none()")},Object.freeze&&Object.freeze(r),r),h=function(t){var e=c(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:l,isNone:u,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return h(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:f},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(u,(function(e){return n(t,e)}))}};return o},p=d,m=function(t){return null==t?f:h(t)},g=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},v=g("string"),b=g("array"),y=g("function"),M=Array.prototype.slice,_=Array.prototype.push,w=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},x=function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!b(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);_.apply(e,t[n])}return e},A=(y(Array.from)&&Array.from,function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return A(n())}}}),L=Object.prototype.hasOwnProperty,T=(o=function(t,e){return e},function(){for(var t=new Array(arguments.length),e=0;e<t.length;e++)t[e]=arguments[e];if(0===t.length)throw new Error("Can't merge zero objects");for(var n={},r=0;r<t.length;r++){var i=t[r];for(var a in i)L.call(i,a)&&(n[a]=o(n[a],i[a]))}return n}),k=Object.hasOwnProperty,S=function(t,e){return O(t,e)?m(t[e]):p()},O=function(t,e){return k.call(t,e)},C=function(t){return t.getParam("media_scripts")},z=function(t){return t.getParam("audio_template_callback")},D=function(t){return t.getParam("video_template_callback")},E=function(t){return t.getParam("media_live_embeds",!0)},N=function(t){return t.getParam("media_filter_html",!0)},B=function(t){return t.getParam("media_url_resolver")},P=function(t){return t.getParam("media_alt_source",!0)},R=function(t){return t.getParam("media_poster",!0)},Y=function(t){return t.getParam("media_dimensions",!0)},W=tinymce.util.Tools.resolve("tinymce.util.Tools"),H=tinymce.util.Tools.resolve("tinymce.html.SaxParser"),q=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),I=function(t){return function(e){return e?e.style[t].replace(/px$/,""):""}},j=function(t){return function(e,n){e&&(e.style[t]=function(t){return/^[0-9.]+$/.test(t)?t+"px":t}(n))}},X={getMaxWidth:I("maxWidth"),getMaxHeight:I("maxHeight"),setMaxWidth:j("maxWidth"),setMaxHeight:j("maxHeight")},F=function(t,e){if(t)for(var n=0;n<t.length;n++)if(-1!==e.indexOf(t[n].filter))return t[n]},U=q.DOM,V=function(t){return U.getAttrib(t,"data-ephox-embed-iri")},G=function(t,e){return function(t){var e=U.createFragment(t);return""!==V(e.firstChild)}(e)?function(t){var e=U.createFragment(t).firstChild;return{type:"ephox-embed-iri",source1:V(e),source2:"",poster:"",width:X.getMaxWidth(e),height:X.getMaxHeight(e)}}(e):function(t,e){var n={};return H({validate:!1,allow_conditional_comments:!0,start:function(e,r){if(n.source1||"param"!==e||(n.source1=r.map.movie),"iframe"!==e&&"object"!==e&&"embed"!==e&&"video"!==e&&"audio"!==e||(n.type||(n.type=e),n=W.extend(r.map,n)),"script"===e){var o=F(t,r.map.src);if(!o)return;n={type:"script",source1:r.map.src,width:String(o.width),height:String(o.height)}}"source"===e&&(n.source1?n.source2||(n.source2=r.map.src):n.source1=r.map.src),"img"!==e||n.poster||(n.poster=r.map.src)}}).parse(e),n.source1=n.source1||n.src||n.data,n.source2=n.source2||"",n.poster=n.poster||"",n}(t,e)},$=tinymce.util.Tools.resolve("tinymce.util.Promise"),K=function(t){var e={mp3:"audio/mpeg",m4a:"audio/x-m4a",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"}[t.toLowerCase().split(".").pop()];return e||""},J=tinymce.util.Tools.resolve("tinymce.html.Writer"),Q=tinymce.util.Tools.resolve("tinymce.html.Schema"),Z=q.DOM,tt=function(t,e){var n,r,o,i;for(n in e)if(o=""+e[n],t.map[n])for(r=t.length;r--;)(i=t[r]).name===n&&(o?(t.map[n]=o,i.value=o):(delete t.map[n],t.splice(r,1)));else o&&(t.push({name:n,value:o}),t.map[n]=o)},et=function(t,e){var n=Z.createFragment(t).firstChild;return X.setMaxWidth(n,e.width),X.setMaxHeight(n,e.height),function(t){var e=J();return H(e).parse(t),e.getContent()}(n.outerHTML)},nt=function(t,e,n){return function(t){var e=Z.createFragment(t);return""!==Z.getAttrib(e.firstChild,"data-ephox-embed-iri")}(t)?et(t,e):function(t,e,n){var r,o=J(),i=0;return H({validate:!1,allow_conditional_comments:!0,comment:function(t){o.comment(t)},cdata:function(t){o.cdata(t)},text:function(t,e){o.text(t,e)},start:function(t,a,s){switch(t){case"video":case"object":case"embed":case"img":case"iframe":void 0!==e.height&&void 0!==e.width&&tt(a,{width:e.width,height:e.height})}if(n)switch(t){case"video":tt(a,{poster:e.poster,src:""}),e.source2&&tt(a,{src:""});break;case"iframe":tt(a,{src:e.source1});break;case"source":if(++i<=2&&(tt(a,{src:e["source"+i],type:e["source"+i+"mime"]}),!e["source"+i]))return;break;case"img":if(!e.poster)return;r=!0}o.start(t,a,s)},end:function(t){if("video"===t&&n)for(var a=1;a<=2;a++)if(e["source"+a]){var s=[];s.map={},i<a&&(tt(s,{src:e["source"+a],type:e["source"+a+"mime"]}),o.start("source",s,!0))}if(e.poster&&"object"===t&&n&&!r){var c=[];c.map={},tt(c,{src:e.poster,width:e.width,height:e.height}),o.start("img",c,!0)}o.end(t)}},Q({})).parse(t),o.getContent()}(t,e,n)},rt=[{regex:/youtu\.be\/([\w\-_\?&=.]+)/i,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$2?$4",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$2?title=0&byline=0",allowFullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'//maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"//www.dailymotion.com/embed/video/$1",allowFullscreen:!0},{regex:/dai\.ly\/([^_]+)/,type:"iframe",w:480,h:270,url:"//www.dailymotion.com/embed/video/$1",allowFullscreen:!0}],ot=function(t,e){for(var n=t.regex.exec(e),r=t.url,o=function(t){r=r.replace("$"+t,(function(){return n[t]?n[t]:""}))},i=0;i<n.length;i++)o(i);return r.replace(/\?$/,"")},it=function(t,e){var n=W.extend({},e);if(!n.source1&&(W.extend(n,G(C(t),n.embed)),!n.source1))return"";n.source2||(n.source2=""),n.poster||(n.poster=""),n.source1=t.convertURL(n.source1,"source"),n.source2=t.convertURL(n.source2,"source"),n.source1mime=K(n.source1),n.source2mime=K(n.source2),n.poster=t.convertURL(n.poster,"poster");var r=function(t){var e=rt.filter((function(e){return e.regex.test(t)}));return e.length>0?W.extend({},e[0],{url:ot(e[0],t)}):null}(n.source1);if(r&&(n.source1=r.url,n.type=r.type,n.allowFullscreen=r.allowFullscreen,n.width=n.width||String(r.w),n.height=n.height||String(r.h)),n.embed)return nt(n.embed,n,!0);var o=F(C(t),n.source1);o&&(n.type="script",n.width=String(o.width),n.height=String(o.height));var i=z(t),a=D(t);return n.width=n.width||"300",n.height=n.height||"150",W.each(n,(function(e,r){n[r]=t.dom.encode(""+e)})),"iframe"===n.type?function(t){var e=t.allowFullscreen?' allowFullscreen="1"':"";return'<iframe src="'+t.source1+'" width="'+t.width+'" height="'+t.height+'"'+e+"></iframe>"}(n):"application/x-shockwave-flash"===n.source1mime?function(t){var e='<object data="'+t.source1+'" width="'+t.width+'" height="'+t.height+'" type="application/x-shockwave-flash">';return t.poster&&(e+='<img src="'+t.poster+'" width="'+t.width+'" height="'+t.height+'" />'),e+="</object>"}(n):-1!==n.source1mime.indexOf("audio")?function(t,e){return e?e(t):'<audio controls="controls" src="'+t.source1+'">'+(t.source2?'\n<source src="'+t.source2+'"'+(t.source2mime?' type="'+t.source2mime+'"':"")+" />\n":"")+"</audio>"}(n,i):"script"===n.type?function(t){return'<script src="'+t.source1+'"><\/script>'}(n):function(t,e){return e?e(t):'<video width="'+t.width+'" height="'+t.height+'"'+(t.poster?' poster="'+t.poster+'"':"")+' controls="controls">\n<source src="'+t.source1+'"'+(t.source1mime?' type="'+t.source1mime+'"':"")+" />\n"+(t.source2?'<source src="'+t.source2+'"'+(t.source2mime?' type="'+t.source2mime+'"':"")+" />\n":"")+"</video>"}(n,a)},at={},st=function(t){return function(e){return it(t,e)}},ct=function(t,e){var n=B(t);return n?function(t,e,n){return new $((function(r,o){var i=function(n){return n.html&&(at[t.source1]=n),r({url:t.source1,html:n.html?n.html:e(t)})};at[t.source1]?i(at[t.source1]):n({url:t.source1},i,o)}))}(e,st(t),n):function(t,e){return new $((function(n){n({html:e(t),url:t.source1})}))}(e,st(t))},ut=function(t){return at.hasOwnProperty(t)},lt=function(t){var e=T(t,{source1:t.source1.value,source2:S(t,"source2").bind((function(t){return S(t,"value")})).getOr(""),poster:S(t,"poster").bind((function(t){return S(t,"value")})).getOr("")});return S(t,"dimensions").each((function(t){w(["width","height"],(function(n){S(t,n).each((function(t){return e[n]=t}))}))})),e},dt=function(t){var e=T(t,{source1:{value:S(t,"source1").getOr("")},source2:{value:S(t,"source2").getOr("")},poster:{value:S(t,"poster").getOr("")}});return w(["width","height"],(function(n){S(t,n).each((function(t){var r=e.dimensions||{};r[n]=t,e.dimensions=r}))})),e},ft=function(t){return function(e){var n=e&&e.msg?"Media embed handler error: "+e.msg:"Media embed handler threw unknown error.";t.notificationManager.open({type:"error",text:n})}},ht=function(t,e){return G(C(t),e)},pt=function(t,e){return function(n){if(v(n.url)&&n.url.trim().length>0){var r=n.html,o=ht(e,r),i=a(a({},o),{source1:n.url,embed:r});t.setData(dt(i))}}},mt=function(t,e){var n=t.dom.select("img[data-mce-object]");t.insertContent(e),function(t,e){for(var n=t.dom.select("img[data-mce-object]"),r=0;r<e.length;r++)for(var o=n.length-1;o>=0;o--)e[r]===n[o]&&n.splice(o,1);t.selection.select(n[0])}(t,n),t.nodeChanged()},gt=function(t){var e=function(t){var e=t.selection.getNode(),n=function(t){return t.getAttribute("data-mce-object")||t.getAttribute("data-ephox-embed-iri")}(e)?t.serializer.serialize(e,{selection:!0}):"";return T({embed:n},G(C(t),n))}(t),n=A(e),r=dt(e),o=function(t){return lt(t.getData())},i=Y(t)?[{type:"sizeinput",name:"dimensions",label:"Constrain proportions",constrain:!0}]:[],s={title:"General",name:"general",items:x([[{name:"source1",type:"urlinput",filetype:"media",label:"Source"}],i])},c={title:"Embed",items:[{type:"textarea",name:"embed",label:"Paste your embed code below:"}]},u=[];P(t)&&u.push({name:"source2",type:"urlinput",filetype:"media",label:"Alternative source URL"}),R(t)&&u.push({name:"poster",type:"urlinput",filetype:"image",label:"Media poster (Image URL)"});var l={title:"Advanced",name:"advanced",items:u},d=[s,c];u.length>0&&d.push(l);var f={type:"tabpanel",tabs:d},h=t.windowManager.open({title:"Insert/Edit Media",size:"normal",body:f,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:function(e){var r=o(e);!function(t,e,n){e.embed=nt(e.embed,e),e.embed&&(t.source1===e.source1||ut(e.source1))?mt(n,e.embed):ct(n,e).then((function(t){mt(n,t.html)})).catch(ft(n))}(n.get(),r,t),e.close()},onChange:function(e,r){switch(r.name){case"source1":!function(e,n){var r=o(n);e.source1!==r.source1&&(pt(h,t)({url:r.source1,html:""}),ct(t,r).then(pt(h,t)).catch(ft(t)))}(n.get(),e);break;case"embed":!function(e){var n=lt(e.getData()),r=ht(t,n.embed);e.setData(dt(r))}(e);break;case"dimensions":case"poster":!function(e){var n=o(e),r=it(t,n);e.setData(dt(a(a({},n),{embed:r})))}(e)}n.set(o(e))},initialData:r})},vt=function(t){return{showDialog:function(){gt(t)}}},bt=function(t){t.addCommand("mceMedia",(function(){gt(t)}))},yt=tinymce.util.Tools.resolve("tinymce.html.Node"),Mt=tinymce.util.Tools.resolve("tinymce.Env"),_t=function(t,e){if(!1===N(t))return e;var n,r=J();return H({validate:!1,allow_conditional_comments:!1,comment:function(t){r.comment(t)},cdata:function(t){r.cdata(t)},text:function(t,e){r.text(t,e)},start:function(e,o,i){if(n=!0,"script"!==e&&"noscript"!==e){for(var a=0;a<o.length;a++){if(0===o[a].name.indexOf("on"))return;"style"===o[a].name&&(o[a].value=t.dom.serializeStyle(t.dom.parseStyle(o[a].value),e))}r.start(e,o,i),n=!1}},end:function(t){n||r.end(t)}},Q({})).parse(e),r.getContent()},wt=function(t,e){var n,r=e.name;return(n=new yt("img",1)).shortEnded=!0,At(t,e,n),n.attr({width:e.attr("width")||"300",height:e.attr("height")||("audio"===r?"30":"150"),style:e.attr("style"),src:Mt.transparentSrc,"data-mce-object":r,class:"mce-object mce-object-"+r}),n},xt=function(t,e){var n,r,o,i=e.name;return(n=new yt("span",1)).attr({contentEditable:"false",style:e.attr("style"),"data-mce-object":i,class:"mce-preview-object mce-object-"+i}),At(t,e,n),(r=new yt(i,1)).attr({src:e.attr("src"),allowfullscreen:e.attr("allowfullscreen"),style:e.attr("style"),class:e.attr("class"),width:e.attr("width"),height:e.attr("height"),frameborder:"0"}),(o=new yt("span",1)).attr("class","mce-shim"),n.append(r),n.append(o),n},At=function(t,e,n){var r,o,i,a,s;for(a=(i=e.attributes).length;a--;)r=i[a].name,o=i[a].value,"width"!==r&&"height"!==r&&"style"!==r&&("data"!==r&&"src"!==r||(o=t.convertURL(o,r)),n.attr("data-mce-p-"+r,o));(s=e.firstChild&&e.firstChild.value)&&(n.attr("data-mce-html",escape(_t(t,s))),n.firstChild=null)},Lt=function(t){var e=t.attr("class");return e&&/\btiny-pageembed\b/.test(e)},Tt=function(t){for(;t=t.parent;)if(t.attr("data-ephox-embed-iri")||Lt(t))return!0;return!1},kt=function(t){return function(e){for(var n,r,o=e.length;o--;)(n=e[o]).parent&&(n.parent.attr("data-mce-object")||("script"!==n.name||(r=F(C(t),n.attr("src"))))&&(r&&(r.width&&n.attr("width",r.width.toString()),r.height&&n.attr("height",r.height.toString())),"iframe"===n.name&&E(t)&&Mt.ceFalse?Tt(n)||n.replace(xt(t,n)):Tt(n)||n.replace(wt(t,n))))}},St=function(t){t.on("preInit",(function(){var e=t.schema.getSpecialElements();W.each("video audio iframe object".split(" "),(function(t){e[t]=new RegExp("</"+t+"[^>]*>","gi")}));var n=t.schema.getBoolAttrs();W.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),(function(t){n[t]={}})),t.parser.addNodeFilter("iframe,video,audio,object,embed,script",kt(t)),t.serializer.addAttributeFilter("data-mce-object",(function(e,n){for(var r,o,i,a,s,c,u,l,d=e.length;d--;)if((r=e[d]).parent){for(u=r.attr(n),o=new yt(u,1),"audio"!==u&&"script"!==u&&((l=r.attr("class"))&&-1!==l.indexOf("mce-preview-object")?o.attr({width:r.firstChild.attr("width"),height:r.firstChild.attr("height")}):o.attr({width:r.attr("width"),height:r.attr("height")})),o.attr({style:r.attr("style")}),i=(a=r.attributes).length;i--;){var f=a[i].name;0===f.indexOf("data-mce-p-")&&o.attr(f.substr(11),a[i].value)}"script"===u&&o.attr("type","text/javascript"),(s=r.attr("data-mce-html"))&&((c=new yt("#text",3)).raw=!0,c.value=_t(t,unescape(s)),o.append(c)),r.replace(o)}}))})),t.on("SetContent",(function(){t.$("span.mce-preview-object").each((function(e,n){var r=t.$(n);0===r.find("span.mce-shim").length&&r.append('<span class="mce-shim"></span>')}))}))},Ot=function(t){t.on("ResolveName",(function(t){var e;1===t.target.nodeType&&(e=t.target.getAttribute("data-mce-object"))&&(t.name=e)}))},Ct=function(t){t.on("click keyup touchend",(function(){var e=t.selection.getNode();e&&t.dom.hasClass(e,"mce-preview-object")&&t.dom.getAttrib(e,"data-mce-selected")&&e.setAttribute("data-mce-selected","2")})),t.on("ObjectSelected",(function(t){var e=t.target.getAttribute("data-mce-object");"audio"!==e&&"script"!==e||t.preventDefault()})),t.on("ObjectResized",(function(t){var e,n=t.target;n.getAttribute("data-mce-object")&&(e=n.getAttribute("data-mce-html"))&&(e=unescape(e),n.setAttribute("data-mce-html",escape(nt(e,{width:String(t.width),height:String(t.height)}))))}))},zt=function(t,e){return function(n){return t.selection.selectorChangedWithUnbind(e.join(","),n.setActive).unbind}},Dt=function(t){t.ui.registry.addToggleButton("media",{tooltip:"Insert/edit media",icon:"embed",onAction:function(){t.execCommand("mceMedia")},onSetup:zt(t,["img[data-mce-object]","span[data-mce-object]","div[data-ephox-embed-iri]"])}),t.ui.registry.addMenuItem("media",{icon:"embed",text:"Media...",onAction:function(){t.execCommand("mceMedia")}})};i.add("media",(function(t){return bt(t),Dt(t),Ot(t),St(t),Ct(t),vt(t)}))}()},function(t,e,n){n(202)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=function(t){var e=t.getParam("nonbreaking_force_tab",0);return"boolean"==typeof e?!0===e?3:0:e},n=function(t){return t.getParam("nonbreaking_wrap",!0,"boolean")},r=function(t,e){for(var n="",r=0;r<e;r++)n+=t;return n},o=function(t,e){var o=n(t)||t.plugins.visualchars?'<span class="'+(function(t){return!!t.plugins.visualchars&&t.plugins.visualchars.isEnabled()}(t)?"mce-nbsp-wrap mce-nbsp":"mce-nbsp-wrap")+'" contenteditable="false">'+r(" ",e)+"</span>":r(" ",e);t.undoManager.transact((function(){return t.insertContent(o)}))},i=function(t){t.addCommand("mceNonBreaking",(function(){o(t,1)}))},a=tinymce.util.Tools.resolve("tinymce.util.VK"),s=function(t){var n=e(t);n>0&&t.on("keydown",(function(e){if(e.keyCode===a.TAB&&!e.isDefaultPrevented()){if(e.shiftKey)return;e.preventDefault(),e.stopImmediatePropagation(),o(t,n)}}))},c=function(t){t.ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:function(){return t.execCommand("mceNonBreaking")}}),t.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:function(){return t.execCommand("mceNonBreaking")}})};t.add("nonbreaking",(function(t){i(t),c(t),s(t)}))}()},function(t,e,n){n(204)},function(t,e){!function(t){"use strict";var e=function(t){var n=t,r=function(){return n};return{get:r,set:function(t){n=t},clone:function(){return e(r())}}},n=function(){},r=function(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t(e.apply(null,n))}},o=function(t){return function(){return t}},i=function(t){return t};function a(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.concat(n);return t.apply(null,o)}}var s=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return!t.apply(null,e)}},c=o(!1),u=o(!0),l=function(){return d},d=function(){var t=function(t){return t.isNone()},e=function(t){return t()},r=function(t){return t},i={fold:function(t,e){return t()},is:c,isSome:c,isNone:u,getOr:r,getOrThunk:e,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(void 0),or:r,orThunk:e,map:l,each:n,bind:l,exists:c,forall:u,filter:l,equals:t,equals_:t,toArray:function(){return[]},toString:o("none()")};return Object.freeze&&Object.freeze(i),i}(),f=function(t){var e=o(t),n=function(){return i},r=function(e){return e(t)},i={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:u,isNone:c,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return f(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?i:d},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(c,(function(e){return n(t,e)}))}};return i},h={some:f,none:l,from:function(t){return null==t?d:f(t)}},p=tinymce.util.Tools.resolve("tinymce.PluginManager"),m=function(t){return function(e){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(e)===t}},g=m("string"),v=m("array"),b=m("boolean"),y=m("function"),M=m("number"),_=Array.prototype.slice,w=Array.prototype.indexOf,x=Array.prototype.push,A=function(t,e){return n=t,r=e,w.call(n,r)>-1;var n,r},L=function(t,e){for(var n=0,r=t.length;n<r;n++){if(e(t[n],n))return!0}return!1},T=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},k=function(t,e){for(var n=0,r=t.length;n<r;n++){e(t[n],n)}},S=function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n},O=function(t,e,n){return function(t,e){for(var n=t.length-1;n>=0;n--){e(t[n],n)}}(t,(function(t){n=e(n,t)})),n},C=function(t,e,n){return k(t,(function(t){n=e(n,t)})),n},z=function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return h.some(o)}return h.none()},D=function(t,e){for(var n=0,r=t.length;n<r;n++){if(e(t[n],n))return h.some(n)}return h.none()},E=function(t){for(var e=[],n=0,r=t.length;n<r;++n){if(!v(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);x.apply(e,t[n])}return e},N=function(t,e){var n=T(t,e);return E(n)},B=function(t,e){for(var n=0,r=t.length;n<r;++n){if(!0!==e(t[n],n))return!1}return!0},P=function(t){var e=_.call(t,0);return e.reverse(),e},R=(y(Array.from)&&Array.from,Object.keys),Y=Object.hasOwnProperty,W=function(t,e){for(var n=R(t),r=0,o=n.length;r<o;r++){var i=n[r];e(t[i],i)}},H=function(t,e){return q(t,(function(t,n){return{k:n,v:e(t,n)}}))},q=function(t,e){var n={};return W(t,(function(t,r){var o=e(t,r);n[o.k]=o.v})),n},I=function(t,e){return j(t,e)?h.from(t[e]):h.none()},j=function(t,e){return Y.call(t,e)},X=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t.length!==e.length)throw new Error('Wrong number of arguments to struct. Expected "['+t.length+']", got '+e.length+" arguments");var r={};return k(t,(function(t,n){r[t]=o(e[n])})),r}},F=function(t){return t.slice(0).sort()},U=function(t,e){throw new Error("All required keys ("+F(t).join(", ")+") were not specified. Specified keys were: "+F(e).join(", ")+".")},V=function(t){throw new Error("Unsupported keys for object: "+F(t).join(", "))},G=function(t,e){if(!v(e))throw new Error("The "+t+" fields must be an array. Was: "+e+".");k(e,(function(e){if(!g(e))throw new Error("The value "+e+" in the "+t+" fields was not a string.")}))},$=function(t){var e=F(t);z(e,(function(t,n){return n<e.length-1&&t===e[n+1]})).each((function(t){throw new Error("The field: "+t+" occurs more than once in the combined fields: ["+e.join(", ")+"].")}))},K=function(t,e){var n=t.concat(e);if(0===n.length)throw new Error("You must specify at least one required or optional field.");return G("required",t),G("optional",e),$(n),function(r){var i=R(r);B(t,(function(t){return A(i,t)}))||U(t,i);var a=S(i,(function(t){return!A(n,t)}));a.length>0&&V(a);var s={};return k(t,(function(t){s[t]=o(r[t])})),k(e,(function(t){s[t]=o(Object.prototype.hasOwnProperty.call(r,t)?h.some(r[t]):h.none())})),s}},J=(t.Node.ATTRIBUTE_NODE,t.Node.CDATA_SECTION_NODE,t.Node.COMMENT_NODE),Q=t.Node.DOCUMENT_NODE,Z=(t.Node.DOCUMENT_TYPE_NODE,t.Node.DOCUMENT_FRAGMENT_NODE,t.Node.ELEMENT_NODE),tt=t.Node.TEXT_NODE,et=(t.Node.PROCESSING_INSTRUCTION_NODE,t.Node.ENTITY_REFERENCE_NODE,t.Node.ENTITY_NODE,t.Node.NOTATION_NODE,void 0!==t.window?t.window:Function("return this;")(),function(t){return t.dom().nodeName.toLowerCase()}),nt=function(t){return t.dom().nodeType},rt=function(t){return function(e){return nt(e)===t}},ot=function(t){return nt(t)===J||"#comment"===et(t)},it=rt(Z),at=rt(tt),st=function(e,n,r){if(!(g(r)||b(r)||M(r)))throw t.console.error("Invalid call to Attr.set. Key ",n,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(n,r+"")},ct=function(t,e,n){st(t.dom(),e,n)},ut=function(t,e){var n=t.dom();W(e,(function(t,e){st(n,e,t)}))},lt=function(t,e){var n=t.dom().getAttribute(e);return null===n?void 0:n},dt=function(t,e){var n=t.dom();return!(!n||!n.hasAttribute)&&n.hasAttribute(e)},ft=function(t,e){t.dom().removeAttribute(e)},ht=function(t){return C(t.dom().attributes,(function(t,e){return t[e.name]=e.value,t}),{})},pt=function(t,e,n){return""===e||!(t.length<e.length)&&t.substr(n,n+e.length)===e},mt=function(t,e){return-1!==t.indexOf(e)},gt=function(t,e){return pt(t,e,0)},vt=function(t){return void 0!==t.style&&y(t.style.getPropertyValue)},bt=function(t){var e,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,e=t.apply(null,r)),e}},yt=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:o(t)}},Mt={fromHtml:function(e,n){var r=(n||t.document).createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1)throw t.console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return yt(r.childNodes[0])},fromTag:function(e,n){var r=(n||t.document).createElement(e);return yt(r)},fromText:function(e,n){var r=(n||t.document).createTextNode(e);return yt(r)},fromDom:yt,fromPoint:function(t,e,n){var r=t.dom();return h.from(r.elementFromPoint(e,n)).map(yt)}},_t=function(t){var e=at(t)?t.dom().parentNode:t.dom();return null!=e&&e.ownerDocument.body.contains(e)},wt=bt((function(){return xt(Mt.fromDom(t.document))})),xt=function(t){var e=t.dom().body;if(null==e)throw new Error("Body is not available yet");return Mt.fromDom(e)},At=function(e,n,r){if(!g(r))throw t.console.error("Invalid call to CSS.set. Property ",n,":: Value ",r,":: Element ",e),new Error("CSS value must be a string: "+r);vt(e)&&e.style.setProperty(n,r)},Lt=function(t,e,n){var r=t.dom();At(r,e,n)},Tt=function(t,e){var n=t.dom();W(e,(function(t,e){At(n,e,t)}))},kt=function(e,n){var r=e.dom(),o=t.window.getComputedStyle(r).getPropertyValue(n),i=""!==o||_t(e)?o:St(r,n);return null===i?void 0:i},St=function(t,e){return vt(t)?t.style.getPropertyValue(e):""},Ot=function(t,e){var n=t.dom(),r=St(n,e);return h.from(r).filter((function(t){return t.length>0}))},Ct=function(t,e){!function(t,e){vt(t)&&t.style.removeProperty(e)}(t.dom(),e),dt(t,"style")&&""===lt(t,"style").replace(/^\s+|\s+$/g,"")&&ft(t,"style")},zt=function(t,e,n){return 0!=(t.compareDocumentPosition(e)&n)},Dt=function(e,n){return zt(e,n,t.Node.DOCUMENT_POSITION_CONTAINED_BY)},Et=function(){return(Et=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},Nt=function(){return Bt(0,0)},Bt=function(t,e){return{major:t,minor:e}},Pt={nu:Bt,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?Nt():function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.test(e))return r}}(t,e);if(!n)return{major:0,minor:0};var r=function(t){return Number(e.replace(n,"$"+t))};return Bt(r(1),r(2))}(t,n)},unknown:Nt},Rt=function(t,e){return function(){return e===t}},Yt=function(t){var e=t.current;return{current:e,version:t.version,isEdge:Rt("Edge",e),isChrome:Rt("Chrome",e),isIE:Rt("IE",e),isOpera:Rt("Opera",e),isFirefox:Rt("Firefox",e),isSafari:Rt("Safari",e)}},Wt={unknown:function(){return Yt({current:void 0,version:Pt.unknown()})},nu:Yt,edge:o("Edge"),chrome:o("Chrome"),ie:o("IE"),opera:o("Opera"),firefox:o("Firefox"),safari:o("Safari")},Ht=function(t,e){return function(){return e===t}},qt=function(t){var e=t.current;return{current:e,version:t.version,isWindows:Ht("Windows",e),isiOS:Ht("iOS",e),isAndroid:Ht("Android",e),isOSX:Ht("OSX",e),isLinux:Ht("Linux",e),isSolaris:Ht("Solaris",e),isFreeBSD:Ht("FreeBSD",e)}},It={unknown:function(){return qt({current:void 0,version:Pt.unknown()})},nu:qt,windows:o("Windows"),ios:o("iOS"),android:o("Android"),linux:o("Linux"),osx:o("OSX"),solaris:o("Solaris"),freebsd:o("FreeBSD")},jt=function(t,e){var n=String(e).toLowerCase();return z(t,(function(t){return t.search(n)}))},Xt=function(t,e){return jt(t,e).map((function(t){var n=Pt.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},Ft=function(t,e){return jt(t,e).map((function(t){var n=Pt.detect(t.versionRegexes,e);return{current:t.name,version:n}}))},Ut=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Vt=function(t){return function(e){return mt(e,t)}},Gt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return mt(t,"edge/")&&mt(t,"chrome")&&mt(t,"safari")&&mt(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Ut],search:function(t){return mt(t,"chrome")&&!mt(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return mt(t,"msie")||mt(t,"trident")}},{name:"Opera",versionRegexes:[Ut,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Vt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Vt("firefox")},{name:"Safari",versionRegexes:[Ut,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(mt(t,"safari")||mt(t,"mobile/"))&&mt(t,"applewebkit")}}],$t=[{name:"Windows",search:Vt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return mt(t,"iphone")||mt(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Vt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Vt("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Vt("linux"),versionRegexes:[]},{name:"Solaris",search:Vt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Vt("freebsd"),versionRegexes:[]}],Kt={browsers:o(Gt),oses:o($t)},Jt=function(t,e){var n=Kt.browsers(),r=Kt.oses(),i=Xt(n,t).fold(Wt.unknown,Wt.nu),a=Ft(r,t).fold(It.unknown,It.nu),s=function(t,e,n,r){var i=t.isiOS()&&!0===/ipad/i.test(n),a=t.isiOS()&&!i,s=t.isiOS()||t.isAndroid(),c=s||r("(pointer:coarse)"),u=i||!a&&s&&r("(min-device-width:768px)"),l=a||s&&!u,d=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),f=!l&&!u&&!d;return{isiPad:o(i),isiPhone:o(a),isTablet:o(u),isPhone:o(l),isTouch:o(c),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:o(d),isDesktop:o(f)}}(a,i,t,e);return{browser:i,os:a,deviceType:s}},Qt=e(Jt(t.navigator.userAgent,(function(e){return t.window.matchMedia(e).matches}))),Zt=function(){return Qt.get()},te=Z,ee=Q,ne=function(t,e){var n=t.dom();if(n.nodeType!==te)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},re=function(t){return t.nodeType!==te&&t.nodeType!==ee||0===t.childElementCount},oe=function(t,e){return t.dom()===e.dom()},ie=Zt().browser.isIE()?function(t,e){return Dt(t.dom(),e.dom())}:function(t,e){var n=t.dom(),r=e.dom();return n!==r&&n.contains(r)},ae=ne,se=function(t){return Mt.fromDom(t.dom().ownerDocument)},ce=function(t){return h.from(t.dom().parentNode).map(Mt.fromDom)},ue=function(t,e){for(var n=y(e)?e:c,r=t.dom(),o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=Mt.fromDom(i);if(o.push(a),!0===n(a))break;r=i}return o},le=function(t){return h.from(t.dom().previousSibling).map(Mt.fromDom)},de=function(t){return h.from(t.dom().nextSibling).map(Mt.fromDom)},fe=function(t){return T(t.dom().childNodes,Mt.fromDom)},he=function(t,e){var n=t.dom().childNodes;return h.from(n[e]).map(Mt.fromDom)},pe=(X("element","offset"),function(t,e){ce(t).each((function(n){n.dom().insertBefore(e.dom(),t.dom())}))}),me=function(t,e){de(t).fold((function(){ce(t).each((function(t){ve(t,e)}))}),(function(t){pe(t,e)}))},ge=function(t,e){(function(t){return he(t,0)})(t).fold((function(){ve(t,e)}),(function(n){t.dom().insertBefore(e.dom(),n.dom())}))},ve=function(t,e){t.dom().appendChild(e.dom())},be=function(t,e){pe(t,e),ve(e,t)},ye=function(t,e){k(e,(function(n,r){var o=0===r?t:e[r-1];me(o,n)}))},Me=function(t,e){k(e,(function(e){ve(t,e)}))},_e=function(t){t.dom().textContent="",k(fe(t),(function(t){we(t)}))},we=function(t){var e=t.dom();null!==e.parentNode&&e.parentNode.removeChild(e)},xe=function(t){var e,n=fe(t);n.length>0&&(e=t,k(n,(function(t){pe(e,t)}))),we(t)},Ae=(X("width","height"),X("width","height"),X("rows","columns")),Le=X("row","column"),Te=(X("x","y"),X("element","rowspan","colspan")),ke=X("element","rowspan","colspan","isNew"),Se=X("element","rowspan","colspan","row","column"),Oe=X("element","cells","section"),Ce=X("element","isNew"),ze=X("element","cells","section","isNew"),De=X("cells","section"),Ee=X("details","section"),Ne=X("startRow","startCol","finishRow","finishCol"),Be=function(t,e){var n=[];return k(fe(t),(function(t){e(t)&&(n=n.concat([t])),n=n.concat(Be(t,e))})),n},Pe=function(t,e,n){return function(t,e,n){return S(ue(t,n),e)}(t,(function(t){return ne(t,e)}),n)},Re=function(t,e){return function(t,e){return S(fe(t),e)}(t,(function(t){return ne(t,e)}))},Ye=function(e,n){return function(e,n){var r=void 0===n?t.document:n.dom();return re(r)?[]:T(r.querySelectorAll(e),Mt.fromDom)}(n,e)};function We(t,e,n,r,o){return t(n,r)?h.some(n):y(o)&&o(n)?h.none():e(n,r,o)}var He=function(t,e,n){for(var r=t.dom(),i=y(n)?n:o(!1);r.parentNode;){r=r.parentNode;var a=Mt.fromDom(r);if(e(a))return h.some(a);if(i(a))break}return h.none()},qe=function(t,e,n){return He(t,(function(t){return ne(t,e)}),n)},Ie=function(t,e){return function(t,e){return z(t.dom().childNodes,(function(t){return e(Mt.fromDom(t))})).map(Mt.fromDom)}(t,(function(t){return ne(t,e)}))},je=function(e,n){return function(e,n){var r=void 0===n?t.document:n.dom();return re(r)?h.none():h.from(r.querySelector(e)).map(Mt.fromDom)}(n,e)},Xe=function(t,e,n){return We(ne,qe,t,e,n)},Fe=function(t,e,n){return N(fe(t),(function(t){return ne(t,e)?n(t)?[t]:[]:Fe(t,e,n)}))},Ue={firstLayer:function(t,e){return Fe(t,e,o(!0))},filterFirstLayer:Fe},Ve=function(t,e,n){if(void 0===n&&(n=c),n(e))return h.none();if(A(t,et(e)))return h.some(e);return qe(e,t.join(","),(function(t){return ne(t,"table")||n(t)}))},Ge=function(t,e){return ce(e).map((function(e){return Re(e,t)}))},$e=(a(Ge,"th,td"),a(Ge,"tr"),function(t,e){return Ve(["td","th"],t,e)}),Ke=function(t){return Ue.firstLayer(t,"th,td")},Je=function(t,e){return Xe(t,"table",e)},Qe=function(t){return Ue.firstLayer(t,"tr")},Ze=function(t){var e=Qe(t);return T(e,(function(t){var e=t,n=ce(e).map((function(t){var e=et(t);return"tfoot"===e||"thead"===e||"tbody"===e?e:"tbody"})).getOr("tbody"),r=T(Ke(t),(function(t){var e=dt(t,"rowspan")?parseInt(lt(t,"rowspan"),10):1,n=dt(t,"colspan")?parseInt(lt(t,"colspan"),10):1;return Te(t,e,n)}));return Oe(e,r,n)}))},tn=function(t,e){return T(t,(function(t){var n=T(Ke(t),(function(t){var e=dt(t,"rowspan")?parseInt(lt(t,"rowspan"),10):1,n=dt(t,"colspan")?parseInt(lt(t,"colspan"),10):1;return Te(t,e,n)}));return Oe(t,n,e.section())}))},en=function(t,e){return t+","+e},nn=function(t,e){var n=N(t.all(),(function(t){return t.cells()}));return S(n,e)},rn={generate:function(t){var e={},n=[],r=t.length,i=0;k(t,(function(t,r){var o=[];k(t.cells(),(function(t){for(var n=0;void 0!==e[en(r,n)];)n++;for(var a=Se(t.element(),t.rowspan(),t.colspan(),r,n),s=0;s<t.colspan();s++)for(var c=0;c<t.rowspan();c++){var u=n+s,l=en(r+c,u);e[l]=a,i=Math.max(i,u+1)}o.push(a)})),n.push(Oe(t.element(),o,t.section()))}));var a=Ae(r,i);return{grid:o(a),access:o(e),all:o(n)}},getAt:function(t,e,n){var r=t.access()[en(e,n)];return void 0!==r?h.some(r):h.none()},findItem:function(t,e,n){var r=nn(t,(function(t){return n(e,t.element())}));return r.length>0?h.some(r[0]):h.none()},filterItems:nn,justCells:function(t){var e=T(t.all(),(function(t){return t.cells()}));return E(e)}},on=X("minRow","minCol","maxRow","maxCol"),an=function(t,e,n){var r=t[n].element(),o=Mt.fromTag("td");ve(o,Mt.fromTag("br")),(e?ve:ge)(r,o)},sn=function(t,e){var n=function(t){return ne(t.element(),e)},r=Ze(t),o=rn.generate(r),i=function(t,e){var n=t.grid().columns(),r=t.grid().rows(),o=n,i=0,a=0;return W(t.access(),(function(t){if(e(t)){var n=t.row(),s=n+t.rowspan()-1,c=t.column(),u=c+t.colspan()-1;n<r?r=n:s>i&&(i=s),c<o?o=c:u>a&&(a=u)}})),on(r,o,i,a)}(o,n),a="th:not("+e+"),td:not("+e+")",s=Ue.filterFirstLayer(t,"th,td",(function(t){return ne(t,a)}));return k(s,we),function(t,e,n,r){for(var o=e.grid().columns(),i=e.grid().rows(),a=0;a<i;a++)for(var s=!1,c=0;c<o;c++){if(!(a<n.minRow()||a>n.maxRow()||c<n.minCol()||c>n.maxCol()))rn.getAt(e,a,c).filter(r).isNone()?an(t,s,a):s=!0}}(r,o,i,n),function(t,e){var n=S(Ue.firstLayer(t,"tr"),(function(t){return 0===t.dom().childElementCount}));k(n,we),e.minCol()!==e.maxCol()&&e.minRow()!==e.maxRow()||k(Ue.firstLayer(t,"th,td"),(function(t){ft(t,"rowspan"),ft(t,"colspan")})),ft(t,"width"),ft(t,"height"),Ct(t,"width"),Ct(t,"height")}(t,i),t};var cn=function(t,e){var n=function(e){return t(e)?h.from(e.dom().nodeValue):h.none()};return{get:function(r){if(!t(r))throw new Error("Can only get "+e+" value of a "+e+" node");return n(r).getOr("")},getOption:n,set:function(n,r){if(!t(n))throw new Error("Can only set raw "+e+" value of a "+e+" node");n.dom().nodeValue=r}}}(at,"text"),un=function(t){return cn.get(t)},ln=function(t){return cn.getOption(t)},dn=function(t,e){cn.set(t,e)},fn=function(t){return"img"===et(t)?1:ln(t).fold((function(){return fe(t).length}),(function(t){return t.length}))},hn=["img","br"],pn=function(t){return ln(t).filter((function(t){return 0!==t.trim().length||t.indexOf(" ")>-1})).isSome()||A(hn,et(t))},mn=function(t){return e=pn,(n=function(t){for(var r=0;r<t.childNodes.length;r++){var o=Mt.fromDom(t.childNodes[r]);if(e(o))return h.some(o);var i=n(t.childNodes[r]);if(i.isSome())return i}return h.none()})(t.dom());var e,n},gn=function(t){return vn(t,pn)},vn=function(t,e){var n=function(t){for(var r=fe(t),o=r.length-1;o>=0;o--){var i=r[o];if(e(i))return h.some(i);var a=n(i);if(a.isSome())return a}return h.none()};return n(t)},bn=function(t,e){return Mt.fromDom(t.dom().cloneNode(e))},yn=function(t){return bn(t,!1)},Mn=function(t){return bn(t,!0)},_n=function(t,e){var n=function(t,e){var n=Mt.fromTag(e),r=ht(t);return ut(n,r),n}(t,e),r=fe(Mn(t));return Me(n,r),n},wn=function(){var t=Mt.fromTag("td");return ve(t,Mt.fromTag("br")),t},xn=function(t,e,n){var r=_n(t,e);return W(n,(function(t,e){null===t?ft(r,e):ct(r,e,t)})),r},An=function(t){return t},Ln=function(t){return function(){return Mt.fromTag("tr",t.dom())}},Tn=function(t,e,n){return{row:Ln(e),cell:function(e){var r,o,i,a,s=se(e.element()),c=Mt.fromTag(et(e.element()),s.dom()),u=n.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),l=u.length>0?function(t,e,n){return mn(t).map((function(r){var o=n.join(","),i=Pe(r,o,(function(e){return oe(e,t)}));return O(i,(function(t,e){var n=yn(e);return ft(n,"contenteditable"),ve(t,n),n}),e)})).getOr(e)}(e.element(),c,u):c;return ve(l,Mt.fromTag("br")),r=e.element(),o=c,i=r.dom(),a=o.dom(),vt(i)&&vt(a)&&(a.style.cssText=i.style.cssText),Ct(c,"height"),1!==e.colspan()&&Ct(e.element(),"width"),t(e.element(),c),c},replace:xn,gap:wn}},kn=function(t){return{row:Ln(t),cell:wn,replace:An,gap:wn}},Sn=function(t,e){return e.column()>=t.startCol()&&e.column()+e.colspan()-1<=t.finishCol()&&e.row()>=t.startRow()&&e.row()+e.rowspan()-1<=t.finishRow()},On=function(t,e){var n=e.column(),r=e.column()+e.colspan()-1,o=e.row(),i=e.row()+e.rowspan()-1;return n<=t.finishCol()&&r>=t.startCol()&&o<=t.finishRow()&&i>=t.startRow()},Cn=function(t,e){for(var n=!0,r=a(Sn,e),o=e.startRow();o<=e.finishRow();o++)for(var i=e.startCol();i<=e.finishCol();i++)n=n&&rn.getAt(t,o,i).exists(r);return n?h.some(e):h.none()},zn=function(t,e,n){var r=rn.findItem(t,e,oe),o=rn.findItem(t,n,oe);return r.bind((function(t){return o.map((function(e){return n=t,r=e,Ne(Math.min(n.row(),r.row()),Math.min(n.column(),r.column()),Math.max(n.row()+n.rowspan()-1,r.row()+r.rowspan()-1),Math.max(n.column()+n.colspan()-1,r.column()+r.colspan()-1));var n,r}))}))},Dn=zn,En=function(t,e,n){return zn(t,e,n).bind((function(e){return Cn(t,e)}))},Nn=function(t,e,n,r){return rn.findItem(t,e,oe).bind((function(e){var o=n>0?e.row()+e.rowspan()-1:e.row(),i=r>0?e.column()+e.colspan()-1:e.column();return rn.getAt(t,o+n,i+r).map((function(t){return t.element()}))}))},Bn=function(t,e,n){return Dn(t,e,n).map((function(e){var n=rn.filterItems(t,a(On,e));return T(n,(function(t){return t.element()}))}))},Pn=function(t,e){return rn.findItem(t,e,(function(t,e){return ie(e,t)})).map((function(t){return t.element()}))},Rn=function(t){var e=Ze(t);return rn.generate(e)},Yn=function(t,e,n){return Je(t).bind((function(r){var o=Rn(r);return Nn(o,t,e,n)}))},Wn=function(t,e,n){var r=Rn(t);return Bn(r,e,n)},Hn=function(t,e,n,r,o){var i=Rn(t),a=oe(t,n)?h.some(e):Pn(i,e),s=oe(t,o)?h.some(r):Pn(i,r);return a.bind((function(t){return s.bind((function(e){return Bn(i,t,e)}))}))},qn=function(t,e,n){var r=Rn(t);return En(r,e,n)},In=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];function jn(){return{up:o({selector:qe,closest:Xe,predicate:He,all:ue}),down:o({selector:Ye,predicate:Be}),styles:o({get:kt,getRaw:Ot,set:Lt,remove:Ct}),attrs:o({get:lt,set:ct,remove:ft,copyTo:function(t,e){var n=ht(t);ut(e,n)}}),insert:o({before:pe,after:me,afterAll:ye,append:ve,appendAll:Me,prepend:ge,wrap:be}),remove:o({unwrap:xe,remove:we}),create:o({nu:Mt.fromTag,clone:function(t){return Mt.fromDom(t.dom().cloneNode(!1))},text:Mt.fromText}),query:o({comparePosition:function(t,e){return t.dom().compareDocumentPosition(e.dom())},prevSibling:le,nextSibling:de}),property:o({children:fe,name:et,parent:ce,document:function(t){return t.dom().ownerDocument},isText:at,isComment:ot,isElement:it,getText:un,setText:dn,isBoundary:function(t){return!!it(t)&&("body"===et(t)||A(In,et(t)))},isEmptyTag:function(t){return!!it(t)&&A(["br","img","hr","input"],et(t))}}),eq:oe,is:ae}}var Xn=X("left","right"),Fn=X("first","second","splits"),Un=function(t,e,n){var r=t.property().children(e);return D(r,a(t.eq,n)).map((function(t){return{before:o(r.slice(0,t)),after:o(r.slice(t+1))}}))},Vn=function(t,e,n,r){var o=e(t,n);return O(r,(function(n,r){var o=e(t,r);return Gn(t,n,o)}),o)},Gn=function(t,e,n){return e.bind((function(e){return n.filter(a(t.eq,e))}))},$n=function(t,e){return a(t.eq,e)},Kn=function(t,e,n,r){void 0===r&&(r=c);var i=[e].concat(t.up().all(e)),a=[n].concat(t.up().all(n)),s=function(t){return D(t,r).fold((function(){return t}),(function(e){return t.slice(0,e+1)}))},u=s(i),l=s(a),d=z(u,(function(e){return L(l,$n(t,e))}));return{firstpath:o(u),secondpath:o(l),shared:o(d)}},Jn={sharedOne:function(t,e,n){return n.length>0?function(t,e,n,r){return r(t,e,n[0],n.slice(1))}(t,e,n,Vn):h.none()},subset:function(t,e,n){var r=Kn(t,e,n);return r.shared().bind((function(e){return function(t,e,n,r){var o=t.property().children(e);if(t.eq(e,n[0]))return h.some([n[0]]);if(t.eq(e,r[0]))return h.some([r[0]]);var i=function(n){var r=P(n),i=D(r,$n(t,e)).getOr(-1),a=i<r.length-1?r[i+1]:r[i];return D(o,$n(t,a))},a=i(n),s=i(r);return a.bind((function(t){return s.map((function(e){var n=Math.min(t,e),r=Math.max(t,e);return o.slice(n,r+1)}))}))}(t,e,r.firstpath(),r.secondpath())}))},ancestors:Kn,breakToLeft:function(t,e,n){return Un(t,e,n).map((function(r){var o=t.create().clone(e);return t.insert().appendAll(o,r.before().concat([n])),t.insert().appendAll(e,r.after()),t.insert().before(e,o),Xn(o,e)}))},breakToRight:function(t,e,n){return Un(t,e,n).map((function(n){var r=t.create().clone(e);return t.insert().appendAll(r,n.after()),t.insert().after(e,r),Xn(e,r)}))},breakPath:function(t,e,n,r){var o=function(e,i,a){var s=Fn(e,h.none(),a);return n(e)?Fn(e,i,a):t.property().parent(e).bind((function(i){return r(t,i,e).map((function(t){var e=[{first:t.left,second:t.right}],r=n(i)?i:t.left();return o(r,h.some(t.right()),a.concat(e))}))})).getOr(s)};return o(e,h.none(),[])}},Qn=jn(),Zn=function(t,e){return Jn.sharedOne(Qn,(function(e,n){return t(n)}),e)},tr=function(t,e,n){return Jn.ancestors(Qn,t,e,n)},er={create:K(["boxes","start","finish"],[])},nr=function(t){return qe(t,"table")},rr=function(t,e,n){var r=function(t){return function(e){return void 0!==n&&n(e)||oe(e,t)}};return oe(t,e)?h.some(er.create({boxes:h.some([t]),start:t,finish:e})):nr(t).bind((function(o){return nr(e).bind((function(i){if(oe(o,i))return h.some(er.create({boxes:Wn(o,t,e),start:t,finish:e}));if(ie(o,i)){var a=(s=Pe(e,"td,th",r(o))).length>0?s[s.length-1]:e;return h.some(er.create({boxes:Hn(o,t,o,e,i),start:t,finish:a}))}if(ie(i,o)){var s,c=(s=Pe(t,"td,th",r(i))).length>0?s[s.length-1]:t;return h.some(er.create({boxes:Hn(i,t,o,e,i),start:t,finish:c}))}return tr(t,e).shared().bind((function(a){return Xe(a,"table",n).bind((function(n){var a=Pe(e,"td,th",r(n)),s=a.length>0?a[a.length-1]:e,c=Pe(t,"td,th",r(n)),u=c.length>0?c[c.length-1]:t;return h.some(er.create({boxes:Hn(n,t,o,e,i),start:u,finish:s}))}))}))}))}))},or=rr,ir=function(t,e){var n=Ye(t,e);return n.length>0?h.some(n):h.none()},ar=function(t,e,n,r,i){return function(t,e){return z(t,(function(t){return ne(t,e)}))}(t,i).bind((function(t){return Yn(t,e,n).bind((function(t){return function(t,e){return qe(t,"table").bind((function(n){return je(n,e).bind((function(e){return rr(e,t).bind((function(t){return t.boxes().map((function(e){return{boxes:o(e),start:o(t.start()),finish:o(t.finish())}}))}))}))}))}(t,r)}))}))},sr=function(t,e,n){return je(t,e).bind((function(e){return je(t,n).bind((function(t){return Zn(nr,[e,t]).map((function(n){return{first:o(e),last:o(t),table:o(n)}}))}))}))},cr=function(t,e){return ir(t,e)},ur=function(t,e,n){return sr(t,e,n).bind((function(e){var n=function(e){return oe(t,e)},r=qe(e.first(),"thead,tfoot,tbody,table",n),o=qe(e.last(),"thead,tfoot,tbody,table",n);return r.bind((function(t){return o.bind((function(n){return oe(t,n)?qn(e.table(),e.first(),e.last()):h.none()}))}))}))},lr="data-mce-selected",dr={selected:o(lr),selectedSelector:o("td[data-mce-selected],th[data-mce-selected]"),attributeSelector:o("[data-mce-selected]"),firstSelected:o("data-mce-first-selected"),firstSelectedSelector:o("td[data-mce-first-selected],th[data-mce-first-selected]"),lastSelected:o("data-mce-last-selected"),lastSelectedSelector:o("td[data-mce-last-selected],th[data-mce-last-selected]")},fr=function(e){if(!v(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var n=[],r={};return k(e,(function(o,i){var a=R(o);if(1!==a.length)throw new Error("one and only one name per case");var s=a[0],c=o[s];if(void 0!==r[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!v(c))throw new Error("case arguments must be an array");n.push(s),r[s]=function(){var r=arguments.length;if(r!==c.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+c.length+" ("+c+"), got "+r);for(var o=new Array(r),a=0;a<o.length;a++)o[a]=arguments[a];var u=function(t){var e=R(t);if(n.length!==e.length)throw new Error("Wrong number of arguments to match. Expected: "+n.join(",")+"\nActual: "+e.join(","));if(!B(n,(function(t){return A(e,t)})))throw new Error("Not all branches were specified when using match. Specified: "+e.join(", ")+"\nRequired: "+n.join(", "));return t[s].apply(null,o)};return{fold:function(){if(arguments.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+arguments.length);var t=arguments[i];return t.apply(null,o)},match:u,log:function(e){t.console.log(e,{constructors:n,constructor:s,params:o})}}}})),r},hr=fr([{none:[]},{multiple:["elements"]},{single:["selection"]}]),pr={cata:function(t,e,n,r){return t.fold(e,n,r)},none:hr.none,multiple:hr.multiple,single:hr.single},mr=function(t,e){return pr.cata(e.get(),o([]),i,o([t]))},gr=function(t,e){return pr.cata(e.get(),h.none,(function(e,n){return 0===e.length?h.none():ur(t,dr.firstSelectedSelector(),dr.lastSelectedSelector()).bind((function(t){return e.length>1?h.some({bounds:o(t),cells:o(e)}):h.none()}))}),h.none)},vr=function(t,e){var n=mr(t,e);return n.length>0&&B(n,(function(t){return dt(t,"rowspan")&&parseInt(lt(t,"rowspan"),10)>1||dt(t,"colspan")&&parseInt(lt(t,"colspan"),10)>1}))?h.some(n):h.none()},br=mr,yr=function(t){return{element:o(t),mergable:h.none,unmergable:h.none,selection:o([t])}},Mr=X("element","clipboard","generators"),_r={noMenu:yr,forMenu:function(t,e,n){return{element:o(n),mergable:o(gr(e,t)),unmergable:o(vr(n,t)),selection:o(br(n,t))}},notCell:function(t){return yr(t)},paste:Mr,pasteRows:function(t,e,n,r,i){return{element:o(n),mergable:h.none,unmergable:h.none,selection:o(br(n,t)),clipboard:o(r),generators:o(i)}}},wr=function(e,r,o,i){e.on("BeforeGetContent",(function(t){!0===t.selection&&pr.cata(r.get(),n,(function(n){t.preventDefault(),function(t){return Je(t[0]).map(Mn).map((function(t){return[sn(t,dr.attributeSelector())]}))}(n).each((function(n){t.content="text"===t.format?function(t){return T(t,(function(t){return t.dom().innerText})).join("")}(n):function(t,e){return T(e,(function(e){return t.selection.serializer.serialize(e.dom(),{})})).join("")}(e,n)}))}),n)})),e.on("BeforeSetContent",(function(n){!0===n.selection&&!0===n.paste&&h.from(e.dom.getParent(e.selection.getStart(),"th,td")).each((function(r){var a=Mt.fromDom(r);Je(a).each((function(r){var s,c,u,l=S((s=n.content,(u=(c||t.document).createElement("div")).innerHTML=s,fe(Mt.fromDom(u))),(function(t){return"meta"!==et(t)}));if(1===l.length&&"table"===et(l[0])){n.preventDefault();var d=Mt.fromDom(e.getDoc()),f=kn(d),h=_r.paste(a,l[0],f);o.pasteCells(r,h).each((function(t){e.selection.setRng(t),e.focus(),i.clear(r)}))}}))}))}))};function xr(t,e){var n=function(n){var r=e(n);if(r<=0||null===r){var o=kt(n,t);return parseFloat(o)||0}return r},r=function(t,e){return C(e,(function(e,n){var r=kt(t,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?e:e+o}),0)};return{set:function(e,n){if(!M(n)&&!n.match(/^[0-9]+$/))throw new Error(t+".set accepts only positive integer values. Value was "+n);var r=e.dom();vt(r)&&(r.style[t]=n+"px")},get:n,getOuter:n,aggregate:r,max:function(t,e,n){var o=r(t,n);return e>o?e-o:0}}}var Ar=xr("height",(function(t){var e=t.dom();return _t(t)?e.getBoundingClientRect().height:e.offsetHeight})),Lr=function(t){return Ar.get(t)},Tr=function(t){return Ar.getOuter(t)},kr=xr("width",(function(t){return t.dom().offsetWidth})),Sr=function(t){return kr.get(t)},Or=function(t){return kr.getOuter(t)},Cr=Zt(),zr=function(t,e,n){return function(t,e){var n=parseFloat(t);return isNaN(n)?e:n}(kt(t,e),n)},Dr=function(t){return Cr.browser.isIE()||Cr.browser.isEdge()?function(t){var e=zr(t,"padding-top",0),n=zr(t,"padding-bottom",0),r=zr(t,"border-top-width",0),o=zr(t,"border-bottom-width",0),i=t.dom().getBoundingClientRect().height;return"border-box"===kt(t,"box-sizing")?i:i-e-n-(r+o)}(t):zr(t,"height",Lr(t))},Er=/(\d+(\.\d+)?)(\w|%)*/,Nr=/(\d+(\.\d+)?)%/,Br=/(\d+(\.\d+)?)px|em/,Pr=function(t,e){Lt(t,"height",e+"px")},Rr=function(t,e,n,r){var o,i,a=parseInt(t,10);return pt(o=t,i="%",o.length-i.length)&&"table"!==et(e)?function(t,e,n,r){var o=Je(t).map((function(t){var r=n(t);return Math.floor(e/100*r)})).getOr(e);return r(t,o),o}(e,a,n,r):a},Yr=function(t){var e=function(t){return Ot(t,"height").getOrThunk((function(){return Dr(t)+"px"}))}(t);return e?Rr(e,t,Lr,Pr):Lr(t)},Wr=function(t,e){return dt(t,e)?parseInt(lt(t,e),10):1},Hr=function(t){return Ot(t,"width").fold((function(){return h.from(lt(t,"width"))}),(function(t){return h.some(t)}))},qr=function(t,e){return t/e.pixelWidth()*100},Ir={percentageBasedSizeRegex:o(Nr),pixelBasedSizeRegex:o(Br),setPixelWidth:function(t,e){Lt(t,"width",e+"px")},setPercentageWidth:function(t,e){Lt(t,"width",e+"%")},setHeight:Pr,getPixelWidth:function(t,e){return Hr(t).fold((function(){return Sr(t)}),(function(n){return function(t,e,n){var r=Br.exec(e);if(null!==r)return parseInt(r[1],10);var o=Nr.exec(e);return null!==o?function(t,e){return t/100*e.pixelWidth()}(parseFloat(o[1]),n):Sr(t)}(t,n,e)}))},getPercentageWidth:function(t,e){return Hr(t).fold((function(){var n=Sr(t);return qr(n,e)}),(function(n){return function(t,e,n){var r=Nr.exec(e);if(null!==r)return parseFloat(r[1]);var o=Sr(t);return qr(o,n)}(t,n,e)}))},getGenericWidth:function(t){return Hr(t).bind((function(t){var e=Er.exec(t);return null!==e?h.some({width:o(parseFloat(e[1])),unit:o(e[3])}):h.none()}))},setGenericWidth:function(t,e,n){Lt(t,"width",e+n)},getHeight:function(t){return function(t,e,n){return n(t)/Wr(t,e)}(t,"rowspan",Yr)},getRawWidth:Hr},jr=function(t,e){Ir.getGenericWidth(t).each((function(n){var r=n.width()/2;Ir.setGenericWidth(t,r,n.unit()),Ir.setGenericWidth(e,r,n.unit())}))},Xr=function(t,e){return{left:o(t),top:o(e),translate:function(n,r){return Xr(t+n,e+r)}}},Fr=Xr,Ur=function(t,e){return void 0!==t?t:void 0!==e?e:0},Vr=function(t){var e=t.dom().ownerDocument,n=e.body,r=e.defaultView,o=e.documentElement;if(n===t.dom())return Fr(n.offsetLeft,n.offsetTop);var i=Ur(r.pageYOffset,o.scrollTop),a=Ur(r.pageXOffset,o.scrollLeft),s=Ur(o.clientTop,n.clientTop),c=Ur(o.clientLeft,n.clientLeft);return Gr(t).translate(a-c,i-s)},Gr=function(t){var e=t.dom(),n=e.ownerDocument.body;return n===e?Fr(n.offsetLeft,n.offsetTop):_t(t)?function(t){var e=t.getBoundingClientRect();return Fr(e.left,e.top)}(e):Fr(0,0)},$r=X("row","y"),Kr=X("col","x"),Jr=function(t){return Vr(t).left()+Or(t)},Qr=function(t){return Vr(t).left()},Zr=function(t,e){return Kr(t,Qr(e))},to=function(t,e){return Kr(t,Jr(e))},eo=function(t){return Vr(t).top()},no=function(t,e){return $r(t,eo(e))},ro=function(t,e){return $r(t,eo(e)+Tr(e))},oo=function(t,e,n){if(0===n.length)return[];var r=T(n.slice(1),(function(e,n){return e.map((function(e){return t(n,e)}))})),o=n[n.length-1].map((function(t){return e(n.length-1,t)}));return r.concat([o])},io={height:{delta:i,positions:function(t){return oo(no,ro,t)},edge:eo},rtl:{delta:function(t){return-t},edge:Jr,positions:function(t){return oo(to,Zr,t)}},ltr:{delta:i,edge:Qr,positions:function(t){return oo(Zr,to,t)}}},ao={ltr:io.ltr,rtl:io.rtl};function so(t){var e=function(e){return t(e).isRtl()?ao.rtl:ao.ltr};return{delta:function(t,n){return e(n).delta(t,n)},edge:function(t){return e(t).edge(t)},positions:function(t,n){return e(n).positions(t,n)}}}var co,uo=function(t){var e=Ze(t);return rn.generate(e).grid()},lo=function(t){for(var e=[],n=function(t){e.push(t)},r=0;r<t.length;r++)t[r].each(n);return e},fo=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n],n);if(r.isSome())return r}return h.none()},ho=function(t,e,n,r){n===r?ft(t,e):ct(t,e,n)},po=function(t,e){var n=[],r=[],i=function(e,o){e.length>0?function(e,o){var i=Ie(t,o).getOrThunk((function(){var e=Mt.fromTag(o,se(t).dom());return ve(t,e),e}));_e(i);var a=T(e,(function(t){t.isNew()&&n.push(t.element());var e=t.element();return _e(e),k(t.cells(),(function(t){t.isNew()&&r.push(t.element()),ho(t.element(),"colspan",t.colspan(),1),ho(t.element(),"rowspan",t.rowspan(),1),ve(e,t.element())})),e}));Me(i,a)}(e,o):function(e){Ie(t,e).each(we)}(o)},a=[],s=[],c=[];return k(e,(function(t){switch(t.section()){case"thead":a.push(t);break;case"tbody":s.push(t);break;case"tfoot":c.push(t)}})),i(a,"thead"),i(s,"tbody"),i(c,"tfoot"),{newRows:o(n),newCells:o(r)}},mo=function(t){return T(t,(function(t){var e=yn(t.element());return k(t.cells(),(function(t){var n=Mn(t.element());ho(n,"colspan",t.colspan(),1),ho(n,"rowspan",t.rowspan(),1),ve(e,n)})),e}))},go=function(t,e){var n=lt(t,e);return void 0===n||""===n?[]:n.split(" ")},vo=function(t){return void 0!==t.dom().classList},bo=function(t,e){return function(t,e,n){var r=go(t,e).concat([n]);return ct(t,e,r.join(" ")),!0}(t,"class",e)},yo=function(t,e){vo(t)?t.dom().classList.add(e):bo(t,e)},Mo=function(t,e){return vo(t)&&t.dom().classList.contains(e)},_o=function(t,e){for(var n=[],r=t;r<e;r++)n.push(r);return n},wo=function(t,e){if(e<0||e>=t.length-1)return h.none();var n=t[e].fold((function(){var n=P(t.slice(0,e));return fo(n,(function(t,e){return t.map((function(t){return{value:t,delta:e+1}}))}))}),(function(t){return h.some({value:t,delta:0})})),r=t[e+1].fold((function(){var n=t.slice(e+1);return fo(n,(function(t,e){return t.map((function(t){return{value:t,delta:e+1}}))}))}),(function(t){return h.some({value:t,delta:1})}));return n.bind((function(t){return r.map((function(e){var n=e.delta+t.delta;return Math.abs(e.value-t.value)/n}))}))},xo=function(t,e,n){var r=t();return z(r,e).orThunk((function(){return h.from(r[0]).orThunk(n)})).map((function(t){return t.element()}))},Ao=function(t){var e=t.grid(),n=_o(0,e.columns()),r=_o(0,e.rows());return T(n,(function(e){return xo((function(){return N(r,(function(n){return rn.getAt(t,n,e).filter((function(t){return t.column()===e})).fold(o([]),(function(t){return[t]}))}))}),(function(t){return 1===t.colspan()}),(function(){return rn.getAt(t,0,e)}))}))},Lo=function(t){var e=t.grid(),n=_o(0,e.rows()),r=_o(0,e.columns());return T(n,(function(e){return xo((function(){return N(r,(function(n){return rn.getAt(t,e,n).filter((function(t){return t.row()===e})).fold(o([]),(function(t){return[t]}))}))}),(function(t){return 1===t.rowspan()}),(function(){return rn.getAt(t,e,0)}))}))},To=function(t){var e=t.replace(/\./g,"-");return{resolve:function(t){return e+"-"+t}}},ko=To("ephox-snooker"),So={resolve:ko.resolve},Oo=function(t,e,n,r,o){var i=Mt.fromTag("div");return Tt(i,{position:"absolute",left:e-r/2+"px",top:n+"px",height:o+"px",width:r+"px"}),ut(i,{"data-column":t,role:"presentation"}),i},Co=function(t,e,n,r,o){var i=Mt.fromTag("div");return Tt(i,{position:"absolute",left:e+"px",top:n-o/2+"px",height:o+"px",width:r+"px"}),ut(i,{"data-row":t,role:"presentation"}),i},zo=So.resolve("resizer-bar"),Do=So.resolve("resizer-rows"),Eo=So.resolve("resizer-cols"),No=function(t){var e=Ye(t.parent(),"."+zo);k(e,we)},Bo=function(t,e,n){var r=t.origin();k(e,(function(e,o){e.each((function(e){var o=n(r,e);yo(o,zo),ve(t.parent(),o)}))}))},Po=function(t,e,n,r,o,i){var a=Vr(e);!function(t,e,n,r){Bo(t,e,(function(t,e){var o=Co(e.row(),n.left()-t.left(),e.y()-t.top(),r,7);return yo(o,Do),o}))}(t,n.length>0?o.positions(n,e):[],a,Or(e)),function(t,e,n,r){Bo(t,e,(function(t,e){var o=Oo(e.col(),e.x()-t.left(),n.top()-t.top(),7,r);return yo(o,Eo),o}))}(t,r.length>0?i.positions(r,e):[],a,Tr(e))},Ro=function(t,e){var n=Ye(t.parent(),"."+zo);k(n,e)},Yo=function(t,e,n,r){No(t);var o=Ze(e),i=rn.generate(o),a=Lo(i),s=Ao(i);Po(t,e,a,s,n,r)},Wo=function(t){Ro(t,(function(t){Lt(t,"display","none")}))},Ho=function(t){Ro(t,(function(t){Lt(t,"display","block")}))},qo=No,Io=function(t){return Mo(t,Do)},jo=function(t){return Mo(t,Eo)},Xo=function(t,e){return De(e,t.section())},Fo=function(t,e){return t.cells()[e]},Uo={addCell:function(t,e,n){var r=t.cells(),o=r.slice(0,e),i=r.slice(e),a=o.concat([n]).concat(i);return Xo(t,a)},setCells:Xo,mutateCell:function(t,e,n){t.cells()[e]=n},getCell:Fo,getCellElement:function(t,e){return Fo(t,e).element()},mapCells:function(t,e){var n=t.cells(),r=T(n,e);return De(r,t.section())},cellLength:function(t){return t.cells().length}},Vo=function(t,e){if(0===t.length)return 0;var n=t[0];return D(t,(function(t){return!e(n.element(),t.element())})).fold((function(){return t.length}),(function(t){return t}))},Go=function(t,e,n,r){var i=function(t,e){return t[e]}(t,e).cells().slice(n),a=Vo(i,r),s=function(t,e){return T(t,(function(t){return Uo.getCell(t,e)}))}(t,n).slice(e),c=Vo(s,r);return{colspan:o(a),rowspan:o(c)}},$o=function(t,e){var n=T(t,(function(t,e){return T(t.cells(),(function(t,e){return!1}))}));return T(t,(function(r,o){var i=N(r.cells(),(function(r,i){if(!1===n[o][i]){var a=Go(t,o,i,e);return function(t,e,r,o){for(var i=t;i<t+r;i++)for(var a=e;a<e+o;a++)n[i][a]=!0}(o,i,a.rowspan(),a.colspan()),[ke(r.element(),a.rowspan(),a.colspan(),r.isNew())]}return[]}));return Ee(i,r.section())}))},Ko=function(t,e,n){for(var r=[],o=0;o<t.grid().rows();o++){for(var i=[],a=0;a<t.grid().columns();a++){var s=rn.getAt(t,o,a).map((function(t){return Ce(t.element(),n)})).getOrThunk((function(){return Ce(e.gap(),!0)}));i.push(s)}var c=De(i,t.all()[o].section());r.push(c)}return r},Jo=function(t,e){return T(t,(function(t){var n=function(t){return fo(t,(function(t){return ce(t.element()).map((function(t){var e=ce(t).isNone();return Ce(t,e)}))})).getOrThunk((function(){return Ce(e.row(),!0)}))}(t.details());return ze(n.element(),t.details(),t.section(),n.isNew())}))},Qo=function(t,e){var n=$o(t,oe);return Jo(n,e)},Zo=function(t,e){var n=E(T(t.all(),(function(t){return t.cells()})));return z(n,(function(t){return oe(e,t.element())}))},ti=function(t,e,n,r,i){return function(a,s,c,u,l){var d=Ze(s),f=rn.generate(d);return e(f,c).map((function(e){var n=function(t,e){return Ko(t,e,!1)}(f,u),r=t(n,e,oe,i(u)),a=Qo(r.grid(),u);return{grid:o(a),cursor:r.cursor}})).fold((function(){return h.none()}),(function(t){var e=po(s,t.grid());return n(s,t.grid(),l),r(s),Yo(a,s,io.height,l),h.some({cursor:t.cursor,newRows:e.newRows,newCells:e.newCells})}))}},ei=function(t,e){return $e(e.element()).bind((function(e){return Zo(t,e)}))},ni=function(t,e){var n=T(e.selection(),(function(e){return $e(e).bind((function(e){return Zo(t,e)}))})),r=lo(n);return r.length>0?h.some({cells:r,generators:e.generators,clipboard:e.clipboard}):h.none()},ri=function(t,e){var n=T(e.selection(),(function(e){return $e(e).bind((function(e){return Zo(t,e)}))})),r=lo(n);return r.length>0?h.some(r):h.none()},oi=function(t){return{is:function(e){return t===e},isValue:u,isError:c,getOr:o(t),getOrThunk:o(t),getOrDie:o(t),or:function(e){return oi(t)},orThunk:function(e){return oi(t)},fold:function(e,n){return n(t)},map:function(e){return oi(e(t))},mapError:function(e){return oi(t)},each:function(e){e(t)},bind:function(e){return e(t)},exists:function(e){return e(t)},forall:function(e){return e(t)},toOption:function(){return h.some(t)}}},ii=function(t){return{is:c,isValue:c,isError:u,getOr:i,getOrThunk:function(t){return t()},getOrDie:function(){return(e=String(t),function(){throw new Error(e)})();var e},or:function(t){return t},orThunk:function(t){return t()},fold:function(e,n){return e(t)},map:function(e){return ii(t)},mapError:function(e){return ii(e(t))},each:n,bind:function(e){return ii(t)},exists:c,forall:u,toOption:h.none}},ai={value:oi,error:ii,fromOption:function(t,e){return t.fold((function(){return ii(e)}),oi)}},si=function(t,e){return T(t,(function(){return Ce(e.cell(),!0)}))},ci=function(t,e,n){return t.concat(function(t,e){for(var n=[],r=0;r<t;r++)n.push(e(r));return n}(e,(function(e){return Uo.setCells(t[t.length-1],si(t[t.length-1].cells(),n))})))},ui=function(t,e,n){return T(t,(function(t){return Uo.setCells(t,t.cells().concat(si(_o(0,e),n)))}))},li=function(t,e,n){if(t.row()>=e.length||t.column()>Uo.cellLength(e[0]))return ai.error("invalid start address out of table bounds, row: "+t.row()+", column: "+t.column());var r=e.slice(t.row()),i=r[0].cells().slice(t.column()),a=Uo.cellLength(n[0]),s=n.length;return ai.value({rowDelta:o(r.length-s),colDelta:o(i.length-a)})},di=function(t,e){var n=Uo.cellLength(t[0]),r=Uo.cellLength(e[0]);return{rowDelta:o(0),colDelta:o(n-r)}},fi=function(t,e,n){var r=e.colDelta()<0?ui:i;return(e.rowDelta()<0?ci:i)(r(t,Math.abs(e.colDelta()),n),Math.abs(e.rowDelta()),n)},hi=function(t,e,n,r){if(0===t.length)return t;for(var o=e.startRow();o<=e.finishRow();o++)for(var i=e.startCol();i<=e.finishCol();i++)Uo.mutateCell(t[o],i,Ce(r(),!1));return t},pi=function(t,e,n,r){for(var o=!0,i=0;i<t.length;i++)for(var a=0;a<Uo.cellLength(t[0]);a++){var s=n(Uo.getCellElement(t[i],a),e);!0===s&&!1===o?Uo.mutateCell(t[i],a,Ce(r(),!0)):!0===s&&(o=!1)}return t},mi=function(t,e,n,r){if(e>0&&e<t.length){var o=function(t,e){return C(t,(function(t,n){return L(t,(function(t){return e(t.element(),n.element())}))?t:t.concat([n])}),[])}(t[e-1].cells(),n);k(o,(function(o){for(var i=h.none(),a=function(e){for(var a=function(a){var s=t[e].cells()[a];n(s.element(),o.element())&&(i.isNone()&&(i=h.some(r())),i.each((function(n){Uo.mutateCell(t[e],a,Ce(n,!0))})))},s=0;s<Uo.cellLength(t[0]);s++)a(s)},s=e;s<t.length;s++)a(s)}))}return t},gi=function(t,e,n,r){var o=a(r,Uo.getCell(t[e],n).element()),i=t[e];return t.length>1&&Uo.cellLength(i)>1&&(n>0&&o(Uo.getCellElement(i,n-1))||n<i.cells().length-1&&o(Uo.getCellElement(i,n+1))||e>0&&o(Uo.getCellElement(t[e-1],n))||e<t.length-1&&o(Uo.getCellElement(t[e+1],n)))},vi=function(t,e,n,r,o){return li(t,e,n).map((function(i){var a=fi(e,i,r);return function(t,e,n,r,o){for(var i=t.row(),a=t.column(),s=i+n.length,c=a+Uo.cellLength(n[0]),u=i;u<s;u++)for(var l=a;l<c;l++){gi(e,u,l,o)&&pi(e,Uo.getCellElement(e[u],l),o,r.cell);var d=Uo.getCellElement(n[u-i],l-a),f=r.replace(d);Uo.mutateCell(e[u],l,Ce(f,!0))}return e}(t,a,n,r,o)}))},bi=function(t,e,n,r,o){mi(e,t,o,r.cell);var i=di(n,e),a=fi(n,i,r),s=di(e,a),c=fi(e,s,r);return c.slice(0,t).concat(a).concat(c.slice(t,c.length))},yi=function(t,e,n,r,o){var i=t.slice(0,e),a=t.slice(e),s=Uo.mapCells(t[n],(function(n,i){return e>0&&e<t.length&&r(Uo.getCellElement(t[e-1],i),Uo.getCellElement(t[e],i))?Uo.getCell(t[e],i):Ce(o(n.element(),r),!0)}));return i.concat([s]).concat(a)},Mi=function(t,e,n,r,o){return T(t,(function(t){var i=e>0&&e<Uo.cellLength(t)&&r(Uo.getCellElement(t,e-1),Uo.getCellElement(t,e))?Uo.getCell(t,e):Ce(o(Uo.getCellElement(t,n),r),!0);return Uo.addCell(t,e,i)}))},_i=function(t,e,n,r,o){var i=n+1;return T(t,(function(t,a){var s=a===e?Ce(o(Uo.getCellElement(t,n),r),!0):Uo.getCell(t,n);return Uo.addCell(t,i,s)}))},wi=function(t,e,n,r,o){var i=e+1,a=t.slice(0,i),s=t.slice(i),c=Uo.mapCells(t[e],(function(t,e){return e===n?Ce(o(t.element(),r),!0):t}));return a.concat([c]).concat(s)},xi=function(t,e,n){return t.slice(0,e).concat(t.slice(n+1))},Ai=function(t,e,n){var r=T(t,(function(t){var r=t.cells().slice(0,e).concat(t.cells().slice(n+1));return De(r,t.section())}));return S(r,(function(t){return t.cells().length>0}))},Li=function(t,e,n,r){return T(t,(function(t){return Uo.mapCells(t,(function(t){return function(t){return L(e,(function(e){return n(t.element(),e.element())}))}(t)?Ce(r(t.element(),n),!0):t}))}))},Ti=function(t,e,n,r){return void 0!==Uo.getCellElement(t[e],n)&&e>0&&r(Uo.getCellElement(t[e-1],n),Uo.getCellElement(t[e],n))},ki=function(t,e,n){return e>0&&n(Uo.getCellElement(t,e-1),Uo.getCellElement(t,e))},Si=function(t,e,n,r){var o=N(t,(function(r,o){return Ti(t,o,e,n)||ki(r,e,n)?[]:[Uo.getCell(r,e)]}));return Li(t,o,n,r)},Oi=function(t,e,n,r){var o=t[e],i=N(o.cells(),(function(r,i){return Ti(t,e,i,n)||ki(o,i,n)?[]:[r]}));return Li(t,i,n,r)},Ci=fr([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}]),zi=Et({},Ci),Di=function(t,e,n,r){var i=t.slice(0),a=function(t,e){return 0===t.length?zi.none():1===t.length?zi.only(0):0===e?zi.left(0,1):e===t.length-1?zi.right(e-1,e):e>0&&e<t.length-1?zi.middle(e-1,e,e+1):zi.none()}(t,e),s=function(t){return T(t,o(0))},c=o(s(i)),u=function(t,e){if(n>=0){var o=Math.max(r.minCellWidth(),i[e]-n);return s(i.slice(0,t)).concat([n,o-i[e]]).concat(s(i.slice(e+1)))}var a=Math.max(r.minCellWidth(),i[t]+n),c=i[t]-a;return s(i.slice(0,t)).concat([a-i[t],c]).concat(s(i.slice(e+1)))},l=u;return a.fold(c,(function(t){return r.singleColumnWidth(i[t],n)}),l,(function(t,e,n){return u(e,n)}),(function(t,e){if(n>=0)return s(i.slice(0,e)).concat([n]);var o=Math.max(r.minCellWidth(),i[e]+n);return s(i.slice(0,e)).concat([o-i[e]])}))},Ei=function(t,e){return dt(t,e)&&parseInt(lt(t,e),10)>1},Ni={hasColspan:function(t){return Ei(t,"colspan")},hasRowspan:function(t){return Ei(t,"rowspan")},minWidth:o(10),minHeight:o(10),getInt:function(t,e){return parseInt(kt(t,e),10)}},Bi=function(t,e,n){return Ot(t,e).fold((function(){return n(t)+"px"}),(function(t){return t}))},Pi=function(t,e){return Bi(t,"width",(function(t){return Ir.getPixelWidth(t,e)}))},Ri=function(t){return Bi(t,"height",Ir.getHeight)},Yi=function(t,e,n,r,o){var i=Ao(t),a=T(i,(function(t){return t.map(e.edge)}));return T(i,(function(t,e){return t.filter(s(Ni.hasColspan)).fold((function(){var t=wo(a,e);return r(t)}),(function(t){return n(t,o)}))}))},Wi=function(t){return t.map((function(t){return t+"px"})).getOr("")},Hi=function(t,e,n,r){var o=Lo(t),i=T(o,(function(t){return t.map(e.edge)}));return T(o,(function(t,e){return t.filter(s(Ni.hasRowspan)).fold((function(){var t=wo(i,e);return r(t)}),(function(t){return n(t)}))}))},qi={getRawWidths:function(t,e,n){return Yi(t,e,Pi,Wi,n)},getPixelWidths:function(t,e,n){return Yi(t,e,Ir.getPixelWidth,(function(t){return t.getOrThunk(n.minCellWidth)}),n)},getPercentageWidths:function(t,e,n){return Yi(t,e,Ir.getPercentageWidth,(function(t){return t.fold((function(){return n.minCellWidth()}),(function(t){return t/n.pixelWidth()*100}))}),n)},getPixelHeights:function(t,e){return Hi(t,e,Ir.getHeight,(function(t){return t.getOrThunk(Ni.minHeight)}))},getRawHeights:function(t,e){return Hi(t,e,Ri,Wi)}},Ii=function(t,e,n){for(var r=0,o=t;o<e;o++)r+=void 0!==n[o]?n[o]:0;return r},ji=function(t,e){var n=rn.justCells(t);return T(n,(function(t){var n=Ii(t.column(),t.column()+t.colspan(),e);return{element:t.element,width:o(n),colspan:t.colspan}}))},Xi=function(t,e){var n=rn.justCells(t);return T(n,(function(t){var n=Ii(t.row(),t.row()+t.rowspan(),e);return{element:t.element,height:o(n),rowspan:t.rowspan}}))},Fi=function(t,e){return T(t.all(),(function(t,n){return{element:t.element,height:o(e[n])}}))},Ui=function(t){var e=i;return{width:o(t),pixelWidth:o(t),getWidths:qi.getPixelWidths,getCellDelta:e,singleColumnWidth:function(t,e){return[Math.max(Ni.minWidth(),t+e)-t]},minCellWidth:Ni.minWidth,setElementWidth:Ir.setPixelWidth,setTableWidth:function(t,e,n){var r=O(e,(function(t,e){return t+e}),0);Ir.setPixelWidth(t,r)}}},Vi=function(t,e){var n=Ir.percentageBasedSizeRegex().exec(e);if(null!==n)return function(t,e){var n=parseFloat(t),r=Sr(e);return{width:o(n),pixelWidth:o(r),getWidths:qi.getPercentageWidths,getCellDelta:function(t){return t/r*100},singleColumnWidth:function(t,e){return[100-t]},minCellWidth:function(){return Ni.minWidth()/r*100},setElementWidth:Ir.setPercentageWidth,setTableWidth:function(t,e,r){var o=r/100*n;Ir.setPercentageWidth(t,n+o)}}}(n[1],t);var r=Ir.pixelBasedSizeRegex().exec(e);if(null!==r){var i=parseInt(r[1],10);return Ui(i)}var a=Sr(t);return Ui(a)},Gi=function(t){return Ir.getRawWidth(t).fold((function(){var e=Sr(t);return Ui(e)}),(function(e){return Vi(t,e)}))},$i=function(t){return rn.generate(t)},Ki=function(t){var e=Ze(t);return $i(e)},Ji=function(t,e,n,r){var o=Gi(t),i=o.getCellDelta(e),a=Ki(t),s=o.getWidths(a,r,o),c=Di(s,n,i,o),u=T(c,(function(t,e){return t+s[e]})),l=ji(a,u);k(l,(function(t){o.setElementWidth(t.element(),t.width())})),n===a.grid().columns()-1&&o.setTableWidth(t,u,i)},Qi=function(t,e,n,r){var o=Ki(t),i=qi.getPixelHeights(o,r),a=T(i,(function(t,r){return n===r?Math.max(e+t,Ni.minHeight()):t})),s=Xi(o,a),c=Fi(o,a);k(c,(function(t){Ir.setHeight(t.element(),t.height())})),k(s,(function(t){Ir.setHeight(t.element(),t.height())}));var u=O(a,(function(t,e){return t+e}),0);Ir.setHeight(t,u)},Zi=function(t,e,n){var r=Gi(t),o=$i(e),i=r.getWidths(o,n,r),a=ji(o,i);k(a,(function(t){r.setElementWidth(t.element(),t.width())})),a.length>0&&r.setTableWidth(t,i,r.getCellDelta(0))},ta=function(t,e,n){if(0===e.length)throw new Error("You must specify at least one required field.");return G("required",e),$(e),function(r){var o=R(r);B(e,(function(t){return A(o,t)}))||U(e,o),t(e,o);var i=S(e,(function(t){return!n.validate(r[t],t)}));return i.length>0&&function(t,e){throw new Error("All values need to be of type: "+e+". Keys ("+F(t).join(", ")+") were not.")}(i,n.label),r}},ea=function(t,e){var n=S(e,(function(e){return!A(t,e)}));n.length>0&&V(n)},na=function(t){return function(t,e){return ta(t,e,{validate:y,label:"function"})}(ea,t)},ra=na(["cell","row","replace","gap"]),oa=function(t){var e=dt(t,"colspan")?parseInt(lt(t,"colspan"),10):1,n=dt(t,"rowspan")?parseInt(lt(t,"rowspan"),10):1;return{element:o(t),colspan:o(e),rowspan:o(n)}},ia=function(t,n){void 0===n&&(n=oa),ra(t);var r=e(h.none()),o=function(e){return function(e){return t.cell(e)}(n(e))},i=function(t){var e=o(t);return r.get().isNone()&&r.set(h.some(e)),a=h.some({item:t,replacement:e}),e},a=h.none();return{getOrInit:function(t,e){return a.fold((function(){return i(t)}),(function(n){return e(t,n.item)?n.replacement:i(t)}))},cursor:r.get}},aa=function(t,n){return function(r){var o=e(h.none());ra(r);var i=[],a=function(e){var a={scope:t},s=r.replace(e,n,a);return i.push({item:e,sub:s}),o.get().isNone()&&o.set(h.some(s)),s};return{replaceOrInit:function(t,e){return function(t,e){return z(i,(function(n){return e(n.item,t)}))}(t,e).fold((function(){return a(t)}),(function(n){return e(t,n.item)?n.sub:a(t)}))},cursor:o.get}}},sa=function(t){ra(t);var n=e(h.none());return{combine:function(e){return n.get().isNone()&&n.set(h.some(e)),function(){var n=t.cell({element:o(e),colspan:o(1),rowspan:o(1)});return Ct(n,"width"),Ct(e,"width"),n}},cursor:n.get}},ca=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],ua=function(t,e){var n=t.property().name(e);return A(ca,n)},la=function(t,e){return A(["br","img","hr","input"],t.property().name(e))},da=ua,fa=function(t,e){var n=t.property().name(e);return A(["ol","ul"],n)},ha=la,pa=jn(),ma=function(t){return da(pa,t)},ga=function(t){return fa(pa,t)},va=function(t){return ha(pa,t)},ba=function(t){var e,n=function(t){return"br"===et(t)},r=function(t){return gn(t).bind((function(e){var r=de(e).map((function(t){return!!ma(t)||!!va(t)&&"img"!==et(t)})).getOr(!1);return ce(e).map((function(o){return!0===r||function(t){return"li"===et(t)||He(t,ga).isSome()}(o)||n(e)||ma(o)&&!oe(t,o)?[]:[Mt.fromTag("br")]}))})).getOr([])},o=0===(e=N(t,(function(t){var e=fe(t);return function(t){return B(t,(function(t){return n(t)||at(t)&&0===un(t).trim().length}))}(e)?[]:e.concat(r(t))}))).length?[Mt.fromTag("br")]:e;_e(t[0]),Me(t[0],o)},ya=function(t){0===Ke(t).length&&we(t)},Ma=X("grid","cursor"),_a=function(t,e,n){return wa(t,e,n).orThunk((function(){return wa(t,0,0)}))},wa=function(t,e,n){return h.from(t[e]).bind((function(t){return h.from(t.cells()[n]).bind((function(t){return h.from(t.element())}))}))},xa=function(t,e,n){return Ma(t,wa(t,e,n))},Aa=function(t){return C(t,(function(t,e){return L(t,(function(t){return t.row()===e.row()}))?t:t.concat([e])}),[]).sort((function(t,e){return t.row()-e.row()}))},La=function(t){return C(t,(function(t,e){return L(t,(function(t){return t.column()===e.column()}))?t:t.concat([e])}),[]).sort((function(t,e){return t.column()-e.column()}))},Ta=function(t,e,n){var r=tn(t,n),o=rn.generate(r);return Ko(o,e,!0)},ka=Zi,Sa={insertRowBefore:ti((function(t,e,n,r){var o=e.row(),i=e.row(),a=yi(t,i,o,n,r.getOrInit);return xa(a,i,e.column())}),ei,n,n,ia),insertRowsBefore:ti((function(t,e,n,r){var o=e[0].row(),i=e[0].row(),a=Aa(e),s=C(a,(function(t,e){return yi(t,i,o,n,r.getOrInit)}),t);return xa(s,i,e[0].column())}),ri,n,n,ia),insertRowAfter:ti((function(t,e,n,r){var o=e.row(),i=e.row()+e.rowspan(),a=yi(t,i,o,n,r.getOrInit);return xa(a,i,e.column())}),ei,n,n,ia),insertRowsAfter:ti((function(t,e,n,r){var o=Aa(e),i=o[o.length-1].row(),a=o[o.length-1].row()+o[o.length-1].rowspan(),s=C(o,(function(t,e){return yi(t,a,i,n,r.getOrInit)}),t);return xa(s,a,e[0].column())}),ri,n,n,ia),insertColumnBefore:ti((function(t,e,n,r){var o=e.column(),i=e.column(),a=Mi(t,i,o,n,r.getOrInit);return xa(a,e.row(),i)}),ei,ka,n,ia),insertColumnsBefore:ti((function(t,e,n,r){var o=La(e),i=o[0].column(),a=o[0].column(),s=C(o,(function(t,e){return Mi(t,a,i,n,r.getOrInit)}),t);return xa(s,e[0].row(),a)}),ri,ka,n,ia),insertColumnAfter:ti((function(t,e,n,r){var o=e.column(),i=e.column()+e.colspan(),a=Mi(t,i,o,n,r.getOrInit);return xa(a,e.row(),i)}),ei,ka,n,ia),insertColumnsAfter:ti((function(t,e,n,r){var o=e[e.length-1].column(),i=e[e.length-1].column()+e[e.length-1].colspan(),a=La(e),s=C(a,(function(t,e){return Mi(t,i,o,n,r.getOrInit)}),t);return xa(s,e[0].row(),i)}),ri,ka,n,ia),splitCellIntoColumns:ti((function(t,e,n,r){var o=_i(t,e.row(),e.column(),n,r.getOrInit);return xa(o,e.row(),e.column())}),ei,ka,n,ia),splitCellIntoRows:ti((function(t,e,n,r){var o=wi(t,e.row(),e.column(),n,r.getOrInit);return xa(o,e.row(),e.column())}),ei,n,n,ia),eraseColumns:ti((function(t,e,n,r){var o=La(e),i=Ai(t,o[0].column(),o[o.length-1].column()),a=_a(i,e[0].row(),e[0].column());return Ma(i,a)}),ri,ka,ya,ia),eraseRows:ti((function(t,e,n,r){var o=Aa(e),i=xi(t,o[0].row(),o[o.length-1].row()),a=_a(i,e[0].row(),e[0].column());return Ma(i,a)}),ri,n,ya,ia),makeColumnHeader:ti((function(t,e,n,r){var o=Si(t,e.column(),n,r.replaceOrInit);return xa(o,e.row(),e.column())}),ei,n,n,aa("row","th")),unmakeColumnHeader:ti((function(t,e,n,r){var o=Si(t,e.column(),n,r.replaceOrInit);return xa(o,e.row(),e.column())}),ei,n,n,aa(null,"td")),makeRowHeader:ti((function(t,e,n,r){var o=Oi(t,e.row(),n,r.replaceOrInit);return xa(o,e.row(),e.column())}),ei,n,n,aa("col","th")),unmakeRowHeader:ti((function(t,e,n,r){var o=Oi(t,e.row(),n,r.replaceOrInit);return xa(o,e.row(),e.column())}),ei,n,n,aa(null,"td")),mergeCells:ti((function(t,e,n,r){var i=e.cells();ba(i);var a=hi(t,e.bounds(),n,o(i[0]));return Ma(a,h.from(i[0]))}),(function(t,e){return e.mergable()}),n,n,sa),unmergeCells:ti((function(t,e,n,r){var o=O(e,(function(t,e){return pi(t,e,n,r.combine(e))}),t);return Ma(o,h.from(e[0]))}),(function(t,e){return e.unmergable()}),ka,n,sa),pasteCells:ti((function(t,e,n,r){var o=function(t,e){var n=Ze(t),r=rn.generate(n);return Ko(r,e,!0)}(e.clipboard(),e.generators()),i=Le(e.row(),e.column());return vi(i,t,o,e.generators(),n).fold((function(){return Ma(t,h.some(e.element()))}),(function(t){var n=_a(t,e.row(),e.column());return Ma(t,n)}))}),(function(t,e){return $e(e.element()).bind((function(n){return Zo(t,n).map((function(t){return Et(Et({},t),{generators:e.generators,clipboard:e.clipboard})}))}))}),ka,n,ia),pasteRowsBefore:ti((function(t,e,n,r){var o=t[e.cells[0].row()],i=e.cells[0].row(),a=Ta(e.clipboard(),e.generators(),o),s=bi(i,t,a,e.generators(),n),c=_a(s,e.cells[0].row(),e.cells[0].column());return Ma(s,c)}),ni,n,n,ia),pasteRowsAfter:ti((function(t,e,n,r){var o=t[e.cells[0].row()],i=e.cells[e.cells.length-1].row()+e.cells[e.cells.length-1].rowspan(),a=Ta(e.clipboard(),e.generators(),o),s=bi(i,t,a,e.generators(),n),c=_a(s,e.cells[0].row(),e.cells[0].column());return Ma(s,c)}),ni,n,n,ia)},Oa=function(t){return Mt.fromDom(t.getBody())},Ca=function(t){return t.getBoundingClientRect().width},za=function(t){return t.getBoundingClientRect().height},Da=function(t){return function(e){return oe(e,Oa(t))}},Ea=function(t){return/^[0-9]+$/.test(t)&&(t+="px"),t},Na=function(t){var e=Ye(t,"td[data-mce-style],th[data-mce-style]");ft(t,"data-mce-style"),k(e,(function(t){ft(t,"data-mce-style")}))},Ba={isRtl:o(!1)},Pa={isRtl:o(!0)},Ra=function(t){return"rtl"===function(t){return"rtl"===kt(t,"direction")?"rtl":"ltr"}(t)?Pa:Ba},Ya={"border-collapse":"collapse",width:"100%"},Wa={border:"1"},Ha=function(t){return t.getParam("table_default_attributes",Wa,"object")},qa=function(t){return t.getParam("table_default_styles",Ya,"object")},Ia=function(t){return t.getParam("table_cell_advtab",!0,"boolean")},ja=function(t){return t.getParam("table_row_advtab",!0,"boolean")},Xa=function(t){return t.getParam("table_advtab",!0,"boolean")},Fa=function(t){return t.getParam("table_style_by_css",!1,"boolean")},Ua=function(t){return t.getParam("table_class_list",[],"array")},Va=function(t){return!1===t.getParam("table_responsive_width")},Ga=function(t){var e=t.getParam("table_clone_elements");return g(e)?h.some(e.split(/[ ,]/)):Array.isArray(e)?h.some(e):h.none()},$a=function(t,e){return t.fire("newrow",{node:e})},Ka=function(t,e){return t.fire("newcell",{node:e})},Ja=function(t,e,n,r){t.fire("ObjectResizeStart",{target:e,width:n,height:r})},Qa=function(t,e,n,r){t.fire("ObjectResized",{target:e,width:n,height:r})},Za=function(t,e,n){var r=Ze(t),o=rn.generate(r);return ri(o,e).map((function(t){var e=Ko(o,n,!1).slice(t[0].row(),t[t.length-1].row()+t[t.length-1].rowspan()),r=Qo(e,n);return mo(r)}))},ts=tinymce.util.Tools.resolve("tinymce.util.Tools"),es=function(t,e,n){n&&t.formatter.apply("align"+n,{},e)},ns=function(t,e,n){n&&t.formatter.apply("valign"+n,{},e)},rs=function(t,e){ts.each("left center right".split(" "),(function(n){t.formatter.remove("align"+n,{},e)}))},os=function(t,e){ts.each("top middle bottom".split(" "),(function(n){t.formatter.remove("valign"+n,{},e)}))},is=function(t,e,n){var r;return r=function(e,r){for(var o=0;o<r.length;o++){var i=t.getStyle(r[o],n);if(void 0===e&&(e=i),e!==i)return""}return e}(r,t.select("td,th",e))},as=function(t,e){var n=function(e){return gt(e,"rgb")?t.toHex(e):e};return{borderwidth:Ot(Mt.fromDom(e),"border-width").getOr(""),borderstyle:Ot(Mt.fromDom(e),"border-style").getOr(""),bordercolor:Ot(Mt.fromDom(e),"border-color").map(n).getOr(""),backgroundcolor:Ot(Mt.fromDom(e),"background-color").map(n).getOr("")}},ss=function(t,e,n,r,o){var i={};return ts.each(t.split(" "),(function(t){r.formatter.matchNode(o,e+t)&&(i[n]=t)})),i[n]||(i[n]=""),i},cs=a(ss,"left center right"),us=a(ss,"top middle bottom"),ls=function(t,e,n){var r=function(t,n){return n=n||[],ts.each(t,(function(t){var o={text:t.text||t.title};t.menu?o.menu=r(t.menu):(o.value=t.value,e&&e(o)),n.push(o)})),n};return r(t,n||[])},ds=function(t){var e=t[0],n=t.slice(1),r=R(e);return k(n,(function(t){k(r,(function(n){W(t,(function(t,r){var o=e[n];""!==o&&n===r&&o!==t&&(e[n]="")}))}))})),e},fs=function(t){var e=[{name:"borderstyle",type:"selectbox",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]},{name:"bordercolor",type:"colorinput",label:"Border color"},{name:"backgroundcolor",type:"colorinput",label:"Background color"}];return{title:"Advanced",name:"advanced",items:"cell"===t?[{name:"borderwidth",type:"input",label:"Border width"}].concat(e):e}},hs=function(t,e,n){var r=t.dom;return Et(Et({width:r.getStyle(e,"width")||r.getAttrib(e,"width"),height:r.getStyle(e,"height")||r.getAttrib(e,"height"),cellspacing:r.getStyle(e,"border-spacing")||r.getAttrib(e,"cellspacing"),cellpadding:r.getAttrib(e,"cellpadding")||is(t.dom,e,"padding"),border:function(e,n){var r=Ot(Mt.fromDom(n),"border-width");return Fa(t)&&r.isSome()?r.getOr(""):e.getAttrib(n,"border")||is(t.dom,n,"border-width")||is(t.dom,n,"border")}(r,e),caption:!!r.select("caption",e)[0],class:r.getAttrib(e,"class","")},cs("align","align",t,e)),n?as(r,e):{})},ps=function(t,e,n){var r=t.dom;return Et(Et({height:r.getStyle(e,"height")||r.getAttrib(e,"height"),scope:r.getAttrib(e,"scope"),class:r.getAttrib(e,"class",""),align:"",type:e.parentNode.nodeName.toLowerCase()},cs("align","align",t,e)),n?as(r,e):{})},ms=function(t,e,n){var r=t.dom;return Et(Et(Et({width:r.getStyle(e,"width")||r.getAttrib(e,"width"),height:r.getStyle(e,"height")||r.getAttrib(e,"height"),scope:r.getAttrib(e,"scope"),celltype:e.nodeName.toLowerCase(),class:r.getAttrib(e,"class","")},cs("align","halign",t,e)),us("valign","valign",t,e)),n?as(r,e):{})},gs=function(t,e){var n,r,o,i=qa(t),a=Ha(t),s=t.dom,c=e?function(t){var e=function(e){return gt(e,"rgb")?t.toHex(e):e},n=I(i,"border-style").getOr(""),r=I(i,"border-color").getOr(""),o=I(i,"background-color").getOr("");return{borderstyle:n,bordercolor:e(r),backgroundcolor:e(o)}}(s):{};return Et(Et(Et(Et(Et(Et({},{height:"",width:"100%",cellspacing:"",cellpadding:"",caption:!1,class:"",align:"",border:""}),i),a),c),(o=i["border-width"],Fa(t)&&o?{border:o}:I(a,"border").fold((function(){return{}}),(function(t){return{border:t}})))),(n=I(i,"border-spacing").or(I(a,"cellspacing")).fold((function(){return{}}),(function(t){return{cellspacing:t}})),r=I(i,"border-padding").or(I(a,"cellpadding")).fold((function(){return{}}),(function(t){return{cellpadding:t}})),Et(Et({},n),r)))},vs=[{name:"width",type:"input",label:"Width"},{name:"height",type:"input",label:"Height"},{name:"celltype",type:"selectbox",label:"Cell type",items:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{name:"scope",type:"selectbox",label:"Scope",items:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{name:"halign",type:"selectbox",label:"H Align",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{name:"valign",type:"selectbox",label:"V Align",items:[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}]}],bs=function(t){return function(t){var e=function(t){return t.getParam("table_cell_class_list",[],"array")}(t),n=ls(e,(function(e){e.value&&(e.textStyle=function(){return t.formatter.getCssText({block:"tr",classes:[e.value]})})}));return e.length>0?h.some({name:"class",type:"selectbox",label:"Class",items:n}):h.none()}(t).fold((function(){return vs}),(function(t){return vs.concat(t)}))},ys={normal:function(t,e){return{setAttrib:function(n,r){t.setAttrib(e,n,r)},setStyle:function(n,r){t.setStyle(e,n,r)}}},ifTruthy:function(t,e){return{setAttrib:function(n,r){r&&t.setAttrib(e,n,r)},setStyle:function(n,r){r&&t.setStyle(e,n,r)}}}},Ms=function(t,e){t.setAttrib("scope",e.scope),t.setAttrib("class",e.class),t.setStyle("width",Ea(e.width)),t.setStyle("height",Ea(e.height))},_s=function(t,e){t.setStyle("background-color",e.backgroundcolor),t.setStyle("border-color",e.bordercolor),t.setStyle("border-style",e.borderstyle),t.setStyle("border-width",Ea(e.borderwidth))},ws=function(t,e,n){var r=t.dom,o=n.celltype&&e[0].nodeName.toLowerCase()!==n.celltype?r.rename(e[0],n.celltype):e[0],i=ys.normal(r,o);Ms(i,n),Ia(t)&&_s(i,n),rs(t,o),os(t,o),n.halign&&es(t,o,n.halign),n.valign&&ns(t,o,n.valign)},xs=function(t,e,n){var r=t.dom;ts.each(e,(function(e){n.celltype&&e.nodeName.toLowerCase()!==n.celltype&&(e=r.rename(e,n.celltype));var o=ys.ifTruthy(r,e);Ms(o,n),Ia(t)&&_s(o,n),n.halign&&es(t,e,n.halign),n.valign&&ns(t,e,n.valign)}))},As=function(t,e,n){var r=n.getData();n.close(),t.undoManager.transact((function(){(1===e.length?ws:xs)(t,e,r),t.focus()}))},Ls=function(t){var e,n=[];if(n=t.dom.select("td[data-mce-selected],th[data-mce-selected]"),e=t.dom.getParent(t.selection.getStart(),"td,th"),!n.length&&e&&n.push(e),e=e||n[0]){var r=ts.map(n,(function(e){return ms(t,e,Ia(t))})),o=ds(r),i={type:"tabpanel",tabs:[{title:"General",name:"general",items:bs(t)},fs("cell")]},s={type:"panel",items:[{type:"grid",columns:2,items:bs(t)}]};t.windowManager.open({title:"Cell Properties",size:"normal",body:Ia(t)?i:s,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o,onSubmit:a(As,t,n)})}},Ts=[{type:"selectbox",name:"type",label:"Row type",items:[{text:"Header",value:"thead"},{text:"Body",value:"tbody"},{text:"Footer",value:"tfoot"}]},{type:"selectbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height",type:"input"}],ks=function(t){return function(t){var e=function(t){return t.getParam("table_row_class_list",[],"array")}(t),n=ls(e,(function(e){e.value&&(e.textStyle=function(){return t.formatter.getCssText({block:"tr",classes:[e.value]})})}));return e.length>0?h.some({name:"class",type:"selectbox",label:"Class",items:n}):h.none()}(t).fold((function(){return Ts}),(function(t){return Ts.concat(t)}))},Ss=function(t,e,n,r){var o=t.dom,i=r.getData();r.close();var a=1===e.length?ys.normal:ys.ifTruthy;t.undoManager.transact((function(){ts.each(e,(function(e){i.type!==e.parentNode.nodeName.toLowerCase()&&function(t,e,n){var r=t.getParent(e,"table"),o=e.parentNode,i=t.select(n,r)[0];i||(i=t.create(n),r.firstChild?"CAPTION"===r.firstChild.nodeName?t.insertAfter(i,r.firstChild):r.insertBefore(i,r.firstChild):r.appendChild(i)),i.appendChild(e),o.hasChildNodes()||t.remove(o)}(t.dom,e,i.type);var r=a(o,e);r.setAttrib("scope",i.scope),r.setAttrib("class",i.class),r.setStyle("height",Ea(i.height)),ja(t)&&function(t,e){t.setStyle("background-color",e.backgroundcolor),t.setStyle("border-color",e.bordercolor),t.setStyle("border-style",e.borderstyle)}(r,i),i.align!==n.align&&(rs(t,e),es(t,e,i.align))})),t.focus()}))},Os=function(t){var e,n,r=t.dom,o=[];if((e=r.getParent(t.selection.getStart(),"table"))&&(n=r.getParent(t.selection.getStart(),"td,th"),ts.each(e.rows,(function(t){ts.each(t.cells,(function(e){if((r.getAttrib(e,"data-mce-selected")||e===n)&&o.indexOf(t)<0)return o.push(t),!1}))})),o[0])){var i=ts.map(o,(function(e){return ps(t,e,ja(t))})),s=ds(i),c={type:"tabpanel",tabs:[{title:"General",name:"general",items:ks(t)},fs("row")]},u={type:"panel",items:[{type:"grid",columns:2,items:ks(t)}]};t.windowManager.open({title:"Row Properties",size:"normal",body:ja(t)?c:u,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:s,onSubmit:a(Ss,t,o,s)})}},Cs=Object.prototype.hasOwnProperty,zs=(co=function(t,e){return e},function(){for(var t=new Array(arguments.length),e=0;e<t.length;e++)t[e]=arguments[e];if(0===t.length)throw new Error("Can't merge zero objects");for(var n={},r=0;r<t.length;r++){var o=t[r];for(var i in o)Cs.call(o,i)&&(n[i]=co(n[i],o[i]))}return n}),Ds=tinymce.util.Tools.resolve("tinymce.Env"),Es={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},percentages:!0},Ns=function(t,e,n,r,o){void 0===o&&(o=Es);var i=Mt.fromTag("table");Tt(i,o.styles),ut(i,o.attributes);var a=Mt.fromTag("tbody");ve(i,a);for(var s=[],c=0;c<t;c++){for(var u=Mt.fromTag("tr"),l=0;l<e;l++){var d=c<n||l<r?Mt.fromTag("th"):Mt.fromTag("td");l<r&&ct(d,"scope","row"),c<n&&ct(d,"scope","col"),ve(d,Mt.fromTag("br")),o.percentages&&Lt(d,"width",100/e+"%"),ve(u,d)}s.push(u)}return Me(a,s),i},Bs=function(t,e){t.selection.select(e.dom(),!0),t.selection.collapse(!0)},Ps=function(t,e,n){var r,o=qa(t),i={styles:o,attributes:Ha(t),percentages:(r=o.width,g(r)&&-1!==r.indexOf("%")&&!Va(t))},s=Ns(n,e,0,0,i);ct(s,"data-mce-id","__mce");var c=function(t){var e=Mt.fromTag("div"),n=Mt.fromDom(t.dom().cloneNode(!0));return ve(e,n),function(t){return t.dom().innerHTML}(e)}(s);return t.insertContent(c),je(Oa(t),'table[data-mce-id="__mce"]').map((function(e){return Va(t)&&Lt(e,"width",kt(e,"width")),ft(e,"data-mce-id"),function(t,e){k(Ye(e,"tr"),(function(e){$a(t,e.dom()),k(Ye(e,"th,td"),(function(e){Ka(t,e.dom())}))}))}(t,e),function(t,e){je(e,"td,th").each(a(Bs,t))}(t,e),e.dom()})).getOr(null)},Rs=function(t,e,n){var r=n?[{type:"input",name:"cols",label:"Cols",inputMode:"numeric"},{type:"input",name:"rows",label:"Rows",inputMode:"numeric"}]:[],o=function(t){return t.getParam("table_appearance_options",!0,"boolean")}(t)?[{type:"input",name:"cellspacing",label:"Cell spacing",inputMode:"numeric"},{type:"input",name:"cellpadding",label:"Cell padding",inputMode:"numeric"},{type:"input",name:"border",label:"Border width"},{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[],i=e?[{type:"selectbox",name:"class",label:"Class",items:ls(Ua(t),(function(e){e.value&&(e.textStyle=function(){return t.formatter.getCssText({block:"table",classes:[e.value]})})}))}]:[];return r.concat([{type:"input",name:"width",label:"Width"},{type:"input",name:"height",label:"Height"}]).concat(o).concat([{type:"selectbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}]).concat(i)},Ys=function(t,e,n,r){if("TD"===e.tagName||"TH"===e.tagName)g(n)?t.setStyle(e,n,r):t.setStyle(e,n);else if(e.children)for(var o=0;o<e.children.length;o++)Ys(t,e.children[o],n,r)},Ws=function(t,e,n){var r,o=t.dom,i=n.getData();n.close(),""===i.class&&delete i.class,t.undoManager.transact((function(){if(!e){var n=parseInt(i.cols,10)||1,a=parseInt(i.rows,10)||1;e=Ps(t,n,a)}!function(t,e,n){var r,o=t.dom,i={},a={};if(i.class=n.class,a.height=Ea(n.height),o.getAttrib(e,"width")&&!Fa(t)?i.width=(r=n.width)?r.replace(/px$/,""):"":a.width=Ea(n.width),Fa(t)?(a["border-width"]=Ea(n.border),a["border-spacing"]=Ea(n.cellspacing)):(i.border=n.border,i.cellpadding=n.cellpadding,i.cellspacing=n.cellspacing),Fa(t)&&e.children)for(var s=0;s<e.children.length;s++)Ys(o,e.children[s],{"border-width":Ea(n.border),padding:Ea(n.cellpadding)}),Xa(t)&&Ys(o,e.children[s],{"border-color":n.bordercolor});Xa(t)&&(a["background-color"]=n.backgroundcolor,a["border-color"]=n.bordercolor,a["border-style"]=n.borderstyle),i.style=o.serializeStyle(zs(qa(t),a)),o.setAttribs(e,zs(Ha(t),i))}(t,e,i),(r=o.select("caption",e)[0])&&!i.caption&&o.remove(r),!r&&i.caption&&((r=o.create("caption")).innerHTML=Ds.ie?" ":'<br data-mce-bogus="1"/>',e.insertBefore(r,e.firstChild)),""===i.align?rs(t,e):es(t,e,i.align),t.focus(),t.addVisual()}))},Hs=function(t,e){var n,r=t.dom,o=gs(t,Xa(t));!1===e?(n=r.getParent(t.selection.getStart(),"table"))?o=hs(t,n,Xa(t)):Xa(t)&&(o.borderstyle="",o.bordercolor="",o.backgroundcolor=""):(o.cols="1",o.rows="1",Xa(t)&&(o.borderstyle="",o.bordercolor="",o.backgroundcolor=""));var i=Ua(t).length>0;i&&o.class&&(o.class=o.class.replace(/\s*mce\-item\-table\s*/g,""));var s={type:"grid",columns:2,items:Rs(t,i,e)},c=Xa(t)?{type:"tabpanel",tabs:[{title:"General",name:"general",items:[s]},fs("table")]}:{type:"panel",items:[s]};t.windowManager.open({title:"Table Properties",size:"normal",body:c,onSubmit:a(Ws,t,n),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o})},qs=function(t){return function(e){return h.from(e.dom.getParent(e.selection.getStart(),t)).map(Mt.fromDom)}},Is=qs("th,td"),js=qs("th,td,caption"),Xs=ts.each,Fs=function(t,e,r,o,i){var c=Da(t),u=function(t){return Je(t,c)},l=function(t){return{width:Ca(t.dom()),height:Ca(t.dom())}},d=function(e){Is(t).each((function(n){u(n).each((function(i){var a=_r.forMenu(o,i,n),s=l(i);e(i,a).each((function(e){!function(t,e,n){var r=l(n);e.width===r.width&&e.height===r.height||(Ja(t,n.dom(),e.width,e.height),Qa(t,n.dom(),r.width,r.height))}(t,s,i),t.selection.setRng(e),t.focus(),r.clear(i),Na(i)}))}))}))},f=function(e){return Is(t).map((function(e){return u(e).bind((function(r){var i=Mt.fromDom(t.getDoc()),a=_r.forMenu(o,r,e),s=Tn(n,i,h.none());return Za(r,a,s)}))}))},p=function(e){i.get().each((function(n){var i=T(n,(function(t){return Mn(t)}));Is(t).each((function(n){u(n).each((function(a){var s=Mt.fromDom(t.getDoc()),c=kn(s),u=_r.pasteRows(o,a,n,i,c);e(a,u).each((function(e){t.selection.setRng(e),t.focus(),r.clear(a)}))}))}))}))};Xs({mceTableSplitCells:function(){d(e.unmergeCells)},mceTableMergeCells:function(){d(e.mergeCells)},mceTableInsertRowBefore:function(){d(e.insertRowsBefore)},mceTableInsertRowAfter:function(){d(e.insertRowsAfter)},mceTableInsertColBefore:function(){d(e.insertColumnsBefore)},mceTableInsertColAfter:function(){d(e.insertColumnsAfter)},mceTableDeleteCol:function(){d(e.deleteColumn)},mceTableDeleteRow:function(){d(e.deleteRow)},mceTableCutRow:function(t){f().each((function(t){i.set(t),d(e.deleteRow)}))},mceTableCopyRow:function(t){f().each((function(t){i.set(t)}))},mceTablePasteRowBefore:function(t){p(e.pasteRowsBefore)},mceTablePasteRowAfter:function(t){p(e.pasteRowsAfter)},mceTableDelete:function(){js(t).each((function(e){Je(e,c).filter(s(c)).each((function(e){var n=Mt.fromText("");if(me(e,n),we(e),t.dom.isEmpty(t.getBody()))t.setContent(""),t.selection.setCursorLocation();else{var r=t.dom.createRng();r.setStart(n.dom(),0),r.setEnd(n.dom(),0),t.selection.setRng(r),t.nodeChanged()}}))}))}},(function(e,n){t.addCommand(n,e)})),Xs({mceInsertTable:a(Hs,t,!0),mceTableProps:a(Hs,t,!1),mceTableRowProps:a(Os,t),mceTableCellProps:a(Ls,t)},(function(e,n){t.addCommand(n,(function(){e()}))}))},Us=function(t){var e=h.from(t.dom().documentElement).map(Mt.fromDom).getOr(t);return{parent:o(e),view:o(t),origin:o(Fr(0,0))}},Vs=function(t,e){return{parent:o(e),view:o(t),origin:o(Fr(0,0))}},Gs=function(t){var e=X.apply(null,t),n=[];return{bind:function(t){if(void 0===t)throw new Error("Event bind error: undefined handler");n.push(t)},unbind:function(t){n=S(n,(function(e){return e!==t}))},trigger:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var o=e.apply(null,t);k(n,(function(t){t(o)}))}}},$s=function(t){return{registry:H(t,(function(t){return{bind:t.bind,unbind:t.unbind}})),trigger:H(t,(function(t){return t.trigger}))}},Ks=function(t){var e=Mt.fromDom(t.target),n=function(){t.stopPropagation()},i=function(){t.preventDefault()},a=r(i,n);return function(t,e,n,r,i,a,s){return{target:o(t),x:o(e),y:o(n),stop:r,prevent:i,kill:a,raw:o(s)}}(e,t.clientX,t.clientY,n,i,a,t)},Js=function(t,e,n,r,o){var i=function(t,e){return function(n){t(n)&&e(Ks(n))}}(n,r);return t.dom().addEventListener(e,i,o),{unbind:a(Qs,t,e,i,o)}},Qs=function(t,e,n,r){t.dom().removeEventListener(e,n,r)},Zs=o(!0),tc=function(t,e,n){return function(t,e,n,r){return Js(t,e,n,r,!1)}(t,e,Zs,n)},ec={resolve:To("ephox-dragster").resolve},nc=na(["compare","extract","mutate","sink"]),rc=na(["element","start","stop","destroy"]),oc=na(["forceDrop","drop","move","delayDrop"]),ic=nc({compare:function(t,e){return Fr(e.left()-t.left(),e.top()-t.top())},extract:function(t){return h.some(Fr(t.x(),t.y()))},sink:function(t,e){var n=function(t){var e=zs({layerClass:ec.resolve("blocker")},t),n=Mt.fromTag("div");ct(n,"role","presentation"),Tt(n,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),yo(n,ec.resolve("blocker")),yo(n,e.layerClass);return{element:function(){return n},destroy:function(){we(n)}}}(e),r=tc(n.element(),"mousedown",t.forceDrop),o=tc(n.element(),"mouseup",t.drop),i=tc(n.element(),"mousemove",t.move),a=tc(n.element(),"mouseout",t.delayDrop);return rc({element:n.element,start:function(t){ve(t,n.element())},stop:function(){we(n.element())},destroy:function(){n.destroy(),o.unbind(),i.unbind(),a.unbind(),r.unbind()}})},mutate:function(t,e){t.mutate(e.left(),e.top())}});function ac(){var t=h.none(),e=$s({move:Gs(["info"])});return{onEvent:function(n,r){r.extract(n).each((function(n){(function(e,n){var r=t.map((function(t){return e.compare(t,n)}));return t=h.some(n),r})(r,n).each((function(t){e.trigger.move(t)}))}))},reset:function(){t=h.none()},events:e.registry}}function sc(){var t={onEvent:n,reset:n},e=ac(),r=t;return{on:function(){r.reset(),r=e},off:function(){r.reset(),r=t},isOn:function(){return r===e},onEvent:function(t,e){r.onEvent(t,e)},events:e.events}}var cc=function(e,n,r){var o,i,a,s=!1,c=$s({start:Gs([]),stop:Gs([])}),u=sc(),l=function(){h.stop(),u.isOn()&&(u.off(),c.trigger.stop())},d=(o=l,i=200,a=null,{cancel:function(){null!==a&&(t.clearTimeout(a),a=null)},throttle:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];null!==a&&t.clearTimeout(a),a=t.setTimeout((function(){o.apply(null,e),a=null}),i)}});u.events.move.bind((function(t){n.mutate(e,t.info())}));var f=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];s&&t.apply(null,e)}},h=n.sink(oc({forceDrop:l,drop:f(l),move:f((function(t){d.cancel(),u.onEvent(t,n)})),delayDrop:f(d.throttle)}),r);return{element:h.element,go:function(t){h.start(t),u.on(),c.trigger.start()},on:function(){s=!0},off:function(){s=!1},destroy:function(){h.destroy()},events:c.registry}},uc=function(t,e){void 0===e&&(e={});var n=void 0!==e.mode?e.mode:ic;return cc(t,n,e)},lc=function(){var t=$s({drag:Gs(["xDelta","yDelta","target"])}),e=h.none(),n=function(){var t=$s({drag:Gs(["xDelta","yDelta"])});return{mutate:function(e,n){t.trigger.drag(e,n)},events:t.registry}}();n.events.drag.bind((function(n){e.each((function(e){t.trigger.drag(n.xDelta(),n.yDelta(),e)}))}));return{assign:function(t){e=h.some(t)},get:function(){return e},mutate:n.mutate,events:t.registry}},dc=function(t){return"true"===lt(t,"contenteditable")},fc=So.resolve("resizer-bar-dragging"),hc=function(t,e,n){var r=lc(),o=uc(r,{}),i=h.none(),s=function(t,e){return h.from(lt(t,e))};r.events.drag.bind((function(t){s(t.target(),"data-row").each((function(e){var n=Ni.getInt(t.target(),"top");Lt(t.target(),"top",n+t.yDelta()+"px")})),s(t.target(),"data-column").each((function(e){var n=Ni.getInt(t.target(),"left");Lt(t.target(),"left",n+t.xDelta()+"px")}))}));var c=function(t,e){return Ni.getInt(t,e)-parseInt(lt(t,"data-initial-"+e),10)};o.events.stop.bind((function(){r.get().each((function(r){i.each((function(o){s(r,"data-row").each((function(t){var e=c(r,"top");ft(r,"data-initial-top"),m.trigger.adjustHeight(o,e,parseInt(t,10))})),s(r,"data-column").each((function(t){var e=c(r,"left");ft(r,"data-initial-left"),m.trigger.adjustWidth(o,e,parseInt(t,10))})),Yo(t,o,n,e)}))}))}));var u=function(e,n){m.trigger.startAdjust(),r.assign(e),ct(e,"data-initial-"+n,parseInt(kt(e,n),10)),yo(e,fc),Lt(e,"opacity","0.2"),o.go(t.parent())},l=tc(t.parent(),"mousedown",(function(t){Io(t.target())&&u(t.target(),"top"),jo(t.target())&&u(t.target(),"left")})),d=function(e){return oe(e,t.view())},f=function(t){return Xe(t,"table",d).filter((function(t){return function(t,e){return Xe(t,"[contenteditable]",e)}(t,d).exists(dc)}))},p=tc(t.view(),"mouseover",(function(r){f(r.target()).fold((function(){_t(r.target())&&qo(t)}),(function(r){i=h.some(r),Yo(t,r,n,e)}))})),m=$s({adjustHeight:Gs(["table","delta","row"]),adjustWidth:Gs(["table","delta","column"]),startAdjust:Gs([])});return{destroy:function(){l.unbind(),p.unbind(),o.destroy(),qo(t)},refresh:function(r){Yo(t,r,n,e)},on:o.on,off:o.off,hideBars:a(Wo,t),showBars:a(Ho,t),events:m.registry}},pc=function(t,e){var n=io.height,r=hc(t,e,n),o=$s({beforeResize:Gs(["table"]),afterResize:Gs(["table"]),startDrag:Gs([])});return r.events.adjustHeight.bind((function(t){o.trigger.beforeResize(t.table());var e=n.delta(t.delta(),t.table());Qi(t.table(),e,t.row(),n),o.trigger.afterResize(t.table())})),r.events.startAdjust.bind((function(t){o.trigger.startDrag()})),r.events.adjustWidth.bind((function(t){o.trigger.beforeResize(t.table());var n=e.delta(t.delta(),t.table());Ji(t.table(),n,t.column(),e),o.trigger.afterResize(t.table())})),{on:r.on,off:r.off,hideBars:r.hideBars,showBars:r.showBars,destroy:r.destroy,events:o.registry}},mc=function(t,e){return t.inline?Vs(Oa(t),function(){var t=Mt.fromTag("div");return Tt(t,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),ve(wt(),t),t}()):Us(Mt.fromDom(t.getDoc()))},gc=function(t,e){t.inline&&we(e.parent())},vc=function(t,e){return Ca(t.dom())/Ca(e.dom())*100+"%"},bc=function(t){var e,n,r=h.none(),o=h.none(),i=h.none(),a=/(\d+(\.\d+)?)%/,s=function(t){return"TABLE"===t.nodeName},c=function(e){var n=t.dom.getStyle(e,"width")||t.dom.getAttrib(e,"width");return h.from(n).filter((function(t){return t.length>0}))},u=function(){return o};return t.on("init",(function(){var e=so(Ra),n=mc(t);if(i=h.some(n),function(t){var e=t.getParam("object_resizing",!0);return g(e)?"table"===e:e}(t)&&function(t){return t.getParam("table_resize_bars",!0,"boolean")}(t)){var a=pc(n,e);a.on(),a.events.startDrag.bind((function(e){r=h.some(t.selection.getRng())})),a.events.beforeResize.bind((function(e){var n=e.table().dom();Ja(t,n,Ca(n),za(n))})),a.events.afterResize.bind((function(e){var n=e.table(),o=n.dom();Na(n),r.each((function(e){t.selection.setRng(e),t.focus()})),Qa(t,o,Ca(o),za(o)),t.undoManager.add()})),o=h.some(a)}})),t.on("ObjectResizeStart",(function(r){var o=r.target;if(s(o)){var i=c(o).map((function(t){return a.test(t)})).getOr(!1);i&&Va(t)?function(t){Lt(Mt.fromDom(t),"width",Ca(t).toString()+"px")}(o):!i&&function(t){return!0===t.getParam("table_responsive_width")}(t)&&function(t){var e=Mt.fromDom(t);ce(e).map((function(t){return vc(e,t)})).each((function(t){Lt(e,"width",t),k(Ye(e,"tr"),(function(t){k(fe(t),(function(e){Lt(e,"width",vc(e,t))}))}))}))}(o),e=r.width,n=c(o).getOr("")}})),t.on("ObjectResized",(function(r){var o=r.target;if(s(o)){var i=o;if(a.test(n)){var c=parseFloat(a.exec(n)[1]),u=r.width*c/e;t.dom.setStyle(i,"width",u+"%")}else{var l=[];ts.each(i.rows,(function(e){ts.each(e.cells,(function(e){var n=t.dom.getStyle(e,"width",!0);l.push({cell:e,width:n})}))})),ts.each(l,(function(e){t.dom.setStyle(e.cell,"width",e.width),t.dom.setAttrib(e.cell,"width",null)}))}}})),t.on("SwitchMode",(function(){u().each((function(e){t.readonly?e.hideBars():e.showBars()}))})),{lazyResize:u,lazyWire:function(){return i.getOr(Us(Mt.fromDom(t.getBody())))},destroy:function(){o.each((function(t){t.destroy()})),i.each((function(e){gc(t,e)}))}}},yc=fr([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),Mc=Et(Et({},yc),{none:function(t){return void 0===t&&(t=void 0),yc.none(t)}}),_c=function(t,e){return Je(t,e).bind((function(e){var n=Ke(e);return D(n,(function(e){return oe(t,e)})).map((function(t){return{index:o(t),all:o(n)}}))}))},wc=function(t,e){return _c(t,e).fold((function(){return Mc.none(t)}),(function(e){return e.index()+1<e.all().length?Mc.middle(t,e.all()[e.index()+1]):Mc.last(t)}))},xc=function(t,e){return _c(t,e).fold((function(){return Mc.none()}),(function(e){return e.index()-1>=0?Mc.middle(t,e.all()[e.index()-1]):Mc.first(t)}))},Ac={create:X("start","soffset","finish","foffset")},Lc=fr([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Tc={before:Lc.before,on:Lc.on,after:Lc.after,cata:function(t,e,n,r){return t.fold(e,n,r)},getStart:function(t){return t.fold(i,i,i)}},kc=fr([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Sc={domRange:kc.domRange,relative:kc.relative,exact:kc.exact,exactFromRange:function(t){return kc.exact(t.start(),t.soffset(),t.finish(),t.foffset())},getWin:function(t){var e,n=function(t){return t.match({domRange:function(t){return Mt.fromDom(t.startContainer)},relative:function(t,e){return Tc.getStart(t)},exact:function(t,e,n,r){return t}})}(t);return e=n,Mt.fromDom(e.dom().ownerDocument.defaultView)},range:Ac.create},Oc=function(t,e){t.selectNodeContents(e.dom())},Cc=function(t,e,n){var r,o=t.document.createRange();return r=o,e.fold((function(t){r.setStartBefore(t.dom())}),(function(t,e){r.setStart(t.dom(),e)}),(function(t){r.setStartAfter(t.dom())})),function(t,e){e.fold((function(e){t.setEndBefore(e.dom())}),(function(e,n){t.setEnd(e.dom(),n)}),(function(e){t.setEndAfter(e.dom())}))}(o,n),o},zc=function(t,e,n,r,o){var i=t.document.createRange();return i.setStart(e.dom(),n),i.setEnd(r.dom(),o),i},Dc=function(t){return{left:o(t.left),top:o(t.top),right:o(t.right),bottom:o(t.bottom),width:o(t.width),height:o(t.height)}},Ec=fr([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Nc=function(t,e,n){return e(Mt.fromDom(n.startContainer),n.startOffset,Mt.fromDom(n.endContainer),n.endOffset)},Bc=function(t,e){return function(t,e){var n=e.ltr();return n.collapsed?e.rtl().filter((function(t){return!1===t.collapsed})).map((function(t){return Ec.rtl(Mt.fromDom(t.endContainer),t.endOffset,Mt.fromDom(t.startContainer),t.startOffset)})).getOrThunk((function(){return Nc(0,Ec.ltr,n)})):Nc(0,Ec.ltr,n)}(0,function(t,e){return e.match({domRange:function(t){return{ltr:o(t),rtl:h.none}},relative:function(e,n){return{ltr:bt((function(){return Cc(t,e,n)})),rtl:bt((function(){return h.some(Cc(t,n,e))}))}},exact:function(e,n,r,o){return{ltr:bt((function(){return zc(t,e,n,r,o)})),rtl:bt((function(){return h.some(zc(t,r,o,e,n))}))}}})}(t,e))},Pc=function(t,e){return Bc(t,e).match({ltr:function(e,n,r,o){var i=t.document.createRange();return i.setStart(e.dom(),n),i.setEnd(r.dom(),o),i},rtl:function(e,n,r,o){var i=t.document.createRange();return i.setStart(r.dom(),o),i.setEnd(e.dom(),n),i}})},Rc=function(t,e,n){return e>=t.left&&e<=t.right&&n>=t.top&&n<=t.bottom},Yc=function(t,e,n,r,o){var i=function(n){var r=t.dom().createRange();return r.setStart(e.dom(),n),r.collapse(!0),r},a=un(e).length,s=function(t,e,n,r,o){if(0===o)return 0;if(e===r)return o-1;for(var i=r,a=1;a<o;a++){var s=t(a),c=Math.abs(e-s.left);if(n<=s.bottom){if(n<s.top||c>i)return a-1;i=c}}return 0}((function(t){return i(t).getBoundingClientRect()}),n,r,o.right,a);return i(s)},Wc=function(t,e,n,r){return at(e)?function(t,e,n,r){var o=t.dom().createRange();o.selectNode(e.dom());var i=o.getClientRects();return fo(i,(function(t){return Rc(t,n,r)?h.some(t):h.none()})).map((function(o){return Yc(t,e,n,r,o)}))}(t,e,n,r):function(t,e,n,r){var o=t.dom().createRange(),i=fe(e);return fo(i,(function(e){return o.selectNode(e.dom()),Rc(o.getBoundingClientRect(),n,r)?Wc(t,e,n,r):h.none()}))}(t,e,n,r)},Hc=function(t,e){return e-t.left<t.right-e},qc=function(t,e,n){var r=t.dom().createRange();return r.selectNode(e.dom()),r.collapse(n),r},Ic=function(t,e,n){var r=t.dom().createRange();r.selectNode(e.dom());var o=r.getBoundingClientRect(),i=Hc(o,n);return(!0===i?mn:gn)(e).map((function(e){return qc(t,e,i)}))},jc=function(t,e,n){var r=e.dom().getBoundingClientRect(),o=Hc(r,n);return h.some(qc(t,e,o))},Xc=function(t,e,n,r){var o=t.dom().createRange();o.selectNode(e.dom());var i=o.getBoundingClientRect();return function(t,e,n,r){var o=t.dom().createRange();o.selectNode(e.dom());var i=o.getBoundingClientRect(),a=Math.max(i.left,Math.min(i.right,n)),s=Math.max(i.top,Math.min(i.bottom,r));return Wc(t,e,a,s)}(t,e,Math.max(i.left,Math.min(i.right,n)),Math.max(i.top,Math.min(i.bottom,r)))},Fc=document.caretPositionFromPoint?function(t,e,n){return h.from(t.dom().caretPositionFromPoint(e,n)).bind((function(e){if(null===e.offsetNode)return h.none();var n=t.dom().createRange();return n.setStart(e.offsetNode,e.offset),n.collapse(),h.some(n)}))}:document.caretRangeFromPoint?function(t,e,n){return h.from(t.dom().caretRangeFromPoint(e,n))}:function(t,e,n){return Mt.fromPoint(t,e,n).bind((function(r){var o=function(){return function(t,e,n){return(0===fe(e).length?jc:Ic)(t,e,n)}(t,r,e)};return 0===fe(r).length?o():Xc(t,r,e,n).orThunk(o)}))},Uc=function(t,e){var n=et(t);return"input"===n?Tc.after(t):A(["br","img"],n)?0===e?Tc.before(t):Tc.after(t):Tc.on(t,e)},Vc=function(t,e){var n=t.fold(Tc.before,Uc,Tc.after),r=e.fold(Tc.before,Uc,Tc.after);return Sc.relative(n,r)},Gc=function(t,e,n,r){var o=Uc(t,e),i=Uc(n,r);return Sc.relative(o,i)},$c=function(t,e,n,r){var o=function(t,e,n,r){var o=se(t).dom().createRange();return o.setStart(t.dom(),e),o.setEnd(n.dom(),r),o}(t,e,n,r),i=oe(t,n)&&e===r;return o.collapsed&&!i},Kc=function(t,e){h.from(t.getSelection()).each((function(t){t.removeAllRanges(),t.addRange(e)}))},Jc=function(t,e,n,r,o){var i=zc(t,e,n,r,o);Kc(t,i)},Qc=function(t,e){return Bc(t,e).match({ltr:function(e,n,r,o){Jc(t,e,n,r,o)},rtl:function(e,n,r,o){var i=t.getSelection();if(i.setBaseAndExtent)i.setBaseAndExtent(e.dom(),n,r.dom(),o);else if(i.extend)try{!function(t,e,n,r,o,i){e.collapse(n.dom(),r),e.extend(o.dom(),i)}(0,i,e,n,r,o)}catch(i){Jc(t,r,o,e,n)}else Jc(t,r,o,e,n)}})},Zc=function(t,e,n,r,o){var i=Gc(e,n,r,o);Qc(t,i)},tu=function(t,e,n){var r=Vc(e,n);Qc(t,r)},eu=function(t){var e=Sc.getWin(t).dom(),n=function(t,n,r,o){return zc(e,t,n,r,o)},r=function(t){return t.match({domRange:function(t){var e=Mt.fromDom(t.startContainer),n=Mt.fromDom(t.endContainer);return Gc(e,t.startOffset,n,t.endOffset)},relative:Vc,exact:Gc})}(t);return Bc(e,r).match({ltr:n,rtl:n})},nu=function(t){var e=Mt.fromDom(t.anchorNode),n=Mt.fromDom(t.focusNode);return $c(e,t.anchorOffset,n,t.focusOffset)?h.some(Ac.create(e,t.anchorOffset,n,t.focusOffset)):function(t){if(t.rangeCount>0){var e=t.getRangeAt(0),n=t.getRangeAt(t.rangeCount-1);return h.some(Ac.create(Mt.fromDom(e.startContainer),e.startOffset,Mt.fromDom(n.endContainer),n.endOffset))}return h.none()}(t)},ru=function(t,e){var n=function(t,e){var n=t.document.createRange();return Oc(n,e),n}(t,e);Kc(t,n)},ou=function(t){return function(t){return h.from(t.getSelection()).filter((function(t){return t.rangeCount>0})).bind(nu)}(t).map((function(t){return Sc.exact(t.start(),t.soffset(),t.finish(),t.foffset())}))},iu=function(t,e){return function(t){var e=t.getClientRects(),n=e.length>0?e[0]:t.getBoundingClientRect();return n.width>0||n.height>0?h.some(n).map(Dc):h.none()}(Pc(t,e))},au=function(t,e,n){return function(t,e,n){var r=Mt.fromDom(t.document);return Fc(r,e,n).map((function(t){return Ac.create(Mt.fromDom(t.startContainer),t.startOffset,Mt.fromDom(t.endContainer),t.endOffset)}))}(t,e,n)},su=tinymce.util.Tools.resolve("tinymce.util.VK"),cu=function(t,e,n,r){return fu(t,e,wc(n),r)},uu=function(t,e,n,r){return fu(t,e,xc(n),r)},lu=function(t,e){var n=Sc.exact(e,0,e,0);return eu(n)},du=function(t,e){var n,r=Ye(e,"tr");return(n=r,0===n.length?h.none():h.some(n[n.length-1])).bind((function(t){return je(t,"td,th").map((function(t){return lu(0,t)}))}))},fu=function(t,e,n,r,o){return n.fold(h.none,h.none,(function(t,e){return mn(e).map((function(t){return lu(0,t)}))}),(function(n){return Je(n,e).bind((function(e){var o=_r.noMenu(n);return t.undoManager.transact((function(){r.insertRowsAfter(e,o)})),du(0,e)}))}))},hu=["table","li","dl"],pu=function(t,e,n,r){if(t.keyCode===su.TAB){var o=Oa(e),i=function(t){var e=et(t);return oe(t,o)||A(hu,e)},a=e.selection.getRng();if(a.collapsed){var s=Mt.fromDom(a.startContainer);$e(s,i).each((function(o){t.preventDefault(),(t.shiftKey?uu:cu)(e,i,o,n,r).each((function(t){e.selection.setRng(t)}))}))}}},mu={create:X("selection","kill")},gu=function(t,e,n,r){return{start:o(Tc.on(t,e)),finish:o(Tc.on(n,r))}},vu={convertToRange:function(t,e){var n=Pc(t,e);return Ac.create(Mt.fromDom(n.startContainer),n.startOffset,Mt.fromDom(n.endContainer),n.endOffset)},makeSitus:gu},bu=function(t,e,n,r,o){return oe(n,r)?h.none():or(n,r,e).bind((function(e){var r=e.boxes().getOr([]);return r.length>0?(o(t,r,e.start(),e.finish()),h.some(mu.create(h.some(vu.makeSitus(n,0,n,fn(n))),!0))):h.none()}))},yu={sync:function(t,e,n,r,o,i,a){return oe(n,o)&&r===i?h.none():Xe(n,"td,th",e).bind((function(n){return Xe(o,"td,th",e).bind((function(r){return bu(t,e,n,r,a)}))}))},detect:bu,update:function(t,e,n,r,o){return ar(r,t,e,o.firstSelectedSelector(),o.lastSelectedSelector()).map((function(t){return o.clearBeforeUpdate(n),o.selectRange(n,t.boxes(),t.start(),t.finish()),t.boxes()}))}},Mu=X("item","mode"),_u=function(t,e,n,r){return void 0===r&&(r=wu),t.property().parent(e).map((function(t){return Mu(t,r)}))},wu=function(t,e,n,r){return void 0===r&&(r=xu),n.sibling(t,e).map((function(t){return Mu(t,r)}))},xu=function(t,e,n,r){void 0===r&&(r=xu);var o=t.property().children(e);return n.first(o).map((function(t){return Mu(t,r)}))},Au=[{current:_u,next:wu,fallback:h.none()},{current:wu,next:xu,fallback:h.some(_u)},{current:xu,next:xu,fallback:h.some(wu)}],Lu=function(t,e,n,r,o){return void 0===o&&(o=Au),z(o,(function(t){return t.current===n})).bind((function(n){return n.current(t,e,r,n.next).orThunk((function(){return n.fallback.bind((function(n){return Lu(t,e,n,r)}))}))}))},Tu=function(){return{sibling:function(t,e){return t.query().prevSibling(e)},first:function(t){return t.length>0?h.some(t[t.length-1]):h.none()}}},ku=function(){return{sibling:function(t,e){return t.query().nextSibling(e)},first:function(t){return t.length>0?h.some(t[0]):h.none()}}},Su=function(t,e,n,r,o,i){return Lu(t,e,r,o).bind((function(e){return i(e.item())?h.none():n(e.item())?h.some(e.item()):Su(t,e.item(),n,e.mode(),o,i)}))},Ou=function(t){return function(e){return 0===t.property().children(e).length}},Cu=function(t,e,n,r){return Su(t,e,n,wu,Tu(),r)},zu=function(t,e,n,r){return Su(t,e,n,wu,ku(),r)},Du=jn(),Eu=function(t,e){return function(t,e,n){return Cu(t,e,Ou(t),n)}(Du,t,e)},Nu=function(t,e){return function(t,e,n){return zu(t,e,Ou(t),n)}(Du,t,e)},Bu=X("element","offset"),Pu=(X("element","deltaOffset"),X("element","start","finish"),X("begin","end"),X("element","text"),fr([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}])),Ru=function(t){return Xe(t,"tr")},Yu=Et(Et({},Pu),{verify:function(t,e,n,r,o,i,a){return Xe(r,"td,th",a).bind((function(n){return Xe(e,"td,th",a).map((function(e){return oe(n,e)?oe(r,n)&&fn(n)===o?i(e):Pu.none("in same cell"):Zn(Ru,[n,e]).fold((function(){return function(t,e,n){var r=t.getRect(e),o=t.getRect(n);return o.right>r.left&&o.left<r.right}(t,e,n)?Pu.success():i(e)}),(function(t){return i(e)}))}))})).getOr(Pu.none("default"))},cata:function(t,e,n,r,o){return t.fold(e,n,r,o)}}),Wu=(X("ancestor","descendants","element","index"),X("parent","children","element","index")),Hu=function(t,e){return D(t,a(oe,e))},qu=function(t){return"br"===et(t)},Iu=function(t,e,n){return e(t,n).bind((function(t){return at(t)&&0===un(t).trim().length?Iu(t,e,n):h.some(t)}))},ju=function(t,e,n,r){return function(t,e){return he(t,e).filter(qu).orThunk((function(){return he(t,e-1).filter(qu)}))}(e,n).bind((function(e){return r.traverse(e).fold((function(){return Iu(e,r.gather,t).map(r.relative)}),(function(t){return function(t){return ce(t).bind((function(e){var n=fe(e);return Hu(n,t).map((function(r){return Wu(e,n,t,r)}))}))}(t).map((function(t){return Tc.on(t.parent(),t.index())}))}))}))},Xu=function(t,e,n,r){return(qu(e)?function(t,e,n){return n.traverse(e).orThunk((function(){return Iu(e,n.gather,t)})).map(n.relative)}(t,e,r):ju(t,e,n,r)).map((function(t){return{start:o(t),finish:o(t)}}))},Fu=function(t){return Yu.cata(t,(function(t){return h.none()}),(function(){return h.none()}),(function(t){return h.some(Bu(t,0))}),(function(t){return h.some(Bu(t,fn(t)))}))},Uu=K(["left","top","right","bottom"],[]),Vu={nu:Uu,moveUp:function(t,e){return Uu({left:t.left(),top:t.top()-e,right:t.right(),bottom:t.bottom()-e})},moveDown:function(t,e){return Uu({left:t.left(),top:t.top()+e,right:t.right(),bottom:t.bottom()+e})},moveBottomTo:function(t,e){var n=t.bottom()-t.top();return Uu({left:t.left(),top:e-n,right:t.right(),bottom:e})},moveTopTo:function(t,e){var n=t.bottom()-t.top();return Uu({left:t.left(),top:e,right:t.right(),bottom:e+n})},getTop:function(t){return t.top()},getBottom:function(t){return t.bottom()},translate:function(t,e,n){return Uu({left:t.left()+e,top:t.top()+n,right:t.right()+e,bottom:t.bottom()+n})},toString:function(t){return"("+t.left()+", "+t.top()+") -> ("+t.right()+", "+t.bottom()+")"}},Gu=function(t){return Vu.nu({left:t.left,top:t.top,right:t.right,bottom:t.bottom})},$u=function(t,e){return h.some(t.getRect(e))},Ku=function(t,e,n){return it(e)?$u(t,e).map(Gu):at(e)?function(t,e,n){return n>=0&&n<fn(e)?t.getRangedRect(e,n,e,n+1):n>0?t.getRangedRect(e,n-1,e,n):h.none()}(t,e,n).map(Gu):h.none()},Ju=function(t,e){return it(e)?$u(t,e).map(Gu):at(e)?t.getRangedRect(e,0,e,fn(e)).map(Gu):h.none()},Qu=fr([{none:[]},{retry:["caret"]}]),Zu=function(t,e,n){return(r=e,i=ma,We((function(t,e){return e(t)}),He,r,i,a)).fold(o(!1),(function(e){return Ju(t,e).exists((function(t){return function(t,e){return t.left()<e.left()||Math.abs(e.right()-t.left())<1||t.left()>e.right()}(n,t)}))}));var r,i,a},tl={point:Vu.getTop,adjuster:function(t,e,n,r,o){var i=Vu.moveUp(o,5);return Math.abs(n.top()-r.top())<1||n.bottom()<o.top()?Qu.retry(i):n.bottom()===o.top()?Qu.retry(Vu.moveUp(o,1)):Zu(t,e,o)?Qu.retry(Vu.translate(i,5,0)):Qu.none()},move:Vu.moveUp,gather:Eu},el={point:Vu.getBottom,adjuster:function(t,e,n,r,o){var i=Vu.moveDown(o,5);return Math.abs(n.bottom()-r.bottom())<1||n.top()>o.bottom()?Qu.retry(i):n.top()===o.bottom()?Qu.retry(Vu.moveDown(o,1)):Zu(t,e,o)?Qu.retry(Vu.translate(i,5,0)):Qu.none()},move:Vu.moveDown,gather:Nu},nl=function(t,e,n,r,o){return 0===o?h.some(r):function(t,e,n){return t.elementFromPoint(e,n).filter((function(t){return"table"===et(t)})).isSome()}(t,r.left(),e.point(r))?function(t,e,n,r,o){return nl(t,e,n,e.move(r,5),o)}(t,e,n,r,o-1):t.situsFromPoint(r.left(),e.point(r)).bind((function(i){return i.start().fold(h.none,(function(i){return Ju(t,i).bind((function(a){return e.adjuster(t,i,a,n,r).fold(h.none,(function(r){return nl(t,e,n,r,o-1)}))})).orThunk((function(){return h.some(r)}))}),h.none)}))},rl=function(t,e,n){var r=t.move(n,5),o=nl(e,t,n,r,100).getOr(r);return function(t,e,n){return t.point(e)>n.getInnerHeight()?h.some(t.point(e)-n.getInnerHeight()):t.point(e)<0?h.some(-t.point(e)):h.none()}(t,o,e).fold((function(){return e.situsFromPoint(o.left(),t.point(o))}),(function(n){return e.scrollBy(0,n),e.situsFromPoint(o.left(),t.point(o)-n)}))},ol={tryUp:a(rl,tl),tryDown:a(rl,el),ieTryUp:function(t,e){return t.situsFromPoint(e.left(),e.top()-5)},ieTryDown:function(t,e){return t.situsFromPoint(e.left(),e.bottom()+5)},getJumpSize:o(5)},il=Zt(),al=function(t,e,n,r,o,i){return 0===i?h.none():ul(t,e,n,r,o).bind((function(a){var s=t.fromSitus(a),c=Yu.verify(t,n,r,s.finish(),s.foffset(),o.failure,e);return Yu.cata(c,(function(){return h.none()}),(function(){return h.some(a)}),(function(a){return oe(n,a)&&0===r?sl(t,n,r,Vu.moveUp,o):al(t,e,a,0,o,i-1)}),(function(a){return oe(n,a)&&r===fn(a)?sl(t,n,r,Vu.moveDown,o):al(t,e,a,fn(a),o,i-1)}))}))},sl=function(t,e,n,r,o){return Ku(t,e,n).bind((function(e){return cl(t,o,r(e,ol.getJumpSize()))}))},cl=function(t,e,n){return il.browser.isChrome()||il.browser.isSafari()||il.browser.isFirefox()||il.browser.isEdge()?e.otherRetry(t,n):il.browser.isIE()?e.ieRetry(t,n):h.none()},ul=function(t,e,n,r,o){return Ku(t,n,r).bind((function(e){return cl(t,o,e)}))},ll=function(t,e,n){return function(t,e,n){return t.getSelection().bind((function(r){return Xu(e,r.finish(),r.foffset(),n).fold((function(){return h.some(Bu(r.finish(),r.foffset()))}),(function(o){var i=t.fromSitus(o),a=Yu.verify(t,r.finish(),r.foffset(),i.finish(),i.foffset(),n.failure,e);return Fu(a)}))}))}(t,e,n).bind((function(r){return al(t,e,r.element(),r.offset(),n,20).map(t.fromSitus)}))},dl=Zt(),fl=function(t,e){return He(t,(function(t){return ce(t).exists((function(t){return oe(t,e)}))}),n).isSome();var n},hl=function(t,e,n,r,i){return Xe(r,"td,th",e).bind((function(r){return Xe(r,"table",e).bind((function(a){return fl(i,a)?ll(t,e,n).bind((function(t){return Xe(t.finish(),"td,th",e).map((function(e){return{start:o(r),finish:o(e),range:o(t)}}))})):h.none()}))}))},pl=function(t,e,n,r,o,i){return dl.browser.isIE()?h.none():i(r,e).orThunk((function(){return hl(t,e,n,r,o).map((function(t){var e=t.range();return mu.create(h.some(vu.makeSitus(e.start(),e.soffset(),e.finish(),e.foffset())),!0)}))}))},ml=function(t,e,n,r,o,i,a){return hl(t,n,r,o,i).bind((function(t){return yu.detect(e,n,t.start(),t.finish(),a)}))},gl=function(t,e){return Xe(t,"tr",e).bind((function(t){return Xe(t,"table",e).bind((function(n){var r=Ye(n,"tr");return oe(t,r[0])?function(t,e,n){return Cu(Du,t,e,n)}(n,(function(t){return gn(t).isSome()}),e).map((function(t){var e=fn(t);return mu.create(h.some(vu.makeSitus(t,e,t,e)),!0)})):h.none()}))}))},vl=function(t,e){return Xe(t,"tr",e).bind((function(t){return Xe(t,"table",e).bind((function(n){var r=Ye(n,"tr");return oe(t,r[r.length-1])?function(t,e,n){return zu(Du,t,e,n)}(n,(function(t){return mn(t).isSome()}),e).map((function(t){return mu.create(h.some(vu.makeSitus(t,0,t,0)),!0)})):h.none()}))}))},bl=function(t,e){return Xe(t,"td,th",e)};var yl={down:{traverse:de,gather:Nu,relative:Tc.before,otherRetry:ol.tryDown,ieRetry:ol.ieTryDown,failure:Yu.failedDown},up:{traverse:le,gather:Eu,relative:Tc.before,otherRetry:ol.tryUp,ieRetry:ol.ieTryUp,failure:Yu.failedUp}},Ml=function(t){return function(e){return e===t}},_l=Ml(38),wl=Ml(40),xl={ltr:{isBackward:Ml(37),isForward:Ml(39)},rtl:{isBackward:Ml(39),isForward:Ml(37)},isUp:_l,isDown:wl,isNavigation:function(t){return t>=37&&t<=40}},Al=function(t){return{left:t.left(),top:t.top(),right:t.right(),bottom:t.bottom(),width:t.width(),height:t.height()}},Ll=(Zt().browser.isSafari(),function(e){return{elementFromPoint:function(t,n){return Mt.fromPoint(Mt.fromDom(e.document),t,n)},getRect:function(t){return t.dom().getBoundingClientRect()},getRangedRect:function(t,n,r,o){var i=Sc.exact(t,n,r,o);return iu(e,i).map(Al)},getSelection:function(){return ou(e).map((function(t){return vu.convertToRange(e,t)}))},fromSitus:function(t){var n=Sc.relative(t.start(),t.finish());return vu.convertToRange(e,n)},situsFromPoint:function(t,n){return au(e,t,n).map((function(t){return gu(t.start(),t.soffset(),t.finish(),t.foffset())}))},clearSelection:function(){!function(t){t.getSelection().removeAllRanges()}(e)},collapseSelection:function(t){void 0===t&&(t=!1),ou(e).each((function(n){return n.fold((function(e){return e.collapse(t)}),(function(n,r){var o=t?n:r;tu(e,o,o)}),(function(n,r,o,i){var a=t?n:o,s=t?r:i;Zc(e,a,s,a,s)}))}))},setSelection:function(t){Zc(e,t.start(),t.soffset(),t.finish(),t.foffset())},setRelativeSelection:function(t,n){tu(e,t,n)},selectContents:function(t){ru(e,t)},getInnerHeight:function(){return e.innerHeight},getScrollY:function(){var n,r,o,i;return(n=Mt.fromDom(e.document),r=void 0!==n?n.dom():t.document,o=r.body.scrollLeft||r.documentElement.scrollLeft,i=r.body.scrollTop||r.documentElement.scrollTop,Fr(o,i)).top()},scrollBy:function(n,r){!function(e,n,r){(void 0!==r?r.dom():t.document).defaultView.scrollBy(e,n)}(n,r,Mt.fromDom(e.document))}}}),Tl=X("rows","cols"),kl=function(t,e,n,r){var o=function(t,e,n,r){var o=h.none(),i=function(){o=h.none()};return{mousedown:function(t){r.clear(e),o=bl(t.target(),n)},mouseover:function(i){o.each((function(o){r.clearBeforeUpdate(e),bl(i.target(),n).each((function(i){or(o,i,n).each((function(n){var a=n.boxes().getOr([]);(a.length>1||1===a.length&&!oe(o,i))&&(r.selectRange(e,a,n.start(),n.finish()),t.selectContents(i))}))}))}))},mouseup:function(t){o.each(i)}}}(Ll(t),e,n,r);return{mousedown:o.mousedown,mouseover:o.mouseover,mouseup:o.mouseup}},Sl=function(t,e,n,r){var o=Ll(t),i=function(){return r.clear(e),h.none()};return{keydown:function(t,s,c,u,l,d){var f=t.raw(),p=f.which,m=!0===f.shiftKey;return ir(e,r.selectedSelector()).fold((function(){return xl.isDown(p)&&m?a(ml,o,e,n,yl.down,u,s,r.selectRange):xl.isUp(p)&&m?a(ml,o,e,n,yl.up,u,s,r.selectRange):xl.isDown(p)?a(pl,o,n,yl.down,u,s,vl):xl.isUp(p)?a(pl,o,n,yl.up,u,s,gl):h.none}),(function(t){var n=function(n){return function(){return fo(n,(function(n){return yu.update(n.rows(),n.cols(),e,t,r)})).fold((function(){return sr(e,r.firstSelectedSelector(),r.lastSelectedSelector()).map((function(t){var n=xl.isDown(p)||d.isForward(p)?Tc.after:Tc.before;return o.setRelativeSelection(Tc.on(t.first(),0),n(t.table())),r.clear(e),mu.create(h.none(),!0)}))}),(function(t){return h.some(mu.create(h.none(),!0))}))}};return xl.isDown(p)&&m?n([Tl(1,0)]):xl.isUp(p)&&m?n([Tl(-1,0)]):d.isBackward(p)&&m?n([Tl(0,-1),Tl(-1,0)]):d.isForward(p)&&m?n([Tl(0,1),Tl(1,0)]):xl.isNavigation(p)&&!1===m?i:h.none}))()},keyup:function(t,o,i,a,s){return ir(e,r.selectedSelector()).fold((function(){var c=t.raw(),u=c.which;return!1===(!0===c.shiftKey)?h.none():xl.isNavigation(u)?yu.sync(e,n,o,i,a,s,r.selectRange):h.none()}),h.none)}}},Ol=function(t,e,n,r){var o=Ll(t);return function(t,i){r.clearBeforeUpdate(e),or(t,i,n).each((function(t){var n=t.boxes().getOr([]);r.selectRange(e,n,t.start(),t.finish()),o.selectContents(i),o.collapseSelection()}))}},Cl=function(t,e,n){var r=function(e){ft(e,t.selected()),ft(e,t.firstSelected()),ft(e,t.lastSelected())},o=function(e){ct(e,t.selected(),"1")},i=function(t){a(t),n()},a=function(e){var n=Ye(e,t.selectedSelector());k(n,r)};return{clearBeforeUpdate:a,clear:i,selectRange:function(n,r,a,s){i(n),k(r,o),ct(a,t.firstSelected(),"1"),ct(s,t.lastSelected(),"1"),e(r,a,s)},selectedSelector:t.selectedSelector,firstSelectedSelector:t.firstSelectedSelector,lastSelectedSelector:t.lastSelectedSelector}},zl=function(t,e,n){var r=Ze(t),o=rn.generate(r);return ri(o,e).map((function(t){var e=Ko(o,n,!1);return{upOrLeftCells:function(t,e,n){var r=t.slice(0,e[e.length-1].row()+1),o=Qo(r,n);return N(o,(function(t){var n=t.cells().slice(0,e[e.length-1].column()+1);return T(n,(function(t){return t.element()}))}))}(e,t,n),downOrRightCells:function(t,e,n){var r=t.slice(e[0].row()+e[0].rowspan()-1,t.length),o=Qo(r,n);return N(o,(function(t){var n=t.cells().slice(e[0].column()+e[0].colspan()-1,+t.cells().length);return T(n,(function(t){return t.element()}))}))}(e,t,n)}}))},Dl=function(t){return!1===Mo(Mt.fromDom(t.target),"ephox-snooker-resizer-bar")};var El=function(t,e){t.ui.registry.addMenuButton("table",{tooltip:"Table",icon:"table",fetch:function(t){return t("inserttable | cell row column | advtablesort | tableprops deletetable")}});var n=function(e){return function(){return t.execCommand(e)}};t.ui.registry.addButton("tableprops",{tooltip:"Table properties",onAction:n("mceTableProps"),icon:"table",onSetup:e.onSetupTable}),t.ui.registry.addButton("tabledelete",{tooltip:"Delete table",onAction:n("mceTableDelete"),icon:"table-delete-table",onSetup:e.onSetupTable}),t.ui.registry.addButton("tablecellprops",{tooltip:"Cell properties",onAction:n("mceTableCellProps"),icon:"table-cell-properties",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tablemergecells",{tooltip:"Merge cells",onAction:n("mceTableMergeCells"),icon:"table-merge-cells",onSetup:e.onSetupMergeable}),t.ui.registry.addButton("tablesplitcells",{tooltip:"Split cell",onAction:n("mceTableSplitCells"),icon:"table-split-cells",onSetup:e.onSetupUnmergeable}),t.ui.registry.addButton("tableinsertrowbefore",{tooltip:"Insert row before",onAction:n("mceTableInsertRowBefore"),icon:"table-insert-row-above",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tableinsertrowafter",{tooltip:"Insert row after",onAction:n("mceTableInsertRowAfter"),icon:"table-insert-row-after",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tabledeleterow",{tooltip:"Delete row",onAction:n("mceTableDeleteRow"),icon:"table-delete-row",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tablerowprops",{tooltip:"Row properties",onAction:n("mceTableRowProps"),icon:"table-row-properties",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tableinsertcolbefore",{tooltip:"Insert column before",onAction:n("mceTableInsertColBefore"),icon:"table-insert-column-before",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tableinsertcolafter",{tooltip:"Insert column after",onAction:n("mceTableInsertColAfter"),icon:"table-insert-column-after",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tabledeletecol",{tooltip:"Delete column",onAction:n("mceTableDeleteCol"),icon:"table-delete-column",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tablecutrow",{tooltip:"Cut row",onAction:n("mceTableCutRow"),icon:"temporary-placeholder",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tablecopyrow",{tooltip:"Copy row",onAction:n("mceTableCopyRow"),icon:"temporary-placeholder",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tablepasterowbefore",{tooltip:"Paste row before",onAction:n("mceTablePasteRowBefore"),icon:"temporary-placeholder",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tablepasterowafter",{tooltip:"Paste row after",onAction:n("mceTablePasteRowAfter"),icon:"temporary-placeholder",onSetup:e.onSetupCellOrRow}),t.ui.registry.addButton("tableinsertdialog",{tooltip:"Insert table",onAction:n("mceInsertTable"),icon:"table"})},Nl=function(t){var e=function(t){return t.getParam("table_toolbar","tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol")}(t);e.length>0&&t.ui.registry.addContextToolbar("table",{predicate:function(e){return t.dom.is(e,"table")&&t.getBody().contains(e)},items:e,scope:"node",position:"node"})},Bl=function(t,e){var n=function(e){return function(){return t.execCommand(e)}},r=function(e){var n=e.numRows,r=e.numColumns;t.undoManager.transact((function(){Ps(t,r,n)})),t.addVisual()},o={text:"Table properties",onSetup:e.onSetupTable,onAction:n("mceTableProps")},i={text:"Delete table",icon:"table-delete-table",onSetup:e.onSetupTable,onAction:n("mceTableDelete")},a=[{type:"menuitem",text:"Insert row before",icon:"table-insert-row-above",onAction:n("mceTableInsertRowBefore"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Insert row after",icon:"table-insert-row-after",onAction:n("mceTableInsertRowAfter"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Delete row",icon:"table-delete-row",onAction:n("mceTableDeleteRow"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Row properties",icon:"table-row-properties",onAction:n("mceTableRowProps"),onSetup:e.onSetupCellOrRow},{type:"separator"},{type:"menuitem",text:"Cut row",onAction:n("mceTableCutRow"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Copy row",onAction:n("mceTableCopyRow"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Paste row before",onAction:n("mceTablePasteRowBefore"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Paste row after",onAction:n("mceTablePasteRowAfter"),onSetup:e.onSetupCellOrRow}],s={type:"nestedmenuitem",text:"Row",getSubmenuItems:function(){return a}},c=[{type:"menuitem",text:"Insert column before",icon:"table-insert-column-before",onAction:n("mceTableInsertColBefore"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Insert column after",icon:"table-insert-column-after",onAction:n("mceTableInsertColAfter"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Delete column",icon:"table-delete-column",onAction:n("mceTableDeleteCol"),onSetup:e.onSetupCellOrRow}],u={type:"nestedmenuitem",text:"Column",getSubmenuItems:function(){return c}},l=[{type:"menuitem",text:"Cell properties",icon:"table-cell-properties",onAction:n("mceTableCellProps"),onSetup:e.onSetupCellOrRow},{type:"menuitem",text:"Merge cells",icon:"table-merge-cells",onAction:n("mceTableMergeCells"),onSetup:e.onSetupMergeable},{type:"menuitem",text:"Split cell",icon:"table-split-cells",onAction:n("mceTableSplitCells"),onSetup:e.onSetupUnmergeable}],d={type:"nestedmenuitem",text:"Cell",getSubmenuItems:function(){return l}};!1===function(t){return t.getParam("table_grid",!0,"boolean")}(t)?t.ui.registry.addMenuItem("inserttable",{text:"Table",icon:"table",onAction:n("mceInsertTable")}):t.ui.registry.addNestedMenuItem("inserttable",{text:"Table",icon:"table",getSubmenuItems:function(){return[{type:"fancymenuitem",fancytype:"inserttable",onAction:r}]}}),t.ui.registry.addMenuItem("inserttabledialog",{text:"Insert table",icon:"table",onAction:n("mceInsertTable")}),t.ui.registry.addMenuItem("tableprops",o),t.ui.registry.addMenuItem("deletetable",i),t.ui.registry.addNestedMenuItem("row",s),t.ui.registry.addNestedMenuItem("column",u),t.ui.registry.addNestedMenuItem("cell",d),t.ui.registry.addContextMenu("table",{update:function(){return e.resetTargets(),e.targets().fold((function(){return""}),(function(t){return"caption"===et(t.element())?"tableprops deletetable":"cell row column | advtablesort | tableprops deletetable"}))}})},Pl=function(t,e,n,r){return{insertTable:function(e,n){return Ps(t,e,n)},setClipboardRows:function(t){return function(t,e){var n=T(t,Mt.fromDom);e.set(h.from(n))}(t,e)},getClipboardRows:function(){return function(t){return t.get().fold((function(){}),(function(t){return T(t,(function(t){return t.dom()}))}))}(e)},resizeHandler:n,selectionTargets:r}};function Rl(t){var i=function(t){return{get:function(){var e=Oa(t);return cr(e,dr.selectedSelector()).fold((function(){return void 0===t.selection.getStart()?pr.none():pr.single(t.selection)}),(function(t){return pr.multiple(t)}))}}}(t),a=function(t,n){var r=e(h.none()),o=e([]),i=function(){return js(t).bind((function(t){return Je(t).map((function(e){return"caption"===et(t)?_r.notCell(t):_r.forMenu(n,e,t)}))}))},a=function(){r.set(bt(i)()),k(o.get(),(function(t){return t()}))},s=function(t,e){var n=function(){return r.get().fold((function(){t.setDisabled(!0)}),(function(n){t.setDisabled(e(n))}))};return n(),o.set(o.get().concat([n])),function(){o.set(S(o.get(),(function(t){return t!==n})))}};return t.on("NodeChange TableSelectorChange",a),{onSetupTable:function(t){return s(t,(function(t){return!1}))},onSetupCellOrRow:function(t){return s(t,(function(t){return"caption"===et(t.element())}))},onSetupMergeable:function(t){return s(t,(function(t){return t.mergable().isNone()}))},onSetupUnmergeable:function(t){return s(t,(function(t){return t.unmergable().isNone()}))},resetTargets:a,targets:function(){return r.get()}}}(t,i),s=bc(t),c=function(t,i,a){var s=K(["mousedown","mouseover","mouseup","keyup","keydown"],[]),c=h.none(),u=Ga(t),l=Cl(dr,(function(e,r,o){a.targets().each((function(i){Je(r).each((function(a){var s=Mt.fromDom(t.getDoc()),c=Tn(n,s,u),l=zl(a,i,c);!function(t,e,n,r,o){t.fire("TableSelectionChange",{cells:e,start:n,finish:r,otherCells:o})}(t,e,r,o,l)}))}))}),(function(){!function(t){t.fire("TableSelectionClear")}(t)}));return t.on("init",(function(a){var u=t.getWin(),d=Oa(t),f=Da(t),p=kl(u,d,f,l),m=Sl(u,d,f,l),g=Ol(u,d,f,l);t.on("TableSelectorChange",(function(t){g(t.start,t.finish)}));var v,b,y=function(e,n){(function(t){return!0===t.raw().shiftKey})(e)&&(n.kill()&&e.kill(),n.selection().each((function(e){var n=Sc.relative(e.start(),e.finish()),r=Pc(u,n);t.selection.setRng(r)})))},M=function(e){var n=x(e);if(n.raw().shiftKey&&xl.isNavigation(n.raw().which)){var r=t.selection.getRng(),o=Mt.fromDom(r.startContainer),i=Mt.fromDom(r.endContainer);m.keyup(n,o,r.startOffset,i,r.endOffset).each((function(t){y(n,t)}))}},_=function(e){var n=x(e);i().each((function(t){t.hideBars()}));var r=t.selection.getRng(),o=Mt.fromDom(t.selection.getStart()),a=Mt.fromDom(r.startContainer),s=Mt.fromDom(r.endContainer),c=Ra(o).isRtl()?xl.rtl:xl.ltr;m.keydown(n,a,r.startOffset,s,r.endOffset,c).each((function(t){y(n,t)})),i().each((function(t){t.showBars()}))},w=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},x=function(t){var e=Mt.fromDom(t.target),n=function(){t.stopPropagation()},i=function(){t.preventDefault()},a=r(i,n);return{target:o(e),x:o(w(t)?t.x:null),y:o(w(t)?t.y:null),stop:n,prevent:i,kill:a,raw:o(t)}},A=function(t){return 0===t.button},L=function(t){A(t)&&Dl(t)&&p.mousedown(x(t))},T=function(t){var e;void 0!==(e=t).buttons&&0==(1&e.buttons)||!Dl(t)||p.mouseover(x(t))},k=function(t){A(t)&&Dl(t)&&p.mouseup(x(t))},S=(v=e(Mt.fromDom(d)),b=e(0),{touchEnd:function(t){var e=Mt.fromDom(t.target);if("td"===et(e)||"th"===et(e)){var n=v.get(),r=b.get();oe(n,e)&&t.timeStamp-r<300&&(t.preventDefault(),g(e,e))}v.set(e),b.set(t.timeStamp)}});t.on("mousedown",L),t.on("mouseover",T),t.on("mouseup",k),t.on("touchend",S.touchEnd),t.on("keyup",M),t.on("keydown",_),t.on("NodeChange",(function(){var e=t.selection,r=Mt.fromDom(e.getStart()),o=Mt.fromDom(e.getEnd());Zn(Je,[r,o]).fold((function(){l.clear(d)}),n)})),c=h.some(s({mousedown:L,mouseover:T,mouseup:k,keyup:M,keydown:_}))})),{clear:l.clear,destroy:function(){c.each((function(t){}))}}}(t,s.lazyResize,a),l=function(t,e){var r=function(t){return"table"===et(Oa(t))},o=Ga(t),i=function(e,n,r,i){return function(a,s){Na(a);var c=i(),u=Mt.fromDom(t.getDoc()),l=so(Ra),d=Tn(r,u,o);return n(a)?e(c,a,s,d,l).bind((function(e){return k(e.newRows(),(function(e){$a(t,e.dom())})),k(e.newCells(),(function(e){Ka(t,e.dom())})),e.cursor().map((function(e){var n=t.dom.createRng();return n.setStart(e.dom(),0),n.setEnd(e.dom(),0),n}))})):h.none()}};return{deleteRow:i(Sa.eraseRows,(function(e){var n=uo(e);return!1===r(t)||n.rows()>1}),n,e),deleteColumn:i(Sa.eraseColumns,(function(e){var n=uo(e);return!1===r(t)||n.columns()>1}),n,e),insertRowsBefore:i(Sa.insertRowsBefore,u,n,e),insertRowsAfter:i(Sa.insertRowsAfter,u,n,e),insertColumnsBefore:i(Sa.insertColumnsBefore,u,jr,e),insertColumnsAfter:i(Sa.insertColumnsAfter,u,jr,e),mergeCells:i(Sa.mergeCells,u,n,e),unmergeCells:i(Sa.unmergeCells,u,n,e),pasteRowsBefore:i(Sa.pasteRowsBefore,u,n,e),pasteRowsAfter:i(Sa.pasteRowsAfter,u,n,e),pasteCells:i(Sa.pasteCells,u,n,e)}}(t,s.lazyWire),d=e(h.none());return Fs(t,l,c,i,d),wr(t,i,l,c),Bl(t,a),El(t,a),Nl(t),t.on("PreInit",(function(){t.serializer.addTempAttr(dr.firstSelected()),t.serializer.addTempAttr(dr.lastSelected())})),function(t){return t.getParam("table_tab_navigation",!0,"boolean")}(t)&&t.on("keydown",(function(e){pu(e,t,l,s.lazyWire)})),t.on("remove",(function(){s.destroy(),c.destroy()})),Pl(t,d,s,a)}p.add("table",Rl)}(window)},function(t,e,n){n(206)},function(t,e){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=function(){},n=function(t){return function(){return t}};var r,o,i,a,s,c=n(!1),u=n(!0),l=tinymce.util.Tools.resolve("tinymce.util.Tools"),d=tinymce.util.Tools.resolve("tinymce.util.XHR"),f=function(t){return t.getParam("template_cdate_classes","cdate")},h=function(t){return t.getParam("template_mdate_classes","mdate")},p=function(t){return t.getParam("template_selected_content_classes","selcontent")},m=function(t){return t.getParam("template_preview_replace_values")},g=function(t){return t.getParam("template_replace_values")},v=function(t){return t.templates},b=function(t){return t.getParam("template_cdate_format",t.translate("%Y-%m-%d"))},y=function(t){return t.getParam("template_mdate_format",t.translate("%Y-%m-%d"))},M=function(t,e){if((t=""+t).length<e)for(var n=0;n<e-t.length;n++)t="0"+t;return t},_=function(t,e,n){var r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),a="January February March April May June July August September October November December".split(" ");return n=n||new Date,e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",M(n.getMonth()+1,2))).replace("%d",M(n.getDate(),2))).replace("%H",""+M(n.getHours(),2))).replace("%M",""+M(n.getMinutes(),2))).replace("%S",""+M(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+t.translate(a[n.getMonth()]))).replace("%b",""+t.translate(i[n.getMonth()]))).replace("%A",""+t.translate(o[n.getDay()]))).replace("%a",""+t.translate(r[n.getDay()]))).replace("%%","%")},w=function(t,e){return l.each(e,(function(e,n){"function"==typeof e&&(e=e(n)),t=t.replace(new RegExp("\\{\\$"+n+"\\}","g"),e)})),t},x=function(t,e){var n=t.dom,r=g(t);l.each(n.select("*",e),(function(t){l.each(r,(function(e,o){n.hasClass(t,o)&&"function"==typeof r[o]&&r[o](t)}))}))},A=function(t,e){return new RegExp("\\b"+e+"\\b","g").test(t.className)},L=function(t,e){return function(){var n=v(t);"function"!=typeof n?"string"==typeof n?d.send({url:n,success:function(t){e(JSON.parse(t))}}):e(n):n(e)}},T=w,k=x,S=function(t,e,n){var r,o,i=t.dom,a=t.selection.getContent();n=w(n,g(t)),r=i.create("div",null,n),(o=i.select(".mceTmpl",r))&&o.length>0&&(r=i.create("div",null)).appendChild(o[0].cloneNode(!0)),l.each(i.select("*",r),(function(e){A(e,f(t).replace(/\s+/g,"|"))&&(e.innerHTML=_(t,b(t))),A(e,h(t).replace(/\s+/g,"|"))&&(e.innerHTML=_(t,y(t))),A(e,p(t).replace(/\s+/g,"|"))&&(e.innerHTML=a)})),x(t,r),t.execCommand("mceInsertContent",!1,r.innerHTML),t.addVisual()},O=function(t){t.addCommand("mceInsertTemplate",function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.concat(n);return t.apply(null,o)}}(S,t))},C=function(t){t.on("PreProcess",(function(e){var n=t.dom,r=y(t);l.each(n.select("div",e.node),(function(e){n.hasClass(e,"mceTmpl")&&(l.each(n.select("*",e),(function(e){n.hasClass(e,t.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))&&(e.innerHTML=_(t,r))})),k(t,e))}))}))},z=function(){return D},D=(r=function(t){return t.isNone()},a={fold:function(t,e){return t()},is:c,isSome:c,isNone:u,getOr:i=function(t){return t},getOrThunk:o=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:n(null),getOrUndefined:n(void 0),or:i,orThunk:o,map:z,each:e,bind:z,exists:c,forall:u,filter:z,equals:r,equals_:r,toArray:function(){return[]},toString:n("none()")},Object.freeze&&Object.freeze(a),a),E=function(t){var e=n(t),r=function(){return i},o=function(e){return e(t)},i={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:u,isNone:c,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:r,orThunk:r,map:function(e){return E(e(t))},each:function(e){e(t)},bind:o,exists:o,forall:o,filter:function(e){return e(t)?i:D},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(c,(function(e){return n(t,e)}))}};return i},N={some:E,none:z,from:function(t){return null==t?D:E(t)}},B=(s="function",function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===s}),P=Array.prototype.slice,R=(B(Array.from)&&Array.from,tinymce.util.Tools.resolve("tinymce.util.Promise")),Y=Object.hasOwnProperty,W=function(t,e){return Y.call(t,e)},H={'"':""","<":"<",">":">","&":"&","'":"'"},q=function(t){return t.replace(/["'<>&]/g,(function(t){return(e=H,n=t,W(e,n)?N.from(e[n]):N.none()).getOr(t);var e,n}))},I=function(t,e){var n=function(t){return function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r}(t,(function(t){return{text:t.text,value:t.text}}))},r=function(t,e){return function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return N.some(o)}return N.none()}(t,(function(t){return t.text===e}))},o=function(t){return new R((function(e,n){t.value.url.fold((function(){return e(t.value.content.getOr(""))}),(function(t){return d.send({url:t,success:function(t){e(t)},error:function(t){n(t)}})}))}))},i=function(t,e){return function(n,i){if("template"===i.name){var a=n.getData().template;r(t,a).each((function(t){n.block("Loading..."),o(t).then((function(r){e(n,t,r),n.unblock()}))}))}}},a=function(e){return function(n){var i=n.getData();r(e,i.template).each((function(e){o(e).then((function(e){S(t,!1,e),n.close()}))}))}};(function(){if(!e||0===e.length){var n=t.translate("No templates defined.");return t.notificationManager.open({text:n,type:"info"}),N.none()}return N.from(l.map(e,(function(t,e){var n=function(t){return void 0!==t.url};return{selected:0===e,text:t.title,value:{url:n(t)?N.from(t.url):N.none(),content:n(t)?N.none():N.from(t.content),description:t.description}}})))})().each((function(e){var r=n(e),s=function(t,n){return{title:"Insert Template",size:"large",body:{type:"panel",items:t},initialData:n,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:a(e),onChange:i(e,c)}},c=function(e,n,o){var i=function(t,e){if(-1===e.indexOf("<html>")){var n="";l.each(t.contentCSS,(function(e){n+='<link type="text/css" rel="stylesheet" href="'+t.documentBaseURI.toAbsolute(e)+'">'}));var r=t.settings.body_class||"";-1!==r.indexOf("=")&&(r=(r=t.getParam("body_class","","hash"))[t.id]||"");var o=t.dom.encode,i=t.getBody().dir,a=i?' dir="'+o(i)+'"':"";e="<!DOCTYPE html><html><head>"+n+'</head><body class="'+o(r)+'"'+a+">"+e+"</body></html>"}return T(e,m(t))}(t,o),a=[{type:"selectbox",name:"template",label:"Templates",items:r},{type:"htmlpanel",html:'<p aria-live="polite">'+q(n.value.description)+"</p>"},{label:"Preview",type:"iframe",name:"preview",sandboxed:!1}],c={template:n.text,preview:i};e.unblock(),e.redial(s(a,c)),e.focus("template")},u=t.windowManager.open(s([],{template:"",preview:""}));u.block("Loading..."),o(e[0]).then((function(t){c(u,e[0],t)}))}))},j=function(t){return function(e){I(t,e)}},X=function(t){t.ui.registry.addButton("template",{icon:"template",tooltip:"Insert template",onAction:L(t.settings,j(t))}),t.ui.registry.addMenuItem("template",{icon:"template",text:"Insert template...",onAction:L(t.settings,j(t))})};t.add("template",(function(t){X(t),O(t),C(t)}))}()},function(t,e,n){n(208)},function(t,e){!function(){"use strict";var t=function(e){var n=e,r=function(){return n};return{get:r,set:function(t){n=t},clone:function(){return t(r())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(t,e){t.addCommand("mceHelp",e)},r=function(t,e){t.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:e}),t.ui.registry.addMenuItem("help",{text:"Help",icon:"help",shortcut:"Alt+0",onAction:e})},o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=function(){},a=function(t){return function(){return t}};function s(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.concat(n);return t.apply(null,o)}}var c,u,l,d,f,h=a(!1),p=a(!0),m=function(){return g},g=(c=function(t){return t.isNone()},d={fold:function(t,e){return t()},is:h,isSome:h,isNone:p,getOr:l=function(t){return t},getOrThunk:u=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:a(null),getOrUndefined:a(void 0),or:l,orThunk:u,map:m,each:i,bind:m,exists:h,forall:p,filter:m,equals:c,equals_:c,toArray:function(){return[]},toString:a("none()")},Object.freeze&&Object.freeze(d),d),v=function(t){var e=a(t),n=function(){return o},r=function(e){return e(t)},o={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:p,isNone:h,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return v(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){return e(t)?o:g},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(h,(function(e){return n(t,e)}))}};return o},b={some:v,none:m,from:function(t){return null==t?g:v(t)}},y=(f="function",function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===f}),M=Array.prototype.slice,_=Array.prototype.indexOf,w=function(t,e){return _.call(t,e)},x=function(t,e){return w(t,e)>-1},A=function(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++){var i=t[o];r[o]=e(i,o)}return r},L=(y(Array.from)&&Array.from,Object.keys),T=Object.hasOwnProperty,k=function(t,e){return T.call(t,e)},S=[{shortcuts:["Meta + B"],action:"Bold"},{shortcuts:["Meta + I"],action:"Italic"},{shortcuts:["Meta + U"],action:"Underline"},{shortcuts:["Meta + A"],action:"Select all"},{shortcuts:["Meta + Y","Meta + Shift + Z"],action:"Redo"},{shortcuts:["Meta + Z"],action:"Undo"},{shortcuts:["Access + 1"],action:"Header 1"},{shortcuts:["Access + 2"],action:"Header 2"},{shortcuts:["Access + 3"],action:"Header 3"},{shortcuts:["Access + 4"],action:"Header 4"},{shortcuts:["Access + 5"],action:"Header 5"},{shortcuts:["Access + 6"],action:"Header 6"},{shortcuts:["Access + 7"],action:"Paragraph"},{shortcuts:["Access + 8"],action:"Div"},{shortcuts:["Access + 9"],action:"Address"},{shortcuts:["Alt + 0"],action:"Open help dialog"},{shortcuts:["Alt + F9"],action:"Focus to menubar"},{shortcuts:["Alt + F10"],action:"Focus to toolbar"},{shortcuts:["Alt + F11"],action:"Focus to element path"},{shortcuts:["Ctrl + F9"],action:"Focus to contextual toolbar"},{shortcuts:["Shift + Enter"],action:"Open popup menu for split buttons"},{shortcuts:["Meta + K"],action:"Insert link (if link plugin activated)"},{shortcuts:["Meta + S"],action:"Save (if save plugin activated)"},{shortcuts:["Meta + F"],action:"Find (if searchreplace plugin activated)"},{shortcuts:["Meta + Shift + F"],action:"Switch to or from fullscreen mode"}],O=tinymce.util.Tools.resolve("tinymce.Env"),C=function(t){var e=O.mac?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl ",access:"Shift + Alt "},n=t.split("+"),r=A(n,(function(t){var n=t.toLowerCase().trim();return k(e,n)?e[n]:t}));return O.mac?r.join("").replace(/\s/,""):r.join("+")},z=function(){return{name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:A(S,(function(t){var e=A(t.shortcuts,C).join(" or ");return[t.action,e]}))}]}},D=function(t,e){return t.replace(/\$\{([^{}]*)\}/g,(function(t,n){var r,o=e[n];return"string"===(r=typeof o)||"number"===r?o.toString():t}))},E=tinymce.util.Tools.resolve("tinymce.util.I18n"),N=[{key:"advlist",name:"Advanced List"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"bbcode",name:"BBCode"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullpage",name:"Full Page"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"hr",name:"Horizontal Rule"},{key:"image",name:"Image"},{key:"imagetools",name:"Image Tools"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"legacyoutput",name:"Legacy Output"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"noneditable",name:"Noneditable"},{key:"pagebreak",name:"Page Break"},{key:"paste",name:"Paste"},{key:"preview",name:"Preview"},{key:"print",name:"Print"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"spellchecker",name:"Spell Checker"},{key:"tabfocus",name:"Tab Focus"},{key:"table",name:"Table"},{key:"template",name:"Template"},{key:"textcolor",name:"Text Color"},{key:"textpattern",name:"Text Pattern"},{key:"toc",name:"Table of Contents"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"},{key:"advcode",name:"Advanced Code Editor*"},{key:"formatpainter",name:"Format Painter*"},{key:"powerpaste",name:"PowerPaste*"},{key:"tinydrive",name:"Tiny Drive*"},{key:"tinymcespellchecker",name:"Spell Checker Pro*"},{key:"a11ychecker",name:"Accessibility Checker*"},{key:"linkchecker",name:"Link Checker*"},{key:"mentions",name:"Mentions*"},{key:"mediaembed",name:"Enhanced Media Embed*"},{key:"checklist",name:"Checklist*"},{key:"casechange",name:"Case Change*"},{key:"permanentpen",name:"Permanent Pen*"},{key:"pageembed",name:"Page Embed*"},{key:"tinycomments",name:"Tiny Comments*"},{key:"advtable",name:"Advanced Tables*"},{key:"autocorrect",name:"Autocorrect*"}],B=function(t){var e,n=s(D,'<a href="${url}" target="_blank" rel="noopener">${name}</a>'),r=function(t,e){return function(t,e){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e(o,n))return b.some(o)}return b.none()}(N,(function(t){return t.key===e})).fold((function(){var r=t.plugins[e].getMetadata;return"function"==typeof r?n(r()):e}),(function(t){return n({name:t.name,url:"https://www.tiny.cloud/docs/plugins/"+t.key})}))},o=function(t){var e=function(t){var e,n=L(t.plugins);return void 0===t.settings.forced_plugins?n:function(t,e){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];e(i,r)&&n.push(i)}return n}(n,(e=s(x,t.settings.forced_plugins),function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}))}(t),n=A(e,(function(e){return"<li>"+r(t,e)+"</li>"})),o=n.length,i=n.join("");return"<p><b>"+E.translate(["Plugins installed ({0}):",o])+"</b></p><ul>"+i+"</ul>"};return{name:"plugins",title:"Plugins",items:[{type:"htmlpanel",presets:"document",html:[function(t){return null==t?"":'<div data-mce-tabstop="1" tabindex="-1">'+o(t)+"</div>"}(t),(e=A(["Accessibility Checker","Advanced Code Editor","Advanced Tables","Case Change","Checklist","Tiny Comments","Tiny Drive","Enhanced Media Embed","Format Painter","Link Checker","Mentions","MoxieManager","Page Embed","Permanent Pen","PowerPaste","Spell Checker Pro"],(function(t){return"<li>"+E.translate(t)+"</li>"})).join(""),'<div data-mce-tabstop="1" tabindex="-1"><p><b>'+E.translate("Premium plugins:")+"</b></p><ul>"+e+'<li style="list-style: none; margin-top: 1em;"><a href="https://www.tiny.cloud/pricing/?utm_campaign=editor_referral&utm_medium=help_dialog&utm_source=tinymce" target="_blank">'+E.translate("Learn more...")+"</a></li></ul></div>")].join("")}]}},P=tinymce.util.Tools.resolve("tinymce.EditorManager"),R=function(){var t,e,n='<a href="https://www.tinymce.com/docs/changelog/?utm_campaign=editor_referral&utm_medium=help_dialog&utm_source=tinymce" target="_blank">TinyMCE '+(t=P.majorVersion,e=P.minorVersion,0===t.indexOf("@")?"X.X.X":t+"."+e)+"</a>";return{name:"versions",title:"Version",items:[{type:"htmlpanel",html:"<p>"+E.translate(["You are using {0}",n])+"</p>",presets:"document"}]}},Y=function(){return{name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:"<h1>Editor UI keyboard navigation</h1>\n\n<h2>Activating keyboard navigation</h2>\n\n<p>The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:</p>\n<ul>\n <li>Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)</li>\n <li>Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)</li>\n <li>Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)</li>\n</ul>\n\n<p>Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline. </p>\n\n<h2>Moving between UI sections</h2>\n\n<p>When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:</p>\n<ul>\n <li>the menubar</li>\n <li>each group of the toolbar </li>\n <li>the sidebar</li>\n <li>the element path in the footer </li>\n <li>the wordcount toggle button in the footer </li>\n <li>the branding link in the footer </li>\n</ul>\n\n<p>Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.</p>\n\n<h2>Moving within UI sections</h2>\n\n<p>Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:</p>\n<ul>\n <li>moving between menus in the menubar</li>\n <li>moving between buttons in a toolbar group</li>\n <li>moving between items in the element path</li>\n</ul>\n\n<p>In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group. </p>\n\n<h1>Executing buttons</h1>\n\n<p>To execute a button, navigate the selection to the desired button and hit space or enter.</p>\n\n<h1>Opening, navigating and closing menus</h1>\n\n<p>When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.</p>\n\n<p>To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.</p>\n\n<h1>Context toolbars and menus</h1>\n\n<p>To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).</p>\n\n<p>Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.</p>\n\n<h1>Dialog navigation</h1>\n\n<p>There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.</p>\n\n<p>When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.</p>\n\n<p>When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab’s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.</p>"}]}},W=function(t){var e,n=L(t);return(-1===(e=w(n,"versions"))?b.none():b.some(e)).each((function(t){n.splice(t,1),n.push("versions")})),{tabs:t,names:n}},H=function(t,e){var n,r=z(),i=Y(),a=B(t),s=R(),c=o(((n={})[r.name]=r,n[i.name]=i,n[a.name]=a,n[s.name]=s,n),e.get());return function(t){return b.from(t.getParam("help_tabs"))}(t).fold((function(){return W(c)}),(function(t){return function(t,e){var n={},r=A(t,(function(t){return"string"==typeof t?(k(e,t)&&(n[t]=e[t]),t):(n[t.name]=t,t.name)}));return{tabs:n,names:r}}(t,c)}))},q=function(t,e){return function(){var n=H(t,e),r=n.tabs,o=n.names,i={type:"tabpanel",tabs:function(t){for(var e=[],n=function(t){e.push(t)},r=0;r<t.length;r++)t[r].each(n);return e}(A(o,(function(t){return k(e=r,n=t)?b.from(e[n]):b.none();var e,n})))};t.windowManager.open({title:"Help",size:"medium",body:i,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{}})}};e.add("help",(function(e){var o=t({}),i=function(t){return{addTab:function(e){var n=t.get();n[e.name]=e,t.set(n)}}}(o),a=q(e,o);return r(e,a),n(e,a),e.shortcuts.add("Alt+0","Open help dialog","mceHelp"),i}))}()},function(t,e,n){t.exports=function(){"use strict";function t(){}function e(t){return t instanceof NodeList||t instanceof HTMLCollection?Array.prototype.slice.call(t):[t]}function n(t,e){if("string"==typeof e)return window.getComputedStyle(t)[e];Object.keys(e).forEach((function(n){var r=e[n];t.style[n]=r}))}function r(t,e){var n=e.split(" ");1<n.length?n.forEach((function(e){return r(t,e)})):t.classList?t.classList.add(e):t.className+=" "+e}function o(t,e){var n=e.split(" ");1<n.length?n.forEach((function(e){return o(t,e)})):t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function i(t){e(t).forEach((function(t){t.parentNode.removeChild(t)}))}function a(t,e,n,r){var o=e-t,i=r-n;return{length:Math.ceil(Math.sqrt(o*o+i*i)),angle:Math.round(180*Math.atan2(i,o)/Math.PI)}}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=new WeakMap,d=function(){function e(){u(this,e),this.holder=null,this.option=null,this.mapperFunc=t,this.wrapLeft=0,this.wrapTop=0,this.disabled=!1,this.patternAry=[],this.lastPosObj=[],this.rightPattern=null,this.onSuccess=t,this.onError=t,this.pattCircle=null,this.lineX1=0,this.lineY1=0,this.line=null,this.lastPosObj=null}return c(e,[{key:"getIdxFromPoint",value:function(t,e){var n=this.option,r=n.matrix,o=n.margin,i=t-this.wrapLeft,a=e-this.wrapTop,s=2*n.radius+2*o,c=Math.ceil(i/s),u=Math.ceil(a/s),l=i%s,d=a%s,f=null;return c<=r[1]&&u<=r[0]&&2*o<l&&2*o<d&&(f=(u-1)*r[1]+c),{idx:f,i:c,j:u,x:i,y:a}}},{key:"markPoint",value:function(t,e){r(t,"hovered"),this.patternAry.push(e),this.lastElm=t}},{key:"addLine",value:function(t){var e=this.patternAry,r=this.option,o=r.lineOnMove,i=r.margin,s=r.radius,c=(t.i-1)*(2*i+2*s)+2*i+s,u=(t.j-1)*(2*i+2*s)+2*i+s;if(1<e.length){var l=a(this.lineX1,c,this.lineY1,u),d=l.length,f=l.angle;n(this.line,{width:d+10+"px",transform:"rotate("+f+"deg)"}),o||n(this.line,{display:"block"})}var h,p,m=(h='<div class="patt-lines" style="top:'+(u-5)+"px; left: "+(c-5)+'px;"></div>',(p=document.createElement("div")).innerHTML=h,p.children[0]);this.line=m,this.lineX1=c,this.lineY1=u,this.holder.appendChild(m),o||n(this.line,{display:"none"})}},{key:"addDirectionClass",value:function(t){var e=this.lastElm,n=this.line,o=this.lastPosObj,i=[];if(0<t.j-o.j?i.push("s"):t.j-o.j<0&&i.push("n"),0<t.i-o.i?i.push("e"):t.i-o.i<0&&i.push("w"),i=i.join("-")){var a=i+" dir";r(e,a),r(n,a)}}}]),e}(),f=function(){function a(e){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};u(this,a),h.call(this);var i=new d,c=document.querySelector(e);if(c&&0!==c.length){var f={onDraw:t},p=o.matrix;p&&9<p[0]*p[1]&&(f.delimiter=","),i.option=function(t){for(var e=arguments.length,n=Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.forEach((function(e){Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}({},a.defaults,f,o);var m=i.option.mapper;"object"===(void 0===m?"undefined":s(m))?i.mapperFunc=function(t){return m[t]}:i.mapperFunc="function"==typeof m?m:t,i.option.mapper=null,i.holder=c,l.set(this,i),this._render(),r(c,"patt-holder"),"static"===n(c,"position")&&n(c,{position:"relative"}),c.addEventListener("touchstart",this._onStart),c.addEventListener("mousedown",this._onStart)}}return c(a,[{key:"getPattern",value:function(){var t=l.get(this),e=t.patternAry,n=t.option;return(e||[]).join(n.delimiter)}},{key:"setPattern",value:function(e){var n=l.get(this),r=n.option,o=r.matrix,i=r.margin,a=r.radius,s=r.enableSetPattern,c=r.delimiter;if(s){var u="string"==typeof e?e.split(c):e;this.reset(),n.wrapLeft=0;for(var d=n.wrapTop=0;d<u.length;d+=1){var f=u[d]-1,h=f%o[1]*(2*i+2*a)+2*i+a,p=Math.floor(f/o[1])*(2*i+2*a)+2*i+a;this._onMove.call(null,{clientX:h,clientY:p,preventDefault:t},this)}}}},{key:"enable",value:function(){l.get(this).disabled=!1}},{key:"disable",value:function(){l.get(this).disabled=!0}},{key:"reset",value:function(){var t=l.get(this);e(t.pattCircle).forEach((function(t){return o(t,"hovered dir s n w e s-w s-e n-w n-e")})),i(t.holder.querySelectorAll(".patt-lines")),t.patternAry=[],t.lastPosObj=null,o(t.holder,"patt-error")}},{key:"error",value:function(){r(l.get(this).holder,"patt-error")}},{key:"checkForPattern",value:function(e,n,r){var o=l.get(this);o.rightPattern=e,o.onSuccess=n||t,o.onError=r||t}},{key:"_render",value:function(){var t=l.get(this),e=t.option,r=t.holder,o=e.matrix,i=e.margin,a=e.radius,s='<ul class="patt-wrap" style="padding: '+i+'px">\n '+Array.apply(void 0,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}({length:o[0]*o[1]})).map(this._renderCircle).join("")+"\n </ul>";r.innerHTML=s,n(r,{width:o[1]*(2*a+2*i)+2*i+"px",height:o[0]*(2*a+2*i)+2*i+"px"}),t.pattCircle=t.holder.querySelectorAll(".patt-circ")}},{key:"option",value:function(t,e){var n=l.get(this).option;return void 0===e?n[t]:(n[t]=e,"margin"!==t&&"matrix"!==t&&"radius"!==t||this._render(),this)}}]),a}(),h=function(){var t=this;this._onStart=function(e){e.preventDefault();var n=l.get(t),o=n.holder;if(!n.disabled){n.option.patternVisible||r(n.holder,"patt-hidden"),t.moveEvent="touchstart"===e.type?"touchmove":"mousemove",t.endEvent="touchstart"===e.type?"touchend":"mouseup",o.addEventListener(t.moveEvent,t._onMove),document.addEventListener(t.endEvent,t._onEnd);var i=n.holder.querySelector(".patt-wrap").getBoundingClientRect();n.wrapTop=i.top,n.wrapLeft=i.left,t.reset()}},this._onMove=function(e){e.preventDefault();var r=l.get(t),o=r.option,i=r.patternAry,s=e.clientX||e.touches[0].clientX,c=e.clientY||e.touches[0].clientY,u=r.pattCircle,d=r.getIdxFromPoint(s,c),f=d.idx,h=r.mapperFunc(f)||f;if(0<i.length){var p=a(r.lineX1,d.x,r.lineY1,d.y),m=p.length,g=p.angle;n(r.line,{width:m+10+"px",transform:"rotate("+g+"deg)"})}if(f&&(o.allowRepeat&&i[i.length-1]!==h||-1===i.indexOf(h))){var v=u[f-1];if(r.lastPosObj)for(var b=r.lastPosObj,y=0<d.i-b.i?1:-1,M=0<d.j-b.j?1:-1,_=b.i,w=b.j,x=Math.abs(d.i-_),A=Math.abs(d.j-w);0===x&&1<A||0===A&&1<x||A===x&&1<A;){_=x?_+y:_,w=A?w+M:w,x=Math.abs(d.i-_),A=Math.abs(d.j-w);var L=(w-1)*o.matrix[1]+_,T=r.mapperFunc(L)||L;(o.allowRepeat||-1===i.indexOf(T))&&(r.addDirectionClass({i:_,j:w}),r.markPoint(u[T-1],T),r.addLine({i:_,j:w}))}r.lastPosObj&&r.addDirectionClass(d),r.markPoint(v,h),r.addLine(d),r.lastPosObj=d}},this._onEnd=function(e){e.preventDefault();var n=l.get(t),r=n.option,a=n.patternAry.join(r.delimiter);n.holder.removeEventListener(t.moveEvent,t._onMove),document.removeEventListener(t.endEvent,t._onEnd),o(n.holder,"patt-hidden"),a&&(i(n.line),r.onDraw(a),n.rightPattern&&(a===n.rightPattern?n.onSuccess():(n.onError(),t.error())))},this._renderCircle=function(){var e=l.get(t).option,n=e.margin,r=e.radius;return'<li \n class="patt-circ"\n style="margin: '+n+"px; width: "+2*r+"px; height: "+2*r+"px; border-radius: "+r+'px;"\n >\n <div class="patt-dots"></div>\n </li>'}};return f.defaults={matrix:[3,3],margin:20,radius:25,patternVisible:!0,lineOnMove:!0,delimiter:"",enableSetPattern:!1,allowRepeat:!1},f}()},function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(o,!0).forEach((function(n){e(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(o).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var o=function(t,e,n){return n?t==e:(""+t).toLowerCase()==(""+e).toLowerCase()};function i(t){var e=Object.prototype.toString.call(t).split(" ")[1].slice(0,-1);return t===Object(t)&&"Array"!=e&&"Function"!=e&&"RegExp"!=e&&"HTMLUnknownElement"!=e}function a(t){var e=document.createElement("div");return t.replace(/\&#?[0-9a-z]+;/gi,(function(t){return e.innerHTML=t,e.innerText}))}function s(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/`|'/g,"'")}function c(t,e,n){function r(t,e){for(var n in e)e.hasOwnProperty(n)&&(i(e[n])?i(t[n])?r(t[n],e[n]):t[n]=Object.assign({},e[n]):t[n]=e[n])}return t instanceof Object||(t={}),r(t,e),n&&r(t,n),t}function u(t){return String.prototype.normalize?"string"==typeof t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:t}var l={init:function(){this.DOM.dropdown=this.parseTemplate("dropdown",[this.settings]),this.DOM.dropdown.content=this.DOM.dropdown.querySelector("."+this.settings.classNames.dropdownWrapper)},show:function(t){var e,n,r,a=this,s=this.settings,c=window.getSelection(),u="mix"==s.mode&&!s.enforceWhitelist,l=!s.whitelist||!s.whitelist.length,d="manual"==s.dropdown.position;if((!l||u||s.templates.dropdownItemNoMatch)&&!1!==s.dropdown.enable&&!this.state.isLoading){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems.call(this,t),t&&!this.suggestedListItems.length&&(this.trigger("dropdown:noMatch",t),s.templates.dropdownItemNoMatch&&(r=s.templates.dropdownItemNoMatch.call(this,{value:t}))),!r){if(this.suggestedListItems.length)t&&u&&!this.state.editing.scope&&!o(this.suggestedListItems[0].value,t)&&this.suggestedListItems.unshift({value:t});else{if(!t||!u||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide.call(this);this.suggestedListItems=[{value:t}]}n=""+(i(e=this.suggestedListItems[0])?e.value:e),s.autoComplete&&n&&0==n.indexOf(t)&&this.input.autocomplete.suggest.call(this,e)}this.dropdown.fill.call(this,r),s.dropdown.highlightFirst&&this.dropdown.highlightOption.call(this,this.DOM.dropdown.content.children[0]),this.state.dropdown.visible||setTimeout(this.dropdown.events.binding.bind(this)),this.state.dropdown.visible=t||!0,this.state.dropdown.query=t,this.state.selection={anchorOffset:c.anchorOffset,anchorNode:c.anchorNode},d||setTimeout((function(){a.dropdown.position.call(a),a.dropdown.render.call(a)})),setTimeout((function(){a.trigger("dropdown:show",a.DOM.dropdown)}))}},hide:function(t){var e=this,n=this.DOM,r=n.scope,o=n.dropdown,i="manual"==this.settings.dropdown.position&&!t;if(o&&document.body.contains(o)&&!i)return window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),r.setAttribute("aria-expanded",!1),o.parentNode.removeChild(o),setTimeout((function(){e.state.dropdown.visible=!1}),100),this.state.dropdown.query=this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",o),this},render:function(){var t,e,n=this,r=((e=this.DOM.dropdown.cloneNode(!0)).style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(e),t=e.clientHeight,e.parentNode.removeChild(e),t),o=this.settings;return this.DOM.scope.setAttribute("aria-expanded",!0),document.body.contains(this.DOM.dropdown)||(this.DOM.dropdown.classList.add(o.classNames.dropdownInital),this.dropdown.position.call(this,r),o.dropdown.appendTarget.appendChild(this.DOM.dropdown),setTimeout((function(){return n.DOM.dropdown.classList.remove(o.classNames.dropdownInital)}))),this},fill:function(t){var e;t="string"==typeof t?t:this.dropdown.createListHTML.call(this,t||this.suggestedListItems),this.DOM.dropdown.content.innerHTML=(e=t)?e.replace(/\>[\r\n ]+\</g,"><").replace(/(<.*?>)|\s+/g,(function(t,e){return e||" "})):""},refilter:function(t){t=t||this.state.dropdown.query||"",this.suggestedListItems=this.dropdown.filterListItems.call(this,t),this.suggestedListItems.length?this.dropdown.fill.call(this):this.dropdown.hide.call(this),this.trigger("dropdown:updated",this.DOM.dropdown)},position:function(t){var e,n,r,o,i,a,s,c=this.DOM.dropdown,u=document.documentElement.clientHeight,l=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>480?this.settings.dropdown.position:"all",d=this.DOM["input"==l?"input":"scope"];t=t||c.clientHeight,this.state.dropdown.visible&&("text"==l?(o=(n=this.getCaretGlobalPosition()).bottom,r=n.top,i=n.left,a="auto"):(s=function(t){for(var e=0,n=0;t;)e+=t.offsetLeft||0,n+=t.offsetTop||0,t=t.parentNode;return{left:e,top:n}}(this.settings.dropdown.appendTarget),r=(n=d.getBoundingClientRect()).top+2-s.top,o=n.bottom-1-s.top,i=n.left-s.left,a=n.width+"px"),r=Math.floor(r),o=Math.ceil(o),e=u-n.bottom<t,c.style.cssText="left:"+(i+window.pageXOffset)+"px; width:"+a+";"+(e?"top: "+(r+window.pageYOffset)+"px":"top: "+(o+window.pageYOffset)+"px"),c.setAttribute("placement",e?"top":"bottom"),c.setAttribute("position",l))},events:{binding:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.dropdown.events.callbacks,n=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this),onKeyDown:e.onKeyDown.bind(this),onMouseOver:e.onMouseOver.bind(this),onMouseLeave:e.onMouseLeave.bind(this),onClick:e.onClick.bind(this),onScroll:e.onScroll.bind(this)},r=t?"addEventListener":"removeEventListener";"manual"!=this.settings.dropdown.position&&(window[r]("resize",n.position),window[r]("keydown",n.onKeyDown)),this.DOM.dropdown[r]("mouseover",n.onMouseOver),this.DOM.dropdown[r]("mouseleave",n.onMouseLeave),this.DOM.dropdown[r]("mousedown",n.onClick),this.DOM.dropdown.content[r]("scroll",n.onScroll)},callbacks:{onKeyDown:function(t){var e=this.DOM.dropdown.querySelector("[class$='--active']"),n=e;switch(t.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":var r;t.preventDefault(),n&&(n=n[("ArrowUp"==t.key||"Up"==t.key?"previous":"next")+"ElementSibling"]),n||(n=(r=this.DOM.dropdown.content.children)["ArrowUp"==t.key||"Up"==t.key?r.length-1:0]),this.dropdown.highlightOption.call(this,n,!0);break;case"Escape":case"Esc":this.dropdown.hide.call(this);break;case"ArrowRight":if(this.state.actions.ArrowLeft)return;case"Tab":if("mix"!=this.settings.mode&&!this.settings.autoComplete.rightKey&&!this.state.editing){try{var o=n?n.textContent:this.suggestedListItems[0].value;this.input.autocomplete.set.call(this,o)}catch(t){}return!1}case"Enter":t.preventDefault(),this.dropdown.selectOption.call(this,e);break;case"Backspace":if("mix"==this.settings.mode||this.state.editing.scope)return;var i=this.input.value.trim();""!=i&&8203!=i.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}},onMouseOver:function(t){var e=t.target.closest("."+this.settings.classNames.dropdownItem);e&&this.dropdown.highlightOption.call(this,e)},onMouseLeave:function(t){this.dropdown.highlightOption.call(this)},onClick:function(t){var e=this;if(0==t.button&&t.target!=this.DOM.dropdown){var n=t.target.closest("."+this.settings.classNames.dropdownItem);this.state.actions.selectOption=!0,setTimeout((function(){return e.state.actions.selectOption=!1}),50),this.settings.hooks.suggestionClick(t,{tagify:this,suggestionElm:n}).then((function(){n&&e.dropdown.selectOption.call(e,n)})).catch((function(t){return t}))}},onScroll:function(t){var e=t.target,n=e.scrollTop/(e.scrollHeight-e.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(n)})}}},highlightOption:function(t,e){var n,r=this.settings.classNames.dropdownItemActive;if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(r),this.state.ddItemElm.removeAttribute("aria-selected")),!t)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);n=this.suggestedListItems[this.getNodeIndex(t)],this.state.ddItemData=n,this.state.ddItemElm=t,t.classList.add(r),t.setAttribute("aria-selected",!0),e&&(t.parentNode.scrollTop=t.clientHeight+t.offsetTop-t.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,n),"manual"!=this.settings.dropdown.position&&this.dropdown.position.call(this))},selectOption:function(t){var e=this,n=this.settings.dropdown,o=n.clearOnSelect,i=n.closeOnSelect;if(!t)return this.addTags(this.input.value,!0),void(i&&this.dropdown.hide.call(this));var a=t.getAttribute("tagifySuggestionIdx"),s=(a?this.suggestedListItems[+a]:"")||this.input.value;if(this.trigger("dropdown:select",{data:s,elm:t}),this.state.editing?this.onEditTagDone(this.state.editing.scope,r(r(r({},this.state.editing.scope.__tagifyTagData),{},{value:s.value},s instanceof Object?s:{}),{},{__isValid:!0})):this.addTags([s],o),setTimeout((function(){e.DOM.input.focus(),e.toggleFocusClass(!0)})),i)return this.dropdown.hide.call(this);this.dropdown.refilter.call(this)},selectAll:function(){var t=this.settings.skipInvalid;return this.settings.skipInvalid=!0,this.addTags(this.settings.whitelist,!0),this.settings.skipInvalid=t,this.dropdown.hide.call(this),this},filterListItems:function(t){var e,n,r,o,a,s=this,c=this.settings,l=c.dropdown,d=[],f=c.whitelist,h=l.maxItems||1/0,p=l.searchKeys,m=0;if(!t)return(c.duplicates?f:f.filter((function(t){return!s.isTagDuplicate(i(t)?t.value:t)}))).slice(0,h);for(a=l.caseSensitive?""+t:(""+t).toLowerCase();m<f.length&&(e=f[m]instanceof Object?f[m]:{value:f[m]},l.fuzzySearch?(r=p.reduce((function(t,n){return t+" "+(e[n]||"")}),"").toLowerCase(),n=(l.accentedSearch?u(r).indexOf(u(a)):r.indexOf(a))>=0):n=p.some((function(t){var n=""+e[t]||"";return l.accentedSearch&&(n=u(n),a=u(a)),l.caseSensitive||(n=n.toLowerCase()),0==n.indexOf(a)})),o=!c.duplicates&&this.isTagDuplicate(i(e)?e.value:e),n&&!o&&h--&&d.push(e),0!=h);m++);return d},createListHTML:function(t){var e=this;return t.map((function(t,n){"string"!=typeof t&&"number"!=typeof t||(t={value:t});var r=e.settings.dropdown.mapValueTo,o=r?"function"==typeof r?r(t):t[r]:t.value,i=c({},t,{value:o&&"string"==typeof o?s(o):o,tagifySuggestionIdx:n});return e.settings.templates.dropdownItem.call(e,i)})).join("")}},d={delimiters:",",pattern:null,maxTags:1/0,callbacks:{},addTagOnBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,keepInvalidTags:!1,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,editTags:2,transformTag:function(){},trim:!0,mixMode:{insertAfterTag:" "},autoComplete:{enabled:!0,rightKey:!1},classNames:{namespace:"tagify",input:"tagify__input",focus:"tagify--focus",tag:"tagify__tag",tagNoAnimation:"tagify--noAnim",tagInvalid:"tagify--invalid",tagNotAllowed:"tagify--notAllowed",inputInvalid:"tagify__input--invalid",tagX:"tagify__tag__removeBtn",tagText:"tagify__tag-text",dropdown:"tagify__dropdown",dropdownWrapper:"tagify__dropdown__wrapper",dropdownItem:"tagify__dropdown__item",dropdownItemActive:"tagify__dropdown__item--active",dropdownInital:"tagify__dropdown--initial",scopeLoading:"tagify--loading",tagLoading:"tagify__tag--loading",tagEditing:"tagify__tag--editable",tagFlash:"tagify__tag--flash",tagHide:"tagify__tag--hide",hasMaxTags:"tagify--hasMaxTags",hasNoTags:"tagify--noTags",empty:"tagify--empty"},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:["value","searchBy"],fuzzySearch:!0,caseSensitive:!1,accentedSearch:!0,highlightFirst:!1,closeOnSelect:!0,clearOnSelect:!0,position:"all",appendTarget:null},hooks:{beforeRemoveTag:function(){return Promise.resolve()},suggestionClick:function(){return Promise.resolve()}}},f={customBinding:function(){var t=this;this.customEventsList.forEach((function(e){t.on(e,t.settings.callbacks[e])}))},binding:function(){var t,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.events.callbacks,r=e?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!e)for(var o in this.state.mainEvents=e,e&&!this.listeners.main&&(this.DOM.input.addEventListener(this.isIE?"keydown":"input",n[this.isIE?"onInputIE":"onInput"].bind(this)),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),t=this.listeners.main=this.listeners.main||{focus:["input",n.onFocusBlur.bind(this)],blur:["input",n.onFocusBlur.bind(this)],keydown:["input",n.onKeydown.bind(this)],click:["scope",n.onClickScope.bind(this)],dblclick:["scope",n.onDoubleClickScope.bind(this)],paste:["input",n.onPaste.bind(this)]})("blur"!=o||e)&&this.DOM[t[o][0]][r](o,t[o][1])},callbacks:{onFocusBlur:function(t){var e=t.target?this.trim(t.target.textContent):"",n=this.settings,r=t.type,o=n.dropdown.enabled>=0,i={relatedTarget:t.relatedTarget},a=this.state.actions.selectOption&&(o||!n.dropdown.closeOnSelect),s=this.state.actions.addNew&&o,c=window.getSelection();if("blur"==r){if(t.relatedTarget===this.DOM.scope)return this.dropdown.hide.call(this),void this.DOM.input.focus();this.postUpdate(),this.triggerChangeEvent()}if(!a&&!s)if(this.state.hasFocus="focus"==r&&+new Date,this.toggleFocusClass(this.state.hasFocus),"mix"!=n.mode){if("focus"==r)return this.trigger("focus",i),void(0===n.dropdown.enabled&&this.dropdown.show.call(this));"blur"==r&&(this.trigger("blur",i),this.loading(!1),("select"==this.settings.mode?!this.value.length||this.value[0].value!=e:e&&!this.state.actions.selectOption&&n.addTagOnBlur)&&this.addTags(e,!0)),this.DOM.input.removeAttribute("style"),this.dropdown.hide.call(this)}else"focus"==r?this.trigger("focus",i):"blur"==t.type&&(this.trigger("blur",i),this.loading(!1),this.dropdown.hide.call(this),this.state.dropdown.visible=void 0,this.state.selection={anchorOffset:c.anchorOffset,anchorNode:c.anchorNode},c.getRangeAt&&c.rangeCount&&(this.state.selection.range=c.getRangeAt(0)))},onKeydown:function(t){var e=this,n=this.trim(t.target.textContent);if(this.trigger("keydown",{originalEvent:this.cloneEvent(t)}),"mix"==this.settings.mode){switch(t.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var r=document.getSelection(),o="Delete"==t.key&&r.anchorOffset==r.anchorNode.length,i=1==r.anchorNode.nodeType||!r.anchorOffset&&r.anchorNode.previousElementSibling,s=a(this.DOM.input.innerHTML),c=this.getTagElms();if(3==r.anchorNode.nodeType&&!r.anchorNode.nodeValue&&r.anchorNode.previousElementSibling&&t.preventDefault(),(i||o)&&!this.settings.backspace)return void t.preventDefault();setTimeout((function(){if(a(e.DOM.input.innerHTML).length>=s.length&&(e.removeTags(r.anchorNode.previousElementSibling),e.fixFirefoxLastTagNoCaret(),2==e.DOM.input.children.length&&"BR"==e.DOM.input.children[1].tagName))return e.DOM.input.innerHTML="",e.value.length=0,!0;e.value=[].map.call(c,(function(t,n){var r=t.__tagifyTagData;if(t.parentNode)return r;e.trigger("remove",{tag:t,index:n,data:r})})).filter((function(t){return t}))}),50)}return!0}switch(t.key){case"Backspace":this.state.dropdown.visible&&"manual"!=this.settings.dropdown.position||""!=n&&8203!=n.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;t.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show.call(this);break;case"ArrowRight":var u=this.state.inputSuggestion||this.state.ddItemData;if(u&&this.settings.autoComplete.rightKey)return void this.addTags([u],!0);break;case"Tab":if(n&&t.preventDefault(),!n||"select"==this.settings.mode)return!0;case"Enter":if(this.state.dropdown.visible||229==t.keyCode)return;t.preventDefault(),setTimeout((function(){e.state.actions.selectOption||e.addTags(n,!0)}))}},onInput:function(t){if("mix"==this.settings.mode)return this.events.callbacks.onMixTagsInput.call(this,t);var e=this.input.normalize.call(this),n=e.length>=this.settings.dropdown.enabled,r={value:e,inputElm:this.DOM.input};r.isValid=this.validateTag({value:e}),this.trigger("input",r),this.input.value!=e&&(this.input.set.call(this,e,!1),-1!=e.search(this.settings.delimiters)?this.addTags(e)&&this.input.set.call(this):this.settings.dropdown.enabled>=0&&this.dropdown[n?"show":"hide"].call(this,e))},onMixTagsInput:function(t){var e,n,r,o,i,a,s,u,l,d=this,f=this.settings,h=this.value.length;if(this.getTagElms().length>h)return this.value=[].map.call(this.getTagElms(),(function(t){return t.__tagifyTagData})),void this.update({withoutChangeEvent:!0});if(this.hasMaxTags())return!0;if(window.getSelection&&(s=window.getSelection()).rangeCount>0&&3==s.anchorNode.nodeType){if((e=s.getRangeAt(0).cloneRange()).collapse(!0),e.setStart(s.focusNode,0),o=(n=e.toString().slice(0,e.endOffset)).split(f.pattern).length-1,(r=n.match(f.pattern))&&(i=n.slice(n.lastIndexOf(r[r.length-1]))),i){if(this.state.actions.ArrowLeft=!1,this.state.tag={prefix:i.match(f.pattern)[0],value:i.replace(f.pattern,"")},this.state.tag.baseOffset=s.baseOffset-this.state.tag.value.length,l=this.state.tag.value.match(f.delimiters))return this.state.tag.value=this.state.tag.value.replace(f.delimiters,""),this.state.tag.delimiters=l[0],this.addTags(this.state.tag.value,f.dropdown.clearOnSelect),void this.dropdown.hide.call(this);a=this.state.tag.value.length>=f.dropdown.enabled;try{u=(u=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&u.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(t){}(u||o<this.state.mixMode.matchedPatternCount)&&(a=!1)}else this.state.flaggedTags={};this.state.mixMode.matchedPatternCount=o}setTimeout((function(){d.update({withoutChangeEvent:!0}),d.trigger("input",c({},d.state.tag,{textContent:d.DOM.input.textContent})),d.state.tag&&d.dropdown[a?"show":"hide"].call(d,d.state.tag.value)}),10)},onInputIE:function(t){var e=this;setTimeout((function(){e.events.callbacks.onInput.call(e,t)}))},onClickScope:function(t){var e=t.target.closest("."+this.settings.classNames.tag),n=this.settings,r=+new Date-this.state.hasFocus;if(t.target!=this.DOM.scope){if(!t.target.classList.contains(this.settings.classNames.tagX))return e?(this.trigger("click",{tag:e,index:this.getNodeIndex(e),data:this.tagData(e),originalEvent:this.cloneEvent(t)}),void(1==this.settings.editTags&&this.events.callbacks.onDoubleClickScope.call(this,t))):void(t.target==this.DOM.input&&("mix"==n.mode&&this.fixFirefoxLastTagNoCaret(),r>500)?this.state.dropdown.visible?this.dropdown.hide.call(this):0===n.dropdown.enabled&&"mix"!=n.mode&&this.dropdown.show.call(this):"select"==n.mode&&!this.state.dropdown.visible&&this.dropdown.show.call(this));this.removeTags(t.target.parentNode)}else this.state.hasFocus||this.DOM.input.focus()},onPaste:function(t){var e;t.preventDefault(),e=(t.clipboardData||window.clipboardData).getData("Text"),"mix"==this.settings.mode?this.injectAtCaret(e,window.getSelection().getRangeAt(0)):this.addTags(e)},onEditTagInput:function(t,e){var n=t.closest("."+this.settings.classNames.tag),r=this.getNodeIndex(n),o=this.tagData(n),i=this.input.normalize.call(this,t),a=i!=o.__originalData.value,s=this.validateTag({value:i});a||!0!==t.originalIsValid||(s=!0),n.classList.toggle(this.settings.classNames.tagInvalid,!0!==s),o.__isValid=s,n.title=!0===s?o.title||o.value:s,i.length>=this.settings.dropdown.enabled&&(this.state.editing.value=i,this.dropdown.show.call(this,i)),this.trigger("edit:input",{tag:n,index:r,data:c({},this.value[r],{newValue:i}),originalEvent:this.cloneEvent(e)})},onEditTagFocus:function(t){this.state.editing={scope:t,input:t.querySelector("[contenteditable]")}},onEditTagBlur:function(t){if(this.state.editing=!1,this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(t)){var e=t.closest("."+this.settings.classNames.tag),n=this.input.normalize.call(this,t),r=n,o=c({},this.tagData(e),{value:r}),i=r!=o.__originalData.value,a=this.validateTag(o);if(!n)return this.removeTags(e),void this.onEditTagDone(null,o);i?(this.settings.transformTag.call(this,o),!0===(a=this.validateTag(o))?(o=this.getWhitelistItemByValue(r)||o.__preInvalidData||{},o=Object.assign({},o,{value:r}),this.settings.transformTag.call(this,o),this.onEditTagDone(e,o)):this.trigger("invalid",{data:o,tag:e,message:a})):this.onEditTagDone(e,o.__originalData)}},onEditTagkeydown:function(t,e){switch(this.trigger("edit:keydown",{originalEvent:this.cloneEvent(t)}),t.key){case"Esc":case"Escape":t.target.textContent=e.__tagifyTagData.__originalData.value;case"Enter":case"Tab":t.preventDefault(),t.target.blur()}},onDoubleClickScope:function(t){var e,n,r=t.target.closest("."+this.settings.classNames.tag),o=this.settings;r&&(e=r.classList.contains(this.settings.classNames.tagEditing),n=r.hasAttribute("readonly"),"select"==o.mode||o.readonly||e||n||!this.settings.editTags||this.editTag(r),this.toggleFocusClass(!0),this.trigger("dblclick",{tag:r,index:this.getNodeIndex(r),data:this.tagData(r)}))}}};function h(t,e){return t.previousElementSibling&&t.previousElementSibling.classList.contains("tagify")?(console.warn("Tagify: ","input element is already Tagified",t),this):t?(this.isFirefox="undefined"!=typeof InstallTrigger,this.isIE=window.document.documentMode,this.applySettings(t,e||{}),this.state={editing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},c(this,new this.EventDispatcher(this)),this.build(t),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),void(t.autofocus&&this.DOM.input.focus())):(console.warn("Tagify: ","invalid input element ",t),this)}return h.prototype={dropdown:l,TEXTS:{empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},DEFAULTS:d,customEventsList:["change","add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select","dropdown:updated","dropdown:noMatch"],trim:function(t){return this.settings.trim?t.trim():t},parseHTML:function(t){return(new DOMParser).parseFromString(t.trim(),"text/html").body.firstElementChild},templates:{wrapper:function(t,e){return'<tags class="'.concat(e.classNames.namespace," ").concat(e.mode?"".concat(e.classNames.namespace,"--").concat(e.mode):""," ").concat(t.className,'"\n ').concat(e.readonly?"readonly":"","\n ").concat(e.required?"required":"",'\n tabIndex="-1">\n <span ').concat(e.readonly&&"mix"==e.mode?"":"contenteditable",' data-placeholder="').concat(e.placeholder||"​",'" aria-placeholder="').concat(e.placeholder||"",'"\n class="').concat(e.classNames.input,'"\n role="textbox"\n aria-autocomplete="both"\n aria-multiline="').concat("mix"==e.mode,'"></span>\n </tags>')},tag:function(t){return'<tag title="'.concat(t.title||t.value,"\"\n contenteditable='false'\n spellcheck='false'\n tabIndex=\"-1\"\n class=\"").concat(this.settings.classNames.tag," ").concat(t.class?t.class:"",'"\n ').concat(this.getAttributes(t),">\n <x title='' class=\"").concat(this.settings.classNames.tagX,"\" role='button' aria-label='remove tag'></x>\n <div>\n <span class=\"").concat(this.settings.classNames.tagText,'">').concat(t.value,"</span>\n </div>\n </tag>")},dropdown:function(t){var e=t.dropdown,n="manual"==e.position,r="".concat(t.classNames.dropdown);return'<div class="'.concat(n?"":r," ").concat(e.classname,'" role="listbox" aria-labelledby="dropdown">\n <div class="').concat(t.classNames.dropdownWrapper,'"></div>\n </div>')},dropdownItem:function(t){return"<div ".concat(this.getAttributes(t),"\n class='").concat(this.settings.classNames.dropdownItem," ").concat(t.class?t.class:"",'\'\n tabindex="0"\n role="option">').concat(t.value,"</div>")},dropdownItemNoMatch:null},parseTemplate:function(t,e){return t=this.settings.templates[t]||t,this.parseHTML(t.apply(this,e))},applySettings:function(t,e){this.DEFAULTS.templates=this.templates;var n=this.settings=c({},this.DEFAULTS,e);if(n.readonly=t.hasAttribute("readonly"),n.placeholder=t.getAttribute("placeholder")||n.placeholder||"",n.required=t.hasAttribute("required"),this.isIE&&(n.autoComplete=!1),["whitelist","blacklist"].forEach((function(e){var r=t.getAttribute("data-"+e);r&&(r=r.split(n.delimiters))instanceof Array&&(n[e]=r)})),"autoComplete"in e&&!i(e.autoComplete)&&(n.autoComplete=this.DEFAULTS.autoComplete,n.autoComplete.enabled=e.autoComplete),"mix"==n.mode&&(n.autoComplete.rightKey=!0,n.delimiters=e.delimiters||null),t.pattern)try{n.pattern=new RegExp(t.pattern)}catch(t){}if(this.settings.delimiters)try{n.delimiters=new RegExp(this.settings.delimiters,"g")}catch(t){}"select"==n.mode&&(n.dropdown.enabled=0),n.dropdown.appendTarget=e.dropdown&&e.dropdown.appendTarget?e.dropdown.appendTarget:document.body},getAttributes:function(t){if("[object Object]"!=Object.prototype.toString.call(t))return"";var e,n,r=Object.keys(t),o="";for(n=r.length;n--;)"class"!=(e=r[n])&&t.hasOwnProperty(e)&&void 0!==t[e]&&(o+=" "+e+(void 0!==t[e]?'="'.concat(t[e],'"'):""));return o},getCaretGlobalPosition:function(){var t=document.getSelection();if(t.rangeCount){var e,n,r=t.getRangeAt(0),o=r.startContainer,i=r.startOffset;if(i>0)return(n=document.createRange()).setStart(o,i-1),n.setEnd(o,i),{left:(e=n.getBoundingClientRect()).right,top:e.top,bottom:e.bottom};if(o.getBoundingClientRect)return o.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars:function(){var t=getComputedStyle(this.DOM.scope,null);this.CSSVars={tagHideTransition:function(t){var e=t.value;return"s"==t.unit?1e3*e:e}(function(t){if(!t)return{};var e=(t=t.trim().split(" ")[0]).split(/\d+/g).filter((function(t){return t})).pop().trim();return{value:+t.split(e).filter((function(t){return t}))[0].trim(),unit:e}}(t.getPropertyValue("--tag-hide-transition")))}},build:function(t){var e=this.DOM;e.originalInput=t,e.scope=this.parseTemplate("wrapper",[t,this.settings]),e.input=e.scope.querySelector("."+this.settings.classNames.input),t.parentNode.insertBefore(e.scope,t),this.settings.dropdown.enabled>=0&&this.dropdown.init.call(this)},destroy:function(){this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.dropdown.hide.call(this,!0),clearTimeout(this.dropdownHide__bindEventsTimeout)},loadOriginalValues:function(t){var e=this;if(t=t||this.DOM.originalInput.value)if(this.removeAllTags(),"mix"==this.settings.mode)this.parseMixTags(t.trim());else{try{JSON.parse(t)instanceof Array&&(t=JSON.parse(t))}catch(t){}this.addTags(t).forEach((function(t){return t&&t.classList.add(e.settings.classNames.tagNoAnimation)}))}else this.postUpdate();this.state.lastOriginalValueReported=this.DOM.originalInput.value,this.state.loadedOriginalValues=!0},cloneEvent:function(t){var e={};for(var n in t)e[n]=t[n];return e},EventDispatcher:function(e){var n=document.createTextNode("");function r(t,e,r){r&&e.split(/\s+/g).forEach((function(e){return n[t+"EventListener"].call(n,e,r)}))}this.off=function(t,e){return r("remove",t,e),this},this.on=function(t,e){return e&&"function"==typeof e&&r("add",t,e),this},this.trigger=function(r,o){var i;if(r)if(e.settings.isJQueryPlugin)"remove"==r&&(r="removeTag"),jQuery(e.DOM.originalInput).triggerHandler(r,[o]);else{try{var a=c({},"object"===t(o)?o:{value:o});if(a.tagify=this,o instanceof Object)for(var s in o)o[s]instanceof HTMLElement&&(a[s]=o[s]);i=new CustomEvent(r,{detail:a})}catch(t){console.warn(t)}n.dispatchEvent(i)}}},loading:function(t){return this.state.isLoading=t,this.DOM.scope.classList[t?"add":"remove"](this.settings.classNames.scopeLoading),this},tagLoading:function(t,e){return t&&t.classList[e?"add":"remove"](this.settings.classNames.tagLoading),this},toggleFocusClass:function(t){this.DOM.scope.classList.toggle(this.settings.classNames.focus,!!t)},triggerChangeEvent:function(){var t=this.DOM.originalInput,e=this.state.lastOriginalValueReported!==t.value,n=new CustomEvent("change",{bubbles:!0});e&&(this.state.lastOriginalValueReported=t.value,n.simulated=!0,t._valueTracker&&t._valueTracker.setValue(Math.random()),t.dispatchEvent(n),this.trigger("change",this.state.lastOriginalValueReported),t.value=this.state.lastOriginalValueReported)},events:f,fixFirefoxLastTagNoCaret:function(){var t=this.DOM.input;if(this.isFirefox&&t.childNodes.length&&1==t.lastChild.nodeType)return t.appendChild(document.createTextNode("")),this.setRangeAtStartEnd(!0),!0},placeCaretAfterTag:function(t){var e=t.nextSibling,n=window.getSelection(),r=n.getRangeAt(0);n.rangeCount&&(r.setStartAfter(e||t),r.setEndAfter(e||t),n.removeAllRanges(),n.addRange(r))},insertAfterTag:function(t,e){e=e||this.settings.mixMode.insertAfterTag,t&&e&&(e="string"==typeof e?document.createTextNode(e):e,t.appendChild(e),t.parentNode.insertBefore(e,t.nextSibling))},editTag:function(t,e){var n=this;t=t||this.getLastTag(),e=e||{},this.dropdown.hide.call(this);var r=t.querySelector("."+this.settings.classNames.tagText),o=this.getNodeIndex(t),i=t.__tagifyTagData,a=this.events.callbacks,s=this,u=!0;if(r){if(!(i instanceof Object&&"editable"in i)||i.editable)return t.__tagifyTagData.__originalData=c({},i),t.classList.add(this.settings.classNames.tagEditing),r.setAttribute("contenteditable",!0),r.addEventListener("focus",a.onEditTagFocus.bind(this,t)),r.addEventListener("blur",(function(){setTimeout(a.onEditTagBlur.bind(s),0,r)})),r.addEventListener("input",a.onEditTagInput.bind(this,r)),r.addEventListener("keydown",(function(e){return a.onEditTagkeydown.call(n,e,t)})),r.focus(),this.setRangeAtStartEnd(!1,r),e.skipValidation||(u=this.editTagToggleValidity(t,i.value)),r.originalIsValid=u,this.trigger("edit:start",{tag:t,index:o,data:i,isValid:u}),this}else console.warn("Cannot find element in Tag template: .",this.settings.classNames.tagText)},editTagToggleValidity:function(t,e){var n,r=t.__tagifyTagData;if(r)return n=!(!r.__isValid||1==r.__isValid),t.classList.toggle(this.settings.classNames.tagInvalid,n),r.__isValid;console.warn("tag has no data: ",t,r)},onEditTagDone:function(t,e){e=e||{};var n={tag:t,index:this.getNodeIndex(t),data:e};this.trigger("edit:beforeUpdate",n),delete e.__originalData,t&&(this.editTagToggleValidity(t),this.replaceTag(t,e)),this.trigger("edit:updated",n),this.dropdown.hide.call(this),this.settings.keepInvalidTags&&this.reCheckInvalidTags()},replaceTag:function(t,e){e&&e.value||(e=t.__tagifyTagData),e.__isValid&&1!=e.__isValid&&c(e,this.getInvalidTagParams(e,e.__isValid));var n=this.createTagElem(e);t.parentNode.replaceChild(n,t),this.updateValueByDOMTags()},updateValueByDOMTags:function(){var t=this;this.value.length=0,[].forEach.call(this.getTagElms(),(function(e){e.classList.contains(t.settings.classNames.tagNotAllowed)||t.value.push(t.tagData(e))})),this.update()},setRangeAtStartEnd:function(t,e){t="number"==typeof t?t:!!t,e=(e=e||this.DOM.input).lastChild||e;var n=document.getSelection();try{n.rangeCount>=1&&["Start","End"].forEach((function(r){return n.getRangeAt(0)["set"+r](e,t||e.length)}))}catch(t){console.warn("Tagify: ",t)}},injectAtCaret:function(t,e){if(e=e||this.state.selection.range)return"string"==typeof t&&(t=document.createTextNode(t)),e.deleteContents(),e.insertNode(t),this.insertAfterTag(t),this.DOM.input.focus(),this.setRangeAtStartEnd(!0,t.nextSibling),this.updateValueByDOMTags(),this.update(),this},input:{value:"",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.settings.dropdown.closeOnSelect;this.input.value=t,e&&(this.DOM.input.innerHTML=t),!t&&n&&this.dropdown.hide.bind(this),this.input.autocomplete.suggest.call(this),this.input.validate.call(this)},validate:function(){var t=!this.input.value||!0===this.validateTag({value:this.input.value});return this.DOM.input.classList.toggle(this.settings.classNames.inputInvalid,!t),t},normalize:function(t){var e=t||this.DOM.input,n=[];e.childNodes.forEach((function(t){return 3==t.nodeType&&n.push(t.nodeValue)})),n=n.join("\n");try{n=n.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(t){}return n=n.replace(/\s/g," "),this.settings.trim&&(n=n.replace(/^\s+/,"")),n},autocomplete:{suggest:function(t){if(this.settings.autoComplete.enabled){"string"==typeof(t=t||{})&&(t={value:t});var e=t.value?""+t.value:"",n=e.substr(0,this.input.value.length).toLowerCase(),r=e.substring(this.input.value.length);e&&this.input.value&&n==this.input.value.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",r),this.state.inputSuggestion=t):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set:function(t){var e=this.DOM.input.getAttribute("data-suggest"),n=t||(e?this.input.value+e:null);return!!n&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+n)):(this.input.set.call(this,n),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide.call(this),!0)}}},getTagIdx:function(t){return this.value.findIndex((function(e){return JSON.stringify(e)==JSON.stringify(t)}))},getNodeIndex:function(t){var e=0;if(t)for(;t=t.previousElementSibling;)e++;return e},getTagElms:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=["."+this.settings.classNames.tag].concat(e).join(".");return this.DOM.scope.querySelectorAll(r)},getLastTag:function(){var t=this.DOM.scope.querySelectorAll(".".concat(this.settings.classNames.tag,":not(.").concat(this.settings.classNames.tagHide,"):not([readonly])"));return t[t.length-1]},tagData:function(t,e){return t?(e&&(t.__tagifyTagData=c({},t.__tagifyTagData||{},e)),t.__tagifyTagData):(console.warn("tag elment doesn't exist",t,e),e)},isTagDuplicate:function(t){var e=this,n=this.settings;return"select"!=n.mode&&this.value.reduce((function(r,i){return o(e.trim(""+t),i.value,n.dropdown.caseSensitive)?r+1:r}),0)},getTagIndexByValue:function(t){var e=this,n=[];return this.getTagElms().forEach((function(r,i){o(e.trim(r.textContent),t,e.settings.dropdown.caseSensitive)&&n.push(i)})),n},getTagElmByValue:function(t){var e=this.getTagIndexByValue(t)[0];return this.getTagElms()[e]},flashTag:function(t){var e=this;t&&(t.classList.add(this.settings.classNames.tagFlash),setTimeout((function(){t.classList.remove(e.settings.classNames.tagFlash)}),100))},isTagBlacklisted:function(t){return t=this.trim(t.toLowerCase()),this.settings.blacklist.filter((function(e){return t==e.toLowerCase()})).length},isTagWhitelisted:function(t){var e=this;return this.settings.whitelist.some((function(n){return"string"==typeof t?o(e.trim(t),n.value||n):o(JSON.stringify(n),JSON.stringify(t))}))},validateTag:function(t){var e=this.trim(t.value),n=this.settings;return t.value.trim()?n.pattern&&n.pattern instanceof RegExp&&!n.pattern.test(e)?this.TEXTS.pattern:!n.duplicates&&this.isTagDuplicate(e)?this.TEXTS.duplicate:!(this.isTagBlacklisted(e)||n.enforceWhitelist&&!this.isTagWhitelisted(e))||this.TEXTS.notAllowed:this.TEXTS.empty},getInvalidTagParams:function(t,e){return{"aria-invalid":!0,class:"".concat(t.class||""," ").concat(this.settings.classNames.tagNotAllowed).trim(),title:e}},hasMaxTags:function(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},normalizeTags:function(t){var e=this,n=this.settings,o=n.whitelist,i=n.delimiters,a=n.mode,s=!!o&&o[0]instanceof Object,c=t instanceof Array,u=[],l=function(t){return(t+"").split(i).filter((function(t){return t})).map((function(t){return{value:e.trim(t)}}))};if("number"==typeof t&&(t=t.toString()),"string"==typeof t){if(!t.trim())return[];t=l(t)}else if(c){var d;t=(d=[]).concat.apply(d,function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t.map((function(t){return t.value?l(t.value).map((function(e){return r(r({},t),e)})):l(t)}))))}return s&&(t.forEach((function(t){var n=e.getWhitelistItemByValue(t.value);n&&n instanceof Object?u.push(n):"mix"!=a&&u.push(t)})),u.length&&(t=u)),t},getWhitelistItemByValue:function(t){var e=this,n=this.settings.whitelist.find((function(n){return o("string"==typeof n?n:n.value,t,e.settings.dropdown.caseSensitive)}));return"string"==typeof n?{value:n}:n},parseMixTags:function(t){var e=this,n=this.settings,r=n.mixTagsInterpolator,o=n.duplicates,i=n.transformTag,a=n.enforceWhitelist,s=[];return t=t.split(r[0]).map((function(t,n){var c,u,l=t.split(r[1]),d=l[0];try{c=JSON.parse(d)}catch(t){c=e.normalizeTags(d)[0]}if(!(l.length>1)||a&&!e.isTagWhitelisted(c.value)||!o&&e.isTagDuplicate(c.value)){if(t)return n?r[0]+t:t}else i.call(e,c),u=e.createTagElem(c),s.push(c),u.classList.add(e.settings.classNames.tagNoAnimation),l[0]=u.outerHTML,e.value.push(c);return l.join("")})).join(""),this.DOM.input.innerHTML=t,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach((function(t,n){return e.tagData(t,s[n])})),this.update({withoutChangeEvent:!0}),t},replaceTextWithNode:function(t,e){if(this.state.tag||e){e=e||this.state.tag.prefix+this.state.tag.value;var n,r,o=window.getSelection(),i=o.anchorNode,a=this.state.tag.delimiters?this.state.tag.delimiters.length:0;return i.splitText(o.anchorOffset-a),n=i.nodeValue.lastIndexOf(e),r=i.splitText(n),t&&i.parentNode.replaceChild(t,r),!0}},selectTag:function(t,e){if(!this.settings.enforceWhitelist||this.isTagWhitelisted(e.value))return this.input.set.call(this,e.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this)),this.getLastTag()?this.replaceTag(this.getLastTag(),e):this.appendTag(t),this.value[0]=e,this.trigger("add",{tag:t,data:e}),this.update(),[t]},addEmptyTag:function(){var t={value:""},e=this.createTagElem(t);this.tagData(e,t),this.appendTag(e),this.editTag(e,{skipValidation:!0})},addTags:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.settings.skipInvalid,o=[],i=this.settings;return t&&0!=t.length?(t=this.normalizeTags(t),"mix"==i.mode?this.addMixTags(t):("select"==i.mode&&(e=!1),this.DOM.input.removeAttribute("style"),t.forEach((function(t){var e,a={},s=Object.assign({},t,{value:t.value+""});if((t=Object.assign({},s)).__isValid=n.hasMaxTags()||n.validateTag(t),i.transformTag.call(n,t),!0!==t.__isValid){if(r)return;c(a,n.getInvalidTagParams(t,t.__isValid),{__preInvalidData:s}),t.__isValid==n.TEXTS.duplicate&&n.flashTag(n.getTagElmByValue(t.value))}if(t.readonly&&(a["aria-readonly"]=!0),e=n.createTagElem(c({},t,a)),o.push(e),"select"==i.mode)return n.selectTag(e,t);n.appendTag(e),t.__isValid&&!0===t.__isValid?(n.value.push(t),n.update(),n.trigger("add",{tag:e,index:n.value.length-1,data:t})):(n.trigger("invalid",{data:t,index:n.value.length,tag:e,message:t.__isValid}),i.keepInvalidTags||setTimeout((function(){return n.removeTags(e,!0)}),1e3)),n.dropdown.position.call(n)})),t.length&&e&&this.input.set.call(this),this.dropdown.refilter.call(this),o)):("select"==i.mode&&this.removeAllTags(),o)},addMixTags:function(t){var e,n=this,r=this.settings,o=this.state.tag.delimiters;return r.transformTag.call(this,t[0]),t[0].prefix=t[0].prefix||this.state.tag?this.state.tag.prefix:(r.pattern.source||r.pattern)[0],e=this.createTagElem(t[0]),this.replaceTextWithNode(e)||this.DOM.input.appendChild(e),setTimeout((function(){return e.classList.add(n.settings.classNames.tagNoAnimation)}),300),this.value.push(t[0]),this.update(),!o&&setTimeout((function(){n.insertAfterTag(e),n.placeCaretAfterTag(e)}),this.isFirefox?100:0),this.state.tag=null,this.trigger("add",c({},{tag:e},{data:t[0]})),e},appendTag:function(t){var e=this.DOM.scope.lastElementChild;e===this.DOM.input?this.DOM.scope.insertBefore(t,e):this.DOM.scope.appendChild(t)},createTagElem:function(t){var e,n=c({},t,{value:s(t.value)});return this.settings.readonly&&(t.readonly=!0),e=this.parseTemplate("tag",[n]),this.tagData(e,t),e},reCheckInvalidTags:function(){var t=this,e=this.settings,n=".".concat(e.classNames.tag,".").concat(e.classNames.tagNotAllowed),r=this.DOM.scope.querySelectorAll(n);[].forEach.call(r,(function(e){var n=t.tagData(e),r=e.getAttribute("title")==t.TEXTS.duplicate,o=!0===t.validateTag(n);r&&o&&(n=n.__preInvalidData?n.__preInvalidData:{value:n.value},t.replaceTag(e,n))}))},removeTags:function(t,e,n){var r,o=this;t=t&&t instanceof HTMLElement?[t]:t instanceof Array?t:t?[t]:[this.getLastTag()],r=t.reduce((function(t,e){return e&&"string"==typeof e&&(e=o.getTagElmByValue(e)),e&&t.push({node:e,idx:o.getTagIdx(o.tagData(e)),data:o.tagData(e,{__removed:!0})}),t}),[]),n="number"==typeof n?n:this.CSSVars.tagHideTransition,"select"==this.settings.mode&&(n=0,this.input.set.call(this)),1==r.length&&r[0].node.classList.contains(this.settings.classNames.tagNotAllowed)&&(e=!0),r.length&&this.settings.hooks.beforeRemoveTag(r,{tagify:this}).then((function(){function t(t){t.node.parentNode&&(t.node.parentNode.removeChild(t.node),e?this.settings.keepInvalidTags&&this.trigger("remove",{tag:t.node,index:t.idx}):(this.trigger("remove",{tag:t.node,index:t.idx,data:t.data}),this.dropdown.refilter.call(this),this.dropdown.position.call(this),this.DOM.input.normalize(),this.settings.keepInvalidTags&&this.reCheckInvalidTags()))}n&&n>10&&1==r.length?function(e){e.node.style.width=parseFloat(window.getComputedStyle(e.node).width)+"px",document.body.clientTop,e.node.classList.add(this.settings.classNames.tagHide),setTimeout(t.bind(this),n,e)}.call(o,r[0]):r.forEach(t.bind(o)),e||(r.forEach((function(t){var e=Object.assign({},t.data);delete e.__removed;var n=o.getTagIdx(e);n>-1&&o.value.splice(n,1)})),o.update())})).catch((function(t){}))},removeAllTags:function(){this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":Array.prototype.slice.call(this.getTagElms()).forEach((function(t){return t.parentNode.removeChild(t)})),this.dropdown.position.call(this),"select"==this.settings.mode&&this.input.set.call(this),this.update()},postUpdate:function(){var t=this.settings.classNames,e="mix"==this.settings.mode?this.DOM.originalInput.value:this.value.length;this.DOM.scope.classList.toggle(t.hasMaxTags,this.value.length>=this.settings.maxTags),this.DOM.scope.classList.toggle(t.hasNoTags,!this.value.length),this.DOM.scope.classList.toggle(t.empty,!e)},update:function(t){var e,n,r=this.DOM.originalInput,o=(t||{}).withoutChangeEvent,i=(e=this.value,n=["__isValid","__removed"],e.map((function(t){var e={};for(var r in t)n.indexOf(r)<0&&(e[r]=t[r]);return e})));r.value="mix"==this.settings.mode?this.getMixedTagsAsString(i):i.length?this.settings.originalInputValueFormat?this.settings.originalInputValueFormat(i):JSON.stringify(i):"",this.postUpdate(),!o&&this.state.loadedOriginalValues&&this.triggerChangeEvent()},getMixedTagsAsString:function(){var t="",e=this,n=this.settings.mixTagsInterpolator;return function r(o){o.childNodes.forEach((function(o){if(1==o.nodeType){if(o.classList.contains(e.settings.classNames.tag)&&e.tagData(o)){if(e.tagData(o).__removed)return;return void(t+=n[0]+JSON.stringify(o.__tagifyTagData)+n[1])}"BR"!=o.tagName||o.parentNode!=e.DOM.input&&1!=o.parentNode.childNodes.length?"DIV"!=o.tagName&&"P"!=o.tagName||(t+="\r\n",r(o)):t+="\r\n"}else t+=o.textContent}))}(this.DOM.input),t}},h.prototype.removeTag=h.prototype.removeTags,h}()},function(t,e,n){t.exports=n(212)},function(t,e,n){"use strict";var r=n(1),o=n(139),i=n(214),a=n(7);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(a);c.Axios=i,c.create=function(t){return s(r.merge(a,t))},c.Cancel=n(144),c.CancelToken=n(227),c.isCancel=n(143),c.all=function(t){return Promise.all(t)},c.spread=n(228),t.exports=c,t.exports.default=c},function(t,e){t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";var r=n(7),o=n(1),i=n(222),a=n(223);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],(function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}})),o.forEach(["post","put","patch"],(function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=s},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(142);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},function(t,e,n){"use strict";var r=n(1);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";var r=n(1),o=["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"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{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 t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(1);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(1),o=n(224),i=n(143),a=n(7),s=n(225),c=n(226);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return u(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(144);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){(function(e){var n;window,n=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){!function(t){"use strict";var e=function(t){var e,n=new Float64Array(16);if(t)for(e=0;e<t.length;e++)n[e]=t[e];return n},r=function(){throw new Error("no PRNG")},o=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var a=e(),s=e([1]),c=e([56129,1]),u=e([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),l=e([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=e([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),f=e([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),h=e([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function p(t,e,n,r){t[e]=n>>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n,t[e+4]=r>>24&255,t[e+5]=r>>16&255,t[e+6]=r>>8&255,t[e+7]=255&r}function m(t,e,n,r,o){var i,a=0;for(i=0;i<o;i++)a|=t[e+i]^n[r+i];return(1&a-1>>>8)-1}function g(t,e,n,r){return m(t,e,n,r,16)}function v(t,e,n,r){return m(t,e,n,r,32)}function b(t,e,n,r){!function(t,e,n,r){for(var o,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,l=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,f=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,h=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,p=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,g=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,v=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,b=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,y=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,M=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,_=i,w=a,x=s,A=c,L=u,T=l,k=d,S=f,O=h,C=p,z=m,D=g,E=v,N=b,B=y,P=M,R=0;R<20;R+=2)_^=(o=(E^=(o=(O^=(o=(L^=(o=_+E|0)<<7|o>>>25)+_|0)<<9|o>>>23)+L|0)<<13|o>>>19)+O|0)<<18|o>>>14,T^=(o=(w^=(o=(N^=(o=(C^=(o=T+w|0)<<7|o>>>25)+T|0)<<9|o>>>23)+C|0)<<13|o>>>19)+N|0)<<18|o>>>14,z^=(o=(k^=(o=(x^=(o=(B^=(o=z+k|0)<<7|o>>>25)+z|0)<<9|o>>>23)+B|0)<<13|o>>>19)+x|0)<<18|o>>>14,P^=(o=(D^=(o=(S^=(o=(A^=(o=P+D|0)<<7|o>>>25)+P|0)<<9|o>>>23)+A|0)<<13|o>>>19)+S|0)<<18|o>>>14,_^=(o=(A^=(o=(x^=(o=(w^=(o=_+A|0)<<7|o>>>25)+_|0)<<9|o>>>23)+w|0)<<13|o>>>19)+x|0)<<18|o>>>14,T^=(o=(L^=(o=(S^=(o=(k^=(o=T+L|0)<<7|o>>>25)+T|0)<<9|o>>>23)+k|0)<<13|o>>>19)+S|0)<<18|o>>>14,z^=(o=(C^=(o=(O^=(o=(D^=(o=z+C|0)<<7|o>>>25)+z|0)<<9|o>>>23)+D|0)<<13|o>>>19)+O|0)<<18|o>>>14,P^=(o=(B^=(o=(N^=(o=(E^=(o=P+B|0)<<7|o>>>25)+P|0)<<9|o>>>23)+E|0)<<13|o>>>19)+N|0)<<18|o>>>14;_=_+i|0,w=w+a|0,x=x+s|0,A=A+c|0,L=L+u|0,T=T+l|0,k=k+d|0,S=S+f|0,O=O+h|0,C=C+p|0,z=z+m|0,D=D+g|0,E=E+v|0,N=N+b|0,B=B+y|0,P=P+M|0,t[0]=_>>>0&255,t[1]=_>>>8&255,t[2]=_>>>16&255,t[3]=_>>>24&255,t[4]=w>>>0&255,t[5]=w>>>8&255,t[6]=w>>>16&255,t[7]=w>>>24&255,t[8]=x>>>0&255,t[9]=x>>>8&255,t[10]=x>>>16&255,t[11]=x>>>24&255,t[12]=A>>>0&255,t[13]=A>>>8&255,t[14]=A>>>16&255,t[15]=A>>>24&255,t[16]=L>>>0&255,t[17]=L>>>8&255,t[18]=L>>>16&255,t[19]=L>>>24&255,t[20]=T>>>0&255,t[21]=T>>>8&255,t[22]=T>>>16&255,t[23]=T>>>24&255,t[24]=k>>>0&255,t[25]=k>>>8&255,t[26]=k>>>16&255,t[27]=k>>>24&255,t[28]=S>>>0&255,t[29]=S>>>8&255,t[30]=S>>>16&255,t[31]=S>>>24&255,t[32]=O>>>0&255,t[33]=O>>>8&255,t[34]=O>>>16&255,t[35]=O>>>24&255,t[36]=C>>>0&255,t[37]=C>>>8&255,t[38]=C>>>16&255,t[39]=C>>>24&255,t[40]=z>>>0&255,t[41]=z>>>8&255,t[42]=z>>>16&255,t[43]=z>>>24&255,t[44]=D>>>0&255,t[45]=D>>>8&255,t[46]=D>>>16&255,t[47]=D>>>24&255,t[48]=E>>>0&255,t[49]=E>>>8&255,t[50]=E>>>16&255,t[51]=E>>>24&255,t[52]=N>>>0&255,t[53]=N>>>8&255,t[54]=N>>>16&255,t[55]=N>>>24&255,t[56]=B>>>0&255,t[57]=B>>>8&255,t[58]=B>>>16&255,t[59]=B>>>24&255,t[60]=P>>>0&255,t[61]=P>>>8&255,t[62]=P>>>16&255,t[63]=P>>>24&255}(t,e,n,r)}function y(t,e,n,r){!function(t,e,n,r){for(var o,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,l=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,f=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,h=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,p=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,g=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,v=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,b=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,y=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,M=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,_=0;_<20;_+=2)i^=(o=(v^=(o=(h^=(o=(u^=(o=i+v|0)<<7|o>>>25)+i|0)<<9|o>>>23)+u|0)<<13|o>>>19)+h|0)<<18|o>>>14,l^=(o=(a^=(o=(b^=(o=(p^=(o=l+a|0)<<7|o>>>25)+l|0)<<9|o>>>23)+p|0)<<13|o>>>19)+b|0)<<18|o>>>14,m^=(o=(d^=(o=(s^=(o=(y^=(o=m+d|0)<<7|o>>>25)+m|0)<<9|o>>>23)+y|0)<<13|o>>>19)+s|0)<<18|o>>>14,M^=(o=(g^=(o=(f^=(o=(c^=(o=M+g|0)<<7|o>>>25)+M|0)<<9|o>>>23)+c|0)<<13|o>>>19)+f|0)<<18|o>>>14,i^=(o=(c^=(o=(s^=(o=(a^=(o=i+c|0)<<7|o>>>25)+i|0)<<9|o>>>23)+a|0)<<13|o>>>19)+s|0)<<18|o>>>14,l^=(o=(u^=(o=(f^=(o=(d^=(o=l+u|0)<<7|o>>>25)+l|0)<<9|o>>>23)+d|0)<<13|o>>>19)+f|0)<<18|o>>>14,m^=(o=(p^=(o=(h^=(o=(g^=(o=m+p|0)<<7|o>>>25)+m|0)<<9|o>>>23)+g|0)<<13|o>>>19)+h|0)<<18|o>>>14,M^=(o=(y^=(o=(b^=(o=(v^=(o=M+y|0)<<7|o>>>25)+M|0)<<9|o>>>23)+v|0)<<13|o>>>19)+b|0)<<18|o>>>14;t[0]=i>>>0&255,t[1]=i>>>8&255,t[2]=i>>>16&255,t[3]=i>>>24&255,t[4]=l>>>0&255,t[5]=l>>>8&255,t[6]=l>>>16&255,t[7]=l>>>24&255,t[8]=m>>>0&255,t[9]=m>>>8&255,t[10]=m>>>16&255,t[11]=m>>>24&255,t[12]=M>>>0&255,t[13]=M>>>8&255,t[14]=M>>>16&255,t[15]=M>>>24&255,t[16]=d>>>0&255,t[17]=d>>>8&255,t[18]=d>>>16&255,t[19]=d>>>24&255,t[20]=f>>>0&255,t[21]=f>>>8&255,t[22]=f>>>16&255,t[23]=f>>>24&255,t[24]=h>>>0&255,t[25]=h>>>8&255,t[26]=h>>>16&255,t[27]=h>>>24&255,t[28]=p>>>0&255,t[29]=p>>>8&255,t[30]=p>>>16&255,t[31]=p>>>24&255}(t,e,n,r)}var M=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function _(t,e,n,r,o,i,a){var s,c,u=new Uint8Array(16),l=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=i[c];for(;o>=64;){for(b(l,u,a,M),c=0;c<64;c++)t[e+c]=n[r+c]^l[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;o-=64,e+=64,r+=64}if(o>0)for(b(l,u,a,M),c=0;c<o;c++)t[e+c]=n[r+c]^l[c];return 0}function w(t,e,n,r,o){var i,a,s=new Uint8Array(16),c=new Uint8Array(64);for(a=0;a<16;a++)s[a]=0;for(a=0;a<8;a++)s[a]=r[a];for(;n>=64;){for(b(c,s,o,M),a=0;a<64;a++)t[e+a]=c[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;n-=64,e+=64}if(n>0)for(b(c,s,o,M),a=0;a<n;a++)t[e+a]=c[a];return 0}function x(t,e,n,r,o){var i=new Uint8Array(32);y(i,r,o,M);for(var a=new Uint8Array(8),s=0;s<8;s++)a[s]=r[s+16];return w(t,e,n,a,i)}function A(t,e,n,r,o,i,a){var s=new Uint8Array(32);y(s,i,a,M);for(var c=new Uint8Array(8),u=0;u<8;u++)c[u]=i[u+16];return _(t,e,n,r,o,c,s)}var L=function(t){var e,n,r,o,i,a,s,c;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,e=255&t[0]|(255&t[1])<<8,this.r[0]=8191&e,n=255&t[2]|(255&t[3])<<8,this.r[1]=8191&(e>>>13|n<<3),r=255&t[4]|(255&t[5])<<8,this.r[2]=7939&(n>>>10|r<<6),o=255&t[6]|(255&t[7])<<8,this.r[3]=8191&(r>>>7|o<<9),i=255&t[8]|(255&t[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&t[10]|(255&t[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&t[12]|(255&t[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&t[14]|(255&t[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&t[16]|(255&t[17])<<8,this.pad[1]=255&t[18]|(255&t[19])<<8,this.pad[2]=255&t[20]|(255&t[21])<<8,this.pad[3]=255&t[22]|(255&t[23])<<8,this.pad[4]=255&t[24]|(255&t[25])<<8,this.pad[5]=255&t[26]|(255&t[27])<<8,this.pad[6]=255&t[28]|(255&t[29])<<8,this.pad[7]=255&t[30]|(255&t[31])<<8};function T(t,e,n,r,o,i){var a=new L(i);return a.update(n,r,o),a.finish(t,e),0}function k(t,e,n,r,o,i){var a=new Uint8Array(16);return T(a,0,n,r,o,i),g(t,e,a,0)}function S(t,e,n,r,o){var i;if(n<32)return-1;for(A(t,0,e,0,n,r,o),T(t,16,t,32,n-32,t),i=0;i<16;i++)t[i]=0;return 0}function O(t,e,n,r,o){var i,a=new Uint8Array(32);if(n<32)return-1;if(x(a,0,32,r,o),0!==k(e,16,e,32,n-32,a))return-1;for(A(t,0,e,0,n,r,o),i=0;i<32;i++)t[i]=0;return 0}function C(t,e){var n;for(n=0;n<16;n++)t[n]=0|e[n]}function z(t){var e,n,r=1;for(e=0;e<16;e++)n=t[e]+r+65535,r=Math.floor(n/65536),t[e]=n-65536*r;t[0]+=r-1+37*(r-1)}function D(t,e,n){for(var r,o=~(n-1),i=0;i<16;i++)r=o&(t[i]^e[i]),t[i]^=r,e[i]^=r}function E(t,n){var r,o,i,a=e(),s=e();for(r=0;r<16;r++)s[r]=n[r];for(z(s),z(s),z(s),o=0;o<2;o++){for(a[0]=s[0]-65517,r=1;r<15;r++)a[r]=s[r]-65535-(a[r-1]>>16&1),a[r-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,D(s,a,1-i)}for(r=0;r<16;r++)t[2*r]=255&s[r],t[2*r+1]=s[r]>>8}function N(t,e){var n=new Uint8Array(32),r=new Uint8Array(32);return E(n,t),E(r,e),v(n,0,r,0)}function B(t){var e=new Uint8Array(32);return E(e,t),1&e[0]}function P(t,e){var n;for(n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function R(t,e,n){for(var r=0;r<16;r++)t[r]=e[r]+n[r]}function Y(t,e,n){for(var r=0;r<16;r++)t[r]=e[r]-n[r]}function W(t,e,n){var r,o,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,m=0,g=0,v=0,b=0,y=0,M=0,_=0,w=0,x=0,A=0,L=0,T=0,k=0,S=0,O=0,C=0,z=0,D=0,E=0,N=0,B=0,P=n[0],R=n[1],Y=n[2],W=n[3],H=n[4],q=n[5],I=n[6],j=n[7],X=n[8],F=n[9],U=n[10],V=n[11],G=n[12],$=n[13],K=n[14],J=n[15];i+=(r=e[0])*P,a+=r*R,s+=r*Y,c+=r*W,u+=r*H,l+=r*q,d+=r*I,f+=r*j,h+=r*X,p+=r*F,m+=r*U,g+=r*V,v+=r*G,b+=r*$,y+=r*K,M+=r*J,a+=(r=e[1])*P,s+=r*R,c+=r*Y,u+=r*W,l+=r*H,d+=r*q,f+=r*I,h+=r*j,p+=r*X,m+=r*F,g+=r*U,v+=r*V,b+=r*G,y+=r*$,M+=r*K,_+=r*J,s+=(r=e[2])*P,c+=r*R,u+=r*Y,l+=r*W,d+=r*H,f+=r*q,h+=r*I,p+=r*j,m+=r*X,g+=r*F,v+=r*U,b+=r*V,y+=r*G,M+=r*$,_+=r*K,w+=r*J,c+=(r=e[3])*P,u+=r*R,l+=r*Y,d+=r*W,f+=r*H,h+=r*q,p+=r*I,m+=r*j,g+=r*X,v+=r*F,b+=r*U,y+=r*V,M+=r*G,_+=r*$,w+=r*K,x+=r*J,u+=(r=e[4])*P,l+=r*R,d+=r*Y,f+=r*W,h+=r*H,p+=r*q,m+=r*I,g+=r*j,v+=r*X,b+=r*F,y+=r*U,M+=r*V,_+=r*G,w+=r*$,x+=r*K,A+=r*J,l+=(r=e[5])*P,d+=r*R,f+=r*Y,h+=r*W,p+=r*H,m+=r*q,g+=r*I,v+=r*j,b+=r*X,y+=r*F,M+=r*U,_+=r*V,w+=r*G,x+=r*$,A+=r*K,L+=r*J,d+=(r=e[6])*P,f+=r*R,h+=r*Y,p+=r*W,m+=r*H,g+=r*q,v+=r*I,b+=r*j,y+=r*X,M+=r*F,_+=r*U,w+=r*V,x+=r*G,A+=r*$,L+=r*K,T+=r*J,f+=(r=e[7])*P,h+=r*R,p+=r*Y,m+=r*W,g+=r*H,v+=r*q,b+=r*I,y+=r*j,M+=r*X,_+=r*F,w+=r*U,x+=r*V,A+=r*G,L+=r*$,T+=r*K,k+=r*J,h+=(r=e[8])*P,p+=r*R,m+=r*Y,g+=r*W,v+=r*H,b+=r*q,y+=r*I,M+=r*j,_+=r*X,w+=r*F,x+=r*U,A+=r*V,L+=r*G,T+=r*$,k+=r*K,S+=r*J,p+=(r=e[9])*P,m+=r*R,g+=r*Y,v+=r*W,b+=r*H,y+=r*q,M+=r*I,_+=r*j,w+=r*X,x+=r*F,A+=r*U,L+=r*V,T+=r*G,k+=r*$,S+=r*K,O+=r*J,m+=(r=e[10])*P,g+=r*R,v+=r*Y,b+=r*W,y+=r*H,M+=r*q,_+=r*I,w+=r*j,x+=r*X,A+=r*F,L+=r*U,T+=r*V,k+=r*G,S+=r*$,O+=r*K,C+=r*J,g+=(r=e[11])*P,v+=r*R,b+=r*Y,y+=r*W,M+=r*H,_+=r*q,w+=r*I,x+=r*j,A+=r*X,L+=r*F,T+=r*U,k+=r*V,S+=r*G,O+=r*$,C+=r*K,z+=r*J,v+=(r=e[12])*P,b+=r*R,y+=r*Y,M+=r*W,_+=r*H,w+=r*q,x+=r*I,A+=r*j,L+=r*X,T+=r*F,k+=r*U,S+=r*V,O+=r*G,C+=r*$,z+=r*K,D+=r*J,b+=(r=e[13])*P,y+=r*R,M+=r*Y,_+=r*W,w+=r*H,x+=r*q,A+=r*I,L+=r*j,T+=r*X,k+=r*F,S+=r*U,O+=r*V,C+=r*G,z+=r*$,D+=r*K,E+=r*J,y+=(r=e[14])*P,M+=r*R,_+=r*Y,w+=r*W,x+=r*H,A+=r*q,L+=r*I,T+=r*j,k+=r*X,S+=r*F,O+=r*U,C+=r*V,z+=r*G,D+=r*$,E+=r*K,N+=r*J,M+=(r=e[15])*P,a+=38*(w+=r*Y),s+=38*(x+=r*W),c+=38*(A+=r*H),u+=38*(L+=r*q),l+=38*(T+=r*I),d+=38*(k+=r*j),f+=38*(S+=r*X),h+=38*(O+=r*F),p+=38*(C+=r*U),m+=38*(z+=r*V),g+=38*(D+=r*G),v+=38*(E+=r*$),b+=38*(N+=r*K),y+=38*(B+=r*J),i=(r=(i+=38*(_+=r*R))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=s+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),v=(r=v+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),M=(r=M+o+65535)-65536*(o=Math.floor(r/65536)),i=(r=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=s+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),v=(r=v+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),M=(r=M+o+65535)-65536*(o=Math.floor(r/65536)),i+=o-1+37*(o-1),t[0]=i,t[1]=a,t[2]=s,t[3]=c,t[4]=u,t[5]=l,t[6]=d,t[7]=f,t[8]=h,t[9]=p,t[10]=m,t[11]=g,t[12]=v,t[13]=b,t[14]=y,t[15]=M}function H(t,e){W(t,e,e)}function q(t,n){var r,o=e();for(r=0;r<16;r++)o[r]=n[r];for(r=253;r>=0;r--)H(o,o),2!==r&&4!==r&&W(o,o,n);for(r=0;r<16;r++)t[r]=o[r]}function I(t,n,r){var o,i,a=new Uint8Array(32),s=new Float64Array(80),u=e(),l=e(),d=e(),f=e(),h=e(),p=e();for(i=0;i<31;i++)a[i]=n[i];for(a[31]=127&n[31]|64,a[0]&=248,P(s,r),i=0;i<16;i++)l[i]=s[i],f[i]=u[i]=d[i]=0;for(u[0]=f[0]=1,i=254;i>=0;--i)D(u,l,o=a[i>>>3]>>>(7&i)&1),D(d,f,o),R(h,u,d),Y(u,u,d),R(d,l,f),Y(l,l,f),H(f,h),H(p,u),W(u,d,u),W(d,l,h),R(h,u,d),Y(u,u,d),H(l,u),Y(d,f,p),W(u,d,c),R(u,u,f),W(d,d,u),W(u,f,p),W(f,l,s),H(l,h),D(u,l,o),D(d,f,o);for(i=0;i<16;i++)s[i+16]=u[i],s[i+32]=d[i],s[i+48]=l[i],s[i+64]=f[i];var m=s.subarray(32),g=s.subarray(16);return q(m,m),W(g,g,m),E(t,g),0}function j(t,e){return I(t,e,i)}function X(t,e){return r(e,32),j(t,e)}function F(t,e,n){var r=new Uint8Array(32);return I(r,n,e),y(t,o,r,M)}L.prototype.blocks=function(t,e,n){for(var r,o,i,a,s,c,u,l,d,f,h,p,m,g,v,b,y,M,_,w=this.fin?0:2048,x=this.h[0],A=this.h[1],L=this.h[2],T=this.h[3],k=this.h[4],S=this.h[5],O=this.h[6],C=this.h[7],z=this.h[8],D=this.h[9],E=this.r[0],N=this.r[1],B=this.r[2],P=this.r[3],R=this.r[4],Y=this.r[5],W=this.r[6],H=this.r[7],q=this.r[8],I=this.r[9];n>=16;)f=d=0,f+=(x+=8191&(r=255&t[e+0]|(255&t[e+1])<<8))*E,f+=(A+=8191&(r>>>13|(o=255&t[e+2]|(255&t[e+3])<<8)<<3))*(5*I),f+=(L+=8191&(o>>>10|(i=255&t[e+4]|(255&t[e+5])<<8)<<6))*(5*q),f+=(T+=8191&(i>>>7|(a=255&t[e+6]|(255&t[e+7])<<8)<<9))*(5*H),d=(f+=(k+=8191&(a>>>4|(s=255&t[e+8]|(255&t[e+9])<<8)<<12))*(5*W))>>>13,f&=8191,f+=(S+=s>>>1&8191)*(5*Y),f+=(O+=8191&(s>>>14|(c=255&t[e+10]|(255&t[e+11])<<8)<<2))*(5*R),f+=(C+=8191&(c>>>11|(u=255&t[e+12]|(255&t[e+13])<<8)<<5))*(5*P),f+=(z+=8191&(u>>>8|(l=255&t[e+14]|(255&t[e+15])<<8)<<8))*(5*B),h=d+=(f+=(D+=l>>>5|w)*(5*N))>>>13,h+=x*N,h+=A*E,h+=L*(5*I),h+=T*(5*q),d=(h+=k*(5*H))>>>13,h&=8191,h+=S*(5*W),h+=O*(5*Y),h+=C*(5*R),h+=z*(5*P),d+=(h+=D*(5*B))>>>13,h&=8191,p=d,p+=x*B,p+=A*N,p+=L*E,p+=T*(5*I),d=(p+=k*(5*q))>>>13,p&=8191,p+=S*(5*H),p+=O*(5*W),p+=C*(5*Y),p+=z*(5*R),m=d+=(p+=D*(5*P))>>>13,m+=x*P,m+=A*B,m+=L*N,m+=T*E,d=(m+=k*(5*I))>>>13,m&=8191,m+=S*(5*q),m+=O*(5*H),m+=C*(5*W),m+=z*(5*Y),g=d+=(m+=D*(5*R))>>>13,g+=x*R,g+=A*P,g+=L*B,g+=T*N,d=(g+=k*E)>>>13,g&=8191,g+=S*(5*I),g+=O*(5*q),g+=C*(5*H),g+=z*(5*W),v=d+=(g+=D*(5*Y))>>>13,v+=x*Y,v+=A*R,v+=L*P,v+=T*B,d=(v+=k*N)>>>13,v&=8191,v+=S*E,v+=O*(5*I),v+=C*(5*q),v+=z*(5*H),b=d+=(v+=D*(5*W))>>>13,b+=x*W,b+=A*Y,b+=L*R,b+=T*P,d=(b+=k*B)>>>13,b&=8191,b+=S*N,b+=O*E,b+=C*(5*I),b+=z*(5*q),y=d+=(b+=D*(5*H))>>>13,y+=x*H,y+=A*W,y+=L*Y,y+=T*R,d=(y+=k*P)>>>13,y&=8191,y+=S*B,y+=O*N,y+=C*E,y+=z*(5*I),M=d+=(y+=D*(5*q))>>>13,M+=x*q,M+=A*H,M+=L*W,M+=T*Y,d=(M+=k*R)>>>13,M&=8191,M+=S*P,M+=O*B,M+=C*N,M+=z*E,_=d+=(M+=D*(5*I))>>>13,_+=x*I,_+=A*q,_+=L*H,_+=T*W,d=(_+=k*Y)>>>13,_&=8191,_+=S*R,_+=O*P,_+=C*B,_+=z*N,x=f=8191&(d=(d=((d+=(_+=D*E)>>>13)<<2)+d|0)+(f&=8191)|0),A=h+=d>>>=13,L=p&=8191,T=m&=8191,k=g&=8191,S=v&=8191,O=b&=8191,C=y&=8191,z=M&=8191,D=_&=8191,e+=16,n-=16;this.h[0]=x,this.h[1]=A,this.h[2]=L,this.h[3]=T,this.h[4]=k,this.h[5]=S,this.h[6]=O,this.h[7]=C,this.h[8]=z,this.h[9]=D},L.prototype.finish=function(t,e){var n,r,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=n,n=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+n,n=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,r=(1^n)-1,i=0;i<10;i++)a[i]&=r;for(r=~r,i=0;i<10;i++)this.h[i]=this.h[i]&r|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;t[e+0]=this.h[0]>>>0&255,t[e+1]=this.h[0]>>>8&255,t[e+2]=this.h[1]>>>0&255,t[e+3]=this.h[1]>>>8&255,t[e+4]=this.h[2]>>>0&255,t[e+5]=this.h[2]>>>8&255,t[e+6]=this.h[3]>>>0&255,t[e+7]=this.h[3]>>>8&255,t[e+8]=this.h[4]>>>0&255,t[e+9]=this.h[4]>>>8&255,t[e+10]=this.h[5]>>>0&255,t[e+11]=this.h[5]>>>8&255,t[e+12]=this.h[6]>>>0&255,t[e+13]=this.h[6]>>>8&255,t[e+14]=this.h[7]>>>0&255,t[e+15]=this.h[7]>>>8&255},L.prototype.update=function(t,e,n){var r,o;if(this.leftover){for((o=16-this.leftover)>n&&(o=n),r=0;r<o;r++)this.buffer[this.leftover+r]=t[e+r];if(n-=o,e+=o,this.leftover+=o,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(o=n-n%16,this.blocks(t,e,o),e+=o,n-=o),n){for(r=0;r<n;r++)this.buffer[this.leftover+r]=t[e+r];this.leftover+=n}};var U=S,V=O,G=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function $(t,e,n,r){for(var o,i,a,s,c,u,l,d,f,h,p,m,g,v,b,y,M,_,w,x,A,L,T,k,S,O,C=new Int32Array(16),z=new Int32Array(16),D=t[0],E=t[1],N=t[2],B=t[3],P=t[4],R=t[5],Y=t[6],W=t[7],H=e[0],q=e[1],I=e[2],j=e[3],X=e[4],F=e[5],U=e[6],V=e[7],$=0;r>=128;){for(w=0;w<16;w++)x=8*w+$,C[w]=n[x+0]<<24|n[x+1]<<16|n[x+2]<<8|n[x+3],z[w]=n[x+4]<<24|n[x+5]<<16|n[x+6]<<8|n[x+7];for(w=0;w<80;w++)if(o=D,i=E,a=N,s=B,c=P,u=R,l=Y,f=H,h=q,p=I,m=j,g=X,v=F,b=U,T=65535&(L=V),k=L>>>16,S=65535&(A=W),O=A>>>16,T+=65535&(L=(X>>>14|P<<18)^(X>>>18|P<<14)^(P>>>9|X<<23)),k+=L>>>16,S+=65535&(A=(P>>>14|X<<18)^(P>>>18|X<<14)^(X>>>9|P<<23)),O+=A>>>16,T+=65535&(L=X&F^~X&U),k+=L>>>16,S+=65535&(A=P&R^~P&Y),O+=A>>>16,T+=65535&(L=G[2*w+1]),k+=L>>>16,S+=65535&(A=G[2*w]),O+=A>>>16,A=C[w%16],k+=(L=z[w%16])>>>16,S+=65535&A,O+=A>>>16,S+=(k+=(T+=65535&L)>>>16)>>>16,T=65535&(L=_=65535&T|k<<16),k=L>>>16,S=65535&(A=M=65535&S|(O+=S>>>16)<<16),O=A>>>16,T+=65535&(L=(H>>>28|D<<4)^(D>>>2|H<<30)^(D>>>7|H<<25)),k+=L>>>16,S+=65535&(A=(D>>>28|H<<4)^(H>>>2|D<<30)^(H>>>7|D<<25)),O+=A>>>16,k+=(L=H&q^H&I^q&I)>>>16,S+=65535&(A=D&E^D&N^E&N),O+=A>>>16,d=65535&(S+=(k+=(T+=65535&L)>>>16)>>>16)|(O+=S>>>16)<<16,y=65535&T|k<<16,T=65535&(L=m),k=L>>>16,S=65535&(A=s),O=A>>>16,k+=(L=_)>>>16,S+=65535&(A=M),O+=A>>>16,E=o,N=i,B=a,P=s=65535&(S+=(k+=(T+=65535&L)>>>16)>>>16)|(O+=S>>>16)<<16,R=c,Y=u,W=l,D=d,q=f,I=h,j=p,X=m=65535&T|k<<16,F=g,U=v,V=b,H=y,w%16==15)for(x=0;x<16;x++)A=C[x],T=65535&(L=z[x]),k=L>>>16,S=65535&A,O=A>>>16,A=C[(x+9)%16],T+=65535&(L=z[(x+9)%16]),k+=L>>>16,S+=65535&A,O+=A>>>16,M=C[(x+1)%16],T+=65535&(L=((_=z[(x+1)%16])>>>1|M<<31)^(_>>>8|M<<24)^(_>>>7|M<<25)),k+=L>>>16,S+=65535&(A=(M>>>1|_<<31)^(M>>>8|_<<24)^M>>>7),O+=A>>>16,M=C[(x+14)%16],k+=(L=((_=z[(x+14)%16])>>>19|M<<13)^(M>>>29|_<<3)^(_>>>6|M<<26))>>>16,S+=65535&(A=(M>>>19|_<<13)^(_>>>29|M<<3)^M>>>6),O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,C[x]=65535&S|O<<16,z[x]=65535&T|k<<16;T=65535&(L=H),k=L>>>16,S=65535&(A=D),O=A>>>16,A=t[0],k+=(L=e[0])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[0]=D=65535&S|O<<16,e[0]=H=65535&T|k<<16,T=65535&(L=q),k=L>>>16,S=65535&(A=E),O=A>>>16,A=t[1],k+=(L=e[1])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[1]=E=65535&S|O<<16,e[1]=q=65535&T|k<<16,T=65535&(L=I),k=L>>>16,S=65535&(A=N),O=A>>>16,A=t[2],k+=(L=e[2])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[2]=N=65535&S|O<<16,e[2]=I=65535&T|k<<16,T=65535&(L=j),k=L>>>16,S=65535&(A=B),O=A>>>16,A=t[3],k+=(L=e[3])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[3]=B=65535&S|O<<16,e[3]=j=65535&T|k<<16,T=65535&(L=X),k=L>>>16,S=65535&(A=P),O=A>>>16,A=t[4],k+=(L=e[4])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[4]=P=65535&S|O<<16,e[4]=X=65535&T|k<<16,T=65535&(L=F),k=L>>>16,S=65535&(A=R),O=A>>>16,A=t[5],k+=(L=e[5])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[5]=R=65535&S|O<<16,e[5]=F=65535&T|k<<16,T=65535&(L=U),k=L>>>16,S=65535&(A=Y),O=A>>>16,A=t[6],k+=(L=e[6])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[6]=Y=65535&S|O<<16,e[6]=U=65535&T|k<<16,T=65535&(L=V),k=L>>>16,S=65535&(A=W),O=A>>>16,A=t[7],k+=(L=e[7])>>>16,S+=65535&A,O+=A>>>16,O+=(S+=(k+=(T+=65535&L)>>>16)>>>16)>>>16,t[7]=W=65535&S|O<<16,e[7]=V=65535&T|k<<16,$+=128,r-=128}return r}function K(t,e,n){var r,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=n;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,$(o,i,e,n),n%=128,r=0;r<n;r++)a[r]=e[s-n+r];for(a[n]=128,a[(n=256-128*(n<112?1:0))-9]=0,p(a,n-8,s/536870912|0,s<<3),$(o,i,a,n),r=0;r<8;r++)p(t,8*r,o[r],i[r]);return 0}function J(t,n){var r=e(),o=e(),i=e(),a=e(),s=e(),c=e(),u=e(),d=e(),f=e();Y(r,t[1],t[0]),Y(f,n[1],n[0]),W(r,r,f),R(o,t[0],t[1]),R(f,n[0],n[1]),W(o,o,f),W(i,t[3],n[3]),W(i,i,l),W(a,t[2],n[2]),R(a,a,a),Y(s,o,r),Y(c,a,i),R(u,a,i),R(d,o,r),W(t[0],s,c),W(t[1],d,u),W(t[2],u,c),W(t[3],s,d)}function Q(t,e,n){var r;for(r=0;r<4;r++)D(t[r],e[r],n)}function Z(t,n){var r=e(),o=e(),i=e();q(i,n[2]),W(r,n[0],i),W(o,n[1],i),E(t,o),t[31]^=B(r)<<7}function tt(t,e,n){var r,o;for(C(t[0],a),C(t[1],s),C(t[2],s),C(t[3],a),o=255;o>=0;--o)Q(t,e,r=n[o/8|0]>>(7&o)&1),J(e,t),J(t,t),Q(t,e,r)}function et(t,n){var r=[e(),e(),e(),e()];C(r[0],d),C(r[1],f),C(r[2],s),W(r[3],d,f),tt(t,r,n)}function nt(t,n,o){var i,a=new Uint8Array(64),s=[e(),e(),e(),e()];for(o||r(n,32),K(a,n,32),a[0]&=248,a[31]&=127,a[31]|=64,et(s,a),Z(t,s),i=0;i<32;i++)n[i+32]=t[i];return 0}var rt,ot=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function it(t,e){var n,r,o,i;for(r=63;r>=32;--r){for(n=0,o=r-32,i=r-12;o<i;++o)e[o]+=n-16*e[r]*ot[o-(r-32)],n=e[o]+128>>8,e[o]-=256*n;e[o]+=n,e[r]=0}for(n=0,o=0;o<32;o++)e[o]+=n-(e[31]>>4)*ot[o],n=e[o]>>8,e[o]&=255;for(o=0;o<32;o++)e[o]-=n*ot[o];for(r=0;r<32;r++)e[r+1]+=e[r]>>8,t[r]=255&e[r]}function at(t){var e,n=new Float64Array(64);for(e=0;e<64;e++)n[e]=t[e];for(e=0;e<64;e++)t[e]=0;it(t,n)}function st(t,n,r,o){var i,a,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),d=[e(),e(),e(),e()];K(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var f=r+64;for(i=0;i<r;i++)t[64+i]=n[i];for(i=0;i<32;i++)t[32+i]=s[32+i];for(K(u,t.subarray(32),r+32),at(u),et(d,u),Z(t,d),i=32;i<64;i++)t[i]=o[i];for(K(c,t,r+64),at(c),i=0;i<64;i++)l[i]=0;for(i=0;i<32;i++)l[i]=u[i];for(i=0;i<32;i++)for(a=0;a<32;a++)l[i+a]+=c[i]*s[a];return it(t.subarray(32),l),f}function ct(t,n){var r=e(),o=e(),i=e(),c=e(),l=e(),d=e(),f=e();return C(t[2],s),P(t[1],n),H(i,t[1]),W(c,i,u),Y(i,i,t[2]),R(c,t[2],c),H(l,c),H(d,l),W(f,d,l),W(r,f,i),W(r,r,c),function(t,n){var r,o=e();for(r=0;r<16;r++)o[r]=n[r];for(r=250;r>=0;r--)H(o,o),1!==r&&W(o,o,n);for(r=0;r<16;r++)t[r]=o[r]}(r,r),W(r,r,i),W(r,r,c),W(r,r,c),W(t[0],r,c),H(o,t[0]),W(o,o,c),N(o,i)&&W(t[0],t[0],h),H(o,t[0]),W(o,o,c),N(o,i)?-1:(B(t[0])===n[31]>>7&&Y(t[0],a,t[0]),W(t[3],t[0],t[1]),0)}function ut(t,n,r,o){var i,a=new Uint8Array(32),s=new Uint8Array(64),c=[e(),e(),e(),e()],u=[e(),e(),e(),e()];if(r<64)return-1;if(ct(u,o))return-1;for(i=0;i<r;i++)t[i]=n[i];for(i=0;i<32;i++)t[i+32]=o[i];if(K(s,t,r),at(s),tt(c,u,s),et(u,n.subarray(32)),J(c,u),Z(a,c),r-=64,v(n,0,a,0)){for(i=0;i<r;i++)t[i]=0;return-1}for(i=0;i<r;i++)t[i]=n[i+64];return r}function lt(t,e){if(32!==t.length)throw new Error("bad key size");if(24!==e.length)throw new Error("bad nonce size")}function dt(){for(var t=0;t<arguments.length;t++)if(!(arguments[t]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function ft(t){for(var e=0;e<t.length;e++)t[e]=0}t.lowlevel={crypto_core_hsalsa20:y,crypto_stream_xor:A,crypto_stream:x,crypto_stream_salsa20_xor:_,crypto_stream_salsa20:w,crypto_onetimeauth:T,crypto_onetimeauth_verify:k,crypto_verify_16:g,crypto_verify_32:v,crypto_secretbox:S,crypto_secretbox_open:O,crypto_scalarmult:I,crypto_scalarmult_base:j,crypto_box_beforenm:F,crypto_box_afternm:U,crypto_box:function(t,e,n,r,o,i){var a=new Uint8Array(32);return F(a,o,i),U(t,e,n,r,a)},crypto_box_open:function(t,e,n,r,o,i){var a=new Uint8Array(32);return F(a,o,i),V(t,e,n,r,a)},crypto_box_keypair:X,crypto_hash:K,crypto_sign:st,crypto_sign_keypair:nt,crypto_sign_open:ut,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64},t.randomBytes=function(t){var e=new Uint8Array(t);return r(e,t),e},t.secretbox=function(t,e,n){dt(t,e,n),lt(n,e);for(var r=new Uint8Array(32+t.length),o=new Uint8Array(r.length),i=0;i<t.length;i++)r[i+32]=t[i];return S(o,r,r.length,e,n),o.subarray(16)},t.secretbox.open=function(t,e,n){dt(t,e,n),lt(n,e);for(var r=new Uint8Array(16+t.length),o=new Uint8Array(r.length),i=0;i<t.length;i++)r[i+16]=t[i];return r.length<32||0!==O(o,r,r.length,e,n)?null:o.subarray(32)},t.secretbox.keyLength=32,t.secretbox.nonceLength=24,t.secretbox.overheadLength=16,t.scalarMult=function(t,e){if(dt(t,e),32!==t.length)throw new Error("bad n size");if(32!==e.length)throw new Error("bad p size");var n=new Uint8Array(32);return I(n,t,e),n},t.scalarMult.base=function(t){if(dt(t),32!==t.length)throw new Error("bad n size");var e=new Uint8Array(32);return j(e,t),e},t.scalarMult.scalarLength=32,t.scalarMult.groupElementLength=32,t.box=function(e,n,r,o){var i=t.box.before(r,o);return t.secretbox(e,n,i)},t.box.before=function(t,e){dt(t,e),function(t,e){if(32!==t.length)throw new Error("bad public key size");if(32!==e.length)throw new Error("bad secret key size")}(t,e);var n=new Uint8Array(32);return F(n,t,e),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,o){var i=t.box.before(r,o);return t.secretbox.open(e,n,i)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var t=new Uint8Array(32),e=new Uint8Array(32);return X(t,e),{publicKey:t,secretKey:e}},t.box.keyPair.fromSecretKey=function(t){if(dt(t),32!==t.length)throw new Error("bad secret key size");var e=new Uint8Array(32);return j(e,t),{publicKey:e,secretKey:new Uint8Array(t)}},t.box.publicKeyLength=32,t.box.secretKeyLength=32,t.box.sharedKeyLength=32,t.box.nonceLength=24,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(t,e){if(dt(t,e),64!==e.length)throw new Error("bad secret key size");var n=new Uint8Array(64+t.length);return st(n,t,t.length,e),n},t.sign.open=function(t,e){if(dt(t,e),32!==e.length)throw new Error("bad public key size");var n=new Uint8Array(t.length),r=ut(n,t,t.length,e);if(r<0)return null;for(var o=new Uint8Array(r),i=0;i<o.length;i++)o[i]=n[i];return o},t.sign.detached=function(e,n){for(var r=t.sign(e,n),o=new Uint8Array(64),i=0;i<o.length;i++)o[i]=r[i];return o},t.sign.detached.verify=function(t,e,n){if(dt(t,e,n),64!==e.length)throw new Error("bad signature size");if(32!==n.length)throw new Error("bad public key size");var r,o=new Uint8Array(64+t.length),i=new Uint8Array(64+t.length);for(r=0;r<64;r++)o[r]=e[r];for(r=0;r<t.length;r++)o[r+64]=t[r];return ut(i,o,o.length,n)>=0},t.sign.keyPair=function(){var t=new Uint8Array(32),e=new Uint8Array(64);return nt(t,e),{publicKey:t,secretKey:e}},t.sign.keyPair.fromSecretKey=function(t){if(dt(t),64!==t.length)throw new Error("bad secret key size");for(var e=new Uint8Array(32),n=0;n<e.length;n++)e[n]=t[32+n];return{publicKey:e,secretKey:new Uint8Array(t)}},t.sign.keyPair.fromSeed=function(t){if(dt(t),32!==t.length)throw new Error("bad seed size");for(var e=new Uint8Array(32),n=new Uint8Array(64),r=0;r<32;r++)n[r]=t[r];return nt(e,n,!0),{publicKey:e,secretKey:n}},t.sign.publicKeyLength=32,t.sign.secretKeyLength=64,t.sign.seedLength=32,t.sign.signatureLength=64,t.hash=function(t){dt(t);var e=new Uint8Array(64);return K(e,t,t.length),e},t.hash.hashLength=64,t.verify=function(t,e){return dt(t,e),0!==t.length&&0!==e.length&&t.length===e.length&&0===m(t,0,e,0,t.length)},t.setPRNG=function(t){r=t},(rt="undefined"!=typeof self?self.crypto||self.msCrypto:null)&&rt.getRandomValues?t.setPRNG((function(t,e){var n,r=new Uint8Array(e);for(n=0;n<e;n+=65536)rt.getRandomValues(r.subarray(n,n+Math.min(e-n,65536)));for(n=0;n<e;n++)t[n]=r[n];ft(r)})):(rt=n(3))&&rt.randomBytes&&t.setPRNG((function(t,e){var n,r=rt.randomBytes(e);for(n=0;n<e;n++)t[n]=r[n];ft(r)}))}(t.exports?t.exports:self.nacl=self.nacl||{})},function(t,n,r){!function(e,n){"use strict";t.exports?t.exports=n():(e.nacl||(e.nacl={}),e.nacl.util=n())}(this,(function(){"use strict";var t={};function n(t){if(!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t))throw new TypeError("invalid encoding")}return t.decodeUTF8=function(t){if("string"!=typeof t)throw new TypeError("expected string");var e,n=unescape(encodeURIComponent(t)),r=new Uint8Array(n.length);for(e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r},t.encodeUTF8=function(t){var e,n=[];for(e=0;e<t.length;e++)n.push(String.fromCharCode(t[e]));return decodeURIComponent(escape(n.join("")))},"undefined"==typeof atob?void 0!==e.from?(t.encodeBase64=function(t){return e.from(t).toString("base64")},t.decodeBase64=function(t){return n(t),new Uint8Array(Array.prototype.slice.call(e.from(t,"base64"),0))}):(t.encodeBase64=function(t){return new e(t).toString("base64")},t.decodeBase64=function(t){return n(t),new Uint8Array(Array.prototype.slice.call(new e(t,"base64"),0))}):(t.encodeBase64=function(t){var e,n=[],r=t.length;for(e=0;e<r;e++)n.push(String.fromCharCode(t[e]));return btoa(n.join(""))},t.decodeBase64=function(t){n(t);var e,r=atob(t),o=new Uint8Array(r.length);for(e=0;e<r.length;e++)o[e]=r.charCodeAt(e);return o}),t}))},function(t,e,n){t.exports=n(4).default},function(t,e){},function(t,e,n){"use strict";n.r(e);for(var r=function(){function t(t,e){this.lastId=0,this.prefix=t,this.name=e}return t.prototype.create=function(t){this.lastId++;var e=this.lastId,n=this.prefix+e,r=this.name+"["+e+"]",o=!1,i=function(){o||(t.apply(null,arguments),o=!0)};return this[e]=i,{number:e,id:n,name:r,callback:i}},t.prototype.remove=function(t){delete this[t.number]},t}(),o=new r("_pusher_script_","Pusher.ScriptReceivers"),i={VERSION:"5.0.3",PROTOCOL:7,host:"ws.pusherapp.com",ws_port:80,wss_port:443,ws_path:"",sockjs_host:"sockjs.pusher.com",sockjs_http_port:80,sockjs_https_port:443,sockjs_path:"/pusher",stats_host:"stats.pusher.com",channel_auth_endpoint:"/pusher/auth",channel_auth_transport:"ajax",activity_timeout:12e4,pong_timeout:3e4,unavailable_timeout:1e4,cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},a=function(){function t(t){this.options=t,this.receivers=t.receivers||o,this.loading={}}return t.prototype.load=function(t,e,n){var r=this;if(r.loading[t]&&r.loading[t].length>0)r.loading[t].push(n);else{r.loading[t]=[n];var o=Me.createScriptRequest(r.getPath(t,e)),i=r.receivers.create((function(e){if(r.receivers.remove(i),r.loading[t]){var n=r.loading[t];delete r.loading[t];for(var a=function(t){t||o.cleanup()},s=0;s<n.length;s++)n[s](e,a)}}));o.send(i)}},t.prototype.getRoot=function(t){var e=Me.getDocument().location.protocol;return(t&&t.useTLS||"https:"===e?this.options.cdn_https:this.options.cdn_http).replace(/\/*$/,"")+"/"+this.options.version},t.prototype.getPath=function(t,e){return this.getRoot(e)+"/"+t+this.options.suffix+".js"},t}(),s=new r("_pusher_dependencies","Pusher.DependenciesReceivers"),c=new a({cdn_http:i.cdn_http,cdn_https:i.cdn_https,version:i.VERSION,suffix:i.dependency_suffix,receivers:s}),u=String.fromCharCode,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d={},f=0,h=l.length;f<h;f++)d[l.charAt(f)]=f;var p,m=function(t){var e=t.charCodeAt(0);return e<128?t:e<2048?u(192|e>>>6)+u(128|63&e):u(224|e>>>12&15)+u(128|e>>>6&63)+u(128|63&e)},g=function(t){return t.replace(/[^\x00-\x7F]/g,m)},v=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[l.charAt(n>>>18),l.charAt(n>>>12&63),e>=2?"=":l.charAt(n>>>6&63),e>=1?"=":l.charAt(63&n)].join("")},b=window.btoa||function(t){return t.replace(/[\s\S]{1,3}/g,v)},y=function(){function t(t,e,n,r){var o=this;this.clear=e,this.timer=t((function(){o.timer&&(o.timer=r(o.timer))}),n)}return t.prototype.isRunning=function(){return null!==this.timer},t.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},t}(),M=(p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function _(t){window.clearTimeout(t)}function w(t){window.clearInterval(t)}var x=function(t){function e(e,n){return t.call(this,setTimeout,_,e,(function(t){return n(),null}))||this}return M(e,t),e}(y),A=function(t){function e(e,n){return t.call(this,setInterval,w,e,(function(t){return n(),t}))||this}return M(e,t),e}(y),L={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(t){return new x(0,t)},method:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Array.prototype.slice.call(arguments,1);return function(e){return e[t].apply(e,r.concat(arguments))}}};function T(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++){var o=e[r];for(var i in o)o[i]&&o[i].constructor&&o[i].constructor===Object?t[i]=T(t[i]||{},o[i]):t[i]=o[i]}return t}function k(){for(var t=["Pusher"],e=0;e<arguments.length;e++)"string"==typeof arguments[e]?t.push(arguments[e]):t.push(Y(arguments[e]));return t.join(" : ")}function S(t,e){var n=Array.prototype.indexOf;if(null===t)return-1;if(n&&t.indexOf===n)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function O(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(t[n],n,t)}function C(t){var e=[];return O(t,(function(t,n){e.push(n)})),e}function z(t,e,n){for(var r=0;r<t.length;r++)e.call(n||window,t[r],r,t)}function D(t,e){for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r,t,n));return n}function E(t,e){e=e||function(t){return!!t};for(var n=[],r=0;r<t.length;r++)e(t[r],r,t,n)&&n.push(t[r]);return n}function N(t,e){var n={};return O(t,(function(r,o){(e&&e(r,o,t,n)||Boolean(r))&&(n[o]=r)})),n}function B(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return!0;return!1}function P(t){return e=function(t){return"object"==typeof t&&(t=Y(t)),encodeURIComponent((e=t.toString(),b(g(e))));var e},n={},O(t,(function(t,r){n[r]=e(t)})),n;var e,n}function R(t){var e,n,r=N(t,(function(t){return void 0!==t}));return D((e=P(r),n=[],O(e,(function(t,e){n.push([e,t])})),n),L.method("join","=")).join("&")}function Y(t){try{return JSON.stringify(t)}catch(r){return JSON.stringify((e=[],n=[],function t(r,o){var i,a,s;switch(typeof r){case"object":if(!r)return null;for(i=0;i<e.length;i+=1)if(e[i]===r)return{$ref:n[i]};if(e.push(r),n.push(o),"[object Array]"===Object.prototype.toString.apply(r))for(s=[],i=0;i<r.length;i+=1)s[i]=t(r[i],o+"["+i+"]");else for(a in s={},r)Object.prototype.hasOwnProperty.call(r,a)&&(s[a]=t(r[a],o+"["+JSON.stringify(a)+"]"));return s;case"number":case"string":case"boolean":return r}}(t,"$")))}var e,n}var W=new(function(){function t(){this.globalLog=function(t){window.console&&window.console.log&&window.console.log(t)}}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.log(this.globalLog,t)},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.log(this.globalLogWarn,t)},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.log(this.globalLogError,t)},t.prototype.globalLogWarn=function(t){window.console&&window.console.warn?window.console.warn(t):this.globalLog(t)},t.prototype.globalLogError=function(t){window.console&&window.console.error?window.console.error(t):this.globalLogWarn(t)},t.prototype.log=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=k.apply(this,arguments);if(Oe.log)Oe.log(r);else if(Oe.logToConsole){var o=t.bind(this);o(r)}},t}()),H={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/authenticating_users"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"}}},q=function(t){var e,n=H.urls[t];return n?(n.fullUrl?e=n.fullUrl:n.path&&(e=H.baseUrl+n.path),e?"See: "+e:""):""},I=function(t,e,n){var r,o=this;for(var i in(r=Me.createXHR()).open("POST",o.options.authEndpoint,!0),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),this.authOptions.headers)r.setRequestHeader(i,this.authOptions.headers[i]);return r.onreadystatechange=function(){if(4===r.readyState)if(200===r.status){var t,e=!1;try{t=JSON.parse(r.responseText),e=!0}catch(t){n(!0,"JSON returned from auth endpoint was invalid, yet status code was 200. Data was: "+r.responseText)}e&&n(!1,t)}else{var i=q("authenticationEndpoint");W.error("Unable to retrieve auth string from auth endpoint - received status "+r.status+" from "+o.options.authEndpoint+". Clients must be authenticated to join private or presence channels. "+i),n(!0,r.status)}},r.send(this.composeQuery(e)),r},j=function(t,e,n){void 0!==this.authOptions.headers&&W.warn("To send headers with the auth request, you must use AJAX, rather than JSONP.");var r=t.nextAuthCallbackID.toString();t.nextAuthCallbackID++;var o=t.getDocument(),i=o.createElement("script");t.auth_callbacks[r]=function(t){n(!1,t)};var a="Pusher.auth_callbacks['"+r+"']";i.src=this.options.authEndpoint+"?callback="+encodeURIComponent(a)+"&"+this.composeQuery(e);var s=o.getElementsByTagName("head")[0]||o.documentElement;s.insertBefore(i,s.firstChild)},X=function(){function t(t){this.src=t}return t.prototype.send=function(t){var e=this,n="Error loading "+e.src;e.script=document.createElement("script"),e.script.id=t.id,e.script.src=e.src,e.script.type="text/javascript",e.script.charset="UTF-8",e.script.addEventListener?(e.script.onerror=function(){t.callback(n)},e.script.onload=function(){t.callback(null)}):e.script.onreadystatechange=function(){"loaded"!==e.script.readyState&&"complete"!==e.script.readyState||t.callback(null)},void 0===e.script.async&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(e.errorScript=document.createElement("script"),e.errorScript.id=t.id+"_error",e.errorScript.text=t.name+"('"+n+"');",e.script.async=e.errorScript.async=!1):e.script.async=!0;var r=document.getElementsByTagName("head")[0];r.insertBefore(e.script,r.firstChild),e.errorScript&&r.insertBefore(e.errorScript,e.script.nextSibling)},t.prototype.cleanup=function(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null},t}(),F=function(){function t(t,e){this.url=t,this.data=e}return t.prototype.send=function(t){if(!this.request){var e=R(this.data),n=this.url+"/"+t.number+"?"+e;this.request=Me.createScriptRequest(n),this.request.send(t)}},t.prototype.cleanup=function(){this.request&&this.request.cleanup()},t}(),U={name:"jsonp",getAgent:function(t,e){return function(n,r){var i="http"+(e?"s":"")+"://"+(t.host||t.options.host)+t.options.path,a=Me.createJSONPRequest(i,n),s=Me.ScriptReceivers.create((function(e,n){o.remove(s),a.cleanup(),n&&n.host&&(t.host=n.host),r&&r(e,n)}));a.send(s)}}};function V(t,e,n){return t+(e.useTLS?"s":"")+"://"+(e.useTLS?e.hostTLS:e.hostNonTLS)+n}function G(t,e){return"/app/"+t+"?protocol="+i.PROTOCOL+"&client=js&version="+i.VERSION+(e?"&"+e:"")}var $={getInitial:function(t,e){return V("ws",e,(e.httpPath||"")+G(t,"flash=false"))}},K={getInitial:function(t,e){return V("http",e,(e.httpPath||"/pusher")+G(t))}},J={getInitial:function(t,e){return V("http",e,e.httpPath||"/pusher")},getPath:function(t,e){return G(t)}},Q=function(){function t(){this._callbacks={}}return t.prototype.get=function(t){return this._callbacks[Z(t)]},t.prototype.add=function(t,e,n){var r=Z(t);this._callbacks[r]=this._callbacks[r]||[],this._callbacks[r].push({fn:e,context:n})},t.prototype.remove=function(t,e,n){if(t||e||n){var r=t?[Z(t)]:C(this._callbacks);e||n?this.removeCallback(r,e,n):this.removeAllCallbacks(r)}else this._callbacks={}},t.prototype.removeCallback=function(t,e,n){z(t,(function(t){this._callbacks[t]=E(this._callbacks[t]||[],(function(t){return e&&e!==t.fn||n&&n!==t.context})),0===this._callbacks[t].length&&delete this._callbacks[t]}),this)},t.prototype.removeAllCallbacks=function(t){z(t,(function(t){delete this._callbacks[t]}),this)},t}();function Z(t){return"_"+t}var tt=function(){function t(t){this.callbacks=new Q,this.global_callbacks=[],this.failThrough=t}return t.prototype.bind=function(t,e,n){return this.callbacks.add(t,e,n),this},t.prototype.bind_global=function(t){return this.global_callbacks.push(t),this},t.prototype.unbind=function(t,e,n){return this.callbacks.remove(t,e,n),this},t.prototype.unbind_global=function(t){return t?(this.global_callbacks=E(this.global_callbacks||[],(function(e){return e!==t})),this):(this.global_callbacks=[],this)},t.prototype.unbind_all=function(){return this.unbind(),this.unbind_global(),this},t.prototype.emit=function(t,e,n){for(var r=0;r<this.global_callbacks.length;r++)this.global_callbacks[r](t,e);var o=this.callbacks.get(t),i=[];if(n?i.push(e,n):e&&i.push(e),o&&o.length>0)for(r=0;r<o.length;r++)o[r].fn.apply(o[r].context||window,i);else this.failThrough&&this.failThrough(t,e);return this},t}(),et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(t){function e(e,n,r,o,i){var a=t.call(this)||this;return a.initialize=Me.transportConnectionInitializer,a.hooks=e,a.name=n,a.priority=r,a.key=o,a.options=i,a.state="new",a.timeline=i.timeline,a.activityTimeout=i.activityTimeout,a.id=a.timeline.generateUniqueID(),a}return et(e,t),e.prototype.handlesActivityChecks=function(){return Boolean(this.hooks.handlesActivityChecks)},e.prototype.supportsPing=function(){return Boolean(this.hooks.supportsPing)},e.prototype.connect=function(){var t=this;if(this.socket||"initialized"!==this.state)return!1;var e=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(e,this.options)}catch(e){return L.defer((function(){t.onError(e),t.changeState("closed")})),!1}return this.bindListeners(),W.debug("Connecting",{transport:this.name,url:e}),this.changeState("connecting"),!0},e.prototype.close=function(){return!!this.socket&&(this.socket.close(),!0)},e.prototype.send=function(t){var e=this;return"open"===this.state&&(L.defer((function(){e.socket&&e.socket.send(t)})),!0)},e.prototype.ping=function(){"open"===this.state&&this.supportsPing()&&this.socket.ping()},e.prototype.onOpen=function(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0},e.prototype.onError=function(t){this.emit("error",{type:"WebSocketError",error:t}),this.timeline.error(this.buildTimelineMessage({error:t.toString()}))},e.prototype.onClose=function(t){t?this.changeState("closed",{code:t.code,reason:t.reason,wasClean:t.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0},e.prototype.onMessage=function(t){this.emit("message",t)},e.prototype.onActivity=function(){this.emit("activity")},e.prototype.bindListeners=function(){var t=this;this.socket.onopen=function(){t.onOpen()},this.socket.onerror=function(e){t.onError(e)},this.socket.onclose=function(e){t.onClose(e)},this.socket.onmessage=function(e){t.onMessage(e)},this.supportsPing()&&(this.socket.onactivity=function(){t.onActivity()})},e.prototype.unbindListeners=function(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))},e.prototype.changeState=function(t,e){this.state=t,this.timeline.info(this.buildTimelineMessage({state:t,params:e})),this.emit(t,e)},e.prototype.buildTimelineMessage=function(t){return T({cid:this.id},t)},e}(tt),rt=function(){function t(t){this.hooks=t}return t.prototype.isSupported=function(t){return this.hooks.isSupported(t)},t.prototype.createConnection=function(t,e,n,r){return new nt(this.hooks,t,e,n,r)},t}(),ot=new rt({urls:$,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return Boolean(Me.getWebSocketAPI())},isSupported:function(){return Boolean(Me.getWebSocketAPI())},getSocket:function(t){return Me.createWebSocket(t)}}),it={urls:K,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},at=T({getSocket:function(t){return Me.HTTPFactory.createStreamingSocket(t)}},it),st=T({getSocket:function(t){return Me.HTTPFactory.createPollingSocket(t)}},it),ct={isSupported:function(){return Me.isXHRSupported()}},ut={ws:ot,xhr_streaming:new rt(T({},at,ct)),xhr_polling:new rt(T({},st,ct))},lt=new rt({file:"sockjs",urls:J,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return void 0!==window.SockJS},getSocket:function(t,e){return new window.SockJS(t,null,{js_path:c.getPath("sockjs",{useTLS:e.useTLS}),ignore_null_origin:e.ignoreNullOrigin})},beforeOpen:function(t,e){t.send(JSON.stringify({path:e}))}}),dt={isSupported:function(t){return Me.isXDRSupported(t.useTLS)}},ft=new rt(T({},at,dt)),ht=new rt(T({},st,dt));ut.xdr_streaming=ft,ut.xdr_polling=ht,ut.sockjs=lt;var pt=ut,mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt=new(function(t){function e(){var e=t.call(this)||this,n=e;return void 0!==window.addEventListener&&(window.addEventListener("online",(function(){n.emit("online")}),!1),window.addEventListener("offline",(function(){n.emit("offline")}),!1)),e}return mt(e,t),e.prototype.isOnline=function(){return void 0===window.navigator.onLine||window.navigator.onLine},e}(tt)),vt=function(){function t(t,e,n){this.manager=t,this.transport=e,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=void 0}return t.prototype.createConnection=function(t,e,n,r){var o=this;r=T({},r,{activityTimeout:this.pingDelay});var i=this.transport.createConnection(t,e,n,r),a=null,s=function(){i.unbind("open",s),i.bind("closed",c),a=L.now()},c=function(t){if(i.unbind("closed",c),1002===t.code||1003===t.code)o.manager.reportDeath();else if(!t.wasClean&&a){var e=L.now()-a;e<2*o.maxPingDelay&&(o.manager.reportDeath(),o.pingDelay=Math.max(e/2,o.minPingDelay))}};return i.bind("open",s),i},t.prototype.isSupported=function(t){return this.manager.isAlive()&&this.transport.isSupported(t)},t}(),bt={decodeMessage:function(t){try{var e=JSON.parse(t.data),n=e.data;if("string"==typeof n)try{n=JSON.parse(e.data)}catch(t){}var r={event:e.event,channel:e.channel,data:n};return e.user_id&&(r.user_id=e.user_id),r}catch(e){throw{type:"MessageParseError",error:e,data:t.data}}},encodeMessage:function(t){return JSON.stringify(t)},processHandshake:function(t){var e=bt.decodeMessage(t);if("pusher:connection_established"===e.event){if(!e.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:e.data.socket_id,activityTimeout:1e3*e.data.activity_timeout}}if("pusher:error"===e.event)return{action:this.getCloseAction(e.data),error:this.getCloseError(e.data)};throw"Invalid handshake"},getCloseAction:function(t){return t.code<4e3?t.code>=1002&&t.code<=1004?"backoff":null:4e3===t.code?"tls_only":t.code<4100?"refused":t.code<4200?"backoff":t.code<4300?"retry":"refused"},getCloseError:function(t){return 1e3!==t.code&&1001!==t.code?{type:"PusherError",data:{code:t.code,message:t.reason||t.message}}:null}},yt=bt,Mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_t=function(t){function e(e,n){var r=t.call(this)||this;return r.id=e,r.transport=n,r.activityTimeout=n.activityTimeout,r.bindListeners(),r}return Mt(e,t),e.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},e.prototype.send=function(t){return this.transport.send(t)},e.prototype.send_event=function(t,e,n){var r={event:t,data:e};return n&&(r.channel=n),W.debug("Event sent",r),this.send(yt.encodeMessage(r))},e.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},e.prototype.close=function(){this.transport.close()},e.prototype.bindListeners=function(){var t=this,e={message:function(e){var n;try{n=yt.decodeMessage(e)}catch(n){t.emit("error",{type:"MessageParseError",error:n,data:e.data})}if(void 0!==n){switch(W.debug("Event recd",n),n.event){case"pusher:error":t.emit("error",{type:"PusherError",data:n.data});break;case"pusher:ping":t.emit("ping");break;case"pusher:pong":t.emit("pong")}t.emit("message",n)}},activity:function(){t.emit("activity")},error:function(e){t.emit("error",{type:"WebSocketError",error:e})},closed:function(e){n(),e&&e.code&&t.handleCloseEvent(e),t.transport=null,t.emit("closed")}},n=function(){O(e,(function(e,n){t.transport.unbind(n,e)}))};O(e,(function(e,n){t.transport.bind(n,e)}))},e.prototype.handleCloseEvent=function(t){var e=yt.getCloseAction(t),n=yt.getCloseError(t);n&&this.emit("error",n),e&&this.emit(e,{action:e,error:n})},e}(tt),wt=function(){function t(t,e){this.transport=t,this.callback=e,this.bindListeners()}return t.prototype.close=function(){this.unbindListeners(),this.transport.close()},t.prototype.bindListeners=function(){var t=this;this.onMessage=function(e){var n;t.unbindListeners();try{n=yt.processHandshake(e)}catch(e){return t.finish("error",{error:e}),void t.transport.close()}"connected"===n.action?t.finish("connected",{connection:new _t(n.id,t.transport),activityTimeout:n.activityTimeout}):(t.finish(n.action,{error:n.error}),t.transport.close())},this.onClosed=function(e){t.unbindListeners();var n=yt.getCloseAction(e)||"backoff",r=yt.getCloseError(e);t.finish(n,{error:r})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},t.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},t.prototype.finish=function(t,e){this.callback(T({transport:this.transport,action:t},e))},t}(),xt=function(){function t(t,e){this.channel=t;var n=e.authTransport;if(void 0===Me.getAuthorizers()[n])throw"'"+n+"' is not a recognized auth transport";this.type=n,this.options=e,this.authOptions=(e||{}).auth||{}}return t.prototype.composeQuery=function(t){var e="socket_id="+encodeURIComponent(t)+"&channel_name="+encodeURIComponent(this.channel.name);for(var n in this.authOptions.params)e+="&"+encodeURIComponent(n)+"="+encodeURIComponent(this.authOptions.params[n]);return e},t.prototype.authorize=function(e,n){return t.authorizers=t.authorizers||Me.getAuthorizers(),t.authorizers[this.type].call(this,Me,e,n)},t}(),At=function(){function t(t,e){this.timeline=t,this.options=e||{}}return t.prototype.send=function(t,e){this.timeline.isEmpty()||this.timeline.send(Me.TimelineTransport.getAgent(this,t),e)},t}(),Lt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tt=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),kt=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),St=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),Ot=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),Ct=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),zt=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),Dt=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return Lt(e,t),e}(Error),Et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Nt=function(t){function e(e,n){var r=t.call(this,(function(t,n){W.debug("No callbacks on "+e+" for "+t)}))||this;return r.name=e,r.pusher=n,r.subscribed=!1,r.subscriptionPending=!1,r.subscriptionCancelled=!1,r}return Et(e,t),e.prototype.authorize=function(t,e){return e(!1,{})},e.prototype.trigger=function(t,e){if(0!==t.indexOf("client-"))throw new Tt("Event '"+t+"' does not start with 'client-'");if(!this.subscribed){var n=q("triggeringClientEvents");W.warn("Client event triggered before channel 'subscription_succeeded' event . "+n)}return this.pusher.send_event(t,e,this.name)},e.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},e.prototype.handleEvent=function(t){var e=t.event,n=t.data;"pusher_internal:subscription_succeeded"===e?this.handleSubscriptionSucceededEvent(t):0!==e.indexOf("pusher_internal:")&&this.emit(e,n,{})},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",t.data)},e.prototype.subscribe=function(){var t=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(function(e,n){e?(W.error(n),t.emit("pusher:subscription_error",n)):t.pusher.send_event("pusher:subscribe",{auth:n.auth,channel_data:n.channel_data,channel:t.name})})))},e.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},e.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},e.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},e}(tt),Bt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Bt(e,t),e.prototype.authorize=function(t,e){return Vt.createAuthorizer(this,this.pusher.config).authorize(t,e)},e}(Nt),Rt=function(){function t(){this.reset()}return t.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.members,t)?{id:t,info:this.members[t]}:null},t.prototype.each=function(t){var e=this;O(this.members,(function(n,r){t(e.get(r))}))},t.prototype.setMyID=function(t){this.myID=t},t.prototype.onSubscription=function(t){this.members=t.presence.hash,this.count=t.presence.count,this.me=this.get(this.myID)},t.prototype.addMember=function(t){return null===this.get(t.user_id)&&this.count++,this.members[t.user_id]=t.user_info,this.get(t.user_id)},t.prototype.removeMember=function(t){var e=this.get(t.user_id);return e&&(delete this.members[t.user_id],this.count--),e},t.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},t}(),Yt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wt=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.members=new Rt,r}return Yt(e,t),e.prototype.authorize=function(e,n){var r=this;t.prototype.authorize.call(this,e,(function(t,e){if(!t){if(void 0===e.channel_data){var o=q("authenticationEndpoint");return W.error("Invalid auth response for channel '"+r.name+"',expected 'channel_data' field. "+o),void n("Invalid auth response")}var i=JSON.parse(e.channel_data);r.members.setMyID(i.user_id)}n(t,e)}))},e.prototype.handleEvent=function(t){var e=t.event;if(0===e.indexOf("pusher_internal:"))this.handleInternalEvent(t);else{var n=t.data,r={};t.user_id&&(r.user_id=t.user_id),this.emit(e,n,r)}},e.prototype.handleInternalEvent=function(t){var e=t.event,n=t.data;switch(e){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(t);break;case"pusher_internal:member_added":var r=this.members.addMember(n);this.emit("pusher:member_added",r);break;case"pusher_internal:member_removed":var o=this.members.removeMember(n);o&&this.emit("pusher:member_removed",o)}},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(t.data),this.emit("pusher:subscription_succeeded",this.members))},e.prototype.disconnect=function(){this.members.reset(),t.prototype.disconnect.call(this)},e}(Pt),Ht=n(0),qt=n(1),It=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.key=null,e}return It(e,t),e.prototype.authorize=function(e,n){var r=this;t.prototype.authorize.call(this,e,(function(t,e){if(t)n(!0,e);else{var o=e.shared_secret;if(o)r.key=Object(qt.decodeBase64)(o),delete e.shared_secret,n(!1,e);else{var i="No shared_secret key in auth payload for encrypted channel: "+r.name;n(!0,i)}}}))},e.prototype.trigger=function(t,e){throw new Ct("Client events are not currently supported for encrypted channels")},e.prototype.handleEvent=function(e){var n=e.event,r=e.data;0!==n.indexOf("pusher_internal:")&&0!==n.indexOf("pusher:")?this.handleEncryptedEvent(n,r):t.prototype.handleEvent.call(this,e)},e.prototype.handleEncryptedEvent=function(t,e){var n=this;if(this.key)if(e.ciphertext&&e.nonce){var r=Object(qt.decodeBase64)(e.ciphertext);if(r.length<Ht.secretbox.overheadLength)W.error("Expected encrypted event ciphertext length to be "+Ht.secretbox.overheadLength+", got: "+r.length);else{var o=Object(qt.decodeBase64)(e.nonce);if(o.length<Ht.secretbox.nonceLength)W.error("Expected encrypted event nonce length to be "+Ht.secretbox.nonceLength+", got: "+o.length);else{var i=Ht.secretbox.open(r,o,this.key);if(null===i)return W.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),void this.authorize(this.pusher.connection.socket_id,(function(e,a){e?W.error("Failed to make a request to the authEndpoint: "+a+". Unable to fetch new key, so dropping encrypted event"):null!==(i=Ht.secretbox.open(r,o,n.key))?n.emitJSON(t,Object(qt.encodeUTF8)(i)):W.error("Failed to decrypt event with new key. Dropping encrypted event")}));this.emitJSON(t,Object(qt.encodeUTF8)(i))}}}else W.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+e);else W.debug("Received encrypted event before key has been retrieved from the authEndpoint")},e.prototype.emitJSON=function(t,e){try{this.emit(t,JSON.parse(e))}catch(n){this.emit(t,e)}return this},e}(Pt),Xt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ft=function(t){function e(e,n){var r=t.call(this)||this;r.key=e,r.options=n||{},r.state="initialized",r.connection=null,r.usingTLS=!!n.useTLS,r.timeline=r.options.timeline,r.errorCallbacks=r.buildErrorCallbacks(),r.connectionCallbacks=r.buildConnectionCallbacks(r.errorCallbacks),r.handshakeCallbacks=r.buildHandshakeCallbacks(r.errorCallbacks);var o=Me.getNetwork();return o.bind("online",(function(){r.timeline.info({netinfo:"online"}),"connecting"!==r.state&&"unavailable"!==r.state||r.retryIn(0)})),o.bind("offline",(function(){r.timeline.info({netinfo:"offline"}),r.connection&&r.sendActivityCheck()})),r.updateStrategy(),r}return Xt(e,t),e.prototype.connect=function(){this.connection||this.runner||(this.strategy.isSupported()?(this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()):this.updateState("failed"))},e.prototype.send=function(t){return!!this.connection&&this.connection.send(t)},e.prototype.send_event=function(t,e,n){return!!this.connection&&this.connection.send_event(t,e,n)},e.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},e.prototype.isUsingTLS=function(){return this.usingTLS},e.prototype.startConnecting=function(){var t=this,e=function(n,r){n?t.runner=t.strategy.connect(0,e):"error"===r.action?(t.emit("error",{type:"HandshakeError",error:r.error}),t.timeline.error({handshakeError:r.error})):(t.abortConnecting(),t.handshakeCallbacks[r.action](r))};this.runner=this.strategy.connect(0,e)},e.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},e.prototype.disconnectInternally=function(){this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection&&this.abandonConnection().close()},e.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},e.prototype.retryIn=function(t){var e=this;this.timeline.info({action:"retry",delay:t}),t>0&&this.emit("connecting_in",Math.round(t/1e3)),this.retryTimer=new x(t||0,(function(){e.disconnectInternally(),e.connect()}))},e.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},e.prototype.setUnavailableTimer=function(){var t=this;this.unavailableTimer=new x(this.options.unavailableTimeout,(function(){t.updateState("unavailable")}))},e.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},e.prototype.sendActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new x(this.options.pongTimeout,(function(){t.timeline.error({pong_timed_out:t.options.pongTimeout}),t.retryIn(0)}))},e.prototype.resetActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new x(this.activityTimeout,(function(){t.sendActivityCheck()})))},e.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},e.prototype.buildConnectionCallbacks=function(t){var e=this;return T({},t,{message:function(t){e.resetActivityCheck(),e.emit("message",t)},ping:function(){e.send_event("pusher:pong",{})},activity:function(){e.resetActivityCheck()},error:function(t){e.emit("error",{type:"WebSocketError",error:t})},closed:function(){e.abandonConnection(),e.shouldRetry()&&e.retryIn(1e3)}})},e.prototype.buildHandshakeCallbacks=function(t){var e=this;return T({},t,{connected:function(t){e.activityTimeout=Math.min(e.options.activityTimeout,t.activityTimeout,t.connection.activityTimeout||1/0),e.clearUnavailableTimer(),e.setConnection(t.connection),e.socket_id=e.connection.id,e.updateState("connected",{socket_id:e.socket_id})}})},e.prototype.buildErrorCallbacks=function(){var t=this,e=function(e){return function(n){n.error&&t.emit("error",{type:"WebSocketError",error:n.error}),e(n)}};return{tls_only:e((function(){t.usingTLS=!0,t.updateStrategy(),t.retryIn(0)})),refused:e((function(){t.disconnect()})),backoff:e((function(){t.retryIn(1e3)})),retry:e((function(){t.retryIn(0)}))}},e.prototype.setConnection=function(t){for(var e in this.connection=t,this.connectionCallbacks)this.connection.bind(e,this.connectionCallbacks[e]);this.resetActivityCheck()},e.prototype.abandonConnection=function(){if(this.connection){for(var t in this.stopActivityCheck(),this.connectionCallbacks)this.connection.unbind(t,this.connectionCallbacks[t]);var e=this.connection;return this.connection=null,e}},e.prototype.updateState=function(t,e){var n=this.state;if(this.state=t,n!==t){var r=t;"connected"===r&&(r+=" with new socket ID "+e.socket_id),W.debug("State changed",n+" -> "+r),this.timeline.info({state:t,params:e}),this.emit("state_change",{previous:n,current:t}),this.emit(t,e)}},e.prototype.shouldRetry=function(){return"connecting"===this.state||"connected"===this.state},e}(tt),Ut=function(){function t(){this.channels={}}return t.prototype.add=function(t,e){return this.channels[t]||(this.channels[t]=function(t,e){return 0===t.indexOf("private-encrypted-")?Vt.createEncryptedChannel(t,e):0===t.indexOf("private-")?Vt.createPrivateChannel(t,e):0===t.indexOf("presence-")?Vt.createPresenceChannel(t,e):Vt.createChannel(t,e)}(t,e)),this.channels[t]},t.prototype.all=function(){return function(t){var e=[];return O(t,(function(t){e.push(t)})),e}(this.channels)},t.prototype.find=function(t){return this.channels[t]},t.prototype.remove=function(t){var e=this.channels[t];return delete this.channels[t],e},t.prototype.disconnect=function(){O(this.channels,(function(t){t.disconnect()}))},t}(),Vt={createChannels:function(){return new Ut},createConnectionManager:function(t,e){return new Ft(t,e)},createChannel:function(t,e){return new Nt(t,e)},createPrivateChannel:function(t,e){return new Pt(t,e)},createPresenceChannel:function(t,e){return new Wt(t,e)},createEncryptedChannel:function(t,e){return new jt(t,e)},createTimelineSender:function(t,e){return new At(t,e)},createAuthorizer:function(t,e){return e.authorizer?e.authorizer(t,e):new xt(t,e)},createHandshake:function(t,e){return new wt(t,e)},createAssistantToTheTransportManager:function(t,e,n){return new vt(t,e,n)}},Gt=function(){function t(t){this.options=t||{},this.livesLeft=this.options.lives||1/0}return t.prototype.getAssistant=function(t){return Vt.createAssistantToTheTransportManager(this,t,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},t.prototype.isAlive=function(){return this.livesLeft>0},t.prototype.reportDeath=function(){this.livesLeft-=1},t}(),$t=function(){function t(t,e){this.strategies=t,this.loop=Boolean(e.loop),this.failFast=Boolean(e.failFast),this.timeout=e.timeout,this.timeoutLimit=e.timeoutLimit}return t.prototype.isSupported=function(){return B(this.strategies,L.method("isSupported"))},t.prototype.connect=function(t,e){var n=this,r=this.strategies,o=0,i=this.timeout,a=null,s=function(c,u){u?e(null,u):(o+=1,n.loop&&(o%=r.length),o<r.length?(i&&(i*=2,n.timeoutLimit&&(i=Math.min(i,n.timeoutLimit))),a=n.tryStrategy(r[o],t,{timeout:i,failFast:n.failFast},s)):e(!0))};return a=this.tryStrategy(r[o],t,{timeout:i,failFast:this.failFast},s),{abort:function(){a.abort()},forceMinPriority:function(e){t=e,a&&a.forceMinPriority(e)}}},t.prototype.tryStrategy=function(t,e,n,r){var o=null,i=null;return n.timeout>0&&(o=new x(n.timeout,(function(){i.abort(),r(!0)}))),i=t.connect(e,(function(t,e){t&&o&&o.isRunning()&&!n.failFast||(o&&o.ensureAborted(),r(t,e))})),{abort:function(){o&&o.ensureAborted(),i.abort()},forceMinPriority:function(t){i.forceMinPriority(t)}}},t}(),Kt=function(){function t(t){this.strategies=t}return t.prototype.isSupported=function(){return B(this.strategies,L.method("isSupported"))},t.prototype.connect=function(t,e){return function(t,e,n){var r=D(t,(function(t,r,o,i){return t.connect(e,n(r,i))}));return{abort:function(){z(r,Jt)},forceMinPriority:function(t){z(r,(function(e){e.forceMinPriority(t)}))}}}(this.strategies,t,(function(t,n){return function(r,o){n[t].error=r,r?function(t){return function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n,t))return!1;return!0}(t,(function(t){return Boolean(t.error)}))}(n)&&e(!0):(z(n,(function(t){t.forceMinPriority(o.transport.priority)})),e(null,o))}}))},t}();function Jt(t){t.error||t.aborted||(t.abort(),t.aborted=!0)}var Qt=function(){function t(t,e,n){this.strategy=t,this.transports=e,this.ttl=n.ttl||18e5,this.usingTLS=n.useTLS,this.timeline=n.timeline}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.usingTLS,r=function(t){var e=Me.getLocalStorage();if(e)try{var n=e[Zt(t)];if(n)return JSON.parse(n)}catch(e){te(t)}return null}(n),o=[this.strategy];if(r&&r.timestamp+this.ttl>=L.now()){var i=this.transports[r.transport];i&&(this.timeline.info({cached:!0,transport:r.transport,latency:r.latency}),o.push(new $t([i],{timeout:2*r.latency+1e3,failFast:!0})))}var a=L.now(),s=o.pop().connect(t,(function r(i,c){i?(te(n),o.length>0?(a=L.now(),s=o.pop().connect(t,r)):e(i)):(function(t,e,n){var r=Me.getLocalStorage();if(r)try{r[Zt(t)]=Y({timestamp:L.now(),transport:e,latency:n})}catch(t){}}(n,c.transport.name,L.now()-a),e(null,c))}));return{abort:function(){s.abort()},forceMinPriority:function(e){t=e,s&&s.forceMinPriority(e)}}},t}();function Zt(t){return"pusherTransport"+(t?"TLS":"NonTLS")}function te(t){var e=Me.getLocalStorage();if(e)try{delete e[Zt(t)]}catch(t){}}var ee=function(){function t(t,e){var n=e.delay;this.strategy=t,this.options={delay:n}}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n,r=this.strategy,o=new x(this.options.delay,(function(){n=r.connect(t,e)}));return{abort:function(){o.ensureAborted(),n&&n.abort()},forceMinPriority:function(e){t=e,n&&n.forceMinPriority(e)}}},t}(),ne=function(){function t(t,e,n){this.test=t,this.trueBranch=e,this.falseBranch=n}return t.prototype.isSupported=function(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()},t.prototype.connect=function(t,e){return(this.test()?this.trueBranch:this.falseBranch).connect(t,e)},t}(),re=function(){function t(t){this.strategy=t}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.strategy.connect(t,(function(t,r){r&&n.abort(),e(t,r)}));return n},t}();function oe(t){return function(){return t.isSupported()}}var ie,ae=function(t,e){var n={};function r(r,o,i,a,s){var c=e(t,r,o,i,a,s);return n[r]=c,c}var o,i={hostNonTLS:t.wsHost+":"+t.wsPort,hostTLS:t.wsHost+":"+t.wssPort,httpPath:t.wsPath},a=T({},i,{useTLS:!0}),s={hostNonTLS:t.httpHost+":"+t.httpPort,hostTLS:t.httpHost+":"+t.httpsPort,httpPath:t.httpPath},c={loop:!0,timeout:15e3,timeoutLimit:6e4},u=new Gt({lives:2,minPingDelay:1e4,maxPingDelay:t.activity_timeout}),l=new Gt({lives:2,minPingDelay:1e4,maxPingDelay:t.activity_timeout}),d=r("ws","ws",3,i,u),f=r("wss","ws",3,a,u),h=r("sockjs","sockjs",1,s),p=r("xhr_streaming","xhr_streaming",1,s,l),m=r("xdr_streaming","xdr_streaming",1,s,l),g=r("xhr_polling","xhr_polling",1,s),v=r("xdr_polling","xdr_polling",1,s),b=new $t([d],c),y=new $t([f],c),M=new $t([h],c),_=new $t([new ne(oe(p),p,m)],c),w=new $t([new ne(oe(g),g,v)],c),x=new $t([new ne(oe(_),new Kt([_,new ee(w,{delay:4e3})]),w)],c),A=new ne(oe(x),x,M);return o=t.useTLS?new Kt([b,new ee(A,{delay:2e3})]):new Kt([b,new ee(y,{delay:2e3}),new ee(A,{delay:5e3})]),new Qt(new re(new ne(oe(d),o,A)),n,{ttl:18e5,timeline:t.timeline,useTLS:t.useTLS})},se={getRequest:function(t){var e=new window.XDomainRequest;return e.ontimeout=function(){t.emit("error",new kt),t.close()},e.onerror=function(e){t.emit("error",e),t.close()},e.onprogress=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText)},e.onload=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText),t.emit("finished",200),t.close()},e},abortRequest:function(t){t.ontimeout=t.onerror=t.onprogress=t.onload=null,t.abort()}},ce=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ue=function(t){function e(e,n,r){var o=t.call(this)||this;return o.hooks=e,o.method=n,o.url=r,o}return ce(e,t),e.prototype.start=function(t){var e=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){e.close()},Me.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(t)},e.prototype.close=function(){this.unloader&&(Me.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},e.prototype.onChunk=function(t,e){for(;;){var n=this.advanceBuffer(e);if(!n)break;this.emit("chunk",{status:t,data:n})}this.isBufferTooLong(e)&&this.emit("buffer_too_long")},e.prototype.advanceBuffer=function(t){var e=t.slice(this.position),n=e.indexOf("\n");return-1!==n?(this.position+=n+1,e.slice(0,n)):null},e.prototype.isBufferTooLong=function(t){return this.position===t.length&&t.length>262144},e}(tt);!function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSED=3]="CLOSED"}(ie||(ie={}));var le=ie,de=1;function fe(t){var e=-1===t.indexOf("?")?"?":"&";return t+e+"t="+ +new Date+"&n="+de++}function he(t){return Math.floor(Math.random()*t)}var pe,me=function(){function t(t,e){this.hooks=t,this.session=he(1e3)+"/"+function(t){for(var e=[],n=0;n<t;n++)e.push(he(32).toString(32));return e.join("")}(8),this.location=function(t){var e=/([^\?]*)\/*(\??.*)/.exec(t);return{base:e[1],queryString:e[2]}}(e),this.readyState=le.CONNECTING,this.openStream()}return t.prototype.send=function(t){return this.sendRaw(JSON.stringify([t]))},t.prototype.ping=function(){this.hooks.sendHeartbeat(this)},t.prototype.close=function(t,e){this.onClose(t,e,!0)},t.prototype.sendRaw=function(t){if(this.readyState!==le.OPEN)return!1;try{return Me.createSocketRequest("POST",fe((e=this.location,n=this.session,e.base+"/"+n+"/xhr_send"))).start(t),!0}catch(t){return!1}var e,n},t.prototype.reconnect=function(){this.closeStream(),this.openStream()},t.prototype.onClose=function(t,e,n){this.closeStream(),this.readyState=le.CLOSED,this.onclose&&this.onclose({code:t,reason:e,wasClean:n})},t.prototype.onChunk=function(t){var e;if(200===t.status)switch(this.readyState===le.OPEN&&this.onActivity(),t.data.slice(0,1)){case"o":e=JSON.parse(t.data.slice(1)||"{}"),this.onOpen(e);break;case"a":e=JSON.parse(t.data.slice(1)||"[]");for(var n=0;n<e.length;n++)this.onEvent(e[n]);break;case"m":e=JSON.parse(t.data.slice(1)||"null"),this.onEvent(e);break;case"h":this.hooks.onHeartbeat(this);break;case"c":e=JSON.parse(t.data.slice(1)||"[]"),this.onClose(e[0],e[1],!0)}},t.prototype.onOpen=function(t){var e,n,r;this.readyState===le.CONNECTING?(t&&t.hostname&&(this.location.base=(e=this.location.base,n=t.hostname,(r=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(e))[1]+n+r[3])),this.readyState=le.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},t.prototype.onEvent=function(t){this.readyState===le.OPEN&&this.onmessage&&this.onmessage({data:t})},t.prototype.onActivity=function(){this.onactivity&&this.onactivity()},t.prototype.onError=function(t){this.onerror&&this.onerror(t)},t.prototype.openStream=function(){var t=this;this.stream=Me.createSocketRequest("POST",fe(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",(function(e){t.onChunk(e)})),this.stream.bind("finished",(function(e){t.hooks.onFinished(t,e)})),this.stream.bind("buffer_too_long",(function(){t.reconnect()}));try{this.stream.start()}catch(e){L.defer((function(){t.onError(e),t.onClose(1006,"Could not start streaming",!1)}))}},t.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},t}(),ge={getReceiveURL:function(t,e){return t.base+"/"+e+"/xhr_streaming"+t.queryString},onHeartbeat:function(t){t.sendRaw("[]")},sendHeartbeat:function(t){t.sendRaw("[]")},onFinished:function(t,e){t.onClose(1006,"Connection interrupted ("+e+")",!1)}},ve={getReceiveURL:function(t,e){return t.base+"/"+e+"/xhr"+t.queryString},onHeartbeat:function(){},sendHeartbeat:function(t){t.sendRaw("[]")},onFinished:function(t,e){200===e?t.reconnect():t.onClose(1006,"Connection interrupted ("+e+")",!1)}},be={getRequest:function(t){var e=new(Me.getXHRAPI());return e.onreadystatechange=e.onprogress=function(){switch(e.readyState){case 3:e.responseText&&e.responseText.length>0&&t.onChunk(e.status,e.responseText);break;case 4:e.responseText&&e.responseText.length>0&&t.onChunk(e.status,e.responseText),t.emit("finished",e.status),t.close()}},e},abortRequest:function(t){t.onreadystatechange=null,t.abort()}},ye={createStreamingSocket:function(t){return this.createSocket(ge,t)},createPollingSocket:function(t){return this.createSocket(ve,t)},createSocket:function(t,e){return new me(t,e)},createXHR:function(t,e){return this.createRequest(be,t,e)},createRequest:function(t,e,n){return new ue(t,e,n)},createXDR:function(t,e){return this.createRequest(se,t,e)}},Me={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:o,DependenciesReceivers:s,getDefaultStrategy:ae,Transports:pt,transportConnectionInitializer:function(){var t=this;t.timeline.info(t.buildTimelineMessage({transport:t.name+(t.options.useTLS?"s":"")})),t.hooks.isInitialized()?t.changeState("initialized"):t.hooks.file?(t.changeState("initializing"),c.load(t.hooks.file,{useTLS:t.options.useTLS},(function(e,n){t.hooks.isInitialized()?(t.changeState("initialized"),n(!0)):(e&&t.onError(e),t.onClose(),n(!1))}))):t.onClose()},HTTPFactory:ye,TimelineTransport:U,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(t){var e=this;window.Pusher=t;var n=function(){e.onDocumentBody(t.ready)};window.JSON?n():c.load("json2",{},n)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:I,jsonp:j}},onDocumentBody:function(t){var e=this;document.body?t():setTimeout((function(){e.onDocumentBody(t)}),0)},createJSONPRequest:function(t,e){return new F(t,e)},createScriptRequest:function(t){return new X(t)},getLocalStorage:function(){try{return window.localStorage}catch(t){return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){return new(this.getXHRAPI())},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return gt},createWebSocket:function(t){return new(this.getWebSocketAPI())(t)},createSocketRequest:function(t,e){if(this.isXHRSupported())return this.HTTPFactory.createXHR(t,e);if(this.isXDRSupported(0===e.indexOf("https:")))return this.HTTPFactory.createXDR(t,e);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var t=this.getXHRAPI();return Boolean(t)&&void 0!==(new t).withCredentials},isXDRSupported:function(t){var e=t?"https:":"http:",n=this.getProtocol();return Boolean(window.XDomainRequest)&&n===e},addUnloadListener:function(t){void 0!==window.addEventListener?window.addEventListener("unload",t,!1):void 0!==window.attachEvent&&window.attachEvent("onunload",t)},removeUnloadListener:function(t){void 0!==window.addEventListener?window.removeEventListener("unload",t,!1):void 0!==window.detachEvent&&window.detachEvent("onunload",t)}};!function(t){t[t.ERROR=3]="ERROR",t[t.INFO=6]="INFO",t[t.DEBUG=7]="DEBUG"}(pe||(pe={}));var _e=pe,we=function(){function t(t,e,n){this.key=t,this.session=e,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return t.prototype.log=function(t,e){t<=this.options.level&&(this.events.push(T({},e,{timestamp:L.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},t.prototype.error=function(t){this.log(_e.ERROR,t)},t.prototype.info=function(t){this.log(_e.INFO,t)},t.prototype.debug=function(t){this.log(_e.DEBUG,t)},t.prototype.isEmpty=function(){return 0===this.events.length},t.prototype.send=function(t,e){var n=this,r=T({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],t(r,(function(t,r){t||n.sent++,e&&e(t,r)})),!0},t.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},t}(),xe=function(){function t(t,e,n,r){this.name=t,this.priority=e,this.transport=n,this.options=r||{}}return t.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},t.prototype.connect=function(t,e){var n=this;if(!this.isSupported())return Ae(new Dt,e);if(this.priority<t)return Ae(new St,e);var r=!1,o=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),i=null,a=function(){o.unbind("initialized",a),o.connect()},s=function(){i=Vt.createHandshake(o,(function(t){r=!0,l(),e(null,t)}))},c=function(t){l(),e(t)},u=function(){var t;l(),t=Y(o),e(new Ot(t))},l=function(){o.unbind("initialized",a),o.unbind("open",s),o.unbind("error",c),o.unbind("closed",u)};return o.bind("initialized",a),o.bind("open",s),o.bind("error",c),o.bind("closed",u),o.initialize(),{abort:function(){r||(l(),i?i.close():o.close())},forceMinPriority:function(t){r||n.priority<t&&(i?i.close():o.close())}}},t}();function Ae(t,e){return L.defer((function(){e(t)})),{abort:function(){},forceMinPriority:function(){}}}var Le=Me.Transports,Te=function(t,e,n,r,o,i){var a=Le[n];if(!a)throw new zt(n);return t.enabledTransports&&-1===S(t.enabledTransports,e)||t.disabledTransports&&-1!==S(t.disabledTransports,e)?ke:new xe(e,r,i?i.getAssistant(a):a,T({key:t.key,useTLS:t.useTLS,timeline:t.timeline,ignoreNullOrigin:t.ignoreNullOrigin},o))},ke={isSupported:function(){return!1},connect:function(t,e){var n=L.defer((function(){e(new Dt)}));return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}},Se=function(){function t(e,n){var r,o=this;if(function(t){if(null==t)throw"You must pass your app key when you instantiate Pusher."}(e),!(n=n||{}).cluster&&!n.wsHost&&!n.httpHost){var a=q("javascriptQuickStart");W.warn("You should always specify a cluster when connecting. "+a)}this.key=e,this.config=T({wsHost:i.host,wsPort:i.ws_port,wssPort:i.wss_port,wsPath:i.ws_path,httpHost:i.sockjs_host,httpPort:i.sockjs_http_port,httpsPort:i.sockjs_https_port,httpPath:i.sockjs_path,statsHost:i.stats_host,authEndpoint:i.channel_auth_endpoint,authTransport:i.channel_auth_transport,activity_timeout:i.activity_timeout,pong_timeout:i.pong_timeout,unavailable_timeout:i.unavailable_timeout},n.cluster?{wsHost:"ws-"+(r=n.cluster)+".pusher.com",httpHost:"sockjs-"+r+".pusher.com"}:{},n),this.channels=Vt.createChannels(),this.global_emitter=new tt,this.sessionID=Math.floor(1e9*Math.random()),this.timeline=new we(this.key,this.sessionID,{cluster:this.config.cluster,features:t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:_e.INFO,version:i.VERSION}),this.config.disableStats||(this.timelineSender=Vt.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+Me.TimelineTransport.name})),this.connection=Vt.createConnectionManager(this.key,T({getStrategy:function(t){var e=T({},o.config,t);return Me.getDefaultStrategy(e,Te)},timeline:this.timeline,activityTimeout:this.config.activity_timeout,pongTimeout:this.config.pong_timeout,unavailableTimeout:this.config.unavailable_timeout},this.config,{useTLS:this.shouldUseTLS()})),this.connection.bind("connected",(function(){o.subscribeAll(),o.timelineSender&&o.timelineSender.send(o.connection.isUsingTLS())})),this.connection.bind("message",(function(t){var e=0===t.event.indexOf("pusher_internal:");if(t.channel){var n=o.channel(t.channel);n&&n.handleEvent(t)}e||o.global_emitter.emit(t.event,t.data)})),this.connection.bind("connecting",(function(){o.channels.disconnect()})),this.connection.bind("disconnected",(function(){o.channels.disconnect()})),this.connection.bind("error",(function(t){W.warn(t)})),t.instances.push(this),this.timeline.info({instances:t.instances.length}),t.isReady&&this.connect()}return t.ready=function(){t.isReady=!0;for(var e=0,n=t.instances.length;e<n;e++)t.instances[e].connect()},t.getClientFeatures=function(){return C(N({ws:Me.Transports.ws},(function(t){return t.isSupported({})})))},t.prototype.channel=function(t){return this.channels.find(t)},t.prototype.allChannels=function(){return this.channels.all()},t.prototype.connect=function(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var t=this.connection.isUsingTLS(),e=this.timelineSender;this.timelineSenderTimer=new A(6e4,(function(){e.send(t)}))}},t.prototype.disconnect=function(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)},t.prototype.bind=function(t,e,n){return this.global_emitter.bind(t,e,n),this},t.prototype.unbind=function(t,e,n){return this.global_emitter.unbind(t,e,n),this},t.prototype.bind_global=function(t){return this.global_emitter.bind_global(t),this},t.prototype.unbind_global=function(t){return this.global_emitter.unbind_global(t),this},t.prototype.unbind_all=function(t){return this.global_emitter.unbind_all(),this},t.prototype.subscribeAll=function(){var t;for(t in this.channels.channels)this.channels.channels.hasOwnProperty(t)&&this.subscribe(t)},t.prototype.subscribe=function(t){var e=this.channels.add(t,this);return e.subscriptionPending&&e.subscriptionCancelled?e.reinstateSubscription():e.subscriptionPending||"connected"!==this.connection.state||e.subscribe(),e},t.prototype.unsubscribe=function(t){var e=this.channels.find(t);e&&e.subscriptionPending?e.cancelSubscription():(e=this.channels.remove(t))&&"connected"===this.connection.state&&e.unsubscribe()},t.prototype.send_event=function(t,e,n){return this.connection.send_event(t,e,n)},t.prototype.shouldUseTLS=function(){return"https:"===Me.getProtocol()||!0===this.config.forceTLS||Boolean(this.config.encrypted)},t.instances=[],t.isReady=!1,t.logToConsole=!1,t.Runtime=Me,t.ScriptReceivers=Me.ScriptReceivers,t.DependenciesReceivers=Me.DependenciesReceivers,t.auth_callbacks=Me.auth_callbacks,t}(),Oe=e.default=Se;Me.setup(Se)}])},t.exports=n()}).call(this,n(230).Buffer)},function(t,e,n){"use strict";(function(t){var r=n(231),o=n(232),i=n(233);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=f(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),o=(t=s(t,r)).write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|h(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?s(t,0):f(t,e);if("Buffer"===e.type&&i(e.data))return f(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(l(e),t=s(t,e<0?0:0|h(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|h(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function h(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,n);case"utf8":case"utf-8":return T(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return L(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,o);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,o){var i,a=1,s=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=n;i<s;i++)if(u(t,i)===u(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(n+c>s&&(n=s-c),i=n;i>=0;i--){for(var d=!0,f=0;f<c;f++)if(u(t,i+f)!==u(e,f)){d=!1;break}if(d)return i}return-1}function y(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function M(t,e,n,r){return I(H(e,t.length-n),t,n,r)}function _(t,e,n,r){return I(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return _(t,e,n,r)}function x(t,e,n,r){return I(q(e),t,n,r)}function A(t,e,n,r){return I(function(t,e){for(var n,r,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function L(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function T(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o<n;){var i,a,s,c,u=t[o],l=null,d=u>239?4:u>223?3:u>191?2:1;if(o+d<=n)switch(d){case 1:u<128&&(l=u);break;case 2:128==(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=d}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,r){return l(e),e<=0?s(t,e):void 0!==n?"string"==typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return d(null,t)},c.allocUnsafeSlow=function(t){return d(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=c.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var a=t[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,r,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(r,o),l=t.slice(e,n),d=0;d<s;++d)if(u[d]!==l[d]){i=u[d],a=l[d];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return M(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return x(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function S(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function O(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=W(t[i]);return o}function C(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function z(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,n,r,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function E(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o<i;++o)t[n+o]=(e&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function N(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o<i;++o)t[n+o]=e>>>8*(r?o:3-o)&255}function B(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(t,e,n,r,i){return i||B(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function R(t,e,n,r,i){return i||B(t,0,n,8),o.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var o=e-t;n=new c(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},c.prototype.readUInt8=function(t,e){return e||z(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||z(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||z(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return e||z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||z(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||z(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||z(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||z(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||z(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||z(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):E(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):E(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);D(this,t,e,n,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<n&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);D(this,t,e,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):E(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):E(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return P(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return P(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return R(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return R(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var o,i=r-n;if(this===t&&n<e&&e<r)for(o=i-1;o>=0;--o)t[o+e]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var a=c.isBuffer(t)?t:H(new c(t,r).toString()),s=a.length;for(i=0;i<n-e;++i)this[i+e]=a[i%s]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function W(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){var n;e=e||1/0;for(var r=t.length,o=null,i=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Y,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function I(t,e,n,r){for(var o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}).call(this,n(2))},function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=u(t),a=r[0],s=r[1],c=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),l=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)e=o[t.charCodeAt(n)]<<18|o[t.charCodeAt(n+1)]<<12|o[t.charCodeAt(n+2)]<<6|o[t.charCodeAt(n+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===s&&(e=o[t.charCodeAt(n)]<<2|o[t.charCodeAt(n+1)]>>4,c[l++]=255&e);1===s&&(e=o[t.charCodeAt(n)]<<10|o[t.charCodeAt(n+1)]<<4|o[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(l(t,a,a+16383>s?s:a+16383));1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,n){for(var o,i,a=[],s=e;s<n;s+=3)o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,o){var i,a,s=8*o-r-1,c=(1<<s)-1,u=c>>1,l=-7,d=n?o-1:0,f=n?-1:1,h=t[e+d];for(d+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+d],d+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+t[e+d],d+=f,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=u}return(h?-1:1)*a*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<<u)-1,d=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(e*c-1)*Math.pow(2,o),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;t[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;t[n+h]=255&a,h+=p,a/=256,u-=8);t[n+h-p]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){t.exports=n(235)},function(t,e,n){"use strict";(function(e,n){var r=Object.freeze({});function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var g=m("slot,component",!0),v=m("key,ref,slot,slot-scope,is");function b(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function M(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,x=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),A=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),L=/\B([A-Z])/g,T=_((function(t){return t.replace(L,"-$1").toLowerCase()})),k=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function S(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function O(t,e){for(var n in e)t[n]=e[n];return t}function C(t){for(var e={},n=0;n<t.length;n++)t[n]&&O(e,t[n]);return e}function z(t,e,n){}var D=function(t,e,n){return!1},E=function(t){return t};function N(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return N(t[n],e[n])}))}catch(t){return!1}}function B(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function P(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var R="data-server-rendered",Y=["component","directive","filter"],W=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:D,isReservedAttr:D,isUnknownElement:D,getTagNamespace:z,parsePlatformTagName:E,mustUseProp:D,async:!0,_lifecycleHooks:W},q=/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 I(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var j,X=new RegExp("[^"+q.source+".$_\\d]"),F="__proto__"in{},U="undefined"!=typeof window,V="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=V&&WXEnvironment.platform.toLowerCase(),$=U&&window.navigator.userAgent.toLowerCase(),K=$&&/msie|trident/.test($),J=$&&$.indexOf("msie 9.0")>0,Q=$&&$.indexOf("edge/")>0,Z=($&&$.indexOf("android"),$&&/iphone|ipad|ipod|ios/.test($)||"ios"===G),tt=($&&/chrome\/\d+/.test($),$&&/phantomjs/.test($),$&&$.match(/firefox\/(\d+)/)),et={}.watch,nt=!1;if(U)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,rt)}catch(r){}var ot=function(){return void 0===j&&(j=!U&&!V&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),j},it=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,ct="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=z,lt=0,dt=function(){this.id=lt++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){b(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},dt.target=null;var ft=[];function ht(t){ft.push(t),dt.target=t}function pt(){ft.pop(),dt.target=ft[ft.length-1]}var mt=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},gt={child:{configurable:!0}};gt.child.get=function(){return this.componentInstance},Object.defineProperties(mt.prototype,gt);var vt=function(t){void 0===t&&(t="");var e=new mt;return e.text=t,e.isComment=!0,e};function bt(t){return new mt(void 0,void 0,void 0,String(t))}function yt(t){var e=new mt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Mt=Array.prototype,_t=Object.create(Mt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Mt[t];I(_t,t,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var wt=Object.getOwnPropertyNames(_t),xt=!0;function At(t){xt=t}var Lt=function(t){var e;this.value=t,this.dep=new dt,this.vmCount=0,I(t,"__ob__",this),Array.isArray(t)?(F?(e=_t,t.__proto__=e):function(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];I(t,i,e[i])}}(t,_t,wt),this.observeArray(t)):this.walk(t)};function Tt(t,e){var n;if(c(t)&&!(t instanceof mt))return M(t,"__ob__")&&t.__ob__ instanceof Lt?n=t.__ob__:xt&&!ot()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Lt(t)),e&&n&&n.vmCount++,n}function kt(t,e,n,r,o){var i=new dt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var u=!o&&Tt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return dt.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,r=0,o=e.length;r<o;r++)(n=e[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||s&&!c||(c?c.call(t,e):n=e,u=!o&&Tt(e),i.notify())}})}}function St(t,e,n){if(Array.isArray(t)&&d(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(kt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Ot(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||M(t,e)&&(delete t[e],n&&n.dep.notify())}}Lt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)kt(t,e[n])},Lt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Tt(t[e])};var Ct=H.optionMergeStrategies;function zt(t,e){if(!e)return t;for(var n,r,o,i=ct?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=t[n],o=e[n],M(t,n)?r!==o&&l(r)&&l(o)&&zt(r,o):St(t,n,o));return t}function Dt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,o="function"==typeof t?t.call(n,n):t;return r?zt(r,o):o}:e?t?function(){return zt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Et(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Nt(t,e,n,r){var o=Object.create(t||null);return e?O(o,e):o}Ct.data=function(t,e,n){return n?Dt(t,e,n):e&&"function"!=typeof e?t:Dt(t,e)},W.forEach((function(t){Ct[t]=Et})),Y.forEach((function(t){Ct[t+"s"]=Nt})),Ct.watch=function(t,e,n,r){if(t===et&&(t=void 0),e===et&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in O(o,t),e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Ct.props=Ct.methods=Ct.inject=Ct.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return O(o,t),e&&O(o,e),o},Ct.provide=Dt;var Bt=function(t,e){return void 0===e?t:e};function Pt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i[x(o)]={type:null});else if(l(n))for(var a in n)o=n[a],i[x(a)]=l(o)?o:{type:o};t.props=i}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(l(n))for(var i in n){var a=n[i];r[i]=l(a)?O({from:i},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Pt(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Pt(t,e.mixins[r],n);var i,a={};for(i in t)s(i);for(i in e)M(t,i)||s(i);function s(r){var o=Ct[r]||Bt;a[r]=o(t[r],e[r],n,r)}return a}function Rt(t,e,n,r){if("string"==typeof n){var o=t[e];if(M(o,n))return o[n];var i=x(n);if(M(o,i))return o[i];var a=A(i);return M(o,a)?o[a]:o[n]||o[i]||o[a]}}function Yt(t,e,n,r){var o=e[t],i=!M(n,t),a=n[t],s=qt(Boolean,o.type);if(s>-1)if(i&&!M(o,"default"))a=!1;else if(""===a||a===T(t)){var c=qt(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(M(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==Wt(e.type)?r.call(t):r}}(r,o,t);var u=xt;At(!0),Tt(a),At(u)}return a}function Wt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Ht(t,e){return Wt(t)===Wt(e)}function qt(t,e){if(!Array.isArray(e))return Ht(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ht(e[n],t))return n;return-1}function It(t,e,n){ht();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){Xt(t,r,"errorCaptured hook")}}Xt(t,e,n)}finally{pt()}}function jt(t,e,n,r,o){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&f(i)&&!i._handled&&(i.catch((function(t){return It(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(t){It(t,r,o)}return i}function Xt(t,e,n){if(H.errorHandler)try{return H.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Ft(e,null,"config.errorHandler")}Ft(t,e,n)}function Ft(t,e,n){if(!U&&!V||"undefined"==typeof console)throw t;console.error(t)}var Ut,Vt=!1,Gt=[],$t=!1;function Kt(){$t=!1;var t=Gt.slice(0);Gt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&at(Promise)){var Jt=Promise.resolve();Ut=function(){Jt.then(Kt),Z&&setTimeout(z)},Vt=!0}else if(K||"undefined"==typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ut=void 0!==n&&at(n)?function(){n(Kt)}:function(){setTimeout(Kt,0)};else{var Qt=1,Zt=new MutationObserver(Kt),te=document.createTextNode(String(Qt));Zt.observe(te,{characterData:!0}),Ut=function(){Qt=(Qt+1)%2,te.data=String(Qt)},Vt=!0}function ee(t,e){var n;if(Gt.push((function(){if(t)try{t.call(e)}catch(t){It(t,e,"nextTick")}else n&&n(e)})),$t||($t=!0,Ut()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var ne=new st;function re(t){!function t(e,n){var r,o,i=Array.isArray(e);if(!(!i&&!c(e)||Object.isFrozen(e)||e instanceof mt)){if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=e.length;r--;)t(e[r],n);else for(r=(o=Object.keys(e)).length;r--;)t(e[o[r]],n)}}(t,ne),ne.clear()}var oe=_((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function ie(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return jt(r,null,arguments,e,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)jt(o[i],null,t,e,"v-on handler")}return n.fns=t,n}function ae(t,e,n,r,i,s){var c,u,l,d;for(c in t)u=t[c],l=e[c],d=oe(c),o(u)||(o(l)?(o(u.fns)&&(u=t[c]=ie(u,s)),a(d.once)&&(u=t[c]=i(d.name,u,d.capture)),n(d.name,u,d.capture,d.passive,d.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)o(t[c])&&r((d=oe(c)).name,e[c],d.capture)}function se(t,e,n){var r;t instanceof mt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function c(){n.apply(this,arguments),b(r.fns,c)}o(s)?r=ie([c]):i(s.fns)&&a(s.merged)?(r=s).fns.push(c):r=ie([s,c]),r.merged=!0,t[e]=r}function ce(t,e,n,r,o){if(i(e)){if(M(e,n))return t[n]=e[n],o||delete e[n],!0;if(M(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ue(t){return s(t)?[bt(t)]:Array.isArray(t)?function t(e,n){var r,c,u,l,d=[];for(r=0;r<e.length;r++)o(c=e[r])||"boolean"==typeof c||(l=d[u=d.length-1],Array.isArray(c)?c.length>0&&(le((c=t(c,(n||"")+"_"+r))[0])&&le(l)&&(d[u]=bt(l.text+c[0].text),c.shift()),d.push.apply(d,c)):s(c)?le(l)?d[u]=bt(l.text+c):""!==c&&d.push(bt(c)):le(c)&&le(l)?d[u]=bt(l.text+c.text):(a(e._isVList)&&i(c.tag)&&o(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+r+"__"),d.push(c)));return d}(t):void 0}function le(t){return i(t)&&i(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),r=ct?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=t[i].from,s=e;s;){if(s._provided&&M(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[i]){var c=t[i].default;n[i]="function"==typeof c?c.call(e):c}}}return n}}function fe(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(he)&&delete n[u];return n}function he(t){return t.isComment&&!t.asyncFactory||" "===t.text}function pe(t,e,n){var o,i=Object.keys(e).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=me(e,c,t[c]))}else o={};for(var u in e)u in o||(o[u]=ge(e,u));return t&&Object.isExtensible(t)&&(t._normalized=o),I(o,"$stable",a),I(o,"$key",s),I(o,"$hasNormal",i),o}function me(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function ge(t,e){return function(){return t[e]}}function ve(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(ct&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),l=u.next();!l.done;)n.push(e(l.value,n.length)),l=u.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=e(t[s],s,r);return i(n)||(n=[]),n._isVList=!0,n}function be(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=O(O({},r),n)),o=i(n)||e):o=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function ye(t){return Rt(this.$options,"filters",t)||E}function Me(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function _e(t,e,n,r,o){var i=H.keyCodes[e]||n;return o&&r&&!H.keyCodes[e]?Me(o,r):i?Me(i,t):r?T(r)!==e:void 0}function we(t,e,n,r,o){if(n&&c(n)){var i;Array.isArray(n)&&(n=C(n));var a=function(a){if("class"===a||"style"===a||v(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||H.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=x(a),u=T(a);c in i||u in i||(i[a]=n[a],o&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var s in n)a(s)}return t}function xe(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Le(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r}function Ae(t,e,n){return Le(t,"__once__"+e+(n?"_"+n:""),!0),t}function Le(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Te(t[r],e+"_"+r,n);else Te(t,e,n)}function Te(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ke(t,e){if(e&&l(e)){var n=t.on=t.on?O({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}return t}function Se(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?Se(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function Oe(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Ce(t,e){return"string"==typeof t?e+t:t}function ze(t){t._o=Ae,t._n=p,t._s=h,t._l=ve,t._t=be,t._q=N,t._i=B,t._m=xe,t._f=ye,t._k=_e,t._b=we,t._v=bt,t._e=vt,t._u=Se,t._g=ke,t._d=Oe,t._p=Ce}function De(t,e,n,o,i){var s,c=this,u=i.options;M(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var l=a(u._compiled),d=!l;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=de(u.inject,o),this.slots=function(){return c.$slots||pe(t.scopedSlots,c.$slots=fe(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pe(t.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=pe(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var i=We(s,t,e,n,r,d);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(t,e,n,r){return We(s,t,e,n,r,d)}}function Ee(t,e,n,r,o){var i=yt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Ne(t,e){for(var n in e)t[x(n)]=e[n]}ze(De.prototype);var Be={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Be.prepatch(n,n)}else(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}(t,$e)).$mount(e?t.elm:void 0,e)},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,o,i){var a=o.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),u=!!(i||t.$options._renderChildren||c);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i,t.$attrs=o.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){At(!1);for(var l=t._props,d=t.$options._propKeys||[],f=0;f<d.length;f++){var h=d[f],p=t.$options.props;l[h]=Yt(h,p,e,t)}At(!0),t.$options.propsData=e}n=n||r;var m=t.$options._parentListeners;t.$options._parentListeners=n,Ge(t,n,m),u&&(t.$slots=fe(i,o.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Ze(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,en.push(e)):Qe(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,Je(e))||e._inactive)){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);Ze(e,"deactivated")}}(e,!0):e.$destroy())}},Pe=Object.keys(Be);function Re(t,e,n,s,u){if(!o(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"==typeof t){var d;if(o(t.cid)&&void 0===(t=function(t,e){if(a(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=qe;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),a(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var r=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return b(r,n)}));var d=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},h=P((function(n){t.resolved=Ie(n,e),s?r.length=0:d(!0)})),p=P((function(e){i(t.errorComp)&&(t.error=!0,d(!0))})),m=t(h,p);return c(m)&&(f(m)?o(t.resolved)&&m.then(h,p):f(m.component)&&(m.component.then(h,p),i(m.error)&&(t.errorComp=Ie(m.error,e)),i(m.loading)&&(t.loadingComp=Ie(m.loading,e),0===m.delay?t.loading=!0:u=setTimeout((function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,d(!1))}),m.delay||200)),i(m.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&p(null)}),m.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}(d=t,l)))return function(t,e,n,r,o){var i=vt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(d,e,n,s,u);e=e||{},_n(t),i(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[r],s=e.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(t.options,e);var h=function(t,e,n){var r=e.options.props;if(!o(r)){var a={},s=t.attrs,c=t.props;if(i(s)||i(c))for(var u in r){var l=T(u);ce(a,c,u,l,!0)||ce(a,s,u,l,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,o,a){var s=t.options,c={},u=s.props;if(i(u))for(var l in u)c[l]=Yt(l,u,e||r);else i(n.attrs)&&Ne(c,n.attrs),i(n.props)&&Ne(c,n.props);var d=new De(n,c,a,o,t),f=s.render.call(null,d._c,d);if(f instanceof mt)return Ee(f,n,d.parent,s);if(Array.isArray(f)){for(var h=ue(f)||[],p=new Array(h.length),m=0;m<h.length;m++)p[m]=Ee(h[m],n,d.parent,s);return p}}(t,h,e,n,s);var p=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Pe.length;n++){var r=Pe[n],o=e[r],i=Be[r];o===i||o&&o._merged||(e[r]=o?Ye(i,o):i)}}(e);var g=t.options.name||u;return new mt("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:p,tag:u,children:s},d)}}}function Ye(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function We(t,e,n,r,u,l){return(Array.isArray(n)||s(n))&&(u=r,r=n,n=void 0),a(l)&&(u=2),function(t,e,n,r,s){if(i(n)&&i(n.__ob__))return vt();if(i(n)&&i(n.is)&&(e=n.is),!e)return vt();var u,l,d;(Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),2===s?r=ue(r):1===s&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r)),"string"==typeof e)?(l=t.$vnode&&t.$vnode.ns||H.getTagNamespace(e),u=H.isReservedTag(e)?new mt(H.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(d=Rt(t.$options,"components",e))?new mt(e,n,r,void 0,void 0,t):Re(d,n,t,r,e)):u=Re(e,n,t,r);return Array.isArray(u)?u:i(u)?(i(l)&&function t(e,n,r){if(e.ns=n,"foreignObject"===e.tag&&(n=void 0,r=!0),i(e.children))for(var s=0,c=e.children.length;s<c;s++){var u=e.children[s];i(u.tag)&&(o(u.ns)||a(r)&&"svg"!==u.tag)&&t(u,n,r)}}(u,l),i(n)&&function(t){c(t.style)&&re(t.style),c(t.class)&&re(t.class)}(n),u):vt()}(t,e,n,r,u)}var He,qe=null;function Ie(t,e){return(t.__esModule||ct&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function je(t){return t.isComment&&t.asyncFactory}function Xe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||je(n)))return n}}function Fe(t,e){He.$on(t,e)}function Ue(t,e){He.$off(t,e)}function Ve(t,e){var n=He;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function Ge(t,e,n){He=t,ae(e,n||{},Fe,Ue,Ve,t),He=void 0}var $e=null;function Ke(t){var e=$e;return $e=t,function(){$e=e}}function Je(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Qe(t,e){if(e){if(t._directInactive=!1,Je(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Qe(t.$children[n]);Ze(t,"activated")}}function Ze(t,e){ht();var n=t.$options[e],r=e+" hook";if(n)for(var o=0,i=n.length;o<i;o++)jt(n[o],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),pt()}var tn=[],en=[],nn={},rn=!1,on=!1,an=0,sn=0,cn=Date.now;if(U&&!K){var un=window.performance;un&&"function"==typeof un.now&&cn()>document.createEvent("Event").timeStamp&&(cn=function(){return un.now()})}function ln(){var t,e;for(sn=cn(),on=!0,tn.sort((function(t,e){return t.id-e.id})),an=0;an<tn.length;an++)(t=tn[an]).before&&t.before(),e=t.id,nn[e]=null,t.run();var n=en.slice(),r=tn.slice();an=tn.length=en.length=0,nn={},rn=on=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Qe(t[e],!0)}(n),function(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Ze(r,"updated")}}(r),it&&H.devtools&&it.emit("flush")}var dn=0,fn=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++dn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!X.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=z)),this.value=this.lazy?void 0:this.get()};fn.prototype.get=function(){var t;ht(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;It(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&re(t),pt(),this.cleanupDeps()}return t},fn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},fn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.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},fn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==nn[e]){if(nn[e]=!0,on){for(var n=tn.length-1;n>an&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(ln))}}(this)},fn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){It(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:z,set:z};function pn(t,e,n){hn.get=function(){return this[e][n]},hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,hn)}var mn={lazy:!0};function gn(t,e,n){var r=!ot();"function"==typeof n?(hn.get=r?vn(e):bn(n),hn.set=z):(hn.get=n.get?r&&!1!==n.cache?vn(e):bn(n.get):z,hn.set=n.set||z),Object.defineProperty(t,e,hn)}function vn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function bn(t){return function(){return t.call(this,this)}}function yn(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Mn=0;function _n(t){var e=t.options;if(t.super){var n=_n(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&O(t.extendOptions,r),(e=t.options=Pt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function wn(t){this._init(t)}function xn(t){return t&&(t.Ctor.options.name||t.tag)}function An(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===u.call(n)&&t.test(e));var n}function Ln(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=xn(a.componentOptions);s&&!e(s)&&Tn(n,i,r,o)}}}function Tn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,b(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Mn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Pt(_n(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ge(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=fe(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return We(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return We(t,e,n,r,o,!0)};var i=n&&n.data;kt(t,"$attrs",i&&i.attrs||r,null,!0),kt(t,"$listeners",e._parentListeners||r,null,!0)}(e),Ze(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){kt(t,n,e[n])})),At(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&At(!1);var i=function(i){o.push(i);var a=Yt(i,e,n,t);kt(r,i,a),i in t||pn(t,"_props",i)};for(var a in e)i(a);At(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?z:k(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return It(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});for(var n,r=Object.keys(e),o=t.$options.props,i=(t.$options.methods,r.length);i--;){var a=r[i];o&&M(o,a)||(void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&pn(t,"_data",a))}Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new fn(t,a||z,z,mn)),o in t||gn(t,o,i)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)yn(t,n,r[o]);else yn(t,n,r)}}(t,e.watch)}(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Ze(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(wn),function(t){Object.defineProperty(t.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(t.prototype,"$props",{get:function(){return this._props}}),t.prototype.$set=St,t.prototype.$delete=Ot,t.prototype.$watch=function(t,e,n){if(l(e))return yn(this,t,e,n);(n=n||{}).user=!0;var r=new fn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){It(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var i,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((i=a[s])===e||i.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this._events[t];if(e){e=e.length>1?S(e):e;for(var n=S(arguments,1),r='event handler for "'+t+'"',o=0,i=e.length;o<i;o++)jt(e[o],this,n,this,r)}return this}}(wn),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=Ke(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Ze(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||b(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Ze(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(wn),function(t){ze(t.prototype),t.prototype.$nextTick=function(t){return ee(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&(e.$scopedSlots=pe(o.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=o;try{qe=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){It(n,e,"render"),t=e._vnode}finally{qe=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof mt||(t=vt()),t.parent=o,t}}(wn);var kn=[String,RegExp,Array],Sn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:kn,exclude:kn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Tn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Ln(t,(function(t){return An(e,t)}))})),this.$watch("exclude",(function(e){Ln(t,(function(t){return!An(e,t)}))}))},render:function(){var t=this.$slots.default,e=Xe(t),n=e&&e.componentOptions;if(n){var r=xn(n),o=this.include,i=this.exclude;if(o&&(!r||!An(o,r))||i&&r&&An(i,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,b(s,c),s.push(c)):(a[c]=e,s.push(c),this.max&&s.length>parseInt(this.max)&&Tn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:O,mergeOptions:Pt,defineReactive:kt},t.set=St,t.delete=Ot,t.nextTick=ee,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),Y.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,O(t.options.components,Sn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Pt(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Pt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)pn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)gn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Y.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=O({},a.options),o[r]=a,a}}(t),function(t){Y.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:ot}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:De}),wn.version="2.6.11";var On=m("style,class"),Cn=m("input,textarea,option,select,progress"),zn=function(t,e,n){return"value"===n&&Cn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Dn=m("contenteditable,draggable,spellcheck"),En=m("events,caret,typing,plaintext-only"),Nn=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"),Bn="http://www.w3.org/1999/xlink",Pn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Rn=function(t){return Pn(t)?t.slice(6,t.length):""},Yn=function(t){return null==t||!1===t};function Wn(t,e){return{staticClass:Hn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Hn(t,e){return t?e?t+" "+e:t:e||""}function qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=qn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):c(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var In={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},jn=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"),Xn=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),Fn=function(t){return jn(t)||Xn(t)};function Un(t){return Xn(t)?"svg":"math"===t?"math":void 0}var Vn=Object.create(null),Gn=m("text,number,password,search,email,tel,url");function $n(t){return"string"==typeof t?document.querySelector(t)||document.createElement("div"):t}var Kn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(In[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Jn={create:function(t,e){Qn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Qn(t,!0),Qn(e))},destroy:function(t){Qn(t,!0)}};function Qn(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?b(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Zn=new mt("",{},[]),tr=["create","activate","update","remove","destroy"];function er(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Gn(r)&&Gn(o)}(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function nr(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}var rr={create:or,update:or,destroy:function(t){or(t,Zn)}};function or(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===Zn,a=e===Zn,s=ar(t.data.directives,t.context),c=ar(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,cr(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(cr(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var d=function(){for(var n=0;n<u.length;n++)cr(u[n],"inserted",e,t)};i?se(e,"insert",d):d()}if(l.length&&se(e,"postpatch",(function(){for(var n=0;n<l.length;n++)cr(l[n],"componentUpdated",e,t)})),!i)for(n in s)c[n]||cr(s[n],"unbind",t,t,a)}(t,e)}var ir=Object.create(null);function ar(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=ir),o[sr(r)]=r,r.def=Rt(e.$options,"directives",r.name);return o}function sr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function cr(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){It(r,n.context,"directive "+t.name+" "+e+" hook")}}var ur=[Jn,rr];function lr(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(r in i(u.__ob__)&&(u=e.data.attrs=O({},u)),u)a=u[r],c[r]!==a&&dr(s,r,a);for(r in(K||Q)&&u.value!==c.value&&dr(s,"value",u.value),c)o(u[r])&&(Pn(r)?s.removeAttributeNS(Bn,Rn(r)):Dn(r)||s.removeAttribute(r))}}function dr(t,e,n){t.tagName.indexOf("-")>-1?fr(t,e,n):Nn(e)?Yn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Dn(e)?t.setAttribute(e,function(t,e){return Yn(e)||"false"===e?"false":"contenteditable"===t&&En(e)?e:"true"}(e,n)):Pn(e)?Yn(n)?t.removeAttributeNS(Bn,Rn(e)):t.setAttributeNS(Bn,e,n):fr(t,e,n)}function fr(t,e,n){if(Yn(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var hr={create:lr,update:lr};function pr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=function(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Wn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Wn(e,n.data));return function(t,e){return i(t)||i(e)?Hn(t,qn(e)):""}(e.staticClass,e.class)}(e),c=n._transitionClasses;i(c)&&(s=Hn(s,qn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var mr,gr,vr,br,yr,Mr,_r={create:pr,update:pr},wr=/[\w).+\-_$\]]/;function xr(t){var e,n,r,o,i,a=!1,s=!1,c=!1,u=!1,l=0,d=0,f=0,h=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||l||d||f){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:d++;break;case 93:d--;break;case 123:l++;break;case 125:l--}if(47===e){for(var p=r-1,m=void 0;p>=0&&" "===(m=t.charAt(p));p--);m&&wr.test(m)||(u=!0)}}else void 0===o?(h=r+1,o=t.slice(0,r).trim()):g();function g(){(i||(i=[])).push(t.slice(h,r).trim()),h=r+1}if(void 0===o?o=t.slice(0,r).trim():0!==h&&g(),i)for(r=0;r<i.length;r++)o=Ar(o,i[r]);return o}function Ar(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),o=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==o?","+o:o)}function Lr(t,e){console.error("[Vue compiler]: "+t)}function Tr(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function kr(t,e,n,r,o){(t.props||(t.props=[])).push(Pr({name:e,value:n,dynamic:o},r)),t.plain=!1}function Sr(t,e,n,r,o){(o?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Pr({name:e,value:n,dynamic:o},r)),t.plain=!1}function Or(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(Pr({name:e,value:n},r))}function Cr(t,e,n,r,o,i,a,s){(t.directives||(t.directives=[])).push(Pr({name:e,rawName:n,value:r,arg:o,isDynamicArg:i,modifiers:a},s)),t.plain=!1}function zr(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Dr(t,e,n,o,i,a,s,c){var u;(o=o||r).right?c?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete o.right):o.middle&&(c?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),o.capture&&(delete o.capture,e=zr("!",e,c)),o.once&&(delete o.once,e=zr("~",e,c)),o.passive&&(delete o.passive,e=zr("&",e,c)),o.native?(delete o.native,u=t.nativeEvents||(t.nativeEvents={})):u=t.events||(t.events={});var l=Pr({value:n.trim(),dynamic:c},s);o!==r&&(l.modifiers=o);var d=u[e];Array.isArray(d)?i?d.unshift(l):d.push(l):u[e]=d?i?[l,d]:[d,l]:l,t.plain=!1}function Er(t,e,n){var r=Nr(t,":"+e)||Nr(t,"v-bind:"+e);if(null!=r)return xr(r);if(!1!==n){var o=Nr(t,e);if(null!=o)return JSON.stringify(o)}}function Nr(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var o=t.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===e){o.splice(i,1);break}return n&&delete t.attrsMap[e],r}function Br(t,e){for(var n=t.attrsList,r=0,o=n.length;r<o;r++){var i=n[r];if(e.test(i.name))return n.splice(r,1),i}}function Pr(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Rr(t,e,n){var r=n||{},o=r.number,i="$$v";r.trim&&(i="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(i="_n("+i+")");var a=Yr(e,i);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+a+"}"}}function Yr(t,e){var n=function(t){if(t=t.trim(),mr=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<mr-1)return(br=t.lastIndexOf("."))>-1?{exp:t.slice(0,br),key:'"'+t.slice(br+1)+'"'}:{exp:t,key:null};for(gr=t,br=yr=Mr=0;!Hr();)qr(vr=Wr())?jr(vr):91===vr&&Ir(vr);return{exp:t.slice(0,yr),key:t.slice(yr+1,Mr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Wr(){return gr.charCodeAt(++br)}function Hr(){return br>=mr}function qr(t){return 34===t||39===t}function Ir(t){var e=1;for(yr=br;!Hr();)if(qr(t=Wr()))jr(t);else if(91===t&&e++,93===t&&e--,0===e){Mr=br;break}}function jr(t){for(var e=t;!Hr()&&(t=Wr())!==e;);}var Xr,Fr="__r";function Ur(t,e,n){var r=Xr;return function o(){null!==e.apply(null,arguments)&&$r(t,o,n,r)}}var Vr=Vt&&!(tt&&Number(tt[1])<=53);function Gr(t,e,n,r){if(Vr){var o=sn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Xr.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function $r(t,e,n,r){(r||Xr).removeEventListener(t,e._wrapper||e,n)}function Kr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Xr=e.elm,function(t){if(i(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}i(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ae(n,r,Gr,$r,Ur,e.context),Xr=void 0}}var Jr,Qr={create:Kr,update:Kr};function Zr(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=O({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=o(r)?"":String(r);to(a,u)&&(a.value=u)}else if("innerHTML"===n&&Xn(a.tagName)&&o(a.innerHTML)){(Jr=Jr||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=Jr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function to(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return p(n)!==p(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var eo={create:Zr,update:Zr},no=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function ro(t){var e=oo(t.style);return t.staticStyle?O(t.staticStyle,e):e}function oo(t){return Array.isArray(t)?C(t):"string"==typeof t?no(t):t}var io,ao=/^--/,so=/\s*!important$/,co=function(t,e,n){if(ao.test(e))t.style.setProperty(e,n);else if(so.test(n))t.style.setProperty(T(e),n.replace(so,""),"important");else{var r=lo(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},uo=["Webkit","Moz","ms"],lo=_((function(t){if(io=io||document.createElement("div").style,"filter"!==(t=x(t))&&t in io)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<uo.length;n++){var r=uo[n]+e;if(r in io)return r}}));function fo(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var a,s,c=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},d=u||l,f=oo(e.data.style)||{};e.data.normalizedStyle=i(f.__ob__)?O({},f):f;var h=function(t,e){for(var n,r={},o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=ro(o.data))&&O(r,n);(n=ro(t.data))&&O(r,n);for(var i=t;i=i.parent;)i.data&&(n=ro(i.data))&&O(r,n);return r}(e);for(s in d)o(h[s])&&co(c,s,"");for(s in h)(a=h[s])!==d[s]&&co(c,s,null==a?"":a)}}var ho={create:fo,update:fo},po=/\s+/;function mo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(po).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function go(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(po).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function vo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,bo(t.name||"v")),O(e,t),e}return"string"==typeof t?bo(t):void 0}}var bo=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),yo=U&&!J,Mo="transition",_o="animation",wo="transition",xo="transitionend",Ao="animation",Lo="animationend";yo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(wo="WebkitTransition",xo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ao="WebkitAnimation",Lo="webkitAnimationEnd"));var To=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ko(t){To((function(){To(t)}))}function So(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),mo(t,e))}function Oo(t,e){t._transitionClasses&&b(t._transitionClasses,e),go(t,e)}function Co(t,e,n){var r=Do(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Mo?xo:Lo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c<a&&u()}),i+1),t.addEventListener(s,l)}var zo=/\b(transform|all)(,|$)/;function Do(t,e){var n,r=window.getComputedStyle(t),o=(r[wo+"Delay"]||"").split(", "),i=(r[wo+"Duration"]||"").split(", "),a=Eo(o,i),s=(r[Ao+"Delay"]||"").split(", "),c=(r[Ao+"Duration"]||"").split(", "),u=Eo(s,c),l=0,d=0;return e===Mo?a>0&&(n=Mo,l=a,d=i.length):e===_o?u>0&&(n=_o,l=u,d=c.length):d=(n=(l=Math.max(a,u))>0?a>u?Mo:_o:null)?n===Mo?i.length:c.length:0,{type:n,timeout:l,propCount:d,hasTransform:n===Mo&&zo.test(r[wo+"Property"])}}function Eo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return No(e)+No(t[n])})))}function No(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Bo(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=vo(t.data.transition);if(!o(r)&&!i(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,u=r.enterClass,l=r.enterToClass,d=r.enterActiveClass,f=r.appearClass,h=r.appearToClass,m=r.appearActiveClass,g=r.beforeEnter,v=r.enter,b=r.afterEnter,y=r.enterCancelled,M=r.beforeAppear,_=r.appear,w=r.afterAppear,x=r.appearCancelled,A=r.duration,L=$e,T=$e.$vnode;T&&T.parent;)L=T.context,T=T.parent;var k=!L._isMounted||!t.isRootInsert;if(!k||_||""===_){var S=k&&f?f:u,O=k&&m?m:d,C=k&&h?h:l,z=k&&M||g,D=k&&"function"==typeof _?_:v,E=k&&w||b,N=k&&x||y,B=p(c(A)?A.enter:A),R=!1!==a&&!J,Y=Yo(D),W=n._enterCb=P((function(){R&&(Oo(n,C),Oo(n,O)),W.cancelled?(R&&Oo(n,S),N&&N(n)):E&&E(n),n._enterCb=null}));t.data.show||se(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),D&&D(n,W)})),z&&z(n),R&&(So(n,S),So(n,O),ko((function(){Oo(n,S),W.cancelled||(So(n,C),Y||(Ro(B)?setTimeout(W,B):Co(n,s,W)))}))),t.data.show&&(e&&e(),D&&D(n,W)),R||Y||W()}}}function Po(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=vo(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var a=r.css,s=r.type,u=r.leaveClass,l=r.leaveToClass,d=r.leaveActiveClass,f=r.beforeLeave,h=r.leave,m=r.afterLeave,g=r.leaveCancelled,v=r.delayLeave,b=r.duration,y=!1!==a&&!J,M=Yo(h),_=p(c(b)?b.leave:b),w=n._leaveCb=P((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(Oo(n,l),Oo(n,d)),w.cancelled?(y&&Oo(n,u),g&&g(n)):(e(),m&&m(n)),n._leaveCb=null}));v?v(x):x()}function x(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),f&&f(n),y&&(So(n,u),So(n,d),ko((function(){Oo(n,u),w.cancelled||(So(n,l),M||(Ro(_)?setTimeout(w,_):Co(n,s,w)))}))),h&&h(n,w),y||M||w())}}function Ro(t){return"number"==typeof t&&!isNaN(t)}function Yo(t){if(o(t))return!1;var e=t.fns;return i(e)?Yo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Wo(t,e){!0!==e.data.show&&Bo(e)}var Ho=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;e<tr.length;++e)for(r[tr[e]]=[],n=0;n<c.length;++n)i(c[n][tr[e]])&&r[tr[e]].push(c[n][tr[e]]);function l(t){var e=u.parentNode(t);i(e)&&u.removeChild(e,t)}function d(t,e,n,o,s,c,l){if(i(t.elm)&&i(c)&&(t=c[l]=yt(t)),t.isRootInsert=!s,!function(t,e,n,o){var s=t.data;if(i(s)){var c=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return f(t,e),h(n,t.elm,o),a(c)&&function(t,e,n,o){for(var a,s=t;s.componentInstance;)if(i(a=(s=s.componentInstance._vnode).data)&&i(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](Zn,s);e.push(s);break}h(n,t.elm,o)}(t,e,n,o),!0}}(t,e,n,o)){var d=t.data,m=t.children,g=t.tag;i(g)?(t.elm=t.ns?u.createElementNS(t.ns,g):u.createElement(g,t),b(t),p(t,m,e),i(d)&&v(t,e),h(n,t.elm,o)):a(t.isComment)?(t.elm=u.createComment(t.text),h(n,t.elm,o)):(t.elm=u.createTextNode(t.text),h(n,t.elm,o))}}function f(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(v(t,e),b(t)):(Qn(t),e.push(t))}function h(t,e,n){i(t)&&(i(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)d(e[r],n,t.elm,null,!0,e,r);else s(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function v(t,n){for(var o=0;o<r.create.length;++o)r.create[o](Zn,t);i(e=t.data.hook)&&(i(e.create)&&e.create(Zn,t),i(e.insert)&&n.push(t))}function b(t){var e;if(i(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;i(e=$e)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function y(t,e,n,r,o,i){for(;r<=o;++r)d(n[r],i,t,e,!1,n,r)}function M(t){var e,n,o=t.data;if(i(o))for(i(e=o.hook)&&i(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)M(t.children[n])}function _(t,e,n){for(;e<=n;++e){var r=t[e];i(r)&&(i(r.tag)?(w(r),M(r)):l(r.elm))}}function w(t,e){if(i(e)||i(t.data)){var n,o=r.remove.length+1;for(i(e)?e.listeners+=o:e=function(t,e){function n(){0==--n.listeners&&l(t)}return n.listeners=e,n}(t.elm,o),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&w(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else l(t.elm)}function x(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&er(t,a))return o}}function A(t,e,n,s,c,l){if(t!==e){i(e.elm)&&i(s)&&(e=s[c]=yt(e));var f=e.elm=t.elm;if(a(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?k(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,p=e.data;i(p)&&i(h=p.hook)&&i(h=h.prepatch)&&h(t,e);var m=t.children,v=e.children;if(i(p)&&g(e)){for(h=0;h<r.update.length;++h)r.update[h](t,e);i(h=p.hook)&&i(h=h.update)&&h(t,e)}o(e.text)?i(m)&&i(v)?m!==v&&function(t,e,n,r,a){for(var s,c,l,f=0,h=0,p=e.length-1,m=e[0],g=e[p],v=n.length-1,b=n[0],M=n[v],w=!a;f<=p&&h<=v;)o(m)?m=e[++f]:o(g)?g=e[--p]:er(m,b)?(A(m,b,r,n,h),m=e[++f],b=n[++h]):er(g,M)?(A(g,M,r,n,v),g=e[--p],M=n[--v]):er(m,M)?(A(m,M,r,n,v),w&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++f],M=n[--v]):er(g,b)?(A(g,b,r,n,h),w&&u.insertBefore(t,g.elm,m.elm),g=e[--p],b=n[++h]):(o(s)&&(s=nr(e,f,p)),o(c=i(b.key)?s[b.key]:x(b,e,f,p))?d(b,r,t,m.elm,!1,n,h):er(l=e[c],b)?(A(l,b,r,n,h),e[c]=void 0,w&&u.insertBefore(t,l.elm,m.elm)):d(b,r,t,m.elm,!1,n,h),b=n[++h]);f>p?y(t,o(n[v+1])?null:n[v+1].elm,n,h,v,r):h>v&&_(e,f,p)}(f,m,v,n,l):i(v)?(i(t.text)&&u.setTextContent(f,""),y(f,null,v,0,v.length-1,n)):i(m)?_(m,0,m.length-1):i(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),i(p)&&i(h=p.hook)&&i(h=h.postpatch)&&h(t,e)}}}function L(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var T=m("attrs,class,staticClass,staticStyle,key");function k(t,e,n,r){var o,s=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,a(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(o=c.hook)&&i(o=o.init)&&o(e,!0),i(o=e.componentInstance)))return f(e,n),!0;if(i(s)){if(i(u))if(t.hasChildNodes())if(i(o=c)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var l=!0,d=t.firstChild,h=0;h<u.length;h++){if(!d||!k(d,u[h],n,r)){l=!1;break}d=d.nextSibling}if(!l||d)return!1}else p(e,u,n);if(i(c)){var m=!1;for(var g in c)if(!T(g)){m=!0,v(e,n);break}!m&&c.class&&re(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!o(e)){var c,l=!1,f=[];if(o(t))l=!0,d(e,f);else{var h=i(t.nodeType);if(!h&&er(t,e))A(t,e,f,null,null,s);else{if(h){if(1===t.nodeType&&t.hasAttribute(R)&&(t.removeAttribute(R),n=!0),a(n)&&k(t,e,f))return L(e,f,!0),t;c=t,t=new mt(u.tagName(c).toLowerCase(),{},[],void 0,c)}var p=t.elm,m=u.parentNode(p);if(d(e,f,p._leaveCb?null:m,u.nextSibling(p)),i(e.parent))for(var v=e.parent,b=g(e);v;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](v);if(v.elm=e.elm,b){for(var w=0;w<r.create.length;++w)r.create[w](Zn,v);var x=v.data.hook.insert;if(x.merged)for(var T=1;T<x.fns.length;T++)x.fns[T]()}else Qn(v);v=v.parent}i(m)?_([t],0,0):i(t.tag)&&M(t)}}return L(e,f,l),e.elm}i(t)&&M(t)}}({nodeOps:Kn,modules:[hr,_r,Qr,eo,ho,U?{create:Wo,activate:Wo,remove:function(t,e){!0!==t.data.show?Po(t,e):e()}}:{}].concat(ur)});J&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Go(t,"input")}));var qo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?se(n,"postpatch",(function(){qo.componentUpdated(t,e,n)})):Io(t,e,n.context),t._vOptions=[].map.call(t.options,Fo)):("textarea"===n.tag||Gn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Uo),t.addEventListener("compositionend",Vo),t.addEventListener("change",Vo),J&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Io(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Fo);o.some((function(t,e){return!N(t,r[e])}))&&(t.multiple?e.value.some((function(t){return Xo(t,o)})):e.value!==e.oldValue&&Xo(e.value,o))&&Go(t,"change")}}};function Io(t,e,n){jo(t,e,n),(K||Q)&&setTimeout((function(){jo(t,e,n)}),0)}function jo(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=B(r,Fo(a))>-1,a.selected!==i&&(a.selected=i);else if(N(Fo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Xo(t,e){return e.every((function(e){return!N(e,t)}))}function Fo(t){return"_value"in t?t._value:t.value}function Uo(t){t.target.composing=!0}function Vo(t){t.target.composing&&(t.target.composing=!1,Go(t.target,"input"))}function Go(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function $o(t){return!t.componentInstance||t.data&&t.data.transition?t:$o(t.componentInstance._vnode)}var Ko={model:qo,show:{bind:function(t,e,n){var r=e.value,o=(n=$o(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Bo(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=$o(n)).data&&n.data.transition?(n.data.show=!0,r?Bo(n,(function(){t.style.display=t.__vOriginalDisplay})):Po(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},Jo={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 Qo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Qo(Xe(e.children)):t}function Zo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[x(i)]=o[i];return e}function ti(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ei=function(t){return t.tag||je(t)},ni=function(t){return"show"===t.name},ri={name:"transition",props:Jo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ei)).length){var r=this.mode,o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Qo(o);if(!i)return o;if(this._leaving)return ti(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=Zo(this),u=this._vnode,l=Qo(u);if(i.data.directives&&i.data.directives.some(ni)&&(i.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,l)&&!je(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=O({},c);if("out-in"===r)return this._leaving=!0,se(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ti(t,o);if("in-out"===r){if(je(i))return u;var f,h=function(){f()};se(c,"afterEnter",h),se(c,"enterCancelled",h),se(d,"delayLeave",(function(t){f=t}))}}return o}}},oi=O({tag:String,moveClass:String},Jo);function ii(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ai(t){t.data.newPos=t.elm.getBoundingClientRect()}function si(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete oi.mode;var ci={Transition:ri,TransitionGroup:{props:oi,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ke(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Zo(this),s=0;s<o.length;s++){var c=o[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(r){for(var u=[],l=[],d=0;d<r.length;d++){var f=r[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?u.push(f):l.push(f)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(ii),t.forEach(ai),t.forEach(si),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;So(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(xo,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(xo,t),n._moveCb=null,Oo(n,e))})}})))},methods:{hasMove:function(t,e){if(!yo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){go(n,t)})),mo(n,e),n.style.display="none",this.$el.appendChild(n);var r=Do(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};wn.config.mustUseProp=zn,wn.config.isReservedTag=Fn,wn.config.isReservedAttr=On,wn.config.getTagNamespace=Un,wn.config.isUnknownElement=function(t){if(!U)return!0;if(Fn(t))return!1;if(t=t.toLowerCase(),null!=Vn[t])return Vn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Vn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vn[t]=/HTMLUnknownElement/.test(e.toString())},O(wn.options.directives,Ko),O(wn.options.components,ci),wn.prototype.__patch__=U?Ho:z,wn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=vt),Ze(t,"beforeMount"),r=function(){t._update(t._render(),n)},new fn(t,r,z,{before:function(){t._isMounted&&!t._isDestroyed&&Ze(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Ze(t,"mounted")),t}(this,t=t&&U?$n(t):void 0,e)},U&&setTimeout((function(){H.devtools&&it&&it.emit("init",wn)}),0);var ui,li=/\{\{((?:.|\r?\n)+?)\}\}/g,di=/[-.*+?^${}()|[\]\/\\]/g,fi=_((function(t){var e=t[0].replace(di,"\\$&"),n=t[1].replace(di,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")})),hi={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Nr(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=Er(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},pi={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Nr(t,"style");n&&(t.staticStyle=JSON.stringify(no(n)));var r=Er(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},mi=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),gi=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),vi=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"),bi=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,yi=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Mi="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+q.source+"]*",_i="((?:"+Mi+"\\:)?"+Mi+")",wi=new RegExp("^<"+_i),xi=/^\s*(\/?)>/,Ai=new RegExp("^<\\/"+_i+"[^>]*>"),Li=/^<!DOCTYPE [^>]+>/i,Ti=/^<!\--/,ki=/^<!\[/,Si=m("script,style,textarea",!0),Oi={},Ci={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},zi=/&(?:lt|gt|quot|amp|#39);/g,Di=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ei=m("pre,textarea",!0),Ni=function(t,e){return t&&Ei(t)&&"\n"===e[0]};function Bi(t,e){var n=e?Di:zi;return t.replace(n,(function(t){return Ci[t]}))}var Pi,Ri,Yi,Wi,Hi,qi,Ii,ji,Xi=/^@|^v-on:/,Fi=/^v-|^@|^:|^#/,Ui=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Vi=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Gi=/^\(|\)$/g,$i=/^\[.*\]$/,Ki=/:(.*)$/,Ji=/^:|^\.|^v-bind:/,Qi=/\.[^.\]]+(?=[^\]]*$)/g,Zi=/^v-slot(:|$)|^#/,ta=/[\r\n]/,ea=/\s+/g,na=_((function(t){return(ui=ui||document.createElement("div")).innerHTML=t,ui.textContent})),ra="_empty_";function oa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:la(e),rawAttrsMap:{},parent:n,children:[]}}function ia(t,e){var n,r;(r=Er(n=t,"key"))&&(n.key=r),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Er(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Nr(t,"scope"),t.slotScope=e||Nr(t,"slot-scope")):(e=Nr(t,"slot-scope"))&&(t.slotScope=e);var n=Er(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Sr(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot"))),"template"===t.tag){var r=Br(t,Zi);if(r){var o=ca(r),i=o.name,a=o.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=r.value||ra}}else{var s=Br(t,Zi);if(s){var c=t.scopedSlots||(t.scopedSlots={}),u=ca(s),l=u.name,d=u.dynamic,f=c[l]=oa("template",[],t);f.slotTarget=l,f.slotTargetDynamic=d,f.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=f,!0})),f.slotScope=s.value||ra,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Er(t,"name"))}(t),function(t){var e;(e=Er(t,"is"))&&(t.component=e),null!=Nr(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var o=0;o<Yi.length;o++)t=Yi[o](t,e)||t;return function(t){var e,n,r,o,i,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(r=o=u[e].name,i=u[e].value,Fi.test(r))if(t.hasBindings=!0,(a=ua(r.replace(Fi,"")))&&(r=r.replace(Qi,"")),Ji.test(r))r=r.replace(Ji,""),i=xr(i),(c=$i.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=x(r))&&(r="innerHTML"),a.camel&&!c&&(r=x(r)),a.sync&&(s=Yr(i,"$event"),c?Dr(t,'"update:"+('+r+")",s,null,!1,0,u[e],!0):(Dr(t,"update:"+x(r),s,null,!1,0,u[e]),T(r)!==x(r)&&Dr(t,"update:"+T(r),s,null,!1,0,u[e])))),a&&a.prop||!t.component&&Ii(t.tag,t.attrsMap.type,r)?kr(t,r,i,u[e],c):Sr(t,r,i,u[e],c);else if(Xi.test(r))r=r.replace(Xi,""),(c=$i.test(r))&&(r=r.slice(1,-1)),Dr(t,r,i,a,!1,0,u[e],c);else{var l=(r=r.replace(Fi,"")).match(Ki),d=l&&l[1];c=!1,d&&(r=r.slice(0,-(d.length+1)),$i.test(d)&&(d=d.slice(1,-1),c=!0)),Cr(t,r,o,i,d,c,a,u[e])}else Sr(t,r,JSON.stringify(i),u[e]),!t.component&&"muted"===r&&Ii(t.tag,t.attrsMap.type,r)&&kr(t,r,"true",u[e])}(t),t}function aa(t){var e;if(e=Nr(t,"v-for")){var n=function(t){var e=t.match(Ui);if(e){var n={};n.for=e[2].trim();var r=e[1].trim().replace(Gi,""),o=r.match(Vi);return o?(n.alias=r.replace(Vi,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=r,n}}(e);n&&O(t,n)}}function sa(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ca(t){var e=t.name.replace(Zi,"");return e||"#"!==t.name[0]&&(e="default"),$i.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function ua(t){var e=t.match(Qi);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function la(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var da=/^xmlns:NS\d+/,fa=/^NS\d+:/;function ha(t){return oa(t.tag,t.attrsList.slice(),t.parent)}var pa,ma,ga=[hi,pi,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Er(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=Nr(t,"v-if",!0),i=o?"&&("+o+")":"",a=null!=Nr(t,"v-else",!0),s=Nr(t,"v-else-if",!0),c=ha(t);aa(c),Or(c,"type","checkbox"),ia(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+i,sa(c,{exp:c.if,block:c});var u=ha(t);Nr(u,"v-for",!0),Or(u,"type","radio"),ia(u,e),sa(c,{exp:"("+n+")==='radio'"+i,block:u});var l=ha(t);return Nr(l,"v-for",!0),Or(l,":type",n),ia(l,e),sa(c,{exp:o,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],va={expectHTML:!0,modules:ga,directives:{model:function(t,e,n){var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Rr(t,r,o),!1;if("select"===i)!function(t,e,n){var r='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 '+(n&&n.number?"_n(val)":"val")+"});";Dr(t,"change",r=r+" "+Yr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(t,r,o);else if("input"===i&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,o=Er(t,"value")||"null",i=Er(t,"true-value")||"true",a=Er(t,"false-value")||"false";kr(t,"checked","Array.isArray("+e+")?_i("+e+","+o+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Dr(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Yr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Yr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Yr(e,"$$c")+"}",null,!0)}(t,r,o);else if("input"===i&&"radio"===a)!function(t,e,n){var r=n&&n.number,o=Er(t,"value")||"null";kr(t,"checked","_q("+e+","+(o=r?"_n("+o+")":o)+")"),Dr(t,"change",Yr(e,o),null,!0)}(t,r,o);else if("input"===i||"textarea"===i)!function(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Fr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var d=Yr(e,l);c&&(d="if($event.target.composing)return;"+d),kr(t,"value","("+e+")"),Dr(t,u,d,null,!0),(s||a)&&Dr(t,"blur","$forceUpdate()")}(t,r,o);else if(!H.isReservedTag(i))return Rr(t,r,o),!1;return!0},text:function(t,e){e.value&&kr(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&kr(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:mi,mustUseProp:zn,canBeLeftOpenTag:gi,isReservedTag:Fn,getTagNamespace:Un,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ga)},ba=_((function(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));var ya=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ma=/\([^)]*?\);*$/,_a=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,wa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xa={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"]},Aa=function(t){return"if("+t+")return null;"},La={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Aa("$event.target !== $event.currentTarget"),ctrl:Aa("!$event.ctrlKey"),shift:Aa("!$event.shiftKey"),alt:Aa("!$event.altKey"),meta:Aa("!$event.metaKey"),left:Aa("'button' in $event && $event.button !== 0"),middle:Aa("'button' in $event && $event.button !== 1"),right:Aa("'button' in $event && $event.button !== 2")};function Ta(t,e){var n=e?"nativeOn:":"on:",r="",o="";for(var i in t){var a=ka(t[i]);t[i]&&t[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function ka(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return ka(t)})).join(",")+"]";var e=_a.test(t.value),n=ya.test(t.value),r=_a.test(t.value.replace(Ma,""));if(t.modifiers){var o="",i="",a=[];for(var s in t.modifiers)if(La[s])i+=La[s],wa[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=Aa(["ctrl","shift","alt","meta"].filter((function(t){return!c[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Sa).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Sa(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=wa[t],r=xa[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Oa={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:z},Ca=function(t){this.options=t,this.warn=t.warn||Lr,this.transforms=Tr(t.modules,"transformCode"),this.dataGenFns=Tr(t.modules,"genData"),this.directives=O(O({},Oa),t.directives);var e=t.isReservedTag||D;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function za(t,e){var n=new Ca(e);return{render:"with(this){return "+(t?Da(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Da(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ea(t,e);if(t.once&&!t.onceProcessed)return Na(t,e);if(t.for&&!t.forProcessed)return Pa(t,e);if(t.if&&!t.ifProcessed)return Ba(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Ha(t,e),o="_t("+n+(r?","+r:""),i=t.attrs||t.dynamicAttrs?ja((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:x(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=","+i),a&&(o+=(i?"":",null")+","+a),o+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Ha(e,n,!0);return"_c("+t+","+Ra(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=Ra(t,e));var o=t.inlineTemplate?null:Ha(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i<e.transforms.length;i++)n=e.transforms[i](t,n);return n}return Ha(t,e)||"void 0"}function Ea(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Da(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Na(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Ba(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Da(t,e)+","+e.onceId+++","+n+")":Da(t,e)}return Ea(t,e)}function Ba(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,o){if(!e.length)return o||"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+a(i.block)+":"+t(e,n,r,o):""+a(i.block);function a(t){return r?r(t,n):t.once?Na(t,n):Da(t,n)}}(t.ifConditions.slice(),e,n,r)}function Pa(t,e,n,r){var o=t.for,i=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+o+"),function("+i+a+s+"){return "+(n||Da)(t,e)+"})"}function Ra(t,e){var n="{",r=function(t,e){var n=t.directives;if(n){var r,o,i,a,s="directives:[",c=!1;for(r=0,o=n.length;r<o;r++){i=n[r],a=!0;var u=e.directives[i.name];u&&(a=!!u(t,i,e.warn)),a&&(c=!0,s+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var o=0;o<e.dataGenFns.length;o++)n+=e.dataGenFns[o](t);if(t.attrs&&(n+="attrs:"+ja(t.attrs)+","),t.props&&(n+="domProps:"+ja(t.props)+","),t.events&&(n+=Ta(t.events,!1)+","),t.nativeEvents&&(n+=Ta(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Ya(n)})),o=!!t.if;if(!r)for(var i=t.parent;i;){if(i.slotScope&&i.slotScope!==ra||i.for){r=!0;break}i.if&&(o=!0),i=i.parent}var a=Object.keys(e).map((function(t){return Wa(e[t],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&o?",null,false,"+function(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var i=function(t,e){var n=t.children[0];if(n&&1===n.type){var r=za(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+ja(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ya(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ya))}function Wa(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Ba(t,e,Wa,"null");if(t.for&&!t.forProcessed)return Pa(t,e,Wa);var r=t.slotScope===ra?"":String(t.slotScope),o="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Ha(t,e)||"undefined")+":undefined":Ha(t,e)||"undefined":Da(t,e))+"}",i=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+o+i+"}"}function Ha(t,e,n,r,o){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(r||Da)(a,e)+s}var c=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var o=t[r];if(1===o.type){if(qa(o)||o.ifConditions&&o.ifConditions.some((function(t){return qa(t.block)}))){n=2;break}(e(o)||o.ifConditions&&o.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(i,e.maybeComponent):0,u=o||Ia;return"["+i.map((function(t){return u(t,e)})).join(",")+"]"+(c?","+c:"")}}function qa(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Ia(t,e){return 1===t.type?Da(t,e):3===t.type&&t.isComment?(r=t,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=t).type?n.expression:Xa(JSON.stringify(n.text)))+")";var n,r}function ja(t){for(var e="",n="",r=0;r<t.length;r++){var o=t[r],i=Xa(o.value);o.dynamic?n+=o.name+","+i+",":e+='"'+o.name+'":'+i+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function Xa(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Fa(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),z}}function Ua(t){var e=Object.create(null);return function(n,r,o){(r=O({},r)).warn,delete r.warn;var i=r.delimiters?String(r.delimiters)+n:n;if(e[i])return e[i];var a=t(n,r),s={},c=[];return s.render=Fa(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(t){return Fa(t,c)})),e[i]=s}}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 Va,Ga,$a=(Va=function(t,e){var n=function(t,e){Pi=e.warn||Lr,qi=e.isPreTag||D,Ii=e.mustUseProp||D,ji=e.getTagNamespace||D,e.isReservedTag,Yi=Tr(e.modules,"transformNode"),Wi=Tr(e.modules,"preTransformNode"),Hi=Tr(e.modules,"postTransformNode"),Ri=e.delimiters;var n,r,o=[],i=!1!==e.preserveWhitespace,a=e.whitespace,s=!1,c=!1;function u(t){if(l(t),s||t.processed||(t=ia(t,e)),o.length||t===n||n.if&&(t.elseif||t.else)&&sa(n,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)a=t,(u=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(r.children))&&u.if&&sa(u,{exp:a.elseif,block:a});else{if(t.slotScope){var i=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[i]=t}r.children.push(t),t.parent=r}var a,u;t.children=t.children.filter((function(t){return!t.slotScope})),l(t),t.pre&&(s=!1),qi(t.tag)&&(c=!1);for(var d=0;d<Hi.length;d++)Hi[d](t,e)}function l(t){if(!c)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,r,o=[],i=e.expectHTML,a=e.isUnaryTag||D,s=e.canBeLeftOpenTag||D,c=0;t;){if(n=t,r&&Si(r)){var u=0,l=r.toLowerCase(),d=Oi[l]||(Oi[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),f=t.replace(d,(function(t,n,r){return u=r.length,Si(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Ni(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-f.length,t=f,T(l,c-u,c)}else{var h=t.indexOf("<");if(0===h){if(Ti.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),c,c+p+3),x(p+3);continue}}if(ki.test(t)){var m=t.indexOf("]>");if(m>=0){x(m+2);continue}}var g=t.match(Li);if(g){x(g[0].length);continue}var v=t.match(Ai);if(v){var b=c;x(v[0].length),T(v[1],b,c);continue}var y=A();if(y){L(y),Ni(y.tagName,t)&&x(1);continue}}var M=void 0,_=void 0,w=void 0;if(h>=0){for(_=t.slice(h);!(Ai.test(_)||wi.test(_)||Ti.test(_)||ki.test(_)||(w=_.indexOf("<",1))<0);)h+=w,_=t.slice(h);M=t.substring(0,h)}h<0&&(M=t),M&&x(M.length),e.chars&&M&&e.chars(M,c-M.length,c)}if(t===n){e.chars&&e.chars(t);break}}function x(e){c+=e,t=t.substring(e)}function A(){var e=t.match(wi);if(e){var n,r,o={tagName:e[1],attrs:[],start:c};for(x(e[0].length);!(n=t.match(xi))&&(r=t.match(yi)||t.match(bi));)r.start=c,x(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=c,o}}function L(t){var n=t.tagName,c=t.unarySlash;i&&("p"===r&&vi(n)&&T(r),s(n)&&r===n&&T(n));for(var u=a(n)||!!c,l=t.attrs.length,d=new Array(l),f=0;f<l;f++){var h=t.attrs[f],p=h[3]||h[4]||h[5]||"",m="a"===n&&"href"===h[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[f]={name:h[1],value:Bi(p,m)}}u||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),r=n),e.start&&e.start(n,d,u,t.start,t.end)}function T(t,n,i){var a,s;if(null==n&&(n=c),null==i&&(i=c),t)for(s=t.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)e.end&&e.end(o[u].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}T()}(t,{warn:Pi,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,i,a,l,d){var f=r&&r.ns||ji(t);K&&"svg"===f&&(i=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];da.test(r.name)||(r.name=r.name.replace(fa,""),e.push(r))}return e}(i));var h,p=oa(t,i,r);f&&(p.ns=f),"style"!==(h=p).tag&&("script"!==h.tag||h.attrsMap.type&&"text/javascript"!==h.attrsMap.type)||ot()||(p.forbidden=!0);for(var m=0;m<Wi.length;m++)p=Wi[m](p,e)||p;s||(function(t){null!=Nr(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(s=!0)),qi(p.tag)&&(c=!0),s?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),o=0;o<n;o++)r[o]={name:e[o].name,value:JSON.stringify(e[o].value)},null!=e[o].start&&(r[o].start=e[o].start,r[o].end=e[o].end);else t.pre||(t.plain=!0)}(p):p.processed||(aa(p),function(t){var e=Nr(t,"v-if");if(e)t.if=e,sa(t,{exp:e,block:t});else{null!=Nr(t,"v-else")&&(t.else=!0);var n=Nr(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){null!=Nr(t,"v-once")&&(t.once=!0)}(p)),n||(n=p),a?u(p):(r=p,o.push(p))},end:function(t,e,n){var i=o[o.length-1];o.length-=1,r=o[o.length-1],u(i)},chars:function(t,e,n){if(r&&(!K||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var o,u,l,d=r.children;(t=c||t.trim()?"script"===(o=r).tag||"style"===o.tag?t:na(t):d.length?a?"condense"===a&&ta.test(t)?"":" ":i?" ":"":"")&&(c||"condense"!==a||(t=t.replace(ea," ")),!s&&" "!==t&&(u=function(t,e){var n=e?fi(e):li;if(n.test(t)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){(o=r.index)>c&&(s.push(i=t.slice(c,o)),a.push(JSON.stringify(i)));var u=xr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c<t.length&&(s.push(i=t.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}(t,Ri))?l={type:2,expression:u.expression,tokens:u.tokens,text:t}:" "===t&&d.length&&" "===d[d.length-1].text||(l={type:3,text:t}),l&&d.push(l))}},comment:function(t,e,n){if(r){var o={type:3,text:t,isComment:!0};r.children.push(o)}}}),n}(t.trim(),e);!1!==e.optimize&&function(t,e){t&&(pa=ba(e.staticKeys||""),ma=e.isReservedTag||D,function t(e){if(e.static=function(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||g(t.tag)||!ma(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(pa))))}(e),1===e.type){if(!ma(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var o=e.children[n];t(o),o.static||(e.static=!1)}if(e.ifConditions)for(var i=1,a=e.ifConditions.length;i<a;i++){var s=e.ifConditions[i].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,o=e.children.length;r<o;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var i=1,a=e.ifConditions.length;i<a;i++)t(e.ifConditions[i].block,n)}}(t,!1))}(n,e);var r=za(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),o=[],i=[];if(n)for(var a in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=O(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(t,e,n){(n?i:o).push(t)};var s=Va(e.trim(),r);return s.errors=o,s.tips=i,s}return{compile:e,compileToFunctions:Ua(e)}})(va),Ka=($a.compile,$a.compileToFunctions);function Ja(t){return(Ga=Ga||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Ga.innerHTML.indexOf(" ")>0}var Qa=!!U&&Ja(!1),Za=!!U&&Ja(!0),ts=_((function(t){var e=$n(t);return e&&e.innerHTML})),es=wn.prototype.$mount;wn.prototype.$mount=function(t,e){if((t=t&&$n(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ts(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){var o=Ka(r,{outputSourceRange:!1,shouldDecodeNewlines:Qa,shouldDecodeNewlinesForHref:Za,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return es.call(this,t,e)},wn.compile=Ka,t.exports=wn}).call(this,n(2),n(236).setImmediate)},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(237),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(2))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},l=!1,d=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){p(t.data)},r=function(t){i.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,r=function(t){var e=d.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,r(c),c++},f.clearImmediate=h}function h(t){delete u[t]}function p(t){if(l)setTimeout(p,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{h(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(2),n(140))},function(t,e,n){"use strict";var r=n(4);n.n(r).a},function(t,e,n){(t.exports=n(8)(!1)).push([t.i,"\n.action-link[data-v-0437fe02] {\n cursor: pointer;\n}\n",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(t,e,n){"use strict";var r=n(5);n.n(r).a},function(t,e,n){(t.exports=n(8)(!1)).push([t.i,"\n.action-link[data-v-1a6c22aa] {\n cursor: pointer;\n}\n",""])},function(t,e,n){"use strict";var r=n(6);n.n(r).a},function(t,e,n){(t.exports=n(8)(!1)).push([t.i,"\n.action-link[data-v-608de639] {\n cursor: pointer;\n}\n",""])},function(t,e,n){"use strict";n.r(e);var r={mounted:function(){console.log("Component mounted.")}},o=n(3),i=Object(o.a)(r,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-8 col-md-offset-2"},[e("div",{staticClass:"panel panel-default"},[e("div",{staticClass:"panel-heading"},[this._v("Example Component")]),this._v(" "),e("div",{staticClass:"panel-body"},[this._v("\n I'm an example component!\n ")])])])])])}],!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o={data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",(function(){$("#create-client-name").focus()})),$("#modal-edit-client").on("shown.bs.modal",(function(){$("#edit-client-name").focus()}))},getClients:function(){var t=this;axios.get("/oauth/clients").then((function(e){t.clients=e.data}))},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post","/oauth/clients",this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put","/oauth/clients/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,o){var i=this;n.errors=[],axios[t](e,n).then((function(t){i.getClients(),n.name="",n.redirect="",n.errors=[],$(o).modal("hide")})).catch((function(t){"object"===r(t.response.data)?n.errors=_.flatten(_.toArray(t.response.data.errors)):n.errors=["Something went wrong. Please try again."]}))},destroy:function(t){var e=this;axios.delete("/oauth/clients/"+t.id).then((function(t){e.getClients()}))}}},i=(n(238),n(3)),a=Object(i.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card card-default"},[n("div",{staticClass:"card-header"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.clients.length?n("p",{staticClass:"mb-0"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:function(n){return t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.destroy(e)}}},[t._v("\n Delete\n ")])])])})),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text"},domProps:{value:t.createForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(4),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Client ID")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Secret")]),this._v(" "),e("th"),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}],!1,null,"0437fe02",null);e.default=a.exports},function(t,e,n){"use strict";n.r(e);var r={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;axios.get("/oauth/tokens").then((function(e){t.tokens=e.data}))},revoke:function(t){var e=this;axios.delete("/oauth/tokens/"+t.id).then((function(t){e.getTokens()}))}}},o=(n(241),n(3)),i=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"card card-default"},[n("div",{staticClass:"card-header"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"card-body"},[n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Revoke\n ")])])])})),0)])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th")])])}],!1,null,"1a6c22aa",null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o={data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",(function(){$("#create-token-name").focus()}))},getTokens:function(){var t=this;axios.get("/oauth/personal-access-tokens").then((function(e){t.tokens=e.data}))},getScopes:function(){var t=this;axios.get("/oauth/scopes").then((function(e){t.scopes=e.data}))},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],axios.post("/oauth/personal-access-tokens",this.form).then((function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)})).catch((function(e){"object"===r(e.response.data)?t.form.errors=_.flatten(_.toArray(e.response.data.errors)):t.form.errors=["Something went wrong. Please try again."]}))},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,(function(e){return e==t})):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;axios.delete("/oauth/personal-access-tokens/"+t.id).then((function(t){e.getTokens()}))}}},i=(n(243),n(3)),a=Object(i.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"card card-default"},[n("div",{staticClass:"card-header"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n Personal Access Tokens\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.tokens.length?n("p",{staticClass:"mb-0"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Delete\n ")])])])})),0)]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-4 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||t.$set(t.form,"name",e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-4 col-form-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,(function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){return t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])})),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("textarea",{staticClass:"form-control",attrs:{rows:"10"}},[t._v(t._s(t.accessToken))])]),t._v(" "),t._m(4)])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}],!1,null,"608de639",null);e.default=a.exports},function(t,e,n){"use strict";n.r(e);n(157),n(158),n(159),n(161),n(163),n(165),n(167),n(169),n(171),n(173),n(175),n(177),n(179),n(181),n(183),n(185),n(187),n(189),n(191),n(193),n(195),n(197),n(199),n(201),n(203),n(205),n(207);var r=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},c=function(){function t(e){r(this,t),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",broadcaster:"pusher",csrfToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(e),this.connect()}return o(t,[{key:"setOptions",value:function(t){return this.options=i(this._defaultOptions,t),this.csrfToken()&&(this.options.auth.headers["X-CSRF-TOKEN"]=this.csrfToken()),t}},{key:"csrfToken",value:function(){var t=void 0;return"undefined"!=typeof window&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:"undefined"!=typeof document&&"function"==typeof document.querySelector&&(t=document.querySelector('meta[name="csrf-token"]'))?t.getAttribute("content"):null}}]),t}(),u=function(){function t(){r(this,t)}return o(t,[{key:"listenForWhisper",value:function(t,e){return this.listen(".client-"+t,e)}},{key:"notification",value:function(t){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",t)}},{key:"stopListeningForWhisper",value:function(t){return this.stopListening(".client-"+t)}}]),t}(),l=function(){function t(e){r(this,t),this.setNamespace(e)}return o(t,[{key:"format",value:function(t){return"."===t.charAt(0)||"\\"===t.charAt(0)?t.substr(1):(this.namespace&&(t=this.namespace+"."+t),t.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(t){this.namespace=t}}]),t}(),d=function(t){function e(t,n,o){r(this,e);var i=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.name=n,i.pusher=t,i.options=o,i.eventFormatter=new l(i.options.namespace),i.subscribe(),i}return a(e,t),o(e,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"stopListening",value:function(t){return this.subscription.unbind(this.eventFormatter.format(t)),this}},{key:"on",value:function(t,e){return this.subscription.bind(t,e),this}}]),e}(u),f=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-"+t,e),this}}]),e}(d),h=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"here",value:function(t){return this.on("pusher:subscription_succeeded",(function(e){t(Object.keys(e.members).map((function(t){return e.members[t]})))})),this}},{key:"joining",value:function(t){return this.on("pusher:member_added",(function(e){t(e.info)})),this}},{key:"leaving",value:function(t){return this.on("pusher:member_removed",(function(e){t(e.info)})),this}},{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-"+t,e),this}}]),e}(d),p=function(t){function e(t,n,o){r(this,e);var i=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.events={},i.name=n,i.socket=t,i.options=o,i.eventFormatter=new l(i.options.namespace),i.subscribe(),i.configureReconnector(),i}return a(e,t),o(e,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"stopListening",value:function(t){var e=this.eventFormatter.format(t);return this.socket.removeListener(e),delete this.events[e],this}},{key:"on",value:function(t,e){var n=this,r=function(t,r){n.name==t&&e(r)};this.socket.on(t,r),this.bind(t,r)}},{key:"configureReconnector",value:function(){var t=this,e=function(){t.subscribe()};this.socket.on("reconnect",e),this.bind("reconnect",e)}},{key:"bind",value:function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)}},{key:"unbind",value:function(){var t=this;Object.keys(this.events).forEach((function(e){t.events[e].forEach((function(n){t.socket.removeListener(e,n)})),delete t.events[e]}))}}]),e}(u),m=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-"+t,data:e}),this}}]),e}(p),g=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"here",value:function(t){return this.on("presence:subscribed",(function(e){t(e.map((function(t){return t.user_info})))})),this}},{key:"joining",value:function(t){return this.on("presence:joining",(function(e){return t(e.user_info)})),this}},{key:"leaving",value:function(t){return this.on("presence:leaving",(function(e){return t(e.user_info)})),this}}]),e}(m),v=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(t,e){return this}},{key:"stopListening",value:function(t){return this}},{key:"on",value:function(t,e){return this}}]),e}(u),b=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"whisper",value:function(t,e){return this}}]),e}(v),y=function(t){function e(){return r(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),o(e,[{key:"here",value:function(t){return this}},{key:"joining",value:function(t){return this}},{key:"leaving",value:function(t){return this}},{key:"whisper",value:function(t,e){return this}}]),e}(v),M=function(t){function e(){r(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.channels={},t}return a(e,t),o(e,[{key:"connect",value:function(){void 0!==this.options.client?this.pusher=this.options.client:this.pusher=new Pusher(this.options.key,this.options)}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new d(this.pusher,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new f(this.pusher,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new h(this.pusher,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"presence-"+t].forEach((function(t,n){e.leaveChannel(t)}))}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),e}(c),w=function(t){function e(){r(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.channels={},t}return a(e,t),o(e,[{key:"connect",value:function(){var t=this.getSocketIO();return this.socket=t(this.options.host,this.options),this.socket}},{key:"getSocketIO",value:function(){if(void 0!==this.options.client)return this.options.client;if("undefined"!=typeof io)return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new p(this.socket,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new m(this.socket,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new g(this.socket,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"presence-"+t].forEach((function(t){e.leaveChannel(t)}))}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),e}(c),x=function(t){function e(){r(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.channels={},t}return a(e,t),o(e,[{key:"connect",value:function(){}},{key:"listen",value:function(t,e,n){return new v}},{key:"channel",value:function(t){return new v}},{key:"privateChannel",value:function(t){return new b}},{key:"presenceChannel",value:function(t){return new y}},{key:"leave",value:function(t){}},{key:"leaveChannel",value:function(t){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),e}(c),A=function(){function t(e){r(this,t),this.options=e,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return o(t,[{key:"channel",value:function(t){return this.connector.channel(t)}},{key:"connect",value:function(){"pusher"==this.options.broadcaster?this.connector=new M(this.options):"socket.io"==this.options.broadcaster?this.connector=new w(this.options):"null"==this.options.broadcaster?this.connector=new x(this.options):"function"==typeof this.options.broadcaster&&(this.connector=new this.options.broadcaster(this.options))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(t){return this.connector.presenceChannel(t)}},{key:"leave",value:function(t){this.connector.leave(t)}},{key:"leaveChannel",value:function(t){this.connector.leaveChannel(t)}},{key:"listen",value:function(t,e,n){return this.connector.listen(t,e,n)}},{key:"private",value:function(t){return this.connector.privateChannel(t)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){"function"==typeof Vue&&Vue.http&&this.registerVueRequestInterceptor(),"function"==typeof axios&&this.registerAxiosRequestInterceptor(),"function"==typeof jQuery&&this.registerjQueryAjaxSetup()}},{key:"registerVueRequestInterceptor",value:function(){var t=this;Vue.http.interceptors.push((function(e,n){t.socketId()&&e.headers.set("X-Socket-ID",t.socketId()),n()}))}},{key:"registerAxiosRequestInterceptor",value:function(){var t=this;axios.interceptors.request.use((function(e){return t.socketId()&&(e.headers["X-Socket-Id"]=t.socketId()),e}))}},{key:"registerjQueryAjaxSetup",value:function(){var t=this;void 0!==jQuery.ajax&&jQuery.ajaxPrefilter((function(e,n,r){t.socketId()&&r.setRequestHeader("X-Socket-Id",t.socketId())}))}}]),t}();window._=n(147);try{window.$=window.jQuery=n(148)}catch(t){}window.moment=n(0),n(150),window.Highcharts=n(138),n(153)(Highcharts),window.Ladda=n(250),n(154),window.PerfectScrollbar=n(155).default,window.screenfull=n(156),window.PatternLock=n(209),window.Tagify=n(210),window.axios=n(211),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var L=document.head.querySelector('meta[name="csrf-token"]');L?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=L.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),window.Pusher=n(229),"undefined"!=typeof APP&&APP.PUSHER_ENABLED&&(window.Echo=new A({authEndpoint:base_path+"/broadcasting/auth",broadcaster:"pusher",key:APP.PUSHER_APP_KEY,cluster:APP.PUSHER_APP_CLUSTER,forceTLS:!0}),"denied"===Notification.permission&&"default"!==Notification.permission||Notification.requestPermission(),window.Echo.private("App.User."+APP.USER_ID).notification((function(t){if("granted"===Notification.permission){var e={body:t.body};_.isUndefined(t.title)&&(t.title="");var n=new Notification(t.title,e);_.isUndefined(t.link)||(n.onclick=function(){window.open(t.link)})}})))},function(t,e,n){"use strict";n.r(e),n.d(e,"create",(function(){return d})),n.d(e,"bind",(function(){return f})),n.d(e,"stopAll",(function(){return h}));var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},i=function(){function t(t){void 0===t&&(t={}),this.opts=r(r({},o),t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),a(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var n=Math.round(e.corners*e.width*500)/1e3+"px",r="none";!0===e.shadow?r="0 2px 4px #000":"string"==typeof e.shadow&&(r=e.shadow);for(var o=function(t){for(var e=/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/,n=[],r=0,o=t.split(",");r<o.length;r++){var i=o[r].match(e);if(null!==i){var a=+i[2],s=+i[5],c=i[4],u=i[7];0!==a||c||(c=u),0!==s||u||(u=c),c===u&&n.push({prefix:i[1]||"",x:a,y:s,xUnits:c,yUnits:u,end:i[8]})}}return n}(r),i=0;i<e.lines;i++){var u=~~(360/e.lines*i+e.rotate),l=a(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:s(e.fadeColor,i),borderRadius:n,transformOrigin:"left",transform:"rotate("+u+"deg) translateX("+e.radius+"px)"}),d=i*e.direction/e.lines/e.speed;d-=1/e.speed;var f=a(document.createElement("div"),{width:"100%",height:"100%",background:s(e.color,i),borderRadius:n,boxShadow:c(o,u),animation:1/e.speed+"s linear "+d+"s infinite "+e.animation});l.appendChild(f),t.appendChild(l)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"!=typeof requestAnimationFrame?cancelAnimationFrame(this.animateId):clearTimeout(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function a(t,e){for(var n in e)t.style[n]=e[n];return t}function s(t,e){return"string"==typeof t?t:t[e%t.length]}function c(t,e){for(var n=[],r=0,o=t;r<o.length;r++){var i=o[r],a=u(i.x,i.y,e);n.push(i.prefix+a[0]+i.xUnits+" "+a[1]+i.yUnits+i.end)}return n.join(", ")}function u(t,e,n){var r=n*Math.PI/180,o=Math.sin(r),i=Math.cos(r);return[Math.round(1e3*(t*i+e*o))/1e3,Math.round(1e3*(-t*o+e*i))/1e3]}var l=[];function d(t){if(void 0!==t){if(t.classList.contains("ladda-button")||t.classList.add("ladda-button"),t.hasAttribute("data-style")||t.setAttribute("data-style","expand-right"),!t.querySelector(".ladda-label")){var e=document.createElement("span");e.className="ladda-label",n=t,r=e,(o=document.createRange()).selectNodeContents(n),o.surroundContents(r),n.appendChild(r)}var n,r,o,a,s,c=t.querySelector(".ladda-spinner");c||((c=document.createElement("span")).className="ladda-spinner"),t.appendChild(c);var u={start:function(){return a||(a=function(t){var e,n,r=t.offsetHeight;0===r&&(r=parseFloat(window.getComputedStyle(t).height));r>32&&(r*=.8);t.hasAttribute("data-spinner-size")&&(r=parseInt(t.getAttribute("data-spinner-size"),10));t.hasAttribute("data-spinner-color")&&(e=t.getAttribute("data-spinner-color"));t.hasAttribute("data-spinner-lines")&&(n=parseInt(t.getAttribute("data-spinner-lines"),10));var o=.2*r;return new i({color:e||"#fff",lines:n||12,radius:o,length:.6*o,width:o<7?2:3,animation:"ladda-spinner-line-fade",zIndex:"auto",top:"auto",left:"auto",className:""})}(t)),t.disabled=!0,t.setAttribute("data-loading",""),clearTimeout(s),a.spin(c),this.setProgress(0),this},startAfter:function(t){return clearTimeout(s),s=setTimeout((function(){u.start()}),t),this},stop:function(){return u.isLoading()&&(t.disabled=!1,t.removeAttribute("data-loading")),clearTimeout(s),a&&(s=setTimeout((function(){a.stop()}),1e3)),this},toggle:function(){return this.isLoading()?this.stop():this.start()},setProgress:function(e){e=Math.max(Math.min(e,1),0);var n=t.querySelector(".ladda-progress");0===e&&n&&n.parentNode?n.parentNode.removeChild(n):(n||((n=document.createElement("div")).className="ladda-progress",t.appendChild(n)),n.style.width=(e||0)*t.offsetWidth+"px")},isLoading:function(){return t.hasAttribute("data-loading")},remove:function(){clearTimeout(s),t.disabled=!1,t.removeAttribute("data-loading"),a&&(a.stop(),a=null),l.splice(l.indexOf(u),1)}};return l.push(u),u}console.warn("Ladda button target must be defined.")}function f(t,e){var n;if("string"==typeof t)n=document.querySelectorAll(t);else{if("object"!=typeof t)throw new Error("target must be string or object");n=[t]}e=e||{};for(var r=0;r<n.length;r++)p(n[r],e)}function h(){for(var t=0,e=l.length;t<e;t++)l[t].stop()}function p(t,e){if("function"==typeof t.addEventListener){var n=d(t),r=-1;t.addEventListener("click",(function(){var o=!0,i=function(t,e){for(;t.parentNode&&t.tagName!==e;)t=t.parentNode;return e===t.tagName?t:void 0}(t,"FORM");void 0===i||i.hasAttribute("novalidate")||"function"==typeof i.checkValidity&&(o=i.checkValidity()),o&&(n.startAfter(1),"number"==typeof e.timeout&&(clearTimeout(r),r=setTimeout(n.stop,e.timeout)),"function"==typeof e.callback&&e.callback.apply(null,[n]))}),!1)}}},function(t,e){}]);
Free Space : 11728896000 Byte