astroport/www/LOVELand/gchange/dist_js/vendor-b60841e93c.js

282 lines
4.5 MiB
JavaScript
Raw Normal View History

2020-03-29 14:59:00 +02:00
/* minified */
var t,e,QRCode,root,factory,BinaryFile,EXIF;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,r){return mt(e,t,n,r,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var n=d(e),r=t.call(n.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&r);if(e._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function _(e){var t=l(NaN);return null!=e?u(d(t),e):d(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var g=n.momentProperties=[];function p(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=d(t)),a(t._locale)||(e._locale=t._locale),0<g.length)for(n=0;n<g.length;n++)a(i=t[r=g[n]])||(e[r]=i);return e}var m=!1;function A(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===m&&(m=!0,n.updateOffset(this),m=!1)}function y(e){return e instanceof A||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&v(e[r])!==v(t[r]))&&o++;return o+a}function I(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var r=!0;return u((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){for(var i,a=[],o=0;o<arguments.length;o++){if(i="","object"==typeof arguments[o]){for(var s in i+="\n["+o+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[o];a.push(i)}I(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)}),t)}var C,E={};function S(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),E[e]||(I(t),E[e]=!0)}function B(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=u({},e);for(n in t)c(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&i(e[n])&&(r[n]=u({},r[n]));return r}function L(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var D={};function x(e,t){var n=e.t
return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%dº",week:{dow:1,doy:4}}),n.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:Nr,ss:Nr,m:Nr,mm:Nr,h:Nr,hh:Nr,d:Nr,dd:Nr,M:Nr,MM:Nr,y:Nr,yy:Nr},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?12<e?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}});var Yr={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:""},Rr={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","":"0"};n.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return Rr[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return Yr[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return
/*! @preserve
* numeral.js
* version : 1.5.6
* author : Adam Draper
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
*/
function(){var e,t={},n={currentLanguage:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0"},r={currentLanguage:n.currentLanguage,zeroFormat:n.zeroFormat,nullFormat:n.nullFormat,defaultFormat:n.defaultFormat},i={bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],iec:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]};function a(e){this._value=e}function o(e,t,n,r){var i,a,o,s,f=e.toString().split("."),c=t-(r||0);return i=2===f.length?Math.min(Math.max(f[1].length,c),t):c,s=(n(e*(o=Math.pow(10,i)))/o).toFixed(i),r>t-i&&(a=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(a,"")),s}function s(e,n,i){var a,s,f,c,u=!1,l=!1,d=!1,h="",_=!1,g=!1,p=!1,m=!1,A=!1,y="",b=!1;return null===e&&(e=0),a=Math.abs(e),n.indexOf("(")>-1?(u=!0,n=n.slice(1,-1)):n.indexOf("+")>-1&&(l=!0,n=n.replace(/\+/g,"")),n.indexOf("a")>-1&&(_=n.indexOf("aK")>=0,g=n.indexOf("aM")>=0,p=n.indexOf("aB")>=0,m=n.indexOf("aT")>=0,A=_||g||p||m,n.indexOf(" a")>-1&&(h=" "),n=n.replace(new RegExp(h+"a[KMBT]?"),""),a>=Math.pow(10,12)&&!A||m?(h+=t[r.currentLanguage].abbreviations.trillion,e/=Math.pow(10,12)):a<Math.pow(10,12)&&a>=Math.pow(10,9)&&!A||p?(h+=t[r.currentLanguage].abbreviations.billion,e/=Math.pow(10,9)):a<Math.pow(10,9)&&a>=Math.pow(10,6)&&!A||g?(h+=t[r.currentLanguage].abbreviations.million,e/=Math.pow(10,6)):(a<Math.pow(10,6)&&a>=Math.pow(10,3)&&!A||_)&&(h+=t[r.currentLanguage].abbreviations.thousand,e/=Math.pow(10,3))),n.indexOf("[.]")>-1&&(d=!0,n=n.replace("[.]",".")),s=e.toString().split(".")[0],f=n.split(".")[1],c=n.indexOf(","),f?(s=(y=f.indexOf("[")>-1?o(e,(f=(f=f.replace("]","")).split("["))[0].length+f[1].length,i,f[1].length):o(e,f.length,i)).split(".")[0],y=y.indexOf(".")>-1?t[r.currentLanguage].delimiters.decimal+y.split(".")[1]:"",d&&0===Number(y.slice(1))&&(y="")):s=o(e,null,i),s.indexOf("-")>-1&&(s=s.slice(1),b=!0),c>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+t[r.currentLanguage].delimiters.thousands)),0===n.indexOf(".")&&(s=""),(u&&b?"(":"")+(!u&&b?"-":"")+(!b&&l?"+":"")+s+y+(h||"")+(u&&b?")":"")}function f(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)}function c(){var e=Array.prototype.slice.call(arguments);return e.reduce((function(e,t){var n=f(e),r=f(t);return n>r?n:r}),-1/0)}(e=function(t){return new a(t=e.isNumeral(t)?t.value():0===t||void 0===t?0:null===t?null:Number(t)?Number(t):e.fn.unformat(t))}).version="1.5.6",e.isNumeral=function(e){return e instanceof a},e.language=function(n,i){if(!n)return r.currentLanguage;if((n=n.toLowerCase())&&!i){if(!t[n])throw new Error("Unknown language : "+n);r.currentLanguage=n}return!i&&t[n]||function(e,n){t[e]=n}(n,i),e},e.reset=function(){for(var e in n)r[e]=n[e]},e.languageData=function(e){if(!e)return t[r.currentLanguage];if(!t[e])throw new Error("Unknown language : "+e);return t[e]},e.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.zeroFormat=function(e){r.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){r.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){r.defaultFormat="string"==typeof e?e:"0.0"},e.validate=function(t,n){var r,i,a,o,s,f,c,u;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.languageData(n)}catch(t){c=e.languageData(e.language())}return a=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,!(null!==(u=t.match(/^[^\d]+/))&&(t=t.substr(1),u[0]!==a)||null!==(u=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),u[0]!==s.thousand&&u[0]!==s.million&&u[0]!==s.billion&&u[0]!==s.trillion)||(f=new RegExp(i+"{2}"),t.match(/[^\d.,]/g)||(o=t.split(r)).length>2||(o.length<2?!o[0].match(/^\d+.*\d$/)||o[0].match(f):1===o[0].length?!o[0].match(/^\d+$/)||o[0].match(f)||!o[1].match(/^\d+$/):!o[0].match(/^\d+.*\d$/)||o[0].match(f)
/*! @preserve
* numeral.js language configuration
* language : french (fr)
* author : Adam Draper : https://github.com/adamwdraper
*/
function(){var e={delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){return 1===e?"er":"e"},currency:{symbol:"€"}};"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof window&&this.numeral&&this.numeral.language&&this.numeral.language("fr",e)}(),
/*! @preserve
* numeral.js language configuration
* language : english united kingdom (uk)
* author : Dan Ristic : https://github.com/dristic
*/
function(){var e={delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"£"}};"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof window&&this.numeral&&this.numeral.language&&this.numeral.language("en-gb",e)}(),
/*! @preserve
* numeral.js language configuration
* language : netherlands-dutch (nl-nl)
* author : Dave Clayton : https://github.com/davedx
*/
function(){var e={delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mrd",trillion:"bln"},ordinal:function(e){var t=e%100;return 0!==e&&t<=1||8===t||t>=20?"ste":"de"},currency:{symbol:"€ "}};"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof window&&this.numeral&&this.numeral.language&&this.numeral.language("nl-nl",e)}(),
/*! @preserve
* numeral.js language configuration
* language : spanish
* author : Hernan Garcia : https://github.com/hgarcia
*/
function(){var e={delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$"}};"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof window&&this.numeral&&this.numeral.language&&this.numeral.language("es",e)}(),
/*! @preserve
* numeral.js language configuration
* language : italian Italy (it)
* author : Giacomo Trombi : http://cinquepunti.it
*/
function(){var e={delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(e){return"º"},currency:{symbol:"€"}};"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof window&&this.numeral&&this.numeral.language&&this.numeral.language("it",e)}(),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("../numeral")):"function"==typeof define&&define.amd?define(["numeral"],t):t(e.numeral)}(this,(function(e){"use strict";e.language("eo",{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"x10^3",million:"x10^6",billion:"x10^9",trillion:"x10^12"},ordinal:function(e){return"a"},currency:{symbol:"X"}})})),t=this,e=function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e,t){"object"===(void 0===e?"undefined":i(e))&&(t=e,e=void 0),t=t||{};var n,r=a(e),o=r.source,u=r.id,l=r.path,d=c[u]&&l in c[u].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||d?(f("ignoring socket cache for %s",o),n=s(o,t)):(c[u]||(f("new io instance for %s",o),c[u]=s(o,t)),n=c[u]),r.query&&!t.query?t.query=r.query:t&&"object"===i(t.query)&&(t.query=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}(t.query)),n.socket(r.path,t)}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(1),o=n(7),s=n(17),f=n(3)("socket.io-client");e.exports=t=r;var c=t.managers={};t.protocol=o.protocol,t.connect=r,t.Manager=n(17),t.Socket=n(44)},function(e,t,n){(function(t){"use strict";var r=n(2),i=n(3)("socket.io-client:url");e.exports=function(e,n){var a=e;n=n||t.location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(i("protocol-less url %s",e),e=void 0!==n?n.protocol+"//"+e:"https://"+e),i("parse %s",e),a=r(e)),a.port||(/^(http|ws)$/.test(a.protocol)?a.port="80":/^(http|ws)s$/.test(a.protocol)&&(a.port="443")),a.path=a.path||"/";var o=-1!==a.host.indexOf(":")?"["+a.host+"]":a.host;return a.id=a.protocol+"://"+o+":"+a.port,a.href=a.protocol+"://"+o+(n&&n.port===a.port?"":":"+a.port),a}}).call(t,function(){return this}())},function(e,t){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,i=e.indexOf("["),a=e.indexOf("]");-1!=i&&-1!=a&&(e=e.substring(0,i)+e.substring(i,a).replace(/:/g,";")+e.substring(a,e.length));for(var o=n.exec(e||""),s={},f=14;f--;)s[r[f]]=o[f]||"";return-1!=i&&-1!=a&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s}},function(e,t,n){(function(r){function i(){try{return t.storage.debug}catch(e){}if(void 0!==r&&"env"in r)return r.env.DEBUG}(t=e.exports=n(5)).log=function(){return"object"==typeof console&&alert&&Function.prototype.apply.call(alert,console,arguments)},t.formatArgs=function(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var i=0,a=0;return e[0].replace(/%[a-z%]/g,(function(e){"%%"!==e&&(i++,"%c"===e&&(a=i))})),e.splice(a,0,r),e},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
function(e){"use strict";function t(e){return parseInt(e)===e}function n(e){if(!t(e.length))return!1;for(var n=0;n<e.length;n++)if(!t(e[n])||e[n]<0||e[n]>255)return!1;return!0}function r(e,r){if(e.buffer&&"Uint8Array"===e.name)return r&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(t(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function a(e,t,n,r,i){null==r&&null==i||(e=e.slice?e.slice(r,i):Array.prototype.slice.call(e,r,i)),t.set(e,n)}var o,s={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n<e.length;){var i=e.charCodeAt(n++);37===i?(t.push(parseInt(e.substr(n,2),16)),n+=2):t.push(i)}return r(t)},fromBytes:function(e){for(var t=[],n=0;n<e.length;){var r=e[n];r<128?(t.push(String.fromCharCode(r)),n++):r>191&&r<224?(t.push(String.fromCharCode((31&r)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&r)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}},f=(o="0123456789abcdef",{toBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},fromBytes:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(o[(240&r)>>4]+o[15&r])}return t.join("")}}),c={16:10,24:12,32:14},u=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],l=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2
var e,t,n,r,i=this.getMeta(),a=this.chart.chartArea,o=i.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(i.dataset._model.spanGaps&&(o=o.filter((function(e){return!e._model.skip}))),e=0,t=o.length;e<t;++e)n=o[e]._model,r=H.splineCurve(H.previousItem(o,e,!0)._model,n,H.nextItem(o,e,!0)._model,n.tension),n.controlPointPreviousX=s(r.previous.x,a.left,a.right),n.controlPointPreviousY=s(r.previous.y,a.top,a.bottom),n.controlPointNextX=s(r.next.x,a.left,a.right),n.controlPointNextY=s(r.next.y,a.top,a.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=$e(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=$e(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=$e(n.hoverBorderWidth,n.borderWidth),t.radius=$e(n.hoverRadius,n.radius)}});P._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),P._set("global",{datasets:{scatter:{showLine:!1}}});var Je={bar:Ce,bubble:Be,doughnut:Qe,horizontalBar:Te,line:He,polarArea:Ue,pie:Ge,radar:ze,scatter:He};function qe(e,t){return e.native?{x:e.x,y:e.y}:H.getRelativePosition(e,t)}function Ve(e,t){var n,r,i,a,o,s,f=e._getSortedVisibleDatasetMetas();for(r=0,a=f.length;r<a;++r)for(i=0,o=(n=f[r].data).length;i<o;++i)(s=n[i])._view.skip||t(s)}function We(e,t){var n=[];return Ve(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function Ke(e,t,n,r){var i=Number.POSITIVE_INFINITY,a=[];return Ve(e,(function(e){if(!n||e.inRange(t.x,t.y)){var o=e.getCenterPoint(),s=r(t,o);s<i?(a=[e],i=s):s===i&&a.push(e)}})),a}function Xe(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var i=t?Math.abs(e.x-r.x):0,a=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function Ze(e,t,n){var r=qe(t,e);n.axis=n.axis||"x";var i=Xe(n.axis),a=n.intersect?We(e,r):Ke(e,r,!1,i),o=[];return a.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[a[0]._index];t&&!t._view.skip&&o.push(t)})),o):[]}var et={modes:{single:function(e,t){var n=qe(t,e),r=[];return Ve(e,(function(e){if(e.inRange(n.x,n.y))return r.push(e),r})),r.slice(0,1)},label:Ze,index:Ze,dataset:function(e,t,n){var r=qe(t,e);n.axis=n.axis||"xy";var i=Xe(n.axis),a=n.intersect?We(e,r):Ke(e,r,!1,i);return a.length>0&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return Ze(e,t,{intersect:!1})},point:function(e,t){return We(e,qe(t,e))},nearest:function(e,t,n){var r=qe(t,e);n.axis=n.axis||"xy";var i=Xe(n.axis);return Ke(e,r,n.intersect,i)},x:function(e,t,n){var r=qe(t,e),i=[],a=!1;return Ve(e,(function(e){e.inXRange(r.x)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)})),n.intersect&&!a&&(i=[]),i},y:function(e,t,n){var r=qe(t,e),i=[],a=!1;return Ve(e,(function(e){e.inYRange(r.y)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)})),n.intersect&&!a&&(i=[]),i}}},tt=H.extend;function nt(e,t){return H.where(e,(function(e){return e.pos===t}))}function rt(e,t){return e.sort((function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function it(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function at(e,t,n){var r,i,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(r=t.outerWidth-it(o,e,"left","right"),i=t.outerHeight-it(o,e,"top","bottom"),r!==e.w||i!==e.h)return e.w=r,e.h=i,n.horizontal?r!==e.w:i!==e.h}function ot(e,t){var n=t.maxPadding;return function(e){var r={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){r[e]=Math.max(t[e],n[e])})),r}(e?["left","right"]:["top","bottom"])}function st(e,t,n){var r,i,a,o,s,f,c=[];for(r=0,i=e.length;r<i;++
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
*/
var e,t,n,r;function i(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
/*!
* Backbone.VDOMView
*
* MIT Licensed. Copyright (c) 2017, JC Brand <jc@opkode.com>
*/return function(r){var i,a,o,s,f={},c={},u={},l={},d=Object.prototype.hasOwnProperty,h=[].slice,_=/\.js$/;function g(e,t){return d.call(e,t)}function p(e,t){var n,r,i,a,o,s,f,c,l,d,h,g=t&&t.split("/"),p=u.map,m=p&&p["*"]||{};if(e){for(o=(e=e.split("/")).length-1,u.nodeIdCompat&&_.test(e[o])&&(e[o]=e[o].replace(_,"")),"."===e[0].charAt(0)&&g&&(e=g.slice(0,g.length-1).concat(e)),l=0;l<e.length;l++)if("."===(h=e[l]))e.splice(l,1),l-=1;else if(".."===h){if(0===l||1===l&&".."===e[2]||".."===e[l-1])continue;l>0&&(e.splice(l-1,2),l-=2)}e=e.join("/")}if((g||m)&&p){for(l=(n=e.split("/")).length;l>0;l-=1){if(r=n.slice(0,l).join("/"),g)for(d=g.length;d>0;d-=1)if((i=p[g.slice(0,d).join("/")])&&(i=i[r])){a=i,s=l;break}if(a)break;!f&&m&&m[r]&&(f=m[r],c=l)}!a&&f&&(a=f,s=c),a&&(n.splice(0,s,a),e=n.join("/"))}return e}function m(e,t){return function(){var n=h.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),a.apply(void 0,n.concat([e,t]))}}function A(e){return function(t){f[e]=t}}function y(e){if(g(c,e)){var t=c[e];delete c[e],l[e]=!0,i.apply(void 0,t)}if(!g(f,e)&&!g(l,e))throw new Error("No "+e);return f[e]}function b(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function v(e){return e?b(e):[]}function w(e){return function(){return u&&u.config&&u.config[e]||{}}}o=function(e,t){var n,r,i=b(e),a=i[0],o=t[1];return e=i[1],a&&(n=y(a=p(a,o))),a?e=n&&n.normalize?n.normalize(e,(r=o,function(e){return p(e,r)})):p(e,o):(a=(i=b(e=p(e,o)))[0],e=i[1],a&&(n=y(a))),{f:a?a+"!"+e:e,n:e,pr:a,p:n}},s={require:function(e){return m(e)},exports:function(e){var t=f[e];return void 0!==t?t:f[e]={}},module:function(e){return{id:e,uri:"",exports:f[e],config:w(e)}}},i=function(e,t,n,r){var i,a,u,d,h,_,p,b=[],w=typeof n;if(_=v(r=r||e),"undefined"===w||"function"===w){for(t=!t.length&&n.length?["require","exports","module"]:t,h=0;h<t.length;h+=1)if("require"===(a=(d=o(t[h],_)).f))b[h]=s.require(e);else if("exports"===a)b[h]=s.exports(e),p=!0;else if("module"===a)i=b[h]=s.module(e);else if(g(f,a)||g(c,a)||g(l,a))b[h]=y(a);else{if(!d.p)throw new Error(e+" missing "+a);d.p.load(d.n,m(r,!0),A(a),{}),b[h]=f[a]}u=n?n.apply(f[e],b):void 0,e&&(i&&void 0!==i.exports&&i.exports!==f[e]?f[e]=i.exports:void 0===u&&p||(f[e]=u))}else e&&(f[e]=n)},e=t=a=function(e,t,n,r,f){if("string"==typeof e)return s[e]?s[e](t):y(o(e,v(t)).f);if(!e.splice){if((u=e).deps&&a(u.deps,u.callback),!t)return;t.splice?(e=t,t=n,n=null):e=void 0}return t=t||function(){},"function"==typeof n&&(n=r,r=f),r?i(void 0,e,t,n):setTimeout((function(){i(void 0,e,t,n)}),4),a},a.config=function(e){return a(e)},e._defined=f,(n=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),g(f,e)||g(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),n("almond",(function(){})),
/*!
* Sizzle CSS Selector Engine v2.3.3
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-08-08
*/
function(e){var t,r,i,a,o,s,f,c,u,l,d,h,_,g,p,m,A,y,b,v="sizzle"+1*new Date,w=e.document,I=0,k=0,C=se(),E=se(),S=se(),B=function(e,t){return e===t&&(d=!0),0},M={}.hasOwnProperty,L=[],D=L.pop,x=L.push,Q=L.push,T=L.slice,F=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",Y="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+N+"*("+Y+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Y+"))|)"+N+"*\\]",O=":("+Y+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",H=new RegExp(N+"+","g"),j=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),U=new RegExp("^"+N+"*,"+N+"*"),G=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),$=new RegExp("="+N+"*([^\\]'\"]*?)"+N+"*\\]","g"),z=new RegExp(O),J=new RegExp("^"+Y+"$"),q={ID:new RegExp("^#("+Y+")"),CLASS:new RegExp("^\\.("+Y+")"),TAG:new RegExp("^("+Y+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),te=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){h()},ae=ye((function(e){return!0===e.disabled&&("form"in e||"label"in e)}),{dir:"parentNode",next:"legend"});try{Q.apply(L=T.call(w.childNodes),w.childNodes),L[w.childNodes.length].nodeType}catch(e){Q={apply:L.length?function(e,t){x.apply(e,T.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,n,i){var a,o,f,u,l,d,g,A=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&((t?t.ownerDocument||t:w)!==_&&h(t),t=t||_,p)){if(11!==y&&(l=X.exec(e)))if(a=l[1]){if(9===y){if(!(f=t.getElementById(a)))return n;if(f.id===a)return n.push(f),n}else if(A&&(f=A.getElementById(a))&&b(t,f)&&f.id===a)return n.push(f),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((a=l[3])&&r.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(a)),n}if(r.qsa&&!S[e+" "]&&(!m||!m.test(e))){if(1!==y)A=t,g=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(ne,re):t.setAttribute("id",u=v),o=(d=s(e)).length;o--;)d[o]="#"+u+" "+Ae(d[o]);g=d.join(","),A=Z.test(e)&&pe(t.parentNode)||t}if(g)try{return Q.apply(n,A.querySelectorAll(g)),n}catch(e){}finally{u===v&&t.removeAttribute("id")}}}return c(e.replace(j,"$1"),t,n,i)}function se(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function fe(e){return e[v]=!0,e}function ce(e){var t=_.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function _e(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDi
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.4+314e4831
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof n&&n.amd?n("es6-promise",t):e.ES6Promise=t()}(this,(function(){"use strict";function e(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,i=void 0,a=void 0,o=function(e,t){h[r]=e,h[r+1]=t,2===(r+=2)&&(a?a(_):p())},s="undefined"!=typeof window?window:void 0,f=s||{},c=f.MutationObserver||f.WebKitMutationObserver,u="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),l="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function d(){var e=setTimeout;return function(){return e(_,1)}}var h=new Array(1e3);function _(){for(var e=0;e<r;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;r=0}var g,p=void 0;function m(e,t){var n=this,r=new this.constructor(b);void 0===r[y]&&x(r);var i=n._state;if(i){var a=arguments[i-1];o((function(){return L(i,r,a,n._result)}))}else B(n,r,e,t);return r}function A(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(b);return k(t,e),t}u?p=function(){return process.nextTick(_)}:c?p=function(){var e=0,t=new c(_),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():l?((g=new MessageChannel).port1.onmessage=_,p=function(){return g.port2.postMessage(0)}):p=void 0===s&&"function"==typeof t?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(_)}:d()}catch(e){return d()}}():d();var y=Math.random().toString(36).substring(2);function b(){}var v={error:null};function w(e){try{return e.then}catch(e){return v.error=e,v}}function I(t,n,r){n.constructor===t.constructor&&r===m&&n.constructor.resolve===A?function(e,t){1===t._state?E(e,t._result):2===t._state?S(e,t._result):B(t,void 0,(function(t){return k(e,t)}),(function(t){return S(e,t)}))}(t,n):r===v?(S(t,v.error),v.error=null):void 0===r?E(t,n):e(r)?function(e,t,n){o((function(e){var r=!1,i=function(n,i,a,o){try{n.call(i,(function(n){r||(r=!0,t!==n?k(e,n):E(e,n))}),(function(t){r||(r=!0,S(e,t))}))}catch(e){return e}}(n,t,0,0,e._label);!r&&i&&(r=!0,S(e,i))}),e)}(t,n,r):E(t,n)}function k(e,t){var n,r;e===t?S(e,new TypeError("You cannot resolve a promise with itself")):(r=typeof(n=t),null===n||"object"!==r&&"function"!==r?E(e,t):I(e,t,w(t)))}function C(e){e._onerror&&e._onerror(e._result),M(e)}function E(e,t){void 0===e._state&&(e._result=t,e._state=1,0!==e._subscribers.length&&o(M,e))}function S(e,t){void 0===e._state&&(e._state=2,e._result=t,o(C,e))}function B(e,t,n,r){var i=e._subscribers,a=i.length;e._onerror=null,i[a]=t,i[a+1]=n,i[a+2]=r,0===a&&e._state&&o(M,e)}function M(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,i=void 0,a=e._result,o=0;o<t.length;o+=3)r=t[o],i=t[o+n],r?L(n,r,i,a):i(a);e._subscribers.length=0}}function L(t,n,r,i){var a=e(r),o=void 0,s=void 0,f=void 0,c=void 0;if(a){if((o=function(e,t){try{return e(t)}catch(e){return v.error=e,v}}(r,i))===v?(c=!0,s=o.error,o.error=null):f=!0,n===o)return void S(n,new TypeError("A promises callback cannot return that same promise."))}else o=i,f=!0;void 0!==n._state||(a&&f?k(n,o):c?S(n,s):1===t?E(n,o):2===t&&S(n,o))}var D=0;function x(e){e[y]=D++,e._state=void 0,e._result=void 0,e._subscribers=[]}var Q=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(b),this.promise[y]||x(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&E(this.promise,this._result))):S(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;void 0===this._state&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===A){var i=w(e);if(i===m&&void 0!==e._state)this._se
/**
* @preserve jed.js https://github.com/SlexAxton/Jed
*/
function(e,t){var r=Array.prototype,i=Object.prototype,a=r.slice,o=i.hasOwnProperty,s=r.forEach,f={},c={forEach:function(e,t,n){var r,i,a;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===f)return}else for(a in e)if(o.call(e,a)&&t.call(n,e[a],a,e)===f)return},extend:function(e){return this.forEach(a.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},u=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=c.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function l(e){return u.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}u.context_delimiter=String.fromCharCode(4),c.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?u.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),c.extend(u.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var a;if(r=r||n,e=e||this._textdomain,!this.options)return(a=new u).dcnpgettext.call(a,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,s,f,c=t?t+u.context_delimiter+n:n,d=this.options.locale_data,h=d[e],_=(d.messages||this.defaults.locale_data.messages)[""],g=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["plural-forms"]||_.plural_forms||_["Plural-Forms"]||_["plural-forms"];if(void 0===i)f=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");f=l(g)(i)}if(!h)throw new Error("No domain named `"+e+"` could be found.");return!(o=h[c])||f>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(c,e),s=[n,r],!0===this.options.debug&&alert(s[l(g)(i)]),s[l()(i)]):(s=o[f])||(s=[n,r])[l()(i)]}});var h,_=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,a,o,s,f,c,u,l=1,d=n.length,h="",g=[];for(a=0;a<d;a++)if("string"===(h=e(n[a])))g.push(n[a]);else if("array"===h){if((s=n[a])[2])for(i=r[l],o=0;o<s[2].length;o++){if(!i.hasOwnProperty(s[2][o]))throw _('[sprintf] property "%s" does not exist',s[2][o]);i=i[s[2][o]]}else i=s[1]?r[s[1]]:r[l++];if(/[
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
*/
var e,t,n;return function(r){var i,a,o,s,f={},c={},u={},l={},d=Object.prototype.hasOwnProperty,h=[].slice,_=/\.js$/;function g(e,t){return d.call(e,t)}function p(e,t){var n,r,i,a,o,s,f,c,l,d,h,g=t&&t.split("/"),p=u.map,m=p&&p["*"]||{};if(e){for(o=(e=e.split("/")).length-1,u.nodeIdCompat&&_.test(e[o])&&(e[o]=e[o].replace(_,"")),"."===e[0].charAt(0)&&g&&(e=g.slice(0,g.length-1).concat(e)),l=0;l<e.length;l++)if("."===(h=e[l]))e.splice(l,1),l-=1;else if(".."===h){if(0===l||1===l&&".."===e[2]||".."===e[l-1])continue;l>0&&(e.splice(l-1,2),l-=2)}e=e.join("/")}if((g||m)&&p){for(l=(n=e.split("/")).length;l>0;l-=1){if(r=n.slice(0,l).join("/"),g)for(d=g.length;d>0;d-=1)if((i=p[g.slice(0,d).join("/")])&&(i=i[r])){a=i,s=l;break}if(a)break;!f&&m&&m[r]&&(f=m[r],c=l)}!a&&f&&(a=f,s=c),a&&(n.splice(0,s,a),e=n.join("/"))}return e}function m(e,t){return function(){var n=h.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),a.apply(void 0,n.concat([e,t]))}}function A(e){return function(t){f[e]=t}}function y(e){if(g(c,e)){var t=c[e];delete c[e],l[e]=!0,i.apply(void 0,t)}if(!g(f,e)&&!g(l,e))throw new Error("No "+e);return f[e]}function b(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function v(e){return e?b(e):[]}function w(e){return function(){return u&&u.config&&u.config[e]||{}}}o=function(e,t){var n,r,i=b(e),a=i[0],o=t[1];return e=i[1],a&&(n=y(a=p(a,o))),a?e=n&&n.normalize?n.normalize(e,(r=o,function(e){return p(e,r)})):p(e,o):(a=(i=b(e=p(e,o)))[0],e=i[1],a&&(n=y(a))),{f:a?a+"!"+e:e,n:e,pr:a,p:n}},s={require:function(e){return m(e)},exports:function(e){var t=f[e];return void 0!==t?t:f[e]={}},module:function(e){return{id:e,uri:"",exports:f[e],config:w(e)}}},i=function(e,t,n,r){var i,a,u,d,h,_,p,b=[],w=typeof n;if(_=v(r=r||e),"undefined"===w||"function"===w){for(t=!t.length&&n.length?["require","exports","module"]:t,h=0;h<t.length;h+=1)if("require"===(a=(d=o(t[h],_)).f))b[h]=s.require(e);else if("exports"===a)b[h]=s.exports(e),p=!0;else if("module"===a)i=b[h]=s.module(e);else if(g(f,a)||g(c,a)||g(l,a))b[h]=y(a);else{if(!d.p)throw new Error(e+" missing "+a);d.p.load(d.n,m(r,!0),A(a),{}),b[h]=f[a]}u=n?n.apply(f[e],b):void 0,e&&(i&&void 0!==i.exports&&i.exports!==f[e]?f[e]=i.exports:void 0===u&&p||(f[e]=u))}else e&&(f[e]=n)},e=t=a=function(e,t,n,r,f){if("string"==typeof e)return s[e]?s[e](t):y(o(e,v(t)).f);if(!e.splice){if((u=e).deps&&a(u.deps,u.callback),!t)return;t.splice?(e=t,t=n,n=null):e=void 0}return t=t||function(){},"function"==typeof n&&(n=r,r=f),r?i(void 0,e,t,n):setTimeout((function(){i(void 0,e,t,n)}),4),a},a.config=function(e){return a(e)},e._defined=f,(n=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),g(f,e)||g(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),n("node_modules/almond/almond.js",(function(){})),function(e,t){if("function"!=typeof n||!n.amd)return t(e);n("strophe-polyfill",[],(function(){return t(e)}))}(this,(function(e){Function.prototype.bind||(Function.prototype.bind=function(e){var t=this,n=Array.prototype.slice,r=Array.prototype.concat,i=n.call(arguments,1);return function(){return t.apply(e||this,r.call(i,n.call(arguments,0)))}}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length,n=Number(arguments[1])||0;for((n=n<0?Math.ceil(n):Math.floor(n))<0&&(n+=t);n<t;n++)if(n in this&&this[n]===e)return n;return-1}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,r;if(null===this)throw new TypeError(" this is null or not defined");var i=Object(this),a=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(n=t),r=0;r<a;){var o;r in i&&(o=i[r],e.call(n,o,r,i)),r++}});var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.btoa||(e.btoa=function(e){var n,r,i,a,o,s,f,c="",u=0;do{a=(n=e.charCodeAt(u++))>>2,o=(3&n)<<4|(r=e.charCodeAt(u++))>>4,s=(15&r)<<2
this.RosterContacts=l.Collection.extend({model:A.RosterContact,comparator:function(e,t){var n=e.get("chat_status")||"offline",r=t.get("chat_status")||"offline";if(A.STATUS_WEIGHTS[n]===A.STATUS_WEIGHTS[r]){var i=e.get("fullname").toLowerCase(),a=t.get("fullname").toLowerCase();return i<a?-1:i>a?1:0}return A.STATUS_WEIGHTS[n]<A.STATUS_WEIGHTS[r]?-1:1},onConnected:function(){this.registerRosterHandler(),this.registerRosterXHandler()},registerRosterHandler:function(){A.connection.addHandler(A.roster.onRosterPush.bind(A.roster),c.NS.ROSTER,"iq","set")},registerRosterXHandler:function(){var e=0;A.connection.addHandler((function(t){return window.setTimeout((function(){A.connection.flush(),A.roster.subscribeToSuggestedItems.bind(A.roster)(t)}),e),e+=250*t.querySelectorAll("item").length,!0}),c.NS.ROSTERX,"message",null)},fetchRosterContacts:function(){var e=this;return new t((function(t,n){e.fetch({add:!0,silent:!0,success:function(e){0===e.length?(A.send_initial_presence=!0,A.roster.fetchFromServer().then(t).catch(n)):(A.emit("cachedRoster",e),t())}})}))},subscribeToSuggestedItems:function(e){return n.each(e.querySelectorAll("item"),(function(e){"add"===e.getAttribute("action")&&A.roster.addAndSubscribe(e.getAttribute("jid"),null,A.xmppstatus.get("fullname"))})),!0},isSelf:function(e){return s.isSameBareJID(e,A.connection.jid)},addAndSubscribe:function(e,t,n,r,i){var a=function(e){e instanceof A.RosterContact&&e.subscribe(r)};this.addContact(e,t,n,i).then(a,a)},sendContactAddIQ:function(e,t,r,i,a){t=n.isEmpty(t)?e:t;var o=_({type:"set"}).c("query",{xmlns:c.NS.ROSTER}).c("item",{jid:e,name:t});n.each(r,(function(e){o.c("group").t(e).up()})),A.connection.sendIQ(o,i,a)},addContact:function(e,r,i,a){var o=this;return new t((function(t,s){i=i||[],r=n.isEmpty(r)?e:r,o.sendContactAddIQ(e,r,i,(function(){var s=o.create(n.assignIn({ask:void 0,fullname:r,groups:i,jid:e,requesting:!1,subscription:"none"},a),{sort:!1});t(s)}),(function(e){alert(y("Sorry, there was an error while trying to add %1$s as a contact.",r)),A.log(e,c.LogLevel.ERROR),t(e)}))}))},subscribeBack:function(e){var t=this.get(e);if(t instanceof A.RosterContact)t.authorize().subscribe();else{var n=function(e){e instanceof A.RosterContact&&e.authorize().subscribe()};this.addContact(e,"",[],{subscription:"from"}).then(n,n)}},getNumOnlineContacts:function(){var e=["offline","unavailable"];return A.show_only_online_users&&(e=n.union(e,["dnd","xa","away"])),n.sum(this.models.filter((function(t){return!n.includes(e,t.get("chat_status"))})))},onRosterPush:function(t){var r=t.getAttribute("id"),i=t.getAttribute("from");if(i&&""!==i&&c.getBareJidFromJid(i)!==A.bare_jid)return A.connection.send(_({type:"error",id:r,from:A.connection.jid}).c("error",{type:"cancel"}).c("service-unavailable",{xmlns:c.NS.ROSTER})),!0;A.connection.send(_({type:"result",id:r,from:A.connection.jid}));var a=e('query[xmlns="'.concat(c.NS.ROSTER,'"] item'),t);return n.each(a,this.updateContact.bind(this)),A.emit("rosterPush",t),!0},fetchFromServer:function(){var e=this;return new t((function(t,r){var i=_({type:"get",id:A.connection.getUniqueId("roster")}).c("query",{xmlns:c.NS.ROSTER}),a=n.flow(e.onReceivedFromServer.bind(e),t);return A.connection.sendIQ(i,a,(function(e){var t="Error while trying to fetch roster from the server";A.log(t,c.LogLevel.ERROR),r(new Error(t))}))}))},onReceivedFromServer:function(t){var r=e('query[xmlns="'.concat(c.NS.ROSTER,'"] item'),t);n.each(r,this.updateContact.bind(this)),A.emit("roster",t)},updateContact:function(e){var t=e.getAttribute("jid");if(!this.isSelf(t)){var r=this.get(t),i=e.getAttribute("subscription"),a=e.getAttribute("ask"),o=n.map(e.getElementsByTagName("group"),c.getText);if(r){if("remove"===i)return r.destroy();r.save({subscription:i,ask:a,requesting:null,groups:o})}else{if("none"===i&&null===a||"remove"===i)return;this.create({ask:a,fullname:e.getAttribute("name")||t,groups:o,jid:t,subscription:i},{sort:!1})}}},createRequestingContact:function(e){var t=c.getBareJidFromJid(e.getAttribute("from")),n=e.querySelector('nick[xmlns="'.concat(c.NS.NICK,'"]')),r={ji
/*!
* Backbone.Overview
*
* Copyright (c) 2018, JC Brand <jc@opkode.com>
* Licensed under the Mozilla Public License (MPL)
*/
function(e,t){"function"==typeof n&&n.amd?n("backbone.overview",["underscore","backbone"],t):t(_||e._,Backbone||e.Backbone)}(this,(function(e,t){"use strict";var n=e.isUndefined(t.NativeView)?t.View:t.NativeView,r=t.Overview=function(t){var r=this;this.views={},this.keys=e.partial(e.keys,this.views),this.getAll=e.partial(e.identity,this.views),this.get=function(e){return r.views[e]},this.xget=function(t){return e.filter(r.views,(function(e,n){return n!==t}))},this.add=function(e,t){return r.views[e]=t,t},this.remove=function(e){void 0===e&&(new n).remove.apply(r);var t=r.views[e];if(t)return delete r.views[e],t.remove(),t},this.removeAll=function(){return e.each(e.keys(r.views),r.remove),r},n.apply(this,Array.prototype.slice.apply(arguments))};return e.each(["all","any","chain","collect","contains","detect","difference","drop","each","every","filter","find","first","foldl","foldr","forEach","head","include","indexOf","initial","inject","invoke","isEmpty","last","lastIndexOf","map","max","min","reduce","reduceRight","reject","rest","sample","select","shuffle","size","some","sortBy","tail","take","toArray","without"],(function(t){r.prototype[t]=function(){var n=Array.prototype.slice.call(arguments);return n.unshift(this.views),e[t].apply(e,n)}})),e.extend(r.prototype,n.prototype),r.extend=n.extend,t.OrderedListView=t.Overview.extend({listItems:"model",sortEvent:"change",listSelector:".ordered-items",ItemView:void 0,initialize:function(){this.sortEventually=e.debounce(this.sortAndPositionAllItems.bind(this),500),this.items=e.get(this,this.listItems),this.items.on("add",this.createItemView,this),this.items.on("add",this.sortEventually,this),this.items.on(this.sortEvent,this.sortEventually,this)},createItemView:function(e){var t=this.get(e.get("id"));return t?(t.model=e,t.initialize()):(t=new this.ItemView({model:e}),this.add(e.get("id"),t)),t.render(),t},sortAndPositionAllItems:function(){var t=this;this.items.sort(),this.items.each((function(n){e.isUndefined(t.get(n.get("id")))&&t.createItemView(n),t.positionItem(n,t.el.querySelector(t.listSelector))}))},positionItem:function(e,t){var n=this.get(e.get("id")),r=this.items.indexOf(e);return 0===r?t.insertAdjacentElement("afterbegin",n.el):r===this.items.length-1?t.insertAdjacentElement("beforeend",n.el):t.querySelector("li:nth-child("+r+")").insertAdjacentElement("afterend",n.el),n}}),t.Overview})),n("converse-chatboxes",["converse-core","backbone.overview"],(function(e){"use strict";var t=e.env,n=t.Backbone,r=t.Promise,i=t.Strophe,a=t.b64_sha1,o=t.moment,s=t.utils,f=t._;return e.plugins.add("converse-chatboxes",{overrides:{disconnect:function(){var e=this.__super__._converse;return e.chatboxviews.closeAllChatBoxes(),this.__super__.disconnect.apply(this,arguments)},logOut:function(){var e=this.__super__._converse;return e.chatboxviews.closeAllChatBoxes(),this.__super__.logOut.apply(this,arguments)},initStatus:function(){var e=this.__super__._converse;return e.chatboxviews.closeAllChatBoxes(),this.__super__.initStatus.apply(this,arguments)},onStatusInitialized:function(){var e=this.__super__._converse;return e.chatboxes.onConnected(),this.__super__.onStatusInitialized.apply(this,arguments)}},initialize:function(){var t=this._converse;t.api.promises.add(["chatBoxesFetched","chatBoxesInitialized"]),t.router.route("converse/chat?jid=:jid",(function(n){if(!s.isValidJID(n))return e.log('Invalid JID "'.concat(n,'" provided in URL fragment'),i.LogLevel.WARN);r.all([t.api.waitUntil("rosterContactsFetched"),t.api.waitUntil("chatBoxesFetched")]).then((function(){t.api.chats.open(n)}))})),t.Message=n.Model.extend({defaults:function(){return{msgid:t.connection.getUniqueId()}}}),t.Messages=n.Collection.extend({model:t.Message,comparator:"time"}),t.ChatBox=n.Model.extend({defaults:{type:"chatbox",show_avatar:!0,bookmarked:!1,chat_state:void 0,num_unread:0,url:""},initialize:function(){this.messages=new t.Messages,this.messages.browserStorage=new n.BrowserStorage[t.message_storage](a("converse.messages".concat(this.get("jid")).concat(t.bare_jid))),this.save({box_id:a(this.get("jid")),time_o
uc_greedy:"1f468-1f3ff-1f692",shortnames:[":man_firefighter_dark_skin_tone:"],category:"people"},":man_mechanic_tone1:":{uc_base:"1f468-1f3fb-1f527",uc_output:"1f468-1f3fb-200d-1f527",uc_match:"1f468-1f3fb-1f527",uc_greedy:"1f468-1f3fb-1f527",shortnames:[":man_mechanic_light_skin_tone:"],category:"people"},":man_mechanic_tone2:":{uc_base:"1f468-1f3fc-1f527",uc_output:"1f468-1f3fc-200d-1f527",uc_match:"1f468-1f3fc-1f527",uc_greedy:"1f468-1f3fc-1f527",shortnames:[":man_mechanic_medium_light_skin_tone:"],category:"people"},":man_mechanic_tone3:":{uc_base:"1f468-1f3fd-1f527",uc_output:"1f468-1f3fd-200d-1f527",uc_match:"1f468-1f3fd-1f527",uc_greedy:"1f468-1f3fd-1f527",shortnames:[":man_mechanic_medium_skin_tone:"],category:"people"},":man_mechanic_tone4:":{uc_base:"1f468-1f3fe-1f527",uc_output:"1f468-1f3fe-200d-1f527",uc_match:"1f468-1f3fe-1f527",uc_greedy:"1f468-1f3fe-1f527",shortnames:[":man_mechanic_medium_dark_skin_tone:"],category:"people"},":man_mechanic_tone5:":{uc_base:"1f468-1f3ff-1f527",uc_output:"1f468-1f3ff-200d-1f527",uc_match:"1f468-1f3ff-1f527",uc_greedy:"1f468-1f3ff-1f527",shortnames:[":man_mechanic_dark_skin_tone:"],category:"people"},":man_office_worker_tone1:":{uc_base:"1f468-1f3fb-1f4bc",uc_output:"1f468-1f3fb-200d-1f4bc",uc_match:"1f468-1f3fb-1f4bc",uc_greedy:"1f468-1f3fb-1f4bc",shortnames:[":man_office_worker_light_skin_tone:"],category:"people"},":man_office_worker_tone2:":{uc_base:"1f468-1f3fc-1f4bc",uc_output:"1f468-1f3fc-200d-1f4bc",uc_match:"1f468-1f3fc-1f4bc",uc_greedy:"1f468-1f3fc-1f4bc",shortnames:[":man_office_worker_medium_light_skin_tone:"],category:"people"},":man_office_worker_tone3:":{uc_base:"1f468-1f3fd-1f4bc",uc_output:"1f468-1f3fd-200d-1f4bc",uc_match:"1f468-1f3fd-1f4bc",uc_greedy:"1f468-1f3fd-1f4bc",shortnames:[":man_office_worker_medium_skin_tone:"],category:"people"},":man_office_worker_tone4:":{uc_base:"1f468-1f3fe-1f4bc",uc_output:"1f468-1f3fe-200d-1f4bc",uc_match:"1f468-1f3fe-1f4bc",uc_greedy:"1f468-1f3fe-1f4bc",shortnames:[":man_office_worker_medium_dark_skin_tone:"],category:"people"},":man_office_worker_tone5:":{uc_base:"1f468-1f3ff-1f4bc",uc_output:"1f468-1f3ff-200d-1f4bc",uc_match:"1f468-1f3ff-1f4bc",uc_greedy:"1f468-1f3ff-1f4bc",shortnames:[":man_office_worker_dark_skin_tone:"],category:"people"},":man_scientist_tone1:":{uc_base:"1f468-1f3fb-1f52c",uc_output:"1f468-1f3fb-200d-1f52c",uc_match:"1f468-1f3fb-1f52c",uc_greedy:"1f468-1f3fb-1f52c",shortnames:[":man_scientist_light_skin_tone:"],category:"people"},":man_scientist_tone2:":{uc_base:"1f468-1f3fc-1f52c",uc_output:"1f468-1f3fc-200d-1f52c",uc_match:"1f468-1f3fc-1f52c",uc_greedy:"1f468-1f3fc-1f52c",shortnames:[":man_scientist_medium_light_skin_tone:"],category:"people"},":man_scientist_tone3:":{uc_base:"1f468-1f3fd-1f52c",uc_output:"1f468-1f3fd-200d-1f52c",uc_match:"1f468-1f3fd-1f52c",uc_greedy:"1f468-1f3fd-1f52c",shortnames:[":man_scientist_medium_skin_tone:"],category:"people"},":man_scientist_tone4:":{uc_base:"1f468-1f3fe-1f52c",uc_output:"1f468-1f3fe-200d-1f52c",uc_match:"1f468-1f3fe-1f52c",uc_greedy:"1f468-1f3fe-1f52c",shortnames:[":man_scientist_medium_dark_skin_tone:"],category:"people"},":man_scientist_tone5:":{uc_base:"1f468-1f3ff-1f52c",uc_output:"1f468-1f3ff-200d-1f52c",uc_match:"1f468-1f3ff-1f52c",uc_greedy:"1f468-1f3ff-1f52c",shortnames:[":man_scientist_dark_skin_tone:"],category:"people"},":man_singer_tone1:":{uc_base:"1f468-1f3fb-1f3a4",uc_output:"1f468-1f3fb-200d-1f3a4",uc_match:"1f468-1f3fb-1f3a4",uc_greedy:"1f468-1f3fb-1f3a4",shortnames:[":man_singer_light_skin_tone:"],category:"people"},":man_singer_tone2:":{uc_base:"1f468-1f3fc-1f3a4",uc_output:"1f468-1f3fc-200d-1f3a4",uc_match:"1f468-1f3fc-1f3a4",uc_greedy:"1f468-1f3fc-1f3a4",shortnames:[":man_singer_medium_light_skin_tone:"],category:"people"},":man_singer_tone3:":{uc_base:"1f468-1f3fd-1f3a4",uc_output:"1f468-1f3fd-200d-1f3a4",uc_match:"1f468-1f3fd-1f3a4",uc_greedy:"1f468-1f3fd-1f3a4",shortnames:[":man_singer_medium_skin_tone:"],category:"people"},":man_singer_tone4:":{uc_base:"1f468-1f3fe-1f3a4",uc_output:"1f468-1f3fe-200d-1f3a4",uc_match:"1f468-1f3f
category:"people"},":person_frowning_tone2:":{uc_base:"1f64d-1f3fc",uc_output:"1f64d-1f3fc",uc_match:"1f64d-1f3fc",uc_greedy:"1f64d-1f3fc",shortnames:[],category:"people"},":person_frowning_tone3:":{uc_base:"1f64d-1f3fd",uc_output:"1f64d-1f3fd",uc_match:"1f64d-1f3fd",uc_greedy:"1f64d-1f3fd",shortnames:[],category:"people"},":person_frowning_tone4:":{uc_base:"1f64d-1f3fe",uc_output:"1f64d-1f3fe",uc_match:"1f64d-1f3fe",uc_greedy:"1f64d-1f3fe",shortnames:[],category:"people"},":person_frowning_tone5:":{uc_base:"1f64d-1f3ff",uc_output:"1f64d-1f3ff",uc_match:"1f64d-1f3ff",uc_greedy:"1f64d-1f3ff",shortnames:[],category:"people"},":person_gesturing_no_tone1:":{uc_base:"1f645-1f3fb",uc_output:"1f645-1f3fb",uc_match:"1f645-1f3fb",uc_greedy:"1f645-1f3fb",shortnames:[":no_good_tone1:"],category:"people"},":person_gesturing_no_tone2:":{uc_base:"1f645-1f3fc",uc_output:"1f645-1f3fc",uc_match:"1f645-1f3fc",uc_greedy:"1f645-1f3fc",shortnames:[":no_good_tone2:"],category:"people"},":person_gesturing_no_tone3:":{uc_base:"1f645-1f3fd",uc_output:"1f645-1f3fd",uc_match:"1f645-1f3fd",uc_greedy:"1f645-1f3fd",shortnames:[":no_good_tone3:"],category:"people"},":person_gesturing_no_tone4:":{uc_base:"1f645-1f3fe",uc_output:"1f645-1f3fe",uc_match:"1f645-1f3fe",uc_greedy:"1f645-1f3fe",shortnames:[":no_good_tone4:"],category:"people"},":person_gesturing_no_tone5:":{uc_base:"1f645-1f3ff",uc_output:"1f645-1f3ff",uc_match:"1f645-1f3ff",uc_greedy:"1f645-1f3ff",shortnames:[":no_good_tone5:"],category:"people"},":person_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb",uc_output:"1f646-1f3fb",uc_match:"1f646-1f3fb",uc_greedy:"1f646-1f3fb",shortnames:[":ok_woman_tone1:"],category:"people"},":person_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc",uc_output:"1f646-1f3fc",uc_match:"1f646-1f3fc",uc_greedy:"1f646-1f3fc",shortnames:[":ok_woman_tone2:"],category:"people"},":person_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd",uc_output:"1f646-1f3fd",uc_match:"1f646-1f3fd",uc_greedy:"1f646-1f3fd",shortnames:[":ok_woman_tone3:"],category:"people"},":person_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe",uc_output:"1f646-1f3fe",uc_match:"1f646-1f3fe",uc_greedy:"1f646-1f3fe",shortnames:[":ok_woman_tone4:"],category:"people"},":person_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff",uc_output:"1f646-1f3ff",uc_match:"1f646-1f3ff",uc_greedy:"1f646-1f3ff",shortnames:[":ok_woman_tone5:"],category:"people"},":person_getting_haircut_tone1:":{uc_base:"1f487-1f3fb",uc_output:"1f487-1f3fb",uc_match:"1f487-1f3fb",uc_greedy:"1f487-1f3fb",shortnames:[":haircut_tone1:"],category:"people"},":person_getting_haircut_tone2:":{uc_base:"1f487-1f3fc",uc_output:"1f487-1f3fc",uc_match:"1f487-1f3fc",uc_greedy:"1f487-1f3fc",shortnames:[":haircut_tone2:"],category:"people"},":person_getting_haircut_tone3:":{uc_base:"1f487-1f3fd",uc_output:"1f487-1f3fd",uc_match:"1f487-1f3fd",uc_greedy:"1f487-1f3fd",shortnames:[":haircut_tone3:"],category:"people"},":person_getting_haircut_tone4:":{uc_base:"1f487-1f3fe",uc_output:"1f487-1f3fe",uc_match:"1f487-1f3fe",uc_greedy:"1f487-1f3fe",shortnames:[":haircut_tone4:"],category:"people"},":person_getting_haircut_tone5:":{uc_base:"1f487-1f3ff",uc_output:"1f487-1f3ff",uc_match:"1f487-1f3ff",uc_greedy:"1f487-1f3ff",shortnames:[":haircut_tone5:"],category:"people"},":person_getting_massage_tone1:":{uc_base:"1f486-1f3fb",uc_output:"1f486-1f3fb",uc_match:"1f486-1f3fb",uc_greedy:"1f486-1f3fb",shortnames:[":massage_tone1:"],category:"people"},":person_getting_massage_tone2:":{uc_base:"1f486-1f3fc",uc_output:"1f486-1f3fc",uc_match:"1f486-1f3fc",uc_greedy:"1f486-1f3fc",shortnames:[":massage_tone2:"],category:"people"},":person_getting_massage_tone3:":{uc_base:"1f486-1f3fd",uc_output:"1f486-1f3fd",uc_match:"1f486-1f3fd",uc_greedy:"1f486-1f3fd",shortnames:[":massage_tone3:"],category:"people"},":person_getting_massage_tone4:":{uc_base:"1f486-1f3fe",uc_output:"1f486-1f3fe",uc_match:"1f486-1f3fe",uc_greedy:"1f486-1f3fe",shortnames:[":massage_tone4:"],category:"people"},":person_getting_massage_tone5:":{uc_base:"1f486-1f3ff",uc_output:"1f486-1f3ff",uc_match:"1f486-1f3ff",uc_greedy:"1f486-1f3ff"
uc_output:"1f383",uc_match:"1f383",uc_greedy:"1f383",shortnames:[],category:"people"},":japan:":{uc_base:"1f5fe",uc_output:"1f5fe",uc_match:"1f5fe",uc_greedy:"1f5fe",shortnames:[],category:"travel"},":japanese_castle:":{uc_base:"1f3ef",uc_output:"1f3ef",uc_match:"1f3ef",uc_greedy:"1f3ef",shortnames:[],category:"travel"},":japanese_goblin:":{uc_base:"1f47a",uc_output:"1f47a",uc_match:"1f47a",uc_greedy:"1f47a",shortnames:[],category:"people"},":japanese_ogre:":{uc_base:"1f479",uc_output:"1f479",uc_match:"1f479",uc_greedy:"1f479",shortnames:[],category:"people"},":jeans:":{uc_base:"1f456",uc_output:"1f456",uc_match:"1f456",uc_greedy:"1f456",shortnames:[],category:"people"},":joy:":{uc_base:"1f602",uc_output:"1f602",uc_match:"1f602",uc_greedy:"1f602",shortnames:[],category:"people"},":joy_cat:":{uc_base:"1f639",uc_output:"1f639",uc_match:"1f639",uc_greedy:"1f639",shortnames:[],category:"people"},":kaaba:":{uc_base:"1f54b",uc_output:"1f54b",uc_match:"1f54b",uc_greedy:"1f54b",shortnames:[],category:"travel"},":key:":{uc_base:"1f511",uc_output:"1f511",uc_match:"1f511",uc_greedy:"1f511",shortnames:[],category:"objects"},":keycap_ten:":{uc_base:"1f51f",uc_output:"1f51f",uc_match:"1f51f",uc_greedy:"1f51f",shortnames:[],category:"symbols"},":kimono:":{uc_base:"1f458",uc_output:"1f458",uc_match:"1f458",uc_greedy:"1f458",shortnames:[],category:"people"},":kiss:":{uc_base:"1f48b",uc_output:"1f48b",uc_match:"1f48b",uc_greedy:"1f48b",shortnames:[],category:"people"},":kissing:":{uc_base:"1f617",uc_output:"1f617",uc_match:"1f617",uc_greedy:"1f617",shortnames:[],category:"people"},":kissing_cat:":{uc_base:"1f63d",uc_output:"1f63d",uc_match:"1f63d",uc_greedy:"1f63d",shortnames:[],category:"people"},":kissing_closed_eyes:":{uc_base:"1f61a",uc_output:"1f61a",uc_match:"1f61a",uc_greedy:"1f61a",shortnames:[],category:"people"},":kissing_heart:":{uc_base:"1f618",uc_output:"1f618",uc_match:"1f618",uc_greedy:"1f618",shortnames:[],category:"people"},":kissing_smiling_eyes:":{uc_base:"1f619",uc_output:"1f619",uc_match:"1f619",uc_greedy:"1f619",shortnames:[],category:"people"},":kiwi:":{uc_base:"1f95d",uc_output:"1f95d",uc_match:"1f95d",uc_greedy:"1f95d",shortnames:[":kiwifruit:"],category:"food"},":knife:":{uc_base:"1f52a",uc_output:"1f52a",uc_match:"1f52a",uc_greedy:"1f52a",shortnames:[],category:"objects"},":koala:":{uc_base:"1f428",uc_output:"1f428",uc_match:"1f428",uc_greedy:"1f428",shortnames:[],category:"nature"},":koko:":{uc_base:"1f201",uc_output:"1f201",uc_match:"1f201",uc_greedy:"1f201",shortnames:[],category:"symbols"},":large_blue_diamond:":{uc_base:"1f537",uc_output:"1f537",uc_match:"1f537",uc_greedy:"1f537",shortnames:[],category:"symbols"},":large_orange_diamond:":{uc_base:"1f536",uc_output:"1f536",uc_match:"1f536",uc_greedy:"1f536",shortnames:[],category:"symbols"},":last_quarter_moon:":{uc_base:"1f317",uc_output:"1f317",uc_match:"1f317",uc_greedy:"1f317",shortnames:[],category:"nature"},":last_quarter_moon_with_face:":{uc_base:"1f31c",uc_output:"1f31c",uc_match:"1f31c",uc_greedy:"1f31c",shortnames:[],category:"nature"},":laughing:":{uc_base:"1f606",uc_output:"1f606",uc_match:"1f606",uc_greedy:"1f606",shortnames:[":satisfied:"],category:"people"},":leaves:":{uc_base:"1f343",uc_output:"1f343",uc_match:"1f343",uc_greedy:"1f343",shortnames:[],category:"nature"},":ledger:":{uc_base:"1f4d2",uc_output:"1f4d2",uc_match:"1f4d2",uc_greedy:"1f4d2",shortnames:[],category:"objects"},":left_facing_fist:":{uc_base:"1f91b",uc_output:"1f91b",uc_match:"1f91b",uc_greedy:"1f91b",shortnames:[":left_fist:"],category:"people"},":left_luggage:":{uc_base:"1f6c5",uc_output:"1f6c5",uc_match:"1f6c5",uc_greedy:"1f6c5",shortnames:[],category:"symbols"},":lemon:":{uc_base:"1f34b",uc_output:"1f34b",uc_match:"1f34b",uc_greedy:"1f34b",shortnames:[],category:"food"},":leopard:":{uc_base:"1f406",uc_output:"1f406",uc_match:"1f406",uc_greedy:"1f406",shortnames:[],category:"nature"},":light_rail:":{uc_base:"1f688",uc_output:"1f688",uc_match:"1f688",uc_greedy:"1f688",shortnames:[],category:"travel"},":link:":{uc_base:"1f517",uc_output:"1f517",uc_match:"1f517",uc_greedy:
"🕴️🏼":"1f574-1f3fc","🕴️🏽":"1f574-1f3fd","🕴️🏾":"1f574-1f3fe","🕴️🏿":"1f574-1f3ff","🕵️🏻":"1f575-1f3fb","🕵️🏼":"1f575-1f3fc","🕵️🏽":"1f575-1f3fd","🕵️🏾":"1f575-1f3fe","🕵️🏿":"1f575-1f3ff","🖐️🏻":"1f590-1f3fb","🖐️🏼":"1f590-1f3fc","🖐️🏽":"1f590-1f3fd","🖐️🏾":"1f590-1f3fe","🖐️🏿":"1f590-1f3ff","🏳‍🌈":"1f3f3-1f308","🏳️🌈":"1f3f3-1f308","👯‍♂":"1f46f-2642","👯‍♀":"1f46f-2640","🤼‍♂":"1f93c-2642","🤼‍♀":"1f93c-2640","🤹‍♂":"1f939-2642","🤹‍♀":"1f939-2640","🤾‍♂":"1f93e-2642","🤾‍♀":"1f93e-2640","🤽‍♂":"1f93d-2642","🤽‍♀":"1f93d-2640","🤸‍♂":"1f938-2642","🤸‍♀":"1f938-2640","🚶‍♂":"1f6b6-2642","🚶‍♀":"1f6b6-2640","🚵‍♂":"1f6b5-2642","🚵‍♀":"1f6b5-2640","🚴‍♂":"1f6b4-2642","🚴‍♀":"1f6b4-2640","🚣‍♂":"1f6a3-2642","🚣‍♀":"1f6a3-2640","🏊‍♂":"1f3ca-2642","🏊‍♀":"1f3ca-2640","🏄‍♂":"1f3c4-2642","🏄‍♀":"1f3c4-2640","🏃‍♂":"1f3c3-2642","🏃‍♀":"1f3c3-2640","🤷‍♂":"1f937-2642","🤷‍♀":"1f937-2640","🤦‍♂":"1f926-2642","🤦‍♀":"1f926-2640","🙎‍♂":"1f64e-2642","🙎‍♀":"1f64e-2640","🙍‍♂":"1f64d-2642","🙍‍♀":"1f64d-2640","🙋‍♂":"1f64b-2642","🙋‍♀":"1f64b-2640","🙇‍♂":"1f647-2642","🙇‍♀":"1f647-2640","🙆‍♂":"1f646-2642","🙆‍♀":"1f646-2640","🙅‍♂":"1f645-2642","🙅‍♀":"1f645-2640","💇‍♂":"1f487-2642","💇‍♀":"1f487-2640","💆‍♂":"1f486-2642","💆‍♀":"1f486-2640","💁‍♂":"1f481-2642","💁‍♀":"1f481-2640","👱‍♂":"1f471-2642","👱‍♀":"1f471-2640","👳‍♂":"1f473-2642","👳‍♀":"1f473-2640","💂‍♂":"1f482-2642","💂‍♀":"1f482-2640","👷‍♂":"1f477-2642","👷‍♀":"1f477-2640","👮‍♂":"1f46e-2642","👮‍♀":"1f46e-2640","👨‍⚕":"1f468-2695","👩‍⚕":"1f469-2695","👨‍⚖":"1f468-2696","👩‍⚖":"1f469-2696","👨‍✈":"1f468-2708","👩‍✈":"1f469-2708","☝️🏻":"261d-1f3fb","☝️🏼":"261d-1f3fc","☝️🏽":"261d-1f3fd","☝️🏾":"261d-1f3fe","☝️🏿":"261d-1f3ff","⛹️🏻":"26f9-1f3fb","⛹️🏼":"26f9-1f3fc","⛹️🏽":"26f9-1f3fd","⛹️🏾":"26f9-1f3fe","⛹️🏿":"26f9-1f3ff","✌️🏻":"270c-1f3fb","✌️🏼":"270c-1f3fc","✌️🏽":"270c-1f3fd","✌️🏾":"270c-1f3fe","✌️🏿":"270c-1f3ff","✍️🏻":"270d-1f3fb","✍️🏼":"270d-1f3fc","✍️🏽":"270d-1f3fd","✍️🏾":"270d-1f3fe","✍️🏿":"270d-1f3ff","👨⚕️":"1f468-2695","👨⚖️":"1f468-2696","👨✈️":"1f468-2708","👩⚕️":"1f469-2695","👩⚖️":"1f469-2696","👩✈️":"1f469-2708","👮♀️":"1f46e-2640","👮♂️":"1f46e-2642","👱♀️":"1f471-2640","👱♂️":"1f471-2642","👳♀️":"1f473-2640","👳♂️":"1f473-2642","👷♀️":"1f477-2640","👷♂️":"1f477-2642","💂♀️":"1f482-2640","💂♂️":"1f482-2642","🕵‍♀":"1f575-2640","🕵‍♂":"1f575-2642","🏃♀️":"1f3c3-2640","🏃♂️":"1f3c3-2642","🏄♀️":"1f3c4-2640","🏄♂️":"1f3c4-2642","🏊♀️":"1f3ca-2640","🏊♂️":"1f3ca-2642","🏋‍♀":"1f3cb-2640","🏋‍♂":"1f3cb-2642","🏌‍♀":"1f3cc-2640","🏌‍♂":"1f3cc-2642","👯♀️":"1f46f-2640","👯♂️":"1f46f-2642","💆♀️":"1f486-2640","💆♂️":"1f486-2642","💇♀️":"1f487-2640","💇♂️":"1f487-2642","🚣♀️":"1f6a3-2640","🚣♂️":"1f6a3-2642","🚴♀️":"1f6b4-2640","🚴♂️":"1f6b4-2642","🚵♀️":"1f6b5-2640","🚵♂️":"1f6b5-2642","🚶♀️":"1f6b6-2640","🚶♂️":"1f6b6-2642","🤸♀️":"1f938-2640","🤸♂️":"1f938-2642","🤹♀️":"1f939-2640","🤹♂️":"1f939-2642","🤼♀️":"1f93c-2640","🤼♂️":"1f93c-2642","🤽♀️":"1f93d-2640","🤽♂️":"1f93d-2642","🤾♀️":"1f93e-2640","🤾♂️":"1f93e-2642","💁♀️":"1f481-2640","💁♂️":"1f481-2642","🙅♀️":"1f645-2640","🙅♂️":"1f645-2642","🙆<EFBFBD><EFBFBD>
var n="",r=e.escape;return Array.prototype.join,n+='<div id="converse-login-panel" class="controlbox-pane fade-in">\n <form class="pure-form pure-form-stacked converse-form" id="converse-login" method="post">\n <legend>'+r(t.__("Login"))+'</legend>\n <div class="conn-feedback fade-in ',t.conn_feedback_subject||(n+=" hidden "),n+=" "+r(t.conn_feedback_class)+'">\n <p class="feedback-subject">'+r(t.conn_feedback_subject)+'</p>\n <p class="feedback-message ',t.conn_feedback_message||(n+=" hidden "),n+='">'+r(t.conn_feedback_message)+"</p>\n </div>\n ",t.auto_login||"CONNECTING"===t._converse.CONNECTION_STATUS[t.connection_status]?n+='\n <span class="spinner centered"/>\n ':(n+="\n ",t.authentication!=t.LOGIN&&t.authentication!=t.EXTERNAL||(n+="\n <label>"+r(t.__("Jabber ID:"))+'</label>\n <input autofocus required\n type="text"\n name="jid"\n placeholder="'+r(t.placeholder_username)+'">\n ',t.authentication!==t.EXTERNAL&&(n+="\n <label>"+r(t.__("Password:"))+'</label>\n <input required\n type="password" name="password"\n placeholder="'+r(t.__("password"))+'">\n '),n+='\n <input class="pure-button button-primary" type="submit" value="'+r(t.__("Submit"))+'">\n '),n+="\n ",t.authentication==t.ANONYMOUS&&(n+='\n <input class="pure-button button-primary login-anon" type="submit" value="'+r(t.__("Click here to log in anonymously"))+'"/>\n '),n+="\n ",t.authentication==t.PREBIND&&(n+="\n <p>Disconnected.</p>\n "),n+="\n "),n+"\n </form>\n</div>\n"}})),n("tpl!search_contact",["lodash"],(function(e){return function(t){var n="",r=e.escape;return n+'<li>\n <form class="search-xmpp-contact">\n <input type="text"\n name="identifier"\n class="username"\n placeholder="'+r(t.label_contact_name)+'"/>\n <button type="submit">'+r(t.label_search)+"</button>\n </form>\n</li>\n"}})),n("tpl!group_header",["lodash"],(function(e){return function(t){var n="",r=e.escape;return Array.prototype.join,n+='<a href="#" class="group-toggle icon-'+r(t.toggle_state)+'" title="'+r(t.desc_group_toggle)+'">'+r(t.label_group)+'</a>\n<ul class="roster-group-contacts ',t.toggle_state===t._converse.CLOSED&&(n+=" collapsed "),n+'"></ul>\n'}})),n("tpl!pending_contact",["lodash"],(function(e){return function(t){var n="",r=e.escape;return Array.prototype.join,t.allow_chat_pending_contacts&&(n+='\n<a class="open-chat"href="#">\n'),n+='\n<span class="pending-contact-name" title="Name: '+r(t.fullname)+"\nJID: "+r(t.jid)+'">'+r(t.fullname)+"</span> \n",t.allow_chat_pending_contacts&&(n+="\n</a>\n"),n+'\n<a class="remove-xmpp-contact icon-remove" title="'+r(t.desc_remove)+'" href="#"></a>\n'}})),n("tpl!requesting_contact",["lodash"],(function(e){return function(t){var n="",r=e.escape;return Array.prototype.join,t.allow_chat_pending_contacts&&(n+='\n<a class="open-chat"href="#">\n'),n+='\n<span class="req-contact-name" title="Name: '+r(t.fullname)+"\nJID: "+r(t.jid)+'">'+r(t.fullname)+"</span>\n",t.allow_chat_pending_contacts&&(n+="\n</a>\n"),n+'\n<span class="request-actions">\n <a class="accept-xmpp-request icon-checkmark" aria-label="'+r(t.desc_accept)+'" title="'+r(t.desc_accept)+'" href="#"></a>\n <a class="decline-xmpp-request icon-close" aria-label="'+r(t.desc_decline)+'" title="'+r(t.desc_decline)+'" href="#"></a>\n</span>\n'}})),n("tpl!roster",["lodash"],(function(e){return function(e){return'<div class="roster-contacts"></div>\n'}})),n("tpl!roster_filter",["lodash"],(function(e){return function(t){var n="",r=e.escape;return Array.prototype.join,n+="<span ",t.visible||(n+=' class="hidden" '),n+='>\n<form class="pure-form roster-filter-form input-button-group">\n <input value="'+r(t.filter_text)+'"\n class="ros
/*!
* Backbone.OrderedListView
*
* Copyright (c) 2017, JC Brand <jc@opkode.com>
* Licensed under the Mozilla Public License (MPL)
*/
function(e,t){"function"==typeof n&&n.amd?n("backbone.orderedlistview",["underscore","backbone","backbone.overview"],t):t(_||e._,Backbone||e.Backbone)}(this,(function(e,t){"use strict";return t.OrderedListView=t.Overview.extend({listItems:"model",sortEvent:"change",listSelector:".ordered-items",ItemView:void 0,subviewIndex:"id",initialize:function(){this.sortEventually=e.debounce(this.sortAndPositionAllItems.bind(this),500),this.items=e.get(this,this.listItems),this.items.on("add",this.sortAndPositionAllItems,this),this.items.on("remove",this.removeView,this),e.isNil(this.sortEvent)||this.items.on(this.sortEvent,this.sortEventually,this)},createItemView:function(e){var t=this.get(e.get(this.subviewIndex));if(t)t.model=e,t.initialize();else try{t=new this.ItemView({model:e}),this.add(e.get(this.subviewIndex),t)}catch(n){t=new this.ItemView({model:e}),this.add(e.get(this.subviewIndex),t)}return t.render(),t},removeView:function(e){this.remove(e.get(this.subviewIndex))},sortAndPositionAllItems:function(){var t=this;if(this.items.length){this.items.sort();var n=this.el.querySelector(this.listSelector),r=document.createElement("div");n.parentNode.replaceChild(r,n),this.items.each((function(r){var i=t.get(r.get(t.subviewIndex));e.isUndefined(i)&&(i=t.createItemView(r)),n.insertAdjacentElement("beforeend",i.el)})),r.parentNode.replaceChild(n,r)}}}),t.OrderedListView})),function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof n&&n.amd?n("snabbdom",[],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).snabbdom=e()}((function(){return function e(n,r,i){function a(s,f){if(!r[s]){if(!n[s]){var c="function"==typeof t&&t;if(!f&&c)return c(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};n[s][0].call(l.exports,(function(e){return a(n[s][1][e]||e)}),l,l.exports,e,n,r,i)}return r[s].exports}for(var o="function"==typeof t&&t,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./vnode"),i=e("./is");function a(e,t,n){var a,o,s,f={};if(void 0!==n?(f=t,i.array(n)?a=n:i.primitive(n)?o=n:n&&n.sel&&(a=[n])):void 0!==t&&(i.array(t)?a=t:i.primitive(t)?o=t:t&&t.sel?a=[t]:f=t),i.array(a))for(s=0;s<a.length;++s)i.primitive(a[s])&&(a[s]=r.vnode(void 0,void 0,void 0,a[s]));return"s"!==e[0]||"v"!==e[1]||"g"!==e[2]||3!==e.length&&"."!==e[3]&&"#"!==e[3]||function e(t,n,r){if(t.ns="http://www.w3.org/2000/svg","foreignObject"!==r&&void 0!==n)for(var i=0;i<n.length;++i){var a=n[i].data;void 0!==a&&e(a,n[i].children,n[i].sel)}}(f,a,e),r.vnode(e,f,a,o,void 0)}n.h=a,n.default=a},{"./is":3,"./vnode":6}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.htmlDomApi={createElement:function(e){return document.createElement(e)},createElementNS:function(e,t){return document.createElementNS(e,t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return 1===e.nodeType},isText:function(e){return 3===e.nodeType},isComment:function(e){return 8===e.nodeType}},n.default=n.htmlDomApi},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.array=Array.isArray,n.primitive=function(e){return"string"==typeof e||"number"==typeof e}},{}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./vnode"),i=e("./is"),a=e("./htmldomapi");function o(e){return void 0===e}function s(e){return void 0!==e}var f=r.default("",{},[],void 0,void 0);function c(e,t){return e.key===t.key&&e.sel===t
;if(this._xformMode==this._ENC_XFORM_MODE)var r=n.createEncryptor;else r=n.createDecryptor,this._minBufferSize=1;this._mode=r.call(n,this,t&&t.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),n.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),p=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var r=a.create([1398893684,1701076831]).concat(n).concat(t);else r=t;return r.toString(f)},parse:function(e){var t=f.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var r=a.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return g.create({ciphertext:t,salt:r})}},m=n.SerializableCipher=r.extend({cfg:r.extend({format:p}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),a=i.finalize(t),o=i.cfg;return g.create({ciphertext:a,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),A=(t.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=a.random(8));var i=c.create({keySize:t+n}).compute(e,r),o=a.create(i.words.slice(t),4*n);return i.sigBytes=4*t,g.create({key:i,iv:o,salt:r})}},y=n.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:A}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var a=m.encrypt.call(this,e,t,i.key,r);return a.mixIn(i),a},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=i.iv,m.decrypt.call(this,e,t,i.key,r)}})}(),function(){var e=i,t=e.lib.BlockCipher,n=e.algo,r=[],a=[],o=[],s=[],f=[],c=[],u=[],l=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var _=i^i<<1^i<<2^i<<3^i<<4;_=_>>>8^255&_^99,r[n]=_,a[_]=n;var g=e[n],p=e[g],m=e[p],A=257*e[_]^16843008*_;o[n]=A<<24|A>>>8,s[n]=A<<16|A>>>16,f[n]=A<<8|A>>>24,c[n]=A,A=16843009*m^65537*p^257*g^16843008*n,u[_]=A<<24|A>>>8,l[_]=A<<16|A>>>16,d[_]=A<<8|A>>>24,h[_]=A,n?(n=g^e[e[e[m^g]]],i^=e[e[i]]):n=i=1}}();var _=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o<i;o++)if(o<n)a[o]=t[o];else{var s=a[o-1];o%n?n>6&&o%n==4&&(s=r[s>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s]):(s=r[(s=s<<8|s>>>24)>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s],s^=_[o/n|0]<<24),a[o]=a[o-n]^s}for(var f=this._invKeySchedule=[],c=0;c<i;c++)o=i-c,s=c%4?a[o]:a[o-4],f[c]=c<4||o<=4?s:u[r[s>>>24]]^l[r[s>>>16&255]]^d[r[s>>>8&255]]^h[r[255&s]]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,s,f,c,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,l,d,h,a),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,a,o,s){for(var f=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],l=e[t+2]^n[2],d=e[t+3]^n[3],h=4,_=1;_<f;_++){var g=r[c>>>24]^i[u>>>16&255]^a[l>>>8&255]^o[255&d]^n[h++],p=r[u>>>24]^i[l>>>16&255]^a[d>>>8&255]^o[255&c]^n[h++],m=r[l>>>24]^i[d>>>16&255]^a[c>>>8&255]^o[255&u]^n[h++],A=r[d>>>24]^i[c>>>16&255]^a[u>>>8&255]^o[255&l]^n[h++];c=g,u=p,l=m,d=A}g=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&d])^n[h++],p=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[d>>>8&255]<<8|s[255&c])^n[h++],m=(s[l>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[h++],A=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^n[h++],e[t]=g,e[t+1]=p,e[t+2]=m,e[t+3]=A},keySize:8});e.AES=t._createHelper(g)}(),function(){var e=i,t=e.lib,n=t.WordArray,r=t.Hasher,a=e.algo,o=[],s=a.SHA1=r.extend({_doReset:function(){this._hash=new n.init([
/*!
* EventEmitter v4.2.3 - git.io/ee
* Oliver Caldwell
* MIT license
* @preserve
*/
function(){"use strict";function e(){}var t=e.prototype;function r(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function i(e){return function(){return this[e].apply(this,arguments)}}t.getListeners=function(e){var t,n,r=this._getEvents();if("object"==typeof e)for(n in t={},r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n]);else t=r[e]||(r[e]=[]);return t},t.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},t.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},t.addListener=function(e,t){var n,i=this.getListenersAsObject(e),a="object"==typeof t;for(n in i)i.hasOwnProperty(n)&&-1===r(i[n],t)&&i[n].push(a?t:{listener:t,once:!1});return this},t.on=i("addListener"),t.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},t.once=i("addOnceListener"),t.defineEvent=function(e){return this.getListeners(e),this},t.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},t.removeListener=function(e,t){var n,i,a=this.getListenersAsObject(e);for(i in a)a.hasOwnProperty(i)&&-1!==(n=r(a[i],t))&&a[i].splice(n,1);return this},t.off=i("removeListener"),t.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},t.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},t.manipulateListeners=function(e,t,n){var r,i,a=e?this.removeListener:this.addListener,o=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=n.length;r--;)a.call(this,t,n[r]);else for(r in t)t.hasOwnProperty(r)&&(i=t[r])&&("function"==typeof i?a.call(this,r,i):o.call(this,r,i));return this},t.removeEvent=function(e){var t,n=typeof e,r=this._getEvents();if("string"===n)delete r[e];else if("object"===n)for(t in r)r.hasOwnProperty(t)&&e.test(t)&&delete r[t];else delete this._events;return this},t.emitEvent=function(e,t){var n,r,i,a=this.getListenersAsObject(e);for(i in a)if(a.hasOwnProperty(i))for(r=a[i].length;r--;)!0===(n=a[i][r]).once&&this.removeListener(e,n.listener),n.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},t.trigger=i("emitEvent"),t.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},t.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},t._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},t._getEvents=function(){return this._events||(this._events={})},"function"==typeof n&&n.amd?n("eventemitter",[],(function(){return e})):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}.call(this),function(e,t){"function"==typeof n&&n.amd?n("otr",["bigint","crypto","eventemitter"],(function(e,n,r){return t.call({BigInt:e,CryptoJS:n,EventEmitter:r,OTR:{},DSA:{}})})):(e.OTR={},e.DSA={},t.call(e))}(this,(function(){return function(){"use strict";var e={N:"FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF",G:"2",MSGSTATE_PLAINTEXT:0,MSGSTATE_ENCRYPTED:1,MSGSTATE_FINISHED:2,AUTHSTATE_NONE:0,AUTHSTATE_AWAITING_DHKEY:1,AUTHSTATE_AWAITING_REVEALSIG:2,AUTHSTATE_AWAITING_SIG:3,WHITESPACE_TAG:" \t \t\t\t\t \t \t \t ",WHITESPACE_TAG_V2:" \t\t \t ",WHITESPACE_TAG_V3:" \t\t \t\t",OTR_TAG:"?OTR",OTR_VERSION_1:"\0",OTR_VERSION_2:"\0",OTR_VERSION_3:"\0",SMPSTATE_EXPECT0:0,SMPSTATE_EXPECT1:1,SMPSTATE_EXPECT2:2,SMPSTATE_EXPECT3:3,SMPSTATE_EXPECT4:4,STATUS_SEND_QUERY:0,STATUS_AKE_INIT:1,STATUS_AKE_SUCCESS:2,STATUS_END_OTR:3};"undefined"!=typeof module&&module.exports?module.exports=e:this.OTR.CONST=e}.call(this),function(){"use strict";var e,n,r={};"undefined"!=typeof module&&module.exports?(module.exports=r={},e=t("../vendor/crypto.js"),n
/*!
* Copyright 2015 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.3.5
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
* By @maxlynch, @benjsperry, @adamdbradley <3
*
* Licensed under the MIT license. Please see LICENSE for more information.
*
*/
function(){var e,t,n,r,i,a,o,s;window.ionic=window.ionic||{},window.ionic.views={},window.ionic.version="1.3.5",window.ionic.DelegateService=function(e){if(e.indexOf("$getByHandle")>-1)throw new Error("Method '$getByHandle' is implicitly added to each delegate service. Do not list it as a method.");function t(){return!0}return["$log",function(n){function r(e,t){this._instances=e,this.handle=t}function i(){this._instances=[]}return e.forEach((function(e){r.prototype[e]=function(e){return function(){var t,r=this.handle,i=arguments,a=0;return this._instances.forEach((function(n){if((!r||r==n.$$delegateHandle)&&n.$$filterFn(n)){a++;var o=n[e].apply(n,i);1===a&&(t=o)}})),!a&&r?n.warn('Delegate for handle "'+r+'" could not find a corresponding element with delegate-handle="'+r+'"! '+e+"() was not called!\nPossible cause: If you are calling "+e+'() immediately, and your element with delegate-handle="'+r+'" is a child of your controller, then your element may not be compiled yet. Put a $timeout around your call to '+e+"() and try again."):t}}(e)})),i.prototype=r.prototype,i.prototype._registerInstance=function(e,n,r){var i=this._instances;return e.$$delegateHandle=n,e.$$filterFn=r||t,i.push(e),function(){var t=i.indexOf(e);-1!==t&&i.splice(t,1)}},i.prototype.$getByHandle=function(e){return new r(this._instances,e)},new i}]},function(e,t,n){var r=[],i="complete"===t.readyState||"interactive"===t.readyState;i||t.addEventListener("DOMContentLoaded",(function e(){i=!0;for(var a=0;a<r.length;a++)n.requestAnimationFrame(r[a]);r=[],t.removeEventListener("DOMContentLoaded",e)})),e._rAF=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){e.setTimeout(t,16)};var a=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame;n.DomUtil={requestAnimationFrame:function(t){return e._rAF(t)},cancelAnimationFrame:function(e){a(e)},animationFrameThrottle:function(e){var t,r,i;return function(){t=arguments,i=this,r||(r=!0,n.requestAnimationFrame((function(){e.apply(i,t),r=!1})))}},contains:function(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}},getPositionInParent:function(e){return{left:e.offsetLeft,top:e.offsetTop}},getOffsetTop:function(e){var t=0;if(e.offsetParent){do{t+=e.offsetTop,e=e.offsetParent}while(e);return t}},ready:function(e){i?n.requestAnimationFrame(e):r.push(e)},getTextBounds:function(n){if(t.createRange){var r=t.createRange();if(r.selectNodeContents(n),r.getBoundingClientRect){var i=r.getBoundingClientRect();if(i){var a=e.scrollX,o=e.scrollY;return{top:i.top+o,left:i.left+a,right:i.left+a+i.width,bottom:i.top+o+i.height,width:i.width,height:i.height}}}}return null},getChildIndex:function(e,t){if(t)for(var n,r=e.parentNode.children,i=0,a=0,o=r.length;i<o;i++)if((n=r[i]).nodeName&&n.nodeName.toLowerCase()==t){if(n==e)return a;a++}return Array.prototype.slice.call(e.parentNode.children).indexOf(e)},swapNodes:function(e,t){t.parentNode.insertBefore(e,t)},elementIsDescendant:function(e,t,n){var r=e;do{if(r===t)return!0;r=r.parentNode}while(r&&r!==n);return!1},getParentWithClass:function(e,t,n){for(n=n||10;e.parentNode&&n--;){if(e.parentNode.classList&&e.parentNode.classList.contains(t))return e.parentNode;e=e.parentNode}return null},getParentOrSelfWithClass:function(e,t,n){for(n=n||10;e&&n--;){if(e.classList&&e.classList.contains(t))return e;e=e.parentNode}return null},rectContains:function(e,t,n,r,i,a){return!(e<n||e>i||t<r||t>a)},blurAll:function(){return t.activeElement&&t.activeElement!=t.body?(t.activeElement.blur(),t.activeElement):null},cachedAttr:function(e,t,n){if((e=e&&e.length&&e[0]||e)&&e.setAttribute){var r="$attr-"+t;return arguments.length>2?e[r]!==n&&(e.setAttribute(t,n),e[r]=n):void 0===e[r]&&(e[r]=e.getAttribute(t)),e[r]}},cachedStyles:function(e,t){if((e=e&&e.length&&e[0]||e)&&e.style)for(var n in t)e["$style-"+n]!==t[n]&&(e.style[n]=e["$style-"+n]=t[n])}},n.requestAnimationFrame=n.DomUtil.requestAnimationFrame,n.cancelAnimationFrame=n.DomUtil.cancelAnimationFrame,n.animationFrameThrottle=n.DomUtil.animatio
B=_.slidesGrid[_.slidesGrid.length-1]-_.slidesGrid[_.slidesGrid.length-2]);var D=(n-_.slidesGrid[S])/B;if(i>_.params.longSwipesMs){if(!_.params.longSwipes)return void _.slideTo(_.activeIndex);"next"===_.swipeDirection&&(D>=_.params.longSwipesRatio?_.slideTo(S+_.params.slidesPerGroup):_.slideTo(S)),"prev"===_.swipeDirection&&(D>1-_.params.longSwipesRatio?_.slideTo(S+_.params.slidesPerGroup):_.slideTo(S))}else{if(!_.params.shortSwipes)return void _.slideTo(_.activeIndex);"next"===_.swipeDirection&&_.slideTo(S+_.params.slidesPerGroup),"prev"===_.swipeDirection&&_.slideTo(S)}}else p=m=!1}},_._slideTo=function(e,t){return _.slideTo(e,t,!0,!0)},_.slideTo=function(e,t,n,r){void 0===n&&(n=!0),void 0===e&&(e=0),e<0&&(e=0),_.snapIndex=Math.floor(e/_.params.slidesPerGroup),_.snapIndex>=_.snapGrid.length&&(_.snapIndex=_.snapGrid.length-1);var i=-_.snapGrid[_.snapIndex];_.params.autoplay&&_.autoplaying&&(r||!_.params.autoplayDisableOnInteraction?_.pauseAutoplay(t):_.stopAutoplay()),_.updateProgress(i);for(var a=0;a<_.slidesGrid.length;a++)-Math.floor(100*i)>=Math.floor(100*_.slidesGrid[a])&&(e=a);return!(!_.params.allowSwipeToNext&&i<_.translate&&i<_.minTranslate()||!_.params.allowSwipeToPrev&&i>_.translate&&i>_.maxTranslate()&&(_.activeIndex||0)!==e||(void 0===t&&(t=_.params.speed),_.previousIndex=_.activeIndex||0,_.activeIndex=e,_.rtl&&-i===_.translate||!_.rtl&&i===_.translate?(_.params.autoHeight&&_.updateAutoHeight(),_.updateClasses(),"slide"!==_.params.effect&&_.setWrapperTranslate(i),1):(_.updateClasses(),_.onTransitionStart(n),0===t?(_.setWrapperTranslate(i),_.setWrapperTransition(0),_.onTransitionEnd(n)):(_.setWrapperTranslate(i),_.setWrapperTransition(t),_.animating||(_.animating=!0,_.wrapper.transitionEnd((function(){_&&_.onTransitionEnd(n)})))),0)))},_.onTransitionStart=function(e){void 0===e&&(e=!0),_.params.autoHeight&&_.updateAutoHeight(),_.lazy&&_.lazy.onTransitionStart(),e&&(_.emit("onTransitionStart",_),_.activeIndex!==_.previousIndex&&(_.emit("onSlideChangeStart",_),i.$emit("$ionicSlides.slideChangeStart",{slider:_,activeIndex:_.getSlideDataIndex(_.activeIndex),previousIndex:_.getSlideDataIndex(_.previousIndex)}),_.activeIndex>_.previousIndex?_.emit("onSlideNextStart",_):_.emit("onSlidePrevStart",_)))},_.onTransitionEnd=function(e){_.animating=!1,_.setWrapperTransition(0),void 0===e&&(e=!0),_.lazy&&_.lazy.onTransitionEnd(),e&&(_.emit("onTransitionEnd",_),_.activeIndex!==_.previousIndex&&(_.emit("onSlideChangeEnd",_),i.$emit("$ionicSlides.slideChangeEnd",{slider:_,activeIndex:_.getSlideDataIndex(_.activeIndex),previousIndex:_.getSlideDataIndex(_.previousIndex)}),_.activeIndex>_.previousIndex?_.emit("onSlideNextEnd",_):_.emit("onSlidePrevEnd",_))),_.params.hashnav&&_.hashnav&&_.hashnav.setHash()},_.slideNext=function(e,t,n){return _.params.loop?!_.animating&&(_.fixLoop(),_.container[0].clientLeft,_.slideTo(_.activeIndex+_.params.slidesPerGroup,t,e,n)):_.slideTo(_.activeIndex+_.params.slidesPerGroup,t,e,n)},_._slideNext=function(e){return _.slideNext(!0,e,!0)},_.slidePrev=function(e,t,n){return _.params.loop?!_.animating&&(_.fixLoop(),_.container[0].clientLeft,_.slideTo(_.activeIndex-1,t,e,n)):_.slideTo(_.activeIndex-1,t,e,n)},_._slidePrev=function(e){return _.slidePrev(!0,e,!0)},_.slideReset=function(e,t,n){return _.slideTo(_.activeIndex,t,e)},_.setWrapperTransition=function(e,t){_.wrapper.transition(e),"slide"!==_.params.effect&&_.effects[_.params.effect]&&_.effects[_.params.effect].setTransition(e),_.params.parallax&&_.parallax&&_.parallax.setTransition(e),_.params.scrollbar&&_.scrollbar&&_.scrollbar.setTransition(e),_.params.control&&_.controller&&_.controller.setTransition(e,t),_.emit("onSetTransition",_,e)},_.setWrapperTranslate=function(e,t,n){var r=0,i=0;Q()?r=_.rtl?-e:e:i=e,_.params.roundLengths&&(r=T(r),i=T(i)),_.params.virtualTranslate||(_.support.transforms3d?_.wrapper.transform("translate3d("+r+"px, "+i+"px, 0px)"):_.wrapper.transform("translate("+r+"px, "+i+"px)")),_.translate=Q()?r:i;var a=_.maxTranslate()-_.minTranslate();(0===a?0:(e-_.minTranslate())/a)!==_.progress&&_.updateProgress(e),t&&_.updateAct
/**
* @license AngularJS v1.5.11
* (c) 2010-2017 Google, Inc. http://angularjs.org
* License: MIT
*/
function(e){"use strict";function t(e,t){return t=t||Error,function(){var n,r,i=2,a=arguments,o=a[0],s="["+(e?e+":":"")+o+"] ",f=a[1];for(s+=f.replace(/\{\d+\}/g,(function(e){var t=+e.slice(1,-1)+i;return t<a.length?Fe(a[t]):e})),s+="\nhttp://errors.angularjs.org/1.5.11/"+(e?e+"/":"")+o,r=i,n="?";r<a.length;r++,n="&")s+=n+"p"+(r-i)+"="+encodeURIComponent(Fe(a[r]));return new t(s)}}var n=/^\/(.+)\/([a-z]*)$/,r=Object.prototype.hasOwnProperty,i=function(e){return Y(e)?e.toLowerCase():e},a=function(e){return Y(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(i=function(e){return Y(e)?e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(32|e.charCodeAt(0))})):e},a=function(e){return Y(e)?e.replace(/[a-z]/g,(function(e){return String.fromCharCode(-33&e.charCodeAt(0))})):e});var o,s,f,c,u=[].slice,l=[].splice,d=[].push,h=Object.prototype.toString,_=Object.getPrototypeOf,g=t("ng"),p=e.angular||(e.angular={}),m=0;function A(e){if(null==e||G(e))return!1;if(H(e)||Y(e)||s&&e instanceof s)return!0;var t="length"in Object(e)&&e.length;return R(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function y(e,t,n){var i,a;if(e)if(j(e))for(i in e)"prototype"===i||"length"===i||"name"===i||e.hasOwnProperty&&!e.hasOwnProperty(i)||t.call(n,e[i],i,e);else if(H(e)||A(e)){var o="object"!=typeof e;for(i=0,a=e.length;i<a;i++)(o||i in e)&&t.call(n,e[i],i,e)}else if(e.forEach&&e.forEach!==y)e.forEach(t,n,e);else if(N(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)r.call(e,i)&&t.call(n,e[i],i,e);return e}function b(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function v(e){return function(t,n){e(n,t)}}function w(){return++m}function I(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function k(e,t,n){for(var r=e.$$hashKey,i=0,a=t.length;i<a;++i){var o=t[i];if(P(o)||j(o))for(var s=Object.keys(o),f=0,c=s.length;f<c;f++){var u=s[f],l=o[u];n&&P(l)?O(l)?e[u]=new Date(l.valueOf()):U(l)?e[u]=new RegExp(l):l.nodeName?e[u]=l.cloneNode(!0):K(l)?e[u]=l.clone():(P(e[u])||(e[u]=H(l)?[]:{}),k(e[u],[l],!0)):e[u]=l}}return I(e,r),e}function C(e){return k(e,u.call(arguments,1),!1)}function E(e){return k(e,u.call(arguments,1),!0)}function S(e){return parseInt(e,10)}o=e.document.documentMode;var B=Number.isNaN||function(e){return e!=e};function M(e,t){return C(Object.create(e),t)}function L(){}function D(e){return e}function x(e){return function(){return e}}function Q(e){return j(e.toString)&&e.toString!==h}function T(e){return void 0===e}function F(e){return void 0!==e}function P(e){return null!==e&&"object"==typeof e}function N(e){return null!==e&&"object"==typeof e&&!_(e)}function Y(e){return"string"==typeof e}function R(e){return"number"==typeof e}function O(e){return"[object Date]"===h.call(e)}L.$inject=[],D.$inject=[];var H=Array.isArray;function j(e){return"function"==typeof e}function U(e){return"[object RegExp]"===h.call(e)}function G(e){return e&&e.window===e}function $(e){return e&&e.$evalAsync&&e.$watch}function z(e){return"boolean"==typeof e}function J(e){return e&&j(e.then)}var q=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,V=function(e){return Y(e)?e.trim():e},W=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function K(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function X(e){return i(e.nodeName||e[0]&&e[0].nodeName)}function Z(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ee(e,t){var n,i=[],a=[];if(t){if(function(e){return e&&R(e.length)&&q.test(h.call(e))}(t)||(n=t,"[object ArrayBuffer]"===h.call(n)))throw g("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw g("cpi","Can't copy! Source and destination are identical.");return H(t)?t.length=0:y(t,(function(e,n){"$$hashKey"!==n&&delete t[n]})),i.push(e),a.push(t),o(e,t)}return s(e);function o(e,t){var n,i=t.$$hashKey;if(H(e))for(var a=0,o=e.length;a<o;a++)t.push(s(e[a]));else if(N(e))for(n in e)t[n]=s(e[n])
for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var a="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',o=e.querySelectorAll(a);if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}function ei(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var a={};function o(o,s,f){j(o)||(f=s,s=o,o=L);var c,u=ae(arguments,3),l=F(f)&&!f,d=(l?r:n).defer(),h=d.promise;return c=t.defer((function(){try{d.resolve(o.apply(null,u))}catch(e){d.reject(e),i(e)}finally{delete a[h.$$timeoutId]}l||e.$apply()}),s),h.$$timeoutId=c,a[c]=d,h}return o.cancel=function(e){return!!(e&&e.$$timeoutId in a)&&(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},o}]}var ti=e.document.createElement("a"),ni=ri(e.location.href);function ri(e){var t=e;return o&&(ti.setAttribute("href",t),t=ti.href),ti.setAttribute("href",t),{href:ti.href,protocol:ti.protocol?ti.protocol.replace(/:$/,""):"",host:ti.host,search:ti.search?ti.search.replace(/^\?/,""):"",hash:ti.hash?ti.hash.replace(/^#/,""):"",hostname:ti.hostname,port:ti.port,pathname:"/"===ti.pathname.charAt(0)?ti.pathname:"/"+ti.pathname}}function ii(e){var t=Y(e)?ri(e):e;return t.protocol===ni.protocol&&t.host===ni.host}function ai(){this.$get=x(e)}function oi(e){var t=e[0]||{},n={},r="";function i(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,a,o,s,f,c=function(e){try{return e.cookie||""}catch(e){return""}}(t);if(c!==r)for(e=(r=c).split("; "),n={},o=0;o<e.length;o++)(s=(a=e[o]).indexOf("="))>0&&(f=i(a.substring(0,s)),T(n[f])&&(n[f]=i(a.substring(s+1))));return n}}function si(){this.$get=oi}function fi(e){function t(n,r){if(P(n)){var i={};return y(n,(function(e,n){i[n]=t(n,e)})),i}return e.factory(n+"Filter",r)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",di),t("date",ki),t("filter",ci),t("json",Ci),t("limitTo",Bi),t("lowercase",Ei),t("number",hi),t("orderBy",Li),t("uppercase",Si)}function ci(){return function(e,n,r,a){if(!A(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,s;switch(a=a||"$",li(n)){case"function":o=n;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":o=function(e,t,n,r){var a=P(e)&&n in e;return!0===t?t=te:j(t)||(t=function(e,t){return!(T(e)||(null===e||null===t?e!==t:P(t)||P(e)&&!Q(e)||(e=i(""+e),t=i(""+t),-1===e.indexOf(t))))}),function(i){return a&&!P(i)?ui(i,e[n],t,n,!1):ui(i,e,t,n,r)}}(n,r,a,s);break;default:return e}return Array.prototype.filter.call(e,o)}}function ui(e,t,n,r,i,a){var o=li(e),s=li(t);if("string"===s&&"!"===t.charAt(0))return!ui(e,t.substring(1),n,r,i);if(H(e))return e.some((function(e){return ui(e,t,n,r,i)}));switch(o){case"object":var f;if(i){for(f in e)if("$"!==f.charAt(0)&&ui(e[f],t,n,r,!0))return!0;return!a&&ui(e,t,n,r,!1)}if("object"===s){for(f in t){var c=t[f];if(!j(c)&&!T(c)){var u=f===r;if(!ui(u?e:e[f],c,n,r,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function li(e){return null===e?"null":typeof e}function di(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return T(n)&&(n=t.CURRENCY_SYM),T(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:_i(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function hi(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:_i(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function _i(e,t,n,r,i){if(!Y(e)&&!R(e)||isNaN(e))return"";var a,o=!isFinite(e),s=!1,f=Math.abs(e)+"",c="";if(o)c="∞";else{!function(e,t,n,r){var i=e.d,a=i.length-e.i,o=(t=T(t)?Math.min(Math.max(n,a),r):+t)+e.i,s=i[o];if(o>0){i.splice(Math.max(e.i,o));for(var f=o;f<i.length;f++)i[f]=0}else{a=Math.max(0,a),e.i=1,i.length=Math.max(1,o=t+1),i[0]=0;for(var c=1;c<o;c++)i[c]=0}if(s>=5)if(o-1<0){for(var u=0;u>o;u--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[o-1]++;for(;a<Math.max(0,t);a++)i.push(0);var l=i.reduceRight((function(e,t,n,r){r
/**
* @license AngularJS v1.5.11
* (c) 2010-2017 Google, Inc. http://angularjs.org
* License: MIT
*/
function(e,t){"use strict";var n,r,i,a;void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(n="WebkitTransition",r="webkitTransitionEnd transitionend"):(n="transition",r="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(i="WebkitAnimation",a="webkitAnimationEnd animationend"):(i="animation",a="animationend");var o=i+"Delay",s=i+"Duration",f=n+"Delay",c=n+"Duration",u=t.$$minErr("ng");function l(e,t,n){if(!e)throw u("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function d(e,t){return e||t?e?t?(Y(e)&&(e=e.join(" ")),Y(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function h(e,t,n){var r="";return e=Y(e)?e:e&&U(e)&&e.length?e.split(/\s+/):[],N(e,(function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)})),r}function _(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(1===n.nodeType)return n}}function g(e){return function(t,n){n.addClass&&(function(e,t,n){N(t,(function(t){e.addClass(t,n)}))}(e,t,n.addClass),n.addClass=null),n.removeClass&&(function(e,t,n){N(t,(function(t){e.removeClass(t,n)}))}(e,t,n.removeClass),n.removeClass=null)}}function p(e){if(!(e=e||{}).$$prepared){var t=e.domOperation||z;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=z},e.$$prepared=!0}return e}function m(e,t){A(e,t),y(e,t)}function A(e,t){t.from&&(e.css(t.from),t.from=null)}function y(e,t){t.to&&(e.css(t.to),t.to=null)}function b(e,t,n){var r=t.options||{},i=n.options||{},a=(r.addClass||"")+" "+(i.addClass||""),o=(r.removeClass||"")+" "+(i.removeClass||""),s=function(e,t,n){var r={};e=a(e),t=a(t),N(t,(function(e,t){r[t]=1})),n=a(n),N(n,(function(e,t){r[t]=1===r[t]?null:-1}));var i={addClass:"",removeClass:""};function a(e){U(e)&&(e=e.split(" "));var t={};return N(e,(function(e){e.length&&(t[e]=!0)})),t}return N(r,(function(t,n){var r,a;1===t?(r="addClass",a=!e[n]||e[n+"-remove"]):-1===t&&(r="removeClass",a=e[n]||e[n+"-add"]),a&&(i[r].length&&(i[r]+=" "),i[r]+=n)})),i}(e.attr("class"),a,o);i.preparationClasses&&(r.preparationClasses=C(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var f=r.domOperation!==z?r.domOperation:null;return P(r,i),f&&(r.domOperation=f),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function v(e){return e instanceof $?e[0]:e}function w(e,t){var n=t?"-"+t+"s":"";return k(e,[f,n]),[f,n]}function I(e,t){var n=t?"paused":"",r=i+"PlayState";return k(e,[r,n]),[r,n]}function k(e,t){var n=t[0],r=t[1];e.style[n]=r}function C(e,t){return e?t?e+" "+t:e:t}var E=["$interpolate",function(e){return{link:function(t,n,r){var i=r.ngAnimateChildren;function a(e){e="on"===e||"true"===e,n.data("$$ngAnimateChildren",e)}U(i)&&0===i.length?n.data("$$ngAnimateChildren",!0):(a(e(i)(t)),r.$observe("ngAnimateChildren",a))}}}],S={transitionDuration:c,transitionDelay:f,transitionProperty:n+"Property",animationDuration:s,animationDelay:o,animationIterationCount:i+"IterationCount"},B={transitionDuration:c,transitionDelay:f,animationDuration:s,animationDelay:o};function M(e,t){return[t?o:f,e+"s"]}function L(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return N(n,(function(e,t){var n,a,o=i[e];if(o){var s=o.charAt(0);("-"===s||"+"===s||s>=0)&&(n=0,a=o.split(/\s*,\s*/),N(a,(function(e){"s"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,n=n?Math.max(e,n):e})),o=n),0===o&&(o=null),r[t]=o}})),r}function D(e){return 0===e||null!=e}function x(e,t){var r=n,i=e+"s";return t?r+="Duration":i+=" linear all",[r,i]}function Q(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function T(e,t,n){N(n,(function(n){e[n]=R(e[n])?e[n]:t.style.getPropertyValue(n)}))}var F,P,N,Y,R,O,H,j,U,G,$,z,J=["$animateProvider",function(e){var t=Q(),o=Q();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueu
/**
* @license AngularJS v1.5.11
* (c) 2010-2017 Google, Inc. http://angularjs.org
* License: MIT
*/
function(e,t){"use strict";var n,r,i,a,o,s,f,c,u=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",(function(){var l=!1;this.$get=["$$sanitizeUri",function(e){return l&&r(I,v),function(t){var n=[];return f(t,c(n,(function(t,n){return!/^unsafe:/.test(e(t,n))}))),n.join("")}}],this.enableSvg=function(e){return a(e)?(l=e,this):l},n=t.bind,r=t.extend,i=t.forEach,a=t.isDefined,o=t.lowercase,s=t.noop,f=function(t,n){null==t?t="":"string"!=typeof t&&(t=""+t),d.innerHTML=t;var r=5;do{if(0===r)throw u("uinput","Failed to sanitize html because the input is unstable");r--,e.document.documentMode&&D(d),t=d.innerHTML,d.innerHTML=t}while(t!==d.innerHTML);for(var i=d.firstChild;i;){switch(i.nodeType){case 1:n.start(i.nodeName.toLowerCase(),M(i.attributes));break;case 3:n.chars(i.textContent)}var a;if(!((a=i.firstChild)||(1===i.nodeType&&n.end(i.nodeName.toLowerCase()),a=i.nextSibling)))for(;null==a&&(i=i.parentNode)!==d;)a=i.nextSibling,1===i.nodeType&&n.end(i.nodeName.toLowerCase());i=a}for(;i=d.firstChild;)d.removeChild(i)},c=function(e,t){var r=!1,a=n(e,e.push);return{start:function(e,n){e=o(e),!r&&w[e]&&(r=e),r||!0!==I[e]||(a("<"),a(e),i(n,(function(n,r){var i=o(r),s="img"===e&&"src"===i||"background"===i;!0!==S[i]||!0===k[i]&&!t(n,s)||(a(" "),a(r),a('="'),a(L(n)),a('"'))})),a(">"))},end:function(e){e=o(e),r||!0!==I[e]||!0===g[e]||(a("</"),a(e),a(">")),e==r&&(r=!1)},chars:function(e){r||a(L(e))}}};var d,h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_=/([^#-~ |!])/g,g=B("area,br,col,hr,img,wbr"),p=B("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),m=B("rp,rt"),A=r({},m,p),y=r({},p,B("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),b=r({},m,B("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),v=B("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=B("script,style"),I=r({},g,y,b,A),k=B("background,cite,href,longdesc,src,xlink:href"),C=B("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),E=B("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),S=r({},k,E,C);function B(e,t){var n,r={},i=e.split(",");for(n=0;n<i.length;n++)r[t?o(i[n]):i[n]]=!0;return r}function M(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function L(e){return e.replace(/&/g,"&amp;").replace(h,(function(e){ret
/**
* State-based routing for AngularJS
* @version v0.2.18
* @link http://angular-ui.github.com/
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(e,t,n){"use strict";var r,i=t.isDefined,a=t.isFunction,o=t.isString,s=t.isObject,f=t.isArray,c=t.forEach,u=t.extend,l=t.copy,d=t.toJson;function h(e,t){return u(new(u((function(){}),{prototype:e})),t)}function _(e){return c(arguments,(function(t){t!==e&&c(t,(function(t,n){e.hasOwnProperty(n)||(e[n]=t)}))})),e}function g(e){if(Object.keys)return Object.keys(e);var t=[];return c(e,(function(e,n){t.push(n)})),t}function p(e,t){if(Array.prototype.indexOf)return e.indexOf(t,Number(arguments[2])||0);var n=e.length>>>0,r=Number(arguments[2])||0;for((r=r<0?Math.ceil(r):Math.floor(r))<0&&(r+=n);r<n;r++)if(r in e&&e[r]===t)return r;return-1}function m(e,t,n,r){var i,a=function(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}(n,r),o={},s=[];for(var f in a)if(a[f]&&a[f].params&&(i=g(a[f].params)).length)for(var c in i)p(s,i[c])>=0||(s.push(i[c]),o[i[c]]=e[i[c]]);return u({},o,t)}function A(e,t,n){if(!n)for(var r in n=[],e)n.push(r);for(var i=0;i<n.length;i++){var a=n[i];if(e[a]!=t[a])return!1}return!0}function y(e,t){var n={};return c(e,(function(e){n[e]=t[e]})),n}function b(e){var t={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));return c(n,(function(n){n in e&&(t[n]=e[n])})),t}function v(e){var t={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(var r in e)-1==p(n,r)&&(t[r]=e[r]);return t}function w(e,t){var n=f(e),r=n?[]:{};return c(e,(function(e,i){t(e,i)&&(r[n?r.length:i]=e)})),r}function I(e,t){var n=f(e)?[]:{};return c(e,(function(e,r){n[r]=t(e,r)})),n}function k(e,t){var n={},r=[],a=n,f=u(e.when(n),{$$promises:n,$$values:n});this.study=function(n){if(!s(n))throw new Error("'invocables' must be an object");var l=g(n||{}),d=[],h=[],m={};function A(e){return s(e)&&e.then&&e.$$promises}return c(n,(function e(i,a){if(2!==m[a]){if(h.push(a),1===m[a])throw h.splice(0,p(h,a)),new Error("Cyclic dependency: "+h.join(" -> "));if(m[a]=1,o(i))d.push(a,[function(){return t.get(i)}],r);else{var s=t.annotate(i);c(s,(function(t){t!==a&&n.hasOwnProperty(t)&&e(n[t],t)})),d.push(a,i,s)}h.pop(),m[a]=2}})),n=h=m=null,function(n,r,o){if(A(n)&&void 0===o&&(o=r,r=n,n=null),n){if(!s(n))throw new Error("'locals' must be an object")}else n=a;if(r){if(!A(r))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else r=f;var h=e.defer(),g=h.promise,p=g.$$promises={},m=u({},n),y=1+d.length/3,b=!1;function w(){--y||(b||_(m,r.$$values),g.$$values=m,g.$$promises=g.$$promises||!0,delete g.$$inheritedValues,h.resolve(m))}function I(e){g.$$failure=e,h.reject(e)}if(i(r.$$failure))return I(r.$$failure),g;r.$$inheritedValues&&_(m,v(r.$$inheritedValues,l)),u(p,r.$$promises),r.$$values?(b=_(m,v(r.$$values,l)),g.$$inheritedValues=v(r.$$values,l),w()):(r.$$inheritedValues&&(g.$$inheritedValues=v(r.$$inheritedValues,l)),r.then(w,I));for(var k=0,C=d.length;k<C;k+=3)n.hasOwnProperty(d[k])?w():E(d[k],d[k+1],d[k+2]);function E(r,a,s){var f=e.defer(),u=0;function l(e){f.reject(e),I(e)}function d(){if(!i(g.$$failure))try{f.resolve(t.invoke(a,o,m)),f.promise.then((function(e){m[r]=e,w()}),l)}catch(e){l(e)}}c(s,(function(e){p.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(u++,p[e].then((function(t){m[e]=t,--u||d()}),l))})),u||d(),p[r]=f.promise}return g}},this.resolve=function(e,t,n,r){return this.study(e)(t,n,r)}}function C(e,t,n){this.fromConfig=function(e,t,n){return i(e.template)?this.fromString(e.template,t):i(e.templateUrl)?this.fromUrl(e.templateUrl,t):i(e.templateProvider)?this.fromProvider(e.templateProvider,t,n):null},this.fromString=function(e,t){return a(e)?e(t):e},this.fromUrl=function(n,r){return a(n)&&(n=n(r)),null==n?null:e.get(n,{cache:t,headers:{Accept:"text/html"}}).then((function(e){return e.data}))},this.fromProvider=function(e,t,r){return n.invoke(e,null,r||{params:t})}}function E(e,t,n){t=u({params:{}},s(t)?t:{});var i,a,o,f,c=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?
/*!
* Copyright 2015 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.3.5
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
* By @maxlynch, @benjsperry, @adamdbradley <3
*
* Licensed under the MIT license. Please see LICENSE for more information.
*
*/
function(){var e,t=angular.module("ionic",["ngAnimate","ngSanitize","ui.router","ngIOS9UIWebViewPatch"]),n=angular.extend,r=angular.forEach,i=angular.isDefined,a=angular.isNumber,o=angular.isString,s=angular.element,f=angular.noop;t.factory("$ionicActionSheet",["$rootScope","$compile","$animate","$timeout","$ionicTemplateLoader","$ionicPlatform","$ionicBody","IONIC_BACK_PRIORITY",function(e,t,r,i,a,o,c,u){return{show:function(a){var l=e.$new(!0);function d(e){e&&/icon/.test(e)&&(l.$actionSheetHasIcon=!0)}n(l,{cancel:f,destructiveButtonClicked:f,buttonClicked:f,$deregisterBackButton:f,buttons:[],cancelOnStateChange:!0},a||{});for(var h=0;h<l.buttons.length;h++)d(l.buttons[h].text);d(l.cancelText),d(l.destructiveText);var _=l.element=t('<ion-action-sheet ng-class="cssClass" buttons="buttons"></ion-action-sheet>')(l),g=s(_[0].querySelector(".action-sheet-wrapper")),p=l.cancelOnStateChange?e.$on("$stateChangeSuccess",(function(){l.cancel()})):f;return l.removeSheet=function(e){l.removed||(l.removed=!0,g.removeClass("action-sheet-up"),i((function(){c.removeClass("action-sheet-open")}),400),l.$deregisterBackButton(),p(),r.removeClass(_,"active").then((function(){l.$destroy(),_.remove(),l.cancel.$scope=g=null,(e||f)(a.buttons)})))},l.showSheet=function(e){l.removed||(c.append(_).addClass("action-sheet-open"),r.addClass(_,"active").then((function(){l.removed||(e||f)()})),i((function(){l.removed||g.addClass("action-sheet-up")}),20,!1))},l.$deregisterBackButton=o.registerBackButtonAction((function(){i(l.cancel)}),u.actionSheet),l.cancel=function(){l.removeSheet(a.cancel)},l.buttonClicked=function(e){!0===a.buttonClicked(e,a.buttons[e])&&l.removeSheet()},l.destructiveButtonClicked=function(){!0===a.destructiveButtonClicked()&&l.removeSheet()},l.showSheet(),l.cancel.$scope=l,l.cancel}}}]),s.prototype.addClass=function(e){var t,n,r,i,a,o;if(e&&"ng-scope"!=e&&"ng-isolate-scope"!=e)for(t=0;t<this.length;t++)if((i=this[t]).setAttribute)if(e.indexOf(" ")<0&&i.classList.add)i.classList.add(e);else{for(o=(" "+(i.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),a=e.split(" "),n=0;n<a.length;n++)r=a[n].trim(),-1===o.indexOf(" "+r+" ")&&(o+=r+" ");i.setAttribute("class",o.trim())}return this},s.prototype.removeClass=function(e){var t,n,r,i,a;if(e)for(t=0;t<this.length;t++)if((a=this[t]).getAttribute)if(e.indexOf(" ")<0&&a.classList.remove)a.classList.remove(e);else for(r=e.split(" "),n=0;n<r.length;n++)i=r[n],a.setAttribute("class",(" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+i.trim()+" "," ").trim());return this},t.factory("$ionicBackdrop",["$document","$timeout","$$rAF","$rootScope",function(e,t,n,r){var i=s('<div class="backdrop">'),a=0;return e[0].body.appendChild(i[0]),{retain:function(){1==++a&&(i.addClass("visible"),r.$broadcast("backdrop.shown"),n((function(){a>=1&&i.addClass("active")})))},release:function(){1===a&&(i.removeClass("active"),r.$broadcast("backdrop.hidden"),t((function(){0===a&&i.removeClass("visible")}),400,!1)),a=Math.max(0,a-1)},getElement:function(){return i},_element:i}}]),t.factory("$ionicBind",["$parse","$interpolate",function(e,t){var n=/^\s*([@=&])(\??)\s*(\w*)\s*$/;return function(i,a,o){r(o||{},(function(r,o){var s,f,c=r.match(n)||[],u=c[3]||o;switch(c[1]){case"@":if(!a[u])return;a.$observe(u,(function(e){i[o]=e})),a[u]&&(i[o]=t(a[u])(i));break;case"=":if(!a[u])return;f=i.$watch(a[u],(function(e){i[o]=e})),i.$on("$destroy",f);break;case"&":if(a[u]&&a[u].match(RegExp(o+"(.*?)")))throw new Error('& expression binding "'+o+'" looks like it will recursively call "'+a[u]+'" and cause a stack overflow! Please choose a different scopeName.');s=e(a[u]),i[o]=function(e){return s(i,e)}}}))}}]),t.factory("$ionicBody",["$document",function(e){return{addClass:function(){for(var t=0;t<arguments.length;t++)e[0].body.classList.add(arguments[t]);return this},removeClass:function(){for(var t=0;t<arguments.length;t++)e[0].body.classList.remove(arguments[t]);return this},enableClass:function(e){var t=Array.prototype.slice.call(arguments).slice(1);return e?this.addClass.apply(this,t):this.remo
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a
* dependency on the "ngIOS9UIWebViewPatch" module to your main app module.
*
* For example:
*
* ```
* angular.module('myApp', ['ngRoute'])`
* ```
*
* becomes
*
* ```
* angular.module('myApp', ['ngRoute', 'ngIOS9UIWebViewPatch'])
* ```
*
*
* More info:
* - https://openradar.appspot.com/22186109
* - https://github.com/angular/angular.js/issues/12241
* - https://github.com/ionic-team/ionic/issues/4082
*
*
* @license AngularJS
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
angular.module("ngIOS9UIWebViewPatch",["ng"]).config(["$provide",function(e){"use strict";e.decorator("$browser",["$delegate","$window",function(e,t){return n=t.navigator.userAgent,/(iPhone|iPad|iPod).* OS 9_\d/.test(n)&&!/Version\/9\./.test(n)?function(e){var t=null,n=e.url;function r(){t=null}return e.url=function(){return arguments.length?(t=arguments[0],n.apply(e,arguments)):t||n.apply(e,arguments)},window.addEventListener("popstate",r,!1),window.addEventListener("hashchange",r,!1),e}(e):e;var n}])}]),t.config(["$provide",function(e){e.decorator("$compile",["$delegate",function(e){return e.$$addScopeInfo=function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)},e}])}]),t.config(["$provide",function(e){e.decorator("$location",["$delegate","$timeout",function(e,t){return e.__hash=e.hash,e.hash=function(n){return i(n)&&n.length>0&&t((function(){var e=document.querySelector(".scroll-content");e&&(e.scrollTop=0)}),0,!1),e.__hash(n)},e}])}]),t.controller("$ionicHeaderBar",["$scope","$element","$attrs","$q","$ionicConfig","$ionicHistory",function(e,t,n,r,i,a){var o=this,s="",f="",c=0,u=0,l="",d=!1,h=!0,_=!0,g=!1;o.beforeEnter=function(t){e.$broadcast("$ionicView.beforeEnter",t)},o.title=function(e){return arguments.length&&e!==s&&(m("title").innerHTML=e,s=e),s},o.enableBack=function(e,t){return arguments.length&&(d=e,t||o.updateBackButton()),d},o.showBack=function(e,t){return arguments.length&&(h=e,t||o.updateBackButton()),h},o.showNavBack=function(e){_=e,o.updateBackButton()},o.updateBackButton=function(){var e;(h&&_&&d)!==g&&(g=h&&_&&d,(e=m("back-button"))&&e.classList[g?"remove":"add"]("hide")),d&&(e=e||m("back-button"))&&(o.backButtonIcon!==i.backButton.icon()&&(e=m("back-button .icon"))&&(o.backButtonIcon=i.backButton.icon(),e.className="icon "+o.backButtonIcon),o.backButtonText!==i.backButton.text()&&(e=m("back-button .back-text"))&&(e.textContent=o.backButtonText=i.backButton.text()))},o.titleTextWidth=function(){var e=m("title");if(e)for(var t=angular.element(e).children(),n=0;n<t.length;n++)if(angular.element(t[n]).hasClass("nav-bar-title")){e=t[n];break}var r=ionic.DomUtil.getTextBounds(e);return Math.min(r&&r.width||30)},o.titleWidth=function(){var e=o.titleTextWidth(),t=m("title").offsetWidth;return t<e&&(e=t+(c-u-5)),e},o.titleTextX=function(){return t[0].offsetWidth/2-o.titleWidth()/2},o.titleLeftRight=function(){return c-u},o.backButtonTextLeft=function(){for(var e=0,t=m("back-text");t;)e+=t.offsetLeft,t=t.parentElement;return e},o.resetBackButton=function(e){if(i.backButton.previousTitleText()){var t=m("previous-title");if(t){t.classList.remove("hide");var n=e&&a.getViewById(e.viewId),r=a.backTitle(n);r!==f&&(f=t.innerHTML=r)}var o=m("default-title");o&&o.classList.remove("hide")}},o.align=function(e){var r=m("title");e=e||n.alignTitle||i.navBar.alignTitle();var a=o.calcWidths(e,!1);if(h&&f&&i.backButton.previousTitleText()){var s=o.calcWidths(e,!0),c=t[0].offsetWidth-s.titleLeft-s.titleRight;o.titleTextWidth()<=c&&(a=s)}return o.updatePositions(r,a.titleLeft,a.titleRight,a.buttonsLeft,a.buttonsRight,a.css,a.showPrevTitle)},o.calcWidths=function(e,n){var r,i,a,o,s,f,c,u,l,d=m("title"),_=m("back-button"),g=t[0].childNodes,p=0,A=0,y=0,b=0,v="",w=0;for(r=0;r<g.length;r++){if(c=0,1==(s=g[r]).nodeType){if(s===d){l=!0;continue}if(s.classList.contains("hide"))continue;if(h&&s===_){for(i=0;i<s.childNodes.length;i++)if(1==(o=s.childNodes[i]).nodeType)if(o.classList.contains("back-text"))for(a=0;a<o.children.length;a++)if(f=o.children[a],n){if(f.classList.contains("default-title"))continue;w+=f.offsetWidth}else{if(f.classList.contains("previous-title"))continue;w+=f.offsetWidth}else w+=o.offsetWidth;else 3==o.nodeType&&o.nodeValue.trim()&&(w+=(u=ionic.DomUtil.getTextBounds(o))&&u.width||0);c=w||s.offsetWidth}else c=s.offsetWidth}else 3==s.nodeType&&s.nodeValue.trim()&&(c=(u=ionic.DomUtil.getTextBounds(s))&&u.width||0);l?A+=c:p+=c}if("left"==e)v="title-left",p&&(y=p+15),A&&(b=A+15);else if("right"==e)v="title-right",p&&(y=p+15),A&&(b=A+15);else{var I=Math.max(p,A)+10;I>10&&(y=b=I)}ret
/*!
* Fork by Zach Fitzgerald and other contributors of Ionic Material
*
* Waves v0.5.4
* http://fian.my.id/Waves
*
* Copyright 2014 Alfiana E. Sibuea and other contributors
*
* Released under the MIT license
* https://github.com/fians/Waves/blob/master/LICENSE
*
*/e.exports=function(e){function t(){var e,t=t||{};if(document&&document.querySelectorAll&&document.querySelectorAll.bind)try{e=document.querySelectorAll.bind(document)}catch(e){}else if(window&&window.angular&&window.angular.element)e=window.angular.element;else{var n=function(e,t,n){var r=e.length;t=null==t?0:t<0?Math.max(r+t,0):Math.min(t,r),n=null==n?r:n<0?Math.max(r+n,0):Math.min(n,r);for(var i=[];t<n;)i.push(e[t++]);return i};e=function(e,t,r){var i=n(arguments,2);return function(){return e.apply(t,i.concat(n(arguments)))}}(document.querySelectorAll,document)}if(!e)throw new Error("ionic material ink module could not create reference of DOM nodes");function r(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}var i={duration:500,show:function(e){if(2===e.button)return!1;var t=document.createElement("div"),n=this.dataset.inkColor,a=this.dataset.inkOpacity,o=n||a;t.className="ink-ripple",this.appendChild(t);var s,f,c,u,l=(c={top:0,left:0},s=(u=this&&this.ownerDocument).documentElement,void 0!==this.getBoundingClientRect&&(c=this.getBoundingClientRect()),f=function(e){return null!==(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(u),{top:c.top+f.pageYOffset-s.clientTop,left:c.left+f.pageXOffset-s.clientLeft}),d=e.pageY-l.top,h=e.pageX-l.left,_="scale("+this.clientWidth/100*2.5+")";"touches"in e&&(d=e.touches[0].pageY-l.top,h=e.touches[0].pageX-l.left),t.setAttribute("data-hold",Date.now()),t.setAttribute("data-scale",_),t.setAttribute("data-x",h),t.setAttribute("data-y",d);var g,p={top:d+"px",left:h+"px"};if(t.className=t.className+" ink-notransition",o){var m;if(n){var A=(g=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n))?{r:parseInt(g[1],16),g:parseInt(g[2],16),b:parseInt(g[3],16)}:null;m=A.r+","+A.g+","+A.b}else m="0,0,0";a||(a=.2);var y="rgba("+m+","+a+")";p["background-color"]=y}t.setAttribute("style",r(p)),t.className=t.className.replace("ink-notransition",""),p["-webkit-transform"]=_,p["-moz-transform"]=_,p["-ms-transform"]=_,p["-o-transform"]=_,p.transform=_,p.opacity="1",p["-webkit-transition-duration"]=i.duration+"ms",p["-moz-transition-duration"]=i.duration+"ms",p["-o-transition-duration"]=i.duration+"ms",p["transition-duration"]=i.duration+"ms",t.setAttribute("style",r(p))},hide:function(){for(var e=this,t=(e.clientWidth,null),n=e.children.length,a=0;a<n;a++)-1===e.children[a].className.indexOf("ink-ripple")||(t=e.children[a]);if(!t)return!1;var o=t.getAttribute("data-x"),s=t.getAttribute("data-y"),f=t.getAttribute("data-scale"),c=500-(Date.now()-Number(t.getAttribute("data-hold")));c<0&&(c=0),setTimeout((function(){var n={top:s+"px",left:o+"px",opacity:"0","-webkit-transition-duration":i.duration+"ms","-moz-transition-duration":i.duration+"ms","-o-transition-duration":i.duration+"ms","transition-duration":i.duration+"ms","-webkit-transform":f,"-moz-transform":f,"-ms-transform":f,"-o-transform":f,transform:f};t.setAttribute("style",r(n)),setTimeout((function(){try{e.removeChild(t)}catch(e){return!1}}),i.duration)}),c)},wrapInput:function(e){for(var t=0;t<e.length;t++){var n=e[t];if("input"===n.tagName.toLowerCase()){var r=n.parentNode;if("i"===r.tagName.toLowerCase()&&-1!==r.className.indexOf("ink")&&-1!==r.className.indexOf("tab-item")&&-1!==r.className.indexOf("button-fab")&&-1!==r.className.indexOf("button-raised")&&-1!==r.className.indexOf("button-flat")&&-1!==r.className.indexOf("button-clear")&&-1!==r.className.indexOf("button")&&-1!==r.className.indexOf("item"))return!1;var i=document.createElement("i");i.className=n.className+" ink-input-wrapper";var a=n.getAttribute("style");a||(a=""),i.setAttribute("style",a),n.className="ink-button-input",n.removeAttribute("style"),r.replaceChild(i,n),i.appendChild(n)}}}};return t.displayEffect=function(t){"duration"in(t=t||{})&&(i.duration=t.duration);var n=".ink,.tab-item,.button-fab,.button-raised,.button-flat,.button-clear,a.item,.popup .button";i.wrapInput(e(n)),Array.prototype.forEach.call(e(n),(function(e){"ontouchstart"in window?(e.addEventListener("touchstart",i.show,!1),e.addEventListener("touchend",i.hide,!1)
/**
* @license AngularJS v1.5.11
* (c) 2010-2017 Google, Inc. http://angularjs.org
* License: MIT
*/
function(e,t){"use strict";var n=t.$$minErr("$resource"),r=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;function i(e,n){for(var r in n=n||{},t.forEach(n,(function(e,t){delete n[t]})),e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}t.module("ngResource",["ng"]).provider("$resource",(function(){var e=/^https?:\/\/[^/]*/,a=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(o,s,f,c){var u=t.noop,l=t.forEach,d=t.extend,h=t.copy,_=t.isArray,g=t.isDefined,p=t.isFunction,m=t.isNumber;function A(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function y(e,t){this.template=e,this.defaults=d({},a.defaults,t),this.urlParams={}}return y.prototype={setUrlParams:function(t,r,i){var a,o,s=this,f=i||s.template,c="",u=s.urlParams={};l(f.split(/\W/),(function(e){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(f)&&(u[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(f)})})),f=(f=f.replace(/\\:/g,":")).replace(e,(function(e){return c=e,""})),r=r||{},l(s.urlParams,(function(e,t){a=r.hasOwnProperty(t)?r[t]:s.defaults[t],g(a)&&null!==a?(o=e.isQueryParamValue?A(a,!0):function(e){return A(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}(a),f=f.replace(new RegExp(":"+t+"(\\W|$)","g"),(function(e,t){return o+t}))):f=f.replace(new RegExp("(/?):"+t+"(\\W|$)","g"),(function(e,t,n){return"/"===n.charAt(0)?n:t+n}))})),s.defaults.stripTrailingSlashes&&(f=f.replace(/\/+$/,"")||"/"),f=f.replace(/\/\.(?=\w+($|\?))/,"."),t.url=c+f.replace(/\/\\\./,"/."),l(r,(function(e,n){s.urlParams[n]||(t.params=t.params||{},t.params[n]=e)}))}},function e(A,b,v,w){var I=new y(A,w);function k(e,i){var a={};return i=d({},b,i),l(i,(function(i,o){p(i)&&(i=i(e)),a[o]=i&&i.charAt&&"@"===i.charAt(0)?function(e,i){if(!function(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&r.test("."+e)}(i))throw n("badmember",'Dotted member path "@{0}" is invalid.',i);for(var a=i.split("."),o=0,s=a.length;o<s&&t.isDefined(e);o++){var f=a[o];e=null!==e?e[f]:void 0}return e}(e,i.substr(1)):i})),a}function C(e){return e.resource}function E(e){i(e||{},this)}return v=d({},a.defaults.actions,v),E.prototype.toJSON=function(){var e=d({},this);return delete e.$promise,delete e.$resolved,delete e.$cancelRequest,e},l(v,(function(e,t){var r=/^(POST|PUT|PATCH)$/i.test(e.method),a=e.timeout,A=g(e.cancellable)?e.cancellable:I.defaults.cancellable;a&&!m(a)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,a=null),E[t]=function(s,g,m,y){var b,v,w,S={};switch(arguments.length){case 4:w=y,v=m;case 3:case 2:if(!p(g)){S=s,b=g,v=m;break}if(p(s)){v=s,w=g;break}v=g,w=m;case 1:p(s)?v=s:r?b=s:S=s;break;case 0:break;default:throw n("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var B,M,L=this instanceof E,D=L?b:e.isArray?[]:new E(b),x={},Q=e.interceptor&&e.interceptor.response||C,T=e.interceptor&&e.interceptor.responseError||void 0;l(e,(function(e,t){switch(t){default:x[t]=h(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}})),!L&&A&&(B=f.defer(),x.timeout=B.promise,a&&(M=c(B.resolve,a))),r&&(x.data=b),I.setUrlParams(x,d({},k(b,e.params||{}),S),e.url);var F=o(x).then((function(r){var a=r.data;if(a){if(_(a)!==!!e.isArray)throw n("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",t,e.isArray?"array":"object",_(a)?"array":"object",x.method,x.url);if(e.isArray)D.length=0,
/*!
* angular-translate - v2.18.1 - 2018-05-19
*
* Copyright (c) 2018 The angular-translate team, Pascal Precht; Licensed MIT
*/
function(e,t){"function"==typeof define&&define.amd?define([],(function(){return t()})):"object"==typeof module&&module.exports?module.exports=t():t()}(0,(function(){function e(e){"use strict";var t=e.storageKey(),n=e.storage(),r=function(){var r=e.preferredLanguage();angular.isString(r)?e.use(r):n.put(t,e.use())};r.displayName="fallbackFromIncorrectStorageValue",n?n.get(t)?e.use(n.get(t)).catch(r):r():angular.isString(e.preferredLanguage())&&e.use(e.preferredLanguage())}function t(e,t,n,r){"use strict";var i,a,o,s,f,c,u,l,d,h,_,g,p,m,A,y,b={},v=[],w=e,I=[],k="translate-cloak",C=!1,E=!1,S=".",B=!1,M=!1,L=0,D=!0,x="default",Q={default:function(e){return(e||"").split("-").join("_")},java:function(e){var t=(e||"").split("-").join("_"),n=t.split("_");return n.length>1?n[0].toLowerCase()+"_"+n[1].toUpperCase():t},bcp47:function(e){var t=(e||"").split("_").join("-"),n=t.split("-");switch(n.length){case 1:n[0]=n[0].toLowerCase();break;case 2:n[0]=n[0].toLowerCase(),4===n[1].length?n[1]=n[1].charAt(0).toUpperCase()+n[1].slice(1).toLowerCase():n[1]=n[1].toUpperCase();break;case 3:n[0]=n[0].toLowerCase(),n[1]=n[1].charAt(0).toUpperCase()+n[1].slice(1).toLowerCase(),n[2]=n[2].toUpperCase();break;default:return t}return n.join("-")},"iso639-1":function(e){return(e||"").split("_").join("-").split("-")[0].toLowerCase()}},T=function(){if(angular.isFunction(r.getLocale))return r.getLocale();var e,n,i=t.$get().navigator,a=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(i.languages))for(e=0;e<i.languages.length;e++)if((n=i.languages[e])&&n.length)return n;for(e=0;e<a.length;e++)if((n=i[a[e]])&&n.length)return n;return null};T.displayName="angular-translate/service: getFirstBrowserLanguage";var F=function(){var e=T()||"";return Q[x]&&(e=Q[x](e)),e};F.displayName="angular-translate/service: getLocale";var P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},N=function(){return this.toString().replace(/^\s+|\s+$/g,"")},Y=function(e){return angular.isString(e)?e.toLowerCase():e},R=function(e){if(e){for(var t,n=[],r=Y(e),i=0,o=v.length;i<o;i++)n.push(Y(v[i]));if((i=P(n,r))>-1)return v[i];if(a)for(var s in a)if(a.hasOwnProperty(s)){var f=!1,c=Object.prototype.hasOwnProperty.call(a,s)&&Y(s)===Y(e);if("*"===s.slice(-1)&&(f=Y(s.slice(0,-1))===Y(e.slice(0,s.length-1))),(c||f)&&(t=a[s],P(n,Y(t))>-1))return t}var u=e.split("_");return u.length>1&&P(n,Y(u[0]))>-1?u[0]:void 0}},O=function(e,t){if(!e&&!t)return b;if(e&&!t){if(angular.isString(e))return b[e]}else angular.isObject(b[e])||(b[e]={}),angular.extend(b[e],H(t));return this};this.translations=O,this.cloakClassName=function(e){return e?(k=e,this):k},this.nestedObjectDelimeter=function(e){return e?(S=e,this):S};var H=function(e,t,n,r){var i,a,o;for(i in t||(t=[]),n||(n={}),e)Object.prototype.hasOwnProperty.call(e,i)&&(o=e[i],angular.isObject(o)?H(o,t.concat(i),n,i):(a=t.length?""+t.join(S)+S+i:i,t.length&&i===r&&(n[""+t.join(S)]="@:"+a),n[a]=o));return n};H.displayName="flatObject",this.addInterpolation=function(e){return I.push(e),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(e){return h=e,this},this.useSanitizeValueStrategy=function(e){return n.useStrategy(e),this},this.preferredLanguage=function(e){return e?(j(e),this):i};var j=function(e){return e&&(i=e),i};this.translationNotFoundIndicator=function(e){return this.translationNotFoundIndicatorLeft(e),this.translationNotFoundIndicatorRight(e),this},this.translationNotFoundIndicatorLeft=function(e){return e?(p=e,this):p},this.translationNotFoundIndicatorRight=function(e){return e?(m=e,this):m},this.fallbackLanguage=function(e){return U(e),this};var U=function(e){return e?(angular.isString(e)?(s=!0,o=[e]):angular.isArray(e)&&(s=!1,o=e),angular.isString(i)&&P(o,i)<0&&o.push(i),this):s?o[0]:o};this.use=function(e){if(e){if(!b[e]&&!_)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+e+"'");return f=e,this}return f},this.resolveClientLocale=function(){re
/**
* @license AngularJS v1.5.11
* (c) 2010-2017 Google, Inc. http://angularjs.org
* License: MIT
*/
function(e,t){"use strict";var n,r,i,a;function o(){return["$animate",function(e){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link:function(t,n,i,a,o){var s,f,c,u=n[0],l=i.ngMessage||i.when,d=i.ngMessageExp||i.whenExp,h=function(e){s=e?r(e)?e:e.split(/[\s,]+/):null,a.reRender()};d?(h(t.$eval(d)),t.$watchCollection(d,h)):h(l),a.register(u,c={test:function(e){return function(e,t){if(e)return r(e)?e.indexOf(t)>=0:e.hasOwnProperty(t)}(s,e)},attach:function(){f||o((function(t,r){e.enter(t,null,n);var i=(f=t).$$attachId=a.getAttachId();f.on("$destroy",(function(){f&&f.$$attachId===i&&(a.deregister(u),c.detach()),r.$destroy()}))}))},detach:function(){if(f){var t=f;f=null,e.leave(t)}}})}}}]}t.module("ngMessages",[],(function(){n=t.forEach,r=t.isArray,i=t.isString,a=t.element})).directive("ngMessages",["$animate",function(e){return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(i,a,o){var s=this,f=0,c=0;this.getAttachId=function(){return c++};var u,l,d=this.messages={};function h(e,t){for(var n=t,r=[];n&&n!==e;){var i=n.$$ngMessageNode;if(i&&i.length)return d[i];n.childNodes.length&&-1===r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}this.render=function(f){u=!1,l=f=f||{};for(var c=t(a,o.ngMessagesMultiple)||t(a,o.multiple),d=[],h={},_=s.head,g=!1,p=0;null!=_;){p++;var m=_.message,A=!1;g||n(f,(function(e,t){if(!A&&r(e)&&m.test(t)){if(h[t])return;h[t]=!0,A=!0,m.attach()}})),A?g=!c:d.push(m),_=_.next}n(d,(function(e){e.detach()})),d.length!==p?e.setClass(i,"ng-active","ng-inactive"):e.setClass(i,"ng-inactive","ng-active")},a.$watchCollection(o.ngMessages||o.for,s.render),i.on("$destroy",(function(){n(d,(function(e){e.message.detach()}))})),this.reRender=function(){u||(u=!0,a.$evalAsync((function(){u&&l&&s.render(l)})))},this.register=function(e,t){var n=f.toString();d[n]={message:t},function(e,t,n){var r=d[n];if(s.head){var i=h(e,t);i?(r.next=i.next,i.next=r):(r.next=s.head,s.head=r)}else s.head=r}(i[0],e,n),e.$$ngMessageNode=n,f++,s.reRender()},this.deregister=function(e){var t=e.$$ngMessageNode;delete e.$$ngMessageNode,function(e,t,n){var r=d[n],i=h(e,t);i?i.next=r.next:s.head=r.next}(i[0],e,t),delete d[t],s.reRender()}}]};function t(e,t){return i(t)&&0===t.length||r(e.$eval(t))}function r(e){return i(e)?e.length:!!e}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(e,t,n){return{restrict:"AE",require:"^^ngMessages",link:function(t,a,o){var s=o.ngMessagesInclude||o.src;e(s).then((function(e){t.$$destroyed||(i(e)&&!e.trim()?r(a,s):n(e)(t,(function(e){a.after(e),r(a,s)})))}))}};function r(e,r){var i=n.$$createComment?n.$$createComment("ngMessagesInclude",r):t[0].createComment(" ngMessagesInclude: "+r+" "),o=a(i);e.after(o),e.remove()}}]).directive("ngMessage",o()).directive("ngMessageExp",o())}(window,window.angular),function(e,t,n){"use strict";t.module("ngApi",[]).factory("Api",["$q","$rootScope",function(e,n){var r=function(e,t){this.gantt=e,this.apiId=t,this.eventListeners=[]};function i(e,t,r,i){return n.$on(e,(function(){var e=Array.prototype.slice.call(arguments);e.splice(0,1),t.apply(i||r,e)}))}return r.prototype.suppressEvents=function(e,n){var r=this,a=t.isArray(e)?e:[e],o=[];a.forEach((function(e){o=r.eventListeners.filter((function(t){return e===t.handler}))})),o.forEach((function(e){e.dereg()})),n(),o.forEach((function(e){e.dereg=i(e.eventId,e.handler,r.gantt,e._this)}))},r.prototype.registerEvent=function(t,r){var a=this;a[t]||(a[t]={});var o=a[t];o.on||(o.on={},o.raise={},o.raisePromise={});var s="event:api:"+this.apiId+":"+t+":"+r;o.raise[r]=function(){n.$emit.apply(n,[s].concat(Array.prototype.slice.call(arguments)))},o.raisePromise[r]=function(){var t=n.$$listenerCount[s];if(!t)return e.when();var r=e.defer();t>1&&((r={promise:r.promise,notify:r.notify,raw:r,count:0,errors:[],results:[]}).checkFinish=function(){r.count<t||(r.count=0,r.errors.length?(1==r.errors.length?r.raw.reject(r.errors[0]):r.raw.reject(r.errors),
/**
* angular-cache
* @version 4.6.0 - Homepage <https://github.com/jmdobry/angular-cache>
* @copyright (c) 2013-2016 angular-cache project authors
* @license MIT <https://github.com/jmdobry/angular-cache/blob/master/LICENSE>
* @overview angular-cache is a very useful replacement for Angular's $cacheFactory.
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t("undefined"==typeof angular?require("angular"):angular):"function"==typeof define&&define.amd?define("angular-cache",["angular"],t):e.angularCacheModuleName=t(e.angular)}(this,(function(e){"use strict";e="default"in e?e.default:e;var t={};t.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var n=function(e,t,n){for(var r=e[n],i=t(r);n>0;){var a=Math.floor((n+1)/2)-1,o=e[a];if(i>=t(o))break;e[a]=r,e[n]=o,n=a}},r=function(e,t,n){for(var r=e.length,i=e[n],a=t(i);;){var o=2*(n+1),s=o-1,f=null;if(s<r&&t(e[s])<a&&(f=s),o<r&&t(e[o])<(null===f?a:t(e[s]))&&(f=o),null===f)break;e[n]=e[f],e[f]=i,n=f}};function i(e,t){if(e||(e=function(e){return e}),t||(t=function(e,t){return e===t}),"function"!=typeof e)throw new Error('BinaryHeap([weightFunc][, compareFunc]): "weightFunc" must be a function!');if("function"!=typeof t)throw new Error('BinaryHeap([weightFunc][, compareFunc]): "compareFunc" must be a function!');this.weightFunc=e,this.compareFunc=t,this.heap=[]}var a=i.prototype;a.push=function(e){this.heap.push(e),n(this.heap,this.weightFunc,this.heap.length-1)},a.peek=function(){return this.heap[0]},a.pop=function(){var e=this.heap[0],t=this.heap.pop();return this.heap.length>0&&(this.heap[0]=t,r(this.heap,this.weightFunc,0)),e},a.remove=function(e){for(var t=this.heap.length,i=0;i<t;i++)if(this.compareFunc(this.heap[i],e)){var a=this.heap[i],o=this.heap.pop();return i!==t-1&&(this.heap[i]=o,n(this.heap,this.weightFunc,i),r(this.heap,this.weightFunc,i)),a}return null},a.removeAll=function(){this.heap=[]},a.size=function(){return this.heap.length};var o=null;try{o=window.Promise}catch(e){}var s={isNumber:function(e){return"number"==typeof e},isString:function(e){return"string"==typeof e},isObject:function(e){return null!==e&&"object"===(void 0===e?"undefined":t.typeof(e))},isFunction:function(e){return"function"==typeof e},fromJson:function(e){return JSON.parse(e)},equals:function(e,t){return e===t},Promise:o};function f(e){var t=[],n=void 0;if(!s.isObject(e))return t;for(n in e)e.hasOwnProperty(n)&&t.push(n);return t}function c(e){return e&&"function"==typeof e.then}function u(e){return s.isNumber(e)?e.toString():e}function l(e){var t={},n=void 0;if(!s.isObject(e))return t;for(n in e)e.hasOwnProperty(n)&&(t[n]=n);return t}var d={capacity:Number.MAX_VALUE,maxAge:Number.MAX_VALUE,deleteOnExpire:"none",onExpire:null,cacheFlushInterval:null,recycleFreq:1e3,storageMode:"memory",storageImpl:null,disabled:!1,storagePrefix:"cachefactory.caches.",storeOnResolve:!1,storeOnReject:!1},h={};function _(e,n){if(e in h)throw new Error(e+" already exists!");if(!s.isString(e))throw new Error("cacheId must be a string!");var r={},a={},o=null,_=new i((function(e){return e.expires}),s.equals),g=new i((function(e){return e.accessed}),s.equals),p=h[e]={$$id:e,destroy:function(){clearInterval(this.$$cacheFlushIntervalId),clearInterval(this.$$recycleFreqId),this.removeAll(),o&&(o().removeItem(this.$$prefix+".keys"),o().removeItem(this.$$prefix)),o=null,r=null,g=null,_=null,this.$$prefix=null,delete h[this.$$id]},disable:function(){this.$$disabled=!0},enable:function(){delete this.$$disabled},get:function(e,n){var i,f=this;if(Array.isArray(e)){var c=(i=[],e.forEach((function(e){var t=f.get(e,n);null!=t&&i.push(t)})),{v:i});if("object"===(void 0===c?"undefined":t.typeof(c)))return c.v}else if(e=u(e),this.$$disabled)return;if(n=n||{},!s.isString(e))throw new Error("key must be a string!");if(n&&!s.isObject(n))throw new Error("options must be an object!");if(n.onExpire&&!s.isFunction(n.onExpire))throw new Error("options.onExpire must be a function!");var l=void 0;if(o){if(a[e])return a[e];var d=o().getItem(this.$$prefix+".data."+e);if(!d)return;l=s.fromJson(d)}else if(s.isObject(r)){if(!(e in r))return;l=r[e]}var h=l.value,_=(new Date).getTime();return o?(g.remove({key:e,accessed:l.accessed}),l.accessed=_,g.push({key:e,accessed:_})):(g.remove
/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
!function(e){"use strict";if(e.URL=e.URL||e.webkitURL,e.Blob&&e.URL)try{return void new Blob}catch(e){}var t=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||function(e){var t=function(e){return Object.prototype.toString.call(e).match(/^\[object\s(.*)\]$/)[1]},n=function(){this.data=[]},r=function(e,t,n){this.data=e,this.size=e.length,this.type=t,this.encoding=n},i=n.prototype,a=r.prototype,o=e.FileReaderSync,s=function(e){this.code=this[this.name=e]},f="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=f.length,u=e.URL||e.webkitURL||e,l=u.createObjectURL,d=u.revokeObjectURL,h=u,_=e.btoa,g=e.atob,p=e.ArrayBuffer,m=e.Uint8Array,A=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(r.fake=a.fake=!0;c--;)s.prototype[f[c]]=c+1;return u.createObjectURL||(h=e.URL=function(e){var t,n=document.createElementNS("http://www.w3.org/1999/xhtml","a");return n.href=e,"origin"in n||("data:"===n.protocol.toLowerCase()?n.origin=null:(t=e.match(A),n.origin=t&&t[1])),n}),h.createObjectURL=function(e){var t,n=e.type;return null===n&&(n="application/octet-stream"),e instanceof r?(t="data:"+n,"base64"===e.encoding?t+";base64,"+e.data:"URI"===e.encoding?t+","+decodeURIComponent(e.data):_?t+";base64,"+_(e.data):t+","+encodeURIComponent(e.data)):l?l.call(u,e):void 0},h.revokeObjectURL=function(e){"data:"!==e.substring(0,5)&&d&&d.call(u,e)},i.append=function(e){var n=this.data;if(m&&(e instanceof p||e instanceof m)){for(var i="",a=new m(e),f=0,c=a.length;f<c;f++)i+=String.fromCharCode(a[f]);n.push(i)}else if("Blob"===t(e)||"File"===t(e)){if(!o)throw new s("NOT_READABLE_ERR");var u=new o;n.push(u.readAsBinaryString(e))}else e instanceof r?"base64"===e.encoding&&g?n.push(g(e.data)):"URI"===e.encoding?n.push(decodeURIComponent(e.data)):"raw"===e.encoding&&n.push(e.data):("string"!=typeof e&&(e+=""),n.push(unescape(encodeURIComponent(e))))},i.getBlob=function(e){return arguments.length||(e=null),new r(this.data.join(""),e,"raw")},i.toString=function(){return"[object BlobBuilder]"},a.slice=function(e,t,n){var i=arguments.length;return i<3&&(n=null),new r(this.data.slice(e,i>1?t:this.data.length),n,this.encoding)},a.toString=function(){return"[object Blob]"},a.close=function(){this.size=0,delete this.data},n}(e);e.Blob=function(e,n){var r=n&&n.type||"",i=new t;if(e)for(var a=0,o=e.length;a<o;a++)Uint8Array&&e[a]instanceof Uint8Array?i.append(e[a].buffer):i.append(e[a]);var s=i.getBlob(r);return!s.slice&&s.webkitSlice&&(s.slice=s.webkitSlice),s};var n=Object.getPrototypeOf||function(e){return e.__proto__};e.Blob.prototype=n(new e.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},function(e,t,n){"use strict";e.exports=function(){return n(6).saveAs||function(){}}},function(e,t,n){var r,i=i||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,a=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},f=function(e){setTimeout((function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()}),4e4)},c=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},u=function(t,u,l){l||(t=c(t));var d,h=this,_="application/octet-stream"===t.type,g=function(){!function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var i=e["on"+t[r]];if("function"==typeof i)try{i.call(e,e)}catch(e){s(e)}}}(h,"writestart progress write writeend".split(" "))};if(h.readyState=h.INIT,i)return d=n().createObjectURL(t),void setTimeout((function(){r.href=d,r.download=u,function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}(r),g(),f(d),h.readyState=h.DONE}));!function(){if((o||_&&a)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */void 0!==e&&e.exports?e.exports.saveAs=i:null!==n(7)&&null!==n(8)&&(void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r))},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){(function(t){e.exports=t}).call(t,{})}])})),
/*** Directives and services for responding to idle users in AngularJS
* @author Mike Grabski <me@mikegrabski.com>
* @version v1.3.2
* @link https://github.com/HackedByChinese/ng-idle.git
* @license MIT
*/
function(e,t,n){"use strict";t.module("ngIdle",["ngIdle.keepalive","ngIdle.idle","ngIdle.countdown","ngIdle.title","ngIdle.localStorage"]),t.module("ngIdle.keepalive",[]).provider("Keepalive",(function(){var e={http:null,interval:600};this.http=function(n){if(!n)throw new Error("Argument must be a string containing a URL, or an object containing the HTTP request configuration.");t.isString(n)&&(n={url:n,method:"GET"}),n.cache=!1,e.http=n};var n=this.interval=function(t){if(t=parseInt(t),isNaN(t)||t<=0)throw new Error("Interval must be expressed in seconds and be greater than 0.");e.interval=t};this.$get=["$rootScope","$log","$interval","$http",function(r,i,a,o){var s={ping:null};function f(e){r.$broadcast("KeepaliveResponse",e.data,e.status)}function c(){r.$broadcast("Keepalive"),t.isObject(e.http)&&o(e.http).then(f).catch(f)}return{_options:function(){return e},setInterval:n,start:function(){return a.cancel(s.ping),s.ping=a(c,1e3*e.interval),s.ping},stop:function(){a.cancel(s.ping)},ping:function(){c()}}}]})),t.module("ngIdle.idle",["ngIdle.keepalive","ngIdle.localStorage"]).provider("Idle",(function(){var e={idle:1200,timeout:30,autoResume:"idle",interrupt:"mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",windowInterrupt:null,keepalive:!0},n=this.timeout=function(n){if(!1===n)e.timeout=0;else{if(!(t.isNumber(n)&&n>=0))throw new Error("Timeout must be zero or false to disable the feature, or a positive integer (in seconds) to enable it.");e.timeout=n}};this.interrupt=function(t){e.interrupt=t},this.windowInterrupt=function(t){e.windowInterrupt=t};var r=this.idle=function(t){if(t<=0)throw new Error("Idle must be a value in seconds, greater than 0.");e.idle=t};this.autoResume=function(t){e.autoResume=!0===t?"idle":!1===t?"off":t},this.keepalive=function(t){e.keepalive=!0===t},this.$get=["$interval","$log","$rootScope","$document","Keepalive","IdleLocalStorage","$window",function(i,a,o,s,f,c,u){var l={idle:null,timeout:null,idling:!1,running:!1,countdown:null},d=(new Date).getTime();function h(){e.keepalive&&(l.running&&f.ping(),f.start())}function _(){e.keepalive&&f.stop()}function g(){l.idling=!l.idling;var t=l.idling?"IdleStart":"IdleEnd";l.idling?(o.$broadcast(t),_(),e.timeout&&(l.countdown=e.timeout,p(),l.timeout=i(p,1e3,e.timeout,!1))):(h(),o.$broadcast(t)),i.cancel(l.idle)}function p(){l.idling&&(l.countdown<=0?m():(o.$broadcast("IdleWarn",l.countdown),l.countdown--))}function m(){_(),i.cancel(l.idle),i.cancel(l.timeout),l.idling=!0,l.running=!1,l.countdown=0,o.$broadcast("IdleTimeout")}function A(e,t,n){var r=e.running();e.unwatch(),t(n),r&&e.watch()}function y(e){e?c.set("expiry",{id:d,time:e}):c.remove("expiry")}var b={_options:function(){return e},_getNow:function(){return new Date},getIdle:function(){return e.idle},getTimeout:function(){return e.timeout},setIdle:function(e){A(this,r,e)},setTimeout:function(e){A(this,n,e)},isExpired:function(){var e,t=(e=c.get("expiry"))&&e.time?new Date(e.time):null;return null!==t&&t<=this._getNow()},running:function(){return l.running},idling:function(){return l.idling},watch:function(t){i.cancel(l.idle),i.cancel(l.timeout);var n=e.timeout?e.timeout:0;t||y(new Date((new Date).getTime()+1e3*(e.idle+n))),l.idling?g():l.running||h(),l.running=!0,l.idle=i(g,1e3*e.idle,0,!1)},unwatch:function(){i.cancel(l.idle),i.cancel(l.timeout),l.idling=!1,l.running=!1,y(null),_()},interrupt:function(t){l.running&&(e.timeout&&this.isExpired()?m():(function(e){o.$broadcast("IdleInterrupt",e)}(t),(t||"idle"===e.autoResume||"notIdle"===e.autoResume&&!l.idling)&&this.watch(t)))}},v={clientX:null,clientY:null,swap:function(e){var t={clientX:this.clientX,clientY:this.clientY};return this.clientX=e.clientX,this.clientY=e.clientY,t},hasMoved:function(e){var t=this.swap(e);return!(null!==this.clientX&&!e.movementX&&!e.movementY)||t.clientX!=e.clientX||t.clientY!=e.clientY}};if(s.find("html").on(e.interrupt,(function(e){"mousemove"===e.type&&e.originalEvent&&0===e.originalEvent.movementX&&0===e.originalEvent.movementY||("mousemove"!==e.type||v.hasMoved(e))&&b.interrupt(
/**
* angular-simple-logger
*
* @version: 0.1.7
* @author: Nicholas McCready
* @date: Tue Jan 26 2016 10:15:01 GMT-0500 (EST)
* @license: MIT
*/
function(e,t){t.module("nemLogging",[]),t.module("nemLogging").provider("nemDebug",(function(){return this.$get=function(){return null},this.debug=null,this}));var n=[].slice;t.module("nemLogging").provider("nemSimpleLogger",["nemDebugProvider",function(e){var t,r,i,a,o,s,f,c,u,l,d,h;for(d=e.debug,i={},t={},u=c=0,l=(a=["debug","info","warn","error","log"]).length;c<l;u=++c)t[h=a[u]]=u;return s=function(e,t,n){if(e>=t)return n()},o=function(e){var t,n,r;if(t=!1,!e)return t;for(n=0,r=a.length;n<r&&(t=null!=e[h=a[n]]&&"function"==typeof e[h]);n++);return t},f=function(e,t){var n,r,o,s;for(null==i[e]&&(i[e]=d(e)),n=i[e],s={},r=0,o=a.length;r<o;r++)s[h=a[r]]="debug"===h?n:t[h];return s},r=function(){function e(e){var r,i,f,c,u,l,d;if(this.$log=e,this.spawn=(u=this.spawn,l=this,function(){return u.apply(l,arguments)}),!this.$log)throw"internalLogger undefined";if(!o(this.$log))throw"@$log is invalid";for(this.doLog=!0,c={},d=this,r=function(e){return c[e]=function(){var r;if(r=1<=arguments.length?n.call(arguments,0):[],d.doLog)return s(t[e],d.currentLevel,(function(){var t;return(t=d.$log)[e].apply(t,r)}))},d[e]=c[e]},i=0,f=a.length;i<f;i++)r(a[i]);this.LEVELS=t,this.currentLevel=t.error}return e.prototype.spawn=function(t){if("string"==typeof t){if(!o(this.$log))throw"@$log is invalid";if(!d)throw"nemDebug is undefined this is probably the light version of this library sep debug logggers is not supported!";return f(t,this.$log)}return new e(t||this.$log)},e}(),this.decorator=["$log",function(e){var n;return(n=new r(e)).currentLevel=t.debug,n}],this.$get=["$log",function(e){return new r(e)}],this}])}(window,angular),
/*!
* ui-leaflet 2.0.0 2016-10-04
* ui-leaflet - An AngularJS directive to easily interact with Leaflet maps
* git: https://github.com/angular-ui/ui-leaflet
*/
function(e){"use strict";e.module("ui-leaflet",["nemLogging"]).directive("leaflet",["$q","leafletData","leafletMapDefaults","leafletHelpers","leafletMapEvents",function(e,t,n,r,i){return{restrict:"EA",replace:!0,scope:{center:"=",lfCenter:"=",defaults:"=",maxbounds:"=",bounds:"=",markers:"=",legend:"=",geojson:"=",paths:"=",tiles:"=",layers:"=",controls:"=",decorations:"=",eventBroadcast:"=",watchOptions:"=",id:"@"},transclude:!0,template:'<div class="angular-leaflet-map"><div ng-transclude></div></div>',controller:["$scope",function(t){this._leafletMap=e.defer(),this.getMap=function(){return this._leafletMap.promise},this.getLeafletScope=function(){return t}}],link:function(e,a,o,s){var f=r.isDefined,c=n.setDefaults(e.defaults,o.id),u=i.getAvailableMapEvents(),l=i.addEvents;function d(){isNaN(o.width)?a.css("width",o.width):a.css("width",o.width+"px")}function h(){isNaN(o.height)?a.css("height",o.height):a.css("height",o.height+"px")}e.mapId=o.id,t.setDirectiveControls({},o.id);var _=new L.Map(a[0],n.getMapCreationDefaults(o.id));if(s._leafletMap.resolve(_),f(o.width)&&(d(),e.$watch((function(){return a[0].getAttribute("width")}),(function(){d(),_.invalidateSize()}))),f(o.height)&&(h(),e.$watch((function(){return a[0].getAttribute("height")}),(function(){h(),_.invalidateSize()}))),f(o.center)||f(o.lfCenter)||_.setView([c.center.lat,c.center.lng],c.center.zoom),!f(o.tiles)&&!f(o.layers)){var g=L.tileLayer(c.tileLayer,c.tileLayerOptions);g.addTo(_),t.setTiles(g,o.id)}f(_.zoomControl)&&f(c.zoomControlPosition)&&_.zoomControl.setPosition(c.zoomControlPosition),f(_.zoomControl)&&!1===c.zoomControl&&_.zoomControl.removeFrom(_),f(_.zoomsliderControl)&&f(c.zoomsliderControl)&&!1===c.zoomsliderControl&&_.zoomsliderControl.removeFrom(_),f(o.eventBroadcast)||l(_,o.id,u,"eventName",e,"broadcast"),_.whenReady((function(){t.setMap(_,o.id)})),e.$on("$destroy",(function(){n.reset(),_.remove(),t.unresolveMap(o.id)})),e.$on("invalidateSize",(function(){_.invalidateSize()}))}}}]),e.module("ui-leaflet").factory("eventManager",[function(){var e=function(){this.listeners={}};return e.prototype={addEventListener:function(e,t,n){for(var r=[],i=arguments.length,a=0;a<i;a++)r.push(arguments[a]);r=r.length>3?r.splice(3,r.length-1):[],void 0!==this.listeners[e]?this.listeners[e].push({scope:n,callback:t,args:r}):this.listeners[e]=[{scope:n,callback:t,args:r}]},removeEventListener:function(e,t,n){if(void 0!==this.listeners[e]){for(var r=this.listeners[e].length,i=[],a=0;a<r;a++){var o=this.listeners[e][a];o.scope===n&&o.callback===t||i.push(o)}this.listeners[e]=i}},hasEventListener:function(e,t,n){if(void 0!==this.listeners[e]){var r=this.listeners[e].length;if(void 0===t&&void 0===n)return r>0;for(var i=0;i<r;i++){var a=this.listeners[e][i];if((!n||a.scope===n)&&a.callback===t)return!0}}return!1},dispatch:function(e,t){for(var n={type:e,target:t},r=[],i=arguments.length,a=0;a<i;a++)r.push(arguments[a]);if(r=r.length>2?r.splice(2,r.length-1):[],r=[n].concat(r),void 0!==this.listeners[e])for(var o=this.listeners[e].length,s=0;s<o;s++){var f=this.listeners[e][s];if(f&&f.callback){var c=r.concat(f.args);f.callback.apply(f.scope,c)}}},getEvents:function(){var e="";for(var t in this.listeners)for(var n=this.listeners[t].length,r=0;r<n;r++){var i=this.listeners[t][r];e+=i.scope&&i.scope.className?i.scope.className:"anonymous",e+=" listen for '"+t+"'\n"}return e}},e}]).service("eventManager",["EventManager",function(e){return new e}]),e.module("ui-leaflet").factory("leafletBoundsHelpers",["leafletLogger","leafletHelpers",function(t,n){var r=n.isArray,i=n.isNumber,a=n.isFunction,o=n.isDefined,s=t;function f(t){return e.isDefined(t)&&e.isDefined(t.southWest)&&e.isDefined(t.northEast)&&e.isNumber(t.southWest.lat)&&e.isNumber(t.southWest.lng)&&e.isNumber(t.northEast.lat)&&e.isNumber(t.northEast.lng)}return{createLeafletBounds:function(e){if(f(e))return L.latLngBounds([e.southWest.lat,e.southWest.lng],[e.northEast.lat,e.northEast.lng])},isValidBounds:f,createBoundsFromArray:function(e){if(r(e)&&2===e.length&&r(e[0])&&r(e[1])&&2===e[0].length&&2===e[1].length&
Ce="data:application/octet-stream;base64,AAAAAAAAAAC2eFn/hXLTAL1uFf8PCmoAKcABAJjoef+8PKD/mXHO/wC34v60DUj/AAAAAAAAAACwoA7+08mG/54YjwB/aTUAYAy9AKfX+/+fTID+amXh/x78BACSDK4AAAAAAAAAAABZ8bL+CuWm/3vdKv4eFNQAUoADADDR8wB3eUD/MuOc/wBuxQFnG5AAAAAAAAAAAACFO4wBvfEk//glwwFg3DcAt0w+/8NCPQAyTKQB4aRM/0w9o/91Ph8AUZFA/3ZBDgCic9b/BoouAHzm9P8Kio8ANBrCALj0TACBjykBvvQT/3uqev9igUQAedWTAFZlHv+hZ5sAjFlD/+/lvgFDC7UAxvCJ/u5FvP9Dl+4AEyps/+VVcQEyRIf/EWoJADJnAf9QAagBI5ge/xCouQE4Wej/ZdL8ACn6RwDMqk//Di7v/1BN7wC91kv/EY35ACZQTP++VXUAVuSqAJzY0AHDz6T/lkJM/6/hEP+NUGIBTNvyAMaicgAu2pgAmyvx/pugaP8zu6UAAhGvAEJUoAH3Oh4AI0E1/kXsvwAthvUBo3vdACBuFP80F6UAutZHAOmwYADy7zYBOVmKAFMAVP+IoGQAXI54/mh8vgC1sT7/+ilVAJiCKgFg/PYAl5c//u+FPgAgOJwALae9/46FswGDVtMAu7OW/vqqDv/So04AJTSXAGNNGgDunNX/1cDRAUkuVAAUQSkBNs5PAMmDkv6qbxj/sSEy/qsmy/9O93QA0d2ZAIWAsgE6LBkAySc7Ab0T/AAx5dIBdbt1ALWzuAEActsAMF6TAPUpOAB9Dcz+9K13ACzdIP5U6hQA+aDGAex+6v8vY6j+quKZ/2az2ADijXr/ekKZ/rb1hgDj5BkB1jnr/9itOP+159IAd4Cd/4FfiP9ufjMAAqm3/weCYv5FsF7/dATjAdnykf/KrR8BaQEn/y6vRQDkLzr/1+BF/s84Rf8Q/ov/F8/U/8oUfv9f1WD/CbAhAMgFz//xKoD+IyHA//jlxAGBEXgA+2eX/wc0cP+MOEL/KOL1/9lGJf6s1gn/SEOGAZLA1v8sJnAARLhL/85a+wCV640Atao6AHT07wBcnQIAZq1iAOmJYAF/McsABZuUABeUCf/TegwAIoYa/9vMiACGCCn/4FMr/lUZ9wBtfwD+qYgwAO532//nrdUAzhL+/gi6B/9+CQcBbypIAG807P5gP40Ak79//s1OwP8Oau0Bu9tMAK/zu/5pWa0AVRlZAaLzlAACdtH+IZ4JAIujLv9dRigAbCqO/m/8jv+b35AAM+Wn/0n8m/9edAz/mKDa/5zuJf+z6s//xQCz/5qkjQDhxGgACiMZ/tHU8v9h/d7+uGXlAN4SfwGkiIf/Hs+M/pJh8wCBwBr+yVQh/28KTv+TUbL/BAQYAKHu1/8GjSEANdcO/ym10P/ni50As8vd//+5cQC94qz/cULW/8o+Lf9mQAj/Tq4Q/oV1RP+FO4wBvfEk//glwwFg3DcAt0w+/8NCPQAyTKQB4aRM/0w9o/91Ph8AUZFA/3ZBDgCic9b/BoouAHzm9P8Kio8ANBrCALj0TACBjykBvvQT/3uqev9igUQAedWTAFZlHv+hZ5sAjFlD/+/lvgFDC7UAxvCJ/u5FvP/qcTz/Jf85/0Wytv6A0LMAdhp9/gMH1v/xMk3/VcvF/9OH+v8ZMGT/u9W0/hFYaQBT0Z4BBXNiAASuPP6rN27/2bUR/xS8qgCSnGb+V9au/3J6mwHpLKoAfwjvAdbs6gCvBdsAMWo9/wZC0P8Cam7/UeoT/9drwP9Dl+4AEyps/+VVcQEyRIf/EWoJADJnAf9QAagBI5ge/xCouQE4Wej/ZdL8ACn6RwDMqk//Di7v/1BN7wC91kv/EY35ACZQTP++VXUAVuSqAJzY0AHDz6T/lkJM/6/hEP+NUGIBTNvyAMaicgAu2pgAmyvx/pugaP+yCfz+ZG7UAA4FpwDp76P/HJedAWWSCv/+nkb+R/nkAFgeMgBEOqD/vxhoAYFCgf/AMlX/CLOK/yb6yQBzUKAAg+ZxAH1YkwBaRMcA/UyeABz/dgBx+v4AQksuAObaKwDleLoBlEQrAIh87gG7a8X/VDX2/zN0/v8zu6UAAhGvAEJUoAH3Oh4AI0E1/kXsvwAthvUBo3vdACBuFP80F6UAutZHAOmwYADy7zYBOVmKAFMAVP+IoGQAXI54/mh8vgC1sT7/+ilVAJiCKgFg/PYAl5c//u+FPgAgOJwALae9/46FswGDVtMAu7OW/vqqDv9EcRX/3ro7/0IH8QFFBkgAVpxs/jenWQBtNNv+DbAX/8Qsav/vlUf/pIx9/5+tAQAzKecAkT4hAIpvXQG5U0UAkHMuAGGXEP8Y5BoAMdniAHFL6v7BmQz/tjBg/w4NGgCAw/n+RcE7AIQlUf59ajwA1vCpAaTjQgDSo04AJTSXAGNNGgDunNX/1cDRAUkuVAAUQSkBNs5PAMmDkv6qbxj/sSEy/qsmy/9O93QA0d2ZAIWAsgE6LBkAySc7Ab0T/AAx5dIBdbt1ALWzuAEActsAMF6TAPUpOAB9Dcz+9K13ACzdIP5U6hQA+aDGAex+6v+PPt0AgVnW/zeLBf5EFL//DsyyASPD2QAvM84BJvalAM4bBv6eVyQA2TSS/3171/9VPB//qw0HANr1WP78IzwAN9ag/4VlOADgIBP+k0DqABqRogFydn0A+Pz6AGVexP/GjeL+Myq2AIcMCf5trNL/xezCAfFBmgAwnC//mUM3/9qlIv5KtLMA2kJHAVh6YwDUtdv/XCrn/+8AmgD1Tbf/XlGqARLV2ACrXUcANF74ABKXof7F0UL/rvQP/qIwtwAxPfD+tl3DAMfkBgHIBRH/iS3t/2yUBABaT+3/Jz9N/zVSzwGOFnb/ZegSAVwaQwAFyFj/IaiK/5XhSAAC0Rv/LPWoAdztEf8e02n+je7dAIBQ9f5v/g4A3l++Ad8J8QCSTNT/bM1o/z91mQCQRTAAI+RvAMAhwf9w1r7+c5iXABdmWAAzSvgA4seP/syiZf/QYb0B9WgSAOb2Hv8XlEUAblg0/uK1Wf/QL1r+cqFQ/yF0+ACzmFf/RZCxAVjuGv86IHEBAU1FADt5NP+Y7lMANAjBAOcn6f/HIooA3kStAFs58v7c0n//wAf2/pcjuwDD7KUAb13OANT3hQGahdH/m+cKAEBOJgB6+WQBHhNh/z5b+QH4hU0AxT+o/nQKUgC47HH+1MvC/z1k/P4kBcr/d1uZ/4FPHQBnZ6v+7ddv/9g1RQDv8BcAwpXd/ybh3gDo/7T+dlKF/znRsQGL6IUAnrAu/sJzLgBY9+UBHGe/AN3er/6V6ywAl+QZ/tppZwCOVdIAlYG+/9VBXv51huD/UsZ1AJ3d3ACjZSQAxXIlAGispv4LtgAAUUi8/2G8EP9FBgoAx5OR/wgJcwFB1q//2a3RAFB/pgD35QT+p7d8/1oczP6vO/D/Cyn4AWwoM/+QscP+lvp+AIpbQQF4PN7/9cHvAB3Wvf+AAhkAUJqiAE3cawHqzUr/NqZn/3RICQDkXi//HsgZ/yPWWf89sIz/U+Kj/0uCrACAJhEAX4mY/9d8nwFPXQAAlFKd/sOC+/8oykz/+37gAJ1jPv7PB+H/YETDAIy6nf+DE+f/KoD+ADTbPf5my0gAjQcL/7qk1QAfencAhfKRAND86P9b1bb/jwT6/vnXSgClHm8BqwnfAOV7IgFcghr/TZstAcOLHP874E4AiBH3AGx5IABP+r3/YOP8/ibxPgA+rn3/m29d/wrmzgFhxSj/ADE5/kH6DQAS+5b/3G3S/wWupv4sgb0A6yOT/yX3jf9IjQT/Z2v/APdaBAA1LCoAAh7wAAQ7PwBYTiQAcae0AL5Hwf/HnqT/OgisAE0hDABBPwMAmU0h/6z+ZgHk3QT/Vx7+AZIpVv+KzO/+bI0R/7vyhwDS0H8ARC0O/klgPgBRPBj/qgYk/wP5GgAj1W0AFoE2/xUj4f/qPTj/OtkGAI98WADsfkIA0Sa3/yLuBv+ukWYAXxbTAM
(d=0|f[8878])>>>(_>>>3)&3|0)return n=0|f[8+(e=35552+((d>>>(_>>>3)&1^1)+(_>>>3)<<1<<2)|0)>>2],(0|(r=0|f[n+8>>2]))==(0|e)?f[8878]=d&~(1<<(d>>>(_>>>3)&1^1)+(_>>>3)):(f[r+12>>2]=e,f[e+8>>2]=r),I=(d>>>(_>>>3)&1^1)+(_>>>3)<<3,f[n+4>>2]=3|I,f[n+I+4>>2]=1|f[n+I+4>>2],m=t,0|n+8;if(_>>>0>(h=0|f[8880])>>>0){if(d>>>(_>>>3)|0)return a=0|f[35552+((i=((a=(((e=d>>>(_>>>3)<<(_>>>3)&(2<<(_>>>3)|0-(2<<(_>>>3))))&0-e)-1|0)>>>(((e&0-e)-1|0)>>>12&16))>>>5&8|((e&0-e)-1|0)>>>12&16|a>>>(a>>>5&8)>>>2&4|(i=a>>>(a>>>5&8)>>>(a>>>(a>>>5&8)>>>2&4))>>>1&2|i>>>(i>>>1&2)>>>1&1)+(i>>>(i>>>1&2)>>>(i>>>(i>>>1&2)>>>1&1))|0)<<1<<2)+8>>2],(0|(e=0|f[a+8>>2]))==(35552+(i<<1<<2)|0)?(f[8878]=d&~(1<<i),e=d&~(1<<i)):(f[e+12>>2]=35552+(i<<1<<2),f[35552+(i<<1<<2)+8>>2]=e,e=d),f[a+4>>2]=3|_,f[a+_+4>>2]=(i<<3)-_|1,f[a+(i<<3)>>2]=(i<<3)-_,0|h&&(r=0|f[8883],e&1<<(h>>>3)?(e=0|f[35552+(h>>>3<<1<<2)+8>>2],n=35552+(h>>>3<<1<<2)+8|0):(f[8878]=e|1<<(h>>>3),e=35552+(h>>>3<<1<<2)|0,n=35552+(h>>>3<<1<<2)+8|0),f[n>>2]=r,f[e+12>>2]=r,f[r+8>>2]=e,f[r+12>>2]=35552+(h>>>3<<1<<2)),f[8880]=(i<<3)-_,f[8883]=a+_,m=t,0|a+8;if(s=0|f[8879]){for(n=l=0|f[35816+(((n=((s&0-s)-1|0)>>>(((s&0-s)-1|0)>>>12&16))>>>5&8|((s&0-s)-1|0)>>>12&16|n>>>(n>>>5&8)>>>2&4|(l=n>>>(n>>>5&8)>>>(n>>>(n>>>5&8)>>>2&4))>>>1&2|l>>>(l>>>1&2)>>>1&1)+(l>>>(l>>>1&2)>>>(l>>>(l>>>1&2)>>>1&1))<<2)>>2],u=l,l=(-8&f[l+4>>2])-_|0;(e=0|f[n+16>>2])||(e=0|f[n+20>>2]);)n=e,u=(a=(c=(-8&f[e+4>>2])-_|0)>>>0<l>>>0)?e:u,l=a?c:l;if((c=u+_|0)>>>0>u>>>0){a=0|f[u+24>>2],e=0|f[u+12>>2];do{if((0|e)==(0|u)){if(!(e=0|f[(n=u+20|0)>>2])&&!(e=0|f[(n=u+16|0)>>2])){n=0;break}for(;;)if(r=0|f[(i=e+20|0)>>2])e=r,n=i;else{if(!(r=0|f[(i=e+16|0)>>2]))break;e=r,n=i}f[n>>2]=0,n=e}else n=0|f[u+8>>2],f[n+12>>2]=e,f[e+8>>2]=n,n=e}while(0);do{if(0|a){if(e=0|f[u+28>>2],(0|u)==(0|f[35816+(e<<2)>>2])){if(f[35816+(e<<2)>>2]=n,!n){f[8879]=s&~(1<<e);break}}else if(f[((0|f[a+16>>2])==(0|u)?a+16|0:a+20|0)>>2]=n,!n)break;f[n+24>>2]=a,0|(e=0|f[u+16>>2])&&(f[n+16>>2]=e,f[e+24>>2]=n),0|(e=0|f[u+20>>2])&&(f[n+20>>2]=e,f[e+24>>2]=n)}}while(0);return l>>>0<16?(I=l+_|0,f[u+4>>2]=3|I,f[(I=u+I+4|0)>>2]=1|f[I>>2]):(f[u+4>>2]=3|_,f[c+4>>2]=1|l,f[c+l>>2]=l,0|h&&(r=0|f[8883],1<<(h>>>3)&d?(e=0|f[35552+(h>>>3<<1<<2)+8>>2],n=35552+(h>>>3<<1<<2)+8|0):(f[8878]=1<<(h>>>3)|d,e=35552+(h>>>3<<1<<2)|0,n=35552+(h>>>3<<1<<2)+8|0),f[n>>2]=r,f[e+12>>2]=r,f[r+8>>2]=e,f[r+12>>2]=35552+(h>>>3<<1<<2)),f[8880]=l,f[8883]=c),m=t,0|u+8}}}}else if(e>>>0<=4294967231){if(_=e+11&-8,i=0|f[8879]){u=(e+11|0)>>>8?_>>>0>16777215?31:_>>>(7+(u=14-((520192+(u=(e+11|0)>>>8<<((1048320+((e+11|0)>>>8)|0)>>>16&8))|0)>>>16&4|(1048320+((e+11|0)>>>8)|0)>>>16&8|(245760+(u<<((u+520192|0)>>>16&4))|0)>>>16&2)+(u<<((u+520192|0)>>>16&4)<<((245760+(u<<((u+520192|0)>>>16&4))|0)>>>16&2)>>>15)|0)|0)&1|u<<1:0,e=0|f[35816+(u<<2)>>2];e:do{if(e)for(s=0,n=0-_|0,c=_<<(31==(0|u)?0:25-(u>>>1)|0),r=0;;){if((a=(-8&f[e+4>>2])-_|0)>>>0<n>>>0){if(!a){a=e,n=0,r=e,b=65;break e}s=e,n=a}if(r=0==(0|(b=0|f[e+20>>2]))|(0|b)==(0|(e=0|f[e+16+(c>>>31<<2)>>2]))?r:b,!e){e=s,b=61;break}c<<=1}else r=0,e=0,n=0-_|0,b=61}while(0);if(61==(0|b)){if(0==(0|r)&0==(0|e)){if(!(((e=2<<u)|0-e)&i))break;d=((e|0-e)&i&0-((e|0-e)&i))-1|0,e=0,r=0|f[35816+((d>>>(d>>>12&16)>>>5&8|d>>>12&16|(h=d>>>(d>>>12&16)>>>(d>>>(d>>>12&16)>>>5&8))>>>2&4|h>>>(h>>>2&4)>>>1&2|(r=h>>>(h>>>2&4)>>>(h>>>(h>>>2&4)>>>1&2))>>>1&1)+(r>>>(r>>>1&1))<<2)>>2]}r?(a=e,b=65):(c=e,s=n)}if(65==(0|b))for(;;){if(n=(e=(h=(-8&f[r+4>>2])-_|0)>>>0<n>>>0)?h:n,a=e?r:a,(e=0|f[r+16>>2])||(e=0|f[r+20>>2]),!e){c=a,s=n;break}r=e}if(0!=(0|c)&&s>>>0<((0|f[8880])-_|0)>>>0&&(l=c+_|0)>>>0>c>>>0){o=0|f[c+24>>2],e=0|f[c+12>>2];do{if((0|e)==(0|c)){if(!(e=0|f[(n=c+20|0)>>2])&&!(e=0|f[(n=c+16|0)>>2])){e=0;break}for(;;)if(r=0|f[(a=e+20|0)>>2])e=r,n=a;else{if(!(r=0|f[(a=e+16|0)>>2]))break;e=r,n=a}f[n>>2]=0}else I=0|f[c+8>>2],f[I+12>>2]=e,f[e+8>>2]=I}while(0);do{if(o){if(n=0|f[c+28>>2],(0|c)==(0|f[35816+(n<<2)>>2])){if(f[35816+(n<<2)>>2]=e,!e){f[8879]=i&~(1<<n),i&=~(1<<n);break}}else if(f[((0|f[o+16>>2])==(0|c)?o+16|0:o+20|0)>>2]=e,!e)break;f[e+24>>2]=o,0|(n=0|f[c+16>>2])&&(f[e+16>>2]=n,f[n+24>>2]=e),(n=0|f[c+20>>2])&&(f[e+20>>2]=n,f[n+24>>
f[e+12>>2]=((u>>25)+c>>26)+s&33554431,f[e+16>>2]=(((u>>25)+c>>26)+s>>25)+o&67108863,f[e+20>>2]=33554431&a,f[e+24>>2]=(a>>25)+i&67108863,f[e+28>>2]=((a>>25)+i>>26)+r&33554431,f[e+32>>2]=(((a>>25)+i>>26)+r>>25)+n&67108863,f[e+36>>2]=((((a>>25)+i>>26)+r>>25)+n>>26)+t&33554431}(r,t|=0),t=0|f[r>>2],i[e>>0]=t,i[e+1>>0]=t>>>8,i[e+2>>0]=t>>>16,a=0|f[r+4>>2],i[e+3>>0]=a<<2|t>>>24,i[e+4>>0]=a>>>6,i[e+5>>0]=a>>>14,t=0|f[r+8>>2],i[e+6>>0]=t<<3|a>>>22,i[e+7>>0]=t>>>5,i[e+8>>0]=t>>>13,a=0|f[r+12>>2],i[e+9>>0]=a<<5|t>>>21,i[e+10>>0]=a>>>3,i[e+11>>0]=a>>>11,t=0|f[r+16>>2],i[e+12>>0]=t<<6|a>>>19,i[e+13>>0]=t>>>2,i[e+14>>0]=t>>>10,i[e+15>>0]=t>>>18,t=0|f[r+20>>2],i[e+16>>0]=t,i[e+17>>0]=t>>>8,i[e+18>>0]=t>>>16,a=0|f[r+24>>2],i[e+19>>0]=a<<1|t>>>24,i[e+20>>0]=a>>>7,i[e+21>>0]=a>>>15,t=0|f[r+28>>2],i[e+22>>0]=t<<3|a>>>23,i[e+23>>0]=t>>>5,i[e+24>>0]=t>>>13,a=0|f[r+32>>2],i[e+25>>0]=a<<4|t>>>21,i[e+26>>0]=a>>>4,i[e+27>>0]=a>>>12,t=0|f[r+36>>2],i[e+28>>0]=t<<6|a>>>20,i[e+29>>0]=t>>>2,i[e+30>>0]=t>>>10,i[e+31>>0]=t>>>18,m=n}function Be(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var i,a,o,s,c=0,u=0,l=0;s=m,o=m=m+63&-64,m=m+64|0,u=52+(c=o+8|0)|0;do{f[c>>2]=0,c=c+4|0}while((0|c)<(0|u));c=0|Mt(e),f[o+36>>2]=c,f[o+20>>2]=c,f[o+4>>2]=c,u=0|T(c),f[o+32>>2]=u,i=0|T(c),f[o+16>>2]=i,a=0|T(c),f[o>>2]=a;do{if(0==(0|u)|0==(0|i)|0==(0|a))j(u),j(i),j(a),c=-22;else{if(!(l=0|T(c))){j(u),j(i),j(a),c=-22;break}if(0|(c=0|ie(o,e,r))){j(0|f[o+32>>2]),j(0|f[o+16>>2]),j(0|f[o>>2]),j(l);break}r=0|Ne(0|f[o+40>>2],0|f[o+44>>2],0|f[o+52>>2],t,n,0|f[o+16>>2],0|f[o+20>>2],l,0|f[o+4>>2],0,0,r),j(0|f[o+32>>2]),j(0|f[o+16>>2]),c=0==(0|r)&&0==(0|Rt(l,0|f[o>>2],0|f[o+4>>2]))?0:-35,j(l),j(0|f[o>>2])}}while(0);return m=s,0|c}function Me(e,t,n){e|=0,t|=0,n|=0;var r,i,a=0,o=0,s=0;if(r=m,i=m=m+63&-64,m=m+4096|0,la(i+3072|0),la(i+2048|0),0!=(0|e)&0!=(0|t)&&(f[i+2048>>2]=f[t>>2],f[i+2048+4>>2]=0,f[i+2048+8>>2]=f[t+4>>2],f[i+2048+8+4>>2]=0,f[i+2048+16>>2]=u[t+8>>0],f[i+2048+16+4>>2]=0,f[i+2048+24>>2]=f[e+16>>2],f[i+2048+24+4>>2]=0,f[i+2048+32>>2]=f[e+8>>2],f[i+2048+32+4>>2]=0,f[i+2048+40>>2]=f[e+36>>2],f[i+2048+40+4>>2]=0,0|f[e+20>>2])){t=0;do{(a=127&t)||(o=0|li(0|f[i+2048+48>>2],0|f[i+2048+48+4>>2],1,0),f[i+2048+48>>2]=o,f[i+2048+48+4>>2]=y,la(i),la(i+1024|0),N(i+3072|0,i+2048|0,i),N(i+3072|0,i,i+1024|0)),s=0|f[i+1024+(a<<3)+4>>2],f[(o=n+(t<<3)|0)>>2]=f[i+1024+(a<<3)>>2],f[o+4>>2]=s,t=t+1|0}while(t>>>0<(0|f[e+20>>2])>>>0)}m=r}function Le(e,t){e|=0,t|=0;var n,r,a=0,o=0,s=0;n=m,r=m=m+63&-64,m=m+464|0,a=0;do{s=0|i[t+a>>0],i[r+(o=a<<1)>>0]=15&s,i[r+(1|o)>>0]=(255&s)>>>4,a=a+1|0}while(32!=(0|a));a=0,t=0;do{a=134217728+((o=a+(0|u[(s=r+t|0)>>0])|0)<<24)>>28,i[s>>0]=o-(a<<4),t=t+1|0}while(63!=(0|t));i[r+63>>0]=a+(0|u[r+63>>0]),ji(e),a=1;do{Hi(r+64|0,a>>>1,0|i[r+a>>0]),Ft(r+304|0,e,r+64|0),pr(e,r+304|0),a=a+2|0}while(a>>>0<64);Br(r+304|0,e),zr(r+184|0,r+304|0),Vt(r+304|0,r+184|0),zr(r+184|0,r+304|0),Vt(r+304|0,r+184|0),zr(r+184|0,r+304|0),Vt(r+304|0,r+184|0),pr(e,r+304|0),a=0;do{Hi(r+64|0,a>>>1,0|i[r+a>>0]),Ft(r+304|0,e,r+64|0),pr(e,r+304|0),a=a+2|0}while(a>>>0<64);m=n}function De(e,t,n,r,i,a,o,s,f,c,u){var l;e|=0,t|=0,n|=0,r|=0,i|=0,a|=0,o|=0,s|=0,f|=0,l=m,m=m+352|0,mi(l+16|0,64,0,c|=0,u|=0),zi(l+80|0,l+16|0),Fn(l+16|0,64),ui(l+80|0,o,s,f),ui(l+80|0,35424,15&(t=0|ci(0,0,0|s,0|f)),0),ui(l+80|0,n,r,i),ui(l+80|0,35424,15&(t=0|ci(0,0,0|r,0|i)),0),Xn(l+336|0,s,f),ui(l+80|0,l+336|0,8,0),Xn(l+336|0,r,i),ui(l+80|0,l+336|0,8,0),$i(l+80|0,l),Fn(l+80|0,256),t=0|oa(l,a),Fn(l,16);do{if(e){if(t){ot(0|e,0,0|r),t=-1;break}Tr(e,n,r,i,c,1,u),t=0;break}}while(0);return m=l,0|t}function xe(e){e|=0;var t=0,n=0;do{if(e)if(0|f[e>>2])if((0|f[e+4>>2])>>>0>=16){if(0==(0|f[e+8>>2])&&0|f[e+12>>2]){t=-18;break}if(t=0|f[e+20>>2],!(0|f[e+16>>2]))return 0|(0==(0|t)?-6:-19);if(t>>>0>=8){if(0==(0|f[e+24>>2])&&0|f[e+28>>2]){t=-20;break}if(0==(0|f[e+32>>2])&&0|f[e+36>>2]){t=-21;break}if((t=0|f[e+44>>2])>>>0>=8)if(t>>>0<=2097152)if(t>>>0>=(n=0|f[e+48>>2])<<3>>>0)if(0|f[e+40>>2])if(n){if(!(n>>>0>16777215))return 0|(0==(0|(e=0|f[e+52>>2]))?-28:e>>>0>16777215?-29:0);t=-17}else t=-16;else t=-12;else t=-14;else t=-15;else t=-14}else t=-6}else t=-2
e._crypto_pwhash_argon2id_opslimit_interactive=je._crypto_pwhash_argon2id_opslimit_interactive,e._crypto_pwhash_argon2id_opslimit_max=je._crypto_pwhash_argon2id_opslimit_max,e._crypto_pwhash_argon2id_opslimit_min=je._crypto_pwhash_argon2id_opslimit_min,e._crypto_pwhash_argon2id_opslimit_moderate=je._crypto_pwhash_argon2id_opslimit_moderate,e._crypto_pwhash_argon2id_opslimit_sensitive=je._crypto_pwhash_argon2id_opslimit_sensitive,e._crypto_pwhash_argon2id_passwd_max=je._crypto_pwhash_argon2id_passwd_max,e._crypto_pwhash_argon2id_passwd_min=je._crypto_pwhash_argon2id_passwd_min,e._crypto_pwhash_argon2id_saltbytes=je._crypto_pwhash_argon2id_saltbytes,e._crypto_pwhash_argon2id_str=je._crypto_pwhash_argon2id_str,e._crypto_pwhash_argon2id_str_needs_rehash=je._crypto_pwhash_argon2id_str_needs_rehash,e._crypto_pwhash_argon2id_str_verify=je._crypto_pwhash_argon2id_str_verify,e._crypto_pwhash_argon2id_strbytes=je._crypto_pwhash_argon2id_strbytes,e._crypto_pwhash_argon2id_strprefix=je._crypto_pwhash_argon2id_strprefix,e._crypto_pwhash_bytes_max=je._crypto_pwhash_bytes_max,e._crypto_pwhash_bytes_min=je._crypto_pwhash_bytes_min,e._crypto_pwhash_memlimit_interactive=je._crypto_pwhash_memlimit_interactive,e._crypto_pwhash_memlimit_max=je._crypto_pwhash_memlimit_max,e._crypto_pwhash_memlimit_min=je._crypto_pwhash_memlimit_min,e._crypto_pwhash_memlimit_moderate=je._crypto_pwhash_memlimit_moderate,e._crypto_pwhash_memlimit_sensitive=je._crypto_pwhash_memlimit_sensitive,e._crypto_pwhash_opslimit_interactive=je._crypto_pwhash_opslimit_interactive,e._crypto_pwhash_opslimit_max=je._crypto_pwhash_opslimit_max,e._crypto_pwhash_opslimit_min=je._crypto_pwhash_opslimit_min,e._crypto_pwhash_opslimit_moderate=je._crypto_pwhash_opslimit_moderate,e._crypto_pwhash_opslimit_sensitive=je._crypto_pwhash_opslimit_sensitive,e._crypto_pwhash_passwd_max=je._crypto_pwhash_passwd_max,e._crypto_pwhash_passwd_min=je._crypto_pwhash_passwd_min,e._crypto_pwhash_primitive=je._crypto_pwhash_primitive,e._crypto_pwhash_saltbytes=je._crypto_pwhash_saltbytes,e._crypto_pwhash_scryptsalsa208sha256=je._crypto_pwhash_scryptsalsa208sha256,e._crypto_pwhash_scryptsalsa208sha256_bytes_max=je._crypto_pwhash_scryptsalsa208sha256_bytes_max,e._crypto_pwhash_scryptsalsa208sha256_bytes_min=je._crypto_pwhash_scryptsalsa208sha256_bytes_min,e._crypto_pwhash_scryptsalsa208sha256_ll=je._crypto_pwhash_scryptsalsa208sha256_ll,e._crypto_pwhash_scryptsalsa208sha256_memlimit_interactive=je._crypto_pwhash_scryptsalsa208sha256_memlimit_interactive,e._crypto_pwhash_scryptsalsa208sha256_memlimit_max=je._crypto_pwhash_scryptsalsa208sha256_memlimit_max,e._crypto_pwhash_scryptsalsa208sha256_memlimit_min=je._crypto_pwhash_scryptsalsa208sha256_memlimit_min,e._crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive=je._crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive,e._crypto_pwhash_scryptsalsa208sha256_opslimit_interactive=je._crypto_pwhash_scryptsalsa208sha256_opslimit_interactive,e._crypto_pwhash_scryptsalsa208sha256_opslimit_max=je._crypto_pwhash_scryptsalsa208sha256_opslimit_max,e._crypto_pwhash_scryptsalsa208sha256_opslimit_min=je._crypto_pwhash_scryptsalsa208sha256_opslimit_min,e._crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive=je._crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive,e._crypto_pwhash_scryptsalsa208sha256_passwd_max=je._crypto_pwhash_scryptsalsa208sha256_passwd_max,e._crypto_pwhash_scryptsalsa208sha256_passwd_min=je._crypto_pwhash_scryptsalsa208sha256_passwd_min,e._crypto_pwhash_scryptsalsa208sha256_saltbytes=je._crypto_pwhash_scryptsalsa208sha256_saltbytes,e._crypto_pwhash_scryptsalsa208sha256_str=je._crypto_pwhash_scryptsalsa208sha256_str,e._crypto_pwhash_scryptsalsa208sha256_str_needs_rehash=je._crypto_pwhash_scryptsalsa208sha256_str_needs_rehash,e._crypto_pwhash_scryptsalsa208sha256_str_verify=je._crypto_pwhash_scryptsalsa208sha256_str_verify,e._crypto_pwhash_scryptsalsa208sha256_strbytes=je._crypto_pwhash_scryptsalsa208sha256_strbytes,e._crypto_pwhash_scryptsalsa208sha256_strprefix=je._crypto_pwhash_scryptsalsa208sha256_strprefix,e._crypto_pwhash_str=je._crypto_pwha
var e="",t="data:application/octet-stream;base64,AGFzbQEAAAAB8QM3YAABf2AEf39/fwBgAX8AYAAAYAF/AX9gA39/fwF/YAJ/fwBgCX9/f39+f35/fwF/YAJ/fgBgCH9/f35/fn9/AX9gCH9/fn9/fn9/AX9gA39/fgF/YAJ/fwF/YAR/f35/AX9gBn9/f35/fwF/YAd/f39+f39/AX9gBX9/fn9/AX9gBn9/fn9/fwF/YAN/f38AYAF/AX5gA39/fwF+YAR/f39/AX9gBX9/f39/AGACfn8BfmADf39+AGAGf39/f39/AGAGf39/f35/AGAIf39/f35/f38AYAh/f39+f39/fwF/YAZ/f39/f38Bf2AFf39/f38Bf2ACfn4BfmAMf39/f39/f39/f39/AX9gCH9+f35/fn9/AX9gBX9/fn5/AX9gA39+fwF/YAR/fn9/AX9gBn9/fn5/fwF/YAh/f39/fn9+fwF/YAh/f39/f35/fgF/YAV/f39+fwF/YAZ/f39+f38AYAZ/f35/fn8Bf2AEf39/fgBgB39/f39/f38Bf2AIf39/f39/f38Bf2AJf39/f35/f39/AX9gB39+f35/fn8Bf2AFfn9/f38AYAp/f39/f35/f39/AX9gBX9/fn9/AGACf38BfmALf39/f39/f39/f38Bf2AJf39/f39/f39/AX9gCn9/f39/f39/f38BfwJqDANlbnYBYwADA2VudgFkAAQDZW52AWUAAQNlbnYBZgACA2VudgFnAAQDZW52AWgABQNlbnYBaQAAA2VudgFqAAADZW52AWsAAANlbnYBYQN/AANlbnYBYgN/AANlbnYGbWVtb3J5AgCAAgO0BLIEFwwfDBcGEgYABgAGFAsSEwUSBggCAhILBQACDAsABAYGEgUABgYFBAAMDAAMFQYLEhIGBgwEBREECwIGBAYqJAAABgYLFQQMJCAMBAUVGBUVFQQGBQwSDAYBAgILDAwQKisGEAsADAUSAAIGDA0BAQ4CBgUVBhISBAUODgUNDg4wFQwODgUFLR4CBRAkDCgCBgUFAgIODgUMAAAAAAABEgQYBQoIBhYCBAQHAgYMBgcQEAARHQ8eHh0dER0dDyweFR4dDB0sHSwVHgwMBioLAgUGEjMSMQQAGQ0uBR4MDBURDxEPKgICAAQEAwwqJBINEhEqECkNEAwFFQQNBhAQCyIhAAAACiMkIwsiIQAVBwUGBgYYBg0NABIACAYcGQEGBgEGDgAAChIEEgYBBhEREA0SEC0tHR4tHR0eHR4eLR0sHR4eFR0dHh4eNjYdLB0sHSwdLBAVFS0VFSw2NhUVNBUVLDQ0FRUVFRUVFTUsLB0eHSwsLR0sLC0dHh0sLC0dBSwsLR4VHgAeHhUeHiA0NDQgDTQ0NCA0NDQMDAQABAQkECQQJA0QEAwEBTIjDQsiLwAAAAAMHgwFBQQQDRAQJAAAFR4DAwAeBAQMLBUSBAAADQAkJCgoDAwMDAUVBAwFAAIAAAAAJyYFBQAQEAAGBBIMBQAAIwsJJSEAAAAJAAwSHRIGFQwMEgYGBgYGDQAMDAAeHgwFEAYTBgsGBgQGAAAJHRsaAgkGBgQJAQYSEgYSCQYLAn8BIwALfwEjAQsHuxX6AwFsAKYDAW0AEwFuAKIDAW8AoQMBcACgAwFxAJ8DAXIAEwFzAJ4DAXQAnQMBdQCcAwF2AJoDAXcAEQF4AB4BeQCiAgF6ADQBQQARAUIAHgFDADEBRAA0AUUAEwFGAJkDAUcAmAMBSACXAwFJAJYDAUoAEQFLAB4BTAAsAU0ANAFOAJUDAU8AEQFQAJQDAVEAEQFSAJYBAVMAmwEBVAARAVUAHgFWAG4BVwCTAwFYAJIDAVkAkQMBWgCPAwFfABEBJADUAQJhYQDZAQJiYQARAmNhAB4CZGEA8AECZWEAjgMCZmEA0gECZ2EAIgJoYQCLAQJpYQCPAQJqYQARAmthAB4CbGEA8AECbWEA0QECbmEAjQMCb2EAEQJwYQAeAnFhAPMDAnJhANIBAnNhANABAnRhAM8BAnVhAIUBAnZhABECd2EAEwJ4YQCOAQJ5YQARAnphAIwDAkFhAIsDAkJhAIoDAkNhAIgDAkRhAF4CRWEAEwJGYQAsAkdhAIcDAkhhAIYDAklhAIUDAkphAIQDAkthABECTGEAgwMCTWEAggMCTmEAuwECT2EAEQJQYQCCAQJRYQARAlJhANABAlNhAM8BAlRhAF0CVWEAEQJWYQATAldhAF4CWGEAEwJZYQAsAlphAM4BAl9hAM0BAiRhABECYWIAEQJiYgCCAQJjYgARAmRiABECZWIAgQMCZmIAgAMCZ2IA/wICaGIA/gICaWIAzAECamIAEwJrYgAsAmxiAM4BAm1iAM0BAm5iAP0CAm9iAPwCAnBiAPsCAnFiAPoCAnJiAJADAnNiABECdGIA+QICdWIA+AICdmIAuwECd2IAEQJ4YgCJAwJ5YgARAnpiABECQWIAwgMCQmIAEQJDYgDAAwJEYgDDAwJFYgDBAwJGYgARAkdiADYCSGIAEwJJYgATAkpiABECS2IAEQJMYgBOAk1iABMCTmIAEwJPYgARAlBiABECUWIAWgJSYgBZAlNiABMCVGIAEwJVYgARAlZiACICV2IAWAJYYgATAlliABMCWmIAEQJfYgAiAiRiABMCYWMAEwJiYwARAmNjACICZGMA9wICZWMA9gICZmMAEQJnYwAiAmhjABMCaWMAVQJqYwBWAmtjAKsEAmxjABECbWMAIgJuYwATAm9jAB4CcGMAEwJxYwD1AgJyYwATAnNjAK0CAnRjAPQCAnVjABECdmMAIgJ3YwATAnhjAHwCeWMAfQJ6YwARAkFjACICQmMAEwJDYwAeAkRjAK4CAkVjAK0CAkZjAPMCAkdjAPICAkhjACICSWMAqQQCSmMA8QICS2MAEQJMYwBTAk1jAFQCTmMAqAQCT2MA8AICUGMA7wICUWMAIgJSYwA1AlNjAEECVGMAbgJVYwDuAgJWYwAiAldjABMCWGMAMQJZYwDLAQJaYwARAl9jACICJGMAEwJhZAAxAmJkAMsBAmNkABECZGQAHgJlZACuAgJmZACcBAJnZACdBAJoZACaBAJpZAARAmpkABECa2QAngQCbGQAEQJtZACbBAJuZAARAm9kAMoBAnBkABMCcWQAmAQCcmQAmQQCc2QAEQJ0ZAAeAnVkAMoBAnZkABMCd2QAMgJ4ZAAzAnlkABECemQAHgJBZACgAgJCZADJAQJDZADIAQJEZACXBAJFZACgAgJGZADJAQJHZADIAQJIZADtAgJJZABKAkpkAEkCS2QASQJMZADsAgJNZABKAk5kACYCT2QAEwJQZACVAgJRZACkAQJSZAClAQJTZACEBAJUZACDBAJVZACjAQJWZAAmAldkAHICWGQAhQQCWWQAMQJaZAAmAl9kADQCJGQAEwJhZQDrAgJiZQDqAgJjZQDpAgJkZQCmAQJlZQCHBAJmZQDoAgJnZQBJAmhlACYCaWUAEwJqZQCMAgJrZQCkAQJsZQClAQJtZQCLAgJuZQCiAQJvZQBJAnBlACYCcWUASgJyZQByAnNlAKMBAnRlACYCdWUANAJ2ZQATAndlAMcBAnhlAOcCAnllAOYCAnplAKYBAkFlAI0CAkJlACYCQ2UAEwJEZQCMAgJFZQCkAQJGZQClAQJHZQCLAgJIZQCiAQJJZQBJAkplACYCS2UASgJMZQByAk1lAKMBAk5lACYCT2UANAJQZQD9AwJRZQATAlJlAOUCAlNlACYCVGUAEwJVZQDkAgJWZQDgAQJXZQAmAlhlAOABAlllAKIBAlplALoDAl9lACYCJGUAuwMCYWYAlQICYmYAJgJjZgA0AmRmABECZWYA4wICZmYA4gICZ2YA4QICaGYAvQMCamYAvAMCa2YAxwECbGYA4AICbWYA3wICbmYA3gICb2YApgECcGYAjQICcWYAoAECcmYAoQECc2YAEQJ0ZgBwAnVmAG8CdmYAEQJ3ZgARAnhmALMDAnlmALEDAnpmABECQWYAEQJCZgD8AwJDZgARAkRmAM
;ke(e)||(e=g(e)),ke(t)||(t=g(t)),ke(n)||(n=g(n));var r={global:null,env:null,asm2wasm:v,parent:a},i=null;function o(){try{if(a.wasmBinary)return new Uint8Array(a.wasmBinary);var e=Re(t);if(e)return e;if(a.readBinary)return a.readBinary(t);throw"both async and sync fetching of the wasm failed"}catch(e){Ge(e)}}function s(e,n,s){if("object"!=typeof WebAssembly)return m("no native wasm support detected"),!1;if(!(a.wasmMemory instanceof WebAssembly.Memory))return m("no native wasm Memory in use"),!1;function u(e,t){(i=e.exports).memory&&function(e){var t=a.buffer;e.byteLength<t.byteLength&&m("the new buffer in mergeMemory is smaller than the previous one. in native wasm, we should grow memory here");var n=new Int8Array(t);new Int8Array(e).set(n),V(e),W()}(i.memory),a.asm=i,a.usingWasm=!0,we()}if(n.memory=a.wasmMemory,r.global={NaN:NaN,Infinity:1/0},r["global.Math"]=Math,r.env=n,ve(),a.instantiateWasm)try{return a.instantiateWasm(r,u)}catch(e){return m("Module.instantiateWasm callback failed with error: "+e),!1}function l(e){u(e.instance,e.module)}function d(e){(a.wasmBinary||!f&&!c||"function"!=typeof fetch?new Promise((function(e,t){e(o())})):fetch(t,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+t+"'";return e.arrayBuffer()})).catch((function(){return o()}))).then((function(e){return WebAssembly.instantiate(e,r)})).then(e,(function(e){m("failed to asynchronously prepare wasm: "+e),Ge(e)}))}return a.wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||ke(t)||"function"!=typeof fetch?d(l):WebAssembly.instantiateStreaming(fetch(t,{credentials:"same-origin"}),r).then(l,(function(e){m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),d(l)})),{}}a.asmPreload=a.asm;var u=a.reallocBuffer;a.reallocBuffer=function(e){return"asmjs"===l?u(e):function(e){e=q(e,a.usingWasm?$:z);var t=a.buffer.byteLength;if(a.usingWasm)try{return-1!==a.wasmMemory.grow((e-t)/65536)?a.buffer=a.wasmMemory.buffer:null}catch(e){return null}}(e)};var l="";a.asm=function(e,t,n){if(!t.table){var r=a.wasmTableSize;void 0===r&&(r=1024);var i=a.wasmMaxTableSize;"object"==typeof WebAssembly&&"function"==typeof WebAssembly.Table?t.table=void 0!==i?new WebAssembly.Table({initial:r,maximum:i,element:"anyfunc"}):new WebAssembly.Table({initial:r,element:"anyfunc"}):t.table=new Array(r),a.wasmTable=t.table}var o;return t.__memory_base||(t.__memory_base=a.STATIC_BASE),t.__table_base||(t.__table_base=0),k(o=s(0,t),"no binaryen method succeeded."),o}}Ce();var Ee=[function(){return a.getRandomValue()},function(){if(void 0===a.getRandomValue)try{var e="object"==typeof t?t:self,n=void 0!==e.crypto?e.crypto:e.msCrypto,r=function(){var e=new Uint32Array(1);return n.getRandomValues(e),e[0]>>>0};r(),a.getRandomValue=r}catch(e){try{var i=require("crypto"),o=function(){var e=i.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};o(),a.getRandomValue=o}catch(e){throw"No secure random number generator found"}}}];function Se(e){return Ee[e]()}R=(Y=w)+37024,ie.push();var Be=37024;function Me(e,t,n,r){Ge("Assertion failed: "+S(e)+", at: "+[t?S(t):"unknown filename",n,r?S(r):"unknown function"])}function Le(){a.abort()}function De(e,t,n){return Q.set(Q.subarray(t,t+n),e),e}function xe(e){return a.___errno_location&&(F[a.___errno_location()>>2]=e),e}a.STATIC_BASE=Y,a.STATIC_BUMP=Be,R+=16;var Qe={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,
allocate([24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,97,0,0,116,0,0,0,62,111,2,0,110,0,0,0,116,135,2,0,114,0,0,0,64,111,2,0,102,0,0,0,66,111,2,0,97,0,0,0,68,111,2,0,101,0,0,0,70,111,2,0,119,0,0,0,72,111,2,0,87,0,0,0,85,111,2,0,115,0,0,0,99,111,2,0,83,0,0,0,111,111,2,0,100,0,0,0,124,111,2,0,68,0,0,0,136,111,2,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,156,135,2,0,116,151,2,0,116,151,2,0,116,151,2,0,116,151,2,0,116,151,2,0,116,151,2,0,116,151,2,0,116,151,2,0,116,151,2,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,16,0,0,0,16,0,0,0,0,16,0,0,0,16,0,0,16,16,0,0,16,16,0,0,0,0,16,0,0,0,16,0,16,0,16,0,16,0,16,0,0,16,16,0,0,16,16,0,16,16,16,0,16,16,16,0,0,0,0,0,0,0,0,0,32,0,0,0,32,0,0,0,0,32,0,0,0,32,0,0,32,32,0,0,32,32,0,0,0,0,32,0,0,0,32,0,32,0,32,0,32,0,32,0,0,32,32,0,0,32,32,0,32,32,32,0,32,32,32,0,0,0,0,0,0,0,0,0,64,0,0,0,64,0,0,0,0,64,0,0,0,64,0,0,64,64,0,0,64,64,0,0,0,0,64,0,0,0,64,0,64,0,64,0,64,0,64,0,0,64,64,0,0,64,64,0,64,64,64,0,64,64,64,0,0,0,0,0,0,0,0,0,128,0,0,0,128,0,0,0,0,128,0,0,0,128,0,0,128,128,0,0,128,128,0,0,0,0,128,0,0,0,128,0,128,0,128,0,128,0,128,0,0,128,128,0,0,128,128,0,128,128,128,0,128,128,128,0,0,0,0,0,1,0,0,0,0,1,0,0,1,1,0,0,0,0,1,0,1,0,1,0,0,1,1,0,1,1,1,0,0,0,0,1,1,0,0,1,0,1,0,1,1,1,0,1,0,0,1,1,1,0,1,1,0,1,1,1,1,1,1,1,0,0,0,0,2,0,0,0,0,2,0,0,2,2,0,0,0,0,2,0,2,0,2,0,0,2,2,0,2,2,2,0,0,0,0,2,2,0,0,2,0,2,0,2,2,2,0,2,0,0,2,2,2,0,2,2,0,2,2,2,2,2,2,2,0,0,0,0,4,0,0,0,0,4,0,0,4,4,0,0,0,0,4,0,4,0,4,0,0,4,4,0,4,4,4,0,0,0,0,4,4,0,0,4,0,4,0,4,4,4,0,4,0,0,4,4,4,0,4,4,0,4,4,4,4,4,4,4,0,0,0,0,8,0,0,0,0,8,0,0,8,8,0,0,0,0,8,0,8,0,8,0,0,8,8,0,8,8,8,0,0,0,0,8,8,0,0,8,0,8,0,8,8,8,0,8,0,0,8,8,8,0,8,8,0,8,8,8,8,8,8,8,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,16,0,0,16,0,0,0,16,0,0,0,16,16,0,0,16,16,0,16,0,0,0,16,0,0,0,16,0,16,0,16,0,16,0,16,16,0,0,16,16,0,0,16,16,16,0,16,16,16,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,32,0,0,32,0,0,0,32
allocate([158,101,160,101,162,101,163,101,166,101,168,101,170,101,172,101,174,101,177,101,178,101,179,101,180,101,181,101,182,101,183,101,184,101,186,101,187,101,190,101,191,101,192,101,194,101,199,101,200,101,201,101,202,101,205,101,208,101,209,101,211,101,212,101,213,101,216,101,217,101,218,101,219,101,220,101,221,101,222,101,223,101,225,101,227,101,228,101,234,101,235,101,242,101,243,101,244,101,245,101,248,101,249,101,251,101,252,101,253,101,254,101,255,101,1,102,4,102,5,102,7,102,8,102,9,102,11,102,13,102,16,102,17,102,18,102,22,102,23,102,24,102,26,102,27,102,28,102,30,102,33,102,34,102,35,102,36,102,38,102,41,102,42,102,43,102,44,102,46,102,48,102,50,102,51,102,55,102,56,102,57,102,58,102,59,102,61,102,63,102,64,102,66,102,68,102,69,102,70,102,71,102,72,102,73,102,74,102,77,102,78,102,80,102,81,102,88,102,89,102,91,102,92,102,93,102,94,102,96,102,98,102,99,102,101,102,103,102,105,102,106,102,107,102,108,102,109,102,113,102,114,102,115,102,117,102,120,102,121,102,123,102,124,102,125,102,127,102,128,102,129,102,131,102,133,102,134,102,136,102,137,102,138,102,139,102,141,102,142,102,143,102,144,102,146,102,147,102,148,102,149,102,152,102,153,102,154,102,155,102,156,102,158,102,159,102,160,102,161,102,162,102,163,102,164,102,165,102,166,102,169,102,170,102,171,102,172,102,173,102,175,102,176,102,177,102,178,102,179,102,181,102,182,102,183,102,184,102,186,102,187,102,188,102,189,102,191,102,192,102,193,102,194,102,195,102,196,102,197,102,198,102,199,102,200,102,201,102,202,102,203,102,204,102,205,102,206,102,207,102,208,102,209,102,210,102,211,102,212,102,213,102,214,102,215,102,216,102,218,102,222,102,223,102,224,102,225,102,226,102,227,102,228,102,229,102,231,102,232,102,234,102,235,102,236,102,237,102,238,102,239,102,241,102,245,102,246,102,248,102,250,102,251,102,253,102,1,103,2,103,3,103,4,103,5,103,6,103,7,103,12,103,14,103,15,103,17,103,18,103,19,103,22,103,24,103,25,103,26,103,28,103,30,103,32,103,33,103,34,103,35,103,36,103,37,103,39,103,41,103,46,103,48,103,50,103,51,103,54,103,55,103,56,103,57,103,59,103,60,103,62,103,63,103,65,103,68,103,69,103,71,103,74,103,75,103,77,103,82,103,84,103,85,103,87,103,88,103,89,103,90,103,91,103,93,103,98,103,99,103,100,103,102,103,103,103,107,103,108,103,110,103,113,103,116,103,118,103,120,103,121,103,122,103,123,103,125,103,128,103,130,103,131,103,133,103,134,103,136,103,138,103,140,103,141,103,142,103,143,103,145,103,146,103,147,103,148,103,150,103,153,103,155,103,159,103,160,103,161,103,164,103,166,103,169,103,172,103,174,103,177,103,178,103,180,103,185,103,186,103,187,103,188,103,189,103,190,103,191,103,192,103,194,103,197,103,198,103,199,103,200,103,201,103,202,103,203,103,204,103,205,103,206,103,213,103,214,103,215,103,219,103,223,103,225,103,227,103,228,103,230,103,231,103,232,103,234,103,235,103,237,103,238,103,242,103,245,103,246,103,247,103,248,103,249,103,250,103,251,103,252,103,254,103,1,104,2,104,3,104,4,104,6,104,13,104,16,104,18,104,20,104,21,104,24,104,25,104,26,104,27,104,28,104,30,104,31,104,32,104,34,104,35,104,36,104,37,104,38,104,39,104,40,104,43,104,44,104,45,104,46,104,47,104,48,104,49,104,52,104,53,104,54,104,58,104,59,104,63,104,71,104,75,104,77,104,79,104,82,104,86,104,87,104,88,104,89,104,90,104,91,104,92,104,93,104,94,104,95,104,106,104,108,104,109,104,110,104,111,104,112,104,113,104,114,104,115,104,117,104,120,104,121,104,122,104,123,104,124,104,125,104,126,104,127,104,128,104,130,104,132,104,135,104,136,104,137,104,138,104,139,104,140,104,141,104,142,104,144,104,145,104,146,104,148,104,149,104,150,104,152,104,153,104,154,104,155,104,156,104,157,104,158,104,159,104,160,104,161,104,163,104,164,104,165,104,169,104,170,104,171,104,172,104,174,104,177,104,178,104,180,104,182,104,183,104,184,104,185,104,186,104,187,104,188,104,189,104,190,104,191,104,193,104,195,104,196,104,197,104,198,104,199,104,200,104,202,104,204,104,206,104,207,104,208,104,209,104,211,104,212,104,214,104,215,104,217,104,219,104,220,104,221,104,222,104,223,104,225,104,226,104,228,104,229,104,230,104,231,104,232,104,233,104,234,104,235,104,236,104,237,104,239,104,242,104,243,104,2
allocate([132,91,149,91,147,91,165,91,184,91,47,117,158,154,52,100,228,91,238,91,48,137,240,91,71,142,7,139,182,143,211,143,213,143,229,143,238,143,228,143,233,143,230,143,243,143,232,143,5,144,4,144,11,144,38,144,17,144,13,144,22,144,33,144,53,144,54,144,45,144,47,144,68,144,81,144,82,144,80,144,104,144,88,144,98,144,91,144,185,102,116,144,125,144,130,144,136,144,131,144,139,144,80,95,87,95,86,95,88,95,59,92,171,84,80,92,89,92,113,91,99,92,102,92,188,127,42,95,41,95,45,95,116,130,60,95,59,155,110,92,129,89,131,89,141,89,169,89,170,89,163,89,108,147,109,147,110,147,111,147,112,147,113,147,114,147,115,147,116,147,117,147,118,147,119,147,120,147,121,147,122,147,123,147,124,147,125,147,126,147,127,147,128,147,129,147,130,147,131,147,132,147,133,147,134,147,135,147,136,147,137,147,138,147,139,147,140,147,141,147,142,147,144,147,145,147,146,147,147,147,148,147,149,147,150,147,151,147,152,147,153,147,154,147,155,147,156,147,157,147,158,147,159,147,160,147,161,147,162,147,163,147,164,147,165,147,166,147,167,147,168,147,169,147,170,147,171,147,172,147,173,147,174,147,175,147,176,147,177,147,178,147,179,147,180,147,181,147,182,147,183,147,184,147,185,147,186,147,187,147,188,147,189,147,190,147,191,147,192,147,193,147,194,147,195,147,196,147,197,147,198,147,199,147,200,147,201,147,203,147,204,147,205,147,151,89,202,89,171,89,158,89,164,89,210,89,178,89,175,89,215,89,190,89,5,90,6,90,221,89,8,90,227,89,216,89,249,89,12,90,9,90,50,90,52,90,17,90,35,90,19,90,64,90,103,90,74,90,85,90,60,90,98,90,117,90,236,128,170,90,155,90,119,90,122,90,190,90,235,90,178,90,210,90,212,90,184,90,224,90,227,90,241,90,214,90,230,90,216,90,220,90,9,91,23,91,22,91,50,91,55,91,64,91,21,92,28,92,90,91,101,91,115,91,81,91,83,91,98,91,117,154,119,154,120,154,122,154,127,154,125,154,128,154,129,154,133,154,136,154,138,154,144,154,146,154,147,154,150,154,152,154,155,154,156,154,157,154,159,154,160,154,162,154,163,154,165,154,167,154,159,126,161,126,163,126,165,126,168,126,169,126,206,147,207,147,208,147,209,147,210,147,211,147,212,147,213,147,215,147,216,147,217,147,218,147,219,147,220,147,221,147,222,147,223,147,224,147,225,147,226,147,227,147,228,147,229,147,230,147,231,147,232,147,233,147,234,147,235,147,236,147,237,147,238,147,239,147,240,147,241,147,242,147,243,147,244,147,245,147,246,147,247,147,248,147,249,147,250,147,251,147,252,147,253,147,254,147,255,147,0,148,1,148,2,148,3,148,4,148,5,148,6,148,7,148,8,148,9,148,10,148,11,148,12,148,13,148,14,148,15,148,16,148,17,148,18,148,19,148,20,148,21,148,22,148,23,148,24,148,25,148,26,148,27,148,28,148,29,148,30,148,31,148,32,148,33,148,34,148,35,148,36,148,37,148,38,148,39,148,40,148,41,148,42,148,43,148,44,148,45,148,46,148,173,126,176,126,190,126,192,126,193,126,194,126,201,126,203,126,204,126,208,126,212,126,215,126,219,126,224,126,225,126,232,126,235,126,238,126,239,126,241,126,242,126,13,127,246,126,250,126,251,126,254,126,1,127,2,127,3,127,7,127,8,127,11,127,12,127,15,127,17,127,18,127,23,127,25,127,28,127,27,127,31,127,33,127,34,127,35,127,36,127,37,127,38,127,39,127,42,127,43,127,44,127,45,127,47,127,48,127,49,127,50,127,51,127,53,127,122,94,127,117,219,93,62,117,149,144,142,115,145,115,174,115,162,115,159,115,207,115,194,115,209,115,183,115,179,115,192,115,201,115,200,115,229,115,217,115,124,152,10,116,233,115,231,115,222,115,186,115,242,115,15,116,42,116,91,116,38,116,37,116,40,116,48,116,46,116,44,116,47,148,48,148,49,148,50,148,51,148,52,148,53,148,54,148,55,148,56,148,57,148,58,148,59,148,60,148,61,148,63,148,64,148,65,148,66,148,67,148,68,148,69,148,70,148,71,148,72,148,73,148,74,148,75,148,76,148,77,148,78,148,79,148,80,148,81,148,82,148,83,148,84,148,85,148,86,148,87,148,88,148,89,148,90,148,91,148,92,148,93,148,94,148,95,148,96,148,97,148,98,148,99,148,100,148,101,148,102,148,103,148,104,148,105,148,106,148,108,148,109,148,110,148,111,148,112,148,113,148,114,148,115,148,116,148,117,148,118,148,119,148,120,148,121,148,122,148,123,148,124,148,125,148,126,148,127,148,128,148,129,148,130,148,131,148,132,148,145,148,150,148,152,148,199,148,207,148,211,148,212,148,218,148,230,148,251,148,28,149,32
allocate([15,101,224,102,221,102,229,106,221,106,218,106,211,106,27,112,31,112,40,112,26,112,29,112,21,112,24,112,6,114,13,114,88,114,162,114,120,115,122,115,189,116,202,116,227,116,135,117,134,117,95,118,97,118,199,119,25,121,177,121,107,122,105,122,62,124,63,124,56,124,61,124,55,124,64,124,107,126,109,126,121,126,105,126,106,126,133,127,115,126,182,127,185,127,184,127,216,129,233,133,221,133,234,133,213,133,228,133,229,133,247,133,251,135,5,136,13,136,249,135,254,135,96,137,95,137,86,137,94,137,65,139,92,139,88,139,73,139,90,139,78,139,79,139,70,139,89,139,8,141,10,141,124,142,114,142,135,142,118,142,108,142,122,142,116,142,84,143,78,143,173,143,138,144,139,144,177,145,174,145,225,147,209,147,223,147,195,147,200,147,220,147,221,147,214,147,226,147,205,147,216,147,228,147,215,147,232,147,220,149,180,150,227,150,42,151,39,151,97,151,220,151,251,151,94,152,88,152,91,152,188,152,69,153,73,153,22,154,25,154,13,155,232,155,231,155,214,155,219,155,137,157,97,157,114,157,106,157,108,157,146,158,151,158,147,158,180,158,248,82,168,86,183,86,182,86,180,86,188,86,228,88,64,91,67,91,125,91,246,91,201,93,248,97,250,97,24,101,20,101,25,101,230,102,39,103,236,106,62,112,48,112,50,112,16,114,123,115,207,116,98,118,101,118,38,121,42,121,44,121,43,121,199,122,246,122,76,124,67,124,77,124,239,124,240,124,174,143,125,126,124,126,130,126,76,127,0,128,218,129,102,130,251,133,249,133,17,134,250,133,6,134,11,134,7,134,10,134,20,136,21,136,100,137,186,137,248,137,112,139,108,139,102,139,111,139,95,139,107,139,15,141,13,141,137,142,129,142,133,142,130,142,180,145,203,145,24,148,3,148,253,147,225,149,48,151,196,152,82,153,81,153,168,153,43,154,48,154,55,154,53,154,19,156,13,156,121,158,181,158,232,158,47,159,95,159,99,159,97,159,55,81,56,81,193,86,192,86,194,86,20,89,108,92,205,93,252,97,254,97,29,101,28,101,149,101,233,102,251,106,4,107,250,106,178,107,76,112,27,114,167,114,214,116,212,116,105,118,211,119,80,124,143,126,140,126,188,127,23,134,45,134,26,134,35,136,34,136,33,136,31,136,106,137,108,137,189,137,116,139,119,139,125,139,19,141,138,142,141,142,139,142,95,143,175,143,186,145,46,148,51,148,53,148,58,148,56,148,50,148,43,148,226,149,56,151,57,151,50,151,255,151,103,152,101,152,87,153,69,154,67,154,64,154,62,154,207,154,84,155,81,155,45,156,37,156,175,157,180,157,194,157,184,157,157,158,239,158,25,159,92,159,102,159,103,159,60,81,59,81,200,86,202,86,201,86,127,91,212,93,210,93,78,95,255,97,36,101,10,107,97,107,81,112,88,112,128,115,228,116,138,117,110,118,108,118,179,121,96,124,95,124,126,128,125,128,223,129,114,137,111,137,252,137,128,139,22,141,23,141,145,142,147,142,97,143,72,145,68,148,81,148,82,148,61,151,62,151,195,151,193,151,107,152,85,153,85,154,77,154,210,154,26,155,73,156,49,156,62,156,59,156,211,157,215,157,52,159,108,159,106,159,148,159,204,86,214,93,0,98,35,101,43,101,42,101,236,102,16,107,218,116,202,122,100,124,99,124,101,124,147,126,150,126,148,126,226,129,56,134,63,134,49,136,138,139,144,144,143,144,99,148,96,148,100,148,104,151,111,152,92,153,90,154,91,154,87,154,211,154,212,154,209,154,84,156,87,156,86,156,229,157,159,158,244,158,209,86,233,88,44,101,94,112,113,118,114,118,215,119,80,127,136,127,54,136,57,136,98,136,147,139,146,139,150,139,119,130,27,141,192,145,106,148,66,151,72,151,68,151,198,151,112,152,95,154,34,155,88,155,95,156,249,157,250,157,124,158,125,158,7,159,119,159,114,159,243,94,22,107,99,112,108,124,110,124,59,136,192,137,161,142,193,145,114,148,112,148,113,152,94,153,214,154,35,155,204,158,100,112,218,119,154,139,119,148,201,151,98,154,101,154,156,126,156,139,170,142,197,145,125,148,126,148,124,148,119,156,120,156,247,158,84,140,127,148,26,158,40,114,106,154,49,155,27,158,30,158,114,124,96,36,97,36,98,36,99,36,100,36,101,36,102,36,103,36,104,36,105,36,116,36,117,36,118,36,119,36,120,36,121,36,122,36,123,36,124,36,125,36,112,33,113,33,114,33,115,33,116,33,117,33,118,33,119,33,120,33,121,33,54,78,63,78,133,78,160,78,130,81,150,81,171,81,249,82,56,83,105,83,182,83,10,89,128,91,219,93,122,94,127,94,244,94,80,95,97,95,52,101,224,101,146,117,118,118,181,143,182,150,168,0,198,2,253,48,254,48,157,48,158,48,0,0
allocate([175,122,71,126,94,126,0,128,112,129,194,249,239,135,129,137,32,139,89,144,195,249,128,144,82,153,126,97,50,107,116,109,31,126,37,137,177,143,209,79,173,80,151,81,199,82,199,87,137,88,185,91,184,94,66,97,149,105,140,109,103,110,182,110,148,113,98,116,40,117,44,117,115,128,56,131,201,132,10,142,148,147,222,147,196,249,142,78,81,79,118,80,42,81,200,83,203,83,243,83,135,91,211,91,36,92,26,97,130,97,244,101,91,114,151,115,64,116,194,118,80,121,145,121,185,121,6,125,189,127,139,130,213,133,94,134,194,143,71,144,245,144,234,145,133,150,232,150,233,150,214,82,103,95,237,101,49,102,47,104,92,113,54,122,193,144,10,152,145,78,197,249,82,106,158,107,144,111,137,113,24,128,184,130,83,133,75,144,149,150,242,150,251,151,26,133,49,155,144,78,138,113,196,150,67,81,159,83,225,84,19,87,18,87,163,87,155,90,196,90,195,91,40,96,63,97,244,99,133,108,57,109,114,110,144,110,48,114,63,115,87,116,209,130,129,136,69,143,96,144,198,249,98,150,88,152,27,157,8,103,138,141,94,146,77,79,73,80,222,80,113,83,13,87,212,89,1,90,9,92,112,97,144,102,45,110,50,114,75,116,239,125,195,128,14,132,102,132,63,133,95,135,91,136,24,137,2,139,85,144,203,151,79,155,115,78,145,79,18,81,106,81,199,249,47,85,169,85,122,91,165,91,124,94,125,94,190,94,160,96,223,96,8,97,9,97,196,99,56,101,9,103,200,249,212,103,218,103,201,249,97,105,98,105,185,108,39,109,202,249,56,110,203,249,225,111,54,115,55,115,204,249,92,116,49,117,205,249,82,118,206,249,207,249,173,125,254,129,56,132,213,136,152,138,219,138,237,138,48,142,66,142,74,144,62,144,122,144,73,145,201,145,110,147,208,249,209,249,9,88,210,249,211,107,137,128,178,128,211,249,212,249,65,81,107,89,57,92,213,249,214,249,100,111,167,115,228,128,7,141,215,249,23,146,143,149,216,249,217,249,218,249,219,249,127,128,14,98,28,112,104,125,141,135,220,249,160,87,105,96,71,97,183,107,190,138,128,146,177,150,89,78,31,84,235,109,45,133,112,150,243,151,238,152,214,99,227,108,145,144,221,81,201,97,186,129,249,157,157,79,26,80,0,81,156,91,15,97,255,97,236,100,5,105,197,107,145,117,227,119,169,127,100,130,143,133,251,135,99,136,188,138,112,139,171,145,140,78,229,78,10,79,221,249,222,249,55,89,232,89,223,249,242,93,27,95,91,95,33,96,224,249,225,249,226,249,227,249,62,114,229,115,228,249,112,117,205,117,229,249,251,121,230,249,12,128,51,128,132,128,225,130,81,131,231,249,232,249,189,140,179,140,135,144,233,249,234,249,244,152,12,153,235,249,236,249,55,112,202,118,202,127,204,127,252,127,26,139,186,78,193,78,3,82,112,83,237,249,189,84,224,86,251,89,197,91,21,95,205,95,110,110,238,249,239,249,106,125,53,131,240,249,147,134,141,138,241,249,109,151,119,151,242,249,243,249,0,78,90,79,126,79,249,88,229,101,162,110,56,144,176,147,185,153,251,78,236,88,138,89,217,89,65,96,244,249,245,249,20,122,246,249,79,131,195,140,101,81,68,83,247,249,248,249,249,249,205,78,105,82,85,91,191,130,212,78,58,82,168,84,201,89,255,89,80,91,87,91,92,91,99,96,72,97,203,110,153,112,110,113,134,115,247,116,181,117,193,120,43,125,5,128,234,129,40,131,23,133,201,133,238,138,199,140,204,150,92,79,250,82,188,86,171,101,40,102,124,112,184,112,53,114,189,125,141,130,76,145,192,150,114,157,113,91,231,104,152,107,122,111,222,118,145,92,171,102,91,111,180,123,42,124,54,136,220,150,8,78,215,78,32,83,52,88,187,88,239,88,108,89,7,92,51,94,132,94,53,95,140,99,178,102,86,103,31,106,163,106,12,107,63,111,70,114,250,249,80,115,139,116,224,122,167,124,120,129,223,129,231,129,138,131,108,132,35,133,148,133,207,133,221,136,19,141,172,145,119,149,156,150,141,81,201,84,40,87,176,91,77,98,80,103,61,104,147,104,61,110,211,110,125,112,33,126,193,136,161,140,9,143,75,159,78,159,45,114,143,123,205,138,26,147,71,79,78,79,50,81,128,84,208,89,149,94,181,98,117,103,110,105,23,106,174,108,26,110,217,114,42,115,189,117,184,123,53,125,231,130,249,131,87,132,247,133,91,138,175,140,135,142,25,144,184,144,206,150,95,159,227,82,10,84,225,90,194,91,88,100,117,101,244,110,196,114,251,249,132,118,77,122,27,123,77,124,62,126,223,127,123,131,43,139,202,140,100,141,225,141,95,142,234,143,249,143,105,144,209,147,67,79,122,79,179,80,104,81,120,81,77,82,106,82,97,88,124,88,96,89,8,92,85,92,219,94,155,96,48,98,19
if(128&t)throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}else a=FS.mknod(e,n,0),o=!0;if(!a)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(FS.isChrdev(a.mode)&&(t&=-513),65536&t&&!FS.isDir(a.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);if(!o){var s=FS.mayOpen(a,t);if(s)throw new FS.ErrnoError(s)}512&t&&FS.truncate(a,0),t&=-641;var f=FS.createStream({node:a,path:FS.getPath(a),flags:t,seekable:!0,position:0,stream_ops:a.stream_ops,ungotten:[],error:!1},r,i);f.stream_ops.open&&f.stream_ops.open(f),!Module.logReadFiles||1&t||(FS.readFiles||(FS.readFiles={}),e in FS.readFiles||(FS.readFiles[e]=1,Module.printErr("read file: "+e)));try{if(FS.trackingDelegate.onOpenFile){var c=0;1!=(2097155&t)&&(c|=FS.tracking.openFlags.READ),0!=(2097155&t)&&(c|=FS.tracking.openFlags.WRITE),FS.trackingDelegate.onOpenFile(e,c)}}catch(t){alert("FS.trackingDelegate['onOpenFile']('"+e+"', flags) threw an exception: "+t.message)}return f},close:function(e){e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{FS.closeStream(e.fd)}},llseek:function(e,t,n){if(!e.seekable||!e.stream_ops.llseek)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);return e.position=e.stream_ops.llseek(e,t,n),e.ungotten=[],e.position},read:function(e,t,n,r,i){if(r<0||i<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(1==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.read)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var a=!0;if(void 0===i)i=e.position,a=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var o=e.stream_ops.read(e,t,n,r,i);return a||(e.position+=o),o},write:function(e,t,n,r,i,a){if(r<0||i<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.write)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);1024&e.flags&&FS.llseek(e,0,2);var o=!0;if(void 0===i)i=e.position,o=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var s=e.stream_ops.write(e,t,n,r,i,a);o||(e.position+=s);try{e.path&&FS.trackingDelegate.onWriteToFile&&FS.trackingDelegate.onWriteToFile(e.path)}catch(e){alert("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return s},allocate:function(e,t,n){if(t<0||n<=0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(!FS.isFile(e.node.mode)&&!FS.isDir(node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(!e.stream_ops.allocate)throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);e.stream_ops.allocate(e,t,n)},mmap:function(e,t,n,r,i,a,o){if(1==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EACCES);if(!e.stream_ops.mmap)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);return e.stream_ops.mmap(e,t,n,r,i,a,o)},msync:function(e,t,n,r,i){return e&&e.stream_ops.msync?e.stream_ops.msync(e,t,n,r,i):0},munmap:function(e){return 0},ioctl:function(e,t,n){if(!e.stream_ops.ioctl)throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);return e.stream_ops.ioctl(e,t,n)},readFile:function(e,t){if((t=t||{}).flags=t.flags||"r",t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var n,r=FS.open(e,t.flags),i=FS.stat(e).size,a=new Uint8Array(i);return FS.read(r,a,0,i,0),"utf8"===t.encoding?n=UTF8ArrayToString(a,0):"binary"===t.encoding&&(n=a),FS.close(r),n},writeFile:function(e,t,n){if((n=n||{}).flags=n.flags||"w",n.encoding=n.encoding||"utf8","utf8"!==n.encoding&&"binary"!==n.encoding)throw new Error('Invalid encoding type "'+n.encoding+'"');var r=FS.open(e,n.flags,n.mode);if("utf8"===n.encoding){var i=new Uint8Array(lengthBytesUTF8(t)+1),a=stringToUTF8Array(t,i,0,i.length);FS.write(r,i,0,a,0,n.canOwn)}else"binary"===n.encoding&&FS.write(r,t,0,t.length,0,n.canOwn);FS.close(r)},cwd:function(){return FS.currentPath},chdir:function(e){var t=FS.lookupPath(e,{follow:!0});if(!FS.isDir(t.node.mode))throw new FS.ErrnoErr
v=c-c;u[e>>3]=s*s*v;u[e+8>>3]=(s+s)*v}}while(0);l=n;return}function fi(e,t,n){e=e|0;t=t|0;n=n|0;var o=0,s=0,f=0,c=0,u=0,h=0,_=0,g=0,p=0,m=0,A=0,y=0,b=0,v=0;o=l;l=l+80|0;if((l|0)>=(d|0))ae();s=o+8|0;f=o;c=s;u=c+64|0;do{a[c>>2]=0;c=c+4|0}while((c|0)<(u|0));e:do{if((t|0)!=10){c=0;u=n;t:while(1){a[s+(c<<2)>>2]=km(u,f,0)|0;h=a[f>>2]|0;if((h|0)==(u|0)){_=5;break}g=r[h>>0]|0;switch(g<<24>>24){case 46:case 0:break;default:{_=5;break t}}if(((r[u>>0]|0)+-48|0)>>>0>=10){_=5;break}if(!(g<<24>>24)){p=c;break}g=c+1|0;if((g|0)<4){c=g;u=h+1|0}else{p=g;break}}if((_|0)==5)if((t|0)==2){m=-1;break}else{_=16;break}switch(p|0){case 4:{m=-1;break e;break}case 0:{u=a[s>>2]|0;c=u&16777215;g=s+4|0;a[g>>2]=c;a[s>>2]=u>>>24;A=g;y=c;_=12;break}case 1:{c=s+4|0;A=c;y=a[c>>2]|0;_=12;break}case 2:{c=s+8|0;b=c;v=a[c>>2]|0;_=13;break}default:{}}if((_|0)==12){c=y&65535;g=s+8|0;a[g>>2]=c;a[A>>2]=y>>>16;b=g;v=c;_=13}if((_|0)==13){a[s+12>>2]=v&255;a[b>>2]=v>>>8}i[e>>1]=2;c=a[s>>2]|0;if(((c>>>0<=255?(r[e+4>>0]=c,c=a[s+4>>2]|0,c>>>0<=255):0)?(r[e+5>>0]=c,c=a[s+8>>2]|0,c>>>0<=255):0)?(r[e+6>>0]=c,c=a[s+12>>2]|0,c>>>0<=255):0){r[e+7>>0]=c;m=0}else m=-1}else _=16}while(0);if((_|0)==16){i[e>>1]=10;m=((zk(10,n,e+8|0)|0)<1)<<31>>31}l=o;return m|0}function ci(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,o=0,s=0.0,f=0,u=0.0,_=0,g=0.0,p=0,m=0,A=0,y=0.0,b=0,v=0;n=l;l=l+32|0;if((l|0)>=(d|0))ae();r=n+16|0;i=n+8|0;o=n;s=+c[t>>2];f=t+4|0;u=+c[f>>2];_=(c[h>>2]=s,a[h>>2]|0);g=+U(+s);p=(c[h>>2]=g,a[h>>2]|0);g=+U(+u);m=(c[h>>2]=g,a[h>>2]|0);A=(p|0)<2139095040;do{if(A&(m|0)<2139095040){if(!m){c[e>>2]=+iu(s);c[e+4>>2]=u;break}if((p|0)<1091567616){g=+iu(s)*+z(+u);y=+ol(s)*+J(+u);c[e>>2]=g;c[e+4>>2]=y;break}if((p|0)<1118925336){y=+Z(+ +U(+s))*.5;g=y*+J(+u);c[e>>2]=+Bg(y,s)*+z(+u);c[e+4>>2]=g;break}if((p|0)<1128313319){c[o>>2]=+U(+s);c[o+4>>2]=u;a[r>>2]=a[o>>2];a[r+4>>2]=a[o+4>>2];Of(i,r,-1);b=a[i>>2]|0;v=a[i+4>>2]|0;a[t>>2]=b;a[f>>2]=v;g=(a[h>>2]=b,+c[h>>2]);c[e>>2]=g*+Bg(1.0,s);a[e+4>>2]=v;break}else{g=s*1701411834604692317316873.0e14;y=g*g*+J(+u);c[e>>2]=g*+z(+u);c[e+4>>2]=y;break}}else{v=(m|0)>2139095039;if((p|0)==0&v){y=u-u;c[e>>2]=+Bg(0.0,s*y);c[e+4>>2]=y;break}b=(p|0)>2139095039;if(b&(m|0)==0)if(!(_&8388607)){c[e>>2]=s;c[e+4>>2]=u;break}else{y=+Bg(0.0,u);c[e>>2]=s;c[e+4>>2]=y;break}if(A&v){y=u-u;c[e>>2]=y;c[e+4>>2]=s*y;break}if(!(b&(_&8388607|0)==0)){y=u-u;c[e>>2]=s*s*y;c[e+4>>2]=(s+s)*y;break}if(v){c[e>>2]=s*s;c[e+4>>2]=s*(u-u);break}else{y=s*+z(+u);g=+J(+u)*w;c[e>>2]=y;c[e+4>>2]=g;break}}}while(0);l=n;return}function ui(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,o=0,s=0,f=0.0;e:do{if(t>>>0<=20)do{switch(t|0){case 9:{r=(a[n>>2]|0)+(4-1)&~(4-1);i=a[r>>2]|0;a[n>>2]=r+4;a[e>>2]=i;break e;break}case 10:{i=(a[n>>2]|0)+(4-1)&~(4-1);r=a[i>>2]|0;a[n>>2]=i+4;i=e;a[i>>2]=r;a[i+4>>2]=((r|0)<0)<<31>>31;break e;break}case 11:{r=(a[n>>2]|0)+(4-1)&~(4-1);i=a[r>>2]|0;a[n>>2]=r+4;r=e;a[r>>2]=i;a[r+4>>2]=0;break e;break}case 12:{r=(a[n>>2]|0)+(8-1)&~(8-1);i=r;o=a[i>>2]|0;s=a[i+4>>2]|0;a[n>>2]=r+8;r=e;a[r>>2]=o;a[r+4>>2]=s;break e;break}case 13:{s=(a[n>>2]|0)+(4-1)&~(4-1);r=a[s>>2]|0;a[n>>2]=s+4;s=(r&65535)<<16>>16;r=e;a[r>>2]=s;a[r+4>>2]=((s|0)<0)<<31>>31;break e;break}case 14:{s=(a[n>>2]|0)+(4-1)&~(4-1);r=a[s>>2]|0;a[n>>2]=s+4;s=e;a[s>>2]=r&65535;a[s+4>>2]=0;break e;break}case 15:{s=(a[n>>2]|0)+(4-1)&~(4-1);r=a[s>>2]|0;a[n>>2]=s+4;s=(r&255)<<24>>24;r=e;a[r>>2]=s;a[r+4>>2]=((s|0)<0)<<31>>31;break e;break}case 16:{s=(a[n>>2]|0)+(4-1)&~(4-1);r=a[s>>2]|0;a[n>>2]=s+4;s=e;a[s>>2]=r&255;a[s+4>>2]=0;break e;break}case 17:{s=(a[n>>2]|0)+(8-1)&~(8-1);f=+u[s>>3];a[n>>2]=s+8;u[e>>3]=f;break e;break}case 18:{s=(a[n>>2]|0)+(8-1)&~(8-1);f=+u[s>>3];a[n>>2]=s+8;u[e>>3]=f;break e;break}default:break e}}while(0)}while(0);return}function li(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,o=0,s=0,f=0.0;e:do{if(t>>>0<=20)do{switch(t|0){case 9:{r=(a[n>>2]|0)+(4-1)&~(4-1);i=a[r>>2]|0;a[n>>2]=r+4;a[e>>2]=i;break e;break}case 10:{i=(a[n>>2]|0)+(4-1)&~(4-1);r=a[i>>2]|0;a[n>>2]=i+4;i=e;a[i>>2]=r;a[i+4>>2]=((r|0)<0)<<31>>31;break e;break}case 11:{r=(a[n>>2]|0)+(4-1)&~(4-1);i=a[r>>2]|0;a[n>>2]=r+4;r=e;a[r>>2]=i;a[r+4>>2]=0;break e;break}case 12:{r=(
;if((a[n+20>>2]|0)>>>0>(a[n+28>>2]|0)>>>0)f=zf(n)|0|r;else f=r;if(s|0)NI(n);n=a[n+56>>2]|0;if(!n){o=f;break}else r=f}}xr(166076);t=o}}while(0);return t|0}function ms(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,o=0,s=0,f=0,c=0,u=0;n=l;l=l+32|0;if((l|0)>=(d|0))ae();r=n+16|0;i=n;o=n+24|0;a[i>>2]=0;a[i+4>>2]=e;a[i+8>>2]=t;a[i+12>>2]=0;s=Zn(340,i|0)|0;if((s|0)==-38){i=t;f=a[i>>2]|0;c=a[i+4>>2]|0;i=c>>>0<0|(c|0)==0&f>>>0<4294967295;c=i?f:-1;a[o>>2]=c;c=t+8|0;t=a[c>>2]|0;f=a[c+4>>2]|0;c=f>>>0<0|(f|0)==0&t>>>0<4294967295;f=c?t:-1;a[o+4>>2]=f;a[r>>2]=e;a[r+4>>2]=o;u=Ve(75,r|0)|0}else u=s;l=n;return u|0}function As(e){e=e|0;var t=0,n=0,r=0,i=0,o=0,f=0,c=0,u=0,h=0;t=l;l=l+16|0;if((l|0)>=(d|0))ae();n=t;r=e+8|0;i=a[r>>2]|0;o=e+12|0;do{if((i|0)>=(a[o>>2]|0)){a[n>>2]=a[e>>2];a[n+4>>2]=e+24;a[n+8>>2]=2048;f=Ee(220,n|0)|0;if((f|0)>=1){a[o>>2]=f;a[r>>2]=0;c=0;u=6;break}if((f|0)<0&(f|0)!=-2){a[(Em()|0)>>2]=0-f;h=0}else h=0}else{c=i;u=6}}while(0);if((u|0)==6){u=e+24+c|0;a[r>>2]=(s[u+8>>1]|0)+c;a[e+4>>2]=a[u+4>>2];h=u}l=t;return h|0}function ys(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;var s=0,f=0,c=0,u=0,h=0;s=l;l=l+32|0;if((l|0)>=(d|0))ae();f=s;do{if((o&4095|0)==0&(((o|0)<0)<<31>>31&-4096|0)==0){if(t>>>0>2147483646){a[(Em()|0)>>2]=12;c=-1;break}u=(r&16|0)!=0;if(u)sC[3&7](-1);a[f>>2]=e;a[f+4>>2]=t;a[f+8>>2]=n;a[f+12>>2]=r;a[f+16>>2]=i;a[f+20>>2]=o>>12;h=Lp(xn(192,f|0)|0)|0;if(u){lC[2&3]();c=h}else c=h}else{a[(Em()|0)>>2]=22;c=-1}}while(0);l=s;return c|0}function bs(e,t){e=e|0;t=t|0;var n=0,r=0;do{if(!(a[41858]|0)){n=Xn(30)|0;if(!(n+-1&n)){a[41860]=n;a[41859]=n;a[41861]=-1;a[41862]=-1;a[41863]=0;a[41851]=0;a[41858]=(rn(0)|0)&-16^1431655768;break}else Je()}}while(0);switch(e|0){case-1:{a[41862]=t;r=1;return r|0}case-2:{if((a[41859]|0)>>>0>t>>>0){r=0;return r|0}if(t+-1&t|0){r=0;return r|0}a[41860]=t;r=1;return r|0}case-3:{a[41861]=t;r=1;return r|0}default:{r=0;return r|0}}return 0}function vs(e){e=+e;var t=0,n=0.0,r=0.0,i=0.0,o=0.0;u[h>>3]=e;t=a[h+4>>2]&2147483647;do{if(t>>>0<=2146435071){n=+U(+e);if(t>>>0>1073741823){r=+Hi(t,n,0);break}if(t>>>0>1059061759){i=n*n;o=n*.5;r=(o+1.0)*(1.0-o)+i*(i*(i*(i*(1.8295404953270067e-06-i*4.618326885321032e-09)+-1.8997929423885472e-04)+.015624999999999995)/(i*(i*(i*(i*1.1661400333379e-09+5.135465502073181e-07)+1.1692678466333745e-04)+.015619102946489001)+1.0));break}else{r=1.0-(t>>>0>939524095?n*(n*.25):n);break}}else r=1.0/(e*e)}while(0);return+r}function ws(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var o=0,s=0,f=0,c=0,u=0,h=0;o=l;l=l+384|0;if((l|0)>=(d|0))ae();s=o+8|0;f=o+120|0;c=o;a[c>>2]=e;a[c+4>>2]=t+-1;e=s;u=e+112|0;do{a[e>>2]=0;e=e+4|0}while((e|0)<(u|0));r[s+75>>0]=-1;a[s+36>>2]=14;a[s+48>>2]=256;a[s+44>>2]=f;a[s+76>>2]=-1;a[s+84>>2]=c;do{if(t)if((t|0)<0){a[(Em()|0)>>2]=75;h=-1;break}else{c=Is(s,n,i)|0;zo(s,0,0)|0;h=c>>>0>=t>>>0?-1:c;break}else h=-1}while(0);l=o;return h|0}function Is(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0,s=0,f=0,c=0,u=0,h=0,_=0;i=l;l=l+128|0;if((l|0)>=(d|0))ae();o=i+112|0;s=i+72|0;f=i;c=s;u=c+36|0;do{a[c>>2]=0;c=c+4|0}while((c|0)<(u|0));a[o>>2]=a[n>>2];if((yk(0,t,o,f,s)|0)<0)h=-1;else{if((a[e+76>>2]|0)>-1)_=(SI(e)|0)!=0;else _=0;n=e+74|0;c=r[n>>0]|0;r[n>>0]=c+1|c;c=a[e>>2]|0;a[e>>2]=c&-33;n=yk(e,t,o,f,s)|0;s=a[e>>2]|0;a[e>>2]=s|c&32;if(_)NI(e);h=s&32|0?-1:n}l=i;return h|0}function ks(e){e=+e;var t=0.0,n=0,r=0.0,i=0.0,o=0.0;t=+U(+e);n=(c[h>>2]=t,a[h>>2]|0);do{if(n>>>0<=2139095039){t=+U(+e);if(n>>>0>1073741823){r=+Oi(n,t,0);break}if(n>>>0>973078527){i=t*t;o=t*.5;r=(o+1.0)*(1.0-o)+i*(i*(i*(i*(1.8295404515811242e-06-i*4.618327054117799e-09)+-1.8997929873876274e-04)+.015625)/(i*(i*(i*(i*1.1661400733942173e-09+5.135465244165971e-07)+1.1692678526742384e-04)+.015619102865457535)+1.0));break}else{r=1.0-(n>>>0>562036735?t*(t*.25):t);break}}else r=1.0/(e*e)}while(0);return+r}function Cs(e,t){e=+e;t=t|0;var n=0.0,r=0,i=0,o=0,s=0.0;if((t|0)>1023){n=e*8988465674311579538646525.0e283;r=t+-1023|0;if((r|0)>1023){i=t+-2046|0;o=(i|0)>1023?1023:i;s=n*8988465674311579538646525.0e283}else{o=r;s=n}}else if((t|0)<-1022){n=e*2.2250738585072014e-308;r=t+1022|0;if((r|0)<-1022){i=t+2044|0;o=(i|0)<-1022?-1022:i;s=n*2.2250738
;return 0}function Iy(e,t,n){e=+e;t=+t;n=n|0;return+ +Ok(e,t,n)}function ky(e){e=e|0;return(e>>>0<32|(e|0)==127)&1|0}function Cy(e,t,n){e=+e;t=+t;n=+n;return+ +Fr(+e,+t,+n)}function Ey(e){e=e|0;return+ +X(+ +u[e+8>>3],+ +u[e>>3])}function Sy(e){e=e|0;return+ +X(+ +c[e+4>>2],+ +c[e>>2])}function By(e,t,n){e=e|0;t=t|0;n=n|0;se(0);return 0}function My(e){e=e|0;return((e|0)==32|(e|0)==9)&1|0}function Ly(e){e=+e;return(c[h>>2]=e,a[h>>2]|0)>>>31|0}function Dy(e,t){e=e|0;t=t|0;return Wi(-100,e,t,256)|0}function xy(e,t){e=e|0;t=t|0;if(!m){m=e;A=t}}function Qy(e,t){e=e|0;t=t|0;return Ah(e,t|4096,0)|0}function Ty(e){e=e|0;return((e|32)+-97|0)>>>0<26|0}function Fy(e,t){e=e|0;t=t|0;return uC[e&7](t|0)|0}function Py(e,t,n){e=e|0;t=t|0;n=n|0;return t|0}function Ny(e,t){e=e|0;t=t|0;ha(e,t)|0;return e|0}function Yy(e,t){e=e|0;t=t|0;return Rf(204,e,t,0)|0}function Ry(e,t){e=e|0;t=t|0;return Rf(203,e,t,0)|0}function Oy(e,t){e=e|0;t=t|0;return xo(e,t,169642)|0}function Hy(e){e=e|0;return+ +ra(+u[e>>3],+u[e+8>>3])}function jy(e){e=e|0;return+ +bo(+c[e>>2],+c[e+4>>2])}function Uy(e){e=e|0;if(!(a[e+68>>2]|0))NI(e);return}function Gy(e){e=e|0;if(!(a[e+68>>2]|0))NI(e);return}function $y(e){e=e|0;return((e|0)>0?e:0-e|0)|0}function zy(e){e=e|0;Xt(166908);Qf(e);xr(166908);return}function Jy(e){e=e|0;return(a[e>>2]|0)>>>2&1^1|0}function qy(e){e=e|0;return(a[e>>2]|0)>>>3&1^1|0}function Vy(e,t){e=e|0;t=t|0;return Ed(e,0,t,0)|0}function Wy(e,t,n){e=e|0;t=t|0;n=n|0;return-1}function Ky(e){e=+e;return e>=0.0?+j(e+.5):+te(e-.5)}function Xy(e){e=+e;return e>=0.0?+j(e+.5):+te(e-.5)}function Zy(e,t){e=e|0;t=t|0;return qo(e,t,-1)|0}function eb(e){e=+e;var t=0;t=eg(e)|0;return t|0}function tb(e,t){e=e|0;t=t|0;return+ +Tf(e,t,1)}function nb(e,t){e=e|0;t=t|0;return+ +Tf(e,t,0)}function rb(e,t){e=e|0;t=t|0;return+ +Tf(e,t,2)}function ib(e){e=e|0;return Ui(e,166932,169845,256)|0}function ab(e,t){e=e|0;t=t|0;return+ +_s(e,t,1)}function ob(e,t){e=e|0;t=t|0;return+ +_s(e,t,0)}function sb(e,t){e=e|0;t=t|0;return+ +_s(e,t,2)}function fb(e,t){e=e|0;t=t|0;return Lo(e,0,t)|0}function cb(e,t){e=e|0;t=t|0;return Lo(e,t,0)|0}function ub(e,t){e=e|0;t=t|0;return wa(0,e,t)|0}function lb(e){e=e|0;return uC[a[e+12>>2]&7](e)|0}function db(e,t){e=e|0;t=t|0;sC[e&7](t);return}function hb(e){e=e|0;a[e>>2]=a[e>>2]|32;return}function _b(e){e=e|0;return(e>>>0<128?e:-1)|0}function gb(e){e=e|0;return(e>>>0<128?e:-1)|0}function pb(e){e=e|0;return(e+-48|0)>>>0<10|0}function mb(e){e=e|0;return(e+-33|0)>>>0<94|0}function Ab(e){e=e|0;return(e+-97|0)>>>0<26|0}function yb(e){e=e|0;return(e+-32|0)>>>0<95|0}function bb(e){e=e|0;return(e+-65|0)>>>0<26|0}function vb(e){e=e|0;return(e+-48|0)>>>0<10|0}function wb(e,t){e=e|0;t=t|0;return Yp(e,t)|0}function Ib(e,t){e=e|0;t=t|0;return Rh(e,t)|0}function kb(e){e=+e;return+ +Cs(e,0-(Jo(e)|0)|0)}function Cb(e){e=+e;return+ +$s(e,0-(Cf(e)|0)|0)}function Eb(e,t){e=e|0;t=t|0;return jk(e,t)|0}function Sb(e,t){e=e|0;t=t|0;return QA(e,t)|0}function Bb(e,t){e=e|0;t=t|0;return Kc(e,t)|0}function Mb(e,t){e=e|0;t=t|0;return gu(e,t)|0}function Lb(e,t){e=e|0;t=t|0;return xf(e,t)|0}function Db(e){e=e|0;return(bw(e)|0)!=(e|0)|0}function xb(e,t){e=e|0;t=t|0;ge(6);return 0}function Qb(e,t){e=e|0;t=t|0;return uf(e)|0}function Tb(e,t){e=e|0;t=t|0;ge(7);return 0}function Fb(e,t){e=e|0;t=t|0;return bw(e)|0}function Pb(e,t){e=e|0;t=t|0;return vw(e)|0}function Nb(e){e=e|0;return a[e+8>>2]&4111|0}function Yb(e){e=e|0;return a[e+8>>2]&4111|0}function Rb(e,t){e=+e;t=t|0;return+ +$s(e,t)}function Ob(e,t){e=+e;t=t|0;return+ +Ub(e,t)}function Hb(e,t){e=+e;t=t|0;return+ +Cs(e,t)}function jb(e,t){e=e|0;t=t|0;return Np(e)|0}function Ub(e,t){e=+e;t=t|0;return+ +Cs(e,t)}function Gb(e,t){e=e|0;t=t|0;return Sl(e)|0}function $b(e,t){e=+e;t=t|0;return+ +Tk(e,t)}function zb(e,t){e=e|0;t=t|0;return yA(e)|0}function Jb(e,t){e=e|0;t=t|0;return Ty(e)|0}function qb(e,t){e=e|0;t=t|0;return My(e)|0}function Vb(e,t){e=e|0;t=t|0;return ky(e)|0}function Wb(e,t){e=e|0;t=t|0;return mb(e)|0}function Kb(e,t){e=e|0;t=t|0;return Ab(e)|0}function Xb(e,t){e=e|0;t=t|0;return yb(e)|0}function Zb(e,t){e=e|0;t=t|0;
;var s=0,f=0,c=0,u=0,h=0,_=0,g=0,p=0,m=0,A=0,y=0,b=0,v=0,w=0,I=0,k=0,C=0,E=0,S=0,B=0,M=0,L=0,D=0,x=0,Q=0,T=0,F=0,P=0,N=0,Y=0,R=0,O=0,H=0,j=0,U=0,G=0,$=0,z=0,J=0,q=0,V=0,W=0,K=0,X=0,Z=0,ee=0,te=0,ne=0,re=0,ie=0,oe=0,se=0,fe=0,ce=0,ue=0,le=0,de=0,he=0,_e=0,ge=0,pe=0,me=0,Ae=0,ye=0,be=0,ve=0,we=0,Ie=0,ke=0,Ce=0,Ee=0,Se=0,Be=0,Me=0,Le=0,De=0,xe=0,Qe=0,Te=0,Fe=0,Pe=0,Ne=0,Ye=0,Re=0,Oe=0,He=0,je=0,Ue=0,Ge=0,$e=0,ze=0,Je=0,qe=0,Ve=0,We=0,Ke=0,Xe=0,Ze=0,et=0,tt=0,nt=0,rt=0,it=0,at=0,ot=0,st=0,ft=0,ct=0,ut=0,lt=0,dt=0,ht=0,_t=0,gt=0,pt=0,mt=0,At=0,yt=0,bt=0,vt=0,wt=0,It=0,kt=0,Ct=0,Et=0,St=0,Bt=0,Mt=0,Lt=0,Dt=0,xt=0,Qt=0,Tt=0,Ft=0,Pt=0,Nt=0,Yt=0,Rt=0,Ot=0,Ht=0,jt=0,Ut=0,Gt=0,$t=0,zt=0,Jt=0,qt=0,Vt=0,Wt=0,Kt=0;s=l;l=l+176|0;if((l|0)>=(d|0))ae();f=s+24|0;c=s;u=s+128|0;h=s+120|0;_=s+144|0;g=s+32|0;if((a[e+76>>2]|0)>-1)p=SI(e)|0;else p=0;m=e+74|0;A=r[m>>0]|0;r[m>>0]=A+1|A;A=a[t>>2]|0;e:do{if(A){m=e+4|0;y=e+8|0;b=g+4|0;v=g+8|0;w=g+12|0;I=g+16|0;k=g+20|0;C=g+24|0;E=g+28|0;S=g+32|0;B=g+36|0;M=g+40|0;L=g+44|0;D=g+48|0;x=g+52|0;Q=g+56|0;T=g+60|0;F=g+64|0;P=g+68|0;N=g+72|0;Y=g+76|0;R=g+80|0;O=g+84|0;H=A;j=0;U=0;G=t;$=0;z=0;J=0;t:while(1){n:do{if(Hm(H)|0){q=G;while(1){V=q+4|0;if(!(Hm(a[V>>2]|0)|0)){W=q;break}else q=V}q=$;while(1){V=a[m>>2]|0;if(V>>>0<(a[y>>2]|0)>>>0?(r[V>>0]|0)>-1:0){a[m>>2]=V+1;K=o[V>>0]|0}else K=Sw(e)|0;if(!(Hm(K)|0)){X=K;Z=q;break}else q=q+1|0}if(X>>>0<128&(a[y>>2]|0)!=0){a[m>>2]=(a[m>>2]|0)+-1;ee=j;te=U;ne=W;re=Z;ie=z;oe=J;break}else{eo(X,e)|0;ee=j;te=U;ne=W;re=Z;ie=z;oe=J;break}}else{q=(a[G>>2]|0)==37;r:do{if(q){V=G+4|0;se=a[V>>2]|0;i:do{switch(se|0){case 37:{break r;break}case 42:{fe=0;ce=G+8|0;break}default:{if(vb(se)|0?(a[G+8>>2]|0)==36:0){ue=(a[V>>2]|0)+-48|0;a[u>>2]=a[n>>2];le=ue;while(1){ue=(a[u>>2]|0)+(4-1)&~(4-1);de=a[ue>>2]|0;a[u>>2]=ue+4;if(le>>>0>1)le=le+-1|0;else{he=de;break}}fe=he;ce=G+12|0;break i}le=(a[n>>2]|0)+(4-1)&~(4-1);de=a[le>>2]|0;a[n>>2]=le+4;fe=de;ce=V}}}while(0);if(!(vb(a[ce>>2]|0)|0)){_e=ce;ge=0}else{V=ce;se=0;while(1){de=(se*10|0)+-48+(a[V>>2]|0)|0;le=V+4|0;if(!(vb(a[le>>2]|0)|0)){_e=le;ge=de;break}else{V=le;se=de}}}se=a[_e>>2]|0;if((se|0)==109){V=_e+4|0;pe=a[V>>2]|0;me=(fe|0)!=0&1;Ae=V;ye=0;be=0}else{pe=se;me=0;Ae=_e;ye=z;be=J}se=Ae+4|0;switch(pe|0){case 104:{V=(a[se>>2]|0)==104;ve=V?Ae+8|0:se;we=V?-2:-1;break}case 108:{V=(a[se>>2]|0)==108;ve=V?Ae+8|0:se;we=V?3:1;break}case 106:{ve=se;we=3;break}case 116:case 122:{ve=se;we=1;break}case 76:{ve=se;we=2;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{ve=Ae;we=0;break}default:{Ie=me;ke=U;Ce=ye;Ee=be;Se=121;break t}}se=a[ve>>2]|0;V=(se&47|0)==3;de=se|32;le=V?de:se;se=V?1:we;switch(le|0){case 110:{Be=$;break}case 91:{Se=52;break}default:if((de|0)==99)Se=52;else{de=$;while(1){V=a[m>>2]|0;if(V>>>0<(a[y>>2]|0)>>>0?(r[V>>0]|0)>-1:0){a[m>>2]=V+1;Me=o[V>>0]|0}else Me=Sw(e)|0;if(!(Hm(Me)|0)){Le=Me;De=de;Se=56;break}else de=de+1|0}}}do{if((Se|0)==52){Se=0;de=a[m>>2]|0;V=a[y>>2]|0;if(de>>>0<V>>>0?(r[de>>0]|0)>-1:0){a[m>>2]=de+1;xe=V;Qe=o[de>>0]|0;Te=$;Se=58;break}Le=Sw(e)|0;De=$;Se=56}}while(0);if((Se|0)==56){Se=0;if((Le|0)<0){Ie=me;ke=U;Ce=ye;Ee=be;Se=121;break t}xe=a[y>>2]|0;Qe=Le;Te=De;Se=58}i:do{if((Se|0)==58){Se=0;if(Qe>>>0<128&(xe|0)!=0)a[m>>2]=(a[m>>2]|0)+-1;else eo(Qe,e)|0;switch(le|0){case 110:{Be=Te;break i;break}case 91:case 99:case 115:{de=(le|0)==99;a:do{if(de){Fe=1;Pe=ve;Ne=166900;Ye=(ge|0)<1?1:ge}else{if((le|0)==115){a[g>>2]=32;a[b>>2]=9;a[v>>2]=10;a[w>>2]=13;a[I>>2]=11;a[k>>2]=12;a[C>>2]=133;a[E>>2]=8192;a[S>>2]=8193;a[B>>2]=8194;a[M>>2]=8195;a[L>>2]=8196;a[D>>2]=8197;a[x>>2]=8198;a[Q>>2]=8200;a[T>>2]=8201;a[F>>2]=8202;a[P>>2]=8232;a[N>>2]=8233;a[Y>>2]=8287;a[R>>2]=12288;a[O>>2]=0;Fe=1;Pe=ve;Ne=g;Ye=ge;break}V=ve+4|0;ue=(a[V>>2]|0)==94;Re=ue?ve+8|0:V;V=ue&1;ue=(a[Re>>2]|0)==93?Re+4|0:Re;while(1){switch(a[ue>>2]|0){case 0:{Ie=me;ke=U;Ce=ye;Ee=be;Se=121;break t;break}case 93:{Fe=V;Pe=ue;Ne=Re;Ye=ge;break a;break}default:{}}ue=ue+4|0}}}while(0);ue=(se|0)==0?fe:0;Re=(se|0)==1;V=Re?fe:0;Oe=(Ye|0)<1?-1:Ye;He=(
s=+vs(t);break}if((e|0)<0){f=-t;c=~e;l=i^1}else{f=t;c=e+-1|0;l=i}if(!c){s=+Ms(f);break}r=l&e;d=+U(+f);e:do{if(!((o|0)==2146435072|(o|n|0)==0)){_=+(c|0);if(_<d){if(o>>>0<=1389363199){g=+vs(d);p=+Ms(d);if((c|0)>0){m=g;A=p;y=0}else{b=p;break}while(1){y=y+1|0;p=A*(+(y|0)*2.0/d)-m;if((y|0)==(c|0)){b=p;break e}else{g=A;A=p;m=g}}}switch(c&3|0){case 0:{v=+J(+d)-+z(+d);break}case 1:{v=-+z(+d)-+J(+d);break}case 2:{v=+z(+d)-+J(+d);break}case 3:{v=+z(+d)+ +J(+d);break}default:{}}b=v*.5641895835477563/+G(+d);break}if(o>>>0<1041235968){if((c|0)>32){b=0.0;break}g=d*.5;if((c+1|0)<2){w=1.0;I=g}else{p=1.0;k=g;C=2;while(1){E=p*+(C|0);S=g*k;if((C|0)>(c|0)){w=E;I=S;break}else{p=E;k=S;C=C+1|0}}}b=I/w;break}k=_+1.0;p=k*2.0/d;g=2.0/d;S=p+g;E=p*S+-1.0;if(E<1.0e9){C=1;B=p;M=E;E=S;while(1){L=C+1|0;E=g+E;S=M*E-B;if(!(S<1.0e9)){D=L;x=C;break}else{Q=M;C=L;M=S;B=Q}}if((x|0)>-2){T=D;F=0.0;P=29}else N=0.0}else{T=1;F=0.0;P=29}if((P|0)==29)while(1){P=0;B=1.0/((k+ +(T|0))*2.0/d-F);if((T|0)>0){T=T+-1|0;F=B;P=29}else{N=B;break}}C=(c|0)>0;if(k*+ee(+ +U(+p))<709.782712893384)if(C){B=N;M=1.0;L=c;while(1){E=M*(+(L|0)*2.0)/d-B;if((L|0)>1){g=M;M=E;L=L+-1|0;B=g}else{Y=M;R=E;O=N;break}}}else{Y=N;R=1.0;O=N}else if(C){M=N;B=1.0;L=c;p=N;while(1){k=B*(+(L|0)*2.0)/d-M;if(k>3273390607896141870013189.0e126){H=B/k;j=1.0;$=p/k}else{H=B;j=k;$=p}if((L|0)>1){M=H;B=j;L=L+-1|0;p=$}else{Y=H;R=j;O=$;break}}}else{Y=N;R=1.0;O=N}p=+vs(d);B=+Ms(d);if(!(+U(+p)>=+U(+B))){b=O*B/Y;break}else{b=O*p/R;break}}else b=0.0}while(0);s=r|0?-b:b}}while(0);return+s}function Wk(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var o=0,s=0,f=0,c=0,h=0,_=0,g=0,p=0,m=0,A=0,y=0,b=0,v=0,w=0,I=0,k=0,C=0,E=0,S=0,B=0,M=0,L=0,D=0,x=0,Q=0,T=0,F=0,P=0,N=0,Y=0,R=0,O=0,H=0.0,j=0,U=0,G=0,$=0;o=l;l=l+16|0;if((l|0)>=(d|0))ae();s=o;e:do{if(!t){f=e;c=21}else{h=e;_=t;g=n;t:while(1){p=r[g>>0]|0;switch(p<<24>>24){case 0:{f=h;c=21;break e;break}case 37:{m=g+1|0;A=r[m>>0]|0;if(A<<24>>24==37){y=m;b=37;c=3}else{v=m;m=A;A=0;n:while(1){w=m<<24>>24;switch(w|0){case 61:{I=v+1|0;k=A;break}case 33:case 43:case 40:case 94:{I=v;k=A;break}case 45:{I=v;k=1;break}default:{C=v;E=m;S=w;B=A;break n}}w=I+1|0;v=w;m=r[w>>0]|0;A=k}A=S+-48|0;if(A>>>0<10){m=C;v=0;w=A;while(1){A=w+(v*10|0)|0;M=m+1|0;L=r[M>>0]|0;w=(L<<24>>24)+-48|0;if(w>>>0>=10){D=M;x=L;Q=A;break}else{m=M;v=A}}}else{D=C;x=E;Q=0}if(x<<24>>24==35){v=D+1|0;m=r[v>>0]|0;w=(m<<24>>24)+-48|0;if(w>>>0<10){A=v;M=w;w=0;while(1){L=M+(w*10|0)|0;T=A+1|0;F=r[T>>0]|0;M=(F<<24>>24)+-48|0;if(M>>>0>=10){P=T;N=F;Y=L;break}else{A=T;w=L}}}else{P=v;N=m;Y=0}}else{P=D;N=x;Y=0}if(N<<24>>24==46){w=P+1|0;A=(r[w>>0]|0)+-48|0;if(A>>>0<10){M=w;L=A;A=0;while(1){T=L+(A*10|0)|0;F=M+1|0;L=(r[F>>0]|0)+-48|0;if(L>>>0>=10){R=F;O=T;break}else{M=F;A=T}}}else{R=w;O=0}}else{R=P;O=2}A=Y+1+O|0;M=(a[i>>2]|0)+(8-1)&~(8-1);H=+u[M>>3];a[i>>2]=M+8;a[s>>2]=(B|0)==0&(Q|0)>(A|0)?Q:A;a[s+4>>2]=O;u[s+8>>3]=H;A=n_(h,_,159685,s)|0;if(_>>>0<=A>>>0)break t;j=h+A|0;U=_-A|0;G=R}break}default:{y=g;b=p;c=3}}if((c|0)==3){c=0;r[h>>0]=b;j=h+1|0;U=_+-1|0;G=y}if(!U){f=j;c=21;break e}else{h=j;_=U;g=G+1|0}}a[(Em()|0)>>2]=7;$=-1}}while(0);if((c|0)==21)$=f-e|0;l=o;return $|0}function Kk(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,o=0,s=0,f=0,c=0,u=0,h=0,_=0,g=0,p=0,m=0,A=0,y=0,b=0,v=0,w=0,I=0,k=0,C=0,E=0,S=0,B=0,M=0,L=0,D=0,x=0,Q=0,T=0,F=0,P=0,N=0;i=l;l=l+208|0;if((l|0)>=(d|0))ae();o=i+8|0;s=i;f=ne(n,t)|0;t=s;a[t>>2]=1;a[t+4>>2]=0;if(f|0){t=0-n|0;a[o+4>>2]=n;a[o>>2]=n;c=n;u=n;h=2;while(1){_=u+n+c|0;a[o+(h<<2)>>2]=_;if(_>>>0<f>>>0){g=c;c=_;h=h+1|0;u=g}else break}u=e+f+t|0;f=s+4|0;if(u>>>0>e>>>0){h=u;c=1;g=e;_=1;while(1){do{if((c&3|0)==3){yo(g,n,r,_,o);p=a[f>>2]|0;m=p<<30|(a[s>>2]|0)>>>2;a[s>>2]=m;a[f>>2]=p>>>2;A=m;y=_+2|0}else{m=_+-1|0;if((a[o+(m<<2)>>2]|0)>>>0<(h-g|0)>>>0)yo(g,n,r,_,o);else Vr(g,n,r,s,_,0,o);if((_|0)==1){p=a[s>>2]|0;a[f>>2]=p>>>31|a[f>>2]<<1;b=p<<1;a[s>>2]=b;A=b;y=0;break}if(m>>>0>31){b=a[s>>2]|0;a[f>>2]=b;a[s>>2]=0;v=_+-33|0;w=b;I=0}else{v=m;w=a[f>>2]|0;I=a[s>>2]|0}a[f>>2]=I>>>(32-v|0)|w<<v;m=I<<v;a[s>>2]=m;A=m;y=1}}while(0);c=A|1;a[s>>2]=c;m=g+n|0;if(m>>>0>=u>>>0){k=m;C=y;break}else{g=m;_=y}}}else{k=e;C=1}Vr(k,n,r,s,C,0,o);e=s+4|0;y=a[s>>2]|0;_=a[e
},MOVE:{mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"}},initialize:function(e,t){this._element=e,this._dragStartTarget=t||e},enable:function(){if(!this._enabled){for(var e=i.Draggable.START.length-1;e>=0;e--)i.DomEvent.on(this._dragStartTarget,i.Draggable.START[e],this._onDown,this);this._enabled=!0}},disable:function(){if(this._enabled){for(var e=i.Draggable.START.length-1;e>=0;e--)i.DomEvent.off(this._dragStartTarget,i.Draggable.START[e],this._onDown,this);this._enabled=!1,this._moved=!1}},_onDown:function(e){if(this._moved=!1,!e.shiftKey&&(1===e.which||1===e.button||e.touches)&&(i.DomEvent.stopPropagation(e),!i.Draggable._disabled&&(i.DomUtil.disableImageDrag(),i.DomUtil.disableTextSelection(),!this._moving))){var n=e.touches?e.touches[0]:e;this._startPoint=new i.Point(n.clientX,n.clientY),this._startPos=this._newPos=i.DomUtil.getPosition(this._element),i.DomEvent.on(t,i.Draggable.MOVE[e.type],this._onMove,this).on(t,i.Draggable.END[e.type],this._onUp,this)}},_onMove:function(e){if(e.touches&&e.touches.length>1)this._moved=!0;else{var n=e.touches&&1===e.touches.length?e.touches[0]:e,r=new i.Point(n.clientX,n.clientY).subtract(this._startPoint);(r.x||r.y)&&(i.Browser.touch&&Math.abs(r.x)+Math.abs(r.y)<3||(i.DomEvent.preventDefault(e),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=i.DomUtil.getPosition(this._element).subtract(r),i.DomUtil.addClass(t.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,i.DomUtil.addClass(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(r),this._moving=!0,i.Util.cancelAnimFrame(this._animRequest),this._animRequest=i.Util.requestAnimFrame(this._updatePosition,this,!0,this._dragStartTarget)))}},_updatePosition:function(){this.fire("predrag"),i.DomUtil.setPosition(this._element,this._newPos),this.fire("drag")},_onUp:function(){for(var e in i.DomUtil.removeClass(t.body,"leaflet-dragging"),this._lastTarget&&(i.DomUtil.removeClass(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),i.Draggable.MOVE)i.DomEvent.off(t,i.Draggable.MOVE[e],this._onMove).off(t,i.Draggable.END[e],this._onUp);i.DomUtil.enableImageDrag(),i.DomUtil.enableTextSelection(),this._moved&&this._moving&&(i.Util.cancelAnimFrame(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1}}),i.Handler=i.Class.extend({initialize:function(e){this._map=e},enable:function(){this._enabled||(this._enabled=!0,this.addHooks())},disable:function(){this._enabled&&(this._enabled=!1,this.removeHooks())},enabled:function(){return!!this._enabled}}),i.Map.mergeOptions({dragging:!0,inertia:!i.Browser.android23,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,inertiaThreshold:i.Browser.touch?32:18,easeLinearity:.25,worldCopyJump:!1}),i.Map.Drag=i.Handler.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new i.Draggable(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDrag,this),e.on("viewreset",this._onViewReset,this),e.whenReady(this._onViewReset,this))}this._draggable.enable()},removeHooks:function(){this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){var e=this._map;e._panAnim&&e._panAnim.stop(),e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(){if(this._map.options.inertia){var e=this._lastTime=+new Date,t=this._lastPos=this._draggable._newPos;this._positions.push(t),this._times.push(e),e-this._times[0]>200&&(this._positions.shift(),this._times.shift())}this._map.fire("move").fire("drag")},_onViewReset:function(){var e=this._map.getSize()._divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.project([0,180]).x},_onPreDrag:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r