/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@ximple/igo2@0.19.58/bundle/igo.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
module.exports=function(t){function e(r){if(o[r])return o[r].exports;var i=o[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var o={};return e.m=t,e.c=o,e.d=function(t,o,r){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=482)}([function(t,e){t.exports=require("@angular/core")},function(t,e,o){"use strict";var r=o(20),i=o(501),n=o(67),s=o(92);e.Observable=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var o=new t;return o.source=this,o.operator=e,o},t.prototype.subscribe=function(t,e,o){var r=this.operator,n=i.toSubscriber(t,e,o);if(r?r.call(n,this.source):n.add(this.source||!n.syncErrorThrowable?this._subscribe(n):this._trySubscribe(n)),n.syncErrorThrowable&&(n.syncErrorThrowable=!1,n.syncErrorThrown))throw n.syncErrorValue;return n},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var o=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e((function(e,r){var i;i=o.subscribe((function(e){if(i)try{t(e)}catch(t){r(t),i.unsubscribe()}else t(e)}),r,e)}))},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[n.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:s.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?t=r.root.Rx.config.Promise:r.root.Promise&&(t=r.root.Promise)),!t)throw new Error("no Promise impl found");return new t((function(t,o){var r;e.subscribe((function(t){return r=t}),(function(t){return o(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}()},function(t,e,o){(function(t){t.exports=function(){"use strict";function e(){return ae.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function n(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){var o,r=[];for(o=0;o<t.length;++o)r.push(e(t[o],o));return r}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function p(t,e){for(var o in e)u(e,o)&&(t[o]=e[o]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function l(t,e,o,r){return Mt(t,e,o,r,!0).utc()}function h(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function d(t){if(null==t._isValid){var e=h(t),o=ce.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&o);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function f(t){var e=l(NaN);return null!=t?p(h(e),t):h(e).userInvalidated=!0,e}function y(t,e){var o,r,i;if(n(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),n(e._i)||(t._i=e._i),n(e._f)||(t._f=e._f),n(e._l)||(t._l=e._l),n(e._strict)||(t._strict=e._strict),n(e._tzm)||(t._tzm=e._tzm),n(e._isUTC)||(t._isUTC=e._isUTC),n(e._offset)||(t._offset=e._offset),n(e._pf)||(t._pf=h(e)),n(e._locale)||(t._locale=e._locale),pe.length>0)for(o=0;o<pe.length;o++)n(i=e[r=pe[o]])||(t[r]=i);return t}function m(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===le&&(le=!0,e.updateOffset(this),le=!1)}function g(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function v(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,o=0;return 0!==e&&isFinite(e)&&(o=v(e)),o}function _(t,e,o){var r,i=Math.min(t.length,e.length),n=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(o&&t[r]!==e[r]||!o&&b(t[r])!==b(e[r]))&&s++;return s+n}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,o){var r=!0;return p((function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,n=[],s=0;s<arguments.length;s++){if(i="","object"==typeof arguments[s]){for(var a in i+="\n["+s+"] ",arguments[0])i+=a+": "+arguments[0][a]+", ";i=i.slice(0,-2)}else i=arguments[s];n.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),r=!1}return o.apply(this,arguments)}),o)}function S(t,o){null!=e.deprecationHandler&&e.deprecationHandler(t,o),he[t]||(w(o),he[t]=!0)}function x(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var o,r=p({},t);for(o in e)u(e,o)&&(i(t[o])&&i(e[o])?(r[o]={},p(r[o],t[o]),p(r[o],e[o])):null!=e[o]?r[o]=e[o]:delete r[o]);for(o in t)u(t,o)&&!u(e,o)&&i(t[o])&&(r[o]=p({},r[o]));return r}function O(t){null!=t&&this.set(t)}function T(t,e){var o=t.toLowerCase();de[o]=de[o+"s"]=de[e]=t}function j(t){return"string"==typeof t?de[t]||de[t.toLowerCase()]:void 0}function k(t){var e,o,r={};for(o in t)u(t,o)&&(e=j(o))&&(r[e]=t[o]);return r}function D(t,e){fe[t]=e}function P(t,e,o){var r=""+Math.abs(t),i=e-r.length;return(t>=0?o?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function C(t,e,o,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(ve[t]=i),e&&(ve[e[0]]=function(){return P(i.apply(this,arguments),e[1],e[2])}),o&&(ve[o]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function Y(t,e){return t.isValid()?(e=R(e,t.localeData()),ge[e]=ge[e]||function(t){var e,o,r,i=t.match(ye);for(e=0,o=i.length;e<o;e++)i[e]=ve[i[e]]?ve[i[e]]:(r=i[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,n="";for(r=0;r<o;r++)n+=x(i[r])?i[r].call(e,t):i[r];return n}}(e),ge[e](t)):t.localeData().invalidDate()}function R(t,e){function o(t){return e.longDateFormat(t)||t}var r=5;for(me.lastIndex=0;r>=0&&me.test(t);)t=t.replace(me,o),me.lastIndex=0,r-=1;return t}function E(t,e,o){Ee[t]=x(e)?e:function(t,r){return t&&o?o:e}}function I(t,e){return u(Ee,t)?Ee[t](e._strict,e._locale):new RegExp(F(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,o,r,i){return e||o||r||i}))))}function F(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function A(t,e){var o,r=e;for("string"==typeof t&&(t=[t]),s(e)&&(r=function(t,o){o[e]=b(t)}),o=0;o<t.length;o++)Ie[t[o]]=r}function N(t,e){A(t,(function(t,o,r,i){r._w=r._w||{},e(t,r._w,r,i)}))}function H(t,e,o){null!=e&&u(Ie,t)&&Ie[t](e,o._a,o,t)}function W(t){return B(t)?366:365}function B(t){return t%4==0&&t%100!=0||t%400==0}function V(t,o){return function(r){return null!=r?(U(this,t,r),e.updateOffset(this,o),this):z(this,t)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function U(t,e,o){t.isValid()&&!isNaN(o)&&("FullYear"===e&&B(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](o,t.month(),G(o,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](o))}function G(t,e){if(isNaN(t)||isNaN(e))return NaN;var o,r=(e%(o=12)+o)%o;return t+=(e-r)/12,1===r?B(t)?29:28:31-r%7%2}function q(t,e,o){var r,i,n,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return o?"MMM"===e?-1!==(i=Ge.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ge.call(this._longMonthsParse,s))?i:null:"MMM"===e?-1!==(i=Ge.call(this._shortMonthsParse,s))||-1!==(i=Ge.call(this._longMonthsParse,s))?i:null:-1!==(i=Ge.call(this._longMonthsParse,s))||-1!==(i=Ge.call(this._shortMonthsParse,s))?i:null}function $(t,e){var o;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=b(e);else if(!s(e=t.localeData().monthsParse(e)))return t;return o=Math.min(t.date(),G(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,o),t}function J(t){return null!=t?($(this,t),e.updateOffset(this,!0),this):z(this,"Month")}function X(){function t(t,e){return e.length-t.length}var e,o,r=[],i=[],n=[];for(e=0;e<12;e++)o=l([2e3,e]),r.push(this.monthsShort(o,"")),i.push(this.months(o,"")),n.push(this.months(o,"")),n.push(this.monthsShort(o,""));for(r.sort(t),i.sort(t),n.sort(t),e=0;e<12;e++)r[e]=F(r[e]),i[e]=F(i[e]);for(e=0;e<24;e++)n[e]=F(n[e]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function K(t,e,o,r,i,n,s){var a;return t<100&&t>=0?(a=new Date(t+400,e,o,r,i,n,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,o,r,i,n,s),a}function Z(t){var e;if(t<100&&t>=0){var o=Array.prototype.slice.call(arguments);o[0]=t+400,e=new Date(Date.UTC.apply(null,o)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Q(t,e,o){var r=7+e-o;return-(7+Z(t,0,r).getUTCDay()-e)%7+r-1}function tt(t,e,o,r,i){var n,s,a=1+7*(e-1)+(7+o-r)%7+Q(t,r,i);return a<=0?s=W(n=t-1)+a:a>W(t)?(n=t+1,s=a-W(t)):(n=t,s=a),{year:n,dayOfYear:s}}function et(t,e,o){var r,i,n=Q(t.year(),e,o),s=Math.floor((t.dayOfYear()-n-1)/7)+1;return s<1?r=s+ot(i=t.year()-1,e,o):s>ot(t.year(),e,o)?(r=s-ot(t.year(),e,o),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function ot(t,e,o){var r=Q(t,e,o),i=Q(t+1,e,o);return(W(t)-r+i)/7}function rt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function it(t,e,o){var r,i,n,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return o?"dddd"===e?-1!==(i=Ge.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null}function nt(){function t(t,e){return e.length-t.length}var e,o,r,i,n,s=[],a=[],c=[],u=[];for(e=0;e<7;e++)o=l([2e3,1]).day(e),r=this.weekdaysMin(o,""),i=this.weekdaysShort(o,""),n=this.weekdays(o,""),s.push(r),a.push(i),c.push(n),u.push(r),u.push(i),u.push(n);for(s.sort(t),a.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)a[e]=F(a[e]),c[e]=F(c[e]),u[e]=F(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function st(){return this.hours()%12||12}function at(t,e){C(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ct(t,e){return e._meridiemParse}function ut(t){return t?t.toLowerCase().replace("_","-"):t}function pt(e){var r=null;if(!co[e]&&void 0!==t&&t&&t.exports)try{r=no._abbr,o(1179)("./"+e),lt(r)}catch(t){}return co[e]}function lt(t,e){var o;return t&&((o=n(e)?dt(t):ht(t,e))?no=o:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),no._abbr}function ht(t,e){if(null!==e){var o,r=ao;if(e.abbr=t,null!=co[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=co[t]._config;else if(null!=e.parentLocale)if(null!=co[e.parentLocale])r=co[e.parentLocale]._config;else{if(null==(o=pt(e.parentLocale)))return uo[e.parentLocale]||(uo[e.parentLocale]=[]),uo[e.parentLocale].push({name:t,config:e}),null;r=o._config}return co[t]=new O(L(r,e)),uo[t]&&uo[t].forEach((function(t){ht(t.name,t.config)})),lt(t),co[t]}return delete co[t],null}function dt(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return no;if(!r(t)){if(e=pt(t))return e;t=[t]}return function(t){for(var e,o,r,i,n=0;n<t.length;){for(e=(i=ut(t[n]).split("-")).length,o=(o=ut(t[n+1]))?o.split("-"):null;e>0;){if(r=pt(i.slice(0,e).join("-")))return r;if(o&&o.length>=e&&_(i,o,!0)>=e-1)break;e--}n++}return no}(t)}function ft(t){var e,o=t._a;return o&&-2===h(t).overflow&&(e=o[Ae]<0||o[Ae]>11?Ae:o[Ne]<1||o[Ne]>G(o[Fe],o[Ae])?Ne:o[He]<0||o[He]>24||24===o[He]&&(0!==o[We]||0!==o[Be]||0!==o[Ve])?He:o[We]<0||o[We]>59?We:o[Be]<0||o[Be]>59?Be:o[Ve]<0||o[Ve]>999?Ve:-1,h(t)._overflowDayOfYear&&(e<Fe||e>Ne)&&(e=Ne),h(t)._overflowWeeks&&-1===e&&(e=ze),h(t)._overflowWeekday&&-1===e&&(e=Ue),h(t).overflow=e),t}function yt(t,e,o){return null!=t?t:null!=e?e:o}function mt(t){var o,r,i,n,s,a=[];if(!t._d){for(i=function(t){var o=new Date(e.now());return t._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}(t),t._w&&null==t._a[Ne]&&null==t._a[Ae]&&function(t){var e,o,r,i,n,s,a,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)n=1,s=4,o=yt(e.GG,t._a[Fe],et(St(),1,4).year),r=yt(e.W,1),((i=yt(e.E,1))<1||i>7)&&(c=!0);else{n=t._locale._week.dow,s=t._locale._week.doy;var u=et(St(),n,s);o=yt(e.gg,t._a[Fe],u.year),r=yt(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(c=!0):null!=e.e?(i=e.e+n,(e.e<0||e.e>6)&&(c=!0)):i=n}r<1||r>ot(o,n,s)?h(t)._overflowWeeks=!0:null!=c?h(t)._overflowWeekday=!0:(a=tt(o,r,i,n,s),t._a[Fe]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=yt(t._a[Fe],i[Fe]),(t._dayOfYear>W(s)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),r=Z(s,0,t._dayOfYear),t._a[Ae]=r.getUTCMonth(),t._a[Ne]=r.getUTCDate()),o=0;o<3&&null==t._a[o];++o)t._a[o]=a[o]=i[o];for(;o<7;o++)t._a[o]=a[o]=null==t._a[o]?2===o?1:0:t._a[o];24===t._a[He]&&0===t._a[We]&&0===t._a[Be]&&0===t._a[Ve]&&(t._nextDay=!0,t._a[He]=0),t._d=(t._useUTC?Z:K).apply(null,a),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[He]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(h(t).weekdayMismatch=!0)}}function gt(t){var e,o,r,i,n,s,a=t._i,c=po.exec(a)||lo.exec(a);if(c){for(h(t).iso=!0,e=0,o=fo.length;e<o;e++)if(fo[e][1].exec(c[1])){i=fo[e][0],r=!1!==fo[e][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(e=0,o=yo.length;e<o;e++)if(yo[e][1].exec(c[3])){n=(c[2]||" ")+yo[e][0];break}if(null==n)return void(t._isValid=!1)}if(!r&&null!=n)return void(t._isValid=!1);if(c[4]){if(!ho.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=i+(n||"")+(s||""),_t(t)}else t._isValid=!1}function vt(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function bt(t){var e,o,r,i,n,s,a,c=go.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var u=(e=c[4],o=c[3],r=c[2],i=c[5],n=c[6],s=c[7],a=[vt(e),Xe.indexOf(o),parseInt(r,10),parseInt(i,10),parseInt(n,10)],s&&a.push(parseInt(s,10)),a);if(!function(t,e,o){return!t||to.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(h(o).weekdayMismatch=!0,o._isValid=!1,!1)}(c[1],u,t))return;t._a=u,t._tzm=function(t,e,o){if(t)return vo[t];if(e)return 0;var r=parseInt(o,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),t._d=Z.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0}else t._isValid=!1}function _t(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],h(t).empty=!0;var o,r,i,n,s,a=""+t._i,c=a.length,u=0;for(i=R(t._f,t._locale).match(ye)||[],o=0;o<i.length;o++)n=i[o],(r=(a.match(I(n,t))||[])[0])&&((s=a.substr(0,a.indexOf(r))).length>0&&h(t).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),u+=r.length),ve[n]?(r?h(t).empty=!1:h(t).unusedTokens.push(n),H(n,r,t)):t._strict&&!r&&h(t).unusedTokens.push(n);h(t).charsLeftOver=c-u,a.length>0&&h(t).unusedInput.push(a),t._a[He]<=12&&!0===h(t).bigHour&&t._a[He]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[He]=function(t,e,o){var r;return null==o?e:null!=t.meridiemHour?t.meridiemHour(e,o):null!=t.isPM?((r=t.isPM(o))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[He],t._meridiem),mt(t),ft(t)}else bt(t);else gt(t)}function wt(t){var o=t._i,u=t._f;return t._locale=t._locale||dt(t._l),null===o||void 0===u&&""===o?f({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),g(o)?new m(ft(o)):(a(o)?t._d=o:r(u)?function(t){var e,o,r,i,n;if(0!==t._f.length){for(i=0;i<t._f.length;i++)n=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],_t(e),d(e)&&(n+=h(e).charsLeftOver,n+=10*h(e).unusedTokens.length,h(e).score=n,(null==r||n<r)&&(r=n,o=e));p(t,o||e)}else h(t).invalidFormat=!0,t._d=new Date(NaN)}(t):u?_t(t):function(t){var o=t._i;n(o)?t._d=new Date(e.now()):a(o)?t._d=new Date(o.valueOf()):"string"==typeof o?function(t){var o=mo.exec(t._i);null===o?(gt(t),!1===t._isValid&&(delete t._isValid,bt(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))):t._d=new Date(+o[1])}(t):r(o)?(t._a=c(o.slice(0),(function(t){return parseInt(t,10)})),mt(t)):i(o)?function(t){if(!t._d){var e=k(t._i);t._a=c([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),mt(t)}}(t):s(o)?t._d=new Date(o):e.createFromInputFallback(t)}(t),d(t)||(t._d=null),t))}function Mt(t,e,o,n,s){var a,c={};return!0!==o&&!1!==o||(n=o,o=void 0),(i(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||r(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=o,c._i=t,c._f=e,c._strict=n,(a=new m(ft(wt(c))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function St(t,e,o,r){return Mt(t,e,o,r,!1)}function xt(t,e){var o,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return St();for(o=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](o)||(o=e[i]);return o}function Lt(t){var e=k(t),o=e.year||0,r=e.quarter||0,i=e.month||0,n=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,c=e.minute||0,u=e.second||0,p=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Ge.call(wo,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var o=!1,r=0;r<wo.length;++r)if(t[wo[r]]){if(o)return!1;parseFloat(t[wo[r]])!==b(t[wo[r]])&&(o=!0)}return!0}(e),this._milliseconds=+p+1e3*u+6e4*c+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*o,this._data={},this._locale=dt(),this._bubble()}function Ot(t){return t instanceof Lt}function Tt(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function jt(t,e){C(t,0,0,(function(){var t=this.utcOffset(),o="+";return t<0&&(t=-t,o="-"),o+P(~~(t/60),2)+e+P(~~t%60,2)}))}function kt(t,e){var o=(e||"").match(t);if(null===o)return null;var r=((o[o.length-1]||[])+"").match(Mo)||["-",0,0],i=60*r[1]+b(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Dt(t,o){var r,i;return o._isUTC?(r=o.clone(),i=(g(t)||a(t)?t.valueOf():St(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):St(t).local()}function Pt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ct(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Yt(t,e){var o,r,i,n,a,c,p=t,l=null;return Ot(t)?p={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(p={},e?p[e]=t:p.milliseconds=t):(l=So.exec(t))?(o="-"===l[1]?-1:1,p={y:0,d:b(l[Ne])*o,h:b(l[He])*o,m:b(l[We])*o,s:b(l[Be])*o,ms:b(Tt(1e3*l[Ve]))*o}):(l=xo.exec(t))?(o="-"===l[1]?-1:1,p={y:Rt(l[2],o),M:Rt(l[3],o),w:Rt(l[4],o),d:Rt(l[5],o),h:Rt(l[6],o),m:Rt(l[7],o),s:Rt(l[8],o)}):null==p?p={}:"object"==typeof p&&("from"in p||"to"in p)&&(n=St(p.from),a=St(p.to),i=n.isValid()&&a.isValid()?(a=Dt(a,n),n.isBefore(a)?c=Et(n,a):((c=Et(a,n)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(p={}).ms=i.milliseconds,p.M=i.months),r=new Lt(p),Ot(t)&&u(t,"_locale")&&(r._locale=t._locale),r}function Rt(t,e){var o=t&&parseFloat(t.replace(",","."));return(isNaN(o)?0:o)*e}function Et(t,e){var o={};return o.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(o.months,"M").isAfter(e)&&--o.months,o.milliseconds=+e-+t.clone().add(o.months,"M"),o}function It(t,e){return function(o,r){var i;return null===r||isNaN(+r)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=o,o=r,r=i),Ft(this,Yt(o="string"==typeof o?+o:o,r),t),this}}function Ft(t,o,r,i){var n=o._milliseconds,s=Tt(o._days),a=Tt(o._months);t.isValid()&&(i=null==i||i,a&&$(t,z(t,"Month")+a*r),s&&U(t,"Date",z(t,"Date")+s*r),n&&t._d.setTime(t._d.valueOf()+n*r),i&&e.updateOffset(t,s||a))}function At(t,e){var o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return-(o+(e-r<0?(e-r)/(r-t.clone().add(o-1,"months")):(e-r)/(t.clone().add(o+1,"months")-r)))||0}function Nt(t){var e;return void 0===t?this._locale._abbr:(null!=(e=dt(t))&&(this._locale=e),this)}function Ht(){return this._locale}function Wt(t,e){return(t%e+e)%e}function Bt(t,e,o){return t<100&&t>=0?new Date(t+400,e,o)-Po:new Date(t,e,o).valueOf()}function Vt(t,e,o){return t<100&&t>=0?Date.UTC(t+400,e,o)-Po:Date.UTC(t,e,o)}function zt(t,e){C(0,[t,t.length],0,e)}function Ut(t,e,o,r,i){var n;return null==t?et(this,r,i).year:(e>(n=ot(t,r,i))&&(e=n),Gt.call(this,t,e,o,r,i))}function Gt(t,e,o,r,i){var n=tt(t,e,o,r,i),s=Z(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function qt(t,e){e[Ve]=b(1e3*("0."+t))}function $t(t){return t}function Jt(t,e,o,r){return dt()[o](l().set(r,e),t)}function Xt(t,e,o){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return Jt(t,e,o,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Jt(t,r,o,"month");return i}function Kt(t,e,o,r){"boolean"==typeof t?(s(e)&&(o=e,e=void 0),e=e||""):(o=e=t,t=!1,s(e)&&(o=e,e=void 0),e=e||"");var i=dt(),n=t?i._week.dow:0;if(null!=o)return Jt(e,(o+n)%7,r,"day");var a,c=[];for(a=0;a<7;a++)c[a]=Jt(e,(a+n)%7,r,"day");return c}function Zt(t,e,o,r){var i=Yt(e,o);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Qt(t){return t<0?Math.floor(t):Math.ceil(t)}function te(t){return 4800*t/146097}function ee(t){return 146097*t/4800}function oe(t){return function(){return this.as(t)}}function re(t){return function(){return this.isValid()?this._data[t]:NaN}}function ie(t,e,o,r,i){return i.relativeTime(e||1,!!o,t,r)}function ne(t){return(t>0)-(t<0)||+t}function se(){if(!this.isValid())return this.localeData().invalidDate();var t,e,o=ir(this._milliseconds)/1e3,r=ir(this._days),i=ir(this._months);t=v(o/60),e=v(t/60),o%=60,t%=60;var n=v(i/12),s=i%=12,a=r,c=e,u=t,p=o?o.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var h=l<0?"-":"",d=ne(this._months)!==ne(l)?"-":"",f=ne(this._days)!==ne(l)?"-":"",y=ne(this._milliseconds)!==ne(l)?"-":"";return h+"P"+(n?d+n+"Y":"")+(s?d+s+"M":"")+(a?f+a+"D":"")+(c||u||p?"T":"")+(c?y+c+"H":"")+(u?y+u+"M":"")+(p?y+p+"S":"")}var ae,ce;ce=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),o=e.length>>>0,r=0;r<o;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var ue,pe=e.momentProperties=[],le=!1,he={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,ue=Object.keys?Object.keys:function(t){var e,o=[];for(e in t)u(t,e)&&o.push(e);return o};var de={},fe={},ye=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,me=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ge={},ve={},be=/\d/,_e=/\d\d/,we=/\d{3}/,Me=/\d{4}/,Se=/[+-]?\d{6}/,xe=/\d\d?/,Le=/\d\d\d\d?/,Oe=/\d\d\d\d\d\d?/,Te=/\d{1,3}/,je=/\d{1,4}/,ke=/[+-]?\d{1,6}/,De=/\d+/,Pe=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Ye=/Z|[+-]\d\d(?::?\d\d)?/gi,Re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ee={},Ie={},Fe=0,Ae=1,Ne=2,He=3,We=4,Be=5,Ve=6,ze=7,Ue=8;C("Y",0,0,(function(){var t=this.year();return t<=9999?""+t:"+"+t})),C(0,["YY",2],0,(function(){return this.year()%100})),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),T("year","y"),D("year",1),E("Y",Pe),E("YY",xe,_e),E("YYYY",je,Me),E("YYYYY",ke,Se),E("YYYYYY",ke,Se),A(["YYYYY","YYYYYY"],Fe),A("YYYY",(function(t,o){o[Fe]=2===t.length?e.parseTwoDigitYear(t):b(t)})),A("YY",(function(t,o){o[Fe]=e.parseTwoDigitYear(t)})),A("Y",(function(t,e){e[Fe]=parseInt(t,10)})),e.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var Ge,qe=V("FullYear",!0);Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},C("M",["MM",2],"Mo",(function(){return this.month()+1})),C("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),C("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),T("month","M"),D("month",8),E("M",xe),E("MM",xe,_e),E("MMM",(function(t,e){return e.monthsShortRegex(t)})),E("MMMM",(function(t,e){return e.monthsRegex(t)})),A(["M","MM"],(function(t,e){e[Ae]=b(t)-1})),A(["MMM","MMMM"],(function(t,e,o,r){var i=o._locale.monthsParse(t,r,o._strict);null!=i?e[Ae]=i:h(o).invalidMonth=t}));var $e=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Je="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ke=Re,Ze=Re;C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),T("week","w"),T("isoWeek","W"),D("week",5),D("isoWeek",5),E("w",xe),E("ww",xe,_e),E("W",xe),E("WW",xe,_e),N(["w","ww","W","WW"],(function(t,e,o,r){e[r.substr(0,1)]=b(t)})),C("d",0,"do","day"),C("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),C("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),C("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),T("day","d"),T("weekday","e"),T("isoWeekday","E"),D("day",11),D("weekday",11),D("isoWeekday",11),E("d",xe),E("e",xe),E("E",xe),E("dd",(function(t,e){return e.weekdaysMinRegex(t)})),E("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),E("dddd",(function(t,e){return e.weekdaysRegex(t)})),N(["dd","ddd","dddd"],(function(t,e,o,r){var i=o._locale.weekdaysParse(t,r,o._strict);null!=i?e.d=i:h(o).invalidWeekday=t})),N(["d","e","E"],(function(t,e,o,r){e[r]=b(t)}));var Qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),to="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),eo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),oo=Re,ro=Re,io=Re;C("H",["HH",2],0,"hour"),C("h",["hh",2],0,st),C("k",["kk",2],0,(function(){return this.hours()||24})),C("hmm",0,0,(function(){return""+st.apply(this)+P(this.minutes(),2)})),C("hmmss",0,0,(function(){return""+st.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),C("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),C("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),at("a",!0),at("A",!1),T("hour","h"),D("hour",13),E("a",ct),E("A",ct),E("H",xe),E("h",xe),E("k",xe),E("HH",xe,_e),E("hh",xe,_e),E("kk",xe,_e),E("hmm",Le),E("hmmss",Oe),E("Hmm",Le),E("Hmmss",Oe),A(["H","HH"],He),A(["k","kk"],(function(t,e,o){var r=b(t);e[He]=24===r?0:r})),A(["a","A"],(function(t,e,o){o._isPm=o._locale.isPM(t),o._meridiem=t})),A(["h","hh"],(function(t,e,o){e[He]=b(t),h(o).bigHour=!0})),A("hmm",(function(t,e,o){var r=t.length-2;e[He]=b(t.substr(0,r)),e[We]=b(t.substr(r)),h(o).bigHour=!0})),A("hmmss",(function(t,e,o){var r=t.length-4,i=t.length-2;e[He]=b(t.substr(0,r)),e[We]=b(t.substr(r,2)),e[Be]=b(t.substr(i)),h(o).bigHour=!0})),A("Hmm",(function(t,e,o){var r=t.length-2;e[He]=b(t.substr(0,r)),e[We]=b(t.substr(r))})),A("Hmmss",(function(t,e,o){var r=t.length-4,i=t.length-2;e[He]=b(t.substr(0,r)),e[We]=b(t.substr(r,2)),e[Be]=b(t.substr(i))}));var no,so=V("Hours",!0),ao={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Je,monthsShort:Xe,week:{dow:0,doy:6},weekdays:Qe,weekdaysMin:eo,weekdaysShort:to,meridiemParse:/[ap]\.?m?\.?/i},co={},uo={},po=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,lo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ho=/Z|[+-]\d\d(?::?\d\d)?/,fo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mo=/^\/?Date\((\-?\d+)/i,go=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),e.ISO_8601=function(){},e.RFC_2822=function(){};var bo=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=St.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:f()})),_o=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=St.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:f()})),wo=["year","quarter","month","week","day","hour","minute","second","millisecond"];jt("Z",":"),jt("ZZ",""),E("Z",Ye),E("ZZ",Ye),A(["Z","ZZ"],(function(t,e,o){o._useUTC=!0,o._tzm=kt(Ye,t)}));var Mo=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var So=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,xo=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Yt.fn=Lt.prototype,Yt.invalid=function(){return Yt(NaN)};var Lo=It(1,"add"),Oo=It(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var To=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)})),jo=1e3,ko=60*jo,Do=60*ko,Po=3506328*Do;C(0,["gg",2],0,(function(){return this.weekYear()%100})),C(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),zt("gggg","weekYear"),zt("ggggg","weekYear"),zt("GGGG","isoWeekYear"),zt("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),D("weekYear",1),D("isoWeekYear",1),E("G",Pe),E("g",Pe),E("GG",xe,_e),E("gg",xe,_e),E("GGGG",je,Me),E("gggg",je,Me),E("GGGGG",ke,Se),E("ggggg",ke,Se),N(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,o,r){e[r.substr(0,2)]=b(t)})),N(["gg","GG"],(function(t,o,r,i){o[i]=e.parseTwoDigitYear(t)})),C("Q",0,"Qo","quarter"),T("quarter","Q"),D("quarter",7),E("Q",be),A("Q",(function(t,e){e[Ae]=3*(b(t)-1)})),C("D",["DD",2],"Do","date"),T("date","D"),D("date",9),E("D",xe),E("DD",xe,_e),E("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),A(["D","DD"],Ne),A("Do",(function(t,e){e[Ne]=b(t.match(xe)[0])}));var Co=V("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),D("dayOfYear",4),E("DDD",Te),E("DDDD",we),A(["DDD","DDDD"],(function(t,e,o){o._dayOfYear=b(t)})),C("m",["mm",2],0,"minute"),T("minute","m"),D("minute",14),E("m",xe),E("mm",xe,_e),A(["m","mm"],We);var Yo=V("Minutes",!1);C("s",["ss",2],0,"second"),T("second","s"),D("second",15),E("s",xe),E("ss",xe,_e),A(["s","ss"],Be);var Ro,Eo=V("Seconds",!1);for(C("S",0,0,(function(){return~~(this.millisecond()/100)})),C(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),C(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),C(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),C(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),C(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),C(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),T("millisecond","ms"),D("millisecond",16),E("S",Te,be),E("SS",Te,_e),E("SSS",Te,we),Ro="SSSS";Ro.length<=9;Ro+="S")E(Ro,De);for(Ro="S";Ro.length<=9;Ro+="S")A(Ro,qt);var Io=V("Milliseconds",!1);C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var Fo=m.prototype;Fo.add=Lo,Fo.calendar=function(t,o){var r=t||St(),i=Dt(r,this).startOf("day"),n=e.calendarFormat(this,i)||"sameElse";return this.format(o&&(x(o[n])?o[n].call(this,r):o[n])||this.localeData().calendar(n,this,St(r)))},Fo.clone=function(){return new m(this)},Fo.diff=function(t,e,o){var r,i,n;if(!this.isValid())return NaN;if(!(r=Dt(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=j(e)){case"year":n=At(this,r)/12;break;case"month":n=At(this,r);break;case"quarter":n=At(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return o?n:v(n)},Fo.endOf=function(t){var o;if(void 0===(t=j(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Vt:Bt;switch(t){case"year":o=r(this.year()+1,0,1)-1;break;case"quarter":o=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":o=r(this.year(),this.month()+1,1)-1;break;case"week":o=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":o=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":o=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":o=this._d.valueOf(),o+=Do-Wt(o+(this._isUTC?0:this.utcOffset()*ko),Do)-1;break;case"minute":o=this._d.valueOf(),o+=ko-Wt(o,ko)-1;break;case"second":o=this._d.valueOf(),o+=jo-Wt(o,jo)-1}return this._d.setTime(o),e.updateOffset(this,!0),this},Fo.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var o=Y(this,t);return this.localeData().postformat(o)},Fo.from=function(t,e){return this.isValid()&&(g(t)&&t.isValid()||St(t).isValid())?Yt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Fo.fromNow=function(t){return this.from(St(),t)},Fo.to=function(t,e){return this.isValid()&&(g(t)&&t.isValid()||St(t).isValid())?Yt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Fo.toNow=function(t){return this.to(St(),t)},Fo.get=function(t){return x(this[t=j(t)])?this[t]():this},Fo.invalidAt=function(){return h(this).overflow},Fo.isAfter=function(t,e){var o=g(t)?t:St(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=j(e)||"millisecond")?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(e).valueOf())},Fo.isBefore=function(t,e){var o=g(t)?t:St(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=j(e)||"millisecond")?this.valueOf()<o.valueOf():this.clone().endOf(e).valueOf()<o.valueOf())},Fo.isBetween=function(t,e,o,r){var i=g(t)?t:St(t),n=g(e)?e:St(e);return!!(this.isValid()&&i.isValid()&&n.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,o):!this.isBefore(i,o))&&(")"===r[1]?this.isBefore(n,o):!this.isAfter(n,o))},Fo.isSame=function(t,e){var o,r=g(t)?t:St(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=j(e)||"millisecond")?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf()))},Fo.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Fo.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Fo.isValid=function(){return d(this)},Fo.lang=To,Fo.locale=Nt,Fo.localeData=Ht,Fo.max=_o,Fo.min=bo,Fo.parsingFlags=function(){return p({},h(this))},Fo.set=function(t,e){if("object"==typeof t)for(var o=function(t){var e=[];for(var o in t)e.push({unit:o,priority:fe[o]});return e.sort((function(t,e){return t.priority-e.priority})),e}(t=k(t)),r=0;r<o.length;r++)this[o[r].unit](t[o[r].unit]);else if(x(this[t=j(t)]))return this[t](e);return this},Fo.startOf=function(t){var o;if(void 0===(t=j(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Vt:Bt;switch(t){case"year":o=r(this.year(),0,1);break;case"quarter":o=r(this.year(),this.month()-this.month()%3,1);break;case"month":o=r(this.year(),this.month(),1);break;case"week":o=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":o=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":o=r(this.year(),this.month(),this.date());break;case"hour":o=this._d.valueOf(),o-=Wt(o+(this._isUTC?0:this.utcOffset()*ko),Do);break;case"minute":o=this._d.valueOf(),o-=Wt(o,ko);break;case"second":o=this._d.valueOf(),o-=Wt(o,jo)}return this._d.setTime(o),e.updateOffset(this,!0),this},Fo.subtract=Oo,Fo.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Fo.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Fo.toDate=function(){return new Date(this.valueOf())},Fo.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,o=e?this.clone().utc():this;return o.year()<0||o.year()>9999?Y(o,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(o,"Z")):Y(o,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Fo.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),this.format("["+t+'("]'+(0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY")+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},Fo.toJSON=function(){return this.isValid()?this.toISOString():null},Fo.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Fo.unix=function(){return Math.floor(this.valueOf()/1e3)},Fo.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Fo.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Fo.year=qe,Fo.isLeapYear=function(){return B(this.year())},Fo.weekYear=function(t){return Ut.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Fo.isoWeekYear=function(t){return Ut.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Fo.quarter=Fo.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Fo.month=J,Fo.daysInMonth=function(){return G(this.year(),this.month())},Fo.week=Fo.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Fo.isoWeek=Fo.isoWeeks=function(t){var e=et(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Fo.weeksInYear=function(){var t=this.localeData()._week;return ot(this.year(),t.dow,t.doy)},Fo.isoWeeksInYear=function(){return ot(this.year(),1,4)},Fo.date=Co,Fo.day=Fo.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},Fo.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Fo.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},Fo.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Fo.hour=Fo.hours=so,Fo.minute=Fo.minutes=Yo,Fo.second=Fo.seconds=Eo,Fo.millisecond=Fo.milliseconds=Io,Fo.utcOffset=function(t,o,r){var i,n=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=kt(Ye,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&o&&(i=Pt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),n!==t&&(!o||this._changeInProgress?Ft(this,Yt(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Pt(this)},Fo.utc=function(t){return this.utcOffset(0,t)},Fo.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Pt(this),"m")),this},Fo.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=kt(Ce,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Fo.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?St(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Fo.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Fo.isLocal=function(){return!!this.isValid()&&!this._isUTC},Fo.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Fo.isUtc=Ct,Fo.isUTC=Ct,Fo.zoneAbbr=function(){return this._isUTC?"UTC":""},Fo.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Fo.dates=M("dates accessor is deprecated. Use date instead.",Co),Fo.months=M("months accessor is deprecated. Use month instead",J),Fo.years=M("years accessor is deprecated. Use year instead",qe),Fo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),Fo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!n(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=wt(t))._a){var e=t._isUTC?l(t._a):St(t._a);this._isDSTShifted=this.isValid()&&_(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var Ao=O.prototype;Ao.calendar=function(t,e,o){var r=this._calendar[t]||this._calendar.sameElse;return x(r)?r.call(e,o):r},Ao.longDateFormat=function(t){var e=this._longDateFormat[t],o=this._longDateFormat[t.toUpperCase()];return e||!o?e:(this._longDateFormat[t]=o.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},Ao.invalidDate=function(){return this._invalidDate},Ao.ordinal=function(t){return this._ordinal.replace("%d",t)},Ao.preparse=$t,Ao.postformat=$t,Ao.relativeTime=function(t,e,o,r){var i=this._relativeTime[o];return x(i)?i(t,e,o,r):i.replace(/%d/i,t)},Ao.pastFuture=function(t,e){var o=this._relativeTime[t>0?"future":"past"];return x(o)?o(e):o.replace(/%s/i,e)},Ao.set=function(t){var e,o;for(o in t)x(e=t[o])?this[o]=e:this["_"+o]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ao.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||$e).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},Ao.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[$e.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ao.monthsParse=function(t,e,o){var r,i,n;if(this._monthsParseExact)return q.call(this,t,e,o);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=l([2e3,r]),o&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),o||this._monthsParse[r]||(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),o&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(o&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!o&&this._monthsParse[r].test(t))return r}},Ao.monthsRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||X.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Ze),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Ao.monthsShortRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||X.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Ke),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Ao.week=function(t){return et(t,this._week.dow,this._week.doy).week},Ao.firstDayOfYear=function(){return this._week.doy},Ao.firstDayOfWeek=function(){return this._week.dow},Ao.weekdays=function(t,e){var o=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?rt(o,this._week.dow):t?o[t.day()]:o},Ao.weekdaysMin=function(t){return!0===t?rt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Ao.weekdaysShort=function(t){return!0===t?rt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Ao.weekdaysParse=function(t,e,o){var r,i,n;if(this._weekdaysParseExact)return it.call(this,t,e,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=l([2e3,1]).day(r),o&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),o&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(o&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(o&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!o&&this._weekdaysParse[r].test(t))return r}},Ao.weekdaysRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=oo),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Ao.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ro),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ao.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=io),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ao.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Ao.meridiem=function(t,e,o){return t>11?o?"pm":"PM":o?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=M("moment.lang is deprecated. Use moment.locale instead.",lt),e.langData=M("moment.langData is deprecated. Use moment.localeData instead.",dt);var No=Math.abs,Ho=oe("ms"),Wo=oe("s"),Bo=oe("m"),Vo=oe("h"),zo=oe("d"),Uo=oe("w"),Go=oe("M"),qo=oe("Q"),$o=oe("y"),Jo=re("milliseconds"),Xo=re("seconds"),Ko=re("minutes"),Zo=re("hours"),Qo=re("days"),tr=re("months"),er=re("years"),or=Math.round,rr={ss:44,s:45,m:45,h:22,d:26,M:11},ir=Math.abs,nr=Lt.prototype;return nr.isValid=function(){return this._isValid},nr.abs=function(){var t=this._data;return this._milliseconds=No(this._milliseconds),this._days=No(this._days),this._months=No(this._months),t.milliseconds=No(t.milliseconds),t.seconds=No(t.seconds),t.minutes=No(t.minutes),t.hours=No(t.hours),t.months=No(t.months),t.years=No(t.years),this},nr.add=function(t,e){return Zt(this,t,e,1)},nr.subtract=function(t,e){return Zt(this,t,e,-1)},nr.as=function(t){if(!this.isValid())return NaN;var e,o,r=this._milliseconds;if("month"===(t=j(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,o=this._months+te(e),t){case"month":return o;case"quarter":return o/3;case"year":return o/12}else switch(e=this._days+Math.round(ee(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},nr.asMilliseconds=Ho,nr.asSeconds=Wo,nr.asMinutes=Bo,nr.asHours=Vo,nr.asDays=zo,nr.asWeeks=Uo,nr.asMonths=Go,nr.asQuarters=qo,nr.asYears=$o,nr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN},nr._bubble=function(){var t,e,o,r,i,n=this._milliseconds,s=this._days,a=this._months,c=this._data;return n>=0&&s>=0&&a>=0||n<=0&&s<=0&&a<=0||(n+=864e5*Qt(ee(a)+s),s=0,a=0),c.milliseconds=n%1e3,t=v(n/1e3),c.seconds=t%60,e=v(t/60),c.minutes=e%60,o=v(e/60),c.hours=o%24,s+=v(o/24),a+=i=v(te(s)),s-=Qt(ee(i)),r=v(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},nr.clone=function(){return Yt(this)},nr.get=function(t){return t=j(t),this.isValid()?this[t+"s"]():NaN},nr.milliseconds=Jo,nr.seconds=Xo,nr.minutes=Ko,nr.hours=Zo,nr.days=Qo,nr.weeks=function(){return v(this.days()/7)},nr.months=tr,nr.years=er,nr.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),o=function(t,e,o){var r=Yt(t).abs(),i=or(r.as("s")),n=or(r.as("m")),s=or(r.as("h")),a=or(r.as("d")),c=or(r.as("M")),u=or(r.as("y")),p=i<=rr.ss&&["s",i]||i<rr.s&&["ss",i]||n<=1&&["m"]||n<rr.m&&["mm",n]||s<=1&&["h"]||s<rr.h&&["hh",s]||a<=1&&["d"]||a<rr.d&&["dd",a]||c<=1&&["M"]||c<rr.M&&["MM",c]||u<=1&&["y"]||["yy",u];return p[2]=e,p[3]=+t>0,p[4]=o,ie.apply(null,p)}(this,!t,e);return t&&(o=e.pastFuture(+this,o)),e.postformat(o)},nr.toISOString=se,nr.toString=se,nr.toJSON=se,nr.locale=Nt,nr.localeData=Ht,nr.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",se),nr.lang=To,C("X",0,0,"unix"),C("x",0,0,"valueOf"),E("x",Pe),E("X",/[+-]?\d+(\.\d{1,3})?/),A("X",(function(t,e,o){o._d=new Date(1e3*parseFloat(t,10))})),A("x",(function(t,e,o){o._d=new Date(b(t))})),e.version="2.24.0",ae=St,e.fn=Fo,e.min=function(){return xt("isBefore",[].slice.call(arguments,0))},e.max=function(){return xt("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=l,e.unix=function(t){return St(1e3*t)},e.months=function(t,e){return Xt(t,e,"months")},e.isDate=a,e.locale=lt,e.invalid=f,e.duration=Yt,e.isMoment=g,e.weekdays=function(t,e,o){return Kt(t,e,o,"weekdays")},e.parseZone=function(){return St.apply(null,arguments).parseZone()},e.localeData=dt,e.isDuration=Ot,e.monthsShort=function(t,e){return Xt(t,e,"monthsShort")},e.weekdaysMin=function(t,e,o){return Kt(t,e,o,"weekdaysMin")},e.defineLocale=ht,e.updateLocale=function(t,e){if(null!=e){var o,r,i=ao;null!=(r=pt(t))&&(i=r._config),(o=new O(e=L(i,e))).parentLocale=co[t],co[t]=o,lt(t)}else null!=co[t]&&(null!=co[t].parentLocale?co[t]=co[t].parentLocale:null!=co[t]&&delete co[t]);return co[t]},e.locales=function(){return ue(co)},e.weekdaysShort=function(t,e,o){return Kt(t,e,o,"weekdaysShort")},e.normalizeUnits=j,e.relativeTimeRounding=function(t){return void 0===t?or:"function"==typeof t&&(or=t,!0)},e.relativeTimeThreshold=function(t,e){return void 0!==rr[t]&&(void 0===e?rr[t]:(rr[t]=e,"s"===t&&(rr.ss=e-1),!0))},e.calendarFormat=function(t,e){var o=t.diff(e,"days",!0);return o<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse"},e.prototype=Fo,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}()}).call(e,o(1178)(t))},function(t,e){function o(t,e){var o,r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var n=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");return[r].concat(i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}))).concat([n]).join("\n")}return[r].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=o(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var n=this[i][0];"number"==typeof n&&(r[n]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),e.push(s))}},e}},function(t,e,o){"use strict";function r(t){return t instanceof u||"syncErrorThrowable"in t&&t[c.rxSubscriber]}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(65),s=o(15),a=o(140),c=o(66),u=function(t){function e(e,o,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!e){this.destination=a.empty;break}if("object"==typeof e){if(r(e)){var n=e[c.rxSubscriber]();this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)}else this.syncErrorThrowable=!0,this.destination=new p(this,e);break}default:this.syncErrorThrowable=!0,this.destination=new p(this,e,o,i)}}return i(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,o,r){var i=new e(t,o,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(s.Subscription);e.Subscriber=u;var p=function(t){function e(e,o,r,i){t.call(this),this._parentSubscriber=e;var s,c=this;n.isFunction(o)?s=o:o&&(s=o.next,r=o.error,i=o.complete,o!==a.empty&&(c=Object.create(o),n.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=s,this._error=r,this._complete=i}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var o=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,o),this.unsubscribe()):(this.__tryOrUnsub(o),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,o){try{e.call(this._context,o)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e){t.exports=require("@angular/material")},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(498))},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.OuterSubscriber=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=o(20),i=o(142),n=o(143),s=o(138),a=o(1),c=o(41),u=o(510),p=o(67);e.subscribeToResult=function(t,e,o,l){var h=new u.InnerSubscriber(t,o,l);if(h.closed)return null;if(e instanceof a.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):(h.syncErrorThrowable=!0,e.subscribe(h));if(i.isArrayLike(e)){for(var d=0,f=e.length;d<f&&!h.closed;d++)h.next(e[d]);h.closed||h.complete()}else{if(n.isPromise(e))return e.then((function(t){h.closed||(h.next(t),h.complete())}),(function(t){return h.error(t)})).then(null,(function(t){r.root.setTimeout((function(){throw t}))})),h;if(e&&"function"==typeof e[c.iterator])for(var y=e[c.iterator]();;){var m=y.next();if(m.done){h.complete();break}if(h.next(m.value),h.closed)break}else if(e&&"function"==typeof e[p.observable]){var g=e[p.observable]();if("function"==typeof g.subscribe)return g.subscribe(new u.InnerSubscriber(t,o,l));h.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v="You provided "+(s.isObject(e)?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";h.error(new TypeError(v))}}return null}},function(t,e,o){"use strict";var r=o(46);e.async=new(o(47).AsyncScheduler)(r.AsyncAction)},function(t,e,o){t.exports=function(){function t(t,e){var o,r=$y;t=t.split("."),r=r||Jy,t[0]in r||!r.execScript||r.execScript("var "+t[0]);for(;t.length&&(o=t.shift());)t.length||void 0===e?r=r[o]&&r[o]!==Object.prototype[o]?r[o]:r[o]={}:r[o]=e}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function o(){}function r(t){return t.xp||(t.xp=++Xy)}function i(t){this.message="Assertion failed. See https://openlayers.org/en/v4.6.5/doc/errors/#"+t+" for details.",this.code=t,this.name="AssertionError"}function n(t,e,o,r){this.fa=t,this.la=e,this.ea=o,this.ka=r}function s(t,e,o,r,i){return void 0!==i?(i.fa=t,i.la=e,i.ea=o,i.ka=r,i):new n(t,e,o,r)}function a(t,e,o){return t.fa<=e&&e<=t.la&&t.ea<=o&&o<=t.ka}function c(t,e){if(!t)throw new i(e)}function u(t,e,o){return Math.min(Math.max(t,e),o)}function p(t,e,o,r,i,n){var s=i-o,a=n-r;if(0!==s||0!==a){var c=((t-o)*s+(e-r)*a)/(s*s+a*a);1<c?(o=i,r=n):0<c&&(o+=s*c,r+=a*c)}return l(t,e,o,r)}function l(t,e,o,r){return(t=o-t)*t+(e=r-e)*e}function h(t){return t*Math.PI/180}function d(t,e){return 0>(t%=e)*e?t+e:t}function f(t,e,o){return t+o*(e-t)}function y(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function m(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function g(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}function v(t){for(var e=[1/0,1/0,-1/0,-1/0],o=0,r=t.length;o<r;++o)Y(e,t[o]);return e}function b(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function _(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function w(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function M(t,e){return x(t,e[0],e[1])}function S(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function x(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function L(t,e){var o=t[1],r=t[2],i=t[3],n=e[0];e=e[1];var s=0;return n<t[0]?s|=16:n>r&&(s|=4),e<o?s|=8:e>i&&(s|=2),0===s&&(s=1),s}function O(){return[1/0,1/0,-1/0,-1/0]}function T(t,e,o,r,i){return i?(i[0]=t,i[1]=e,i[2]=o,i[3]=r,i):[t,e,o,r]}function j(t){return T(1/0,1/0,-1/0,-1/0,t)}function k(t,e){var o=t[0];return T(o,t=t[1],o,t,e)}function D(t,e,o,r,i){return R(i=j(i),t,e,o,r)}function P(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function C(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function Y(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function R(t,e,o,r,i){for(;o<r;o+=i){var n=t,s=e[o],a=e[o+1];n[0]=Math.min(n[0],s),n[1]=Math.min(n[1],a),n[2]=Math.max(n[2],s),n[3]=Math.max(n[3],a)}return t}function E(t,e,o){var r;return((r=e.call(o,F(t)))||(r=e.call(o,A(t)))||(r=e.call(o,z(t)))||!!(r=e.call(o,V(t))))&&r}function I(t){var e=0;return q(t)||(e=U(t)*W(t)),e}function F(t){return[t[0],t[1]]}function A(t){return[t[2],t[1]]}function N(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function H(t,e,o,r,i){var n=e*r[0]/2;r=e*r[1]/2,e=Math.cos(o);var s=Math.sin(o);o=n*e,n*=s,e*=r;var a=r*s,c=t[0],u=t[1];t=c-o+a,r=c-o-a,s=c+o-a,o=c+o+a,a=u-n-e,c=u-n+e;var p=u+n+e;return n=u+n-e,T(Math.min(t,r,s,o),Math.min(a,c,p,n),Math.max(t,r,s,o),Math.max(a,c,p,n),i)}function W(t){return t[3]-t[1]}function B(t,e,o){return o=o||[1/0,1/0,-1/0,-1/0],G(t,e)&&(o[0]=t[0]>e[0]?t[0]:e[0],o[1]=t[1]>e[1]?t[1]:e[1],o[2]=t[2]<e[2]?t[2]:e[2],o[3]=t[3]<e[3]?t[3]:e[3]),o}function V(t){return[t[0],t[3]]}function z(t){return[t[2],t[3]]}function U(t){return t[2]-t[0]}function G(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function q(t){return t[2]<t[0]||t[3]<t[1]}function $(t,e){var o=(t[2]-t[0])/2*(e-1);e=(t[3]-t[1])/2*(e-1),t[0]-=o,t[2]+=o,t[1]-=e,t[3]+=e}function J(t,e,o){e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2);var r=[t[0],t[2],t[4],t[6]],i=[t[1],t[3],t[5],t[7]];return T(e=Math.min.apply(null,r),t=Math.min.apply(null,i),r=Math.max.apply(null,r),i=Math.max.apply(null,i),o)}function X(t){for(var e in t)delete t[e]}function K(t){var e,o=[];for(e in t)o.push(t[e]);return o}function Z(t){for(var e in t)return!1;return!e}function Q(t){this.radius=t}function tt(t,e){for(var o=0,r=0,i=t.length;r<i-1;++r)o+=et(t[r],t[r+1],e);return o}function et(t,e,o){var r=h(t[1]),i=h(e[1]),n=(i-r)/2;return t=h(e[0]-t[0])/2,r=Math.sin(n)*Math.sin(n)+Math.sin(t)*Math.sin(t)*Math.cos(r)*Math.cos(i),2*o*Math.atan2(Math.sqrt(r),Math.sqrt(1-r))}function ot(t,e){for(var o=0,r=t.length,i=t[r-1][0],n=t[r-1][1],s=0;s<r;s++){var a=t[s][0],c=t[s][1];o+=h(a-i)*(2+Math.sin(h(n))+Math.sin(h(c))),i=a,n=c}return o*e*e/2}function rt(t){this.wb=t.code,this.a=t.units,this.i=void 0!==t.extent?t.extent:null,this.oe=void 0!==t.worldExtent?t.worldExtent:null,this.b=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.c=void 0!==t.global&&t.global,this.g=!(!this.c||!this.i),this.j=t.getPointResolution,this.f=null,this.l=t.metersPerUnit;var e=t.code,o=tm||window.proj4;"function"==typeof o&&void 0!==(e=o.defs(e))&&(void 0!==e.axis&&void 0===t.axisOrientation&&(this.b=e.axis),void 0===t.metersPerUnit&&(this.l=e.to_meter),void 0===t.units&&(this.a=e.units))}function it(t){rt.call(this,{code:t,units:"m",extent:om,global:!0,worldExtent:rm,getPointResolution:function(t,e){return t/Ky(e[1]/6378137)}})}function nt(t,e,o){var r=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(r));for(var i=0;i<r;i+=o){e[i]=em*t[i]/180;var n=6378137*Math.log(Math.tan(Math.PI*(t[i+1]+90)/360));n>em?n=em:n<-em&&(n=-em),e[i+1]=n}return e}function st(t,e,o){var r=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(r));for(var i=0;i<r;i+=o)e[i]=180*t[i]/em,e[i+1]=360*Math.atan(Math.exp(t[i+1]/6378137))/Math.PI-90;return e}function at(t,e){rt.call(this,{code:t,units:"degrees",extent:nm,axisOrientation:e,global:!0,metersPerUnit:sm,worldExtent:nm})}function ct(t,e,o){t=t.wb,e=e.wb,t in um||(um[t]={}),um[t][e]=o}function ut(t,e){var o;return t in um&&e in um[t]&&(o=um[t][e]),o}function pt(t,e,o,r){var i=(t=mt(t)).j;return i?e=i(e,o):"degrees"==t.a&&!r||"degrees"==r||(e=(i=bt(t,mt("EPSG:4326")))(e=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],e,2),e=(pm.b(e.slice(0,2),e.slice(2,4))+pm.b(e.slice(4,6),e.slice(6,8)))/2,void 0!==(t=r?Qy[r]:t.Bc())&&(e/=t)),e}function lt(t){t.forEach(ht),t.forEach((function(e){t.forEach((function(t){e!==t&&ct(e,t,wt)}))}))}function ht(t){cm[t.wb]=t,ct(t,t,wt)}function dt(t){return t?"string"==typeof t?mt(t):t:mt("EPSG:3857")}function ft(t,e,o,r){ct(t=mt(t),e=mt(e),yt(o)),ct(e,t,yt(r))}function yt(t){return function(e,o,r){var i,n=e.length;for(r=void 0!==r?r:2,o=void 0!==o?o:Array(n),i=0;i<n;i+=r){var s=t([e[i],e[i+1]]);for(o[i]=s[0],o[i+1]=s[1],s=r-1;2<=s;--s)o[i+s]=e[i+s]}return o}}function mt(t){var e=null;if(t instanceof rt)e=t;else if("string"==typeof t&&!(e=cm[t]||null)){var o=tm||window.proj4;"function"==typeof o&&void 0!==o.defs(t)&&ht(e=new rt({code:t}))}return e}function gt(t,e){if(t===e)return!0;var o=t.a===e.a;return(t.wb===e.wb||bt(t,e)===wt)&&o}function vt(t,e){return bt(t=mt(t),e=mt(e))}function bt(t,e){var o=t.wb,r=e.wb,i=ut(o,r);if(!i){var n=tm||window.proj4;if("function"==typeof n){var s=n.defs(o),a=n.defs(r);void 0!==s&&void 0!==a&&(s===a?lt([e,t]):ft(e,t,(i=n(r,o)).forward,i.inverse),i=ut(o,r))}}return i||(i=_t),i}function _t(t,e){if(void 0!==e&&t!==e){for(var o=0,r=t.length;o<r;++o)e[o]=t[o];t=e}return t}function wt(t,e){if(void 0!==e){for(var o=0,r=t.length;o<r;++o)e[o]=t[o];t=e}else t=t.slice();return t}function Mt(t,e,o){return vt(e,o)(t,void 0,t.length)}function St(t,e,o){return J(t,e=vt(e,o))}function xt(){lt(im),lt(am),am.forEach((function(t){im.forEach((function(e){ct(t,e,nt),ct(e,t,st)}))}))}function Lt(t,e){return t>e?1:t<e?-1:0}function Ot(t,e){return 0<=t.indexOf(e)}function Tt(t,e,o){var r=t.length;if(t[0]<=e)return 0;if(!(e<=t[r-1]))if(0<o){for(o=1;o<r;++o)if(t[o]<e)return o-1}else if(0>o){for(o=1;o<r;++o)if(t[o]<=e)return o}else for(o=1;o<r;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return r-1}function jt(t,e){var o=Array.isArray(e)?e:[e],r=o.length;for(e=0;e<r;e++)t[t.length]=o[e]}function kt(t,e){for(var o,r=t.length>>>0,i=0;i<r;i++)if(e(o=t[i],i,t))return o;return null}function Dt(t,e){var o=t.length;if(o!==e.length)return!1;for(var r=0;r<o;r++)if(t[r]!==e[r])return!1;return!0}function Pt(t){var e,o=En,r=t.length,i=Array(t.length);for(e=0;e<r;e++)i[e]={index:e,value:t[e]};for(i.sort((function(t,e){return o(t.value,e.value)||t.index-e.index})),e=0;e<t.length;e++)t[e]=i[e].value}function Ct(t,e){var o;return t.every((function(r,i){return o=i,!e(r,i,t)}))?-1:o}function Yt(t,e,o,r){return void 0!==r?(r[0]=t,r[1]=e,r[2]=o,r):[t,e,o]}function Rt(t){if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.b=t.resolutions,c(function(t,e){var o=e||Lt;return t.every((function(e,r){return 0===r||!(0<(e=o(t[r-1],e))||0===e)}))}(this.b,(function(t,e){return e-t})),17),!t.origins)for(var e=0,o=this.b.length-1;e<o;++e)if(r){if(this.b[e]/this.b[e+1]!==r){r=void 0;break}}else var r=this.b[e]/this.b[e+1];this.l=r,this.maxZoom=this.b.length-1,this.g=void 0!==t.origin?t.origin:null,this.c=null,void 0!==t.origins&&(this.c=t.origins,c(this.c.length==this.b.length,20)),void 0===(r=t.extent)||this.g||this.c||(this.g=V(r)),c(!this.g&&this.c||this.g&&!this.c,18),this.i=null,void 0!==t.tileSizes&&(this.i=t.tileSizes,c(this.i.length==this.b.length,19)),this.j=void 0!==t.tileSize?t.tileSize:this.i?null:256,c(!this.j&&this.i||this.j&&!this.i,22),this.o=void 0!==r?r:null,this.a=null,this.f=[0,0],void 0!==t.sizes?this.a=t.sizes.map((function(t){return new n(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))}),this):r&&function(t,e){for(var o=t.b.length,r=Array(o),i=t.minZoom;i<o;++i)r[i]=Ft(t,e,i);t.a=r}(this,r)}function Et(t,e,o,r,i){var n=null,a=e[0]-1;if(2===t.l)var c=e[1],u=e[2];else n=t.Ma(e,i);for(;a>=t.minZoom;){if(e=2===t.l?s(c=Math.floor(c/2),c,u=Math.floor(u/2),u,r):Ft(t,n,a,r),o.call(null,a,e))return!0;--a}return!1}function It(t,e,o,r){return e[0]<t.maxZoom?2===t.l?s(t=2*e[1],t+1,e=2*e[2],e+1,o):(r=t.Ma(e,r),Ft(t,r,e[0]+1,o)):null}function Ft(t,e,o,r){Nt(t,e[0],e[1],o,!1,lm);var i=lm[1],n=lm[2];return Nt(t,e[2],e[3],o,!0,lm),s(i,lm[1],n,lm[2],r)}function At(t,e){var o=t.Ic(e[0]),r=t.Ta(e[0]);return t=g(t.Za(e[0]),t.f),[o[0]+(e[1]+.5)*t[0]*r,o[1]+(e[2]+.5)*t[1]*r]}function Nt(t,e,o,r,i,n){var s=t.Ic(r),a=t.Ta(r);return t=g(t.Za(r),t.f),e=Math.floor((e-s[0])/a+(i?.5:0))/t[0],o=Math.floor((o-s[1])/a+(i?0:.5))/t[1],i?(e=Math.ceil(e)-1,o=Math.ceil(o)-1):(e=Math.floor(e),o=Math.floor(o)),Yt(r,e,o,n)}function Ht(t){var e=t.f;return e||(e=Vt(t),t.f=e),e}function Wt(t){var e={};return Zy(e,void 0!==t?t:{}),void 0===e.extent&&(e.extent=mt("EPSG:3857").G()),e.resolutions=Bt(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new Rt(e)}function Bt(t,e,o){e=void 0!==e?e:42;var r=W(t);for(t=U(t),o=g(void 0!==o?o:256),o=Math.max(t/o[0],r/o[1]),e+=1,r=Array(e),t=0;t<e;++t)r[t]=o/Math.pow(2,t);return r}function Vt(t,e,o){return e=Bt(t=zt(t),e,o),new Rt({extent:t,origin:V(t),resolutions:e,tileSize:o})}function zt(t){var e=(t=mt(t)).G();return e||(e=T(-(t=180*Qy.degrees/t.Bc()),-t,t,t)),e}function Ut(t){this.og=t.html}function Gt(t,e,o,r){for(var i,n=0,s=t.length;n<s;++n)if((i=t[n]).listener===e&&i.Ch===o)return r&&(i.deleteIndex=n),i}function qt(t,e){return(t=t.ab)?t[e]:void 0}function $t(t){var e=t.ab;return e||(e=t.ab={}),e}function Jt(t,e){var o=qt(t,e);if(o){for(var r=0,i=o.length;r<i;++r)t.removeEventListener(e,o[r].Dh),X(o[r]);o.length=0,(o=t.ab)&&(delete o[e],0===Object.keys(o).length&&delete t.ab)}}function Xt(t,e,o,r,i){var n=$t(t),s=n[e];return s||(s=n[e]=[]),(n=Gt(s,o,r,!1))?i||(n.Eh=!1):(n={Ch:r,Eh:!!i,listener:o,target:t,type:e},t.addEventListener(e,function(t){return t.Dh=function(e){var o=t.listener,r=t.Ch||t.target;return t.Eh&&Qt(t),o.call(r,e)}}(n)),s.push(n)),n}function Kt(t,e,o,r){return Xt(t,e,o,r,!0)}function Zt(t,e,o,r){(t=qt(t,e))&&(o=Gt(t,o,r,!0))&&Qt(o)}function Qt(t){if(t&&t.target){t.target.removeEventListener(t.type,t.Dh);var e=qt(t.target,t.type);if(e){var o="deleteIndex"in t?t.deleteIndex:e.indexOf(t);-1!==o&&e.splice(o,1),0===e.length&&Jt(t.target,t.type)}X(t)}}function te(t){var e,o=$t(t);for(e in o)Jt(t,e)}function ee(){}function oe(t){t.Ub||(t.Ub=!0,t.ia())}function re(t){this.type=t,this.target=null}function ie(t){t.stopPropagation()}function ne(){this.Wa={},this.qa={},this.oa={}}function se(t,e){return e?e in t.oa:0<Object.keys(t.oa).length}function ae(){ne.call(this),this.g=0}function ce(t){ae.call(this),r(this),this.N={},void 0!==t&&this.H(t)}function ue(t){return hm.hasOwnProperty(t)?hm[t]:hm[t]="change:"+t}function pe(t,e,o){t.b(new le(ue(e),e,o)),t.b(new le("propertychange",e,o))}function le(t,e,o){re.call(this,t),this.key=e,this.oldValue=o}function he(t,e){if(ce.call(this),this.c=!!(e||{}).unique,this.a=t||[],this.c)for(t=0,e=this.a.length;t<e;++t)fe(this,this.a[t],t);de(this)}function de(t){t.set(dm,t.a.length)}function fe(t,e,o){for(var r=0,n=t.a.length;r<n;++r)if(t.a[r]===e&&r!==o)throw new i(58)}function ye(t,e){re.call(this,t),this.element=e}function me(t,e,o){re.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function ge(t,e,o,r,i){me.call(this,t,e,i),this.originalEvent=o,this.pixel=e.ud(o),this.coordinate=e.Ra(this.pixel),this.dragging=void 0!==r&&r}function ve(t,e){var o,r,i=mm.length;for(r=0;r<i;++r)try{if(o=t.getContext(mm[r],e))return o}catch(t){}return null}function be(t,e,o,r,i){ge.call(this,t,e,o.b,r,i),this.b=o}function _e(t,e){this.b=t,this.i=e}function we(t){_e.call(this,t,{mousedown:this.Jm,mousemove:this.Km,mouseup:this.Nm,mouseover:this.Mm,mouseout:this.Lm}),this.a=t.g,this.g=[]}function Me(t,e){t=t.g;var o=e.clientX;e=e.clientY;for(var r,i=0,n=t.length;i<n&&(r=t[i]);i++){var s=Math.abs(e-r[1]);if(25>=Math.abs(o-r[0])&&25>=s)return!0}return!1}function Se(t){var e=Ie(t,t),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function xe(t){_e.call(this,t,{MSPointerDown:this.Sm,MSPointerMove:this.Tm,MSPointerUp:this.Wm,MSPointerOut:this.Um,MSPointerOver:this.Vm,MSPointerCancel:this.Rm,MSGotPointerCapture:this.Pm,MSLostPointerCapture:this.Qm}),this.a=t.g,this.g=["","unavailable","touch","pen","mouse"]}function Le(t,e){var o=e;return"number"==typeof e.pointerType&&((o=Ie(e,e)).pointerType=t.g[e.pointerType]),o}function Oe(t){_e.call(this,t,{pointerdown:this.Kp,pointermove:this.Lp,pointerup:this.Op,pointerout:this.Mp,pointerover:this.Np,pointercancel:this.Jp,gotpointercapture:this.Wl,lostpointercapture:this.Hm})}function Te(t,e,o){re.call(this,t),this.b=e,t=o||{},this.buttons=function(t){if(t.buttons||Rm)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}(t),this.pressure=function(t,e){return t.pressure?t.pressure:e?.5:0}(t,this.buttons),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.ctrlKey="ctrlKey"in t&&t.ctrlKey,this.altKey="altKey"in t&&t.altKey,this.shiftKey="shiftKey"in t&&t.shiftKey,this.metaKey="metaKey"in t&&t.metaKey,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.tiltX="tiltX"in t?t.tiltX:0,this.tiltY="tiltY"in t?t.tiltY:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}function je(t,e){_e.call(this,t,{touchstart:this.Qq,touchmove:this.Pq,touchend:this.Oq,touchcancel:this.Nq}),this.a=t.g,this.j=e,this.g=void 0,this.f=0,this.c=void 0}function ke(t,e,o){return(e=Ie(e,o)).pointerId=o.identifier+2,e.bubbles=!0,e.cancelable=!0,e.detail=t.f,e.button=0,e.buttons=1,e.width=o.webkitRadiusX||o.radiusX||0,e.height=o.webkitRadiusY||o.radiusY||0,e.pressure=o.webkitForce||o.force||.5,e.isPrimary=t.g===o.identifier,e.pointerType="touch",e.clientX=o.clientX,e.clientY=o.clientY,e.screenX=o.screenX,e.screenY=o.screenY,e}function De(t,e,o){function r(){e.preventDefault()}var i,n=Array.prototype.slice.call(e.changedTouches),s=n.length;for(i=0;i<s;++i){var a=ke(t,e,n[i]);a.preventDefault=r,o.call(t,e,a)}}function Pe(t,e){var o=t.j.g;if(e=e.changedTouches[0],t.g===e.identifier){var r=[e.clientX,e.clientY];o.push(r),setTimeout((function(){var t=o.indexOf(r);-1<t&&o.splice(t,1)}),2500)}}function Ce(t){ne.call(this),this.f=t,this.g={},this.i={},this.a=[],jm?Ye(this,new Oe(this)):km?Ye(this,new xe(this)):(Ye(this,t=new we(this)),Tm&&Ye(this,new je(this,t))),t=this.a.length;for(var e,o=0;o<t;o++)e=this.a[o],Re(this,Object.keys(e.i))}function Ye(t,e){var o=Object.keys(e.i);o&&(o.forEach((function(t){var o=e.i[t];o&&(this.i[t]=o.bind(e))}),t),t.a.push(e))}function Re(t,e){e.forEach((function(t){Xt(this.f,t,this.c,this)}),t)}function Ee(t,e){e.forEach((function(t){Zt(this.f,t,this.c,this)}),t)}function Ie(t,e){for(var o,r={},i=0,n=Em.length;i<n;i++)r[o=Em[i][0]]=t[o]||e[o]||Em[i][1];return r}function Fe(t,e,o){e.bubbles=!1,He(t,"pointerleave",e,o)}function Ae(t,e,o){t.out(e,o);var r=e.target,i=e.relatedTarget;r&&i&&r.contains(i)||Fe(t,e,o)}function Ne(t,e,o){e.bubbles=!0,He(t,"pointerover",e,o);var r=e.target,i=e.relatedTarget;r&&i&&r.contains(i)||(e.bubbles=!1,He(t,"pointerenter",e,o))}function He(t,e,o,r){t.b(new Te(e,r,o))}function We(t,e){t.b(new Te(e.type,e,e))}function Be(t,e){ne.call(this),this.g=t,this.j=0,this.l=!1,this.i=[],this.D=e?e*Mm:Mm,this.c=null,t=this.g.a,this.N=0,this.o={},this.f=new Ce(t),this.a=null,this.s=Xt(this.f,"pointerdown",this.pm,this),this.v=Xt(this.f,"pointermove",this.mq,this)}function Ve(t,e){"pointerup"==e.type||"pointercancel"==e.type?delete t.o[e.pointerId]:"pointerdown"==e.type&&(t.o[e.pointerId]=!0),t.N=Object.keys(t.o).length}function ze(t,e){return Math.abs(e.clientX-t.c.clientX)>t.D||Math.abs(e.clientY-t.c.clientY)>t.D}function Ue(t,e){this.s=t,this.c=e,this.b=[],this.g=[],this.a={}}function Ge(t){var e=t.b,o=t.g,r=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),qe(t,0)),e=t.c(r),delete t.a[e],r}function qe(t,e){for(var o=t.b,r=t.g,i=o.length,n=o[e],s=r[e],a=e;e<i>>1;){var c=2*e+1,u=2*e+2;c=u<i&&r[u]<r[c]?u:c,o[e]=o[c],r[e]=r[c],e=c}o[e]=n,r[e]=s,$e(t,a,e)}function $e(t,e,o){var r=t.b;t=t.g;for(var i=r[o],n=t[o];o>e;){var s=o-1>>1;if(!(t[s]>n))break;r[o]=r[s],t[o]=t[s],o=s}r[o]=i,t[o]=n}function Je(t){var e,o=t.s,r=t.b,i=t.g,n=0,s=r.length;for(e=0;e<s;++e){var a=r[e],c=o(a);1/0==c?delete t.a[t.c(a)]:(i[n]=c,r[n++]=a)}for(r.length=n,i.length=n,o=(t.b.length>>1)-1;0<=o;o--)qe(t,o)}function Xe(t,e){Ue.call(this,(function(e){return t.apply(null,e)}),(function(t){return t[0].lb()})),this.v=e,this.j=0,this.f={}}function Ke(t,e,o){for(var r,i,n,s=0,a=!1;t.j<e&&s<o&&0<t.b.length;)n=(i=Ge(t)[0]).lb(),5===(r=i.getState())?a=!0:0!==r||n in t.f||(t.f[n]=!0,++t.j,++s,i.load());0===s&&a&&t.v()}function Ze(t){return function(e){if(e)return[u(e[0],t[0],t[2]),u(e[1],t[1],t[3])]}}function Qe(t){return t}function to(t){if(void 0!==t)return 0}function eo(t,e){if(void 0!==t)return t+e}function oo(t,e){return 2<(e=-1===(e=(t=void 0!==e?t.toFixed(e):""+t).indexOf("."))?t.length:e)?t:Array(3-e).join("0")+t}function ro(t){t=(""+t).split(".");for(var e=["1","3"],o=0;o<Math.max(t.length,e.length);o++){var r=parseInt(t[o]||"0",10),i=parseInt(e[o]||"0",10);if(r>i)return 1;if(i>r)return-1}return 0}function io(t,e){return t[0]+=e[0],t[1]+=e[1],t}function no(t,e){var o=t[0];t=t[1];var r=e[0],i=e[1];e=r[0],r=r[1];var n=i[0],s=n-e,a=(i=i[1])-r;return 0>=(o=0===s&&0===a?0:(s*(o-e)+a*(t-r))/(s*s+a*a||0))?(t=e,o=r):1<=o?(t=n,o=i):(t=e+o*s,o=r+o*a),[t,o]}function so(t,e,o){e=d(e+180,360)-180;var r=Math.abs(3600*e);o=o||0;var i=Math.pow(10,o),n=Math.floor(r/3600),s=Math.floor((r-3600*n)/60);return 60<=(r=Math.ceil((r-3600*n-60*s)*i)/i)&&(r=0,s+=1),60<=s&&(s=0,n+=1),n+"° "+oo(s)+"′ "+oo(r,o)+"″"+(0==e?"":" "+t.charAt(0>e?1:0))}function ao(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function co(t,e){for(var o=!0,r=t.length-1;0<=r;--r)if(t[r]!=e[r]){o=!1;break}return o}function uo(t,e){var o=Math.cos(e);e=Math.sin(e);var r=t[1]*o+t[0]*e;return t[0]=t[0]*o-t[1]*e,t[1]=r,t}function po(t,e){t[0]*=e,t[1]*=e}function lo(t,e){var o=t[0]-e[0];return o*o+(t=t[1]-e[1])*t}function ho(t,e){return Math.sqrt(lo(t,e))}function fo(t,e){return lo(t,no(t,e))}function yo(t,e){return ao(t,"{x}, {y}",e)}function mo(t){return Math.pow(t,3)}function go(t){return 1-mo(1-t)}function vo(t){return 3*t*t-2*t*t*t}function bo(t){return t}function _o(){return!0}function wo(){return!1}function Mo(t,e,o,r,i,n){for(var s=n||[],a=0;e<o;e+=r){var c=t[e],u=t[e+1];s[a++]=i[0]*c+i[2]*u+i[4],s[a++]=i[1]*c+i[3]*u+i[5]}return n&&s.length!=a&&(s.length=a),s}function So(t,e,o,r,i,n,s){for(var a,c=s||[],u=0;e<o;e+=r)for(c[u++]=t[e]+i,c[u++]=t[e+1]+n,a=e+2;a<e+r;++a)c[u++]=t[a];return s&&c.length!=u&&(c.length=u),c}function xo(t){return Oo(t,1,0,0,1,0,0)}function Lo(t,e){var o=t[0],r=t[1],i=t[2],n=t[3],s=t[4],a=t[5],c=e[0],u=e[1],p=e[2],l=e[3],h=e[4];return e=e[5],t[0]=o*c+i*u,t[1]=r*c+n*u,t[2]=o*p+i*l,t[3]=r*p+n*l,t[4]=o*h+i*e+s,t[5]=r*h+n*e+a,t}function Oo(t,e,o,r,i,n,s){return t[0]=e,t[1]=o,t[2]=r,t[3]=i,t[4]=n,t[5]=s,t}function To(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function jo(t,e){var o=e[0],r=e[1];return e[0]=t[0]*o+t[2]*r+t[4],e[1]=t[1]*o+t[3]*r+t[5],e}function ko(t,e){var o=Math.cos(e);e=Math.sin(e),Lo(t,Oo(Im,o,e,-e,o,0,0))}function Do(t,e,o){return Lo(t,Oo(Im,e,0,0,o,0,0))}function Po(t,e,o){Lo(t,Oo(Im,1,0,0,1,e,o))}function Co(t,e,o,r,i,n,s,a){var c=Math.sin(n);return n=Math.cos(n),t[0]=r*n,t[1]=i*c,t[2]=-r*c,t[3]=i*n,t[4]=s*r*n-a*r*c+e,t[5]=s*i*c+a*i*n+o,t}function Yo(t){var e=t[0]*t[3]-t[1]*t[2];c(0!==e,32);var o=t[0],r=t[1],i=t[2],n=t[3],s=t[4],a=t[5];return t[0]=n/e,t[1]=-r/e,t[2]=-i/e,t[3]=o/e,t[4]=(i*a-n*s)/e,t[5]=-(o*a-r*s)/e,t}function Ro(){ce.call(this),this.s=[1/0,1/0,-1/0,-1/0],this.v=-1,this.i={},this.l=this.f=0,this.O=[1,0,0,1,0,0]}function Eo(){Ro.call(this),this.ja="XY",this.a=2,this.A=null}function Io(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function Fo(t,e,o){t.a=Io(e),t.ja=e,t.A=o}function Ao(t,e,o,r){if(e)o=Io(e);else{for(e=0;e<r;++e){if(0===o.length)return t.ja="XY",void(t.a=2);o=o[0]}var i;2==(o=o.length)?i="XY":3==o?i="XYZ":4==o&&(i="XYZM"),e=i}t.ja=e,t.a=o}function No(t,e,o,r){for(var i=0,n=t[o-r],s=t[o-r+1];e<o;e+=r){var a=t[e],c=t[e+1];i+=s*a-n*c,n=a,s=c}return i/2}function Ho(t,e,o,r){var i,n=0,s=0;for(i=o.length;s<i;++s){var a=o[s];n+=No(t,e,a,r),e=a}return n}function Wo(t,e,o,r,i,n,s){var a=t[e],c=t[e+1],u=t[o]-a,p=t[o+1]-c;if(0!==u||0!==p)if(1<(n=((i-a)*u+(n-c)*p)/(u*u+p*p)))e=o;else if(0<n){for(i=0;i<r;++i)s[i]=f(t[e+i],t[o+i],n);return void(s.length=r)}for(i=0;i<r;++i)s[i]=t[e+i];s.length=r}function Bo(t,e,o,r,i){var n=t[e],s=t[e+1];for(e+=r;e<o;e+=r){var a=t[e],c=t[e+1];(n=l(n,s,a,c))>i&&(i=n),n=a,s=c}return i}function Vo(t,e,o,r,i){var n,s=0;for(n=o.length;s<n;++s){var a=o[s];i=Bo(t,e,a,r,i),e=a}return i}function zo(t,e,o,r,i,n,s,a,c,u,p){if(e==o)return u;if(0===i){var h=l(s,a,t[e],t[e+1]);if(h<u){for(p=0;p<r;++p)c[p]=t[e+p];return c.length=r,h}return u}for(var d=p||[NaN,NaN],f=e+r;f<o;)if(Wo(t,f-r,f,r,s,a,d),(h=l(s,a,d[0],d[1]))<u){for(u=h,p=0;p<r;++p)c[p]=d[p];c.length=r,f+=r}else f+=r*Math.max((Math.sqrt(h)-Math.sqrt(u))/i|0,1);if(n&&(Wo(t,o-r,e,r,s,a,d),(h=l(s,a,d[0],d[1]))<u)){for(u=h,p=0;p<r;++p)c[p]=d[p];c.length=r}return u}function Uo(t,e,o,r,i,n,s,a,c,u,p){p=p||[NaN,NaN];var l,h=0;for(l=o.length;h<l;++h){var d=o[h];u=zo(t,e,d,r,i,n,s,a,c,u,p),e=d}return u}function Go(t,e){var o,r=0,i=0;for(o=e.length;i<o;++i)t[r++]=e[i];return r}function qo(t,e,o,r){var i,n=0;for(i=o.length;n<i;++n){var s,a=o[n];for(s=0;s<r;++s)t[e++]=a[s]}return e}function $o(t,e,o,r,i){i=i||[];var n,s=0,a=0;for(n=o.length;a<n;++a)e=qo(t,e,o[a],r),i[s++]=e;return i.length=s,i}function Jo(t,e,o,r,i){i=void 0!==i?i:[];for(var n=0;e<o;e+=r)i[n++]=t.slice(e,e+r);return i.length=n,i}function Xo(t,e,o,r,i){i=void 0!==i?i:[];var n,s=0,a=0;for(n=o.length;a<n;++a){var c=o[a];i[s++]=Jo(t,e,c,r,i[s]),e=c}return i.length=s,i}function Ko(t,e,o,r,i){i=void 0!==i?i:[];var n,s=0,a=0;for(n=o.length;a<n;++a){var c=o[a];i[s++]=Xo(t,e,c,r,i[s]),e=c[c.length-1]}return i.length=s,i}function Zo(t,e,o,r,i,n,s){var a=(o-e)/r;if(3>a){for(;e<o;e+=r)n[s++]=t[e],n[s++]=t[e+1];return s}var c=Array(a);c[0]=1,c[a-1]=1,o=[e,o-r];for(var u,l=0;0<o.length;){var h=o.pop(),d=o.pop(),f=0,y=t[d],m=t[d+1],g=t[h],v=t[h+1];for(u=d+r;u<h;u+=r){var b=p(t[u],t[u+1],y,m,g,v);b>f&&(l=u,f=b)}f>i&&(c[(l-e)/r]=1,d+r<l&&o.push(d,l),l+r<h&&o.push(l,h))}for(u=0;u<a;++u)c[u]&&(n[s++]=t[e+u*r],n[s++]=t[e+u*r+1]);return s}function Qo(t,e,o,r,i,n,s,a){var c,u=0;for(c=o.length;u<c;++u){var p=o[u];t:{var l=t,h=p,d=r,f=i,y=n,m=s;if(e!=h){var g=f*Math.round(l[e]/f),v=f*Math.round(l[e+1]/f);e+=d,y[m++]=g,y[m++]=v;do{var b=f*Math.round(l[e]/f);if(s=f*Math.round(l[e+1]/f),(e+=d)==h){y[m++]=b,y[m++]=s,s=m;break t}}while(b==g&&s==v);for(;e<h;){var _=f*Math.round(l[e]/f),w=f*Math.round(l[e+1]/f);if(e+=d,_!=b||w!=s){var M=b-g,S=s-v,x=_-g,L=w-v;M*L==S*x&&(0>M&&x<M||M==x||0<M&&x>M)&&(0>S&&L<S||S==L||0<S&&L>S)||(y[m++]=b,y[m++]=s,g=b,v=s),b=_,s=w}}y[m++]=b,y[m++]=s}s=m}a.push(s),e=p}return s}function tr(t,e){Eo.call(this),this.c=this.j=-1,this.na(t,e)}function er(t,e,o){Fo(t,e,o),t.u()}function or(t,e){Eo.call(this),this.na(t,e)}function rr(t,e,o,r,i){return!E(i,(function(i){return!ir(t,e,o,r,i[0],i[1])}))}function ir(t,e,o,r,i,n){for(var s=0,a=t[o-r],c=t[o-r+1];e<o;e+=r){var u=t[e],p=t[e+1];c<=n?p>n&&0<(u-a)*(n-c)-(i-a)*(p-c)&&s++:p<=n&&0>(u-a)*(n-c)-(i-a)*(p-c)&&s--,a=u,c=p}return 0!==s}function nr(t,e,o,r,i,n){if(0===o.length||!ir(t,e,o[0],r,i,n))return!1;var s;for(e=1,s=o.length;e<s;++e)if(ir(t,o[e-1],o[e],r,i,n))return!1;return!0}function sr(t,e,o,r,i,n,s){for(var a,c,u,p,l,h=i[n+1],d=[],f=0,y=o.length;f<y;++f){var m=o[f];for(u=t[m-r],l=t[m-r+1],a=e;a<m;a+=r)p=t[a],c=t[a+1],(h<=l&&c<=h||l<=h&&h<=c)&&(u=(h-l)/(c-l)*(p-u)+u,d.push(u)),u=p,l=c}for(f=NaN,y=-1/0,d.sort(Lt),u=d[0],a=1,c=d.length;a<c;++a)p=d[a],(m=Math.abs(p-u))>y&&nr(t,e,o,r,u=(u+p)/2,h)&&(f=u,y=m),u=p;return isNaN(f)&&(f=i[n]),s?(s.push(f,h,y),s):[f,h,y]}function ar(t,e,o,r,i,n){for(var s,a=[t[e],t[e+1]],c=[];e+r<o;e+=r){if(c[0]=t[e+r],c[1]=t[e+r+1],s=i.call(n,a,c))return s;a[0]=c[0],a[1]=c[1]}return!1}function cr(t,e,o,r,i){var n=R([1/0,1/0,-1/0,-1/0],t,e,o,r);return!!G(i,n)&&(!!(S(i,n)||n[0]>=i[0]&&n[2]<=i[2]||n[1]>=i[1]&&n[3]<=i[3])||ar(t,e,o,r,(function(t,e){var o=!1,r=L(i,t),n=L(i,e);if(1===r||1===n)o=!0;else{var s=i[0],a=i[1],c=i[2],u=i[3],p=e[0];t=((e=e[1])-t[1])/(p-t[0]),2&n&&!(2&r)&&(o=(o=p-(e-u)/t)>=s&&o<=c),o||!(4&n)||4&r||(o=(o=e-(p-c)*t)>=a&&o<=u),o||!(8&n)||8&r||(o=(o=p-(e-a)/t)>=s&&o<=c),o||!(16&n)||16&r||(o=(o=e-(p-s)*t)>=a&&o<=u)}return o})))}function ur(t,e,o,r,i){var n=o[0];if(!(cr(t,e,n,r,i)||ir(t,e,n,r,i[0],i[1])||ir(t,e,n,r,i[0],i[3])||ir(t,e,n,r,i[2],i[1])||ir(t,e,n,r,i[2],i[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(rr(t,o[e-1],o[e],r,i))return!1;return!0}function pr(t,e,o,r){for(var i=0,n=t[o-r],s=t[o-r+1];e<o;e+=r){var a=t[e],c=t[e+1];i+=(a-n)*(c+s),n=a,s=c}return 0<i}function lr(t,e,o,r){var i=0;r=void 0!==r&&r;var n,s=0;for(n=e.length;s<n;++s){var a=e[s];if(i=pr(t,i,a,o),0===s){if(r&&i||!r&&!i)return!1}else if(r&&!i||!r&&i)return!1;i=a}return!0}function hr(t,e,o,r,i){i=void 0!==i&&i;var n,s=0;for(n=o.length;s<n;++s){var a=o[s],c=pr(t,e,a,r);if(0===s?i&&c||!i&&!c:i&&!c||!i&&c){c=t;for(var u=a,p=r;e<u-p;){var l;for(l=0;l<p;++l){var h=c[e+l];c[e+l]=c[u-p+l],c[u-p+l]=h}e+=p,u-=p}}e=a}return e}function dr(t,e,o,r){var i,n=0,s=0;for(i=e.length;s<i;++s)n=hr(t,n,e[s],o,r);return n}function fr(t,e){Eo.call(this),this.c=[],this.o=-1,this.D=null,this.T=this.C=this.B=-1,this.j=null,this.na(t,e)}function yr(t,e,o,r){var i,n=r||32;for(r=[],i=0;i<n;++i)jt(r,t.offset(e,o,2*Math.PI*i/n));return r.push(r[0],r[1]),(t=new fr(null)).ba("XY",r,[r.length]),t}function mr(t){var e=t[0],o=t[1],r=t[2];return e=[e,o,e,t=t[3],r,t,r,o,e,o],(o=new fr(null)).ba("XY",e,[e.length]),o}function gr(t,e,o){var r=e||32,i=t.pa(),n=new fr(null,e=t.ja);r=i*(r+1),i=Array(r);for(var s=0;s<r;s++)i[s]=0;return n.ba(e,i,[i.length]),vr(n,t.xa(),t.Bd(),o),n}function vr(t,e,o,r){var i=t.da(),n=t.ja,s=t.pa(),a=t.pb(),c=i.length/s-1;r=r||0;for(var u,p,l=0;l<=c;++l)p=l*s,u=r+2*d(l,c)*Math.PI/c,i[p]=e[0]+o*Math.cos(u),i[p+1]=e[1]+o*Math.sin(u);t.ba(n,i,a)}function br(t){ce.call(this),t=Zy({},t),this.f=[0,0],this.c=[],this.Ff=this.Ff.bind(this),this.v=dt(t.projection),_r(this,t)}function _r(t,e){var o={};o.center=void 0!==e.center?e.center:null;var r=void 0!==e.minZoom?e.minZoom:0,i=void 0!==e.maxZoom?e.maxZoom:28,n=void 0!==e.zoomFactor?e.zoomFactor:2;if(void 0!==e.resolutions){var s=e.resolutions,a=s[r],c=void 0!==s[i]?s[i]:s[s.length-1];i=function(t){return function(e,o,r){if(void 0!==e)return(e=u((e=Tt(t,e,r))+o,0,t.length-1))!=(o=Math.floor(e))&&o<t.length-1?t[o]/Math.pow(t[o]/t[o+1],e-o):t[o]}}(s)}else{var p=(s=((c=(a=dt(e.projection)).G())?Math.max(U(c),W(c)):360*Qy.degrees/a.Bc())/256/Math.pow(2,0))/Math.pow(2,28);void 0!==(a=e.maxResolution)?r=0:a=s/Math.pow(n,r),void 0===(c=e.minResolution)&&(c=void 0!==e.maxZoom?void 0!==e.maxResolution?a/Math.pow(n,i):s/Math.pow(n,i):p),i=r+Math.floor(Math.log(a/c)/Math.log(n)),c=a/Math.pow(n,i-r),i=function(t,e,o){return function(r,i,n){if(void 0!==r)return r=Math.max(Math.floor(Math.log(e/r)/Math.log(t)+(-n/2+.5))+i,0),void 0!==o&&(r=Math.min(r,o)),e/Math.pow(t,r)}}(n,a,i-r)}t.a=a,t.i=c,t.D=n,t.j=e.resolutions,t.s=r,r=void 0===e.enableRotation||e.enableRotation?void 0===(r=e.constrainRotation)||!0===r?function(){var t=h(5);return function(e,o){if(void 0!==e)return Math.abs(e+o)<=t?0:e+o}}():!1===r?eo:"number"==typeof r?function(t){var e=2*Math.PI/t;return function(t,o){if(void 0!==t)return Math.floor((t+o)/e+.5)*e}}(r):eo:to,t.l={center:void 0!==e.extent?Ze(e.extent):Qe,resolution:i,rotation:r},void 0!==e.resolution?o.resolution=e.resolution:void 0!==e.zoom&&(o.resolution=t.constrainResolution(t.a,e.zoom-t.s),t.j&&(o.resolution=u(Number(t.Pa()||o.resolution),t.i,t.a))),o.rotation=void 0!==e.rotation?e.rotation:0,t.H(o),t.C=e}function wr(t,e){var o=Zy({},t.C);return void 0!==o.resolution?o.resolution=t.Pa():o.zoom=t.lg(),o.center=t.xa(),o.rotation=t.Sa(),Zy({},o,e)}function Mr(t,e,o){var r=t.xa();if(void 0!==r){var i=[r[0]-o[0],r[1]-o[1]];uo(i,e-t.Sa()),io(i,o)}return i}function Sr(t,e,o){var r,i=t.xa();return t=t.Pa(),void 0!==i&&void 0!==t&&(r=[o[0]-e*(o[0]-i[0])/t,o[1]-e*(o[1]-i[1])/t]),r}function xr(t){var e=[100,100];return t='.ol-viewport[data-view="'+r(t)+'"]',(t=document.querySelector(t))&&(t=getComputedStyle(t),e[0]=parseInt(t.width,10),e[1]=parseInt(t.height,10)),e}function Lr(t){return!!t.xa()&&void 0!==t.Pa()}function Or(t,e,o){t.f[e]+=o,t.u()}function Tr(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function jr(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function kr(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Dr(t){ce.call(this);var e=Zy({},t);e.opacity=void 0!==t.opacity?t.opacity:1,e.visible=void 0===t.visible||t.visible,e.zIndex=void 0!==t.zIndex?t.zIndex:0,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:1/0,e.minResolution=void 0!==t.minResolution?t.minResolution:0,this.H(e),this.a={layer:this,Te:!0}}function Pr(t){return t.a.opacity=u(t.nc(),0,1),t.a.Vj=t.hg(),t.a.visible=t.Jb(),t.a.extent=t.G(),t.a.zIndex=t.Ba(),t.a.maxResolution=t.lc(),t.a.minResolution=Math.max(t.mc(),0),t.a}function Cr(t){var e=t||{};delete(t=Zy({},e)).layers,e=e.layers,Dr.call(this,t),this.i=[],this.c={},Xt(this,ue(Fm),this.im,this),e?Array.isArray(e)?e=new he(e.slice(),{unique:!0}):c(e instanceof he,43):e=new he(void 0,{unique:!0}),this.Qi(e)}function Yr(t,e){switch(t){case"MAP_RENDERER":(t=Am).push(e);break;case"LAYER_RENDERER":(t=Nm).push(e);break;default:throw Error("Unsupported plugin type: "+t)}}function Rr(t){for(var e=0,o=t.length;e<o;++e)Yr("LAYER_RENDERER",t[e])}function Er(t){ce.call(this);var e=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var o,i={},n={};if(void 0===t.logo||"boolean"==typeof t.logo&&t.logo)n["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]="https://openlayers.org/";else{var s=t.logo;"string"==typeof s?n[s]="":s instanceof HTMLElement?n[r(s).toString()]=s:s&&(c("string"==typeof s.href,44),c("string"==typeof s.src,45),n[s.src]=s.href)}s=t.layers instanceof Cr?t.layers:new Cr({layers:t.layers}),i.layergroup=s,i.target=t.target,i.view=void 0!==t.view?t.view:new br,void 0!==t.renderer?(Array.isArray(t.renderer)?o=t.renderer:"string"==typeof t.renderer?o=[t.renderer]:c(!1,46),0<=o.indexOf("dom")&&(o=o.concat(Hm))):o=Hm,s=0;var a=o.length;t:for(;s<a;++s)for(var u=o[s],p=0,l=Am.length;p<l;++p){var h=Am[p];if(h.handles(u)){var d=h;break t}}if(!d)throw Error("Unable to create a map renderer for types: "+o.join(", "));if(void 0!==t.controls)if(Array.isArray(t.controls))var f=new he(t.controls.slice());else c(t.controls instanceof he,47),f=t.controls;if(void 0!==t.interactions)if(Array.isArray(t.interactions))var y=new he(t.interactions.slice());else c(t.interactions instanceof he,48),y=t.interactions;return void 0!==t.overlays?Array.isArray(t.overlays)?t=new he(t.overlays.slice()):(c(t.overlays instanceof he,49),t=t.overlays):t=new he,{controls:f,interactions:y,keyboardEventTarget:e,logos:n,overlays:t,Im:d,values:i}}(t);this.ob=void 0!==t.loadTilesWhileAnimating&&t.loadTilesWhileAnimating,this.sc=void 0!==t.loadTilesWhileInteracting&&t.loadTilesWhileInteracting,this.ra=void 0!==t.pixelRatio?t.pixelRatio:Mm,this.Md=e.logos,this.V=function(){this.j=void 0,this.pq.call(this)}.bind(this),this.La=[1,0,0,1,0,0],this.If=[1,0,0,1,0,0],this.bb=0,this.D=this.C=this.B=this.f=this.c=null,this.a=document.createElement("DIV"),this.a.className="ol-viewport"+(Tm?" ol-touch":""),this.a.style.position="relative",this.a.style.overflow="hidden",this.a.style.width="100%",this.a.style.height="100%",this.a.style.msTouchAction="none",this.a.style.touchAction="none",this.o=document.createElement("DIV"),this.o.className="ol-overlaycontainer",this.a.appendChild(this.o),this.v=document.createElement("DIV"),this.v.className="ol-overlaycontainer-stopevent";for(var o="click dblclick mousedown touchstart MSPointerDown pointerdown mousewheel wheel".split(" "),i=0,n=o.length;i<n;++i)Xt(this.v,o[i],ie);for(var s in this.a.appendChild(this.v),this.ca=new Be(this,t.moveTolerance),Ym)Xt(this.ca,Ym[s],this.bi,this);this.$=e.keyboardEventTarget,this.s=null,Xt(this.a,"wheel",this.yd,this),Xt(this.a,"mousewheel",this.yd,this),this.controls=e.controls||new he,this.interactions=e.interactions||new he,this.l=e.overlays,this.Fg={},this.pc=e.Im.create(this.a,this),this.T=null,this.Ea=[],this.ua=new Xe(this.Tl.bind(this),this.zm.bind(this)),this.O={},Xt(this,ue("layergroup"),this.fm,this),Xt(this,ue("view"),this.Am,this),Xt(this,ue("size"),this.um,this),Xt(this,ue("target"),this.ym,this),this.H(e.values),this.controls.forEach((function(t){t.setMap(this)}),this),Xt(this.controls,"add",(function(t){t.element.setMap(this)}),this),Xt(this.controls,"remove",(function(t){t.element.setMap(null)}),this),this.interactions.forEach((function(t){t.setMap(this)}),this),Xt(this.interactions,"add",(function(t){t.element.setMap(this)}),this),Xt(this.interactions,"remove",(function(t){t.element.setMap(null)}),this),this.l.forEach(this.zh,this),Xt(this.l,"add",(function(t){this.zh(t.element)}),this),Xt(this.l,"remove",(function(t){var e=t.element.id;void 0!==e&&delete this.Fg[e.toString()],t.element.setMap(null)}),this)}function Ir(t){ce.call(this),this.element=t.element?t.element:null,this.a=this.T=null,this.s=[],this.render=t.render?t.render:o,t.target&&this.i(t.target)}function Fr(t){var e=Zy({},t);delete e.source,Dr.call(this,e),this.o=this.v=this.s=null,t.map&&this.setMap(t.map),Xt(this,ue("source"),this.wm,this),this.hd(t.source?t.source:null)}function Ar(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function Nr(t){t=t||{},this.v=document.createElement("UL"),this.l=document.createElement("LI"),this.v.appendChild(this.l),this.l.style.display="none",this.c=void 0===t.collapsed||t.collapsed,this.j=void 0===t.collapsible||t.collapsible,this.j||(this.c=!1);var e=void 0!==t.className?t.className:"ol-attribution",o=void 0!==t.tipLabel?t.tipLabel:"Attributions",r=void 0!==t.collapseLabel?t.collapseLabel:"»";"string"==typeof r?(this.o=document.createElement("span"),this.o.textContent=r):this.o=r,"string"==typeof(r=void 0!==t.label?t.label:"i")?(this.D=document.createElement("span"),this.D.textContent=r):this.D=r;var i=this.j&&!this.c?this.o:this.D;(r=document.createElement("button")).setAttribute("type","button"),r.title=o,r.appendChild(i),Xt(r,"click",this.Bn,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.c&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible"),o.appendChild(this.v),o.appendChild(r),Ir.call(this,{element:o,render:t.render?t.render:Hr,target:t.target}),this.B=[],this.C=!0,this.O={}}function Hr(t){if(t=t.frameState){for(var e={},o=[],r=t.layerStatesArray,i=t.viewState.resolution,n=0,s=r.length;n<s;++n){var a=r[n];if(Ar(a,i)&&(a=a.layer.ha())&&(a=a.C)&&(a=a(t)))if(Array.isArray(a))for(var c=0,u=a.length;c<u;++c)a[c]in e||(o.push(a[c]),e[a[c]]=!0);else a in e||(o.push(a),e[a]=!0)}if(!Dt(o,this.B)){for(;this.v.lastChild!==this.l;)this.v.removeChild(this.v.lastChild);for(e=0,r=o.length;e<r;++e)(i=document.createElement("LI")).innerHTML=o[e],this.v.appendChild(i);for(l in 0===o.length&&0<this.B.length?this.element.classList.add("ol-logo-only"):0===this.B.length&&0<o.length&&this.element.classList.remove("ol-logo-only"),e=0<o.length||!Z(t.logos),this.C!=e&&(this.element.style.display=e?"":"none",this.C=e),this.B=o,t=t.logos,o=this.O)l in t||(kr(o[l]),delete o[l]);for(var p in t)if((r=t[p])instanceof HTMLElement&&(this.l.appendChild(r),o[p]=r),!(p in o)){var l=new Image;l.src=p,""===r?e=l:((e=document.createElement("a")).href=r,e.appendChild(l)),this.l.appendChild(e),o[p]=e}this.l.style.display=Z(t)?"none":""}}else this.C&&(this.element.style.display="none",this.C=!1)}function Wr(t){t.element.classList.toggle("ol-collapsed"),t.c?jr(t.o,t.D):jr(t.D,t.o),t.c=!t.c}function Br(t){var e=void 0!==(t=t||{}).className?t.className:"ol-rotate",o=void 0!==t.label?t.label:"⇧";this.c=null,"string"==typeof o?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=o):(this.c=o,this.c.classList.add("ol-compass"));var r=t.tipLabel?t.tipLabel:"Reset rotation";(o=document.createElement("button")).className=e+"-reset",o.setAttribute("type","button"),o.title=r,o.appendChild(this.c),Xt(o,"click",Br.prototype.D,this),(r=document.createElement("div")).className=e+" ol-unselectable ol-control",r.appendChild(o),e=t.render?t.render:Vr,this.l=t.resetNorth?t.resetNorth:void 0,Ir.call(this,{element:r,render:e,target:t.target}),this.v=void 0!==t.duration?t.duration:250,this.j=void 0===t.autoHide||t.autoHide,this.o=void 0,this.j&&this.element.classList.add("ol-hidden")}function Vr(t){if(t=t.frameState){if((t=t.viewState.rotation)!=this.o){var e="rotate("+t+"rad)";if(this.j){var o=this.element.classList.contains("ol-hidden");o||0!==t?o&&0!==t&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=e,this.c.style.webkitTransform=e,this.c.style.transform=e}this.o=t}}function zr(t){var e=void 0!==(t=t||{}).className?t.className:"ol-zoom",o=void 0!==t.delta?t.delta:1,r=void 0!==t.zoomInLabel?t.zoomInLabel:"+",i=void 0!==t.zoomOutLabel?t.zoomOutLabel:"−",n=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",s=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",a=document.createElement("button");a.className=e+"-in",a.setAttribute("type","button"),a.title=n,a.appendChild("string"==typeof r?document.createTextNode(r):r),Xt(a,"click",zr.prototype.j.bind(this,o)),(r=document.createElement("button")).className=e+"-out",r.setAttribute("type","button"),r.title=s,r.appendChild("string"==typeof i?document.createTextNode(i):i),Xt(r,"click",zr.prototype.j.bind(this,-o)),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(a),o.appendChild(r),Ir.call(this,{element:o,target:t.target}),this.c=void 0!==t.duration?t.duration:250}function Ur(t){t=t||{};var e=new he;return(void 0===t.zoom||t.zoom)&&e.push(new zr(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&e.push(new Br(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&e.push(new Nr(t.attributionOptions)),e}function Gr(t,e,o){this.i=t,this.c=e,this.f=o,this.b=[],this.a=this.g=0}function qr(t){t.b.length=0,t.g=0,t.a=0}function $r(t){ce.call(this),this.v=null,this.Ha(!0),this.handleEvent=t.handleEvent}function Jr(t,e,o,r){if(void 0!==e){var i=t.Sa(),n=t.xa();void 0!==i&&n&&0<r?t.animate({rotation:e,anchor:o,duration:r,easing:go}):t.rotate(e,o)}}function Xr(t,e,o,r){var i=t.Pa();if(void 0!==(e=t.constrainResolution(i,e,0))){var n=t.j;e=u(e,t.i||n[n.length-1],t.a||n[0])}o&&void 0!==e&&e!==i&&(n=t.xa(),o=Sr(t,e,o),o=t.Sc(o),o=[(e*n[0]-i*o[0])/(e-i),(e*n[1]-i*o[1])/(e-i)]),Kr(t,e,o,r)}function Kr(t,e,o,r){if(e){var i=t.Pa(),n=t.xa();void 0!==i&&n&&e!==i&&r?t.animate({resolution:e,anchor:o,duration:r,easing:go}):(o&&(o=Sr(t,e,o),t.ub(o)),t.gd(e))}}function Zr(t){t=t||{},this.a=t.delta?t.delta:1,$r.call(this,{handleEvent:Qr}),this.f=void 0!==t.duration?t.duration:250}function Qr(t){var e=!1,o=t.originalEvent;return"dblclick"==t.type&&(e=t.coordinate,o=o.shiftKey?-this.a:this.a,Xr(t.map.aa(),o,e,this.f),t.preventDefault(),e=!0),!e}function ti(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}function ei(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function oi(t){return 0==(t=t.originalEvent).button&&!(_m&&wm&&t.ctrlKey)}function ri(t){return"pointermove"==t.type}function ii(t){return"singleclick"==t.type}function ni(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}function si(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function ai(t){return"INPUT"!==(t=t.originalEvent.target.tagName)&&"SELECT"!==t&&"TEXTAREA"!==t}function ci(t){return c(t.b,56),"mouse"==t.b.pointerType}function ui(t){return(t=t.b).isPrimary&&0===t.button}function pi(t){t=t||{},$r.call(this,{handleEvent:t.handleEvent?t.handleEvent:hi}),this.ck=t.handleDownEvent?t.handleDownEvent:wo,this.Ek=t.handleDragEvent?t.handleDragEvent:o,this.Kk=t.handleMoveEvent?t.handleMoveEvent:o,this.Lk=t.handleUpEvent?t.handleUpEvent:wo,this.D=!1,this.$={},this.l=[]}function li(t){for(var e=t.length,o=0,r=0,i=0;i<e;i++)o+=t[i].clientX,r+=t[i].clientY;return[o/e,r/e]}function hi(t){if(!(t instanceof be))return!0;var e=!1,o=t.type;if("pointerdown"===o||"pointerdrag"===o||"pointerup"===o){var r=(o=t.b).pointerId.toString();"pointerup"==t.type?delete this.$[r]:("pointerdown"==t.type||r in this.$)&&(this.$[r]=o),this.l=K(this.$)}return this.D?"pointerdrag"==t.type?this.Ek(t):"pointerup"==t.type&&(this.D=this.Lk(t)&&0<this.l.length):"pointerdown"==t.type?(this.D=t=this.ck(t),e=this.jd(t)):"pointermove"==t.type&&this.Kk(t),!e}function di(t){pi.call(this,{handleDownEvent:mi,handleDragEvent:fi,handleUpEvent:yi}),t=t||{},this.a=t.kinetic,this.f=null,this.o=t.condition?t.condition:ni,this.j=!1}function fi(t){var e=this.l,o=li(e);if(e.length==this.s){if(this.a&&this.a.b.push(o[0],o[1],Date.now()),this.f){var r=this.f[0]-o[0],i=o[1]-this.f[1],n=(t=t.map.aa()).getState();po(r=[r,i],n.resolution),uo(r,n.rotation),io(r,n.center),r=t.Sc(r),t.ub(r)}}else this.a&&qr(this.a);this.f=o,this.s=e.length}function yi(t){var e=t.map;if(t=e.aa(),0===this.l.length){if(!this.j&&this.a&&function(t){if(6>t.b.length)return!1;var e=Date.now()-t.f,o=t.b.length-3;if(t.b[o+2]<e)return!1;for(var r=o-3;0<r&&t.b[r+2]>e;)r-=3;if((e=t.b[o+2]-t.b[r+2])<1e3/60)return!1;var i=t.b[o]-t.b[r];return o=t.b[o+1]-t.b[r+1],t.g=Math.atan2(o,i),t.a=Math.sqrt(i*i+o*o)/e,t.a>t.c}(this.a)){var o=this.a;o=(o.c-o.a)/o.i;var r=this.a.g,i=t.xa();i=e.Ia(i),e=e.Ra([i[0]-o*Math.cos(r),i[1]-o*Math.sin(r)]),t.animate({center:t.Sc(e),duration:500,easing:go})}return Or(t,1,-1),!1}return this.a&&qr(this.a),this.f=null,!0}function mi(t){if(0<this.l.length&&this.o(t)){var e=t.map.aa();return this.f=null,this.D||Or(e,1,1),e.Ac()&&e.ub(t.frameState.viewState.center),this.a&&qr(this.a),this.j=1<this.l.length,!0}return!1}function gi(t){t=t||{},pi.call(this,{handleDownEvent:_i,handleDragEvent:vi,handleUpEvent:bi}),this.f=t.condition?t.condition:ei,this.a=void 0,this.j=void 0!==t.duration?t.duration:250}function vi(t){if(ci(t)){var e=t.map,o=e.aa();o.l.rotation!==to&&(e=e.Cb(),t=t.pixel,t=Math.atan2(e[1]/2-t[1],t[0]-e[0]/2),void 0!==this.a&&(e=t-this.a,Jr(o,o.Sa()-e)),this.a=t)}}function bi(t){if(!ci(t))return!0;Or(t=t.map.aa(),1,-1);var e=t.Sa(),o=this.j;return e=t.constrainRotation(e,0),Jr(t,e,void 0,o),!1}function _i(t){return!!(ci(t)&&oi(t)&&this.f(t))&&(Or(t.map.aa(),1,1),this.a=void 0,!0)}function wi(t){this.Uc=null,this.a=document.createElement("div"),this.a.style.position="absolute",this.a.className="ol-box "+t,this.g=this.c=this.b=null}function Mi(t){var e=t.c,o=t.g;(t=t.a.style).left=Math.min(e[0],o[0])+"px",t.top=Math.min(e[1],o[1])+"px",t.width=Math.abs(o[0]-e[0])+"px",t.height=Math.abs(o[1]-e[1])+"px"}function Si(t){var e=t.c,o=t.g;(e=[e,[e[0],o[1]],o,[o[0],e[1]]].map(t.b.Ra,t.b))[4]=e[0].slice(),t.Uc?t.Uc.na([e]):t.Uc=new fr([e])}function xi(t){pi.call(this,{handleDownEvent:ji,handleDragEvent:Oi,handleUpEvent:Ti}),t=t||{},this.a=new wi(t.className||"ol-dragbox"),this.o=void 0!==t.minArea?t.minArea:64,this.f=null,this.C=t.condition?t.condition:_o,this.s=t.boxEndCondition?t.boxEndCondition:Li}function Li(t,e,o){return(t=o[0]-e[0])*t+(e=o[1]-e[1])*e>=this.o}function Oi(t){if(ci(t)){var e=this.a,o=t.pixel;e.c=this.f,e.g=o,Si(e),Mi(e),this.b(new ki(Um,t.coordinate,t))}}function Ti(t){return!ci(t)||(this.a.setMap(null),this.s(t,this.f,t.pixel)&&(this.j(t),this.b(new ki(Gm,t.coordinate,t))),!1)}function ji(t){if(ci(t)&&oi(t)&&this.C(t)){this.f=t.pixel,this.a.setMap(t.map);var e=this.a,o=this.f;return e.c=this.f,e.g=o,Si(e),Mi(e),this.b(new ki(zm,t.coordinate,t)),!0}return!1}function ki(t,e,o){re.call(this,t),this.coordinate=e,this.mapBrowserEvent=o}function Di(t){var e=(t=t||{}).condition?t.condition:si;this.B=void 0!==t.duration?t.duration:200,this.T=void 0!==t.out&&t.out,xi.call(this,{condition:e,className:t.className||"ol-dragzoom"})}function Pi(t){$r.call(this,{handleEvent:Ci}),t=t||{},this.a=function(t){return ni(t)&&ai(t)},this.f=void 0!==t.condition?t.condition:this.a,this.j=void 0!==t.duration?t.duration:100,this.l=void 0!==t.pixelDelta?t.pixelDelta:128}function Ci(t){var e=!1;if("keydown"==t.type){var o=t.originalEvent.keyCode;if(this.f(t)&&(40==o||37==o||39==o||38==o)){var r=(e=t.map.aa()).Pa()*this.l,i=0,n=0;40==o?n=-r:37==o?i=-r:39==o?i=r:n=r,uo(r=[i,n],e.Sa()),o=this.j,(i=e.xa())&&(r=e.Sc([i[0]+r[0],i[1]+r[1]]),o?e.animate({duration:o,easing:bo,center:r}):e.ub(r)),t.preventDefault(),e=!0}}return!e}function Yi(t){$r.call(this,{handleEvent:Ri}),t=t||{},this.f=t.condition?t.condition:ai,this.a=t.delta?t.delta:1,this.j=void 0!==t.duration?t.duration:100}function Ri(t){var e=!1;if("keydown"==t.type||"keypress"==t.type){var o=t.originalEvent.charCode;!this.f(t)||43!=o&&45!=o||(e=43==o?this.a:-this.a,Xr(o=t.map.aa(),e,void 0,this.j),t.preventDefault(),e=!0)}return!e}function Ei(t){$r.call(this,{handleEvent:Ii}),t=t||{},this.j=0,this.D=void 0!==t.duration?t.duration:250,this.$=void 0!==t.timeout?t.timeout:80,this.C=void 0===t.useAnchor||t.useAnchor,this.O=t.constrainResolution||!1,this.a=null,this.s=this.l=this.o=this.f=void 0}function Ii(t){var e=t.type;if("wheel"!==e&&"mousewheel"!==e)return!0;t.preventDefault(),e=t.map;var o=t.originalEvent;if(this.C&&(this.a=t.coordinate),"wheel"==t.type){var r=o.deltaY;vm&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(r/=Mm),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(r*=40)}else"mousewheel"==t.type&&(r=-o.wheelDeltaY,bm&&(r/=3));if(0===r)return!1;if(t=Date.now(),void 0===this.f&&(this.f=t),(!this.l||400<t-this.f)&&(this.l=4>Math.abs(r)?qm:$m),this.l===qm){e=e.aa(),this.s?clearTimeout(this.s):Or(e,1,1),this.s=setTimeout(this.B.bind(this),400),o=e.Pa()*Math.pow(2,r/300);var i=e.i,n=e.a,s=0;return o<i?(o=Math.max(o,i/1.5),s=1):o>n&&(o=Math.min(o,1.5*n),s=-1),this.a&&e.ub(e.Sc(Sr(e,o,this.a))),e.gd(o),0===s&&this.O&&e.animate({resolution:e.constrainResolution(o,0<r?-1:1),easing:go,anchor:this.a,duration:this.D}),0<s?e.animate({resolution:i,easing:go,anchor:this.a,duration:500}):0>s&&e.animate({resolution:n,easing:go,anchor:this.a,duration:500}),this.f=t,!1}return this.j+=r,r=Math.max(this.$-(t-this.f),0),clearTimeout(this.o),this.o=setTimeout(this.T.bind(this,e),r),!1}function Fi(t){pi.call(this,{handleDownEvent:Hi,handleDragEvent:Ai,handleUpEvent:Ni}),t=t||{},this.f=null,this.j=void 0,this.a=!1,this.s=0,this.C=void 0!==t.threshold?t.threshold:.3,this.o=void 0!==t.duration?t.duration:250}function Ai(t){var e=0,o=this.l[0],r=this.l[1];if(o=Math.atan2(r.clientY-o.clientY,r.clientX-o.clientX),void 0!==this.j&&(e=o-this.j,this.s+=e,!this.a&&Math.abs(this.s)>this.C&&(this.a=!0)),this.j=o,(o=(t=t.map).aa()).l.rotation!==to){r=t.a.getBoundingClientRect();var i=li(this.l);i[0]-=r.left,i[1]-=r.top,this.f=t.Ra(i),this.a&&(r=o.Sa(),t.render(),Jr(o,r+e,this.f))}}function Ni(t){if(2>this.l.length){if(Or(t=t.map.aa(),1,-1),this.a){var e=t.Sa(),o=this.f,r=this.o;e=t.constrainRotation(e,0),Jr(t,e,o,r)}return!1}return!0}function Hi(t){return 2<=this.l.length&&(t=t.map,this.f=null,this.j=void 0,this.a=!1,this.s=0,this.D||Or(t.aa(),1,1),!0)}function Wi(t){pi.call(this,{handleDownEvent:zi,handleDragEvent:Bi,handleUpEvent:Vi}),t=t||{},this.s=t.constrainResolution||!1,this.f=null,this.o=void 0!==t.duration?t.duration:400,this.a=void 0,this.j=1}function Bi(t){var e=1,o=this.l[0],r=this.l[1],i=o.clientX-r.clientX;o=o.clientY-r.clientY,i=Math.sqrt(i*i+o*o),void 0!==this.a&&(e=this.a/i),this.a=i,r=(i=(t=t.map).aa()).Pa();var n=i.a,s=i.i;(o=r*e)>n?(e=n/r,o=n):o<s&&(e=s/r,o=s),1!=e&&(this.j=e),e=t.a.getBoundingClientRect(),(r=li(this.l))[0]-=e.left,r[1]-=e.top,this.f=t.Ra(r),t.render(),Kr(i,o,this.f)}function Vi(t){if(2>this.l.length){Or(t=t.map.aa(),1,-1);var e=t.Pa();if(this.s||e<t.i||e>t.a){var o=this.f,r=this.o;e=t.constrainResolution(e,0,this.j-1),Kr(t,e,o,r)}return!1}return!0}function zi(t){return 2<=this.l.length&&(t=t.map,this.f=null,this.a=void 0,this.j=1,this.D||Or(t.aa(),1,1),!0)}function Ui(t){t=t||{};var e=new he,o=new Gr(-.005,.05,100);return(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new gi),(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new Zr({delta:t.zoomDelta,duration:t.zoomDuration})),(void 0===t.dragPan||t.dragPan)&&e.push(new di({kinetic:o})),(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new Fi),(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new Wi({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),(void 0===t.keyboard||t.keyboard)&&(e.push(new Pi),e.push(new Yi({delta:t.zoomDelta,duration:t.zoomDuration}))),(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new Ei({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new Di({duration:t.zoomDuration})),e}function Gi(t,e,o,r){ne.call(this),this.extent=t,this.a=o,this.resolution=e,this.state=r}function qi(t,e,o,r,i){this.c=void 0!==i?i:null,Gi.call(this,t,e,o,void 0!==i?0:2),this.g=r}function $i(t,e,o,r,i){re.call(this,t),this.vectorContext=e,this.frameState=o,this.context=r,this.glContext=i}function Ji(t){ne.call(this),this.highWaterMark=void 0!==t?t:2048,this.i=0,this.a={},this.c=this.g=null}function Xi(t){return t.i>t.highWaterMark}function Ki(){var t=eg;return t||(t=eg=Tr(1,1)),t}function Zi(t,e){var o=Ki();return t!=o.font&&(o.font=t),o.measureText(e).width}function Qi(t,e,o,r){0!==e&&(t.translate(o,r),t.rotate(e),t.translate(-o,-r))}function tn(t,e,o,r,i,n,s,a,c,u,p){if(1!=o){var l=t.globalAlpha;t.globalAlpha=l*o}e&&t.setTransform.apply(t,e),t.drawImage(r,i,n,s,a,c,u,s*p,a*p),l&&(t.globalAlpha=l),e&&t.setTransform.apply(t,ng)}function en(t){return Array.isArray(t)?t:cg(t)}function on(t){if("string"!=typeof t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var r=t[2];r!=(0|r)&&(r=r+.5|0),t="rgba("+e+","+o+","+r+","+(void 0===t[3]?1:t[3])+")"}return t}function rn(t){var e=[];return e[0]=u(t[0]+.5|0,0,255),e[1]=u(t[1]+.5|0,0,255),e[2]=u(t[2]+.5|0,0,255),e[3]=u(t[3],0,1),e}function nn(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient?t:on(t)}function sn(){}function an(t,e,o,r,i){this.g=t,this.f=e,this.c=o,this.N=r,this.ob=i,this.M=this.b=this.a=this.Wa=this.O=this.T=null,this.$=this.V=this.v=this.B=this.C=this.D=0,this.ca=!1,this.i=this.ab=0,this.ra=!1,this.oa=0,this.ta="",this.Ub=this.ua=0,this.Ea=!1,this.s=this.La=0,this.qa=this.l=this.j=null,this.o=[],this.bb=[1,0,0,1,0,0]}function cn(t,e,o){if(t.M){e=Mo(e,0,o,2,t.N,t.o),o=t.g;var r=t.bb,i=o.globalAlpha;1!=t.v&&(o.globalAlpha=i*t.v);var n=t.ab;t.ca&&(n+=t.ob);var s,a=0;for(s=e.length;a<s;a+=2){var c=e[a]-t.D,u=e[a+1]-t.C;if(t.ra&&(c=Math.round(c),u=Math.round(u)),0!==n||1!=t.i){var p=c+t.D,l=u+t.C;Co(r,p,l,t.i,t.i,n,-p,-l),o.setTransform.apply(o,r)}o.drawImage(t.M,t.V,t.$,t.oa,t.B,c,u,t.oa,t.B)}0===n&&1==t.i||o.setTransform(1,0,0,1,0,0),1!=t.v&&(o.globalAlpha=i)}}function un(t,e,o,r){var i=0;if(t.qa&&""!==t.ta){t.j&&hn(t,t.j),t.l&&dn(t,t.l);var n=t.qa,s=t.g,a=t.Wa,c=n.textAlign?n.textAlign:"center";for(a?(a.font!=n.font&&(a.font=s.font=n.font),a.textAlign!=c&&(a.textAlign=c),a.textBaseline!=n.textBaseline&&(a.textBaseline=s.textBaseline=n.textBaseline)):(s.font=n.font,s.textAlign=c,s.textBaseline=n.textBaseline,t.Wa={font:n.font,textAlign:c,textBaseline:n.textBaseline}),e=Mo(e,i,o,r,t.N,t.o),n=t.g,s=t.La,t.Ea&&(s+=t.ob);i<o;i+=r)a=e[i]+t.ua,c=e[i+1]+t.Ub,0===s&&1==t.s||n.setTransform.apply(n,Co(t.bb,a,c,t.s,t.s,s,-a,-c)),t.l&&n.strokeText(t.ta,a,c),t.j&&n.fillText(t.ta,a,c);0===s&&1==t.s||n.setTransform(1,0,0,1,0,0)}}function pn(t,e,o,r,i,n){var s=t.g;for(t=Mo(e,o,r,i,t.N,t.o),s.moveTo(t[0],t[1]),e=t.length,n&&(e-=2),o=2;o<e;o+=2)s.lineTo(t[o],t[o+1]);return n&&s.closePath(),r}function ln(t,e,o,r,i){var n,s=0;for(n=r.length;s<n;++s)o=pn(t,e,o,r[s],i,!0);return o}function hn(t,e){var o=t.g,r=t.T;r?r.fillStyle!=e.fillStyle&&(r.fillStyle=o.fillStyle=e.fillStyle):(o.fillStyle=e.fillStyle,t.T={fillStyle:e.fillStyle})}function dn(t,e){var o=t.g,r=t.O;r?(r.lineCap!=e.lineCap&&(r.lineCap=o.lineCap=e.lineCap),Sm&&(Dt(r.lineDash,e.lineDash)||o.setLineDash(r.lineDash=e.lineDash),r.lineDashOffset!=e.lineDashOffset&&(r.lineDashOffset=o.lineDashOffset=e.lineDashOffset)),r.lineJoin!=e.lineJoin&&(r.lineJoin=o.lineJoin=e.lineJoin),r.lineWidth!=e.lineWidth&&(r.lineWidth=o.lineWidth=e.lineWidth),r.miterLimit!=e.miterLimit&&(r.miterLimit=o.miterLimit=e.miterLimit),r.strokeStyle!=e.strokeStyle&&(r.strokeStyle=o.strokeStyle=e.strokeStyle)):(o.lineCap=e.lineCap,Sm&&(o.setLineDash(e.lineDash),o.lineDashOffset=e.lineDashOffset),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.O={lineCap:e.lineCap,lineDash:e.lineDash,lineDashOffset:e.lineDashOffset,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}function fn(t){ae.call(this),this.a=t}function yn(t,e){var o=e.getState();return 2!=o&&3!=o&&Xt(e,"change",t.$,t),0==o&&(e.load(),o=e.getState()),2==o}function mn(t){var e=t.a;e.Jb()&&"ready"==e.hg()&&t.u()}function gn(t,e){e.cj()&&t.postRenderFunctions.push(function(t,e,o){(e=r(t).toString())in o.usedTiles&&t.sd(o.viewState.projection,o.usedTiles[e])}.bind(null,e))}function vn(t,e){void 0!==(e=e.T)&&("string"==typeof e?t.logos[e]="":e&&(c("string"==typeof e.href,44),c("string"==typeof e.src,45),t.logos[e.src]=e.href))}function bn(t,e,o,i){e=r(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.fa<t.fa&&(t.fa=i.fa),i.la>t.la&&(t.la=i.la),i.ea<t.ea&&(t.ea=i.ea),i.ka>t.ka&&(t.ka=i.ka)):t[e][o]=i:(t[e]={},t[e][o]=i)}function _n(t,e,o,i,n,s,a,c,u,p){var l=r(e).toString();l in t.wantedTiles||(t.wantedTiles[l]={});var h,d,f,y=t.wantedTiles[l];for(t=t.tileQueue,f=o.minZoom;f<=a;++f){var m=Ft(o,s,f,m),g=o.Ta(f);for(h=m.fa;h<=m.la;++h)for(d=m.ea;d<=m.ka;++d)if(a-f<=c){var v=e.ad(f,h,d,i,n);0==v.getState()&&(y[v.lb()]=!0,v.lb()in t.a||t.i([v,l,At(o,v.ya),g])),void 0!==u&&u.call(p,v)}else e.kh(f,h,d,n)}}function wn(t){fn.call(this,t),this.V=[1,0,0,1,0,0]}function Mn(t,e,o){var r=e.pixelRatio,i=e.size[0]*r,n=e.size[1]*r,s=e.viewState.rotation,a=V(o),c=z(o),u=A(o);o=F(o),jo(e.coordinateToPixelTransform,a),jo(e.coordinateToPixelTransform,c),jo(e.coordinateToPixelTransform,u),jo(e.coordinateToPixelTransform,o),t.save(),Qi(t,-s,i/2,n/2),t.beginPath(),t.moveTo(a[0]*r,a[1]*r),t.lineTo(c[0]*r,c[1]*r),t.lineTo(u[0]*r,u[1]*r),t.lineTo(o[0]*r,o[1]*r),t.clip(),Qi(t,s,i/2,n/2)}function Sn(t,e,o,r,i){var n=t.a;if(se(n,e)){var s=r.size[0]*r.pixelRatio,a=r.size[1]*r.pixelRatio,c=r.viewState.rotation;Qi(o,-c,s/2,a/2),t=void 0!==i?i:xn(t,r,0),n.b(new $i(e,new an(o,r.pixelRatio,r.extent,t,r.viewState.rotation),r,o,null)),Qi(o,c,s/2,a/2)}}function xn(t,e,o){var r=e.viewState,i=e.pixelRatio,n=i/r.resolution;return Co(t.V,i*e.size[0]/2,i*e.size[1]/2,n,-n,-r.rotation,-r.center[0]+o,-r.center[1])}function Ln(t){wn.call(this,t),this.l=[1,0,0,1,0,0],this.j=null}function On(t){Ln.call(this,t),this.M=null,this.f=[1,0,0,1,0,0],this.o=[],this.c=null}function Tn(){this.b={},this.a=0,this.g=32}function jn(t){if(t.a>t.g){var e,o=0;for(e in t.b){var r=t.b[e];3&o++||se(r)||(delete t.b[e],--t.a)}}}function kn(t,e){this.l=e,this.c={},this.v={}}function Dn(t){var e=t.viewState,o=t.coordinateToPixelTransform,r=t.pixelToCoordinateTransform;Co(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Yo(To(r,o))}function Pn(){jn(ug)}function Cn(t,e){var o=r(e).toString();if(o in t.c)return t.c[o];for(var i,n=t.S(),s=0,a=Nm.length;s<a;++s){var c=Nm[s];if(c.handles(n,e)){i=c.create(t,e);break}}if(!i)throw Error("Unable to create renderer for layer: "+e.S());return t.c[o]=i,t.v[o]=Xt(i,"change",t.gm,t),i}function Yn(t,e){var o=t.c[e];return delete t.c[e],Qt(t.v[e]),delete t.v[e],o}function Rn(t,e){for(var o in t.c)if(!(o in e.layerStates)){e.postRenderFunctions.push(t.oq.bind(t));break}}function En(t,e){return t.zIndex-e.zIndex}function In(t,e){kn.call(this,t,e),this.g=Tr(),this.b=this.g.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.a=!0,this.i=[1,0,0,1,0,0]}function Fn(t,e,o){var r=t.l,i=t.g;if(se(r,e)){var n=o.extent,s=o.pixelRatio,a=o.viewState.rotation,c=o.viewState,u=o.pixelRatio/c.resolution;t=Co(t.i,t.b.width/2,t.b.height/2,u,-u,-c.rotation,-c.center[0],-c.center[1]),r.b(new $i(e,new an(i,s,n,t,a),o,i,null))}}function An(t){Ln.call(this,t),this.context=null===this.context?null:Tr(),this.c=null,this.f=[],this.T=[1/0,1/0,-1/0,-1/0],this.ra=new n(0,0,0,0),this.o=[1,0,0,1,0,0],this.O=0}function Nn(t,e){return e=e.getState(),t=t.a.i(),2==e||4==e||3==e&&!t}function Hn(){}function Wn(t,e,o,r){var i=t[e],n=t[e+1],s=0;for(e+=r;e<o;e+=r){var a=t[e],c=t[e+1];s+=Math.sqrt((a-i)*(a-i)+(c-n)*(c-n)),i=a,n=c}return s}function Bn(t,e,o,r,i,n){this.ra=n,this.La=[1/0,1/0,-1/0,-1/0],this.ob=t,this.Ea=e,this.overlaps=i,this.pixelRatio=r,this.Wa=0,this.resolution=o,this.i=this.T=this.qa=null,this.a=[],this.coordinates=[],this.Ub={},this.ca=[1,0,0,1,0,0],this.b=[],this.oa=null,this.state={},this.$=0,this.bb=[1,0,0,1,0,0]}function Vn(t,e,o,r,i,n,s,a){e.beginPath(),e.moveTo.apply(e,o),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,n),e.lineTo.apply(e,o),s&&(t.O=s[2],t.Xa(e)),a&&(Jn(e,a),e.stroke())}function zn(t,e,o,r,i,n,s,a,c,u,p,l,h,d,f,y,m,g,v){var b=g||v,_=t.bb;o-=n*=d,r-=s*=d,f&&(o=Math.round(o),r=Math.round(r)),f=y+p>i.width?i.width-p:y,c=c+l>i.height?i.height-l:c,y=t.La;var w=m[3]+f*d+m[1],M=m[0]+c*d+m[2],S=o-m[3],x=r-m[0];if(b||0!==h)var L=[S,x],O=[S+w,x],k=[S+w,x+M],D=[S,x+M];m=null,0!==h?(m=Co(_,n=o+n,s=r+s,1,1,h,-n,-s),j(y),Y(y,jo(_,L)),Y(y,jo(_,O)),Y(y,jo(_,k)),Y(y,jo(_,D))):T(S,x,S+w,x+M,y),h=e.canvas,h=y[0]<=h.width&&0<=y[2]&&y[1]<=h.height&&0<=y[3],a?(h||1!=a[4])&&(C(a,y),(t=h?[e,m?m.slice(0):null,u,i,p,l,f,c,o,r,d]:null)&&b&&t.push(g,v,L,O,k,D),a.push(t)):h&&(b&&Vn(t,e,L,O,k,D,g,v),tn(e,m,u,i,p,l,f,c,o,r,d))}function Un(t,e){var o=t.pixelRatio;return 1==o?e:e.map((function(t){return t*o}))}function Gn(t,e,o,r,i,n,s){var a=t.coordinates.length,c=rs(t);s&&(o+=i),s=[e[o],e[o+1]];var u,p=[NaN,NaN],l=!0;for(u=o+i;u<r;u+=i){p[0]=e[u],p[1]=e[u+1];var h=L(c,p);h!==d?(l&&(t.coordinates[a++]=s[0],t.coordinates[a++]=s[1]),t.coordinates[a++]=p[0],t.coordinates[a++]=p[1],l=!1):1===h?(t.coordinates[a++]=p[0],t.coordinates[a++]=p[1],l=!1):l=!0,s[0]=p[0],s[1]=p[1];var d=h}return(n&&l||u===o+i)&&(t.coordinates[a++]=s[0],t.coordinates[a++]=s[1]),a}function qn(t,e,o,r,i,n){for(var s=0,a=r.length;s<a;++s){var c=r[s];o=Gn(t,e,o,c,i,!1,!1),n.push(o),o=c}return o}function $n(t,e){t.qa=[0,e,0],t.a.push(t.qa),t.T=[0,e,0],t.b.push(t.T)}function Jn(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],Sm&&(t.lineDashOffset=e[7],t.setLineDash(e[6]))}function Xn(t,e,o){if(e&&5<e.length){var r=e[4];if(1==r||r==e.length-5){if(o={fa:e[0],ea:e[1],la:e[2],ka:e[3],value:o},!t.ra.Ok(o))for(t.ra.Ca(o),o=5,r=e.length;o<r;++o){var i=e[o];i&&(11<i.length&&Vn(t,i[0],i[13],i[14],i[15],i[16],i[11],i[12]),tn.apply(void 0,i))}e.length=5,j(e)}}}function Kn(t,e,o,i,n,s,a){if(t.oa&&Dt(o,t.ca))var c=t.oa;else t.oa||(t.oa=[]),c=Mo(t.coordinates,0,t.coordinates.length,2,o,t.oa),To(t.ca,o);for(var u,p,l,h,d,y,m,g,v,b=!Z(i),_=0,w=n.length,M=0,S=0,x=0,L=null,O=null,T=t.Ub,j=t.$,k={context:e,pixelRatio:t.pixelRatio,resolution:t.resolution,rotation:j},D=t.a!=n||t.overlaps?0:200;_<w;){var P=n[_];switch(P[0]){case 0:var C=P[1];b&&i[r(C).toString()]||!C.U()?_=P[2]:void 0===a||G(a,C.U().G())?++_:_=P[2]+1;break;case 1:S>D&&(t.Xa(e),S=0),x>D&&(e.stroke(),x=0),S||x||(e.beginPath(),h=d=NaN),++_;break;case 2:var Y=c[M=P[1]],R=c[M+1],E=c[M+2]-Y,I=c[M+3]-R,F=Math.sqrt(E*E+I*I);e.moveTo(Y+F,R),e.arc(Y,R,F,0,2*Math.PI,!0),++_;break;case 3:e.closePath(),++_;break;case 4:M=P[1],u=P[2];var A=P[4],N=6==P.length?P[5]:void 0;k.geometry=P[3],k.feature=C,_ in T||(T[_]=[]);var H=T[_];N?N(c,M,u,2,H):(H[0]=c[M],H[1]=c[M+1],H.length=2),A(H,k),++_;break;case 6:M=P[1],u=P[2],v=P[3],p=P[4],l=P[5],g=s?null:P[6];var W=P[7],B=P[8],V=P[9],z=P[10],U=P[11],q=P[12],$=P[13],J=P[14],X=P[15];if(16<P.length)var K=P[16],Q=P[17],tt=P[18];else K=Zm,Q=tt=!1;for(U&&(q+=j);M<u;M+=2)zn(t,e,c[M],c[M+1],v,p,l,g,W,B,V,z,q,$,J,X,K,Q?L:null,tt?O:null);Xn(t,g,C),++_;break;case 5:var et=P[1],ot=P[2],rt=P[3];g=s?null:P[4];var it=P[5],nt=P[6],st=P[7],at=P[8],ct=P[9],ut=P[10],pt=P[11],lt=P[12],ht=P[13],dt=P[14],ft=Wn(c,et,ot,2),yt=at(lt);if(it||yt<=ft){t:{for(var mt=void 0,gt=void 0,vt=void 0,bt=c,_t=et,wt=ot,Mt=lt,St=at,xt=(ft-yt)*hg[t.s[ht].textAlign],Lt=st,Ot=[],Tt=bt[_t]>bt[wt-2],jt=Mt.length,kt=bt[_t],Pt=bt[_t+1],Ct=bt[_t+=2],Yt=bt[_t+1],Rt=0,Et=Math.sqrt(Math.pow(Ct-kt,2)+Math.pow(Yt-Pt,2)),It="",Ft=0,At=0;At<jt;++At){gt=Tt?jt-At-1:At;var Nt=Mt.charAt(gt),Ht=St(It=Tt?Nt+It:It+Nt)-Ft;Ft+=Ht;for(var Wt=xt+Ht/2;_t<wt-2&&Rt+Et<Wt;)kt=Ct,Pt=Yt,Ct=bt[_t+=2],Yt=bt[_t+1],Rt+=Et,Et=Math.sqrt(Math.pow(Ct-kt,2)+Math.pow(Yt-Pt,2));var Bt=Wt-Rt,Vt=Math.atan2(Yt-Pt,Ct-kt);if(Tt&&(Vt+=0<Vt?-Math.PI:Math.PI),void 0!==mt){var zt=Vt-mt;if(zt+=zt>Math.PI?-2*Math.PI:zt<-Math.PI?2*Math.PI:0,Math.abs(zt)>Lt){var Ut=null;break t}}var Gt=Bt/Et,qt=f(kt,Ct,Gt),$t=f(Pt,Yt,Gt);mt==Vt?(Tt&&(vt[0]=qt,vt[1]=$t,vt[2]=Ht/2),vt[4]=It):(Ft=Ht,vt=[qt,$t,Ht/2,Vt,It=Nt],Tt?Ot.unshift(vt):Ot.push(vt),mt=Vt),xt+=Ht}Ut=Ot}if(Ut){var Jt;if(ut){var Xt=0;for(Jt=Ut.length;Xt<Jt;++Xt){var Kt=Ut[Xt],Zt=Kt[4],Qt=t.Y(Zt,ht,"",ut);p=Kt[2]+pt,l=rt*Qt.height+2*(.5-rt)*pt-ct,zn(t,e,Kt[0],Kt[1],Qt,p,l,g,Qt.height,1,0,0,Kt[3],dt,!1,Qt.width,Zm,null,null)}}if(nt)for(Xt=0,Jt=Ut.length;Xt<Jt;++Xt)Zt=(Kt=Ut[Xt])[4],Qt=t.Y(Zt,ht,nt,""),p=Kt[2],l=rt*Qt.height-ct,zn(t,e,Kt[0],Kt[1],Qt,p,l,g,Qt.height,1,0,0,Kt[3],dt,!1,Qt.width,Zm,null,null)}}Xn(t,g,C),++_;break;case 7:if(void 0!==s){var te=s(C=P[1]);if(te)return te}++_;break;case 8:D?S++:t.Xa(e),++_;break;case 9:M=P[1],u=P[2];var ee=c[M],oe=c[M+1];for(m=oe+.5|0,(y=ee+.5|0)===h&&m===d||(e.moveTo(ee,oe),h=y,d=m),M+=2;M<u;M+=2)y=(ee=c[M])+.5|0,m=(oe=c[M+1])+.5|0,(M==u-2||y!==h||m!==d)&&(e.lineTo(ee,oe),h=y,d=m);++_;break;case 10:L=P,t.O=P[2],S&&(t.Xa(e),S=0,x&&(e.stroke(),x=0)),e.fillStyle=P[1],++_;break;case 11:O=P,x&&(e.stroke(),x=0),Jn(e,P),++_;break;case 12:D?x++:e.stroke(),++_;break;default:++_}}S&&t.Xa(e),x&&e.stroke()}function Zn(t,e,o,r,i,n,s){return t.$=r,Kn(t,e,o,i,t.b,n,s)}function Qn(t){var e=t.b;e.reverse();var o,r=e.length,i=-1;for(o=0;o<r;++o){var n=e[o],s=n[0];if(7==s)i=o;else if(0==s){for(n[2]=o,n=t.b,s=o;i<s;){var a=n[i];n[i]=n[s],n[s]=a,++i,--s}i=-1}}}function ts(t,e,o,r){var i=e.fillStyle;"string"==typeof i&&e.Pk==i||(o.call(t,e,r),e.Pk=i)}function es(t,e,o){var r=e.strokeStyle,i=e.lineCap,n=e.lineDash,s=e.lineDashOffset,a=e.lineJoin,c=e.lineWidth,u=e.miterLimit;(e.Vk!=r||e.Qk!=i||n!=e.Fh&&!Dt(e.Fh,n)||e.Rk!=s||e.Sk!=a||e.Tk!=c||e.Uk!=u)&&(o.call(t,e),e.Vk=r,e.Qk=i,e.Fh=n,e.Rk=s,e.Sk=a,e.Tk=c,e.Uk=u)}function os(t,e){t.qa[2]=t.a.length,t.qa=null,t.T[2]=t.b.length,t.T=null,e=[7,e],t.a.push(e),t.b.push(e)}function rs(t){return t.i||(t.i=_(t.Ea),0<t.Wa&&b(t.i,t.resolution*(t.Wa+1)/2,t.i)),t.i}function is(t,e,o,r,i,n){Bn.call(this,t,e,o,r,i,n),this.M=this.V=this.B=null,this.N=this.o=this.v=this.s=this.l=this.C=this.D=this.j=this.f=this.c=this.g=void 0}function ns(t,e,o,r,i,n){Bn.call(this,t,e,o,r,i,n)}function ss(t,e,o,r,i){var n=t.coordinates.length;return n=[9,n,e=Gn(t,e,o,r,i,!1,!1)],t.a.push(n),t.b.push(n),r}function as(t,e,o,r,i,n){Bn.call(this,t,e,o,r,i,n)}function cs(t,e,o,r,i){var n=t.state,s=void 0!==n.fillStyle;n=null!=n.strokeStyle;var a=r.length,c=[1];for(t.a.push(c),t.b.push(c),c=0;c<a;++c){var u=r[c];o=[9,t.coordinates.length,o=Gn(t,e,o,u,i,!0,!n)],t.a.push(o),t.b.push(o),n&&(o=[3],t.a.push(o),t.b.push(o)),o=u}return e=[8],t.b.push(e),s&&t.a.push(e),n&&(s=[12],t.a.push(s),t.b.push(s)),o}function us(t,e){var o=t.state;void 0!==o.fillStyle&&ts(t,o,t.Ah,e),void 0!==o.strokeStyle&&es(t,o,t.pd)}function ps(t,e,o,r,i,n){for(Bn.call(this,t,e,o,r,i,n),this.ta="",this.l=this.D=0,this.C=void 0,this.B=0,this.c=null,this.o={},this.g=null,this.ab={},this.f={},this.s={},this.V=this.v=this.j="",this.ua={};Xi(Qm);)Qm.pop()}function ls(t,e,o,r){var i=t.g,n=t.f,s=t.c,a=t.V;i&&(a in t.ab||(t.ab[a]={strokeStyle:i.strokeStyle,lineCap:i.lineCap,lineDashOffset:i.lineDashOffset,lineWidth:i.lineWidth,lineJoin:i.lineJoin,miterLimit:i.miterLimit,lineDash:i.lineDash}));var c=t.j;t.j in t.s||(t.s[t.j]={font:n.font,textAlign:n.textAlign||"center",scale:n.scale});var u=t.v;s&&(u in t.o||(t.o[u]={fillStyle:s.fillStyle}));var p=t.pixelRatio;s=hg[n.textBaseline];var l=t.l*p,h=t.ta,d=n.font,f=n.scale;i=i?i.lineWidth*f/2:0;var y=t.ua[d];y||(t.ua[d]=y={}),t.a.push([5,e,o,s,r,n.overflow,u,n.maxAngle,function(t){var e=y[t];return e||(e=y[t]=Zi(d,t)),e*f*p},l,a,i*p,h,c,1]),t.b.push([5,e,o,s,r,n.overflow,u,n.maxAngle,function(t){var e=y[t];return e||(e=y[t]=Zi(d,t)),e*f},l,a,i,h,c,1/p])}function hs(t,e,o,r,i,n,s){this.a=n,this.g=null,this.o=t,this.c=e,this.l=i,this.s=r,this.v=o,this.i=s,this.b={},this.f=Tr(1,1),this.j=[1,0,0,1,0,0]}function ds(t,e,o){var r,i=Math.floor(t.length/2);if(e>=i)for(r=i;r<e;r++)t[r][o]=!0;else if(e<i)for(r=e+1;r<i;r++)t[r][o]=!0}function fs(t){for(var e in t.b){var o,r=t.b[e];for(o in r)r[o].bf()}}function ys(t,e){var o=t.c;t=o[0];var r=o[1],i=o[2];return Mo(t=[t,r,t,o=o[3],i,o,i,r],0,8,2,e,t),t}function ms(t,e){return r(t)-r(e)}function gs(t,e){return(t=.5*t/e)*t}function vs(t,e,o,r,i,n){var s,a=!1;if(s=o.Y()){var c=s.gf();2==c||3==c?s.Yj(i,n):(0==c&&s.load(),s.gi(i,n),a=!0)}return(i=(0,o.cb)(e))&&(r=i.Wd(r),o.Ie()?bs(t,r,o,e):(0,yg[r.S()])(t,r,o,e)),a}function bs(t,e,o,r){if("GeometryCollection"==e.S())for(var i=0,n=(e=e.vd()).length;i<n;++i)bs(t,e[i],o,r);else t.Ja(o.Ba(),"Default").Hh(e,r,o.Ie())}function _s(t){wn.call(this,t),this.f=t.D?pg.Jc(9):null,this.i=!1,this.N=-1,this.o=NaN,this.l=[1/0,1/0,-1/0,-1/0],this.c=this.v=null,this.j=!0,this.context=Tr(),Xt(Qm,"clear",this.Vi,this)}function ws(t){this.context=null,An.call(this,t),this.N=t.D?pg.Jc(9):null,this.D=!1,this.ca=[1,0,0,1,0,0],this.O="vector"==t.l?1:0,Xt(Qm,"clear",this.Xi,this)}function Ms(t){delete(t=Zy({},t)).renderer,t.controls||(t.controls=Ur()),t.interactions||(t.interactions=Ui()),Er.call(this,t)}function Ss(t){ce.call(this),t=t||{},this.a=null,Xt(this,ue(Mg),this.$m,this),this.rg(void 0!==t.tracking&&t.tracking)}function xs(t){this.i=t.opacity,this.s=t.rotateWithView,this.f=t.rotation,this.a=t.scale,this.v=t.snapToPixel}function Ls(t){this.D=this.o=this.c=null,this.Xa=void 0!==t.fill?t.fill:null,this.oa=[0,0],this.l=t.points,this.b=void 0!==t.radius?t.radius:t.radius1,this.g=t.radius2,this.j=void 0!==t.angle?t.angle:0,this.Ya=void 0!==t.stroke?t.stroke:null,this.B=this.qa=this.C=null,this.N=t.atlasManager,Os(this,this.N),xs.call(this,{opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}function Os(t,e){var o="",i="",n=0,s=null,a=0,c=0;if(t.Ya){var u=t.Ya.a;null===u&&(u=Km),u=nn(u),void 0===(c=t.Ya.c)&&(c=1),s=t.Ya.g,a=t.Ya.i,Sm||(s=null,a=0),void 0===(i=t.Ya.j)&&(i="round"),void 0===(o=t.Ya.f)&&(o="round"),void 0===(n=t.Ya.l)&&(n=10)}var p=2*(t.b+c)+1;if(o={strokeStyle:u,Wj:c,size:p,lineCap:o,lineDash:s,lineDashOffset:a,lineJoin:i,miterLimit:n},void 0===e){var l=Tr(p,p);t.o=l.canvas,e=p=t.o.width,t.Jh(o,l,0,0),t.Xa?t.D=t.o:(l=Tr(o.size,o.size),t.D=l.canvas,t.Ih(o,l,0,0))}else p=Math.round(p),(i=!t.Xa)&&(l=t.Ih.bind(t,o)),t.Ya?(void 0===(n=t.Ya).b&&(n.b="s",n.b=n.a?"string"==typeof n.a?n.b+n.a:n.b+r(n.a).toString():n.b+"-",n.b+=","+(void 0!==n.f?n.f.toString():"-")+","+(n.g?n.g.toString():"-")+","+(void 0!==n.i?n.i:"-")+","+(void 0!==n.j?n.j:"-")+","+(void 0!==n.l?n.l.toString():"-")+","+(void 0!==n.c?n.c.toString():"-")),n=n.b):n="-",t.Xa?(void 0===(s=t.Xa).a&&(s.a=s.b instanceof CanvasPattern||s.b instanceof CanvasGradient?r(s.b).toString():"f"+(s.b?on(s.b):"-")),s=s.a):s="-",t.c&&n==t.c[1]&&s==t.c[2]&&t.b==t.c[3]&&t.g==t.c[4]&&t.j==t.c[5]&&t.l==t.c[6]||(t.c=["r"+n+s+(void 0!==t.b?t.b.toString():"-")+(void 0!==t.g?t.g.toString():"-")+(void 0!==t.j?t.j.toString():"-")+(void 0!==t.l?t.l.toString():"-"),n,s,t.b,t.g,t.j,t.l]),l=e.add(t.c[0],p,p,t.Jh.bind(t,o),l),t.o=l.image,t.oa=[l.offsetX,l.offsetY],e=l.image.width,t.D=i?l.Bm:t.o;t.C=[p/2,p/2],t.qa=[p,p],t.B=[e,e]}function Ts(t){t=t||{},Ls.call(this,{points:1/0,fill:t.fill,radius:t.radius,snapToPixel:t.snapToPixel,stroke:t.stroke,atlasManager:t.atlasManager})}function js(t){t=t||{},this.b=void 0!==t.color?t.color:null,this.a=void 0}function ks(t){t=t||{},this.a=void 0!==t.color?t.color:null,this.f=t.lineCap,this.g=void 0!==t.lineDash?t.lineDash:null,this.i=t.lineDashOffset,this.j=t.lineJoin,this.l=t.miterLimit,this.c=t.width,this.b=void 0}function Ds(t){t=t||{},this.Uc=null,this.cb=Rs,void 0!==t.geometry&&this.Va(t.geometry),this.Xa=void 0!==t.fill?t.fill:null,this.M=void 0!==t.image?t.image:null,this.pc=void 0!==t.renderer?t.renderer:null,this.Ya=void 0!==t.stroke?t.stroke:null,this.ta=void 0!==t.text?t.text:null,this.bk=t.zIndex}function Ps(t){if("function"!=typeof t){if(Array.isArray(t))var e=t;else c(t instanceof Ds,41),e=[t];t=function(){return e}}return t}function Cs(){if(!Sg){var t=new js({color:"rgba(255,255,255,0.4)"}),e=new ks({color:"#3399CC",width:1.25});Sg=[new Ds({image:new Ts({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return Sg}function Ys(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new Ds({fill:new js({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new Ds({stroke:new ks({color:e,width:5})}),new Ds({stroke:new ks({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new Ds({image:new Ts({radius:6,fill:new js({color:o}),stroke:new ks({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Rs(t){return t.U()}function Es(t){ce.call(this),this.c=void 0,this.a="geometry",this.f=null,this.j=void 0,this.i=null,Xt(this,ue(this.a),this.Oe,this),void 0!==t&&(t instanceof Ro||!t?this.Va(t):this.H(t))}function Is(t){ce.call(this),t=t||{},this.a=null,this.i=_t,this.f=new Q(6378137),this.c=void 0,Xt(this,ue("projection"),this.en,this),Xt(this,ue("tracking"),this.fn,this),void 0!==t.projection&&this.oi(t.projection),void 0!==t.trackingOptions&&this.Rj(t.trackingOptions),this.Ue(void 0!==t.tracking&&t.tracking)}function Fs(t,e,o,r,i,n){var s=NaN,a=NaN,c=(o-e)/r;if(1===c)s=t[e],a=t[e+1];else if(2==c)s=(1-i)*t[e]+i*t[e+r],a=(1-i)*t[e+1]+i*t[e+r+1];else if(0!==c){a=t[e],c=t[e+1];var u,p=0;for(s=[0],u=e+r;u<o;u+=r){var l=t[u],h=t[u+1];p+=Math.sqrt((l-a)*(l-a)+(h-c)*(h-c)),s.push(p),a=l,c=h}for(o=i*p,c=0,p=s.length,u=!1;c<p;)0>(a=+Lt(s[i=c+(p-c>>1)],o))?c=i+1:(p=i,u=!a);0>(i=u?c:~c)?(o=(o-s[-i-2])/(s[-i-1]-s[-i-2]),s=f(t[e+=(-i-2)*r],t[e+r],o),a=f(t[e+1],t[e+r+1],o)):(s=t[e+i*r],a=t[e+i*r+1])}return n?(n[0]=s,n[1]=a,n):[s,a]}function As(t,e,o,r,i,n){if(o==e)return null;if(i<t[e+r-1])return n?((o=t.slice(e,e+r))[r-1]=i,o):null;if(t[o-1]<i)return n?((o=t.slice(o-r,o))[r-1]=i,o):null;if(i==t[e+r-1])return t.slice(e,e+r);for(e/=r,o/=r;e<o;)i<t[(1+(n=e+o>>1))*r-1]?o=n:e=n+1;if(i==(o=t[e*r-1]))return t.slice((e-1)*r,(e-1)*r+r);var s;for(n=(i-o)/(t[(e+1)*r-1]-o),o=[],s=0;s<r-1;++s)o.push(f(t[(e-1)*r+s],t[e*r+s],n));return o.push(i),o}function Ns(t,e){Eo.call(this),this.c=null,this.o=this.D=this.j=-1,this.na(t,e)}function Hs(t,e,o){for(var r,i,n,s,a,c=[],u=t(0),l=t(1),h=e(u),d=e(l),f=[l,u],y=[d,h],m=[1,0],g={},v=1e5;0<--v&&0<m.length;)n=m.pop(),u=f.pop(),h=y.pop(),(l=n.toString())in g||(c.push(h[0],h[1]),g[l]=!0),s=m.pop(),l=f.pop(),d=y.pop(),p((i=e(r=t(a=(n+s)/2)))[0],i[1],h[0],h[1],d[0],d[1])<o?(c.push(d[0],d[1]),g[l=s.toString()]=!0):(m.push(s,a,a,n),y.push(d,i,i,h),f.push(l,r,r,u));return c}function Ws(t){t=t||{},this.a=t.font,this.i=t.rotation,this.l=t.rotateWithView,this.b=t.scale,this.ta=t.text,this.f=t.textAlign,this.j=t.textBaseline,this.Xa=void 0!==t.fill?t.fill:new js({color:"#333"}),this.s=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.o=void 0!==t.placement?t.placement:"point";var e=void 0===t.overflow?t.exceedLength:t.overflow;this.v=void 0!==e&&e,this.Ya=void 0!==t.stroke?t.stroke:null,this.g=void 0!==t.offsetX?t.offsetX:0,this.c=void 0!==t.offsetY?t.offsetY:0,this.N=t.backgroundFill?t.backgroundFill:null,this.D=t.backgroundStroke?t.backgroundStroke:null,this.C=void 0===t.padding?null:t.padding}function Bs(t){t=t||{},this.i=this.v=null,this.j=this.f=1/0,this.s=this.l=-1/0,this.qa=this.oa=1/0,this.O=this.T=-1/0,this.ua=void 0!==t.targetSize?t.targetSize:100,this.ab=void 0!==t.maxLines?t.maxLines:100,this.g=[],this.c=[],this.ra=void 0!==t.strokeStyle?t.strokeStyle:xg,this.D=this.o=void 0,this.a=this.b=this.N=null,1==t.showLabels&&(this.$=null==t.lonLabelFormatter?so.bind(this,"EW"):t.lonLabelFormatter,this.Wa=null==t.latLabelFormatter?so.bind(this,"NS"):t.latLabelFormatter,this.ca=null==t.lonLabelPosition?0:t.lonLabelPosition,this.V=null==t.latLabelPosition?1:t.latLabelPosition,this.B=void 0!==t.lonLabelStyle?t.lonLabelStyle:new Ws({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new js({color:"rgba(0,0,0,1)"}),stroke:new ks({color:"rgba(255,255,255,1)",width:3})}),this.C=void 0!==t.latLabelStyle?t.latLabelStyle:new Ws({font:"12px Calibri,sans-serif",textAlign:"end",fill:new js({color:"rgba(0,0,0,1)"}),stroke:new ks({color:"rgba(255,255,255,1)",width:3})}),this.b=[],this.a=[]),this.setMap(void 0!==t.map?t.map:null)}function Vs(t,e,o,r,i,n,s){var a=s;return o=function(t,e,o,r,i){return Hs((function(r){return[t,e+(o-e)*r]}),vt(mt("EPSG:4326"),r),i)}(e,o,r,t.i,i),(a=void 0!==t.g[a]?t.g[a]:new Ns(null)).ba("XY",o),G(a.G(),n)&&(t.b&&(o=s,n=[(r=a.da())[0],u(n[1]+Math.abs(n[1]-n[3])*t.ca,Math.max(n[1],r[1]),Math.min(n[3],r[r.length-1]))],(o=void 0!==t.b[o]?t.b[o].Qd:new or(null)).na(n),t.b[s]={Qd:o,text:t.$(e)}),t.g[s++]=a),s}function zs(t,e,o,r,i,n,s){var a=s;return o=function(t,e,o,r,i){return Hs((function(r){return[e+(o-e)*r,t]}),vt(mt("EPSG:4326"),r),i)}(e,o,r,t.i,i),(a=void 0!==t.c[a]?t.c[a]:new Ns(null)).ba("XY",o),G(a.G(),n)&&(t.a&&(o=s,r=a.da(),n=[u(n[0]+Math.abs(n[0]-n[2])*t.V,Math.max(n[0],r[0]),Math.min(n[2],r[r.length-2])),r[1]],(o=void 0!==t.a[o]?t.a[o].Qd:new or(null)).na(n),t.a[s]={Qd:o,text:t.Wa(e)}),t.c[s++]=a),s}function Us(t,e,o,r,i,n){Gi.call(this,t,e,o,0),this.i=r,this.M=new Image,null!==i&&(this.M.crossOrigin=i),this.g=null,this.state=0,this.c=n}function Gs(t,e,o){ne.call(this),o=o||{},this.ya=t,this.state=e,this.g=null,this.key="",this.j=void 0===o.transition?250:o.transition,this.s={}}function qs(t){if(!t.g)return t;var e=t.g;do{if(2==e.getState())return e;e=e.g}while(e);return t}function $s(t){if(t.g){var e=t.g;do{if(2==e.getState()){e.g=null;break}1==e.getState()?t=e:0==e.getState()?t.g=e.g:t=e,e=t.g}while(e)}}function Js(t,e){t.state=e,t.u()}function Xs(t,e,o){if(!t.j)return 1;var r=t.s[e];if(r){if(-1===r)return 1}else r=o,t.s[e]=r;return(e=o-r+1e3/60)>=t.j?1:mo(e/t.j)}function Ks(t,e,o,r,i,n){Gs.call(this,t,e,n),this.f=r,this.l=o,this.M=new Image,null!==r&&(this.M.crossOrigin=r),this.c=null,this.v=i}function Zs(t){t.c.forEach(Qt),t.c=null}function Qs(){var t=Tr(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}function ta(t){this.b=t}function ea(t){this.b=t}function oa(t){this.b=t}function ra(t,e){this.g=t.getUniformLocation(e,"h"),this.i=t.getUniformLocation(e,"i"),this.c=t.getUniformLocation(e,"j"),this.oa=t.getUniformLocation(e,"k"),this.qa=t.getUniformLocation(e,"l"),this.a=t.getUniformLocation(e,"m"),this.C=t.getUniformLocation(e,"n"),this.O=t.getUniformLocation(e,"o"),this.T=t.getUniformLocation(e,"p"),this.b=t.getAttribLocation(e,"e"),this.j=t.getAttribLocation(e,"f"),this.N=t.getAttribLocation(e,"g")}function ia(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}function na(t,e){this.origin=N(e),this.bb=[1,0,0,1,0,0],this.Ea=[1,0,0,1,0,0],this.La=[1,0,0,1,0,0],this.V=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.b=[],this.j=null,this.g=[],this.i=[],this.a=[],this.s=null,this.f=void 0}function sa(t,e,o,r){t.drawElements(4,r-o,e.f?5125:5123,o*(e.f?4:2))}function aa(t,e,o,r,i,n){return(t=(o-t)*(n-e)-(i-t)*(r-e))<=Pg&&t>=-Pg?void 0:0<t}function ca(t){this.b=void 0!==t?t:[],this.a=Cg}function ua(t,e){na.call(this,t,e),this.v=null,this.l=[],this.o=[],this.N=0,this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,u:!1}}function pa(t,e,o,r){e.uniform4fv(t.v.O,o),e.uniform1f(t.v.oa,r)}function la(t,e){this.g=t.getUniformLocation(e,"h"),this.i=t.getUniformLocation(e,"i"),this.c=t.getUniformLocation(e,"j"),this.a=t.getUniformLocation(e,"k"),this.b=t.getAttribLocation(e,"c"),this.B=t.getAttribLocation(e,"d"),this.v=t.getAttribLocation(e,"e"),this.o=t.getAttribLocation(e,"f"),this.D=t.getAttribLocation(e,"g")}function ha(t,e){this.j=t,this.b=e,this.a={},this.c={},this.g={},this.s=this.v=this.i=this.l=null,(this.f=Ot(qy,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),Xt(this.j,"webglcontextlost",this.zp,this),Xt(this.j,"webglcontextrestored",this.Ap,this)}function da(t,e,o){var i=t.b,n=o.b,s=String(r(o));if(s in t.a)i.bindBuffer(e,t.a[s].buffer);else{var a,c=i.createBuffer();i.bindBuffer(e,c),34962==e?a=new Float32Array(n):34963==e&&(a=t.f?new Uint32Array(n):new Uint16Array(n)),i.bufferData(e,a,o.a),t.a[s]={tc:o,buffer:c}}}function fa(t,e){var o=t.b;e=String(r(e));var i=t.a[e];o.isContextLost()||o.deleteBuffer(i.buffer),delete t.a[e]}function ya(t){if(!t.i){var e=t.b,o=e.createFramebuffer();e.bindFramebuffer(e.FRAMEBUFFER,o);var r=ba(e,1,1),i=e.createRenderbuffer();e.bindRenderbuffer(e.RENDERBUFFER,i),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,1,1),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,r,0),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,i),e.bindTexture(e.TEXTURE_2D,null),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),t.i=o,t.v=r,t.s=i}return t.i}function ma(t,e){var o=String(r(e));if(o in t.c)return t.c[o];var i=t.b,n=i.createShader(e.S());return i.shaderSource(n,e.b),i.compileShader(n),t.c[o]=n}function ga(t,e,o){var i=r(e)+"/"+r(o);if(i in t.g)return t.g[i];var n=t.b,s=n.createProgram();return n.attachShader(s,ma(t,e)),n.attachShader(s,ma(t,o)),n.linkProgram(s),t.g[i]=s}function va(t,e,o){var r=t.createTexture();return t.bindTexture(t.TEXTURE_2D,r),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),void 0!==e&&t.texParameteri(3553,10242,e),void 0!==o&&t.texParameteri(3553,10243,o),r}function ba(t,e,o){var r=va(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),r}function _a(t,e){var o=va(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function wa(t,e){na.call(this,t,e),this.C=this.D=void 0,this.v=[],this.o=[],this.qa=this.oa=this.height=void 0,this.Wa=null,this.width=this.scale=this.rotation=this.rotateWithView=this.O=this.T=this.opacity=void 0}function Ma(t,e,o,r){var i=t.D,n=t.C,s=t.height,a=t.oa,c=t.qa,u=t.opacity,p=t.T,l=t.O,h=t.rotateWithView?1:0,d=-t.rotation,f=t.scale,y=t.width,m=Math.cos(d);d=Math.sin(d);var g,v=t.b.length,b=t.a.length;for(g=0;g<o;g+=r){var _=e[g]-t.origin[0],w=e[g+1]-t.origin[1],M=b/8,S=-f*i,x=-f*(s-n);t.a[b++]=_,t.a[b++]=w,t.a[b++]=S*m-x*d,t.a[b++]=S*d+x*m,t.a[b++]=p/c,t.a[b++]=(l+s)/a,t.a[b++]=u,t.a[b++]=h,S=f*(y-i),x=-f*(s-n),t.a[b++]=_,t.a[b++]=w,t.a[b++]=S*m-x*d,t.a[b++]=S*d+x*m,t.a[b++]=(p+y)/c,t.a[b++]=(l+s)/a,t.a[b++]=u,t.a[b++]=h,S=f*(y-i),x=f*n,t.a[b++]=_,t.a[b++]=w,t.a[b++]=S*m-x*d,t.a[b++]=S*d+x*m,t.a[b++]=(p+y)/c,t.a[b++]=l/a,t.a[b++]=u,t.a[b++]=h,S=-f*i,x=f*n,t.a[b++]=_,t.a[b++]=w,t.a[b++]=S*m-x*d,t.a[b++]=S*d+x*m,t.a[b++]=p/c,t.a[b++]=l/a,t.a[b++]=u,t.a[b++]=h,t.b[v++]=M,t.b[v++]=M+1,t.b[v++]=M+2,t.b[v++]=M,t.b[v++]=M+2,t.b[v++]=M+3}}function Sa(t,e,o,i){var n,s=e.length;for(n=0;n<s;++n){var a=e[n],c=r(a).toString();c in o?a=o[c]:(a=_a(i,a),o[c]=a),t[n]=a}}function xa(t,e){wa.call(this,t,e),this.l=[],this.c=[],this.B=[],this.N=[]}function La(t,e,o){var r=e-o;return t[0]===t[r]&&t[1]===t[r+1]&&3<(e-0)/o&&!!No(t,0,e,o)}function Oa(t,e){this.g=t.getUniformLocation(e,"h"),this.i=t.getUniformLocation(e,"i"),this.c=t.getUniformLocation(e,"j"),this.oa=t.getUniformLocation(e,"k"),this.O=t.getUniformLocation(e,"l"),this.a=t.getUniformLocation(e,"m"),this.C=t.getUniformLocation(e,"n"),this.T=t.getUniformLocation(e,"o"),this.qa=t.getUniformLocation(e,"p"),this.l=t.getAttribLocation(e,"d"),this.b=t.getAttribLocation(e,"e"),this.s=t.getAttribLocation(e,"f"),this.f=t.getAttribLocation(e,"g")}function Ta(t,e){na.call(this,t,e),this.v=null,this.o=[],this.l=[],this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,u:!1}}function ja(t,e,o,r){var i,n=t.a.length,s=t.b.length,a="bevel"===t.c.lineJoin?0:"miter"===t.c.lineJoin?1:2,c="butt"===t.c.lineCap?0:"square"===t.c.lineCap?1:2,u=La(e,o,r),p=s,l=1;for(i=0;i<o;i+=r){var h=n/7,d=f,f=y||[e[i],e[i+1]];if(0===i){var y=[e[i+r],e[i+r+1]];if(o-0==2*r&&Dt(f,y))break;if(!u){c&&(n=ka(t,[0,0],f,y,l*Ng*c,n),n=ka(t,[0,0],f,y,-l*Ng*c,n),t.b[s++]=h+2,t.b[s++]=h,t.b[s++]=h+1,t.b[s++]=h+1,t.b[s++]=h+3,t.b[s++]=h+2),n=ka(t,[0,0],f,y,l*Fg*(c||1),n),p=(n=ka(t,[0,0],f,y,-l*Fg*(c||1),n))/7-1;continue}d=[e[o-2*r],e[o-2*r+1]];var m=y}else{if(i===o-r){u?y=m:(n=ka(t,d=d||[0,0],f,[0,0],l*Ag*(c||1),n),n=ka(t,d,f,[0,0],-l*Ag*(c||1),n),t.b[s++]=h,t.b[s++]=p-1,t.b[s++]=p,t.b[s++]=p,t.b[s++]=h+1,t.b[s++]=h,c&&(n=ka(t,d,f,[0,0],l*Hg*c,n),n=ka(t,d,f,[0,0],-l*Hg*c,n),t.b[s++]=h+2,t.b[s++]=h,t.b[s++]=h+1,t.b[s++]=h+1,t.b[s++]=h+3,t.b[s++]=h+2));break}y=[e[i+r],e[i+r+1]]}var g=aa(d[0],d[1],f[0],f[1],y[0],y[1])?-1:1;n=ka(t,d,f,y,g*Wg*(a||1),n),n=ka(t,d,f,y,g*Bg*(a||1),n),n=ka(t,d,f,y,-g*Vg*(a||1),n),0<i&&(t.b[s++]=h,t.b[s++]=p-1,t.b[s++]=p,t.b[s++]=h+2,t.b[s++]=h,t.b[s++]=0<l*g?p:p-1),t.b[s++]=h,t.b[s++]=h+2,t.b[s++]=h+1,p=h+2,l=g,a&&(n=ka(t,d,f,y,g*zg*a,n),t.b[s++]=h+1,t.b[s++]=h+3,t.b[s++]=h)}u&&(h=h||n/7,n=ka(t,d,f,y,(g=pr([d[0],d[1],f[0],f[1],y[0],y[1]],0,6,2)?1:-1)*Wg*(a||1),n),ka(t,d,f,y,-g*Vg*(a||1),n),t.b[s++]=h,t.b[s++]=p-1,t.b[s++]=p,t.b[s++]=h+1,t.b[s++]=h,t.b[s++]=0<l*g?p:p-1)}function ka(t,e,o,r,i,n){return t.a[n++]=e[0],t.a[n++]=e[1],t.a[n++]=o[0],t.a[n++]=o[1],t.a[n++]=r[0],t.a[n++]=r[1],t.a[n++]=i,n}function Da(t,e,o,r){return!((o-=e)<2*r||o===2*r&&Dt([t[e],t[e+1]],[t[e+r],t[e+r+1]]))}function Pa(t,e,o,r){var i;if(La(e,e.length,r)||(e.push(e[0]),e.push(e[1])),ja(t,e,e.length,r),o.length)for(e=0,i=o.length;e<i;++e)La(o[e],o[e].length,r)||(o[e].push(o[e][0]),o[e].push(o[e][1])),ja(t,o[e],o[e].length,r)}function Ca(t,e,o){o=void 0===o?t.b.length:o,t.g.push(o),t.i.push(e),t.c.u&&(t.l.push(o),t.c.u=!1)}function Ya(t,e,o,r,i){e.uniform4fv(t.v.C,o),e.uniform1f(t.v.oa,r),e.uniform1f(t.v.O,i)}function Ra(t,e){this.g=t.getUniformLocation(e,"b"),this.i=t.getUniformLocation(e,"c"),this.c=t.getUniformLocation(e,"d"),this.C=t.getUniformLocation(e,"e"),this.a=t.getUniformLocation(e,"f"),this.b=t.getAttribLocation(e,"a")}function Ea(){this.b=this.a=this.g=void 0,this.c=0}function Ia(t){var e=t.b;if(e){var o=e.next,r=e.Eb;o&&(o.Eb=r),r&&(r.next=o),t.b=o||r,t.g===t.a?(t.b=void 0,t.g=void 0,t.a=void 0):t.g===e?t.g=t.b:t.a===e&&(t.a=r?t.b.Eb:t.b),t.c--}}function Fa(t){if(t.b=t.g,t.b)return t.b.data}function Aa(t){if(t.b&&t.b.next)return t.b=t.b.next,t.b.data}function Na(t){if(t.b&&t.b.next)return t.b.next.data}function Ha(t){if(t.b&&t.b.Eb)return t.b=t.b.Eb,t.b.data}function Wa(t){if(t.b&&t.b.Eb)return t.b.Eb.data}function Ba(t){if(t.b)return t.b.data}function Va(){this.a=pg.Jc(void 0),this.b={}}function za(t,e,o){var i=t.b[r(o)];P([i.fa,i.ea,i.la,i.ka],e)||(t.remove(o),t.Ca(e,o))}function Ua(t){return t.a.all().map((function(t){return t.value}))}function Ga(t,e){return t.a.search({fa:e[0],ea:e[1],la:e[2],ka:e[3]}).map((function(t){return t.value}))}function qa(t,e,o,r){return $a(Ga(t,e),o,r)}function $a(t,e,o){for(var r,i=0,n=t.length;i<n&&!(r=e.call(o,t[i]));i++);return r}function Ja(t,e){na.call(this,t,e),this.f=new Ta(t,e),this.v=null,this.o=[],this.c=[],this.l={fillColor:null,u:!1}}function Xa(t,e,o,r){var i=new Ea,n=new Va;if(Ka(t,e,r,i,n,!0),e=Za(i),o.length){var s,a=[],c=0;for(s=o.length;c<s;++c){var u={list:new Ea,Ec:void 0,gh:new Va};a.push(u),Ka(t,o[c],r,u.list,u.gh,!1),Qa(u.list,u.gh,!0),u.Ec=Za(u.list)}for(a.sort((function(t,e){return e.Ec[0]===t.Ec[0]?t.Ec[1]-e.Ec[1]:e.Ec[0]-t.Ec[0]})),c=0;c<a.length;++c){s=r=Fa(o=a[c].list);do{if(uc(s,n).length){var p=!0;break}s=Aa(o)}while(r!==s);!p&&tc(o,a[c].Ec[0],i,e[0],n)&&(n.concat(a[c].gh),Qa(i,n,!1))}}else Qa(i,n,!1);ec(t,i,n)}function Ka(t,e,o,r,i,n){var s,a=t.a.length/2,c=[],u=[];if(n===pr(e,0,e.length,o)){var p=n=nc(t,e[0],e[1],a++),l=o;for(s=e.length;l<s;l+=o){var h=nc(t,e[l],e[l+1],a++);u.push(sc(p,h,r)),c.push([Math.min(p.x,h.x),Math.min(p.y,h.y),Math.max(p.x,h.x),Math.max(p.y,h.y)]),p=h}}else for(p=n=nc(t,e[l=e.length-o],e[l+1],a++),l-=o,s=0;l>=s;l-=o)h=nc(t,e[l],e[l+1],a++),u.push(sc(p,h,r)),c.push([Math.min(p.x,h.x),Math.min(p.y,h.y),Math.max(p.x,h.x),Math.max(p.y,h.y)]),p=h;u.push(sc(h,n,r)),c.push([Math.min(p.x,h.x),Math.min(p.y,h.y),Math.max(p.x,h.x),Math.max(p.y,h.y)]),i.load(c,u)}function Za(t){var e=Fa(t),o=e,r=[o.Z.x,o.Z.y];do{(o=Aa(t)).Z.x>r[0]&&(r=[o.Z.x,o.Z.y])}while(o!==e);return r}function Qa(t,e,o){var r=Fa(t),i=r,n=Aa(t),s=!1;do{var a=o?aa(n.X.x,n.X.y,i.X.x,i.X.y,i.Z.x,i.Z.y):aa(i.Z.x,i.Z.y,i.X.x,i.X.y,n.X.x,n.X.y);void 0===a?(ac(i,n,t,e),s=!0,n===r&&(r=Na(t)),n=i,Ha(t)):i.X.Kb!==a&&(i.X.Kb=a,s=!0),i=n,n=Aa(t)}while(i!==r);return s}function tc(t,e,o,r,i){for(var n=Fa(t);n.X.x!==e;)n=Aa(t);var s,a=1/0,c=uc({Z:e=n.X,X:r={x:r,y:e.y,qb:-1}},i,!0),u=0;for(s=c.length;u<s;++u){var p=c[u],l=pc(e,r,p.Z,p.X,!0),h=Math.abs(e.x-l[0]);if(h<a&&void 0!==aa(e.x,e.y,p.Z.x,p.Z.y,p.X.x,p.X.y)){a=h;var d={x:l[0],y:l[1],qb:-1};n=p}}if(1/0===a)return!1;if(c=n.X,0<a&&(n=cc(e,d,n.X,i)).length)for(d=1/0,u=0,s=n.length;u<s;++u)a=n[u],((p=Math.atan2(e.y-a.y,r.x-a.x))<d||p===d&&a.x<c.x)&&(d=p,c=a);for(n=Fa(o);n.X.x!==c.x||n.X.y!==c.y;)n=Aa(o);return r={x:e.x,y:e.y,qb:e.qb,Kb:void 0},u={x:n.X.x,y:n.X.y,qb:n.X.qb,Kb:void 0},Na(t).Z=r,sc(e,n.X,t,i),sc(u,r,t,i),n.X=u,t.b&&(t.g=t.b,t.a=t.b.Eb),o.concat(t),!0}function ec(t,e,o){for(var r=!1,i=ic(e,o);3<e.c;)if(i){if(!oc(t,e,o,i,r)&&!Qa(e,o,r)&&!rc(t,e,o,!0))break}else if(!oc(t,e,o,i,r)&&!Qa(e,o,r)&&!rc(t,e,o)){if(!(i=ic(e,o))){i=t,n=s=Fa(r=e);do{if((a=uc(n,o)).length){for(s=a[0],a=nc(i,(a=pc(n.Z,n.X,s.Z,s.X))[0],a[1],i.a.length/2),c=new Ea,u=new Va,sc(a,n.X,c,u),n.X=a,za(o,[Math.min(n.Z.x,a.x),Math.min(n.Z.y,a.y),Math.max(n.Z.x,a.x),Math.max(n.Z.y,a.y)],n),n=Aa(r);n!==s;)sc(n.Z,n.X,c,u),o.remove(n),Ia(r),n=Ba(r);sc(s.Z,a,c,u),s.Z=a,za(o,[Math.min(s.X.x,a.x),Math.min(s.X.y,a.y),Math.max(s.X.x,a.x),Math.max(s.X.y,a.y)],s),Qa(r,o,!1),ec(i,r,o),Qa(c,u,!1),ec(i,c,u);break}n=Aa(r)}while(n!==s);break}var n=2*(r=e).c,s=Array(n),a=Fa(r),c=a,u=0;do{s[u++]=c.Z.x,s[u++]=c.Z.y,c=Aa(r)}while(c!==a);Qa(e,o,r=!pr(s,0,n,2))}3===e.c&&(i=t.b.length,t.b[i++]=Wa(e).Z.qb,t.b[i++]=Ba(e).Z.qb,t.b[i++]=Na(e).Z.qb)}function oc(t,e,o,r,i){var n=t.b.length,s=Fa(e),a=Wa(e),c=s,u=Aa(e),p=Na(e),l=!1;do{var h=c.Z,d=c.X,f=u.X;if(!1===d.Kb){var y=r?0===cc(h,d,f,o,!0).length:i?lc(p.X,f,d,h,a.Z):lc(a.Z,h,d,f,p.X);!r&&0!==uc({Z:h,X:f},o).length||!y||!r&&!1!==h.Kb&&!1!==f.Kb&&pr([a.Z.x,a.Z.y,h.x,h.y,d.x,d.y,f.x,f.y,p.X.x,p.X.y],0,10,2)!==!i||(t.b[n++]=h.qb,t.b[n++]=d.qb,t.b[n++]=f.qb,ac(c,u,e,o),u===s&&(s=p),l=!0)}a=Wa(e),c=Ba(e),u=Aa(e),p=Na(e)}while(c!==s&&3<e.c);return l}function rc(t,e,o,r){var i=Fa(e);Aa(e);var n=i,s=Aa(e),a=!1;do{var c=pc(n.Z,n.X,s.Z,s.X,r);if(c){a=t.b.length;var u=t.a.length/2,p=Ha(e);Ia(e),o.remove(p);var l=p===i;if(r?(c[0]===n.Z.x&&c[1]===n.Z.y?(Ha(e),c=n.Z,s.Z=c,o.remove(n),l=l||n===i):(c=s.X,n.X=c,o.remove(s),l=l||s===i),Ia(e)):(c=nc(t,c[0],c[1],u),n.X=c,s.Z=c,za(o,[Math.min(n.Z.x,n.X.x),Math.min(n.Z.y,n.X.y),Math.max(n.Z.x,n.X.x),Math.max(n.Z.y,n.X.y)],n),za(o,[Math.min(s.Z.x,s.X.x),Math.min(s.Z.y,s.X.y),Math.max(s.Z.x,s.X.x),Math.max(s.Z.y,s.X.y)],s)),t.b[a++]=p.Z.qb,t.b[a++]=p.X.qb,t.b[a++]=c.qb,a=!0,l)break}n=Wa(e),s=Aa(e)}while(n!==i);return a}function ic(t,e){var o=Fa(t),r=o;do{if(uc(r,e).length)return!1;r=Aa(t)}while(r!==o);return!0}function nc(t,e,o,r){var i=t.a.length;return t.a[i++]=e,t.a[i++]=o,{x:e,y:o,qb:r,Kb:void 0}}function sc(t,e,o,r){var i={Z:t,X:e},n={Eb:void 0,next:void 0,data:i},s=o.b;if(s){var a=s.next;n.Eb=s,n.next=a,s.next=n,a&&(a.Eb=n),s===o.a&&(o.a=n)}else o.g=n,o.a=n,n.next=n,n.Eb=n;return o.b=n,o.c++,r&&r.Ca([Math.min(t.x,e.x),Math.min(t.y,e.y),Math.max(t.x,e.x),Math.max(t.y,e.y)],i),i}function ac(t,e,o,r){Ba(o)===e&&(Ia(o),t.X=e.X,r.remove(e),za(r,[Math.min(t.Z.x,t.X.x),Math.min(t.Z.y,t.X.y),Math.max(t.Z.x,t.X.x),Math.max(t.Z.y,t.X.y)],t))}function cc(t,e,o,r,i){var n,s,a=[],c=Ga(r,[Math.min(t.x,e.x,o.x),Math.min(t.y,e.y,o.y),Math.max(t.x,e.x,o.x),Math.max(t.y,e.y,o.y)]);for(r=0,n=c.length;r<n;++r)for(s in c[r]){var u=c[r][s];"object"!=typeof u||i&&!u.Kb||u.x===t.x&&u.y===t.y||u.x===e.x&&u.y===e.y||u.x===o.x&&u.y===o.y||-1!==a.indexOf(u)||!ir([t.x,t.y,e.x,e.y,o.x,o.y],0,6,2,u.x,u.y)||a.push(u)}return a}function uc(t,e,o){var r,i=t.Z,n=t.X,s=[],a=0;for(r=(e=Ga(e,[Math.min(i.x,n.x),Math.min(i.y,n.y),Math.max(i.x,n.x),Math.max(i.y,n.y)])).length;a<r;++a){var c=e[a];t!==c&&(o||c.Z!==n||c.X!==i)&&pc(i,n,c.Z,c.X,o)&&s.push(c)}return s}function pc(t,e,o,r,i){var n=(r.y-o.y)*(e.x-t.x)-(r.x-o.x)*(e.y-t.y);if(0!==n&&(r=((r.x-o.x)*(t.y-o.y)-(r.y-o.y)*(t.x-o.x))/n,o=((e.x-t.x)*(t.y-o.y)-(e.y-t.y)*(t.x-o.x))/n,!i&&r>Pg&&r<1-Pg&&o>Pg&&o<1-Pg||i&&0<=r&&1>=r&&0<=o&&1>=o))return[t.x+r*(e.x-t.x),t.y+r*(e.y-t.y)]}function lc(t,e,o,r,i){if(void 0===e.Kb||void 0===r.Kb)return!1;var n=(o.x-r.x)*(e.y-r.y)>(o.y-r.y)*(e.x-r.x);return i=(i.x-r.x)*(e.y-r.y)<(i.y-r.y)*(e.x-r.x),t=(t.x-e.x)*(r.y-e.y)>(t.y-e.y)*(r.x-e.x),o=(o.x-e.x)*(r.y-e.y)<(o.y-e.y)*(r.x-e.x),e=e.Kb?o||t:o&&t,(r.Kb?i||n:i&&n)&&e}function hc(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.c={},this.g=Tr(t,t),this.i=this.g.canvas}function dc(t,e,o,r){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<r.width&&0<r.height&&e.push(r),t.a.splice.apply(t.a,e)}function fc(t){t=t||{},this.a=void 0!==t.initialSize?t.initialSize:256,this.g=void 0!==t.maxSize?t.maxSize:void 0!==Gy?Gy:2048,this.b=void 0!==t.space?t.space:1,this.f=[new hc(this.a,this.b)],this.c=this.a,this.i=[new hc(this.c,this.b)]}function yc(t,e){var o,r=0;for(o=t.length;r<o;++r){var i=t[r];if(i=i.get(e))return i}return null}function mc(t,e){return{offsetX:t.offsetX,offsetY:t.offsetY,image:t.image,Bm:e.image}}function gc(t,e,o,r,i,n,s){var a,c=e?t.i:t.f,u=0;for(a=c.length;u<a;++u){var p=c[u];if(p=p.add(o,r,i,n,s))return p;p||u!==a-1||(e?(p=Math.min(2*t.c,t.g),t.c=p):(p=Math.min(2*t.a,t.g),t.a=p),p=new hc(p,t.b),c.push(p),++a)}return null}function vc(t,e){wa.call(this,t,e),this.c=[],this.ua=[],this.Ub=Tr(0,0).canvas,this.N={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:0,miterLimit:void 0,fillColor:null,font:void 0,scale:void 0},this.ta="",this.ca=this.$=this.ra=this.ab=void 0,this.B={},this.l=void 0,this.opacity=this.scale=1}function bc(t,e){if(1===e.length){var o=t.l,r=t.N;(t=t.Ub.getContext("2d")).font=r.font,t=Math.ceil(t.measureText(e).width*r.scale),o.Bh.add(e,t,o.height,(function(t,o,i){t.font=r.font,t.fillStyle=r.fillColor,t.strokeStyle=r.strokeColor,t.lineWidth=r.lineWidth,t.lineCap=r.lineCap,t.lineJoin=r.lineJoin,t.miterLimit=r.miterLimit,t.textAlign="left",t.textBaseline="top",Sm&&r.lineDash&&(t.setLineDash(r.lineDash),t.lineDashOffset=r.lineDashOffset),1!==r.scale&&t.setTransform(r.scale,0,0,r.scale,0,0),r.strokeColor&&t.strokeText(e,o,i),r.fillColor&&t.fillText(e,o,i)}))&&(o.width[e]=t)}}function _c(t,e,o){this.c=e,this.i=t,this.g=o,this.a={}}function wc(t,e){var o,r=[];for(o in t.a){var i,n=t.a[o];for(i in n)r.push(n[i].Db(e))}return function(){for(var t,e=r.length,o=0;o<e;o++)t=r[o].apply(this,arguments);return t}}function Mc(t,e,o,r,i,n,s,a,c,u,p){var l=qg,h=Object.keys(t.a).map(Number);h.sort((function(t,e){return e-t}));var d,f,y=0;for(d=h.length;y<d;++y){var m=t.a[h[y].toString()];for(f=lg.length-1;0<=f;--f){var g=m[lg[f]];if(void 0!==g&&(g=g.Na(e,o,r,i,l,n,s,a,c,u,p)))return g}}}function Sc(t,e,o,r,i,n,s){this.b=t,this.g=e,this.c=n,this.i=s,this.l=i,this.j=r,this.f=o,this.a=this.s=this.v=this.o=null}function xc(t,e,o){var r=t.b;(e=e.Ja(0,"Text")).nb(t.a),e.Wb(o,null),e.gb(r),e.Na(t.b,t.g,t.f,t.j,t.l,t.i,1,{},void 0,!1),e.Db(r)()}function Lc(t,e){this.f=t.getUniformLocation(e,"d"),this.c=t.getUniformLocation(e,"e"),this.g=t.getUniformLocation(e,"f"),this.i=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function Oc(t,e){fn.call(this,e),this.c=t,this.V=new ca([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.f=this.Mb=null,this.j=void 0,this.v=[1,0,0,1,0,0],this.N=[1,0,0,1,0,0],this.C=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.o=null}function Tc(t,e,o,r){if(se(t=t.a,e)){var i=r.viewState;t.b(new $i(e,new Sc(o,i.center,i.resolution,i.rotation,r.size,r.extent,r.pixelRatio),r,null,o))}}function jc(t,e){Oc.call(this,t,e),this.l=this.i=this.M=null}function kc(t,e){kn.call(this,t,e),this.b=document.createElement("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.N=this.D=0,this.C=Tr(),this.s=!0,this.g=ve(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0}),this.i=new ha(this.b,this.g),Xt(this.b,"webglcontextlost",this.Co,this),Xt(this.b,"webglcontextrestored",this.Do,this),this.a=new Ji,this.o=null,this.j=new Ue(function(t){var e=t[1];t=t[2];var o=e[0]-this.o[0];return e=e[1]-this.o[1],65536*Math.log(t)+Math.sqrt(o*o+e*e)/t}.bind(this),(function(t){return t[0].lb()})),this.B=function(){if(0!==this.j.b.length){Je(this.j);var t=Ge(this.j);Dc(this,t[0],t[3],t[4])}return!1}.bind(this),this.f=0,Cc(this)}function Dc(t,e,o,r){var i=t.g,n=e.lb();if(t.a.a.hasOwnProperty(n))t=t.a.get(n),i.bindTexture(3553,t.Mb),9729!=t.hi&&(i.texParameteri(3553,10240,9729),t.hi=9729),9729!=t.ji&&(i.texParameteri(3553,10241,9729),t.ji=9729);else{var s=i.createTexture();if(i.bindTexture(3553,s),0<r){var a=t.C.canvas,c=t.C;t.D!==o[0]||t.N!==o[1]?(a.width=o[0],a.height=o[1],t.D=o[0],t.N=o[1]):c.clearRect(0,0,o[0],o[1]),c.drawImage(e.Y(),r,r,o[0],o[1],0,0,o[0],o[1]),i.texImage2D(3553,0,6408,6408,5121,a)}else i.texImage2D(3553,0,6408,6408,5121,e.Y());i.texParameteri(3553,10240,9729),i.texParameteri(3553,10241,9729),i.texParameteri(3553,10242,33071),i.texParameteri(3553,10243,33071),t.a.set(n,{Mb:s,hi:9729,ji:9729})}}function Pc(t,e,o){var r=t.l;if(se(r,e)){t=t.i;var i=o.viewState;r.b(new $i(e,new Sc(t,i.center,i.resolution,i.rotation,o.size,o.extent,o.pixelRatio),o,null,t))}}function Cc(t){(t=t.g).activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}function Yc(t,e){this.c=t.getUniformLocation(e,"d"),this.g=t.getUniformLocation(e,"e"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function Rc(t,e){Oc.call(this,t,e),this.T=Kg,this.ca=Zg,this.i=null,this.B=new ca([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.D=this.l=null,this.s=-1,this.O=[0,0]}function Ec(t,e){Oc.call(this,t,e),this.s=!1,this.O=-1,this.T=NaN,this.D=[1/0,1/0,-1/0,-1/0],this.l=this.i=this.B=null}function Ic(t){(t=Zy({},t)).controls||(t.controls=Ur()),t.interactions||(t.interactions=Ui()),Er.call(this,t)}function Fc(t){ce.call(this),this.id=t.id,this.insertFirst=void 0===t.insertFirst||t.insertFirst,this.stopEvent=void 0===t.stopEvent||t.stopEvent,this.element=document.createElement("DIV"),this.element.className=void 0!==t.className?t.className:"ol-overlay-container ol-selectable",this.element.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.autoPanAnimation=t.autoPanAnimation||{},this.autoPanMargin=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.a={ze:"",Se:"",xf:"",Ef:"",visible:!0},this.c=null,Xt(this,ue(Qg),this.am,this),Xt(this,ue(tv),this.km,this),Xt(this,ue(ev),this.om,this),Xt(this,ue(ov),this.qm,this),Xt(this,ue(rv),this.rm,this),void 0!==t.element&&this.Hj(t.element),this.Mj(void 0!==t.offset?t.offset:[0,0]),this.Pj(void 0!==t.positioning?t.positioning:"top-left"),void 0!==t.position&&this.We(t.position)}function Ac(t,e){var o=t.getBoundingClientRect();return[t=o.left+window.pageXOffset,o=o.top+window.pageYOffset,t+e[0],o+e[1]]}function Nc(t,e){t.a.visible!==e&&(t.element.style.display=e?"":"none",t.a.visible=e)}function Hc(t){var e=t.Ve(),o=t.pi();if(e&&e.c&&o){o=e.Ia(o);var r=e.Cb();e=t.element.style;var i=t.Xh(),n=t.Yh();Nc(t,!0);var s=i[0];i=i[1],"bottom-right"==n||"center-right"==n||"top-right"==n?(""!==t.a.Se&&(t.a.Se=e.left=""),s=Math.round(r[0]-o[0]-s)+"px",t.a.xf!=s&&(t.a.xf=e.right=s)):(""!==t.a.xf&&(t.a.xf=e.right=""),"bottom-center"!=n&&"center-center"!=n&&"top-center"!=n||(s-=t.element.offsetWidth/2),s=Math.round(o[0]+s)+"px",t.a.Se!=s&&(t.a.Se=e.left=s)),"bottom-left"==n||"bottom-center"==n||"bottom-right"==n?(""!==t.a.Ef&&(t.a.Ef=e.top=""),o=Math.round(r[1]-o[1]-i)+"px",t.a.ze!=o&&(t.a.ze=e.bottom=o)):(""!==t.a.ze&&(t.a.ze=e.bottom=""),"center-left"!=n&&"center-center"!=n&&"center-right"!=n||(i-=t.element.offsetHeight/2),o=Math.round(o[1]+i)+"px",t.a.Ef!=o&&(t.a.Ef=e.top=o))}else Nc(t,!1)}function Wc(t,e,o,r,i,n){Gs.call(this,t,e,n),this.c=0,this.l=null,this.v=r,this.a=null,this.f={},this.C=i,this.N=o}function Bc(t,e,o){return t.f[r(e)+","+o]}function Vc(t){t=t||{},this.c=void 0!==t.className?t.className:"ol-full-screen";var e=void 0!==t.label?t.label:"⤢";this.l="string"==typeof e?document.createTextNode(e):e,e=void 0!==t.labelActive?t.labelActive:"×",this.v="string"==typeof e?document.createTextNode(e):e;var o=t.tipLabel?t.tipLabel:"Toggle full-screen";(e=document.createElement("button")).className=this.c+"-"+Uc(),e.setAttribute("type","button"),e.title=o,e.appendChild(this.l),Xt(e,"click",this.C,this),(o=document.createElement("div")).className=this.c+" ol-unselectable ol-control "+(zc()?"":"ol-unsupported"),o.appendChild(e),Ir.call(this,{element:o,target:t.target}),this.D=void 0!==t.keys&&t.keys,this.j=t.source}function zc(){var t=document.body;return!!(t.webkitRequestFullscreen||t.mozRequestFullScreen&&document.mozFullScreenEnabled||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled)}function Uc(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function Gc(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}function qc(t){t=t||{};var e=document.createElement("DIV");e.className=void 0!==t.className?t.className:"ol-mouse-position",Ir.call(this,{element:e,render:t.render?t.render:$c,target:t.target}),Xt(this,ue(sv),this.En,this),t.coordinateFormat&&this.Gj(t.coordinateFormat),t.projection&&this.ti(t.projection),this.o=void 0!==t.undefinedHTML?t.undefinedHTML:"",this.v=e.innerHTML,this.l=this.j=this.c=null}function $c(t){(t=t.frameState)?this.c!=t.viewState.projection&&(this.c=t.viewState.projection,this.j=null):this.c=null,Jc(this,this.l)}function Jc(t,e){var o=t.o;if(e&&t.c){if(!t.j){var r=t.si();t.j=r?bt(t.c,r):_t}(e=t.a.Ra(e))&&(t.j(e,e),o=(o=t.Qh())?o(e):e.toString())}t.v&&o==t.v||(t.element.innerHTML=o,t.v=o)}function Xc(t){function e(t){t=a.Sd(t),c.a.aa().ub(t),window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",e)}function o(t){t=a.Sd({clientX:t.clientX-p.offsetWidth/2,clientY:t.clientY+p.offsetHeight/2}),u.We(t)}t=t||{},this.j=void 0===t.collapsed||t.collapsed,this.l=void 0===t.collapsible||t.collapsible,this.l||(this.j=!1);var r=void 0!==t.className?t.className:"ol-overviewmap",i=void 0!==t.tipLabel?t.tipLabel:"Overview map",n=void 0!==t.collapseLabel?t.collapseLabel:"«";"string"==typeof n?(this.o=document.createElement("span"),this.o.textContent=n):this.o=n,"string"==typeof(n=void 0!==t.label?t.label:"»")?(this.D=document.createElement("span"),this.D.textContent=n):this.D=n;var s=this.l&&!this.j?this.o:this.D;(n=document.createElement("button")).setAttribute("type","button"),n.title=i,n.appendChild(s),Xt(n,"click",this.Hn,this),this.C=document.createElement("DIV"),this.C.className="ol-overviewmap-map";var a=this.c=new Er({controls:new he,interactions:new he,view:t.view});t.layers&&t.layers.forEach((function(t){a.xe(t)}),this),(i=document.createElement("DIV")).className="ol-overviewmap-box",i.style.boxSizing="border-box",this.v=new Fc({position:[0,0],positioning:"bottom-left",element:i}),this.c.ye(this.v),(i=document.createElement("div")).className=r+" ol-unselectable ol-control"+(this.j&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible"),i.appendChild(this.C),i.appendChild(n),Ir.call(this,{element:i,render:t.render?t.render:Kc,target:t.target});var c=this,u=this.v,p=this.v.Rd();p.addEventListener("mousedown",(function(){window.addEventListener("mousemove",o),window.addEventListener("mouseup",e)}))}function Kc(){var t=this.a,e=this.c;if(t.c&&e.c){var o=t.Cb();t=t.aa().qd(o);var r=e.Cb();o=e.aa().qd(r);var i=e.Ia(V(t)),n=e.Ia(A(t));e=Math.abs(i[0]-n[0]),i=Math.abs(i[1]-n[1]),n=r[0],r=r[1],e<.1*n||i<.1*r||e>.75*n||i>.75*r?Zc(this):S(o,t)||(t=this.c,o=this.a.aa(),t.aa().ub(o.xa()))}Qc(this)}function Zc(t){var e=t.a;t=t.c;var o=e.Cb();e=e.aa().qd(o),t=t.aa(),$(e,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2))),t.Uf(e)}function Qc(t){var e=t.a,o=t.c;if(e.c&&o.c){var r=e.Cb(),i=e.aa(),n=o.aa();o=i.Sa(),e=t.v;var s=t.v.Rd(),a=i.qd(r);if(r=n.Pa(),i=F(a),n=z(a),t=t.a.aa().xa()){var c=[i[0]-t[0],i[1]-t[1]];uo(c,o),io(c,t)}e.We(c),s&&(s.style.width=Math.abs((i[0]-n[0])/r)+"px",s.style.height=Math.abs((n[1]-i[1])/r)+"px")}}function tu(t){t.element.classList.toggle("ol-collapsed"),t.j?jr(t.o,t.D):jr(t.D,t.o),t.j=!t.j;var e=t.c;t.j||e.c||(e.Oc(),Zc(t),Kt(e,"postrender",(function(){Qc(this)}),t))}function eu(t){var e=void 0!==(t=t||{}).className?t.className:"ol-scale-line";this.l=document.createElement("DIV"),this.l.className=e+"-inner",this.c=document.createElement("DIV"),this.c.className=e+" ol-unselectable",this.c.appendChild(this.l),this.o=null,this.v=void 0!==t.minWidth?t.minWidth:64,this.j=!1,this.B=void 0,this.D="",Ir.call(this,{element:this.c,render:t.render?t.render:ou,target:t.target}),Xt(this,ue(uv),this.V,this),this.O(t.units||"metric")}function ou(t){this.o=(t=t.frameState)?t.viewState:null,ru(this)}function ru(t){var e=t.o;if(e){var o=e.center,r=e.projection,i=t.C();e=pt(r,e.resolution,o,"degrees"==i?"degrees":"m"),"degrees"!=i&&(e*=r.Bc());var n=t.v*e;for(o="","degrees"==i?(o=Qy.degrees,"degrees"==r.a?n*=o:e/=o,n<o/60?(o="″",e*=3600):n<o?(o="′",e*=60):o="°"):"imperial"==i?.9144>n?(o="in",e/=.0254):1609.344>n?(o="ft",e/=.3048):(o="mi",e/=1609.344):"nautical"==i?(e/=1852,o="nm"):"metric"==i?.001>n?(o="μm",e*=1e6):1>n?(o="mm",e*=1e3):1e3>n?o="m":(o="km",e/=1e3):"us"==i?.9144>n?(o="in",e*=39.37):1609.344>n?(o="ft",e/=.30480061):(o="mi",e/=1609.3472):c(!1,33),i=3*Math.floor(Math.log(t.v*e)/Math.log(10));;){if(n=cv[(i%3+3)%3]*Math.pow(10,Math.floor(i/3)),r=Math.round(n/e),isNaN(r))return t.c.style.display="none",void(t.j=!1);if(r>=t.v)break;++i}e=n+" "+o,t.D!=e&&(t.l.innerHTML=e,t.D=e),t.B!=r&&(t.l.style.width=r+"px",t.B=r),t.j||(t.c.style.display="",t.j=!0)}else t.j&&(t.c.style.display="none",t.j=!1)}function iu(t){t=t||{},this.c=void 0,this.j=pv,this.D=this.v=0,this.O=null,this.$=!1,this.V=void 0!==t.duration?t.duration:200;var e=void 0!==t.className?t.className:"ol-zoomslider",o=document.createElement("button");o.setAttribute("type","button"),o.className=e+"-thumb ol-unselectable";var r=document.createElement("div");r.className=e+" ol-unselectable ol-control",r.appendChild(o),this.l=new Ce(r),Xt(this.l,"pointerdown",this.$l,this),Xt(this.l,"pointermove",this.Yl,this),Xt(this.l,"pointerup",this.Zl,this),Xt(r,"click",this.Xl,this),Xt(o,"click",ie),Ir.call(this,{element:r,render:t.render?t.render:nu})}function nu(t){if(t.frameState){if(!this.$){var e=this.element,o=e.offsetWidth,r=e.offsetHeight,i=e.firstElementChild,n=getComputedStyle(i);e=i.offsetWidth+parseFloat(n.marginRight)+parseFloat(n.marginLeft),i=i.offsetHeight+parseFloat(n.marginTop)+parseFloat(n.marginBottom),this.O=[e,i],o>r?(this.j=1,this.D=o-e):(this.j=pv,this.v=r-i),this.$=!0}(t=t.frameState.viewState.resolution)!==this.c&&(this.c=t,su(this,t))}}function su(t,e){e=1-function(t){var e=t.a,o=Math.log(e/t.i)/Math.log(2);return function(t){return Math.log(e/t)/Math.log(2)/o}}(t.a.aa())(e);var o=t.element.firstElementChild;1==t.j?o.style.left=t.D*e+"px":o.style.top=t.v*e+"px"}function au(t,e){return function(t){var e=t.a,o=Math.log(e/t.i)/Math.log(2);return function(t){return e/Math.pow(2,t*o)}}(t.a.aa())(1-e)}function cu(t){t=t||{},this.extent=t.extent?t.extent:null;var e=void 0!==t.className?t.className:"ol-zoom-extent",o=void 0!==t.label?t.label:"E",r=void 0!==t.tipLabel?t.tipLabel:"Fit to extent",i=document.createElement("button");i.setAttribute("type","button"),i.title=r,i.appendChild("string"==typeof o?document.createTextNode(o):o),Xt(i,"click",this.c,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(i),Ir.call(this,{element:o,target:t.target})}function uu(t,e){return lv.createElementNS(t,e)}function pu(t,e){return lu(t,e,[]).join("")}function lu(t,e,o){if(t.nodeType==Node.CDATA_SECTION_NODE||t.nodeType==Node.TEXT_NODE)o.push(e?String(t.nodeValue).replace(/(\r\n|\r|\n)/g,""):t.nodeValue);else for(t=t.firstChild;t;t=t.nextSibling)lu(t,e,o);return o}function hu(t){return t instanceof Document}function du(t){return t instanceof Node}function fu(t){return(new DOMParser).parseFromString(t,"application/xml")}function yu(t,e){return function(o,r){void 0!==(o=t.call(e,o,r))&&jt(r[r.length-1],o)}}function mu(t,e){return function(o,r){void 0!==(o=t.call(void 0!==e?e:this,o,r))&&r[r.length-1].push(o)}}function gu(t,e){return function(o,r){void 0!==(o=t.call(void 0!==e?e:this,o,r))&&(r[r.length-1]=o)}}function vu(t){return function(e,o){var r=t.call(this,e,o);void 0!==r&&(o=o[o.length-1],((e=e.localName)in o?o[e]:o[e]=[]).push(r))}}function bu(t,e){return function(o,r){var i=t.call(this,o,r);void 0!==i&&(r[r.length-1][void 0!==e?e:o.localName]=i)}}function _u(t,e){return function(o,r,i){t.call(void 0!==e?e:this,o,r,i),i[i.length-1].node.appendChild(o)}}function wu(t){var e,o;return function(r,i,n){if(void 0===e){e={};var s={};s[r.localName]=t,e[r.namespaceURI]=s,o=Mu(r.localName)}Tu(e,o,i,n)}}function Mu(t,e){return function(o,r,i){return o=r[r.length-1].node,void 0===(r=t)&&(r=i),i=e,void 0===e&&(i=o.namespaceURI),uu(i,r)}}function Su(t,e){for(var o=e.length,r=Array(o),i=0;i<o;++i)r[i]=t[e[i]];return r}function xu(t,e,o){o=void 0!==o?o:{};var r,i=0;for(r=t.length;i<r;++i)o[t[i]]=e;return o}function Lu(t,e,o,r){for(e=e.firstElementChild;e;e=e.nextElementSibling){var i=t[e.namespaceURI];void 0!==i&&void 0!==(i=i[e.localName])&&i.call(r,e,o)}}function Ou(t,e,o,r,i){return r.push(t),Lu(e,o,r,i),r.pop()}function Tu(t,e,o,r,i,n){for(var s,a,c=(void 0!==i?i:o).length,u=0;u<c;++u)void 0!==(s=o[u])&&void 0!==(a=e.call(n,s,r,void 0!==i?i[u]:void 0))&&t[a.namespaceURI][a.localName].call(n,a,s,r)}function ju(t,e,o,r,i,n,s){i.push(t),Tu(e,o,r,i,n,s),i.pop()}function ku(t,e,o,r){return function(i,n,s){var a=new XMLHttpRequest;a.open("GET","function"==typeof t?t(i,n,s):t,!0),"arraybuffer"==e.S()&&(a.responseType="arraybuffer"),a.onload=function(){if(!a.status||200<=a.status&&300>a.status){var t=e.S();if("json"==t||"text"==t)var i=a.responseText;else"xml"==t?(i=a.responseXML)||(i=fu(a.responseText)):"arraybuffer"==t&&(i=a.response);i?o.call(this,e.Qa(i,{featureProjection:s}),e.sb(i),e.cg()):r.call(this)}else r.call(this)}.bind(this),a.onerror=function(){r.call(this)}.bind(this),a.send()}}function Du(t,e){return ku(t,e,(function(t){this.Qc(t)}),o)}function Pu(){this.i=this.defaultDataProjection=null}function Cu(t,e,o){var r;return o&&(r={dataProjection:o.dataProjection?o.dataProjection:t.sb(e),featureProjection:o.featureProjection}),Yu(t,r)}function Yu(t,e){return Zy({dataProjection:t.defaultDataProjection,featureProjection:t.i},e)}function Ru(t,e,o){var r,i=o?mt(o.featureProjection):null,n=o?mt(o.dataProjection):null;if(r=i&&n&&!gt(i,n)?t instanceof Ro?(e?t.clone():t).mb(e?i:n,e?n:i):St(t,n,i):t,e&&o&&void 0!==o.decimals){var s=Math.pow(10,o.decimals);r===t&&(r=r.clone()),r.Rc((function(t){for(var e=0,o=t.length;e<o;++e)t[e]=Math.round(t[e]*s)/s;return t}))}return r}function Eu(){Pu.call(this)}function Iu(t){return"string"==typeof t?(t=JSON.parse(t))?t:null:null!==t?t:null}function Fu(t,e){Eo.call(this),this.c=[],this.j=this.o=-1,this.na(t,e)}function Au(t,e){var o,r=t.ja,i=[],n=[],s=0;for(o=e.length;s<o;++s){var a=e[s];0===s&&(r=a.ja),jt(i,a.da()),n.push(i.length)}t.ba(r,i,n)}function Nu(t,e){Eo.call(this),this.na(t,e)}function Hu(t,e){Eo.call(this),this.c=[],this.o=-1,this.D=null,this.T=this.C=this.B=-1,this.j=null,this.na(t,e)}function Wu(t){if(t.o!=t.g){var e,o=t.A,r=t.c,i=t.a,n=0,s=[],a=0;for(e=r.length;a<e;++a){var c=r[a];n=D(o,n,c[0],i),s.push((n[0]+n[2])/2,(n[1]+n[3])/2),n=c[c.length-1]}for(o=Bu(t),r=t.c,i=t.a,a=0,e=[],c=0,n=r.length;c<n;++c){var u=r[c];e=sr(o,a,u,i,s,2*c,e),a=u[u.length-1]}t.D=e,t.o=t.g}return t.D}function Bu(t){if(t.T!=t.g){var e=t.A;t:{var o,r=t.c,i=0;for(o=r.length;i<o;++i)if(!lr(e,r[i],t.a,void 0)){r=!1;break t}r=!0}r?t.j=e:(t.j=e.slice(),t.j.length=dr(t.j,t.c,t.a)),t.T=t.g}return t.j}function Vu(t,e){var o,r=t.ja,i=[],n=[],s=0;for(o=e.length;s<o;++s){var a=e[s];0===s&&(r=a.ja);var c,u=i.length,p=a.pb(),l=0;for(c=p.length;l<c;++l)p[l]+=u;jt(i,a.da()),n.push(p)}t.ba(r,i,n)}function zu(t){t=t||{},Pu.call(this),this.b=t.geometryName}function Uu(t,e){if(!t)return null;if("number"==typeof t.x&&"number"==typeof t.y)var o="Point";else if(t.points)o="MultiPoint";else if(t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(t.rings){var r=t.rings,i=Gu(t),n=[],s=[];o=[];var a,c=0;for(a=r.length;c<a;++c)n.length=0,qo(n,0,r[c],i.length),pr(n,0,n.length,i.length)?s.push([r[c]]):o.push(r[c]);for(;o.length;){for(r=o.shift(),i=!1,c=s.length-1;0<=c;c--)if(S(new tr(s[c][0]).G(),new tr(r).G())){s[c].push(r),i=!0;break}i||s.push([r.reverse()])}t=Zy({},t),1===s.length?(o="Polygon",t.rings=s[0]):(o="MultiPolygon",t.rings=s)}return Ru((0,dv[o])(t),!1,e)}function Gu(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function qu(t){return{hasZ:"XYZ"===(t=t.ja)||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}function $u(t,e){return(0,fv[t.S()])(Ru(t,!0,e),e)}function Ju(){this.g=new XMLSerializer,Pu.call(this)}function Xu(t,e,o){return 0<(t=Ku(t,e,o)).length?t[0]:null}function Ku(t,e,o){var r=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&jt(r,t.Kc(e,o));return r}function Zu(t){t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:gu(Zu.prototype.ge),featureMembers:gu(Zu.prototype.ge)},Ju.call(this)}function Qu(t){return tp(t=pu(t,!1))}function tp(t){if(t=/^\s*(true|1)|(false|0)\s*$/.exec(t))return void 0!==t[1]||!1}function ep(t){return t=pu(t,!1),t=Date.parse(t),isNaN(t)?void 0:t/1e3}function op(t){return rp(t=pu(t,!1))}function rp(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function ip(t){return np(t=pu(t,!1))}function np(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function sp(t){return pu(t,!1).trim()}function ap(t,e){pp(t,e?"1":"0")}function cp(t,e){t.appendChild(lv.createTextNode(e.toPrecision()))}function up(t,e){t.appendChild(lv.createTextNode(e.toString()))}function pp(t,e){t.appendChild(lv.createTextNode(e))}function lp(t){t=t||{},Zu.call(this,t),this.s=void 0!==t.surface&&t.surface,this.c=void 0!==t.curve&&t.curve,this.f=void 0===t.multiCurve||t.multiCurve,this.j=void 0===t.multiSurface||t.multiSurface,this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd",this.hasZ=void 0!==t.hasZ&&t.hasZ}function hp(t,e,o){var r=o[o.length-1];o=r.hasZ,t.setAttribute("srsDimension",o?3:2),r=r.srsName;for(var i,n=(e=e.W()).length,s=Array(n),a=0;a<n;++a){i=e[a];var c=a,u=o,p="enu";r&&(p=mt(r).b),p="en"===p.substr(0,2)?i[0]+" "+i[1]:i[1]+" "+i[0],u&&(p+=" "+(i[2]||0)),s[c]=p}pp(t,s.join(" "))}function dp(t){t=t||{},Zu.call(this,t),this.b["http://www.opengis.net/gml"].featureMember=mu(Zu.prototype.ge),this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function fp(t){return(t=uu(t,"coordinates")).setAttribute("decimal","."),t.setAttribute("cs",","),t.setAttribute("ts"," "),t}function yp(t,e,o){var r=o[o.length-1];o=r.hasZ,r=r.srsName;for(var i,n=(e=e.W()).length,s=Array(n),a=0;a<n;++a)i=e[a],s[a]=mp(i,r,o);pp(t,s.join(" "))}function mp(t,e,o){var r="enu";return e&&(r=mt(e).b),e="en"===r.substr(0,2)?t[0]+","+t[1]:t[1]+","+t[0],o&&(e+=","+(t[2]||0)),e}function gp(t){t=t||{},Ju.call(this),this.defaultDataProjection=mt("EPSG:4326"),this.b=t.readExtensions}function vp(t,e,o,r){return t.push(parseFloat(o.getAttribute("lon")),parseFloat(o.getAttribute("lat"))),"ele"in r?(t.push(r.ele),delete r.ele,e.hasZ=!0):t.push(0),"time"in r?(t.push(r.time),delete r.time,e.hasM=!0):t.push(0),t}function bp(t,e,o){var r="XY",i=2;if(t.hasZ&&t.hasM?(r="XYZM",i=4):t.hasZ?(r="XYZ",i=3):t.hasM&&(r="XYM",i=3),4!==i){var n,s=0;for(n=e.length/4;s<n;s++)e[s*i]=e[4*s],e[s*i+1]=e[4*s+1],t.hasZ&&(e[s*i+2]=e[4*s+2]),t.hasM&&(e[s*i+2]=e[4*s+3]);if(e.length=e.length/4*i,o)for(s=0,n=o.length;s<n;s++)o[s]=o[s]/4*i}return r}function _p(t,e){var o=e[e.length-1],r=t.getAttribute("href");null!==r&&(o.link=r),Lu(Yv,t,e)}function wp(t,e){e[e.length-1].extensionsNode_=t}function Mp(t,e){var o=e[0];if(t=Ou({flatCoordinates:[],layoutOptions:{}},Rv,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var r=t.layoutOptions;delete t.layoutOptions,r=bp(r,e);var i=new Ns(null);return i.ba(r,e),Ru(i,!1,o),(o=new Es(i)).H(t),o}}function Sp(t,e){var o=e[0];if(t=Ou({flatCoordinates:[],ends:[],layoutOptions:{}},Iv,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var r=t.ends;delete t.ends;var i=t.layoutOptions;delete t.layoutOptions,i=bp(i,e,r);var n=new Fu(null);return n.ba(i,e,r),Ru(n,!1,o),(o=new Es(n)).H(t),o}}function xp(t,e){var o=e[0];if(e=Ou({},Nv,t,e)){var r={};return Ru(t=new or(t=vp([],r,t,e),r=bp(r,t)),!1,o),(o=new Es(t)).H(e),o}}function Lp(t,e){e||(e=[]);for(var o=0,r=e.length;o<r;++o){var i=e[o];t.b&&t.b(i,i.get("extensionsNode_")||null),i.set("extensionsNode_",void 0)}}function Op(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,ju({node:t},Wv,hv,[e.linkText,e.linkType],o,Hv)}function Tp(t,e,o){var r=o[o.length-1],i=r.node.namespaceURI,n=r.properties;switch(t.setAttributeNS(null,"lat",e[1]),t.setAttributeNS(null,"lon",e[0]),r.geometryLayout){case"XYZM":0!==e[3]&&(n.time=e[3]);case"XYZ":0!==e[2]&&(n.ele=e[2]);break;case"XYM":0!==e[2]&&(n.time=e[2])}r=Su(n,e="rtept"==t.nodeName?zv[i]:Jv[i]),ju({node:t,properties:n},Xv,hv,r,o,e)}function jp(t,e){if((t=t.U())&&(t=Kv[t.S()]))return uu(e[e.length-1].node.namespaceURI,t)}function kp(t){Ro.call(this),this.a=t||null,Cp(this)}function Dp(t){var e,o=[],r=0;for(e=t.length;r<e;++r)o.push(t[r].clone());return o}function Pp(t){var e;if(t.a){var o=0;for(e=t.a.length;o<e;++o)Zt(t.a[o],"change",t.u,t)}}function Cp(t){var e;if(t.a){var o=0;for(e=t.a.length;o<e;++o)Xt(t.a[o],"change",t.u,t)}}function Yp(t){t=t||{},Pu.call(this),this.defaultDataProjection=mt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326"),t.featureProjection&&(this.i=mt(t.featureProjection)),this.b=t.geometryName,this.a=t.extractGeometryName}function Rp(t,e){return t?Ru((0,Qv[t.type])(t),!1,e):null}function Ep(t,e){return(0,tb[t.S()])(Ru(t,!0,e),e)}function Ip(){Pu.call(this)}function Fp(t){return"string"==typeof t?t:""}function Ap(t){t=t||{},Pu.call(this),this.defaultDataProjection=mt("EPSG:4326"),this.b=t.altitudeMode?t.altitudeMode:"none"}function Np(t,e,o,r,i,n){ne.call(this),this.j=null,this.M=t||new Image,null!==r&&(this.M.crossOrigin=r),this.c=n?document.createElement("CANVAS"):null,this.f=n,this.i=null,this.g=i,this.a=o,this.l=e,this.s=!1,2==this.g&&Hp(this)}function Hp(t){var e=Tr(1,1);try{e.drawImage(t.M,0,0),e.getImageData(0,0,1,1)}catch(e){t.s=!0}}function Wp(t){t=t||{},this.l=void 0!==t.anchor?t.anchor:[.5,.5],this.o=null,this.g=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.C=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.B=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.qa=void 0!==t.crossOrigin?t.crossOrigin:null;var e=void 0!==t.img?t.img:null,o=void 0!==t.imgSize?t.imgSize:null,i=t.src;c(!(void 0!==i&&e),4),c(!e||e&&o,5),void 0!==i&&0!==i.length||!e||(i=e.src||r(e).toString()),c(void 0!==i&&0<i.length,6);var n=void 0!==t.src?0:2;this.j=void 0!==t.color?en(t.color):null;var s=this.qa,a=this.j,u=ug.get(i,s,a);u||(u=new Np(e,i,o,s,n,a),ug.set(i,s,a,u)),this.b=u,this.oa=void 0!==t.offset?t.offset:[0,0],this.c=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.N=null,this.D=void 0!==t.size?t.size:null,xs.call(this,{opacity:void 0!==t.opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView})}function Bp(t){t=t||{},Ju.call(this),eb||(rb=new js({color:ob=[255,255,255,1]}),sb=nb="pixels",pb=new Wp({anchor:ib=[20,2],anchorOrigin:"bottom-left",anchorXUnits:nb,anchorYUnits:sb,crossOrigin:"anonymous",rotation:0,scale:ub=.5,size:ab=[64,64],src:cb="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),lb="NO_IMAGE",hb=new ks({color:ob,width:1}),db=new ks({color:[51,51,51,1],width:2}),fb=new Ws({font:"bold 16px Helvetica",fill:rb,stroke:db,scale:.8}),yb=new Ds({fill:rb,image:pb,text:fb,stroke:hb,zIndex:0}),eb=[yb]),this.defaultDataProjection=mt("EPSG:4326"),this.a=t.defaultStyle?t.defaultStyle:eb,this.c=void 0===t.extractStyles||t.extractStyles,this.j=void 0===t.writeStyles||t.writeStyles,this.b={},this.f=void 0===t.showPointNames||t.showPointNames}function Vp(t,e){var o=[0,0],r="start";if(t.Y()){var i=t.Y().He();null===i&&(i=ab),2==i.length&&(r=t.Y().a,o[0]=r*i[0]/2,o[1]=-r*i[1]/2,r="left")}return null!==t.Ka()?(i=t.Ka(),(t=i.clone()).Jj(i.a||fb.a),t.lj(i.b||fb.b),t.yf(i.Fa()||fb.Fa()),t.Af(i.Ga()||db)):t=fb.clone(),t.Hd(e),t.Nj(o[0]),t.Oj(o[1]),t.Qj(r),new Ds({text:t})}function zp(t,e,o,r,i){return function(){var n=i,s="";if(n&&this.U()&&(n="Point"===this.U().S()),n&&(s=this.get("name"),n=n&&s),t)return n?(n=Vp(t[0],s),t.concat(n)):t;if(e){var a=Up(e,o,r);return n?(n=Vp(a[0],s),a.concat(n)):a}return n?(n=Vp(o[0],s),o.concat(n)):o}}function Up(t,e,o){return Array.isArray(t)?t:"string"==typeof t?(!(t in o)&&"#"+t in o&&(t="#"+t),Up(o[t],e,o)):e}function Gp(t){if(t=pu(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function qp(t){t=pu(t,!1);for(var e,o=[],r=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=r.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);if(""===t)return o}function $p(t){var e=pu(t,!1).trim();return(t=t.baseURI)&&"about:blank"!=t||(t=window.location.href),t?new URL(e,t).href:e}function Jp(t){return op(t)}function Xp(t,e){return Ou(null,kb,t,e)}function Kp(t,e){if(e=Ou({A:[],ak:[]},Pb,t,e)){t=e.A,e=e.ak;var o,r=0;for(o=Math.min(t.length,e.length);r<o;++r)t[4*r+3]=e[r];return(e=new Ns(null)).ba("XYZM",t),e}}function Zp(t,e){var o=Ou({},jb,t,e);if(t=Ou(null,Cb,t,e))return(e=new Ns(null)).ba("XYZ",t),e.H(o),e}function Qp(t,e){var o=Ou({},jb,t,e);if(t=Ou(null,Cb,t,e))return(e=new fr(null)).ba("XYZ",t,[t.length]),e.H(o),e}function tl(t,e){if(!(t=Ou([],Ab,t,e)))return null;if(0===t.length)return new kp(t);var o,r=!0,i=t[0].S(),n=1;for(o=t.length;n<o;++n)if((e=t[n]).S()!=i){r=!1;break}if(r)if("Point"==i){var s=t[0];for(r=s.ja,i=s.da(),n=1,o=t.length;n<o;++n)jt(i,(e=t[n]).da());(s=new Nu(null)).ba(r,i),il(s,t)}else"LineString"==i?(Au(s=new Fu(null),t),il(s,t)):"Polygon"==i?(Vu(s=new Hu(null),t),il(s,t)):"GeometryCollection"==i?s=new kp(t):c(!1,37);else s=new kp(t);return s}function el(t,e){var o=Ou({},jb,t,e);if(t=Ou(null,Cb,t,e))return(e=new or(null)).ba("XYZ",t),e.H(o),e}function ol(t,e){var o=Ou({},jb,t,e);if((t=Ou([null],Db,t,e))&&t[0]){e=new fr(null);var r,i=t[0],n=[i.length],s=1;for(r=t.length;s<r;++s)jt(i,t[s]),n.push(i.length);return e.ba("XYZ",i,n),e.H(o),e}}function rl(t,e){if(!(e=Ou({},qb,t,e)))return null;t="fillStyle"in e?e.fillStyle:rb;var o=e.fill;void 0===o||o||(t=null),(o="imageStyle"in e?e.imageStyle:pb)==lb&&(o=void 0);var r="textStyle"in e?e.textStyle:fb,i="strokeStyle"in e?e.strokeStyle:hb;return void 0===(e=e.outline)||e||(i=null),[new Ds({fill:t,image:o,stroke:i,text:r,zIndex:void 0})]}function il(t,e){var o,r,i,n=e.length,s=Array(e.length),a=Array(e.length),c=Array(e.length),u=r=i=!1;for(o=0;o<n;++o){var p=e[o];s[o]=p.get("extrude"),a[o]=p.get("tessellate"),c[o]=p.get("altitudeMode"),u=u||void 0!==s[o],r=r||void 0!==a[o],i=i||c[o]}u&&t.set("extrude",s),r&&t.set("tessellate",a),i&&t.set("altitudeMode",c)}function nl(t,e){Lu(xb,t,e)}function sl(t,e){Lu(Lb,t,e)}function al(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE){var o=cl(t,e);if(o)return o}}function cl(t,e){var o;for(o=e.firstElementChild;o;o=o.nextElementSibling)if(Ot(wb,o.namespaceURI)&&"name"==o.localName)return sp(o);for(o=e.firstElementChild;o;o=o.nextElementSibling)if(e=o.localName,Ot(wb,o.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=cl(t,o)))return e}function ul(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&jt(o,pl(t,e));return o}function pl(t,e){var o,r=[];for(o=e.firstElementChild;o;o=o.nextElementSibling)if(Ot(wb,o.namespaceURI)&&"NetworkLink"==o.localName){var i=Ou({},Hb,o,[]);r.push(i)}for(o=e.firstElementChild;o;o=o.nextElementSibling)e=o.localName,!Ot(wb,o.namespaceURI)||"Document"!=e&&"Folder"!=e&&"kml"!=e||jt(r,pl(t,o));return r}function ll(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&jt(o,t.vf(e));return o}function hl(t,e){var o;for(e=[255*(4==(e=en(e)).length?e[3]:1),e[2],e[1],e[0]],o=0;4>o;++o){var r=parseInt(e[o],10).toString(16);e[o]=1==r.length?"0"+r:r}pp(t,e.join(""))}function dl(t,e,o){t={node:t};var r=e.S();if("GeometryCollection"==r)var i=e.vd(),n=wl;else"MultiPoint"==r?(i=e.de(),n=M_):"MultiLineString"==r?(i=e.wd(),n=S_):"MultiPolygon"==r?(i=e.Vd(),n=L_):c(!1,39);ju(t,u_,n,i,o)}function fl(t,e,o){ju({node:t},c_,x_,[e],o)}function yl(t,e,o){var r={node:t};e.c&&t.setAttribute("id",e.c),t=e.L();var i={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};i[e.a]=1;var n=Object.keys(t||{}).sort().filter((function(t){return!i[t]}));if(0<n.length){var s=Su(t,n);ju(r,l_,__,[{names:n,values:s}],o)}(n=e.ib())&&(n=n.call(e,0))&&(n=Array.isArray(n)?n[0]:n,this.j&&(t.Style=n),(n=n.Ka())&&(t.name=n.Ka())),t=Su(t,n=p_[o[o.length-1].node.namespaceURI]),ju(r,l_,hv,t,o,n),t=o[0],(e=e.U())&&(e=Ru(e,!0,t)),ju(r,l_,wl,[e],o)}function ml(t,e,o){var r=e.da();(t={node:t}).layout=e.ja,t.stride=e.pa(),(e=e.L()).coordinates=r,e=Su(e,r=h_[o[o.length-1].node.namespaceURI]),ju(t,d_,hv,e,o,r)}function gl(t,e,o){var r=(e=e.Ud()).shift();ju(t={node:t},f_,w_,e,o),ju(t,f_,O_,[r],o)}function vl(t,e){cp(t,Math.round(1e6*e)/1e6)}function bl(t,e,o){return uu(_b[0],"gx:"+o)}function _l(t,e){return uu(e[e.length-1].node.namespaceURI,"Placemark")}function wl(t,e){if(t)return uu(e[e.length-1].node.namespaceURI,Qb[t.S()])}function Ml(t,e,o,r,i){this.l=i,this.f=t,this.b=e,this.a=this.c=null,this.g=o,this.j=r,this.s=[1,0,0,1,0,0]}function Sl(t){Pu.call(this),t=t||{},this.defaultDataProjection=new rt({code:"EPSG:3857",units:"tile-pixels"}),this.b=t.featureClass?t.featureClass:Ml,this.g=t.geometryName,this.f=t.layerName?t.layerName:"layer",this.c=t.layers?t.layers:null,this.a=null}function xl(t,e,o){3===t&&(t={keys:[],values:[],features:[]},o.Og(Ll,t,o.Ua()+o.ga),t.length=t.features.length,t.length&&(e[t.name]=t))}function Ll(t,e,o){if(15===t)e.version=o.Ua();else if(1===t)e.name=o.Vg();else if(5===t)e.extent=o.Ua();else if(2===t)e.features.push(o.ga);else if(3===t)e.keys.push(o.Vg());else if(4===t){t=null;for(var r=o.Ua()+o.ga;o.ga<r;)t=1==(t=o.Ua()>>3)?o.Vg():2===t?o.Zp():3===t?o.Vp():4===t?o.lq():5===t?o.Ua():6===t?o.Ug():7===t?o.Tp():null;e.values.push(t)}}function Ol(t,e,o){if(1==t)e.id=o.Ua();else if(2==t)for(t=o.Ua()+o.ga;o.ga<t;){var r=e.layer.keys[o.Ua()],i=e.layer.values[o.Ua()];e.properties[r]=i}else 3==t?e.type=o.Ua():4==t&&(e.geometry=o.ga)}function Tl(t,e,o){var r=o.type;if(0===r)return null;var i=o.id,n=o.properties;n[t.f]=o.layer.name;var s,a=[],u=[],p=u;e.ga=o.geometry,o=e.Ua()+e.ga;for(var l=1,h=0,d=0,f=0,y=0,m=0;e.ga<o;)h||(l=7&(h=e.Ua()),h>>=3),h--,1===l||2===l?(d+=e.Ug(),f+=e.Ug(),1===l&&y>m&&(p.push(y),m=y),a.push(d,f),y+=2):7===l?y>m&&(a.push(a[m],a[m+1]),y+=2):c(!1,59);if(y>m&&p.push(y),e=u.length,1===r?s=1===e?"Point":"MultiPoint":2===r?s=1===e?"LineString":"MultiLineString":3===r&&(s="Polygon"),r=s,t.b===Ml)a=new t.b(r,a,u,n,i);else{if("Polygon"==r){for(r=[],p=e=s=0,o=u.length;p<o;++p)pr(a,s,l=u[p],2)||(r.push(u.slice(e,p)),e=p),s=l;1<r.length?(u=r,r=new Hu(null)):r=new fr(null)}else r="Point"===r?new or(null):"LineString"===r?new Ns(null):"Polygon"===r?new fr(null):"MultiPoint"===r?new Nu(null):"MultiLineString"===r?new Fu(null):null;r.ba("XY",a,u),a=new t.b,t.g&&a.Lc(t.g),t=Ru(r,!1,Yu(t,void 0)),a.Va(t),a.qc(i),a.H(n)}return a}function jl(){Ju.call(this),this.defaultDataProjection=mt("EPSG:4326")}function kl(t,e){e[e.length-1].le[t.getAttribute("k")]=t.getAttribute("v")}function Dl(t,e,o,r){var i;i=void 0!==r?r:[];for(var n=r=0;n<e;){var s=t[n++];for(i[r++]=t[n++],i[r++]=s,s=2;s<o;++s)i[r++]=t[n++]}i.length=r}function Pl(t){t=t||{},Pu.call(this),this.defaultDataProjection=mt("EPSG:4326"),this.b=t.factor?t.factor:1e5,this.a=t.geometryLayout?t.geometryLayout:"XY"}function Cl(t,e,o){var r,i=Array(e);for(r=0;r<e;++r)i[r]=0;var n,s=0;for(n=t.length;s<n;)for(r=0;r<e;++r,++s){var a=t[s],c=a-i[r];i[r]=a,t[s]=c}return Rl(t,o||1e5)}function Yl(t,e,o){var r,i,n=Array(e);for(r=0;r<e;++r)n[r]=0;for(t=El(t,o||1e5),o=0,i=t.length;o<i;)for(r=0;r<e;++r,++o)n[r]+=t[o],t[o]=n[r];return t}function Rl(t,e){e=e||1e5;var o,r=0;for(o=t.length;r<o;++r)t[r]=Math.round(t[r]*e);for(e=0,r=t.length;e<r;++e)o=t[e],t[e]=0>o?~(o<<1):o<<1;for(e="",r=0,o=t.length;r<o;++r){for(var i,n=t[r],s="";32<=n;)i=63+(32|31&n),s+=String.fromCharCode(i),n>>=5;e+=s+=String.fromCharCode(n+63)}return e}function El(t,e){e=e||1e5;var o,r=[],i=0,n=0,s=0;for(o=t.length;s<o;++s){var a=t.charCodeAt(s)-63;i|=(31&a)<<n,32>a?(r.push(i),n=i=0):n+=5}for(t=0,i=r.length;t<i;++t)n=r[t],r[t]=1&n?~(n>>1):n>>1;for(t=0,i=r.length;t<i;++t)r[t]/=e;return r}function Il(t){t=t||{},Pu.call(this),this.a=t.layerName,this.b=t.layers?t.layers:null,this.defaultDataProjection=mt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326")}function Fl(t,e){var o,r,i=[],n=0;for(r=t.length;n<r;++n){var s=t[n];0<n&&i.pop(),o=0<=s?e[s]:e[~s].slice().reverse(),i.push.apply(i,o)}for(t=0,e=i.length;t<e;++t)i[t]=i[t].slice();return i}function Al(t,e,o,r,i,n,s){var a,c=[],u=0;for(a=(t=t.geometries).length;u<a;++u)c[u]=Nl(t[u],e,o,r,i,n,s);return c}function Nl(t,e,o,r,i,n,s){var a=t.type,c=P_[a];return o="Point"===a||"MultiPoint"===a?c(t,o,r):c(t,e),(e=new Es).Va(Ru(o,!1,s)),void 0!==t.id&&e.qc(t.id),t=t.properties,i&&(t||(t={}),t[i]=n),t&&e.H(t),e}function Hl(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}function Wl(t){this.rc=t}function Bl(t,e){this.rc=t,this.b=Array.prototype.slice.call(arguments,1),c(2<=this.b.length,57)}function Vl(t){Bl.apply(this,["And"].concat(Array.prototype.slice.call(arguments)))}function zl(t,e,o){this.rc="BBOX",this.geometryName=t,this.extent=e,this.srsName=o}function Ul(t,e,o,r){this.rc=t,this.geometryName=e||"the_geom",this.geometry=o,this.srsName=r}function Gl(t,e,o){Ul.call(this,"Contains",t,e,o)}function ql(t,e){this.rc=t,this.b=e}function $l(t,e,o){ql.call(this,"During",t),this.a=e,this.g=o}function Jl(t,e,o,r){ql.call(this,t,e),this.g=o,this.a=r}function Xl(t,e,o){Jl.call(this,"PropertyIsEqualTo",t,e,o)}function Kl(t,e){Jl.call(this,"PropertyIsGreaterThan",t,e)}function Zl(t,e){Jl.call(this,"PropertyIsGreaterThanOrEqualTo",t,e)}function Ql(t,e,o){Ul.call(this,"Intersects",t,e,o)}function th(t,e,o){ql.call(this,"PropertyIsBetween",t),this.a=e,this.g=o}function eh(t,e,o,r,i,n){ql.call(this,"PropertyIsLike",t),this.c=e,this.f=void 0!==o?o:"*",this.i=void 0!==r?r:".",this.g=void 0!==i?i:"!",this.a=n}function oh(t){ql.call(this,"PropertyIsNull",t)}function rh(t,e){Jl.call(this,"PropertyIsLessThan",t,e)}function ih(t,e){Jl.call(this,"PropertyIsLessThanOrEqualTo",t,e)}function nh(t){this.rc="Not",this.condition=t}function sh(t,e,o){Jl.call(this,"PropertyIsNotEqualTo",t,e,o)}function ah(t){Bl.apply(this,["Or"].concat(Array.prototype.slice.call(arguments)))}function ch(t,e,o){Ul.call(this,"Within",t,e,o)}function uh(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(Vl,e))}function ph(t,e,o){return new zl(t,e,o)}function lh(t){t=t||{},this.c=t.featureType,this.a=t.featureNS,this.b=t.gmlFormat?t.gmlFormat:new lp,this.l=t.schemaLocation?t.schemaLocation:C_["1.1.0"],Ju.call(this)}function hh(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE)return dh(t,e)}function dh(t,e){var o={};return o.numberOfFeatures=np(e.getAttribute("numberOfFeatures")),Ou(o,Y_,e,[],t.b)}function fh(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return Ou({},F_,t,[])}function yh(t,e){var o=uu("http://www.opengis.net/ogc","Filter"),r=uu("http://www.opengis.net/ogc","FeatureId");o.appendChild(r),r.setAttribute("fid",e),t.appendChild(o)}function mh(t,e){return t=(t||"feature")+":",0===e.indexOf(t)?e:t+e}function gh(t,e,o){t={node:t};for(var r=0,i=(e=e.b).length;r<i;++r){var n=e[r];ju(t,H_,Mu(n.rc),[n],o)}}function vh(t,e){void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),_h(t,e.b),wh(t,""+e.g)}function bh(t,e,o){pp(t=uu("http://www.opengis.net/ogc",t),o),e.appendChild(t)}function _h(t,e){bh("PropertyName",t,e)}function wh(t,e){bh("Literal",t,e)}function Mh(t,e){var o=uu("http://www.opengis.net/gml","TimeInstant");t.appendChild(o),t=uu("http://www.opengis.net/gml","timePosition"),o.appendChild(t),pp(t,e)}function Sh(t){t=t||{},Pu.call(this),this.b=void 0!==t.splitCollection&&t.splitCollection}function xh(t){return 0===(t=t.W()).length?"":t.join(" ")}function Lh(t){for(var e=[],o=0,r=(t=t.W()).length;o<r;++o)e.push(t[o].join(" "));return e.join(",")}function Oh(t){for(var e=[],o=0,r=(t=t.Ud()).length;o<r;++o)e.push("("+Lh(t[o])+")");return e.join(",")}function Th(t){var e=t.S(),o=(0,W_[e])(t);if(e=e.toUpperCase(),t instanceof Eo){var r="";"XYZ"!==(t=t.ja)&&"XYZM"!==t||(r+="Z"),"XYM"!==t&&"XYZM"!==t||(r+="M"),0<(t=r).length&&(e+=" "+t)}return 0===o.length?e+" EMPTY":e+"("+o+")"}function jh(t){this.a=t,this.b=-1}function kh(t){var e=t.a.charAt(++t.b),o={position:t.b,value:e};if("("==e)o.type=2;else if(","==e)o.type=5;else if(")"==e)o.type=3;else if("0"<=e&&"9">=e||"."==e||"-"==e){o.type=4,e=t.b;var r=!1,i=!1;do{"."==n?r=!0:"e"!=n&&"E"!=n||(i=!0);var n=t.a.charAt(++t.b)}while("0"<=n&&"9">=n||"."==n&&(void 0===r||!r)||!i&&("e"==n||"E"==n)||i&&("-"==n||"+"==n));t=parseFloat(t.a.substring(e,t.b--)),o.value=t}else if("a"<=e&&"z">=e||"A"<=e&&"Z">=e){o.type=1,e=t.b;do{n=t.a.charAt(++t.b)}while("a"<=n&&"z">=n||"A"<=n&&"Z">=n);t=t.a.substring(e,t.b--).toUpperCase(),o.value=t}else{if(" "==e||"\t"==e||"\r"==e||"\n"==e)return kh(t);if(""!==e)throw Error("Unexpected character: "+e);o.type=6}return o}function Dh(t){this.g=t,this.a="XY"}function Ph(t){t.b=kh(t.g)}function Ch(t,e){return(e=t.b.type==e)&&Ph(t),e}function Yh(t){var e=t.b;if(Ch(t,1)){e=e.value;var o="XY",r=t.b;if(1==t.b.type&&("Z"===(r=r.value)?o="XYZ":"M"===r?o="XYM":"ZM"===r&&(o="XYZM"),"XY"!==o&&Ph(t)),t.a=o,"GEOMETRYCOLLECTION"==e){t:{if(Ch(t,2)){e=[];do{e.push(Yh(t))}while(Ch(t,5));if(Ch(t,3)){t=e;break t}}else if(Fh(t)){t=[];break t}throw Error(Ah(t))}return new kp(t)}if(r=V_[e],o=B_[e],!r||!o)throw Error("Invalid geometry type: "+e);return new o(e=r.call(t),t.a)}throw Error(Ah(t))}function Rh(t){for(var e=[],o=t.a.length,r=0;r<o;++r){var i=t.b;if(!Ch(t,4))break;e.push(i.value)}if(e.length==o)return e;throw Error(Ah(t))}function Eh(t){for(var e=[Rh(t)];Ch(t,5);)e.push(Rh(t));return e}function Ih(t){for(var e=[t.Gg()];Ch(t,5);)e.push(t.Gg());return e}function Fh(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&Ph(t),e}function Ah(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.g.a+"`"}function Nh(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Hh(){}function Wh(){this.version=void 0}function Bh(t,e){return Ou({},sw,t,e)}function Vh(t,e){return Ou({},ow,t,e)}function zh(t,e){if(e=Bh(t,e))return t=[np(t.getAttribute("width")),np(t.getAttribute("height"))],e.size=t,e}function Uh(t,e){return Ou([],aw,t,e)}function Gh(t){t=t||{},this.a="http://mapserver.gis.umn.edu/mapserver",this.b=new dp,this.c=t.layers?t.layers:null,Ju.call(this)}function qh(){}function $h(){this.g=new qh}function Jh(t){var e=sp(t).split(" ");if(e&&2==e.length&&(t=+e[0],e=+e[1],!isNaN(t)&&!isNaN(e)))return[t,e]}function Xh(t,e,o){Eo.call(this),this.hh(t,e||0,o)}function Kh(t){var e=t.A[t.a]-t.A[0];return e*e+(t=t.A[t.a+1]-t.A[1])*t}function Zh(t){t=t||{},$r.call(this,{handleEvent:_o}),this.j=t.formatConstructors?t.formatConstructors:[],this.s=t.projection?mt(t.projection):null,this.a=null,this.f=t.source||null,this.target=t.target?t.target:null}function Qh(t){var e,o=0;for(e=(t=t.dataTransfer.files).length;o<e;++o){var r=t.item(o),i=new FileReader;i.addEventListener("load",this.l.bind(this,r)),i.readAsText(r)}}function td(t){t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}function ed(t){var e=t.v;e&&(e=t.target?t.target:e.a,t.a=[Xt(e,"drop",Qh,t),Xt(e,"dragenter",td,t),Xt(e,"dragover",td,t),Xt(e,"drop",td,t)])}function od(t){t.a&&(t.a.forEach(Qt),t.a=null)}function rd(t,e,o,r){re.call(this,t),this.features=o,this.file=e,this.projection=r}function id(t){t=t||{},pi.call(this,{handleDownEvent:ad,handleDragEvent:nd,handleUpEvent:sd}),this.s=t.condition?t.condition:si,this.a=this.f=void 0,this.j=0,this.o=void 0!==t.duration?t.duration:400}function nd(t){if(ci(t)){var e=t.map,o=e.Cb(),r=t.pixel;t=r[0]-o[0]/2,r=o[1]/2-r[1],o=Math.atan2(r,t),t=Math.sqrt(t*t+r*r),(e=e.aa()).l.rotation!==to&&void 0!==this.f&&(r=o-this.f,Jr(e,e.Sa()-r)),this.f=o,void 0!==this.a&&(o=this.a*(e.Pa()/t),Kr(e,o)),void 0!==this.a&&(this.j=this.a/t),this.a=t}}function sd(t){if(!ci(t))return!0;Or(t=t.map.aa(),1,-1);var e=this.j-1,o=t.Sa();o=t.constrainRotation(o,0),Jr(t,o,void 0,void 0),o=t.Pa();var r=this.o;return o=t.constrainResolution(o,0,e),Kr(t,o,void 0,r),this.j=0,!1}function ad(t){return!(!ci(t)||!this.s(t)||(Or(t.map.aa(),1,1),this.a=this.f=void 0,0))}function cd(t){var e=Zy({},t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,Fr.call(this,e),this.D=void 0!==t.declutter&&t.declutter,this.f=void 0!==t.renderBuffer?t.renderBuffer:100,this.C=null,this.V=void 0,this.j(t.style),this.ca=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.ra=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting,this.l=t.renderMode||"vector",this.type="VECTOR"}function ud(){return[[-1/0,-1/0,1/0,1/0]]}function pd(t){ce.call(this),this.c=mt(t.projection),this.v=null,this.C=ld(this,t.attributions),this.T=t.logo,this.ra=void 0!==t.state?t.state:"ready",this.D=void 0!==t.wrapX&&t.wrapX}function ld(t,e){if(!e)return null;if(e instanceof Ut)return t.v=[e],function(){return[e.og]};if(Array.isArray(e)){if(e[0]instanceof Ut){t.v=e;var o=e.map((function(t){return t.og}));return function(){return o}}return t.v=e.map((function(t){return new Ut({html:t})})),function(){return e}}return"function"==typeof e?e:(t.v=[new Ut({html:e})],function(){return[e]})}function hd(t,e){t.ra=e,t.u()}function dd(t){t=t||{},pd.call(this,{attributions:t.attributions,logo:t.logo,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.o=o,this.O=t.format,this.$=null==t.overlaps||t.overlaps,this.V=t.url,void 0!==t.loader?this.o=t.loader:void 0!==this.V&&(c(this.O,7),this.o=Du(this.V,this.O)),this.ca=void 0!==t.strategy?t.strategy:ud;var e=void 0===t.useSpatialIndex||t.useSpatialIndex;if(this.a=e?new Va:null,this.B=new Va,this.f={},this.j={},this.l={},this.s={},this.i=null,t.features instanceof he)var r=t.features,i=r.a;else Array.isArray(t.features)&&(i=t.features);e||void 0!==r||(r=new he(i)),void 0!==i&&md(this,i),void 0!==r&&function(t,e){var o=!1;Xt(t,"addfeature",(function(t){o||(o=!0,e.push(t.feature),o=!1)})),Xt(t,"removefeature",(function(t){o||(o=!0,e.remove(t.feature),o=!1)})),Xt(e,"add",(function(t){o||(o=!0,this.Gb(t.element),o=!1)}),t),Xt(e,"remove",(function(t){o||(o=!0,this.Lb(t.element),o=!1)}),t),t.i=e}(this,r)}function fd(t,e,o){t.s[e]=[Xt(o,"change",t.gj,t),Xt(o,"propertychange",t.gj,t)]}function yd(t,e,o){var r=!0,i=o.c;return void 0!==i?i.toString()in t.j?r=!1:t.j[i.toString()]=o:(c(!(e in t.l),30),t.l[e]=o),r}function md(t,e){var o,i=[],n=[],s=[],a=0;for(o=e.length;a<o;a++){var c=e[a],u=r(c).toString();yd(t,u,c)&&n.push(c)}for(a=0,o=n.length;a<o;a++)fd(t,u=r(c=n[a]).toString(),c),(e=c.U())?(u=e.G(),i.push(u),s.push(c)):t.f[u]=c;for(t.a&&t.a.load(i,s),a=0,o=n.length;a<o;a++)t.b(new vd("addfeature",n[a]))}function gd(t,e){for(var o in t.j)if(t.j[o]===e){delete t.j[o];break}}function vd(t,e){re.call(this,t),this.feature=e}function bd(t){pi.call(this,{handleDownEvent:Md,handleEvent:wd,handleUpEvent:Sd}),this.V=!1,this.ca=null,this.o=!1,this.ob=t.source?t.source:null,this.La=t.features?t.features:null,this.Xk=t.snapTolerance?t.snapTolerance:12,this.O=t.type,this.f=function(t){var e;return"Point"===t||"MultiPoint"===t?e=Aw:"LineString"===t||"MultiLineString"===t?e=Nw:"Polygon"===t||"MultiPolygon"===t?e=Hw:"Circle"===t&&(e=Ww),e}(this.O),this.$k=!!t.stopClick,this.Ea=t.minPoints?t.minPoints:this.f===Hw?3:2,this.ua=t.maxPoints?t.maxPoints:1/0,this.Md=t.finishCondition?t.finishCondition:_o;var e=t.geometryFunction;if(!e)if("Circle"===this.O)e=function(t,e){return(e=e||new Xh([NaN,NaN])).hh(t[0],Math.sqrt(lo(t[0],t[1]))),e};else{var o,r=this.f;r===Aw?o=or:r===Nw?o=Ns:r===Hw&&(o=fr),e=function(t,e){return e?e.na(r===Hw?t[0].length?[t[0].concat([t[0][0]])]:[]:t):e=new o(t),e}}this.cb=e,this.T=this.C=this.a=this.B=this.j=this.s=null,this.sc=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.ra=new cd({source:new dd({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:_d()}),this.bb=t.geometryName,this.Wk=t.condition?t.condition:ni,this.If=t.freehand?_o:t.freehandCondition?t.freehandCondition:si,Xt(this,ue("active"),this.Ki,this)}function _d(){var t=Ys();return function(e){return t[e.U().S()]}}function wd(t){this.o=this.f!==Aw&&this.If(t);var e=!0;return this.o&&"pointerdrag"===t.type&&null!==this.j?(Td(this,t),e=!1):this.o&&"pointerdown"===t.type?e=!1:"pointermove"===t.type?e=xd(this,t):"dblclick"===t.type&&(e=!1),hi.call(this,t)&&e}function Md(t){return this.V=!this.o,this.o?(this.ca=t.pixel,this.s||Od(this,t),!0):!!this.Wk(t)&&(this.ca=t.pixel,!0)}function Sd(t){var e=!0;xd(this,t);var o=this.f===Ww;return this.V?(this.s?this.o||o?this.Pd():Ld(this,t)?this.Md(t)&&this.Pd():Td(this,t):(Od(this,t),this.f===Aw&&this.Pd()),e=!1):this.o&&(this.s=null,jd(this)),!e&&this.$k&&t.stopPropagation(),e}function xd(t,e){if(t.ca&&(!t.o&&t.V||t.o&&!t.V)){var o=t.ca,r=e.pixel,i=o[0]-r[0];i=i*i+(o=o[1]-r[1])*o,t.V=t.o?i>t.sc:i<=t.sc}return t.s?(i=e.coordinate,o=t.j.U(),t.f===Aw?r=t.a:t.f===Hw?(r=(r=t.a[0])[r.length-1],Ld(t,e)&&(i=t.s.slice())):r=(r=t.a)[r.length-1],r[0]=i[0],r[1]=i[1],t.cb(t.a,o),t.B&&t.B.U().na(i),o instanceof fr&&t.f!==Hw?(t.C||(t.C=new Es(new Ns(null))),i=o.Wh(0),(e=t.C.U()).ba(i.ja,i.da())):t.T&&(e=t.C.U()).na(t.T),kd(t)):(e=e.coordinate.slice(),t.B?t.B.U().na(e):(t.B=new Es(new or(e)),kd(t))),!0}function Ld(t,e){var o=!1;if(t.j){var r=!1,i=[t.s];if(t.f===Nw?r=t.a.length>t.Ea:t.f===Hw&&(r=t.a[0].length>t.Ea,i=[t.a[0][0],t.a[0][t.a[0].length-2]]),r){r=e.map;for(var n=0,s=i.length;n<s;n++){var a=i[n],c=r.Ia(a),u=e.pixel;if(o=u[0]-c[0],c=u[1]-c[1],o=Math.sqrt(o*o+c*c)<=(t.o?1:t.Xk)){t.s=a;break}}}}return o}function Od(t,e){e=e.coordinate,t.s=e,t.f===Aw?t.a=e.slice():t.f===Hw?(t.a=[[e.slice(),e.slice()]],t.T=t.a[0]):(t.a=[e.slice(),e.slice()],t.f===Ww&&(t.T=t.a)),t.T&&(t.C=new Es(new Ns(t.T))),e=t.cb(t.a),t.j=new Es,t.bb&&t.j.Lc(t.bb),t.j.Va(e),kd(t),t.b(new Dd("drawstart",t.j))}function Td(t,e){e=e.coordinate;var o,r=t.j.U();if(t.f===Nw){t.s=e.slice();var i=t.a;i.length>=t.ua&&(t.o?i.pop():o=!0),i.push(e.slice()),t.cb(i,r)}else t.f===Hw&&((i=t.a[0]).length>=t.ua&&(t.o?i.pop():o=!0),i.push(e.slice()),o&&(t.s=i[0]),t.cb(t.a,r));kd(t),o&&t.Pd()}function jd(t){t.s=null;var e=t.j;return e&&(t.j=null,t.B=null,t.C=null,t.ra.ha().clear(!0)),e}function kd(t){var e=[];t.j&&e.push(t.j),t.C&&e.push(t.C),t.B&&e.push(t.B),(t=t.ra.ha()).clear(!0),t.Qc(e)}function Dd(t,e){re.call(this,t),this.feature=e}function Pd(t){var e=t||{};this.a=this.j=null,this.C=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.B=!1,this.T=this.s=null,t||(t={}),pi.call(this,{handleDownEvent:Yd,handleDragEvent:Rd,handleEvent:Cd,handleUpEvent:Ed}),this.o=new cd({source:new dd({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle?t.boxStyle:Id(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.O=new cd({source:new dd({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle?t.pointerStyle:Fd(),updateWhileAnimating:!0,updateWhileInteracting:!0}),t.extent&&this.f(t.extent)}function Cd(t){if(!(t instanceof be))return!0;if("pointermove"==t.type&&!this.D){var e=t.pixel,o=t.map,r=Hd(this,e,o);r||(r=o.Ra(e)),Wd(this,r)}return hi.call(this,t),!1}function Yd(t){function e(t){var e=null,o=null;return t[0]==i[0]?e=i[2]:t[0]==i[2]&&(e=i[0]),t[1]==i[1]?o=i[3]:t[1]==i[3]&&(o=i[1]),null!==e&&null!==o?[e,o]:null}var o=t.pixel,r=t.map,i=this.G();return(t=Hd(this,o,r))&&i?(o=t[0]==i[0]||t[0]==i[2]?t[0]:null,r=t[1]==i[1]||t[1]==i[3]?t[1]:null,null!==o&&null!==r?this.a=Ad(e(t)):null!==o?this.a=Nd(e([o,i[1]]),e([o,i[3]])):null!==r&&(this.a=Nd(e([i[0],r]),e([i[2],r])))):(t=r.Ra(o),this.f([t[0],t[1],t[0],t[1]]),this.a=Ad(t)),!0}function Rd(t){return this.a&&(t=t.coordinate,this.f(this.a(t)),Wd(this,t)),!0}function Ed(){this.a=null;var t=this.G();return t&&0!==I(t)||this.f(null),!1}function Id(){var t=Ys();return function(){return t.Polygon}}function Fd(){var t=Ys();return function(){return t.Point}}function Ad(t){return function(e){return v([t,e])}}function Nd(t,e){return t[0]==e[0]?function(o){return v([t,[o[0],e[1]]])}:t[1]==e[1]?function(o){return v([t,[e[0],o[1]]])}:null}function Hd(t,e,o){var r=o.Ra(e),i=t.G();if(i){(i=[[[i[0],i[1]],[i[0],i[3]]],[[i[0],i[3]],[i[2],i[3]]],[[i[2],i[3]],[i[2],i[1]]],[[i[2],i[1]],[i[0],i[1]]]]).sort((function(t,e){return fo(r,t)-fo(r,e)})),i=i[0];var n=no(r,i),s=o.Ia(n);if(ho(e,s)<=t.C)return e=o.Ia(i[0]),o=o.Ia(i[1]),e=lo(s,e),o=lo(s,o),t.B=Math.sqrt(Math.min(e,o))<=t.C,t.B&&(n=e>o?i[1]:i[0]),n}return null}function Wd(t,e){var o=t.T;o?o.U().na(e):(o=new Es(new or(e)),t.T=o,t.O.ha().Gb(o))}function Bd(t){re.call(this,"extentchanged"),this.extent=t}function Vd(t){if(pi.call(this,{handleDownEvent:$d,handleDragEvent:Jd,handleEvent:Kd,handleUpEvent:Xd}),this.Md=t.condition?t.condition:ui,this.bb=function(t){return ti(t)&&ii(t)},this.ob=t.deleteCondition?t.deleteCondition:this.bb,this.sc=t.insertVertexCondition?t.insertVertexCondition:_o,this.La=this.f=null,this.Ea=[0,0],this.C=this.T=!1,this.a=new Va,this.ra=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.s=this.ua=!1,this.j=[],this.B=new cd({source:new dd({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:of(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.ca={Point:this.io,LineString:this.Mi,LinearRing:this.Mi,Polygon:this.jo,MultiPoint:this.fo,MultiLineString:this.eo,MultiPolygon:this.ho,Circle:this.bo,GeometryCollection:this.co},this.V=null,t.source?(this.V=t.source,t=new he(this.V.ee()),Xt(this.V,"addfeature",this.vm,this),Xt(this.V,"removefeature",this.xm,this)):t=t.features,!t)throw Error("The modify interaction requires features or a source");this.o=t,this.o.forEach(this.xg,this),Xt(this.o,"add",this.$n,this),Xt(this.o,"remove",this.ao,this),this.O=null}function zd(t,e){t.C||(t.C=!0,t.b(new rf("modifystart",t.o,e)))}function Ud(t,e){!function(t,e){t=t.a;var o=[];t.forEach((function(t){e===t.feature&&o.push(t)}));for(var r=o.length-1;0<=r;--r)t.remove(o[r])}(t,e),t.f&&0===t.o.kc()&&(t.B.ha().Lb(t.f),t.f=null),Zt(e,"change",t.Li,t)}function Gd(t,e){var o=t.f;o?o.U().na(e):(o=new Es(new or(e)),t.f=o,t.B.ha().Gb(o))}function qd(t,e){return t.index-e.index}function $d(t){if(!this.Md(t))return!1;Zd(this,t.pixel,t.map);var e=t.map.Ra(t.pixel);this.j.length=0,this.C=!1;var o=this.f;if(o){var i=[],n=v([o=o.U().W()]),s={};(n=Ga(this.a,n)).sort(qd);for(var a=0,c=n.length;a<c;++a){var u=n[a],p=u.ma,l=r(u.feature),h=u.depth;h&&(l+="-"+h.join("-")),s[l]||(s[l]=Array(2)),"Circle"===u.geometry.S()&&1===u.index?co(p=tf(e,u),o)&&!s[l][0]&&(this.j.push([u,0]),s[l][0]=u):co(p[0],o)&&!s[l][0]?(this.j.push([u,0]),s[l][0]=u):co(p[1],o)&&!s[l][1]?("LineString"!==u.geometry.S()&&"MultiLineString"!==u.geometry.S()||!s[l][0]||0!==s[l][0].index)&&(this.j.push([u,1]),s[l][1]=u):this.sc(t)&&r(p)in this.La&&!s[l][0]&&!s[l][1]&&i.push([u,o])}for(i.length&&zd(this,t),t=i.length-1;0<=t;--t)this.Em.apply(this,i[t])}return!!this.f}function Jd(t){this.T=!1,zd(this,t),t=t.coordinate;for(var e=0,o=this.j.length;e<o;++e){var r=this.j[e],i=r[0],n=i.depth,s=i.geometry,a=i.ma;for(r=r[1];t.length<s.pa();)t.push(a[r][t.length]);switch(s.S()){case"Point":var c=t;a[0]=a[1]=t;break;case"MultiPoint":(c=s.W())[i.index]=t,a[0]=a[1]=t;break;case"LineString":(c=s.W())[i.index+r]=t,a[r]=t;break;case"MultiLineString":case"Polygon":(c=s.W())[n[0]][i.index+r]=t,a[r]=t;break;case"MultiPolygon":(c=s.W())[n[1]][n[0]][i.index+r]=t,a[r]=t;break;case"Circle":a[0]=a[1]=t,0===i.index?(this.s=!0,s.ub(t)):(this.s=!0,s.fd(ho(s.xa(),t))),this.s=!1}c&&(i=s,n=c,this.s=!0,i.na(n),this.s=!1)}Gd(this,t)}function Xd(t){for(var e,o,r=this.j.length-1;0<=r;--r)if("Circle"===(o=(e=this.j[r][0]).geometry).S()){var i=o.xa(),n=e.Tf[0];e=e.Tf[1],n.ma[0]=n.ma[1]=i,e.ma[0]=e.ma[1]=i,za(this.a,k(i),n),za(this.a,o.G(),e)}else za(this.a,v(e.ma),e);return this.C&&(this.b(new rf("modifyend",this.o,t)),this.C=!1),!1}function Kd(t){return!(t instanceof be)||(this.O=t,t.map.aa().Vh()||"pointermove"!=t.type||this.D||(this.Ea=t.pixel,Zd(this,t.pixel,t.map)),this.f&&this.ob(t)&&(e=!("singleclick"!=t.type||!this.T)||this.Dj()),"singleclick"==t.type&&(this.T=!1),hi.call(this,t)&&!e);var e}function Zd(t,e,o){var i=o.Ra(e),n=b(k(i),o.aa().Pa()*t.ra);if(0<(n=Ga(t.a,n)).length){n.sort((function(t,e){return Qd(i,t)-Qd(i,e)}));var s=n[0],a=s.ma,c=tf(i,s),u=o.Ia(c),p=ho(e,u);if(p<=t.ra){if(e={},"Circle"===s.geometry.S()&&1===s.index)t.ua=!0,Gd(t,c);else for(p=o.Ia(a[0]),s=o.Ia(a[1]),o=lo(u,p),u=lo(u,s),p=Math.sqrt(Math.min(o,u)),t.ua=p<=t.ra,t.ua&&(c=o>u?a[1]:a[0]),Gd(t,c),u=1,o=n.length;u<o&&(c=n[u].ma,co(a[0],c[0])&&co(a[1],c[1])||co(a[0],c[1])&&co(a[1],c[0]));++u)e[r(c)]=!0;return e[r(a)]=!0,void(t.La=e)}}t.f&&(t.B.ha().Lb(t.f),t.f=null)}function Qd(t,e){var o=e.geometry;return"Circle"===o.S()&&1===e.index?(t=lo(o.xa(),t),(o=Math.sqrt(t)-o.Bd())*o):fo(t,e.ma)}function tf(t,e){var o=e.geometry;return"Circle"===o.S()&&1===e.index?o.Ib(t):no(t,e.ma)}function ef(t,e,o,r,i){qa(t.a,e.G(),(function(t){t.geometry===e&&(void 0===r||void 0===t.depth||Dt(t.depth,r))&&t.index>o&&(t.index+=i)}))}function of(){var t=Ys();return function(){return t.Point}}function rf(t,e,o){re.call(this,t),this.features=e,this.mapBrowserEvent=o}function nf(t){if($r.call(this,{handleEvent:sf}),t=t||{},this.C=t.condition?t.condition:ii,this.D=t.addCondition?t.addCondition:wo,this.B=t.removeCondition?t.removeCondition:wo,this.T=t.toggleCondition?t.toggleCondition:si,this.s=!!t.multi&&t.multi,this.l=t.filter?t.filter:_o,this.j=t.hitTolerance?t.hitTolerance:0,this.f=new cd({source:new dd({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style?t.style:af(),updateWhileAnimating:!0,updateWhileInteracting:!0}),t.layers)if("function"==typeof t.layers)t=t.layers;else{var e=t.layers;t=function(t){return Ot(e,t)}}else t=_o;this.o=t,this.a={},Xt(t=this.f.ha().i,"add",this.ko,this),Xt(t,"remove",this.oo,this)}function sf(t){if(!this.C(t))return!0;var e=this.D(t),o=this.B(t),i=this.T(t),n=!e&&!o&&!i,s=t.map,a=this.f.ha().i,c=[],u=[];if(n){for(X(this.a),s.Tc(t.pixel,function(t,e){if(this.l(t,e))return u.push(t),t=r(t),this.a[t]=e,!this.s}.bind(this),{layerFilter:this.o,hitTolerance:this.j}),n=a.kc()-1;0<=n;--n){s=a.item(n);var p=u.indexOf(s);-1<p?u.splice(p,1):(a.remove(s),c.push(s))}0!==u.length&&a.qg(u)}else{for(s.Tc(t.pixel,function(t,n){if(this.l(t,n))return!e&&!i||Ot(a.a,t)?(o||i)&&Ot(a.a,t)&&(c.push(t),n=r(t),delete this.a[n]):(u.push(t),t=r(t),this.a[t]=n),!this.s}.bind(this),{layerFilter:this.o,hitTolerance:this.j}),n=c.length-1;0<=n;--n)a.remove(c[n]);a.qg(u)}return(0<u.length||0<c.length)&&this.b(new cf(Bw,u,c,t)),ri(t)}function af(){var t=Ys();return jt(t.Polygon,t.LineString),jt(t.GeometryCollection,t.LineString),function(e){return e.U()?t[e.U().S()]:null}}function cf(t,e,o,r){re.call(this,t),this.selected=e,this.deselected=o,this.mapBrowserEvent=r}function uf(t){pi.call(this,{handleEvent:lf,handleDownEvent:_o,handleUpEvent:hf}),t=t||{},this.s=t.source?t.source:null,this.O=void 0===t.vertex||t.vertex,this.C=void 0===t.edge||t.edge,this.j=t.features?t.features:null,this.ra=[],this.B={},this.V={},this.o={},this.T=null,this.f=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.ua=df.bind(this),this.a=new Va,this.ca={Point:this.wo,LineString:this.Pi,LinearRing:this.Pi,Polygon:this.xo,MultiPoint:this.uo,MultiLineString:this.to,MultiPolygon:this.vo,GeometryCollection:this.so,Circle:this.ro}}function pf(t,e,o,r){var i=r.Ra([e[0]-t.f,e[1]+t.f]),n=r.Ra([e[0]+t.f,e[1]-t.f]);i=v([i,n]);var s=Ga(t.a,i);t.O&&!t.C&&(s=s.filter((function(t){return"Circle"!==t.feature.U().S()})));var a=!1;i=!1;var c=n=null;if(0<s.length){t.T=o,s.sort(t.ua);var u=s[0].ma;a="Circle"===s[0].feature.U().S(),t.O&&!t.C?(o=r.Ia(u[0]),a=r.Ia(u[1]),o=lo(e,o),e=lo(e,a),(a=(a=Math.sqrt(Math.min(o,e)))<=t.f)&&(i=!0,n=o>e?u[1]:u[0],c=r.Ia(n))):t.C&&(n=a?function(t,e){var o=e.Bd(),r=e.xa();e=r[0],r=r[1];var i=t[0]-e;t=t[1]-r,0===i&&0===t&&(i=1);var n=Math.sqrt(i*i+t*t);return[e+o*i/n,r+o*t/n]}(o,s[0].feature.U()):no(o,u),ho(e,c=r.Ia(n))<=t.f&&(i=!0,t.O&&!a&&(o=r.Ia(u[0]),a=r.Ia(u[1]),o=lo(c,o),e=lo(c,a),a=(a=Math.sqrt(Math.min(o,e)))<=t.f)))&&(n=o>e?u[1]:u[0],c=r.Ia(n)),i&&(c=[Math.round(c[0]),Math.round(c[1])])}return{Mq:i,vertex:n,Vq:c}}function lf(t){var e=pf(this,t.pixel,t.coordinate,t.map);return e.Mq&&(t.coordinate=e.vertex.slice(0,2),t.pixel=e.Vq),hi.call(this,t)}function hf(){var t=K(this.o);return t.length&&(t.forEach(this.$j,this),this.o={}),!1}function df(t,e){return fo(this.T,t.ma)-fo(this.T,e.ma)}function ff(t){if(pi.call(this,{handleDownEvent:yf,handleDragEvent:gf,handleMoveEvent:vf,handleUpEvent:mf}),t=t||{},this.a=null,this.j=void 0!==t.features?t.features:null,t.layers)if("function"==typeof t.layers)var e=t.layers;else{var o=t.layers;e=function(t){return Ot(o,t)}}else e=_o;this.C=e,this.s=t.hitTolerance?t.hitTolerance:0,this.f=null,Xt(this,ue("active"),this.o,this)}function yf(t){return this.f=bf(this,t.pixel,t.map),!(this.a||!this.f||(this.a=t.coordinate,vf.call(this,t),this.b(new wf("translatestart",this.j||new he([this.f]),t.coordinate)),0))}function mf(t){return!!this.a&&(this.a=null,vf.call(this,t),this.b(new wf("translateend",this.j||new he([this.f]),t.coordinate)),!0)}function gf(t){if(this.a){var e=(t=t.coordinate)[0]-this.a[0],o=t[1]-this.a[1],r=this.j||new he([this.f]);r.forEach((function(t){var r=t.U();r.translate(e,o),t.Va(r)})),this.a=t,this.b(new wf("translating",r,t))}}function vf(t){var e=t.map.a;bf(this,t.pixel,t.map)?(e.classList.remove(this.a?"ol-grab":"ol-grabbing"),e.classList.add(this.a?"ol-grabbing":"ol-grab")):e.classList.remove("ol-grab","ol-grabbing")}function bf(t,e,o){return o.Tc(e,function(t){if(!this.j||Ot(this.j.a,t))return t}.bind(t),{layerFilter:t.C,hitTolerance:t.s})}function _f(t,e){var o=t.v;t=t.c(),o&&t||(o=o||e)&&o.a.classList.remove("ol-grab","ol-grabbing")}function wf(t,e,o){re.call(this,t),this.features=e,this.coordinate=o}function Mf(t){var e=Zy({},t=t||{});delete e.gradient,delete e.radius,delete e.blur,delete e.shadow,delete e.weight,cd.call(this,e),this.c=null,this.$=void 0!==t.shadow?t.shadow:250,this.O=void 0,this.T=null,Xt(this,ue(Uw),this.cm,this),this.Lj(t.gradient?t.gradient:Vw),this.Fj(void 0!==t.blur?t.blur:15),this.fd(void 0!==t.radius?t.radius:8),Xt(this,ue(zw),this.mg,this),Xt(this,ue(Gw),this.mg,this),this.mg();var o,r=t.weight?t.weight:"weight";o="string"==typeof r?function(t){return t.get(r)}:r,this.j(function(t){var e=255*(t=void 0!==(t=o(t))?u(t,0,1):1)|0,r=this.T[e];return r||(r=[new Ds({image:new Wp({opacity:t,src:this.O})})],this.T[e]=r),r}.bind(this)),this.set(Fw,null),Xt(this,"render",this.tm,this)}function Sf(t){Fr.call(this,t||{}),this.type="IMAGE"}function xf(t){var e=Zy({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,Fr.call(this,e),this.j(void 0!==t.preload?t.preload:0),this.C(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError),this.type="TILE"}function Lf(t){var e=(t=t||{}).renderMode||"hybrid";c(null==e||"image"==e||"hybrid"==e||"vector"==e,28),t.declutter&&"image"==e&&(e="hybrid"),t.renderMode=e,delete(e=Zy({},t)).preload,delete e.useInterimTilesOnError,cd.call(this,e),this.T(t.preload?t.preload:0),this.O(!t.useInterimTilesOnError||t.useInterimTilesOnError),this.type="VECTOR_TILE"}function Of(t,e){var o=/\{z\}/g,r=/\{x\}/g,i=/\{y\}/g,n=/\{-y\}/g;return function(s){if(s)return t.replace(o,s[0].toString()).replace(r,s[1].toString()).replace(i,(function(){return(-s[2]-1).toString()})).replace(n,(function(){var t=e.a?e.a[s[0]]:null;return c(t,55),(t.ka-t.ea+1+s[2]).toString()}))}}function Tf(t,e){for(var o=t.length,r=Array(o),i=0;i<o;++i)r[i]=Of(t[i],e);return jf(r)}function jf(t){return 1===t.length?t[0]:function(e,o,r){if(e)return t[d((e[1]<<e[0])+e[2],t.length)](e,o,r)}}function kf(){}function Df(t){var e=[],o=/\{([a-z])-([a-z])\}/.exec(t);if(o){var r,i=o[2].charCodeAt(0);for(r=o[1].charCodeAt(0);r<=i;++r)e.push(t.replace(o[0],String.fromCharCode(r)));return e}if(o=o=/\{(\d+)-(\d+)\}/.exec(t)){for(i=parseInt(o[2],10),r=parseInt(o[1],10);r<=i;r++)e.push(t.replace(o[0],r.toString()));return e}return e.push(t),e}function Pf(t,e,o,i){function n(){delete window[a],s.parentNode.removeChild(s)}var s=document.createElement("script"),a="olc_"+r(e);s.async=!0,s.src=t+(-1==t.indexOf("?")?"?":"&")+(i||"callback")+"="+a;var c=setTimeout((function(){n(),o&&o()}),1e4);window[a]=function(t){clearTimeout(c),n(),e(t)},document.getElementsByTagName("head")[0].appendChild(s)}function Cf(t){Ji.call(this,t)}function Yf(t,e,o,r){var i=Mt(o,e,t);return o=pt(e,r,o),void 0!==(e=e.Bc())&&(o*=e),void 0!==(e=t.Bc())&&(o/=e),(e=t.G())&&!M(e,i)||(t=pt(t,o,i)/o,isFinite(t)&&0<t&&(o/=t)),o}function Rf(t,e,o,r){t=o-t,e=r-e;var i=Math.sqrt(t*t+e*e);return[Math.round(o+t/i),Math.round(r+e/i)]}function Ef(t,e,o,r,i,n,s,a,c,u,p){var l=Tr(Math.round(o*t),Math.round(o*e));if(0===c.length)return l.canvas;l.scale(o,o);var h=[1/0,1/0,-1/0,-1/0];c.forEach((function(t){C(h,t.extent)}));var d=Tr(Math.round(o*U(h)/r),Math.round(o*W(h)/r)),f=o/r;c.forEach((function(t){d.drawImage(t.image,u,u,t.image.width-2*u,t.image.height-2*u,(t.extent[0]-h[0])*f,-(t.extent[3]-h[3])*f,U(t.extent)*f,W(t.extent)*f)}));var y=V(s);return a.c.forEach((function(t){var e=t.source,i=t.target,s=e[1][0],a=e[1][1],c=e[2][0],u=e[2][1];t=(i[0][0]-y[0])/n;var p=-(i[0][1]-y[1])/n,f=(i[1][0]-y[0])/n,m=-(i[1][1]-y[1])/n,g=(i[2][0]-y[0])/n,v=-(i[2][1]-y[1])/n;t:{for(a=(s=[[s-=i=e[0][0],a-=e=e[0][1],0,0,f-t],[c-=i,u-=e,0,0,g-t],[0,0,s,a,m-p],[0,0,c,u,v-p]]).length,c=0;c<a;c++){u=c;for(var b=Math.abs(s[c][c]),_=c+1;_<a;_++){var w=Math.abs(s[_][c]);w>b&&(b=w,u=_)}if(0===b){s=null;break t}for(b=s[u],s[u]=s[c],s[c]=b,u=c+1;u<a;u++)for(b=-s[u][c]/s[c][c],_=c;_<a+1;_++)s[u][_]=c==_?0:s[u][_]+b*s[c][_]}for(c=Array(a),u=a-1;0<=u;u--)for(c[u]=s[u][a]/s[u][u],b=u-1;0<=b;b--)s[b][a]-=s[b][u]*c[u];s=c}s&&(l.save(),l.beginPath(),a=Rf(c=(t+f+g)/3,u=(p+m+v)/3,t,p),f=Rf(c,u,f,m),g=Rf(c,u,g,v),l.moveTo(f[0],f[1]),l.lineTo(a[0],a[1]),l.lineTo(g[0],g[1]),l.clip(),l.transform(s[0],s[2],s[1],s[3],t,p),l.translate(h[0]-i,h[3]-e),l.scale(r/o,-r/o),l.drawImage(d.canvas,0,0),l.restore())})),p&&(l.save(),l.strokeStyle="black",l.lineWidth=1,a.c.forEach((function(t){var e=t.target;t=(e[0][0]-y[0])/n;var o=-(e[0][1]-y[1])/n,r=(e[1][0]-y[0])/n,i=-(e[1][1]-y[1])/n,s=(e[2][0]-y[0])/n;e=-(e[2][1]-y[1])/n,l.beginPath(),l.moveTo(r,i),l.lineTo(t,o),l.lineTo(s,e),l.closePath(),l.stroke()})),l.restore()),l.canvas}function If(t,e,o,r,i){this.g=t,this.i=e;var n={},s=vt(this.i,this.g);if(this.a=function(t){var e=t[0]+"/"+t[1];return n[e]||(n[e]=s(t)),n[e]},this.f=r,this.v=i*i,this.c=[],this.l=!1,this.s=this.g.g&&!!r&&!!this.g.G()&&U(r)==U(this.g.G()),this.b=this.g.G()?U(this.g.G()):null,this.j=this.i.G()?U(this.i.G()):null,Ff(this,t=V(o),e=z(o),r=A(o),o=F(o),i=this.a(t),this.a(e),this.a(r),this.a(o),10),this.l){var a=1/0;this.c.forEach((function(t){a=Math.min(a,t.source[0][0],t.source[1][0],t.source[2][0])})),this.c.forEach((function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-a>this.b/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-a>this.b/2&&(e[0][0]-=this.b),e[1][0]-a>this.b/2&&(e[1][0]-=this.b),e[2][0]-a>this.b/2&&(e[2][0]-=this.b),Math.max(e[0][0],e[1][0],e[2][0])-Math.min(e[0][0],e[1][0],e[2][0])<this.b/2&&(t.source=e)}}),this)}n={}}function Ff(t,e,o,r,i,n,s,a,c,u){var p=v([n,s,a,c]),l=t.b?U(p)/t.b:null,h=t.b,f=t.g.g&&.5<l&&1>l,y=!1;if(0<u&&(t.i.c&&t.j&&(y|=.25<U(v([e,o,r,i]))/t.j),!f&&t.g.c&&l&&(y|=.25<l)),y||!t.f||G(p,t.f)){if(!(y||isFinite(n[0])&&isFinite(n[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(c[0])&&isFinite(c[1]))){if(!(0<u))return;y=!0}if(0<u&&(y||(p=t.a([(e[0]+r[0])/2,(e[1]+r[1])/2]),y=(h=f?(d(n[0],h)+d(a[0],h))/2-d(p[0],h):(n[0]+a[0])/2-p[0])*h+(p=(n[1]+a[1])/2-p[1])*p>t.v),y))return void(Math.abs(e[0]-r[0])<=Math.abs(e[1]-r[1])?(f=[(o[0]+r[0])/2,(o[1]+r[1])/2],h=t.a(f),p=[(i[0]+e[0])/2,(i[1]+e[1])/2],l=t.a(p),Ff(t,e,o,f,p,n,s,h,l,u-1),Ff(t,p,f,r,i,l,h,a,c,u-1)):(f=[(e[0]+o[0])/2,(e[1]+o[1])/2],h=t.a(f),p=[(r[0]+i[0])/2,(r[1]+i[1])/2],l=t.a(p),Ff(t,e,f,p,i,n,h,l,c,u-1),Ff(t,f,o,r,p,h,s,a,l,u-1)));if(f){if(!t.s)return;t.l=!0}t.c.push({source:[n,a,c],target:[e,r,i]}),t.c.push({source:[n,s,a],target:[e,o,r]})}}function Af(t){var e=[1/0,1/0,-1/0,-1/0];return t.c.forEach((function(t){t=t.source,Y(e,t[0]),Y(e,t[1]),Y(e,t[2])})),e}function Nf(t,e,o,r,i,n,s,a,c,p,l){if(Gs.call(this,i,0),this.B=void 0!==l&&l,this.C=s,this.D=a,this.N=null,this.c=e,this.l=r,this.v=n||i,this.a=[],this.Id=null,this.f=0,n=r.Ma(this.v),a=this.l.G(),i=this.c.G(),0===I(n=a?B(n,a):n))this.state=4;else if((a=t.G())&&(i=i?B(i,a):a),r=Yf(t,o,N(n),r.Ta(this.v[0])),!isFinite(r)||0>=r)this.state=4;else if(this.o=new If(t,o,n,i,r*(void 0!==p?p:.5)),0===this.o.c.length)this.state=4;else if(this.f=e.Dc(r),o=Af(this.o),i&&(t.g?(o[1]=u(o[1],i[1],i[3]),o[3]=u(o[3],i[1],i[3])):o=B(o,i)),I(o)){for(e=(t=Ft(e,o,this.f)).fa;e<=t.la;e++)for(o=t.ea;o<=t.ka;o++)(p=c(this.f,e,o,s))&&this.a.push(p);0===this.a.length&&(this.state=4)}else this.state=4}function Hf(t){pd.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state,wrapX:t.wrapX}),this.bb=void 0!==t.opaque&&t.opaque,this.sc=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.a=new Cf(t.cacheSize),this.j=[0,0],this.jc="",this.Ea={transition:t.transition}}function Wf(t,e,o,r,i){if(!(t=t.Yd(e)))return!1;e=!0;for(var n,s,a=r.fa;a<=r.la;++a)for(var c=r.ea;c<=r.ka;++c)n=o+"/"+a+"/"+c,s=!1,t.a.hasOwnProperty(n)&&(s=2===(n=t.get(n)).getState())&&(s=!1!==i(n)),s||(e=!1);return e}function Bf(t,e){t.jc!==e&&(t.jc=e,t.u())}function Vf(t,e,o){var r=void 0!==o?o:t.c;if(o=t.eb(r),t.D&&r.c){var i=e;e=i[0],t=At(o,i),M(r=zt(r),t)?e=i:(i=U(r),t[0]+=i*Math.ceil((r[0]-t[0])/i),e=o.jg(t,e))}if(i=e[0],r=e[1],t=e[2],o.minZoom>i||i>o.maxZoom)o=!1;else{var n=o.G();o=!(o=n?Ft(o,n,i):o.a?o.a[i]:null)||a(o,r,t)}return o?e:null}function zf(t,e){re.call(this,t),this.tile=e}function Uf(t){Hf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition}),this.tileLoadFunction=t.tileLoadFunction,this.tileUrlFunction=this.dc?this.dc.bind(this):kf,this.urls=null,t.urls?this.vb(t.urls):t.url&&this.rb(t.url),t.tileUrlFunction&&this.hb(t.tileUrlFunction),this.V={}}function Gf(t){Uf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Jf,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=void 0!==t.tileClass?t.tileClass:Ks,this.f={},this.s={},this.ob=t.reprojectionErrorThreshold,this.O=!1}function qf(t,e,o,r,i,n,s){return i=(o=Vf(t,e=[e,o,r],n))?t.tileUrlFunction(o,i,n):void 0,(i=new t.tileClass(e,void 0!==i?0:4,void 0!==i?i:"",t.crossOrigin,t.tileLoadFunction,t.Ea)).key=s,Xt(i,"change",t.dj,t),i}function $f(t,e,o,r,i,n){var s=e+"/"+o+"/"+r,a=t.jc;if(t.a.a.hasOwnProperty(s)){var c=t.a.get(s);if(c.key!=a){var u=c;(c=qf(t,e,o,r,i,n,a)).g=0==u.getState()?u.g:u,$s(c),t.a.replace(s,c)}}else c=qf(t,e,o,r,i,n,a),t.a.set(s,c);return c}function Jf(t,e){t.Y().src=e}function Xf(t){this.i=void 0!==t.hidpi&&t.hidpi,Gf.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:mt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:this.i?2:1,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition}),this.o=void 0!==t.culture?t.culture:"en-us",this.$=void 0!==t.maxZoom?t.maxZoom:-1,this.l=t.key,this.B=t.imagerySet,Pf("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.B+"?uriScheme=https&include=ImageryProviders&key="+this.l+"&c="+this.o,this.La.bind(this),void 0,"jsonp")}function Kf(t){var e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857";Gf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:void 0!==t.tileGrid?t.tileGrid:Wt({extent:zt(e),maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize}),tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition})}function Zf(t){this.o=t.account,this.B=t.map||"",this.i=t.config||{},this.l={},Kf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,state:"loading",wrapX:t.wrapX}),Qf(this)}function Qf(t){var e=JSON.stringify(t.i);if(t.l[e])ty(t,t.l[e]);else{var o="https://"+t.o+".carto.com/api/v1/map";t.B&&(o+="/named/"+t.B);var r=new XMLHttpRequest;r.addEventListener("load",t.em.bind(t,e)),r.addEventListener("error",t.dm.bind(t)),r.open("POST",o),r.setRequestHeader("Content-type","application/json"),r.send(JSON.stringify(t.i))}}function ty(t,e){t.rb("https://"+e.cdn_url.https+"/"+t.o+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png")}function ey(t){dd.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.resolution=void 0,this.distance=void 0!==t.distance?t.distance:20,this.features=[],this.geometryFunction=t.geometryFunction||function(t){return c((t=t.U())instanceof or,10),t},this.source=t.source,this.source.I("change",ey.prototype.sa,this)}function oy(t){if(void 0!==t.resolution){t.features.length=0;for(var e=[1/0,1/0,-1/0,-1/0],o=t.distance*t.resolution,i=t.source.ee(),n={},s=0,a=i.length;s<a;s++){var c=i[s];r(c).toString()in n||!(c=t.geometryFunction(c))||(k(c=c.W(),e),b(e,o,e),c=(c=t.source.Yf(e)).filter((function(t){return!((t=r(t).toString())in n)&&(n[t]=!0)})),t.features.push(ry(t,c)))}}}function ry(t,e){for(var o=[0,0],r=e.length-1;0<=r;--r){var i=t.geometryFunction(e[r]);i?io(o,i.W()):e.splice(r,1)}return po(o,1/e.length),(t=new Es(new or(o))).set("features",e),t}function iy(t,e,o,r,i,n){this.s=e,this.l=t.G();var s=e.G(),a=s?B(o,s):o;s=Yf(t,e,N(a),r),this.f=new If(t,e,a,this.l,.5*s),this.c=r,this.g=o,t=Af(this.f),this.j=(this.Tb=n(t,s,i))?this.Tb.a:1,this.je=this.i=null,i=2,this.Tb&&(i=0),Gi.call(this,o,r,this.j,i)}function ny(t){pd.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state}),this.o=void 0!==t.resolutions?t.resolutions:null,this.i=null,this.ua=0}function sy(t,e){return t.o&&(e=t.o[Tt(t.o,e,0)]),e}function ay(t,e){t.Y().src=e}function cy(t,e){re.call(this,t),this.image=e}function uy(t,e){var o=[];Object.keys(e).forEach((function(t){null!==e[t]&&void 0!==e[t]&&o.push(t+"="+encodeURIComponent(e[t]))}));var r=o.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+r}function py(t){t=t||{},ny.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.V=void 0!==t.crossOrigin?t.crossOrigin:null,this.$=void 0===t.hidpi||t.hidpi,this.a=t.url,this.f=void 0!==t.imageLoadFunction?t.imageLoadFunction:ay,this.s=t.params||{},this.M=null,this.l=[0,0],this.O=0,this.B=void 0!==t.ratio?t.ratio:1.5}function ly(t){ny.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.Ea=t.canvasFunction,this.V=null,this.$=0,this.La=void 0!==t.ratio?t.ratio:1.5}function hy(t){ny.call(this,{projection:t.projection,resolutions:t.resolutions}),this.V=void 0!==t.crossOrigin?t.crossOrigin:null,this.l=void 0!==t.displayDpi?t.displayDpi:96,this.f=t.params||{},this.O=t.url,this.a=void 0!==t.imageLoadFunction?t.imageLoadFunction:ay,this.$=void 0===t.hidpi||t.hidpi,this.ca=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.s=void 0!==t.ratio?t.ratio:1,this.Ea=void 0!==t.useOverlay&&t.useOverlay,this.M=null,this.B=0}function dy(t){var e=t.imageExtent,o=void 0!==t.crossOrigin?t.crossOrigin:null,r=void 0!==t.imageLoadFunction?t.imageLoadFunction:ay;ny.call(this,{attributions:t.attributions,logo:t.logo,projection:mt(t.projection)}),this.M=new Us(e,void 0,1,t.url,o,r),this.a=t.imageSize?t.imageSize:null,Xt(this.M,"change",this.j,this)}function fy(t){this.a=t.source,this.ob=[1,0,0,1,0,0],this.f=Tr(),this.l=[0,0],this.ca=pg.Jc(9),this.bb=null==t.renderBuffer?100:t.renderBuffer,this.B=null,ly.call(this,{attributions:t.attributions,canvasFunction:this.Mk.bind(this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.a.getState()}),this.O=null,this.s=void 0,this.aj(t.style),Xt(this.a,"change",this.To,this)}function yy(t){t=t||{},ny.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.ca=void 0!==t.crossOrigin?t.crossOrigin:null,this.f=t.url,this.s=void 0!==t.imageLoadFunction?t.imageLoadFunction:ay,this.a=t.params||{},this.l=!0,gy(this),this.$=t.serverType,this.Ea=void 0===t.hidpi||t.hidpi,this.M=null,this.B=[0,0],this.V=0,this.O=void 0!==t.ratio?t.ratio:1.5}function my(t,e,o,r,i,n){if(c(void 0!==t.f,9),n[t.l?"CRS":"SRS"]=i.wb,"STYLES"in t.a||(n.STYLES=""),1!=r)switch(t.$){case"geoserver":r=90*r+.5|0,n.FORMAT_OPTIONS="FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+";dpi:"+r:"dpi:"+r;break;case"mapserver":n.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":n.DPI=90*r;break;default:c(!1,8)}var s;return n.WIDTH=o[0],n.HEIGHT=o[1],o=i.b,s=t.l&&"ne"==o.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=s.join(","),uy(t.f,n)}function gy(t){t.l=0<=ro(t.a.VERSION||"1.3.0")}function vy(t){var e;e=void 0!==(t=t||{}).attributions?t.attributions:['&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'],Kf.call(this,{attributions:e,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",opaque:void 0===t.opaque||t.opaque,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX})}function by(t){this.B=null,this.Ea=void 0!==t.operationType?t.operationType:"pixel",this.La=void 0!==t.threads?t.threads:1,this.f=function(t){for(var e=t.length,o=Array(e),r=0;r<e;++r){var i=r,n=t[r],s=null;n instanceof Hf?s=new An(n=new xf({source:n})):n instanceof ny&&(s=new On(n=new Sf({source:n}))),o[i]=s}return o}(t.sources);for(var e=0,o=this.f.length;e<o;++e)Xt(this.f[e],"change",this.u,this);this.$=new Xe((function(){return 1}),this.u.bind(this)),e=function(t){return t.map((function(t){return Pr(t.a)}))}(this.f),o={};for(var i=0,n=e.length;i<n;++i)o[r(e[i].layer)]=e[i];this.a=null,this.O={animate:!1,coordinateToPixelTransform:[1,0,0,1,0,0],extent:null,focus:null,index:0,layerStates:o,layerStatesArray:e,logos:{},pixelRatio:1,pixelToCoordinateTransform:[1,0,0,1,0,0],postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.$,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},ny.call(this,{}),void 0!==t.operation&&this.s(t.operation,t.lib)}function _y(t,e,o){re.call(this,t),this.extent=e.extent,this.resolution=e.viewState.resolution/e.pixelRatio,this.data=o}function wy(t){var e=t.layer.indexOf("-");e=oM[-1==e?t.layer:t.layer.slice(0,e)];var o=eM[t.layer];Kf.call(this,{attributions:tM,cacheSize:t.cacheSize,crossOrigin:"anonymous",maxZoom:null!=t.maxZoom?t.maxZoom:e.maxZoom,minZoom:null!=t.minZoom?t.minZoom:e.minZoom,opaque:o.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+o.Ob,wrapX:t.wrapX})}function My(t){t=t||{},Gf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition}),this.i=t.params||{},this.l=[1/0,1/0,-1/0,-1/0],Bf(this,Sy(this))}function Sy(t){var e,o=0,r=[];for(e in t.i)r[o++]=e+"-"+t.i[e];return r.join("/")}function xy(t){Hf.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX})}function Ly(t,e,o){Gs.call(this,t,2),this.c=e,this.ta=o,this.a=null}function Oy(t){if(this.i=null,Gf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,projection:mt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition}),t.url)if(t.jsonp)Pf(t.url,this.Cg.bind(this),this.ef.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.bp.bind(this)),e.addEventListener("error",this.ap.bind(this)),e.open("GET",t.url),e.send()}else t.tileJSON?this.Cg(t.tileJSON):c(!1,51)}function Ty(t){if(Hf.call(this,{projection:mt("EPSG:3857"),state:"loading"}),this.s=void 0===t.preemptive||t.preemptive,this.l=kf,this.f=void 0,this.i=t.jsonp||!1,t.url)if(this.i)Pf(t.url,this.Dg.bind(this),this.ff.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.gp.bind(this)),e.addEventListener("error",this.fp.bind(this)),e.open("GET",t.url),e.send()}else t.tileJSON?this.Dg(t.tileJSON):c(!1,51)}function jy(t,e,o,r,i,n){Gs.call(this,t,e),this.v=o,this.a=r,this.N=i,this.c=this.l=this.f=null,this.o=n}function ky(t){if(0==t.state)if(t.state=1,t.o)Pf(t.v,t.bj.bind(t),t.Ne.bind(t));else{var e=new XMLHttpRequest;e.addEventListener("load",t.ep.bind(t)),e.addEventListener("error",t.cp.bind(t)),e.open("GET",t.v),e.send()}}function Dy(t){var e=(t=t||{}).params||{};Gf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:!(!("TRANSPARENT"in e)||e.TRANSPARENT),projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition}),this.o=void 0!==t.gutter?t.gutter:0,this.i=e,this.l=!0,this.B=t.serverType,this.$=void 0===t.hidpi||t.hidpi,this.ca=[1/0,1/0,-1/0,-1/0],Yy(this),Bf(this,Cy(this))}function Py(t,e,o,r,i,n,s){var a=t.urls;if(a){if(s.WIDTH=o[0],s.HEIGHT=o[1],s[t.l?"CRS":"SRS"]=n.wb,"STYLES"in t.i||(s.STYLES=""),1!=i)switch(t.B){case"geoserver":o=90*i+.5|0,s.FORMAT_OPTIONS="FORMAT_OPTIONS"in s?s.FORMAT_OPTIONS+";dpi:"+o:"dpi:"+o;break;case"mapserver":s.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":s.DPI=90*i;break;default:c(!1,52)}return n=n.b,t.l&&"ne"==n.substr(0,2)&&(t=r[0],r[0]=r[1],r[1]=t,t=r[2],r[2]=r[3],r[3]=t),s.BBOX=r.join(","),uy(1==a.length?a[0]:a[d((e[1]<<e[0])+e[2],a.length)],s)}}function Cy(t){var e,o=0,r=[];for(e in t.i)r[o++]=e+"-"+t.i[e];return r.join("/")}function Yy(t){t.l=0<=ro(t.i.VERSION||"1.3.0")}function Ry(t,e,o,r,i,n,s,a,c,u,p,l,h,d,f){if(Gs.call(this,t,e,f),this.v={},this.o={},this.c=u,this.a=[],this.D=o,this.l=n,this.f=[],this.N=[],n){var y=c.Ma(n),m=c.Ta(t[0]);a.Vf(y,a.Dc(m),function(t){var e=B(y,a.Ma(t)),o=a.G();o&&(e=B(e,o)),.5<=U(e)/m&&.5<=W(e)/m&&(e=t.toString(),(o=u[e])||(o=s(t,p,l),o=u[e]=new h(t,null==o?4:0,null==o?"":o,r,i),this.N.push(Xt(o,"change",d))),o.c++,this.a.push(e))}.bind(this))}}function Ey(t,e){return(e=r(e).toString())in t.v||(t.v[e]=Tr()),t.v[e]}function Iy(t,e){return(e=r(e).toString())in t.o||(t.o[e]={Be:!1,eh:null,wf:-1,fh:-1}),t.o[e]}function Fy(t,e){t.ug(ku(e,t.v,t.Cp.bind(t),t.Bp.bind(t)))}function Ay(t){var e=t.projection||"EPSG:3857",o=t.extent||zt(e),r=t.tileGrid||Wt({extent:o,maxZoom:t.maxZoom||22,minZoom:t.minZoom,tileSize:t.tileSize||512});Uf.call(this,{attributions:t.attributions,cacheSize:void 0!==t.cacheSize?t.cacheSize:128,extent:o,logo:t.logo,opaque:!1,projection:e,state:t.state,tileGrid:r,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Fy,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition}),this.l=t.format?t.format:null,this.i={},this.s=null==t.overlaps||t.overlaps,this.tileClass=t.tileClass?t.tileClass:Wc,this.f={}}function Ny(t){this.s=t.matrixIds,Rt.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})}function Hy(t,e,o){var r=[],i=[],n=[],s=[],a=[],c=void 0!==o?o:[],u=(o=mt((o=t.SupportedCRS).replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))||mt(o)).Bc(),p="ne"==o.b.substr(0,2);return t.TileMatrix.sort((function(t,e){return e.ScaleDenominator-t.ScaleDenominator})),t.TileMatrix.forEach((function(t){var e;if(e=!(0<c.length)||kt(c,(function(e){return t.Identifier==e.TileMatrix}))){i.push(t.Identifier),e=28e-5*t.ScaleDenominator/u;var o=t.TileWidth,l=t.TileHeight;n.push(p?[t.TopLeftCorner[1],t.TopLeftCorner[0]]:t.TopLeftCorner),r.push(e),s.push(o==l?o:[o,l]),a.push([t.MatrixWidth,-t.MatrixHeight])}})),new Ny({extent:e,origins:n,resolutions:r,matrixIds:i,tileSizes:s,sizes:a})}function Wy(t){this.La=void 0!==t.version?t.version:"1.0.0",this.B=void 0!==t.format?t.format:"image/jpeg",this.i=void 0!==t.dimensions?t.dimensions:{},this.$=t.layer,this.o=t.matrixSet,this.ca=t.style;var e=t.urls;void 0===e&&void 0!==t.url&&(e=Df(t.url));var o=this.ua=void 0!==t.requestEncoding?t.requestEncoding:"KVP",r=t.tileGrid,i={layer:this.$,style:this.ca,tilematrixset:this.o};"KVP"==o&&Zy(i,{Service:"WMTS",Request:"GetTile",Version:this.La,Format:this.B});var n=this.i;this.l=function(t){return t="KVP"==o?uy(t,i):t.replace(/\{(\w+?)\}/g,(function(t,e){return e.toLowerCase()in i?i[e.toLowerCase()]:t})),function(e){if(e){var i={TileMatrix:r.s[e[0]],TileCol:e[1],TileRow:-e[2]-1};return Zy(i,n),e=t,"KVP"==o?uy(e,i):e.replace(/\{(\w+?)\}/g,(function(t,e){return i[e]}))}}};var s=e&&0<e.length?jf(e.map(this.l)):kf;Gf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:s,urls:e,wrapX:void 0!==t.wrapX&&t.wrapX,transition:t.transition}),Bf(this,By(this))}function By(t){var e,o=0,r=[];for(e in t.i)r[o++]=e+"-"+t.i[e];return r.join("/")}function Vy(t){var e=(t=t||{}).size,o=e[0],r=e[1];e=t.extent||[0,-e[1],e[0],0];var i=[],n=t.tileSize||256,s=n;switch(void 0!==t.tierSizeCalculation?t.tierSizeCalculation:rM){case rM:for(;o>s||r>s;)i.push([Math.ceil(o/s),Math.ceil(r/s)]),s+=s;break;case iM:for(;o>s||r>s;)i.push([Math.ceil(o/s),Math.ceil(r/s)]),o>>=1,r>>=1;break;default:c(!1,53)}i.push([1,1]),i.reverse(),r=[1];var a=[0];for(s=1,o=i.length;s<o;s++)r.push(1<<s),a.push(i[s-1][0]*i[s-1][1]+a[s-1]);r.reverse();var u=new Rt({tileSize:n,extent:e,origin:V(e),resolutions:r});(e=t.url)&&-1==e.indexOf("{TileGroup}")&&-1==e.indexOf("{tileIndex}")&&(e+="{TileGroup}/{z}-{x}-{y}.jpg"),e=jf((e=Df(e)).map((function(t){return function(e){if(e){var o=e[0],r=e[1],n=r+(e=-e[2]-1)*i[o][0],s={z:o,x:r,y:e,tileIndex:n,TileGroup:"TileGroup"+((n+a[o])/u.Za(o)|0)};return t.replace(/\{(\w+?)\}/g,(function(t,e){return s[e]}))}}}))),Gf.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:zy.bind(null,u),tileGrid:u,tileUrlFunction:e,transition:t.transition})}function zy(t,e,o,r,i,n,s){Ks.call(this,e,o,r,i,n,s),this.a=null,this.o=g(t.Za(e[0]))}var Uy,Gy,qy,$y={},Jy=this,Xy=0;e(i,Error);var Ky="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2},Zy="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),r=1,i=arguments.length;r<i;++r){var n=arguments[r];if(null!=n)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s])}return o};Q.prototype.a=function(t){return ot(t,this.radius)},Q.prototype.b=function(t,e){return et(t,e,this.radius)},Q.prototype.offset=function(t,e,o){var r=h(t[1]);e/=this.radius;var i=Math.asin(Math.sin(r)*Math.cos(e)+Math.cos(r)*Math.sin(e)*Math.cos(o));return[180*(h(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(r),Math.cos(e)-Math.sin(r)*Math.sin(i)))/Math.PI,180*i/Math.PI]};var Qy={};Qy.degrees=12741994*Math.PI/360,Qy.ft=.3048,Qy.m=1,Qy["us-ft"]=1200/3937;var tm=null;(Uy=rt.prototype).ml=function(){return this.wb},Uy.G=function(){return this.i},Uy.zo=function(){return this.a},Uy.Bc=function(){return this.l||Qy[this.a]},Uy.Vl=function(){return this.oe},Uy.il=function(){return this.b},Uy.Gm=function(){return this.c},Uy.xq=function(t){this.c=t,this.g=!(!t||!this.i)},Uy.Si=function(t){this.i=t,this.g=!(!this.c||!t)},Uy.Sj=function(t){this.oe=t},Uy.wq=function(t){this.j=t},e(it,rt);var em=6378137*Math.PI,om=[-em,-em,em,em],rm=[-180,-85,180,85],im=[new it("EPSG:3857"),new it("EPSG:102100"),new it("EPSG:102113"),new it("EPSG:900913"),new it("urn:ogc:def:crs:EPSG:6.18:3:3857"),new it("urn:ogc:def:crs:EPSG::3857"),new it("http://www.opengis.net/gml/srs/epsg.xml#3857")];e(at,rt);var nm=[-180,-90,180,90],sm=6378137*Math.PI/180,am=[new at("CRS:84"),new at("EPSG:4326","neu"),new at("urn:ogc:def:crs:EPSG::4326","neu"),new at("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new at("urn:ogc:def:crs:OGC:1.3:CRS84"),new at("urn:ogc:def:crs:OGC:2:84"),new at("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new at("urn:x-ogc:def:crs:EPSG:4326","neu")],cm={},um={},pm=new Q(6371008.8);xt();var lm=[0,0,0];(Uy=Rt.prototype).Vf=function(t,e,o){for(var r=(t=Ft(this,t,e)).fa,i=t.la;r<=i;++r)for(var n=t.ea,s=t.ka;n<=s;++n)o([e,r,n])},Uy.G=function(){return this.o},Uy.mj=function(){return this.maxZoom},Uy.nj=function(){return this.minZoom},Uy.Ic=function(t){return this.g?this.g:this.c[t]},Uy.Ta=function(t){return this.b[t]},Uy.oj=function(){return this.b},Uy.Ma=function(t,e){var o=this.Ic(t[0]),r=this.Ta(t[0]),i=g(this.Za(t[0]),this.f),n=o[0]+t[1]*i[0]*r;return T(n,t=o[1]+t[2]*i[1]*r,n+i[0]*r,t+i[1]*r,e)},Uy.Le=function(t,e,o){var r=t[0],i=t[1];t=this.Dc(e);var n=e/this.Ta(t),s=this.Ic(t),a=g(this.Za(t),this.f);return r=n*Math.floor((r-s[0])/e+0)/a[0],e=n*Math.floor((i-s[1])/e+.5)/a[1],Yt(t,r=Math.floor(r),e=Math.floor(e),o)},Uy.jg=function(t,e,o){return Nt(this,t[0],t[1],e,!1,o)},Uy.Za=function(t){return this.j?this.j:this.i[t]},Uy.Dc=function(t,e){return u(Tt(this.b,t,e||0),this.minZoom,this.maxZoom)},Ut.prototype.b=function(){return this.og},ee.prototype.Ub=!1,ee.prototype.ia=o,re.prototype.preventDefault=re.prototype.stopPropagation=function(){this.sj=!0},e(ne,ee),ne.prototype.addEventListener=function(t,e){var o=this.oa[t];o||(o=this.oa[t]=[]),-1===o.indexOf(e)&&o.push(e)},ne.prototype.b=function(t){var e="string"==typeof t?new re(t):t;t=e.type,e.target=this;var r=this.oa[t];if(r){t in this.qa||(this.qa[t]=0,this.Wa[t]=0),++this.qa[t];for(var i=0,n=r.length;i<n;++i)if(!1===r[i].call(this,e)||e.sj){var s=!1;break}if(--this.qa[t],0===this.qa[t]){for(e=this.Wa[t],delete this.Wa[t];e--;)this.removeEventListener(t,o);delete this.qa[t]}return s}},ne.prototype.ia=function(){te(this)},ne.prototype.removeEventListener=function(t,e){var r=this.oa[t];r&&(e=r.indexOf(e),t in this.Wa?(r[e]=o,++this.Wa[t]):(r.splice(e,1),0===r.length&&delete this.oa[t]))},e(ae,ne),(Uy=ae.prototype).u=function(){++this.g,this.b("change")},Uy.K=function(){return this.g},Uy.I=function(t,e,o){if(Array.isArray(t)){for(var r=t.length,i=Array(r),n=0;n<r;++n)i[n]=Xt(this,t[n],e,o);return i}return Xt(this,t,e,o)},Uy.once=function(t,e,o){if(Array.isArray(t)){for(var r=t.length,i=Array(r),n=0;n<r;++n)i[n]=Kt(this,t[n],e,o);return i}return Kt(this,t,e,o)},Uy.J=function(t,e,o){if(Array.isArray(t))for(var r=0,i=t.length;r<i;++r)Zt(this,t[r],e,o);else Zt(this,t,e,o)},e(ce,ae);var hm={};(Uy=ce.prototype).get=function(t){var e;return this.N.hasOwnProperty(t)&&(e=this.N[t]),e},Uy.P=function(){return Object.keys(this.N)},Uy.L=function(){return Zy({},this.N)},Uy.set=function(t,e,o){o?this.N[t]=e:(o=this.N[t],this.N[t]=e,o!==e&&pe(this,t,o))},Uy.H=function(t,e){for(var o in t)this.set(o,t[o],e)},Uy.R=function(t,e){if(t in this.N){var o=this.N[t];delete this.N[t],e||pe(this,t,o)}},e(le,re),e(he,ce),(Uy=he.prototype).clear=function(){for(;0<this.kc();)this.pop()},Uy.qg=function(t){var e,o=0;for(e=t.length;o<e;++o)this.push(t[o]);return this},Uy.forEach=function(t,e){t=e?t.bind(e):t;for(var o=0,r=(e=this.a).length;o<r;++o)t(e[o],o,e)},Uy.Xm=function(){return this.a},Uy.item=function(t){return this.a[t]},Uy.kc=function(){return this.get(dm)},Uy.Re=function(t,e){this.c&&fe(this,e),this.a.splice(t,0,e),de(this),this.b(new ye("add",e))},Uy.pop=function(){return this.Wg(this.kc()-1)},Uy.push=function(t){return this.c&&fe(this,t),this.Re(this.kc(),t),this.kc()},Uy.remove=function(t){var e,o=this.a,r=0;for(e=o.length;r<e;++r)if(o[r]===t)return this.Wg(r)},Uy.Wg=function(t){var e=this.a[t];return this.a.splice(t,1),de(this),this.b(new ye("remove",e)),e},Uy.rq=function(t,e){var o=this.kc();if(t<o)this.c&&fe(this,e,t),o=this.a[t],this.a[t]=e,this.b(new ye("remove",o)),this.b(new ye("add",e));else{for(;o<t;++o)this.Re(o,void 0);this.Re(t,e)}};var dm="length";e(ye,re),e(me,re),e(ge,me),ge.prototype.preventDefault=function(){me.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},ge.prototype.stopPropagation=function(){me.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()};var fm,ym,mm=["experimental-webgl","webgl","webkit-3d","moz-webgl"],gm="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",vm=-1!==gm.indexOf("firefox"),bm=-1!==gm.indexOf("safari")&&-1==gm.indexOf("chrom"),_m=-1!==gm.indexOf("webkit")&&-1==gm.indexOf("edge"),wm=-1!==gm.indexOf("macintosh"),Mm=window.devicePixelRatio||1,Sm=!1,xm=function(){if(!("HTMLCanvasElement"in window))return!1;try{var t=document.createElement("CANVAS").getContext("2d");return!!t&&(void 0!==t.setLineDash&&(Sm=!0),!0)}catch(t){return!1}}(),Lm="DeviceOrientationEvent"in window,Om="geolocation"in navigator,Tm="ontouchstart"in window,jm="PointerEvent"in window,km=!!navigator.msPointerEnabled,Dm=!1,Pm=[];if("WebGLRenderingContext"in window)try{var Cm=ve(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Cm&&(Dm=!0,ym=Cm.getParameter(Cm.MAX_TEXTURE_SIZE),Pm=Cm.getSupportedExtensions())}catch(Wm){}fm=Dm,qy=Pm,Gy=ym;var Ym={gr:"singleclick",Wq:"click",Xq:"dblclick",$q:"pointerdrag",cr:"pointermove",Zq:"pointerdown",fr:"pointerup",er:"pointerover",dr:"pointerout",ar:"pointerenter",br:"pointerleave",Yq:"pointercancel"};e(be,ge),e(we,_e),(Uy=we.prototype).Jm=function(t){if(!Me(this,t)){1..toString()in this.a&&this.cancel(t);var e=Se(t);this.a[1..toString()]=t,He(this.b,"pointerdown",e,t)}},Uy.Km=function(t){Me(this,t)||He(this.b,"pointermove",Se(t),t)},Uy.Nm=function(t){if(!Me(this,t)){var e=this.a[1..toString()];e&&e.button===t.button&&(e=Se(t),He(this.b,"pointerup",e,t),delete this.a[1..toString()])}},Uy.Mm=function(t){Me(this,t)||Ne(this.b,Se(t),t)},Uy.Lm=function(t){Me(this,t)||Ae(this.b,Se(t),t)},Uy.cancel=function(t){this.b.cancel(Se(t),t),delete this.a[1..toString()]},e(xe,_e),(Uy=xe.prototype).Sm=function(t){this.a[t.pointerId.toString()]=t,He(this.b,"pointerdown",Le(this,t),t)},Uy.Tm=function(t){He(this.b,"pointermove",Le(this,t),t)},Uy.Wm=function(t){He(this.b,"pointerup",Le(this,t),t),delete this.a[t.pointerId.toString()]},Uy.Um=function(t){Ae(this.b,Le(this,t),t)},Uy.Vm=function(t){Ne(this.b,Le(this,t),t)},Uy.Rm=function(t){this.b.cancel(Le(this,t),t),delete this.a[t.pointerId.toString()]},Uy.Qm=function(t){this.b.b(new Te("lostpointercapture",t,t))},Uy.Pm=function(t){this.b.b(new Te("gotpointercapture",t,t))},e(Oe,_e),(Uy=Oe.prototype).Kp=function(t){We(this.b,t)},Uy.Lp=function(t){We(this.b,t)},Uy.Op=function(t){We(this.b,t)},Uy.Mp=function(t){We(this.b,t)},Uy.Np=function(t){We(this.b,t)},Uy.Jp=function(t){We(this.b,t)},Uy.Hm=function(t){We(this.b,t)},Uy.Wl=function(t){We(this.b,t)},e(Te,re);var Rm=!1;try{Rm=1===new MouseEvent("click",{buttons:1}).buttons}catch(Wm){}e(je,_e),(Uy=je.prototype).Ej=function(){this.f=0,this.c=void 0},Uy.Qq=function(t){var e=t.touches,o=Object.keys(this.a),r=o.length;if(r>=e.length){var i,n=[];for(i=0;i<r;++i){var s,a=o[i],c=this.a[a];if(!(s=1==a))t:{for(var u=e.length,p=0;p<u;p++)if((s=e[p]).identifier===a-2){s=!0;break t}s=!1}s||n.push(c.out)}for(i=0;i<n.length;++i)this.Of(t,n[i])}e=t.changedTouches[0],(0===(o=Object.keys(this.a).length)||1===o&&1..toString()in this.a)&&(this.g=e.identifier,void 0!==this.c&&clearTimeout(this.c)),Pe(this,t),this.f++,De(this,t,this.Fp)},Uy.Fp=function(t,e){this.a[e.pointerId]={target:e.target,out:e,pj:e.target};var o=this.b;e.bubbles=!0,He(o,"pointerover",e,t),o=this.b,e.bubbles=!1,He(o,"pointerenter",e,t),He(this.b,"pointerdown",e,t)},Uy.Pq=function(t){t.preventDefault(),De(this,t,this.Om)},Uy.Om=function(t,e){var o=this.a[e.pointerId];if(o){var r=o.out,i=o.pj;He(this.b,"pointermove",e,t),r&&i!==e.target&&(r.relatedTarget=e.target,e.relatedTarget=i,r.target=i,e.target?(Ae(this.b,r,t),Ne(this.b,e,t)):(e.target=i,e.relatedTarget=null,this.Of(t,e))),o.out=e,o.pj=e.target}},Uy.Oq=function(t){Pe(this,t),De(this,t,this.Rq)},Uy.Rq=function(t,e){He(this.b,"pointerup",e,t),this.b.out(e,t),Fe(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.g=void 0,this.c=setTimeout(this.Ej.bind(this),200))},Uy.Nq=function(t){De(this,t,this.Of)},Uy.Of=function(t,e){this.b.cancel(e,t),this.b.out(e,t),Fe(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.g=void 0,this.c=setTimeout(this.Ej.bind(this),200))},e(Ce,ne),Ce.prototype.c=function(t){var e=this.i[t.type];e&&e(t)},Ce.prototype.out=function(t,e){t.bubbles=!0,He(this,"pointerout",t,e)},Ce.prototype.cancel=function(t,e){He(this,"pointercancel",t,e)},Ce.prototype.ia=function(){for(var t,e=this.a.length,o=0;o<e;o++)t=this.a[o],Ee(this,Object.keys(t.i));ne.prototype.ia.call(this)};var Em=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];e(Be,ne),(Uy=Be.prototype).ci=function(t){Ve(this,t);var e=new be("pointerup",this.g,t);this.b(e),e.sj||this.l||0!==t.button||function(t,e){var o=new be("click",t.g,e);t.b(o),0!==t.j?(clearTimeout(t.j),t.j=0,o=new be("dblclick",t.g,e),t.b(o)):t.j=setTimeout(function(){this.j=0,this.b(new be("singleclick",this.g,e))}.bind(t),250)}(this,this.c),0===this.N&&(this.i.forEach(Qt),this.i.length=0,this.l=!1,this.c=null,oe(this.a),this.a=null)},Uy.pm=function(t){Ve(this,t),this.b(new be("pointerdown",this.g,t)),this.c=t,0===this.i.length&&(this.a=new Ce(document),this.i.push(Xt(this.a,"pointermove",this.mn,this),Xt(this.a,"pointerup",this.ci,this),Xt(this.f,"pointercancel",this.ci,this)))},Uy.mn=function(t){ze(this,t)&&(this.l=!0,this.b(new be("pointerdrag",this.g,t,this.l))),t.preventDefault()},Uy.mq=function(t){this.b(new be(t.type,this.g,t,!(!this.c||!ze(this,t))))},Uy.ia=function(){this.v&&(Qt(this.v),this.v=null),this.s&&(Qt(this.s),this.s=null),this.i.forEach(Qt),this.i.length=0,this.a&&(oe(this.a),this.a=null),this.f&&(oe(this.f),this.f=null),ne.prototype.ia.call(this)},Ue.prototype.clear=function(){this.b.length=0,this.g.length=0,X(this.a)},Ue.prototype.i=function(t){c(!(this.c(t)in this.a),31);var e=this.s(t);return 1/0!=e&&(this.b.push(t),this.g.push(e),this.a[this.c(t)]=!0,$e(this,0,this.b.length-1),!0)},e(Xe,Ue),Xe.prototype.i=function(t){var e=Ue.prototype.i.call(this,t);return e&&Xt(t[0],"change",this.l,this),e},Xe.prototype.l=function(t){var e=(t=t.target).getState();2!==e&&3!==e&&4!==e&&5!==e||(Zt(t,"change",this.l,this),(t=t.lb())in this.f&&(delete this.f[t],--this.j),this.v())};var Im=Array(6);e(Ro,ce),(Uy=Ro.prototype).Ib=function(t,e){return e=e||[NaN,NaN],this.Nb(t[0],t[1],e,1/0),e},Uy.Bb=function(t){return this.Zc(t[0],t[1])},Uy.Zc=wo,Uy.G=function(t){this.v!=this.g&&(this.s=this.Ae(this.s),this.v=this.g);var e=this.s;return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]):t=e,t},Uy.Sb=function(t){return this.Wd(t*t)},Uy.mb=function(t,e){var o=this.O;return t=mt(t),this.Rc("tile-pixels"==t.a?function(r,i,n){var s=t.G(),a=t.oe;return s=W(a)/W(s),Co(o,a[0],a[3],s,-s,0,0,0),Mo(r,0,r.length,n,o,i),vt(t,e)(r,i,n)}:vt(t,e)),this},e(Eo,Ro),(Uy=Eo.prototype).Zc=wo,Uy.Ae=function(t){return D(this.A,0,this.A.length,this.a,t)},Uy.fc=function(){return this.A.slice(0,this.a)},Uy.da=function(){return this.A},Uy.gc=function(){return this.A.slice(this.A.length-this.a)},Uy.ic=function(){return this.ja},Uy.Wd=function(t){if(this.l!=this.g&&(X(this.i),this.f=0,this.l=this.g),0>t||0!==this.f&&t<=this.f)return this;var e=t.toString();if(this.i.hasOwnProperty(e))return this.i[e];var o=this.xd(t);return o.da().length<this.A.length?this.i[e]=o:(this.f=t,this)},Uy.xd=function(){return this},Uy.pa=function(){return this.a},Uy.Rc=function(t){this.A&&(t(this.A,this.A,this.a),this.u())},Uy.rotate=function(t,e){var o=this.da();if(o){var r=o.length,i=this.pa(),n=o||[],s=Math.cos(t);t=Math.sin(t);var a=e[0];e=e[1];for(var c=0,u=0;u<r;u+=i){var p=o[u]-a,l=o[u+1]-e;for(n[c++]=a+p*s-l*t,n[c++]=e+p*t+l*s,p=u+2;p<u+i;++p)n[c++]=o[p]}o&&n.length!=c&&(n.length=c),this.u()}},Uy.scale=function(t,e,o){var r=e;void 0===r&&(r=t);var i=o;if(i||(i=N(this.G())),o=this.da()){e=o.length;var n=this.pa(),s=o||[],a=i[0];i=i[1];for(var c=0,u=0;u<e;u+=n){var p=o[u]-a,l=o[u+1]-i;for(s[c++]=a+t*p,s[c++]=i+r*l,p=u+2;p<u+n;++p)s[c++]=o[p]}o&&s.length!=c&&(s.length=c),this.u()}},Uy.translate=function(t,e){var o=this.da();o&&(So(o,0,o.length,this.pa(),t,e,o),this.u())},e(tr,Eo),(Uy=tr.prototype).clone=function(){var t=new tr(null);return er(t,this.ja,this.A.slice()),t},Uy.Nb=function(t,e,o,r){return r<w(this.G(),t,e)?r:(this.c!=this.g&&(this.j=Math.sqrt(Bo(this.A,0,this.A.length,this.a,0)),this.c=this.g),zo(this.A,0,this.A.length,this.a,this.j,!0,t,e,o,r))},Uy.Vn=function(){return No(this.A,0,this.A.length,this.a)},Uy.W=function(){return Jo(this.A,0,this.A.length,this.a)},Uy.xd=function(t){var e=[];return e.length=Zo(this.A,0,this.A.length,this.a,t,e,0),er(t=new tr(null),"XY",e),t},Uy.S=function(){return"LinearRing"},Uy.$a=function(){},Uy.na=function(t,e){t?(Ao(this,e,t,1),this.A||(this.A=[]),this.A.length=qo(this.A,0,t,this.a),this.u()):er(this,"XY",null)},e(or,Eo),(Uy=or.prototype).clone=function(){var t=new or(null);return t.ba(this.ja,this.A.slice()),t},Uy.Nb=function(t,e,o,r){var i=this.A;if((t=l(t,e,i[0],i[1]))<r){for(r=this.a,e=0;e<r;++e)o[e]=i[e];return o.length=r,t}return r},Uy.W=function(){return this.A?this.A.slice():[]},Uy.Ae=function(t){return k(this.A,t)},Uy.S=function(){return"Point"},Uy.$a=function(t){return x(t,this.A[0],this.A[1])},Uy.na=function(t,e){t?(Ao(this,e,t,0),this.A||(this.A=[]),this.A.length=Go(this.A,t),this.u()):this.ba("XY",null)},Uy.ba=function(t,e){Fo(this,t,e),this.u()},e(fr,Eo),(Uy=fr.prototype).Hk=function(t){this.A?jt(this.A,t.da()):this.A=t.da().slice(),this.c.push(this.A.length),this.u()},Uy.clone=function(){var t=new fr(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},Uy.Nb=function(t,e,o,r){return r<w(this.G(),t,e)?r:(this.C!=this.g&&(this.B=Math.sqrt(Vo(this.A,0,this.c,this.a,0)),this.C=this.g),Uo(this.A,0,this.c,this.a,this.B,!0,t,e,o,r))},Uy.Zc=function(t,e){return nr(this.Xb(),0,this.c,this.a,t,e)},Uy.Yn=function(){return Ho(this.Xb(),0,this.c,this.a)},Uy.W=function(t){if(void 0!==t){var e=this.Xb().slice();hr(e,0,this.c,this.a,t)}else e=this.A;return Xo(e,0,this.c,this.a)},Uy.pb=function(){return this.c},Uy.Td=function(){if(this.o!=this.g){var t=N(this.G());this.D=sr(this.Xb(),0,this.c,this.a,t,0),this.o=this.g}return this.D},Uy.tl=function(){return new or(this.Td(),"XYM")},Uy.zl=function(){return this.c.length},Uy.Wh=function(t){if(0>t||this.c.length<=t)return null;var e=new tr(null);return er(e,this.ja,this.A.slice(0===t?0:this.c[t-1],this.c[t])),e},Uy.Ud=function(){var t,e=this.ja,o=this.A,r=this.c,i=[],n=0,s=0;for(t=r.length;s<t;++s){var a=r[s],c=new tr(null);er(c,e,o.slice(n,a)),i.push(c),n=a}return i},Uy.Xb=function(){if(this.T!=this.g){var t=this.A;lr(t,this.c,this.a)?this.j=t:(this.j=t.slice(),this.j.length=hr(this.j,0,this.c,this.a)),this.T=this.g}return this.j},Uy.xd=function(t){var e=[],o=[];return e.length=Qo(this.A,0,this.c,this.a,Math.sqrt(t),e,0,o),(t=new fr(null)).ba("XY",e,o),t},Uy.S=function(){return"Polygon"},Uy.$a=function(t){return ur(this.Xb(),0,this.c,this.a,t)},Uy.na=function(t,e){t?(Ao(this,e,t,2),this.A||(this.A=[]),t=$o(this.A,0,t,this.a,this.c),this.A.length=0===t.length?0:t[t.length-1],this.u()):this.ba("XY",null,this.c)},Uy.ba=function(t,e,o){Fo(this,t,e),this.c=o,this.u()},e(br,ce),(Uy=br.prototype).animate=function(t){var e=arguments.length;if(1<e&&"function"==typeof arguments[e-1]){var o=arguments[e-1];--e}if(Lr(this)){for(var r=Date.now(),i=this.xa().slice(),n=this.Pa(),s=this.Sa(),a=[],c=0;c<e;++c){var u=arguments[c],p={start:r,complete:!1,anchor:u.anchor,duration:void 0!==u.duration?u.duration:1e3,easing:u.easing||vo};u.center&&(p.ie=i,p.me=u.center,i=p.me),void 0!==u.zoom?(p.ke=n,p.kd=this.constrainResolution(this.a,u.zoom-this.s,0),n=p.kd):u.resolution&&(p.ke=n,p.kd=u.resolution,n=p.kd),void 0!==u.rotation&&(p.Df=s,p.ne=s+(d(u.rotation-s+Math.PI,2*Math.PI)-Math.PI),s=p.ne),p.callback=o,p.ie&&p.me&&!co(p.ie,p.me)||p.ke!==p.kd||p.Df!==p.ne?r+=p.duration:p.complete=!0,a.push(p)}this.c.push(a),Or(this,0,1),this.Ff()}else(e=arguments[e-1]).center&&this.ub(e.center),void 0!==e.zoom&&this.Tj(e.zoom),void 0!==e.rotation&&this.ce(e.rotation),o&&o(!0)},Uy.Ac=function(){return 0<this.f[0]},Uy.Vh=function(){return 0<this.f[1]},Uy.rd=function(){Or(this,0,-this.f[0]);for(var t=0,e=this.c.length;t<e;++t){var o=this.c[t];o[0].callback&&o[0].callback(!1)}this.c.length=0},Uy.Ff=function(){if(void 0!==this.o&&(cancelAnimationFrame(this.o),this.o=void 0),this.Ac()){for(var t=Date.now(),e=!1,o=this.c.length-1;0<=o;--o){for(var r=this.c[o],i=!0,n=0,s=r.length;n<s;++n){var a=r[n];if(!a.complete){if(e=t-a.start,1<=(e=0<a.duration?e/a.duration:1)?(a.complete=!0,e=1):i=!1,e=a.easing(e),a.ie){var c=a.ie[0],u=a.ie[1];this.set("center",[c+e*(a.me[0]-c),u+e*(a.me[1]-u)])}if(a.ke&&a.kd&&(c=1===e?a.kd:a.ke+e*(a.kd-a.ke),a.anchor&&this.set("center",Sr(this,c,a.anchor)),this.set("resolution",c)),void 0!==a.Df&&void 0!==a.ne&&(e=1===e?d(a.ne+Math.PI,2*Math.PI)-Math.PI:a.Df+e*(a.ne-a.Df),a.anchor&&this.set("center",Mr(this,e,a.anchor)),this.set("rotation",e)),e=!0,!a.complete)break}}i&&(this.c[o]=null,Or(this,0,-1),(r=r[0].callback)&&r(!0))}this.c=this.c.filter(Boolean),e&&void 0===this.o&&(this.o=requestAnimationFrame(this.Ff))}},Uy.Sc=function(t){return this.l.center(t)},Uy.constrainResolution=function(t,e,o){return this.l.resolution(t,e||0,o||0)},Uy.constrainRotation=function(t,e){return this.l.rotation(t,e||0)},Uy.xa=function(){return this.get("center")},Uy.qd=function(t){t=t||xr(this);var e=this.xa();c(e,1);var o=this.Pa();c(void 0!==o,2);var r=this.Sa();return c(void 0!==r,3),H(e,o,r,t)},Uy.sn=function(){return this.a},Uy.vn=function(){return this.i},Uy.tn=function(){return this.Me(this.i)},Uy.Cq=function(t){_r(this,wr(this,{maxZoom:t}))},Uy.wn=function(){return this.Me(this.a)},Uy.Dq=function(t){_r(this,wr(this,{minZoom:t}))},Uy.xn=function(){return this.v},Uy.Pa=function(){return this.get("resolution")},Uy.yn=function(){return this.j},Uy.Je=function(t,e){return e=e||xr(this),Math.max(U(t)/e[0],W(t)/e[1])},Uy.Sa=function(){return this.get("rotation")},Uy.getState=function(){var t=this.xa(),e=this.v,o=this.Pa(),r=this.Sa();return{center:t.slice(),projection:void 0!==e?e:null,resolution:o,rotation:r,zoom:this.lg()}},Uy.lg=function(){var t,e=this.Pa();return void 0!==e&&(t=this.Me(e)),t},Uy.Me=function(t){var e,o=this.s||0;if(this.j){o=e=Tt(this.j,t,1);var r=this.j[e];e=e==this.j.length-1?2:r/this.j[e+1]}else r=this.a,e=this.D;return o+Math.log(r/t)/Math.log(e)},Uy.$h=function(t){return this.constrainResolution(this.a,t-this.s,0)},Uy.Uf=function(t,e){var r=(e=e||{}).size;if(r||(r=xr(this)),t instanceof Eo)if("Circle"===t.S()){var i=mr(t=t.G());i.rotate(this.Sa(),N(t))}else i=t;else c(Array.isArray(t),24),c(!q(t),25),i=mr(t);var n,s=void 0!==e.padding?e.padding:[0,0,0,0],a=void 0===e.constrainResolution||e.constrainResolution,u=void 0!==e.nearest&&e.nearest;n=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.constrainResolution(this.a,e.maxZoom-this.s,0):0;var p=i.da(),l=this.Sa();t=Math.cos(-l),l=Math.sin(-l);var h=1/0,d=1/0,f=-1/0,y=-1/0;i=i.pa();for(var m=0,g=p.length;m<g;m+=i){var v=p[m]*t-p[m+1]*l,b=p[m]*l+p[m+1]*t;h=Math.min(h,v),d=Math.min(d,b),f=Math.max(f,v),y=Math.max(y,b)}r=this.Je([h,d,f,y],[r[0]-s[1]-s[3],r[1]-s[0]-s[2]]),r=isNaN(r)?n:Math.max(r,n),a&&(n=this.constrainResolution(r,0,0),!u&&n<r&&(n=this.constrainResolution(n,-1,0)),r=n),l=-l,t=[(n=(h+f)/2+(s[1]-s[3])/2*r)*t-(s=(d+y)/2+(s[0]-s[2])/2*r)*l,s*t+n*l],s=e.callback?e.callback:o,void 0!==e.duration?this.animate({resolution:r,center:t,duration:e.duration,easing:e.easing},s):(this.gd(r),this.ub(t),setTimeout(s.bind(void 0,!0),0))},Uy.Nk=function(t,e,o){var r=this.Sa(),i=Math.cos(-r);r=Math.sin(-r);var n=t[0]*i-t[1]*r;t=t[1]*i+t[0]*r;var s=this.Pa();n+=(e[0]/2-o[0])*s,t+=(o[1]-e[1]/2)*s,r=-r,this.ub([n*i-t*r,t*i+n*r])},Uy.rotate=function(t,e){void 0!==e&&(e=Mr(this,t,e),this.ub(e)),this.ce(t)},Uy.ub=function(t){this.set("center",t),this.Ac()&&this.rd()},Uy.gd=function(t){this.set("resolution",t),this.Ac()&&this.rd()},Uy.ce=function(t){this.set("rotation",t),this.Ac()&&this.rd()},Uy.Tj=function(t){this.gd(this.$h(t))},e(Dr,ce),(Uy=Dr.prototype).S=function(){return this.type},Uy.G=function(){return this.get("extent")},Uy.lc=function(){return this.get("maxResolution")},Uy.mc=function(){return this.get("minResolution")},Uy.nc=function(){return this.get("opacity")},Uy.Jb=function(){return this.get("visible")},Uy.Ba=function(){return this.get("zIndex")},Uy.Fc=function(t){this.set("extent",t)},Uy.Mc=function(t){this.set("maxResolution",t)},Uy.Nc=function(t){this.set("minResolution",t)},Uy.Gc=function(t){this.set("opacity",t)},Uy.Hc=function(t){this.set("visible",t)},Uy.$b=function(t){this.set("zIndex",t)},e(Cr,Dr),(Uy=Cr.prototype).Pe=function(){this.u()},Uy.im=function(){this.i.forEach(Qt),this.i.length=0;var t,e=this.Cd();for(var o in this.i.push(Xt(e,"add",this.hm,this),Xt(e,"remove",this.jm,this)),this.c)this.c[o].forEach(Qt);for(X(this.c),o=0,t=(e=e.a).length;o<t;o++){var i=e[o];this.c[r(i).toString()]=[Xt(i,"propertychange",this.Pe,this),Xt(i,"change",this.Pe,this)]}this.u()},Uy.hm=function(t){t=t.element,this.c[r(t).toString()]=[Xt(t,"propertychange",this.Pe,this),Xt(t,"change",this.Pe,this)],this.u()},Uy.jm=function(t){t=r(t.element).toString(),this.c[t].forEach(Qt),delete this.c[t],this.u()},Uy.Cd=function(){return this.get(Fm)},Uy.Qi=function(t){this.set(Fm,t)},Uy.dg=function(t){var e,o=void 0!==t?t:[],r=o.length;for(this.Cd().forEach((function(t){t.dg(o)})),t=Pr(this),e=o.length;r<e;r++){var i=o[r];i.opacity*=t.opacity,i.visible=i.visible&&t.visible,i.maxResolution=Math.min(i.maxResolution,t.maxResolution),i.minResolution=Math.max(i.minResolution,t.minResolution),void 0!==t.extent&&(i.extent=void 0!==i.extent?B(i.extent,t.extent):t.extent)}return o},Uy.hg=function(){return"ready"};var Fm="layers",Am=[],Nm=[];e(Er,ce),(Uy=Er.prototype).Mf=function(t){this.controls.push(t)},Uy.Nf=function(t){this.interactions.push(t)},Uy.xe=function(t){this.hc().Cd().push(t)},Uy.ye=function(t){this.l.push(t)},Uy.zh=function(t){var e=t.id;void 0!==e&&(this.Fg[e.toString()]=t),t.setMap(this)},Uy.ia=function(){oe(this.ca),Zt(this.a,"wheel",this.yd,this),Zt(this.a,"mousewheel",this.yd,this),void 0!==this.i&&(window.removeEventListener("resize",this.i,!1),this.i=void 0),this.j&&(cancelAnimationFrame(this.j),this.j=void 0),this.Ad(null),ce.prototype.ia.call(this)},Uy.Tc=function(t,e,o){if(this.c)return t=this.Ra(t),o=void 0!==o?o:{},this.pc.wa(t,this.c,void 0!==o.hitTolerance?o.hitTolerance*this.c.pixelRatio:0,e,null,void 0!==o.layerFilter?o.layerFilter:_o,null)},Uy.Xf=function(t,e){var o=null;return this.Tc(t,(function(t){o||(o=[]),o.push(t)}),e),o},Uy.tg=function(t,e,o,r,i){if(this.c)return this.pc.Ti(t,this.c,e,void 0!==o?o:null,void 0!==r?r:_o,void 0!==i?i:null)},Uy.ng=function(t,e){return!!this.c&&(t=this.Ra(t),e=void 0!==e?e:{},this.pc.Ui(t,this.c,void 0!==e.hitTolerance?e.hitTolerance*this.c.pixelRatio:0,void 0!==e.layerFilter?e.layerFilter:_o,null))},Uy.Sd=function(t){return this.Ra(this.ud(t))},Uy.ud=function(t){var e=this.a.getBoundingClientRect();return[(t=t.changedTouches?t.changedTouches[0]:t).clientX-e.left,t.clientY-e.top]},Uy.Xd=function(){return this.get("target")},Uy.Cc=function(){var t=this.Xd();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},Uy.Ra=function(t){var e=this.c;return e?jo(e.pixelToCoordinateTransform,t.slice()):null},Uy.Wf=function(){return this.controls},Uy.gg=function(){return this.l},Uy.fg=function(t){return void 0!==(t=this.Fg[t.toString()])?t:null},Uy.bg=function(){return this.interactions},Uy.hc=function(){return this.get("layergroup")},Uy.Xe=function(){return this.hc().Cd()},Uy.Ia=function(t){var e=this.c;return e?jo(e.coordinateToPixelTransform,t.slice(0,2)):null},Uy.Ie=function(){return this.pc},Uy.Cb=function(){return this.get("size")},Uy.aa=function(){return this.get("view")},Uy.kg=function(){return this.a},Uy.Tl=function(t,e,o,r){var i=this.c;return i&&e in i.wantedTiles&&i.wantedTiles[e][t.lb()]?(t=o[0]-i.focus[0],o=o[1]-i.focus[1],65536*Math.log(r)+Math.sqrt(t*t+o*o)/r):1/0},Uy.yd=function(t,e){t=new ge(e||t.type,this,t),this.bi(t)},Uy.bi=function(t){if(this.c){this.T=t.coordinate,t.frameState=this.c;var e,o=this.interactions.a;if(!1!==this.b(t))for(e=o.length-1;0<=e;e--){var r=o[e];if(r.c()&&!r.handleEvent(t))break}}},Uy.sm=function(){var t=this.c,e=this.ua;if(0!==e.b.length){var o=16,r=o;if(t){var i=t.viewHints;i[0]&&(o=this.ob?8:0,r=2),i[1]&&(o=this.sc?8:0,r=2)}e.j<o&&(Je(e),Ke(e,o,r))}for(o=0,r=(e=this.Ea).length;o<r;++o)e[o](this,t);e.length=0},Uy.um=function(){this.render()},Uy.ym=function(){var t;if(this.Xd()&&(t=this.Cc()),this.s){for(var e=0,o=this.s.length;e<o;++e)Qt(this.s[e]);this.s=null}if(t){t.appendChild(this.a);var r=this.$?this.$:t;this.s=[Xt(r,"keydown",this.yd,this),Xt(r,"keypress",this.yd,this)],this.i||(this.i=this.Oc.bind(this),window.addEventListener("resize",this.i,!1))}else{for(r in(t=this.pc).c)oe(Yn(t,r));kr(this.a),void 0!==this.i&&(window.removeEventListener("resize",this.i,!1),this.i=void 0)}this.Oc()},Uy.zm=function(){this.render()},Uy.ei=function(){this.render()},Uy.Am=function(){this.B&&(Qt(this.B),this.B=null),this.C&&(Qt(this.C),this.C=null);var t=this.aa();t&&(this.a.setAttribute("data-view",r(t)),this.B=Xt(t,"propertychange",this.ei,this),this.C=Xt(t,"change",this.ei,this)),this.render()},Uy.fm=function(){this.D&&(this.D.forEach(Qt),this.D=null);var t=this.hc();t&&(this.D=[Xt(t,"propertychange",this.render,this),Xt(t,"change",this.render,this)]),this.render()},Uy.dh=function(){this.j&&cancelAnimationFrame(this.j),this.V()},Uy.render=function(){void 0===this.j&&(this.j=requestAnimationFrame(this.V))},Uy.Xg=function(t){return this.controls.remove(t)},Uy.Zg=function(t){return this.interactions.remove(t)},Uy.$g=function(t){return this.hc().Cd().remove(t)},Uy.ah=function(t){return this.l.remove(t)},Uy.pq=function(){var t,e=Date.now(),o=this.Cb(),i=this.aa(),n=[1/0,1/0,-1/0,-1/0],s=this.c,a=null;if(void 0!==o&&0<o[0]&&0<o[1]&&i&&Lr(i)){void 0!==(a=this.c?this.c.viewHints:void 0)?(a[0]=i.f[0],a[1]=i.f[1]):a=i.f.slice();var c=this.hc().dg(),u={},p=0;for(t=c.length;p<t;++p)u[r(c[p].layer)]=c[p];p=i.getState(),i=p.center,t=p.resolution/this.ra,i[0]=Math.round(i[0]/t)*t,i[1]=Math.round(i[1]/t)*t,a={animate:!1,coordinateToPixelTransform:this.La,extent:n,focus:this.T?this.T:i,index:this.bb++,layerStates:u,layerStatesArray:c,logos:Zy({},this.Md),pixelRatio:this.ra,pixelToCoordinateTransform:this.If,postRenderFunctions:[],size:o,skippedFeatureUids:this.O,tileQueue:this.ua,time:e,usedTiles:{},viewState:p,viewHints:a,wantedTiles:{}}}a&&(a.extent=H(p.center,p.resolution,p.rotation,a.size,n)),this.c=a,this.pc.bh(a),a&&(a.animate&&this.render(),Array.prototype.push.apply(this.Ea,a.postRenderFunctions),!s||this.f&&(q(this.f)||P(a.extent,this.f))||(this.b(new me("movestart",this,s)),this.f=j(this.f)),!this.f||a.viewHints[0]||a.viewHints[1]||P(a.extent,this.f)||(this.b(new me("moveend",this,a)),_(a.extent,this.f))),this.b(new me("postrender",this,a)),setTimeout(this.sm.bind(this),0)},Uy.zf=function(t){this.set("layergroup",t)},Uy.be=function(t){this.set("size",t)},Uy.Ad=function(t){this.set("target",t)},Uy.jh=function(t){this.set("view",t)},Uy.Uj=function(t){t=r(t).toString(),this.O[t]=!0,this.render()},Uy.Oc=function(){var t=this.Cc();if(t){var e=getComputedStyle(t);this.be([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.be(void 0)},Uy.Zj=function(t){t=r(t).toString(),delete this.O[t],this.render()};var Hm=["canvas","webgl"];e(Ir,ce),Ir.prototype.ia=function(){kr(this.element),ce.prototype.ia.call(this)},Ir.prototype.f=function(){return this.a},Ir.prototype.setMap=function(t){this.a&&kr(this.element);for(var e=0,r=this.s.length;e<r;++e)Qt(this.s[e]);this.s.length=0,(this.a=t)&&((this.T?this.T:t.v).appendChild(this.element),this.render!==o&&this.s.push(Xt(t,"postrender",this.render,this)),t.render())},Ir.prototype.i=function(t){this.T="string"==typeof t?document.getElementById(t):t};var Wm,Bm,Vm=(Bm={},function(t){if(Wm||(Wm=document.createElement("div").style),!(t in Bm)){Wm.font=t;var e=Wm.fontFamily;if(Wm.font="",!e)return null;Bm[t]=e.split(/,\s?/)}return Bm[t]});e(Fr,Dr),(Uy=Fr.prototype).dg=function(t){return(t=t||[]).push(Pr(this)),t},Uy.ha=function(){return this.get("source")||null},Uy.hg=function(){var t=this.ha();return t?t.getState():"undefined"},Uy.yo=function(){this.u()},Uy.wm=function(){this.o&&(Qt(this.o),this.o=null);var t=this.ha();t&&(this.o=Xt(t,"change",this.yo,this)),this.u()},Uy.setMap=function(t){this.s&&(Qt(this.s),this.s=null),t||this.u(),this.v&&(Qt(this.v),this.v=null),t&&(this.s=Xt(t,"precompose",(function(t){var e=Pr(this);e.Te=!1,e.zIndex=1/0,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[r(this)]=e}),this),this.v=Xt(this,"change",t.render,t),this.u())},Uy.hd=function(t){this.set("source",t)},e(Nr,Ir),(Uy=Nr.prototype).Bn=function(t){t.preventDefault(),Wr(this)},Uy.An=function(){return this.j},Uy.Dn=function(t){this.j!==t&&(this.j=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.c&&Wr(this))},Uy.Cn=function(t){this.j&&this.c!==t&&Wr(this)},Uy.zn=function(){return this.c},e(Br,Ir),Br.prototype.D=function(t){t.preventDefault(),void 0!==this.l?this.l():(t=this.a.aa())&&void 0!==t.Sa()&&(0<this.v?t.animate({rotation:0,duration:this.v,easing:go}):t.ce(0))},e(zr,Ir),zr.prototype.j=function(t,e){if(e.preventDefault(),e=this.a.aa()){var o=e.Pa();o&&(t=e.constrainResolution(o,t),0<this.c?(e.Ac()&&e.rd(),e.animate({resolution:t,duration:this.c,easing:go})):e.gd(t))}},e($r,ce),$r.prototype.c=function(){return this.get("active")},$r.prototype.i=function(){return this.v},$r.prototype.Ha=function(t){this.set("active",t)},$r.prototype.setMap=function(t){this.v=t},e(Zr,$r),e(pi,$r),pi.prototype.jd=function(t){return t},e(di,pi),di.prototype.jd=wo,e(gi,pi),gi.prototype.jd=wo,e(wi,ee),wi.prototype.ia=function(){this.setMap(null)},wi.prototype.setMap=function(t){if(this.b){this.b.o.removeChild(this.a);var e=this.a.style;e.left=e.top=e.width=e.height="inherit"}(this.b=t)&&this.b.o.appendChild(this.a)},wi.prototype.U=function(){return this.Uc},e(xi,pi),xi.prototype.U=function(){return this.a.U()},xi.prototype.j=o;var zm="boxstart",Um="boxdrag",Gm="boxend";e(ki,re),e(Di,xi),Di.prototype.j=function(){var t=this.v,e=t.aa(),o=t.Cb(),r=this.U().G();if(this.T){var i=e.qd(o);r=[t.Ia(F(r)),t.Ia(z(r))],t=j(void 0);var n,s=0;for(n=r.length;s<n;++s)Y(t,r[s]);$(i,1/(r=e.Je(t,o))),r=i}o=e.constrainResolution(e.Je(r,o)),i=N(r),i=e.Sc(i),e.animate({resolution:o,center:i,duration:this.B,easing:go})},e(Pi,$r),e(Yi,$r),e(Ei,$r),Ei.prototype.B=function(){this.s=void 0,Or(this.v.aa(),1,-1)},Ei.prototype.T=function(t){(t=t.aa()).Ac()&&t.rd(),Xr(t,-u(this.j,-1,1),this.a,this.D),this.l=void 0,this.j=0,this.a=null,this.o=this.f=void 0},Ei.prototype.V=function(t){this.C=t,t||(this.a=null)};var qm="trackpad",$m="wheel";e(Fi,pi),Fi.prototype.jd=wo,e(Wi,pi),Wi.prototype.jd=wo,e(Gi,ne),Gi.prototype.u=function(){this.b("change")},Gi.prototype.G=function(){return this.extent},Gi.prototype.getState=function(){return this.state},e(qi,Gi),qi.prototype.i=function(t){this.state=t?3:2,this.u()},qi.prototype.load=function(){0==this.state&&(this.state=1,this.u(),this.c(this.i.bind(this)))},qi.prototype.Y=function(){return this.g},e($i,re),e(Ji,ne),(Uy=Ji.prototype).clear=function(){this.i=0,this.a={},this.c=this.g=null,this.b("clear")},Uy.forEach=function(t,e){for(var o=this.g;o;)t.call(e,o.Pc,o.jc,this),o=o.kb},Uy.get=function(t){return c(void 0!==(t=this.a[t]),15),t===this.c||(t===this.g?(this.g=this.g.kb,this.g.Pb=null):(t.kb.Pb=t.Pb,t.Pb.kb=t.kb),t.kb=null,t.Pb=this.c,this.c=this.c.kb=t),t.Pc},Uy.remove=function(t){var e=this.a[t];return c(void 0!==e,15),e===this.c?(this.c=e.Pb)&&(this.c.kb=null):e===this.g?(this.g=e.kb)&&(this.g.Pb=null):(e.kb.Pb=e.Pb,e.Pb.kb=e.kb),delete this.a[t],--this.i,e.Pc},Uy.pop=function(){var t=this.g;return delete this.a[t.jc],t.kb&&(t.kb.Pb=null),this.g=t.kb,this.g||(this.c=null),--this.i,t.Pc},Uy.replace=function(t,e){this.get(t),this.a[t].Pc=e},Uy.set=function(t,e){c(!(t in this.a),16),e={jc:t,kb:null,Pb:this.c,Pc:e},this.c?this.c.kb=e:this.g=e,this.c=e,this.a[t]=e,++this.i};var Jm=[0,0,0,1],Xm=[],Km=[0,0,0,1],Zm=[0,0,0,0],Qm=new Ji,tg={},eg=null,og={},rg=function(){function t(t){var e=Ki();e.font="32px monospace",r=e.measureText("wmytzilWMYTZIL@#/&?$%10").width;var o=!0;return"monospace"!=t&&(e.font="32px "+t+",monospace",o=e.measureText("wmytzilWMYTZIL@#/&?$%10").width!=r),o}function e(){var e,r=!0;for(e in i)60>i[e]&&(t(e)?(i[e]=60,X(og),eg=null,n.clear()):(++i[e],r=!1));r&&(window.clearInterval(o),o=void 0)}var o,r,i=tg,n=Qm;return function(r){if(r=Vm(r))for(var n=0,s=r.length;n<s;++n){var a=r[n];a in i||(i[a]=60,t(a)||(i[a]=0,void 0===o&&(o=window.setInterval(e,32))))}}}(),ig=function(){var t;return function(e){var o=og[e];return null==o&&(t||((t=document.createElement("span")).textContent="M",t.style.margin=t.style.padding="0 !important",t.style.position="absolute !important",t.style.left="-99999px !important"),t.style.font=e,document.body.appendChild(t),o=og[e]=t.offsetHeight,document.body.removeChild(t)),o}}(),ng=[1,0,0,1,0,0],sg=/^#(?:[0-9a-f]{3,4}){1,2}$/i,ag=/^([a-z]*)$/i,cg=function(){var t={},e=0;return function(o){if(t.hasOwnProperty(o))var r=t[o];else{if(1024<=e)for(var i in r=0,t)!(3&r++)&&(delete t[i],--e);if(r=o,ag.exec(r)&&((i=document.createElement("div")).style.color=r,document.body.appendChild(i),r=getComputedStyle(i).color,document.body.removeChild(i)),sg.exec(r)){var n=4>=(i=r.length-1)?1:2,s=4===i||8===i;i=parseInt(r.substr(1+0*n,n),16);var a=parseInt(r.substr(1+1*n,n),16),u=parseInt(r.substr(1+2*n,n),16);r=s?parseInt(r.substr(1+3*n,n),16):255,1==n&&(i=(i<<4)+i,a=(a<<4)+a,u=(u<<4)+u,s&&(r=(r<<4)+r)),n=[i,a,u,r/255]}else 0==r.indexOf("rgba(")?n=rn(r=r.slice(5,-1).split(",").map(Number)):0==r.indexOf("rgb(")?((r=r.slice(4,-1).split(",").map(Number)).push(1),n=rn(r)):c(!1,14);r=n,t[o]=r,++e}return r}}();(Uy=sn.prototype).Hh=function(){},Uy.Hb=function(){},Uy.Dd=function(){},Uy.cc=function(){},Uy.Ce=function(){},Uy.De=function(){},Uy.uc=function(){},Uy.vc=function(){},Uy.wc=function(){},Uy.xc=function(){},Uy.yc=function(){},Uy.zc=function(){},Uy.Wb=function(){},Uy.Oa=function(){},Uy.Zb=function(){},Uy.nb=function(){},e(an,sn),(Uy=an.prototype).cc=function(t){if(G(this.c,t.G())){if(this.a||this.b){this.a&&hn(this,this.a),this.b&&dn(this,this.b);var e=this.N,o=this.o,r=t.da();o=(e=r?Mo(r,0,r.length,t.pa(),e,o):null)[2]-e[0],r=e[3]-e[1],o=Math.sqrt(o*o+r*r),(r=this.g).beginPath(),r.arc(e[0],e[1],o,0,2*Math.PI),this.a&&r.fill(),this.b&&r.stroke()}""!==this.ta&&un(this,t.xa(),2,2)}},Uy.Dd=function(t){this.Oa(t.Fa(),t.Ga()),this.Zb(t.Y()),this.nb(t.Ka())},Uy.Hb=function(t){switch(t.S()){case"Point":this.yc(t);break;case"LineString":this.uc(t);break;case"Polygon":this.zc(t);break;case"MultiPoint":this.wc(t);break;case"MultiLineString":this.vc(t);break;case"MultiPolygon":this.xc(t);break;case"GeometryCollection":this.De(t);break;case"Circle":this.cc(t)}},Uy.Ce=function(t,e){(t=(0,e.cb)(t))&&G(this.c,t.G())&&(this.Dd(e),this.Hb(t))},Uy.De=function(t){var e,o=0;for(e=(t=t.a).length;o<e;++o)this.Hb(t[o])},Uy.yc=function(t){var e=t.da();t=t.pa(),this.M&&cn(this,e,e.length),""!==this.ta&&un(this,e,e.length,t)},Uy.wc=function(t){var e=t.da();t=t.pa(),this.M&&cn(this,e,e.length),""!==this.ta&&un(this,e,e.length,t)},Uy.uc=function(t){if(G(this.c,t.G())){if(this.b){dn(this,this.b);var e=this.g,o=t.da();e.beginPath(),pn(this,o,0,o.length,t.pa(),!1),e.stroke()}""!==this.ta&&un(this,t=t.Fe(),2,2)}},Uy.vc=function(t){var e=t.G();if(G(this.c,e)){if(this.b){dn(this,this.b),e=this.g;var o=t.da(),r=0,i=t.pb(),n=t.pa();e.beginPath();var s,a=0;for(s=i.length;a<s;++a)r=pn(this,o,r,i[a],n,!1);e.stroke()}""!==this.ta&&un(this,t=t.Ge(),t.length,2)}},Uy.zc=function(t){if(G(this.c,t.G())){if(this.b||this.a){this.a&&hn(this,this.a),this.b&&dn(this,this.b);var e=this.g;e.beginPath(),ln(this,t.Xb(),0,t.pb(),t.pa()),this.a&&e.fill(),this.b&&e.stroke()}""!==this.ta&&un(this,t=t.Td(),2,2)}},Uy.xc=function(t){if(G(this.c,t.G())){if(this.b||this.a){this.a&&hn(this,this.a),this.b&&dn(this,this.b);var e,o=this.g,r=Bu(t),i=0,n=t.td(),s=t.pa();o.beginPath();var a=0;for(e=n.length;a<e;++a)i=ln(this,r,i,n[a],s);this.a&&o.fill(),this.b&&o.stroke()}""!==this.ta&&un(this,t=Wu(t),t.length,2)}},Uy.Oa=function(t,e){if(t?(t=t.b,this.a={fillStyle:nn(t||Jm)}):this.a=null,e){t=e.a;var o=e.f,r=e.g,i=e.i,n=e.j,s=e.c;e=e.l,this.b={lineCap:void 0!==o?o:"round",lineDash:r||Xm,lineDashOffset:i||0,lineJoin:void 0!==n?n:"round",lineWidth:this.f*(void 0!==s?s:1),miterLimit:void 0!==e?e:10,strokeStyle:nn(t||Km)}}else this.b=null},Uy.Zb=function(t){if(t){var e=t.Vc(),o=t.Y(1),r=t.bd(),i=t.oc();this.D=e[0],this.C=e[1],this.B=i[1],this.M=o,this.v=t.i,this.V=r[0],this.$=r[1],this.ca=t.s,this.ab=t.f,this.i=t.a*this.f,this.ra=t.v,this.oa=i[0]}else this.M=null},Uy.nb=function(t){if(t){var e=t.Fa();e?(e=e.b,this.j={fillStyle:nn(e||Jm)}):this.j=null;var o=t.Ga();if(o){e=o.a;var r=o.f,i=o.g,n=o.i,s=o.j,a=o.c;o=o.l,this.l={lineCap:void 0!==r?r:"round",lineDash:i||Xm,lineDashOffset:n||0,lineJoin:void 0!==s?s:"round",lineWidth:void 0!==a?a:1,miterLimit:void 0!==o?o:10,strokeStyle:nn(e||Km)}}else this.l=null;e=t.a,r=t.g,i=t.c,n=t.l,s=t.i,a=t.b,o=t.Ka();var c=t.f;t=t.j,this.qa={font:void 0!==e?e:"10px sans-serif",textAlign:void 0!==c?c:"center",textBaseline:void 0!==t?t:"middle"},this.ta=void 0!==o?o:"",this.ua=void 0!==r?this.f*r:0,this.Ub=void 0!==i?this.f*i:0,this.Ea=void 0!==n&&n,this.La=void 0!==s?s:0,this.s=this.f*(void 0!==a?a:1)}else this.ta=""},e(fn,ae),fn.prototype.wa=o,fn.prototype.cf=wo,fn.prototype.Rf=function(t,e,o){return function(r,i){return Wf(t,e,r,i,(function(t){o[r]||(o[r]={}),o[r][t.ya.toString()]=t}))}},fn.prototype.$=function(t){2===t.target.getState()&&mn(this)},e(wn,fn),wn.prototype.s=function(t,e,o,r){if(this.wa(t,e,0,_o,this))return o.call(r,this.a,null)},wn.prototype.pf=function(t,e,o,r){Sn(this,"postcompose",t,e,r)},e(Ln,wn),Ln.prototype.df=function(t,e,o){Sn(this,"precompose",o,t,void 0);var r=this.Y();if(r){var i=e.extent,n=void 0!==i&&!S(i,t.extent)&&G(i,t.extent);n&&Mn(o,t,i),i=this.v();var s=o.globalAlpha;o.globalAlpha=e.opacity,o.drawImage(r,0,0,+r.width,+r.height,Math.round(i[4]),Math.round(i[5]),Math.round(r.width*i[0]),Math.round(r.height*i[3])),o.globalAlpha=s,n&&o.restore()}this.pf(o,t,e)},Ln.prototype.wa=function(t,e,o,r,i){var n=this.a;return n.ha().wa(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,(function(t){return r.call(i,t,n)}))},Ln.prototype.s=function(t,e,r,i){if(this.Y()){if(this.a.ha().wa!==o)return wn.prototype.s.apply(this,arguments);var n=jo(this.l,t.slice());if(po(n,e.viewState.resolution/this.i),this.j||(this.j=Tr(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.Y(),n[0],n[1],1,1,0,0,1,1),0<(n=this.j.getImageData(0,0,1,1).data)[3])return r.call(i,this.a,n)}},e(On,Ln),On.handles=function(t,e){return"canvas"===t&&("IMAGE"===e.S()||"VECTOR"===e.S()&&"image"===e.l)},On.create=function(t,e){var o=new On(e);if("VECTOR"===e.S())for(var r=0,i=Nm.length;r<i;++r){var n=Nm[r];n!==On&&n.handles("canvas",e)&&(n=n.create(t,e),o.c=n)}return o},On.prototype.Y=function(){return this.M?this.M.Y():null},On.prototype.v=function(){return this.f},On.prototype.$c=function(t,e){var o=t.pixelRatio,r=t.size,i=t.viewState,n=i.center,s=i.resolution,a=this.a.ha(),c=t.viewHints,u=t.extent;if(void 0!==e.extent&&(u=B(u,e.extent)),!c[0]&&!c[1]&&!q(u))if(c=i.projection,i=this.c){c=i.context;var p=Zy({},t,{size:[U(u)/s,W(u)/s],viewState:Zy({},t.viewState,{rotation:0})}),l=Object.keys(p.skippedFeatureUids).sort();!i.$c(p,e)||!i.j&&Dt(l,this.o)||(c.canvas.width=p.size[0]*o,c.canvas.height=p.size[1]*o,i.df(p,e,c),this.M=new qi(u,s,o,c.canvas),this.o=l)}else(i=a.Y(u,s,o,c))&&yn(this,i)&&(this.M=i);return this.M&&(u=(i=this.M).G(),c=o*(e=i.resolution)/(s*(i=i.a)),u=Co(this.f,o*r[0]/2,o*r[1]/2,c,c,0,i*(u[0]-n[0])/e,i*(n[1]-u[3])/e),Co(this.l,o*r[0]/2-u[4],o*r[1]/2-u[5],o/s,-o/s,0,-n[0],-n[1]),vn(t,a),this.i=e*o/i),!!this.M},On.prototype.wa=function(t,e,o,r,i){return this.c?this.c.wa(t,e,o,r,i):Ln.prototype.wa.call(this,t,e,o,r,i)},Tn.prototype.clear=function(){this.b={},this.a=0},Tn.prototype.get=function(t,e,o){return(t=e+":"+t+":"+(o?on(o):"null"))in this.b?this.b[t]:null},Tn.prototype.set=function(t,e,o,r){this.b[e+":"+t+":"+(o?on(o):"null")]=r,++this.a},Tn.prototype.c=function(t){this.g=t,jn(this)};var ug=new Tn;e(kn,ee),(Uy=kn.prototype).wa=function(t,e,o,i,n,s,a){function c(t,o){var s=r(t).toString(),a=e.layerStates[r(o)].Te;if(!(s in e.skippedFeatureUids)||a)return i.call(n,t,a?o:null)}var u,p=e.viewState,l=p.resolution,h=p.projection;if(p=t,h.g){var d=U(h=h.G()),f=t[0];(f<h[0]||f>h[2])&&(p=[f+d*Math.ceil((h[0]-f)/d),t[1]])}for(d=(h=e.layerStatesArray).length-1;0<=d;--d){var y=h[d];if(f=y.layer,Ar(y,l)&&s.call(a,f)&&(y=Cn(this,f),f.ha()&&(u=y.wa(f.ha().D?p:t,e,o,c,n)),u))return u}},Uy.Ui=function(t,e,o,r,i){return void 0!==this.wa(t,e,o,_o,this,r,i)},Uy.gm=function(){this.l.render()},Uy.bh=o,Uy.oq=function(t,e){for(var o in this.c)e&&o in e.layerStates||oe(Yn(this,o))},e(In,kn),In.handles=function(t){return"canvas"===t},In.create=function(t,e){return new In(t,e)},In.prototype.S=function(){return"canvas"},In.prototype.bh=function(t){if(t){var e=this.g,o=t.pixelRatio,r=Math.round(t.size[0]*o),i=Math.round(t.size[1]*o);this.b.width!=r||this.b.height!=i?(this.b.width=r,this.b.height=i):e.clearRect(0,0,r,i),o=t.viewState.rotation,Dn(t),Fn(this,"precompose",t);var n,s=t.layerStatesArray;for(Pt(s),o&&(e.save(),Qi(e,o,r/2,i/2)),r=t.viewState.resolution,i=0,n=s.length;i<n;++i){var a=s[i],c=a.layer;c=Cn(this,c),Ar(a,r)&&"ready"==a.Vj&&c.$c(t,a)&&c.df(t,a,e)}o&&e.restore(),Fn(this,"postcompose",t),this.a||(this.b.style.display="",this.a=!0),Rn(this,t),t.postRenderFunctions.push(Pn)}else this.a&&(this.b.style.display="none",this.a=!1)},In.prototype.Ti=function(t,e,o,r,i,n){var s=e.viewState.resolution,a=e.layerStatesArray,c=a.length;for(t=jo(e.pixelToCoordinateTransform,t.slice()),--c;0<=c;--c){var u=a[c],p=u.layer;if(Ar(u,s)&&i.call(n,p)&&(u=Cn(this,p).s(t,e,o,r)))return u}},e(An,Ln),An.handles=function(t,e){return"canvas"===t&&"TILE"===e.S()},An.create=function(t,e){return new An(e)},An.prototype.$c=function(t,e){var o=t.pixelRatio,i=t.size,n=t.viewState,s=n.projection,a=n.resolution;n=n.center;var c=this.a,u=c.ha(),p=u.g,l=u.eb(s),h=l.Dc(a,this.O),d=l.Ta(h),f=Math.round(a/d)||1,y=t.extent;if(void 0!==e.extent&&(y=B(y,e.extent)),q(y))return!1;var m=Ft(l,y,h),v=function(t,e,o){var r=t.Ic(e),i=t.Ta(e);return t=g(t.Za(e),t.f),T(r[0]+o.fa*t[0]*i,r[1]+o.ea*t[1]*i,r[0]+(o.la+1)*t[0]*i,r[1]+(o.ka+1)*t[1]*i,void 0)}(l,h,m),b=u.Xc(o),_={};_[h]={};var w,M,x=this.Rf(u,s,_),L=this.T,O=this.ra,j=!1;for(w=m.fa;w<=m.la;++w)for(M=m.ea;M<=m.ka;++M){var k=u.ad(h,w,M,o,s);if(3==k.getState()&&(c.i()?0<c.c()&&(j=!0):Js(k,2)),Nn(this,k)||(k=qs(k)),Nn(this,k)){var D=r(this);if(2==k.getState()){_[h][k.ya.toString()]=k;var C=!!k.j&&-1!==k.s[D];j||!C&&-1!==this.f.indexOf(k)||(j=!0)}if(1===Xs(k,D,t.time))continue}C=!1,(D=It(l,k.ya,O,L))&&(C=x(h+1,D)),C||Et(l,k.ya,x,O,L)}if(k=(k=t.viewHints)[0]||k[1],!(this.i&&16<Date.now()-t.time&&k||!j&&this.c&&S(this.c,y)&&this.wf==p&&f==this.C&&(k||d*o/b*f==this.i))){for((k=this.context)&&(M=u.Zd(h,o,s),w=Math.round((m.la-m.fa+1)*M[0]/f),M=Math.round((m.ka-m.ea+1)*M[1]/f),(j=k.canvas).width!=w||j.height!=M?(this.C=f,j.width=w,j.height=M):(this.c&&!P(v,this.c)&&k.clearRect(0,0,w,M),f=this.C)),this.f.length=0,(j=Object.keys(_).map(Number)).sort((function(t,e){return t===h?1:e===h?-1:t>e?1:t<e?-1:0})),D=0,C=j.length;D<C;++D){O=j[D],x=u.Zd(O,o,s);var Y=(k=l.Ta(O))/d,R=b*u.Zf(s),E=_[O];for(var I in E)k=E[I],w=((M=l.Ma(k.ya,L))[0]-v[0])/d*b/f,M=(v[3]-M[3])/d*b/f,this.Sf(k,t,e,w,M,x[0]*Y/f,x[1]*Y/f,R,h===O),this.f.push(k)}this.wf=p,this.i=d*o/b*f,this.c=v}return e=this.i/a,e=Co(this.o,o*i[0]/2,o*i[1]/2,e,e,0,(this.c[0]-n[0])/this.i*o,(n[1]-this.c[3])/this.i*o),Co(this.l,o*i[0]/2-e[4],o*i[1]/2-e[5],o/a,-o/a,0,-n[0],-n[1]),bn(t.usedTiles,u,h,m),_n(t,u,l,o,s,y,h,c.c()),gn(t,u),vn(t,u),0<this.f.length},An.prototype.Sf=function(t,e,o,i,n,s,a,c,u){if(o=t.Y(this.a)){var p=r(this),l=u?Xs(t,p,e.time):1;1!==l||this.a.ha().eg(e.viewState.projection)||this.context.clearRect(i,n,s,a);var h=l!==this.context.globalAlpha;h&&(this.context.save(),this.context.globalAlpha=l),this.context.drawImage(o,c,c,o.width-2*c,o.height-2*c,i,n,s,a),h&&this.context.restore(),1!==l?e.animate=!0:u&&t.j&&(t.s[p]=-1)}},An.prototype.Y=function(){var t=this.context;return t?t.canvas:null},An.prototype.v=function(){return this.o};var pg={Jc:function(){}};!function(t){function e(t,e,r,n,s){o(t,e,r||0,n||t.length-1,s||i)}function o(t,e,i,n,s){for(;n>i;){if(600<n-i){var a=n-i+1,c=e-i+1,u=Math.log(a),p=.5*Math.exp(2*u/3);u=.5*Math.sqrt(u*p*(a-p)/a)*(0>c-a/2?-1:1),o(t,e,Math.max(i,Math.floor(e-c*p/a+u)),Math.min(n,Math.floor(e+(a-c)*p/a+u)),s)}for(a=t[e],c=i,p=n,r(t,i,e),0<s(t[n],a)&&r(t,i,n);c<p;){for(r(t,c,p),c++,p--;0>s(t[c],a);)c++;for(;0<s(t[p],a);)p--}0===s(t[i],a)?r(t,i,p):r(t,++p,n),p<=e&&(i=p+1),e<=p&&(n=p-1)}}function r(t,e,o){var r=t[e];t[e]=t[o],t[o]=r}function i(t,e){return t<e?-1:t>e?1:0}function n(t,e){if(!(this instanceof n))return new n(t,e);this.Lf=Math.max(4,t||9),this.wh=Math.max(2,Math.ceil(.4*this.Lf)),e&&this.Ak(e),this.clear()}function s(t,e){a(t,0,t.children.length,e,t)}function a(t,e,o,r,i){i||(i=y(null)),i.fa=1/0,i.ea=1/0,i.la=-1/0,i.ka=-1/0;for(var n;e<o;e++)n=t.children[e],c(i,t.fb?r(n):n);return i}function c(t,e){return t.fa=Math.min(t.fa,e.fa),t.ea=Math.min(t.ea,e.ea),t.la=Math.max(t.la,e.la),t.ka=Math.max(t.ka,e.ka),t}function u(t,e){return t.fa-e.fa}function p(t,e){return t.ea-e.ea}function l(t){return(t.la-t.fa)*(t.ka-t.ea)}function h(t){return t.la-t.fa+(t.ka-t.ea)}function d(t,e){return t.fa<=e.fa&&t.ea<=e.ea&&e.la<=t.la&&e.ka<=t.ka}function f(t,e){return e.fa<=t.la&&e.ea<=t.ka&&e.la>=t.fa&&e.ka>=t.ea}function y(t){return{children:t,height:1,fb:!0,fa:1/0,ea:1/0,la:-1/0,ka:-1/0}}function m(t,e,o,r,i){for(var n,s=[e,o];s.length;)(o=s.pop())-(e=s.pop())<=r||(n=e+Math.ceil((o-e)/r/2)*r,g(t,n,e,o,i),s.push(e,n,n,o))}var g=e;g.default=e,n.prototype={all:function(){return this.rh(this.data,[])},search:function(t){var e=this.data,o=[],r=this.xb;if(!f(t,e))return o;for(var i,n,s,a,c=[];e;){for(i=0,n=e.children.length;i<n;i++)s=e.children[i],f(t,a=e.fb?r(s):s)&&(e.fb?o.push(s):d(t,a)?this.rh(s,o):c.push(s));e=c.pop()}return o},Ok:function(t){var e=this.data,o=this.xb;if(!f(t,e))return!1;for(var r,i,n,s,a=[];e;){for(r=0,i=e.children.length;r<i;r++)if(n=e.children[r],f(t,s=e.fb?o(n):n)){if(e.fb||d(t,s))return!0;a.push(n)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this.wh){for(var e=0,o=t.length;e<o;e++)this.Ca(t[e]);return this}return t=this.th(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.yh(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.vh(t,this.data.height-t.height-1,!0)):this.data=t,this},Ca:function(t){return t&&this.vh(t,this.data.height-1),this},clear:function(){return this.data=y([]),this},remove:function(t,e){if(!t)return this;for(var o,r,i,n,s=this.data,a=this.xb(t),c=[],u=[];s||c.length;){if(s||(s=c.pop(),r=c[c.length-1],o=u.pop(),n=!0),s.fb){t:{i=t;var p=s.children,l=e;if(l){for(var h=0;h<p.length;h++)if(l(i,p[h])){i=h;break t}i=-1}else i=p.indexOf(i)}if(-1!==i){s.children.splice(i,1),c.push(s),this.yk(c);break}}n||s.fb||!d(s,a)?r?(o++,s=r.children[o],n=!1):s=null:(c.push(s),u.push(o),o=0,r=s,s=s.children[0])}return this},xb:function(t){return t},Pf:u,Qf:p,toJSON:function(){return this.data},rh:function(t,e){for(var o=[];t;)t.fb?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},th:function(t,e,o,r){var i,n=o-e+1,a=this.Lf;if(n<=a){var c=y(t.slice(e,o+1));return s(c,this.xb),c}for(r||(r=Math.ceil(Math.log(n)/Math.log(a)),a=Math.ceil(n/Math.pow(a,r-1))),(c=y([])).fb=!1,c.height=r,m(t,e,o,a=(n=Math.ceil(n/a))*Math.ceil(Math.sqrt(a)),this.Pf);e<=o;e+=a){var u=Math.min(e+a-1,o);for(m(t,e,u,n,this.Qf),i=e;i<=u;i+=n)c.children.push(this.th(t,i,Math.min(i+n-1,u),r-1))}return s(c,this.xb),c},xk:function(t,e,o,r){for(var i,n,s,a,c,u,p,h;r.push(e),!e.fb&&r.length-1!==o;){for(p=h=1/0,i=0,n=e.children.length;i<n;i++)c=l(s=e.children[i]),(u=(Math.max(s.la,t.la)-Math.min(s.fa,t.fa))*(Math.max(s.ka,t.ka)-Math.min(s.ea,t.ea))-c)<h?(h=u,p=c<p?c:p,a=s):u===h&&c<p&&(p=c,a=s);e=a||e.children[0]}return e},vh:function(t,e,o){var r=this.xb;o=o?t:r(t),r=[];var i=this.xk(o,this.data,e,r);for(i.children.push(t),c(i,o);0<=e&&r[e].children.length>this.Lf;)this.Dk(r,e),e--;this.uk(o,r,e)},Dk:function(t,e){var o=t[e],r=o.children.length,i=this.wh;this.vk(o,i,r),r=this.wk(o,i,r),(r=y(o.children.splice(r,o.children.length-r))).height=o.height,r.fb=o.fb,s(o,this.xb),s(r,this.xb),e?t[e-1].children.push(r):this.yh(o,r)},yh:function(t,e){this.data=y([t,e]),this.data.height=t.height+1,this.data.fb=!1,s(this.data,this.xb)},wk:function(t,e,o){var r,i,n=i=1/0;for(r=e;r<=o-e;r++){var s=a(t,0,r,this.xb),c=a(t,r,o,this.xb),u=Math.max(0,Math.min(s.la,c.la)-Math.max(s.fa,c.fa))*Math.max(0,Math.min(s.ka,c.ka)-Math.max(s.ea,c.ea));if(s=l(s)+l(c),u<n){n=u;var p=r;i=s<i?s:i}else u===n&&s<i&&(i=s,p=r)}return p},vk:function(t,e,o){var r=t.fb?this.Pf:u,i=t.fb?this.Qf:p;this.sh(t,e,o,r)<(e=this.sh(t,e,o,i))&&t.children.sort(r)},sh:function(t,e,o,r){t.children.sort(r);var i,n=a(t,0,e,r=this.xb),s=a(t,o-e,o,r),u=h(n)+h(s);for(i=e;i<o-e;i++){var p=t.children[i];c(n,t.fb?r(p):p),u+=h(n)}for(i=o-e-1;i>=e;i--)p=t.children[i],c(s,t.fb?r(p):p),u+=h(s);return u},uk:function(t,e,o){for(;0<=o;o--)c(e[o],t)},yk:function(t){for(var e,o=t.length-1;0<=o;o--)0===t[o].children.length?0<o?(e=t[o-1].children).splice(e.indexOf(t[o]),1):this.clear():s(t[o],this.xb)},Ak:function(t){var e=["return a"," - b",";"];this.Pf=new Function("a","b",e.join(t[0])),this.Qf=new Function("a","b",e.join(t[1])),this.xb=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}},t.default=n}(pg.Jc=pg.Jc||{}),pg.Jc=pg.Jc.default;var lg="Polygon Circle LineString Image Text Default".split(" "),hg={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};e(Bn,sn),(Uy=Bn.prototype).Hh=function(t,e,o){$n(this,e);var r,i=t.S(),n=t.pa(),s=this.coordinates.length;if("MultiPolygon"==i){i=Bu(t);for(var a=[],c=t.td(),u=r=0,p=c.length;u<p;++u){var l=[];r=qn(this,i,r,c[u],n,l),a.push(l)}this.a.push([4,s,a,t,o,Ko])}else"Polygon"==i||"MultiLineString"==i?(a=[],qn(this,i="Polygon"==i?t.Xb():t.da(),0,t.pb(),n,a),this.a.push([4,s,a,t,o,Xo])):"LineString"==i||"MultiPoint"==i?(n=Gn(this,i=t.da(),0,i.length,n,!1,!1),this.a.push([4,s,n,t,o,Jo])):"Point"==i&&(i=t.da(),this.coordinates.push(i[0],i[1]),n=this.coordinates.length,this.a.push([4,s,n,t,o]));os(this,e)},Uy.Xa=function(t){if(this.O){var e=jo(this.ca,this.O.slice());t.translate(e[0],e[1]),t.rotate(this.$)}t.fill(),this.O&&t.setTransform.apply(t,ng)},Uy.Na=function(t,e,o,r){this.$=o,Kn(this,t,e,r,this.a,void 0,void 0)},Uy.Oa=function(t,e){var o=this.state;t?(t=t.b,o.fillStyle=nn(t||Jm)):o.fillStyle=void 0,e?(t=e.a,o.strokeStyle=nn(t||Km),t=e.f,o.lineCap=void 0!==t?t:"round",t=e.g,o.lineDash=t?t.slice():Xm,t=e.i,o.lineDashOffset=t||0,t=e.j,o.lineJoin=void 0!==t?t:"round",t=e.c,o.lineWidth=void 0!==t?t:1,e=e.l,o.miterLimit=void 0!==e?e:10,o.lineWidth>this.Wa&&(this.Wa=o.lineWidth,this.i=null)):(o.strokeStyle=void 0,o.lineCap=void 0,o.lineDash=null,o.lineDashOffset=void 0,o.lineJoin=void 0,o.lineWidth=void 0,o.miterLimit=void 0)},Uy.Ah=function(t,e){var o=t.fillStyle;t=[10,o],"string"!=typeof o&&(e=e.G(),t.push([e[0],e[3]])),this.a.push(t)},Uy.pd=function(t){this.a.push([11,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,Un(this,t.lineDash),t.lineDashOffset*this.pixelRatio])},Uy.bf=o,e(is,Bn),is.prototype.yc=function(t,e){if(this.M){$n(this,e);var o=t.da(),r=this.coordinates.length;t=Gn(this,o,0,o.length,t.pa(),!1,!1),this.a.push([6,r,t,this.M,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v*this.pixelRatio,this.o,this.N]),this.b.push([6,r,t,this.V,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v,this.o,this.N]),os(this,e)}},is.prototype.wc=function(t,e){if(this.M){$n(this,e);var o=t.da(),r=this.coordinates.length;t=Gn(this,o,0,o.length,t.pa(),!1,!1),this.a.push([6,r,t,this.M,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v*this.pixelRatio,this.o,this.N]),this.b.push([6,r,t,this.V,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v,this.o,this.N]),os(this,e)}},is.prototype.bf=function(){Qn(this),this.c=this.g=void 0,this.M=this.V=null,this.N=this.o=this.s=this.l=this.C=this.D=this.j=this.v=this.f=void 0},is.prototype.Zb=function(t,e){var o=t.Vc(),r=t.oc(),i=t.Eg(),n=t.Y(1),s=t.bd();this.g=o[0],this.c=o[1],this.B=e,this.V=i,this.M=n,this.f=r[1],this.j=t.i,this.D=s[0],this.C=s[1],this.l=t.s,this.s=t.f,this.v=t.a,this.o=t.v,this.N=r[0]},e(ns,Bn),ns.prototype.uc=function(t,e){var o=this.state,r=o.lineWidth;void 0!==o.strokeStyle&&void 0!==r&&(es(this,o,this.pd),$n(this,e),this.b.push([11,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset],[1]),ss(this,o=t.da(),0,o.length,t.pa()),this.b.push([12]),os(this,e))},ns.prototype.vc=function(t,e){var o=this.state,r=o.lineWidth;if(void 0!==o.strokeStyle&&void 0!==r){es(this,o,this.pd),$n(this,e),this.b.push([11,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset],[1]),o=t.pb(),r=t.da(),t=t.pa();var i,n=0,s=0;for(i=o.length;s<i;++s)n=ss(this,r,n,o[s],t);this.b.push([12]),os(this,e)}},ns.prototype.bf=function(){var t=this.state;null!=t.$d&&t.$d!=this.coordinates.length&&this.a.push([12]),Qn(this),this.state=null},ns.prototype.pd=function(t){null!=t.$d&&t.$d!=this.coordinates.length&&(this.a.push([12]),t.$d=this.coordinates.length),t.$d=0,Bn.prototype.pd.call(this,t),this.a.push([1])},e(as,Bn),as.prototype.cc=function(t,e){var o=this.state,r=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==r){us(this,t),$n(this,e),this.b.push([10,on(Jm)]),void 0!==o.strokeStyle&&this.b.push([11,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset]);var i=t.da();r=this.coordinates.length,Gn(this,i,0,i.length,t.pa(),!1,!1),t=[1],r=[2,r],this.a.push(t,r),this.b.push(t,r),t=[8],this.b.push(t),void 0!==o.fillStyle&&this.a.push(t),void 0!==o.strokeStyle&&(o=[12],this.a.push(o),this.b.push(o)),os(this,e)}},as.prototype.zc=function(t,e){var o=this.state;us(this,t),$n(this,e),this.b.push([10,on(Jm)]),void 0!==o.strokeStyle&&this.b.push([11,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset]),o=t.pb(),cs(this,t.Xb(),0,o,t.pa()),os(this,e)},as.prototype.xc=function(t,e){var o=this.state,r=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==r){us(this,t),$n(this,e),this.b.push([10,on(Jm)]),void 0!==o.strokeStyle&&this.b.push([11,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset]),o=t.td(),r=Bu(t),t=t.pa();var i,n=0,s=0;for(i=o.length;s<i;++s)n=cs(this,r,n,o[s],t);os(this,e)}},as.prototype.bf=function(){Qn(this),this.state=null;var t=this.ob;if(0!==t){var e,o=this.coordinates,r=0;for(e=o.length;r<e;++r)o[r]=t*Math.round(o[r]/t)}},e(ps,Bn),ps.prototype.Wb=function(t,e){var o=this.c,r=this.g,i=this.f;if(""!==this.ta&&i&&(o||r)){o=this.coordinates.length;var n=t.S();r=null;var s=2,a=2;if("line"===i.placement){if(!G(rs(this),t.G()))return;if(r=t.da(),a=t.pa(),"LineString"==n)var c=[r.length];else if("MultiLineString"==n)c=t.pb();else if("Polygon"==n)c=t.pb().slice(0,1);else if("MultiPolygon"==n)for(c=[],s=0,n=(t=t.td()).length;s<n;++s)c.push(t[s][0]);$n(this,e),t=i.textAlign;var u,p=0;n=0;for(var l=c.length;n<l;++n){if(null==t){for(var h,d,f=void 0,y=void 0,m=s=d=h=void 0,g=u=p,v=0,b=0,_=p;p<c[n];p+=a){var w=r[p],M=r[p+1];void 0!==d&&(d=w-d,h=M-h,s=Math.sqrt(d*d+h*h),void 0!==y&&(b+=m,(f=Math.acos((y*d+f*h)/(m*s)))>i.maxAngle&&(b>v&&(v=b,u=_,g=p),b=0,_=p-a)),m=s,y=d,f=h),d=w,h=M}p=(s=b+s>v?[_,p]:[u,g])[0],u=s[1]}else u=c[n];for(s=p;s<u;s+=a)this.coordinates.push(r[s],r[s+1]);s=this.coordinates.length,p=c[n],ls(this,o,s,this.N),o=s}}else{switch(l=(c=this.Y(this.ta,this.j,this.v,this.V)).width/this.pixelRatio,n){case"Point":case"MultiPoint":s=(r=t.da()).length;break;case"LineString":r=t.Fe();break;case"Circle":r=t.xa();break;case"MultiLineString":s=(r=t.Ge()).length;break;case"Polygon":if(r=t.Td(),!i.overflow&&r[2]/this.resolution<l)return;a=3;break;case"MultiPolygon":for(r=[],s=0,n=(u=Wu(t)).length;s<n;s+=3)(i.overflow||u[s+2]/this.resolution>=l)&&r.push(u[s],u[s+1]);if(0==(s=r.length))return}s=Gn(this,r,0,s,a,!1,!1),$n(this,e),(i.backgroundFill||i.backgroundStroke)&&(this.Oa(i.backgroundFill,i.backgroundStroke),ts(this,this.state,this.Ah,t),es(this,this.state,this.pd)),function(t,e,o,r){var i=t.f,n=t.g,s=t.pixelRatio,a=hg[i.textAlign||"center"],c=hg[i.textBaseline];n=n&&n.lineWidth?n.lineWidth:0,a=a*e.width/s+2*(.5-a)*n,c=c*e.height/s+2*(.5-c)*n,t.a.push([6,o,r,e,(a-t.D)*s,(c-t.l)*s,t.N,e.height,1,0,0,t.C,t.B,1,!0,e.width,i.padding==Zm?Zm:i.padding.map((function(t){return t*s})),!!i.backgroundFill,!!i.backgroundStroke]),t.b.push([6,o,r,e,(a-t.D)*s,(c-t.l)*s,t.N,e.height,1,0,0,t.C,t.B,1/s,!0,e.width,i.padding,!!i.backgroundFill,!!i.backgroundStroke])}(this,c,o,s)}os(this,e)}},ps.prototype.Y=function(t,e,o,r){var i=r+e+t+o+this.pixelRatio;if(!Qm.a.hasOwnProperty(i)){var n=r?this.ab[r]||this.g:null,s=o?this.o[o]||this.c:null,a=this.s[e]||this.f,c=a.scale*this.pixelRatio,u=hg[a.textAlign||"center"];e=r&&n.lineWidth?n.lineWidth:0;var p,l=(t=t.split("\n")).length,h=[],d=a.font,f=t.length,y=0;for(p=0;p<f;++p){var m=Zi(d,t[p]);y=Math.max(y,m),h.push(m)}if(f=y,d=ig(a.font),y=(f=Tr(Math.ceil((f+e)*c),Math.ceil((d*l+e)*c))).canvas,Qm.set(i,y),1!=c&&f.scale(c,c),f.font=a.font,r&&(f.strokeStyle=n.strokeStyle,f.lineWidth=e*(bm?c:1),f.lineCap=n.lineCap,f.lineJoin=n.lineJoin,f.miterLimit=n.miterLimit,Sm&&n.lineDash.length&&(f.setLineDash(n.lineDash),f.lineDashOffset=n.lineDashOffset)),o&&(f.fillStyle=s.fillStyle),f.textBaseline="middle",f.textAlign="center",n=.5-u,s=u*y.width/c+n*e,r)for(r=0;r<l;++r)f.strokeText(t[r],s+n*h[r],.5*(e+d)+r*d);if(o)for(r=0;r<l;++r)f.fillText(t[r],s+n*h[r],.5*(e+d)+r*d)}return Qm.get(i)},ps.prototype.nb=function(t,e){var o,i;if(t){if(this.N=e,(i=t.Fa())?((e=this.c)||(e=this.c={}),e.fillStyle=nn(i.b||Jm)):e=this.c=null,o=t.Ga()){(i=this.g)||(i=this.g={});var n=o.g,s=o.i,a=o.c,c=o.l;i.lineCap=o.f||"round",i.lineDash=n?n.slice():Xm,i.lineDashOffset=void 0===s?0:s,i.lineJoin=o.j||"round",i.lineWidth=void 0===a?1:a,i.miterLimit=void 0===c?10:c,i.strokeStyle=nn(o.a||Km)}else i=this.g=null;o=this.f,n=t.a||"10px sans-serif",rg(n),s=t.b,o.overflow=t.v,o.font=n,o.maxAngle=t.s,o.placement=t.o,o.textAlign=t.f,o.textBaseline=t.j||"middle",o.backgroundFill=t.N,o.backgroundStroke=t.D,o.padding=t.C||Zm,o.scale=void 0===s?1:s,n=t.g,s=t.c,a=t.l,c=t.i,this.ta=t.Ka()||"",this.D=void 0===n?0:n,this.l=void 0===s?0:s,this.C=void 0!==a&&a,this.B=void 0===c?0:c,this.V=i?("string"==typeof i.strokeStyle?i.strokeStyle:r(i.strokeStyle))+i.lineCap+i.lineDashOffset+"|"+i.lineWidth+i.lineJoin+i.miterLimit+"["+i.lineDash.join()+"]":"",this.j=o.font+o.scale+(o.textAlign||"?"),this.v=e?"string"==typeof e.fillStyle?e.fillStyle:"|"+r(e.fillStyle):""}else this.ta=""},e(hs,Hn);var dg={0:[[!0]]};(Uy=hs.prototype).Vb=function(t){var e=null;return this.a&&(t?(e=this.g)[4]++:(e=this.g=[1/0,1/0,-1/0,-1/0]).push(1)),e},Uy.wa=function(t,e,o,r,i,n,s){function a(t){for(var e=p.getImageData(0,0,c,c).data,o=0;o<c;o++)for(var r=0;r<c;r++)if(d[o][r]&&0<e[4*(r*c+o)+3]){if(!h||"Image"!=m&&"Text"!=m||-1!==h.indexOf(t))var i=n(t);return i||void p.clearRect(0,0,c,c)}}var c=2*(r=Math.round(r))+1,u=Co(this.j,r+.5,r+.5,1/e,-1/e,-o,-t[0],-t[1]),p=this.f;if(p.canvas.width!==c||p.canvas.height!==c?(p.canvas.width=c,p.canvas.height=c):p.clearRect(0,0,c,c),void 0!==this.i){var l=[1/0,1/0,-1/0,-1/0];Y(l,t),b(l,e*(this.i+r),l)}var h,d=function(t){if(void 0!==dg[t])return dg[t];for(var e=2*t+1,o=Array(e),r=0;r<e;r++)o[r]=Array(e);e=t;for(var i=r=0;e>=r;)ds(o,t+e,t+r),ds(o,t+r,t+e),ds(o,t-r,t+e),ds(o,t-e,t+r),ds(o,t-e,t-r),ds(o,t-r,t-e),ds(o,t+r,t-e),ds(o,t+e,t-r),0<2*((i+=1+2*++r)-e)+1&&(i+=1-2*--e);return dg[t]=o}(r);for(this.a&&(h=this.a.all().map((function(t){return t.value}))),(t=Object.keys(this.b).map(Number)).sort(Lt),e=t.length-1;0<=e;--e){var f=t[e].toString(),y=this.b[f];for(r=lg.length-1;0<=r;--r){var m=lg[r],g=y[m];if(void 0!==g)if(!s||"Image"!=m&&"Text"!=m){if(g=Zn(g,p,u,o,i,a,l))return g}else{var v=s[f];v?v.push(g,u.slice(0)):s[f]=[g,u.slice(0)]}}}},Uy.Ja=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.b[o])&&(t={},this.b[o]=t),void 0===(o=t[e])&&(o=new fg[e](this.o,this.c,this.v,this.s,this.l,this.a),t[e]=o),o},Uy.yg=function(){return Z(this.b)},Uy.Na=function(t,e,o,r,i,n){var s=Object.keys(this.b).map(Number);s.sort(Lt),t.save();var a,c,u=ys(this,e);for(t.beginPath(),t.moveTo(u[0],u[1]),t.lineTo(u[2],u[3]),t.lineTo(u[4],u[5]),t.lineTo(u[6],u[7]),t.clip(),i=i||lg,u=0,a=s.length;u<a;++u){var p=s[u].toString(),l=this.b[p],h=0;for(c=i.length;h<c;++h){var d=i[h],f=l[d];void 0!==f&&(!n||"Image"!=d&&"Text"!=d?f.Na(t,e,o,r):(d=n[p])?d.push(f,e.slice(0)):n[p]=[f,e.slice(0)])}}t.restore()};var fg={Circle:as,Default:Bn,Image:is,LineString:ns,Polygon:as,Text:ps},yg={Point:function(t,e,o,r){var i=o.Y();if(i){if(2!=i.gf())return;var n=t.Ja(o.Ba(),"Image");n.Zb(i,t.Vb(!1)),n.yc(e,r)}(n=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(n,t.Vb(!!i)),o.Wb(e,r))},LineString:function(t,e,o,r){var i=o.Ga();if(i){var n=t.Ja(o.Ba(),"LineString");n.Oa(null,i),n.uc(e,r)}(i=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(i,t.Vb(!1)),o.Wb(e,r))},Polygon:function(t,e,o,r){var i=o.Fa(),n=o.Ga();if(i||n){var s=t.Ja(o.Ba(),"Polygon");s.Oa(i,n),s.zc(e,r)}(i=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(i,t.Vb(!1)),o.Wb(e,r))},MultiPoint:function(t,e,o,r){var i=o.Y();if(i){if(2!=i.gf())return;var n=t.Ja(o.Ba(),"Image");n.Zb(i,t.Vb(!1)),n.wc(e,r)}(n=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(n,t.Vb(!!i)),o.Wb(e,r))},MultiLineString:function(t,e,o,r){var i=o.Ga();if(i){var n=t.Ja(o.Ba(),"LineString");n.Oa(null,i),n.vc(e,r)}(i=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(i,t.Vb(!1)),o.Wb(e,r))},MultiPolygon:function(t,e,o,r){var i=o.Fa(),n=o.Ga();if(n||i){var s=t.Ja(o.Ba(),"Polygon");s.Oa(i,n),s.xc(e,r)}(i=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(i,t.Vb(!1)),o.Wb(e,r))},GeometryCollection:function(t,e,o,r){var i,n=0;for(i=(e=e.a).length;n<i;++n)(0,yg[e[n].S()])(t,e[n],o,r)},Circle:function(t,e,o,r){var i=o.Fa(),n=o.Ga();if(i||n){var s=t.Ja(o.Ba(),"Circle");s.Oa(i,n),s.cc(e,r)}(i=o.Ka())&&((o=t.Ja(o.Ba(),"Text")).nb(i,t.Vb(!1)),o.Wb(e,r))}};e(_s,wn),_s.handles=function(t,e){return"canvas"===t&&"VECTOR"===e.S()},_s.create=function(t,e){return new _s(e)},(Uy=_s.prototype).ia=function(){Zt(Qm,"clear",this.Vi,this),wn.prototype.ia.call(this)},Uy.df=function(t,e,o){var r=t.extent,i=t.pixelRatio,n=e.Te?t.skippedFeatureUids:{},s=t.viewState,a=s.projection,c=s.rotation,u=a.G(),p=this.a.ha(),l=xn(this,t,0);Sn(this,"precompose",o,t,l);var h=e.extent;(s=void 0!==h)&&Mn(o,t,h);var d=this.c;if(d&&!d.yg()){this.f&&this.f.clear();var f=h=0,y=1!==e.opacity,m=se(this.a,"render");if(y||m){var g=o.canvas.width,v=o.canvas.height;if(c){var b=Math.round(Math.sqrt(g*g+v*v));h=(b-g)/2,f=(b-v)/2,g=v=b}this.context.canvas.width=g,this.context.canvas.height=v,g=this.context}else g=o;if(v=g.globalAlpha,y||(g.globalAlpha=e.opacity),g!=o&&g.translate(h,f),Qi(g,-c,(b=t.size[0]*i)/2,(i*=t.size[1])/2),d.Na(g,l,c,n),p.D&&a.g&&!S(u,r)){a=r[0],p=U(u);for(var _=0;a<u[0];)l=xn(this,t,l=p*--_),d.Na(g,l,c,n),a+=p;for(_=0,a=r[2];a>u[2];)l=xn(this,t,l=p*++_),d.Na(g,l,c,n),a-=p;l=xn(this,t,0)}Qi(g,c,b/2,i/2),g!=o&&(m&&Sn(this,"render",g,t,l),y?(r=o.globalAlpha,o.globalAlpha=e.opacity,o.drawImage(g.canvas,-h,-f),o.globalAlpha=r):o.drawImage(g.canvas,-h,-f),g.translate(-h,-f)),y||(g.globalAlpha=v)}s&&o.restore(),this.pf(o,t,e,l)},Uy.wa=function(t,e,o,i,n){if(this.c){var s=this.a,a={};return this.c.wa(t,e.viewState.resolution,e.viewState.rotation,o,{},(function(t){var e=r(t).toString();if(!(e in a))return a[e]=!0,i.call(n,t,s)}),null)}},Uy.Vi=function(){var t=this.a;t.Jb()&&this.c&&t.u()},Uy.Wi=function(){mn(this)},Uy.$c=function(t){var e=this.a,o=e.ha();vn(t,o);var r=t.viewHints[0],i=t.viewHints[1],n=e.ca,s=e.ra;if(!this.i&&!n&&r||!s&&i)return!0;n=t.extent;var a=t.viewState;s=a.projection;var c=a.resolution,u=t.pixelRatio;r=e.g;var p=e.f;if(void 0===(i=e.get(Fw))&&(i=ms),n=b(n,p*c),p=a.projection.G(),o.D&&a.projection.g&&!S(p,t.extent)&&(t=Math.max(U(n)/2,U(p)),n[0]=p[0]-t,n[2]=p[2]+t),!this.i&&this.o==c&&this.N==r&&this.v==i&&S(this.l,n))return this.j=!1,!0;this.c=null,this.i=!1;var l=new hs(.5*c/u,n,c,u,o.$,this.f,e.f);if(o.ae(n,c,s),t=function(t){var o=t.ib();if(o)var r=o.call(t,c);else(o=e.ib())&&(r=o(t,c));if(r){if(r){if(o=!1,Array.isArray(r))for(var i=0,n=r.length;i<n;++i)o=vs(l,t,r[i],gs(c,u),this.Wi,this)||o;else o=vs(l,t,r,gs(c,u),this.Wi,this);t=o}else t=!1;this.i=this.i||t}}.bind(this),i){var h=[];for(o.ec(n,(function(t){h.push(t)}),this),h.sort(i),o=0,s=h.length;o<s;++o)t(h[o])}else o.ec(n,t,this);return fs(l),this.o=c,this.N=r,this.v=i,this.l=n,this.c=l,this.j=!0},e(ws,An),ws.handles=function(t,e){return"canvas"===t&&"VECTOR_TILE"===e.S()},ws.create=function(t,e){return new ws(e)};var mg={image:["Polygon","Circle","LineString","Image","Text"],hybrid:["Polygon","LineString"]},gg={image:["Default"],hybrid:["Image","Text","Default"],vector:lg};(Uy=ws.prototype).ia=function(){Zt(Qm,"clear",this.Xi,this),An.prototype.ia.call(this)},Uy.$c=function(t,e){var o=this.a,r=o.g;return this.B!=r&&(this.f.length=0,o=o.l,this.context||"vector"==o||(this.context=Tr()),this.context&&"vector"==o&&(this.context=null)),this.B=r,An.prototype.$c.apply(this,arguments)},Uy.Sf=function(t,e,o,i,n,s,a,c,u){var p=t,l=this.a,h=e.pixelRatio,d=e.viewState.projection,f=l.g,y=l.get(Fw)||null,m=Iy(p,l);if(m.Be||m.wf!=f||m.eh!=y){var g=l.ha(),v=g.tileGrid,_=g.eb(d),w=_.Ta(p.ya[0]);_=_.Ma(p.l);for(var M=0,S=p.a.length;M<S;++M){var x=p.c[p.a[M]];if(3!=x.getState()){var L=v.Ma(x.ya),O=B(_,L),T=P(L,O)?null:b(O,l.f*w),j=x.o,k=!1;gt(d,j)||(k=!0,x.vg(d)),m.Be=!1,O=new hs(0,O,w,h,g.s,this.N,l.f);var D=gs(w,h),C=x.a;y&&y!==m.eh&&C.sort(y);for(var Y,R=0,E=C.length;R<E;++R)if(Y=C[R],k&&("tile-pixels"==j.a&&(j.Sj(L),j.Si(x.G())),Y.U().mb(j,d)),!T||G(T,Y.U().G())){var I=void 0,F=Y.ib();if(F?I=F.call(Y,w):(F=l.ib())&&(I=F(Y,w)),I){F=D;var A=O;if(I){var N=!1;if(Array.isArray(I))for(var H=0,W=I.length;H<W;++H)N=vs(A,Y,I[H],F,this.Yi,this)||N;else N=vs(A,Y,I,F,this.Yi,this);Y=N}else Y=!1;this.D=this.D||Y,m.Be=m.Be||Y}}for(var V in fs(O),O.b);L=p.ya.toString(),T=O,x.f[r(l)+","+L]=T}}m.wf=f,m.eh=y}if(this.context){if(m=e,d=Iy(p,l=this.a),f=l.g,(h=mg[l.l])&&d.fh!==f)for(d.fh=f,w=(g=p.l)[0],d=m.pixelRatio,f=(v=(V=l.ha()).eb(m.viewState.projection)).Ta(w),y=Ey(p,l),m=V.Zd(w,d,m.viewState.projection),y.canvas.width=m[0],y.canvas.height=m[1],m=v.Ma(g),g=0,v=p.a.length;g<v;++g)3!=(w=p.c[p.a[g]]).getState()&&(V=d/f,Do(_=xo(this.ca),V,-V),Po(_,-m[0],-m[3]),Bc(w,l,p.ya.toString()).Na(y,_,0,{},h));An.prototype.Sf.apply(this,arguments)}},Uy.wa=function(t,e,o,i,n){var s=e.viewState.resolution,a=e.viewState.rotation;o=null==o?0:o;var c=this.a,u={},p=this.f;e=c.ha().eb(e.viewState.projection);var l,h=0;for(l=p.length;h<l;++h){var d=p[h],f=d.l,y=b(f=e.Ma(f,this.T),o*s,y);if(M(y,t)){f=0;for(var m=d.a.length;f<m;++f){var g=d.c[d.a[f]];if(3!=g.getState()){g=Bc(g,c,d.ya.toString());var v=v||g.wa(t,s,a,o,{},(function(t){var e=r(t).toString();if(!(e in u))return u[e]=!0,i.call(n,t,c)}),null)}}}}return v},Uy.Xi=function(){var t=this.a;t.Jb()&&void 0!==this.B&&t.u()},Uy.Yi=function(){mn(this)},Uy.pf=function(t,e,o){var r=this.a,i=r.D?{}:null,n=r.ha(),s=r.l,a=gg[s],c=e.pixelRatio,u=e.viewState.rotation,p=e.size;if(u){var l=Math.round(c*p[0]/2),h=Math.round(c*p[1]/2);Qi(t,-u,l,h)}i&&this.N.clear(),c=this.f,n=n.eb(e.viewState.projection),p=[];for(var d=[],f=c.length-1;0<=f;--f){var y=c[f];if(5!=y.getState())for(var m=y.ya,g=n.Ma(m)[0]-n.Ma(y.l)[0],v=void 0,b=0,_=y.a.length;b<_;++b){var w=y.c[y.a[b]];if(3!=w.getState()){var M,S=Bc(w,r,m.toString());if(!(M="vector"==s))t:{for(M in M=void 0,S.b)for(var x=S.b[M],L=0,O=a.length;L<O;++L)if(a[L]in x){M=!0;break t}M=!1}if(M){for(v||(v=xn(this,e,g)),w=w.ya[0],M=ys(S,v),t.save(),t.globalAlpha=o.opacity,x=0,L=p.length;x<L;++x)O=p[x],w<d[x]&&(t.beginPath(),t.moveTo(M[0],M[1]),t.lineTo(M[2],M[3]),t.lineTo(M[4],M[5]),t.lineTo(M[6],M[7]),t.moveTo(O[6],O[7]),t.lineTo(O[4],O[5]),t.lineTo(O[2],O[3]),t.lineTo(O[0],O[1]),t.clip());S.Na(t,v,u,{},a,i),t.restore(),p.push(M),d.push(w)}}}}if(i)for(r=t,a={},c=0,n=(s=Object.keys(i).map(Number).sort(Lt)).length;c<n;++c)for(d=0,f=(p=i[s[c].toString()]).length;d<f;)y=p[d++],m=p[d++],y.Na(r,m,u,a);u&&Qi(t,u,l,h),An.prototype.pf.apply(this,arguments)},Yr("MAP_RENDERER",In),Rr([On,An,_s,ws]),e(Ms,Er),e(Ss,ce),(Uy=Ss.prototype).ia=function(){this.rg(!1),ce.prototype.ia.call(this)},Uy.Dp=function(t){if(null!==t.alpha){var e=h(t.alpha);this.set(vg,e),"boolean"==typeof t.absolute&&t.absolute?this.set(wg,e):"number"==typeof t.webkitCompassHeading&&-1!=t.webkitCompassAccuracy&&this.set(wg,h(t.webkitCompassHeading))}null!==t.beta&&this.set(bg,h(t.beta)),null!==t.gamma&&this.set(_g,h(t.gamma)),this.u()},Uy.Ym=function(){return this.get(vg)},Uy.ll=function(){return this.get(bg)},Uy.ql=function(){return this.get(_g)},Uy.Zm=function(){return this.get(wg)},Uy.li=function(){return this.get(Mg)},Uy.$m=function(){if(Lm){var t=this.li();t&&!this.a?this.a=Xt(window,"deviceorientation",this.Dp,this):t||null===this.a||(Qt(this.a),this.a=null)}},Uy.rg=function(t){this.set(Mg,t)};var vg="alpha",bg="beta",_g="gamma",wg="heading",Mg="tracking";(Uy=xs.prototype).hf=function(){return this.i},Uy.jf=function(){return this.s},Uy.kf=function(){return this.f},Uy.lf=function(){return this.a},Uy.Ke=function(){return this.v},Uy.Ed=function(t){this.i=t},Uy.mf=function(t){this.f=t},Uy.Fd=function(t){this.a=t},e(Ls,xs),(Uy=Ls.prototype).clone=function(){var t=new Ls({fill:this.Fa()?this.Fa().clone():void 0,points:this.l,radius:this.b,radius2:this.g,angle:this.j,snapToPixel:this.v,stroke:this.Ga()?this.Ga().clone():void 0,rotation:this.f,rotateWithView:this.s,atlasManager:this.N});return t.Ed(this.i),t.Fd(this.a),t},Uy.Vc=function(){return this.C},Uy.ij=function(){return this.j},Uy.Fa=function(){return this.Xa},Uy.Eg=function(){return this.D},Uy.Y=function(){return this.o},Uy.He=function(){return this.B},Uy.gf=function(){return 2},Uy.bd=function(){return this.oa},Uy.jj=function(){return this.l},Uy.kj=function(){return this.b},Uy.Zh=function(){return this.g},Uy.oc=function(){return this.qa},Uy.Ga=function(){return this.Ya},Uy.gi=function(){},Uy.load=function(){},Uy.Yj=function(){},Uy.Jh=function(t,e,o,r){e.setTransform(1,0,0,1,0,0),e.translate(o,r),e.beginPath();var i=this.l;if(1/0===i)e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else{var n=void 0!==this.g?this.g:this.b;for(n!==this.b&&(i*=2),o=0;o<=i;o++){r=2*o*Math.PI/i-Math.PI/2+this.j;var s=0==o%2?this.b:n;e.lineTo(t.size/2+s*Math.cos(r),t.size/2+s*Math.sin(r))}}this.Xa&&(null===(o=this.Xa.b)&&(o=Jm),e.fillStyle=nn(o),e.fill()),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Wj,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},Uy.Ih=function(t,e,o,r){var i;if(e.setTransform(1,0,0,1,0,0),e.translate(o,r),e.beginPath(),1/0===(o=this.l))e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else for((r=void 0!==this.g?this.g:this.b)!==this.b&&(o*=2),i=0;i<=o;i++){var n=2*i*Math.PI/o-Math.PI/2+this.j,s=0==i%2?this.b:r;e.lineTo(t.size/2+s*Math.cos(n),t.size/2+s*Math.sin(n))}e.fillStyle=Jm,e.fill(),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Wj,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.stroke()),e.closePath()},e(Ts,Ls),Ts.prototype.clone=function(){var t=new Ts({fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,radius:this.b,snapToPixel:this.v,atlasManager:this.N});return t.Ed(this.i),t.Fd(this.a),t},Ts.prototype.fd=function(t){this.b=t,Os(this,this.N)},js.prototype.clone=function(){var t=this.b;return new js({color:t&&t.slice?t.slice():t||void 0})},js.prototype.g=function(){return this.b},js.prototype.c=function(t){this.b=t,this.a=void 0},(Uy=ks.prototype).clone=function(){var t=this.a;return new ks({color:t&&t.slice?t.slice():t||void 0,lineCap:this.f,lineDash:this.g?this.g.slice():void 0,lineDashOffset:this.i,lineJoin:this.j,miterLimit:this.l,width:this.c})},Uy.pp=function(){return this.a},Uy.vl=function(){return this.f},Uy.qp=function(){return this.g},Uy.wl=function(){return this.i},Uy.xl=function(){return this.j},Uy.Dl=function(){return this.l},Uy.rp=function(){return this.c},Uy.sp=function(t){this.a=t,this.b=void 0},Uy.yq=function(t){this.f=t,this.b=void 0},Uy.setLineDash=function(t){this.g=t,this.b=void 0},Uy.zq=function(t){this.i=t,this.b=void 0},Uy.Aq=function(t){this.j=t,this.b=void 0},Uy.Eq=function(t){this.l=t,this.b=void 0},Uy.Kq=function(t){this.c=t,this.b=void 0},(Uy=Ds.prototype).clone=function(){var t=this.U();return t&&t.clone&&(t=t.clone()),new Ds({geometry:t,fill:this.Fa()?this.Fa().clone():void 0,image:this.Y()?this.Y().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,text:this.Ka()?this.Ka().clone():void 0,zIndex:this.Ba()})},Uy.Ie=function(){return this.pc},Uy.Iq=function(t){this.pc=t},Uy.U=function(){return this.Uc},Uy.rl=function(){return this.cb},Uy.Fa=function(){return this.Xa},Uy.yf=function(t){this.Xa=t},Uy.Y=function(){return this.M},Uy.ih=function(t){this.M=t},Uy.Ga=function(){return this.Ya},Uy.Af=function(t){this.Ya=t},Uy.Ka=function(){return this.ta},Uy.Hd=function(t){this.ta=t},Uy.Ba=function(){return this.bk},Uy.Va=function(t){"function"==typeof t?this.cb=t:"string"==typeof t?this.cb=function(e){return e.get(t)}:t?void 0!==t&&(this.cb=function(){return t}):this.cb=Rs,this.Uc=t},Uy.$b=function(t){this.bk=t};var Sg=null;e(Es,ce),(Uy=Es.prototype).clone=function(){var t=new Es(this.L());t.Lc(this.a);var e=this.U();return e&&t.Va(e.clone()),(e=this.f)&&t.sg(e),t},Uy.U=function(){return this.get(this.a)},Uy.an=function(){return this.c},Uy.sl=function(){return this.a},Uy.bn=function(){return this.f},Uy.ib=function(){return this.j},Uy.bm=function(){this.u()},Uy.Oe=function(){this.i&&(Qt(this.i),this.i=null);var t=this.U();t&&(this.i=Xt(t,"change",this.bm,this)),this.u()},Uy.Va=function(t){this.set(this.a,t)},Uy.sg=function(t){this.j=(this.f=t)?function(t){var e;if("function"==typeof t)e=2==t.length?function(e){return t(this,e)}:t;else{if(Array.isArray(t))var o=t;else c(t instanceof Ds,41),o=[t];e=function(){return o}}return e}(t):void 0,this.u()},Uy.qc=function(t){this.c=t,this.u()},Uy.Lc=function(t){Zt(this,ue(this.a),this.Oe,this),this.a=t,Xt(this,ue(this.a),this.Oe,this),this.Oe()},e(Is,ce),(Uy=Is.prototype).ia=function(){this.Ue(!1),ce.prototype.ia.call(this)},Uy.en=function(){var t=this.mi();t&&(this.i=bt(mt("EPSG:4326"),t),this.a&&this.set("position",this.i(this.a)))},Uy.fn=function(){if(Om){var t=this.ni();t&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.Pp.bind(this),this.Qp.bind(this),this.ai()):t||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0)}},Uy.Pp=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:h(t.heading)),this.a?(this.a[0]=t.longitude,this.a[1]=t.latitude):this.a=[t.longitude,t.latitude],this.set("position",this.i(this.a)),this.set("speed",null===t.speed?void 0:t.speed),(t=yr(this.f,this.a,t.accuracy)).Rc(this.i),this.set("accuracyGeometry",t),this.u()},Uy.Qp=function(t){t.type="error",this.Ue(!1),this.b(t)},Uy.el=function(){return this.get("accuracy")},Uy.fl=function(){return this.get("accuracyGeometry")||null},Uy.gl=function(){return this.get("altitude")},Uy.hl=function(){return this.get("altitudeAccuracy")},Uy.cn=function(){return this.get("heading")},Uy.dn=function(){return this.get("position")},Uy.mi=function(){return this.get("projection")},Uy.Ol=function(){return this.get("speed")},Uy.ni=function(){return this.get("tracking")},Uy.ai=function(){return this.get("trackingOptions")},Uy.oi=function(t){this.set("projection",mt(t))},Uy.Ue=function(t){this.set("tracking",t)},Uy.Rj=function(t){this.set("trackingOptions",t)},e(Ns,Eo),(Uy=Ns.prototype).Fk=function(t){this.A?jt(this.A,t):this.A=t.slice(),this.u()},Uy.clone=function(){var t=new Ns(null);return t.ba(this.ja,this.A.slice()),t},Uy.Nb=function(t,e,o,r){return r<w(this.G(),t,e)?r:(this.o!=this.g&&(this.D=Math.sqrt(Bo(this.A,0,this.A.length,this.a,0)),this.o=this.g),zo(this.A,0,this.A.length,this.a,this.D,!1,t,e,o,r))},Uy.dl=function(t,e){return ar(this.A,0,this.A.length,this.a,t,e)},Uy.Tn=function(t,e){return"XYM"!=this.ja&&"XYZM"!=this.ja?null:As(this.A,0,this.A.length,this.a,t,void 0!==e&&e)},Uy.W=function(){return Jo(this.A,0,this.A.length,this.a)},Uy.Ph=function(t,e){return Fs(this.A,0,this.A.length,this.a,t,e)},Uy.Un=function(){return Wn(this.A,0,this.A.length,this.a)},Uy.Fe=function(){return this.j!=this.g&&(this.c=this.Ph(.5,this.c),this.j=this.g),this.c},Uy.xd=function(t){var e=[];return e.length=Zo(this.A,0,this.A.length,this.a,t,e,0),(t=new Ns(null)).ba("XY",e),t},Uy.S=function(){return"LineString"},Uy.$a=function(t){return cr(this.A,0,this.A.length,this.a,t)},Uy.na=function(t,e){t?(Ao(this,e,t,1),this.A||(this.A=[]),this.A.length=qo(this.A,0,t,this.a),this.u()):this.ba("XY",null)},Uy.ba=function(t,e){Fo(this,t,e),this.u()},(Uy=Ws.prototype).clone=function(){return new Ws({font:this.a,placement:this.o,maxAngle:this.s,overflow:this.v,rotation:this.i,rotateWithView:this.l,scale:this.b,text:this.Ka(),textAlign:this.f,textBaseline:this.j,fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,offsetX:this.g,offsetY:this.c})},Uy.Gl=function(){return this.v},Uy.pl=function(){return this.a},Uy.Bl=function(){return this.s},Uy.Kl=function(){return this.o},Uy.El=function(){return this.g},Uy.Fl=function(){return this.c},Uy.Fa=function(){return this.Xa},Uy.tp=function(){return this.l},Uy.up=function(){return this.i},Uy.vp=function(){return this.b},Uy.Ga=function(){return this.Ya},Uy.Ka=function(){return this.ta},Uy.Ql=function(){return this.f},Uy.Rl=function(){return this.j},Uy.jl=function(){return this.N},Uy.kl=function(){return this.D},Uy.Il=function(){return this.C},Uy.Fq=function(t){this.v=t},Uy.Jj=function(t){this.a=t},Uy.Bq=function(t){this.s=t},Uy.Nj=function(t){this.g=t},Uy.Oj=function(t){this.c=t},Uy.Hq=function(t){this.o=t},Uy.yf=function(t){this.Xa=t},Uy.wp=function(t){this.i=t},Uy.lj=function(t){this.b=t},Uy.Af=function(t){this.Ya=t},Uy.Hd=function(t){this.ta=t},Uy.Qj=function(t){this.f=t},Uy.Jq=function(t){this.j=t},Uy.sq=function(t){this.N=t},Uy.tq=function(t){this.D=t},Uy.Gq=function(t){this.C=t};var xg=new ks({color:"rgba(0,0,0,0.2)"}),Lg=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];(Uy=Bs.prototype).gn=function(){return this.v},Uy.Cl=function(){return this.g},Uy.Jl=function(){return this.c},Uy.di=function(t){var e=t.vectorContext,o=t.frameState;t=o.extent;var r=o.viewState,i=r.center,n=r.projection;if(o=(r=r.resolution)*r/(4*(o=o.pixelRatio)*o),!this.i||!gt(this.i,n)){var s=mt("EPSG:4326"),a=n.G(),c=n.oe,p=St(c,s,n),l=c[2],h=c[1],d=c[0],f=p[3],y=p[2],m=p[1];p=p[0],this.f=c[3],this.j=l,this.l=h,this.s=d,this.oa=f,this.qa=y,this.T=m,this.O=p,this.o=vt(s,n),this.D=vt(n,s),this.N=this.D(N(a)),this.i=n}for(n=this.N[0],s=this.N[1],a=-1,l=Math.pow(this.ua*r,2),h=[],d=[],r=0,c=Lg.length;r<c&&(f=Lg[r]/2,h[0]=n-f,h[1]=s-f,d[0]=n+f,d[1]=s+f,this.o(h,h),this.o(d,d),!((f=Math.pow(d[0]-h[0],2)+Math.pow(d[1]-h[1],2))<=l));++r)a=Lg[r];if(-1==(r=a))this.g.length=this.c.length=0,this.b&&(this.b.length=0),this.a&&(this.a.length=0);else{for(i=(n=this.D(i))[0],n=n[1],s=this.ab,h=(c=St(c=[Math.max(t[0],this.O),Math.max(t[1],this.T),Math.min(t[2],this.qa),Math.min(t[3],this.oa)],this.i,"EPSG:4326"))[3],a=c[2],d=c[1],f=c[0],l=Vs(this,y=u(i=Math.floor(i/r)*r,this.s,this.j),d,h,o,t,0),c=0;y!=this.s&&c++<s;)l=Vs(this,y=Math.max(y-r,this.s),d,h,o,t,l);for(y=u(i,this.s,this.j),c=0;y!=this.j&&c++<s;)l=Vs(this,y=Math.min(y+r,this.j),d,h,o,t,l);for(this.g.length=l,this.b&&(this.b.length=l),l=zs(this,i=u(n=Math.floor(n/r)*r,this.l,this.f),f,a,o,t,0),c=0;i!=this.l&&c++<s;)l=zs(this,i=Math.max(i-r,this.l),f,a,o,t,l);for(i=u(n,this.l,this.f),c=0;i!=this.f&&c++<s;)l=zs(this,i=Math.min(i+r,this.f),f,a,o,t,l);this.c.length=l,this.a&&(this.a.length=l)}for(e.Oa(null,this.ra),t=0,o=this.g.length;t<o;++t)i=this.g[t],e.Hb(i);for(t=0,o=this.c.length;t<o;++t)i=this.c[t],e.Hb(i);if(this.b)for(t=0,o=this.b.length;t<o;++t)i=this.b[t],this.B.Hd(i.text),e.nb(this.B),e.Hb(i.Qd);if(this.a)for(t=0,o=this.a.length;t<o;++t)i=this.a[t],this.C.Hd(i.text),e.nb(this.C),e.Hb(i.Qd)},Uy.setMap=function(t){this.v&&(this.v.J("postcompose",this.di,this),this.v.render()),t&&(t.I("postcompose",this.di,this),t.render()),this.v=t},e(Us,Gi),(Uy=Us.prototype).Y=function(){return this.M},Uy.kn=function(){this.state=3,this.g.forEach(Qt),this.g=null,this.u()},Uy.ln=function(){void 0===this.resolution&&(this.resolution=W(this.extent)/this.M.height),this.state=2,this.g.forEach(Qt),this.g=null,this.u()},Uy.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.u(),this.g=[Kt(this.M,"error",this.kn,this),Kt(this.M,"load",this.ln,this)],this.c(this,this.i))},Uy.ih=function(t){this.M=t},e(Gs,ne),Gs.prototype.u=function(){this.b("change")},Gs.prototype.lb=function(){return this.key+"/"+this.ya},Gs.prototype.i=function(){return this.ya},Gs.prototype.getState=function(){return this.state},e(Ks,Gs),(Uy=Ks.prototype).ia=function(){1==this.state&&(Zs(this),this.M=Qs()),this.g&&oe(this.g),this.state=5,this.u(),Gs.prototype.ia.call(this)},Uy.Y=function(){return this.M},Uy.lb=function(){return this.l},Uy.hn=function(){this.state=3,Zs(this),this.M=Qs(),this.u()},Uy.jn=function(){this.state=this.M.naturalWidth&&this.M.naturalHeight?2:4,Zs(this),this.u()},Uy.load=function(){3==this.state&&(this.state=0,this.M=new Image,null!==this.f&&(this.M.crossOrigin=this.f)),0==this.state&&(this.state=1,this.u(),this.c=[Kt(this.M,"error",this.hn,this),Kt(this.M,"load",this.jn,this)],this.v(this,this.l))},e(ea,ta),ea.prototype.S=function(){return 35632},e(oa,ta),oa.prototype.S=function(){return 35633};var Og=new ea("precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"),Tg=new oa("varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;//Until we get gl_VertexID in WebGL,we store an instruction.if(f==0.0){//Offsetting the edges of the triangle by lineWidth/2 is necessary,however//we should also leave some space for the antialiasing,thus we offset by lineWidth.offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}");e(na,sn),na.prototype.Na=function(t,e,o,r,i,n,s,a,c,u,p){var l=t.b;if(this.f){var h=l.isEnabled(l.STENCIL_TEST),d=l.getParameter(l.STENCIL_FUNC),f=l.getParameter(l.STENCIL_VALUE_MASK),y=l.getParameter(l.STENCIL_REF),m=l.getParameter(l.STENCIL_WRITEMASK),g=l.getParameter(l.STENCIL_FAIL),v=l.getParameter(l.STENCIL_PASS_DEPTH_PASS),b=l.getParameter(l.STENCIL_PASS_DEPTH_FAIL);l.enable(l.STENCIL_TEST),l.clear(l.STENCIL_BUFFER_BIT),l.stencilMask(255),l.stencilFunc(l.ALWAYS,1,255),l.stencilOp(l.KEEP,l.KEEP,l.REPLACE),this.f.Na(t,e,o,r,i,n,s,a,c,u,p),l.stencilMask(0),l.stencilFunc(l.NOTEQUAL,1,255)}da(t,34962,this.s),da(t,34963,this.j),n=this.Bf(l,t,i,n);var _=xo(this.bb);if(Do(_,2/(o*i[0]),2/(o*i[1])),ko(_,-r),Po(_,-(e[0]-this.origin[0]),-(e[1]-this.origin[1])),Do(e=xo(this.La),2/i[0],2/i[1]),i=xo(this.Ea),0!==r&&ko(i,-r),l.uniformMatrix4fv(n.g,!1,ia(this.V,_)),l.uniformMatrix4fv(n.i,!1,ia(this.V,e)),l.uniformMatrix4fv(n.c,!1,ia(this.V,i)),l.uniform1f(n.a,s),void 0===c)this.Od(l,t,a,!1);else{u?t=this.Ee(l,t,a,c,p):(l.clear(l.COLOR_BUFFER_BIT|l.DEPTH_BUFFER_BIT),this.Od(l,t,a,!0),t=(t=c(null))?t:void 0);var w=t}return this.Cf(l,n),this.f&&(h||l.disable(l.STENCIL_TEST),l.clear(l.STENCIL_BUFFER_BIT),l.stencilFunc(d,y,f),l.stencilMask(m),l.stencilOp(g,b,v)),w};var jg=[0,0,0,1],kg=[],Dg=[0,0,0,1],Pg=Number.EPSILON||2220446049250313e-31,Cg=35044;e(ua,na),(Uy=ua.prototype).cc=function(t,e){var o=t.Bd(),r=t.pa();if(o){this.g.push(this.b.length),this.i.push(e),this.c.u&&(this.o.push(this.b.length),this.c.u=!1),this.N=o,t=So(t=t.da(),0,2,r,-this.origin[0],-this.origin[1]),e=this.a.length,o=this.b.length;var i,n=e/4;for(i=0;2>i;i+=r)this.a[e++]=t[i],this.a[e++]=t[i+1],this.a[e++]=0,this.a[e++]=this.N,this.a[e++]=t[i],this.a[e++]=t[i+1],this.a[e++]=1,this.a[e++]=this.N,this.a[e++]=t[i],this.a[e++]=t[i+1],this.a[e++]=2,this.a[e++]=this.N,this.a[e++]=t[i],this.a[e++]=t[i+1],this.a[e++]=3,this.a[e++]=this.N,this.b[o++]=n,this.b[o++]=n+1,this.b[o++]=n+2,this.b[o++]=n+2,this.b[o++]=n+3,this.b[o++]=n,n+=4}else this.c.u&&(this.l.pop(),this.l.length&&(r=this.l[this.l.length-1],this.c.fillColor=r[0],this.c.strokeColor=r[1],this.c.lineWidth=r[2],this.c.u=!1))},Uy.gb=function(){this.s=new ca(this.a),this.j=new ca(this.b),this.g.push(this.b.length),0===this.o.length&&0<this.l.length&&(this.l=[]),this.b=this.a=null},Uy.Db=function(t){var e=this.s,o=this.j;return function(){fa(t,e),fa(t,o)}},Uy.Bf=function(t,e,o,r){var i=ga(e,Og,Tg);if(this.v)var n=this.v;else this.v=n=new ra(t,i);return e.cd(i),t.enableVertexAttribArray(n.b),t.vertexAttribPointer(n.b,2,5126,!1,16,0),t.enableVertexAttribArray(n.j),t.vertexAttribPointer(n.j,1,5126,!1,16,8),t.enableVertexAttribArray(n.N),t.vertexAttribPointer(n.N,1,5126,!1,16,12),t.uniform2fv(n.T,o),t.uniform1f(n.qa,r),n},Uy.Cf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.j),t.disableVertexAttribArray(e.N)},Uy.Od=function(t,e,o){if(Z(o)){var i=this.g[this.g.length-1];for(o=this.o.length-1;0<=o;--o){var n=this.o[o],s=this.l[o];t.uniform4fv(this.v.C,s[0]),pa(this,t,s[1],s[2]),sa(t,e,n,i),i=n}}else{var a=this.g.length-2;for(s=i=this.g[a+1],n=this.o.length-1;0<=n;--n){var c=this.l[n];for(t.uniform4fv(this.v.C,c[0]),pa(this,t,c[1],c[2]),c=this.o[n];0<=a&&this.g[a]>=c;){var u=this.g[a],p=this.i[a];o[p=r(p).toString()]&&(i!==s&&sa(t,e,i,s),s=u),a--,i=u}i!==s&&sa(t,e,i,s),i=s=c}}},Uy.Ee=function(t,e,o,i,n){var s,a,c=this.g.length-2,u=this.g[c+1];for(s=this.o.length-1;0<=s;--s){var p=this.l[s];for(t.uniform4fv(this.v.C,p[0]),pa(this,t,p[1],p[2]),a=this.o[s];0<=c&&this.g[c]>=a;){p=this.g[c];var l=this.i[c];if(void 0===o[r(l).toString()]&&l.U()&&(void 0===n||G(n,l.U().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),sa(t,e,p,u),u=i(l)))return u;c--,u=p}}},Uy.Oa=function(t,e){if(e){var o=e.g;this.c.lineDash=o||kg,o=e.i,this.c.lineDashOffset=o||0,o=(o=e.a)instanceof CanvasGradient||o instanceof CanvasPattern?Dg:en(o).map((function(t,e){return 3!=e?t/255:t}))||Dg,e=void 0!==(e=e.c)?e:1}else o=[0,0,0,0],e=0;t=(t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern?jg:en(t).map((function(t,e){return 3!=e?t/255:t}))||jg,this.c.strokeColor&&Dt(this.c.strokeColor,o)&&this.c.fillColor&&Dt(this.c.fillColor,t)&&this.c.lineWidth===e||(this.c.u=!0,this.c.fillColor=t,this.c.strokeColor=o,this.c.lineWidth=e,this.l.push([t,o,e]))};var Yg=new ea("precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Rg=new oa("varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}");e(ha,ee),(Uy=ha.prototype).ia=function(){te(this.j);var t=this.b;if(!t.isContextLost()){for(var e in this.a)t.deleteBuffer(this.a[e].buffer);for(e in this.g)t.deleteProgram(this.g[e]);for(e in this.c)t.deleteShader(this.c[e]);t.deleteFramebuffer(this.i),t.deleteRenderbuffer(this.s),t.deleteTexture(this.v)}},Uy.yp=function(){return this.b},Uy.zp=function(){X(this.a),X(this.c),X(this.g),this.s=this.v=this.i=this.l=null},Uy.Ap=function(){},Uy.cd=function(t){return t!=this.l&&(this.b.useProgram(t),this.l=t,!0)},e(wa,na),(Uy=wa.prototype).Db=function(t){var e=this.s,o=this.j,r=this.ig(!0),i=t.b;return function(){if(!i.isContextLost()){var n,s=0;for(n=r.length;s<n;++s)i.deleteTexture(r[s])}fa(t,e),fa(t,o)}},Uy.Bf=function(t,e){var o=ga(e,Yg,Rg);if(this.Wa)var r=this.Wa;else this.Wa=r=new la(t,o);return e.cd(o),t.enableVertexAttribArray(r.b),t.vertexAttribPointer(r.b,2,5126,!1,32,0),t.enableVertexAttribArray(r.v),t.vertexAttribPointer(r.v,2,5126,!1,32,8),t.enableVertexAttribArray(r.B),t.vertexAttribPointer(r.B,2,5126,!1,32,16),t.enableVertexAttribArray(r.o),t.vertexAttribPointer(r.o,1,5126,!1,32,24),t.enableVertexAttribArray(r.D),t.vertexAttribPointer(r.D,1,5126,!1,32,28),r},Uy.Cf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.v),t.disableVertexAttribArray(e.B),t.disableVertexAttribArray(e.o),t.disableVertexAttribArray(e.D)},Uy.Od=function(t,e,o,i){var n=i?this.ag():this.ig();if(i=i?this.o:this.v,Z(o)){var s;o=0;var a=n.length;for(s=0;o<a;++o){t.bindTexture(3553,n[o]);var c=i[o];sa(t,e,s,c),s=c}}else for(s=a=0,c=n.length;s<c;++s){t.bindTexture(3553,n[s]);for(var u=0<s?i[s-1]:0,p=i[s],l=u;a<this.g.length&&this.g[a]<=p;)void 0!==o[r(this.i[a]).toString()]?(l!==u&&sa(t,e,l,u),u=l=a===this.g.length-1?p:this.g[a+1]):u=a===this.g.length-1?p:this.g[a+1],a++;l!==u&&sa(t,e,l,u)}},Uy.Ee=function(t,e,o,i,n){var s,a,c=this.g.length-1,u=this.ag();for(s=u.length-1;0<=s;--s){t.bindTexture(3553,u[s]);var p=0<s?this.o[s-1]:0;for(a=this.o[s];0<=c&&this.g[c]>=p;){var l=this.g[c],h=this.i[c];if(void 0===o[r(h).toString()]&&h.U()&&(void 0===n||G(n,h.U().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),sa(t,e,l,a),a=i(h)))return a;a=l,c--}}},Uy.gb=function(){this.qa=this.oa=this.height=this.C=this.D=void 0,this.b=null,this.scale=this.rotation=this.rotateWithView=this.O=this.T=this.opacity=void 0,this.a=null,this.width=void 0},e(xa,wa),(Uy=xa.prototype).wc=function(t,e){this.g.push(this.b.length),this.i.push(e),Ma(this,e=t.da(),e.length,t.pa())},Uy.yc=function(t,e){this.g.push(this.b.length),this.i.push(e),Ma(this,e=t.da(),e.length,t.pa())},Uy.gb=function(t){var e=t.b;this.v.push(this.b.length),this.o.push(this.b.length),this.s=new ca(this.a),this.j=new ca(this.b);var o={};Sa(this.B,this.l,o,e),Sa(this.N,this.c,o,e),this.c=this.l=null,wa.prototype.gb.call(this,t)},Uy.Zb=function(t){var e=t.Vc(),o=t.Y(1),i=t.He(),n=t.Eg(),s=t.i,a=t.bd(),c=t.s,u=t.f,p=t.oc();if(t=t.a,0===this.l.length)this.l.push(o);else{var l=this.l[this.l.length-1];r(l)!=r(o)&&(this.v.push(this.b.length),this.l.push(o))}0===this.c.length?this.c.push(n):r(l=this.c[this.c.length-1])!=r(n)&&(this.o.push(this.b.length),this.c.push(n)),this.D=e[0],this.C=e[1],this.height=p[1],this.oa=i[1],this.qa=i[0],this.opacity=s,this.T=a[0],this.O=a[1],this.rotation=u,this.rotateWithView=c,this.scale=t,this.width=p[0]},Uy.ig=function(t){return t?this.B.concat(this.N):this.B},Uy.ag=function(){return this.N};var Eg=new ea("precision mediump float;varying float a;varying vec2 aVertex;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((aVertex.x+1.0)/2.0*o.x*p,(aVertex.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Ig=new oa("varying float a;varying vec2 aVertex;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;aVertex=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}");e(Ta,na),(Uy=Ta.prototype).uc=function(t,e){var o=t.da();t=t.pa(),Da(o,0,o.length,t)&&(o=So(o,0,o.length,t,-this.origin[0],-this.origin[1]),this.c.u&&(this.l.push(this.b.length),this.c.u=!1),this.g.push(this.b.length),this.i.push(e),ja(this,o,o.length,t))},Uy.vc=function(t,e){var o=this.b.length,r=t.pb();r.unshift(0);var i,n=t.da();if(t=t.pa(),1<r.length){var s=1;for(i=r.length;s<i;++s)if(Da(n,r[s-1],r[s],t)){var a=So(n,r[s-1],r[s],t,-this.origin[0],-this.origin[1]);ja(this,a,a.length,t)}}this.b.length>o&&(this.g.push(o),this.i.push(e),this.c.u&&(this.l.push(o),this.c.u=!1))},Uy.gb=function(){this.s=new ca(this.a),this.j=new ca(this.b),this.g.push(this.b.length),0===this.l.length&&0<this.o.length&&(this.o=[]),this.b=this.a=null},Uy.Db=function(t){var e=this.s,o=this.j;return function(){fa(t,e),fa(t,o)}},Uy.Bf=function(t,e,o,r){var i=ga(e,Eg,Ig);if(this.v)var n=this.v;else this.v=n=new Oa(t,i);return e.cd(i),t.enableVertexAttribArray(n.l),t.vertexAttribPointer(n.l,2,5126,!1,28,0),t.enableVertexAttribArray(n.b),t.vertexAttribPointer(n.b,2,5126,!1,28,8),t.enableVertexAttribArray(n.s),t.vertexAttribPointer(n.s,2,5126,!1,28,16),t.enableVertexAttribArray(n.f),t.vertexAttribPointer(n.f,1,5126,!1,28,24),t.uniform2fv(n.T,o),t.uniform1f(n.qa,r),n},Uy.Cf=function(t,e){t.disableVertexAttribArray(e.l),t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.s),t.disableVertexAttribArray(e.f)},Uy.Od=function(t,e,o,i){var n=t.getParameter(t.DEPTH_FUNC),s=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),Z(o)){var a=this.g[this.g.length-1];for(o=this.l.length-1;0<=o;--o){var c=this.l[o],u=this.o[o];Ya(this,t,u[0],u[1],u[2]),sa(t,e,c,a),t.clear(t.DEPTH_BUFFER_BIT),a=c}}else{var p=this.g.length-2;for(u=a=this.g[p+1],c=this.l.length-1;0<=c;--c){var l=this.o[c];for(Ya(this,t,l[0],l[1],l[2]),l=this.l[c];0<=p&&this.g[p]>=l;){var h=this.g[p],d=this.i[p];o[d=r(d).toString()]&&(a!==u&&(sa(t,e,a,u),t.clear(t.DEPTH_BUFFER_BIT)),u=h),p--,a=h}a!==u&&(sa(t,e,a,u),t.clear(t.DEPTH_BUFFER_BIT)),a=u=l}}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(s),t.depthFunc(n))},Uy.Ee=function(t,e,o,i,n){var s,a,c=this.g.length-2,u=this.g[c+1];for(s=this.l.length-1;0<=s;--s){var p=this.o[s];for(Ya(this,t,p[0],p[1],p[2]),a=this.l[s];0<=c&&this.g[c]>=a;){p=this.g[c];var l=this.i[c];if(void 0===o[r(l).toString()]&&l.U()&&(void 0===n||G(n,l.U().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),sa(t,e,p,u),u=i(l)))return u;c--,u=p}}},Uy.Oa=function(t,e){t=e.f,this.c.lineCap=void 0!==t?t:"round",t=e.g,this.c.lineDash=t||kg,t=e.i,this.c.lineDashOffset=t||0,t=e.j,this.c.lineJoin=void 0!==t?t:"round",t=(t=e.a)instanceof CanvasGradient||t instanceof CanvasPattern?Dg:en(t).map((function(t,e){return 3!=e?t/255:t}))||Dg;var o=e.c;o=void 0!==o?o:1,e=void 0!==(e=e.l)?e:10,this.c.strokeColor&&Dt(this.c.strokeColor,t)&&this.c.lineWidth===o&&this.c.miterLimit===e||(this.c.u=!0,this.c.strokeColor=t,this.c.lineWidth=o,this.c.miterLimit=e,this.o.push([t,o,e]))};var Fg=3,Ag=5,Ng=7,Hg=11,Wg=13,Bg=17,Vg=19,zg=23,Ug=new ea("precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Gg=new oa("attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}");Ea.prototype.concat=function(t){if(t.b){if(this.b){var e=this.b.next;this.b.next=t.g,t.g.Eb=this.b,e.Eb=t.a,t.a.next=e,this.c+=t.c}else this.b=t.b,this.g=t.g,this.a=t.a,this.c=t.c;t.b=void 0,t.g=void 0,t.a=void 0,t.c=0}},(Uy=Va.prototype).Ca=function(t,e){t={fa:t[0],ea:t[1],la:t[2],ka:t[3],value:e},this.a.Ca(t),this.b[r(e)]=t},Uy.load=function(t,e){for(var o=Array(e.length),i=0,n=e.length;i<n;i++){var s=t[i],a=e[i];s={fa:s[0],ea:s[1],la:s[2],ka:s[3],value:a},o[i]=s,this.b[r(a)]=s}this.a.load(o)},Uy.remove=function(t){t=r(t);var e=this.b[t];return delete this.b[t],null!==this.a.remove(e)},Uy.forEach=function(t,e){return $a(Ua(this),t,e)},Uy.clear=function(){this.a.clear(),this.b={}},Uy.G=function(t){var e=this.a.data;return T(e.fa,e.ea,e.la,e.ka,t)},Uy.concat=function(t){for(var e in this.a.load(t.a.all()),t.b)this.b[0|e]=t.b[0|e]},e(Ja,na),(Uy=Ja.prototype).xc=function(t,e){var o=t.td(),r=t.pa(),i=this.b.length,n=this.f.b.length;t=t.da();var s,a,c,u=a=0;for(s=o.length;u<s;++u){var p=o[u];if(0<p.length){var l=So(t,a,p[0],r,-this.origin[0],-this.origin[1]);if(l.length){var h=[];for(a=1,c=p.length;a<c;++a)if(p[a]!==p[a-1]){var d=So(t,p[a-1],p[a],r,-this.origin[0],-this.origin[1]);h.push(d)}Pa(this.f,l,h,r),Xa(this,l,h,r)}}a=p[p.length-1]}this.b.length>i&&(this.g.push(i),this.i.push(e),this.l.u&&(this.c.push(i),this.l.u=!1)),this.f.b.length>n&&Ca(this.f,e,n)},Uy.zc=function(t,e){var o=t.pb(),r=t.pa();if(0<o.length){var i=So(t=t.da().map(Number),0,o[0],r,-this.origin[0],-this.origin[1]);if(i.length){var n,s=[],a=1;for(n=o.length;a<n;++a)if(o[a]!==o[a-1]){var c=So(t,o[a-1],o[a],r,-this.origin[0],-this.origin[1]);s.push(c)}this.g.push(this.b.length),this.i.push(e),this.l.u&&(this.c.push(this.b.length),this.l.u=!1),Ca(this.f,e),Pa(this.f,i,s,r),Xa(this,i,s,r)}}},Uy.gb=function(t){this.s=new ca(this.a),this.j=new ca(this.b),this.g.push(this.b.length),this.f.gb(t),0===this.c.length&&0<this.o.length&&(this.o=[]),this.b=this.a=null},Uy.Db=function(t){var e=this.s,o=this.j,r=this.f.Db(t);return function(){fa(t,e),fa(t,o),r()}},Uy.Bf=function(t,e){var o=ga(e,Ug,Gg);if(this.v)var r=this.v;else this.v=r=new Ra(t,o);return e.cd(o),t.enableVertexAttribArray(r.b),t.vertexAttribPointer(r.b,2,5126,!1,8,0),r},Uy.Cf=function(t,e){t.disableVertexAttribArray(e.b)},Uy.Od=function(t,e,o,i){var n=t.getParameter(t.DEPTH_FUNC),s=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),Z(o)){var a=this.g[this.g.length-1];for(o=this.c.length-1;0<=o;--o){var c=this.c[o],u=this.o[o];t.uniform4fv(this.v.C,u),sa(t,e,c,a),a=c}}else{var p=this.g.length-2;for(u=a=this.g[p+1],c=this.c.length-1;0<=c;--c){var l=this.o[c];for(t.uniform4fv(this.v.C,l),l=this.c[c];0<=p&&this.g[p]>=l;){var h=this.g[p],d=this.i[p];o[d=r(d).toString()]&&(a!==u&&(sa(t,e,a,u),t.clear(t.DEPTH_BUFFER_BIT)),u=h),p--,a=h}a!==u&&(sa(t,e,a,u),t.clear(t.DEPTH_BUFFER_BIT)),a=u=l}}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(s),t.depthFunc(n))},Uy.Ee=function(t,e,o,i,n){var s,a,c=this.g.length-2,u=this.g[c+1];for(s=this.c.length-1;0<=s;--s){var p=this.o[s];for(t.uniform4fv(this.v.C,p),a=this.c[s];0<=c&&this.g[c]>=a;){p=this.g[c];var l=this.i[c];if(void 0===o[r(l).toString()]&&l.U()&&(void 0===n||G(n,l.U().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),sa(t,e,p,u),u=i(l)))return u;c--,u=p}}},Uy.Oa=function(t,e){t=(t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern?jg:en(t).map((function(t,e){return 3!=e?t/255:t}))||jg,this.l.fillColor&&Dt(t,this.l.fillColor)||(this.l.fillColor=t,this.l.u=!0,this.o.push(t)),e?this.f.Oa(null,e):this.f.Oa(null,new ks({color:[0,0,0,0],lineWidth:0}))},hc.prototype.get=function(t){return this.c[t]||null},hc.prototype.add=function(t,e,o,r,i){var n,s=0;for(n=this.a.length;s<n;++s){var a=this.a[s];if(a.width>=e+this.b&&a.height>=o+this.b)return n={offsetX:a.x+this.b,offsetY:a.y+this.b,image:this.i},this.c[t]=n,r.call(i,this.g,a.x+this.b,a.y+this.b),t=s,e+=this.b,r=o+this.b,a.width-e>a.height-r?dc(this,t,o={x:a.x+e,y:a.y,width:a.width-e,height:a.height},e={x:a.x,y:a.y+r,width:e,height:a.height-r}):dc(this,t,o={x:a.x+e,y:a.y,width:a.width-e,height:r},e={x:a.x,y:a.y+r,width:a.width,height:a.height-r}),n}return null},fc.prototype.add=function(t,e,r,i,n,s){return e+this.b>this.g||r+this.b>this.g?null:(i=gc(this,!1,t,e,r,i,s))?mc(i,t=gc(this,!0,t,e,r,void 0!==n?n:o,s)):null},e(vc,wa),(Uy=vc.prototype).Wb=function(t,e){if(this.ta){var o=null,i=2,n=2;switch(t.S()){case"Point":case"MultiPoint":i=(o=t.da()).length,n=t.pa();break;case"Circle":o=t.xa();break;case"LineString":o=t.Fe();break;case"MultiLineString":i=(o=t.Ge()).length;break;case"Polygon":o=t.Td();break;case"MultiPolygon":i=(o=Wu(t)).length}this.g.push(this.b.length),this.i.push(e),t=this.l;var s,a,c=function(t,e){var o=t.l,r=e.length*o.height;return[e.map((function(e){var r,i=0,n=0;for(r=e.length;n<r;++n){var s=e[n];o.width[s]||bc(t,s),i+=o.width[s]?o.width[s]:0}return i})).reduce((function(t,e){return Math.max(t,e)})),r]}(this,e=this.ta.split("\n")),u=Math.round(c[0]*this.ab-this.$),p=Math.round(c[1]*this.ra-this.ca),l=this.N.lineWidth/2*this.N.scale;for(c=0,s=e.length;c<s;++c){var h=0,d=t.height*c,f=e[c].split(""),y=0;for(a=f.length;y<a;++y){var m=t.Bh,g=f[y],v=yc(m.f,g);if(m=v?mc(v,m=yc(m.i,g)):null){v=m.image,this.D=u-h,this.C=p-d,this.T=0===y?m.offsetX-l:m.offsetX,this.O=m.offsetY,this.height=t.height,this.width=0===y||y===f.length-1?t.width[f[y]]+l:t.width[f[y]],this.oa=v.height,this.qa=v.width,0===this.c.length?this.c.push(v):r(m=this.c[this.c.length-1])!=r(v)&&(this.v.push(this.b.length),this.c.push(v)),m=o,g=i;var b=n;for(v=0;v<g;v+=b)Ma(this,m,g,b)}h+=this.width}}}},Uy.gb=function(t){var e=t.b;this.v.push(this.b.length),this.o=this.v,this.s=new ca(this.a),this.j=new ca(this.b),Sa(this.ua,this.c,{},e),this.N={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:0,miterLimit:void 0,fillColor:null,font:void 0,scale:void 0},this.ta="",this.ca=this.$=this.ra=this.ab=void 0,this.c=null,this.B={},this.l=void 0,wa.prototype.gb.call(this,t)},Uy.nb=function(t){var e=this.N,o=t.Fa(),r=t.Ga();if(t&&t.Ka()&&(o||r)){for(var i in o?(o=o.b,e.fillColor=nn(o||jg)):e.fillColor=null,r?(o=r.a,e.strokeColor=nn(o||Dg),e.lineWidth=r.c||1,e.lineCap=r.f||"round",e.lineDashOffset=r.i||0,e.lineJoin=r.j||"round",e.miterLimit=r.l||10,r=r.g,e.lineDash=r?r.slice():kg):(e.strokeColor=null,e.lineWidth=0),e.font=t.a||"10px sans-serif",e.scale=t.b||1,this.ta=t.Ka(),r=hg[t.f],o=hg[t.j],this.ab=void 0===r?.5:r,this.ra=void 0===o?.5:o,this.$=t.g||0,this.ca=t.c||0,this.rotateWithView=!!t.l,this.rotation=t.i||0,t=[],e)(e[i]||0===e[i])&&(Array.isArray(e[i])?t=t.concat(e[i]):t.push(e[i]));for(o="",i=0,r=t.length;i<r;++i)o+=t[i];i=o,this.B[i]||((t=this.Ub.getContext("2d")).font=e.font,t=Math.ceil((1.5*t.measureText("M").width+e.lineWidth/2)*e.scale),this.B[i]={Bh:new fc({space:e.lineWidth+1}),width:{},height:t}),this.l=this.B[i]}else this.ta=""},Uy.ig=function(){return this.ua},Uy.ag=function(){return this.ua},e(_c,Hn),(Uy=_c.prototype).Vb=function(){},Uy.Ja=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new $g[e](this.i,this.c),t[e]=o),o},Uy.yg=function(){return Z(this.a)},Uy.Na=function(t,e,o,r,i,n,s,a){var c=Object.keys(this.a).map(Number);c.sort(Lt);var u,p,l=0;for(u=c.length;l<u;++l){var h=this.a[c[l].toString()],d=0;for(p=lg.length;d<p;++d){var f=h[lg[d]];void 0!==f&&f.Na(t,e,o,r,i,n,s,a,void 0,!1)}}},Uy.wa=function(t,e,o,r,i,n,s,a,c,u){var p,l=e.b;return l.bindFramebuffer(l.FRAMEBUFFER,ya(e)),void 0!==this.g&&(p=b(k(t),r*this.g)),Mc(this,e,t,r,i,s,a,c,(function(t){var e=new Uint8Array(4);if(l.readPixels(0,0,1,1,l.RGBA,l.UNSIGNED_BYTE,e),0<e[3]&&(t=u(t)))return t}),!0,p)};var qg=[1,1],$g={Circle:ua,Image:xa,LineString:Ta,Polygon:Ja,Text:vc};e(Sc,sn),(Uy=Sc.prototype).Dd=function(t){this.Oa(t.Fa(),t.Ga()),this.Zb(t.Y()),this.nb(t.Ka())},Uy.Hb=function(t){switch(t.S()){case"Point":this.yc(t,null);break;case"LineString":this.uc(t,null);break;case"Polygon":this.zc(t,null);break;case"MultiPoint":this.wc(t,null);break;case"MultiLineString":this.vc(t,null);break;case"MultiPolygon":this.xc(t,null);break;case"GeometryCollection":this.De(t);break;case"Circle":this.cc(t,null)}},Uy.Ce=function(t,e){(t=(0,e.cb)(t))&&G(this.c,t.G())&&(this.Dd(e),this.Hb(t))},Uy.De=function(t){var e,o=0;for(e=(t=t.a).length;o<e;++o)this.Hb(t[o])},Uy.yc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"Image");i.Zb(this.o),i.yc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.wc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"Image");i.Zb(this.o),i.wc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.uc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"LineString");i.Oa(null,this.s),i.uc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.vc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"LineString");i.Oa(null,this.s),i.vc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.zc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"Polygon");i.Oa(this.v,this.s),i.zc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.xc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"Polygon");i.Oa(this.v,this.s),i.xc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.cc=function(t,e){var o=this.b,r=new _c(1,this.c),i=r.Ja(0,"Circle");i.Oa(this.v,this.s),i.cc(t,e),i.gb(o),i.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1),i.Db(o)(),this.a&&xc(this,r,t)},Uy.Zb=function(t){this.o=t},Uy.Oa=function(t,e){this.v=t,this.s=e},Uy.nb=function(t){this.a=t};var Jg=new ea("precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"),Xg=new oa("varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}");e(Oc,fn),Oc.prototype.Zi=function(t,e,o){Tc(this,"precompose",o,t),da(o,34962,this.V);var r=o.b,i=ga(o,Jg,Xg);if(this.o)var n=this.o;else this.o=n=new Lc(r,i);o.cd(i)&&(r.enableVertexAttribArray(n.b),r.vertexAttribPointer(n.b,2,5126,!1,16,0),r.enableVertexAttribArray(n.a),r.vertexAttribPointer(n.a,2,5126,!1,16,8),r.uniform1i(n.i,0)),r.uniformMatrix4fv(n.f,!1,ia(this.C,this.v)),r.uniformMatrix4fv(n.c,!1,ia(this.C,this.N)),r.uniform1f(n.g,e.opacity),r.bindTexture(3553,this.Mb),r.drawArrays(5,0,4),Tc(this,"postcompose",o,t)},Oc.prototype.Ag=function(){this.f=this.Mb=null,this.j=void 0},e(jc,Oc),jc.handles=function(t,e){return"webgl"===t&&"IMAGE"===e.S()},jc.create=function(t,e){return new jc(t,e)},jc.prototype.wa=function(t,e,o,r,i){var n=this.a;return n.ha().wa(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,(function(t){return r.call(i,t,n)}))},jc.prototype.Bg=function(t,e){var o=this.c.g,r=t.pixelRatio,i=t.viewState,n=i.center,s=i.resolution,a=i.rotation,c=this.M,u=this.Mb,p=this.a.ha(),l=t.viewHints,h=t.extent;return void 0!==e.extent&&(h=B(h,e.extent)),l[0]||l[1]||q(h)||(e=p.Y(h,s,r,i.projection))&&yn(this,e)&&(c=e,u=function(t,e){return e=e.Y(),_a(t.c.g,e)}(this,e),this.Mb&&t.postRenderFunctions.push(function(t,e){t.isContextLost()||t.deleteTexture(e)}.bind(null,o,this.Mb))),c&&(function(t,e,o,r,i,n,s,a){e*=n,o*=n,xo(t=t.N),Do(t,2*r/e,2*r/o),ko(t,-s),Po(t,a[0]-i[0],a[1]-i[1]),Do(t,(a[2]-a[0])/2,(a[3]-a[1])/2),Po(t,1,1)}(this,(o=this.c.i.j).width,o.height,r,n,s,a,c.G()),this.l=null,xo(r=this.v),Do(r,1,-1),Po(r,0,-1),this.M=c,this.Mb=u,vn(t,p)),!!c},jc.prototype.cf=function(t,e){return void 0!==this.wa(t,e,0,_o,this)},jc.prototype.zg=function(t,e,r,i){if(this.M&&this.M.Y())if(this.a.ha().wa!==o){var n=jo(e.pixelToCoordinateTransform,t.slice());if(this.wa(n,e,0,_o,this))return r.call(i,this.a,null)}else{if(n=[this.M.Y().width,this.M.Y().height],!this.l){var s=e.size;Po(e=[1,0,0,1,0,0],-1,-1),Do(e,2/s[0],2/s[1]),Po(e,0,s[1]),Do(e,1,-1),s=Yo(this.N.slice());var a=[1,0,0,1,0,0];Po(a,0,n[1]),Do(a,1,-1),Do(a,n[0]/2,n[1]/2),Po(a,1,1),Lo(a,s),Lo(a,e),this.l=a}if(!(0>(t=jo(this.l,t.slice()))[0]||t[0]>n[0]||0>t[1]||t[1]>n[1])&&(this.i||(this.i=Tr(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.M.Y(),t[0],t[1],1,1,0,0,1,1),0<(n=this.i.getImageData(0,0,1,1).data)[3]))return r.call(i,this.a,n)}},e(kc,kn),kc.handles=function(t){return fm&&"webgl"===t},kc.create=function(t,e){return new kc(t,e)},(Uy=kc.prototype).ia=function(){var t=this.g;t.isContextLost()||this.a.forEach((function(e){e&&t.deleteTexture(e.Mb)})),oe(this.i),kn.prototype.ia.call(this)},Uy.Yk=function(t,e){t=this.g;for(var o;1024<this.a.i-this.f;){if(o=this.a.g.Pc)t.deleteTexture(o.Mb);else{if(+this.a.g.jc==e.index)break;--this.f}this.a.pop()}},Uy.S=function(){return"webgl"},Uy.Co=function(t){for(var e in t.preventDefault(),this.a.clear(),this.f=0,t=this.c)t[e].Ag()},Uy.Do=function(){Cc(this),this.l.render()},Uy.bh=function(t){var e=this.i,o=this.g;if(o.isContextLost())return!1;if(!t)return this.s&&(this.b.style.display="none",this.s=!1),!1;this.o=t.focus,this.a.set((-t.index).toString(),null),++this.f,Pc(this,"precompose",t);var r=[],i=t.layerStatesArray;Pt(i);var n,s=t.viewState.resolution,a=0;for(n=i.length;a<n;++a){var c=i[a];if(Ar(c,s)&&"ready"==c.Vj){var u=Cn(this,c.layer);u.Bg(t,c,e)&&r.push(c)}}for(i=t.size[0]*t.pixelRatio,s=t.size[1]*t.pixelRatio,this.b.width==i&&this.b.height==s||(this.b.width=i,this.b.height=s),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),a=0,n=r.length;a<n;++a)(u=Cn(this,(c=r[a]).layer)).Zi(t,c,e);this.s||(this.b.style.display="",this.s=!0),Dn(t),1024<this.a.i-this.f&&t.postRenderFunctions.push(this.Yk.bind(this)),0!==this.j.b.length&&(t.postRenderFunctions.push(this.B),t.animate=!0),Pc(this,"postcompose",t),Rn(this,t),t.postRenderFunctions.push(Pn)},Uy.wa=function(t,e,o,r,i,n,s){if(this.g.isContextLost())return!1;var a,c=e.viewState,u=e.layerStatesArray;for(a=u.length-1;0<=a;--a){var p=u[a],l=p.layer;if(Ar(p,c.resolution)&&n.call(s,l)&&(p=Cn(this,l).wa(t,e,o,r,i)))return p}},Uy.Ui=function(t,e,o,r,i){if(o=!1,this.g.isContextLost())return!1;var n,s=e.viewState,a=e.layerStatesArray;for(n=a.length-1;0<=n;--n){var c=a[n],u=c.layer;if(Ar(c,s.resolution)&&r.call(i,u)&&(o=Cn(this,u).cf(t,e)))return!0}return o},Uy.Ti=function(t,e,o,r,i){if(this.g.isContextLost())return!1;var n,s=e.viewState,a=e.layerStatesArray;for(n=a.length-1;0<=n;--n){var c=a[n],u=c.layer;if(Ar(c,s.resolution)&&i.call(r,u)&&(c=Cn(this,u).zg(t,e,o,r)))return c}};var Kg=new ea("precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"),Zg=new oa("varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}");e(Rc,Oc),Rc.handles=function(t,e){return"webgl"===t&&"TILE"===e.S()},Rc.create=function(t,e){return new Rc(t,e)},(Uy=Rc.prototype).ia=function(){fa(this.c.i,this.B),Oc.prototype.ia.call(this)},Uy.Rf=function(t,e,o){var r=this.c;return function(i,n){return Wf(t,e,i,n,(function(t){var e=r.a.a.hasOwnProperty(t.lb());return e&&(o[i]||(o[i]={}),o[i][t.ya.toString()]=t),e}))}},Uy.Ag=function(){Oc.prototype.Ag.call(this),this.i=null},Uy.Bg=function(t,e,o){var r=this.c,i=o.b,s=t.viewState,a=s.projection,u=this.a,p=u.ha(),l=p.eb(a),h=l.Dc(s.resolution),d=l.Ta(h),f=p.Zd(h,t.pixelRatio,a),y=f[0]/g(l.Za(h),this.O)[0],m=d/y,v=p.Xc(y)*p.Zf(a),b=s.center,_=t.extent,w=Ft(l,_,h);if(this.l&&function(t,e){return t.fa==e.fa&&t.ea==e.ea&&t.la==e.la&&t.ka==e.ka}(this.l,w)&&this.s==p.g)m=this.D;else{var M=[w.la-w.fa+1,w.ka-w.ea+1],S=function(t){return c(0<t,29),Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}(Math.max(M[0]*f[0],M[1]*f[1]));M=m*S;var x=l.Ic(h),L=x[0]+w.fa*f[0]*m;m=[L,m=x[1]+w.ea*f[1]*m,L+M,m+M],function(t,e,o){var r=t.c.g;if(void 0===t.j||t.j!=o){e.postRenderFunctions.push(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))}.bind(null,r,t.f,t.Mb)),e=ba(r,o,o);var i=r.createFramebuffer();r.bindFramebuffer(36160,i),r.framebufferTexture2D(36160,36064,3553,e,0),t.Mb=e,t.f=i,t.j=o}else r.bindFramebuffer(36160,t.f)}(this,t,S),i.viewport(0,0,S,S),i.clearColor(0,0,0,0),i.clear(16384),i.disable(3042),S=ga(o,this.T,this.ca),o.cd(S),this.i||(this.i=new Yc(i,S)),da(o,34962,this.B),i.enableVertexAttribArray(this.i.b),i.vertexAttribPointer(this.i.b,2,5126,!1,16,0),i.enableVertexAttribArray(this.i.a),i.vertexAttribPointer(this.i.a,2,5126,!1,16,8),i.uniform1i(this.i.g,0),(o={})[h]={};var O=this.Rf(p,a,o),T=u.i();S=!0,L=[1/0,1/0,-1/0,-1/0];var j,k,D,P=new n(0,0,0,0);for(j=w.fa;j<=w.la;++j)for(k=w.ea;k<=w.ka;++k){if(x=p.ad(h,j,k,y,a),void 0!==e.extent){var C=l.Ma(x.ya,L);if(!G(C,e.extent))continue}if((C=2==(C=x.getState())||4==C||3==C&&!T)||(x=qs(x)),2==(C=x.getState())){if(r.a.a.hasOwnProperty(x.lb())){o[h][x.ya.toString()]=x;continue}}else if(4==C||3==C&&!T)continue;S=!1,(C=Et(l,x.ya,O,P,L))||(x=It(l,x.ya,P,L))&&O(h+1,x)}for((e=Object.keys(o).map(Number)).sort(Lt),O=new Float32Array(4),T=0,P=e.length;T<P;++T)for(D in j=o[e[T]])x=j[D],C=l.Ma(x.ya,L),O[0]=2*(C[2]-C[0])/M,O[1]=2*(C[3]-C[1])/M,O[2]=2*(C[0]-m[0])/M-1,O[3]=2*(C[1]-m[1])/M-1,i.uniform4fv(this.i.c,O),Dc(r,x,f,v*y),i.drawArrays(5,0,4);S?(this.l=w,this.D=m,this.s=p.g):(this.D=this.l=null,this.s=-1,t.animate=!0)}bn(t.usedTiles,p,h,w);var Y=r.j;return _n(t,p,l,y,a,_,h,u.c(),(function(t){2!=t.getState()||r.a.a.hasOwnProperty(t.lb())||t.lb()in Y.a||Y.i([t,At(l,t.ya),l.Ta(t.ya[0]),f,v*y])}),this),gn(t,p),vn(t,p),xo(i=this.v),Po(i,(Math.round(b[0]/d)*d-m[0])/(m[2]-m[0]),(Math.round(b[1]/d)*d-m[1])/(m[3]-m[1])),0!==s.rotation&&ko(i,s.rotation),Do(i,t.size[0]*s.resolution/(m[2]-m[0]),t.size[1]*s.resolution/(m[3]-m[1])),Po(i,-.5,-.5),!0},Uy.zg=function(t,e,o,r){if(this.f){t=[(t=jo(this.v,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]].slice()))[0]*this.j,t[1]*this.j],(e=this.c.i.b).bindFramebuffer(e.FRAMEBUFFER,this.f);var i=new Uint8Array(4);if(e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,i),0<i[3])return o.call(r,this.a,i)}},e(Ec,Oc),Ec.handles=function(t,e){return"webgl"===t&&"VECTOR"===e.S()},Ec.create=function(t,e){return new Ec(t,e)},(Uy=Ec.prototype).Zi=function(t,e,o){this.l=e;var r=t.viewState,i=this.i,n=t.size,s=t.pixelRatio,a=this.c.g;i&&!i.yg()&&(a.enable(a.SCISSOR_TEST),a.scissor(0,0,n[0]*s,n[1]*s),i.Na(o,r.center,r.resolution,r.rotation,n,s,e.opacity,e.Te?t.skippedFeatureUids:{}),a.disable(a.SCISSOR_TEST))},Uy.ia=function(){var t=this.i;t&&(wc(t,this.c.i)(),this.i=null),Oc.prototype.ia.call(this)},Uy.wa=function(t,e,o,i,n){if(this.i&&this.l){o=e.viewState;var s=this.a,a={};return this.i.wa(t,this.c.i,o.center,o.resolution,o.rotation,e.size,e.pixelRatio,this.l.opacity,{},(function(t){var e=r(t).toString();if(!(e in a))return a[e]=!0,i.call(n,t,s)}))}},Uy.cf=function(t,e){if(this.i&&this.l){var o=e.viewState;return function(t,e,o,r,i,n,s,a){var c=o.b;return c.bindFramebuffer(c.FRAMEBUFFER,ya(o)),void 0!==Mc(t,o,e,r,i,n,s,a,(function(){var t=new Uint8Array(4);return c.readPixels(0,0,1,1,c.RGBA,c.UNSIGNED_BYTE,t),0<t[3]}),!1)}(this.i,t,this.c.i,o.resolution,o.rotation,e.pixelRatio,this.l.opacity,e.skippedFeatureUids)}return!1},Uy.zg=function(t,e,o,r){if(t=jo(e.pixelToCoordinateTransform,t.slice()),this.cf(t,e))return o.call(r,this.a,null)},Uy.$i=function(){mn(this)},Uy.Bg=function(t,e,o){function r(t){var e=t.ib();if(e)var o=e.call(t,u);else(e=i.ib())&&(o=e(t,u));if(o){if(o){if(e=!1,Array.isArray(o))for(var r=o.length-1;0<=r;--r)e=vs(h,t,o[r],gs(u,p),this.$i,this)||e;else e=vs(h,t,o,gs(u,p),this.$i,this)||e;t=e}else t=!1;this.s=this.s||t}}var i=this.a;vn(t,e=i.ha());var n=t.viewHints[0],s=t.viewHints[1],a=i.ca,c=i.ra;if(!this.s&&!a&&n||!c&&s)return!0;s=t.extent,n=(a=t.viewState).projection;var u=a.resolution,p=t.pixelRatio;a=i.g;var l=i.f;if(void 0===(c=i.get(Fw))&&(c=ms),s=b(s,l*u),!this.s&&this.T==u&&this.O==a&&this.B==c&&S(this.D,s))return!0;this.i&&t.postRenderFunctions.push(wc(this.i,o)),this.s=!1;var h=new _c(.5*u/p,s,i.f);if(e.ae(s,u,n),c){var d=[];e.ec(s,(function(t){d.push(t)}),this),d.sort(c),d.forEach(r,this)}else e.ec(s,r,this);return function(t,e){for(var o in t.a){var r,i=t.a[o];for(r in i)i[r].gb(e)}}(h,o),this.T=u,this.O=a,this.B=c,this.D=s,this.i=h,!0},Yr("MAP_RENDERER",In),Rr([On,An,_s,ws]),Yr("MAP_RENDERER",kc),Rr([jc,Rc,Ec]),e(Ic,Er),e(Fc,ce),(Uy=Fc.prototype).Rd=function(){return this.get(Qg)},Uy.nn=function(){return this.id},Uy.Ve=function(){return this.get(tv)},Uy.Xh=function(){return this.get(ev)},Uy.pi=function(){return this.get(ov)},Uy.Yh=function(){return this.get(rv)},Uy.am=function(){for(var t=this.element;t.lastChild;)t.removeChild(t.lastChild);(t=this.Rd())&&this.element.appendChild(t)},Uy.km=function(){this.c&&(kr(this.element),Qt(this.c),this.c=null);var t=this.Ve();t&&(this.c=Xt(t,"postrender",this.render,this),Hc(this),t=this.stopEvent?t.v:t.o,this.insertFirst?t.insertBefore(this.element,t.childNodes[0]||null):t.appendChild(this.element))},Uy.render=function(){Hc(this)},Uy.om=function(){Hc(this)},Uy.qm=function(){if(Hc(this),this.get(ov)&&this.autoPan){var t=this.Ve();if(t&&t.Cc()){var e=Ac(t.Cc(),t.Cb()),o=this.Rd(),r=o.offsetWidth,i=getComputedStyle(o);r+=parseInt(i.marginLeft,10)+parseInt(i.marginRight,10),i=o.offsetHeight;var n=getComputedStyle(o),s=Ac(o,[r,i+=parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)]);o=this.autoPanMargin,S(e,s)||(r=s[0]-e[0],i=e[2]-s[2],n=s[1]-e[1],s=e[3]-s[3],e=[0,0],0>r?e[0]=r-o:0>i&&(e[0]=Math.abs(i)+o),0>n?e[1]=n-o:0>s&&(e[1]=Math.abs(s)+o),0===e[0]&&0===e[1])||(o=t.aa().xa(),e=[(o=t.Ia(o))[0]+e[0],o[1]+e[1]],t.aa().animate({center:t.Ra(e),duration:this.autoPanAnimation.duration,easing:this.autoPanAnimation.easing}))}}},Uy.rm=function(){Hc(this)},Uy.Hj=function(t){this.set(Qg,t)},Uy.setMap=function(t){this.set(tv,t)},Uy.Mj=function(t){this.set(ev,t)},Uy.We=function(t){this.set(ov,t)},Uy.Pj=function(t){this.set(rv,t)};var Qg="element",tv="map",ev="offset",ov="position",rv="positioning";e(Wc,Gs),(Uy=Wc.prototype).ia=function(){this.a=null,this.f={},this.state=5,this.u(),Gs.prototype.ia.call(this)},Uy.G=function(){return this.l||iv},Uy.qn=function(){return this.v},Uy.pn=function(){return this.a},Uy.lb=function(){return this.N},Uy.rn=function(){return this.o},Uy.load=function(){0==this.state&&(Js(this,1),this.C(this,this.N),this.D(null,NaN,null))},Uy.Cp=function(t,e,o){this.vg(e),this.Ij(t),this.ri(o)},Uy.Bp=function(){Js(this,3)},Uy.ri=function(t){this.l=t},Uy.Ij=function(t){this.a=t,Js(this,2)},Uy.vg=function(t){this.o=t},Uy.ug=function(t){this.D=t};var iv=[0,0,4096,4096];e(Vc,Ir),Vc.prototype.C=function(t){t.preventDefault(),zc()&&(t=this.a)&&(Uc()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(t=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:t.Cc(),this.D?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):Gc(t):Gc(t)))},Vc.prototype.o=function(){var t=this.element.firstElementChild,e=this.a;Uc()?(t.className=this.c+"-true",jr(this.v,this.l)):(t.className=this.c+"-false",jr(this.l,this.v)),e&&e.Oc()},Vc.prototype.setMap=function(t){Ir.prototype.setMap.call(this,t),t&&this.s.push(Xt(document,nv(),this.o,this))};var nv=function(){var t;return function(){if(!t){var e=document.body;e.webkitRequestFullscreen?t="webkitfullscreenchange":e.mozRequestFullScreen?t="mozfullscreenchange":e.msRequestFullscreen?t="MSFullscreenChange":e.requestFullscreen&&(t="fullscreenchange")}return t}}();e(qc,Ir),(Uy=qc.prototype).En=function(){this.j=null},Uy.Qh=function(){return this.get(av)},Uy.si=function(){return this.get(sv)},Uy.mm=function(t){this.l=this.a.ud(t),Jc(this,this.l)},Uy.nm=function(){Jc(this,null),this.l=null},Uy.setMap=function(t){Ir.prototype.setMap.call(this,t),t&&(t=t.a,this.s.push(Xt(t,"mousemove",this.mm,this),Xt(t,"mouseout",this.nm,this)))},Uy.Gj=function(t){this.set(av,t)},Uy.ti=function(t){this.set(sv,mt(t))};var sv="projection",av="coordinateFormat";e(Xc,Ir),(Uy=Xc.prototype).setMap=function(t){var e=this.a;t!==e&&(e&&((e=e.aa())&&Zt(e,ue("rotation"),this.Qe,this),this.c.Ad(null)),Ir.prototype.setMap.call(this,t),t&&(this.c.Ad(this.C),this.s.push(Xt(t,"propertychange",this.lm,this)),0===this.c.Xe().kc()&&this.c.zf(t.hc()),t=t.aa()))&&(Xt(t,ue("rotation"),this.Qe,this),Lr(t)&&(this.c.Oc(),Zc(this)))},Uy.lm=function(t){"view"===t.key&&((t=t.oldValue)&&Zt(t,ue("rotation"),this.Qe,this),Xt(t=this.a.aa(),ue("rotation"),this.Qe,this))},Uy.Qe=function(){this.c.aa().ce(this.a.aa().Sa())},Uy.Hn=function(t){t.preventDefault(),tu(this)},Uy.Gn=function(){return this.l},Uy.Jn=function(t){this.l!==t&&(this.l=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.j&&tu(this))},Uy.In=function(t){this.l&&this.j!==t&&tu(this)},Uy.Fn=function(){return this.j},Uy.Hl=function(){return this.c},e(eu,Ir);var cv=[1,2,5];eu.prototype.C=function(){return this.get(uv)},eu.prototype.V=function(){ru(this)},eu.prototype.O=function(t){this.set(uv,t)};var uv="units";e(iu,Ir),iu.prototype.ia=function(){oe(this.l),Ir.prototype.ia.call(this)};var pv=0;(Uy=iu.prototype).setMap=function(t){Ir.prototype.setMap.call(this,t),t&&t.render()},Uy.Xl=function(t){var e=this.a.aa();t=au(this,u(1===this.j?(t.offsetX-this.O[0]/2)/this.D:(t.offsetY-this.O[1]/2)/this.v,0,1)),e.animate({resolution:e.constrainResolution(t),duration:this.V,easing:go})},Uy.$l=function(t){this.o||t.b.target!==this.element.firstElementChild||(Or(this.a.aa(),1,1),this.C=t.clientX,this.B=t.clientY,this.o=!0)},Uy.Yl=function(t){if(this.o){var e=this.element.firstElementChild;this.c=au(this,u(1===this.j?(t.clientX-this.C+parseInt(e.style.left,10))/this.D:(t.clientY-this.B+parseInt(e.style.top,10))/this.v,0,1)),this.a.aa().gd(this.c),su(this,this.c),this.C=t.clientX,this.B=t.clientY}},Uy.Zl=function(){if(this.o){var t=this.a.aa();Or(t,1,-1),t.animate({resolution:t.constrainResolution(this.c),duration:this.V,easing:go}),this.o=!1,this.B=this.C=void 0}},e(cu,Ir),cu.prototype.c=function(t){t.preventDefault(),(t=this.a.aa()).Uf(this.extent?this.extent:t.v.G())};var lv=document.implementation.createDocument("","",null),hv=Mu();Pu.prototype.cg=function(){return null},e(Eu,Pu),(Uy=Eu.prototype).S=function(){return"json"},Uy.Yb=function(t,e){return this.dd(Iu(t),Cu(this,t,e))},Uy.Qa=function(t,e){return this.Mg(Iu(t),Cu(this,t,e))},Uy.ed=function(t,e){return this.Qg(Iu(t),Cu(this,t,e))},Uy.sb=function(t){return this.Tg(Iu(t))},Uy.Jd=function(t,e){return JSON.stringify(this.ld(t,e))},Uy.ac=function(t,e){return JSON.stringify(this.qe(t,e))},Uy.md=function(t,e){return JSON.stringify(this.se(t,e))},e(Fu,Eo),(Uy=Fu.prototype).Gk=function(t){this.A?jt(this.A,t.da().slice()):this.A=t.da().slice(),this.c.push(this.A.length),this.u()},Uy.clone=function(){var t=new Fu(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},Uy.Nb=function(t,e,o,r){return r<w(this.G(),t,e)?r:(this.j!=this.g&&(this.o=Math.sqrt(Vo(this.A,0,this.c,this.a,0)),this.j=this.g),Uo(this.A,0,this.c,this.a,this.o,!1,t,e,o,r))},Uy.Wn=function(t,e,o){return"XYM"!=this.ja&&"XYZM"!=this.ja||0===this.A.length?null:function(t,e,o,r,i,n){var s=0;if(n)return As(t,s,e[e.length-1],o,r,i);if(r<t[o-1])return i?((t=t.slice(0,o))[o-1]=r,t):null;if(t[t.length-1]<r)return i?((t=t.slice(t.length-o))[o-1]=r,t):null;for(i=0,n=e.length;i<n;++i){var a=e[i];if(s!=a){if(r<t[s+o-1])break;if(r<=t[a-1])return As(t,s,a,o,r,!1);s=a}}return null}(this.A,this.c,this.a,t,void 0!==e&&e,void 0!==o&&o)},Uy.W=function(){return Xo(this.A,0,this.c,this.a)},Uy.pb=function(){return this.c},Uy.yl=function(t){if(0>t||this.c.length<=t)return null;var e=new Ns(null);return e.ba(this.ja,this.A.slice(0===t?0:this.c[t-1],this.c[t])),e},Uy.wd=function(){var t,e=this.A,o=this.c,r=this.ja,i=[],n=0,s=0;for(t=o.length;s<t;++s){var a=o[s],c=new Ns(null);c.ba(r,e.slice(n,a)),i.push(c),n=a}return i},Uy.Ge=function(){var t,e=[],o=this.A,r=0,i=this.c,n=this.a,s=0;for(t=i.length;s<t;++s){var a=i[s];jt(e,r=Fs(o,r,a,n,.5)),r=a}return e},Uy.xd=function(t){var e,o=[],r=[],i=this.A,n=this.c,s=this.a,a=0,c=0,u=0;for(e=n.length;u<e;++u){var p=n[u];c=Zo(i,a,p,s,t,o,c),r.push(c),a=p}return o.length=c,(t=new Fu(null)).ba("XY",o,r),t},Uy.S=function(){return"MultiLineString"},Uy.$a=function(t){t:{var e,o=this.A,r=this.c,i=this.a,n=0,s=0;for(e=r.length;s<e;++s){if(cr(o,n,r[s],i,t)){t=!0;break t}n=r[s]}t=!1}return t},Uy.na=function(t,e){t?(Ao(this,e,t,2),this.A||(this.A=[]),t=$o(this.A,0,t,this.a,this.c),this.A.length=0===t.length?0:t[t.length-1],this.u()):this.ba("XY",null,this.c)},Uy.ba=function(t,e,o){Fo(this,t,e),this.c=o,this.u()},e(Nu,Eo),(Uy=Nu.prototype).Ik=function(t){this.A?jt(this.A,t.da()):this.A=t.da().slice(),this.u()},Uy.clone=function(){var t=new Nu(null);return t.ba(this.ja,this.A.slice()),t},Uy.Nb=function(t,e,o,r){if(r<w(this.G(),t,e))return r;var i,n=this.A,s=this.a,a=0;for(i=n.length;a<i;a+=s){var c=l(t,e,n[a],n[a+1]);if(c<r){for(r=c,c=0;c<s;++c)o[c]=n[a+c];o.length=s}}return r},Uy.W=function(){return Jo(this.A,0,this.A.length,this.a)},Uy.Ll=function(t){var e=this.A?this.A.length/this.a:0;return 0>t||e<=t?null:((e=new or(null)).ba(this.ja,this.A.slice(t*this.a,(t+1)*this.a)),e)},Uy.de=function(){var t,e=this.A,o=this.ja,r=this.a,i=[],n=0;for(t=e.length;n<t;n+=r){var s=new or(null);s.ba(o,e.slice(n,n+r)),i.push(s)}return i},Uy.S=function(){return"MultiPoint"},Uy.$a=function(t){var e,o=this.A,r=this.a,i=0;for(e=o.length;i<e;i+=r)if(x(t,o[i],o[i+1]))return!0;return!1},Uy.na=function(t,e){t?(Ao(this,e,t,1),this.A||(this.A=[]),this.A.length=qo(this.A,0,t,this.a),this.u()):this.ba("XY",null)},Uy.ba=function(t,e){Fo(this,t,e),this.u()},e(Hu,Eo),(Uy=Hu.prototype).Jk=function(t){if(this.A){var e=this.A.length;jt(this.A,t.da());var o,r=0;for(o=(t=t.pb().slice()).length;r<o;++r)t[r]+=e}else this.A=t.da().slice(),t=t.pb().slice(),this.c.push();this.c.push(t),this.u()},Uy.clone=function(){for(var t=new Hu(null),e=this.c.length,o=Array(e),r=0;r<e;++r)o[r]=this.c[r].slice();return t.ba(this.ja,this.A.slice(),o),t},Uy.Nb=function(t,e,o,r){if(r<w(this.G(),t,e))return r;if(this.C!=this.g){var i,n=this.c,s=0,a=0,c=0;for(i=n.length;c<i;++c){var u=n[c];a=Vo(this.A,s,u,this.a,a),s=u[u.length-1]}this.B=Math.sqrt(a),this.C=this.g}n=Bu(this),s=this.c,a=this.a,c=this.B,i=0,u=[NaN,NaN];var p,l=0;for(p=s.length;l<p;++l){var h=s[l];r=Uo(n,i,h,a,c,!0,t,e,o,r,u),i=h[h.length-1]}return r},Uy.Zc=function(t,e){t:{var o=Bu(this),r=this.c,i=0;if(0!==r.length){var n,s=0;for(n=r.length;s<n;++s){var a=r[s];if(nr(o,i,a,this.a,t,e)){t=!0;break t}i=a[a.length-1]}}t=!1}return t},Uy.Xn=function(){var t,e=Bu(this),o=this.c,r=0,i=0,n=0;for(t=o.length;n<t;++n){var s=o[n];i+=Ho(e,r,s,this.a),r=s[s.length-1]}return i},Uy.W=function(t){if(void 0!==t){var e=Bu(this).slice();dr(e,this.c,this.a,t)}else e=this.A;return Ko(e,0,this.c,this.a)},Uy.td=function(){return this.c},Uy.ul=function(){var t=new Nu(null);return t.ba("XYM",Wu(this).slice()),t},Uy.xd=function(t){var e=[],o=[],r=this.A,i=this.c,n=this.a;t=Math.sqrt(t);var s,a=0,c=0,u=0;for(s=i.length;u<s;++u){var p=i[u],l=[];c=Qo(r,a,p,n,t,e,c,l),o.push(l),a=p[p.length-1]}return e.length=c,(r=new Hu(null)).ba("XY",e,o),r},Uy.Ml=function(t){if(0>t||this.c.length<=t)return null;if(0===t)var e=0;else e=(e=this.c[t-1])[e.length-1];var o=(t=this.c[t].slice())[t.length-1];if(0!==e){var r,i=0;for(r=t.length;i<r;++i)t[i]-=e}return(i=new fr(null)).ba(this.ja,this.A.slice(e,o),t),i},Uy.Vd=function(){var t,e,o=this.ja,r=this.A,i=this.c,n=[],s=0,a=0;for(t=i.length;a<t;++a){var c=i[a].slice(),u=c[c.length-1];if(0!==s){var p=0;for(e=c.length;p<e;++p)c[p]-=s}(p=new fr(null)).ba(o,r.slice(s,u),c),n.push(p),s=u}return n},Uy.S=function(){return"MultiPolygon"},Uy.$a=function(t){t:{var e,o=Bu(this),r=this.c,i=this.a,n=0,s=0;for(e=r.length;s<e;++s){var a=r[s];if(ur(o,n,a,i,t)){t=!0;break t}n=a[a.length-1]}t=!1}return t},Uy.na=function(t,e){if(t){Ao(this,e,t,3),this.A||(this.A=[]),e=this.A;var o=this.a,r=this.c,i=0;r=r||[];var n,s=0,a=0;for(n=t.length;a<n;++a)i=$o(e,i,t[a],o,r[s]),r[s++]=i,i=i[i.length-1];r.length=s,0===r.length?this.A.length=0:(t=r[r.length-1],this.A.length=0===t.length?0:t[t.length-1]),this.u()}else this.ba("XY",null,this.c)},Uy.ba=function(t,e,o){Fo(this,t,e),this.c=o,this.u()},e(zu,Eu);var dv={Point:function(t){return void 0!==t.m&&void 0!==t.z?new or([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new or([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new or([t.x,t.y,t.m],"XYM"):new or([t.x,t.y])},LineString:function(t){return new Ns(t.paths[0],Gu(t))},Polygon:function(t){return new fr(t.rings,Gu(t))},MultiPoint:function(t){return new Nu(t.points,Gu(t))},MultiLineString:function(t){return new Fu(t.paths,Gu(t))},MultiPolygon:function(t){return new Hu(t.rings,Gu(t))}},fv={Point:function(t){var e,o=t.W();return"XYZ"===(t=t.ja)?e={x:o[0],y:o[1],z:o[2]}:"XYM"===t?e={x:o[0],y:o[1],m:o[2]}:"XYZM"===t?e={x:o[0],y:o[1],z:o[2],m:o[3]}:"XY"===t?e={x:o[0],y:o[1]}:c(!1,34),e},LineString:function(t){var e=qu(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.W()]}},Polygon:function(t){var e=qu(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.W(!1)}},MultiPoint:function(t){var e=qu(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.W()}},MultiLineString:function(t){var e=qu(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.W()}},MultiPolygon:function(t){var e=qu(t);t=t.W(!1);for(var o=[],r=0;r<t.length;r++)for(var i=t[r].length-1;0<=i;i--)o.push(t[r][i]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};(Uy=zu.prototype).dd=function(t,e){var o=Uu(t.geometry,e),r=new Es;return this.b&&r.Lc(this.b),r.Va(o),e&&e.pg&&t.attributes[e.pg]&&r.qc(t.attributes[e.pg]),t.attributes&&r.H(t.attributes),r},Uy.Mg=function(t,e){if(e=e||{},t.features){var o,r=[],i=t.features;for(e.pg=t.objectIdFieldName,t=0,o=i.length;t<o;++t)r.push(this.dd(i[t],e));return r}return[this.dd(t,e)]},Uy.Qg=function(t,e){return Uu(t,e)},Uy.Tg=function(t){return t.spatialReference&&t.spatialReference.wkid?mt("EPSG:"+t.spatialReference.wkid):null},Uy.se=function(t,e){return $u(t,Yu(this,e))},Uy.ld=function(t,e){e=Yu(this,e);var o={},r=t.U();return r&&(o.geometry=$u(r,e),e&&e.featureProjection&&(o.geometry.spatialReference={wkid:mt(e.featureProjection).wb.split(":").pop()})),delete(e=t.L())[t.a],o.attributes=Z(e)?{}:e,o},Uy.qe=function(t,e){e=Yu(this,e);var o,r=[],i=0;for(o=t.length;i<o;++i)r.push(this.ld(t[i],e));return{features:r}},e(Ju,Pu),(Uy=Ju.prototype).S=function(){return"xml"},Uy.Yb=function(t,e){return hu(t)?Xu(this,t,e):du(t)?this.Lg(t,e):"string"==typeof t?Xu(this,t=fu(t),e):null},Uy.Lg=function(){return null},Uy.Qa=function(t,e){return hu(t)?Ku(this,t,e):du(t)?this.Kc(t,e):"string"==typeof t?Ku(this,t=fu(t),e):[]},Uy.ed=function(t,e){return hu(t)?null:du(t)?this.vj(t,e):("string"==typeof t&&fu(t),null)},Uy.vj=function(){return null},Uy.sb=function(t){return hu(t)?this.Sg(t):du(t)?this.uf(t):"string"==typeof t?(t=fu(t),this.Sg(t)):null},Uy.Sg=function(){return this.defaultDataProjection},Uy.uf=function(){return this.defaultDataProjection},Uy.Jd=function(){return this.g.serializeToString(this.mh())},Uy.mh=function(){return null},Uy.ac=function(t,e){return t=this.bc(t,e),this.g.serializeToString(t)},Uy.bc=function(){return null},Uy.md=function(t,e){return t=this.re(t,e),this.g.serializeToString(t)},Uy.re=function(){return null},e(Zu,Ju);var yv=/^[\s\xa0]*$/;(Uy=Zu.prototype).ge=function(t,e){var o=t.localName,r=null;if("FeatureCollection"==o)r="http://www.opengis.net/wfs"===t.namespaceURI?Ou([],this.b,t,e,this):Ou(null,this.b,t,e,this);else if("featureMembers"==o||"featureMember"==o){var i,n=e[0],s=n.featureType,a=n.featureNS;if(!s&&t.childNodes){s=[],a={};var c=0;for(i=t.childNodes.length;c<i;++c){var u=t.childNodes[c];if(1===u.nodeType){var p=u.nodeName.split(":").pop();if(-1===s.indexOf(p)){var l="",h=0;for(var d in u=u.namespaceURI,a){if(a[d]===u){l=d;break}++h}l||(a[l="p"+h]=u),s.push(l+":"+p)}}}"featureMember"!=o&&(n.featureType=s,n.featureNS=a)}for(var f in"string"==typeof a&&(c=a,(a={}).p0=c),n={},s=Array.isArray(s)?s:[s],a){for(p={},c=0,i=s.length;c<i;++c)(-1===s[c].indexOf(":")?"p0":s[c].split(":")[0])===f&&(p[s[c].split(":").pop()]="featureMembers"==o?mu(this.Kg,this):gu(this.Kg,this));n[a[f]]=p}r=Ou("featureMember"==o?void 0:[],n,t,e)}return null===r&&(r=[]),r},Uy.rf=function(t,e){var o=e[0];if(o.srsName=t.firstElementChild.getAttribute("srsName"),o.srsDimension=t.firstElementChild.getAttribute("srsDimension"),t=Ou(null,this.qh,t,e,this))return Ru(t,!1,o)},Uy.Kg=function(t,e){var o;(o=t.getAttribute("fid"))||(o=t.getAttributeNS("http://www.opengis.net/gml","id")||"");var r,i={};for(t=t.firstElementChild;t;t=t.nextElementSibling){var n=t.localName;if(0===t.childNodes.length||1===t.childNodes.length&&(3===t.firstChild.nodeType||4===t.firstChild.nodeType)){var s=pu(t,!1);yv.test(s)&&(s=void 0),i[n]=s}else"boundedBy"!==n&&(r=n),i[n]=this.rf(t,e)}return e=new Es(i),r&&e.Lc(r),o&&e.qc(o),e},Uy.Aj=function(t,e){if(t=this.qf(t,e))return(e=new or(null)).ba("XYZ",t),e},Uy.yj=function(t,e){if(t=Ou([],this.kk,t,e,this))return new Nu(t)},Uy.xj=function(t,e){if(t=Ou([],this.jk,t,e,this))return Au(e=new Fu(null),t),e},Uy.zj=function(t,e){if(t=Ou([],this.lk,t,e,this))return Vu(e=new Hu(null),t),e},Uy.qj=function(t,e){Lu(this.pk,t,e,this)},Uy.fi=function(t,e){Lu(this.hk,t,e,this)},Uy.rj=function(t,e){Lu(this.qk,t,e,this)},Uy.sf=function(t,e){if(t=this.qf(t,e))return(e=new Ns(null)).ba("XYZ",t),e},Uy.Xp=function(t,e){if(t=Ou(null,this.te,t,e,this))return t},Uy.wj=function(t,e){if(t=this.qf(t,e))return er(e=new tr(null),"XYZ",t),e},Uy.tf=function(t,e){if((t=Ou([null],this.Gf,t,e,this))&&t[0]){e=new fr(null);var o,r=t[0],i=[r.length],n=1;for(o=t.length;n<o;++n)jt(r,t[n]),i.push(r.length);return e.ba("XYZ",r,i),e}},Uy.qf=function(t,e){return Ou(null,this.te,t,e,this)},Uy.kk={"http://www.opengis.net/gml":{pointMember:mu(Zu.prototype.qj),pointMembers:mu(Zu.prototype.qj)}},Uy.jk={"http://www.opengis.net/gml":{lineStringMember:mu(Zu.prototype.fi),lineStringMembers:mu(Zu.prototype.fi)}},Uy.lk={"http://www.opengis.net/gml":{polygonMember:mu(Zu.prototype.rj),polygonMembers:mu(Zu.prototype.rj)}},Uy.pk={"http://www.opengis.net/gml":{Point:mu(Zu.prototype.qf)}},Uy.hk={"http://www.opengis.net/gml":{LineString:mu(Zu.prototype.sf)}},Uy.qk={"http://www.opengis.net/gml":{Polygon:mu(Zu.prototype.tf)}},Uy.ue={"http://www.opengis.net/gml":{LinearRing:gu(Zu.prototype.Xp)}},Uy.vj=function(t,e){return(t=this.rf(t,[Cu(this,t,e||{})]))?t:null},Uy.Kc=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};return e&&Zy(o,Cu(this,t,e)),this.ge(t,[o])||[]},Uy.uf=function(t){return mt(this.srsName?this.srsName:t.firstElementChild.getAttribute("srsName"))},e(lp,Zu),(Uy=lp.prototype).aq=function(t,e){if(t=Ou([],this.ik,t,e,this))return Au(e=new Fu(null),t),e},Uy.bq=function(t,e){if(t=Ou([],this.mk,t,e,this))return Vu(e=new Hu(null),t),e},Uy.Gh=function(t,e){Lu(this.ek,t,e,this)},Uy.Xj=function(t,e){Lu(this.sk,t,e,this)},Uy.fq=function(t,e){return Ou([null],this.nk,t,e,this)},Uy.iq=function(t,e){return Ou([null],this.rk,t,e,this)},Uy.gq=function(t,e){return Ou([null],this.Gf,t,e,this)},Uy.$p=function(t,e){return Ou([null],this.te,t,e,this)},Uy.Fm=function(t,e){(t=Ou(void 0,this.ue,t,e,this))&&e[e.length-1].push(t)},Uy.Zk=function(t,e){(t=Ou(void 0,this.ue,t,e,this))&&(e[e.length-1][0]=t)},Uy.Bj=function(t,e){if((t=Ou([null],this.tk,t,e,this))&&t[0]){e=new fr(null);var o,r=t[0],i=[r.length],n=1;for(o=t.length;n<o;++n)jt(r,t[n]),i.push(r.length);return e.ba("XYZ",r,i),e}},Uy.tj=function(t,e){if(t=Ou([null],this.fk,t,e,this))return(e=new Ns(null)).ba("XYZ",t),e},Uy.Wp=function(t,e){return T((t=Ou([null],this.gk,t,e,this))[1][0],t[1][1],t[2][0],t[2][1])},Uy.Yp=function(t,e){var o,r=pu(t,!1),i=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/;for(t=[];o=i.exec(r);)t.push(parseFloat(o[1])),r=r.substr(o[0].length);if(""===r){if(r="enu",(e=e[0].srsName)&&(r=mt(e).b),"neu"===r)for(e=0,r=t.length;e<r;e+=3)i=t[e],t[e]=t[e+1],t[e+1]=i;if(2==(e=t.length)&&t.push(0),0!==e)return t}},Uy.Pg=function(t,e){var o=pu(t,!1).replace(/^\s*|\s*$/g,""),r=(e=e[0]).srsName,i=e.srsDimension;e="enu",r&&(e=mt(r).b),o=o.split(/\s+/),r=2,t.getAttribute("srsDimension")?r=np(t.getAttribute("srsDimension")):t.getAttribute("dimension")?r=np(t.getAttribute("dimension")):t.parentNode.getAttribute("srsDimension")?r=np(t.parentNode.getAttribute("srsDimension")):i&&(r=np(i));for(var n,s=[],a=0,c=o.length;a<c;a+=r)t=parseFloat(o[a]),i=parseFloat(o[a+1]),n=3===r?parseFloat(o[a+2]):0,"en"===e.substr(0,2)?s.push(t,i,n):s.push(i,t,n);return s},Uy.te={"http://www.opengis.net/gml":{pos:gu(lp.prototype.Yp),posList:gu(lp.prototype.Pg)}},Uy.Gf={"http://www.opengis.net/gml":{interior:lp.prototype.Fm,exterior:lp.prototype.Zk}},Uy.qh={"http://www.opengis.net/gml":{Point:gu(Zu.prototype.Aj),MultiPoint:gu(Zu.prototype.yj),LineString:gu(Zu.prototype.sf),MultiLineString:gu(Zu.prototype.xj),LinearRing:gu(Zu.prototype.wj),Polygon:gu(Zu.prototype.tf),MultiPolygon:gu(Zu.prototype.zj),Surface:gu(lp.prototype.Bj),MultiSurface:gu(lp.prototype.bq),Curve:gu(lp.prototype.tj),MultiCurve:gu(lp.prototype.aq),Envelope:gu(lp.prototype.Wp)}},Uy.ik={"http://www.opengis.net/gml":{curveMember:mu(lp.prototype.Gh),curveMembers:mu(lp.prototype.Gh)}},Uy.mk={"http://www.opengis.net/gml":{surfaceMember:mu(lp.prototype.Xj),surfaceMembers:mu(lp.prototype.Xj)}},Uy.ek={"http://www.opengis.net/gml":{LineString:mu(Zu.prototype.sf),Curve:mu(lp.prototype.tj)}},Uy.sk={"http://www.opengis.net/gml":{Polygon:mu(Zu.prototype.tf),Surface:mu(lp.prototype.Bj)}},Uy.tk={"http://www.opengis.net/gml":{patches:gu(lp.prototype.fq)}},Uy.fk={"http://www.opengis.net/gml":{segments:gu(lp.prototype.iq)}},Uy.gk={"http://www.opengis.net/gml":{lowerCorner:mu(lp.prototype.Pg),upperCorner:mu(lp.prototype.Pg)}},Uy.nk={"http://www.opengis.net/gml":{PolygonPatch:gu(lp.prototype.gq)}},Uy.rk={"http://www.opengis.net/gml":{LineStringSegment:gu(lp.prototype.$p)}},Uy.Hi=function(t,e,o){var r=o[o.length-1].srsName;r&&t.setAttribute("srsName",r),r=uu(t.namespaceURI,"pos"),t.appendChild(r),t=(o=o[o.length-1]).hasZ,r.setAttribute("srsDimension",t?3:2);var i=o.srsName;o="enu",i&&(o=mt(i).b),e=e.W(),o="en"===o.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0],t&&(o+=" "+(e[2]||0)),pp(r,o)};var mv={"http://www.opengis.net/gml":{lowerCorner:_u(pp),upperCorner:_u(pp)}};(Uy=lp.prototype).Pn=function(t,e,o){var r=o[o.length-1].srsName;r&&t.setAttribute("srsName",r),ju({node:t},mv,hv,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)},Uy.Ei=function(t,e,o){var r=o[o.length-1].srsName;r&&t.setAttribute("srsName",r),r=uu(t.namespaceURI,"posList"),t.appendChild(r),hp(r,e,o)},Uy.On=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),uu(e.namespaceURI,void 0!==o?"interior":"exterior")},Uy.af=function(t,e,o){var r=o[o.length-1],i=r.hasZ;r=r.srsName,"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Ud(),ju({node:t,hasZ:i,srsName:r},_v,this.On,e,o,void 0,this)):"Surface"===t.nodeName&&(i=uu(t.namespaceURI,"patches"),t.appendChild(i),t=uu(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.af(t,e,o))},Uy.$e=function(t,e,o){var r=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&r&&t.setAttribute("srsName",r),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(r=uu(t.namespaceURI,"posList"),t.appendChild(r),hp(r,e,o)):"Curve"===t.nodeName&&(r=uu(t.namespaceURI,"segments"),t.appendChild(r),t=uu(r.namespaceURI,"LineStringSegment"),r.appendChild(t),this.$e(t,e,o))},Uy.Gi=function(t,e,o){var r=o[o.length-1],i=r.hasZ,n=r.srsName;r=r.surface,n&&t.setAttribute("srsName",n),e=e.Vd(),ju({node:t,hasZ:i,srsName:n,surface:r},gv,this.l,e,o,void 0,this)},Uy.Qn=function(t,e,o){var r=o[o.length-1],i=r.srsName;r=r.hasZ,i&&t.setAttribute("srsName",i),e=e.de(),ju({node:t,hasZ:r,srsName:i},vv,Mu("pointMember"),e,o,void 0,this)},Uy.Fi=function(t,e,o){var r=o[o.length-1],i=r.hasZ,n=r.srsName;r=r.curve,n&&t.setAttribute("srsName",n),e=e.wd(),ju({node:t,hasZ:i,srsName:n,curve:r},bv,this.l,e,o,void 0,this)},Uy.Ii=function(t,e,o){var r=uu(t.namespaceURI,"LinearRing");t.appendChild(r),this.Ei(r,e,o)},Uy.Ji=function(t,e,o){var r=this.a(e,o);r&&(t.appendChild(r),this.af(r,e,o))},Uy.Rn=function(t,e,o){var r=uu(t.namespaceURI,"Point");t.appendChild(r),this.Hi(r,e,o)},Uy.Di=function(t,e,o){var r=this.a(e,o);r&&(t.appendChild(r),this.$e(r,e,o))},Uy.Yc=function(t,e,o){var r,i=o[o.length-1],n=Zy({},i);n.node=t,r=Array.isArray(e)?i.dataProjection?St(e,i.featureProjection,i.dataProjection):e:Ru(e,!0,i),ju(n,wv,this.a,[r],o,void 0,this)},Uy.Ci=function(t,e,o){var r=e.c;r&&t.setAttribute("fid",r);var i=(r=o[o.length-1]).featureNS,n=e.a;r.tb||(r.tb={},r.tb[i]={});var s=e.L();e=[];var a=[];for(u in s){var c=s[u];null!==c&&(e.push(u),a.push(c),u==n||c instanceof Ro?u in r.tb[i]||(r.tb[i][u]=_u(this.Yc,this)):u in r.tb[i]||(r.tb[i][u]=_u(pp)))}var u=Zy({},r);u.node=t,ju(u,r.tb,Mu(void 0,i),a,o,e)};var gv={"http://www.opengis.net/gml":{surfaceMember:_u(lp.prototype.Ji),polygonMember:_u(lp.prototype.Ji)}},vv={"http://www.opengis.net/gml":{pointMember:_u(lp.prototype.Rn)}},bv={"http://www.opengis.net/gml":{lineStringMember:_u(lp.prototype.Di),curveMember:_u(lp.prototype.Di)}},_v={"http://www.opengis.net/gml":{exterior:_u(lp.prototype.Ii),interior:_u(lp.prototype.Ii)}},wv={"http://www.opengis.net/gml":{Curve:_u(lp.prototype.$e),MultiCurve:_u(lp.prototype.Fi),Point:_u(lp.prototype.Hi),MultiPoint:_u(lp.prototype.Qn),LineString:_u(lp.prototype.$e),MultiLineString:_u(lp.prototype.Fi),LinearRing:_u(lp.prototype.Ei),Polygon:_u(lp.prototype.af),MultiPolygon:_u(lp.prototype.Gi),Surface:_u(lp.prototype.af),MultiSurface:_u(lp.prototype.Gi),Envelope:_u(lp.prototype.Pn)}},Mv={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};lp.prototype.l=function(t,e){return uu("http://www.opengis.net/gml",Mv[e[e.length-1].node.nodeName])},lp.prototype.a=function(t,e){var o=e[e.length-1];e=o.multiSurface;var r=o.surface,i=o.curve;return o=o.multiCurve,Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.S())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===r?t="Surface":"LineString"===t&&!0===i?t="Curve":"MultiLineString"===t&&!0===o&&(t="MultiCurve"),uu("http://www.opengis.net/gml",t)},lp.prototype.re=function(t,e){e=Yu(this,e);var o=uu("http://www.opengis.net/gml","geom"),r={node:o,hasZ:this.hasZ,srsName:this.srsName,curve:this.c,surface:this.s,multiSurface:this.j,multiCurve:this.f};return e&&Zy(r,e),this.Yc(o,t,[r]),o},lp.prototype.bc=function(t,e){e=Yu(this,e);var o=uu("http://www.opengis.net/gml","featureMembers");o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var r={srsName:this.srsName,hasZ:this.hasZ,curve:this.c,surface:this.s,multiSurface:this.j,multiCurve:this.f,featureNS:this.featureNS,featureType:this.featureType};e&&Zy(r,e);var i=(e=[r])[e.length-1];r=i.featureType;var n=i.featureNS,s={};return s[n]={},s[n][r]=_u(this.Ci,this),(i=Zy({},i)).node=o,ju(i,s,Mu(r,n),t,e),o},e(dp,Zu),(Uy=dp.prototype).uj=function(t,e){t=pu(t,!1).replace(/^\s*|\s*$/g,"");var o=e[0].srsName;e="enu",o&&(o=mt(o))&&(e=o.b);for(var r,i,n=[],s=0,a=(t=t.trim().split(/\s+/)).length;s<a;s++)i=t[s].split(/,+/),o=parseFloat(i[0]),r=parseFloat(i[1]),i=3===i.length?parseFloat(i[2]):0,"en"===e.substr(0,2)?n.push(o,r,i):n.push(r,o,i);return n},Uy.Up=function(t,e){return T((t=Ou([null],this.dk,t,e,this))[1][0],t[1][1],t[1][3],t[1][4])},Uy.Dm=function(t,e){(t=Ou(void 0,this.ue,t,e,this))&&e[e.length-1].push(t)},Uy.Ep=function(t,e){(t=Ou(void 0,this.ue,t,e,this))&&(e[e.length-1][0]=t)},Uy.te={"http://www.opengis.net/gml":{coordinates:gu(dp.prototype.uj)}},Uy.Gf={"http://www.opengis.net/gml":{innerBoundaryIs:dp.prototype.Dm,outerBoundaryIs:dp.prototype.Ep}},Uy.dk={"http://www.opengis.net/gml":{coordinates:mu(dp.prototype.uj)}},Uy.qh={"http://www.opengis.net/gml":{Point:gu(Zu.prototype.Aj),MultiPoint:gu(Zu.prototype.yj),LineString:gu(Zu.prototype.sf),MultiLineString:gu(Zu.prototype.xj),LinearRing:gu(Zu.prototype.wj),Polygon:gu(Zu.prototype.tf),MultiPolygon:gu(Zu.prototype.zj),Box:gu(dp.prototype.Up)}},Uy.wg=function(t,e){var o=e[e.length-1];e=o.multiSurface;var r=o.surface;return o=o.multiCurve,Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.S())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===r?t="Surface":"MultiLineString"===t&&!0===o&&(t="MultiCurve"),uu("http://www.opengis.net/gml",t)},Uy.ui=function(t,e,o){var r,i=o[o.length-1],n=Zy({},i);n.node=t,r=Array.isArray(e)?i.dataProjection?St(e,i.featureProjection,i.dataProjection):e:Ru(e,!0,i),ju(n,Sv,this.wg,[r],o,void 0,this)},Uy.Ye=function(t,e,o){var r=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&r&&t.setAttribute("srsName",r),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(r=fp(t.namespaceURI),t.appendChild(r),yp(r,e,o)):"Curve"===t.nodeName&&(r=uu(t.namespaceURI,"segments"),t.appendChild(r),t=uu(r.namespaceURI,"LineStringSegment"),r.appendChild(t),this.Ye(t,e,o))},Uy.Ze=function(t,e,o){var r=o[o.length-1],i=r.hasZ;r=r.srsName,"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Ud(),ju({node:t,hasZ:i,srsName:r},xv,this.Kn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=uu(t.namespaceURI,"patches"),t.appendChild(i),t=uu(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Ze(t,e,o))},Uy.Kn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),uu(e.namespaceURI,void 0!==o?"innerBoundaryIs":"outerBoundaryIs")},Uy.Ai=function(t,e,o){var r=uu(t.namespaceURI,"LinearRing");t.appendChild(r),this.wi(r,e,o)},Uy.xi=function(t,e,o){var r=o[o.length-1],i=r.hasZ,n=r.srsName;r=r.curve,n&&t.setAttribute("srsName",n),e=e.wd(),ju({node:t,hasZ:i,srsName:n,curve:r},Ov,this.a,e,o,void 0,this)},Uy.zi=function(t,e,o){var r=o[o.length-1];o=r.hasZ;var i=r.srsName;i&&t.setAttribute("srsName",i),r=fp(t.namespaceURI),t.appendChild(r),pp(r,t=mp(t=e.W(),i,o))},Uy.Mn=function(t,e,o){var r=o[o.length-1],i=r.hasZ;(r=r.srsName)&&t.setAttribute("srsName",r),e=e.de(),ju({node:t,hasZ:i,srsName:r},Lv,Mu("pointMember"),e,o,void 0,this)},Uy.Nn=function(t,e,o){var r=uu(t.namespaceURI,"Point");t.appendChild(r),this.zi(r,e,o)},Uy.vi=function(t,e,o){var r=this.wg(e,o);r&&(t.appendChild(r),this.Ye(r,e,o))},Uy.wi=function(t,e,o){var r=o[o.length-1].srsName;r&&t.setAttribute("srsName",r),r=fp(t.namespaceURI),t.appendChild(r),yp(r,e,o)},Uy.yi=function(t,e,o){var r=o[o.length-1],i=r.hasZ,n=r.srsName;r=r.surface,n&&t.setAttribute("srsName",n),e=e.Vd(),ju({node:t,hasZ:i,srsName:n,surface:r},jv,this.a,e,o,void 0,this)},Uy.Bi=function(t,e,o){var r=this.wg(e,o);r&&(t.appendChild(r),this.Ze(r,e,o))},Uy.Ln=function(t,e,o){var r=o[o.length-1].srsName;r&&t.setAttribute("srsName",r),ju({node:t},kv,hv,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)};var Sv={"http://www.opengis.net/gml":{Curve:_u(dp.prototype.Ye),MultiCurve:_u(dp.prototype.xi),Point:_u(dp.prototype.zi),MultiPoint:_u(dp.prototype.Mn),LineString:_u(dp.prototype.Ye),MultiLineString:_u(dp.prototype.xi),LinearRing:_u(dp.prototype.wi),Polygon:_u(dp.prototype.Ze),MultiPolygon:_u(dp.prototype.yi),Surface:_u(dp.prototype.Ze),MultiSurface:_u(dp.prototype.yi),Envelope:_u(dp.prototype.Ln)}},xv={"http://www.opengis.net/gml":{outerBoundaryIs:_u(dp.prototype.Ai),innerBoundaryIs:_u(dp.prototype.Ai)}},Lv={"http://www.opengis.net/gml":{pointMember:_u(dp.prototype.Nn)}},Ov={"http://www.opengis.net/gml":{lineStringMember:_u(dp.prototype.vi),curveMember:_u(dp.prototype.vi)}};dp.prototype.a=function(t,e){return uu("http://www.opengis.net/gml",Tv[e[e.length-1].node.nodeName])};var Tv={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},jv={"http://www.opengis.net/gml":{surfaceMember:_u(dp.prototype.Bi),polygonMember:_u(dp.prototype.Bi)}},kv={"http://www.opengis.net/gml":{lowerCorner:_u(pp),upperCorner:_u(pp)}};e(gp,Ju);var Dv=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],Pv={rte:Mp,trk:Sp,wpt:xp},Cv=xu(Dv,{rte:mu(Mp),trk:mu(Sp),wpt:mu(xp)}),Yv=xu(Dv,{text:bu(sp,"linkText"),type:bu(sp,"linkType")}),Rv=xu(Dv,{name:bu(sp),cmt:bu(sp),desc:bu(sp),src:bu(sp),link:_p,number:bu(ip),extensions:wp,type:bu(sp),rtept:function(t,e){var o=Ou({},Ev,t,e);o&&vp((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),Ev=xu(Dv,{ele:bu(op),time:bu(ep)}),Iv=xu(Dv,{name:bu(sp),cmt:bu(sp),desc:bu(sp),src:bu(sp),link:_p,number:bu(ip),type:bu(sp),extensions:wp,trkseg:function(t,e){var o=e[e.length-1];Lu(Fv,t,e),o.ends.push(o.flatCoordinates.length)}}),Fv=xu(Dv,{trkpt:function(t,e){var o=Ou({},Av,t,e);o&&vp((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),Av=xu(Dv,{ele:bu(op),time:bu(ep)}),Nv=xu(Dv,{ele:bu(op),time:bu(ep),magvar:bu(op),geoidheight:bu(op),name:bu(sp),cmt:bu(sp),desc:bu(sp),src:bu(sp),link:_p,sym:bu(sp),type:bu(sp),fix:bu(sp),sat:bu(ip),hdop:bu(op),vdop:bu(op),pdop:bu(op),ageofdgpsdata:bu(op),dgpsid:bu(ip),extensions:wp});gp.prototype.Lg=function(t,e){if(!Ot(Dv,t.namespaceURI))return null;var o=Pv[t.localName];return o&&(t=o(t,[Cu(this,t,e)]))?(Lp(this,[t]),t):null},gp.prototype.Kc=function(t,e){return Ot(Dv,t.namespaceURI)&&"gpx"==t.localName&&(t=Ou([],Cv,t,[Cu(this,t,e)]))?(Lp(this,t),t):[]};var Hv=["text","type"],Wv=xu(Dv,{text:_u(pp),type:_u(pp)}),Bv=xu(Dv,"name cmt desc src link number type rtept".split(" ")),Vv=xu(Dv,{name:_u(pp),cmt:_u(pp),desc:_u(pp),src:_u(pp),link:_u(Op),number:_u(up),type:_u(pp),rtept:wu(_u(Tp))}),zv=xu(Dv,["ele","time"]),Uv=xu(Dv,"name cmt desc src link number type trkseg".split(" ")),Gv=xu(Dv,{name:_u(pp),cmt:_u(pp),desc:_u(pp),src:_u(pp),link:_u(Op),number:_u(up),type:_u(pp),trkseg:wu(_u((function(t,e,o){ju({node:t,geometryLayout:e.ja,properties:{}},$v,qv,e.W(),o)})))}),qv=Mu("trkpt"),$v=xu(Dv,{trkpt:_u(Tp)}),Jv=xu(Dv,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Xv=xu(Dv,{ele:_u(cp),time:_u((function(t,e){e=new Date(1e3*e),t.appendChild(lv.createTextNode(e.getUTCFullYear()+"-"+oo(e.getUTCMonth()+1)+"-"+oo(e.getUTCDate())+"T"+oo(e.getUTCHours())+":"+oo(e.getUTCMinutes())+":"+oo(e.getUTCSeconds())+"Z"))})),magvar:_u(cp),geoidheight:_u(cp),name:_u(pp),cmt:_u(pp),desc:_u(pp),src:_u(pp),link:_u(Op),sym:_u(pp),type:_u(pp),fix:_u(pp),sat:_u(up),hdop:_u(cp),vdop:_u(cp),pdop:_u(cp),ageofdgpsdata:_u(cp),dgpsid:_u(up)}),Kv={Point:"wpt",LineString:"rte",MultiLineString:"trk"},Zv=xu(Dv,{rte:_u((function(t,e,o){var r=o[0],i=e.L();t={node:t,properties:i},(e=e.U())&&(e=Ru(e,!0,r),t.geometryLayout=e.ja,i.rtept=e.W()),i=Su(i,r=Bv[o[o.length-1].node.namespaceURI]),ju(t,Vv,hv,i,o,r)})),trk:_u((function(t,e,o){var r=o[0],i=e.L();t={node:t,properties:i},(e=e.U())&&(e=Ru(e,!0,r),i.trkseg=e.wd()),i=Su(i,r=Uv[o[o.length-1].node.namespaceURI]),ju(t,Gv,hv,i,o,r)})),wpt:_u((function(t,e,o){var r=o[0],i=o[o.length-1];i.properties=e.L(),(e=e.U())&&(e=Ru(e,!0,r),i.geometryLayout=e.ja,Tp(t,e.W(),o))}))});gp.prototype.bc=function(t,e){e=Yu(this,e);var o=uu("http://www.topografix.com/GPX/1/1","gpx");return o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),o.setAttribute("version","1.1"),o.setAttribute("creator","OpenLayers"),ju({node:o},Zv,jp,t,[e]),o},e(kp,Ro),(Uy=kp.prototype).clone=function(){var t=new kp(null);return t.Kj(this.a),t},Uy.Nb=function(t,e,o,r){if(r<w(this.G(),t,e))return r;var i,n=this.a,s=0;for(i=n.length;s<i;++s)r=n[s].Nb(t,e,o,r);return r},Uy.Zc=function(t,e){var o,r=this.a,i=0;for(o=r.length;i<o;++i)if(r[i].Zc(t,e))return!0;return!1},Uy.Ae=function(t){j(t);for(var e=this.a,o=0,r=e.length;o<r;++o)C(t,e[o].G());return t},Uy.vd=function(){return Dp(this.a)},Uy.Wd=function(t){if(this.l!=this.g&&(X(this.i),this.f=0,this.l=this.g),0>t||0!==this.f&&t<this.f)return this;var e=t.toString();if(this.i.hasOwnProperty(e))return this.i[e];var o,r=[],i=this.a,n=!1,s=0;for(o=i.length;s<o;++s){var a=i[s],c=a.Wd(t);r.push(c),c!==a&&(n=!0)}return n?(Pp(t=new kp(null)),t.a=r,Cp(t),t.u(),this.i[e]=t):(this.f=t,this)},Uy.S=function(){return"GeometryCollection"},Uy.$a=function(t){var e,o=this.a,r=0;for(e=o.length;r<e;++r)if(o[r].$a(t))return!0;return!1},Uy.rotate=function(t,e){for(var o=this.a,r=0,i=o.length;r<i;++r)o[r].rotate(t,e);this.u()},Uy.scale=function(t,e,o){o||(o=N(this.G()));for(var r=this.a,i=0,n=r.length;i<n;++i)r[i].scale(t,e,o);this.u()},Uy.Kj=function(t){t=Dp(t),Pp(this),this.a=t,Cp(this),this.u()},Uy.Rc=function(t){var e,o=this.a,r=0;for(e=o.length;r<e;++r)o[r].Rc(t);this.u()},Uy.translate=function(t,e){var o,r=this.a,i=0;for(o=r.length;i<o;++i)r[i].translate(t,e);this.u()},Uy.ia=function(){Pp(this),Ro.prototype.ia.call(this)},e(Yp,Eu);var Qv={Point:function(t){return new or(t.coordinates)},LineString:function(t){return new Ns(t.coordinates)},Polygon:function(t){return new fr(t.coordinates)},MultiPoint:function(t){return new Nu(t.coordinates)},MultiLineString:function(t){return new Fu(t.coordinates)},MultiPolygon:function(t){return new Hu(t.coordinates)},GeometryCollection:function(t,e){return new kp(t=t.geometries.map((function(t){return Rp(t,e)})))}},tb={Point:function(t){return{type:"Point",coordinates:t.W()}},LineString:function(t){return{type:"LineString",coordinates:t.W()}},Polygon:function(t,e){if(e)var o=e.rightHanded;return{type:"Polygon",coordinates:t.W(o)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.W()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.W()}},MultiPolygon:function(t,e){if(e)var o=e.rightHanded;return{type:"MultiPolygon",coordinates:t.W(o)}},GeometryCollection:function(t,e){return{type:"GeometryCollection",geometries:t.a.map((function(t){var o=Zy({},e);return delete o.featureProjection,Ep(t,o)}))}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};(Uy=Yp.prototype).dd=function(t,e){e=Rp((t="Feature"===t.type?t:{type:"Feature",geometry:t}).geometry,e);var o=new Es;return this.b?o.Lc(this.b):this.a&&void 0!==t.geometry_name&&o.Lc(t.geometry_name),o.Va(e),void 0!==t.id&&o.qc(t.id),t.properties&&o.H(t.properties),o},Uy.Mg=function(t,e){if("FeatureCollection"===t.type){var o,r=[],i=0;for(o=(t=t.features).length;i<o;++i)r.push(this.dd(t[i],e))}else r=[this.dd(t,e)];return r},Uy.Qg=function(t,e){return Rp(t,e)},Uy.Tg=function(t){var e;return(t=t.crs)?"name"==t.type?e=mt(t.properties.name):c(!1,36):e=this.defaultDataProjection,e},Uy.ld=function(t,e){e=Yu(this,e);var o={type:"Feature"},r=t.c;return void 0!==r&&(o.id=r),o.geometry=(r=t.U())?Ep(r,e):null,delete(e=t.L())[t.a],o.properties=Z(e)?null:e,o},Uy.qe=function(t,e){e=Yu(this,e);var o,r=[],i=0;for(o=t.length;i<o;++i)r.push(this.ld(t[i],e));return{type:"FeatureCollection",features:r}},Uy.se=function(t,e){return Ep(t,Yu(this,e))},e(Ip,Pu),(Uy=Ip.prototype).S=function(){return"text"},Uy.Yb=function(t,e){return this.fe(Fp(t),Yu(this,e))},Uy.Qa=function(t,e){return this.Ng(Fp(t),Yu(this,e))},Uy.ed=function(t,e){return this.Gd(Fp(t),Yu(this,e))},Uy.sb=function(){return this.defaultDataProjection},Uy.Jd=function(t,e){return this.pe(t,Yu(this,e))},Uy.ac=function(t,e){return this.nh(t,Yu(this,e))},Uy.md=function(t,e){return this.Kd(t,Yu(this,e))},e(Ap,Ip);var eb,ob,rb,ib,nb,sb,ab,cb,ub,pb,lb,hb,db,fb,yb,mb=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,gb=/^H.([A-Z]{3}).*?:(.*)/,vb=/^HFDTE(\d{2})(\d{2})(\d{2})/,bb=/\r\n|\r|\n/;(Uy=Ap.prototype).fe=function(t,e){var o=this.b,r=t.split(bb);t={};var i,n=[],s=2e3,a=0,c=1,u=-1,p=0;for(i=r.length;p<i;++p){var l,h=r[p];if("B"==h.charAt(0)){if(l=mb.exec(h)){h=parseInt(l[1],10);var d=parseInt(l[2],10),f=parseInt(l[3],10),y=parseInt(l[4],10)+parseInt(l[5],10)/6e4;"S"==l[6]&&(y=-y);var m=parseInt(l[7],10)+parseInt(l[8],10)/6e4;"W"==l[9]&&(m=-m),n.push(m,y),"none"!=o&&n.push("gps"==o?parseInt(l[11],10):"barometric"==o?parseInt(l[12],10):0),(l=Date.UTC(s,a,c,h,d,f))<u&&(l=Date.UTC(s,a,c+1,h,d,f)),n.push(l/1e3),u=l}}else"H"==h.charAt(0)&&((l=vb.exec(h))?(c=parseInt(l[1],10),a=parseInt(l[2],10)-1,s=2e3+parseInt(l[3],10)):(l=gb.exec(h))&&(t[l[1]]=l[2].trim()))}return 0===n.length?null:((r=new Ns(null)).ba("none"==o?"XYM":"XYZM",n),(e=new Es(Ru(r,!1,e))).H(t),e)},Uy.Ng=function(t,e){return(t=this.fe(t,e))?[t]:[]},Uy.pe=function(){},Uy.nh=function(){},Uy.Kd=function(){},Uy.Gd=function(){},e(Np,ne),Np.prototype.v=function(){this.g=3,this.i.forEach(Qt),this.i=null,this.b("change")},Np.prototype.o=function(){if(this.g=2,this.a&&(this.M.width=this.a[0],this.M.height=this.a[1]),this.a=[this.M.width,this.M.height],this.i.forEach(Qt),this.i=null,Hp(this),!this.s&&null!==this.f){this.c.width=this.M.width,this.c.height=this.M.height;var t=this.c.getContext("2d");t.drawImage(this.M,0,0);for(var e=t.getImageData(0,0,this.M.width,this.M.height),o=e.data,r=this.f[0]/255,i=this.f[1]/255,n=this.f[2]/255,s=0,a=o.length;s<a;s+=4)o[s]*=r,o[s+1]*=i,o[s+2]*=n;t.putImageData(e,0,0)}this.b("change")},Np.prototype.Y=function(){return this.c?this.c:this.M},Np.prototype.load=function(){if(0==this.g){this.g=1,this.i=[Kt(this.M,"error",this.v,this),Kt(this.M,"load",this.o,this)];try{this.M.src=this.l}catch(t){this.v()}}},e(Wp,xs),(Uy=Wp.prototype).clone=function(){return new Wp({anchor:this.l.slice(),anchorOrigin:this.g,anchorXUnits:this.C,anchorYUnits:this.B,crossOrigin:this.qa,color:this.j&&this.j.slice?this.j.slice():this.j||void 0,src:this.b.l,offset:this.oa.slice(),offsetOrigin:this.c,size:null!==this.D?this.D.slice():void 0,opacity:this.i,scale:this.a,snapToPixel:this.v,rotation:this.f,rotateWithView:this.s})},Uy.Vc=function(){if(this.o)return this.o;var t=this.l,e=this.oc();if("fraction"==this.C||"fraction"==this.B){if(!e)return null;t=this.l.slice(),"fraction"==this.C&&(t[0]*=e[0]),"fraction"==this.B&&(t[1]*=e[1])}if("top-left"!=this.g){if(!e)return null;t===this.l&&(t=this.l.slice()),"top-right"!=this.g&&"bottom-right"!=this.g||(t[0]=-t[0]+e[0]),"bottom-left"!=this.g&&"bottom-right"!=this.g||(t[1]=-t[1]+e[1])}return this.o=t},Uy.np=function(){return this.j},Uy.Y=function(t){return this.b.Y(t)},Uy.He=function(){return this.b.a},Uy.gf=function(){return this.b.g},Uy.Eg=function(){var t=this.b;if(!t.j)if(t.s){var e=t.a[0],o=t.a[1],r=Tr(e,o);r.fillRect(0,0,e,o),t.j=r.canvas}else t.j=t.M;return t.j},Uy.bd=function(){if(this.N)return this.N;var t=this.oa;if("top-left"!=this.c){var e=this.oc(),o=this.b.a;if(!e||!o)return null;t=t.slice(),"top-right"!=this.c&&"bottom-right"!=this.c||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.c&&"bottom-right"!=this.c||(t[1]=o[1]-e[1]-t[1])}return this.N=t},Uy.op=function(){return this.b.l},Uy.oc=function(){return this.D?this.D:this.b.a},Uy.gi=function(t,e){Xt(this.b,"change",t,e)},Uy.load=function(){this.b.load()},Uy.Yj=function(t,e){Zt(this.b,"change",t,e)},e(Bp,Ju);var _b=["http://www.google.com/kml/ext/2.2"],wb=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],Mb={fraction:"fraction",pixels:"pixels",insetPixels:"pixels"},Sb=xu(wb,{displayName:bu(sp),value:bu(sp)}),xb=xu(wb,{Data:function(t,e){var o=t.getAttribute("name");Lu(Sb,t,e),t=e[e.length-1],null!==o?t[o]=t.value:null!==t.displayName&&(t[t.displayName]=t.value),delete t.value},SchemaData:function(t,e){Lu(Gb,t,e)}}),Lb=xu(wb,{LatLonAltBox:function(t,e){(t=Ou({},Ob,t,e))&&((e=e[e.length-1]).extent=[parseFloat(t.west),parseFloat(t.south),parseFloat(t.east),parseFloat(t.north)],e.altitudeMode=t.altitudeMode,e.minAltitude=parseFloat(t.minAltitude),e.maxAltitude=parseFloat(t.maxAltitude))},Lod:function(t,e){(t=Ou({},Tb,t,e))&&((e=e[e.length-1]).minLodPixels=parseFloat(t.minLodPixels),e.maxLodPixels=parseFloat(t.maxLodPixels),e.minFadeExtent=parseFloat(t.minFadeExtent),e.maxFadeExtent=parseFloat(t.maxFadeExtent))}}),Ob=xu(wb,{altitudeMode:bu(sp),minAltitude:bu(op),maxAltitude:bu(op),north:bu(op),south:bu(op),east:bu(op),west:bu(op)}),Tb=xu(wb,{minLodPixels:bu(op),maxLodPixels:bu(op),minFadeExtent:bu(op),maxFadeExtent:bu(op)}),jb=xu(wb,{extrude:bu(Qu),tessellate:bu(Qu),altitudeMode:bu(sp)}),kb=xu(wb,{coordinates:gu(qp)}),Db=xu(wb,{innerBoundaryIs:function(t,e){(t=Ou(void 0,Eb,t,e))&&e[e.length-1].push(t)},outerBoundaryIs:function(t,e){(t=Ou(void 0,Bb,t,e))&&(e[e.length-1][0]=t)}}),Pb=xu(wb,{when:function(t,e){e=e[e.length-1].ak,t=pu(t,!1),t=Date.parse(t),e.push(isNaN(t)?0:t)}},xu(_b,{coord:function(t,e){e=e[e.length-1].A,t=pu(t,!1),(t=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(t))?e.push(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),0):e.push(0,0,0,0)}})),Cb=xu(wb,{coordinates:gu(qp)}),Yb=xu(wb,{href:bu($p)},xu(_b,{x:bu(op),y:bu(op),w:bu(op),h:bu(op)})),Rb=xu(wb,{Icon:bu((function(t,e){return(t=Ou({},Yb,t,e))?t:null})),heading:bu(op),hotSpot:bu((function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits"),r="insetPixels"!==e?"insetPixels"!==o?"bottom-left":"top-left":"insetPixels"!==o?"bottom-right":"top-right";return{x:parseFloat(t.getAttribute("x")),oh:Mb[e],y:parseFloat(t.getAttribute("y")),ph:Mb[o],origin:r}})),scale:bu(Jp)}),Eb=xu(wb,{LinearRing:gu(Xp)}),Ib=xu(wb,{color:bu(Gp),scale:bu(Jp)}),Fb=xu(wb,{color:bu(Gp),width:bu(op)}),Ab=xu(wb,{LineString:mu(Zp),LinearRing:mu(Qp),MultiGeometry:mu(tl),Point:mu(el),Polygon:mu(ol)}),Nb=xu(_b,{Track:mu(Kp)}),Hb=xu(wb,{ExtendedData:nl,Region:sl,Link:function(t,e){Lu(Wb,t,e)},address:bu(sp),description:bu(sp),name:bu(sp),open:bu(Qu),phoneNumber:bu(sp),visibility:bu(Qu)}),Wb=xu(wb,{href:bu($p)}),Bb=xu(wb,{LinearRing:gu(Xp)}),Vb=xu(wb,{Style:bu(rl),key:bu(sp),styleUrl:bu($p)}),zb=xu(wb,{ExtendedData:nl,Region:sl,MultiGeometry:bu(tl,"geometry"),LineString:bu(Zp,"geometry"),LinearRing:bu(Qp,"geometry"),Point:bu(el,"geometry"),Polygon:bu(ol,"geometry"),Style:bu(rl),StyleMap:function(t,e){(t=Ou(void 0,$b,t,e))&&(e=e[e.length-1],Array.isArray(t)?e.Style=t:"string"==typeof t?e.styleUrl=t:c(!1,38))},address:bu(sp),description:bu(sp),name:bu(sp),open:bu(Qu),phoneNumber:bu(sp),styleUrl:bu($p),visibility:bu(Qu)},xu(_b,{MultiTrack:bu((function(t,e){if(t=Ou([],Nb,t,e))return Au(e=new Fu(null),t),e}),"geometry"),Track:bu(Kp,"geometry")})),Ub=xu(wb,{color:bu(Gp),fill:bu(Qu),outline:bu(Qu)}),Gb=xu(wb,{SimpleData:function(t,e){var o=t.getAttribute("name");null!==o&&(t=sp(t),e[e.length-1][o]=t)}}),qb=xu(wb,{IconStyle:function(t,e){if(t=Ou({},Rb,t,e)){e=e[e.length-1];var o,r="Icon"in t?t.Icon:{},i=!("Icon"in t)||0<Object.keys(r).length,n=r.href;n?o=n:i&&(o=cb),n="bottom-left";var s,a=t.hotSpot;if(a){var c=[a.x,a.y],u=a.oh,p=a.ph;n=a.origin}else o===cb?(c=ib,u=nb,p=sb):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(o)&&(c=[.5,0],p=u="fraction");a=r.x;var l,d,f=r.y;void 0!==a&&void 0!==f&&(s=[a,f]),a=r.w,r=r.h,void 0!==a&&void 0!==r&&(l=[a,r]),void 0!==(r=t.heading)&&(d=h(r)),t=t.scale,i?(o==cb&&(l=ab,void 0===t&&(t=ub)),o=new Wp({anchor:c,anchorOrigin:n,anchorXUnits:u,anchorYUnits:p,crossOrigin:"anonymous",offset:s,offsetOrigin:"bottom-left",rotation:d,scale:t,size:l,src:o}),e.imageStyle=o):e.imageStyle=lb}},LabelStyle:function(t,e){(t=Ou({},Ib,t,e))&&(e[e.length-1].textStyle=new Ws({fill:new js({color:"color"in t?t.color:ob}),scale:t.scale}))},LineStyle:function(t,e){(t=Ou({},Fb,t,e))&&(e[e.length-1].strokeStyle=new ks({color:"color"in t?t.color:ob,width:"width"in t?t.width:1}))},PolyStyle:function(t,e){if(t=Ou({},Ub,t,e)){(e=e[e.length-1]).fillStyle=new js({color:"color"in t?t.color:ob});var o=t.fill;void 0!==o&&(e.fill=o),void 0!==(t=t.outline)&&(e.outline=t)}}}),$b=xu(wb,{Pair:function(t,e){if(t=Ou({},Vb,t,e)){var o=t.key;o&&"normal"==o&&((o=t.styleUrl)&&(e[e.length-1]=o),(t=t.Style)&&(e[e.length-1]=t))}}});(Uy=Bp.prototype).Jg=function(t,e){if(t=Ou([],xu(wb,{Document:yu(this.Jg,this),Folder:yu(this.Jg,this),Placemark:mu(this.Rg,this),Style:this.kq.bind(this),StyleMap:this.jq.bind(this)}),t,e,this))return t},Uy.Rg=function(t,e){var o=Ou({geometry:null},zb,t,e);if(o){var r=new Es;return null!==(t=t.getAttribute("id"))&&r.qc(t),e=e[0],(t=o.geometry)&&Ru(t,!1,e),r.Va(t),delete o.geometry,this.c&&r.sg(zp(o.Style,o.styleUrl,this.a,this.b,this.f)),delete o.Style,r.H(o),r}},Uy.kq=function(t,e){var o=t.getAttribute("id");null!==o&&(e=rl(t,e))&&((t=t.baseURI)&&"about:blank"!=t||(t=window.location.href),o=t?new URL("#"+o,t).href:"#"+o,this.b[o]=e)},Uy.jq=function(t,e){var o=t.getAttribute("id");null!==o&&(e=Ou(void 0,$b,t,e))&&((t=t.baseURI)&&"about:blank"!=t||(t=window.location.href),o=t?new URL("#"+o,t).href:"#"+o,this.b[o]=e)},Uy.Lg=function(t,e){return Ot(wb,t.namespaceURI)&&(t=this.Rg(t,[Cu(this,t,e)]))?t:null},Uy.Kc=function(t,e){if(!Ot(wb,t.namespaceURI))return[];var o=t.localName;if("Document"==o||"Folder"==o)return(o=this.Jg(t,[Cu(this,t,e)]))?o:[];if("Placemark"==o)return(e=this.Rg(t,[Cu(this,t,e)]))?[e]:[];if("kml"==o){for(o=[],t=t.firstElementChild;t;t=t.nextElementSibling){var r=this.Kc(t,e);r&&jt(o,r)}return o}return[]},Uy.cq=function(t){return hu(t)?al(this,t):du(t)?cl(this,t):"string"==typeof t?al(this,t=fu(t)):void 0},Uy.eq=function(t){var e=[];return hu(t)?jt(e,ul(this,t)):du(t)?jt(e,pl(this,t)):"string"==typeof t&&jt(e,ul(this,t=fu(t))),e},Uy.hq=function(t){var e=[];return hu(t)?jt(e,ll(this,t)):du(t)?jt(e,this.vf(t)):"string"==typeof t&&jt(e,ll(this,t=fu(t))),e},Uy.vf=function(t){var e,o=[];for(e=t.firstElementChild;e;e=e.nextElementSibling)if(Ot(wb,e.namespaceURI)&&"Region"==e.localName){var r=Ou({},Lb,e,[]);o.push(r)}for(e=t.firstElementChild;e;e=e.nextElementSibling)t=e.localName,!Ot(wb,e.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||jt(o,this.vf(e));return o};var Jb=xu(wb,["Document","Placemark"]),Xb=xu(wb,{Document:_u((function(t,e,o){ju({node:t},Kb,_l,e,o,void 0,this)})),Placemark:_u(yl)}),Kb=xu(wb,{Placemark:_u(yl)}),Zb=xu(wb,{Data:_u((function(t,e,o){t.setAttribute("name",e.name),t={node:t},"object"==typeof(e=e.value)?(null!==e&&e.displayName&&ju(t,Zb,hv,[e.displayName],o,["displayName"]),null!==e&&e.value&&ju(t,Zb,hv,[e.value],o,["value"])):ju(t,Zb,hv,[e],o,["value"])})),value:_u((function(t,e){pp(t,e)})),displayName:_u((function(t,e){t.appendChild(lv.createCDATASection(e))}))}),Qb={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},t_=xu(wb,["href"],xu(_b,["x","y","w","h"])),e_=xu(wb,{href:_u(pp)},xu(_b,{x:_u(cp),y:_u(cp),w:_u(cp),h:_u(cp)})),o_=xu(wb,["scale","heading","Icon","hotSpot"]),r_=xu(wb,{Icon:_u((function(t,e,o){t={node:t};var r=t_[o[o.length-1].node.namespaceURI],i=Su(e,r);ju(t,e_,hv,i,o,r),i=Su(e,r=t_[_b[0]]),ju(t,e_,bl,i,o,r)})),heading:_u(cp),hotSpot:_u((function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.oh),t.setAttribute("yunits",e.ph)})),scale:_u(vl)}),i_=xu(wb,["color","scale"]),n_=xu(wb,{color:_u(hl),scale:_u(vl)}),s_=xu(wb,["color","width"]),a_=xu(wb,{color:_u(hl),width:_u(cp)}),c_=xu(wb,{LinearRing:_u(ml)}),u_=xu(wb,{LineString:_u(ml),Point:_u(ml),Polygon:_u(gl),GeometryCollection:_u(dl)}),p_=xu(wb,"name open visibility address phoneNumber description styleUrl Style".split(" ")),l_=xu(wb,{ExtendedData:_u((function(t,e,o){t={node:t};var r=e.names;e=e.values;for(var i=r.length,n=0;n<i;n++)ju(t,Zb,b_,[{name:r[n],value:e[n]}],o)})),MultiGeometry:_u(dl),LineString:_u(ml),LinearRing:_u(ml),Point:_u(ml),Polygon:_u(gl),Style:_u((function(t,e,o){t={node:t};var r={},i=e.Fa(),n=e.Ga(),s=e.Y();e=e.Ka(),s instanceof Wp&&(r.IconStyle=s),e&&(r.LabelStyle=e),n&&(r.LineStyle=n),i&&(r.PolyStyle=i),r=Su(r,e=m_[o[o.length-1].node.namespaceURI]),ju(t,g_,hv,r,o,e)})),address:_u(pp),description:_u(pp),name:_u(pp),open:_u(ap),phoneNumber:_u(pp),styleUrl:_u(pp),visibility:_u(ap)}),h_=xu(wb,["extrude","tessellate","altitudeMode","coordinates"]),d_=xu(wb,{extrude:_u(ap),tessellate:_u(ap),altitudeMode:_u(pp),coordinates:_u((function(t,e,o){var r,i=(o=o[o.length-1]).layout;o=o.stride,"XY"==i||"XYM"==i?r=2:"XYZ"==i||"XYZM"==i?r=3:c(!1,34);var n,s=e.length,a="";if(0<s){for(a+=e[0],i=1;i<r;++i)a+=","+e[i];for(n=o;n<s;n+=o)for(a+=" "+e[n],i=1;i<r;++i)a+=","+e[n+i]}pp(t,a)}))}),f_=xu(wb,{outerBoundaryIs:_u(fl),innerBoundaryIs:_u(fl)}),y_=xu(wb,{color:_u(hl)}),m_=xu(wb,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),g_=xu(wb,{IconStyle:_u((function(t,e,o){t={node:t};var r={},i=e.oc(),n=e.He(),s={href:e.b.l};if(i){s.w=i[0],s.h=i[1];var a=e.Vc(),c=e.bd();c&&n&&0!==c[0]&&c[1]!==i[1]&&(s.x=c[0],s.y=n[1]-(c[1]+i[1])),!a||a[0]===i[0]/2&&a[1]===i[1]/2||(r.hotSpot={x:a[0],oh:"pixels",y:i[1]-a[1],ph:"pixels"})}r.Icon=s,1!==(i=e.a)&&(r.scale=i),0!==(e=e.f)&&(r.heading=e),r=Su(r,e=o_[o[o.length-1].node.namespaceURI]),ju(t,r_,hv,r,o,e)})),LabelStyle:_u((function(t,e,o){t={node:t};var r={},i=e.Fa();i&&(r.color=i.b),(e=e.b)&&1!==e&&(r.scale=e),r=Su(r,e=i_[o[o.length-1].node.namespaceURI]),ju(t,n_,hv,r,o,e)})),LineStyle:_u((function(t,e,o){t={node:t};var r=s_[o[o.length-1].node.namespaceURI];e=Su({color:e.a,width:e.c},r),ju(t,a_,hv,e,o,r)})),PolyStyle:_u((function(t,e,o){ju({node:t},y_,v_,[e.b],o)}))}),v_=Mu("color"),b_=Mu("Data"),__=Mu("ExtendedData"),w_=Mu("innerBoundaryIs"),M_=Mu("Point"),S_=Mu("LineString"),x_=Mu("LinearRing"),L_=Mu("Polygon"),O_=Mu("outerBoundaryIs");Bp.prototype.bc=function(t,e){e=Yu(this,e);var o=uu(wb[4],"kml");o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",_b[0]),o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var r={node:o},i={};return 1<t.length?i.Document=t:1==t.length&&(i.Placemark=t[0]),i=Su(i,t=Jb[o.namespaceURI]),ju(r,Xb,hv,i,[e],t,this),o},pg.Ld=function(){},function(t){function e(t){this.tc=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.type=this.ga=0,this.length=this.tc.length}function o(t,e,o){var i=o.tc,n=i[o.ga++],s=(112&n)>>4;if(128>n)return r(t,s,e);if(s|=(127&(n=i[o.ga++]))<<3,128>n)return r(t,s,e);if(s|=(127&(n=i[o.ga++]))<<10,128>n)return r(t,s,e);if(s|=(127&(n=i[o.ga++]))<<17,128>n)return r(t,s,e);if(s|=(127&(n=i[o.ga++]))<<24,128>n)return r(t,s,e);if(128>(n=i[o.ga++]))return r(t,s|(1&n)<<31,e);throw Error("Expected varint not more than 10 bytes")}function r(t,e,o){return o?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}var i=function(t,e,o,r,i){var n=8*i-r-1,s=(1<<n)-1,a=s>>1,c=-7,u=o?-1:1,p=t[e+(i=o?i-1:0)];for(i+=u,o=p&(1<<-c)-1,p>>=-c,c+=n;0<c;o=256*o+t[e+i],i+=u,c-=8);for(n=o&(1<<-c)-1,o>>=-c,c+=r;0<c;n=256*n+t[e+i],i+=u,c-=8);if(0===o)o=1-a;else{if(o===s)return n?NaN:1/0*(p?-1:1);n+=Math.pow(2,r),o-=a}return(p?-1:1)*n*Math.pow(2,o-r)};e.c=0,e.g=1,e.b=2,e.a=5,e.prototype={Og:function(t,e,o){for(o=o||this.length;this.ga<o;){var r=this.Ua(),i=r>>3,n=this.ga;this.type=7&r,t(i,e,this),this.ga===n&&this.Lq(r)}return e},Zp:function(){var t=i(this.tc,this.ga,!0,23,4);return this.ga+=4,t},Vp:function(){var t=i(this.tc,this.ga,!0,52,8);return this.ga+=8,t},Ua:function(t){var e=this.tc,r=e[this.ga++],i=127&r;return 128>r?i:(i|=(127&(r=e[this.ga++]))<<7,128>r?i:(i|=(127&(r=e[this.ga++]))<<14,128>r?i:(i|=(127&(r=e[this.ga++]))<<21,128>r?i:o(i|(15&(r=e[this.ga]))<<28,t,this))))},lq:function(){return this.Ua(!0)},Ug:function(){var t=this.Ua();return 1==t%2?(t+1)/-2:t/2},Tp:function(){return!!this.Ua()},Vg:function(){for(var t=this.Ua()+this.ga,e=this.tc,o="",r=this.ga;r<t;){var i=e[r],n=null,s=239<i?4:223<i?3:191<i?2:1;if(r+s>t)break;if(1===s)128>i&&(n=i);else if(2===s){var a=e[r+1];128==(192&a)&&127>=(n=(31&i)<<6|63&a)&&(n=null)}else if(3===s){a=e[r+1];var c=e[r+2];128==(192&a)&&128==(192&c)&&(2047>=(n=(15&i)<<12|(63&a)<<6|63&c)||55296<=n&&57343>=n)&&(n=null)}else if(4===s){a=e[r+1],c=e[r+2];var u=e[r+3];128==(192&a)&&128==(192&c)&&128==(192&u)&&(65535>=(n=(15&i)<<18|(63&a)<<12|(63&c)<<6|63&u)||1114112<=n)&&(n=null)}null===n?(n=65533,s=1):65535<n&&(n-=65536,o+=String.fromCharCode(n>>>10&1023|55296),n=56320|1023&n),o+=String.fromCharCode(n),r+=s}return this.ga=t,o},Lq:function(t){if((t&=7)===e.c)for(;127<this.tc[this.ga++];);else if(t===e.b)this.ga=this.Ua()+this.ga;else if(t===e.a)this.ga+=4;else{if(t!==e.g)throw Error("Unimplemented type: "+t);this.ga+=8}}},t.default=e}(pg.Ld=pg.Ld||{}),pg.Ld=pg.Ld.default,(Uy=Ml.prototype).get=function(t){return this.j[t]},Uy.pb=Ml.prototype.td=function(){return this.g},Uy.G=function(){return this.i||(this.i="Point"===this.f?k(this.b):D(this.b,0,this.b.length,2)),this.i},Uy.Td=function(){return this.c||(this.c=sr(this.b,0,this.g,2,N(this.G()),0)),this.c},Uy.Fe=function(){return this.a||(this.a=Fs(this.b,0,this.b.length,2,.5)),this.a},Uy.Ge=function(){if(!this.a){this.a=[];for(var t=this.b,e=0,o=this.g,r=0,i=o.length;r<i;++r){var n=o[r];e=Fs(t,e,n,2,.5),jt(this.a,e),e=n}}return this.a},Uy.Ao=function(){return this.l},Uy.Xb=function(){return this.b},Uy.da=Ml.prototype.Xb,Uy.U=function(){return this},Uy.Bo=function(){return this.j},Uy.Wd=Ml.prototype.U,Uy.pa=function(){return 2},Uy.ib=o,Uy.S=function(){return this.f},Uy.mb=function(t){var e=t.G();e=W(t=t.oe)/W(e);var o=this.s;Co(o,t[0],t[3],e,-e,0,0,0),Mo(this.b,0,this.b.length,2,o,this.b)},e(Sl,Pu),(Uy=Sl.prototype).cg=function(){return this.a},Uy.S=function(){return"arraybuffer"},Uy.Qa=function(t){var e,o=this.c,r=(t=new pg.Ld(t)).Og(xl,{}),i=[];for(e in r)if(!o||-1!=o.indexOf(e)){for(var n,s=r[e],a=0,c=s.length;a<c;++a){var u=s;(n=t).ga=u.features[a];var p=n.Ua()+n.ga;u={layer:u,type:0,properties:{}},n.Og(Ol,u,p),n=u,i.push(Tl(this,t,n))}this.a=s?[0,0,s.extent,s.extent]:null}return i},Uy.sb=function(){return this.defaultDataProjection},Uy.Sn=function(t){this.c=t},Uy.Yb=function(){},Uy.ed=function(){},Uy.Jd=function(){},Uy.md=function(){},Uy.ac=function(){},e(jl,Ju);var T_=[null],j_=xu(T_,{nd:function(t,e){e[e.length-1].zd.push(t.getAttribute("ref"))},tag:kl}),k_=xu(T_,{node:function(t,e){var o=e[0],r=e[e.length-1],i=t.getAttribute("id"),n=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];r.ki[i]=n,Z((t=Ou({le:{}},D_,t,e)).le)||(Ru(n=new or(n),!1,o),(o=new Es(n)).qc(i),o.H(t.le),r.features.push(o))},way:function(t,e){t=Ou({id:t.getAttribute("id"),zd:[],le:{}},j_,t,e),e[e.length-1].lh.push(t)}}),D_=xu(T_,{tag:kl});jl.prototype.Kc=function(t,e){if(e=Cu(this,t,e),"osm"==t.localName){t=Ou({ki:{},lh:[],features:[]},k_,t,[e]);for(var o=0;o<t.lh.length;o++){for(var r=t.lh[o],i=[],n=0,s=r.zd.length;n<s;n++)jt(i,t.ki[r.zd[n]]);r.zd[0]==r.zd[r.zd.length-1]?(n=new fr(null)).ba("XY",i,[i.length]):(n=new Ns(null)).ba("XY",i),Ru(n,!1,e),(i=new Es(n)).qc(r.id),i.H(r.le),t.features.push(i)}if(t.features)return t.features}return[]},jl.prototype.mh=function(){},jl.prototype.bc=function(){},jl.prototype.re=function(){},e(Pl,Ip),(Uy=Pl.prototype).fe=function(t,e){return new Es(t=this.Gd(t,e))},Uy.Ng=function(t,e){return[this.fe(t,e)]},Uy.Gd=function(t,e){var o=Io(this.a);return Dl(t=Yl(t,o,this.b),t.length,o,t),Ru(new Ns(o=Jo(t,0,t.length,o),this.a),!1,Yu(this,e))},Uy.pe=function(t,e){return(t=t.U())?this.Kd(t,e):(c(!1,40),"")},Uy.nh=function(t,e){return this.pe(t[0],e)},Uy.Kd=function(t,e){return e=(t=Ru(t,!0,Yu(this,e))).da(),t=t.pa(),Dl(e,e.length,t,e),Cl(e,t,this.b)},e(Il,Eu),Il.prototype.Mg=function(t,e){if("Topology"==t.type){var o=null,r=null;if(t.transform){var i=t.transform;o=i.scale,r=i.translate}var n=t.arcs;if(i){i=o;var s,a=r,c=0;for(s=n.length;c<s;++c){var u,p=n[c],l=i,h=a,d=0,f=0,y=0;for(u=p.length;y<u;++y){var m=p[y];d+=m[0],f+=m[1],m[0]=d,m[1]=f,Hl(m,l,h)}}}for(var g in i=[],t=t.objects,a=this.a,t)this.b&&-1==this.b.indexOf(g)||("GeometryCollection"===t[g].type?(c=t[g],i.push.apply(i,Al(c,n,o,r,a,g,e))):(c=t[g],i.push(Nl(c,n,o,r,a,g,e))));return i}return[]},Il.prototype.Tg=function(){return this.defaultDataProjection};var P_={Point:function(t,e,o){return t=t.coordinates,e&&o&&Hl(t,e,o),new or(t)},LineString:function(t,e){return new Ns(t=Fl(t.arcs,e))},Polygon:function(t,e){var o,r=[],i=0;for(o=t.arcs.length;i<o;++i)r[i]=Fl(t.arcs[i],e);return new fr(r)},MultiPoint:function(t,e,o){var r;if(t=t.coordinates,e&&o){var i=0;for(r=t.length;i<r;++i)Hl(t[i],e,o)}return new Nu(t)},MultiLineString:function(t,e){var o,r=[],i=0;for(o=t.arcs.length;i<o;++i)r[i]=Fl(t.arcs[i],e);return new Fu(r)},MultiPolygon:function(t,e){var o,r,i=[],n=0;for(r=t.arcs.length;n<r;++n){var s=t.arcs[n],a=[],c=0;for(o=s.length;c<o;++c)a[c]=Fl(s[c],e);i[n]=a}return new Hu(i)}};(Uy=Il.prototype).ld=function(){},Uy.qe=function(){},Uy.se=function(){},Uy.Qg=function(){},Uy.dd=function(){},e(Bl,Wl),e(Vl,Bl),e(zl,Wl),e(Ul,Wl),e(Gl,Ul),e(ql,Wl),e($l,ql),e(Jl,ql),e(Xl,Jl),e(Kl,Jl),e(Zl,Jl),e(Ql,Ul),e(th,ql),e(eh,ql),e(oh,ql),e(rh,Jl),e(ih,Jl),e(nh,Wl),e(sh,Jl),e(ah,Bl),e(ch,Ul),e(lh,Ju);var C_={"1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"};lh.prototype.Kc=function(t,e){var o={featureType:this.c,featureNS:this.a};return Zy(o,Cu(this,t,e||{})),e=[o],this.b.b["http://www.opengis.net/gml"].featureMember=mu(Zu.prototype.ge),(t=Ou([],this.b.b,t,e,this.b))||(t=[]),t},lh.prototype.j=function(t){return hu(t)?fh(t):du(t)?Ou({},F_,t,[]):"string"==typeof t?fh(t=fu(t)):void 0},lh.prototype.f=function(t){return hu(t)?hh(this,t):du(t)?dh(this,t):"string"==typeof t?hh(this,t=fu(t)):void 0};var Y_={"http://www.opengis.net/gml":{boundedBy:bu(Zu.prototype.rf,"bounds")}},R_={"http://www.opengis.net/wfs":{totalInserted:bu(ip),totalUpdated:bu(ip),totalDeleted:bu(ip)}},E_={"http://www.opengis.net/ogc":{FeatureId:mu((function(t){return t.getAttribute("fid")}))}},I_={"http://www.opengis.net/wfs":{Feature:function(t,e){Lu(E_,t,e)}}},F_={"http://www.opengis.net/wfs":{TransactionSummary:bu((function(t,e){return Ou({},R_,t,e)}),"transactionSummary"),InsertResults:bu((function(t,e){return Ou([],I_,t,e)}),"insertIds")}},A_={"http://www.opengis.net/wfs":{PropertyName:_u(pp)}},N_={"http://www.opengis.net/wfs":{Insert:_u((function(t,e,o){var r=o[o.length-1],i=r.gmlVersion;if(r=uu(r.featureNS,r.featureType),t.appendChild(r),2===i){t=dp.prototype,(i=e.c)&&r.setAttribute("fid",i);var n=(i=o[o.length-1]).featureNS,s=e.a;i.tb||(i.tb={},i.tb[n]={});var a=e.L();e=[];var c=[];for(p in a){var u=a[p];null!==u&&(e.push(p),c.push(u),p==s||u instanceof Ro?p in i.tb[n]||(i.tb[n][p]=_u(t.ui,t)):p in i.tb[n]||(i.tb[n][p]=_u(pp)))}var p=Zy({},i);p.node=r,ju(p,i.tb,Mu(void 0,n),c,o,e)}else lp.prototype.Ci(r,e,o)})),Update:_u((function(t,e,o){var r=o[o.length-1];c(void 0!==e.c,27);var i=r.featurePrefix,n=r.featureNS,s=e.a;if(t.setAttribute("typeName",mh(i,r.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+i,n),void 0!==(i=e.c)){for(var a=[],u=0,p=(n=e.P()).length;u<p;u++){var l=e.get(n[u]);if(void 0!==l){var h=n[u];l instanceof Ro&&(h=s),a.push({name:h,value:l})}}ju({gmlVersion:r.gmlVersion,node:t,hasZ:r.hasZ,srsName:r.srsName},N_,Mu("Property"),a,o),yh(t,i)}})),Delete:_u((function(t,e,o){o=o[o.length-1],c(void 0!==e.c,26);var r=o.featurePrefix,i=o.featureNS;t.setAttribute("typeName",mh(r,o.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,i),void 0!==(e=e.c)&&yh(t,e)})),Property:_u((function(t,e,o){var r=uu("http://www.opengis.net/wfs","Name"),i=o[o.length-1].gmlVersion;t.appendChild(r),pp(r,e.name),void 0!==e.value&&null!==e.value&&(r=uu("http://www.opengis.net/wfs","Value"),t.appendChild(r),e.value instanceof Ro?2===i?dp.prototype.ui(r,e.value,o):lp.prototype.Yc(r,e.value,o):pp(r,e.value))})),Native:_u((function(t,e){e.Uq&&t.setAttribute("vendorId",e.Uq),void 0!==e.qq&&t.setAttribute("safeToIgnore",e.qq),void 0!==e.value&&pp(t,e.value)}))}},H_={"http://www.opengis.net/wfs":{Query:_u((function(t,e,o){var r=o[o.length-1],i=r.featurePrefix,n=r.featureNS,s=r.propertyNames,a=r.srsName;t.setAttribute("typeName",i?mh(i,e):e),a&&t.setAttribute("srsName",a),n&&t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+i,n),(e=Zy({},r)).node=t,ju(e,A_,Mu("PropertyName"),s,o),(r=r.filter)&&(s=uu("http://www.opengis.net/ogc","Filter"),t.appendChild(s),ju({node:s},H_,Mu(r.rc),[r],o))}))},"http://www.opengis.net/ogc":{During:_u((function(t,e){var o=uu("http://www.opengis.net/fes","ValueReference");pp(o,e.b),t.appendChild(o),o=uu("http://www.opengis.net/gml","TimePeriod"),t.appendChild(o),t=uu("http://www.opengis.net/gml","begin"),o.appendChild(t),Mh(t,e.a),t=uu("http://www.opengis.net/gml","end"),o.appendChild(t),Mh(t,e.g)})),And:_u(gh),Or:_u(gh),Not:_u((function(t,e,o){e=e.condition,ju({node:t},H_,Mu(e.rc),[e],o)})),BBOX:_u((function(t,e,o){o[o.length-1].srsName=e.srsName,_h(t,e.geometryName),lp.prototype.Yc(t,e.extent,o)})),Contains:_u((function(t,e,o){o[o.length-1].srsName=e.srsName,_h(t,e.geometryName),lp.prototype.Yc(t,e.geometry,o)})),Intersects:_u((function(t,e,o){o[o.length-1].srsName=e.srsName,_h(t,e.geometryName),lp.prototype.Yc(t,e.geometry,o)})),Within:_u((function(t,e,o){o[o.length-1].srsName=e.srsName,_h(t,e.geometryName),lp.prototype.Yc(t,e.geometry,o)})),PropertyIsEqualTo:_u(vh),PropertyIsNotEqualTo:_u(vh),PropertyIsLessThan:_u(vh),PropertyIsLessThanOrEqualTo:_u(vh),PropertyIsGreaterThan:_u(vh),PropertyIsGreaterThanOrEqualTo:_u(vh),PropertyIsNull:_u((function(t,e){_h(t,e.b)})),PropertyIsBetween:_u((function(t,e){_h(t,e.b);var o=uu("http://www.opengis.net/ogc","LowerBoundary");t.appendChild(o),wh(o,""+e.a),o=uu("http://www.opengis.net/ogc","UpperBoundary"),t.appendChild(o),wh(o,""+e.g)})),PropertyIsLike:_u((function(t,e){t.setAttribute("wildCard",e.f),t.setAttribute("singleChar",e.i),t.setAttribute("escapeChar",e.g),void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),_h(t,e.b),wh(t,""+e.c)}))}};lh.prototype.s=function(t){var e=uu("http://www.opengis.net/wfs","GetFeature");if(e.setAttribute("service","WFS"),e.setAttribute("version","1.1.0"),t){t.handle&&e.setAttribute("handle",t.handle),t.outputFormat&&e.setAttribute("outputFormat",t.outputFormat),void 0!==t.maxFeatures&&e.setAttribute("maxFeatures",t.maxFeatures),t.resultType&&e.setAttribute("resultType",t.resultType),void 0!==t.startIndex&&e.setAttribute("startIndex",t.startIndex),void 0!==t.count&&e.setAttribute("count",t.count);var o=t.filter;if(t.bbox){c(t.geometryName,12);var r=ph(t.geometryName,t.bbox,t.srsName);o=o?uh(o,r):r}}return e.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.l),o={node:e,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.a,featurePrefix:t.featurePrefix,geometryName:t.geometryName,filter:o,propertyNames:t.propertyNames?t.propertyNames:[]},c(Array.isArray(t.featureTypes),11),t=t.featureTypes,(r=Zy({},(o=[o])[o.length-1])).node=e,ju(r,H_,Mu("Query"),t,o),e},lh.prototype.v=function(t,e,o,r){var i=[],n=uu("http://www.opengis.net/wfs","Transaction"),s=r.version?r.version:"1.1.0",a="1.0.0"===s?2:3;if(n.setAttribute("service","WFS"),n.setAttribute("version",s),r){var c=r.gmlOptions?r.gmlOptions:{};r.handle&&n.setAttribute("handle",r.handle)}n.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",C_[s]);var u=r.featurePrefix?r.featurePrefix:"feature";return t&&(s={node:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:u,gmlVersion:a,hasZ:r.hasZ,srsName:r.srsName},Zy(s,c),ju(s,N_,Mu("Insert"),t,i)),e&&(s={node:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:u,gmlVersion:a,hasZ:r.hasZ,srsName:r.srsName},Zy(s,c),ju(s,N_,Mu("Update"),e,i)),o&&ju({node:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:u,gmlVersion:a,srsName:r.srsName},N_,Mu("Delete"),o,i),r.nativeElements&&ju({node:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:u,gmlVersion:a,srsName:r.srsName},N_,Mu("Native"),r.nativeElements,i),n},lh.prototype.Sg=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.uf(t);return null},lh.prototype.uf=function(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(t=(t=t.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.rf(t,e),mt(e.pop().srsName)}return null},e(Sh,Ip);var W_={Point:xh,LineString:Lh,Polygon:Oh,MultiPoint:function(t){for(var e=[],o=0,r=(t=t.de()).length;o<r;++o)e.push("("+xh(t[o])+")");return e.join(",")},MultiLineString:function(t){for(var e=[],o=0,r=(t=t.wd()).length;o<r;++o)e.push("("+Lh(t[o])+")");return e.join(",")},MultiPolygon:function(t){for(var e=[],o=0,r=(t=t.Vd()).length;o<r;++o)e.push("("+Oh(t[o])+")");return e.join(",")},GeometryCollection:function(t){for(var e=[],o=0,r=(t=t.vd()).length;o<r;++o)e.push(Th(t[o]));return e.join(",")}};(Uy=Sh.prototype).fe=function(t,e){return(t=this.Gd(t,e))?((e=new Es).Va(t),e):null},Uy.Ng=function(t,e){var o;t=this.Gd(t,e),e=[];for(var r=0,i=(o=this.b&&"GeometryCollection"==t.S()?t.a:[t]).length;r<i;++r)(t=new Es).Va(o[r]),e.push(t);return e},Uy.Gd=function(t,e){return Ph(t=new Dh(new jh(t))),(t=Yh(t))?Ru(t,!1,e):null},Uy.pe=function(t,e){return(t=t.U())?this.Kd(t,e):""},Uy.nh=function(t,e){if(1==t.length)return this.pe(t[0],e);for(var o=[],r=0,i=t.length;r<i;++r)o.push(t[r].U());return t=new kp(o),this.Kd(t,e)},Uy.Kd=function(t,e){return Th(Ru(t,!0,e))},(Uy=Dh.prototype).Hg=function(){if(Ch(this,2)){var t=Rh(this);if(Ch(this,3))return t}else if(Fh(this))return null;throw Error(Ah(this))},Uy.Gg=function(){if(Ch(this,2)){var t=Eh(this);if(Ch(this,3))return t}else if(Fh(this))return[];throw Error(Ah(this))},Uy.Ig=function(){if(Ch(this,2)){var t=Ih(this);if(Ch(this,3))return t}else if(Fh(this))return[];throw Error(Ah(this))},Uy.Hp=function(){if(Ch(this,2)){var t;if(2==this.b.type)for(t=[this.Hg()];Ch(this,5);)t.push(this.Hg());else t=Eh(this);if(Ch(this,3))return t}else if(Fh(this))return[];throw Error(Ah(this))},Uy.Gp=function(){if(Ch(this,2)){var t=Ih(this);if(Ch(this,3))return t}else if(Fh(this))return[];throw Error(Ah(this))},Uy.Ip=function(){if(Ch(this,2)){for(var t=[this.Ig()];Ch(this,5);)t.push(this.Ig());if(Ch(this,3))return t}else if(Fh(this))return[];throw Error(Ah(this))};var B_={POINT:or,LINESTRING:Ns,POLYGON:fr,MULTIPOINT:Nu,MULTILINESTRING:Fu,MULTIPOLYGON:Hu},V_={POINT:Dh.prototype.Hg,LINESTRING:Dh.prototype.Gg,POLYGON:Dh.prototype.Ig,MULTIPOINT:Dh.prototype.Hp,MULTILINESTRING:Dh.prototype.Gp,MULTIPOLYGON:Dh.prototype.Ip};Hh.prototype.read=function(t){return hu(t)?this.a(t):du(t)?this.b(t):"string"==typeof t?(t=fu(t),this.a(t)):null},e(Wh,Hh),Wh.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},Wh.prototype.b=function(t){return this.version=t.getAttribute("version").trim(),(t=Ou({version:this.version},U_,t,[]))?t:null};var z_=[null,"http://www.opengis.net/wms"],U_=xu(z_,{Service:bu((function(t,e){return Ou({},q_,t,e)})),Capability:bu((function(t,e){return Ou({},G_,t,e)}))}),G_=xu(z_,{Request:bu((function(t,e){return Ou({},ew,t,e)})),Exception:bu((function(t,e){return Ou([],K_,t,e)})),Layer:bu((function(t,e){return Ou({},Z_,t,e)}))}),q_=xu(z_,{Name:bu(sp),Title:bu(sp),Abstract:bu(sp),KeywordList:bu(Uh),OnlineResource:bu(Nh),ContactInformation:bu((function(t,e){return Ou({},$_,t,e)})),Fees:bu(sp),AccessConstraints:bu(sp),LayerLimit:bu(ip),MaxWidth:bu(ip),MaxHeight:bu(ip)}),$_=xu(z_,{ContactPersonPrimary:bu((function(t,e){return Ou({},J_,t,e)})),ContactPosition:bu(sp),ContactAddress:bu((function(t,e){return Ou({},X_,t,e)})),ContactVoiceTelephone:bu(sp),ContactFacsimileTelephone:bu(sp),ContactElectronicMailAddress:bu(sp)}),J_=xu(z_,{ContactPerson:bu(sp),ContactOrganization:bu(sp)}),X_=xu(z_,{AddressType:bu(sp),Address:bu(sp),City:bu(sp),StateOrProvince:bu(sp),PostCode:bu(sp),Country:bu(sp)}),K_=xu(z_,{Format:mu(sp)}),Z_=xu(z_,{Name:bu(sp),Title:bu(sp),Abstract:bu(sp),KeywordList:bu(Uh),CRS:vu(sp),EX_GeographicBoundingBox:bu((function(t,e){var o=Ou({},tw,t,e);if(o){t=o.westBoundLongitude,e=o.southBoundLatitude;var r=o.eastBoundLongitude;if(o=o.northBoundLatitude,void 0!==t&&void 0!==e&&void 0!==r&&void 0!==o)return[t,e,r,o]}})),BoundingBox:vu((function(t){var e=[rp(t.getAttribute("minx")),rp(t.getAttribute("miny")),rp(t.getAttribute("maxx")),rp(t.getAttribute("maxy"))],o=[rp(t.getAttribute("resx")),rp(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}})),Dimension:vu((function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),default:t.getAttribute("default"),multipleValues:tp(t.getAttribute("multipleValues")),nearestValue:tp(t.getAttribute("nearestValue")),current:tp(t.getAttribute("current")),values:sp(t)}})),Attribution:bu((function(t,e){return Ou({},Q_,t,e)})),AuthorityURL:vu((function(t,e){if(e=Bh(t,e))return e.name=t.getAttribute("name"),e})),Identifier:vu(sp),MetadataURL:vu((function(t,e){if(e=Bh(t,e))return e.type=t.getAttribute("type"),e})),DataURL:vu(Bh),FeatureListURL:vu(Bh),Style:vu((function(t,e){return Ou({},nw,t,e)})),MinScaleDenominator:bu(op),MaxScaleDenominator:bu(op),Layer:vu((function(t,e){var o=e[e.length-1],r=Ou({},Z_,t,e);if(r)return void 0===(e=tp(t.getAttribute("queryable")))&&(e=o.queryable),r.queryable=void 0!==e&&e,void 0===(e=np(t.getAttribute("cascaded")))&&(e=o.cascaded),r.cascaded=e,void 0===(e=tp(t.getAttribute("opaque")))&&(e=o.opaque),r.opaque=void 0!==e&&e,void 0===(e=tp(t.getAttribute("noSubsets")))&&(e=o.noSubsets),r.noSubsets=void 0!==e&&e,(e=rp(t.getAttribute("fixedWidth")))||(e=o.fixedWidth),r.fixedWidth=e,(t=rp(t.getAttribute("fixedHeight")))||(t=o.fixedHeight),r.fixedHeight=t,["Style","CRS","AuthorityURL"].forEach((function(t){t in o&&(r[t]=(r[t]||[]).concat(o[t]))})),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach((function(t){t in r||(r[t]=o[t])})),r}))}),Q_=xu(z_,{Title:bu(sp),OnlineResource:bu(Nh),LogoURL:bu(zh)}),tw=xu(z_,{westBoundLongitude:bu(op),eastBoundLongitude:bu(op),southBoundLatitude:bu(op),northBoundLatitude:bu(op)}),ew=xu(z_,{GetCapabilities:bu(Vh),GetMap:bu(Vh),GetFeatureInfo:bu(Vh)}),ow=xu(z_,{Format:vu(sp),DCPType:vu((function(t,e){return Ou({},rw,t,e)}))}),rw=xu(z_,{HTTP:bu((function(t,e){return Ou({},iw,t,e)}))}),iw=xu(z_,{Get:bu(Bh),Post:bu(Bh)}),nw=xu(z_,{Name:bu(sp),Title:bu(sp),Abstract:bu(sp),LegendURL:vu(zh),StyleSheetURL:bu(Bh),StyleURL:bu(Bh)}),sw=xu(z_,{Format:bu(sp),OnlineResource:bu(Nh)}),aw=xu(z_,{Keyword:mu(sp)});e(Gh,Ju),Gh.prototype.Kc=function(t,e){var o={};e&&Zy(o,Cu(this,t,e)),o=[o],t.setAttribute("namespaceURI",this.a);var r=t.localName;if(e=[],0!==t.childNodes.length){if("msGMLOutput"==r)for(var i=0,n=t.childNodes.length;i<n;i++){var s=t.childNodes[i];if(s.nodeType===Node.ELEMENT_NODE){var a=o[0],c=s.localName.replace("_layer","");if(!this.c||Ot(this.c,c)){c+="_feature",a.featureType=c,a.featureNS=this.a;var u={};u[c]=mu(this.b.Kg,this.b),a=xu([a.featureNS,null],u),s.setAttribute("namespaceURI",this.a),(s=Ou([],a,s,o,this.b))&&jt(e,s)}}}"FeatureCollection"==r&&(t=Ou([],this.b.b,t,[{}],this.b))&&(e=t)}return e},Gh.prototype.mh=function(){},Gh.prototype.bc=function(){},Gh.prototype.re=function(){},e(qh,Hh),qh.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},qh.prototype.b=function(t){return(t=Ou({},uw,t,[]))?t:null};var cw=[null,"http://www.opengis.net/ows/1.1"],uw=xu(cw,{ServiceIdentification:bu((function(t,e){return Ou({},ww,t,e)})),ServiceProvider:bu((function(t,e){return Ou({},Mw,t,e)})),OperationsMetadata:bu((function(t,e){return Ou({},gw,t,e)}))}),pw=xu(cw,{DeliveryPoint:bu(sp),City:bu(sp),AdministrativeArea:bu(sp),PostalCode:bu(sp),Country:bu(sp),ElectronicMailAddress:bu(sp)}),lw=xu(cw,{Value:vu((function(t){return sp(t)}))}),hw=xu(cw,{AllowedValues:bu((function(t,e){return Ou({},lw,t,e)}))}),dw=xu(cw,{Phone:bu((function(t,e){return Ou({},vw,t,e)})),Address:bu((function(t,e){return Ou({},pw,t,e)}))}),fw=xu(cw,{HTTP:bu((function(t,e){return Ou({},yw,t,e)}))}),yw=xu(cw,{Get:vu((function(t,e){var o=Nh(t);if(o)return Ou({href:o},bw,t,e)})),Post:void 0}),mw=xu(cw,{DCP:bu((function(t,e){return Ou({},fw,t,e)}))}),gw=xu(cw,{Operation:function(t,e){var o=t.getAttribute("name");(t=Ou({},mw,t,e))&&(e[e.length-1][o]=t)}}),vw=xu(cw,{Voice:bu(sp),Facsimile:bu(sp)}),bw=xu(cw,{Constraint:vu((function(t,e){var o=t.getAttribute("name");if(o)return Ou({name:o},hw,t,e)}))}),_w=xu(cw,{IndividualName:bu(sp),PositionName:bu(sp),ContactInfo:bu((function(t,e){return Ou({},dw,t,e)}))}),ww=xu(cw,{Abstract:bu(sp),AccessConstraints:bu(sp),Fees:bu(sp),Title:bu(sp),ServiceTypeVersion:bu(sp),ServiceType:bu(sp)}),Mw=xu(cw,{ProviderName:bu(sp),ProviderSite:bu(Nh),ServiceContact:bu((function(t,e){return Ou({},_w,t,e)}))});e($h,Hh),$h.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},$h.prototype.b=function(t){var e=t.getAttribute("version").trim(),o=this.g.b(t);return o?(o.version=e,(o=Ou(o,Lw,t,[]))?o:null):null};var Sw=[null,"http://www.opengis.net/wmts/1.0"],xw=[null,"http://www.opengis.net/ows/1.1"],Lw=xu(Sw,{Contents:bu((function(t,e){return Ou({},Ow,t,e)}))}),Ow=xu(Sw,{Layer:vu((function(t,e){return Ou({},Tw,t,e)})),TileMatrixSet:vu((function(t,e){return Ou({},Rw,t,e)}))}),Tw=xu(Sw,{Style:vu((function(t,e){if(e=Ou({},jw,t,e))return t="true"===t.getAttribute("isDefault"),e.isDefault=t,e})),Format:vu(sp),TileMatrixSetLink:vu((function(t,e){return Ou({},kw,t,e)})),Dimension:vu((function(t,e){return Ou({},Cw,t,e)})),ResourceURL:vu((function(t){var e=t.getAttribute("format"),o=t.getAttribute("template");t=t.getAttribute("resourceType");var r={};return e&&(r.format=e),o&&(r.template=o),t&&(r.resourceType=t),r}))},xu(xw,{Title:bu(sp),Abstract:bu(sp),WGS84BoundingBox:bu((function(t,e){if(2==(t=Ou([],Yw,t,e)).length)return v(t)})),Identifier:bu(sp)})),jw=xu(Sw,{LegendURL:vu((function(t){var e={};return e.format=t.getAttribute("format"),e.href=Nh(t),e}))},xu(xw,{Title:bu(sp),Identifier:bu(sp)})),kw=xu(Sw,{TileMatrixSet:bu(sp),TileMatrixSetLimits:bu((function(t,e){return Ou([],Dw,t,e)}))}),Dw=xu(Sw,{TileMatrixLimits:mu((function(t,e){return Ou({},Pw,t,e)}))}),Pw=xu(Sw,{TileMatrix:bu(sp),MinTileRow:bu(ip),MaxTileRow:bu(ip),MinTileCol:bu(ip),MaxTileCol:bu(ip)}),Cw=xu(Sw,{Default:bu(sp),Value:vu(sp)},xu(xw,{Identifier:bu(sp)})),Yw=xu(xw,{LowerCorner:mu(Jh),UpperCorner:mu(Jh)}),Rw=xu(Sw,{WellKnownScaleSet:bu(sp),TileMatrix:vu((function(t,e){return Ou({},Ew,t,e)}))},xu(xw,{SupportedCRS:bu(sp),Identifier:bu(sp)})),Ew=xu(Sw,{TopLeftCorner:bu(Jh),ScaleDenominator:bu(op),TileWidth:bu(ip),TileHeight:bu(ip),MatrixWidth:bu(ip),MatrixHeight:bu(ip)},xu(xw,{Identifier:bu(sp)}));e(Xh,Eo),(Uy=Xh.prototype).clone=function(){var t=new Xh(null);return Fo(t,this.ja,this.A.slice()),t.u(),t},Uy.Nb=function(t,e,o,r){var i=this.A;t-=i[0];var n=e-i[1];if((e=t*t+n*n)<r){if(0===e)for(r=0;r<this.a;++r)o[r]=i[r];else for(r=this.Bd()/Math.sqrt(e),o[0]=i[0]+r*t,o[1]=i[1]+r*n,r=2;r<this.a;++r)o[r]=i[r];return o.length=this.a,e}return r},Uy.Zc=function(t,e){var o=this.A;return(t-=o[0])*t+(e-=o[1])*e<=Kh(this)},Uy.xa=function(){return this.A.slice(0,this.a)},Uy.Ae=function(t){var e=this.A,o=e[this.a]-e[0];return T(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},Uy.Bd=function(){return Math.sqrt(Kh(this))},Uy.S=function(){return"Circle"},Uy.$a=function(t){var e=this.G();return!!G(t,e)&&(e=this.xa(),t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||E(t,this.Bb,this))},Uy.ub=function(t){var e,o=this.a,r=t.slice();for(r[o]=r[0]+(this.A[o]-this.A[0]),e=1;e<o;++e)r[o+e]=t[e];Fo(this,this.ja,r),this.u()},Uy.hh=function(t,e,o){if(t){var r;for(Ao(this,o,t,0),this.A||(this.A=[]),t=Go(o=this.A,t),o[t++]=o[0]+e,e=1,r=this.a;e<r;++e)o[t++]=o[e];o.length=t}else Fo(this,"XY",null);this.u()},Uy.W=function(){},Uy.na=function(){},Uy.fd=function(t){this.A[this.a]=this.A[0]+t,this.u()},e(Zh,$r),Zh.prototype.l=function(t,e){e=e.target.result;var o=this.v,r=this.s;r||(r=o.aa().v);var i,n=[],s=0;for(i=(o=this.j).length;s<i;++s){var a=new o[s],c={featureProjection:r};try{n=a.Qa(e,c)}catch(t){n=null}if(n&&0<n.length)break}this.f&&(this.f.clear(),this.f.Qc(n)),this.b(new rd(Iw,t,n,r))},Zh.prototype.Ha=function(t){$r.prototype.Ha.call(this,t),t?ed(this):od(this)},Zh.prototype.setMap=function(t){od(this),$r.prototype.setMap.call(this,t),this.c()&&ed(this)};var Iw="addfeatures";e(rd,re),e(id,pi),e(cd,Fr),cd.prototype.B=function(){return this.C},cd.prototype.ib=function(){return this.V},cd.prototype.j=function(t){this.C=void 0!==t?t:Cs,this.V=null===t?void 0:Ps(this.C),this.u()};var Fw="renderOrder";e(pd,ce),(Uy=pd.prototype).wa=o,Uy.za=function(){return this.v},Uy.Aa=function(){return this.T},Uy.Da=function(){return this.c},Uy.getState=function(){return this.ra},Uy.sa=function(){this.u()},Uy.va=function(t){this.C=ld(this,t),this.u()},e(dd,pd),(Uy=dd.prototype).Gb=function(t){var e=r(t).toString();if(yd(this,e,t)){fd(this,e,t);var o=t.U();o?(e=o.G(),this.a&&this.a.Ca(e,t)):this.f[e]=t,this.b(new vd("addfeature",t))}this.u()},Uy.Qc=function(t){md(this,t),this.u()},Uy.clear=function(t){if(t){for(var e in this.s)this.s[e].forEach(Qt);this.i||(this.s={},this.j={},this.l={})}else if(this.a)for(var o in this.a.forEach(this.Yg,this),this.f)this.Yg(this.f[o]);this.i&&this.i.clear(),this.a&&this.a.clear(),this.B.clear(),this.f={},this.b(new vd("clear")),this.u()},Uy.Lh=function(t,e){return this.a?this.a.forEach(t,e):this.i?this.i.forEach(t,e):void 0},Uy.ec=function(t,e,o){return this.a?qa(this.a,t,e,o):this.i?this.i.forEach(e,o):void 0},Uy.Mh=function(t,e,o){return this.ec(t,(function(r){if(r.U().$a(t)&&(r=e.call(o,r)))return r}))},Uy.Th=function(){return this.i},Uy.ee=function(){if(this.i)var t=this.i.a;else this.a&&(t=Ua(this.a),Z(this.f)||jt(t,K(this.f)));return t},Uy.Sh=function(t){var e=[];return function(t,e,o){t.ec([e[0],e[1],e[0],e[1]],(function(t){if(t.U().Bb(e))return o.call(void 0,t)}))}(this,t,(function(t){e.push(t)})),e},Uy.Yf=function(t){return Ga(this.a,t)},Uy.Oh=function(t,e){var o=t[0],r=t[1],i=null,n=[NaN,NaN],s=1/0,a=[-1/0,-1/0,1/0,1/0],c=e||_o;return qa(this.a,a,(function(t){if(c(t)){var e=t.U(),u=s;(s=e.Nb(o,r,n,s))<u&&(i=t,t=Math.sqrt(s),a[0]=o-t,a[1]=r-t,a[2]=o+t,a[3]=r+t)}})),i},Uy.G=function(t){return this.a.G(t)},Uy.Rh=function(t){return void 0!==(t=this.j[t.toString()])?t:null},Uy.ej=function(){return this.O},Uy.fj=function(){return this.V},Uy.gj=function(t){var e=r(t=t.target).toString(),o=t.U();o?(o=o.G(),e in this.f?(delete this.f[e],this.a&&this.a.Ca(o,t)):this.a&&za(this.a,o,t)):e in this.f||(this.a&&this.a.remove(t),this.f[e]=t),void 0!==(o=t.c)?(o=o.toString(),e in this.l?(delete this.l[e],this.j[o]=t):this.j[o]!==t&&(gd(this,t),this.j[o]=t)):e in this.l||(gd(this,t),this.l[e]=t),this.u(),this.b(new vd("changefeature",t))},Uy.ae=function(t,e,o){var r,i=this.B,n=0;for(r=(t=this.ca(t,e)).length;n<r;++n){var s=t[n];qa(i,s,(function(t){return S(t.extent,s)}))||(this.o.call(this,s,e,o),i.Ca(s,{extent:s.slice()}))}},Uy.Cj=function(t){var e,o=this.B;qa(o,t,(function(o){if(P(o.extent,t))return e=o,!0})),e&&o.remove(e)},Uy.Lb=function(t){var e=r(t).toString();e in this.f?delete this.f[e]:this.a&&this.a.remove(t),this.Yg(t),this.u()},Uy.Yg=function(t){var e=r(t).toString();this.s[e].forEach(Qt),delete this.s[e];var o=t.c;void 0!==o?delete this.j[o.toString()]:delete this.l[e],this.b(new vd("removefeature",t))},Uy.hj=function(t){this.o=t},e(vd,re),e(bd,pi),(Uy=bd.prototype).setMap=function(t){pi.prototype.setMap.call(this,t),this.Ki()},Uy.nq=function(){if(this.j){var t=this.j.U();if(this.f===Nw){var e=this.a;e.splice(-2,1),this.cb(e,t),2<=e.length&&(this.s=e[e.length-2].slice())}else this.f===Hw&&((e=this.a[0]).splice(-2,1),this.C.U().na(e),this.cb(this.a,t));0===e.length&&(this.s=null),kd(this)}},Uy.Pd=function(){var t=jd(this),e=this.a,o=t.U();this.f===Nw?(e.pop(),this.cb(e,o)):this.f===Hw&&(e[0].pop(),this.cb(e,o),e=o.W()),"MultiPoint"===this.O?t.Va(new Nu([e])):"MultiLineString"===this.O?t.Va(new Fu([e])):"MultiPolygon"===this.O&&t.Va(new Hu([e])),this.b(new Dd("drawend",t)),this.La&&this.La.push(t),this.ob&&this.ob.Gb(t)},Uy.Zn=function(t){var e=t.U();this.j=t,this.a=e.W(),t=this.a[this.a.length-1],this.s=t.slice(),this.a.push(t.slice()),kd(this),this.b(new Dd("drawstart",this.j))},Uy.jd=wo,Uy.Ki=function(){var t=this.v,e=this.c();t&&e||jd(this),this.ra.setMap(e?t:null)};var Aw="Point",Nw="LineString",Hw="Polygon",Ww="Circle";e(Dd,re),e(Pd,pi),Pd.prototype.setMap=function(t){this.o.setMap(t),this.O.setMap(t),pi.prototype.setMap.call(this,t)},Pd.prototype.G=function(){return this.j},Pd.prototype.f=function(t){this.j=t||null;var e=this.s;e?e.Va(t?mr(t):void 0):(this.s=e=new Es(t?mr(t):{}),this.o.ha().Gb(e)),this.b(new Bd(this.j))},e(Bd,re),e(Vd,pi),(Uy=Vd.prototype).xg=function(t){var e=t.U();e&&e.S()in this.ca&&this.ca[e.S()].call(this,t,e),(e=this.v)&&e.c&&this.c()&&Zd(this,this.Ea,e),Xt(t,"change",this.Li,this)},Uy.Ha=function(t){this.f&&!t&&(this.B.ha().Lb(this.f),this.f=null),pi.prototype.Ha.call(this,t)},Uy.setMap=function(t){this.B.setMap(t),pi.prototype.setMap.call(this,t)},Uy.vm=function(t){t.feature&&this.o.push(t.feature)},Uy.xm=function(t){t.feature&&this.o.remove(t.feature)},Uy.$n=function(t){this.xg(t.element)},Uy.Li=function(t){this.s||(Ud(this,t=t.target),this.xg(t))},Uy.ao=function(t){Ud(this,t.element)},Uy.io=function(t,e){var o=e.W();t={feature:t,geometry:e,ma:[o,o]},this.a.Ca(e.G(),t)},Uy.fo=function(t,e){var o,r=e.W(),i=0;for(o=r.length;i<o;++i){var n=r[i];n={feature:t,geometry:e,depth:[i],index:i,ma:[n,n]},this.a.Ca(e.G(),n)}},Uy.Mi=function(t,e){var o,r=e.W(),i=0;for(o=r.length-1;i<o;++i){var n=r.slice(i,i+2),s={feature:t,geometry:e,index:i,ma:n};this.a.Ca(v(n),s)}},Uy.eo=function(t,e){var o,r,i=e.W(),n=0;for(r=i.length;n<r;++n){var s=i[n],a=0;for(o=s.length-1;a<o;++a){var c=s.slice(a,a+2),u={feature:t,geometry:e,depth:[n],index:a,ma:c};this.a.Ca(v(c),u)}}},Uy.jo=function(t,e){var o,r,i=e.W(),n=0;for(r=i.length;n<r;++n){var s=i[n],a=0;for(o=s.length-1;a<o;++a){var c=s.slice(a,a+2),u={feature:t,geometry:e,depth:[n],index:a,ma:c};this.a.Ca(v(c),u)}}},Uy.ho=function(t,e){var o,r,i,n=e.W(),s=0;for(i=n.length;s<i;++s){var a=n[s],c=0;for(r=a.length;c<r;++c){var u=a[c],p=0;for(o=u.length-1;p<o;++p){var l=u.slice(p,p+2),h={feature:t,geometry:e,depth:[c,s],index:p,ma:l};this.a.Ca(v(l),h)}}}},Uy.bo=function(t,e){var o=e.xa(),r={feature:t,geometry:e,index:0,ma:[o,o]};t={feature:t,geometry:e,index:1,ma:[o,o]},r.Tf=t.Tf=[r,t],this.a.Ca(k(o),r),this.a.Ca(e.G(),t)},Uy.co=function(t,e){var o=e.a;for(e=0;e<o.length;++e)this.ca[o[e].S()].call(this,t,o[e])},Uy.Em=function(t,e){for(var o,r=t.ma,i=t.feature,n=t.geometry,s=t.depth,a=t.index;e.length<n.pa();)e.push(0);switch(n.S()){case"MultiLineString":case"Polygon":(o=n.W())[s[0]].splice(a+1,0,e);break;case"MultiPolygon":(o=n.W())[s[1]][s[0]].splice(a+1,0,e);break;case"LineString":(o=n.W()).splice(a+1,0,e);break;default:return}this.s=!0,n.na(o),this.s=!1,(o=this.a).remove(t),ef(this,n,a,s,1),t={ma:[r[0],e],feature:i,geometry:n,depth:s,index:a},o.Ca(v(t.ma),t),this.j.push([t,1]),e={ma:[e,r[1]],feature:i,geometry:n,depth:s,index:a+1},o.Ca(v(e.ma),e),this.j.push([e,0]),this.T=!0},Uy.Dj=function(){if(this.O&&"pointerdrag"!=this.O.type){var t=this.O;zd(this,t);var e,o,i=this.j,n={};for(o=i.length-1;0<=o;--o){var s=i[o],a=s[0],c=r(a.feature);a.depth&&(c+="-"+a.depth.join("-")),c in n||(n[c]={}),0===s[1]?(n[c].right=a,n[c].index=a.index):1==s[1]&&(n[c].left=a,n[c].index=a.index+1)}for(c in n){var u=n[c].right,p=n[c].left,l=(o=n[c].index)-1;0>l&&(l=0);var h=e=(s=(a=void 0!==p?p:u).geometry).W(),d=!1;switch(s.S()){case"MultiLineString":2<e[a.depth[0]].length&&(e[a.depth[0]].splice(o,1),d=!0);break;case"LineString":2<e.length&&(e.splice(o,1),d=!0);break;case"MultiPolygon":h=h[a.depth[1]];case"Polygon":4<(h=h[a.depth[0]]).length&&(o==h.length-1&&(o=0),h.splice(o,1),d=!0,0===o&&(h.pop(),h.push(h[0]),l=h.length-1))}d&&(d=s,this.s=!0,d.na(e),this.s=!1,e=[],void 0!==p&&(this.a.remove(p),e.push(p.ma[0])),void 0!==u&&(this.a.remove(u),e.push(u.ma[1])),void 0!==p&&void 0!==u&&(p={depth:a.depth,feature:a.feature,geometry:a.geometry,index:l,ma:e},this.a.Ca(v(p.ma),p)),ef(this,s,o,a.depth,-1),this.f&&(this.B.ha().Lb(this.f),this.f=null),i.length=0)}return this.b(new rf("modifyend",this.o,t)),this.C=!1,!0}return!1},e(rf,re),e(nf,$r),(Uy=nf.prototype).lo=function(){return this.f.ha().i},Uy.mo=function(){return this.j},Uy.no=function(t){return t=r(t),this.a[t]},Uy.po=function(t){this.j=t},Uy.setMap=function(t){var e=this.v,o=this.f.ha().i;e&&o.forEach(e.Zj,e),$r.prototype.setMap.call(this,t),this.f.setMap(t),t&&o.forEach(t.Uj,t)},Uy.ko=function(t){var e=this.v;e&&e.Uj(t.element)},Uy.oo=function(t){var e=this.v;e&&e.Zj(t.element)},e(cf,re);var Bw="select";e(uf,pi),(Uy=uf.prototype).Gb=function(t,e){e=void 0===e||e;var o=r(t),i=t.U();if(i){var n=this.ca[i.S()];n&&(this.V[o]=i.G([1/0,1/0,-1/0,-1/0]),n.call(this,t,i))}e&&(this.B[o]=Xt(t,"change",this.qo,this))},Uy.bl=function(t){this.Gb(t)},Uy.cl=function(t){this.Lb(t)},Uy.Ni=function(t){if(t instanceof vd)var e=t.feature;else t instanceof ye&&(e=t.element);this.Gb(e)},Uy.Oi=function(t){if(t instanceof vd)var e=t.feature;else t instanceof ye&&(e=t.element);this.Lb(e)},Uy.qo=function(t){if(t=t.target,this.D){var e=r(t);e in this.o||(this.o[e]=t)}else this.$j(t)},Uy.Lb=function(t,e){e=void 0===e||e;var o=r(t),i=this.V[o];if(i){var n=this.a,s=[];for(qa(n,i,(function(e){t===e.feature&&s.push(e)})),i=s.length-1;0<=i;--i)n.remove(s[i])}e&&(Qt(this.B[o]),delete this.B[o])},Uy.setMap=function(t){var e,o=this.v,r=this.ra;this.j?e=this.j:this.s&&(e=this.s.ee()),o&&(r.forEach(Qt),r.length=0,e.forEach(this.cl,this)),pi.prototype.setMap.call(this,t),t&&(this.j?r.push(Xt(this.j,"add",this.Ni,this),Xt(this.j,"remove",this.Oi,this)):this.s&&r.push(Xt(this.s,"addfeature",this.Ni,this),Xt(this.s,"removefeature",this.Oi,this)),e.forEach(this.bl,this))},Uy.jd=wo,Uy.$j=function(t){this.Lb(t,!1),this.Gb(t,!1)},Uy.ro=function(t,e){var o,r=0;for(o=(e=gr(e).W()[0]).length-1;r<o;++r){var i=e.slice(r,r+2),n={feature:t,ma:i};this.a.Ca(v(i),n)}},Uy.so=function(t,e){var o=e.a;for(e=0;e<o.length;++e){var r=this.ca[o[e].S()];r&&r.call(this,t,o[e])}},Uy.Pi=function(t,e){var o,r=0;for(o=(e=e.W()).length-1;r<o;++r){var i=e.slice(r,r+2),n={feature:t,ma:i};this.a.Ca(v(i),n)}},Uy.to=function(t,e){var o,r,i=0;for(r=(e=e.W()).length;i<r;++i){var n=e[i],s=0;for(o=n.length-1;s<o;++s){var a=n.slice(s,s+2),c={feature:t,ma:a};this.a.Ca(v(a),c)}}},Uy.uo=function(t,e){var o,r=e.W(),i=0;for(o=r.length;i<o;++i){var n=r[i];n={feature:t,ma:[n,n]},this.a.Ca(e.G(),n)}},Uy.vo=function(t,e){var o,r,i,n=0;for(i=(e=e.W()).length;n<i;++n){var s=e[n],a=0;for(r=s.length;a<r;++a){var c=s[a],u=0;for(o=c.length-1;u<o;++u){var p=c.slice(u,u+2),l={feature:t,ma:p};this.a.Ca(v(p),l)}}}},Uy.wo=function(t,e){var o=e.W();t={feature:t,ma:[o,o]},this.a.Ca(e.G(),t)},Uy.xo=function(t,e){var o,r,i=0;for(r=(e=e.W()).length;i<r;++i){var n=e[i],s=0;for(o=n.length-1;s<o;++s){var a=n.slice(s,s+2),c={feature:t,ma:a};this.a.Ca(v(a),c)}}},e(ff,pi),ff.prototype.B=function(){return this.s},ff.prototype.T=function(t){this.s=t},ff.prototype.setMap=function(t){var e=this.v;pi.prototype.setMap.call(this,t),_f(this,e)},ff.prototype.o=function(){_f(this,null)},e(wf,re),e(Mf,cd);var Vw=["#00f","#0ff","#0f0","#ff0","#f00"];(Uy=Mf.prototype).Nh=function(){return this.get(zw)},Uy.Uh=function(){return this.get(Uw)},Uy.Ri=function(){return this.get(Gw)},Uy.cm=function(){for(var t=this.Uh(),e=Tr(1,256),o=e.createLinearGradient(0,0,1,256),r=1/(t.length-1),i=0,n=t.length;i<n;++i)o.addColorStop(i*r,t[i]);e.fillStyle=o,e.fillRect(0,0,1,256),this.c=e.getImageData(0,0,1,256).data},Uy.mg=function(){var t=this.Ri(),e=this.Nh(),o=t+e+1,r=2*o;(r=Tr(r,r)).shadowOffsetX=r.shadowOffsetY=this.$,r.shadowBlur=e,r.shadowColor="#000",r.beginPath(),e=o-this.$,r.arc(e,e,t,0,2*Math.PI,!0),r.fill(),this.O=r.canvas.toDataURL(),this.T=Array(256),this.u()},Uy.tm=function(t){var e,o,r=(t=t.context).canvas,i=(r=t.getImageData(0,0,r.width,r.height)).data,n=0;for(e=i.length;n<e;n+=4)(o=4*i[n+3])&&(i[n]=this.c[o],i[n+1]=this.c[o+1],i[n+2]=this.c[o+2]);t.putImageData(r,0,0)},Uy.Fj=function(t){this.set(zw,t)},Uy.Lj=function(t){this.set(Uw,t)},Uy.fd=function(t){this.set(Gw,t)};var zw="blur",Uw="gradient",Gw="radius";e(Sf,Fr),e(xf,Fr),xf.prototype.c=function(){return this.get("preload")},xf.prototype.j=function(t){this.set("preload",t)},xf.prototype.i=function(){return this.get("useInterimTilesOnError")},xf.prototype.C=function(t){this.set("useInterimTilesOnError",t)},e(Lf,cd),Lf.prototype.c=function(){return this.get("preload")},Lf.prototype.i=function(){return this.get("useInterimTilesOnError")},Lf.prototype.T=function(t){this.set("preload",t)},Lf.prototype.O=function(t){this.set("useInterimTilesOnError",t)},e(Cf,Ji),Cf.prototype.sd=function(t){for(var e,o;Xi(this);){var r;if((r=(o=(e=this.g.Pc).ya[0].toString())in t)&&(e=e.ya,r=a(t[o],e[1],e[2])),r)break;oe(this.pop())}},e(Nf,Gs),Nf.prototype.ia=function(){1==this.state&&(this.Id.forEach(Qt),this.Id=null),Gs.prototype.ia.call(this)},Nf.prototype.Y=function(){return this.N},Nf.prototype.he=function(){var t=[];if(this.a.forEach((function(e){e&&2==e.getState()&&t.push({extent:this.c.Ma(e.ya),image:e.Y()})}),this),this.a.length=0,0===t.length)this.state=3;else{var e=this.v[0],o=this.l.Za(e),r="number"==typeof o?o:o[0];o="number"==typeof o?o:o[1],e=this.l.Ta(e);var i=this.c.Ta(this.f),n=this.l.Ma(this.v);this.N=Ef(r,o,this.C,i,this.c.G(),e,n,this.o,t,this.D,this.B),this.state=2}this.u()},Nf.prototype.load=function(){if(0==this.state){this.state=1,this.u();var t=0;this.Id=[],this.a.forEach((function(e){var o=e.getState();if(0==o||1==o){t++;var r=Xt(e,"change",(function(){var o=e.getState();2!=o&&3!=o&&4!=o||(Qt(r),0==--t&&(this.Id.forEach(Qt),this.Id=null,this.he()))}),this);this.Id.push(r)}}),this),this.a.forEach((function(t){0==t.getState()&&t.load()})),0===t&&setTimeout(this.he.bind(this),0)}},e(Hf,pd),(Uy=Hf.prototype).cj=function(){return Xi(this.a)},Uy.sd=function(t,e){(t=this.Yd(t))&&t.sd(e)},Uy.Zf=function(){return 0},Uy.eg=function(){return this.bb},Uy.jb=function(){return this.tileGrid},Uy.eb=function(t){return this.tileGrid?this.tileGrid:Ht(t)},Uy.Yd=function(t){var e=this.c;return e&&!gt(e,t)?null:this.a},Uy.Xc=function(){return this.sc},Uy.Zd=function(t,e,o){return o=this.eb(o),e=this.Xc(e),t=g(o.Za(t),this.j),1==e?t:m(t,e,this.j)},Uy.sa=function(){this.a.clear(),this.u()},Uy.kh=o,e(zf,re),e(Uf,Hf),(Uy=Uf.prototype).yb=function(){return this.tileLoadFunction},Uy.zb=function(){return this.tileUrlFunction},Uy.Ab=function(){return this.urls},Uy.dj=function(t){var e=r(t=t.target),o=t.getState();if(1==o){this.V[e]=!0;var i="tileloadstart"}else e in this.V&&(delete this.V[e],i=3==o?"tileloaderror":2==o||5==o?"tileloadend":void 0);null!=i&&this.b(new zf(i,t))},Uy.Fb=function(t){this.a.clear(),this.tileLoadFunction=t,this.u()},Uy.hb=function(t,e){this.tileUrlFunction=t,function(t){if(0!==t.i){var e=t.c.jc.split("/").map(Number)[0];t.forEach((function(t){if(t.ya[0]!==e){var o=t.ya;this.remove(o[0]+"/"+o[1]+"/"+o[2]),oe(t)}}),t)}}(this.a),void 0!==e?Bf(this,e):this.u()},Uy.rb=function(t){var e=this.urls=Df(t);this.hb(this.dc?this.dc.bind(this):Tf(e,this.tileGrid),t)},Uy.vb=function(t){this.urls=t;var e=t.join("\n");this.hb(this.dc?this.dc.bind(this):Tf(t,this.tileGrid),e)},Uy.kh=function(t,e,o){t=t+"/"+e+"/"+o,this.a.a.hasOwnProperty(t)&&this.a.get(t)},e(Gf,Uf),(Uy=Gf.prototype).cj=function(){if(Xi(this.a))return!0;for(var t in this.f)if(Xi(this.f[t]))return!0;return!1},Uy.sd=function(t,e){for(var o in t=this.Yd(t),this.a.sd(this.a==t?e:{}),this.f){var r=this.f[o];r.sd(r==t?e:{})}},Uy.Zf=function(t){return this.c&&t&&!gt(this.c,t)?0:this.$f()},Uy.$f=function(){return 0},Uy.eg=function(t){return!(this.c&&t&&!gt(this.c,t))&&Uf.prototype.eg.call(this,t)},Uy.eb=function(t){var e=this.c;return!this.tileGrid||e&&!gt(e,t)?((e=r(t).toString())in this.s||(this.s[e]=Ht(t)),this.s[e]):this.tileGrid},Uy.Yd=function(t){var e=this.c;return!e||gt(e,t)?this.a:((t=r(t).toString())in this.f||(this.f[t]=new Cf(this.a.highWaterMark)),this.f[t])},Uy.ad=function(t,e,o,r,i){var n=this.c;if(n&&i&&!gt(n,i)){var s,a=this.Yd(i);if(t=(o=[t,e,o])[0]+"/"+o[1]+"/"+o[2],a.a.hasOwnProperty(t)&&(s=a.get(t)),e=this.jc,s&&s.key==e)return s;var c=this.eb(n),u=this.eb(i),p=Vf(this,o,i);return r=new Nf(n,c,i,u,o,p,this.Xc(r),this.$f(),function(t,e,o,r){return $f(this,t,e,o,r,n)}.bind(this),this.ob,this.O),r.key=e,s?(r.g=s,$s(r),a.replace(t,r)):a.set(t,r),r}return $f(this,t,e,o,r,n||i)},Uy.Qb=function(t){if(this.O!=t){for(var e in this.O=t,this.f)this.f[e].clear();this.u()}},Uy.Rb=function(t,e){(t=mt(t))&&((t=r(t).toString())in this.s||(this.s[t]=e))},e(Xf,Gf),Xf.prototype.ca=function(){return this.l},Xf.prototype.ua=function(){return this.B},Xf.prototype.La=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)hd(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var o=t.resourceSets[0].resources[0];t=-1==this.$?o.zoomMax:this.$,this.tileGrid=Wt({extent:zt(this.c),minZoom:o.zoomMin,maxZoom:t,tileSize:(o.imageWidth==o.imageHeight?o.imageWidth:[o.imageWidth,o.imageHeight])/(this.i?2:1)});var r=this.o,i=this.i;if(this.tileUrlFunction=jf(o.imageUrlSubdomains.map((function(t){var e=[0,0,0],n=o.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){if(t)return Yt(t[0],t[1],-t[2]-1,e),t=n,i&&(t+="&dpi=d1&device=mobile"),t.replace("{quadkey}",function(t){var e,o=t[0],r=Array(o),i=1<<o-1;for(e=0;e<o;++e){var n=48;t[1]&i&&(n+=1),t[2]&i&&(n+=2),r[e]=String.fromCharCode(n),i>>=1}return r.join("")}(e))}}))),o.imageryProviders){var n=bt(mt("EPSG:4326"),this.c);this.va((function(t){var e=[],r=t.viewState.zoom;return o.imageryProviders.map((function(o){for(var i=!1,s=o.coverageAreas,a=0,c=s.length;a<c;++a){var u=s[a];if(r>=u.zoomMin&&r<=u.zoomMax&&G(u=J([(u=u.bbox)[1],u[0],u[3],u[2]],n),t.extent)){i=!0;break}}i&&e.push(o.attribution)})),e.push('<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'),e}))}this.T=e,hd(this,"ready")}},e(Kf,Gf),e(Zf,Kf),(Uy=Zf.prototype).nl=function(){return this.i},Uy.Sq=function(t){Zy(this.i,t),Qf(this)},Uy.uq=function(t){this.i=t||{},Qf(this)},Uy.em=function(t,e){if(!(e=e.target).status||200<=e.status&&300>e.status){try{var o=JSON.parse(e.responseText)}catch(t){return void hd(this,"error")}ty(this,o),this.l[t]=o,hd(this,"ready")}else hd(this,"error")},Uy.dm=function(){hd(this,"error")},e(ey,dd),(Uy=ey.prototype).Eo=function(){return this.distance},Uy.Fo=function(){return this.source},Uy.ae=function(t,e,o){this.source.ae(t,e,o),e!==this.resolution&&(this.clear(),this.resolution=e,oy(this),this.Qc(this.features))},Uy.vq=function(t){this.distance=t,this.sa()},Uy.sa=function(){this.clear(),oy(this),this.Qc(this.features),dd.prototype.sa.call(this)},e(iy,Gi),iy.prototype.ia=function(){1==this.state&&(Qt(this.je),this.je=null),Gi.prototype.ia.call(this)},iy.prototype.Y=function(){return this.i},iy.prototype.he=function(){var t=this.Tb.getState();2==t&&(this.i=Ef(U(this.g)/this.c,W(this.g)/this.c,this.j,this.Tb.resolution,0,this.c,this.g,this.f,[{extent:this.Tb.G(),image:this.Tb.Y()}],0)),this.state=t,this.u()},iy.prototype.load=function(){if(0==this.state){this.state=1,this.u();var t=this.Tb.getState();2==t||3==t?this.he():(this.je=Xt(this.Tb,"change",(function(){var t=this.Tb.getState();2!=t&&3!=t||(Qt(this.je),this.je=null,this.he())}),this),this.Tb.load())}},e(ny,pd),ny.prototype.Y=function(t,e,o,r){var i=this.c;if(i&&r&&!gt(i,r)){if(this.i){if(this.ua==this.g&&gt(this.i.s,r)&&this.i.resolution==e&&P(this.i.G(),t))return this.i;oe(this.i),this.i=null}return this.i=new iy(i,r,t,e,o,function(t,e,o){return this.Wc(t,e,o,i)}.bind(this)),this.ua=this.g,this.i}return i&&(r=i),this.Wc(t,e,o,r)},ny.prototype.j=function(t){switch((t=t.target).getState()){case 1:this.b(new cy(qw,t));break;case 2:this.b(new cy($w,t));break;case 3:this.b(new cy(Jw,t))}},e(cy,re);var qw="imageloadstart",$w="imageloadend",Jw="imageloaderror";e(py,ny),(Uy=py.prototype).Ho=function(){return this.s},Uy.Wc=function(t,e,o,r){if(void 0===this.a)return null;e=sy(this,e),o=this.$?o:1;var i=this.M;if(i&&this.O==this.g&&i.resolution==e&&i.a==o&&S(i.G(),t))return i;Zy(i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.s);var n=((t=t.slice())[0]+t[2])/2,s=(t[1]+t[3])/2;if(1!=this.B){var a=this.B*U(t)/2,u=this.B*W(t)/2;t[0]=n-a,t[1]=s-u,t[2]=n+a,t[3]=s+u}a=e/o,u=Math.ceil(U(t)/a);var p=Math.ceil(W(t)/a);return t[0]=n-a*u/2,t[2]=n+a*u/2,t[1]=s-a*p/2,t[3]=s+a*p/2,this.l[0]=u,this.l[1]=p,n=t,s=this.l,a=o,r=r.wb.split(":").pop(),i.SIZE=s[0]+","+s[1],i.BBOX=n.join(","),i.BBOXSR=r,i.IMAGESR=r,i.DPI=Math.round(90*a),(n=(r=this.a).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"))==r&&c(!1,50),i=uy(n,i),this.M=new Us(t,e,o,i,this.V,this.f),this.O=this.g,Xt(this.M,"change",this.j,this),this.M},Uy.Go=function(){return this.f},Uy.Io=function(){return this.a},Uy.Jo=function(t){this.M=null,this.f=t,this.u()},Uy.Ko=function(t){t!=this.a&&(this.a=t,this.M=null,this.u())},Uy.Lo=function(t){Zy(this.s,t),this.M=null,this.u()},e(ly,ny),ly.prototype.Wc=function(t,e,o,r){e=sy(this,e);var i=this.V;return i&&this.$==this.g&&i.resolution==e&&i.a==o&&S(i.G(),t)||($(t=t.slice(),this.La),(r=this.Ea(t,e,o,[U(t)/e*o,W(t)/e*o],r))&&(i=new qi(t,e,o,r)),this.V=i,this.$=this.g),i},e(hy,ny),(Uy=hy.prototype).No=function(){return this.f},Uy.Wc=function(t,e,o){e=sy(this,e),o=this.$?o:1;var r=this.M;if(r&&this.B==this.g&&r.resolution==e&&r.a==o&&S(r.G(),t))return r;1!=this.s&&$(t=t.slice(),this.s);var i=[U(t)/e*o,W(t)/e*o];if(void 0!==this.O){r=this.O;var n=N(t),s=this.ca,a=U(t),c=W(t),u=i[0],p=i[1],l=.0254/this.l;i={OPERATION:this.Ea?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.l,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:p*a>u*c?a*s/(u*l):c*s/(p*l),SETVIEWCENTERX:n[0],SETVIEWCENTERY:n[1]},Zy(i,this.f),Xt(r=new Us(t,e,o,r=uy(r,i),this.V,this.a),"change",this.j,this)}else r=null;return this.M=r,this.B=this.g,r},Uy.Mo=function(){return this.a},Uy.Po=function(t){Zy(this.f,t),this.u()},Uy.Oo=function(t){this.M=null,this.a=t,this.u()},e(dy,ny),dy.prototype.Wc=function(t){return G(t,this.M.G())?this.M:null},dy.prototype.j=function(t){if(2==this.M.getState()){var e=this.M.G(),o=this.M.Y();if(this.a)var r=this.a[0],i=this.a[1];else r=o.width,i=o.height;if((e=Math.ceil(U(e)/(W(e)/i)))!=r){var n=(e=Tr(e,i)).canvas;e.drawImage(o,0,0,r,i,0,0,n.width,n.height),this.M.ih(n)}}ny.prototype.j.call(this,t)},e(fy,ly),(Uy=fy.prototype).Mk=function(t,e,o,r,i){var n=new hs(.5*e/o,t,e,o,this.a.$,this.ca,this.bb);this.a.ae(t,e,i);var s=!1;return this.a.ec(t,(function(t){var r,i;if(!(r=s))if((r=t.ib())?i=r.call(t,e):this.s&&(i=this.s(t,e)),i){var a,c=!1;for(Array.isArray(i)||(i=[i]),r=0,a=i.length;r<a;++r)c=vs(n,t,i[r],gs(e,o),this.So,this)||c;r=c}else r=!1;s=r}),this),fs(n),s?null:(this.l[0]!=r[0]||this.l[1]!=r[1]?(this.f.canvas.width=r[0],this.f.canvas.height=r[1],this.l[0]=r[0],this.l[1]=r[1]):this.f.clearRect(0,0,r[0],r[1]),this.ca.clear(),t=function(t,e,o,r,i){return o=r/o,Co(t.ob,i[0]/2,i[1]/2,o,-o,0,-e[0],-e[1])}(this,N(t),e,o,r),n.Na(this.f,t,0,{}),this.B=n,this.f.canvas)},Uy.wa=function(t,e,o,i,n,s){if(this.B){var a={};return this.B.wa(t,e,0,i,n,(function(t){var e=r(t).toString();if(!(e in a))return a[e]=!0,s(t)}),null)}},Uy.Qo=function(){return this.a},Uy.Ro=function(){return this.O},Uy.ib=function(){return this.s},Uy.So=function(){this.u()},Uy.To=function(){hd(this,this.a.getState())},Uy.aj=function(t){this.O=void 0!==t?t:Cs,this.s=t?Ps(this.O):void 0,this.u()},e(yy,ny);var Xw=[101,101];(Uy=yy.prototype).Uo=function(t,e,o,r){if(void 0!==this.f){o=mt(o);var i=this.c;i&&i!==o&&(e=Yf(i,o,t,e),t=Mt(t,o,i));var n=H(t,e,0,Xw),s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.a.LAYERS};return Zy(s,this.a,r),r=Math.floor((n[3]-t[1])/e),s[this.l?"I":"X"]=Math.floor((t[0]-n[0])/e),s[this.l?"J":"Y"]=r,my(this,n,Xw,1,i||o,s)}},Uy.Wo=function(){return this.a},Uy.Wc=function(t,e,o,r){if(void 0===this.f)return null;e=sy(this,e),1==o||this.Ea&&void 0!==this.$||(o=1);var i=e/o,n=N(t),s=H(n,i,0,[Math.ceil(U(t)/i),Math.ceil(W(t)/i)]);return t=H(n,i,0,[Math.ceil(this.O*U(t)/i),Math.ceil(this.O*W(t)/i)]),(n=this.M)&&this.V==this.g&&n.resolution==e&&n.a==o&&S(n.G(),s)?n:(Zy(s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.a),this.B[0]=Math.round(U(t)/i),this.B[1]=Math.round(W(t)/i),r=my(this,t,this.B,o,r,s),this.M=new Us(t,e,o,r,this.ca,this.s),this.V=this.g,Xt(this.M,"change",this.j,this),this.M)},Uy.Vo=function(){return this.s},Uy.Xo=function(){return this.f},Uy.Yo=function(t){this.M=null,this.s=t,this.u()},Uy.Zo=function(t){t!=this.f&&(this.f=t,this.M=null,this.u())},Uy.$o=function(t){Zy(this.a,t),gy(this),this.M=null,this.u()},e(vy,Kf),pg.nf={},pg.nf.Hf=function(){},function(t){function e(t,e,o){return s?new ImageData(t,e,o):((e=a.createImageData(e,o)).data.set(t),e)}function o(t){var e=!0;try{new ImageData(10,10)}catch(t){e=!1}return function(o){var r=o.buffers,i=o.meta,n=o.width,s=o.height,a=r.length,c=r[0].byteLength;if(o.imageOps){for(c=Array(a),o=0;o<a;++o){var u=o,p=new Uint8ClampedArray(r[o]),l=n,h=s;p=e?new ImageData(p,l,h):{data:p,width:l,height:h},c[u]=p}n=t(c,i).data}else{for(n=new Uint8ClampedArray(c),s=Array(a),u=Array(a),o=0;o<a;++o)s[o]=new Uint8ClampedArray(r[o]),u[o]=[0,0,0,0];for(r=0;r<c;r+=4){for(o=0;o<a;++o)p=s[o],u[o][0]=p[r],u[o][1]=p[r+1],u[o][2]=p[r+2],u[o][3]=p[r+3];o=t(u,i),n[r]=o[0],n[r+1]=o[1],n[r+2]=o[2],n[r+3]=o[3]}}return n.buffer}}function r(t,e){var r=Object.keys(t.lib||{}).map((function(e){return"var "+e+" = "+t.lib[e].toString()+";"})).concat(["var __minion__ = ("+o.toString()+")(",t.operation.toString(),");",'self.addEventListener("message", function(event) {',"  var buffer = __minion__(event.data);","  self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]);return r=URL.createObjectURL(new Blob(r,{type:"text/javascript"})),(r=new Worker(r)).addEventListener("message",e),r}function i(t,e){var r=o(t.operation);return{postMessage:function(t){setTimeout((function(){e({data:{buffer:r(t),meta:t.meta}})}),0)}}}function n(t){var e;this.Jf=!!t.Cm;var o=[];if(e=0===t.threads?0:this.Jf?1:t.threads||1)for(var n=0;n<e;++n)o[n]=r(t,this.xh.bind(this,n));else o[0]=i(t,this.xh.bind(this,0));this.we=o,this.Nd=[],this.Bk=t.Sp||1/0,this.ve=0,this.od={},this.Kf=null}var s=!0;try{new ImageData(10,10)}catch(t){s=!1}var a=document.createElement("canvas").getContext("2d");n.prototype.Rp=function(t,e,o){this.zk({inputs:t,ii:e,callback:o}),this.uh()},n.prototype.zk=function(t){for(this.Nd.push(t);this.Nd.length>this.Bk;)this.Nd.shift().callback(null,null)},n.prototype.uh=function(){if(0===this.ve&&0<this.Nd.length){var t=this.Kf=this.Nd.shift(),e=t.inputs[0].width,o=t.inputs[0].height,r=t.inputs.map((function(t){return t.data.buffer})),i=this.we.length;if(this.ve=i,1===i)this.we[0].postMessage({buffers:r,meta:t.ii,imageOps:this.Jf,width:e,height:o},r);else for(var n=4*Math.ceil(t.inputs[0].data.length/4/i),s=0;s<i;++s){for(var a=s*n,c=[],u=0,p=r.length;u<p;++u)c.push(r[s].slice(a,a+n));this.we[s].postMessage({buffers:c,meta:t.ii,imageOps:this.Jf,width:e,height:o},c)}}},n.prototype.xh=function(t,e){this.hr||(this.od[t]=e.data,0==--this.ve&&this.Ck())},n.prototype.Ck=function(){var t=this.Kf,o=this.we.length;if(1===o)var r=new Uint8ClampedArray(this.od[0].buffer),i=this.od[0].meta;else{var n=t.inputs[0].data.length;r=new Uint8ClampedArray(n),i=Array(n),n=4*Math.ceil(n/4/o);for(var s=0;s<o;++s){var a=s*n;r.set(new Uint8ClampedArray(this.od[s].buffer),a),i[s]=this.od[s].meta}}this.Kf=null,this.od={},t.callback(null,e(r,t.inputs[0].width,t.inputs[0].height),i),this.uh()},t.default={Hf:n},t.Hf=n}(pg.nf=pg.nf||{}),e(by,ny),by.prototype.s=function(t,e){this.B=new pg.nf.Hf({operation:t,Cm:"image"===this.Ea,Sp:1,lib:e,threads:this.La}),this.u()},by.prototype.Y=function(t,e,o,r){o=!0;for(var i,n=0,s=this.f.length;n<s;++n)if("ready"!==(i=this.f[n].a.ha()).getState()){o=!1;break}if(!o)return null;if((o=Zy({},this.O)).viewState=Zy({},o.viewState),i=N(t),o.extent=t.slice(),o.focus=i,o.size[0]=Math.round(U(t)/e),o.size[1]=Math.round(W(t)/e),o.time=Date.now(),o.animate=!1,(n=o.viewState).center=i,n.projection=r,n.resolution=e,this.l=o,this.a&&(r=this.a.resolution,i=this.a.G(),e===r&&P(t,i)||(this.a=null)),!this.a||this.g!==this.V)t:{for(t=this.l,r=this.f.length,e=Array(r),i=0;i<r;++i){n=this.f[i],s=t;var a=t.layerStatesArray[i];if(n.$c(s,a)){var c=s.size[0],u=s.size[1];if(Kw){var p=Kw.canvas;p.width!==c||p.height!==u?Kw=Tr(c,u):Kw.clearRect(0,0,c,u)}else Kw=Tr(c,u);n.df(s,a,Kw),n=Kw.getImageData(0,0,c,u)}else n=null;if(!n)break t;e[i]=n}r={},this.b(new _y(Zw,t,r)),this.B.Rp(e,r,this.ca.bind(this,t))}return Ke(o.tileQueue,16,16),o.animate&&requestAnimationFrame(this.u.bind(this)),this.a},by.prototype.ca=function(t,e,o,r){if(!e&&o){e=t.extent;var i=t.viewState.resolution;if(i===this.l.viewState.resolution&&P(e,this.l.extent)){if(this.a)var n=this.a.Y().getContext("2d");else n=Tr(Math.round(U(e)/i),Math.round(W(e)/i)),this.a=new qi(e,i,1,n.canvas);n.putImageData(o,0,0),this.u(),this.V=this.g,this.b(new _y(Qw,t,r))}}};var Kw=null;e(_y,re),by.prototype.Wc=function(){return null};var Zw="beforeoperations",Qw="afteroperations";e(wy,Kf);var tM=['Map tiles by <a href="https://stamen.com/">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.','&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'],eM={terrain:{Ob:"jpg",opaque:!0},"terrain-background":{Ob:"jpg",opaque:!0},"terrain-labels":{Ob:"png",opaque:!1},"terrain-lines":{Ob:"png",opaque:!1},"toner-background":{Ob:"png",opaque:!0},toner:{Ob:"png",opaque:!0},"toner-hybrid":{Ob:"png",opaque:!1},"toner-labels":{Ob:"png",opaque:!1},"toner-lines":{Ob:"png",opaque:!1},"toner-lite":{Ob:"png",opaque:!0},watercolor:{Ob:"jpg",opaque:!0}},oM={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};e(My,Gf),My.prototype.o=function(){return this.i},My.prototype.Xc=function(t){return t},My.prototype.dc=function(t,e,o){var r=this.tileGrid;if(r||(r=this.eb(o)),!(r.b.length<=t[0])){var i=r.Ma(t,this.l),n=g(r.Za(t[0]),this.j);1!=e&&(n=m(n,e,this.j)),Zy(r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.i);var s=this.urls;return s?(o=o.wb.split(":").pop(),r.SIZE=n[0]+","+n[1],r.BBOX=i.join(","),r.BBOXSR=o,r.IMAGESR=o,r.DPI=Math.round(r.DPI?r.DPI*e:90*e),t=uy(t=(1==s.length?s[0]:s[d((t[1]<<t[0])+t[2],s.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),r)):t=void 0,t}},My.prototype.B=function(t){Zy(this.i,t),Bf(this,Sy(this))},e(xy,Hf),xy.prototype.ad=function(t,e,o){var r=t+"/"+e+"/"+o;if(this.a.a.hasOwnProperty(r))return this.a.get(r);var i=g(this.tileGrid.Za(t));return i=new Ly(t=[t,e,o],i,e=(e=Vf(this,t))?Vf(this,e).toString():""),this.a.set(r,i),i},e(Ly,Gs),Ly.prototype.Y=function(){if(this.a)return this.a;var t=this.c,e=Tr(t[0],t[1]);return e.strokeStyle="black",e.strokeRect(.5,.5,t[0]+.5,t[1]+.5),e.fillStyle="black",e.textAlign="center",e.textBaseline="middle",e.font="24px sans-serif",e.fillText(this.ta,t[0]/2,t[1]/2),this.a=e.canvas},Ly.prototype.load=function(){},e(Oy,Gf),(Uy=Oy.prototype).bp=function(t){if(!(t=t.target).status||200<=t.status&&300>t.status){try{var e=JSON.parse(t.responseText)}catch(t){return void this.ef()}this.Cg(e)}else this.ef()},Uy.ap=function(){this.ef()},Uy.Sl=function(){return this.i},Uy.Cg=function(t){var e=mt("EPSG:4326"),o=this.c;if(void 0!==t.bounds){var r=bt(e,o);r=J(t.bounds,r)}var i=t.minzoom||0,n=t.maxzoom||22;if(this.tileGrid=o=Wt({extent:zt(o),maxZoom:n,minZoom:i}),this.tileUrlFunction=Tf(t.tiles,o),void 0!==t.attribution&&!this.C){var s=void 0!==r?r:e.G();this.va((function(e){return G(s,e.extent)?[t.attribution]:null}))}this.i=t,hd(this,"ready")},Uy.ef=function(){hd(this,"error")},e(Ty,Hf),(Uy=Ty.prototype).gp=function(t){if(!(t=t.target).status||200<=t.status&&300>t.status){try{var e=JSON.parse(t.responseText)}catch(t){return void this.ff()}this.Dg(e)}else this.ff()},Uy.fp=function(){this.ff()},Uy.Pl=function(){return this.f},Uy.al=function(t,e,o,r,i){this.tileGrid?(e=this.tileGrid.Le(t,e),function(t,e,o,r,i){0==t.state&&!0===i?(Kt(t,"change",(function(){o.call(r,this.getData(e))}),t),ky(t)):!0===i?setTimeout(function(){o.call(r,this.getData(e))}.bind(t),0):o.call(r,t.getData(e))}(this.ad(e[0],e[1],e[2],1,this.c),t,o,r,i)):!0===i?setTimeout((function(){o.call(r,null)}),0):o.call(r,null)},Uy.ff=function(){hd(this,"error")},Uy.Dg=function(t){var e=mt("EPSG:4326"),o=this.c;if(void 0!==t.bounds){var r=bt(e,o);r=J(t.bounds,r)}var i=t.minzoom||0,n=t.maxzoom||22;if(this.tileGrid=o=Wt({extent:zt(o),maxZoom:n,minZoom:i}),this.f=t.template,i=t.grids){if(this.l=Tf(i,o),void 0!==t.attribution){var s=void 0!==r?r:e.G();this.va((function(e){return G(s,e.extent)?[t.attribution]:null}))}hd(this,"ready")}else hd(this,"error")},Uy.ad=function(t,e,o,r,i){var n=t+"/"+e+"/"+o;return this.a.a.hasOwnProperty(n)?this.a.get(n):(e=Vf(this,t=[t,e,o],i),r=new jy(t,void 0!==(r=this.l(e,r,i))?0:4,void 0!==r?r:"",this.tileGrid.Ma(t),this.s,this.i),this.a.set(n,r),r)},Uy.kh=function(t,e,o){t=t+"/"+e+"/"+o,this.a.a.hasOwnProperty(t)&&this.a.get(t)},e(jy,Gs),(Uy=jy.prototype).Y=function(){return null},Uy.getData=function(t){if(!this.f||!this.l)return null;var e=this.f[Math.floor((1-(t[1]-this.a[1])/(this.a[3]-this.a[1]))*this.f.length)];return"string"!=typeof e?null:(93<=(e=e.charCodeAt(Math.floor((t[0]-this.a[0])/(this.a[2]-this.a[0])*e.length)))&&e--,35<=e&&e--,t=null,(e-=32)in this.l&&(e=this.l[e],t=this.c&&e in this.c?this.c[e]:e),t)},Uy.lb=function(){return this.v},Uy.Ne=function(){this.state=3,this.u()},Uy.bj=function(t){this.f=t.grid,this.l=t.keys,this.c=t.data,this.state=4,this.u()},Uy.ep=function(t){if(!(t=t.target).status||200<=t.status&&300>t.status){try{var e=JSON.parse(t.responseText)}catch(t){return void this.Ne()}this.bj(e)}else this.Ne()},Uy.cp=function(){this.Ne()},Uy.load=function(){this.N&&ky(this)},e(Dy,Gf),(Uy=Dy.prototype).hp=function(t,e,o,r){o=mt(o);var i=this.c,n=this.tileGrid;if(n||(n=this.eb(o)),e=n.Le(t,e),!(n.b.length<=e[0])){var s=n.Ta(e[0]),a=n.Ma(e,this.ca);n=g(n.Za(e[0]),this.j);var c=this.o;return 0!==c&&(n=y(n,c,this.j),a=b(a,s*c,a)),i&&i!==o&&(s=Yf(i,o,t,s),a=St(a,o,i),t=Mt(t,o,i)),c={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS},Zy(c,this.i,r),r=Math.floor((a[3]-t[1])/s),c[this.l?"I":"X"]=Math.floor((t[0]-a[0])/s),c[this.l?"J":"Y"]=r,Py(this,e,n,a,1,i||o,c)}},Uy.$f=function(){return this.o},Uy.ip=function(){return this.i},Uy.Xc=function(t){return this.$&&void 0!==this.B?t:1},Uy.dc=function(t,e,o){var r=this.tileGrid;if(r||(r=this.eb(o)),!(r.b.length<=t[0])){1==e||this.$&&void 0!==this.B||(e=1);var i=r.Ta(t[0]),n=r.Ma(t,this.ca);r=g(r.Za(t[0]),this.j);var s=this.o;return 0!==s&&(r=y(r,s,this.j),n=b(n,i*s,n)),1!=e&&(r=m(r,e,this.j)),Zy(i={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.i),Py(this,t,r,n,e,o,i)}},Uy.jp=function(t){Zy(this.i,t),Yy(this),Bf(this,Cy(this))},e(Ry,Gs),(Uy=Ry.prototype).ia=function(){for(var t=0,e=this.a.length;t<e;++t){var o=this.a[t],r=this.c[o];r.c--,0==r.c&&(delete this.c[o],oe(r))}this.a.length=0,this.c=null,this.f.forEach(Qt),this.f.length=0,this.g&&oe(this.g),this.state=5,this.u(),this.N.forEach(Qt),this.N.length=0,Gs.prototype.ia.call(this)},Uy.Y=function(t){return-1==Iy(this,t).fh?null:Ey(this,t).canvas},Uy.lb=function(){return this.a.join("/")+"-"+this.D},Uy.load=function(){var t=0,e={};0==this.state&&Js(this,1),1==this.state&&this.a.forEach(function(o){var i=this.c[o];0==i.state&&(i.ug(this.C),i.load()),1==i.state&&(o=Xt(i,"change",function(){var o=i.getState();if(2==o||3==o){var n=r(i);3==o?e[n]=!0:(--t,delete e[n]),0==t-Object.keys(e).length&&this.Kh()}}.bind(this)),this.f.push(o),++t)}.bind(this)),0==t-Object.keys(e).length&&setTimeout(this.Kh.bind(this),0)},Uy.Kh=function(){for(var t=this.a.length,e=0,o=t-1;0<=o;--o){var r=this.c[this.a[o]].getState();2!=r&&--t,4==r&&++e}t==this.a.length?(this.f.forEach(Qt),this.f.length=0,Js(this,2)):Js(this,e==this.a.length?4:3)},e(Ay,Uf),(Uy=Ay.prototype).clear=function(){this.a.clear(),this.i={}},Uy.ad=function(t,e,o,r,i){var n=t+"/"+e+"/"+o;return this.a.a.hasOwnProperty(n)?this.a.get(n):(r=new Ry(t=[t,e,o],null!==(e=Vf(this,t,i))?0:4,this.g,this.l,this.tileLoadFunction,e,this.tileUrlFunction,this.tileGrid,this.eb(i),this.i,r,i,this.tileClass,this.dj.bind(this),this.Ea),this.a.set(n,r),r)},Uy.eb=function(t){var e=t.wb,o=this.f[e];return o||(o=this.tileGrid,o=this.f[e]=Vt(t,void 0,o?o.Za(o.minZoom):void 0)),o},Uy.Xc=function(t){return t},Uy.Zd=function(t,e,o){return t=g(this.eb(o).Za(t)),[Math.round(t[0]*e),Math.round(t[1]*e)]},e(Ny,Rt),Ny.prototype.v=function(){return this.s},e(Wy,Gf),(Uy=Wy.prototype).vb=function(t){this.urls=t;var e=t.join("\n");this.hb(this.dc?this.dc.bind(this):jf(t.map(this.l.bind(this))),e)},Uy.ol=function(){return this.i},Uy.kp=function(){return this.B},Uy.lp=function(){return this.$},Uy.Al=function(){return this.o},Uy.Nl=function(){return this.ua},Uy.mp=function(){return this.ca},Uy.Ul=function(){return this.La},Uy.Tq=function(t){Zy(this.i,t),Bf(this,By(this))},e(Vy,Gf),e(zy,Ks),zy.prototype.Y=function(){if(this.a)return this.a;var t=Ks.prototype.Y.call(this);if(2==this.state){var e=this.o;return t.width==e[0]&&t.height==e[1]?this.a=t:((e=Tr(e[0],e[1])).drawImage(t,0,0),this.a=e.canvas)}return t};var rM="default",iM="truncated";return i.prototype.code=i.prototype.code,t("ol.Attribution",Ut),Ut.prototype.getHTML=Ut.prototype.b,t("ol.CanvasMap",Ms),t("ol.Collection",he),he.prototype.clear=he.prototype.clear,he.prototype.extend=he.prototype.qg,he.prototype.forEach=he.prototype.forEach,he.prototype.getArray=he.prototype.Xm,he.prototype.item=he.prototype.item,he.prototype.getLength=he.prototype.kc,he.prototype.insertAt=he.prototype.Re,he.prototype.pop=he.prototype.pop,he.prototype.push=he.prototype.push,he.prototype.remove=he.prototype.remove,he.prototype.removeAt=he.prototype.Wg,he.prototype.setAt=he.prototype.rq,ye.prototype.element=ye.prototype.element,t("ol.color.asArray",en),t("ol.color.asString",on),t("ol.colorlike.asColorLike",nn),t("ol.control.defaults",Ur),t("ol.coordinate.add",io),t("ol.coordinate.createStringXY",(function(t){return function(e){return yo(e,t)}})),t("ol.coordinate.format",ao),t("ol.coordinate.rotate",uo),t("ol.coordinate.toStringHDMS",(function(t,e){return t?so("NS",t[1],e)+" "+so("EW",t[0],e):""})),t("ol.coordinate.toStringXY",yo),t("ol.DeviceOrientation",Ss),Ss.prototype.getAlpha=Ss.prototype.Ym,Ss.prototype.getBeta=Ss.prototype.ll,Ss.prototype.getGamma=Ss.prototype.ql,Ss.prototype.getHeading=Ss.prototype.Zm,Ss.prototype.getTracking=Ss.prototype.li,Ss.prototype.setTracking=Ss.prototype.rg,t("ol.easing.easeIn",mo),t("ol.easing.easeOut",go),t("ol.easing.inAndOut",vo),t("ol.easing.linear",bo),t("ol.easing.upAndDown",(function(t){return.5>t?vo(2*t):1-vo(2*(t-.5))})),t("ol.extent.boundingExtent",v),t("ol.extent.buffer",b),t("ol.extent.containsCoordinate",M),t("ol.extent.containsExtent",S),t("ol.extent.containsXY",x),t("ol.extent.createEmpty",O),t("ol.extent.equals",P),t("ol.extent.extend",C),t("ol.extent.getArea",I),t("ol.extent.getBottomLeft",F),t("ol.extent.getBottomRight",A),t("ol.extent.getCenter",N),t("ol.extent.getHeight",W),t("ol.extent.getIntersection",B),t("ol.extent.getSize",(function(t){return[t[2]-t[0],t[3]-t[1]]})),t("ol.extent.getTopLeft",V),t("ol.extent.getTopRight",z),t("ol.extent.getWidth",U),t("ol.extent.intersects",G),t("ol.extent.isEmpty",q),t("ol.extent.applyTransform",J),t("ol.Feature",Es),Es.prototype.clone=Es.prototype.clone,Es.prototype.getGeometry=Es.prototype.U,Es.prototype.getId=Es.prototype.an,Es.prototype.getGeometryName=Es.prototype.sl,Es.prototype.getStyle=Es.prototype.bn,Es.prototype.getStyleFunction=Es.prototype.ib,Es.prototype.setGeometry=Es.prototype.Va,Es.prototype.setStyle=Es.prototype.sg,Es.prototype.setId=Es.prototype.qc,Es.prototype.setGeometryName=Es.prototype.Lc,t("ol.featureloader.xhr",Du),t("ol.Geolocation",Is),Is.prototype.getAccuracy=Is.prototype.el,Is.prototype.getAccuracyGeometry=Is.prototype.fl,Is.prototype.getAltitude=Is.prototype.gl,Is.prototype.getAltitudeAccuracy=Is.prototype.hl,Is.prototype.getHeading=Is.prototype.cn,Is.prototype.getPosition=Is.prototype.dn,Is.prototype.getProjection=Is.prototype.mi,Is.prototype.getSpeed=Is.prototype.Ol,Is.prototype.getTracking=Is.prototype.ni,Is.prototype.getTrackingOptions=Is.prototype.ai,Is.prototype.setProjection=Is.prototype.oi,Is.prototype.setTracking=Is.prototype.Ue,Is.prototype.setTrackingOptions=Is.prototype.Rj,t("ol.Graticule",Bs),Bs.prototype.getMap=Bs.prototype.gn,Bs.prototype.getMeridians=Bs.prototype.Cl,Bs.prototype.getParallels=Bs.prototype.Jl,Bs.prototype.setMap=Bs.prototype.setMap,t("ol.has.DEVICE_PIXEL_RATIO",Mm),t("ol.has.CANVAS",xm),t("ol.has.DEVICE_ORIENTATION",Lm),t("ol.has.GEOLOCATION",Om),t("ol.has.TOUCH",Tm),t("ol.has.WEBGL",fm),Us.prototype.getImage=Us.prototype.Y,Us.prototype.load=Us.prototype.load,Ks.prototype.getImage=Ks.prototype.Y,t("ol.inherits",e),t("ol.interaction.defaults",Ui),t("ol.Kinetic",Gr),t("ol.loadingstrategy.all",ud),t("ol.loadingstrategy.bbox",(function(t){return[t]})),t("ol.loadingstrategy.tile",(function(t){return function(e,o){o=t.Dc(o),e=Ft(t,e,o);var r=[];for((o=[o,0,0])[1]=e.fa;o[1]<=e.la;++o[1])for(o[2]=e.ea;o[2]<=e.ka;++o[2])r.push(t.Ma(o));return r}})),t("ol.Map",Ic),ge.prototype.originalEvent=ge.prototype.originalEvent,ge.prototype.pixel=ge.prototype.pixel,ge.prototype.coordinate=ge.prototype.coordinate,ge.prototype.dragging=ge.prototype.dragging,me.prototype.map=me.prototype.map,me.prototype.frameState=me.prototype.frameState,t("ol.Object",ce),ce.prototype.get=ce.prototype.get,ce.prototype.getKeys=ce.prototype.P,ce.prototype.getProperties=ce.prototype.L,ce.prototype.set=ce.prototype.set,ce.prototype.setProperties=ce.prototype.H,ce.prototype.unset=ce.prototype.R,le.prototype.key=le.prototype.key,le.prototype.oldValue=le.prototype.oldValue,t("ol.Observable",ae),t("ol.Observable.unByKey",(function(t){if(Array.isArray(t))for(var e=0,o=t.length;e<o;++e)Qt(t[e]);else Qt(t)})),ae.prototype.changed=ae.prototype.u,ae.prototype.dispatchEvent=ae.prototype.b,ae.prototype.getRevision=ae.prototype.K,ae.prototype.on=ae.prototype.I,ae.prototype.once=ae.prototype.once,ae.prototype.un=ae.prototype.J,t("ol.Overlay",Fc),Fc.prototype.getElement=Fc.prototype.Rd,Fc.prototype.getId=Fc.prototype.nn,Fc.prototype.getMap=Fc.prototype.Ve,Fc.prototype.getOffset=Fc.prototype.Xh,Fc.prototype.getPosition=Fc.prototype.pi,Fc.prototype.getPositioning=Fc.prototype.Yh,Fc.prototype.setElement=Fc.prototype.Hj,Fc.prototype.setMap=Fc.prototype.setMap,Fc.prototype.setOffset=Fc.prototype.Mj,Fc.prototype.setPosition=Fc.prototype.We,Fc.prototype.setPositioning=Fc.prototype.Pj,t("ol.PluggableMap",Er),Er.prototype.addControl=Er.prototype.Mf,Er.prototype.addInteraction=Er.prototype.Nf,Er.prototype.addLayer=Er.prototype.xe,Er.prototype.addOverlay=Er.prototype.ye,Er.prototype.forEachFeatureAtPixel=Er.prototype.Tc,Er.prototype.getFeaturesAtPixel=Er.prototype.Xf,Er.prototype.forEachLayerAtPixel=Er.prototype.tg,Er.prototype.hasFeatureAtPixel=Er.prototype.ng,Er.prototype.getEventCoordinate=Er.prototype.Sd,Er.prototype.getEventPixel=Er.prototype.ud,Er.prototype.getTarget=Er.prototype.Xd,Er.prototype.getTargetElement=Er.prototype.Cc,Er.prototype.getCoordinateFromPixel=Er.prototype.Ra,Er.prototype.getControls=Er.prototype.Wf,Er.prototype.getOverlays=Er.prototype.gg,Er.prototype.getOverlayById=Er.prototype.fg,Er.prototype.getInteractions=Er.prototype.bg,Er.prototype.getLayerGroup=Er.prototype.hc,Er.prototype.getLayers=Er.prototype.Xe,Er.prototype.getPixelFromCoordinate=Er.prototype.Ia,Er.prototype.getSize=Er.prototype.Cb,Er.prototype.getView=Er.prototype.aa,Er.prototype.getViewport=Er.prototype.kg,Er.prototype.renderSync=Er.prototype.dh,Er.prototype.render=Er.prototype.render,Er.prototype.removeControl=Er.prototype.Xg,Er.prototype.removeInteraction=Er.prototype.Zg,Er.prototype.removeLayer=Er.prototype.$g,Er.prototype.removeOverlay=Er.prototype.ah,Er.prototype.setLayerGroup=Er.prototype.zf,Er.prototype.setSize=Er.prototype.be,Er.prototype.setTarget=Er.prototype.Ad,Er.prototype.setView=Er.prototype.jh,Er.prototype.updateSize=Er.prototype.Oc,t("ol.proj.METERS_PER_UNIT",Qy),t("ol.proj.setProj4",(function(t){tm=t})),t("ol.proj.getPointResolution",pt),t("ol.proj.addEquivalentProjections",lt),t("ol.proj.addProjection",ht),t("ol.proj.addCoordinateTransforms",ft),t("ol.proj.fromLonLat",(function(t,e){return Mt(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")})),t("ol.proj.toLonLat",(function(t,e){return(-180>(e=(t=Mt(t,void 0!==e?e:"EPSG:3857","EPSG:4326"))[0])||180<e)&&(t[0]=d(e+180,360)-180),t})),t("ol.proj.get",mt),t("ol.proj.equivalent",gt),t("ol.proj.getTransform",vt),t("ol.proj.transform",Mt),t("ol.proj.transformExtent",St),t("ol.render.toContext",(function(t,e){var o=t.canvas,r=e||{};return e=r.pixelRatio||Mm,(r=r.size)&&(o.width=r[0]*e,o.height=r[1]*e,o.style.width=r[0]+"px",o.style.height=r[1]+"px"),new an(t,e,o=[0,0,o.width,o.height],r=Do([1,0,0,1,0,0],e,e),0)})),t("ol.size.toSize",g),t("ol.Sphere",Q),Q.prototype.geodesicArea=Q.prototype.a,Q.prototype.haversineDistance=Q.prototype.b,t("ol.Sphere.getLength",(function t(e,o){var r=o||{},i=r.radius||6371008.8;r=r.projection||"EPSG:3857";var n,s=(e=e.clone().mb(r,"EPSG:4326")).S();switch(r=0,s){case"Point":case"MultiPoint":break;case"LineString":case"LinearRing":r=tt(o=e.W(),i);break;case"MultiLineString":case"Polygon":for(o=e.W(),e=0,s=o.length;e<s;++e)r+=tt(o[e],i);break;case"MultiPolygon":for(o=e.W(),e=0,s=o.length;e<s;++e){var a=o[e],c=0;for(n=a.length;c<n;++c)r+=tt(a[c],i)}break;case"GeometryCollection":for(i=e.vd(),e=0,s=i.length;e<s;++e)r+=t(i[e],o);break;default:throw Error("Unsupported geometry type: "+s)}return r})),t("ol.Sphere.getArea",(function t(e,o){var r=o||{},i=r.radius||6371008.8;r=r.projection||"EPSG:3857";var n,s=(e=e.clone().mb(r,"EPSG:4326")).S();switch(r=0,s){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"LinearRing":break;case"Polygon":for(o=e.W(),r=Math.abs(ot(o[0],i)),e=1,s=o.length;e<s;++e)r-=Math.abs(ot(o[e],i));break;case"MultiPolygon":for(o=e.W(),e=0,s=o.length;e<s;++e){var a=o[e];r+=Math.abs(ot(a[0],i));var c=1;for(n=a.length;c<n;++c)r-=Math.abs(ot(a[c],i))}break;case"GeometryCollection":for(i=e.vd(),e=0,s=i.length;e<s;++e)r+=t(i[e],o);break;default:throw Error("Unsupported geometry type: "+s)}return r})),t("ol.style.iconImageCache",ug),Gs.prototype.getTileCoord=Gs.prototype.i,Gs.prototype.load=Gs.prototype.load,t("ol.tilegrid.createXYZ",Wt),Wc.prototype.getExtent=Wc.prototype.G,Wc.prototype.getFormat=Wc.prototype.qn,Wc.prototype.getFeatures=Wc.prototype.pn,Wc.prototype.getProjection=Wc.prototype.rn,Wc.prototype.setExtent=Wc.prototype.ri,Wc.prototype.setFeatures=Wc.prototype.Ij,Wc.prototype.setProjection=Wc.prototype.vg,Wc.prototype.setLoader=Wc.prototype.ug,t("ol.View",br),br.prototype.animate=br.prototype.animate,br.prototype.getAnimating=br.prototype.Ac,br.prototype.getInteracting=br.prototype.Vh,br.prototype.cancelAnimations=br.prototype.rd,br.prototype.constrainCenter=br.prototype.Sc,br.prototype.constrainResolution=br.prototype.constrainResolution,br.prototype.constrainRotation=br.prototype.constrainRotation,br.prototype.getCenter=br.prototype.xa,br.prototype.calculateExtent=br.prototype.qd,br.prototype.getMaxResolution=br.prototype.sn,br.prototype.getMinResolution=br.prototype.vn,br.prototype.getMaxZoom=br.prototype.tn,br.prototype.setMaxZoom=br.prototype.Cq,br.prototype.getMinZoom=br.prototype.wn,br.prototype.setMinZoom=br.prototype.Dq,br.prototype.getProjection=br.prototype.xn,br.prototype.getResolution=br.prototype.Pa,br.prototype.getResolutions=br.prototype.yn,br.prototype.getResolutionForExtent=br.prototype.Je,br.prototype.getRotation=br.prototype.Sa,br.prototype.getZoom=br.prototype.lg,br.prototype.getZoomForResolution=br.prototype.Me,br.prototype.getResolutionForZoom=br.prototype.$h,br.prototype.fit=br.prototype.Uf,br.prototype.centerOn=br.prototype.Nk,br.prototype.rotate=br.prototype.rotate,br.prototype.setCenter=br.prototype.ub,br.prototype.setResolution=br.prototype.gd,br.prototype.setRotation=br.prototype.ce,br.prototype.setZoom=br.prototype.Tj,t("ol.xml.getAllTextContent",pu),t("ol.xml.parse",fu),ha.prototype.getGL=ha.prototype.yp,ha.prototype.useProgram=ha.prototype.cd,t("ol.tilegrid.TileGrid",Rt),Rt.prototype.forEachTileCoord=Rt.prototype.Vf,Rt.prototype.getMaxZoom=Rt.prototype.mj,Rt.prototype.getMinZoom=Rt.prototype.nj,Rt.prototype.getOrigin=Rt.prototype.Ic,Rt.prototype.getResolution=Rt.prototype.Ta,Rt.prototype.getResolutions=Rt.prototype.oj,Rt.prototype.getTileCoordExtent=Rt.prototype.Ma,Rt.prototype.getTileCoordForCoordAndResolution=Rt.prototype.Le,Rt.prototype.getTileCoordForCoordAndZ=Rt.prototype.jg,Rt.prototype.getTileSize=Rt.prototype.Za,Rt.prototype.getZForResolution=Rt.prototype.Dc,t("ol.tilegrid.WMTS",Ny),Ny.prototype.getMatrixIds=Ny.prototype.v,t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Hy),t("ol.style.AtlasManager",fc),t("ol.style.Circle",Ts),Ts.prototype.setRadius=Ts.prototype.fd,t("ol.style.Fill",js),js.prototype.clone=js.prototype.clone,js.prototype.getColor=js.prototype.g,js.prototype.setColor=js.prototype.c,t("ol.style.Icon",Wp),Wp.prototype.clone=Wp.prototype.clone,Wp.prototype.getAnchor=Wp.prototype.Vc,Wp.prototype.getColor=Wp.prototype.np,Wp.prototype.getImage=Wp.prototype.Y,Wp.prototype.getOrigin=Wp.prototype.bd,Wp.prototype.getSrc=Wp.prototype.op,Wp.prototype.getSize=Wp.prototype.oc,Wp.prototype.load=Wp.prototype.load,Tn.prototype.setSize=Tn.prototype.c,t("ol.style.Image",xs),xs.prototype.getOpacity=xs.prototype.hf,xs.prototype.getRotateWithView=xs.prototype.jf,xs.prototype.getRotation=xs.prototype.kf,xs.prototype.getScale=xs.prototype.lf,xs.prototype.getSnapToPixel=xs.prototype.Ke,xs.prototype.setOpacity=xs.prototype.Ed,xs.prototype.setRotation=xs.prototype.mf,xs.prototype.setScale=xs.prototype.Fd,t("ol.style.RegularShape",Ls),Ls.prototype.clone=Ls.prototype.clone,Ls.prototype.getAnchor=Ls.prototype.Vc,Ls.prototype.getAngle=Ls.prototype.ij,Ls.prototype.getFill=Ls.prototype.Fa,Ls.prototype.getImage=Ls.prototype.Y,Ls.prototype.getOrigin=Ls.prototype.bd,Ls.prototype.getPoints=Ls.prototype.jj,Ls.prototype.getRadius=Ls.prototype.kj,Ls.prototype.getRadius2=Ls.prototype.Zh,Ls.prototype.getSize=Ls.prototype.oc,Ls.prototype.getStroke=Ls.prototype.Ga,t("ol.style.Stroke",ks),ks.prototype.clone=ks.prototype.clone,ks.prototype.getColor=ks.prototype.pp,ks.prototype.getLineCap=ks.prototype.vl,ks.prototype.getLineDash=ks.prototype.qp,ks.prototype.getLineDashOffset=ks.prototype.wl,ks.prototype.getLineJoin=ks.prototype.xl,ks.prototype.getMiterLimit=ks.prototype.Dl,ks.prototype.getWidth=ks.prototype.rp,ks.prototype.setColor=ks.prototype.sp,ks.prototype.setLineCap=ks.prototype.yq,ks.prototype.setLineDash=ks.prototype.setLineDash,ks.prototype.setLineDashOffset=ks.prototype.zq,ks.prototype.setLineJoin=ks.prototype.Aq,ks.prototype.setMiterLimit=ks.prototype.Eq,ks.prototype.setWidth=ks.prototype.Kq,t("ol.style.Style",Ds),Ds.prototype.clone=Ds.prototype.clone,Ds.prototype.getRenderer=Ds.prototype.Ie,Ds.prototype.setRenderer=Ds.prototype.Iq,Ds.prototype.getGeometry=Ds.prototype.U,Ds.prototype.getGeometryFunction=Ds.prototype.rl,Ds.prototype.getFill=Ds.prototype.Fa,Ds.prototype.setFill=Ds.prototype.yf,Ds.prototype.getImage=Ds.prototype.Y,Ds.prototype.setImage=Ds.prototype.ih,Ds.prototype.getStroke=Ds.prototype.Ga,Ds.prototype.setStroke=Ds.prototype.Af,Ds.prototype.getText=Ds.prototype.Ka,Ds.prototype.setText=Ds.prototype.Hd,Ds.prototype.getZIndex=Ds.prototype.Ba,Ds.prototype.setGeometry=Ds.prototype.Va,Ds.prototype.setZIndex=Ds.prototype.$b,t("ol.style.Text",Ws),Ws.prototype.clone=Ws.prototype.clone,Ws.prototype.getOverflow=Ws.prototype.Gl,Ws.prototype.getFont=Ws.prototype.pl,Ws.prototype.getMaxAngle=Ws.prototype.Bl,Ws.prototype.getPlacement=Ws.prototype.Kl,Ws.prototype.getOffsetX=Ws.prototype.El,Ws.prototype.getOffsetY=Ws.prototype.Fl,Ws.prototype.getFill=Ws.prototype.Fa,Ws.prototype.getRotateWithView=Ws.prototype.tp,Ws.prototype.getRotation=Ws.prototype.up,Ws.prototype.getScale=Ws.prototype.vp,Ws.prototype.getStroke=Ws.prototype.Ga,Ws.prototype.getText=Ws.prototype.Ka,Ws.prototype.getTextAlign=Ws.prototype.Ql,Ws.prototype.getTextBaseline=Ws.prototype.Rl,Ws.prototype.getBackgroundFill=Ws.prototype.jl,Ws.prototype.getBackgroundStroke=Ws.prototype.kl,Ws.prototype.getPadding=Ws.prototype.Il,Ws.prototype.setOverflow=Ws.prototype.Fq,Ws.prototype.setFont=Ws.prototype.Jj,Ws.prototype.setMaxAngle=Ws.prototype.Bq,Ws.prototype.setOffsetX=Ws.prototype.Nj,Ws.prototype.setOffsetY=Ws.prototype.Oj,Ws.prototype.setPlacement=Ws.prototype.Hq,Ws.prototype.setFill=Ws.prototype.yf,Ws.prototype.setRotation=Ws.prototype.wp,Ws.prototype.setScale=Ws.prototype.lj,Ws.prototype.setStroke=Ws.prototype.Af,Ws.prototype.setText=Ws.prototype.Hd,Ws.prototype.setTextAlign=Ws.prototype.Qj,Ws.prototype.setTextBaseline=Ws.prototype.Jq,Ws.prototype.setBackgroundFill=Ws.prototype.sq,Ws.prototype.setBackgroundStroke=Ws.prototype.tq,Ws.prototype.setPadding=Ws.prototype.Gq,t("ol.source.BingMaps",Xf),t("ol.source.BingMaps.TOS_ATTRIBUTION",'<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'),Xf.prototype.getApiKey=Xf.prototype.ca,Xf.prototype.getImagerySet=Xf.prototype.ua,t("ol.source.CartoDB",Zf),Zf.prototype.getConfig=Zf.prototype.nl,Zf.prototype.updateConfig=Zf.prototype.Sq,Zf.prototype.setConfig=Zf.prototype.uq,t("ol.source.Cluster",ey),ey.prototype.getDistance=ey.prototype.Eo,ey.prototype.getSource=ey.prototype.Fo,ey.prototype.setDistance=ey.prototype.vq,t("ol.source.Image",ny),cy.prototype.image=cy.prototype.image,t("ol.source.ImageArcGISRest",py),py.prototype.getParams=py.prototype.Ho,py.prototype.getImageLoadFunction=py.prototype.Go,py.prototype.getUrl=py.prototype.Io,py.prototype.setImageLoadFunction=py.prototype.Jo,py.prototype.setUrl=py.prototype.Ko,py.prototype.updateParams=py.prototype.Lo,t("ol.source.ImageCanvas",ly),t("ol.source.ImageMapGuide",hy),hy.prototype.getParams=hy.prototype.No,hy.prototype.getImageLoadFunction=hy.prototype.Mo,hy.prototype.updateParams=hy.prototype.Po,hy.prototype.setImageLoadFunction=hy.prototype.Oo,t("ol.source.ImageStatic",dy),t("ol.source.ImageVector",fy),fy.prototype.getSource=fy.prototype.Qo,fy.prototype.getStyle=fy.prototype.Ro,fy.prototype.getStyleFunction=fy.prototype.ib,fy.prototype.setStyle=fy.prototype.aj,t("ol.source.ImageWMS",yy),yy.prototype.getGetFeatureInfoUrl=yy.prototype.Uo,yy.prototype.getParams=yy.prototype.Wo,yy.prototype.getImageLoadFunction=yy.prototype.Vo,yy.prototype.getUrl=yy.prototype.Xo,yy.prototype.setImageLoadFunction=yy.prototype.Yo,yy.prototype.setUrl=yy.prototype.Zo,yy.prototype.updateParams=yy.prototype.$o,t("ol.source.OSM",vy),t("ol.source.OSM.ATTRIBUTION",'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'),t("ol.source.Raster",by),by.prototype.setOperation=by.prototype.s,_y.prototype.extent=_y.prototype.extent,_y.prototype.resolution=_y.prototype.resolution,_y.prototype.data=_y.prototype.data,t("ol.source.Source",pd),pd.prototype.getAttributions=pd.prototype.za,pd.prototype.getLogo=pd.prototype.Aa,pd.prototype.getProjection=pd.prototype.Da,pd.prototype.getState=pd.prototype.getState,pd.prototype.refresh=pd.prototype.sa,pd.prototype.setAttributions=pd.prototype.va,t("ol.source.Stamen",wy),t("ol.source.Tile",Hf),Hf.prototype.getTileGrid=Hf.prototype.jb,zf.prototype.tile=zf.prototype.tile,t("ol.source.TileArcGISRest",My),My.prototype.getParams=My.prototype.o,My.prototype.updateParams=My.prototype.B,t("ol.source.TileDebug",xy),t("ol.source.TileImage",Gf),Gf.prototype.setRenderReprojectionEdges=Gf.prototype.Qb,Gf.prototype.setTileGridForProjection=Gf.prototype.Rb,t("ol.source.TileJSON",Oy),Oy.prototype.getTileJSON=Oy.prototype.Sl,t("ol.source.TileUTFGrid",Ty),Ty.prototype.getTemplate=Ty.prototype.Pl,Ty.prototype.forDataAtCoordinateAndResolution=Ty.prototype.al,t("ol.source.TileWMS",Dy),Dy.prototype.getGetFeatureInfoUrl=Dy.prototype.hp,Dy.prototype.getParams=Dy.prototype.ip,Dy.prototype.updateParams=Dy.prototype.jp,Uf.prototype.getTileLoadFunction=Uf.prototype.yb,Uf.prototype.getTileUrlFunction=Uf.prototype.zb,Uf.prototype.getUrls=Uf.prototype.Ab,Uf.prototype.setTileLoadFunction=Uf.prototype.Fb,Uf.prototype.setTileUrlFunction=Uf.prototype.hb,Uf.prototype.setUrl=Uf.prototype.rb,Uf.prototype.setUrls=Uf.prototype.vb,t("ol.source.Vector",dd),dd.prototype.addFeature=dd.prototype.Gb,dd.prototype.addFeatures=dd.prototype.Qc,dd.prototype.clear=dd.prototype.clear,dd.prototype.forEachFeature=dd.prototype.Lh,dd.prototype.forEachFeatureInExtent=dd.prototype.ec,dd.prototype.forEachFeatureIntersectingExtent=dd.prototype.Mh,dd.prototype.getFeaturesCollection=dd.prototype.Th,dd.prototype.getFeatures=dd.prototype.ee,dd.prototype.getFeaturesAtCoordinate=dd.prototype.Sh,dd.prototype.getFeaturesInExtent=dd.prototype.Yf,dd.prototype.getClosestFeatureToCoordinate=dd.prototype.Oh,dd.prototype.getExtent=dd.prototype.G,dd.prototype.getFeatureById=dd.prototype.Rh,dd.prototype.getFormat=dd.prototype.ej,dd.prototype.getUrl=dd.prototype.fj,dd.prototype.removeLoadedExtent=dd.prototype.Cj,dd.prototype.removeFeature=dd.prototype.Lb,dd.prototype.setLoader=dd.prototype.hj,vd.prototype.feature=vd.prototype.feature,t("ol.source.VectorTile",Ay),Ay.prototype.clear=Ay.prototype.clear,t("ol.source.WMTS",Wy),Wy.prototype.getDimensions=Wy.prototype.ol,Wy.prototype.getFormat=Wy.prototype.kp,Wy.prototype.getLayer=Wy.prototype.lp,Wy.prototype.getMatrixSet=Wy.prototype.Al,Wy.prototype.getRequestEncoding=Wy.prototype.Nl,Wy.prototype.getStyle=Wy.prototype.mp,Wy.prototype.getVersion=Wy.prototype.Ul,Wy.prototype.updateDimensions=Wy.prototype.Tq,t("ol.source.WMTS.optionsFromCapabilities",(function(t,e){var o=kt(t.Contents.Layer,(function(t){return t.Identifier==e.layer}));if(null===o)return null;var r=t.Contents.TileMatrixSet,i=1<o.TileMatrixSetLink.length?Ct(o.TileMatrixSetLink,"projection"in e?function(t){var o=kt(r,(function(e){return e.Identifier==t.TileMatrixSet})).SupportedCRS,i=mt(o.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))||mt(o),n=mt(e.projection);return i&&n?gt(i,n):o==e.projection}:function(t){return t.TileMatrixSet==e.matrixSet}):0;0>i&&(i=0);var n=o.TileMatrixSetLink[i].TileMatrixSet,s=o.TileMatrixSetLink[i].TileMatrixSetLimits,a=o.Format[0];"format"in e&&(a=e.format),i=Ct(o.Style,(function(t){return"style"in e?t.Title==e.style:t.isDefault})),0>i&&(i=0),i=o.Style[i].Identifier;var c={};"Dimension"in o&&o.Dimension.forEach((function(t){var e=t.Identifier,o=t.Default;void 0===o&&(o=t.Value[0]),c[e]=o}));var u,p=kt(t.Contents.TileMatrixSet,(function(t){return t.Identifier==n})),l=p.SupportedCRS;if(l&&(u=mt(l.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))||mt(l)),"projection"in e&&(!(l=mt(e.projection))||u&&!gt(l,u)||(u=l)),void 0!==(l=o.WGS84BoundingBox)){var h=mt("EPSG:4326").G();h=l[0]==h[0]&&l[2]==h[2];var d=St(l,"EPSG:4326",u);(l=u.G())&&(S(l,d)||(d=void 0))}s=Hy(p,d,s);var f=[];if(p=void 0!==(p=e.requestEncoding)?p:"","OperationsMetadata"in t&&"GetTile"in t.OperationsMetadata)for(d=0,l=(t=t.OperationsMetadata.GetTile.DCP.HTTP.Get).length;d<l;++d)if(t[d].Constraint){var y=kt(t[d].Constraint,(function(t){return"GetEncoding"==t.name})).AllowedValues.Value;if(""===p&&(p=y[0]),"KVP"!==p)break;Ot(y,"KVP")&&f.push(t[d].href)}else t[d].href&&(p="KVP",f.push(t[d].href));return 0===f.length&&(p="REST",o.ResourceURL.forEach((function(t){"tile"===t.resourceType&&(a=t.format,f.push(t.template))}))),{urls:f,layer:e.layer,matrixSet:n,format:a,projection:u,requestEncoding:p,tileGrid:s,style:i,dimensions:c,wrapX:h,crossOrigin:e.crossOrigin}})),t("ol.source.XYZ",Kf),t("ol.source.Zoomify",Vy),t("ol.renderer.webgl.ImageLayer",jc),t("ol.renderer.webgl.Map",kc),t("ol.renderer.webgl.TileLayer",Rc),t("ol.renderer.webgl.VectorLayer",Ec),t("ol.renderer.canvas.ImageLayer",On),t("ol.renderer.canvas.Map",In),t("ol.renderer.canvas.TileLayer",An),t("ol.renderer.canvas.VectorLayer",_s),t("ol.renderer.canvas.VectorTileLayer",ws),$i.prototype.vectorContext=$i.prototype.vectorContext,$i.prototype.frameState=$i.prototype.frameState,$i.prototype.context=$i.prototype.context,$i.prototype.glContext=$i.prototype.glContext,Ml.prototype.get=Ml.prototype.get,Ml.prototype.getExtent=Ml.prototype.G,Ml.prototype.getId=Ml.prototype.Ao,Ml.prototype.getGeometry=Ml.prototype.U,Ml.prototype.getProperties=Ml.prototype.Bo,Ml.prototype.getType=Ml.prototype.S,t("ol.render.VectorContext",sn),Sc.prototype.setStyle=Sc.prototype.Dd,Sc.prototype.drawGeometry=Sc.prototype.Hb,Sc.prototype.drawFeature=Sc.prototype.Ce,an.prototype.drawCircle=an.prototype.cc,an.prototype.setStyle=an.prototype.Dd,an.prototype.drawGeometry=an.prototype.Hb,an.prototype.drawFeature=an.prototype.Ce,t("ol.proj.common.add",xt),t("ol.proj.Projection",rt),rt.prototype.getCode=rt.prototype.ml,rt.prototype.getExtent=rt.prototype.G,rt.prototype.getUnits=rt.prototype.zo,rt.prototype.getMetersPerUnit=rt.prototype.Bc,rt.prototype.getWorldExtent=rt.prototype.Vl,rt.prototype.getAxisOrientation=rt.prototype.il,rt.prototype.isGlobal=rt.prototype.Gm,rt.prototype.setGlobal=rt.prototype.xq,rt.prototype.setExtent=rt.prototype.Si,rt.prototype.setWorldExtent=rt.prototype.Sj,rt.prototype.setGetPointResolution=rt.prototype.wq,t("ol.proj.Units.METERS_PER_UNIT",Qy),t("ol.layer.Base",Dr),Dr.prototype.getExtent=Dr.prototype.G,Dr.prototype.getMaxResolution=Dr.prototype.lc,Dr.prototype.getMinResolution=Dr.prototype.mc,Dr.prototype.getOpacity=Dr.prototype.nc,Dr.prototype.getVisible=Dr.prototype.Jb,Dr.prototype.getZIndex=Dr.prototype.Ba,Dr.prototype.setExtent=Dr.prototype.Fc,Dr.prototype.setMaxResolution=Dr.prototype.Mc,Dr.prototype.setMinResolution=Dr.prototype.Nc,Dr.prototype.setOpacity=Dr.prototype.Gc,Dr.prototype.setVisible=Dr.prototype.Hc,Dr.prototype.setZIndex=Dr.prototype.$b,t("ol.layer.Group",Cr),Cr.prototype.getLayers=Cr.prototype.Cd,Cr.prototype.setLayers=Cr.prototype.Qi,t("ol.layer.Heatmap",Mf),Mf.prototype.getBlur=Mf.prototype.Nh,Mf.prototype.getGradient=Mf.prototype.Uh,Mf.prototype.getRadius=Mf.prototype.Ri,Mf.prototype.setBlur=Mf.prototype.Fj,Mf.prototype.setGradient=Mf.prototype.Lj,Mf.prototype.setRadius=Mf.prototype.fd,t("ol.layer.Image",Sf),Sf.prototype.getSource=Sf.prototype.ha,t("ol.layer.Layer",Fr),Fr.prototype.getSource=Fr.prototype.ha,Fr.prototype.setMap=Fr.prototype.setMap,Fr.prototype.setSource=Fr.prototype.hd,t("ol.layer.Tile",xf),xf.prototype.getPreload=xf.prototype.c,xf.prototype.getSource=xf.prototype.ha,xf.prototype.setPreload=xf.prototype.j,xf.prototype.getUseInterimTilesOnError=xf.prototype.i,xf.prototype.setUseInterimTilesOnError=xf.prototype.C,t("ol.layer.Vector",cd),cd.prototype.getSource=cd.prototype.ha,cd.prototype.getStyle=cd.prototype.B,cd.prototype.getStyleFunction=cd.prototype.ib,cd.prototype.setStyle=cd.prototype.j,t("ol.layer.VectorTile",Lf),Lf.prototype.getPreload=Lf.prototype.c,Lf.prototype.getUseInterimTilesOnError=Lf.prototype.i,Lf.prototype.setPreload=Lf.prototype.T,Lf.prototype.setUseInterimTilesOnError=Lf.prototype.O,Lf.prototype.getSource=Lf.prototype.ha,t("ol.interaction.DoubleClickZoom",Zr),t("ol.interaction.DoubleClickZoom.handleEvent",Qr),t("ol.interaction.DragAndDrop",Zh),t("ol.interaction.DragAndDrop.handleEvent",_o),rd.prototype.features=rd.prototype.features,rd.prototype.file=rd.prototype.file,rd.prototype.projection=rd.prototype.projection,t("ol.interaction.DragBox",xi),xi.prototype.getGeometry=xi.prototype.U,ki.prototype.coordinate=ki.prototype.coordinate,ki.prototype.mapBrowserEvent=ki.prototype.mapBrowserEvent,t("ol.interaction.DragPan",di),t("ol.interaction.DragRotate",gi),t("ol.interaction.DragRotateAndZoom",id),t("ol.interaction.DragZoom",Di),t("ol.interaction.Draw",bd),t("ol.interaction.Draw.handleEvent",wd),bd.prototype.removeLastPoint=bd.prototype.nq,bd.prototype.finishDrawing=bd.prototype.Pd,bd.prototype.extend=bd.prototype.Zn,t("ol.interaction.Draw.createRegularPolygon",(function(t,e){return function(o,r){var i=o[0];o=o[1];var n=Math.sqrt(lo(i,o));return vr(r=r||gr(new Xh(i),t),i,n,e||Math.atan((o[1]-i[1])/(o[0]-i[0]))),r}})),t("ol.interaction.Draw.createBox",(function(){return function(t,e){return t=v(t),(e=e||new fr(null)).na([[F(t),A(t),z(t),V(t),F(t)]]),e}})),Dd.prototype.feature=Dd.prototype.feature,t("ol.interaction.Extent",Pd),Pd.prototype.getExtent=Pd.prototype.G,Pd.prototype.setExtent=Pd.prototype.f,Bd.prototype.extent=Bd.prototype.extent,t("ol.interaction.Interaction",$r),$r.prototype.getActive=$r.prototype.c,$r.prototype.getMap=$r.prototype.i,$r.prototype.setActive=$r.prototype.Ha,t("ol.interaction.KeyboardPan",Pi),t("ol.interaction.KeyboardPan.handleEvent",Ci),t("ol.interaction.KeyboardZoom",Yi),t("ol.interaction.KeyboardZoom.handleEvent",Ri),t("ol.interaction.Modify",Vd),t("ol.interaction.Modify.handleEvent",Kd),Vd.prototype.removePoint=Vd.prototype.Dj,rf.prototype.features=rf.prototype.features,rf.prototype.mapBrowserEvent=rf.prototype.mapBrowserEvent,t("ol.interaction.MouseWheelZoom",Ei),t("ol.interaction.MouseWheelZoom.handleEvent",Ii),Ei.prototype.setMouseAnchor=Ei.prototype.V,t("ol.interaction.PinchRotate",Fi),t("ol.interaction.PinchZoom",Wi),t("ol.interaction.Pointer",pi),t("ol.interaction.Pointer.handleEvent",hi),t("ol.interaction.Select",nf),nf.prototype.getFeatures=nf.prototype.lo,nf.prototype.getHitTolerance=nf.prototype.mo,nf.prototype.getLayer=nf.prototype.no,t("ol.interaction.Select.handleEvent",sf),nf.prototype.setHitTolerance=nf.prototype.po,nf.prototype.setMap=nf.prototype.setMap,cf.prototype.selected=cf.prototype.selected,cf.prototype.deselected=cf.prototype.deselected,cf.prototype.mapBrowserEvent=cf.prototype.mapBrowserEvent,t("ol.interaction.Snap",uf),uf.prototype.addFeature=uf.prototype.Gb,uf.prototype.removeFeature=uf.prototype.Lb,t("ol.interaction.Translate",ff),ff.prototype.getHitTolerance=ff.prototype.B,ff.prototype.setHitTolerance=ff.prototype.T,wf.prototype.features=wf.prototype.features,wf.prototype.coordinate=wf.prototype.coordinate,t("ol.geom.Circle",Xh),Xh.prototype.clone=Xh.prototype.clone,Xh.prototype.getCenter=Xh.prototype.xa,Xh.prototype.getRadius=Xh.prototype.Bd,Xh.prototype.getType=Xh.prototype.S,Xh.prototype.intersectsExtent=Xh.prototype.$a,Xh.prototype.setCenter=Xh.prototype.ub,Xh.prototype.setCenterAndRadius=Xh.prototype.hh,Xh.prototype.setRadius=Xh.prototype.fd,Xh.prototype.transform=Xh.prototype.mb,t("ol.geom.Geometry",Ro),Ro.prototype.getClosestPoint=Ro.prototype.Ib,Ro.prototype.intersectsCoordinate=Ro.prototype.Bb,Ro.prototype.getExtent=Ro.prototype.G,Ro.prototype.rotate=Ro.prototype.rotate,Ro.prototype.scale=Ro.prototype.scale,Ro.prototype.simplify=Ro.prototype.Sb,Ro.prototype.transform=Ro.prototype.mb,t("ol.geom.GeometryCollection",kp),kp.prototype.clone=kp.prototype.clone,kp.prototype.getGeometries=kp.prototype.vd,kp.prototype.getType=kp.prototype.S,kp.prototype.intersectsExtent=kp.prototype.$a,kp.prototype.setGeometries=kp.prototype.Kj,kp.prototype.applyTransform=kp.prototype.Rc,kp.prototype.translate=kp.prototype.translate,t("ol.geom.LinearRing",tr),tr.prototype.clone=tr.prototype.clone,tr.prototype.getArea=tr.prototype.Vn,tr.prototype.getCoordinates=tr.prototype.W,tr.prototype.getType=tr.prototype.S,tr.prototype.setCoordinates=tr.prototype.na,t("ol.geom.LineString",Ns),Ns.prototype.appendCoordinate=Ns.prototype.Fk,Ns.prototype.clone=Ns.prototype.clone,Ns.prototype.forEachSegment=Ns.prototype.dl,Ns.prototype.getCoordinateAtM=Ns.prototype.Tn,Ns.prototype.getCoordinates=Ns.prototype.W,Ns.prototype.getCoordinateAt=Ns.prototype.Ph,Ns.prototype.getLength=Ns.prototype.Un,Ns.prototype.getType=Ns.prototype.S,Ns.prototype.intersectsExtent=Ns.prototype.$a,Ns.prototype.setCoordinates=Ns.prototype.na,t("ol.geom.MultiLineString",Fu),Fu.prototype.appendLineString=Fu.prototype.Gk,Fu.prototype.clone=Fu.prototype.clone,Fu.prototype.getCoordinateAtM=Fu.prototype.Wn,Fu.prototype.getCoordinates=Fu.prototype.W,Fu.prototype.getLineString=Fu.prototype.yl,Fu.prototype.getLineStrings=Fu.prototype.wd,Fu.prototype.getType=Fu.prototype.S,Fu.prototype.intersectsExtent=Fu.prototype.$a,Fu.prototype.setCoordinates=Fu.prototype.na,t("ol.geom.MultiPoint",Nu),Nu.prototype.appendPoint=Nu.prototype.Ik,Nu.prototype.clone=Nu.prototype.clone,Nu.prototype.getCoordinates=Nu.prototype.W,Nu.prototype.getPoint=Nu.prototype.Ll,Nu.prototype.getPoints=Nu.prototype.de,Nu.prototype.getType=Nu.prototype.S,Nu.prototype.intersectsExtent=Nu.prototype.$a,Nu.prototype.setCoordinates=Nu.prototype.na,t("ol.geom.MultiPolygon",Hu),Hu.prototype.appendPolygon=Hu.prototype.Jk,Hu.prototype.clone=Hu.prototype.clone,Hu.prototype.getArea=Hu.prototype.Xn,Hu.prototype.getCoordinates=Hu.prototype.W,Hu.prototype.getInteriorPoints=Hu.prototype.ul,Hu.prototype.getPolygon=Hu.prototype.Ml,Hu.prototype.getPolygons=Hu.prototype.Vd,Hu.prototype.getType=Hu.prototype.S,Hu.prototype.intersectsExtent=Hu.prototype.$a,Hu.prototype.setCoordinates=Hu.prototype.na,t("ol.geom.Point",or),or.prototype.clone=or.prototype.clone,or.prototype.getCoordinates=or.prototype.W,or.prototype.getType=or.prototype.S,or.prototype.intersectsExtent=or.prototype.$a,or.prototype.setCoordinates=or.prototype.na,t("ol.geom.Polygon",fr),fr.prototype.appendLinearRing=fr.prototype.Hk,fr.prototype.clone=fr.prototype.clone,fr.prototype.getArea=fr.prototype.Yn,fr.prototype.getCoordinates=fr.prototype.W,fr.prototype.getInteriorPoint=fr.prototype.tl,fr.prototype.getLinearRingCount=fr.prototype.zl,fr.prototype.getLinearRing=fr.prototype.Wh,fr.prototype.getLinearRings=fr.prototype.Ud,fr.prototype.getType=fr.prototype.S,fr.prototype.intersectsExtent=fr.prototype.$a,fr.prototype.setCoordinates=fr.prototype.na,t("ol.geom.Polygon.circular",yr),t("ol.geom.Polygon.fromExtent",mr),t("ol.geom.Polygon.fromCircle",gr),t("ol.geom.SimpleGeometry",Eo),Eo.prototype.getFirstCoordinate=Eo.prototype.fc,Eo.prototype.getLastCoordinate=Eo.prototype.gc,Eo.prototype.getLayout=Eo.prototype.ic,Eo.prototype.applyTransform=Eo.prototype.Rc,Eo.prototype.translate=Eo.prototype.translate,t("ol.format.EsriJSON",zu),zu.prototype.readFeature=zu.prototype.Yb,zu.prototype.readFeatures=zu.prototype.Qa,zu.prototype.readGeometry=zu.prototype.ed,zu.prototype.readProjection=zu.prototype.sb,zu.prototype.writeGeometry=zu.prototype.md,zu.prototype.writeGeometryObject=zu.prototype.se,zu.prototype.writeFeature=zu.prototype.Jd,zu.prototype.writeFeatureObject=zu.prototype.ld,zu.prototype.writeFeatures=zu.prototype.ac,zu.prototype.writeFeaturesObject=zu.prototype.qe,t("ol.format.Feature",Pu),t("ol.format.filter.and",uh),t("ol.format.filter.or",(function(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(ah,e))})),t("ol.format.filter.not",(function(t){return new nh(t)})),t("ol.format.filter.bbox",ph),t("ol.format.filter.contains",(function(t,e,o){return new Gl(t,e,o)})),t("ol.format.filter.intersects",(function(t,e,o){return new Ql(t,e,o)})),t("ol.format.filter.within",(function(t,e,o){return new ch(t,e,o)})),t("ol.format.filter.equalTo",(function(t,e,o){return new Xl(t,e,o)})),t("ol.format.filter.notEqualTo",(function(t,e,o){return new sh(t,e,o)})),t("ol.format.filter.lessThan",(function(t,e){return new rh(t,e)})),t("ol.format.filter.lessThanOrEqualTo",(function(t,e){return new ih(t,e)})),t("ol.format.filter.greaterThan",(function(t,e){return new Kl(t,e)})),t("ol.format.filter.greaterThanOrEqualTo",(function(t,e){return new Zl(t,e)})),t("ol.format.filter.isNull",(function(t){return new oh(t)})),t("ol.format.filter.between",(function(t,e,o){return new th(t,e,o)})),t("ol.format.filter.like",(function(t,e,o,r,i,n){return new eh(t,e,o,r,i,n)})),t("ol.format.filter.during",(function(t,e,o){return new $l(t,e,o)})),t("ol.format.GeoJSON",Yp),Yp.prototype.readFeature=Yp.prototype.Yb,Yp.prototype.readFeatures=Yp.prototype.Qa,Yp.prototype.readGeometry=Yp.prototype.ed,Yp.prototype.readProjection=Yp.prototype.sb,Yp.prototype.writeFeature=Yp.prototype.Jd,Yp.prototype.writeFeatureObject=Yp.prototype.ld,Yp.prototype.writeFeatures=Yp.prototype.ac,Yp.prototype.writeFeaturesObject=Yp.prototype.qe,Yp.prototype.writeGeometry=Yp.prototype.md,Yp.prototype.writeGeometryObject=Yp.prototype.se,t("ol.format.GML",lp),lp.prototype.writeFeatures=lp.prototype.ac,lp.prototype.writeFeaturesNode=lp.prototype.bc,t("ol.format.GML2",dp),t("ol.format.GML3",lp),lp.prototype.writeGeometryNode=lp.prototype.re,lp.prototype.writeFeatures=lp.prototype.ac,lp.prototype.writeFeaturesNode=lp.prototype.bc,Zu.prototype.readFeatures=Zu.prototype.Qa,t("ol.format.GPX",gp),gp.prototype.readFeature=gp.prototype.Yb,gp.prototype.readFeatures=gp.prototype.Qa,gp.prototype.readProjection=gp.prototype.sb,gp.prototype.writeFeatures=gp.prototype.ac,gp.prototype.writeFeaturesNode=gp.prototype.bc,t("ol.format.IGC",Ap),Ap.prototype.readFeature=Ap.prototype.Yb,Ap.prototype.readFeatures=Ap.prototype.Qa,Ap.prototype.readProjection=Ap.prototype.sb,t("ol.format.KML",Bp),Bp.prototype.readFeature=Bp.prototype.Yb,Bp.prototype.readFeatures=Bp.prototype.Qa,Bp.prototype.readName=Bp.prototype.cq,Bp.prototype.readNetworkLinks=Bp.prototype.eq,Bp.prototype.readRegion=Bp.prototype.hq,Bp.prototype.readRegionFromNode=Bp.prototype.vf,Bp.prototype.readProjection=Bp.prototype.sb,Bp.prototype.writeFeatures=Bp.prototype.ac,Bp.prototype.writeFeaturesNode=Bp.prototype.bc,t("ol.format.MVT",Sl),Sl.prototype.getLastExtent=Sl.prototype.cg,Sl.prototype.readFeatures=Sl.prototype.Qa,Sl.prototype.readProjection=Sl.prototype.sb,Sl.prototype.setLayers=Sl.prototype.Sn,t("ol.format.OSMXML",jl),jl.prototype.readFeatures=jl.prototype.Qa,jl.prototype.readProjection=jl.prototype.sb,t("ol.format.Polyline",Pl),t("ol.format.Polyline.encodeDeltas",Cl),t("ol.format.Polyline.decodeDeltas",Yl),t("ol.format.Polyline.encodeFloats",Rl),t("ol.format.Polyline.decodeFloats",El),Pl.prototype.readFeature=Pl.prototype.Yb,Pl.prototype.readFeatures=Pl.prototype.Qa,Pl.prototype.readGeometry=Pl.prototype.ed,Pl.prototype.readProjection=Pl.prototype.sb,Pl.prototype.writeGeometry=Pl.prototype.md,t("ol.format.TopoJSON",Il),Il.prototype.readFeatures=Il.prototype.Qa,Il.prototype.readProjection=Il.prototype.sb,t("ol.format.WFS",lh),lh.prototype.readFeatures=lh.prototype.Qa,lh.prototype.readTransactionResponse=lh.prototype.j,lh.prototype.readFeatureCollectionMetadata=lh.prototype.f,t("ol.format.WFS.writeFilter",(function(t){var e=uu("http://www.opengis.net/ogc","Filter");return ju({node:e},H_,Mu(t.rc),[t],[]),e})),lh.prototype.writeGetFeature=lh.prototype.s,lh.prototype.writeTransaction=lh.prototype.v,lh.prototype.readProjection=lh.prototype.sb,t("ol.format.WKT",Sh),Sh.prototype.readFeature=Sh.prototype.Yb,Sh.prototype.readFeatures=Sh.prototype.Qa,Sh.prototype.readGeometry=Sh.prototype.ed,Sh.prototype.writeFeature=Sh.prototype.Jd,Sh.prototype.writeFeatures=Sh.prototype.ac,Sh.prototype.writeGeometry=Sh.prototype.md,t("ol.format.WMSCapabilities",Wh),Wh.prototype.read=Wh.prototype.read,t("ol.format.WMSGetFeatureInfo",Gh),Gh.prototype.readFeatures=Gh.prototype.Qa,t("ol.format.WMTSCapabilities",$h),$h.prototype.read=$h.prototype.read,t("ol.format.filter.And",Vl),t("ol.format.filter.Bbox",zl),t("ol.format.filter.Comparison",ql),t("ol.format.filter.ComparisonBinary",Jl),t("ol.format.filter.Contains",Gl),t("ol.format.filter.During",$l),t("ol.format.filter.EqualTo",Xl),t("ol.format.filter.Filter",Wl),t("ol.format.filter.GreaterThan",Kl),t("ol.format.filter.GreaterThanOrEqualTo",Zl),t("ol.format.filter.Intersects",Ql),t("ol.format.filter.IsBetween",th),t("ol.format.filter.IsLike",eh),t("ol.format.filter.IsNull",oh),t("ol.format.filter.LessThan",rh),t("ol.format.filter.LessThanOrEqualTo",ih),t("ol.format.filter.Not",nh),t("ol.format.filter.NotEqualTo",sh),t("ol.format.filter.Or",ah),t("ol.format.filter.Spatial",Ul),t("ol.format.filter.Within",ch),t("ol.events.condition.altKeyOnly",ti),t("ol.events.condition.altShiftKeysOnly",ei),t("ol.events.condition.always",_o),t("ol.events.condition.click",(function(t){return"click"==t.type})),t("ol.events.condition.never",wo),t("ol.events.condition.pointerMove",ri),t("ol.events.condition.singleClick",ii),t("ol.events.condition.doubleClick",(function(t){return"dblclick"==t.type})),t("ol.events.condition.noModifierKeys",ni),t("ol.events.condition.platformModifierKeyOnly",(function(t){return!(t=t.originalEvent).altKey&&(wm?t.metaKey:t.ctrlKey)&&!t.shiftKey})),t("ol.events.condition.shiftKeyOnly",si),t("ol.events.condition.targetNotEditable",ai),t("ol.events.condition.mouseOnly",ci),t("ol.events.condition.primaryAction",ui),re.prototype.type=re.prototype.type,re.prototype.target=re.prototype.target,re.prototype.preventDefault=re.prototype.preventDefault,re.prototype.stopPropagation=re.prototype.stopPropagation,t("ol.control.Attribution",Nr),t("ol.control.Attribution.render",Hr),Nr.prototype.getCollapsible=Nr.prototype.An,Nr.prototype.setCollapsible=Nr.prototype.Dn,Nr.prototype.setCollapsed=Nr.prototype.Cn,Nr.prototype.getCollapsed=Nr.prototype.zn,t("ol.control.Control",Ir),Ir.prototype.getMap=Ir.prototype.f,Ir.prototype.setMap=Ir.prototype.setMap,Ir.prototype.setTarget=Ir.prototype.i,t("ol.control.FullScreen",Vc),t("ol.control.MousePosition",qc),t("ol.control.MousePosition.render",$c),qc.prototype.getCoordinateFormat=qc.prototype.Qh,qc.prototype.getProjection=qc.prototype.si,qc.prototype.setCoordinateFormat=qc.prototype.Gj,qc.prototype.setProjection=qc.prototype.ti,t("ol.control.OverviewMap",Xc),t("ol.control.OverviewMap.render",Kc),Xc.prototype.getCollapsible=Xc.prototype.Gn,Xc.prototype.setCollapsible=Xc.prototype.Jn,Xc.prototype.setCollapsed=Xc.prototype.In,Xc.prototype.getCollapsed=Xc.prototype.Fn,Xc.prototype.getOverviewMap=Xc.prototype.Hl,t("ol.control.Rotate",Br),t("ol.control.Rotate.render",Vr),t("ol.control.ScaleLine",eu),eu.prototype.getUnits=eu.prototype.C,t("ol.control.ScaleLine.render",ou),eu.prototype.setUnits=eu.prototype.O,t("ol.control.Zoom",zr),t("ol.control.ZoomSlider",iu),t("ol.control.ZoomSlider.render",nu),t("ol.control.ZoomToExtent",cu),ce.prototype.changed=ce.prototype.u,ce.prototype.dispatchEvent=ce.prototype.b,ce.prototype.getRevision=ce.prototype.K,ce.prototype.on=ce.prototype.I,ce.prototype.once=ce.prototype.once,ce.prototype.un=ce.prototype.J,Er.prototype.get=Er.prototype.get,Er.prototype.getKeys=Er.prototype.P,Er.prototype.getProperties=Er.prototype.L,Er.prototype.set=Er.prototype.set,Er.prototype.setProperties=Er.prototype.H,Er.prototype.unset=Er.prototype.R,Er.prototype.changed=Er.prototype.u,Er.prototype.dispatchEvent=Er.prototype.b,Er.prototype.getRevision=Er.prototype.K,Er.prototype.on=Er.prototype.I,Er.prototype.once=Er.prototype.once,Er.prototype.un=Er.prototype.J,Ms.prototype.addControl=Ms.prototype.Mf,Ms.prototype.addInteraction=Ms.prototype.Nf,Ms.prototype.addLayer=Ms.prototype.xe,Ms.prototype.addOverlay=Ms.prototype.ye,Ms.prototype.forEachFeatureAtPixel=Ms.prototype.Tc,Ms.prototype.getFeaturesAtPixel=Ms.prototype.Xf,Ms.prototype.forEachLayerAtPixel=Ms.prototype.tg,Ms.prototype.hasFeatureAtPixel=Ms.prototype.ng,Ms.prototype.getEventCoordinate=Ms.prototype.Sd,Ms.prototype.getEventPixel=Ms.prototype.ud,Ms.prototype.getTarget=Ms.prototype.Xd,Ms.prototype.getTargetElement=Ms.prototype.Cc,Ms.prototype.getCoordinateFromPixel=Ms.prototype.Ra,Ms.prototype.getControls=Ms.prototype.Wf,Ms.prototype.getOverlays=Ms.prototype.gg,Ms.prototype.getOverlayById=Ms.prototype.fg,Ms.prototype.getInteractions=Ms.prototype.bg,Ms.prototype.getLayerGroup=Ms.prototype.hc,Ms.prototype.getLayers=Ms.prototype.Xe,Ms.prototype.getPixelFromCoordinate=Ms.prototype.Ia,Ms.prototype.getSize=Ms.prototype.Cb,Ms.prototype.getView=Ms.prototype.aa,Ms.prototype.getViewport=Ms.prototype.kg,Ms.prototype.renderSync=Ms.prototype.dh,Ms.prototype.render=Ms.prototype.render,Ms.prototype.removeControl=Ms.prototype.Xg,Ms.prototype.removeInteraction=Ms.prototype.Zg,Ms.prototype.removeLayer=Ms.prototype.$g,Ms.prototype.removeOverlay=Ms.prototype.ah,Ms.prototype.setLayerGroup=Ms.prototype.zf,Ms.prototype.setSize=Ms.prototype.be,Ms.prototype.setTarget=Ms.prototype.Ad,Ms.prototype.setView=Ms.prototype.jh,Ms.prototype.updateSize=Ms.prototype.Oc,Ms.prototype.get=Ms.prototype.get,Ms.prototype.getKeys=Ms.prototype.P,Ms.prototype.getProperties=Ms.prototype.L,Ms.prototype.set=Ms.prototype.set,Ms.prototype.setProperties=Ms.prototype.H,Ms.prototype.unset=Ms.prototype.R,Ms.prototype.changed=Ms.prototype.u,Ms.prototype.dispatchEvent=Ms.prototype.b,Ms.prototype.getRevision=Ms.prototype.K,Ms.prototype.on=Ms.prototype.I,Ms.prototype.once=Ms.prototype.once,Ms.prototype.un=Ms.prototype.J,he.prototype.get=he.prototype.get,he.prototype.getKeys=he.prototype.P,he.prototype.getProperties=he.prototype.L,he.prototype.set=he.prototype.set,he.prototype.setProperties=he.prototype.H,he.prototype.unset=he.prototype.R,he.prototype.changed=he.prototype.u,he.prototype.dispatchEvent=he.prototype.b,he.prototype.getRevision=he.prototype.K,he.prototype.on=he.prototype.I,he.prototype.once=he.prototype.once,he.prototype.un=he.prototype.J,ye.prototype.type=ye.prototype.type,ye.prototype.target=ye.prototype.target,ye.prototype.preventDefault=ye.prototype.preventDefault,ye.prototype.stopPropagation=ye.prototype.stopPropagation,Ss.prototype.get=Ss.prototype.get,Ss.prototype.getKeys=Ss.prototype.P,Ss.prototype.getProperties=Ss.prototype.L,Ss.prototype.set=Ss.prototype.set,Ss.prototype.setProperties=Ss.prototype.H,Ss.prototype.unset=Ss.prototype.R,Ss.prototype.changed=Ss.prototype.u,Ss.prototype.dispatchEvent=Ss.prototype.b,Ss.prototype.getRevision=Ss.prototype.K,Ss.prototype.on=Ss.prototype.I,Ss.prototype.once=Ss.prototype.once,Ss.prototype.un=Ss.prototype.J,Es.prototype.get=Es.prototype.get,Es.prototype.getKeys=Es.prototype.P,Es.prototype.getProperties=Es.prototype.L,Es.prototype.set=Es.prototype.set,Es.prototype.setProperties=Es.prototype.H,Es.prototype.unset=Es.prototype.R,Es.prototype.changed=Es.prototype.u,Es.prototype.dispatchEvent=Es.prototype.b,Es.prototype.getRevision=Es.prototype.K,Es.prototype.on=Es.prototype.I,Es.prototype.once=Es.prototype.once,Es.prototype.un=Es.prototype.J,Is.prototype.get=Is.prototype.get,Is.prototype.getKeys=Is.prototype.P,Is.prototype.getProperties=Is.prototype.L,Is.prototype.set=Is.prototype.set,Is.prototype.setProperties=Is.prototype.H,Is.prototype.unset=Is.prototype.R,Is.prototype.changed=Is.prototype.u,Is.prototype.dispatchEvent=Is.prototype.b,Is.prototype.getRevision=Is.prototype.K,Is.prototype.on=Is.prototype.I,Is.prototype.once=Is.prototype.once,Is.prototype.un=Is.prototype.J,Ks.prototype.getTileCoord=Ks.prototype.i,Ks.prototype.load=Ks.prototype.load,Ic.prototype.addControl=Ic.prototype.Mf,Ic.prototype.addInteraction=Ic.prototype.Nf,Ic.prototype.addLayer=Ic.prototype.xe,Ic.prototype.addOverlay=Ic.prototype.ye,Ic.prototype.forEachFeatureAtPixel=Ic.prototype.Tc,Ic.prototype.getFeaturesAtPixel=Ic.prototype.Xf,Ic.prototype.forEachLayerAtPixel=Ic.prototype.tg,Ic.prototype.hasFeatureAtPixel=Ic.prototype.ng,Ic.prototype.getEventCoordinate=Ic.prototype.Sd,Ic.prototype.getEventPixel=Ic.prototype.ud,Ic.prototype.getTarget=Ic.prototype.Xd,Ic.prototype.getTargetElement=Ic.prototype.Cc,Ic.prototype.getCoordinateFromPixel=Ic.prototype.Ra,Ic.prototype.getControls=Ic.prototype.Wf,Ic.prototype.getOverlays=Ic.prototype.gg,Ic.prototype.getOverlayById=Ic.prototype.fg,Ic.prototype.getInteractions=Ic.prototype.bg,Ic.prototype.getLayerGroup=Ic.prototype.hc,Ic.prototype.getLayers=Ic.prototype.Xe,Ic.prototype.getPixelFromCoordinate=Ic.prototype.Ia,Ic.prototype.getSize=Ic.prototype.Cb,Ic.prototype.getView=Ic.prototype.aa,Ic.prototype.getViewport=Ic.prototype.kg,Ic.prototype.renderSync=Ic.prototype.dh,Ic.prototype.render=Ic.prototype.render,Ic.prototype.removeControl=Ic.prototype.Xg,Ic.prototype.removeInteraction=Ic.prototype.Zg,Ic.prototype.removeLayer=Ic.prototype.$g,Ic.prototype.removeOverlay=Ic.prototype.ah,Ic.prototype.setLayerGroup=Ic.prototype.zf,Ic.prototype.setSize=Ic.prototype.be,Ic.prototype.setTarget=Ic.prototype.Ad,Ic.prototype.setView=Ic.prototype.jh,Ic.prototype.updateSize=Ic.prototype.Oc,Ic.prototype.get=Ic.prototype.get,Ic.prototype.getKeys=Ic.prototype.P,Ic.prototype.getProperties=Ic.prototype.L,Ic.prototype.set=Ic.prototype.set,Ic.prototype.setProperties=Ic.prototype.H,Ic.prototype.unset=Ic.prototype.R,Ic.prototype.changed=Ic.prototype.u,Ic.prototype.dispatchEvent=Ic.prototype.b,Ic.prototype.getRevision=Ic.prototype.K,Ic.prototype.on=Ic.prototype.I,Ic.prototype.once=Ic.prototype.once,Ic.prototype.un=Ic.prototype.J,me.prototype.type=me.prototype.type,me.prototype.target=me.prototype.target,me.prototype.preventDefault=me.prototype.preventDefault,me.prototype.stopPropagation=me.prototype.stopPropagation,ge.prototype.map=ge.prototype.map,ge.prototype.frameState=ge.prototype.frameState,ge.prototype.type=ge.prototype.type,ge.prototype.target=ge.prototype.target,ge.prototype.preventDefault=ge.prototype.preventDefault,ge.prototype.stopPropagation=ge.prototype.stopPropagation,be.prototype.originalEvent=be.prototype.originalEvent,be.prototype.pixel=be.prototype.pixel,be.prototype.coordinate=be.prototype.coordinate,be.prototype.dragging=be.prototype.dragging,be.prototype.preventDefault=be.prototype.preventDefault,be.prototype.stopPropagation=be.prototype.stopPropagation,be.prototype.map=be.prototype.map,be.prototype.frameState=be.prototype.frameState,be.prototype.type=be.prototype.type,be.prototype.target=be.prototype.target,le.prototype.type=le.prototype.type,le.prototype.target=le.prototype.target,le.prototype.preventDefault=le.prototype.preventDefault,le.prototype.stopPropagation=le.prototype.stopPropagation,Fc.prototype.get=Fc.prototype.get,Fc.prototype.getKeys=Fc.prototype.P,Fc.prototype.getProperties=Fc.prototype.L,Fc.prototype.set=Fc.prototype.set,Fc.prototype.setProperties=Fc.prototype.H,Fc.prototype.unset=Fc.prototype.R,Fc.prototype.changed=Fc.prototype.u,Fc.prototype.dispatchEvent=Fc.prototype.b,Fc.prototype.getRevision=Fc.prototype.K,Fc.prototype.on=Fc.prototype.I,Fc.prototype.once=Fc.prototype.once,Fc.prototype.un=Fc.prototype.J,Ry.prototype.getTileCoord=Ry.prototype.i,Ry.prototype.load=Ry.prototype.load,Wc.prototype.getTileCoord=Wc.prototype.i,Wc.prototype.load=Wc.prototype.load,br.prototype.get=br.prototype.get,br.prototype.getKeys=br.prototype.P,br.prototype.getProperties=br.prototype.L,br.prototype.set=br.prototype.set,br.prototype.setProperties=br.prototype.H,br.prototype.unset=br.prototype.R,br.prototype.changed=br.prototype.u,br.prototype.dispatchEvent=br.prototype.b,br.prototype.getRevision=br.prototype.K,br.prototype.on=br.prototype.I,br.prototype.once=br.prototype.once,br.prototype.un=br.prototype.J,Ny.prototype.forEachTileCoord=Ny.prototype.Vf,Ny.prototype.getMaxZoom=Ny.prototype.mj,Ny.prototype.getMinZoom=Ny.prototype.nj,Ny.prototype.getOrigin=Ny.prototype.Ic,Ny.prototype.getResolution=Ny.prototype.Ta,Ny.prototype.getResolutions=Ny.prototype.oj,Ny.prototype.getTileCoordExtent=Ny.prototype.Ma,Ny.prototype.getTileCoordForCoordAndResolution=Ny.prototype.Le,Ny.prototype.getTileCoordForCoordAndZ=Ny.prototype.jg,Ny.prototype.getTileSize=Ny.prototype.Za,Ny.prototype.getZForResolution=Ny.prototype.Dc,Ls.prototype.getOpacity=Ls.prototype.hf,Ls.prototype.getRotateWithView=Ls.prototype.jf,Ls.prototype.getRotation=Ls.prototype.kf,Ls.prototype.getScale=Ls.prototype.lf,Ls.prototype.getSnapToPixel=Ls.prototype.Ke,Ls.prototype.setOpacity=Ls.prototype.Ed,Ls.prototype.setRotation=Ls.prototype.mf,Ls.prototype.setScale=Ls.prototype.Fd,Ts.prototype.clone=Ts.prototype.clone,Ts.prototype.getAngle=Ts.prototype.ij,Ts.prototype.getFill=Ts.prototype.Fa,Ts.prototype.getPoints=Ts.prototype.jj,Ts.prototype.getRadius=Ts.prototype.kj,Ts.prototype.getRadius2=Ts.prototype.Zh,Ts.prototype.getStroke=Ts.prototype.Ga,Ts.prototype.getOpacity=Ts.prototype.hf,Ts.prototype.getRotateWithView=Ts.prototype.jf,Ts.prototype.getRotation=Ts.prototype.kf,Ts.prototype.getScale=Ts.prototype.lf,Ts.prototype.getSnapToPixel=Ts.prototype.Ke,Ts.prototype.setOpacity=Ts.prototype.Ed,Ts.prototype.setRotation=Ts.prototype.mf,Ts.prototype.setScale=Ts.prototype.Fd,Wp.prototype.getOpacity=Wp.prototype.hf,Wp.prototype.getRotateWithView=Wp.prototype.jf,Wp.prototype.getRotation=Wp.prototype.kf,Wp.prototype.getScale=Wp.prototype.lf,Wp.prototype.getSnapToPixel=Wp.prototype.Ke,Wp.prototype.setOpacity=Wp.prototype.Ed,Wp.prototype.setRotation=Wp.prototype.mf,Wp.prototype.setScale=Wp.prototype.Fd,pd.prototype.get=pd.prototype.get,pd.prototype.getKeys=pd.prototype.P,pd.prototype.getProperties=pd.prototype.L,pd.prototype.set=pd.prototype.set,pd.prototype.setProperties=pd.prototype.H,pd.prototype.unset=pd.prototype.R,pd.prototype.changed=pd.prototype.u,pd.prototype.dispatchEvent=pd.prototype.b,pd.prototype.getRevision=pd.prototype.K,pd.prototype.on=pd.prototype.I,pd.prototype.once=pd.prototype.once,pd.prototype.un=pd.prototype.J,Hf.prototype.getAttributions=Hf.prototype.za,Hf.prototype.getLogo=Hf.prototype.Aa,Hf.prototype.getProjection=Hf.prototype.Da,Hf.prototype.getState=Hf.prototype.getState,Hf.prototype.refresh=Hf.prototype.sa,Hf.prototype.setAttributions=Hf.prototype.va,Hf.prototype.get=Hf.prototype.get,Hf.prototype.getKeys=Hf.prototype.P,Hf.prototype.getProperties=Hf.prototype.L,Hf.prototype.set=Hf.prototype.set,Hf.prototype.setProperties=Hf.prototype.H,Hf.prototype.unset=Hf.prototype.R,Hf.prototype.changed=Hf.prototype.u,Hf.prototype.dispatchEvent=Hf.prototype.b,Hf.prototype.getRevision=Hf.prototype.K,Hf.prototype.on=Hf.prototype.I,Hf.prototype.once=Hf.prototype.once,Hf.prototype.un=Hf.prototype.J,Uf.prototype.getTileGrid=Uf.prototype.jb,Uf.prototype.refresh=Uf.prototype.sa,Uf.prototype.getAttributions=Uf.prototype.za,Uf.prototype.getLogo=Uf.prototype.Aa,Uf.prototype.getProjection=Uf.prototype.Da,Uf.prototype.getState=Uf.prototype.getState,Uf.prototype.setAttributions=Uf.prototype.va,Uf.prototype.get=Uf.prototype.get,Uf.prototype.getKeys=Uf.prototype.P,Uf.prototype.getProperties=Uf.prototype.L,Uf.prototype.set=Uf.prototype.set,Uf.prototype.setProperties=Uf.prototype.H,Uf.prototype.unset=Uf.prototype.R,Uf.prototype.changed=Uf.prototype.u,Uf.prototype.dispatchEvent=Uf.prototype.b,Uf.prototype.getRevision=Uf.prototype.K,Uf.prototype.on=Uf.prototype.I,Uf.prototype.once=Uf.prototype.once,Uf.prototype.un=Uf.prototype.J,Gf.prototype.getTileLoadFunction=Gf.prototype.yb,Gf.prototype.getTileUrlFunction=Gf.prototype.zb,Gf.prototype.getUrls=Gf.prototype.Ab,Gf.prototype.setTileLoadFunction=Gf.prototype.Fb,Gf.prototype.setTileUrlFunction=Gf.prototype.hb,Gf.prototype.setUrl=Gf.prototype.rb,Gf.prototype.setUrls=Gf.prototype.vb,Gf.prototype.getTileGrid=Gf.prototype.jb,Gf.prototype.refresh=Gf.prototype.sa,Gf.prototype.getAttributions=Gf.prototype.za,Gf.prototype.getLogo=Gf.prototype.Aa,Gf.prototype.getProjection=Gf.prototype.Da,Gf.prototype.getState=Gf.prototype.getState,Gf.prototype.setAttributions=Gf.prototype.va,Gf.prototype.get=Gf.prototype.get,Gf.prototype.getKeys=Gf.prototype.P,Gf.prototype.getProperties=Gf.prototype.L,Gf.prototype.set=Gf.prototype.set,Gf.prototype.setProperties=Gf.prototype.H,Gf.prototype.unset=Gf.prototype.R,Gf.prototype.changed=Gf.prototype.u,Gf.prototype.dispatchEvent=Gf.prototype.b,Gf.prototype.getRevision=Gf.prototype.K,Gf.prototype.on=Gf.prototype.I,Gf.prototype.once=Gf.prototype.once,Gf.prototype.un=Gf.prototype.J,Xf.prototype.setRenderReprojectionEdges=Xf.prototype.Qb,Xf.prototype.setTileGridForProjection=Xf.prototype.Rb,Xf.prototype.getTileLoadFunction=Xf.prototype.yb,Xf.prototype.getTileUrlFunction=Xf.prototype.zb,Xf.prototype.getUrls=Xf.prototype.Ab,Xf.prototype.setTileLoadFunction=Xf.prototype.Fb,Xf.prototype.setTileUrlFunction=Xf.prototype.hb,Xf.prototype.setUrl=Xf.prototype.rb,Xf.prototype.setUrls=Xf.prototype.vb,Xf.prototype.getTileGrid=Xf.prototype.jb,Xf.prototype.refresh=Xf.prototype.sa,Xf.prototype.getAttributions=Xf.prototype.za,Xf.prototype.getLogo=Xf.prototype.Aa,Xf.prototype.getProjection=Xf.prototype.Da,Xf.prototype.getState=Xf.prototype.getState,Xf.prototype.setAttributions=Xf.prototype.va,Xf.prototype.get=Xf.prototype.get,Xf.prototype.getKeys=Xf.prototype.P,Xf.prototype.getProperties=Xf.prototype.L,Xf.prototype.set=Xf.prototype.set,Xf.prototype.setProperties=Xf.prototype.H,Xf.prototype.unset=Xf.prototype.R,Xf.prototype.changed=Xf.prototype.u,Xf.prototype.dispatchEvent=Xf.prototype.b,Xf.prototype.getRevision=Xf.prototype.K,Xf.prototype.on=Xf.prototype.I,Xf.prototype.once=Xf.prototype.once,Xf.prototype.un=Xf.prototype.J,Kf.prototype.setRenderReprojectionEdges=Kf.prototype.Qb,Kf.prototype.setTileGridForProjection=Kf.prototype.Rb,Kf.prototype.getTileLoadFunction=Kf.prototype.yb,Kf.prototype.getTileUrlFunction=Kf.prototype.zb,Kf.prototype.getUrls=Kf.prototype.Ab,Kf.prototype.setTileLoadFunction=Kf.prototype.Fb,Kf.prototype.setTileUrlFunction=Kf.prototype.hb,Kf.prototype.setUrl=Kf.prototype.rb,Kf.prototype.setUrls=Kf.prototype.vb,Kf.prototype.getTileGrid=Kf.prototype.jb,Kf.prototype.refresh=Kf.prototype.sa,Kf.prototype.getAttributions=Kf.prototype.za,Kf.prototype.getLogo=Kf.prototype.Aa,Kf.prototype.getProjection=Kf.prototype.Da,Kf.prototype.getState=Kf.prototype.getState,Kf.prototype.setAttributions=Kf.prototype.va,Kf.prototype.get=Kf.prototype.get,Kf.prototype.getKeys=Kf.prototype.P,Kf.prototype.getProperties=Kf.prototype.L,Kf.prototype.set=Kf.prototype.set,Kf.prototype.setProperties=Kf.prototype.H,Kf.prototype.unset=Kf.prototype.R,Kf.prototype.changed=Kf.prototype.u,Kf.prototype.dispatchEvent=Kf.prototype.b,Kf.prototype.getRevision=Kf.prototype.K,Kf.prototype.on=Kf.prototype.I,Kf.prototype.once=Kf.prototype.once,Kf.prototype.un=Kf.prototype.J,Zf.prototype.setRenderReprojectionEdges=Zf.prototype.Qb,Zf.prototype.setTileGridForProjection=Zf.prototype.Rb,Zf.prototype.getTileLoadFunction=Zf.prototype.yb,Zf.prototype.getTileUrlFunction=Zf.prototype.zb,Zf.prototype.getUrls=Zf.prototype.Ab,Zf.prototype.setTileLoadFunction=Zf.prototype.Fb,Zf.prototype.setTileUrlFunction=Zf.prototype.hb,Zf.prototype.setUrl=Zf.prototype.rb,Zf.prototype.setUrls=Zf.prototype.vb,Zf.prototype.getTileGrid=Zf.prototype.jb,Zf.prototype.refresh=Zf.prototype.sa,Zf.prototype.getAttributions=Zf.prototype.za,Zf.prototype.getLogo=Zf.prototype.Aa,Zf.prototype.getProjection=Zf.prototype.Da,Zf.prototype.getState=Zf.prototype.getState,Zf.prototype.setAttributions=Zf.prototype.va,Zf.prototype.get=Zf.prototype.get,Zf.prototype.getKeys=Zf.prototype.P,Zf.prototype.getProperties=Zf.prototype.L,Zf.prototype.set=Zf.prototype.set,Zf.prototype.setProperties=Zf.prototype.H,Zf.prototype.unset=Zf.prototype.R,Zf.prototype.changed=Zf.prototype.u,Zf.prototype.dispatchEvent=Zf.prototype.b,Zf.prototype.getRevision=Zf.prototype.K,Zf.prototype.on=Zf.prototype.I,Zf.prototype.once=Zf.prototype.once,Zf.prototype.un=Zf.prototype.J,dd.prototype.getAttributions=dd.prototype.za,dd.prototype.getLogo=dd.prototype.Aa,dd.prototype.getProjection=dd.prototype.Da,dd.prototype.getState=dd.prototype.getState,dd.prototype.refresh=dd.prototype.sa,dd.prototype.setAttributions=dd.prototype.va,dd.prototype.get=dd.prototype.get,dd.prototype.getKeys=dd.prototype.P,dd.prototype.getProperties=dd.prototype.L,dd.prototype.set=dd.prototype.set,dd.prototype.setProperties=dd.prototype.H,dd.prototype.unset=dd.prototype.R,dd.prototype.changed=dd.prototype.u,dd.prototype.dispatchEvent=dd.prototype.b,dd.prototype.getRevision=dd.prototype.K,dd.prototype.on=dd.prototype.I,dd.prototype.once=dd.prototype.once,dd.prototype.un=dd.prototype.J,ey.prototype.addFeature=ey.prototype.Gb,ey.prototype.addFeatures=ey.prototype.Qc,ey.prototype.clear=ey.prototype.clear,ey.prototype.forEachFeature=ey.prototype.Lh,ey.prototype.forEachFeatureInExtent=ey.prototype.ec,ey.prototype.forEachFeatureIntersectingExtent=ey.prototype.Mh,ey.prototype.getFeaturesCollection=ey.prototype.Th,ey.prototype.getFeatures=ey.prototype.ee,ey.prototype.getFeaturesAtCoordinate=ey.prototype.Sh,ey.prototype.getFeaturesInExtent=ey.prototype.Yf,ey.prototype.getClosestFeatureToCoordinate=ey.prototype.Oh,ey.prototype.getExtent=ey.prototype.G,ey.prototype.getFeatureById=ey.prototype.Rh,ey.prototype.getFormat=ey.prototype.ej,ey.prototype.getUrl=ey.prototype.fj,ey.prototype.removeLoadedExtent=ey.prototype.Cj,ey.prototype.removeFeature=ey.prototype.Lb,ey.prototype.setLoader=ey.prototype.hj,ey.prototype.getAttributions=ey.prototype.za,ey.prototype.getLogo=ey.prototype.Aa,ey.prototype.getProjection=ey.prototype.Da,ey.prototype.getState=ey.prototype.getState,ey.prototype.refresh=ey.prototype.sa,ey.prototype.setAttributions=ey.prototype.va,ey.prototype.get=ey.prototype.get,ey.prototype.getKeys=ey.prototype.P,ey.prototype.getProperties=ey.prototype.L,ey.prototype.set=ey.prototype.set,ey.prototype.setProperties=ey.prototype.H,ey.prototype.unset=ey.prototype.R,ey.prototype.changed=ey.prototype.u,ey.prototype.dispatchEvent=ey.prototype.b,ey.prototype.getRevision=ey.prototype.K,ey.prototype.on=ey.prototype.I,ey.prototype.once=ey.prototype.once,ey.prototype.un=ey.prototype.J,ny.prototype.getAttributions=ny.prototype.za,ny.prototype.getLogo=ny.prototype.Aa,ny.prototype.getProjection=ny.prototype.Da,ny.prototype.getState=ny.prototype.getState,ny.prototype.refresh=ny.prototype.sa,ny.prototype.setAttributions=ny.prototype.va,ny.prototype.get=ny.prototype.get,ny.prototype.getKeys=ny.prototype.P,ny.prototype.getProperties=ny.prototype.L,ny.prototype.set=ny.prototype.set,ny.prototype.setProperties=ny.prototype.H,ny.prototype.unset=ny.prototype.R,ny.prototype.changed=ny.prototype.u,ny.prototype.dispatchEvent=ny.prototype.b,ny.prototype.getRevision=ny.prototype.K,ny.prototype.on=ny.prototype.I,ny.prototype.once=ny.prototype.once,ny.prototype.un=ny.prototype.J,cy.prototype.type=cy.prototype.type,cy.prototype.target=cy.prototype.target,cy.prototype.preventDefault=cy.prototype.preventDefault,cy.prototype.stopPropagation=cy.prototype.stopPropagation,py.prototype.getAttributions=py.prototype.za,py.prototype.getLogo=py.prototype.Aa,py.prototype.getProjection=py.prototype.Da,py.prototype.getState=py.prototype.getState,py.prototype.refresh=py.prototype.sa,py.prototype.setAttributions=py.prototype.va,py.prototype.get=py.prototype.get,py.prototype.getKeys=py.prototype.P,py.prototype.getProperties=py.prototype.L,py.prototype.set=py.prototype.set,py.prototype.setProperties=py.prototype.H,py.prototype.unset=py.prototype.R,py.prototype.changed=py.prototype.u,py.prototype.dispatchEvent=py.prototype.b,py.prototype.getRevision=py.prototype.K,py.prototype.on=py.prototype.I,py.prototype.once=py.prototype.once,py.prototype.un=py.prototype.J,ly.prototype.getAttributions=ly.prototype.za,ly.prototype.getLogo=ly.prototype.Aa,ly.prototype.getProjection=ly.prototype.Da,ly.prototype.getState=ly.prototype.getState,ly.prototype.refresh=ly.prototype.sa,ly.prototype.setAttributions=ly.prototype.va,ly.prototype.get=ly.prototype.get,ly.prototype.getKeys=ly.prototype.P,ly.prototype.getProperties=ly.prototype.L,ly.prototype.set=ly.prototype.set,ly.prototype.setProperties=ly.prototype.H,ly.prototype.unset=ly.prototype.R,ly.prototype.changed=ly.prototype.u,ly.prototype.dispatchEvent=ly.prototype.b,ly.prototype.getRevision=ly.prototype.K,ly.prototype.on=ly.prototype.I,ly.prototype.once=ly.prototype.once,ly.prototype.un=ly.prototype.J,hy.prototype.getAttributions=hy.prototype.za,hy.prototype.getLogo=hy.prototype.Aa,hy.prototype.getProjection=hy.prototype.Da,hy.prototype.getState=hy.prototype.getState,hy.prototype.refresh=hy.prototype.sa,hy.prototype.setAttributions=hy.prototype.va,hy.prototype.get=hy.prototype.get,hy.prototype.getKeys=hy.prototype.P,hy.prototype.getProperties=hy.prototype.L,hy.prototype.set=hy.prototype.set,hy.prototype.setProperties=hy.prototype.H,hy.prototype.unset=hy.prototype.R,hy.prototype.changed=hy.prototype.u,hy.prototype.dispatchEvent=hy.prototype.b,hy.prototype.getRevision=hy.prototype.K,hy.prototype.on=hy.prototype.I,hy.prototype.once=hy.prototype.once,hy.prototype.un=hy.prototype.J,dy.prototype.getAttributions=dy.prototype.za,dy.prototype.getLogo=dy.prototype.Aa,dy.prototype.getProjection=dy.prototype.Da,dy.prototype.getState=dy.prototype.getState,dy.prototype.refresh=dy.prototype.sa,dy.prototype.setAttributions=dy.prototype.va,dy.prototype.get=dy.prototype.get,dy.prototype.getKeys=dy.prototype.P,dy.prototype.getProperties=dy.prototype.L,dy.prototype.set=dy.prototype.set,dy.prototype.setProperties=dy.prototype.H,dy.prototype.unset=dy.prototype.R,dy.prototype.changed=dy.prototype.u,dy.prototype.dispatchEvent=dy.prototype.b,dy.prototype.getRevision=dy.prototype.K,dy.prototype.on=dy.prototype.I,dy.prototype.once=dy.prototype.once,dy.prototype.un=dy.prototype.J,fy.prototype.getAttributions=fy.prototype.za,fy.prototype.getLogo=fy.prototype.Aa,fy.prototype.getProjection=fy.prototype.Da,fy.prototype.getState=fy.prototype.getState,fy.prototype.refresh=fy.prototype.sa,fy.prototype.setAttributions=fy.prototype.va,fy.prototype.get=fy.prototype.get,fy.prototype.getKeys=fy.prototype.P,fy.prototype.getProperties=fy.prototype.L,fy.prototype.set=fy.prototype.set,fy.prototype.setProperties=fy.prototype.H,fy.prototype.unset=fy.prototype.R,fy.prototype.changed=fy.prototype.u,fy.prototype.dispatchEvent=fy.prototype.b,fy.prototype.getRevision=fy.prototype.K,fy.prototype.on=fy.prototype.I,fy.prototype.once=fy.prototype.once,fy.prototype.un=fy.prototype.J,yy.prototype.getAttributions=yy.prototype.za,yy.prototype.getLogo=yy.prototype.Aa,yy.prototype.getProjection=yy.prototype.Da,yy.prototype.getState=yy.prototype.getState,yy.prototype.refresh=yy.prototype.sa,yy.prototype.setAttributions=yy.prototype.va,yy.prototype.get=yy.prototype.get,yy.prototype.getKeys=yy.prototype.P,yy.prototype.getProperties=yy.prototype.L,yy.prototype.set=yy.prototype.set,yy.prototype.setProperties=yy.prototype.H,yy.prototype.unset=yy.prototype.R,yy.prototype.changed=yy.prototype.u,yy.prototype.dispatchEvent=yy.prototype.b,yy.prototype.getRevision=yy.prototype.K,yy.prototype.on=yy.prototype.I,yy.prototype.once=yy.prototype.once,yy.prototype.un=yy.prototype.J,vy.prototype.setRenderReprojectionEdges=vy.prototype.Qb,vy.prototype.setTileGridForProjection=vy.prototype.Rb,vy.prototype.getTileLoadFunction=vy.prototype.yb,vy.prototype.getTileUrlFunction=vy.prototype.zb,vy.prototype.getUrls=vy.prototype.Ab,vy.prototype.setTileLoadFunction=vy.prototype.Fb,vy.prototype.setTileUrlFunction=vy.prototype.hb,vy.prototype.setUrl=vy.prototype.rb,vy.prototype.setUrls=vy.prototype.vb,vy.prototype.getTileGrid=vy.prototype.jb,vy.prototype.refresh=vy.prototype.sa,vy.prototype.getAttributions=vy.prototype.za,vy.prototype.getLogo=vy.prototype.Aa,vy.prototype.getProjection=vy.prototype.Da,vy.prototype.getState=vy.prototype.getState,vy.prototype.setAttributions=vy.prototype.va,vy.prototype.get=vy.prototype.get,vy.prototype.getKeys=vy.prototype.P,vy.prototype.getProperties=vy.prototype.L,vy.prototype.set=vy.prototype.set,vy.prototype.setProperties=vy.prototype.H,vy.prototype.unset=vy.prototype.R,vy.prototype.changed=vy.prototype.u,vy.prototype.dispatchEvent=vy.prototype.b,vy.prototype.getRevision=vy.prototype.K,vy.prototype.on=vy.prototype.I,vy.prototype.once=vy.prototype.once,vy.prototype.un=vy.prototype.J,by.prototype.getAttributions=by.prototype.za,by.prototype.getLogo=by.prototype.Aa,by.prototype.getProjection=by.prototype.Da,by.prototype.getState=by.prototype.getState,by.prototype.refresh=by.prototype.sa,by.prototype.setAttributions=by.prototype.va,by.prototype.get=by.prototype.get,by.prototype.getKeys=by.prototype.P,by.prototype.getProperties=by.prototype.L,by.prototype.set=by.prototype.set,by.prototype.setProperties=by.prototype.H,by.prototype.unset=by.prototype.R,by.prototype.changed=by.prototype.u,by.prototype.dispatchEvent=by.prototype.b,by.prototype.getRevision=by.prototype.K,by.prototype.on=by.prototype.I,by.prototype.once=by.prototype.once,by.prototype.un=by.prototype.J,_y.prototype.type=_y.prototype.type,_y.prototype.target=_y.prototype.target,_y.prototype.preventDefault=_y.prototype.preventDefault,_y.prototype.stopPropagation=_y.prototype.stopPropagation,wy.prototype.setRenderReprojectionEdges=wy.prototype.Qb,wy.prototype.setTileGridForProjection=wy.prototype.Rb,wy.prototype.getTileLoadFunction=wy.prototype.yb,wy.prototype.getTileUrlFunction=wy.prototype.zb,wy.prototype.getUrls=wy.prototype.Ab,wy.prototype.setTileLoadFunction=wy.prototype.Fb,wy.prototype.setTileUrlFunction=wy.prototype.hb,wy.prototype.setUrl=wy.prototype.rb,wy.prototype.setUrls=wy.prototype.vb,wy.prototype.getTileGrid=wy.prototype.jb,wy.prototype.refresh=wy.prototype.sa,wy.prototype.getAttributions=wy.prototype.za,wy.prototype.getLogo=wy.prototype.Aa,wy.prototype.getProjection=wy.prototype.Da,wy.prototype.getState=wy.prototype.getState,wy.prototype.setAttributions=wy.prototype.va,wy.prototype.get=wy.prototype.get,wy.prototype.getKeys=wy.prototype.P,wy.prototype.getProperties=wy.prototype.L,wy.prototype.set=wy.prototype.set,wy.prototype.setProperties=wy.prototype.H,wy.prototype.unset=wy.prototype.R,wy.prototype.changed=wy.prototype.u,wy.prototype.dispatchEvent=wy.prototype.b,wy.prototype.getRevision=wy.prototype.K,wy.prototype.on=wy.prototype.I,wy.prototype.once=wy.prototype.once,wy.prototype.un=wy.prototype.J,zf.prototype.type=zf.prototype.type,zf.prototype.target=zf.prototype.target,zf.prototype.preventDefault=zf.prototype.preventDefault,zf.prototype.stopPropagation=zf.prototype.stopPropagation,My.prototype.setRenderReprojectionEdges=My.prototype.Qb,My.prototype.setTileGridForProjection=My.prototype.Rb,My.prototype.getTileLoadFunction=My.prototype.yb,My.prototype.getTileUrlFunction=My.prototype.zb,My.prototype.getUrls=My.prototype.Ab,My.prototype.setTileLoadFunction=My.prototype.Fb,My.prototype.setTileUrlFunction=My.prototype.hb,My.prototype.setUrl=My.prototype.rb,My.prototype.setUrls=My.prototype.vb,My.prototype.getTileGrid=My.prototype.jb,My.prototype.refresh=My.prototype.sa,My.prototype.getAttributions=My.prototype.za,My.prototype.getLogo=My.prototype.Aa,My.prototype.getProjection=My.prototype.Da,My.prototype.getState=My.prototype.getState,My.prototype.setAttributions=My.prototype.va,My.prototype.get=My.prototype.get,My.prototype.getKeys=My.prototype.P,My.prototype.getProperties=My.prototype.L,My.prototype.set=My.prototype.set,My.prototype.setProperties=My.prototype.H,My.prototype.unset=My.prototype.R,My.prototype.changed=My.prototype.u,My.prototype.dispatchEvent=My.prototype.b,My.prototype.getRevision=My.prototype.K,My.prototype.on=My.prototype.I,My.prototype.once=My.prototype.once,My.prototype.un=My.prototype.J,xy.prototype.getTileGrid=xy.prototype.jb,xy.prototype.refresh=xy.prototype.sa,xy.prototype.getAttributions=xy.prototype.za,xy.prototype.getLogo=xy.prototype.Aa,xy.prototype.getProjection=xy.prototype.Da,xy.prototype.getState=xy.prototype.getState,xy.prototype.setAttributions=xy.prototype.va,xy.prototype.get=xy.prototype.get,xy.prototype.getKeys=xy.prototype.P,xy.prototype.getProperties=xy.prototype.L,xy.prototype.set=xy.prototype.set,xy.prototype.setProperties=xy.prototype.H,xy.prototype.unset=xy.prototype.R,xy.prototype.changed=xy.prototype.u,xy.prototype.dispatchEvent=xy.prototype.b,xy.prototype.getRevision=xy.prototype.K,xy.prototype.on=xy.prototype.I,xy.prototype.once=xy.prototype.once,xy.prototype.un=xy.prototype.J,Oy.prototype.setRenderReprojectionEdges=Oy.prototype.Qb,Oy.prototype.setTileGridForProjection=Oy.prototype.Rb,Oy.prototype.getTileLoadFunction=Oy.prototype.yb,Oy.prototype.getTileUrlFunction=Oy.prototype.zb,Oy.prototype.getUrls=Oy.prototype.Ab,Oy.prototype.setTileLoadFunction=Oy.prototype.Fb,Oy.prototype.setTileUrlFunction=Oy.prototype.hb,Oy.prototype.setUrl=Oy.prototype.rb,Oy.prototype.setUrls=Oy.prototype.vb,Oy.prototype.getTileGrid=Oy.prototype.jb,Oy.prototype.refresh=Oy.prototype.sa,Oy.prototype.getAttributions=Oy.prototype.za,Oy.prototype.getLogo=Oy.prototype.Aa,Oy.prototype.getProjection=Oy.prototype.Da,Oy.prototype.getState=Oy.prototype.getState,Oy.prototype.setAttributions=Oy.prototype.va,Oy.prototype.get=Oy.prototype.get,Oy.prototype.getKeys=Oy.prototype.P,Oy.prototype.getProperties=Oy.prototype.L,Oy.prototype.set=Oy.prototype.set,Oy.prototype.setProperties=Oy.prototype.H,Oy.prototype.unset=Oy.prototype.R,Oy.prototype.changed=Oy.prototype.u,Oy.prototype.dispatchEvent=Oy.prototype.b,Oy.prototype.getRevision=Oy.prototype.K,Oy.prototype.on=Oy.prototype.I,Oy.prototype.once=Oy.prototype.once,Oy.prototype.un=Oy.prototype.J,Ty.prototype.getTileGrid=Ty.prototype.jb,Ty.prototype.refresh=Ty.prototype.sa,Ty.prototype.getAttributions=Ty.prototype.za,Ty.prototype.getLogo=Ty.prototype.Aa,Ty.prototype.getProjection=Ty.prototype.Da,Ty.prototype.getState=Ty.prototype.getState,Ty.prototype.setAttributions=Ty.prototype.va,Ty.prototype.get=Ty.prototype.get,Ty.prototype.getKeys=Ty.prototype.P,Ty.prototype.getProperties=Ty.prototype.L,Ty.prototype.set=Ty.prototype.set,Ty.prototype.setProperties=Ty.prototype.H,Ty.prototype.unset=Ty.prototype.R,Ty.prototype.changed=Ty.prototype.u,Ty.prototype.dispatchEvent=Ty.prototype.b,Ty.prototype.getRevision=Ty.prototype.K,Ty.prototype.on=Ty.prototype.I,Ty.prototype.once=Ty.prototype.once,Ty.prototype.un=Ty.prototype.J,Dy.prototype.setRenderReprojectionEdges=Dy.prototype.Qb,Dy.prototype.setTileGridForProjection=Dy.prototype.Rb,Dy.prototype.getTileLoadFunction=Dy.prototype.yb,Dy.prototype.getTileUrlFunction=Dy.prototype.zb,Dy.prototype.getUrls=Dy.prototype.Ab,Dy.prototype.setTileLoadFunction=Dy.prototype.Fb,Dy.prototype.setTileUrlFunction=Dy.prototype.hb,Dy.prototype.setUrl=Dy.prototype.rb,Dy.prototype.setUrls=Dy.prototype.vb,Dy.prototype.getTileGrid=Dy.prototype.jb,Dy.prototype.refresh=Dy.prototype.sa,Dy.prototype.getAttributions=Dy.prototype.za,Dy.prototype.getLogo=Dy.prototype.Aa,Dy.prototype.getProjection=Dy.prototype.Da,Dy.prototype.getState=Dy.prototype.getState,Dy.prototype.setAttributions=Dy.prototype.va,Dy.prototype.get=Dy.prototype.get,Dy.prototype.getKeys=Dy.prototype.P,Dy.prototype.getProperties=Dy.prototype.L,Dy.prototype.set=Dy.prototype.set,Dy.prototype.setProperties=Dy.prototype.H,Dy.prototype.unset=Dy.prototype.R,Dy.prototype.changed=Dy.prototype.u,Dy.prototype.dispatchEvent=Dy.prototype.b,Dy.prototype.getRevision=Dy.prototype.K,Dy.prototype.on=Dy.prototype.I,Dy.prototype.once=Dy.prototype.once,Dy.prototype.un=Dy.prototype.J,vd.prototype.type=vd.prototype.type,vd.prototype.target=vd.prototype.target,vd.prototype.preventDefault=vd.prototype.preventDefault,vd.prototype.stopPropagation=vd.prototype.stopPropagation,Ay.prototype.getTileLoadFunction=Ay.prototype.yb,Ay.prototype.getTileUrlFunction=Ay.prototype.zb,Ay.prototype.getUrls=Ay.prototype.Ab,Ay.prototype.setTileLoadFunction=Ay.prototype.Fb,Ay.prototype.setTileUrlFunction=Ay.prototype.hb,Ay.prototype.setUrl=Ay.prototype.rb,Ay.prototype.setUrls=Ay.prototype.vb,Ay.prototype.getTileGrid=Ay.prototype.jb,Ay.prototype.refresh=Ay.prototype.sa,Ay.prototype.getAttributions=Ay.prototype.za,Ay.prototype.getLogo=Ay.prototype.Aa,Ay.prototype.getProjection=Ay.prototype.Da,Ay.prototype.getState=Ay.prototype.getState,Ay.prototype.setAttributions=Ay.prototype.va,Ay.prototype.get=Ay.prototype.get,Ay.prototype.getKeys=Ay.prototype.P,Ay.prototype.getProperties=Ay.prototype.L,Ay.prototype.set=Ay.prototype.set,Ay.prototype.setProperties=Ay.prototype.H,Ay.prototype.unset=Ay.prototype.R,Ay.prototype.changed=Ay.prototype.u,Ay.prototype.dispatchEvent=Ay.prototype.b,Ay.prototype.getRevision=Ay.prototype.K,Ay.prototype.on=Ay.prototype.I,Ay.prototype.once=Ay.prototype.once,Ay.prototype.un=Ay.prototype.J,Wy.prototype.setRenderReprojectionEdges=Wy.prototype.Qb,Wy.prototype.setTileGridForProjection=Wy.prototype.Rb,Wy.prototype.getTileLoadFunction=Wy.prototype.yb,Wy.prototype.getTileUrlFunction=Wy.prototype.zb,Wy.prototype.getUrls=Wy.prototype.Ab,Wy.prototype.setTileLoadFunction=Wy.prototype.Fb,Wy.prototype.setTileUrlFunction=Wy.prototype.hb,Wy.prototype.setUrl=Wy.prototype.rb,Wy.prototype.setUrls=Wy.prototype.vb,Wy.prototype.getTileGrid=Wy.prototype.jb,Wy.prototype.refresh=Wy.prototype.sa,Wy.prototype.getAttributions=Wy.prototype.za,Wy.prototype.getLogo=Wy.prototype.Aa,Wy.prototype.getProjection=Wy.prototype.Da,Wy.prototype.getState=Wy.prototype.getState,Wy.prototype.setAttributions=Wy.prototype.va,Wy.prototype.get=Wy.prototype.get,Wy.prototype.getKeys=Wy.prototype.P,Wy.prototype.getProperties=Wy.prototype.L,Wy.prototype.set=Wy.prototype.set,Wy.prototype.setProperties=Wy.prototype.H,Wy.prototype.unset=Wy.prototype.R,Wy.prototype.changed=Wy.prototype.u,Wy.prototype.dispatchEvent=Wy.prototype.b,Wy.prototype.getRevision=Wy.prototype.K,Wy.prototype.on=Wy.prototype.I,Wy.prototype.once=Wy.prototype.once,Wy.prototype.un=Wy.prototype.J,Vy.prototype.setRenderReprojectionEdges=Vy.prototype.Qb,Vy.prototype.setTileGridForProjection=Vy.prototype.Rb,Vy.prototype.getTileLoadFunction=Vy.prototype.yb,Vy.prototype.getTileUrlFunction=Vy.prototype.zb,Vy.prototype.getUrls=Vy.prototype.Ab,Vy.prototype.setTileLoadFunction=Vy.prototype.Fb,Vy.prototype.setTileUrlFunction=Vy.prototype.hb,Vy.prototype.setUrl=Vy.prototype.rb,Vy.prototype.setUrls=Vy.prototype.vb,Vy.prototype.getTileGrid=Vy.prototype.jb,Vy.prototype.refresh=Vy.prototype.sa,Vy.prototype.getAttributions=Vy.prototype.za,Vy.prototype.getLogo=Vy.prototype.Aa,Vy.prototype.getProjection=Vy.prototype.Da,Vy.prototype.getState=Vy.prototype.getState,Vy.prototype.setAttributions=Vy.prototype.va,Vy.prototype.get=Vy.prototype.get,Vy.prototype.getKeys=Vy.prototype.P,Vy.prototype.getProperties=Vy.prototype.L,Vy.prototype.set=Vy.prototype.set,Vy.prototype.setProperties=Vy.prototype.H,Vy.prototype.unset=Vy.prototype.R,Vy.prototype.changed=Vy.prototype.u,Vy.prototype.dispatchEvent=Vy.prototype.b,Vy.prototype.getRevision=Vy.prototype.K,Vy.prototype.on=Vy.prototype.I,Vy.prototype.once=Vy.prototype.once,Vy.prototype.un=Vy.prototype.J,Nf.prototype.getTileCoord=Nf.prototype.i,Nf.prototype.load=Nf.prototype.load,fn.prototype.changed=fn.prototype.u,fn.prototype.dispatchEvent=fn.prototype.b,fn.prototype.getRevision=fn.prototype.K,fn.prototype.on=fn.prototype.I,fn.prototype.once=fn.prototype.once,fn.prototype.un=fn.prototype.J,Oc.prototype.changed=Oc.prototype.u,Oc.prototype.dispatchEvent=Oc.prototype.b,Oc.prototype.getRevision=Oc.prototype.K,Oc.prototype.on=Oc.prototype.I,Oc.prototype.once=Oc.prototype.once,Oc.prototype.un=Oc.prototype.J,jc.prototype.changed=jc.prototype.u,jc.prototype.dispatchEvent=jc.prototype.b,jc.prototype.getRevision=jc.prototype.K,jc.prototype.on=jc.prototype.I,jc.prototype.once=jc.prototype.once,jc.prototype.un=jc.prototype.J,Rc.prototype.changed=Rc.prototype.u,Rc.prototype.dispatchEvent=Rc.prototype.b,Rc.prototype.getRevision=Rc.prototype.K,Rc.prototype.on=Rc.prototype.I,Rc.prototype.once=Rc.prototype.once,Rc.prototype.un=Rc.prototype.J,Ec.prototype.changed=Ec.prototype.u,Ec.prototype.dispatchEvent=Ec.prototype.b,Ec.prototype.getRevision=Ec.prototype.K,Ec.prototype.on=Ec.prototype.I,Ec.prototype.once=Ec.prototype.once,Ec.prototype.un=Ec.prototype.J,wn.prototype.changed=wn.prototype.u,wn.prototype.dispatchEvent=wn.prototype.b,wn.prototype.getRevision=wn.prototype.K,wn.prototype.on=wn.prototype.I,wn.prototype.once=wn.prototype.once,wn.prototype.un=wn.prototype.J,Ln.prototype.changed=Ln.prototype.u,Ln.prototype.dispatchEvent=Ln.prototype.b,Ln.prototype.getRevision=Ln.prototype.K,Ln.prototype.on=Ln.prototype.I,Ln.prototype.once=Ln.prototype.once,Ln.prototype.un=Ln.prototype.J,On.prototype.changed=On.prototype.u,On.prototype.dispatchEvent=On.prototype.b,On.prototype.getRevision=On.prototype.K,On.prototype.on=On.prototype.I,On.prototype.once=On.prototype.once,On.prototype.un=On.prototype.J,An.prototype.changed=An.prototype.u,An.prototype.dispatchEvent=An.prototype.b,An.prototype.getRevision=An.prototype.K,An.prototype.on=An.prototype.I,An.prototype.once=An.prototype.once,An.prototype.un=An.prototype.J,_s.prototype.changed=_s.prototype.u,_s.prototype.dispatchEvent=_s.prototype.b,_s.prototype.getRevision=_s.prototype.K,_s.prototype.on=_s.prototype.I,_s.prototype.once=_s.prototype.once,_s.prototype.un=_s.prototype.J,ws.prototype.changed=ws.prototype.u,ws.prototype.dispatchEvent=ws.prototype.b,ws.prototype.getRevision=ws.prototype.K,ws.prototype.on=ws.prototype.I,ws.prototype.once=ws.prototype.once,ws.prototype.un=ws.prototype.J,$i.prototype.type=$i.prototype.type,$i.prototype.target=$i.prototype.target,$i.prototype.preventDefault=$i.prototype.preventDefault,$i.prototype.stopPropagation=$i.prototype.stopPropagation,Te.prototype.type=Te.prototype.type,Te.prototype.target=Te.prototype.target,Te.prototype.preventDefault=Te.prototype.preventDefault,Te.prototype.stopPropagation=Te.prototype.stopPropagation,Dr.prototype.get=Dr.prototype.get,Dr.prototype.getKeys=Dr.prototype.P,Dr.prototype.getProperties=Dr.prototype.L,Dr.prototype.set=Dr.prototype.set,Dr.prototype.setProperties=Dr.prototype.H,Dr.prototype.unset=Dr.prototype.R,Dr.prototype.changed=Dr.prototype.u,Dr.prototype.dispatchEvent=Dr.prototype.b,Dr.prototype.getRevision=Dr.prototype.K,Dr.prototype.on=Dr.prototype.I,Dr.prototype.once=Dr.prototype.once,Dr.prototype.un=Dr.prototype.J,Cr.prototype.getExtent=Cr.prototype.G,Cr.prototype.getMaxResolution=Cr.prototype.lc,Cr.prototype.getMinResolution=Cr.prototype.mc,Cr.prototype.getOpacity=Cr.prototype.nc,Cr.prototype.getVisible=Cr.prototype.Jb,Cr.prototype.getZIndex=Cr.prototype.Ba,Cr.prototype.setExtent=Cr.prototype.Fc,Cr.prototype.setMaxResolution=Cr.prototype.Mc,Cr.prototype.setMinResolution=Cr.prototype.Nc,Cr.prototype.setOpacity=Cr.prototype.Gc,Cr.prototype.setVisible=Cr.prototype.Hc,Cr.prototype.setZIndex=Cr.prototype.$b,Cr.prototype.get=Cr.prototype.get,Cr.prototype.getKeys=Cr.prototype.P,Cr.prototype.getProperties=Cr.prototype.L,Cr.prototype.set=Cr.prototype.set,Cr.prototype.setProperties=Cr.prototype.H,Cr.prototype.unset=Cr.prototype.R,Cr.prototype.changed=Cr.prototype.u,Cr.prototype.dispatchEvent=Cr.prototype.b,Cr.prototype.getRevision=Cr.prototype.K,Cr.prototype.on=Cr.prototype.I,Cr.prototype.once=Cr.prototype.once,Cr.prototype.un=Cr.prototype.J,Fr.prototype.getExtent=Fr.prototype.G,Fr.prototype.getMaxResolution=Fr.prototype.lc,Fr.prototype.getMinResolution=Fr.prototype.mc,Fr.prototype.getOpacity=Fr.prototype.nc,Fr.prototype.getVisible=Fr.prototype.Jb,Fr.prototype.getZIndex=Fr.prototype.Ba,Fr.prototype.setExtent=Fr.prototype.Fc,Fr.prototype.setMaxResolution=Fr.prototype.Mc,Fr.prototype.setMinResolution=Fr.prototype.Nc,Fr.prototype.setOpacity=Fr.prototype.Gc,Fr.prototype.setVisible=Fr.prototype.Hc,Fr.prototype.setZIndex=Fr.prototype.$b,Fr.prototype.get=Fr.prototype.get,Fr.prototype.getKeys=Fr.prototype.P,Fr.prototype.getProperties=Fr.prototype.L,Fr.prototype.set=Fr.prototype.set,Fr.prototype.setProperties=Fr.prototype.H,Fr.prototype.unset=Fr.prototype.R,Fr.prototype.changed=Fr.prototype.u,Fr.prototype.dispatchEvent=Fr.prototype.b,Fr.prototype.getRevision=Fr.prototype.K,Fr.prototype.on=Fr.prototype.I,Fr.prototype.once=Fr.prototype.once,Fr.prototype.un=Fr.prototype.J,cd.prototype.setMap=cd.prototype.setMap,cd.prototype.setSource=cd.prototype.hd,cd.prototype.getExtent=cd.prototype.G,cd.prototype.getMaxResolution=cd.prototype.lc,cd.prototype.getMinResolution=cd.prototype.mc,cd.prototype.getOpacity=cd.prototype.nc,cd.prototype.getVisible=cd.prototype.Jb,cd.prototype.getZIndex=cd.prototype.Ba,cd.prototype.setExtent=cd.prototype.Fc,cd.prototype.setMaxResolution=cd.prototype.Mc,cd.prototype.setMinResolution=cd.prototype.Nc,cd.prototype.setOpacity=cd.prototype.Gc,cd.prototype.setVisible=cd.prototype.Hc,cd.prototype.setZIndex=cd.prototype.$b,cd.prototype.get=cd.prototype.get,cd.prototype.getKeys=cd.prototype.P,cd.prototype.getProperties=cd.prototype.L,cd.prototype.set=cd.prototype.set,cd.prototype.setProperties=cd.prototype.H,cd.prototype.unset=cd.prototype.R,cd.prototype.changed=cd.prototype.u,cd.prototype.dispatchEvent=cd.prototype.b,cd.prototype.getRevision=cd.prototype.K,cd.prototype.on=cd.prototype.I,cd.prototype.once=cd.prototype.once,cd.prototype.un=cd.prototype.J,Mf.prototype.getSource=Mf.prototype.ha,Mf.prototype.getStyle=Mf.prototype.B,Mf.prototype.getStyleFunction=Mf.prototype.ib,Mf.prototype.setStyle=Mf.prototype.j,Mf.prototype.setMap=Mf.prototype.setMap,Mf.prototype.setSource=Mf.prototype.hd,Mf.prototype.getExtent=Mf.prototype.G,Mf.prototype.getMaxResolution=Mf.prototype.lc,Mf.prototype.getMinResolution=Mf.prototype.mc,Mf.prototype.getOpacity=Mf.prototype.nc,Mf.prototype.getVisible=Mf.prototype.Jb,Mf.prototype.getZIndex=Mf.prototype.Ba,Mf.prototype.setExtent=Mf.prototype.Fc,Mf.prototype.setMaxResolution=Mf.prototype.Mc,Mf.prototype.setMinResolution=Mf.prototype.Nc,Mf.prototype.setOpacity=Mf.prototype.Gc,Mf.prototype.setVisible=Mf.prototype.Hc,Mf.prototype.setZIndex=Mf.prototype.$b,Mf.prototype.get=Mf.prototype.get,Mf.prototype.getKeys=Mf.prototype.P,Mf.prototype.getProperties=Mf.prototype.L,Mf.prototype.set=Mf.prototype.set,Mf.prototype.setProperties=Mf.prototype.H,Mf.prototype.unset=Mf.prototype.R,Mf.prototype.changed=Mf.prototype.u,Mf.prototype.dispatchEvent=Mf.prototype.b,Mf.prototype.getRevision=Mf.prototype.K,Mf.prototype.on=Mf.prototype.I,Mf.prototype.once=Mf.prototype.once,Mf.prototype.un=Mf.prototype.J,Sf.prototype.setMap=Sf.prototype.setMap,Sf.prototype.setSource=Sf.prototype.hd,Sf.prototype.getExtent=Sf.prototype.G,Sf.prototype.getMaxResolution=Sf.prototype.lc,Sf.prototype.getMinResolution=Sf.prototype.mc,Sf.prototype.getOpacity=Sf.prototype.nc,Sf.prototype.getVisible=Sf.prototype.Jb,Sf.prototype.getZIndex=Sf.prototype.Ba,Sf.prototype.setExtent=Sf.prototype.Fc,Sf.prototype.setMaxResolution=Sf.prototype.Mc,Sf.prototype.setMinResolution=Sf.prototype.Nc,Sf.prototype.setOpacity=Sf.prototype.Gc,Sf.prototype.setVisible=Sf.prototype.Hc,Sf.prototype.setZIndex=Sf.prototype.$b,Sf.prototype.get=Sf.prototype.get,Sf.prototype.getKeys=Sf.prototype.P,Sf.prototype.getProperties=Sf.prototype.L,Sf.prototype.set=Sf.prototype.set,Sf.prototype.setProperties=Sf.prototype.H,Sf.prototype.unset=Sf.prototype.R,Sf.prototype.changed=Sf.prototype.u,Sf.prototype.dispatchEvent=Sf.prototype.b,Sf.prototype.getRevision=Sf.prototype.K,Sf.prototype.on=Sf.prototype.I,Sf.prototype.once=Sf.prototype.once,Sf.prototype.un=Sf.prototype.J,xf.prototype.setMap=xf.prototype.setMap,xf.prototype.setSource=xf.prototype.hd,xf.prototype.getExtent=xf.prototype.G,xf.prototype.getMaxResolution=xf.prototype.lc,xf.prototype.getMinResolution=xf.prototype.mc,xf.prototype.getOpacity=xf.prototype.nc,xf.prototype.getVisible=xf.prototype.Jb,xf.prototype.getZIndex=xf.prototype.Ba,xf.prototype.setExtent=xf.prototype.Fc,xf.prototype.setMaxResolution=xf.prototype.Mc,xf.prototype.setMinResolution=xf.prototype.Nc,xf.prototype.setOpacity=xf.prototype.Gc,xf.prototype.setVisible=xf.prototype.Hc,xf.prototype.setZIndex=xf.prototype.$b,xf.prototype.get=xf.prototype.get,xf.prototype.getKeys=xf.prototype.P,xf.prototype.getProperties=xf.prototype.L,xf.prototype.set=xf.prototype.set,xf.prototype.setProperties=xf.prototype.H,xf.prototype.unset=xf.prototype.R,xf.prototype.changed=xf.prototype.u,xf.prototype.dispatchEvent=xf.prototype.b,xf.prototype.getRevision=xf.prototype.K,xf.prototype.on=xf.prototype.I,xf.prototype.once=xf.prototype.once,xf.prototype.un=xf.prototype.J,Lf.prototype.getStyle=Lf.prototype.B,Lf.prototype.getStyleFunction=Lf.prototype.ib,Lf.prototype.setStyle=Lf.prototype.j,Lf.prototype.setMap=Lf.prototype.setMap,Lf.prototype.setSource=Lf.prototype.hd,Lf.prototype.getExtent=Lf.prototype.G,Lf.prototype.getMaxResolution=Lf.prototype.lc,Lf.prototype.getMinResolution=Lf.prototype.mc,Lf.prototype.getOpacity=Lf.prototype.nc,Lf.prototype.getVisible=Lf.prototype.Jb,Lf.prototype.getZIndex=Lf.prototype.Ba,Lf.prototype.setExtent=Lf.prototype.Fc,Lf.prototype.setMaxResolution=Lf.prototype.Mc,Lf.prototype.setMinResolution=Lf.prototype.Nc,Lf.prototype.setOpacity=Lf.prototype.Gc,Lf.prototype.setVisible=Lf.prototype.Hc,Lf.prototype.setZIndex=Lf.prototype.$b,Lf.prototype.get=Lf.prototype.get,Lf.prototype.getKeys=Lf.prototype.P,Lf.prototype.getProperties=Lf.prototype.L,Lf.prototype.set=Lf.prototype.set,Lf.prototype.setProperties=Lf.prototype.H,Lf.prototype.unset=Lf.prototype.R,Lf.prototype.changed=Lf.prototype.u,Lf.prototype.dispatchEvent=Lf.prototype.b,Lf.prototype.getRevision=Lf.prototype.K,Lf.prototype.on=Lf.prototype.I,Lf.prototype.once=Lf.prototype.once,Lf.prototype.un=Lf.prototype.J,$r.prototype.get=$r.prototype.get,$r.prototype.getKeys=$r.prototype.P,$r.prototype.getProperties=$r.prototype.L,$r.prototype.set=$r.prototype.set,$r.prototype.setProperties=$r.prototype.H,$r.prototype.unset=$r.prototype.R,$r.prototype.changed=$r.prototype.u,$r.prototype.dispatchEvent=$r.prototype.b,$r.prototype.getRevision=$r.prototype.K,$r.prototype.on=$r.prototype.I,$r.prototype.once=$r.prototype.once,$r.prototype.un=$r.prototype.J,Zr.prototype.getActive=Zr.prototype.c,Zr.prototype.getMap=Zr.prototype.i,Zr.prototype.setActive=Zr.prototype.Ha,Zr.prototype.get=Zr.prototype.get,Zr.prototype.getKeys=Zr.prototype.P,Zr.prototype.getProperties=Zr.prototype.L,Zr.prototype.set=Zr.prototype.set,Zr.prototype.setProperties=Zr.prototype.H,Zr.prototype.unset=Zr.prototype.R,Zr.prototype.changed=Zr.prototype.u,Zr.prototype.dispatchEvent=Zr.prototype.b,Zr.prototype.getRevision=Zr.prototype.K,Zr.prototype.on=Zr.prototype.I,Zr.prototype.once=Zr.prototype.once,Zr.prototype.un=Zr.prototype.J,Zh.prototype.getActive=Zh.prototype.c,Zh.prototype.getMap=Zh.prototype.i,Zh.prototype.setActive=Zh.prototype.Ha,Zh.prototype.get=Zh.prototype.get,Zh.prototype.getKeys=Zh.prototype.P,Zh.prototype.getProperties=Zh.prototype.L,Zh.prototype.set=Zh.prototype.set,Zh.prototype.setProperties=Zh.prototype.H,Zh.prototype.unset=Zh.prototype.R,Zh.prototype.changed=Zh.prototype.u,Zh.prototype.dispatchEvent=Zh.prototype.b,Zh.prototype.getRevision=Zh.prototype.K,Zh.prototype.on=Zh.prototype.I,Zh.prototype.once=Zh.prototype.once,Zh.prototype.un=Zh.prototype.J,rd.prototype.type=rd.prototype.type,rd.prototype.target=rd.prototype.target,rd.prototype.preventDefault=rd.prototype.preventDefault,rd.prototype.stopPropagation=rd.prototype.stopPropagation,pi.prototype.getActive=pi.prototype.c,pi.prototype.getMap=pi.prototype.i,pi.prototype.setActive=pi.prototype.Ha,pi.prototype.get=pi.prototype.get,pi.prototype.getKeys=pi.prototype.P,pi.prototype.getProperties=pi.prototype.L,pi.prototype.set=pi.prototype.set,pi.prototype.setProperties=pi.prototype.H,pi.prototype.unset=pi.prototype.R,pi.prototype.changed=pi.prototype.u,pi.prototype.dispatchEvent=pi.prototype.b,pi.prototype.getRevision=pi.prototype.K,pi.prototype.on=pi.prototype.I,pi.prototype.once=pi.prototype.once,pi.prototype.un=pi.prototype.J,xi.prototype.getActive=xi.prototype.c,xi.prototype.getMap=xi.prototype.i,xi.prototype.setActive=xi.prototype.Ha,xi.prototype.get=xi.prototype.get,xi.prototype.getKeys=xi.prototype.P,xi.prototype.getProperties=xi.prototype.L,xi.prototype.set=xi.prototype.set,xi.prototype.setProperties=xi.prototype.H,xi.prototype.unset=xi.prototype.R,xi.prototype.changed=xi.prototype.u,xi.prototype.dispatchEvent=xi.prototype.b,xi.prototype.getRevision=xi.prototype.K,xi.prototype.on=xi.prototype.I,xi.prototype.once=xi.prototype.once,xi.prototype.un=xi.prototype.J,ki.prototype.type=ki.prototype.type,ki.prototype.target=ki.prototype.target,ki.prototype.preventDefault=ki.prototype.preventDefault,ki.prototype.stopPropagation=ki.prototype.stopPropagation,di.prototype.getActive=di.prototype.c,di.prototype.getMap=di.prototype.i,di.prototype.setActive=di.prototype.Ha,di.prototype.get=di.prototype.get,di.prototype.getKeys=di.prototype.P,di.prototype.getProperties=di.prototype.L,di.prototype.set=di.prototype.set,di.prototype.setProperties=di.prototype.H,di.prototype.unset=di.prototype.R,di.prototype.changed=di.prototype.u,di.prototype.dispatchEvent=di.prototype.b,di.prototype.getRevision=di.prototype.K,di.prototype.on=di.prototype.I,di.prototype.once=di.prototype.once,di.prototype.un=di.prototype.J,gi.prototype.getActive=gi.prototype.c,gi.prototype.getMap=gi.prototype.i,gi.prototype.setActive=gi.prototype.Ha,gi.prototype.get=gi.prototype.get,gi.prototype.getKeys=gi.prototype.P,gi.prototype.getProperties=gi.prototype.L,gi.prototype.set=gi.prototype.set,gi.prototype.setProperties=gi.prototype.H,gi.prototype.unset=gi.prototype.R,gi.prototype.changed=gi.prototype.u,gi.prototype.dispatchEvent=gi.prototype.b,gi.prototype.getRevision=gi.prototype.K,gi.prototype.on=gi.prototype.I,gi.prototype.once=gi.prototype.once,gi.prototype.un=gi.prototype.J,id.prototype.getActive=id.prototype.c,id.prototype.getMap=id.prototype.i,id.prototype.setActive=id.prototype.Ha,id.prototype.get=id.prototype.get,id.prototype.getKeys=id.prototype.P,id.prototype.getProperties=id.prototype.L,id.prototype.set=id.prototype.set,id.prototype.setProperties=id.prototype.H,id.prototype.unset=id.prototype.R,id.prototype.changed=id.prototype.u,id.prototype.dispatchEvent=id.prototype.b,id.prototype.getRevision=id.prototype.K,id.prototype.on=id.prototype.I,id.prototype.once=id.prototype.once,id.prototype.un=id.prototype.J,Di.prototype.getGeometry=Di.prototype.U,Di.prototype.getActive=Di.prototype.c,Di.prototype.getMap=Di.prototype.i,Di.prototype.setActive=Di.prototype.Ha,Di.prototype.get=Di.prototype.get,Di.prototype.getKeys=Di.prototype.P,Di.prototype.getProperties=Di.prototype.L,Di.prototype.set=Di.prototype.set,Di.prototype.setProperties=Di.prototype.H,Di.prototype.unset=Di.prototype.R,Di.prototype.changed=Di.prototype.u,Di.prototype.dispatchEvent=Di.prototype.b,Di.prototype.getRevision=Di.prototype.K,Di.prototype.on=Di.prototype.I,Di.prototype.once=Di.prototype.once,Di.prototype.un=Di.prototype.J,bd.prototype.getActive=bd.prototype.c,bd.prototype.getMap=bd.prototype.i,bd.prototype.setActive=bd.prototype.Ha,bd.prototype.get=bd.prototype.get,bd.prototype.getKeys=bd.prototype.P,bd.prototype.getProperties=bd.prototype.L,bd.prototype.set=bd.prototype.set,bd.prototype.setProperties=bd.prototype.H,bd.prototype.unset=bd.prototype.R,bd.prototype.changed=bd.prototype.u,bd.prototype.dispatchEvent=bd.prototype.b,bd.prototype.getRevision=bd.prototype.K,bd.prototype.on=bd.prototype.I,bd.prototype.once=bd.prototype.once,bd.prototype.un=bd.prototype.J,Dd.prototype.type=Dd.prototype.type,Dd.prototype.target=Dd.prototype.target,Dd.prototype.preventDefault=Dd.prototype.preventDefault,Dd.prototype.stopPropagation=Dd.prototype.stopPropagation,Pd.prototype.getActive=Pd.prototype.c,Pd.prototype.getMap=Pd.prototype.i,Pd.prototype.setActive=Pd.prototype.Ha,Pd.prototype.get=Pd.prototype.get,Pd.prototype.getKeys=Pd.prototype.P,Pd.prototype.getProperties=Pd.prototype.L,Pd.prototype.set=Pd.prototype.set,Pd.prototype.setProperties=Pd.prototype.H,Pd.prototype.unset=Pd.prototype.R,Pd.prototype.changed=Pd.prototype.u,Pd.prototype.dispatchEvent=Pd.prototype.b,Pd.prototype.getRevision=Pd.prototype.K,Pd.prototype.on=Pd.prototype.I,Pd.prototype.once=Pd.prototype.once,Pd.prototype.un=Pd.prototype.J,Bd.prototype.type=Bd.prototype.type,Bd.prototype.target=Bd.prototype.target,Bd.prototype.preventDefault=Bd.prototype.preventDefault,Bd.prototype.stopPropagation=Bd.prototype.stopPropagation,Pi.prototype.getActive=Pi.prototype.c,Pi.prototype.getMap=Pi.prototype.i,Pi.prototype.setActive=Pi.prototype.Ha,Pi.prototype.get=Pi.prototype.get,Pi.prototype.getKeys=Pi.prototype.P,Pi.prototype.getProperties=Pi.prototype.L,Pi.prototype.set=Pi.prototype.set,Pi.prototype.setProperties=Pi.prototype.H,Pi.prototype.unset=Pi.prototype.R,Pi.prototype.changed=Pi.prototype.u,Pi.prototype.dispatchEvent=Pi.prototype.b,Pi.prototype.getRevision=Pi.prototype.K,Pi.prototype.on=Pi.prototype.I,Pi.prototype.once=Pi.prototype.once,Pi.prototype.un=Pi.prototype.J,Yi.prototype.getActive=Yi.prototype.c,Yi.prototype.getMap=Yi.prototype.i,Yi.prototype.setActive=Yi.prototype.Ha,Yi.prototype.get=Yi.prototype.get,Yi.prototype.getKeys=Yi.prototype.P,Yi.prototype.getProperties=Yi.prototype.L,Yi.prototype.set=Yi.prototype.set,Yi.prototype.setProperties=Yi.prototype.H,Yi.prototype.unset=Yi.prototype.R,Yi.prototype.changed=Yi.prototype.u,Yi.prototype.dispatchEvent=Yi.prototype.b,Yi.prototype.getRevision=Yi.prototype.K,Yi.prototype.on=Yi.prototype.I,Yi.prototype.once=Yi.prototype.once,Yi.prototype.un=Yi.prototype.J,Vd.prototype.getActive=Vd.prototype.c,Vd.prototype.getMap=Vd.prototype.i,Vd.prototype.setActive=Vd.prototype.Ha,Vd.prototype.get=Vd.prototype.get,Vd.prototype.getKeys=Vd.prototype.P,Vd.prototype.getProperties=Vd.prototype.L,Vd.prototype.set=Vd.prototype.set,Vd.prototype.setProperties=Vd.prototype.H,Vd.prototype.unset=Vd.prototype.R,Vd.prototype.changed=Vd.prototype.u,Vd.prototype.dispatchEvent=Vd.prototype.b,Vd.prototype.getRevision=Vd.prototype.K,Vd.prototype.on=Vd.prototype.I,Vd.prototype.once=Vd.prototype.once,Vd.prototype.un=Vd.prototype.J,rf.prototype.type=rf.prototype.type,rf.prototype.target=rf.prototype.target,rf.prototype.preventDefault=rf.prototype.preventDefault,rf.prototype.stopPropagation=rf.prototype.stopPropagation,Ei.prototype.getActive=Ei.prototype.c,Ei.prototype.getMap=Ei.prototype.i,Ei.prototype.setActive=Ei.prototype.Ha,Ei.prototype.get=Ei.prototype.get,Ei.prototype.getKeys=Ei.prototype.P,Ei.prototype.getProperties=Ei.prototype.L,Ei.prototype.set=Ei.prototype.set,Ei.prototype.setProperties=Ei.prototype.H,Ei.prototype.unset=Ei.prototype.R,Ei.prototype.changed=Ei.prototype.u,Ei.prototype.dispatchEvent=Ei.prototype.b,Ei.prototype.getRevision=Ei.prototype.K,Ei.prototype.on=Ei.prototype.I,Ei.prototype.once=Ei.prototype.once,Ei.prototype.un=Ei.prototype.J,Fi.prototype.getActive=Fi.prototype.c,Fi.prototype.getMap=Fi.prototype.i,Fi.prototype.setActive=Fi.prototype.Ha,Fi.prototype.get=Fi.prototype.get,Fi.prototype.getKeys=Fi.prototype.P,Fi.prototype.getProperties=Fi.prototype.L,Fi.prototype.set=Fi.prototype.set,Fi.prototype.setProperties=Fi.prototype.H,Fi.prototype.unset=Fi.prototype.R,Fi.prototype.changed=Fi.prototype.u,Fi.prototype.dispatchEvent=Fi.prototype.b,Fi.prototype.getRevision=Fi.prototype.K,Fi.prototype.on=Fi.prototype.I,Fi.prototype.once=Fi.prototype.once,Fi.prototype.un=Fi.prototype.J,Wi.prototype.getActive=Wi.prototype.c,Wi.prototype.getMap=Wi.prototype.i,Wi.prototype.setActive=Wi.prototype.Ha,Wi.prototype.get=Wi.prototype.get,Wi.prototype.getKeys=Wi.prototype.P,Wi.prototype.getProperties=Wi.prototype.L,Wi.prototype.set=Wi.prototype.set,Wi.prototype.setProperties=Wi.prototype.H,Wi.prototype.unset=Wi.prototype.R,Wi.prototype.changed=Wi.prototype.u,Wi.prototype.dispatchEvent=Wi.prototype.b,Wi.prototype.getRevision=Wi.prototype.K,Wi.prototype.on=Wi.prototype.I,Wi.prototype.once=Wi.prototype.once,Wi.prototype.un=Wi.prototype.J,nf.prototype.getActive=nf.prototype.c,nf.prototype.getMap=nf.prototype.i,nf.prototype.setActive=nf.prototype.Ha,nf.prototype.get=nf.prototype.get,nf.prototype.getKeys=nf.prototype.P,nf.prototype.getProperties=nf.prototype.L,nf.prototype.set=nf.prototype.set,nf.prototype.setProperties=nf.prototype.H,nf.prototype.unset=nf.prototype.R,nf.prototype.changed=nf.prototype.u,nf.prototype.dispatchEvent=nf.prototype.b,nf.prototype.getRevision=nf.prototype.K,nf.prototype.on=nf.prototype.I,nf.prototype.once=nf.prototype.once,nf.prototype.un=nf.prototype.J,cf.prototype.type=cf.prototype.type,cf.prototype.target=cf.prototype.target,cf.prototype.preventDefault=cf.prototype.preventDefault,cf.prototype.stopPropagation=cf.prototype.stopPropagation,uf.prototype.getActive=uf.prototype.c,uf.prototype.getMap=uf.prototype.i,uf.prototype.setActive=uf.prototype.Ha,uf.prototype.get=uf.prototype.get,uf.prototype.getKeys=uf.prototype.P,uf.prototype.getProperties=uf.prototype.L,uf.prototype.set=uf.prototype.set,uf.prototype.setProperties=uf.prototype.H,uf.prototype.unset=uf.prototype.R,uf.prototype.changed=uf.prototype.u,uf.prototype.dispatchEvent=uf.prototype.b,uf.prototype.getRevision=uf.prototype.K,uf.prototype.on=uf.prototype.I,uf.prototype.once=uf.prototype.once,uf.prototype.un=uf.prototype.J,ff.prototype.getActive=ff.prototype.c,ff.prototype.getMap=ff.prototype.i,ff.prototype.setActive=ff.prototype.Ha,ff.prototype.get=ff.prototype.get,ff.prototype.getKeys=ff.prototype.P,ff.prototype.getProperties=ff.prototype.L,ff.prototype.set=ff.prototype.set,ff.prototype.setProperties=ff.prototype.H,ff.prototype.unset=ff.prototype.R,ff.prototype.changed=ff.prototype.u,ff.prototype.dispatchEvent=ff.prototype.b,ff.prototype.getRevision=ff.prototype.K,ff.prototype.on=ff.prototype.I,ff.prototype.once=ff.prototype.once,ff.prototype.un=ff.prototype.J,wf.prototype.type=wf.prototype.type,wf.prototype.target=wf.prototype.target,wf.prototype.preventDefault=wf.prototype.preventDefault,wf.prototype.stopPropagation=wf.prototype.stopPropagation,Ro.prototype.get=Ro.prototype.get,Ro.prototype.getKeys=Ro.prototype.P,Ro.prototype.getProperties=Ro.prototype.L,Ro.prototype.set=Ro.prototype.set,Ro.prototype.setProperties=Ro.prototype.H,Ro.prototype.unset=Ro.prototype.R,Ro.prototype.changed=Ro.prototype.u,Ro.prototype.dispatchEvent=Ro.prototype.b,Ro.prototype.getRevision=Ro.prototype.K,Ro.prototype.on=Ro.prototype.I,Ro.prototype.once=Ro.prototype.once,Ro.prototype.un=Ro.prototype.J,Eo.prototype.getClosestPoint=Eo.prototype.Ib,Eo.prototype.intersectsCoordinate=Eo.prototype.Bb,Eo.prototype.getExtent=Eo.prototype.G,Eo.prototype.rotate=Eo.prototype.rotate,Eo.prototype.scale=Eo.prototype.scale,Eo.prototype.simplify=Eo.prototype.Sb,Eo.prototype.transform=Eo.prototype.mb,Eo.prototype.get=Eo.prototype.get,Eo.prototype.getKeys=Eo.prototype.P,Eo.prototype.getProperties=Eo.prototype.L,Eo.prototype.set=Eo.prototype.set,Eo.prototype.setProperties=Eo.prototype.H,Eo.prototype.unset=Eo.prototype.R,Eo.prototype.changed=Eo.prototype.u,Eo.prototype.dispatchEvent=Eo.prototype.b,Eo.prototype.getRevision=Eo.prototype.K,Eo.prototype.on=Eo.prototype.I,Eo.prototype.once=Eo.prototype.once,Eo.prototype.un=Eo.prototype.J,Xh.prototype.getFirstCoordinate=Xh.prototype.fc,Xh.prototype.getLastCoordinate=Xh.prototype.gc,Xh.prototype.getLayout=Xh.prototype.ic,Xh.prototype.rotate=Xh.prototype.rotate,Xh.prototype.scale=Xh.prototype.scale,Xh.prototype.getClosestPoint=Xh.prototype.Ib,Xh.prototype.intersectsCoordinate=Xh.prototype.Bb,Xh.prototype.getExtent=Xh.prototype.G,Xh.prototype.simplify=Xh.prototype.Sb,Xh.prototype.get=Xh.prototype.get,Xh.prototype.getKeys=Xh.prototype.P,Xh.prototype.getProperties=Xh.prototype.L,Xh.prototype.set=Xh.prototype.set,Xh.prototype.setProperties=Xh.prototype.H,Xh.prototype.unset=Xh.prototype.R,Xh.prototype.changed=Xh.prototype.u,Xh.prototype.dispatchEvent=Xh.prototype.b,Xh.prototype.getRevision=Xh.prototype.K,Xh.prototype.on=Xh.prototype.I,Xh.prototype.once=Xh.prototype.once,Xh.prototype.un=Xh.prototype.J,kp.prototype.getClosestPoint=kp.prototype.Ib,kp.prototype.intersectsCoordinate=kp.prototype.Bb,kp.prototype.getExtent=kp.prototype.G,kp.prototype.rotate=kp.prototype.rotate,kp.prototype.scale=kp.prototype.scale,kp.prototype.simplify=kp.prototype.Sb,kp.prototype.transform=kp.prototype.mb,kp.prototype.get=kp.prototype.get,kp.prototype.getKeys=kp.prototype.P,kp.prototype.getProperties=kp.prototype.L,kp.prototype.set=kp.prototype.set,kp.prototype.setProperties=kp.prototype.H,kp.prototype.unset=kp.prototype.R,kp.prototype.changed=kp.prototype.u,kp.prototype.dispatchEvent=kp.prototype.b,kp.prototype.getRevision=kp.prototype.K,kp.prototype.on=kp.prototype.I,kp.prototype.once=kp.prototype.once,kp.prototype.un=kp.prototype.J,tr.prototype.getFirstCoordinate=tr.prototype.fc,tr.prototype.getLastCoordinate=tr.prototype.gc,tr.prototype.getLayout=tr.prototype.ic,tr.prototype.rotate=tr.prototype.rotate,tr.prototype.scale=tr.prototype.scale,tr.prototype.getClosestPoint=tr.prototype.Ib,tr.prototype.intersectsCoordinate=tr.prototype.Bb,tr.prototype.getExtent=tr.prototype.G,tr.prototype.simplify=tr.prototype.Sb,tr.prototype.transform=tr.prototype.mb,tr.prototype.get=tr.prototype.get,tr.prototype.getKeys=tr.prototype.P,tr.prototype.getProperties=tr.prototype.L,tr.prototype.set=tr.prototype.set,tr.prototype.setProperties=tr.prototype.H,tr.prototype.unset=tr.prototype.R,tr.prototype.changed=tr.prototype.u,tr.prototype.dispatchEvent=tr.prototype.b,tr.prototype.getRevision=tr.prototype.K,tr.prototype.on=tr.prototype.I,tr.prototype.once=tr.prototype.once,tr.prototype.un=tr.prototype.J,Ns.prototype.getFirstCoordinate=Ns.prototype.fc,Ns.prototype.getLastCoordinate=Ns.prototype.gc,Ns.prototype.getLayout=Ns.prototype.ic,Ns.prototype.rotate=Ns.prototype.rotate,Ns.prototype.scale=Ns.prototype.scale,Ns.prototype.getClosestPoint=Ns.prototype.Ib,Ns.prototype.intersectsCoordinate=Ns.prototype.Bb,Ns.prototype.getExtent=Ns.prototype.G,Ns.prototype.simplify=Ns.prototype.Sb,Ns.prototype.transform=Ns.prototype.mb,Ns.prototype.get=Ns.prototype.get,Ns.prototype.getKeys=Ns.prototype.P,Ns.prototype.getProperties=Ns.prototype.L,Ns.prototype.set=Ns.prototype.set,Ns.prototype.setProperties=Ns.prototype.H,Ns.prototype.unset=Ns.prototype.R,Ns.prototype.changed=Ns.prototype.u,Ns.prototype.dispatchEvent=Ns.prototype.b,Ns.prototype.getRevision=Ns.prototype.K,Ns.prototype.on=Ns.prototype.I,Ns.prototype.once=Ns.prototype.once,Ns.prototype.un=Ns.prototype.J,Fu.prototype.getFirstCoordinate=Fu.prototype.fc,Fu.prototype.getLastCoordinate=Fu.prototype.gc,Fu.prototype.getLayout=Fu.prototype.ic,Fu.prototype.rotate=Fu.prototype.rotate,Fu.prototype.scale=Fu.prototype.scale,Fu.prototype.getClosestPoint=Fu.prototype.Ib,Fu.prototype.intersectsCoordinate=Fu.prototype.Bb,Fu.prototype.getExtent=Fu.prototype.G,Fu.prototype.simplify=Fu.prototype.Sb,Fu.prototype.transform=Fu.prototype.mb,Fu.prototype.get=Fu.prototype.get,Fu.prototype.getKeys=Fu.prototype.P,Fu.prototype.getProperties=Fu.prototype.L,Fu.prototype.set=Fu.prototype.set,Fu.prototype.setProperties=Fu.prototype.H,Fu.prototype.unset=Fu.prototype.R,Fu.prototype.changed=Fu.prototype.u,Fu.prototype.dispatchEvent=Fu.prototype.b,Fu.prototype.getRevision=Fu.prototype.K,Fu.prototype.on=Fu.prototype.I,Fu.prototype.once=Fu.prototype.once,Fu.prototype.un=Fu.prototype.J,Nu.prototype.getFirstCoordinate=Nu.prototype.fc,Nu.prototype.getLastCoordinate=Nu.prototype.gc,Nu.prototype.getLayout=Nu.prototype.ic,Nu.prototype.rotate=Nu.prototype.rotate,Nu.prototype.scale=Nu.prototype.scale,Nu.prototype.getClosestPoint=Nu.prototype.Ib,Nu.prototype.intersectsCoordinate=Nu.prototype.Bb,Nu.prototype.getExtent=Nu.prototype.G,Nu.prototype.simplify=Nu.prototype.Sb,Nu.prototype.transform=Nu.prototype.mb,Nu.prototype.get=Nu.prototype.get,Nu.prototype.getKeys=Nu.prototype.P,Nu.prototype.getProperties=Nu.prototype.L,Nu.prototype.set=Nu.prototype.set,Nu.prototype.setProperties=Nu.prototype.H,Nu.prototype.unset=Nu.prototype.R,Nu.prototype.changed=Nu.prototype.u,Nu.prototype.dispatchEvent=Nu.prototype.b,Nu.prototype.getRevision=Nu.prototype.K,Nu.prototype.on=Nu.prototype.I,Nu.prototype.once=Nu.prototype.once,Nu.prototype.un=Nu.prototype.J,Hu.prototype.getFirstCoordinate=Hu.prototype.fc,Hu.prototype.getLastCoordinate=Hu.prototype.gc,Hu.prototype.getLayout=Hu.prototype.ic,Hu.prototype.rotate=Hu.prototype.rotate,Hu.prototype.scale=Hu.prototype.scale,Hu.prototype.getClosestPoint=Hu.prototype.Ib,Hu.prototype.intersectsCoordinate=Hu.prototype.Bb,Hu.prototype.getExtent=Hu.prototype.G,Hu.prototype.simplify=Hu.prototype.Sb,Hu.prototype.transform=Hu.prototype.mb,Hu.prototype.get=Hu.prototype.get,Hu.prototype.getKeys=Hu.prototype.P,Hu.prototype.getProperties=Hu.prototype.L,Hu.prototype.set=Hu.prototype.set,Hu.prototype.setProperties=Hu.prototype.H,Hu.prototype.unset=Hu.prototype.R,Hu.prototype.changed=Hu.prototype.u,Hu.prototype.dispatchEvent=Hu.prototype.b,Hu.prototype.getRevision=Hu.prototype.K,Hu.prototype.on=Hu.prototype.I,Hu.prototype.once=Hu.prototype.once,Hu.prototype.un=Hu.prototype.J,or.prototype.getFirstCoordinate=or.prototype.fc,or.prototype.getLastCoordinate=or.prototype.gc,or.prototype.getLayout=or.prototype.ic,or.prototype.rotate=or.prototype.rotate,or.prototype.scale=or.prototype.scale,or.prototype.getClosestPoint=or.prototype.Ib,or.prototype.intersectsCoordinate=or.prototype.Bb,or.prototype.getExtent=or.prototype.G,or.prototype.simplify=or.prototype.Sb,or.prototype.transform=or.prototype.mb,or.prototype.get=or.prototype.get,or.prototype.getKeys=or.prototype.P,or.prototype.getProperties=or.prototype.L,or.prototype.set=or.prototype.set,or.prototype.setProperties=or.prototype.H,or.prototype.unset=or.prototype.R,or.prototype.changed=or.prototype.u,or.prototype.dispatchEvent=or.prototype.b,or.prototype.getRevision=or.prototype.K,or.prototype.on=or.prototype.I,or.prototype.once=or.prototype.once,or.prototype.un=or.prototype.J,fr.prototype.getFirstCoordinate=fr.prototype.fc,fr.prototype.getLastCoordinate=fr.prototype.gc,fr.prototype.getLayout=fr.prototype.ic,fr.prototype.rotate=fr.prototype.rotate,fr.prototype.scale=fr.prototype.scale,fr.prototype.getClosestPoint=fr.prototype.Ib,fr.prototype.intersectsCoordinate=fr.prototype.Bb,fr.prototype.getExtent=fr.prototype.G,fr.prototype.simplify=fr.prototype.Sb,fr.prototype.transform=fr.prototype.mb,fr.prototype.get=fr.prototype.get,fr.prototype.getKeys=fr.prototype.P,fr.prototype.getProperties=fr.prototype.L,fr.prototype.set=fr.prototype.set,fr.prototype.setProperties=fr.prototype.H,fr.prototype.unset=fr.prototype.R,fr.prototype.changed=fr.prototype.u,fr.prototype.dispatchEvent=fr.prototype.b,fr.prototype.getRevision=fr.prototype.K,fr.prototype.on=fr.prototype.I,fr.prototype.once=fr.prototype.once,fr.prototype.un=fr.prototype.J,lp.prototype.readFeatures=lp.prototype.Qa,dp.prototype.readFeatures=dp.prototype.Qa,lp.prototype.readFeatures=lp.prototype.Qa,Ir.prototype.get=Ir.prototype.get,Ir.prototype.getKeys=Ir.prototype.P,Ir.prototype.getProperties=Ir.prototype.L,Ir.prototype.set=Ir.prototype.set,Ir.prototype.setProperties=Ir.prototype.H,Ir.prototype.unset=Ir.prototype.R,Ir.prototype.changed=Ir.prototype.u,Ir.prototype.dispatchEvent=Ir.prototype.b,Ir.prototype.getRevision=Ir.prototype.K,Ir.prototype.on=Ir.prototype.I,Ir.prototype.once=Ir.prototype.once,Ir.prototype.un=Ir.prototype.J,Nr.prototype.getMap=Nr.prototype.f,Nr.prototype.setMap=Nr.prototype.setMap,Nr.prototype.setTarget=Nr.prototype.i,Nr.prototype.get=Nr.prototype.get,Nr.prototype.getKeys=Nr.prototype.P,Nr.prototype.getProperties=Nr.prototype.L,Nr.prototype.set=Nr.prototype.set,Nr.prototype.setProperties=Nr.prototype.H,Nr.prototype.unset=Nr.prototype.R,Nr.prototype.changed=Nr.prototype.u,Nr.prototype.dispatchEvent=Nr.prototype.b,Nr.prototype.getRevision=Nr.prototype.K,Nr.prototype.on=Nr.prototype.I,Nr.prototype.once=Nr.prototype.once,Nr.prototype.un=Nr.prototype.J,Vc.prototype.getMap=Vc.prototype.f,Vc.prototype.setMap=Vc.prototype.setMap,Vc.prototype.setTarget=Vc.prototype.i,Vc.prototype.get=Vc.prototype.get,Vc.prototype.getKeys=Vc.prototype.P,Vc.prototype.getProperties=Vc.prototype.L,Vc.prototype.set=Vc.prototype.set,Vc.prototype.setProperties=Vc.prototype.H,Vc.prototype.unset=Vc.prototype.R,Vc.prototype.changed=Vc.prototype.u,Vc.prototype.dispatchEvent=Vc.prototype.b,Vc.prototype.getRevision=Vc.prototype.K,Vc.prototype.on=Vc.prototype.I,Vc.prototype.once=Vc.prototype.once,Vc.prototype.un=Vc.prototype.J,qc.prototype.getMap=qc.prototype.f,qc.prototype.setMap=qc.prototype.setMap,qc.prototype.setTarget=qc.prototype.i,qc.prototype.get=qc.prototype.get,qc.prototype.getKeys=qc.prototype.P,qc.prototype.getProperties=qc.prototype.L,qc.prototype.set=qc.prototype.set,qc.prototype.setProperties=qc.prototype.H,qc.prototype.unset=qc.prototype.R,qc.prototype.changed=qc.prototype.u,qc.prototype.dispatchEvent=qc.prototype.b,qc.prototype.getRevision=qc.prototype.K,qc.prototype.on=qc.prototype.I,qc.prototype.once=qc.prototype.once,qc.prototype.un=qc.prototype.J,Xc.prototype.getMap=Xc.prototype.f,Xc.prototype.setMap=Xc.prototype.setMap,Xc.prototype.setTarget=Xc.prototype.i,Xc.prototype.get=Xc.prototype.get,Xc.prototype.getKeys=Xc.prototype.P,Xc.prototype.getProperties=Xc.prototype.L,Xc.prototype.set=Xc.prototype.set,Xc.prototype.setProperties=Xc.prototype.H,Xc.prototype.unset=Xc.prototype.R,Xc.prototype.changed=Xc.prototype.u,Xc.prototype.dispatchEvent=Xc.prototype.b,Xc.prototype.getRevision=Xc.prototype.K,Xc.prototype.on=Xc.prototype.I,Xc.prototype.once=Xc.prototype.once,Xc.prototype.un=Xc.prototype.J,Br.prototype.getMap=Br.prototype.f,Br.prototype.setMap=Br.prototype.setMap,Br.prototype.setTarget=Br.prototype.i,Br.prototype.get=Br.prototype.get,Br.prototype.getKeys=Br.prototype.P,Br.prototype.getProperties=Br.prototype.L,Br.prototype.set=Br.prototype.set,Br.prototype.setProperties=Br.prototype.H,Br.prototype.unset=Br.prototype.R,Br.prototype.changed=Br.prototype.u,Br.prototype.dispatchEvent=Br.prototype.b,Br.prototype.getRevision=Br.prototype.K,Br.prototype.on=Br.prototype.I,Br.prototype.once=Br.prototype.once,Br.prototype.un=Br.prototype.J,eu.prototype.getMap=eu.prototype.f,eu.prototype.setMap=eu.prototype.setMap,eu.prototype.setTarget=eu.prototype.i,eu.prototype.get=eu.prototype.get,eu.prototype.getKeys=eu.prototype.P,eu.prototype.getProperties=eu.prototype.L,eu.prototype.set=eu.prototype.set,eu.prototype.setProperties=eu.prototype.H,eu.prototype.unset=eu.prototype.R,eu.prototype.changed=eu.prototype.u,eu.prototype.dispatchEvent=eu.prototype.b,eu.prototype.getRevision=eu.prototype.K,eu.prototype.on=eu.prototype.I,eu.prototype.once=eu.prototype.once,eu.prototype.un=eu.prototype.J,zr.prototype.getMap=zr.prototype.f,zr.prototype.setMap=zr.prototype.setMap,zr.prototype.setTarget=zr.prototype.i,zr.prototype.get=zr.prototype.get,zr.prototype.getKeys=zr.prototype.P,zr.prototype.getProperties=zr.prototype.L,zr.prototype.set=zr.prototype.set,zr.prototype.setProperties=zr.prototype.H,zr.prototype.unset=zr.prototype.R,zr.prototype.changed=zr.prototype.u,zr.prototype.dispatchEvent=zr.prototype.b,zr.prototype.getRevision=zr.prototype.K,zr.prototype.on=zr.prototype.I,zr.prototype.once=zr.prototype.once,zr.prototype.un=zr.prototype.J,iu.prototype.getMap=iu.prototype.f,iu.prototype.setMap=iu.prototype.setMap,iu.prototype.setTarget=iu.prototype.i,iu.prototype.get=iu.prototype.get,iu.prototype.getKeys=iu.prototype.P,iu.prototype.getProperties=iu.prototype.L,iu.prototype.set=iu.prototype.set,iu.prototype.setProperties=iu.prototype.H,iu.prototype.unset=iu.prototype.R,iu.prototype.changed=iu.prototype.u,iu.prototype.dispatchEvent=iu.prototype.b,iu.prototype.getRevision=iu.prototype.K,iu.prototype.on=iu.prototype.I,iu.prototype.once=iu.prototype.once,iu.prototype.un=iu.prototype.J,cu.prototype.getMap=cu.prototype.f,cu.prototype.setMap=cu.prototype.setMap,cu.prototype.setTarget=cu.prototype.i,cu.prototype.get=cu.prototype.get,cu.prototype.getKeys=cu.prototype.P,cu.prototype.getProperties=cu.prototype.L,cu.prototype.set=cu.prototype.set,cu.prototype.setProperties=cu.prototype.H,cu.prototype.unset=cu.prototype.R,cu.prototype.changed=cu.prototype.u,cu.prototype.dispatchEvent=cu.prototype.b,cu.prototype.getRevision=cu.prototype.K,cu.prototype.on=cu.prototype.I,cu.prototype.once=cu.prototype.once,cu.prototype.un=cu.prototype.J,$y.ol}()},function(t,e){t.exports=require("@angular/common/http")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(839)),r(o(251)),r(o(252)),r(o(250)),r(o(254)),r(o(114)),r(o(255)),r(o(256)),r(o(257)),r(o(259)),r(o(260)),r(o(261)),r(o(263)),r(o(264))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(876))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(879))},function(t,e,o){"use strict";function r(t){return t.reduce((function(t,e){return t.concat(e instanceof u.UnsubscriptionError?e.errors:e)}),[])}var i=o(25),n=o(138),s=o(65),a=o(18),c=o(17),u=o(139);e.Subscription=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var o=this,p=o._parent,l=o._parents,h=o._unsubscribe,d=o._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,y=l?l.length:0;p;)p.remove(this),p=++f<y&&l[f]||null;if(s.isFunction(h))a.tryCatch(h).call(this)===c.errorObject&&(e=!0,t=t||(c.errorObject.e instanceof u.UnsubscriptionError?r(c.errorObject.e.errors):[c.errorObject.e]));if(i.isArray(d))for(f=-1,y=d.length;++f<y;){var m=d[f];if(n.isObject(m))if(a.tryCatch(m.unsubscribe).call(m)===c.errorObject){e=!0,t=t||[];var g=c.errorObject.e;g instanceof u.UnsubscriptionError?t=t.concat(r(g.errors)):t.push(g)}}if(e)throw new u.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var o=e;switch(typeof e){case"function":o=new t(e);case"object":if(o.closed||"function"!=typeof o.unsubscribe)return o;if(this.closed)return o.unsubscribe(),o;if("function"!=typeof o._addParent){var r=o;(o=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(o),o._addParent(this),o},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var o=e.indexOf(t);-1!==o&&e.splice(o,1)}},t.prototype._addParent=function(t){var e=this._parent,o=this._parents;e&&e!==t?o?-1===o.indexOf(t)&&o.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}()},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(4),s=o(15),a=o(68),c=o(141),u=o(66),p=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(n.Subscriber);e.SubjectSubscriber=p;var l=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[u.rxSubscriber]=function(){return new p(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,o=e.length,r=e.slice(),i=0;i<o;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,o=e.length,r=e.slice(),i=0;i<o;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,o=t.slice(),r=0;r<e;r++)o[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new c.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.Observable);e.Subject=l;var h=function(t){function e(e,o){t.call(this),this.destination=e,this.source=o}return r(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.Subscription.EMPTY},e}(l);e.AnonymousSubject=h},function(t,e,o){"use strict";e.errorObject={e:{}}},function(t,e,o){"use strict";function r(){try{return i.apply(this,arguments)}catch(t){return n.errorObject.e=t,n.errorObject}}var i,n=o(17);e.tryCatch=function(t){return i=t,r}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(487)),r(o(488)),r(o(491)),r(o(90)),r(o(62)),r(o(492))},function(t,e,o){"use strict";(function(t){var o="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=o||void 0!==t&&t||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,o(64))},function(t,e){t.exports=require("rxjs/BehaviorSubject")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(932)),r(o(285)),r(o(287)),r(o(289)),r(o(57))},function(t,e,o){"use strict";e.isScheduler=function(t){return t&&"function"==typeof t.schedule}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(40)),r(o(113)),r(o(838)),r(o(874))},function(t,e,o){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e){t.exports=require("@angular/forms")},function(t,e){t.exports=require("rxjs/operators")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(56)),r(o(119)),r(o(270))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(89)),r(o(493))},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(94),s=o(31),a=o(23);e.ArrayObservable=function(t){function e(e,o){t.call(this),this.array=e,this.scheduler=o,o||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,o){return new e(t,o)},e.of=function(){for(var t=[],o=0;o<arguments.length;o++)t[o-0]=arguments[o];var r=t[t.length-1];a.isScheduler(r)?t.pop():r=null;var i=t.length;return i>1?new e(t,r):1===i?new n.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,o=t.index,r=t.count,i=t.subscriber;o>=r?i.complete():(i.next(e[o]),i.closed||(t.index=o+1,this.schedule(t)))},e.prototype._subscribe=function(t){var o=this.array,r=o.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:o,index:0,count:r,subscriber:t});for(var n=0;n<r&&!t.closed;n++)t.next(o[n]);t.complete()},e}(i.Observable)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1);e.EmptyObservable=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable)},function(t,e,o){"use strict";var r=o(190);e.multicast=function(t,e){return function(o){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof e)return o.lift(new i(n,e));var s=Object.create(o,r.connectableObservableDescriptor);return s.source=o,s.subjectFactory=n,s}};var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var o=this.selector,r=this.subjectFactory(),i=o(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();e.MulticastOperator=i},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(81)),r(o(882)),r(o(885)),r(o(886))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataSource=function(){function t(t,e){this.options=t,this.dataSourceService=e,this.options=t,this.id=this.generateId(),this.ol=this.createOlSource()}return Object.defineProperty(t.prototype,"title",{get:function(){return this.options.alias?this.options.alias:this.options.title},set:function(t){this.options.title=t},enumerable:!0,configurable:!0}),t.prototype.getLegend=function(){return this.options.legend?[this.options.legend]:[]},t.prototype.isTimeFilterable=function(){var t=this;return("function"==typeof t.filterByDate||"function"==typeof t.filterByYear)&&(void 0===t.options.timeFilterable||t.options.timeFilterable)},t.prototype.isQueryable=function(){var t=this;return"function"==typeof t.getQueryUrl&&(void 0===t.options.queryable||t.options.queryable)},t.prototype.isOgcFilterable=function(){return!(!this.options.isOgcFilterable||!this.options.ogcFilters.filtersAreEditable)},t}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchSource=function(){}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(54)),r(o(116)),r(o(877)),r(o(954)),r(o(955))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(921)),r(o(121))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(925)),r(o(926))},function(t,e){t.exports=require("rxjs/operators/distinctUntilChanged")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(91)),r(o(80)),r(o(817)),r(o(818)),r(o(819)),r(o(820))},function(t,e,o){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var o=t.Set;if(o&&"function"==typeof(new o)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),n=0;n<i.length;++n){var s=i[n];if("entries"!==s&&"size"!==s&&r.prototype[s]===r.prototype.entries)return s}return"@@iterator"}var i=o(20);e.symbolIteratorPonyfill=r,e.iterator=r(i.root),e.$$iterator=e.iterator},function(t,e,o){"use strict";var r=o(23),i=o(144),n=o(145),s=o(95);e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&r.isScheduler(t[1])?n.from(t[0]):s.concatAll()(i.of.apply(void 0,t))}},function(t,e,o){"use strict";var r=o(1);e.Notification=function(){function t(t,e,o){this.kind=t,this.value=e,this.error=o,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,o){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return o&&o()}},t.prototype.accept=function(t,e,o){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,o)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(8),n=o(7);e.mergeMap=function(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),function(r){return"number"==typeof e&&(o=e,e=null),r.lift(new s(t,e,o))}};var s=function(){function t(t,e,o){void 0===o&&(o=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=o}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=s;var a=function(t){function e(e,o,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=o,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,o=this.index++;try{e=this.project(t,o)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,o)},e.prototype._innerSub=function(t,e,o){this.add(i.subscribeToResult(this,t,e,o))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,o,r,i){this.resultSelector?this._notifyResultSelector(t,e,o,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,o,r){var i;try{i=this.resultSelector(t,e,o,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(n.OuterSubscriber);e.MergeMapSubscriber=a},function(t,e,o){"use strict";var r=o(25);e.isNumeric=function(t){return!r.isArray(t)&&t-parseFloat(t)+1>=0}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(20),n=o(540);e.AsyncAction=function(t){function e(e,o){t.call(this,e,o),this.scheduler=e,this.pending=!1,this.work=o}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,o){return void 0===o&&(o=0),i.root.setInterval(t.flush.bind(t,this),o)},e.prototype.recycleAsyncId=function(t,e,o){return void 0===o&&(o=0),null!==o&&this.delay===o&&!1===this.pending?e:void i.root.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(t,e);if(o)return o;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var o=!1,r=void 0;try{this.work(t)}catch(t){o=!0,r=!!t&&t||new Error(t)}if(o)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,o=e.actions,r=o.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&o.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(n.Action)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(541);e.AsyncScheduler=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var o;this.active=!0;do{if(o=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,o){for(;t=e.shift();)t.unsubscribe();throw o}}},e}(i.Scheduler)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.map=function(t,e){return function(o){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return o.lift(new n(t,e))}};var n=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}();e.MapOperator=n;var s=function(t){function e(e,o,r){t.call(this,e),this.project=o,this.count=0,this.thisArg=r||this}return r(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)};e.ArgumentOutOfRangeError=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error)},function(t,e,o){"use strict";var r=o(104),i=o(105),n=o(99),s=o(92);e.reduce=function(t,e){return arguments.length>=2?function(o){return s.pipe(r.scan(t,e),i.takeLast(1),n.defaultIfEmpty(e))(o)}:function(e){return s.pipe(r.scan((function(e,o,r){return t(e,o,r+1)})),i.takeLast(1))(e)}}},function(t,e){t.exports=require("@angular/animations")},function(t,e){t.exports=require("@angular/router")},function(t,e){t.exports=require("rxjs/operators/debounceTime")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(11),c=o(21),u=o(875),p=o(112),l=o(61),h=o(53),d=o(10),f=o(62),y=o(6),m=o(24),g=o(13),v=o(116);e.ContextService=function(){function t(t,e,o,r,i,n){var s=this;this.http=t,this.authService=e,this.languageService=o,this.toolService=r,this.config=i,this.route=n,this.context$=new c.BehaviorSubject(void 0),this.contexts$=new c.BehaviorSubject({ours:[]}),this.defaultContextId$=new c.BehaviorSubject(void 0),this.editedContext$=new c.BehaviorSubject(void 0),this.mapViewFromRoute={},this.options=Object.assign({basePath:"contexts",contextListFile:"_contexts.json",defaultContextUri:"_default"},this.config.getConfig("context")),this.baseUrl=this.options.url,this.readParamsFromRoute(),this.authService.authenticate$.subscribe((function(t){if(null!==t){var e=s.contexts$.subscribe((function(t){e&&(e.unsubscribe(),s.handleContextsChange(t))}));s.loadContexts()}else s.loadDefaultContext()}))}return t.prototype.get=function(){return this.http.get(this.baseUrl+"/contexts")},t.prototype.getById=function(t){return this.http.get(this.baseUrl+"/contexts/"+t)},t.prototype.getDetails=function(t){var e=this;return this.http.get(this.baseUrl+"/contexts/"+t+"/details").pipe(l.catchError((function(o){return e.handleError(o,t)})))},t.prototype.getDefault=function(){var t=this;return this.http.get(this.baseUrl+"/contexts/default").pipe(p.tap((function(e){t.defaultContextId$.next(e.id)})))},t.prototype.delete=function(t){var e=this;return this.http.delete(this.baseUrl+"/contexts/"+t).pipe(p.tap((function(o){var r={ours:[]};Object.keys(e.contexts$.value).forEach((function(o){return r[o]=e.contexts$.value[o].filter((function(e){return e.id!==t}))})),e.contexts$.next(r)})))},t.prototype.create=function(t){var e=this;return this.http.post(this.baseUrl+"/contexts",JSON.stringify(t)).pipe(u.map((function(t){return t.permission=e.authService.authenticated?v.TypePermission[v.TypePermission.write]:v.TypePermission[v.TypePermission.read],e.contexts$.value.ours.push(t),e.contexts$.next(e.contexts$.value),t})))},t.prototype.clone=function(t,e){var o=this;return void 0===e&&(e={}),this.http.post(this.baseUrl+"/contexts/"+t+"/clone",JSON.stringify(e)).pipe(u.map((function(t){return t.permission=v.TypePermission[v.TypePermission.write],o.contexts$.value.ours.push(t),o.contexts$.next(o.contexts$.value),t})))},t.prototype.update=function(t,e){return this.http.patch(this.baseUrl+"/contexts/"+t,JSON.stringify(e))},t.prototype.addToolAssociation=function(t,e){var o=this.baseUrl+"/contexts/"+t+"/tools",r={toolId:e};return this.http.post(o,JSON.stringify(r))},t.prototype.deleteToolAssociation=function(t,e){return this.http.delete(this.baseUrl+"/contexts/"+t+"/tools/"+e)},t.prototype.getPermissions=function(t){return this.http.get(this.baseUrl+"/contexts/"+t+"/permissions")},t.prototype.addPermissionAssociation=function(t,e,o){var r=this.baseUrl+"/contexts/"+t+"/permissions",i={profil:e,typePermission:o};return this.http.post(r,JSON.stringify(i))},t.prototype.deletePermissionAssociation=function(t,e){return this.http.delete(this.baseUrl+"/contexts/"+t+"/permissions/"+e)},t.prototype.getLocalContexts=function(){return this.http.get(this.getPath(this.options.contextListFile)).pipe(u.map((function(t){return{ours:t}})))},t.prototype.getLocalContext=function(t){var e=this;return this.http.get(this.getPath(t+".json")).pipe(l.catchError((function(o){return e.handleError(o,t)})))},t.prototype.loadContexts=function(){var t=this;(this.baseUrl?this.get():this.getLocalContexts()).subscribe((function(e){var o=t.contexts$.value.public;if(o){var r=o.find((function(e){return e.uri===t.options.defaultContextUri}));r&&(e.public||(e.public=[]),e.public.push(r))}t.contexts$.next(e)}))},t.prototype.loadDefaultContext=function(){var t=this,e=function(e){void 0===e&&(e=!1),!e&&t.baseUrl&&t.authService.authenticated?t.getDefault().subscribe((function(e){t.options.defaultContextUri=e.uri,t.addContextToList(e),t.setContext(e)}),(function(){t.defaultContextId$.next(void 0),t.loadContext(t.options.defaultContextUri)})):t.loadContext(t.options.defaultContextUri)};this.route&&this.route.options.contextKey?this.route.queryParams.pipe(h.debounceTime(100)).subscribe((function(o){var r=o[t.route.options.contextKey],i=!1;r&&(t.options.defaultContextUri=r,i=!0),e(i)})):e()},t.prototype.loadContext=function(t){var e=this,o=this.context$.value;if(!o||o.uri!==t)var r=this.getContextByUri(t).subscribe((function(t){r.unsubscribe(),e.addContextToList(t),e.setContext(t)}),(function(t){r.unsubscribe()}))},t.prototype.setContext=function(t){var e=this.context$.value;e&&t&&t.id===e.id?(t.map.view.keepCurrentView=!0,this.context$.next(t)):(void 0!==t.tools&&this.toolService.setTools(t.tools),t.map||(t.map={view:{}}),Object.assign(t.map.view,this.mapViewFromRoute),this.context$.next(t))},t.prototype.loadEditedContext=function(t){var e=this;this.getContextByUri(t).subscribe((function(t){e.setEditedContext(t)}))},t.prototype.setEditedContext=function(t){this.editedContext$.next(t)},t.prototype.getContextFromMap=function(t){for(var e=t.ol.getView(),o=e.getProjection().getCode(),r=new d.geom.Point(e.getCenter()).transform(o,"EPSG:4326"),i={uri:f.uuid(),title:"",scope:"private",map:{view:{center:r.getCoordinates(),zoom:e.getZoom(),projection:o}},layers:[],tools:[]},n=t.layers$.getValue(),s=n.length,a=0,c=n;a<c.length;a++){var u=c[a];i.layers.push({id:u.options.id?String(u.options.id):void 0,title:u.options.title,type:u.options.type,source:{params:u.dataSource.options.params,url:u.dataSource.options.url},order:s--,visible:u.visible})}var p=this.toolService.tools$.value;for(var l in p)p.hasOwnProperty(l)&&i.tools.push({id:String(p[l].id)});return i},t.prototype.getContextByUri=function(t){if(this.baseUrl){for(var e=void 0,o=0,r=Object.keys(this.contexts$.value);o<r.length&&!(e=this.contexts$.value[r[o]].find((function(e){return e.uri===t})));o++);return this.getDetails(e?e.id:t)}return this.getLocalContext(t)},t.prototype.readParamsFromRoute=function(){var t=this;this.route&&this.route.queryParams.subscribe((function(e){var o=t.route.options.centerKey;o&&e[o]&&(t.mapViewFromRoute.center=e[o].split(",").map(Number),t.mapViewFromRoute.geolocate=!1);var r=t.route.options.projectionKey;r&&e[r]&&(t.mapViewFromRoute.projection=e[r]);var i=t.route.options.zoomKey;if(i&&e[i]){var n=e[i];t.mapViewFromRoute.zoom=Number(n)}}))},t.prototype.getPath=function(t){return this.options.basePath.replace(/\/$/,"")+"/"+t},t.prototype.handleError=function(t,e){var o=this.contexts$.value.ours.find((function(t){return t.uri===e})),r=o?o.title:e;throw[{title:this.languageService.translate.instant("igo.context.invalid.title"),text:this.languageService.translate.instant("igo.context.invalid.text",{value:r})}]},t.prototype.handleContextsChange=function(t,e){void 0===e&&(e=!1);var o=this.context$.value,r=this.editedContext$.value;e&&this.findContext(o)?(o.map.view.keepCurrentView=!0,this.context$.next(o),this.getDefault().subscribe((function(){}))):this.loadDefaultContext();var i=this.findContext(r);i&&"write"===i.permission||this.setEditedContext(void 0)},t.prototype.addContextToList=function(t){if(!this.findContext(t)){var e={id:t.id,uri:t.uri,title:t.title,scope:t.scope,permission:v.TypePermission[v.TypePermission.read]};this.contexts$.value&&this.contexts$.value.public&&(this.contexts$.value.public.push(e),this.contexts$.next(this.contexts$.value))}},t.prototype.findContext=function(t){if(!t||!t.id)return!1;for(var e,o=this.contexts$.value,r=0,i=Object.keys(o);r<i.length&&!(e=o[i[r]].find((function(e){return e.id===t.id})));r++);return e},t=r([s.Injectable(),n(5,s.Optional()),i("design:paramtypes",[a.HttpClient,m.AuthService,y.LanguageService,g.ToolService,y.ConfigService,y.RouteService])],t)}()},function(t,e){t.exports=require("rxjs/operators/filter")},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(10),i=o(21),n=o(880),s=o(33),a=o(118);e.IgoMap=function(){function t(t,e){this.config=e,this.layers$=new i.BehaviorSubject([]),this.layers=[],this.resolution$=new i.BehaviorSubject(void 0),this.geolocation$=new i.BehaviorSubject(void 0),this.markImageDir="./geohc/assets/igo2/icons/",this.options={controls:{attribution:!0},overlay:!0},Object.assign(this.options,t),this.layerWatcher=new n.LayerWatcher,this.status$=this.layerWatcher.status$,this.config&&(this.markImageDir=this.config.getConfig("icon.dir")||{}),this.init()}return Object.defineProperty(t.prototype,"projection",{get:function(){return this.ol.getView().getProjection().getCode()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolution",{get:function(){return this.ol.getView().getResolution()},enumerable:!0,configurable:!0}),t.prototype.init=function(){var t=this,e=[];this.options.controls&&(this.options.controls.attribution&&e.push(new r.control.Attribution(!0===this.options.controls.attribution?{}:this.options.controls.attribution)),this.options.controls.scaleLine&&e.push(new r.control.ScaleLine(!0===this.options.controls.scaleLine?{}:this.options.controls.scaleLine)),this.options.controls.overviewMap&&e.push(new r.control.OverviewMap(!0===this.options.controls.overviewMap?{}:this.options.controls.overviewMap)));var o={};if(!1===this.options.interactions&&(o={altShiftDragRotate:!1,doubleClickZoom:!1,keyboard:!1,mouseWheelZoom:!1,shiftDragZoom:!1,dragPan:!1,pinchRotate:!1,pinchZoom:!1}),this.ol=new r.Map({interactions:r.interaction.defaults(o),controls:e}),this.ol.on("moveend",(function(e){t.resolution$.value!==t.resolution&&t.resolution$.next(t.resolution)})),this.options.overlay){this.overlayMarkerStyle=this.setOverlayMarkerStyle(),this.overlayDataSource=new a.FeatureDataSource({title:"Overlay"});var i=new r.style.Stroke({color:[0,161,222,1],width:2}),n=new r.style.Fill({color:[0,161,222,.15]});this.overlayStyle=new r.style.Style({stroke:i,fill:n,image:new r.style.Circle({radius:5,stroke:i,fill:n})}),this.addLayer(new s.VectorLayer(this.overlayDataSource,{zIndex:999,style:this.overlayStyle}),!1)}},t.prototype.setTarget=function(t){this.ol.setTarget(t),void 0!==t?this.layerWatcher.subscribe((function(){}),null):this.layerWatcher.unsubscribe()},t.prototype.setOverlayMarkerStyle=function(t,e){var o;switch(void 0===t&&(t="red"),void 0===e&&(e=void 0),t){case"blue":o="blue";break;case"red":default:o="red";break;case"yellow":o="yellow";break;case"green":o="green"}return new r.style.Style({image:new r.style.Icon({src:this.markImageDir+"place_"+o+"_36px.svg",imgSize:[36,36],anchor:[.5,1]}),text:new r.style.Text({font:"12px Calibri,sans-serif",text:e,fill:new r.style.Fill({color:"#000"}),stroke:new r.style.Stroke({color:"#fff",width:3})})})},t.prototype.updateView=function(t){var e=this.ol.getView(),o=Object.assign({zoom:e.getZoom()},e.getProperties());this.setView(Object.assign(o,t))},t.prototype.setView=function(t){var e=new r.View(t);this.ol.setView(e),this.unsubscribeGeolocate(),t&&(t.center&&e.setCenter(r.proj.fromLonLat(t.center,this.projection)),t.geolocate&&this.geolocate(!0))},t.prototype.getCenter=function(t){var e=this.ol.getView().getCenter();return t&&e&&(e=r.proj.transform(e,this.projection,t)),e},t.prototype.getExtent=function(t){var e=this.ol.getView().calculateExtent(this.ol.getSize());return t&&e&&(e=r.proj.transformExtent(e,this.projection,t)),e},t.prototype.getZoom=function(){return Math.round(this.ol.getView().getZoom())},t.prototype.zoomIn=function(){this.zoomTo(this.ol.getView().getZoom()+1)},t.prototype.zoomOut=function(){this.zoomTo(this.ol.getView().getZoom()-1)},t.prototype.zoomTo=function(t){this.ol.getView().animate({zoom:t,duration:250,easing:r.easing.easeOut})},t.prototype.addLayer=function(t,e){void 0===e&&(e=!0),t.baseLayer&&t.visible&&this.changeBaseLayer(t);var o=this.getLayerById(t.id);void 0===o?(void 0!==t.zIndex&&0!==t.zIndex||(t.zIndex=this.layers.length+(t.baseLayer?1:10)),t.add(this),this.layerWatcher.watchLayer(t),e&&(this.layers.splice(0,0,t),this.sortLayers(),this.layers$.next(this.layers.slice(0)))):o.visible=!0},t.prototype.addLayers=function(t,e){var o=this;void 0===e&&(e=!0),t.forEach((function(t){return o.addLayer(t,e)}))},t.prototype.changeBaseLayer=function(t){if(t){for(var e=0,o=this.getBaseLayers();e<o.length;e++)o[e].visible=!1;t.visible=!0}},t.prototype.getBaseLayers=function(){return this.layers.filter((function(t){return t.baseLayer}))},t.prototype.getLayerById=function(t){return this.layers.find((function(e){return e.id&&e.id===t}))},t.prototype.removeLayer=function(t){var e=this.getLayerIndex(t);e>=0&&(this.layerWatcher.unwatchLayer(t),t.remove(),this.layers.splice(e,1),this.layers$.next(this.layers.slice(0)))},t.prototype.removeLayers=function(){var t=this;this.layers.forEach((function(e){t.layerWatcher.unwatchLayer(e),e.remove()}),this),this.layers=[],this.layers$.next([])},t.prototype.raiseLayer=function(t){var e=this.getLayerIndex(t);e>0&&this.moveLayer(t,e,e-1)},t.prototype.lowerLayer=function(t){var e=this.getLayerIndex(t);e<this.layers.length-1&&this.moveLayer(t,e,e+1)},t.prototype.moveLayer=function(t,e,o){var r=this.layers[o],i=r.zIndex,n=t.zIndex;t.zIndex=i,r.zIndex=n,this.layers[o]=t,this.layers[e]=r,this.layers$.next(this.layers.slice(0))},t.prototype.moveToExtent=function(t){var e=this.ol.getView();e.fit(t,{maxZoom:e.getZoom()})},t.prototype.moveToFeature=function(t){this.moveToExtent(t.getGeometry().getExtent())},t.prototype.zoomToExtent=function(t){this.ol.getView().animate({center:[t[0],t[1]],duration:600,zoom:15})},t.prototype.zoomToFeature=function(t){this.zoomToExtent(t.getGeometry().getExtent())},t.prototype.addOverlay=function(t){var e=t.getGeometry();null!==e&&("Point"===e.getType()&&t.setStyle([this.overlayMarkerStyle]),this.overlayDataSource.ol.addFeature(t))},t.prototype.clearOverlay=function(){this.overlayDataSource&&this.overlayDataSource.ol&&this.overlayDataSource.ol.clear()},t.prototype.geolocate=function(t){var e=this;void 0===t&&(t=!1);var o=!0;this.geolocation$$&&(t=this.geolocation.getTracking(),this.unsubscribeGeolocate()),this.startGeolocation(),this.geolocation$$=this.geolocation$.subscribe((function(i){if(i){if(i.getAccuracy()<1e4){var n=i.getAccuracyGeometry(),s=n.getExtent();e.geolocationFeature&&e.overlayDataSource.ol.getFeatureById(e.geolocationFeature.getId())&&e.overlayDataSource.ol.removeFeature(e.geolocationFeature),e.geolocationFeature=new r.Feature({geometry:n}),e.geolocationFeature.setId("geolocationFeature"),e.addOverlay(e.geolocationFeature),o&&e.zoomToExtent(s)}else if(o){var a=e.ol.getView(),c=i.getPosition();a.setCenter(c),a.setZoom(14)}t&&e.unsubscribeGeolocate(),o=!1}}))},t.prototype.unsubscribeGeolocate=function(){this.stopGeolocation(),this.geolocation$$&&(this.geolocation$$.unsubscribe(),this.geolocation$$=void 0)},t.prototype.startGeolocation=function(){var t=this;this.geolocation?this.geolocation.setTracking(!0):(this.geolocation=new r.Geolocation({projection:this.projection,tracking:!0}),this.geolocation.on("change",(function(e){t.geolocation$.next(t.geolocation)})))},t.prototype.stopGeolocation=function(){this.geolocation&&this.geolocation.setTracking(!1)},t.prototype.sortLayers=function(){this.layers.sort((function(t,e){return e.zIndex-t.zIndex}))},t.prototype.getLayerIndex=function(t){return this.layers.findIndex((function(e){return e===t}))},t}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(933)),r(o(934)),r(o(935))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(994)),r(o(83)),r(o(319)),r(o(321)),r(o(322)),r(o(117))},function(t,e){t.exports=require("@angular/common")},function(t,e){t.exports=require("rxjs/Observable")},function(t,e){t.exports=require("rxjs/operators/catchError")},function(t,e,o){"use strict";function r(){return(65536*(1+Math.random())|0).toString(16).substring(1)}Object.defineProperty(e,"__esModule",{value:!0}),e.S4=r,e.uuid=function(){return(""+r()+r()+"-"+r()+"-"+r()+"-"+r()+"-"+r()+r()+r()).toLowerCase()}},function(t,e){t.exports=require("rxjs/Subject")},function(t,e){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(o=window)}t.exports=o},function(t,e,o){"use strict";e.isFunction=function(t){return"function"==typeof t}},function(t,e,o){"use strict";var r=o(20).root.Symbol;e.rxSubscriber="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,o){"use strict";function r(t){var e,o=t.Symbol;return"function"==typeof o?o.observable?e=o.observable:(e=o("observable"),o.observable=e):e="@@observable",e}var i=o(20);e.getSymbolObservable=r,e.observable=r(i.root),e.$$observable=e.observable},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)};e.ObjectUnsubscribedError=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(15);e.AsyncSubject=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return r(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),n.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),n.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.Subject)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(30),n=o(25),s=o(7),a=o(8),c={};e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var o=null;return"function"==typeof t[t.length-1]&&(o=t.pop()),1===t.length&&n.isArray(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(new i.ArrayObservable([e].concat(t)),new u(o))}};var u=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.project))},t}();e.CombineLatestOperator=u;var p=function(t){function e(e,o){t.call(this,e),this.project=o,this.active=0,this.values=[],this.observables=[]}return r(e,t),e.prototype._next=function(t){this.values.push(c),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var o=0;o<e;o++){var r=t[o];this.add(a.subscribeToResult(this,r,r,o))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,o,r,i){var n=this.values,s=n[o],a=this.toRespond?s===c?--this.toRespond:this.toRespond:0;n[o]=e,0===a&&(this.project?this._tryProject(n):this.destination.next(n.slice()))},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.OuterSubscriber);e.CombineLatestSubscriber=p},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(43);e.observeOn=function(t,e){return void 0===e&&(e=0),function(o){return o.lift(new s(t,e))}};var s=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=s;var a=function(t){function e(e,o,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=o,this.delay=r}return r(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(n.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(n.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(n.Notification.createComplete())},e}(i.Subscriber);e.ObserveOnSubscriber=a;var c=function(t,e){this.notification=t,this.destination=e};e.ObserveOnMessage=c},function(t,e,o){"use strict";var r=o(44),i=o(148);e.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeMap(i.identity,null,t)}},function(t,e,o){"use strict";var r=o(1),i=o(30),n=o(23),s=o(72);e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var o=Number.POSITIVE_INFINITY,a=null,c=t[t.length-1];return n.isScheduler(c)?(a=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(o=t.pop())):"number"==typeof c&&(o=t.pop()),null===a&&1===t.length&&t[0]instanceof r.Observable?t[0]:s.mergeAll(o)(new i.ArrayObservable(t,a))}},function(t,e,o){"use strict";e.isDate=function(t){return t instanceof Date&&!isNaN(+t)}},function(t,e,o){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var o=t[t.length-1];return"function"==typeof o&&t.pop(),new n.ArrayObservable(t).lift(new l(o))}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(30),s=o(25),a=o(4),c=o(7),u=o(8),p=o(41);e.zip=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.apply(void 0,[e].concat(t)))}},e.zipStatic=r;var l=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.ZipOperator=l;var h=function(t){function e(e,o,r){void 0===r&&(r=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof o?o:null,this.values=r}return i(e,t),e.prototype._next=function(t){this.iterators.push(s.isArray(t)?new f(t):"function"==typeof t[p.iterator]?new d(t[p.iterator]()):new y(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0!==e){this.active=e;for(var o=0;o<e;o++){var r=t[o];r.stillUnsubscribed?this.add(r.subscribe(r,o)):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,o=this.destination,r=0;r<e;r++){if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return}var i=!1,n=[];for(r=0;r<e;r++){var s,a=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),a.done)return void o.complete();n.push(a.value)}this.project?this._tryProject(n):o.next(n),i&&o.complete()},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.Subscriber);e.ZipSubscriber=h;var d=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),f=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[p.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,o=this.array;return e<this.length?{value:o[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),y=function(t){function e(e,o,r){t.call(this,e),this.parent=o,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return i(e,t),e.prototype[p.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,o,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return u.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(151),s=o(15),a=o(71),c=o(68),u=o(141);e.ReplaySubject=function(t){function e(e,o,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=o<1?1:o}return r(e,t),e.prototype.next=function(e){var o=this._getNow();this._events.push(new p(o,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,o=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new c.ObjectUnsubscribedError;this.hasError||this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),r&&t.add(t=new a.ObserveOnSubscriber(t,r));for(var i=o.length,n=0;n<i&&!t.closed;n++)t.next(o[n].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||n.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,o=this._windowTime,r=this._events,i=r.length,n=0;n<i&&!(t-r[n].time<o);)n++;return i>e&&(n=Math.max(n,i-e)),n>0&&r.splice(0,n),r},e}(i.Subject);var p=function(t,e){this.time=t,this.value=e}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)};e.EmptyError=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=function(t,o){return void 0===o&&(o=e.defaultThrottleConfig),function(e){return e.lift(new s(t,o.leading,o.trailing))}};var s=function(){function t(t,e,o){this.durationSelector=t,this.leading=e,this.trailing=o}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector,this.leading,this.trailing))},t}(),a=function(t){function e(e,o,r,i){t.call(this,e),this.destination=e,this.durationSelector=o,this._leading=r,this._trailing=i,this._hasTrailingValue=!1}return r(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=n.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this.throttled;this._trailingValue=null,this._hasTrailingValue=!1,t&&(this.remove(t),this.throttled=null,t.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,o=t.throttled,r=t._trailing,i=t._trailingValue,n=t._hasTrailingValue;o&&r&&n&&(e.next(i),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,o,r,i){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(i.OuterSubscriber)},function(t,e){t.exports=require("@ngx-translate/core")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(11),c=o(52),u=o(21),p=o(112),l=o(6),h=o(19),d=o(91),f=o(109);e.AuthService=function(){function t(t,e,o,r){this.http=t,this.tokenService=e,this.config=o,this.router=r,this.authenticate$=new u.BehaviorSubject(void 0),this.anonymous=!1,this.options=this.config.getConfig("auth")||{},this.authenticate$.next(this.authenticated)}return t.prototype.login=function(t,e){var o=this,r=new a.HttpHeaders;return r.append("Content-Type","application/json"),this.http.post(this.options.url+"/login",JSON.stringify({username:t,password:this.encodePassword(e)}),{headers:r}).pipe(p.tap((function(t){o.tokenService.set(t.token),o.authenticate$.next(!0)})))},t.prototype.loginWithToken=function(t,e){var o=this,r=new a.HttpHeaders;return r.append("Content-Type","application/json"),this.http.post(this.options.url+"/login",JSON.stringify({token:t,typeConnection:e}),{headers:r}).pipe(p.tap((function(t){o.tokenService.set(t.token),o.authenticate$.next(!0)})))},t.prototype.loginAnonymous=function(){return this.anonymous=!0,f.of(!0)},t.prototype.logout=function(){return this.anonymous=!1,this.tokenService.remove(),this.authenticate$.next(!1),f.of(!0)},t.prototype.isAuthenticated=function(){return!this.tokenService.isExpired()},t.prototype.getToken=function(){return this.tokenService.get()},t.prototype.decodeToken=function(){return!!this.isAuthenticated()&&this.tokenService.decode()},t.prototype.goToRedirectUrl=function(){if(this.router){var t=this.redirectUrl||this.router.url;t===this.options.loginRoute?this.router.navigateByUrl("/"):t&&this.router.navigateByUrl(t)}},t.prototype.getUserInfo=function(){return this.http.get(this.options.url+"/info")},t.prototype.updateUser=function(t){return this.http.patch(this.options.url,JSON.stringify(t))},t.prototype.encodePassword=function(t){return h.Base64.encode(t)},Object.defineProperty(t.prototype,"logged",{get:function(){return this.authenticated||this.isAnonymous},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnonymous",{get:function(){return this.anonymous},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"authenticated",{get:function(){return this.isAuthenticated()},enumerable:!0,configurable:!0}),t=r([s.Injectable(),n(3,s.Optional()),i("design:paramtypes",[a.HttpClient,d.TokenService,l.ConfigService,c.Router])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Layer=function(){function t(t,e){this.dataSource=t,this.options=e||{},this.options.view=Object.assign({},t.options.view,this.options.view),this.ol=this.createOlLayer(),void 0!==e.zIndex&&(this.zIndex=e.zIndex);var o=t.options.legend||{};e.baseLayer&&void 0===e.visible&&(e.visible=!1),this.visible=void 0===e.visible||e.visible,this.opacity=void 0===e.opacity?1:e.opacity,this.collapsed=void 0===o.collapsed||!this.visible}return Object.defineProperty(t.prototype,"id",{get:function(){return this.options.id||this.dataSource.id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.options.title?this.options.title:this.dataSource.title},set:function(t){this.options.title=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zIndex",{get:function(){return this.ol.getZIndex()},set:function(t){this.ol.setZIndex(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseLayer",{get:function(){return this.options.baseLayer},set:function(t){this.options.baseLayer=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this.ol.get("visible")},set:function(t){this.ol.setVisible(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"opacity",{get:function(){return this.ol.get("opacity")},set:function(t){this.ol.setOpacity(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isInResolutionsRange",{get:function(){if(!this.map)return!1;var t=this.map.resolution,e=this.ol.getMinResolution(),o=this.ol.getMaxResolution();return t>=e&&t<=o},enumerable:!0,configurable:!0}),t.prototype.add=function(t){this.map=t,t.ol.addLayer(this.ol)},t.prototype.remove=function(){this.map&&(this.map.ol.removeLayer(this.ol),this.map=void 0)},t}()},function(t,e){t.exports=require("ts-md5/dist/md5")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(281)),r(o(33)),r(o(293))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(985))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(995)),r(o(38)),r(o(308)),r(o(309)),r(o(310)),r(o(314)),r(o(315)),r(o(317)),r(o(312))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1076)),r(o(336))},function(t,e){t.exports=require("@angular/platform-browser")},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(484))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(60),c=o(61),u=o(19);e.ConfigService=function(){function t(t){this.injector=t,this.config={}}return t.prototype.getConfig=function(t){return u.ObjectUtils.resolve(this.config,t)},t.prototype.load=function(t){var e=this;if(t.default&&(this.config=t.default),!t.path)return!0;var o=this.injector.get(s.HttpClient);return new Promise((function(r,i){o.get(t.path).pipe(c.catchError((function(e){return console.log("Configuration file "+t.path+" could not be read"),r(!0),a.Observable.throw(e.error||"Server error")}))).subscribe((function(t){Object.assign(e.config,t),r(!0)}))}))},t=r([n.Injectable(),i("design:paramtypes",[n.Injector])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strEnum=function(t){return t.reduce((function(t,e){return t[e]=e,t}),Object.create(null))}},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(495),a=o(6);e.TokenService=function(){function t(t){this.injector=t}return t.prototype.set=function(t){localStorage.setItem(this.tokenKey,t)},t.prototype.remove=function(){localStorage.removeItem(this.tokenKey)},t.prototype.get=function(){return localStorage.getItem(this.tokenKey)},t.prototype.decode=function(){var t=this.get();if(t)return s(t)},t.prototype.isExpired=function(){var t=this.decode(),e=(new Date).getTime()/1e3;return!(t&&e<t.exp)},Object.defineProperty(t.prototype,"tokenKey",{get:function(){return this.options=this.injector.get(a.ConfigService).getConfig("auth")||{},this.options.tokenKey},enumerable:!0,configurable:!0}),t=r([n.Injectable(),i("design:paramtypes",[n.Injector])],t)}()},function(t,e,o){"use strict";function r(t){return t?1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}:i.noop}var i=o(93);e.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r(t)},e.pipeFromArray=r},function(t,e,o){"use strict";e.noop=function(){}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1);e.ScalarObservable=function(t){function e(e,o){t.call(this),this.value=e,this.scheduler=o,this._isScalar=!0,o&&(this._isScalar=!1)}return r(e,t),e.create=function(t,o){return new e(t,o)},e.dispatch=function(t){var e=t.done,o=t.value,r=t.subscriber;e?r.complete():(r.next(o),r.closed||(t.done=!0,this.schedule(t)))},e.prototype._subscribe=function(t){var o=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:o,subscriber:t});t.next(o),t.closed||t.complete()},e}(i.Observable)},function(t,e,o){"use strict";var r=o(72);e.concatAll=function(){return r.mergeAll(1)}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(25),n=o(30),s=o(7),a=o(8);e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!i.isArray(t[0]))return t[0];t=t[0]}return new n.ArrayObservable(t).lift(new c)};var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}();e.RaceOperator=c;var u=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return r(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var o=0;o<e&&!this.hasFirst;o++){var r=t[o],i=a.subscribeToResult(this,r,r,o);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,o,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var n=0;n<this.subscriptions.length;n++)if(n!==o){var s=this.subscriptions[n];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(s.OuterSubscriber);e.RaceSubscriber=u},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(146),n=o(25),s=o(7),a=o(8);e.onErrorResumeNext=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&n.isArray(t[0])&&(t=t[0]),function(e){return e.lift(new c(t))}},e.onErrorResumeNextStatic=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var o;return 1===t.length&&n.isArray(t[0])&&(t=t[0]),o=t.shift(),new i.FromObservable(o,null).lift(new c(t))};var c=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.nextSources))},t}(),u=function(t){function e(e,o){t.call(this,e),this.destination=e,this.nextSources=o}return r(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(a.subscribeToResult(this,t)):this.destination.complete()},e}(s.OuterSubscriber)},function(t,e,o){"use strict";var r=o(44);e.concatMap=function(t,e){return r.mergeMap(t,e,1)}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.defaultIfEmpty=function(t){return void 0===t&&(t=null),function(e){return e.lift(new n(t))}};var n=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.defaultValue))},t}(),s=function(t){function e(e,o){t.call(this,e),this.defaultValue=o,this.isEmpty=!0}return r(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(18),s=o(17);e.distinctUntilChanged=function(t,e){return function(o){return o.lift(new a(t,e))}};var a=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))},t}(),c=function(t){function e(e,o,r){t.call(this,e),this.keySelector=r,this.hasKey=!1,"function"==typeof o&&(this.compare=o)}return r(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=n.tryCatch(this.keySelector)(t))===s.errorObject)return this.destination.error(s.errorObject.e);var o=!1;if(this.hasKey){if((o=n.tryCatch(this.compare)(this.key,e))===s.errorObject)return this.destination.error(s.errorObject.e)}else this.hasKey=!0;!1===Boolean(o)&&(this.key=e,this.destination.next(t))},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.filter=function(t,e){return function(o){return o.lift(new n(t,e))}};var n=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,o,r){t.call(this,e),this.predicate=o,this.thisArg=r,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.find=function(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(o){return o.lift(new n(t,o,!1,e))}};var n=function(){function t(t,e,o,r){this.predicate=t,this.source=e,this.yieldIndex=o,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=n;var s=function(t){function e(e,o,r,i,n){t.call(this,e),this.predicate=o,this.source=r,this.yieldIndex=i,this.thisArg=n,this.index=0}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this.predicate,o=this.thisArg,r=this.index++;try{e.call(o||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(i.Subscriber);e.FindValueSubscriber=s},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(18),n=o(17),s=o(7),a=o(8);e.audit=function(t){return function(e){return e.lift(new c(t))}};var c=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,o){t.call(this,e),this.durationSelector=o,this.hasValue=!1}return r(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=i.tryCatch(this.durationSelector)(t);if(e===n.errorObject)this.destination.error(n.errorObject.e);else{var o=a.subscribeToResult(this,e);o.closed?this.clearThrottle():this.add(this.throttled=o)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,o=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),o&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,o,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(s.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.scan=function(t,e){var o=!1;return arguments.length>=2&&(o=!0),function(r){return r.lift(new n(t,e,o))}};var n=function(){function t(t,e,o){void 0===o&&(o=!1),this.accumulator=t,this.seed=e,this.hasSeed=o}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.accumulator,this.seed,this.hasSeed))},t}(),s=function(t){function e(e,o,r,i){t.call(this,e),this.accumulator=o,this._seed=r,this.hasSeed=i,this.index=0}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,o=this.index++;try{e=this.accumulator(this.seed,t,o)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(49),s=o(31);e.takeLast=function(t){return function(e){return 0===t?new s.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new n.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,o){t.call(this,e),this.total=o,this.ring=new Array,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.ring,o=this.total,r=this.count++;e.length<o?e.push(t):e[r%o]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var o=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<o;i++){var n=e++%o;t.next(r[n])}t.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.refCount=function(){return function(t){return t.lift(new n(t))}};var n=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var o=this.connectable;o._refCount++;var r=new s(t,o),i=e.subscribe(r);return r.closed||(r.connection=o.connect()),i},t}(),s=function(t){function e(e,o){t.call(this,e),this.connectable=o}return r(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var o=this.connection,r=t._connection;this.connection=null,!r||o&&r!==o||r.unsubscribe()}}else this.connection=null},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.switchMap=function(t,e){return function(o){return o.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.project=o,this.resultSelector=r,this.index=0}return r(e,t),e.prototype._next=function(t){var e,o=this.index++;try{e=this.project(t,o)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,o)},e.prototype._innerSub=function(t,e,o){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=n.subscribeToResult(this,t,e,o))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,o,r,i){this.resultSelector?this._tryNotifyNext(t,e,o,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,o,r){var i;try{i=this.resultSelector(t,e,o,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=o(9),i=o(48);e.timestamp=function(t){return void 0===t&&(t=r.async),i.map((function(e){return new n(e,t.now())}))};var n=function(t,e){this.value=t,this.timestamp=e};e.Timestamp=n},function(t,e){t.exports=require("rxjs/observable/of")},function(t,e){t.exports=require("rxjs/operators/finalize")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(807)),r(o(812))},function(t,e){t.exports=require("rxjs/operators/tap")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(822)),r(o(826)),r(o(830)),r(o(834))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(850))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(269)),r(o(36)),r(o(295)),r(o(297)),r(o(298)),r(o(299)),r(o(301)),r(o(303))},function(t,e,o){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),(r=e.TypePermission||(e.TypePermission={}))[r.null=0]="null",r[r.read=1]="read",r[r.write=2]="write",(i=e.Scope||(e.Scope={}))[i.public=0]="public",i[i.protected=1]="protected",i[i.private=2]="private"},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(883)),r(o(884))},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(82),a=o(19),c=o(34);e.FeatureDataSource=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createOlSource=function(){var t={format:this.getSourceFormatFromOptions(this.options)};return new n.source.Vector(Object.assign(t,this.options))},e.prototype.generateId=function(){return this.options.url?s.Md5.hashStr("feature"+this.options.url):a.uuid()},e.prototype.getSourceFormatFromOptions=function(t){var e,o=t.formatType;if(o){if(void 0===(e=n.format[o]))throw new Error("Invalid vector source format ${formatType}.")}else e=n.format.GeoJSON;var r=t.formatOptions;return r?new e(r):new e},e}(c.DataSource)},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.MapService=function(){function t(){}return t.prototype.getMap=function(){return this.map},t.prototype.setMap=function(t){this.map=t},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(271)),r(o(890))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(282)),r(o(950)),r(o(292))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(929)),r(o(284))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(294)),r(o(959))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(984)),r(o(84)),r(o(324)),r(o(305)),r(o(306)),r(o(326))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1019)),r(o(313))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1029)),r(o(316))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1039)),r(o(320))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1066)),r(o(129)),r(o(329))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(330)),r(o(1068)),r(o(1069))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1073)),r(o(331))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(339)),r(o(1086))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1093)),r(o(133)),r(o(346))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1094))},function(t,e){t.exports=require("@angular/cdk/a11y")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(486)),r(o(494))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(29);e.AnalyticsService=function(){function t(t){this.config=t,this.options=this.config.getConfig("analytics")||{},"matomo"===this.options.provider&&this.initMatomo()}return t.prototype.initMatomo=function(){var t=this;this.options.url&&this.options.id&&(window._paq=window._paq||[],window._paq.push(["trackPageView"]),window._paq.push(["enableLinkTracking"]),function(){window._paq.push(["setTrackerUrl",t.options.url+"piwik.php"]),window._paq.push(["setSiteId",t.options.id]);var e=document.createElement("script"),o=document.getElementsByTagName("script")[0];e.type="text/javascript",e.async=!0,e.defer=!0,e.src=t.options.url+"piwik.js",o.parentNode.insertBefore(e,o)}())},t=r([n.Injectable(),i("design:paramtypes",[s.ConfigService])],t)}()},function(t,e,o){!function(t,e,o,r,i,n){"use strict";function s(t){return f({},d,t)}var a={alert:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0z" fill="none"/>\n            <path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/>\n        </svg>\n    ',error:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0V0z" fill="none"/>\n            <path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>\n        </svg>\n    ',info:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0z" fill="none"/>\n            <path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"/>\n        </svg>\n    ',success:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0z" fill="none"/>\n            <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/>\n        </svg>\n    ',warn:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" width="64" viewBox="0 0 64 64" height="64">\n          <circle cx="32.086" cy="50.142" r="2.256"/>\n          <path d="M30.08 25.012V42.32c0 1.107.897 2.005 2.006 2.005s2.006-.897 2.006-2.005V25.012c0-1.107-.897-2.006-2.006-2.006s-2.006.898-2.006 2.006z"/>\n          <path d="M63.766 59.234L33.856 3.082c-.697-1.308-2.844-1.308-3.54 0L.407 59.234c-.331.622-.312 1.372.051 1.975.362.605 1.015.975 1.72.975h59.816c.705 0 1.357-.369 1.721-.975.361-.603.381-1.353.051-1.975zM5.519 58.172L32.086 8.291l26.568 49.881H5.519z"/>\n        </svg>\n    '},c={Success:"success",Error:"error",Alert:"alert",Info:"info",Warn:"warn",Bare:"bare"},u=function(){function t(t){this.globalOptions=t,this.emitter=new r.Subject,this.icons=a}return t.prototype.set=function(t,o){return t.id=t.override&&t.override.id?t.override.id:Math.random().toString(36).substring(3),t.click=new e.EventEmitter,t.timeoutEnd=new e.EventEmitter,this.emitter.next({command:"set",notification:t,add:o}),t},t.prototype.success=function(t,e,o){return void 0===t&&(t=""),void 0===e&&(e=""),this.set({title:t,content:e||"",type:c.Success,icon:this.icons.success,override:o},!0)},t.prototype.error=function(t,e,o){return void 0===t&&(t=""),void 0===e&&(e=""),this.set({title:t,content:e||"",type:c.Error,icon:this.icons.error,override:o},!0)},t.prototype.alert=function(t,e,o){return void 0===t&&(t=""),void 0===e&&(e=""),this.set({title:t,content:e||"",type:c.Alert,icon:this.icons.alert,override:o},!0)},t.prototype.info=function(t,e,o){return void 0===t&&(t=""),void 0===e&&(e=""),this.set({title:t,content:e||"",type:c.Info,icon:this.icons.info,override:o},!0)},t.prototype.warn=function(t,e,o){return void 0===t&&(t=""),void 0===e&&(e=""),this.set({title:t,content:e||"",type:c.Warn,icon:this.icons.warn,override:o},!0)},t.prototype.bare=function(t,e,o){return void 0===t&&(t=""),void 0===e&&(e=""),this.set({title:t,content:e||"",type:c.Bare,icon:"bare",override:o},!0)},t.prototype.create=function(t,e,o,r){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===o&&(o=c.Success),this.set({title:t,content:e,type:o,icon:this.icons[o],override:r},!0)},t.prototype.html=function(t,e,o,r){return void 0===e&&(e=c.Success),void 0===r&&(r="bare"),this.set({html:t,type:e,icon:this.icons[r],override:o},!0)},t.prototype.remove=function(t){this.emitter.next(t?{command:"clean",id:t}:{command:"cleanAll"})},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:["options"]}]}]},t}(),p={Fade:"fade",FromTop:"fromTop",FromRight:"fromRight",FromBottom:"fromBottom",FromLeft:"fromLeft",Scale:"scale",Rotate:"rotate"},l=function(){function t(t,o){this.service=t,this.cdr=o,this.onCreate=new e.EventEmitter,this.onDestroy=new e.EventEmitter,this.notifications=[],this.position=["bottom","right"],this.lastOnBottom=!0,this.maxStack=8,this.preventLastDuplicates=!1,this.preventDuplicates=!1,this.timeOut=0,this.maxLength=0,this.clickToClose=!0,this.clickIconToClose=!1,this.showProgressBar=!0,this.pauseOnHover=!0,this.theClass="",this.rtl=!1,this.animate=p.FromRight,this._usingComponentOptions=!1}return Object.defineProperty(t.prototype,"options",{set:function(t){this._usingComponentOptions=!0,this.attachChanges(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._usingComponentOptions||this.attachChanges(this.service.globalOptions),this.listener=this.service.emitter.subscribe((function(e){switch(e.command){case"cleanAll":t.notifications=[];break;case"clean":t.cleanSingle(e.id);break;case"set":e.add?t.add(e.notification):t.defaultBehavior(e);break;default:t.defaultBehavior(e)}t.cdr.destroyed||t.cdr.detectChanges()}))},t.prototype.ngOnDestroy=function(){this.listener&&this.listener.unsubscribe(),this.cdr.detach()},t.prototype.defaultBehavior=function(t){this.notifications.splice(this.notifications.indexOf(t.notification),1),this.onDestroy.emit(this.buildEmit(t.notification,!1))},t.prototype.add=function(t){t.createdOn=new Date;var e=!(!this.preventLastDuplicates&&!this.preventDuplicates)&&this.block(t);this.lastNotificationCreated=t,t.override&&t.override.icons&&t.override.icons[t.type]&&(t.icon=t.override.icons[t.type]),e||(this.lastOnBottom?(this.notifications.length>=this.maxStack&&this.notifications.splice(0,1),this.notifications.push(t)):(this.notifications.length>=this.maxStack&&this.notifications.splice(this.notifications.length-1,1),this.notifications.splice(0,0,t)),this.onCreate.emit(this.buildEmit(t,!0)))},t.prototype.block=function(t){var e=t.html?this.checkHtml:this.checkStandard;if(this.preventDuplicates&&this.notifications.length>0)for(var o=0;o<this.notifications.length;o++)if(e(this.notifications[o],t))return!0;if(this.preventLastDuplicates){var r=void 0;if("visible"===this.preventLastDuplicates&&this.notifications.length>0)r=this.lastOnBottom?this.notifications[this.notifications.length-1]:this.notifications[0];else{if("all"!==this.preventLastDuplicates||!this.lastNotificationCreated)return!1;r=this.lastNotificationCreated}return e(r,t)}return!1},t.prototype.checkStandard=function(t,e){return t.type===e.type&&t.title===e.title&&t.content===e.content},t.prototype.checkHtml=function(t,e){return!!t.html&&t.type===e.type&&t.title===e.title&&t.content===e.content&&t.html===e.html},t.prototype.attachChanges=function(t){for(var e in t)this.hasOwnProperty(e)?this[e]=t[e]:"icons"===e&&(this.service.icons=t[e])},t.prototype.buildEmit=function(t,e){var o={createdOn:t.createdOn,type:t.type,icon:t.icon,id:t.id};return t.html?o.html=t.html:(o.title=t.title,o.content=t.content),e||(o.destroyedOn=new Date),o},t.prototype.cleanSingle=function(t){var e,o=0,r=!1;this.notifications.forEach((function(i,n){i.id===t&&(o=n,e=i,r=!0)})),r&&(this.notifications.splice(o,1),this.onDestroy.emit(this.buildEmit(e,!1)))},t.decorators=[{type:e.Component,args:[{selector:"simple-notifications",encapsulation:e.ViewEncapsulation.None,template:'<div class="simple-notification-wrapper" [ngClass]="position"> <simple-notification *ngFor="let a of notifications; let i = index" [item]="a" [timeOut]="timeOut" [clickToClose]="clickToClose" [clickIconToClose]="clickIconToClose" [maxLength]="maxLength" [showProgressBar]="showProgressBar" [pauseOnHover]="pauseOnHover" [theClass]="theClass" [rtl]="rtl" [animate]="animate" [position]="i"> </simple-notification> </div>',styles:[".simple-notification-wrapper { position: fixed; width: 300px; z-index: 1000; } .simple-notification-wrapper.left { left: 20px; } .simple-notification-wrapper.top { top: 20px; } .simple-notification-wrapper.right { right: 20px; } .simple-notification-wrapper.bottom { bottom: 20px; } .simple-notification-wrapper.center { left: 50%; transform: translateX(-50%); } .simple-notification-wrapper.middle { top: 50%; transform: translateY(-50%); } .simple-notification-wrapper.middle.center { transform: translate(-50%, -50%); } @media (max-width: 340px) { .simple-notification-wrapper { width: auto; left: 20px; right: 20px; } }"],changeDetection:e.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:u},{type:e.ChangeDetectorRef}]},t.propDecorators={options:[{type:e.Input}],onCreate:[{type:e.Output}],onDestroy:[{type:e.Output}]},t}(),h=function(){function t(t,e,o,r){var i=this;this.notificationService=t,this.domSanitizer=e,this.cdr=o,this.zone=r,this.titleIsTemplate=!1,this.contentIsTemplate=!1,this.htmlIsTemplate=!1,this.progressWidth=0,this.stopTime=!1,this.framesPerSecond=40,this.instance=function(){var t=(new Date).getTime();i.endTime<t?(i.remove(),i.item.timeoutEnd.emit()):i.stopTime||(i.showProgressBar&&(i.progressWidth=Math.min(100*(t-i.startTime+i.sleepTime)/i.timeOut,100)),i.timer=setTimeout(i.instance,i.sleepTime)),i.zone.run((function(){i.cdr.destroyed||i.cdr.detectChanges()}))}}return t.prototype.ngOnInit=function(){this.item.override&&this.attachOverrides(),this.animate&&(this.item.state=this.animate),0!==this.timeOut&&this.startTimeOut(),this.contentType(this.item.title,"title"),this.contentType(this.item.content,"content"),this.contentType(this.item.html,"html"),this.safeSvg=this.domSanitizer.bypassSecurityTrustHtml(this.icon||this.item.icon),this.safeInputHtml=this.domSanitizer.bypassSecurityTrustHtml(this.item.html)},t.prototype.ngOnDestroy=function(){clearTimeout(this.timer),this.cdr.detach()},t.prototype.startTimeOut=function(){var t=this;this.sleepTime=1e3/this.framesPerSecond,this.startTime=(new Date).getTime(),this.endTime=this.startTime+this.timeOut,this.zone.runOutsideAngular((function(){return t.timer=setTimeout(t.instance,t.sleepTime)}))},t.prototype.onEnter=function(){this.pauseOnHover&&(this.stopTime=!0)},t.prototype.onLeave=function(){var t=this;this.pauseOnHover&&(this.stopTime=!1,this.zone.runOutsideAngular((function(){return setTimeout(t.instance,t.sleepTime)})))},t.prototype.onClick=function(t){this.item.click.emit(t),this.clickToClose&&this.remove()},t.prototype.onClickIcon=function(t){this.item.clickIcon.emit(t),this.clickIconToClose&&this.remove()},t.prototype.attachOverrides=function(){var t=this;Object.keys(this.item.override).forEach((function(e){t.hasOwnProperty(e)&&(t[e]=t.item.override[e])}))},t.prototype.remove=function(){var t=this;this.animate?(this.item.state=this.animate+"Out",setTimeout((function(){t.notificationService.set(t.item,!1)}),310)):this.notificationService.set(this.item,!1)},t.prototype.contentType=function(t,o){this[o]=t instanceof e.TemplateRef?t:this.domSanitizer.bypassSecurityTrustHtml(t),this[o+"IsTemplate"]=t instanceof e.TemplateRef},t.decorators=[{type:e.Component,args:[{selector:"simple-notification",encapsulation:e.ViewEncapsulation.None,animations:[i.trigger("enterLeave",[i.state("fade",i.style({opacity:1})),i.transition("* => fade",[i.style({opacity:0}),i.animate("400ms ease-in-out")]),i.state("fadeOut",i.style({opacity:0})),i.transition("fade => fadeOut",[i.style({opacity:1}),i.animate("300ms ease-in-out")]),i.state("fromTop",i.style({opacity:1,transform:"translateY(0)"})),i.transition("* => fromTop",[i.style({opacity:0,transform:"translateY(-5%)"}),i.animate("400ms ease-in-out")]),i.state("fromTopOut",i.style({opacity:0,transform:"translateY(5%)"})),i.transition("fromTop => fromTopOut",[i.style({opacity:1,transform:"translateY(0)"}),i.animate("300ms ease-in-out")]),i.state("fromRight",i.style({opacity:1,transform:"translateX(0)"})),i.transition("* => fromRight",[i.style({opacity:0,transform:"translateX(5%)"}),i.animate("400ms ease-in-out")]),i.state("fromRightOut",i.style({opacity:0,transform:"translateX(-5%)"})),i.transition("fromRight => fromRightOut",[i.style({opacity:1,transform:"translateX(0)"}),i.animate("300ms ease-in-out")]),i.state("fromBottom",i.style({opacity:1,transform:"translateY(0)"})),i.transition("* => fromBottom",[i.style({opacity:0,transform:"translateY(5%)"}),i.animate("400ms ease-in-out")]),i.state("fromBottomOut",i.style({opacity:0,transform:"translateY(-5%)"})),i.transition("fromBottom => fromBottomOut",[i.style({opacity:1,transform:"translateY(0)"}),i.animate("300ms ease-in-out")]),i.state("fromLeft",i.style({opacity:1,transform:"translateX(0)"})),i.transition("* => fromLeft",[i.style({opacity:0,transform:"translateX(-5%)"}),i.animate("400ms ease-in-out")]),i.state("fromLeftOut",i.style({opacity:0,transform:"translateX(5%)"})),i.transition("fromLeft => fromLeftOut",[i.style({opacity:1,transform:"translateX(0)"}),i.animate("300ms ease-in-out")]),i.state("scale",i.style({opacity:1,transform:"scale(1)"})),i.transition("* => scale",[i.style({opacity:0,transform:"scale(0)"}),i.animate("400ms ease-in-out")]),i.state("scaleOut",i.style({opacity:0,transform:"scale(0)"})),i.transition("scale => scaleOut",[i.style({opacity:1,transform:"scale(1)"}),i.animate("400ms ease-in-out")]),i.state("rotate",i.style({opacity:1,transform:"rotate(0deg)"})),i.transition("* => rotate",[i.style({opacity:0,transform:"rotate(5deg)"}),i.animate("400ms ease-in-out")]),i.state("rotateOut",i.style({opacity:0,transform:"rotate(-5deg)"})),i.transition("rotate => rotateOut",[i.style({opacity:1,transform:"rotate(0deg)"}),i.animate("400ms ease-in-out")])])],template:'<div class="simple-notification" [@enterLeave]="item.state" (click)="onClick($event)" [class]="theClass" [ngClass]="{ \'alert\': item.type === \'alert\', \'error\': item.type === \'error\', \'warn\': item.type === \'warn\', \'success\': item.type === \'success\', \'info\': item.type === \'info\', \'bare\': item.type === \'bare\', \'rtl-mode\': rtl, \'has-icon\': item.icon !== \'bare\' }" (mouseenter)="onEnter()" (mouseleave)="onLeave()"> <div *ngIf="!item.html"> <div class="sn-title" *ngIf="titleIsTemplate; else regularTitle"> <ng-container *ngTemplateOutlet="title"></ng-container> </div> <ng-template #regularTitle> <div class="sn-title" [innerHTML]="title"></div> </ng-template> <div class="sn-content" *ngIf="contentIsTemplate else regularContent"> <ng-container *ngTemplateOutlet="content"></ng-container> </div> <ng-template #regularContent> <div class="sn-content" [innerHTML]="content"></div> </ng-template> <div class="icon" *ngIf="item.icon !== \'bare\'" [innerHTML]="safeSvg"></div> </div> <div *ngIf="item.html"> <div class="sn-html" *ngIf="htmlIsTemplate; else regularHtml"> <ng-container *ngTemplateOutlet="item.html"></ng-container> </div> <ng-template #regularHtml> <div class="sn-content" [innerHTML]="safeInputHtml"></div> </ng-template> <div class="icon" [class.icon-hover]="clickIconToClose" *ngIf="item.icon" [innerHTML]="safeSvg" (click)="onClickIcon($event)"></div> </div> <div class="sn-progress-loader" *ngIf="showProgressBar"> <span [ngStyle]="{\'width\': progressWidth + \'%\'}"></span> </div> </div> ',styles:[".simple-notification { width: 100%; padding: 10px 20px; box-sizing: border-box; position: relative; float: left; margin-bottom: 10px; color: #fff; cursor: pointer; transition: all 0.5s; min-height: 70px; } .simple-notification .sn-title, .simple-notification .sn-content, .simple-notification .sn-html { margin: 0; } .simple-notification .sn-title { line-height: 30px; font-size: 20px; } .simple-notification .sn-content { font-size: 16px; line-height: 20px; } .simple-notification.has-icon .sn-title, .simple-notification.has-icon .sn-content, .simple-notification.has-icon .sn-html { padding: 0 50px 0 0; } .simple-notification .icon { position: absolute; box-sizing: border-box; top: 0; right: 0; width: 70px; height: 70px; padding: 10px; } .simple-notification .icon.icon-hover:hover { opacity: 0.5; } .simple-notification .icon svg { fill: #fff; width: 100%; height: 100%; } .simple-notification .icon svg g { fill: #fff; } .simple-notification.rtl-mode.has-icon .sn-title, .simple-notification.rtl-mode.has-icon .sn-content, .simple-notification.rtl-mode.has-icon .sn-html { padding: 0 0 0 50px; } .simple-notification.rtl-mode { direction: rtl; } .simple-notification.rtl-mode .sn-content { padding: 0 0 0 50px; } .simple-notification.rtl-mode svg { left: 0; right: auto; } .simple-notification.error { background: #F44336; } .simple-notification.success { background: #8BC34A; } .simple-notification.alert { background: #ffdb5b; } .simple-notification.info { background: #03A9F4; } .simple-notification.warn { background: #ffdb5b; } .simple-notification .sn-progress-loader { position: absolute; top: 0; left: 0; width: 100%; height: 5px; } .simple-notification .sn-progress-loader span { float: left; height: 100%; } .simple-notification.success .sn-progress-loader span { background: #689F38; } .simple-notification.error .sn-progress-loader span { background: #D32F2F; } .simple-notification.alert .sn-progress-loader span { background: #edc242; } .simple-notification.info .sn-progress-loader span { background: #0288D1; } .simple-notification.warn .sn-progress-loader span { background: #edc242; } .simple-notification.bare .sn-progress-loader span { background: #ccc; } .simple-notification.warn div .sn-title, .simple-notification.warn div .sn-content, .simple-notification.warn div .sn-html { color: #444; }"],changeDetection:e.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:u},{type:n.DomSanitizer},{type:e.ChangeDetectorRef},{type:e.NgZone}]},t.propDecorators={timeOut:[{type:e.Input}],showProgressBar:[{type:e.Input}],pauseOnHover:[{type:e.Input}],clickToClose:[{type:e.Input}],clickIconToClose:[{type:e.Input}],maxLength:[{type:e.Input}],theClass:[{type:e.Input}],rtl:[{type:e.Input}],animate:[{type:e.Input}],position:[{type:e.Input}],item:[{type:e.Input}]},t}(),d={position:["bottom","right"],timeOut:0,showProgressBar:!0,pauseOnHover:!0,lastOnBottom:!0,clickToClose:!0,clickIconToClose:!1,maxLength:0,maxStack:8,preventDuplicates:!1,preventLastDuplicates:!1,theClass:"",rtl:!1,animate:p.FromRight,icons:a},f=Object.assign||function(t){for(var e,o=1,r=arguments.length;o<r;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},y=new e.InjectionToken("options"),m=function(){function t(){}return t.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[u,{provide:y,useValue:e},{provide:"options",useFactory:s,deps:[y]}]}},t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule],declarations:[l,h],exports:[l]}]}],t}();t.OPTIONS=y,t.optionsFactory=s,t.SimpleNotificationsModule=m,t.NotificationComponent=h,t.SimpleNotificationsComponent=l,t.NotificationsService=u,t.NotificationType=c,t.NotificationAnimationType=p,Object.defineProperty(t,"__esModule",{value:!0})}(e,o(0),o(59),o(500),o(51),o(87))},function(t,e,o){"use strict";e.isObject=function(t){return null!=t&&"object"==typeof t}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)};e.UnsubscriptionError=function(t){function e(e){t.call(this),this.errors=e;var o=Error.call(this,e?e.length+" errors occurred during unsubscription:\n  "+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"");this.name=o.name="UnsubscriptionError",this.stack=o.stack,this.message=o.message}return r(e,t),e}(Error)},function(t,e,o){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(15);e.SubjectSubscription=function(t){function e(e,o){t.call(this),this.subject=e,this.subscriber=o,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var o=e.indexOf(this.subscriber);-1!==o&&e.splice(o,1)}}},e}(i.Subscription)},function(t,e,o){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,o){"use strict";e.isPromise=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},function(t,e,o){"use strict";e.of=o(30).ArrayObservable.of},function(t,e,o){"use strict";e.from=o(146).FromObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(25),n=o(142),s=o(143),a=o(147),c=o(512),u=o(30),p=o(513),l=o(41),h=o(1),d=o(71),f=o(67);e.FromObservable=function(t){function e(e,o){t.call(this,null),this.ish=e,this.scheduler=o}return r(e,t),e.create=function(t,o){if(null!=t){if("function"==typeof t[f.observable])return t instanceof h.Observable&&!o?t:new e(t,o);if(i.isArray(t))return new u.ArrayObservable(t,o);if(s.isPromise(t))return new a.PromiseObservable(t,o);if("function"==typeof t[l.iterator]||"string"==typeof t)return new c.IteratorObservable(t,o);if(n.isArrayLike(t))return new p.ArrayLikeObservable(t,o)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,o=this.scheduler;return null==o?e[f.observable]().subscribe(t):e[f.observable]().subscribe(new d.ObserveOnSubscriber(t,o,0))},e}(h.Observable)},function(t,e,o){"use strict";function r(t){var e=t.value,o=t.subscriber;o.closed||(o.next(e),o.complete())}function i(t){var e=t.err,o=t.subscriber;o.closed||o.error(e)}var n=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},s=o(20),a=o(1);e.PromiseObservable=function(t){function e(e,o){t.call(this),this.promise=e,this.scheduler=o}return n(e,t),e.create=function(t,o){return new e(t,o)},e.prototype._subscribe=function(t){var e=this,o=this.promise,n=this.scheduler;if(null==n)this._isScalar?t.closed||(t.next(this.value),t.complete()):o.then((function(o){e.value=o,e._isScalar=!0,t.closed||(t.next(o),t.complete())}),(function(e){t.closed||t.error(e)})).then(null,(function(t){s.root.setTimeout((function(){throw t}))}));else if(this._isScalar){if(!t.closed)return n.schedule(r,0,{value:this.value,subscriber:t})}else o.then((function(o){e.value=o,e._isScalar=!0,t.closed||t.add(n.schedule(r,0,{value:o,subscriber:t}))}),(function(e){t.closed||t.add(n.schedule(i,0,{err:e,subscriber:t}))})).then(null,(function(t){s.root.setTimeout((function(){throw t}))}))},e}(a.Observable)},function(t,e,o){"use strict";e.identity=function(t){return t}},function(t,e,o){"use strict";e.timer=o(563).TimerObservable.create},function(t,e,o){"use strict";function r(){if(h.root.XMLHttpRequest)return new h.root.XMLHttpRequest;if(h.root.XDomainRequest)return new h.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function i(t,e){return void 0===e&&(e=null),new b({method:"GET",url:t,headers:e})}function n(t,e,o){return new b({method:"POST",url:t,body:e,headers:o})}function s(t,e){return new b({method:"DELETE",url:t,headers:e})}function a(t,e,o){return new b({method:"PUT",url:t,body:e,headers:o})}function c(t,e,o){return new b({method:"PATCH",url:t,body:e,headers:o})}function u(t,e){return v(new b({method:"GET",url:t,responseType:"json",headers:e}))}function p(t,e){switch(t){case"json":return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");case"xml":return e.responseXML;default:return"response"in e?e.response:e.responseText}}var l=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},h=o(20),d=o(18),f=o(17),y=o(1),m=o(4),g=o(48);e.ajaxGet=i,e.ajaxPost=n,e.ajaxDelete=s,e.ajaxPut=a,e.ajaxPatch=c;var v=g.map((function(t,e){return t.response}));e.ajaxGetJSON=u;var b=function(t){function e(e){t.call(this);var o={async:!0,createXHR:function(){return this.crossDomain?r.call(this):function(){if(h.root.XMLHttpRequest)return new h.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],o=0;o<3;o++)try{if(t=e[o],new h.root.ActiveXObject(t))break}catch(t){}return new h.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)o.url=e;else for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);this.request=o}var o;return l(e,t),e.prototype._subscribe=function(t){return new _(t,this.request)},e.create=((o=function(t){return new e(t)}).get=i,o.post=n,o.delete=s,o.put=a,o.patch=c,o.getJSON=u,o),e}(y.Observable);e.AjaxObservable=b;var _=function(t){function e(e,o){t.call(this,e),this.request=o,this.done=!1;var r=o.headers=o.headers||{};o.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||h.root.FormData&&o.body instanceof h.root.FormData||void 0===o.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),o.body=this.serializeBody(o.body,o.headers["Content-Type"]),this.send()}return l(e,t),e.prototype.next=function(t){this.done=!0;var e=this;e.destination.next(new w(t,e.xhr,e.request))},e.prototype.send=function(){var t=this.request,e=this.request,o=e.user,r=e.method,i=e.url,n=e.async,s=e.password,a=e.headers,c=e.body,u=t.createXHR,p=d.tryCatch(u).call(t);if(p===f.errorObject)this.error(f.errorObject.e);else{this.xhr=p,this.setupEvents(p,t);if((o?d.tryCatch(p.open).call(p,r,i,n,o,s):d.tryCatch(p.open).call(p,r,i,n))===f.errorObject)return this.error(f.errorObject.e),null;if(n&&(p.timeout=t.timeout,p.responseType=t.responseType),"withCredentials"in p&&(p.withCredentials=!!t.withCredentials),this.setHeaders(p,a),(c?d.tryCatch(p.send).call(p,c):d.tryCatch(p.send).call(p))===f.errorObject)return this.error(f.errorObject.e),null}return p},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(h.root.FormData&&t instanceof h.root.FormData)return t;if(e){var o=e.indexOf(";");-1!==o&&(e=e.substring(0,o))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var o in e)e.hasOwnProperty(o)&&t.setRequestHeader(o,e[o])},e.prototype.setupEvents=function(t,e){function o(t){var e=o,r=e.subscriber,i=e.progressSubscriber,n=e.request;i&&i.error(t),r.error(new S(this,n))}function r(t){var e=r,o=e.subscriber,i=e.progressSubscriber,n=e.request;if(4===this.readyState){var s=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=a?200:0),200<=s&&s<300?(i&&i.complete(),o.next(t),o.complete()):(i&&i.error(t),o.error(new M("ajax error "+s,this,n)))}}var i=e.progressSubscriber;if(t.ontimeout=o,o.request=e,o.subscriber=this,o.progressSubscriber=i,t.upload&&"withCredentials"in t){var n,s;if(i)n=function(t){n.progressSubscriber.next(t)},h.root.XDomainRequest?t.onprogress=n:t.upload.onprogress=n,n.progressSubscriber=i;s=function(t){var e=s,o=e.progressSubscriber,r=e.subscriber,i=e.request;o&&o.error(t),r.error(new M("ajax error",this,i))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=i}t.onreadystatechange=r,r.subscriber=this,r.progressSubscriber=i,r.request=e},e.prototype.unsubscribe=function(){var e=this.done,o=this.xhr;!e&&o&&4!==o.readyState&&"function"==typeof o.abort&&o.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);e.AjaxSubscriber=_;var w=function(t,e,o){this.originalEvent=t,this.xhr=e,this.request=o,this.status=e.status,this.responseType=e.responseType||o.responseType,this.response=p(this.responseType,e)};e.AjaxResponse=w;var M=function(t){function e(e,o,r){t.call(this,e),this.message=e,this.xhr=o,this.request=r,this.status=o.status,this.responseType=o.responseType||r.responseType,this.response=p(this.responseType,o)}return l(e,t),e}(Error);e.AjaxError=M;var S=function(t){function e(e,o){t.call(this,"ajax timeout",e,o)}return l(e,t),e}(M);e.AjaxTimeoutError=S},function(t,e,o){"use strict";var r=o(571);e.queue=new(o(572).QueueScheduler)(r.QueueAction)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.buffer=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.closingNotifier))},t}(),a=function(t){function e(e,o){t.call(this,e),this.buffer=[],this.add(n.subscribeToResult(this,o))}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,o,r,i){var n=this.buffer;this.buffer=[],this.destination.next(n)},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.bufferCount=function(t,e){return void 0===e&&(e=null),function(o){return o.lift(new n(t,e))}};var n=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?a:s}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),s=function(t){function e(e,o){t.call(this,e),this.bufferSize=o,this.buffer=[]}return r(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(i.Subscriber),a=function(t){function e(e,o,r){t.call(this,e),this.bufferSize=o,this.startBufferEvery=r,this.buffers=[],this.count=0}return r(e,t),e.prototype._next=function(t){var e=this,o=e.bufferSize,r=e.startBufferEvery,i=e.buffers,n=e.count;this.count++,n%r==0&&i.push([]);for(var s=i.length;s--;){var a=i[s];a.push(t),a.length===o&&(i.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this.buffers,o=this.destination;e.length>0;){var r=e.shift();r.length>0&&o.next(r)}t.prototype._complete.call(this)},e}(i.Subscriber)},function(t,e,o){"use strict";function r(t){var e=t.subscriber,o=t.context;o&&e.closeContext(o),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function i(t){var e=t.bufferCreationInterval,o=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,s=r.openContext();r.closed||(r.add(s.closeAction=i.schedule(n,o,{subscriber:r,context:s})),this.schedule(t,e))}function n(t){t.subscriber.closeContext(t.context)}var s=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},a=o(9),c=o(4),u=o(23);e.bufferTime=function(t){var e=arguments.length,o=a.async;u.isScheduler(arguments[arguments.length-1])&&(o=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new p(t,r,i,o))}};var p=function(){function t(t,e,o,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=o,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),l=function(){this.buffer=[]},h=function(t){function e(e,o,s,a,c){t.call(this,e),this.bufferTimeSpan=o,this.bufferCreationInterval=s,this.maxBufferSize=a,this.scheduler=c,this.contexts=[];var u=this.openContext();if(this.timespanOnly=null==s||s<0,this.timespanOnly)this.add(u.closeAction=c.schedule(r,o,{subscriber:this,context:u,bufferTimeSpan:o}));else{var p={subscriber:this,context:u},l={bufferTimeSpan:o,bufferCreationInterval:s,subscriber:this,scheduler:c};this.add(u.closeAction=c.schedule(n,o,p)),this.add(c.schedule(i,s,l))}}return s(e,t),e.prototype._next=function(t){for(var e,o=this.contexts,r=o.length,i=0;i<r;i++){var n=o[i],s=n.buffer;s.push(t),s.length==this.maxBufferSize&&(e=n)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,o=this.destination;e.length>0;)o.next(e.shift().buffer);t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var o=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(r,o,{subscriber:this,context:t,bufferTimeSpan:o}))}},e.prototype.openContext=function(){var t=new l;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(c.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(15),n=o(8),s=o(7);e.bufferToggle=function(t,e){return function(o){return o.lift(new a(t,e))}};var a=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.openings,this.closingSelector))},t}(),c=function(t){function e(e,o,r){t.call(this,e),this.openings=o,this.closingSelector=r,this.contexts=[],this.add(n.subscribeToResult(this,o))}return r(e,t),e.prototype._next=function(t){for(var e=this.contexts,o=e.length,r=0;r<o;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var o=this.contexts;o.length>0;){var r=o.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var o=e.shift();this.destination.next(o.buffer),o.subscription.unsubscribe(),o.buffer=null,o.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,o,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var o=t.buffer,r=t.subscription;this.destination.next(o),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,o=new i.Subscription,r={buffer:[],subscription:o};e.push(r);var s=n.subscribeToResult(this,t,r);!s||s.closed?this.closeBuffer(r):(s.context=r,this.add(s),o.add(s))},e}(s.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(15),n=o(18),s=o(17),a=o(7),c=o(8);e.bufferWhen=function(t){return function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingSelector))},t}(),p=function(t){function e(e,o){t.call(this,e),this.closingSelector=o,this.subscribing=!1,this.openBuffer()}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,o,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var o=n.tryCatch(this.closingSelector)();o===s.errorObject?this.error(s.errorObject.e):(t=new i.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(c.subscribeToResult(this,o)),this.subscribing=!1)},e}(a.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.catchError=function(t){return function(e){var o=new s(t);return o.caught=e.lift(o)}};var s=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.selector,this.caught))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.selector=o,this.caught=r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var o=void 0;try{o=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(n.subscribeToResult(this,o))}},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=o(70);e.combineAll=function(t){return function(e){return e.lift(new r.CombineLatestOperator(t))}}},function(t,e,o){"use strict";var r=o(42);e.concatStatic=o(42).concat,e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.concat.apply(void 0,[e].concat(t)))}}},function(t,e,o){"use strict";var r=o(98);e.concatMapTo=function(t,e){return r.concatMap((function(){return t}),e)}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.count=function(t){return function(e){return e.lift(new n(t,e))}};var n=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source))},t}(),s=function(t){function e(e,o,r){t.call(this,e),this.predicate=o,this.source=r,this.count=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.dematerialize=function(){return function(t){return t.lift(new n)}};var n=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.debounce=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector))},t}(),a=function(t){function e(e,o){t.call(this,e),this.durationSelector=o,this.hasValue=!1,this.durationSubscription=null}return r(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var o=this.durationSubscription;this.value=t,this.hasValue=!0,o&&(o.unsubscribe(),this.remove(o)),(o=n.subscribeToResult(this,e)).closed||this.add(this.durationSubscription=o)},e.prototype.notifyNext=function(t,e,o,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,o=this.durationSubscription;o&&(this.durationSubscription=null,o.unsubscribe(),this.remove(o)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.OuterSubscriber)},function(t,e,o){"use strict";function r(t){t.debouncedNext()}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(4),s=o(9);e.debounceTime=function(t,e){return void 0===e&&(e=s.async),function(o){return o.lift(new a(t,e))}};var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,o,r){t.call(this,e),this.dueTime=o,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(r,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(n.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(9),n=o(74),s=o(4),a=o(43);e.delay=function(t,e){void 0===e&&(e=i.async);var o=n.isDate(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new c(o,e))}};var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.delay,this.scheduler))},t}(),u=function(t){function e(e,o,r){t.call(this,e),this.delay=o,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return r(e,t),e.dispatch=function(t){for(var e=t.source,o=e.queue,r=t.scheduler,i=t.destination;o.length>0&&o[0].time-r.now()<=0;)o.shift().notification.observe(i);o.length>0?this.schedule(t,Math.max(0,o[0].time-r.now())):(this.unsubscribe(),e.active=!1)},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler;this.queue.push(new p(e.now()+this.delay,t)),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(a.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(a.Notification.createComplete())},e}(s.Subscriber),p=function(t,e){this.time=t,this.notification=e}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(1),s=o(7),a=o(8);e.delayWhen=function(t,e){return e?function(o){return new p(o,e).lift(new c(t))}:function(e){return e.lift(new c(t))}};var c=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.delayDurationSelector))},t}(),u=function(t){function e(e,o){t.call(this,e),this.delayDurationSelector=o,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),o=null;return-1!==e&&(o=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),o},e.prototype.tryDelay=function(t,e){var o=a.subscribeToResult(this,t,e);o&&!o.closed&&(this.add(o),this.delayNotifierSubscriptions.push(o)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(s.OuterSubscriber),p=function(t){function e(e,o){t.call(this),this.source=e,this.subscriptionDelay=o}return r(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new l(t,this.source))},e}(n.Observable),l=function(t){function e(e,o){t.call(this),this.parent=e,this.source=o,this.sourceSubscribed=!1}return r(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8),s=o(614);e.distinct=function(t,e){return function(o){return o.lift(new a(t,e))}};var a=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.keySelector,this.flushes))},t}(),c=function(t){function e(e,o,r){t.call(this,e),this.keySelector=o,this.values=new s.Set,r&&this.add(n.subscribeToResult(this,r))}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,o=this.destination;try{e=this.keySelector(t)}catch(t){return void o.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var o=this.values;o.has(t)||(o.add(t),this.destination.next(e))},e}(i.OuterSubscriber);e.DistinctSubscriber=c},function(t,e,o){"use strict";var r=o(100);e.distinctUntilKeyChanged=function(t,e){return r.distinctUntilChanged((function(o,r){return e?e(o[t],r[t]):o[t]===r[t]}))}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.tap=function(t,e,o){return function(r){return r.lift(new n(t,e,o))}};var n=function(){function t(t,e,o){this.nextOrObserver=t,this.error=e,this.complete=o}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,o,r,n){t.call(this,e);var s=new i.Subscriber(o,r,n);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return r(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),this.destination.error(e.syncErrorThrown?e.syncErrorValue:t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.exhaust=function(){return function(t){return t.lift(new s)}};var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return r(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(n.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.exhaustMap=function(t,e){return function(o){return o.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.project=o,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return r(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,o=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(n.subscribeToResult(this,r,t,e))}catch(t){o.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,o,r,i){var n=this.resultSelector,s=this.destination;n?this.trySelectResult(t,e,o,r):s.next(e)},e.prototype.trySelectResult=function(t,e,o,r){var i=this.resultSelector,n=this.destination;try{var s=i(t,e,o,r);n.next(s)}catch(t){n.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(18),n=o(17),s=o(7),a=o(8);e.expand=function(t,e,o){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===o&&(o=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new c(t,e,o))}};var c=function(){function t(t,e,o){this.project=t,this.concurrent=e,this.scheduler=o}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=c;var u=function(t){function e(e,o,r,i){t.call(this,e),this.project=o,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(this.buffer=[])}return r(e,t),e.dispatch=function(t){t.subscriber.subscribeToProjection(t.result,t.value,t.index)},e.prototype._next=function(t){var o=this.destination;if(o.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){o.next(t);var s=i.tryCatch(this.project)(t,r);if(s===n.errorObject)o.error(n.errorObject.e);else if(this.scheduler){var a={subscriber:this,result:s,value:t,index:r};this.add(this.scheduler.schedule(e.dispatch,0,a))}else this.subscribeToProjection(s,t,r)}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,o){this.active++,this.add(a.subscribeToResult(this,t,e,o))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,o,r,i){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(s.OuterSubscriber);e.ExpandSubscriber=u},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(49);e.elementAt=function(t,e){return function(o){return o.lift(new s(t,e))}};var s=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new n.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.index,this.defaultValue))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.index=o,this.defaultValue=r}return r(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new n.ArgumentOutOfRangeError)),t.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(15);e.finalize=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,o){t.call(this,e),this.add(new n.Subscription(o))}return r(e,t),e}(i.Subscriber)},function(t,e,o){"use strict";var r=o(102);e.findIndex=function(t,e){return function(o){return o.lift(new r.FindValueOperator(t,o,!0,e))}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(77);e.first=function(t,e,o){return function(r){return r.lift(new s(t,e,o,r))}};var s=function(){function t(t,e,o,r){this.predicate=t,this.resultSelector=e,this.defaultValue=o,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),a=function(t){function e(e,o,r,i,n){t.call(this,e),this.predicate=o,this.resultSelector=r,this.defaultValue=i,this.source=n,this.index=0,this.hasCompleted=!1,this._emitted=!1}return r(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var o;try{o=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}o&&this._emit(t,e)},e.prototype._emit=function(t,e){this.resultSelector?this._tryResultSelector(t,e):this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var o;try{o=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(o)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new n.EmptyError):(t.next(this.defaultValue),t.complete())},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(15),s=o(1),a=o(16),c=o(641),u=o(643);e.groupBy=function(t,e,o,r){return function(i){return i.lift(new p(t,e,o,r))}};var p=function(){function t(t,e,o,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=o,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,o,r,i,n){t.call(this,e),this.keySelector=o,this.elementSelector=r,this.durationSelector=i,this.subjectSelector=n,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var o=this.groups;o||(o=this.groups="string"==typeof e?new u.FastMap:new c.Map);var r,i=o.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i&&(i=this.subjectSelector?this.subjectSelector():new a.Subject,o.set(e,i),this.destination.next(new d(e,i,this)),this.durationSelector)){var n=void 0;try{n=this.durationSelector(new d(e,i))}catch(t){return void this.error(t)}this.add(n.subscribe(new h(e,i,this)))}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,o){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.Subscriber),h=function(t){function e(e,o,r){t.call(this,o),this.key=e,this.group=o,this.parent=r}return r(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.Subscriber),d=function(t){function e(e,o,r){t.call(this),this.key=e,this.groupSubject=o,this.refCountSubscription=r}return r(e,t),e.prototype._subscribe=function(t){var e=new n.Subscription,o=this.refCountSubscription,r=this.groupSubject;return o&&!o.closed&&e.add(new f(o)),e.add(r.subscribe(t)),e},e}(s.Observable);e.GroupedObservable=d;var f=function(t){function e(e){t.call(this),this.parent=e,e.count++}return r(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(n.Subscription)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(93);e.ignoreElements=function(){return function(t){return t.lift(new s)}};var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype._next=function(t){n.noop()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.isEmpty=function(){return function(t){return t.lift(new n)}};var n=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=o(9),i=o(103),n=o(149);e.auditTime=function(t,e){return void 0===e&&(e=r.async),i.audit((function(){return n.timer(t,e)}))}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(77);e.last=function(t,e,o){return function(r){return r.lift(new s(t,e,o,r))}};var s=function(){function t(t,e,o,r){this.predicate=t,this.resultSelector=e,this.defaultValue=o,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),a=function(t){function e(e,o,r,i,n){t.call(this,e),this.predicate=o,this.resultSelector=r,this.defaultValue=i,this.source=n,this.hasValue=!1,this.index=0,void 0!==i&&(this.lastValue=i,this.hasValue=!0)}return r(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var o;try{o=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(o){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var o;try{o=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=o,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new n.EmptyError)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.every=function(t,e){return function(o){return o.lift(new n(t,e,o))}};var n=function(){function t(t,e,o){this.predicate=t,this.thisArg=e,this.source=o}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg,this.source))},t}(),s=function(t){function e(e,o,r,i){t.call(this,e),this.predicate=o,this.thisArg=r,this.source=i,this.index=0,this.thisArg=r||this}return r(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.mapTo=function(t){return function(e){return e.lift(new n(t))}};var n=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.value))},t}(),s=function(t){function e(e,o){t.call(this,e),this.value=o}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(43);e.materialize=function(){return function(t){return t.lift(new s)}};var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){this.destination.next(n.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(n.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(n.Notification.createComplete()),t.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";var r=o(50);e.max=function(t){return r.reduce("function"==typeof t?function(e,o){return t(e,o)>0?e:o}:function(t,e){return t>e?t:e})}},function(t,e,o){"use strict";var r=o(73);e.mergeStatic=o(73).merge,e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.merge.apply(void 0,[e].concat(t)))}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.mergeMapTo=function(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),"number"==typeof e&&(o=e,e=null),function(r){return r.lift(new s(t,e,o))}};var s=function(){function t(t,e,o){void 0===o&&(o=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=o}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=s;var a=function(t){function e(e,o,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=o,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,o=this.index++,r=this.ish,i=this.destination;this.active++,this._innerSub(r,i,e,t,o)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,o,r,i){this.add(n.subscribeToResult(this,t,r,i))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,o,r,i){var n=this.resultSelector,s=this.destination;n?this.trySelectResult(t,e,o,r):s.next(e)},e.prototype.trySelectResult=function(t,e,o,r){var i,n=this.resultSelector,s=this.destination;try{i=n(t,e,o,r)}catch(t){return void s.error(t)}s.next(i)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeMapToSubscriber=a},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(18),n=o(17),s=o(8),a=o(7);e.mergeScan=function(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),function(r){return r.lift(new c(t,e,o))}};var c=function(){function t(t,e,o){this.accumulator=t,this.seed=e,this.concurrent=o}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=c;var u=function(t){function e(e,o,r,i){t.call(this,e),this.accumulator=o,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,o=i.tryCatch(this.accumulator)(this.acc,t),r=this.destination;o===n.errorObject?r.error(n.errorObject.e):(this.active++,this._innerSub(o,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,o){this.add(s.subscribeToResult(this,t,e,o))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,o,r,i){var n=this.destination;this.acc=e,this.hasValue=!0,n.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.OuterSubscriber);e.MergeScanSubscriber=u},function(t,e,o){"use strict";var r=o(50);e.min=function(t){return r.reduce("function"==typeof t?function(e,o){return t(e,o)<0?e:o}:function(t,e){return t<e?t:e})}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(1),s=o(4),a=o(15),c=o(106),u=function(t){function e(e,o){t.call(this),this.source=e,this.subjectFactory=o,this._refCount=0,this._isComplete=!1}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.Subscription).add(this.source.subscribe(new l(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return c.refCount()(this)},e}(n.Observable);e.ConnectableObservable=u;var p=u.prototype;e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}};var l=function(t){function e(e,o){t.call(this,e),this.connectable=o}return r(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.SubjectSubscriber);!function(t){function e(e,o){t.call(this,e),this.connectable=o}r(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var o=this.connection,r=t._connection;this.connection=null,!r||o&&r!==o||r.unsubscribe()}}else this.connection=null}}(s.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.pairwise=function(){return function(t){return t.lift(new n)}};var n=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return r(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(i.Subscriber)},function(t,e,o){"use strict";var r=o(688),i=o(101);e.partition=function(t,e){return function(o){return[i.filter(t,e)(o),i.filter(r.not(t,e))(o)]}}},function(t,e,o){"use strict";var r=o(48);e.pluck=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var o=t.length;if(0===o)throw new Error("list of properties cannot be empty.");return function(e){return r.map(function(t,e){return function(o){for(var r=o,i=0;i<e;i++){var n=r[t[i]];if(void 0===n)return;r=n}return r}}(t,o))(e)}}},function(t,e,o){"use strict";var r=o(16),i=o(32);e.publish=function(t){return t?i.multicast((function(){return new r.Subject}),t):i.multicast(new r.Subject)}},function(t,e,o){"use strict";var r=o(196),i=o(32);e.publishBehavior=function(t){return function(e){return i.multicast(new r.BehaviorSubject(t))(e)}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(68);e.BehaviorSubject=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var o=t.prototype._subscribe.call(this,e);return o&&!o.closed&&e.next(this._value),o},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new n.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.Subject)},function(t,e,o){"use strict";var r=o(76),i=o(32);e.publishReplay=function(t,e,o,n){o&&"function"!=typeof o&&(n=o);var s="function"==typeof o?o:void 0,a=new r.ReplaySubject(t,e,n);return function(t){return i.multicast((function(){return a}),s)(t)}}},function(t,e,o){"use strict";var r=o(69),i=o(32);e.publishLast=function(){return function(t){return i.multicast(new r.AsyncSubject)(t)}}},function(t,e,o){"use strict";var r=o(25),i=o(96);e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return 1===t.length&&r.isArray(t[0])&&(t=t[0]),e.lift.call(i.race.apply(void 0,[e].concat(t)))}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(31);e.repeat=function(t){return void 0===t&&(t=-1),function(e){return 0===t?new n.EmptyObservable:e.lift(new s(t<0?-1:t-1,e))}};var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.count=o,this.source=r}return r(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,o=this.count;if(0===o)return t.prototype.complete.call(this);o>-1&&(this.count=o-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(18),s=o(17),a=o(7),c=o(8);e.repeatWhen=function(t){return function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,e))},t}(),p=function(t){function e(e,o,r){t.call(this,e),this.notifier=o,this.source=r,this.sourceIsBeingSubscribedTo=!0}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,o=e.notifications,r=e.retries,i=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=o,this.retries=r,this.retriesSubscription=i,this},e.prototype.subscribeToRetries=function(){this.notifications=new i.Subject;var e=n.tryCatch(this.notifier)(this.notifications);if(e===s.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=c.subscribeToResult(this,e)},e}(a.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.retry=function(t){return void 0===t&&(t=-1),function(e){return e.lift(new n(t,e))}};var n=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.count,this.source))},t}(),s=function(t){function e(e,o,r){t.call(this,e),this.count=o,this.source=r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var o=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),o.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(18),s=o(17),a=o(7),c=o(8);e.retryWhen=function(t){return function(e){return e.lift(new u(t,e))}};var u=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,o,r){t.call(this,e),this.notifier=o,this.source=r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var o=this.errors,r=this.retries,a=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(o=new i.Subject,(r=n.tryCatch(this.notifier)(o))===s.errorObject)return t.prototype.error.call(this,s.errorObject.e);a=c.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=r,this.retriesSubscription=a,o.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,o,r,i){var n=this,s=n.errors,a=n.retries,c=n.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=c,this.source.subscribe(this)},e}(a.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.sample=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var o=new a(t),r=e.subscribe(o);return r.add(n.subscribeToResult(o,this.notifier)),r},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return r(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,o,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.OuterSubscriber)},function(t,e,o){"use strict";function r(t){var e=t.subscriber,o=t.period;e.notifyNext(),this.schedule(t,o)}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(4),s=o(9);e.sampleTime=function(t,e){return void 0===e&&(e=s.async),function(o){return o.lift(new a(t,e))}};var a=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.period,this.scheduler))},t}(),c=function(t){function e(e,o,i){t.call(this,e),this.period=o,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(r,o,{subscriber:this,period:o}))}return i(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(n.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(18),s=o(17);e.sequenceEqual=function(t,e){return function(o){return o.lift(new a(t,e))}};var a=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=a;var c=function(t){function e(e,o,r){t.call(this,e),this.compareTo=o,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(o.subscribe(new u(e,this)))}return r(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,o=t._b,r=t.comparor;e.length>0&&o.length>0;){var i=e.shift(),a=o.shift(),c=!1;r?(c=n.tryCatch(r)(i,a))===s.errorObject&&this.destination.error(s.errorObject.e):c=i===a,c||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(i.Subscriber);e.SequenceEqualSubscriber=c;var u=function(t){function e(e,o){t.call(this,e),this.parent=o}return r(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(i.Subscriber)},function(t,e,o){"use strict";function r(){return new s.Subject}var i=o(32),n=o(106),s=o(16);e.share=function(){return function(t){return n.refCount()(i.multicast(r)(t))}}},function(t,e,o){"use strict";var r=o(76);e.shareReplay=function(t,e,o){return function(i){return i.lift(function(t,e,o){var i,n,s=0,a=!1,c=!1;return function(u){s++,i&&!a||(a=!1,i=new r.ReplaySubject(t,e,o),n=u.subscribe({next:function(t){i.next(t)},error:function(t){a=!0,i.error(t)},complete:function(){c=!0,i.complete()}}));var p=i.subscribe(this);return function(){s--,p.unsubscribe(),n&&0===s&&c&&n.unsubscribe()}}}(t,e,o))}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(77);e.single=function(t){return function(e){return e.lift(new s(t,e))}};var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.predicate=o,this.source=r,this.seenValue=!1,this.index=0}return r(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new n.EmptyError)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.skip=function(t){return function(e){return e.lift(new n(t))}};var n=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,o){t.call(this,e),this.total=o,this.count=0}return r(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(49);e.skipLast=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new n.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(0===this._skipCount?new i.Subscriber(t):new a(t,this._skipCount))},t}(),a=function(t){function e(e,o){t.call(this,e),this._skipCount=o,this._count=0,this._ring=new Array(o)}return r(e,t),e.prototype._next=function(t){var e=this._skipCount,o=this._count++;if(o<e)this._ring[o]=t;else{var r=o%e,i=this._ring,n=i[r];i[r]=t,this.destination.next(n)}},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.skipUntil=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,o){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(n.subscribeToResult(this,o))}return r(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,o,r,i){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.skipWhile=function(t){return function(e){return e.lift(new n(t))}};var n=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,o){t.call(this,e),this.predicate=o,this.skipping=!0,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(i.Subscriber)},function(t,e,o){"use strict";var r=o(30),i=o(94),n=o(31),s=o(42),a=o(23);e.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var o=t[t.length-1];a.isScheduler(o)?t.pop():o=null;var c=t.length;return 1===c?s.concat(new i.ScalarObservable(t[0],o),e):c>1?s.concat(new r.ArrayObservable(t,o),e):s.concat(new n.EmptyObservable(o),e)}}},function(t,e,o){"use strict";var r=o(739);e.asap=new(o(743).AsapScheduler)(r.AsapAction)},function(t,e,o){(function(t){function r(t,e){this._id=t,this._clearFn=e}var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;e.setTimeout=function(){return new r(n.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new r(n.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},o(741),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,o(64))},function(t,e,o){"use strict";var r=o(107),i=o(148);e.switchAll=function(){return r.switchMap(i.identity)}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.switchMapTo=function(t,e){return function(o){return o.lift(new s(t,e))}};var s=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observable,this.resultSelector))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.inner=o,this.resultSelector=r,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=n.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,o,r,i){var n=this.resultSelector,s=this.destination;n?this.tryResultSelector(t,e,o,r):s.next(e)},e.prototype.tryResultSelector=function(t,e,o,r){var i,n=this.resultSelector,s=this.destination;try{i=n(t,e,o,r)}catch(t){return void s.error(t)}s.next(i)},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(49),s=o(31);e.take=function(t){return function(e){return 0===t?new s.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new n.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,o){t.call(this,e),this.total=o,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.total,o=++this.count;o<=e&&(this.destination.next(t),o===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.takeUntil=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,o){t.call(this,e),this.notifier=o,this.add(n.subscribeToResult(this,o))}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.takeWhile=function(t){return function(e){return e.lift(new n(t))}};var n=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,o){t.call(this,e),this.predicate=o,this.index=0}return r(e,t),e.prototype._next=function(t){var e,o=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void o.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var o=this.destination;Boolean(e)?o.next(t):o.complete()},e}(i.Subscriber)},function(t,e,o){"use strict";function r(t){t.subscriber.clearThrottle()}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(4),s=o(9),a=o(78);e.throttleTime=function(t,e,o){return void 0===e&&(e=s.async),void 0===o&&(o=a.defaultThrottleConfig),function(r){return r.lift(new c(t,e,o.leading,o.trailing))}};var c=function(){function t(t,e,o,r){this.duration=t,this.scheduler=e,this.leading=o,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),u=function(t){function e(e,o,r,i,n){t.call(this,e),this.duration=o,this.scheduler=r,this.leading=i,this.trailing=n,this._hasTrailingValue=!1,this._trailingValue=null}return i(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(r,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(n.Subscriber)},function(t,e,o){"use strict";var r=o(9),i=o(224);e.TimeInterval=i.TimeInterval,e.timeInterval=function(t){return void 0===t&&(t=r.async),i.timeInterval(t)(this)}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(9);e.timeInterval=function(t){return void 0===t&&(t=n.async),function(e){return e.lift(new a(t))}};var s=function(t,e){this.value=t,this.interval=e};e.TimeInterval=s;var a=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler))},t}(),c=function(t){function e(e,o){t.call(this,e),this.scheduler=o,this.lastTime=0,this.lastTime=o.now()}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),o=e-this.lastTime;this.lastTime=e,this.destination.next(new s(t,o))},e}(i.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(9),n=o(74),s=o(4),a=o(226);e.timeout=function(t,e){void 0===e&&(e=i.async);var o=n.isDate(t),r=o?+t-e.now():Math.abs(t);return function(t){return t.lift(new c(r,o,e,new a.TimeoutError))}};var c=function(){function t(t,e,o,r){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=o,this.errorInstance=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),u=function(t){function e(e,o,r,i,n){t.call(this,e),this.absoluteTimeout=o,this.waitFor=r,this.scheduler=i,this.errorInstance=n,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(s.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)};e.TimeoutError=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(9),n=o(74),s=o(7),a=o(8);e.timeoutWith=function(t,e,o){return void 0===o&&(o=i.async),function(r){var i=n.isDate(t),s=i?+t-o.now():Math.abs(t);return r.lift(new c(s,i,e,o))}};var c=function(){function t(t,e,o,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=o,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),u=function(t){function e(e,o,r,i,n){t.call(this,e),this.absoluteTimeout=o,this.waitFor=r,this.withObservable=i,this.scheduler=n,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(a.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(s.OuterSubscriber)},function(t,e,o){"use strict";function r(t,e,o){return 0===o?[e]:(t.push(e),t)}var i=o(50);e.toArray=function(){return i.reduce(r,[])}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(7),s=o(8);e.window=function(t){return function(e){return e.lift(new a(t))}};var a=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var o=new c(t),r=e.subscribe(o);return r.closed||o.add(s.subscribeToResult(o,this.windowBoundaries)),r},t}(),c=function(t){function e(e){t.call(this,e),this.window=new i.Subject,e.next(this.window)}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete(),this.destination.next(this.window=new i.Subject)},e}(n.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4),n=o(16);e.windowCount=function(t,e){return void 0===e&&(e=0),function(o){return o.lift(new s(t,e))}};var s=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.windowSize,this.startWindowEvery))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.destination=e,this.windowSize=o,this.startWindowEvery=r,this.windows=[new n.Subject],this.count=0,e.next(this.windows[0])}return r(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,o=this.destination,r=this.windowSize,i=this.windows,s=i.length,a=0;a<s&&!this.closed;a++)i[a].next(t);var c=this.count-r+1;if(c>=0&&c%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var u=new n.Subject;i.push(u),o.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(i.Subscriber)},function(t,e,o){"use strict";function r(t){var e=t.subscriber,o=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,o)}function i(t){var e=t.windowTimeSpan,o=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,s=o.openWindow(),a=this,c={action:a,subscription:null};c.subscription=r.schedule(n,e,{subscriber:o,window:s,context:c}),a.add(c.subscription),a.schedule(t,i)}function n(t){var e=t.subscriber,o=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(o)}var s=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},a=o(16),c=o(9),u=o(4),p=o(45),l=o(23);e.windowTime=function(t){var e=c.async,o=null,r=Number.POSITIVE_INFINITY;return l.isScheduler(arguments[3])&&(e=arguments[3]),l.isScheduler(arguments[2])?e=arguments[2]:p.isNumeric(arguments[2])&&(r=arguments[2]),l.isScheduler(arguments[1])?e=arguments[1]:p.isNumeric(arguments[1])&&(o=arguments[1]),function(i){return i.lift(new h(t,o,r,e))}};var h=function(){function t(t,e,o,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=o,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),d=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return s(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(a.Subject),f=function(t){function e(e,o,s,a,c){t.call(this,e),this.destination=e,this.windowTimeSpan=o,this.windowCreationInterval=s,this.maxWindowSize=a,this.scheduler=c,this.windows=[];var u=this.openWindow();if(null!==s&&s>=0){var p={subscriber:this,window:u,context:null},l={windowTimeSpan:o,windowCreationInterval:s,subscriber:this,scheduler:c};this.add(c.schedule(n,o,p)),this.add(c.schedule(i,s,l))}else this.add(c.schedule(r,o,{subscriber:this,window:u,windowTimeSpan:o}))}return s(e,t),e.prototype._next=function(t){for(var e=this.windows,o=e.length,r=0;r<o;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new d;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(u.Subscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(15),s=o(18),a=o(17),c=o(7),u=o(8);e.windowToggle=function(t,e){return function(o){return o.lift(new p(t,e))}};var p=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.openings,this.closingSelector))},t}(),l=function(t){function e(e,o,r){t.call(this,e),this.openings=o,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=u.subscribeToResult(this,o,o))}return r(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var o=e.length,r=0;r<o;r++)e[r].window.next(t)},e.prototype._error=function(e){var o=this.contexts;if(this.contexts=null,o)for(var r=o.length,i=-1;++i<r;){var n=o[i];n.window.error(e),n.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var o=e.length,r=-1;++r<o;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,o=-1;++o<e;){var r=t[o];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,o,r,c){if(t===this.openings){var p=this.closingSelector,l=s.tryCatch(p)(e);if(l===a.errorObject)return this.error(a.errorObject.e);var h=new i.Subject,d=new n.Subscription,f={window:h,subscription:d};this.contexts.push(f);var y=u.subscribeToResult(this,l,f);y.closed?this.closeWindow(this.contexts.length-1):(y.context=f,d.add(y)),this.destination.next(h)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,o=e[t],r=o.window,i=o.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(c.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(18),s=o(17),a=o(7),c=o(8);e.windowWhen=function(t){return function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingSelector))},t}(),p=function(t){function e(e,o){t.call(this,e),this.destination=e,this.closingSelector=o,this.openWindow()}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.openWindow(i)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete(),this.destination.next(this.window=new i.Subject);var o=n.tryCatch(this.closingSelector)();if(o===s.errorObject){var r=s.errorObject.e;this.destination.error(r),this.window.error(r)}else this.add(this.closingNotification=c.subscribeToResult(this,o))},e}(a.OuterSubscriber)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(7),n=o(8);e.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var o;return"function"==typeof t[t.length-1]&&(o=t.pop()),e.lift(new s(t,o))}};var s=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function e(e,o,r){t.call(this,e),this.observables=o,this.project=r,this.toRespond=[];var i=o.length;this.values=new Array(i);for(var s=0;s<i;s++)this.toRespond.push(s);for(s=0;s<i;s++){var a=o[s];this.add(n.subscribeToResult(this,a,a,s))}}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.values[o]=e;var n=this.toRespond;if(n.length>0){var s=n.indexOf(o);-1!==s&&n.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.OuterSubscriber)},function(t,e,o){"use strict";var r=o(75);e.zipAll=function(t){return function(e){return e.lift(new r.ZipOperator(t))}}},function(t,e,o){"use strict";var r=o(237);e.SubscriptionLoggable=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions;e[t]=new r.SubscriptionLog(e[t].subscribedFrame,this.scheduler.now())},t}()},function(t,e,o){"use strict";e.SubscriptionLog=function(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}},function(t,e,o){"use strict";e.applyMixins=function(t,e){for(var o=0,r=e.length;o<r;o++)for(var i=e[o],n=Object.getOwnPropertyNames(i.prototype),s=0,a=n.length;s<a;s++){var c=n[s];t.prototype[c]=i.prototype[c]}}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(46),n=o(47);e.VirtualTimeScheduler=function(t){function e(e,o){var r=this;void 0===e&&(e=s),void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e,(function(){return r.frame})),this.maxFrames=o,this.frame=0,this.index=-1}return r(e,t),e.prototype.flush=function(){for(var t,e,o=this.actions,r=this.maxFrames;(e=o.shift())&&(this.frame=e.delay)<=r&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=o.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(n.AsyncScheduler);var s=function(t){function e(e,o,r){void 0===r&&(r=e.index+=1),t.call(this,e,o),this.scheduler=e,this.work=o,this.index=r,this.active=!0,this.index=e.index=r}return r(e,t),e.prototype.schedule=function(o,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,o,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(o,r)},e.prototype.requestAsyncId=function(t,o,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,o){void 0===o&&(o=0)},e.prototype._execute=function(e,o){if(!0===this.active)return t.prototype._execute.call(this,e,o)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(i.AsyncAction);e.VirtualAction=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(796))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(798),i=o(109);e.LanguageLoader=function(){function t(t,e,o,r){void 0===o&&(o=".json"),this.http=t,this.prefix=e,this.suffix=o,this.config=r}return t.prototype.getTranslation=function(t){var e=o(799)("./"+t+".json"),n=i.of(e);if(this.config&&!this.prefix&&(this.prefix=this.config.getConfig("language.prefix")),!this.prefix)return n;var s=this.http.get(""+this.prefix+t+this.suffix);return n.pipe(r.combineLatest(s,(function(t,e){return Object.assign(t,e)})))},t}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(79);e.LanguageService=function(){function t(t){this.translate=t,this.translate.setDefaultLang(this.getLanguage())}return t.prototype.getLanguage=function(){var t=this.translate.getBrowserLang();return t.match(/en|fr|zh_TW/)?t:"zh_TW"},t.prototype.setLanguage=function(t){this.translate.use(t),this.translate.reloadLang(t)},t=r([n.Injectable(),i("design:paramtypes",[s.TranslateService])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(244)),r(o(804))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(21),a=o(62);e.ActivityService=function(){function t(){this.counter$=new s.BehaviorSubject(0),this.ids=[]}return t.prototype.register=function(){var t=a.uuid();return this.ids.push(t),this.counter$.next(this.ids.length),t},t.prototype.unregister=function(t){var e=this.ids.indexOf(t);-1!==e&&(this.ids.splice(e,1),this.counter$.next(this.ids.length))},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(805))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(806)),r(o(814))},function(t,e){t.exports=require("rxjs/observable/ErrorObservable")},function(t,e,o){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),(r=e.MessageType||(e.MessageType={}))[r.ERROR="error"]="ERROR",r[r.ALERT="alert"]="ALERT",r[r.INFO="info"]="INFO",r[r.SUCCESS="success"]="SUCCESS"},function(t,e){t.exports=require("@angular/cdk/table")},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(841))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(842)),r(o(846))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(253)),r(o(848))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5);e.ConfirmDialogComponent=function(){function t(t){this.dialogRef=t}return t=r([n.Component({selector:"igo-confirm-dialog",template:o(847)}),i("design:paramtypes",[s.MatDialogRef])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(849))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(851))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(853))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(854)),r(o(258))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ListItemDirective=function(){function t(t,e){this.renderer=t,this.el=e,this._color="primary",this._focused=!1,this._selected=!1,this.beforeSelect=new n.EventEmitter,this.beforeFocus=new n.EventEmitter,this.beforeUnselect=new n.EventEmitter,this.beforeUnfocus=new n.EventEmitter,this.focus=new n.EventEmitter,this.unfocus=new n.EventEmitter,this.select=new n.EventEmitter,this.unselect=new n.EventEmitter}return e=t,Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused},set:function(t){t!==this._focused&&(t?this.beforeFocus.emit(this):this.beforeUnfocus.emit(this),t?this.renderer.addClass(this.el.nativeElement,e.cls):this.renderer.removeClass(this.el.nativeElement,e.cls),this._focused=t,t?this.focus.emit(this):this.unfocus.emit(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){t!==this._selected&&(t?this.beforeSelect.emit(this):this.beforeUnselect.emit(this),t?this.renderer.addClass(this.el.nativeElement,e.cls):this.renderer.removeClass(this.el.nativeElement,e.cls),this._selected=t,this._focused=t,t?this.select.emit(this):this.unselect.emit(this))},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.selected=!0},t.prototype.getOffsetTop=function(){return this.el.nativeElement.offsetTop-5},t.cls="igo-list-item-selected",r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"color",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"focused",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"selected",null),r([n.Output(),i("design:type",Object)],t.prototype,"beforeSelect",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"beforeFocus",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"beforeUnselect",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"beforeUnfocus",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"focus",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unfocus",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"select",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unselect",void 0),r([n.HostListener("click"),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"onClick",null),t=e=r([n.Directive({selector:"[igoListItem]"}),i("design:paramtypes",[n.Renderer2,n.ElementRef])],t);var e}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(858))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(862))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(262)),r(o(866))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.SpinnerComponent=function(){function t(){this._shown=!1}return Object.defineProperty(t.prototype,"shown",{get:function(){return this._shown},set:function(t){this._shown=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"shown",null),t=r([n.Component({selector:"igo-spinner",template:o(863),styles:[o(864)]}),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(867)),r(o(868))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(869)),r(o(265)),r(o(266)),r(o(268))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(21);e.TableDatabase=function(){function t(t){this.dataChange=new r.BehaviorSubject([]),t&&this.dataChange.next(t)}return Object.defineProperty(t.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),t.prototype.set=function(t){this.dataChange.next(t)},t.prototype.add=function(t){var e=this.data.slice();e.push(t),this.set(e)},t.prototype.remove=function(t){var e=this.data.slice();e.splice(e.indexOf(t),1),this.set(e)},t}()},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(249),s=o(21),a=o(267),c=o(27);e.TableDataSource=function(t){function e(e,o,r){var i=t.call(this)||this;return i._database=e,i._model=o,i._sort=r,i._filterChange=new s.BehaviorSubject(""),i}return i(e,t),Object.defineProperty(e.prototype,"filter",{get:function(){return this._filterChange.value},set:function(t){this._filterChange.next(t)},enumerable:!0,configurable:!0}),e.prototype.connect=function(){var t=this;return this._database?a.merge.apply(void 0,[this._database.dataChange,this._filterChange,this._sort.sortChange]).pipe(c.map((function(){return t.getFilteredData(t._database.data)}))).pipe(c.map((function(e){return t.getSortedData(e)}))):a.merge([])},e.prototype.disconnect=function(){},e.prototype.getFilteredData=function(t){var e=this;return this.filter?t.slice().filter((function(t){return-1!==e._model.columns.filter((function(t){return t.filterable})).map((function(e){return t[e.name]})).join(" ").toLowerCase().indexOf(e.filter.toLowerCase())})):t},e.prototype.getSortedData=function(t){var e=this;return this._sort.active&&""!==this._sort.direction?t.sort((function(t,o){var r=t[e._sort.active],i=o[e._sort.active];return((isNaN(+r)?r:+r)<(isNaN(+i)?i:+i)?-1:1)*("asc"===e._sort.direction?1:-1)})):t},e}(n.DataSource)},function(t,e){t.exports=require("rxjs/observable/merge")},function(t,e,o){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),(r=e.TableActionColor||(e.TableActionColor={}))[r.primary=0]="primary",r[r.accent=1]="accent",r[r.warn=2]="warn"},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(36),a=o(295),c=o(297),u=o(298),p=o(299),l=o(301),h=o(303),d=[s.MapContextDirective,s.LayerContextDirective,s.ToolContextDirective];e.IgoContextModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.ContextService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[a.ContextListComponent,a.ContextListBindingDirective,c.ContextItemComponent,u.ContextFormComponent,p.ContextEditComponent,p.ContextEditBindingDirective,l.ContextToolsComponent,l.ContextToolsBindingDirective,h.ContextPermissionsComponent,h.ContextPermissionsBindingDirective].concat(d),declarations:[a.ContextListComponent,a.ContextListBindingDirective,c.ContextItemComponent,u.ContextFormComponent,p.ContextEditComponent,p.ContextEditBindingDirective,l.ContextToolsComponent,l.ContextToolsBindingDirective,h.ContextPermissionsComponent,h.ContextPermissionsBindingDirective].concat(d)})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(29),a=o(56);e.MapFactoryService=function(){function t(t){this.config=t}return t.prototype.createIgoMap=function(t){return new a.IgoMap(t,this.config)},t=r([n.Injectable(),i("design:paramtypes",[s.ConfigService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(19),a=o(6),c=o(28);e.MapBrowserComponent=function(){function t(t){this.activityService=t,this.id="igo-map-target-"+(new Date).getTime()}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t,void 0!==this.map&&this.map.setView(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.status$$=this.map.status$.subscribe((function(e){return t.handleStatusChange(e)}))},t.prototype.ngAfterViewInit=function(){this.map.setTarget(this.id)},t.prototype.ngOnDestroy=function(){this.map.setTarget(void 0),this.activityService.unregister(this.activityId),this.status$$.unsubscribe()},t.prototype.handleStatusChange=function(t){t===s.SubjectStatus.Working&&void 0===this.activityId?this.activityId=this.activityService.register():t===s.SubjectStatus.Done&&void 0!==this.activityId&&(this.activityService.unregister(this.activityId),this.activityId=void 0)},r([n.Input(),i("design:type",c.IgoMap),i("design:paramtypes",[c.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"view",null),t=r([n.Component({selector:"igo-map-browser",template:o(887),styles:[o(888)]}),i("design:paramtypes",[a.ActivityService])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(891))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(895))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(899)),r(o(275))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5);e.BookmarkDialogComponent=function(){function t(t){this.dialogRef=t}return t=r([n.Component({selector:"igo-bookmark-dialog",template:o(900)}),i("design:paramtypes",[s.MatDialogRef])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(904)),r(o(277))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5);e.PoiDialogComponent=function(){function t(t){this.dialogRef=t}return t=r([n.Component({selector:"igo-poi-dialog",template:o(905)}),i("design:paramtypes",[s.MatDialogRef])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(909)),r(o(279))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5),a=o(24);e.UserDialogComponent=function(){function t(t,e){this.dialogRef=t,this.auth=e;var o=this.auth.decodeToken();this.user=o.user,this.exp=new Date(1e3*o.exp).toLocaleString()}return t=r([n.Component({selector:"igo-user-dialog",template:o(910)}),i("design:paramtypes",[s.MatDialogRef,a.AuthService])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(915)),r(o(920))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(24),a=o(37),c=o(33),u=o(293);e.LayerService=function(){function t(t,e){this.styleService=t,this.authService=e}return t.prototype.createLayer=function(t,e){var o;switch(t.constructor){case a.OSMDataSource:case a.WMTSDataSource:case a.XYZDataSource:o=this.createTileLayer(t,e);break;case a.FeatureDataSource:case a.WFSDataSource:o=this.createVectorLayer(t,e);break;case a.WMSDataSource:o=this.createImageLayer(t,e)}return o},t.prototype.createImageLayer=function(t,e){return(e=e||{}).token=this.authService.getToken(),new c.ImageLayer(t,e)},t.prototype.createTileLayer=function(t,e){return new c.TileLayer(t,e)},t.prototype.createVectorLayer=function(t,e){var o;void 0!==e.style&&(o=this.styleService.createStyle(e.style));var r=Object.assign({},e,{style:o});return new c.VectorLayer(t,r)},t=r([n.Injectable(),i("design:paramtypes",[u.StyleService,s.AuthService])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(34)),r(o(283)),r(o(118)),r(o(922)),r(o(923)),r(o(924)),r(o(927)),r(o(928)),r(o(948))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataService=function(){}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(930)),r(o(290)),r(o(291))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(286)),r(o(939))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(87),a=o(6);e.FeatureDetailsComponent=function(){function t(t,e,o){this.cdRef=t,this.sanitizer=e,this.config=o,this.infoText="本系統僅供參考，實際併網核准與否仍需按程序提交相關申請，並交由台電各區營業處審查。",this.infoText=this.config.getConfig("featureInfoText")||this.infoText}return Object.defineProperty(t.prototype,"feature",{get:function(){return this._feature},set:function(t){this._feature=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),t.prototype.isUrl=function(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)},t.prototype.isObject=function(t){return"object"==typeof t},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"feature",null),t=r([n.Component({selector:"igo-feature-details",template:o(936),styles:[o(937)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[n.ChangeDetectorRef,s.DomSanitizer,a.ConfigService])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(288)),r(o(943))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.FeatureListComponent=function(){function t(t){this.cdRef=t,this.changed=!1,this._features=[],this._groupFeatures=!0,this._display=!0,this._focusFirst=!0,this.focus=new n.EventEmitter,this.select=new n.EventEmitter,this.unfocus=new n.EventEmitter,this.unselect=new n.EventEmitter}return Object.defineProperty(t.prototype,"features",{get:function(){return this._features},set:function(t){this.changed=!0,this._features=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"groupFeatures",{get:function(){return this._groupFeatures},set:function(t){this._groupFeatures=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"display",{get:function(){return this._display},set:function(t){this._display=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusFirst",{get:function(){return!!this.changed&&this._focusFirst},set:function(t){this._focusFirst=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusedFeature",{get:function(){if(this.featureFound(this._focusedFeature))return this._focusedFeature},set:function(t){this._focusedFeature=this.featureFound(t)?t:void 0,this.changed=0===this._features.length,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),t.prototype.featureFound=function(t){return void 0!==t&&void 0!==this.features.find((function(e){return e.id===t.id&&e.source===t.source}))},r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"features",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"groupFeatures",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"display",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"focusFirst",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"focusedFeature",null),r([n.Output(),i("design:type",Object)],t.prototype,"focus",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"select",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unfocus",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unselect",void 0),t=r([n.Component({selector:"igo-feature-list",template:o(940),styles:[o(941)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(944))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(10),c=o(62),u=o(22),p=o(291),l=o(27);e.QueryService=function(){function t(t,e){this.http=t,this.featureService=e}return t.prototype.query=function(t,e){var o=this;return t.filter((function(t){return t.visible&&t.isInResolutionsRange})).map((function(t){return o.queryDataSource(t.dataSource,e,t.zIndex)}))},t.prototype.queryDataSource=function(t,e,o){var r=this,i=t.getQueryUrl(e),n=this.http.get(i,{responseType:"text"});return this.featureService.clear(),n.pipe(l.map((function(n){return r.extractData(n,t,e,i,o)})))},t.prototype.extractData=function(t,e,o,r,i){var n=e,s=[];switch(n.queryFormat){case p.QueryFormat.GML2:s=this.extractGML2Data(t,i);break;case p.QueryFormat.GML3:s=this.extractGML3Data(t,i);break;case p.QueryFormat.JSON:case p.QueryFormat.GEOJSON:s=this.extractGeoJSONData(t);break;case p.QueryFormat.TEXT:s=this.extractTextData(t);break;case p.QueryFormat.HTML:s=this.extractHtmlData(t,n.queryHtmlTarget,r)}return s.map((function(t,r){var s=t.properties[n.queryTitle];return Object.assign(t,{id:c.uuid(),source:e.title,sourceType:u.SourceFeatureType.Query,order:1e3-i,title:s||e.title+" ("+(r+1)+")",projection:o.projection})}))},t.prototype.extractGML2Data=function(t,e){var o=this,r=new a.format.GML2,i=r.readFeatures(t);return 0===i.length&&(i=(r=new a.format.WMSGetFeatureInfo).readFeatures(t)),i.map((function(t){return o.featureToResult(t,e)}))},t.prototype.extractGML3Data=function(t,e){var o=this;return(new a.format.GML3).readFeatures(t).map((function(t){return o.featureToResult(t,e)}))},t.prototype.extractGeoJSONData=function(t){var e=[];try{e=JSON.parse(t).features}catch(e){console.warn("query.service: Unable to parse geojson","\n",t)}return e},t.prototype.extractTextData=function(t){return[]},t.prototype.extractHtmlData=function(t,e,o){var r,i,n=this.getQueryParams(o.toLowerCase()),s=n.bbox,c=parseInt(n.width,10),p=parseInt(n.height,10);"1.3.0"===n.version?(r=parseInt(n.i,10),i=parseInt(n.j,10)):(r=parseInt(n.x,10),i=parseInt(n.y,10));var l=s.split(","),h=.1*(Math.abs(parseFloat(l[0]))-Math.abs(parseFloat(l[2])));Math.abs(parseFloat(l[0]))<180&&(h=.045);var d=parseFloat(l[0])+Math.abs(parseFloat(l[0])-parseFloat(l[2]))*r/c-h,f=parseFloat(l[1])+Math.abs(parseFloat(l[1])-parseFloat(l[3]))*i/p-h,y=d+2*h,m=f+2*h,g="POLYGON(("+d+" "+f+", "+d+" "+m+", "+y+" "+m+", "+y+" "+f+", "+d+" "+f+"))",v=(new a.format.WKT).readFeature(g).getGeometry(),b="_blank",_="link";switch(e){case"newtab":b="_blank";break;case"modal":b="modal",_="place";break;case"innerhtml":if(b="innerhtml",_="place","<body></body>"===t.slice(t.toLowerCase().indexOf("<body>"),t.toLowerCase().lastIndexOf("</body>")+7).replace(/(\r|\n|\s)/g,"")||""===t)return[]}return[{id:"html1",source:"title",type:u.FeatureType.Feature,format:u.FeatureFormat.GeoJSON,title:"title",icon:_,projection:"EPSG:3857",properties:{target:b,body:t,url:o},geometry:{type:v.getType(),coordinates:v.getCoordinates()}}]},t.prototype.getQueryParams=function(t){var e=t.split("?");if(e[1]){var o=e[1].split("&"),r={};return o.forEach((function(t){t=t.split("="),r[t[0]]=decodeURIComponent(t[1]||"")})),r}},t.prototype.featureToResult=function(t,e){var o,r=t.getGeometry(),i=Object.assign({},t.getProperties());return delete i.geometry,delete i.boundedBy,void 0!==r&&(o={type:r.getType(),coordinates:r.getCoordinates()}),{id:void 0,source:void 0,sourceType:u.SourceFeatureType.Query,type:u.FeatureType.Feature,order:1e3-e,format:u.FeatureFormat.GeoJSON,title:void 0,icon:"place",projection:void 0,properties:i,geometry:o}},t=r([n.Injectable(),i("design:paramtypes",[s.HttpClient,u.FeatureService])],t)}()},function(t,e,o){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),(r=e.QueryFormat||(e.QueryFormat={}))[r.GML2="gml2"]="GML2",r[r.GML3="gml3"]="GML3",r[r.JSON="json"]="JSON",r[r.GEOJSON="geojson"]="GEOJSON",r[r.TEXT="text"]="TEXT",r[r.HTML="html"]="HTML"},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(60),c=o(10),u=o(19),p=o(27);e.CapabilitiesService=function(){function t(t){this.http=t,this.capabilitiesStore=[],this.parsers={wms:new c.format.WMSCapabilities,wmts:new c.format.WMTSCapabilities}}return t.prototype.getWMSOptions=function(t){var e=this;return this.getCapabilities("wms",t.url,t.params.version).pipe(p.map((function(o){return e.parseWMSOptions(t,o)})))},t.prototype.getWMTSOptions=function(t){var e=this;return this.getCapabilities("wmts",t.url,t.version).pipe(p.map((function(o){return e.parseWMTSOptions(t,o)})))},t.prototype.getCapabilities=function(t,e,o){var r=this,i=new s.HttpParams({fromObject:{request:"GetCapabilities",service:t,version:o||"1.3.0"}}),n=e+"?"+i.toString(),c=this.capabilitiesStore.find((function(t){return t.url===n}));return void 0!==c?new a.Observable((function(t){return t.next(c.capabilities)})):this.http.get(e,{params:i,responseType:"text"}).pipe(p.map((function(e){var o=r.parsers[t].read(e);return r.cache(n,o),o})))},t.prototype.parseWMSOptions=function(t,e){var o=t.params.layers,r=this.findDataSourceInCapabilities(e.Capability.Layer,o);if(!r)return t;var i=r.DataURL?r.DataURL[0]:void 0,n=u.ObjectUtils.removeUndefined({alias:r.Title,view:{maxResolution:this.getResolutionFromScale(r.MaxScaleDenominator)||1/0,minResolution:this.getResolutionFromScale(r.MinScaleDenominator)||0},metadata:{url:i?i.OnlineResource:void 0},timeFilter:this.getTimeFilter(r)});return u.ObjectUtils.mergeDeep(n,t)},t.prototype.parseWMTSOptions=function(t,e){var o=c.source.WMTS.optionsFromCapabilities(e,t);return Object.assign(o,t)},t.prototype.findDataSourceInCapabilities=function(t,e){var o,r=this;return Array.isArray(t)?(t.find((function(t){return void 0!==(o=r.findDataSourceInCapabilities(t,e))}),this),o):t.Layer?this.findDataSourceInCapabilities(t.Layer,e):t.Name&&t.Name===e?t:void 0},t.prototype.cache=function(t,e){this.capabilitiesStore.push({url:t,capabilities:e})},t.prototype.getResolutionFromScale=function(t){return t/(25.4/.28*39.37)},t.prototype.getTimeFilter=function(t){var e;if(t.Dimension){var o={};if((e=t.Dimension[0]).values){var r=e.values.split("/");o.min=void 0!==r[0]?r[0]:void 0,o.max=void 0!==r[1]?r[1]:void 0,o.step=void 0!==r[2]?r[2]:void 0}return e.default&&(o.value=e.default),o}},t=r([n.Injectable(),i("design:paramtypes",[s.HttpClient])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(10);e.StyleService=function(){function t(){}return t.prototype.createStyle=function(t){return this.parseStyle("style",t)},t.prototype.parseStyle=function(t,e){var o=this,r={},i=this.getOlCls(t);return i&&e instanceof Object?(Object.keys(e).forEach((function(t){var i=o.getOlKey(t);r[i]=o.parseStyle(t,e[t])})),new i(r)):e},t.prototype.getOlKey=function(t){var e=t.toLowerCase();switch(e){case"circle":case"regularshape":case"icon":e="image"}return e},t.prototype.getOlCls=function(t){var e;switch(t){case"fill":case"image":case"stroke":case"style":case"text":e=s.style[t.charAt(0).toUpperCase()+t.slice(1)];break;case"circle":e=s.style.Circle;break;case"regularshape":e=s.style.RegularShape;break;case"icon":e=s.style.Icon}return e},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ToolbarComponent=function(){function t(t){this.cdRef=t,this._tools=[],this._horizontal=!1,this._withTitle=!0,this._withIcon=!0,this.select=new n.EventEmitter,this.unselect=new n.EventEmitter}return Object.defineProperty(t.prototype,"tools",{get:function(){return this._tools},set:function(t){this._tools=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"horizontal",{get:function(){return this._horizontal},set:function(t){this._horizontal=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"withTitle",{get:function(){return this._withTitle},set:function(t){this._withTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"withIcon",{get:function(){return this._withIcon},set:function(t){this._withIcon=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedTool",{get:function(){return this._selectedTool},set:function(t){this._selectedTool=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"withTitleClass",{get:function(){return this.withTitle},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"withIconClass",{get:function(){return this.withIcon},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"horizontalClass",{get:function(){return this.horizontal},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"tools",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"horizontal",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"withTitle",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"withIcon",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"selectedTool",null),r([n.Output(),i("design:type",Object)],t.prototype,"select",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unselect",void 0),r([n.HostBinding("class.with-title"),i("design:type",Object),i("design:paramtypes",[])],t.prototype,"withTitleClass",null),r([n.HostBinding("class.with-icon"),i("design:type",Object),i("design:paramtypes",[])],t.prototype,"withIconClass",null),r([n.HostBinding("class.horizontal"),i("design:type",Object),i("design:paramtypes",[])],t.prototype,"horizontalClass",null),t=r([n.Component({selector:"igo-toolbar",template:o(956),styles:[o(957)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(296)),r(o(963))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ContextListComponent=function(){function t(t){this.cdRef=t,this._contexts={ours:[]},this.select=new n.EventEmitter,this.unselect=new n.EventEmitter,this.edit=new n.EventEmitter,this.delete=new n.EventEmitter,this.save=new n.EventEmitter,this.clone=new n.EventEmitter,this.favorite=new n.EventEmitter,this.managePermissions=new n.EventEmitter,this.manageTools=new n.EventEmitter,this.titleMapping={ours:"igo.context.ourContexts",shared:"igo.context.sharedContexts",public:"igo.context.publicContexts"}}return Object.defineProperty(t.prototype,"contexts",{get:function(){return this._contexts},set:function(t){this._contexts=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedContext",{get:function(){return this._selectedContext},set:function(t){this._selectedContext=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultContextId",{get:function(){return this._defaultContextId},set:function(t){this._defaultContextId=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"contexts",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"selectedContext",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"defaultContextId",null),r([n.Output(),i("design:type",Object)],t.prototype,"select",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unselect",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"edit",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"delete",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"save",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"clone",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"favorite",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"managePermissions",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"manageTools",void 0),t=r([n.Component({selector:"igo-context-list",template:o(960),styles:[o(961)]}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(964))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(968))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(300)),r(o(975))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ContextEditComponent=function(){function t(){this.submitForm=new n.EventEmitter}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(t){this._context=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"context",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"submitForm",void 0),t=r([n.Component({selector:"igo-context-edit",template:o(972),styles:[o(973)]}),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(302)),r(o(979))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ContextToolsComponent=function(){function t(){this.addTool=new n.EventEmitter,this.removeTool=new n.EventEmitter}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(t){this._context=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tools",{get:function(){return this._tools},set:function(t){this._tools=t},enumerable:!0,configurable:!0}),t.prototype.getContextTool=function(t){if(this.context&&this.context.tools)return this.context.tools.find((function(e){return e.id===t}))},t.prototype.verifyIfContextToolExist=function(t){return void 0!==this.getContextTool(t)},t.prototype.handleToolChange=function(t,e){t.checked?this.addTool.emit(e):this.removeTool.emit(e)},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"context",null),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"tools",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"addTool",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"removeTool",void 0),t=r([n.Component({selector:"igo-context-tools",template:o(976),styles:[o(977)]}),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(304)),r(o(983))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26);e.ContextPermissionsComponent=function(){function t(t){this.formBuilder=t,this.addPermission=new n.EventEmitter,this.removePermission=new n.EventEmitter,this.scopeChanged=new n.EventEmitter}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(t){this._context=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"permissions",{get:function(){return this._permissions},set:function(t){this._permissions=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.buildForm()},t.prototype.handleFormSubmit=function(t){this.addPermission.emit(t)},t.prototype.buildForm=function(){this.form=this.formBuilder.group({profil:[],typePermission:["read"]})},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"context",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"permissions",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"addPermission",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"removePermission",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"scopeChanged",void 0),t=r([n.Component({selector:"igo-context-permissions",template:o(980),styles:[o(981)]}),i("design:paramtypes",[s.FormBuilder])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(986))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(307)),r(o(993))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.CatalogLayersListComponent=function(){function t(){this.select=new n.EventEmitter,this.unselect=new n.EventEmitter}return Object.defineProperty(t.prototype,"groupsLayers",{get:function(){return this._groupsLayers},set:function(t){this._groupsLayers=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"groupsLayers",null),r([n.Output(),i("design:type",Object)],t.prototype,"select",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unselect",void 0),t=r([n.Component({selector:"igo-catalog-layers-list",template:o(990),styles:[o(991)]}),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1006))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1010))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(311)),r(o(1017))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.TimeFilterListComponent=function(){function t(t){this.cdRef=t,this._dataSources=[]}return Object.defineProperty(t.prototype,"datasources",{get:function(){return this._dataSources},set:function(t){this._dataSources=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"datasources",null),t=r([n.Component({selector:"igo-time-filter-list",template:o(1014),styles:[o(1015)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1018))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1020))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1024))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1028))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1030))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(318)),r(o(1037))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.OgcFilterableListComponent=function(){function t(t){this.cdRef=t,this._dataSources=[]}return Object.defineProperty(t.prototype,"datasources",{get:function(){return this._dataSources},set:function(t){this._dataSources=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"datasources",null),t=r([n.Component({selector:"igo-ogc-filterable-list",template:o(1034),styles:[o(1035)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1038))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1040))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1044))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(323)),r(o(1051))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.LayerListComponent=function(){function t(t){this.cdRef=t,this._layers=[],this._color="primary",this._excludeBaseLayers=!1,this._toggleLegendOnVisibilityChange=!1,this._ogcFilterInLayers=!1}return Object.defineProperty(t.prototype,"layers",{get:function(){return this._layers},set:function(t){this._layers=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"excludeBaseLayers",{get:function(){return this._excludeBaseLayers},set:function(t){this._excludeBaseLayers=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toggleLegendOnVisibilityChange",{get:function(){return this._toggleLegendOnVisibilityChange},set:function(t){this._toggleLegendOnVisibilityChange=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ogcFilterInLayerItem",{get:function(){return this._ogcFilterInLayers},set:function(t){this._ogcFilterInLayers=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"layers",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"color",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"excludeBaseLayers",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"toggleLegendOnVisibilityChange",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"ogcFilterInLayerItem",null),t=r([n.Component({selector:"igo-layer-list",template:o(1048),styles:[o(1049)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(325)),r(o(1055))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.CatalogListComponent=function(){function t(t){this.cdRef=t,this.select=new n.EventEmitter,this.unselect=new n.EventEmitter}return Object.defineProperty(t.prototype,"catalogs",{get:function(){return this._catalogs},set:function(t){this._catalogs=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedCatalog",{get:function(){return this._selectedCatalog},set:function(t){this._selectedCatalog=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"catalogs",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"selectedCatalog",null),r([n.Output(),i("design:type",Object)],t.prototype,"select",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"unselect",void 0),t=r([n.Component({selector:"igo-catalog-list",template:o(1052),styles:[o(1053)]}),i("design:paramtypes",[n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1056))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1060)),r(o(1065))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1061))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1067))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(10),c=o(6),u=o(119),p=o(33),l=o(118);e.ImportExportService=function(){function t(t,e,o,r,i){this.http=t,this.config=e,this.mapService=o,this.messageService=r,this.languageService=i,this.urlApi=this.config.getConfig("importExport.url")}return t.prototype.import=function(t,e){void 0===e&&(e="EPSG:4326");for(var o=t.length,r=1,i=0,n=t;i<n.length;i++){var s=n[i],a=s.name.split(".")[s.name.split(".").length-1],c=s.type;"geojson"===a||["application/gml+xml","application/vnd.google-earth.kml+xml","application/json"].includes(c)?this.readFile(s,e,r++,o):"application/zip"===c?this.callImportService(s,e):this.onFilesInvalid([s])}},t.prototype.onFilesInvalid=function(t){for(var e=this.languageService.translate,o=t.length,r=1,i=0,n=t;i<n.length;i++){var s=n[i],a=e.instant("igo.dropGeoFile.invalid.title",{i:r++,count:o});this.messageService.error(e.instant("igo.dropGeoFile.invalid.text",{value:s.name}),a)}},t.prototype.export=function(t){var e=this.mapService.getMap(),o=e.getLayerById(t.layer),r=o.ol.getSource(),i=t.format,n=("shapefile"===t.format?new a.format.GeoJSON:new a.format[i]).writeFeatures(r.getFeatures(),{dataProjection:"EPSG:4326",featureProjection:e.projection,featureType:"feature",featureNS:"http://example.com/feature"});"shapefile"!==t.format?this.download(n,o.title+"."+t.format.toLowerCase()):this.callExportService(n,o.title)},t.prototype.download=function(t,e,o){void 0===o&&(o="text/plain;charset=utf-8");var r=document.createElement("a");r.setAttribute("href","data:"+o+","+encodeURIComponent(t)),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)},t.prototype.readFile=function(t,e,o,r){var i=this;void 0===o&&(o=1),void 0===r&&(r=1);var n=this.languageService.translate,s=new FileReader;s.onload=function(s){var a=t.name.substr(0,t.name.lastIndexOf("."));i.addFeaturesLayer(s.target.result,a,e,t.type);var c=n.instant("igo.dropGeoFile.success.title",{i:o,count:r}),u=n.instant("igo.dropGeoFile.success.text",{value:a});i.messageService.success(u,c)},s.onerror=function(e){var o=n.instant("igo.dropGeoFile.unreadable.title"),r=n.instant("igo.dropGeoFile.unreadable.text",{value:t.name});i.messageService.error(r,o)},s.readAsText(t,"UTF-8")},t.prototype.addFeaturesLayer=function(t,e,o,r){var i=this.mapService.getMap(),n=new l.FeatureDataSource({title:e}),s=new a.format.GeoJSON;"application/vnd.google-earth.kml+xml"===r?s=new a.format.KML:"application/gml+xml"===r&&(s=new a.format.GML),n.ol.addFeatures(s.readFeatures(t,{dataProjection:o,featureProjection:i.projection}));var c=Math.floor(255*Math.random()),u=Math.floor(255*Math.random()),h=Math.floor(255*Math.random()),d=new a.style.Stroke({color:[c,u,h,1],width:2}),f=new a.style.Fill({color:[c,u,h,.4]});i.addLayer(new p.VectorLayer(n,{style:new a.style.Style({stroke:d,fill:f,image:new a.style.Circle({radius:5,stroke:d,fill:f})})}))},t.prototype.callImportService=function(t,e){var o=this,r=this.languageService.translate,i=t.name.substr(0,t.name.lastIndexOf(".")),n=this.mapService.getMap(),a=this.urlApi+"/convert",c=new FormData;c.append("upload",t),c.append("sourceSrs",e),c.append("targetSrs",n.projection),this.http.post(a,c,{headers:new s.HttpHeaders}).subscribe((function(t){o.addFeaturesLayer(t,i,n.projection);var e=r.instant("igo.dropGeoFile.success.title",{i:1,count:1}),s=r.instant("igo.dropGeoFile.success.text",{value:i});o.messageService.success(s,e)}),(function(e){var i=r.instant("igo.dropGeoFile.unreadable.title"),n=r.instant("igo.dropGeoFile.unreadable.text",{value:t.name});o.messageService.error(n,i)}))},t.prototype.callExportService=function(t,e){var o=this.urlApi+"/convertJson",r=document.createElement("form");r.setAttribute("method","post"),r.setAttribute("action",o);var i=document.createElement("input");i.setAttribute("type","hidden"),i.setAttribute("name","json"),i.setAttribute("value",t),r.appendChild(i);var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","fileName"),n.setAttribute("value",e),r.appendChild(n);var s=document.createElement("input");s.setAttribute("type","hidden"),s.setAttribute("name","outputName"),s.setAttribute("value",e+".zip"),r.appendChild(s),document.body.appendChild(r),r.submit(),document.body.removeChild(r)},t=r([n.Injectable(),i("design:paramtypes",[s.HttpClient,c.ConfigService,u.MapService,c.MessageService,c.LanguageService])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1074)),r(o(332))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(21);e.OverlayService=function(){function t(){this.features$=new s.BehaviorSubject([[],void 0])}return t.prototype.setFeatures=function(t,e){void 0===e&&(e="none"),this.features$.next([t,e])},t.prototype.clear=function(){this.features$.next([[],"none"])},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1075)),r(o(86)),r(o(334)),r(o(337))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(335)),r(o(1080))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(14),a=o(86);e.PrintComponent=function(){function t(t){this.printService=t,this.disabled=!1}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"format",{get:function(){return this._format},set:function(t){this._format=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolution",{get:function(){return this._resolution},set:function(t){this._resolution=t},enumerable:!0,configurable:!0}),t.prototype.handleFormSubmit=function(t){var e=this;this.disabled=!0,this.printService.print(this.map,t).subscribe((function(t){e.disabled=!1}))},r([n.Input(),i("design:type",s.IgoMap),i("design:paramtypes",[s.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"format",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"orientation",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"resolution",null),t=r([n.Component({selector:"igo-print",template:o(1077),styles:[o(1078)]}),i("design:paramtypes",[a.PrintService])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(90);e.PrintFormat=r.strEnum(["A0","A1","A2","A3","A4","A5","Letter","Legal"]),e.PrintOrientation=r.strEnum(["landscape","portrait"]),e.PrintResolution=r.strEnum(["72","96","150","300"]),e.PrintDimension={A0:[1189,841],A1:[841,594],A2:[594,420],A3:[420,297],A4:[297,210],A5:[210,148],Letter:[216,279],Legal:[216,356]}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1081))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1085)),r(o(340)),r(o(1091)),r(o(131))},function(t,e,o){"use strict";function r(t){return new n(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=o(35),n=function(t){this.sources=t};e.SearchSourceService=n,e.searchSourceServiceFactory=r,e.provideSearchSourceService=function(){return{provide:n,useFactory:r,deps:[i.SearchSource]}}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(341)),r(o(1090))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(63),a=o(53),c=o(39),u=o(22),p=o(131);e.SearchBarComponent=function(){function t(t,e,o){this.searchService=t,this.featureService=e,this.changeDetectorRef=o,this._term="",this._placeholder="",this._floatLabel="auto",this._disabled=!1,this._color="primary",this._debounce=300,this._length=3,this._searchIcon=!1,this.invalidKeys=["Control","Shift","Alt"],this.stream$=new s.Subject,this.search=new n.EventEmitter}return Object.defineProperty(t.prototype,"term",{get:function(){return this._term},set:function(t){this._term=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatLabel",{get:function(){return this._floatLabel},set:function(t){this._floatLabel=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},set:function(t){this._length=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"searchIcon",{get:function(){return this._searchIcon},set:function(t){this._searchIcon=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.stream$$=this.stream$.pipe(a.debounceTime(this._debounce),c.distinctUntilChanged()).subscribe((function(e){return t.handleTermChanged(e)})),this.selectedFeature$$=this.featureService.selectedFeature$.subscribe((function(e){e&&e.type===u.FeatureType.Feature&&e.sourceType===u.SourceFeatureType.Search&&(t.term=e.title,t.changeDetectorRef.markForCheck())}))},t.prototype.ngOnDestroy=function(){this.stream$$.unsubscribe(),this.selectedFeature$$.unsubscribe()},t.prototype.keyup=function(t){this.setTerm(t.target.value)},t.prototype.setTerm=function(t){this.disabled||(this.term=t,this.keyIsValid(t)&&(t.length>=this.length||0===t.length)&&this.stream$.next(t))},t.prototype.clear=function(){this.term="",this.stream$.next(this.term),this.input.nativeElement.focus()},t.prototype.keyIsValid=function(t){return void 0===this.invalidKeys.find((function(e){return e===t}))},t.prototype.handleTermChanged=function(t){var e=this;if(void 0!==t||""!==t)if(this.featureService.clear(),this.search.emit(t),/^([-+]?)([\d]{1,15})(((\.)?(\d+)?(,)))(\s*)(([-+]?)([\d]{1,15})((\.)?(\d+)?(;[\d]{4,5})?))$/g.test(t)){var o=void 0;if(/(;[\d]{4,5})$/g.test(t)){var r=t.split(";");o=JSON.parse("["+r[0]+"]")}else t.endsWith(".")&&(t+="0"),o=JSON.parse("["+t+"]");(i=this.searchService.locate(o))&&i.filter((function(t){return void 0!==t})).map((function(t){return t.subscribe((function(t){return e.featureService.updateFeatures(t,void 0)}))}))}else{var i;(i=this.searchService.search(t))&&i.map((function(t){return t.subscribe((function(t){return e.featureService.updateFeatures(t,void 0)}))}))}},r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"term",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"placeholder",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"floatLabel",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"disabled",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"color",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Number])],t.prototype,"debounce",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Number])],t.prototype,"length",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"searchIcon",null),r([n.Output(),i("design:type",Object)],t.prototype,"search",void 0),r([n.ViewChild("input"),i("design:type",n.ElementRef)],t.prototype,"input",void 0),t=r([n.Component({selector:"igo-search-bar",template:o(1087),styles:[o(1088)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[p.SearchService,u.FeatureService,n.ChangeDetectorRef])],t)}()},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(0),c=o(11),u=o(6),p=o(22),l=o(35),h=o(27);e.NominatimSearchSource=function(t){function e(e,o){var r=t.call(this)||this;return r.http=e,r.config=o,r.searchUrl="https://nominatim.openstreetmap.org/search",r.locateUrl="https://nominatim.openstreetmap.org/reverse",r.options=r.config.getConfig("searchSources.nominatim")||{},r.searchUrl=r.options.url||r.searchUrl,r.locateUrl=r.options.locateUrl||r.locateUrl,r}return i(e,t),o=e,Object.defineProperty(e.prototype,"enabled",{get:function(){return!1!==this.options.enabled},set:function(t){this.options.enabled=t},enumerable:!0,configurable:!0}),e.prototype.getName=function(){return o._name},e.prototype.search=function(t){var e=this;return this.http.get(this.searchUrl,{params:this.getSearchParams(t)}).pipe(h.map((function(t){return e.extractData(t,p.SourceFeatureType.Search)})))},e.prototype.locate=function(t,e){var o=this;return this.http.get(this.locateUrl,{params:this.getLocateParams(t,e)}).pipe(h.map((function(t){return o.extractData([t],p.SourceFeatureType.LocateXY)})))},e.prototype.extractData=function(t,e){return t[0]&&t[0].error?[]:t.map(this.formatResult,e)},e.prototype.getSearchParams=function(t){var e=void 0===this.options.limit?5:this.options.limit;return new c.HttpParams({fromObject:{q:t,format:"json",limit:String(e)}})},e.prototype.getLocateParams=function(t,e){return new c.HttpParams({fromObject:{lat:String(t[1]),lon:String(t[0]),format:"json",zoom:String(e),polygon_geojson:String(1)}})},e.prototype.formatResult=function(t,e){return{id:t.place_id,source:o._name,sourceType:e,order:0,type:p.FeatureType.Feature,format:p.FeatureFormat.GeoJSON,title:t.display_name,icon:"place",projection:"EPSG:4326",properties:{name:t.display_name,place_id:t.place_id,osm_type:t.osm_type,class:t.class,type:t.type},geometry:{type:"Point",coordinates:[parseFloat(t.lon),parseFloat(t.lat)]},extent:[parseFloat(t.boundingbox[2]),parseFloat(t.boundingbox[0]),parseFloat(t.boundingbox[3]),parseFloat(t.boundingbox[1])]}},e._name="Nominatim (OSM)",e.sortIndex=10,e=o=n([a.Injectable(),s("design:paramtypes",[c.HttpClient,u.ConfigService])],e);var o}(l.SearchSource)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(0),c=o(11),u=o(61),p=o(247),l=o(6),h=o(22),d=o(35),f=o(27);e.IChercheSearchSource=function(t){function e(e,o){var r=t.call(this)||this;return r.http=e,r.config=o,r.searchUrl="https://geoegl.msp.gouv.qc.ca/icherche/geocode",r.locateUrl="https://geoegl.msp.gouv.qc.ca/icherche/xy",r.options=r.config.getConfig("searchSources.icherche")||{},r.searchUrl=r.options.url||r.searchUrl,r.locateUrl=r.options.locateUrl||r.locateUrl,r}return i(e,t),o=e,Object.defineProperty(e.prototype,"enabled",{get:function(){return!1!==this.options.enabled},set:function(t){this.options.enabled=t},enumerable:!0,configurable:!0}),e.prototype.getName=function(){return o._name},e.prototype.search=function(t){var e=this;return this.http.get(this.searchUrl,{params:this.getSearchParams(t)}).pipe(f.map((function(t){return e.extractSearchData(t)})))},e.prototype.locate=function(t,e){var o=this,r=this.getLocateParams(t,e);if(t[0]>-81&&t[0]<-55&&t[1]>=43.1&&t[1]<64)return this.http.get(this.locateUrl,{params:r}).pipe(f.map((function(t){return o.extractLocateData(t)}))).pipe(u.catchError((function(t){return t.error.toDisplay=!0,t.error.title=o.getName(),t.error.message=t.error.message_erreur,new p.ErrorObservable(t)})))},e.prototype.extractSearchData=function(t){return t.features.map(this.formatSearchResult)},e.prototype.extractLocateData=function(t){return t.features.map(this.formatLocateResult)},e.prototype.getSearchParams=function(t){var e=void 0===this.options.limit?5:this.options.limit;return new c.HttpParams({fromObject:{q:t,type:this.options.type||"adresse,code_postal,route,municipalite,mrc,region_administrative",limit:String(e),geometries:"geom"}})},e.prototype.getLocateParams=function(t,e){var o=100,r=this.options.type||"adresse,municipalite,mrc,regadmin";return e>=16?o=30:e<8&&(o=500),new c.HttpParams({fromObject:{loc:t.join(","),type:r,distance:String(o),geometries:"geom"}})},e.prototype.formatSearchResult=function(t){var e=Object.assign({type:t.doc_type},t.properties);return delete e["@timestamp"],delete e["@version"],delete e.recherche,delete e.id,delete e.cote,{id:t._id,source:o._name,sourceType:h.SourceFeatureType.Search,order:1,type:h.FeatureType.Feature,format:h.FeatureFormat.GeoJSON,title:t.properties.recherche,title_html:t.highlight,icon:"place",projection:"EPSG:4326",properties:e,geometry:t.geometry,extent:t.bbox}},e.prototype.formatLocateResult=function(t){var e=Object.assign({type:t.properties.doc_type},t.properties);return delete e.doc_type,{id:t._id,source:o._name,sourceType:h.SourceFeatureType.LocateXY,order:1,type:h.FeatureType.Feature,format:h.FeatureFormat.GeoJSON,title:t.properties.nom,title_html:t.properties.nom,icon:"place",projection:"EPSG:4326",properties:e,geometry:t.geometry,extent:[parseFloat(t.bbox[0]),parseFloat(t.bbox[2]),parseFloat(t.bbox[1]),parseFloat(t.bbox[3])]}},e._name="ICherche Québec",e=o=n([a.Injectable(),s("design:paramtypes",[c.HttpClient,l.ConfigService])],e);var o}(d.SearchSource)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(0),c=o(11),u=o(6),p=o(22),l=o(35),h=o(27);e.DataSourceSearchSource=function(t){function e(e,o,r){var i=t.call(this)||this;return i.http=e,i.config=o,i.languageService=r,i.searchUrl="https://geoegl.msp.gouv.qc.ca/igo2/api/layers/search",i.options=i.config.getConfig("searchSources.datasource")||{},i.searchUrl=i.options.url||i.searchUrl,i}return i(e,t),o=e,Object.defineProperty(e.prototype,"enabled",{get:function(){return!1!==this.options.enabled},set:function(t){this.options.enabled=t},enumerable:!0,configurable:!0}),e.prototype.getName=function(){return this.languageService.translate.instant(o._name)},e.prototype.search=function(t){var e=this;return this.http.get(this.searchUrl,{params:this.getSearchParams(t)}).pipe(h.map((function(t){return e.extractData(t)})))},e.prototype.locate=function(t){},e.prototype.extractData=function(t){var e=this;return t.items.map((function(t){return e.formatResult(t)}))},e.prototype.getSearchParams=function(t){var e=void 0===this.options.limit?5:this.options.limit;return new c.HttpParams({fromObject:{q:t,limit:String(e)}})},e.prototype.formatResult=function(t){var e=this.languageService.translate,o={},r="igo.search.dataSources.properties.";o[e.instant(r+"title")]=t.source.title,o[e.instant(r+"group")]=t.source.groupTitle,o[e.instant(r+"abstract")]=t.source.abstract,o[e.instant(r+"type")]=t.source.format,o[e.instant(r+"url")]=t.source.url;var i=Object.assign({},t.source,{type:t.source.format,properties:o,params:{layers:t.source.name}});return{id:t.id,source:this.getName(),sourceType:p.SourceFeatureType.Search,order:2,type:p.FeatureType.DataSource,title:t.source.title,title_html:t.highlight.title,icon:"Layer"===t.source.type?"layers":"map",properties:o,layer:i}},e._name="igo.search.dataSources.name",e=o=n([a.Injectable(),s("design:paramtypes",[c.HttpClient,u.ConfigService,u.LanguageService])],e);var o}(l.SearchSource)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(0),c=o(11),u=o(6),p=o(22),l=o(35),h=o(27);e.TgosSearchSource=function(t){function e(e,o){var r=t.call(this)||this;return r.http=e,r.config=o,r.searchUrl="https://addr.tgos.nat.gov.tw/addrws/v30/QueryAddr.asmx/QueryAddr?",r.locateUrl="",r.appId="/9PZSOga/YetRdV5KHCY1XhIG5gGS/OsjGPC3ZrdnVsaAW9HlEeErw==",r.appKey="cGEErDNy5yNr14zbsE/4GSfiGP5i3PuZwlsR5ASVWUusGuHdTAiJg5chYjOvjS3dT/+AxjWh4SAqLnjPk5CztZfjheHzw4PQT8kokv5IabMs+qhUkbRGw1+nl6cKO4lA5QwYo9od0EewQSHTIL9HmjFXwLDQ1yp3nMYbvckV0zMDUW1jTm8pYyVc8IKMJOyAHd8ODeIwmuW9a+M6QAvhtkd7iPJdfgAqhCS5vrF3CoUadr7QgKluD2Z7pg5zxao+oL90prUmGE+zITCV8sYsykVoj73VBsi7p+VSZtkkochCFllth9jGSs032295yeqSewR+O0j/FbC3KFzp3aqsjoBGGjqtIoD1vDEStPXueTm7+P5cTERUZpH+bu7gyLTX",r.options=r.config.getConfig("searchSources.tgos")||{},r.searchUrl=r.options.url||r.searchUrl,r.appId=r.options.appid||r.appId,r.appKey=r.options.appkey||r.appKey,r.locateUrl=r.options.locateUrl||r.locateUrl,r}return i(e,t),o=e,Object.defineProperty(e.prototype,"enabled",{get:function(){return!1!==this.options.enabled},set:function(t){this.options.enabled=t},enumerable:!0,configurable:!0}),e.prototype.getName=function(){return o._name},e.prototype.search=function(t){var e=this,o=this.getSearchParams(t);return this.http.get(this.searchUrl+"?_dt=null&oAPPId="+encodeURIComponent(this.appId)+"&oAPIKey="+encodeURIComponent(this.appKey),{params:o,responseType:"text"}).pipe(h.map((function(t){return t.substring(t.indexOf("{"),t.lastIndexOf("}")+1)}))).pipe(h.map((function(t){return JSON.parse(t)}))).pipe(h.map((function(t){return t.AddressList}))).pipe(h.map((function(t){return e.extractData2(t,p.SourceFeatureType.Search)})))},e.prototype.locate=function(t,e){return null},e.prototype.extractData2=function(t,e){return t[0]&&t[0].error?[]:t.map(this.formatResultForTGos,e)},e.prototype.getSearchParams=function(t){var e=void 0===this.options.limit?10:this.options.limit;return new c.HttpParams({fromObject:{oAddress:t,oSRS:"EPSG:4326",oFuzzyType:"2",oResultDataType:"json",oFuzzyBuffer:"0",oIsOnlyFullMatch:"false",oIsLockCounty:"false",oIsLockTown:"false",oIsLockVillage:"false",oIsLockRoadSection:"false",oIsLockLane:"false",oIsLockAlley:"false",oIsLockArea:"false",oIsSameNumber_SubNumber:"false",oCanIgnoreVillage:"false",oCanIgnoreNeighborhood:"false",oReturnMaxCount:String(e)}})},e.prototype.formatResultForTGos=function(t,e){return{id:"179125824",source:o._name,sourceType:e,order:0,type:p.FeatureType.Feature,format:p.FeatureFormat.GeoJSON,title:t.FULL_ADDR,icon:"place",projection:"EPSG:4326",properties:{name:t.FULL_ADDR,place_id:"179125824",osm_type:"relation",class:"boundary",type:"administrative"},geometry:{type:"Point",coordinates:[t.X,t.Y]},extent:[t.X,t.Y,t.X+1141e-8,t.Y+899e-8]}},e._name="地址定位 (全國門牌地址定位服務-TGOS)",e.sortIndex=10,e=o=n([a.Injectable(),s("design:paramtypes",[c.HttpClient,u.ConfigService])],e);var o}(l.SearchSource)},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(347)),r(o(1098))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26),a=o(19),c=o(6),u=o(24),p=o(14),l=o(133);e.ShareMapComponent=function(){function t(t,e,o,r,i,n){this.config=t,this.languageService=e,this.messageService=o,this.auth=r,this.shareMapService=i,this.formBuilder=n,this._hasShareMapButton=!0,this._hasCopyLinkButton=!1,this.hasApi=!1,this.hasApi=!!this.config.getConfig("context.url")}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasShareMapButton",{get:function(){return this._hasShareMapButton},set:function(t){this._hasShareMapButton=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasCopyLinkButton",{get:function(){return this._hasCopyLinkButton},set:function(t){this._hasCopyLinkButton=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.auth.authenticate$.subscribe((function(e){var o=t.auth.decodeToken();t.userId=o.user?o.user.id:void 0,t.url=void 0,t.buildForm()}))},t.prototype.ngAfterViewInit=function(){this.hasApi||this.resetUrl()},t.prototype.resetUrl=function(t){void 0===t&&(t={});var e=Object.assign({},t);e.uri=this.userId?this.userId+"-"+t.uri:t.uri,this.url=this.shareMapService.getUrl(this.map,e)},t.prototype.copyTextToClipboard=function(t){if(a.Clipboard.copy(t)){var e=this.languageService.translate,o=e.instant("igo.shareMap.dialog.copyTitle");this.messageService.success(e.instant("igo.shareMap.dialog.copyMsg"),o)}},t.prototype.buildForm=function(){var t=a.uuid(),e="Partage ";e+=this.userId?"("+this.userId+"-"+t+")":"("+t+")",this.form=this.formBuilder.group({title:[e],uri:[t]})},r([n.Input(),i("design:type",p.IgoMap),i("design:paramtypes",[p.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"hasShareMapButton",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"hasCopyLinkButton",null),t=r([n.Component({selector:"igo-share-map",template:o(1095),styles:[o(1096)]}),i("design:paramtypes",[c.ConfigService,c.LanguageService,c.MessageService,u.AuthService,l.ShareMapService,s.FormBuilder])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(13)),r(o(123)),r(o(349)),r(o(350)),r(o(352)),r(o(1183))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1099))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1103)),r(o(351))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(51);e.toolSlideInOut=function(t,e){return void 0===t&&(t="300ms"),void 0===e&&(e="ease-in-out"),r.trigger("toolSlideInOut",[r.state("left",r.style({transform:"translate3d(-100%, 0, 0)"})),r.state("center",r.style({transform:"translate3d(0, 0, 0)"})),r.state("right",r.style({transform:"translate3d(100%, 0, 0)"})),r.transition("left => center",r.animate(t+" "+e)),r.transition("right => center",r.animate(t+" "+e))])}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(1107)),r(o(1112)),r(o(1117)),r(o(1122)),r(o(1127)),r(o(1132)),r(o(1137)),r(o(1142)),r(o(1147)),r(o(1152)),r(o(1157)),r(o(1162)),r(o(1167)),r(o(1172)),r(o(353))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1177))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(29);e.EtloutsideInfoService=function(){function t(t,e){this.http=t,this.config=e,this.url="http://localhost:8080/api/v1/geohosting",this.url=this.config.getConfig("xtpc.geohc").url||this.url}return t.prototype.getEtloutsideInfoEndTime=function(){return this.http.get(this.url+"/ETLoutsideInfo")},t=r([n.Injectable(),i("design:paramtypes",[s.HttpClient,a.ConfigService])],t)}()},function(t,e,o){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,o){return t<12?o?"vm":"VM":o?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},o={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(t){return function(e,o,n,s){var a=r(e),c=i[t][r(e)];return 2===a&&(c=c[o?0:1]),c.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,o){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return o[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},o=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,n,s){var a=o(e),c=r[t][o(e)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,e)}},n=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:n,monthsShort:n,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,o){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},o={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,o){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return o[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,o){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var o=t%10;return t+(e[o]||e[t%100-o]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){var r,i;return"m"===o?e?"хвіліна":"хвіліну":"h"===o?e?"гадзіна":"гадзіну":t+" "+(r=+t,i={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[o].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,o){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,o=t%100;return 0===t?t+"-ев":0===o?t+"-ен":o>10&&o<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},o={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,o){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},o={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,o){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[o],t)}function o(t){return t>9?o(t%10):t}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(o(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){var r=t+" ";switch(o){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var o=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(o="a"),t+o},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,o,r,i){var n=t+" ";switch(r){case"s":return o||i?"pár sekund":"pár sekundami";case"ss":return o||i?n+(e(t)?"sekundy":"sekund"):n+"sekundami";case"m":return o?"minuta":i?"minutu":"minutou";case"mm":return o||i?n+(e(t)?"minuty":"minut"):n+"minutami";case"h":return o?"hodina":i?"hodinu":"hodinou";case"hh":return o||i?n+(e(t)?"hodiny":"hodin"):n+"hodinami";case"d":return o||i?"den":"dnem";case"dd":return o||i?n+(e(t)?"dny":"dní"):n+"dny";case"M":return o||i?"měsíc":"měsícem";case"MM":return o||i?n+(e(t)?"měsíce":"měsíců"):n+"měsíci";case"y":return o||i?"rok":"rokem";case"yy":return o||i?n+(e(t)?"roky":"let"):n+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],s=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;t.defineLocale("cs",{months:r,monthsShort:i,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[o][0]:i[o][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[o][0]:i[o][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[o][0]:i[o][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],o=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:o,weekdaysShort:o,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,o){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,o){return t>11?o?"μμ":"ΜΜ":o?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(t,e){var o,r=this._calendarEl[t],i=e&&e.hours();return((o=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(o))&&(r=r.apply(e)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,o){return t>11?o?"p.t.m.":"P.T.M.":o?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),o="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?o[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),o="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?o[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),o="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?o[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[o][2]?i[o][2]:i[o][1]:r?i[o][0]:i[o][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},o={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,o){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return o[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,i,n){var s="";switch(i){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":return n?"sekunnin":"sekuntia";case"m":return n?"minuutin":"minuutti";case"mm":s=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":s=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":s=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":s=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":s=n?"vuoden":"vuotta"}return s=function(t,e){return t<10?e?r[t]:o[t]:t}(t,n)+" "+s,s}var o="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",o[7],o[8],o[9]];t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),o="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?o[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?i[o][0]:i[o][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){return"D"===e?t+"er":t},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},o={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,o){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?o?'לפנה"צ':"לפני הצהריים":t<18?o?'אחה"צ':"אחרי הצהריים":"בערב"}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},o={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){var r=t+" ";switch(o){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i=t;switch(o){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return i+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return i+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return i+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return i+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return i+(r||e?" év":" éve")}return""}function o(t){return(t?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,o){return t<12?!0===o?"de":"DE":!0===o?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return o.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return o.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,o){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function o(t,o,r,i){var n=t+" ";switch(r){case"s":return o||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?n+(o||i?"sekúndur":"sekúndum"):n+"sekúnda";case"m":return o?"mínúta":"mínútu";case"mm":return e(t)?n+(o||i?"mínútur":"mínútum"):o?n+"mínúta":n+"mínútu";case"hh":return e(t)?n+(o||i?"klukkustundir":"klukkustundum"):n+"klukkustund";case"d":return o?"dagur":i?"dag":"degi";case"dd":return e(t)?o?n+"dagar":n+(i?"daga":"dögum"):o?n+"dagur":n+(i?"dag":"degi");case"M":return o?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?o?n+"mánuðir":n+(i?"mánuði":"mánuðum"):o?n+"mánuður":n+(i?"mánuð":"mánuði");case"y":return o||i?"ár":"ári";case"yy":return e(t)?n+(o||i?"ár":"árum"):n+(o||i?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:o,ss:o,m:o,mm:o,h:"klukkustund",hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,o){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,o){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},o={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,o){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},o={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,o){return t<12?"오전":"오후"}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},o={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,o){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return o[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[o][0]:i[o][1]}function o(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return o(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return o(t)}return o(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return o(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return o(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,o){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,i){return e?r(o)[0]:i?r(o)[1]:r(o)[2]}function o(t){return t%10==0||t>10&&t<20}function r(t){return n[t].split("_")}function i(t,i,n,s){var a=t+" ";return 1===t?a+e(0,i,n[0],s):i?a+(o(t)?r(n)[1]:r(n)[0]):s?a+r(n)[1]:a+(o(t)?r(n)[1]:r(n)[2])}var n={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,o,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:e,mm:i,h:e,hh:i,d:e,dd:i,M:e,MM:i,y:e,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){return o?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function o(t,o,r){return t+" "+e(i[r],t,o)}function r(t,o,r){return e(i[r],t,o)}var i={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:o,m:r,mm:o,h:r,hh:o,d:r,dd:o,M:r,MM:o,y:r,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,o,r){var i=e.words[r];return 1===r.length?o?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,o=t%100;return 0===t?t+"-ев":0===o?t+"-ен":o>10&&o<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,o){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){switch(o){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,o){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i="";if(e)switch(o){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(o){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,t)}var o={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return o[t]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?t<4?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,o){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,o){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},o={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},o={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,o){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),o="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?o[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),o="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?o[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},o={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function o(t,o,r){var i=t+" ";switch(r){case"ss":return i+(e(t)?"sekundy":"sekund");case"m":return o?"minuta":"minutę";case"mm":return i+(e(t)?"minuty":"minut");case"h":return o?"godzina":"godzinę";case"hh":return i+(e(t)?"godziny":"godzin");case"MM":return i+(e(t)?"miesiące":"miesięcy");case"yy":return i+(e(t)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");t.defineLocale("pl",{months:function(t,e){return t?""===e?"("+i[t.month()]+"|"+r[t.month()]+")":/D MMMM/.test(e)?i[t.month()]:r[t.month()]:r},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){var r=" ";return(t%100>=20||t>=100&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[o]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){var r,i;return"m"===o?e?"минута":"минуту":t+" "+(r=+t,i={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[o].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var o=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:o,longMonthsParse:o,shortMonthsParse:o,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,o){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],o=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:o,weekdaysShort:o,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,o){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,o){return t>11?o?"ප.ව.":"පස් වරු":o?"පෙ.ව.":"පෙර වරු"}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t){return t>1&&t<5}function o(t,o,r,i){var n=t+" ";switch(r){case"s":return o||i?"pár sekúnd":"pár sekundami";case"ss":return o||i?n+(e(t)?"sekundy":"sekúnd"):n+"sekundami";case"m":return o?"minúta":i?"minútu":"minútou";case"mm":return o||i?n+(e(t)?"minúty":"minút"):n+"minútami";case"h":return o?"hodina":i?"hodinu":"hodinou";case"hh":return o||i?n+(e(t)?"hodiny":"hodín"):n+"hodinami";case"d":return o||i?"deň":"dňom";case"dd":return o||i?n+(e(t)?"dni":"dní"):n+"dňami";case"M":return o||i?"mesiac":"mesiacom";case"MM":return o||i?n+(e(t)?"mesiace":"mesiacov"):n+"mesiacmi";case"y":return o||i?"rok":"rokom";case"yy":return o||i?n+(e(t)?"roky":"rokov"):n+"rokmi"}}t.defineLocale("sk",{months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i=t+" ";switch(o){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return i+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return i+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,o){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,o,r){var i=e.words[r];return 1===r.length?o?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,o,r){var i=e.words[r];return 1===r.length?o?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,o){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e||2===e?"a":"e")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},o={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return o[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,o){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,o){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,o){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,r,i){var n=function(t){var e=Math.floor(t%1e3/100),r=Math.floor(t%100/10),i=t%10,n="";return e>0&&(n+=o[e]+"vatlh"),r>0&&(n+=(""!==n?" ":"")+o[r]+"maH"),i>0&&(n+=(""!==n?" ":"")+o[i]),""===n?"pagh":n}(t);switch(r){case"ss":return n+" lup";case"mm":return n+" tup";case"hh":return n+" rep";case"dd":return n+" jaj";case"MM":return n+" jar";case"yy":return n+" DIS"}}var o="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:e,m:"wa’ tup",mm:e,h:"wa’ rep",hh:e,d:"wa’ jaj",dd:e,M:"wa’ jar",MM:e,y:"wa’ DIS",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,o){switch(o){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var r=t%10;return t+(e[r]||e[t%100-r]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o,r){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r||e?i[o][0]:i[o][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,o){return t>11?o?"d'o":"D'O":o?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,o){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";function e(t,e,o){var r,i;return"m"===o?e?"хвилина":"хвилину":"h"===o?e?"година":"годину":t+" "+(r=+t,i={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[o].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function o(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var o={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?o.nominative.slice(1,7).concat(o.nominative.slice(0,1)):t?o[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:o.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:o("[Сьогодні "),nextDay:o("[Завтра "),lastDay:o("[Вчора "),nextWeek:o("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return o("[Минулої] dddd [").call(this);case 1:case 2:case 4:return o("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,o){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],o=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:o,weekdaysShort:o,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,o){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,o){return t<12?o?"sa":"SA":o?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,o){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,o){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(o(2))},function(t,e,o){!function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,o){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(o(2))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(483)),r(o(135)),r(o(24)),r(o(6)),r(o(115)),r(o(124)),r(o(37)),r(o(22)),r(o(85)),r(o(327)),r(o(128)),r(o(58)),r(o(14)),r(o(127)),r(o(130)),r(o(122)),r(o(338)),r(o(12)),r(o(132)),r(o(348)),r(o(19)),r(o(125))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(87),s=o(5),a=o(88);o(485);var c=o(135),u=o(24),p=o(6),l=o(115),h=o(124),d=o(37),f=o(126),y=o(22),m=o(327),g=o(85),v=o(128),b=o(58),_=o(14),w=o(127),M=o(130),S=o(333),x=o(122),L=o(338),O=o(12),T=o(132),j=o(348),k=o(125),D=[c.IgoAnalyticsModule,u.IgoAuthModule,p.IgoCoreModule,l.IgoContextModule,h.IgoCatalogModule,d.IgoDataSourceModule,f.IgoDownloadModule,y.IgoFeatureModule,m.IgoFormModule,g.IgoFilterModule,v.IgoImportExportModule,b.IgoLayerModule,_.IgoMapModule,w.IgoMetadataModule,M.IgoOverlayModule,S.IgoPrintModule,x.IgoQueryModule,L.IgoSearchModule,O.IgoSharedModule,T.IgoShareMapModule,j.IgoToolModule,k.IgoWktModule];e.IgoModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[{provide:n.HAMMER_GESTURE_CONFIG,useClass:s.GestureConfig}]}},t=e=r([i.NgModule({imports:[a.CustomMaterialModule,c.IgoAnalyticsModule.forRoot(),u.IgoAuthModule.forRoot(),p.IgoCoreModule.forRoot(),l.IgoContextModule.forRoot(),h.IgoCatalogModule.forRoot(),d.IgoDataSourceModule.forRoot(),f.IgoDownloadModule.forRoot(),y.IgoFeatureModule.forRoot(),m.IgoFormModule.forRoot(),g.IgoFilterModule.forRoot(),v.IgoImportExportModule.forRoot(),b.IgoLayerModule.forRoot(),_.IgoMapModule.forRoot(),w.IgoMetadataModule.forRoot(),M.IgoOverlayModule.forRoot(),S.IgoPrintModule.forRoot(),x.IgoQueryModule.forRoot(),L.IgoSearchModule.forRoot(),T.IgoShareMapModule.forRoot(),j.IgoToolModule.forRoot(),k.IgoWktModule.forRoot()],exports:D})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(59),s=o(134),a=o(5),c=o(5),u=o(5),p=o(5),l=o(5),h=o(5),d=o(5),f=o(5),y=o(5),m=o(5),g=o(5),v=o(5),b=o(5),_=o(5),w=o(5),M=o(5),S=o(5),x=o(5),L=o(5),O=o(5),T=o(5),j=o(5),k=o(5),D=o(5),P=o(5),C=[n.CommonModule,a.MatAutocompleteModule,u.MatButtonModule,f.MatCardModule,y.MatChipsModule,p.MatCheckboxModule,d.MatGridListModule,g.MatInputModule,h.MatListModule,_.MatProgressBarModule,b.MatProgressSpinnerModule,M.MatRippleModule,S.MatSelectModule,O.MatSidenavModule,j.MatTabsModule,k.MatToolbarModule,P.MatTableModule,s.A11yModule,c.MatButtonToggleModule,l.MatDialogModule,m.MatIconModule,v.MatMenuModule,w.MatRadioModule,L.MatSliderModule,x.MatSlideToggleModule,T.MatSnackBarModule,D.MatTooltipModule];e.CustomMaterialModule=function(){function t(){}return t=r([i.NgModule({imports:C,exports:C})],t)}()},function(t,e,o){var r;!function(i,n,s,a){"use strict";function c(t,e,o){return setTimeout(d(t,o),e)}function u(t,e,o){return!!Array.isArray(t)&&(p(t,o[e],o),!0)}function p(t,e,o){var r;if(t)if(t.forEach)t.forEach(e,o);else if(t.length!==a)for(r=0;r<t.length;)e.call(o,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(o,t[r],r,t)}function l(t,e,o){var r="DEPRECATED METHOD: "+e+"\n"+o+" AT \n";return function(){var e=new Error("get-stack-trace"),o=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",n=i.console&&(i.console.warn||i.console.log);return n&&n.call(i.console,r,o),t.apply(this,arguments)}}function h(t,e,o){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,o&&nt(r,o)}function d(t,e){return function(){return t.apply(e,arguments)}}function f(t,e){return typeof t==ct?t.apply(e&&e[0]||a,e):t}function y(t,e){return t===a?e:t}function m(t,e,o){p(_(e),(function(e){t.addEventListener(e,o,!1)}))}function g(t,e,o){p(_(e),(function(e){t.removeEventListener(e,o,!1)}))}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function b(t,e){return t.indexOf(e)>-1}function _(t){return t.trim().split(/\s+/g)}function w(t,e,o){if(t.indexOf&&!o)return t.indexOf(e);for(var r=0;r<t.length;){if(o&&t[r][o]==e||!o&&t[r]===e)return r;r++}return-1}function M(t){return Array.prototype.slice.call(t,0)}function S(t,e,o){for(var r=[],i=[],n=0;n<t.length;){var s=e?t[n][e]:t[n];w(i,s)<0&&r.push(t[n]),i[n]=s,n++}return o&&(r=e?r.sort((function(t,o){return t[e]>o[e]})):r.sort()),r}function x(t,e){for(var o,r,i=e[0].toUpperCase()+e.slice(1),n=0;n<st.length;){if((r=(o=st[n])?o+i:e)in t)return r;n++}return a}function L(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||i}function O(t,e){var o=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){f(t.options.enable,[t])&&o.handler(e)},this.init()}function T(t,e,o){var r=o.pointers.length,i=o.changedPointers.length,n=e&bt&&r-i==0,s=e&(wt|Mt)&&r-i==0;o.isFirst=!!n,o.isFinal=!!s,n&&(t.session={}),o.eventType=e,function(t,e){var o=t.session,r=e.pointers,i=r.length;o.firstInput||(o.firstInput=j(e)),i>1&&!o.firstMultiple?o.firstMultiple=j(e):1===i&&(o.firstMultiple=!1);var n=o.firstInput,s=o.firstMultiple,c=s?s.center:n.center,u=e.center=k(r);e.timeStamp=lt(),e.deltaTime=e.timeStamp-n.timeStamp,e.angle=Y(c,u),e.distance=C(c,u),function(t,e){var o=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},n=t.prevInput||{};e.eventType!==bt&&n.eventType!==wt||(i=t.prevDelta={x:n.deltaX||0,y:n.deltaY||0},r=t.offsetDelta={x:o.x,y:o.y});e.deltaX=i.x+(o.x-r.x),e.deltaY=i.y+(o.y-r.y)}(o,e),e.offsetDirection=P(e.deltaX,e.deltaY);var p=D(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=pt(p.x)>pt(p.y)?p.x:p.y,e.scale=s?(l=s.pointers,h=r,C(h[0],h[1],Ct)/C(l[0],l[1],Ct)):1,e.rotation=s?function(t,e){return Y(e[1],e[0],Ct)+Y(t[1],t[0],Ct)}(s.pointers,r):0,e.maxPointers=o.prevInput?e.pointers.length>o.prevInput.maxPointers?e.pointers.length:o.prevInput.maxPointers:e.pointers.length,function(t,e){var o,r,i,n,s=t.lastInterval||e,c=e.timeStamp-s.timeStamp;if(e.eventType!=Mt&&(c>vt||s.velocity===a)){var u=e.deltaX-s.deltaX,p=e.deltaY-s.deltaY,l=D(c,u,p);r=l.x,i=l.y,o=pt(l.x)>pt(l.y)?l.x:l.y,n=P(u,p),t.lastInterval=e}else o=s.velocity,r=s.velocityX,i=s.velocityY,n=s.direction;e.velocity=o,e.velocityX=r,e.velocityY=i,e.direction=n}(o,e);var l,h;var d=t.element;v(e.srcEvent.target,d)&&(d=e.srcEvent.target),e.target=d}(t,o),t.emit("hammer.input",o),t.recognize(o),t.session.prevInput=o}function j(t){for(var e=[],o=0;o<t.pointers.length;)e[o]={clientX:ut(t.pointers[o].clientX),clientY:ut(t.pointers[o].clientY)},o++;return{timeStamp:lt(),pointers:e,center:k(e),deltaX:t.deltaX,deltaY:t.deltaY}}function k(t){var e=t.length;if(1===e)return{x:ut(t[0].clientX),y:ut(t[0].clientY)};for(var o=0,r=0,i=0;i<e;)o+=t[i].clientX,r+=t[i].clientY,i++;return{x:ut(o/e),y:ut(r/e)}}function D(t,e,o){return{x:e/t||0,y:o/t||0}}function P(t,e){return t===e?St:pt(t)>=pt(e)?t<0?xt:Lt:e<0?Ot:Tt}function C(t,e,o){o||(o=Pt);var r=e[o[0]]-t[o[0]],i=e[o[1]]-t[o[1]];return Math.sqrt(r*r+i*i)}function Y(t,e,o){o||(o=Pt);var r=e[o[0]]-t[o[0]],i=e[o[1]]-t[o[1]];return 180*Math.atan2(i,r)/Math.PI}function R(){this.evEl=Rt,this.evWin=Et,this.pressed=!1,O.apply(this,arguments)}function E(){this.evEl=At,this.evWin=Nt,O.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function I(){this.evTarget=Wt,this.evWin=Bt,this.started=!1,O.apply(this,arguments)}function F(t,e){var o=M(t.touches),r=M(t.changedTouches);return e&(wt|Mt)&&(o=S(o.concat(r),"identifier",!0)),[o,r]}function A(){this.evTarget=zt,this.targetIds={},O.apply(this,arguments)}function N(t,e){var o=M(t.touches),r=this.targetIds;if(e&(bt|_t)&&1===o.length)return r[o[0].identifier]=!0,[o,o];var i,n,s=M(t.changedTouches),a=[],c=this.target;if(n=o.filter((function(t){return v(t.target,c)})),e===bt)for(i=0;i<n.length;)r[n[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&a.push(s[i]),e&(wt|Mt)&&delete r[s[i].identifier],i++;return a.length?[S(n.concat(a),"identifier",!0),a]:void 0}function H(){O.apply(this,arguments);var t=d(this.handler,this);this.touch=new A(this.manager,t),this.mouse=new R(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function W(t,e){t&bt?(this.primaryTouch=e.changedPointers[0].identifier,B.call(this,e)):t&(wt|Mt)&&B.call(this,e)}function B(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var o={x:e.clientX,y:e.clientY};this.lastTouches.push(o);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(o);t>-1&&r.splice(t,1)}),Ut)}}function V(t){for(var e=t.srcEvent.clientX,o=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],n=Math.abs(e-i.x),s=Math.abs(o-i.y);if(n<=Gt&&s<=Gt)return!0}return!1}function z(t,e){this.manager=t,this.set(e)}function U(t){this.options=nt({},this.defaults,t||{}),this.id=ft++,this.manager=null,this.options.enable=y(this.options.enable,!0),this.state=ee,this.simultaneous={},this.requireFail=[]}function G(t){return t&se?"cancel":t&ie?"end":t&re?"move":t&oe?"start":""}function q(t){return t==Tt?"down":t==Ot?"up":t==xt?"left":t==Lt?"right":""}function $(t,e){var o=e.manager;return o?o.get(t):t}function J(){U.apply(this,arguments)}function X(){J.apply(this,arguments),this.pX=null,this.pY=null}function K(){J.apply(this,arguments)}function Z(){U.apply(this,arguments),this._timer=null,this._input=null}function Q(){J.apply(this,arguments)}function tt(){J.apply(this,arguments)}function et(){U.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ot(t,e){return(e=e||{}).recognizers=y(e.recognizers,ot.defaults.preset),new rt(t,e)}function rt(t,e){var o;this.options=nt({},ot.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((o=this).options.inputClass||(mt?E:gt?A:yt?H:R))(o,T),this.touchAction=new z(this,this.options.touchAction),it(this,!0),p(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function it(t,e){var o,r=t.element;r.style&&(p(t.options.cssProps,(function(i,n){o=x(r.style,n),e?(t.oldCssProps[o]=r.style[o],r.style[o]=i):r.style[o]=t.oldCssProps[o]||""})),e||(t.oldCssProps={}))}var nt,st=["","webkit","Moz","MS","ms","o"],at=n.createElement("div"),ct="function",ut=Math.round,pt=Math.abs,lt=Date.now;nt="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),o=1;o<arguments.length;o++){var r=arguments[o];if(r!==a&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign;var ht=l((function(t,e,o){for(var r=Object.keys(e),i=0;i<r.length;)(!o||o&&t[r[i]]===a)&&(t[r[i]]=e[r[i]]),i++;return t}),"extend","Use `assign`."),dt=l((function(t,e){return ht(t,e,!0)}),"merge","Use `assign`."),ft=1,yt="ontouchstart"in i,mt=x(i,"PointerEvent")!==a,gt=yt&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),vt=25,bt=1,_t=2,wt=4,Mt=8,St=1,xt=2,Lt=4,Ot=8,Tt=16,jt=xt|Lt,kt=Ot|Tt,Dt=jt|kt,Pt=["x","y"],Ct=["clientX","clientY"];O.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(L(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&g(this.element,this.evEl,this.domHandler),this.evTarget&&g(this.target,this.evTarget,this.domHandler),this.evWin&&g(L(this.element),this.evWin,this.domHandler)}};var Yt={mousedown:bt,mousemove:_t,mouseup:wt},Rt="mousedown",Et="mousemove mouseup";h(R,O,{handler:function(t){var e=Yt[t.type];e&bt&&0===t.button&&(this.pressed=!0),e&_t&&1!==t.which&&(e=wt),this.pressed&&(e&wt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var It={pointerdown:bt,pointermove:_t,pointerup:wt,pointercancel:Mt,pointerout:Mt},Ft={2:"touch",3:"pen",4:"mouse",5:"kinect"},At="pointerdown",Nt="pointermove pointerup pointercancel";i.MSPointerEvent&&!i.PointerEvent&&(At="MSPointerDown",Nt="MSPointerMove MSPointerUp MSPointerCancel"),h(E,O,{handler:function(t){var e=this.store,o=!1,r=t.type.toLowerCase().replace("ms",""),i=It[r],n=Ft[t.pointerType]||t.pointerType,s="touch"==n,a=w(e,t.pointerId,"pointerId");i&bt&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):i&(wt|Mt)&&(o=!0),a<0||(e[a]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:n,srcEvent:t}),o&&e.splice(a,1))}});var Ht={touchstart:bt,touchmove:_t,touchend:wt,touchcancel:Mt},Wt="touchstart",Bt="touchstart touchmove touchend touchcancel";h(I,O,{handler:function(t){var e=Ht[t.type];if(e===bt&&(this.started=!0),this.started){var o=F.call(this,t,e);e&(wt|Mt)&&o[0].length-o[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:o[0],changedPointers:o[1],pointerType:"touch",srcEvent:t})}}});var Vt={touchstart:bt,touchmove:_t,touchend:wt,touchcancel:Mt},zt="touchstart touchmove touchend touchcancel";h(A,O,{handler:function(t){var e=Vt[t.type],o=N.call(this,t,e);o&&this.callback(this.manager,e,{pointers:o[0],changedPointers:o[1],pointerType:"touch",srcEvent:t})}});var Ut=2500,Gt=25;h(H,O,{handler:function(t,e,o){var r="touch"==o.pointerType,i="mouse"==o.pointerType;if(!(i&&o.sourceCapabilities&&o.sourceCapabilities.firesTouchEvents)){if(r)W.call(this,e,o);else if(i&&V.call(this,o))return;this.callback(t,e,o)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var qt=x(at.style,"touchAction"),$t=qt!==a,Jt="auto",Xt="manipulation",Kt="none",Zt="pan-x",Qt="pan-y",te=function(){if(!$t)return!1;var t={},e=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(o){t[o]=!e||i.CSS.supports("touch-action",o)})),t}();z.prototype={set:function(t){"compute"==t&&(t=this.compute()),$t&&this.manager.element.style&&te[t]&&(this.manager.element.style[qt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return p(this.manager.recognizers,(function(e){f(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(b(t,Kt))return Kt;var e=b(t,Zt),o=b(t,Qt);return e&&o?Kt:e||o?e?Zt:Qt:b(t,Xt)?Xt:Jt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,o=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=b(r,Kt)&&!te[Kt],n=b(r,Qt)&&!te[Qt],s=b(r,Zt)&&!te[Zt];if(i){var a=1===t.pointers.length,c=t.distance<2,u=t.deltaTime<250;if(a&&c&&u)return}if(!s||!n)return i||n&&o&jt||s&&o&kt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ee=1,oe=2,re=4,ie=8,ne=ie,se=16;U.prototype={defaults:{},set:function(t){return nt(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(u(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=$(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return u(t,"dropRecognizeWith",this)||(t=$(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(u(t,"requireFailure",this))return this;var e=this.requireFail;return-1===w(e,t=$(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(u(t,"dropRequireFailure",this))return this;t=$(t,this);var e=w(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){o.manager.emit(e,t)}var o=this,r=this.state;r<ie&&e(o.options.event+G(r)),e(o.options.event),t.additionalEvent&&e(t.additionalEvent),r>=ie&&e(o.options.event+G(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|ee)))return!1;t++}return!0},recognize:function(t){var e=nt({},t);f(this.options.enable,[this,e])?(this.state&(ne|se|32)&&(this.state=ee),this.state=this.process(e),this.state&(oe|re|ie|se)&&this.tryEmit(e)):(this.reset(),this.state=32)},process:function(t){},getTouchAction:function(){},reset:function(){}},h(J,U,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,o=t.eventType,r=e&(oe|re),i=this.attrTest(t);return r&&(o&Mt||!i)?e|se:r||i?o&wt?e|ie:e&oe?e|re:oe:32}}),h(X,J,{defaults:{event:"pan",threshold:10,pointers:1,direction:Dt},getTouchAction:function(){var t=this.options.direction,e=[];return t&jt&&e.push(Qt),t&kt&&e.push(Zt),e},directionTest:function(t){var e=this.options,o=!0,r=t.distance,i=t.direction,n=t.deltaX,s=t.deltaY;return i&e.direction||(e.direction&jt?(i=0===n?St:n<0?xt:Lt,o=n!=this.pX,r=Math.abs(t.deltaX)):(i=0===s?St:s<0?Ot:Tt,o=s!=this.pY,r=Math.abs(t.deltaY))),t.direction=i,o&&r>e.threshold&&i&e.direction},attrTest:function(t){return J.prototype.attrTest.call(this,t)&&(this.state&oe||!(this.state&oe)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=q(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),h(K,J,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Kt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&oe)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),h(Z,U,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Jt]},process:function(t){var e=this.options,o=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime>e.time;if(this._input=t,!r||!o||t.eventType&(wt|Mt)&&!i)this.reset();else if(t.eventType&bt)this.reset(),this._timer=c((function(){this.state=ne,this.tryEmit()}),e.time,this);else if(t.eventType&wt)return ne;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ne&&(t&&t.eventType&wt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=lt(),this.manager.emit(this.options.event,this._input)))}}),h(Q,J,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Kt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&oe)}}),h(tt,J,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:jt|kt,pointers:1},getTouchAction:function(){return X.prototype.getTouchAction.call(this)},attrTest:function(t){var e,o=this.options.direction;return o&(jt|kt)?e=t.overallVelocity:o&jt?e=t.overallVelocityX:o&kt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&o&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&pt(e)>this.options.velocity&&t.eventType&wt},emit:function(t){var e=q(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h(et,U,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Xt]},process:function(t){var e=this.options,o=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime<e.time;if(this.reset(),t.eventType&bt&&0===this.count)return this.failTimeout();if(r&&i&&o){if(t.eventType!=wt)return this.failTimeout();var n=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||C(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&n?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=c((function(){this.state=ne,this.tryEmit()}),e.interval,this),oe):ne}return 32},failTimeout:function(){return this._timer=c((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ne&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ot.VERSION="2.0.7",ot.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Q,{enable:!1}],[K,{enable:!1},["rotate"]],[tt,{direction:jt}],[X,{direction:jt},["swipe"]],[et],[et,{event:"doubletap",taps:2},["tap"]],[Z]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},rt.prototype={set:function(t){return nt(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var o,r=this.recognizers,i=e.curRecognizer;(!i||i&&i.state&ne)&&(i=e.curRecognizer=null);for(var n=0;n<r.length;)o=r[n],2===e.stopped||i&&o!=i&&!o.canRecognizeWith(i)?o.reset():o.recognize(t),!i&&o.state&(oe|re|ie)&&(i=e.curRecognizer=o),n++}},get:function(t){if(t instanceof U)return t;for(var e=this.recognizers,o=0;o<e.length;o++)if(e[o].options.event==t)return e[o];return null},add:function(t){if(u(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(u(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,o=w(e,t);-1!==o&&(e.splice(o,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var o=this.handlers;return p(_(t),(function(t){o[t]=o[t]||[],o[t].push(e)})),this}},off:function(t,e){if(t!==a){var o=this.handlers;return p(_(t),(function(t){e?o[t]&&o[t].splice(w(o[t],e),1):delete o[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var o=n.createEvent("Event");o.initEvent(t,!0,!0),o.gesture=e,e.target.dispatchEvent(o)}(t,e);var o=this.handlers[t]&&this.handlers[t].slice();if(o&&o.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<o.length;)o[r](e),r++}},destroy:function(){this.element&&it(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},nt(ot,{INPUT_START:bt,INPUT_MOVE:_t,INPUT_END:wt,INPUT_CANCEL:Mt,STATE_POSSIBLE:ee,STATE_BEGAN:oe,STATE_CHANGED:re,STATE_ENDED:ie,STATE_RECOGNIZED:ne,STATE_CANCELLED:se,STATE_FAILED:32,DIRECTION_NONE:St,DIRECTION_LEFT:xt,DIRECTION_RIGHT:Lt,DIRECTION_UP:Ot,DIRECTION_DOWN:Tt,DIRECTION_HORIZONTAL:jt,DIRECTION_VERTICAL:kt,DIRECTION_ALL:Dt,Manager:rt,Input:O,TouchAction:z,TouchInput:A,MouseInput:R,PointerEventInput:E,TouchMouseInput:H,SingleTouchInput:I,Recognizer:U,AttrRecognizer:J,Tap:et,Pan:X,Swipe:tt,Pinch:K,Rotate:Q,Press:Z,on:m,off:g,each:p,merge:dt,extend:ht,assign:nt,inherit:h,bindFn:d,prefixed:x}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=ot,(r=function(){return ot}.call(e,o,e,t))!==a&&(t.exports=r)}(window,document)},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(136);e.IgoAnalyticsModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[n.AnalyticsService]}},t=e=r([i.NgModule({imports:[],declarations:[],exports:[]})],t);var e}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Base64=function(){function t(){}return t.getByte=function(t,e){return t.charCodeAt(e)},t.getByte64=function(t,e){return this.ALPHA.indexOf(t.charAt(e))},t.decode=function(t){var e,o,r=0,i=t.length,n=[];if(t=String(t),0===i)return t;for(t.charAt(i-1)===this.PADCHAR&&(r=1,t.charAt(i-2)===this.PADCHAR&&(r=2),i-=4),e=0;e<i;e+=4)o=this.getByte64(t,e)<<18|this.getByte64(t,e+1)<<12|this.getByte64(t,e+2)<<6|this.getByte64(t,e+3),n.push(String.fromCharCode(o>>16,o>>8&255,255&o));switch(r){case 1:o=this.getByte64(t,e)<<18|this.getByte64(t,e+1)<<12|this.getByte64(t,e+2)<<6,n.push(String.fromCharCode(o>>16,o>>8&255));break;case 2:o=this.getByte64(t,e)<<18|this.getByte64(t,e+1)<<12,n.push(String.fromCharCode(o>>16))}return n.join("")},t.encode=function(t){var e,o,r=[],i=(t=String(t)).length-t.length%3;if(0===t.length)return t;for(e=0;e<i;e+=3)o=this.getByte(t,e)<<16|this.getByte(t,e+1)<<8|this.getByte(t,e+2),r.push(this.ALPHA.charAt(o>>18)),r.push(this.ALPHA.charAt(o>>12&63)),r.push(this.ALPHA.charAt(o>>6&63)),r.push(this.ALPHA.charAt(63&o));switch(t.length-i){case 1:o=this.getByte(t,e)<<16,r.push(this.ALPHA.charAt(o>>18)+this.ALPHA.charAt(o>>12&63)+this.PADCHAR+this.PADCHAR);break;case 2:o=this.getByte(t,e)<<16|this.getByte(t,e+1)<<8,r.push(this.ALPHA.charAt(o>>18)+this.ALPHA.charAt(o>>12&63)+this.ALPHA.charAt(o>>6&63)+this.PADCHAR)}return r.join("")},t.PADCHAR="=",t.ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(489);e.Clipboard=function(){function t(){}return t.copy=function(e){var o=!1;if("string"==typeof e){var r=t.createTextArea(e);t.selectText(r),o=t.copyTextToClipboard(),t.destroyTextArea(r)}else t.selectText(e),o=t.copyTextToClipboard();return o},t.createTextArea=function(t){var e=document.createElement("textArea");return e.value=t,document.body.appendChild(e),e},t.destroyTextArea=function(t){document.body.removeChild(t)},t.selectText=function(t){if(r.ios){var e=t.contentEditable,o=t.readOnly,i=document.createRange(),n=window.getSelection();t.contenteditable=!0,t.readonly=!1,i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i),t.setSelectionRange(0,999999),t.contentEditable=e,t.readOnly=o}else t.select()},t.copyTextToClipboard=function(){return!(r.ios&&r.version<10)&&document.execCommand("copy")},t}()},function(t,e,o){var r;r=function(){function t(t){function e(e){var o=t.match(e);return o&&o.length>1&&o[1]||""}function o(e){var o=t.match(e);return o&&o.length>1&&o[2]||""}var i,s=e(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(t)&&/android/i.test(t),c=/nexus\s*[0-6]\s*/i.test(t),u=!c&&/nexus\s*[0-9]+/i.test(t),p=/CrOS/.test(t),l=/silk/i.test(t),h=/sailfish/i.test(t),d=/tizen/i.test(t),f=/(web|hpw)(o|0)s/i.test(t),y=/windows phone/i.test(t),m=(/SamsungBrowser/i.test(t),!y&&/windows/i.test(t)),g=!s&&!l&&/macintosh/i.test(t),v=!a&&!h&&!d&&!f&&/linux/i.test(t),b=o(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=e(/version\/(\d+(\.\d+)?)/i),w=/tablet/i.test(t)&&!/tablet pc/i.test(t),M=!w&&/[^-]mobi/i.test(t),S=/xbox/i.test(t);/opera/i.test(t)?i={name:"Opera",opera:n,version:_||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?i={name:"Opera",opera:n,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:n,version:_||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?i={name:"NAVER Whale browser",whale:n,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?i={name:"MZ Browser",mzbrowser:n,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?i={name:"Opera Coast",coast:n,version:_||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?i={name:"Focus",focus:n,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?i={name:"Yandex Browser",yandexbrowser:n,version:_||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?i={name:"UC Browser",ucbrowser:n,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?i={name:"Maxthon",maxthon:n,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?i={name:"Epiphany",epiphany:n,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?i={name:"Puffin",puffin:n,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?i={name:"Sleipnir",sleipnir:n,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?i={name:"K-Meleon",kMeleon:n,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:y?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:n},b?(i.msedge=n,i.version=b):(i.msie=n,i.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?i={name:"Internet Explorer",msie:n,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:p?i={name:"Chrome",osname:"Chrome OS",chromeos:n,chromeBook:n,chrome:n,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?i={name:"Microsoft Edge",msedge:n,version:b}:/vivaldi/i.test(t)?i={name:"Vivaldi",vivaldi:n,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||_}:h?i={name:"Sailfish",osname:"Sailfish OS",sailfish:n,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?i={name:"SeaMonkey",seamonkey:n,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(i={name:"Firefox",firefox:n,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i.firefoxos=n,i.osname="Firefox OS")):l?i={name:"Amazon Silk",silk:n,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?i={name:"PhantomJS",phantom:n,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?i={name:"SlimerJS",slimer:n,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:n,version:_||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(i={name:"WebOS",osname:"WebOS",webos:n,version:_||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=n)):/bada/i.test(t)?i={name:"Bada",osname:"Bada",bada:n,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:d?i={name:"Tizen",osname:"Tizen",tizen:n,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(t)?i={name:"QupZilla",qupzilla:n,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(t)?i={name:"Chromium",chromium:n,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(t)?i={name:"Chrome",chrome:n,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?i={name:"Android",version:_}:/safari|applewebkit/i.test(t)?(i={name:"Safari",safari:n},_&&(i.version=_)):s?(i={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},_&&(i.version=_)):i=/googlebot/i.test(t)?{name:"Googlebot",googlebot:n,version:e(/googlebot\/(\d+(\.\d+))/i)||_}:{name:e(/^(.*)\/(.*) /),version:o(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(i.name=i.name||"Blink",i.blink=n):(i.name=i.name||"Webkit",i.webkit=n),!i.version&&_&&(i.version=_)):!i.opera&&/gecko\//i.test(t)&&(i.name=i.name||"Gecko",i.gecko=n,i.version=i.version||e(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!a&&!i.silk?!i.windowsphone&&s?(i[s]=n,i.ios=n,i.osname="iOS"):g?(i.mac=n,i.osname="macOS"):S?(i.xbox=n,i.osname="Xbox"):m?(i.windows=n,i.osname="Windows"):v&&(i.linux=n,i.osname="Linux"):(i.android=n,i.osname="Android");var x="";i.windows?x=function(t){switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?x=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?x=(x=e(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):s?x=(x=e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?x=e(/android[ \/-](\d+(\.\d+)*)/i):i.webos?x=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?x=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?x=e(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(x=e(/tizen[\/\s](\d+(\.\d+)*)/i)),x&&(i.osversion=x);var L=!i.windows&&x.split(".")[0];return w||u||"ipad"==s||a&&(3==L||L>=4&&!M)||i.silk?i.tablet=n:(M||"iphone"==s||"ipod"==s||a||c||i.blackberry||i.webos||i.bada)&&(i.mobile=n),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.whale&&1===r([i.version,"1.0"])||i.mzbrowser&&1===r([i.version,"6.0"])||i.focus&&1===r([i.version,"1.0"])||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=n:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=n:i.x=n,i}function e(t){return t.split(".").length}function o(t,e){var o,r=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(o=0;o<t.length;o++)r.push(e(t[o]));return r}function r(t){for(var r=Math.max(e(t[0]),e(t[1])),i=o(t,(function(t){var i=r-e(t);return o((t+=new Array(i+1).join(".0")).split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));--r>=0;){if(i[0][r]>i[1][r])return 1;if(i[0][r]!==i[1][r])return-1;if(0===r)return 0}}function i(e,o,i){var n=s;"string"==typeof o&&(i=o,o=void 0),void 0===o&&(o=!1),i&&(n=t(i));var a=""+n.version;for(var c in e)if(e.hasOwnProperty(c)&&n[c]){if("string"!=typeof e[c])throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(e));return r([a,e[c]])<0}return o}var n=!0,s=t("undefined"!=typeof navigator&&navigator.userAgent||"");return s.test=function(t){for(var e=0;e<t.length;++e){var o=t[e];if("string"==typeof o&&o in s)return!0}return!1},s.isUnsupportedBrowser=i,s.compareVersions=r,s.check=function(t,e,o){return!i(t,e,o)},s._detect=t,s.detect=t,s},void 0!==t&&t.exports?t.exports=r():o(490)("bowser",r)},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ObjectUtils=function(){function t(){}return t.resolve=function(t,e){for(var o=e.replace(/\[/g,".").replace(/\]/g,"").split("."),r=t;o.length;){if("object"!=typeof r)return;r=r[o.shift()]}return r},t.isObject=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&null!==t&&!(t instanceof Date)},t.mergeDeep=function(e,o,r){void 0===r&&(r=!1);var i=Object.assign({},e);return t.isObject(e)&&t.isObject(o)&&Object.keys(o).filter((function(t){return!r||void 0!==o[t]})).forEach((function(n){var s,a;t.isObject(o[n])?n in e?i[n]=t.mergeDeep(e[n],o[n],r):Object.assign(i,((s={})[n]=o[n],s)):Object.assign(i,((a={})[n]=o[n],a))})),i},t.removeUndefined=function(e){var o={};return t.isObject(e)?(Object.keys(e).filter((function(t){return void 0!==e[t]})).forEach((function(r){o[r]=t.isObject(e[r])||Array.isArray(e[r])?t.removeUndefined(e[r]):e[r]})),o):Array.isArray(e)?e.map((function(e){return t.removeUndefined(e)})):e},t.removeNull=function(e){var o={};return t.isObject(e)?(Object.keys(e).filter((function(t){return null!==e[t]})).forEach((function(r){o[r]=t.isObject(e[r])||Array.isArray(e[r])?t.removeNull(e[r]):e[r]})),o):Array.isArray(e)?e.map((function(e){return t.removeNull(e)})):e},t}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=o(63),n=o(39);!function(t){t[t.Error=0]="Error",t[t.Done=1]="Done",t[t.Working=2]="Working",t[t.Waiting=3]="Waiting"}(r=e.SubjectStatus||(e.SubjectStatus={})),e.Watcher=function(){function t(){this.status$=new i.Subject}return Object.defineProperty(t.prototype,"status",{get:function(){return this._status},set:function(t){this._status=t,this.status$.next(t)},enumerable:!0,configurable:!0}),t.prototype.subscribe=function(t,e){var o=this;this.watch(),this.status$$=this.status$.pipe(n.distinctUntilChanged()).subscribe((function(r){o.handleStatusChange(r),t.call(e,o)}))},t.prototype.unsubscribe=function(){this.unwatch(),void 0!==this.status$$&&(this.status$$.unsubscribe(),this.status$$=void 0),this.status=r.Waiting},t.prototype.handleStatusChange=function(t){},t}()},function(t,e,o){"use strict";function r(t,e){return function(){return t.load(e)}}Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(89);e.CONFIG_OPTIONS=new i.InjectionToken("configOptions"),e.provideConfigOptions=function(t){return{provide:e.CONFIG_OPTIONS,useValue:t}},e.configFactory=r,e.provideConfigLoader=function(){return{provide:i.APP_INITIALIZER,useFactory:r,multi:!0,deps:[n.ConfigService,e.CONFIG_OPTIONS]}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(136))},function(t,e,o){"use strict";function r(t){this.message=t}var i=o(496);r.prototype=new Error,r.prototype.name="InvalidTokenError",t.exports=function(t,e){if("string"!=typeof t)throw new r("Invalid token specified");var o=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[o]))}catch(t){throw new r("Invalid token specified: "+t.message)}},t.exports.InvalidTokenError=r},function(t,e,o){var r=o(497);t.exports=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(r(t).replace(/(.)/g,(function(t,e){var o=e.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o})))}(e)}catch(t){return r(e)}}},function(t,e){function o(t){this.message=t}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.prototype=new Error,o.prototype.name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new o("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,n,s=0,a=0,c="";n=e.charAt(a++);~n&&(i=s%4?64*i+n:n,s++%4)?c+=String.fromCharCode(255&i>>(-2*s&6)):0)n=r.indexOf(n);return c}},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(499)),r(o(243)),r(o(29)),r(o(240)),r(o(245)),r(o(111)),r(o(246)),r(o(815))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(11),s=o(137),a=o(79),c=o(88),u=o(29),p=o(240),l=o(243),h=o(245),d=o(246),f=o(111);e.IgoCoreModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[u.ConfigService,u.provideConfigOptions({}),u.provideConfigLoader(),l.ActivityService,{provide:n.HTTP_INTERCEPTORS,useClass:l.ActivityInterceptor,multi:!0},h.MediaService,f.MessageService,{provide:n.HTTP_INTERCEPTORS,useClass:d.ErrorInterceptor,multi:!0},a.TranslateService,p.LanguageService,p.provideDefaultLanguageLoader()]}},t=e=r([i.NgModule({imports:[c.CustomMaterialModule,s.SimpleNotificationsModule.forRoot(),a.TranslateModule.forRoot({missingTranslationHandler:{provide:a.MissingTranslationHandler,useClass:p.IgoMissingTranslationHandler}})],declarations:[f.MessageCenterComponent],exports:[f.MessageCenterComponent]})],t);var e}()},function(t,e,o){"use strict";var r=o(16);e.Subject=r.Subject,e.AnonymousSubject=r.AnonymousSubject,e.Observable=o(1).Observable,o(502),o(505),o(508),o(511),o(514),o(517),o(519),o(522),o(523),o(526),o(529),o(531),o(534),o(537),o(542),o(543),o(544),o(547),o(548),o(550),o(553),o(556),o(559),o(562),o(564),o(566),o(568),o(574),o(576),o(578),o(580),o(582),o(584),o(586),o(588),o(590),o(592),o(594),o(596),o(598),o(600),o(602),o(604),o(606),o(608),o(610),o(612),o(615),o(617),o(619),o(621),o(623),o(625),o(627),o(629),o(631),o(633),o(635),o(637),o(639),o(644),o(646),o(648),o(650),o(652),o(654),o(656),o(658),o(660),o(662),o(664),o(666),o(668),o(670),o(672),o(674),o(676),o(678),o(680),o(682),o(684),o(686),o(689),o(691),o(693),o(695),o(697),o(699),o(701),o(703),o(705),o(707),o(709),o(711),o(713),o(715),o(717),o(719),o(721),o(723),o(725),o(727),o(729),o(731),o(733),o(735),o(744),o(746),o(748),o(750),o(752),o(754),o(756),o(758),o(760),o(762),o(763),o(765),o(767),o(769),o(771),o(772),o(774),o(776),o(778),o(780),o(782),o(784),o(786),e.Subscription=o(15).Subscription,e.Subscriber=o(4).Subscriber,e.AsyncSubject=o(69).AsyncSubject,e.ReplaySubject=o(76).ReplaySubject,e.BehaviorSubject=o(196).BehaviorSubject,e.ConnectableObservable=o(190).ConnectableObservable,e.Notification=o(43).Notification,e.EmptyError=o(77).EmptyError,e.ArgumentOutOfRangeError=o(49).ArgumentOutOfRangeError,e.ObjectUnsubscribedError=o(68).ObjectUnsubscribedError,e.TimeoutError=o(226).TimeoutError,e.UnsubscriptionError=o(139).UnsubscriptionError,e.TimeInterval=o(223).TimeInterval,e.Timestamp=o(108).Timestamp,e.TestScheduler=o(788).TestScheduler,e.VirtualTimeScheduler=o(239).VirtualTimeScheduler;var i=o(150);e.AjaxResponse=i.AjaxResponse,e.AjaxError=i.AjaxError,e.AjaxTimeoutError=i.AjaxTimeoutError,e.pipe=o(92).pipe;var n=o(215),s=o(9),a=o(151),c=o(791),u=o(66),p=o(41),l=o(67);e.operators=o(795),e.Scheduler={asap:n.asap,queue:a.queue,animationFrame:c.animationFrame,async:s.async},e.Symbol={rxSubscriber:u.rxSubscriber,observable:l.observable,iterator:p.iterator}},function(t,e,o){"use strict";var r=o(4),i=o(66),n=o(140);e.toSubscriber=function(t,e,o){if(t){if(t instanceof r.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||o?new r.Subscriber(t,e,o):new r.Subscriber(n.empty)}},function(t,e,o){"use strict";o(1).Observable.bindCallback=o(503).bindCallback},function(t,e,o){"use strict";e.bindCallback=o(504).BoundCallbackObservable.create},function(t,e,o){"use strict";function r(t){var e=t.value,o=t.subject;o.next(e),o.complete()}function i(t){t.subject.error(t.err)}var n=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},s=o(1),a=o(18),c=o(17),u=o(69);e.BoundCallbackObservable=function(t){function e(e,o,r,i,n){t.call(this),this.callbackFunc=e,this.selector=o,this.args=r,this.context=i,this.scheduler=n}return n(e,t),e.create=function(t,o,r){return void 0===o&&(o=void 0),function(){for(var i=[],n=0;n<arguments.length;n++)i[n-0]=arguments[n];return new e(t,o,i,this,r)}},e.prototype._subscribe=function(t){var o=this.callbackFunc,r=this.args,i=this.scheduler,n=this.subject;if(i)return i.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!n){n=this.subject=new u.AsyncSubject;var s=function t(){for(var e=[],o=0;o<arguments.length;o++)e[o-0]=arguments[o];var r=t.source,i=r.selector,n=r.subject;if(i){var s=a.tryCatch(i).apply(this,e);s===c.errorObject?n.error(c.errorObject.e):(n.next(s),n.complete())}else n.next(e.length<=1?e[0]:e),n.complete()};s.source=this,a.tryCatch(o).apply(this.context,r.concat(s))===c.errorObject&&n.error(c.errorObject.e)}return n.subscribe(t)},e.dispatch=function(t){var e=this,o=t.source,n=t.subscriber,s=t.context,p=o.callbackFunc,l=o.args,h=o.scheduler,d=o.subject;if(!d){d=o.subject=new u.AsyncSubject;var f=function t(){for(var o=[],n=0;n<arguments.length;n++)o[n-0]=arguments[n];var s=t.source,u=s.selector,p=s.subject;if(u){var l=a.tryCatch(u).apply(this,o);e.add(l===c.errorObject?h.schedule(i,0,{err:c.errorObject.e,subject:p}):h.schedule(r,0,{value:l,subject:p}))}else e.add(h.schedule(r,0,{value:o.length<=1?o[0]:o,subject:p}))};f.source=o,a.tryCatch(p).apply(s,l.concat(f))===c.errorObject&&d.error(c.errorObject.e)}e.add(d.subscribe(n))},e}(s.Observable)},function(t,e,o){"use strict";o(1).Observable.bindNodeCallback=o(506).bindNodeCallback},function(t,e,o){"use strict";e.bindNodeCallback=o(507).BoundNodeCallbackObservable.create},function(t,e,o){"use strict";function r(t){var e=this,o=t.source,r=t.subscriber,s=t.context,a=o,l=a.callbackFunc,h=a.args,d=a.scheduler,f=o.subject;if(!f){f=o.subject=new p.AsyncSubject;var y=function t(){for(var o=[],r=0;r<arguments.length;r++)o[r-0]=arguments[r];var s=t.source,a=s.selector,p=s.subject,l=o.shift();if(l)e.add(d.schedule(n,0,{err:l,subject:p}));else if(a){var h=c.tryCatch(a).apply(this,o);e.add(h===u.errorObject?d.schedule(n,0,{err:u.errorObject.e,subject:p}):d.schedule(i,0,{value:h,subject:p}))}else{var f=o.length<=1?o[0]:o;e.add(d.schedule(i,0,{value:f,subject:p}))}};y.source=o,c.tryCatch(l).apply(s,h.concat(y))===u.errorObject&&e.add(d.schedule(n,0,{err:u.errorObject.e,subject:f}))}e.add(f.subscribe(r))}function i(t){var e=t.value,o=t.subject;o.next(e),o.complete()}function n(t){t.subject.error(t.err)}var s=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},a=o(1),c=o(18),u=o(17),p=o(69);e.BoundNodeCallbackObservable=function(t){function e(e,o,r,i,n){t.call(this),this.callbackFunc=e,this.selector=o,this.args=r,this.context=i,this.scheduler=n}return s(e,t),e.create=function(t,o,r){return void 0===o&&(o=void 0),function(){for(var i=[],n=0;n<arguments.length;n++)i[n-0]=arguments[n];return new e(t,o,i,this,r)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,o=this.args,i=this.scheduler,n=this.subject;if(i)return i.schedule(r,0,{source:this,subscriber:t,context:this.context});if(!n){n=this.subject=new p.AsyncSubject;var s=function t(){for(var e=[],o=0;o<arguments.length;o++)e[o-0]=arguments[o];var r=t.source,i=r.selector,n=r.subject,s=e.shift();if(s)n.error(s);else if(i){var a=c.tryCatch(i).apply(this,e);a===u.errorObject?n.error(u.errorObject.e):(n.next(a),n.complete())}else n.next(e.length<=1?e[0]:e),n.complete()};s.source=this,c.tryCatch(e).apply(this.context,o.concat(s))===u.errorObject&&n.error(u.errorObject.e)}return n.subscribe(t)},e}(a.Observable)},function(t,e,o){"use strict";o(1).Observable.combineLatest=o(509).combineLatest},function(t,e,o){"use strict";var r=o(23),i=o(25),n=o(30),s=o(70);e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var o=null,a=null;return r.isScheduler(t[t.length-1])&&(a=t.pop()),"function"==typeof t[t.length-1]&&(o=t.pop()),1===t.length&&i.isArray(t[0])&&(t=t[0]),new n.ArrayObservable(t,a).lift(new s.CombineLatestOperator(o))}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(4);e.InnerSubscriber=function(t){function e(e,o,r){t.call(this),this.parent=e,this.outerValue=o,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(i.Subscriber)},function(t,e,o){"use strict";o(1).Observable.concat=o(42).concat},function(t,e,o){"use strict";function r(t){var e,o=+t.length;return isNaN(o)?0:0!==o&&"number"==typeof(e=o)&&n.root.isFinite(e)?(o=function(t){var e=+t;return 0===e||isNaN(e)?e:e<0?-1:1}(o)*Math.floor(Math.abs(o)),o<=0?0:o>p?p:o):o}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(20),s=o(1),a=o(41);e.IteratorObservable=function(t){function e(e,o){if(t.call(this),this.scheduler=o,null==e)throw new Error("iterator cannot be null.");this.iterator=function(t){var e=t[a.iterator];if(!e&&"string"==typeof t)return new c(t);if(!e&&void 0!==t.length)return new u(t);if(!e)throw new TypeError("object is not iterable");return t[a.iterator]()}(e)}return i(e,t),e.create=function(t,o){return new e(t,o)},e.dispatch=function(t){var e=t.index,o=t.hasError,r=t.iterator,i=t.subscriber;if(o)i.error(t.error);else{var n=r.next();n.done?i.complete():(i.next(n.value),t.index=e+1,i.closed?"function"==typeof r.return&&r.return():this.schedule(t))}},e.prototype._subscribe=function(t){var o=this.iterator,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{index:0,iterator:o,subscriber:t});for(;;){var i=o.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof o.return&&o.return();break}}},e}(s.Observable);var c=function(){function t(t,e,o){void 0===e&&(e=0),void 0===o&&(o=t.length),this.str=t,this.idx=e,this.len=o}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),u=function(){function t(t,e,o){void 0===e&&(e=0),void 0===o&&(o=r(t)),this.arr=t,this.idx=e,this.len=o}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),p=Math.pow(2,53)-1},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(94),s=o(31);e.ArrayLikeObservable=function(t){function e(e,o){t.call(this),this.arrayLike=e,this.scheduler=o,o||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,o){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new n.ScalarObservable(t[0],o):new e(t,o)},e.dispatch=function(t){var e=t.arrayLike,o=t.index,r=t.length,i=t.subscriber;i.closed||(o>=r?i.complete():(i.next(e[o]),t.index=o+1,this.schedule(t)))},e.prototype._subscribe=function(t){var o=this.arrayLike,r=this.scheduler,i=o.length;if(r)return r.schedule(e.dispatch,0,{arrayLike:o,index:0,length:i,subscriber:t});for(var n=0;n<i&&!t.closed;n++)t.next(o[n]);t.complete()},e}(i.Observable)},function(t,e,o){"use strict";o(1).Observable.defer=o(515).defer},function(t,e,o){"use strict";e.defer=o(516).DeferObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(8),s=o(7);e.DeferObservable=function(t){function e(e){t.call(this),this.observableFactory=e}return r(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new a(t,this.observableFactory)},e}(i.Observable);var a=function(t){function e(e,o){t.call(this,e),this.factory=o,this.tryDefer()}return r(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(n.subscribeToResult(this,t))},e}(s.OuterSubscriber)},function(t,e,o){"use strict";o(1).Observable.empty=o(518).empty},function(t,e,o){"use strict";e.empty=o(31).EmptyObservable.create},function(t,e,o){"use strict";o(1).Observable.forkJoin=o(520).forkJoin},function(t,e,o){"use strict";e.forkJoin=o(521).ForkJoinObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(31),s=o(25),a=o(8),c=o(7);e.ForkJoinObservable=function(t){function e(e,o){t.call(this),this.sources=e,this.resultSelector=o}return r(e,t),e.create=function(){for(var t=[],o=0;o<arguments.length;o++)t[o-0]=arguments[o];if(null===t||0===arguments.length)return new n.EmptyObservable;var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&s.isArray(t[0])&&(t=t[0]),0===t.length?new n.EmptyObservable:new e(t,r)},e.prototype._subscribe=function(t){return new u(t,this.sources,this.resultSelector)},e}(i.Observable);var u=function(t){function e(e,o,r){t.call(this,e),this.sources=o,this.resultSelector=r,this.completed=0,this.haveValues=0;var i=o.length;this.total=i,this.values=new Array(i);for(var n=0;n<i;n++){var s=o[n],c=a.subscribeToResult(this,s,null,n);c&&(c.outerIndex=n,this.add(c))}}return r(e,t),e.prototype.notifyNext=function(t,e,o,r,i){this.values[o]=e,i._hasValue||(i._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,o=this,r=o.haveValues,i=o.resultSelector,n=o.values,s=n.length;t._hasValue?(this.completed++,this.completed===s&&(r===s&&e.next(i?i.apply(this,n):n),e.complete())):e.complete()},e}(c.OuterSubscriber)},function(t,e,o){"use strict";o(1).Observable.from=o(145).from},function(t,e,o){"use strict";o(1).Observable.fromEvent=o(524).fromEvent},function(t,e,o){"use strict";e.fromEvent=o(525).FromEventObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(18),s=o(65),a=o(17),c=o(15),u=Object.prototype.toString;e.FromEventObservable=function(t){function e(e,o,r,i){t.call(this),this.sourceObj=e,this.eventName=o,this.selector=r,this.options=i}return r(e,t),e.create=function(t,o,r,i){return s.isFunction(r)&&(i=r,r=void 0),new e(t,o,i,r)},e.setupSubscription=function(t,o,r,i,n){var s;if(function(t){return!!t&&"[object NodeList]"===u.call(t)}(t)||function(t){return!!t&&"[object HTMLCollection]"===u.call(t)}(t))for(var a=0,p=t.length;a<p;a++)e.setupSubscription(t[a],o,r,i,n);else if(function(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var l=t;t.addEventListener(o,r,n),s=function(){return l.removeEventListener(o,r,n)}}else if(function(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var h=t;t.on(o,r),s=function(){return h.off(o,r)}}else{if(!function(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t))throw new TypeError("Invalid event target");var d=t;t.addListener(o,r),s=function(){return d.removeListener(o,r)}}i.add(new c.Subscription(s))},e.prototype._subscribe=function(t){var o=this.sourceObj,r=this.eventName,i=this.options,s=this.selector;e.setupSubscription(o,r,s?function(){for(var e=[],o=0;o<arguments.length;o++)e[o-0]=arguments[o];var r=n.tryCatch(s).apply(void 0,e);r===a.errorObject?t.error(a.errorObject.e):t.next(r)}:function(e){return t.next(e)},t,i)},e}(i.Observable)},function(t,e,o){"use strict";o(1).Observable.fromEventPattern=o(527).fromEventPattern},function(t,e,o){"use strict";e.fromEventPattern=o(528).FromEventPatternObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(65),n=o(1),s=o(15);e.FromEventPatternObservable=function(t){function e(e,o,r){t.call(this),this.addHandler=e,this.removeHandler=o,this.selector=r}return r(e,t),e.create=function(t,o,r){return new e(t,o,r)},e.prototype._subscribe=function(t){var e=this,o=this.removeHandler,r=this.selector?function(){for(var o=[],r=0;r<arguments.length;r++)o[r-0]=arguments[r];e._callSelector(t,o)}:function(e){t.next(e)},n=this._callAddHandler(r,t);i.isFunction(o)&&t.add(new s.Subscription((function(){o(r,n)})))},e.prototype._callSelector=function(t,e){try{var o=this.selector.apply(this,e);t.next(o)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(n.Observable)},function(t,e,o){"use strict";o(1).Observable.fromPromise=o(530).fromPromise},function(t,e,o){"use strict";e.fromPromise=o(147).PromiseObservable.create},function(t,e,o){"use strict";o(1).Observable.generate=o(532).generate},function(t,e,o){"use strict";e.generate=o(533).GenerateObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(23),s=function(t){return t};e.GenerateObservable=function(t){function e(e,o,r,i,n){t.call(this),this.initialState=e,this.condition=o,this.iterate=r,this.resultSelector=i,this.scheduler=n}return r(e,t),e.create=function(t,o,r,i,a){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===i||n.isScheduler(i)?new e(t,o,r,s,i):new e(t,o,r,i,a)},e.prototype._subscribe=function(t){var o=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:o});for(var r=this,i=r.condition,n=r.resultSelector,s=r.iterate;;){if(i){var a=void 0;try{a=i(o)}catch(e){return void t.error(e)}if(!a){t.complete();break}}var c=void 0;try{c=n(o)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{o=s(o)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,o=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(o){var r=void 0;try{r=o(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}},e}(i.Observable)},function(t,e,o){"use strict";o(1).Observable.if=o(535)._if},function(t,e,o){"use strict";e._if=o(536).IfObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(8),s=o(7);e.IfObservable=function(t){function e(e,o,r){t.call(this),this.condition=e,this.thenSource=o,this.elseSource=r}return r(e,t),e.create=function(t,o,r){return new e(t,o,r)},e.prototype._subscribe=function(t){var e=this;return new a(t,e.condition,e.thenSource,e.elseSource)},e}(i.Observable);var a=function(t){function e(e,o,r,i){t.call(this,e),this.condition=o,this.thenSource=r,this.elseSource=i,this.tryIf()}return r(e,t),e.prototype.tryIf=function(){var t=this,e=t.condition,o=t.thenSource,r=t.elseSource;try{var i=e()?o:r;i?this.add(n.subscribeToResult(this,i)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},function(t,e,o){"use strict";o(1).Observable.interval=o(538).interval},function(t,e,o){"use strict";e.interval=o(539).IntervalObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(45),n=o(1),s=o(9);e.IntervalObservable=function(t){function e(e,o){void 0===e&&(e=0),void 0===o&&(o=s.async),t.call(this),this.period=e,this.scheduler=o,(!i.isNumeric(e)||e<0)&&(this.period=0),o&&"function"==typeof o.schedule||(this.scheduler=s.async)}return r(e,t),e.create=function(t,o){return void 0===t&&(t=0),void 0===o&&(o=s.async),new e(t,o)},e.dispatch=function(t){var e=t.index,o=t.subscriber,r=t.period;o.next(e),o.closed||(t.index+=1,this.schedule(t,r))},e.prototype._subscribe=function(t){var o=this.period;t.add(this.scheduler.schedule(e.dispatch,o,{index:0,subscriber:t,period:o}))},e}(n.Observable)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(15);e.Action=function(t){function e(e,o){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription)},function(t,e,o){"use strict";e.Scheduler=function(){function t(e,o){void 0===o&&(o=t.now),this.SchedulerAction=e,this.now=o}return t.prototype.schedule=function(t,e,o){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(o,e)},t.now=Date.now?Date.now:function(){return+new Date},t}()},function(t,e,o){"use strict";o(1).Observable.merge=o(73).merge},function(t,e,o){"use strict";o(1).Observable.race=o(96).race},function(t,e,o){"use strict";o(1).Observable.never=o(545).never},function(t,e,o){"use strict";e.never=o(546).NeverObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(93);e.NeverObservable=function(t){function e(){t.call(this)}return r(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){n.noop()},e}(i.Observable)},function(t,e,o){"use strict";o(1).Observable.of=o(144).of},function(t,e,o){"use strict";o(1).Observable.onErrorResumeNext=o(549).onErrorResumeNext},function(t,e,o){"use strict";e.onErrorResumeNext=o(97).onErrorResumeNextStatic},function(t,e,o){"use strict";o(1).Observable.pairs=o(551).pairs},function(t,e,o){"use strict";e.pairs=o(552).PairsObservable.create},function(t,e,o){"use strict";function r(t){var e=t.obj,o=t.keys,r=t.length,i=t.index,n=t.subscriber;if(i!==r){var s=o[i];n.next([s,e[s]]),t.index=i+1,this.schedule(t)}else n.complete()}var i=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},n=o(1);e.PairsObservable=function(t){function e(e,o){t.call(this),this.obj=e,this.scheduler=o,this.keys=Object.keys(e)}return i(e,t),e.create=function(t,o){return new e(t,o)},e.prototype._subscribe=function(t){var e=this.keys,o=this.scheduler,i=e.length;if(o)return o.schedule(r,0,{obj:this.obj,keys:e,length:i,index:0,subscriber:t});for(var n=0;n<i;n++){var s=e[n];t.next([s,this.obj[s]])}t.complete()},e}(n.Observable)},function(t,e,o){"use strict";o(1).Observable.range=o(554).range},function(t,e,o){"use strict";e.range=o(555).RangeObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1);e.RangeObservable=function(t){function e(e,o,r){t.call(this),this.start=e,this._count=o,this.scheduler=r}return r(e,t),e.create=function(t,o,r){return void 0===t&&(t=0),void 0===o&&(o=0),new e(t,o,r)},e.dispatch=function(t){var e=t.start,o=t.index,r=t.count,i=t.subscriber;o>=r?i.complete():(i.next(e),i.closed||(t.index=o+1,t.start=e+1,this.schedule(t)))},e.prototype._subscribe=function(t){var o=0,r=this.start,i=this._count,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{index:o,count:i,start:r,subscriber:t});for(;;){if(o++>=i){t.complete();break}if(t.next(r++),t.closed)break}},e}(i.Observable)},function(t,e,o){"use strict";o(1).Observable.using=o(557).using},function(t,e,o){"use strict";e.using=o(558).UsingObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(8),s=o(7);e.UsingObservable=function(t){function e(e,o){t.call(this),this.resourceFactory=e,this.observableFactory=o}return r(e,t),e.create=function(t,o){return new e(t,o)},e.prototype._subscribe=function(t){var e,o=this.resourceFactory,r=this.observableFactory;try{return e=o(),new a(t,e,r)}catch(e){t.error(e)}},e}(i.Observable);var a=function(t){function e(e,o,r){t.call(this,e),this.resource=o,this.observableFactory=r,e.add(o),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(n.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},function(t,e,o){"use strict";o(1).Observable.throw=o(560)._throw},function(t,e,o){"use strict";e._throw=o(561).ErrorObservable.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1);e.ErrorObservable=function(t){function e(e,o){t.call(this),this.error=e,this.scheduler=o}return r(e,t),e.create=function(t,o){return new e(t,o)},e.dispatch=function(t){t.subscriber.error(t.error)},e.prototype._subscribe=function(t){var o=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:o,subscriber:t});t.error(o)},e}(i.Observable)},function(t,e,o){"use strict";o(1).Observable.timer=o(149).timer},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(45),n=o(1),s=o(9),a=o(23),c=o(74);e.TimerObservable=function(t){function e(e,o,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(o)?this.period=Number(o)<1?1:Number(o):a.isScheduler(o)&&(r=o),a.isScheduler(r)||(r=s.async),this.scheduler=r,this.dueTime=c.isDate(e)?+e-this.scheduler.now():e}return r(e,t),e.create=function(t,o,r){return void 0===t&&(t=0),new e(t,o,r)},e.dispatch=function(t){var e=t.index,o=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===o)return r.complete();t.index=e+1,this.schedule(t,o)}},e.prototype._subscribe=function(t){var o=this;return o.scheduler.schedule(e.dispatch,o.dueTime,{index:0,period:o.period,subscriber:t})},e}(n.Observable)},function(t,e,o){"use strict";o(1).Observable.zip=o(565).zip},function(t,e,o){"use strict";e.zip=o(75).zipStatic},function(t,e,o){"use strict";o(1).Observable.ajax=o(567).ajax},function(t,e,o){"use strict";e.ajax=o(150).AjaxObservable.create},function(t,e,o){"use strict";o(1).Observable.webSocket=o(569).webSocket},function(t,e,o){"use strict";e.webSocket=o(570).WebSocketSubject.create},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(4),s=o(1),a=o(15),c=o(20),u=o(76),p=o(18),l=o(17),h=o(573);e.WebSocketSubject=function(t){function e(e,o){if(e instanceof s.Observable)t.call(this,o,e);else{if(t.call(this),this.WebSocketCtor=c.root.WebSocket,this._output=new i.Subject,"string"==typeof e?this.url=e:h.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.ReplaySubject}}return r(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var o=new e(this,this.destination);return o.operator=t,o},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new u.ReplaySubject),this._output=new i.Subject},e.prototype.multiplex=function(t,e,o){var r=this;return new s.Observable((function(i){var n=p.tryCatch(t)();n===l.errorObject?i.error(l.errorObject.e):r.next(n);var s=r.subscribe((function(t){var e=p.tryCatch(o)(t);e===l.errorObject?i.error(l.errorObject.e):e&&i.next(t)}),(function(t){return i.error(t)}),(function(){return i.complete()}));return function(){var t=p.tryCatch(e)();t===l.errorObject?i.error(l.errorObject.e):r.next(t),s.unsubscribe()}}))},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,o=this._output,r=null;try{r=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=r,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void o.error(t)}var i=new a.Subscription((function(){t.socket=null,r&&1===r.readyState&&r.close()}));r.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=n.Subscriber.create((function(t){return 1===r.readyState&&r.send(t)}),(function(e){var i=t.closingObserver;i&&i.next(void 0),e&&e.code?r.close(e.code,e.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()}),(function(){var e=t.closingObserver;e&&e.next(void 0),r.close(),t._resetState()})),a&&a instanceof u.ReplaySubject&&i.add(a.subscribe(t.destination))},r.onerror=function(e){t._resetState(),o.error(e)},r.onclose=function(e){t._resetState();var r=t.closeObserver;r&&r.next(e),e.wasClean?o.complete():o.error(e)},r.onmessage=function(e){var r=p.tryCatch(t.resultSelector)(e);r===l.errorObject?o.error(l.errorObject.e):o.next(r)}},e.prototype._subscribe=function(t){var e=this,o=this.source;if(o)return o.subscribe(t);this.socket||this._connectSocket();var r=new a.Subscription;return r.add(this._output.subscribe(t)),r.add((function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())})),r},e.prototype.unsubscribe=function(){var e=this.source,o=this.socket;o&&1===o.readyState&&(o.close(),this._resetState()),t.prototype.unsubscribe.call(this),e||(this.destination=new u.ReplaySubject)},e}(i.AnonymousSubject)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(46);e.QueueAction=function(t){function e(e,o){t.call(this,e,o),this.scheduler=e,this.work=o}return r(e,t),e.prototype.schedule=function(e,o){return void 0===o&&(o=0),o>0?t.prototype.schedule.call(this,e,o):(this.delay=o,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,o){return o>0||this.closed?t.prototype.execute.call(this,e,o):this._execute(e,o)},e.prototype.requestAsyncId=function(e,o,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,o,r):e.flush(this)},e}(i.AsyncAction)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(47);e.QueueScheduler=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.AsyncScheduler)},function(t,e,o){"use strict";function r(t){for(var e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];for(var r=e.length,i=0;i<r;i++){var n=e[i];for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])}return t}function i(t){return t.Object.assign||r}var n=o(20);e.assignImpl=r,e.getAssign=i,e.assign=i(n.root)},function(t,e,o){"use strict";o(1).Observable.prototype.buffer=o(575).buffer},function(t,e,o){"use strict";var r=o(152);e.buffer=function(t){return r.buffer(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.bufferCount=o(577).bufferCount},function(t,e,o){"use strict";var r=o(153);e.bufferCount=function(t,e){return void 0===e&&(e=null),r.bufferCount(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.bufferTime=o(579).bufferTime},function(t,e,o){"use strict";var r=o(9),i=o(23),n=o(154);e.bufferTime=function(t){var e=arguments.length,o=r.async;i.isScheduler(arguments[arguments.length-1])&&(o=arguments[arguments.length-1],e--);var s=null;e>=2&&(s=arguments[1]);var a=Number.POSITIVE_INFINITY;return e>=3&&(a=arguments[2]),n.bufferTime(t,s,a,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.bufferToggle=o(581).bufferToggle},function(t,e,o){"use strict";var r=o(155);e.bufferToggle=function(t,e){return r.bufferToggle(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.bufferWhen=o(583).bufferWhen},function(t,e,o){"use strict";var r=o(156);e.bufferWhen=function(t){return r.bufferWhen(t)(this)}},function(t,e,o){"use strict";var r=o(1),i=o(585);r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},function(t,e,o){"use strict";var r=o(157);e._catch=function(t){return r.catchError(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.combineAll=o(587).combineAll},function(t,e,o){"use strict";var r=o(158);e.combineAll=function(t){return r.combineAll(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.combineLatest=o(589).combineLatest},function(t,e,o){"use strict";var r=o(70);e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.combineLatest.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.concat=o(591).concat},function(t,e,o){"use strict";var r=o(159);e.concatStatic=o(42).concat,e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.concat.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.concatAll=o(593).concatAll},function(t,e,o){"use strict";var r=o(95);e.concatAll=function(){return r.concatAll()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.concatMap=o(595).concatMap},function(t,e,o){"use strict";var r=o(98);e.concatMap=function(t,e){return r.concatMap(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.concatMapTo=o(597).concatMapTo},function(t,e,o){"use strict";var r=o(160);e.concatMapTo=function(t,e){return r.concatMapTo(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.count=o(599).count},function(t,e,o){"use strict";var r=o(161);e.count=function(t){return r.count(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.dematerialize=o(601).dematerialize},function(t,e,o){"use strict";var r=o(162);e.dematerialize=function(){return r.dematerialize()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.debounce=o(603).debounce},function(t,e,o){"use strict";var r=o(163);e.debounce=function(t){return r.debounce(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.debounceTime=o(605).debounceTime},function(t,e,o){"use strict";var r=o(9),i=o(164);e.debounceTime=function(t,e){return void 0===e&&(e=r.async),i.debounceTime(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.defaultIfEmpty=o(607).defaultIfEmpty},function(t,e,o){"use strict";var r=o(99);e.defaultIfEmpty=function(t){return void 0===t&&(t=null),r.defaultIfEmpty(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.delay=o(609).delay},function(t,e,o){"use strict";var r=o(9),i=o(165);e.delay=function(t,e){return void 0===e&&(e=r.async),i.delay(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.delayWhen=o(611).delayWhen},function(t,e,o){"use strict";var r=o(166);e.delayWhen=function(t,e){return r.delayWhen(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.distinct=o(613).distinct},function(t,e,o){"use strict";var r=o(167);e.distinct=function(t,e){return r.distinct(t,e)(this)}},function(t,e,o){"use strict";function r(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var i=o(20);e.minimalSetImpl=r,e.Set=i.root.Set||r()},function(t,e,o){"use strict";o(1).Observable.prototype.distinctUntilChanged=o(616).distinctUntilChanged},function(t,e,o){"use strict";var r=o(100);e.distinctUntilChanged=function(t,e){return r.distinctUntilChanged(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.distinctUntilKeyChanged=o(618).distinctUntilKeyChanged},function(t,e,o){"use strict";var r=o(168);e.distinctUntilKeyChanged=function(t,e){return r.distinctUntilKeyChanged(t,e)(this)}},function(t,e,o){"use strict";var r=o(1),i=o(620);r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},function(t,e,o){"use strict";var r=o(169);e._do=function(t,e,o){return r.tap(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.exhaust=o(622).exhaust},function(t,e,o){"use strict";var r=o(170);e.exhaust=function(){return r.exhaust()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.exhaustMap=o(624).exhaustMap},function(t,e,o){"use strict";var r=o(171);e.exhaustMap=function(t,e){return r.exhaustMap(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.expand=o(626).expand},function(t,e,o){"use strict";var r=o(172);e.expand=function(t,e,o){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===o&&(o=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,r.expand(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.elementAt=o(628).elementAt},function(t,e,o){"use strict";var r=o(173);e.elementAt=function(t,e){return r.elementAt(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.filter=o(630).filter},function(t,e,o){"use strict";var r=o(101);e.filter=function(t,e){return r.filter(t,e)(this)}},function(t,e,o){"use strict";var r=o(1),i=o(632);r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},function(t,e,o){"use strict";var r=o(174);e._finally=function(t){return r.finalize(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.find=o(634).find},function(t,e,o){"use strict";var r=o(102);e.find=function(t,e){return r.find(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.findIndex=o(636).findIndex},function(t,e,o){"use strict";var r=o(175);e.findIndex=function(t,e){return r.findIndex(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.first=o(638).first},function(t,e,o){"use strict";var r=o(176);e.first=function(t,e,o){return r.first(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.groupBy=o(640).groupBy},function(t,e,o){"use strict";var r=o(177);e.GroupedObservable=r.GroupedObservable,e.groupBy=function(t,e,o,i){return r.groupBy(t,e,o,i)(this)}},function(t,e,o){"use strict";var r=o(20),i=o(642);e.Map=r.root.Map||i.MapPolyfill},function(t,e,o){"use strict";e.MapPolyfill=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var o=this._keys.indexOf(t);return-1===o?(this._keys.push(t),this._values.push(e),this.size++):this._values[o]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var o=0;o<this.size;o++)t.call(e,this._values[o],this._keys[o])},t}()},function(t,e,o){"use strict";e.FastMap=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var o=this.values;for(var r in o)o.hasOwnProperty(r)&&null!==o[r]&&t.call(e,o[r],r)},t.prototype.clear=function(){this.values={}},t}()},function(t,e,o){"use strict";o(1).Observable.prototype.ignoreElements=o(645).ignoreElements},function(t,e,o){"use strict";var r=o(178);e.ignoreElements=function(){return r.ignoreElements()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.isEmpty=o(647).isEmpty},function(t,e,o){"use strict";var r=o(179);e.isEmpty=function(){return r.isEmpty()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.audit=o(649).audit},function(t,e,o){"use strict";var r=o(103);e.audit=function(t){return r.audit(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.auditTime=o(651).auditTime},function(t,e,o){"use strict";var r=o(9),i=o(180);e.auditTime=function(t,e){return void 0===e&&(e=r.async),i.auditTime(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.last=o(653).last},function(t,e,o){"use strict";var r=o(181);e.last=function(t,e,o){return r.last(t,e,o)(this)}},function(t,e,o){"use strict";var r=o(1),i=o(655);r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},function(t,e,o){"use strict";e.letProto=function(t){return t(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.every=o(657).every},function(t,e,o){"use strict";var r=o(182);e.every=function(t,e){return r.every(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.map=o(659).map},function(t,e,o){"use strict";var r=o(48);e.map=function(t,e){return r.map(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.mapTo=o(661).mapTo},function(t,e,o){"use strict";var r=o(183);e.mapTo=function(t){return r.mapTo(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.materialize=o(663).materialize},function(t,e,o){"use strict";var r=o(184);e.materialize=function(){return r.materialize()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.max=o(665).max},function(t,e,o){"use strict";var r=o(185);e.max=function(t){return r.max(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.merge=o(667).merge},function(t,e,o){"use strict";var r=o(186);e.mergeStatic=o(73).merge,e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.merge.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.mergeAll=o(669).mergeAll},function(t,e,o){"use strict";var r=o(72);e.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeAll(t)(this)}},function(t,e,o){"use strict";var r=o(1),i=o(671);r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},function(t,e,o){"use strict";var r=o(44);e.mergeMap=function(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),r.mergeMap(t,e,o)(this)}},function(t,e,o){"use strict";var r=o(1),i=o(673);r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},function(t,e,o){"use strict";var r=o(187);e.mergeMapTo=function(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),r.mergeMapTo(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.mergeScan=o(675).mergeScan},function(t,e,o){"use strict";var r=o(188);e.mergeScan=function(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),r.mergeScan(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.min=o(677).min},function(t,e,o){"use strict";var r=o(189);e.min=function(t){return r.min(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.multicast=o(679).multicast},function(t,e,o){"use strict";var r=o(32);e.multicast=function(t,e){return r.multicast(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.observeOn=o(681).observeOn},function(t,e,o){"use strict";var r=o(71);e.observeOn=function(t,e){return void 0===e&&(e=0),r.observeOn(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.onErrorResumeNext=o(683).onErrorResumeNext},function(t,e,o){"use strict";var r=o(97);e.onErrorResumeNext=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.onErrorResumeNext.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.pairwise=o(685).pairwise},function(t,e,o){"use strict";var r=o(191);e.pairwise=function(){return r.pairwise()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.partition=o(687).partition},function(t,e,o){"use strict";var r=o(192);e.partition=function(t,e){return r.partition(t,e)(this)}},function(t,e,o){"use strict";e.not=function(t,e){function o(){return!o.pred.apply(o.thisArg,arguments)}return o.pred=t,o.thisArg=e,o}},function(t,e,o){"use strict";o(1).Observable.prototype.pluck=o(690).pluck},function(t,e,o){"use strict";var r=o(193);e.pluck=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.pluck.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.publish=o(692).publish},function(t,e,o){"use strict";var r=o(194);e.publish=function(t){return r.publish(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.publishBehavior=o(694).publishBehavior},function(t,e,o){"use strict";var r=o(195);e.publishBehavior=function(t){return r.publishBehavior(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.publishReplay=o(696).publishReplay},function(t,e,o){"use strict";var r=o(197);e.publishReplay=function(t,e,o,i){return r.publishReplay(t,e,o,i)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.publishLast=o(698).publishLast},function(t,e,o){"use strict";var r=o(198);e.publishLast=function(){return r.publishLast()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.race=o(700).race},function(t,e,o){"use strict";var r=o(199);e.raceStatic=o(96).race,e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.race.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.reduce=o(702).reduce},function(t,e,o){"use strict";var r=o(50);e.reduce=function(t,e){return arguments.length>=2?r.reduce(t,e)(this):r.reduce(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.repeat=o(704).repeat},function(t,e,o){"use strict";var r=o(200);e.repeat=function(t){return void 0===t&&(t=-1),r.repeat(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.repeatWhen=o(706).repeatWhen},function(t,e,o){"use strict";var r=o(201);e.repeatWhen=function(t){return r.repeatWhen(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.retry=o(708).retry},function(t,e,o){"use strict";var r=o(202);e.retry=function(t){return void 0===t&&(t=-1),r.retry(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.retryWhen=o(710).retryWhen},function(t,e,o){"use strict";var r=o(203);e.retryWhen=function(t){return r.retryWhen(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.sample=o(712).sample},function(t,e,o){"use strict";var r=o(204);e.sample=function(t){return r.sample(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.sampleTime=o(714).sampleTime},function(t,e,o){"use strict";var r=o(9),i=o(205);e.sampleTime=function(t,e){return void 0===e&&(e=r.async),i.sampleTime(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.scan=o(716).scan},function(t,e,o){"use strict";var r=o(104);e.scan=function(t,e){return arguments.length>=2?r.scan(t,e)(this):r.scan(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.sequenceEqual=o(718).sequenceEqual},function(t,e,o){"use strict";var r=o(206);e.sequenceEqual=function(t,e){return r.sequenceEqual(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.share=o(720).share},function(t,e,o){"use strict";var r=o(207);e.share=function(){return r.share()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.shareReplay=o(722).shareReplay},function(t,e,o){"use strict";var r=o(208);e.shareReplay=function(t,e,o){return r.shareReplay(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.single=o(724).single},function(t,e,o){"use strict";var r=o(209);e.single=function(t){return r.single(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.skip=o(726).skip},function(t,e,o){"use strict";var r=o(210);e.skip=function(t){return r.skip(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.skipLast=o(728).skipLast},function(t,e,o){"use strict";var r=o(211);e.skipLast=function(t){return r.skipLast(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.skipUntil=o(730).skipUntil},function(t,e,o){"use strict";var r=o(212);e.skipUntil=function(t){return r.skipUntil(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.skipWhile=o(732).skipWhile},function(t,e,o){"use strict";var r=o(213);e.skipWhile=function(t){return r.skipWhile(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.startWith=o(734).startWith},function(t,e,o){"use strict";var r=o(214);e.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.startWith.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.subscribeOn=o(736).subscribeOn},function(t,e,o){"use strict";var r=o(737);e.subscribeOn=function(t,e){return void 0===e&&(e=0),r.subscribeOn(t,e)(this)}},function(t,e,o){"use strict";var r=o(738);e.subscribeOn=function(t,e){return void 0===e&&(e=0),function(o){return o.lift(new i(t,e))}};var i=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new r.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(215),s=o(45);e.SubscribeOnObservable=function(t){function e(e,o,r){void 0===o&&(o=0),void 0===r&&(r=n.asap),t.call(this),this.source=e,this.delayTime=o,this.scheduler=r,(!s.isNumeric(o)||o<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=n.asap)}return r(e,t),e.create=function(t,o,r){return void 0===o&&(o=0),void 0===r&&(r=n.asap),new e(t,o,r)},e.dispatch=function(t){return this.add(t.source.subscribe(t.subscriber))},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.delayTime,{source:this.source,subscriber:t})},e}(i.Observable)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(740),n=o(46);e.AsapAction=function(t){function e(e,o){t.call(this,e,o),this.scheduler=e,this.work=o}return r(e,t),e.prototype.requestAsyncId=function(e,o,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,o,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,o,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,o,r);0===e.actions.length&&(i.Immediate.clearImmediate(o),e.scheduled=void 0)},e}(n.AsyncAction)},function(t,e,o){"use strict";(function(t,r){var i=o(20),n=function(){function t(t){if(this.root=t,t.setImmediate&&"function"==typeof t.setImmediate)this.setImmediate=t.setImmediate.bind(t),this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.setImmediate=this.canUseProcessNextTick()?this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.createReadyStateChangeSetImmediate():this.createSetTimeoutSetImmediate();var e=function t(e){delete t.instance.tasksByHandle[e]};e.instance=this,this.clearImmediate=e}}return t.prototype.identify=function(t){return this.root.Object.prototype.toString.call(t)},t.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},t.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},t.prototype.canUseReadyStateChange=function(){var t=this.root.document;return Boolean(t&&"onreadystatechange"in t.createElement("script"))},t.prototype.canUsePostMessage=function(){var t=this.root;if(t.postMessage&&!t.importScripts){var e=!0,o=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=o,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];var r=function t(){var e=t.handler,o=t.args;"function"==typeof e?e.apply(void 0,o):new Function(""+e)()};return r.handler=t,r.args=e,r},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,o=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,o)),o};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",o=function o(r){var i=o.instance;r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(e)&&i.runIfPresent(+r.data.slice(e.length))};o.instance=this,t.addEventListener("message",o,!1);var r=function t(){var e=t.messagePrefix,o=t.instance,r=o.addFromSetImmediateArguments(arguments);return o.root.postMessage(e+r,"*"),r};return r.instance=this,r.messagePrefix=e,r},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){t.runIfPresent(e.data)};var o=function t(){var e=t.channel,o=t.instance.addFromSetImmediateArguments(arguments);return e.port2.postMessage(o),o};return o.channel=e,o.instance=this,o},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,o=e.root.document,r=o.documentElement,i=e.addFromSetImmediateArguments(arguments),n=o.createElement("script");return n.onreadystatechange=function(){e.runIfPresent(i),n.onreadystatechange=null,r.removeChild(n),n=null},r.appendChild(n),i};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,o=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,o),0),o};return t.instance=this,t},t}();e.ImmediateDefinition=n,e.Immediate=new n(i.root)}).call(e,o(216).clearImmediate,o(216).setImmediate)},function(t,e,o){(function(t,e){!function(t){"use strict";function o(t){delete s[t]}function r(t){if(a)setTimeout(r,0,t);else{var e=s[t];if(e){a=!0;try{!function(t){var e=t.callback,o=t.args;switch(o.length){case 0:e();break;case 1:e(o[0]);break;case 2:e(o[0],o[1]);break;case 3:e(o[0],o[1],o[2]);break;default:e.apply(void 0,o)}}(e)}finally{o(t),a=!1}}}}if(!t.setImmediate){var i,n=1,s={},a=!1,c=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){r(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,o=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=o,e}}()?(h="setImmediate$"+Math.random()+"$",d=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(h)&&r(+e.data.slice(h.length))},t.addEventListener?t.addEventListener("message",d,!1):t.attachEvent("onmessage",d),i=function(e){t.postMessage(h+e,"*")}):t.MessageChannel?((l=new MessageChannel).port1.onmessage=function(t){r(t.data)},i=function(t){l.port2.postMessage(t)}):c&&"onreadystatechange"in c.createElement("script")?(p=c.documentElement,i=function(t){var e=c.createElement("script");e.onreadystatechange=function(){r(t),e.onreadystatechange=null,p.removeChild(e),e=null},p.appendChild(e)}):i=function(t){setTimeout(r,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),o=0;o<e.length;o++)e[o]=arguments[o+1];return s[n]={callback:t,args:e},i(n),n++},u.clearImmediate=o}var p,l,h,d}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,o(64),o(742))},function(t,e){function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(u===setTimeout)return setTimeout(t,0);if((u===o||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function n(){f&&h&&(f=!1,h.length?d=h.concat(d):y=-1,d.length&&s())}function s(){if(!f){var t=i(n);f=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,f=!1,function(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}(t)}}function a(t,e){this.fun=t,this.array=e}function c(){}var u,p,l=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:o}catch(t){u=o}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var h,d=[],f=!1,y=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];d.push(new a(t,e)),1!==d.length||f||i(s)},a.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=c,l.addListener=c,l.once=c,l.off=c,l.removeListener=c,l.removeAllListeners=c,l.emit=c,l.prependListener=c,l.prependOnceListener=c,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(47);e.AsapScheduler=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,o=this.actions,r=-1,i=o.length;t=t||o.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=o.shift()));if(this.active=!1,e){for(;++r<i&&(t=o.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler)},function(t,e,o){"use strict";var r=o(1),i=o(745);r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},function(t,e,o){"use strict";var r=o(217);e._switch=function(){return r.switchAll()(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.switchMap=o(747).switchMap},function(t,e,o){"use strict";var r=o(107);e.switchMap=function(t,e){return r.switchMap(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.switchMapTo=o(749).switchMapTo},function(t,e,o){"use strict";var r=o(218);e.switchMapTo=function(t,e){return r.switchMapTo(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.take=o(751).take},function(t,e,o){"use strict";var r=o(219);e.take=function(t){return r.take(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.takeLast=o(753).takeLast},function(t,e,o){"use strict";var r=o(105);e.takeLast=function(t){return r.takeLast(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.takeUntil=o(755).takeUntil},function(t,e,o){"use strict";var r=o(220);e.takeUntil=function(t){return r.takeUntil(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.takeWhile=o(757).takeWhile},function(t,e,o){"use strict";var r=o(221);e.takeWhile=function(t){return r.takeWhile(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.throttle=o(759).throttle},function(t,e,o){"use strict";var r=o(78);e.throttle=function(t,e){return void 0===e&&(e=r.defaultThrottleConfig),r.throttle(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.throttleTime=o(761).throttleTime},function(t,e,o){"use strict";var r=o(9),i=o(78),n=o(222);e.throttleTime=function(t,e,o){return void 0===e&&(e=r.async),void 0===o&&(o=i.defaultThrottleConfig),n.throttleTime(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.timeInterval=o(223).timeInterval},function(t,e,o){"use strict";o(1).Observable.prototype.timeout=o(764).timeout},function(t,e,o){"use strict";var r=o(9),i=o(225);e.timeout=function(t,e){return void 0===e&&(e=r.async),i.timeout(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.timeoutWith=o(766).timeoutWith},function(t,e,o){"use strict";var r=o(9),i=o(227);e.timeoutWith=function(t,e,o){return void 0===o&&(o=r.async),i.timeoutWith(t,e,o)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.timestamp=o(768).timestamp},function(t,e,o){"use strict";var r=o(9),i=o(108);e.timestamp=function(t){return void 0===t&&(t=r.async),i.timestamp(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.toArray=o(770).toArray},function(t,e,o){"use strict";var r=o(228);e.toArray=function(){return r.toArray()(this)}},function(t,e){},function(t,e,o){"use strict";o(1).Observable.prototype.window=o(773).window},function(t,e,o){"use strict";var r=o(229);e.window=function(t){return r.window(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.windowCount=o(775).windowCount},function(t,e,o){"use strict";var r=o(230);e.windowCount=function(t,e){return void 0===e&&(e=0),r.windowCount(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.windowTime=o(777).windowTime},function(t,e,o){"use strict";var r=o(9),i=o(45),n=o(23),s=o(231);e.windowTime=function(t){var e=r.async,o=null,a=Number.POSITIVE_INFINITY;return n.isScheduler(arguments[3])&&(e=arguments[3]),n.isScheduler(arguments[2])?e=arguments[2]:i.isNumeric(arguments[2])&&(a=arguments[2]),n.isScheduler(arguments[1])?e=arguments[1]:i.isNumeric(arguments[1])&&(o=arguments[1]),s.windowTime(t,o,a,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.windowToggle=o(779).windowToggle},function(t,e,o){"use strict";var r=o(232);e.windowToggle=function(t,e){return r.windowToggle(t,e)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.windowWhen=o(781).windowWhen},function(t,e,o){"use strict";var r=o(233);e.windowWhen=function(t){return r.windowWhen(t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.withLatestFrom=o(783).withLatestFrom},function(t,e,o){"use strict";var r=o(234);e.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.withLatestFrom.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.zip=o(785).zipProto},function(t,e,o){"use strict";var r=o(75);e.zipProto=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.zip.apply(void 0,t)(this)}},function(t,e,o){"use strict";o(1).Observable.prototype.zipAll=o(787).zipAll},function(t,e,o){"use strict";var r=o(235);e.zipAll=function(t){return r.zipAll(t)(this)}},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(43),s=o(789),a=o(790),c=o(237),u=o(239);e.TestScheduler=function(t){function e(e){t.call(this,u.VirtualAction,750),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var o=t.indexOf("|");if(-1===o)throw new Error('marble diagram for time should have a completion marker "|"');return o*e.frameTimeFactor},e.prototype.createColdObservable=function(t,o,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,o,r),n=new s.ColdObservable(i,this);return this.coldObservables.push(n),n},e.prototype.createHotObservable=function(t,o,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,o,r),n=new a.HotObservable(i,this);return this.hotObservables.push(n),n},e.prototype.materializeInnerObservable=function(t,e){var o=this,r=[];return t.subscribe((function(t){r.push({frame:o.frame-e,notification:n.Notification.createNext(t)})}),(function(t){r.push({frame:o.frame-e,notification:n.Notification.createError(t)})}),(function(){r.push({frame:o.frame-e,notification:n.Notification.createComplete()})})),r},e.prototype.expectObservable=function(t,o){var r=this;void 0===o&&(o=null);var s,a=[],c={actual:a,ready:!1},u=e.parseMarblesAsSubscriptions(o).unsubscribedFrame;return this.schedule((function(){s=t.subscribe((function(t){var e=t;t instanceof i.Observable&&(e=r.materializeInnerObservable(e,r.frame)),a.push({frame:r.frame,notification:n.Notification.createNext(e)})}),(function(t){a.push({frame:r.frame,notification:n.Notification.createError(t)})}),(function(){a.push({frame:r.frame,notification:n.Notification.createComplete()})}))}),0),u!==Number.POSITIVE_INFINITY&&this.schedule((function(){return s.unsubscribe()}),u),this.flushTests.push(c),{toBe:function(t,o,r){c.ready=!0,c.expected=e.parseMarbles(t,o,r,!0)}}},e.prototype.expectSubscriptions=function(t){var o={actual:t,ready:!1};return this.flushTests.push(o),{toBe:function(t){var r="string"==typeof t?[t]:t;o.ready=!0,o.expected=r.map((function(t){return e.parseMarblesAsSubscriptions(t)}))}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var o=this.flushTests.filter((function(t){return t.ready}));o.length>0;){var r=o.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new c.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,o=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,n=0;n<e;n++){var s=n*this.frameTimeFactor,a=t[n];switch(a){case"-":case" ":break;case"(":o=s;break;case")":o=-1;break;case"^":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=o>-1?o:s;break;case"!":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=o>-1?o:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return i<0?new c.SubscriptionLog(r):new c.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,o,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,a=[],c=t.indexOf("^"),u=-1===c?0:c*-this.frameTimeFactor,p="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},l=-1,h=0;h<i;h++){var d=h*this.frameTimeFactor+u,f=void 0,y=t[h];switch(y){case"-":case" ":case"^":break;case"(":l=d;break;case")":l=-1;break;case"|":f=n.Notification.createComplete();break;case"#":f=n.Notification.createError(o||"error");break;default:f=n.Notification.createNext(p(y))}f&&a.push({frame:l>-1?l:d,notification:f})}return a},e}(u.VirtualTimeScheduler)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(1),n=o(15),s=o(236),a=o(238),c=function(t){function e(e,o){t.call(this,(function(t){var e=this,o=e.logSubscribedFrame();return t.add(new n.Subscription((function(){e.logUnsubscribedFrame(o)}))),e.scheduleMessages(t),t})),this.messages=e,this.subscriptions=[],this.scheduler=o}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,o=0;o<e;o++){var r=this.messages[o];t.add(this.scheduler.schedule((function(t){t.message.notification.observe(t.subscriber)}),r.frame,{message:r,subscriber:t}))}},e}(i.Observable);e.ColdObservable=c,a.applyMixins(c,[s.SubscriptionLoggable])},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(16),n=o(15),s=o(236),a=o(238),c=function(t){function e(e,o){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=o}return r(e,t),e.prototype._subscribe=function(e){var o=this,r=o.logSubscribedFrame();return e.add(new n.Subscription((function(){o.logUnsubscribedFrame(r)}))),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,o=0;o<e;o++)!function(){var e=t.messages[o];t.scheduler.schedule((function(){e.notification.observe(t)}),e.frame)}()},e}(i.Subject);e.HotObservable=c,a.applyMixins(c,[s.SubscriptionLoggable])},function(t,e,o){"use strict";var r=o(792);e.animationFrame=new(o(794).AnimationFrameScheduler)(r.AnimationFrameAction)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(46),n=o(793);e.AnimationFrameAction=function(t){function e(e,o){t.call(this,e,o),this.scheduler=e,this.work=o}return r(e,t),e.prototype.requestAsyncId=function(e,o,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,o,r):(e.actions.push(this),e.scheduled||(e.scheduled=n.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,o,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,o,r);0===e.actions.length&&(n.AnimationFrame.cancelAnimationFrame(o),e.scheduled=void 0)},e}(i.AsyncAction)},function(t,e,o){"use strict";var r=o(20),i=function(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})};e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(r.root)},function(t,e,o){"use strict";var r=this&&this.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},i=o(47);e.AnimationFrameScheduler=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,o=this.actions,r=-1,i=o.length;t=t||o.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=o.shift()));if(this.active=!1,e){for(;++r<i&&(t=o.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler)},function(t,e,o){"use strict";e.audit=o(103).audit,e.auditTime=o(180).auditTime,e.buffer=o(152).buffer,e.bufferCount=o(153).bufferCount,e.bufferTime=o(154).bufferTime,e.bufferToggle=o(155).bufferToggle,e.bufferWhen=o(156).bufferWhen,e.catchError=o(157).catchError,e.combineAll=o(158).combineAll,e.combineLatest=o(70).combineLatest,e.concat=o(159).concat,e.concatAll=o(95).concatAll,e.concatMap=o(98).concatMap,e.concatMapTo=o(160).concatMapTo,e.count=o(161).count,e.debounce=o(163).debounce,e.debounceTime=o(164).debounceTime,e.defaultIfEmpty=o(99).defaultIfEmpty,e.delay=o(165).delay,e.delayWhen=o(166).delayWhen,e.dematerialize=o(162).dematerialize,e.distinct=o(167).distinct,e.distinctUntilChanged=o(100).distinctUntilChanged,e.distinctUntilKeyChanged=o(168).distinctUntilKeyChanged,e.elementAt=o(173).elementAt,e.every=o(182).every,e.exhaust=o(170).exhaust,e.exhaustMap=o(171).exhaustMap,e.expand=o(172).expand,e.filter=o(101).filter,e.finalize=o(174).finalize,e.find=o(102).find,e.findIndex=o(175).findIndex,e.first=o(176).first,e.groupBy=o(177).groupBy,e.ignoreElements=o(178).ignoreElements,e.isEmpty=o(179).isEmpty,e.last=o(181).last,e.map=o(48).map,e.mapTo=o(183).mapTo,e.materialize=o(184).materialize,e.max=o(185).max,e.merge=o(186).merge,e.mergeAll=o(72).mergeAll,e.mergeMap=o(44).mergeMap,e.flatMap=o(44).mergeMap,e.mergeMapTo=o(187).mergeMapTo,e.mergeScan=o(188).mergeScan,e.min=o(189).min,e.multicast=o(32).multicast,e.observeOn=o(71).observeOn,e.onErrorResumeNext=o(97).onErrorResumeNext,e.pairwise=o(191).pairwise,e.partition=o(192).partition,e.pluck=o(193).pluck,e.publish=o(194).publish,e.publishBehavior=o(195).publishBehavior,e.publishLast=o(198).publishLast,e.publishReplay=o(197).publishReplay,e.race=o(199).race,e.reduce=o(50).reduce,e.repeat=o(200).repeat,e.repeatWhen=o(201).repeatWhen,e.retry=o(202).retry,e.retryWhen=o(203).retryWhen,e.refCount=o(106).refCount,e.sample=o(204).sample,e.sampleTime=o(205).sampleTime,e.scan=o(104).scan,e.sequenceEqual=o(206).sequenceEqual,e.share=o(207).share,e.shareReplay=o(208).shareReplay,e.single=o(209).single,e.skip=o(210).skip,e.skipLast=o(211).skipLast,e.skipUntil=o(212).skipUntil,e.skipWhile=o(213).skipWhile,e.startWith=o(214).startWith,e.switchAll=o(217).switchAll,e.switchMap=o(107).switchMap,e.switchMapTo=o(218).switchMapTo,e.take=o(219).take,e.takeLast=o(105).takeLast,e.takeUntil=o(220).takeUntil,e.takeWhile=o(221).takeWhile,e.tap=o(169).tap,e.throttle=o(78).throttle,e.throttleTime=o(222).throttleTime,e.timeInterval=o(224).timeInterval,e.timeout=o(225).timeout,e.timeoutWith=o(227).timeoutWith,e.timestamp=o(108).timestamp,e.toArray=o(228).toArray,e.window=o(229).window,e.windowCount=o(230).windowCount,e.windowTime=o(231).windowTime,e.windowToggle=o(232).windowToggle,e.windowWhen=o(233).windowWhen,e.withLatestFrom=o(234).withLatestFrom,e.zip=o(75).zip,e.zipAll=o(235).zipAll},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(797)),r(o(241)),r(o(242)),r(o(803))},function(t,e,o){"use strict";function r(t,e){return new a.LanguageLoader(t,void 0,void 0,e)}Object.defineProperty(e,"__esModule",{value:!0});var i=o(11),n=o(79),s=o(29),a=o(241);e.defaultLanguageLoader=r,e.provideLanguageLoader=function(t){return{provide:n.TranslateLoader,useFactory:t||r,deps:[i.HttpClient]}},e.provideDefaultLanguageLoader=function(t){return{provide:n.TranslateLoader,useFactory:t||r,deps:[i.HttpClient,s.ConfigService]}}},function(t,e){t.exports=require("rxjs/operators/combineLatest")},function(t,e,o){function r(t){return o(i(t))}function i(t){var e=n[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var n={"./en.json":800,"./fr.json":801,"./zh_TW.json":802};r.keys=function(){return Object.keys(n)},r.resolve=i,t.exports=r,r.id=799},function(t,e){t.exports={igo:{auth:{accessAnonymous:"Access as anonymous",connection:"Connection",login:"Login",password:"Password",signOut:"Sign out",user:"User",welcome:"Welcome {{name}}!"},bookmarkButton:{create:"Create a new context",dialog:{createMsg:"The context '{{value}}' was created",createTitle:"Context created",placeholder:"Title",title:"New context"}},catalog:"Catalog",catalogTool:{baseLayers:"Base Layers"},confirmDialog:{cancelBtn:"Cancel",confirmBtn:"Confirm",title:"Confirm"},context:{clone:"Clone this context",delete:"Delete this context",dialog:{cloneMsg:"The context '{{value}}' was cloned",cloneTitle:"Context cloned",confirmDelete:"Are you sure you want to delete this context?",deleteMsg:"The context '{{value}}' was deleted",deleteTitle:"Context deleted",favoriteMsg:"The context '{{value}}' was set as favorite",favoriteTitle:"Favorite saved",saveMsg:"The context '{{value}}' was saved",saveTitle:"Context saved"},edit:"Edit this context",favorite:"Favorite",form:{edit:"Edit",title:"Title",titleRequired:"Title required",uri:"URI",uriRequired:"URI required"},invalid:{text:"Context '{{value}}' is invalid",title:"Invalid context"},managePermissions:"Manage permissions context",manageTools:"Manage tools context",ourContexts:"Our contexts",publicContexts:"Public contexts",save:"Save this context",sharedContexts:"Shared contexts"},contexts:"Contexts",download:{action:"Download data"},dropGeoFile:{invalid:{text:"Invalid file ({{i}}/{{count}})",title:"The file '{{value}}' is invalid"},success:{text:"Imported file ({{i}}/{{count}})",title:"The layer '{{value}}' was added to the map"},unreadable:{text:"Unreadable file",title:"The file '{{value}}' is unreadable"}},filter:{addFilter:"Add an empty filter to the current list",refreshFilters:"Update this datasource with the active filter(s). To enable this button, the layer must be visible (or in the defined scale ranges) or you must modify the current filter.",removeFilter:"Remove the current filter from the filters's list",toggleFilterState:"Enable/disable the current filter"},featureDetails:"featureDetails",importExport:"Import & export",importExportForm:{exportButton:"Export",exportFormatPlaceholder:"Format",exportLayerPlaceholder:"Layer",exportTabTitle:"Export",importButton:"Import",importProjPlaceholder:"Source projection (EPSG:4326)",importTabTitle:"Import"},layer:{hideLayer:"Hide Layer",loadingLegendText:"Loading legend",lowerLayer:"Bring layer backward",noLegendText:"No legend available for this layer",opacity:"Opacity",raiseLayer:"Bring layer forward",removeLayer:"Remove this layer from the map",showFeaturesList:"Show features list",showLayer:"Show Layer",showMetadata:"Show metadata"},map:"Map",mapButtons:{baselayerSwitcher:"Change base layer",geolocate:"Geolocate",zoomIn:"Zoom in",zoomOut:"Zoom out"},ogcFilter:"Filter by",operators:{And:"And",Or:"Or"},permission:{addBtn:"Add",delete:"Remove permission",dialog:{addMsg:"The permission '{{value}}' was added",addTitle:"Permission added",deleteMsg:"The permission '{{value}}' was removed",deleteTitle:"Permission removed",scopeChangedMsg:"The scope was changed to {{value}}",scopeChangedTitle:"Scope changed"},profil:"Profil",profilRequired:"Profil required",read:"Read only",scope:{private:"Private",protected:"Protected",public:"Public"},write:"Read and Write"},poiButton:{create:"Create a new zone of interest",dialog:{confirmDelete:"Are you sure you want to delete this zone of interest?",createMsg:"The zone of interest '{{value}}' was created",createTitle:"Zone of interest created",deleteMsg:"The zone of interest '{{value}}' was deleted",deleteTitle:"Zone of interest deleted",placeholder:"Title",title:"New zone of interest"},placeholder:"Zones of interest"},print:"Print",printForm:{format:"Format",landscape:"Landscape",portrait:"Portrait",printBtn:"Print",resolution:"Resolution",title:"Title"},search:{dataSources:{name:"Layers",properties:{abstract:"Abstract",group:"Group",title:"Title",type:"Type",url:"URL"}}},searchResults:"Search Results",shareMap:{button:"Share map",copy:"Copy to clipboard",dialog:{copyMsg:"Link copied to clipboard",copyTitle:"Link"},placeholderLink:"Link",share:"Share"},sourceFields:{selectField:"Choose a field"},spatialSelector:{btnSetExtent:"Define the extent of the spatial filter to the current view"},table:{filter:"Filter"},targetHtmlUrl:"Open the external link",timeAnalysis:"Time Analysis",timeFilter:{date:"Date",endDate:"End Date",startDate:"Start Date"},tool:{dialog:{addMsg:"The tool '{{value}}' was added",addTitle:"Tool added",deleteMsg:"The tool '{{value}}' was removed",deleteTitle:"Tool removed"}},userButton:{dialog:{email:"Email",expiration:"Expiration",user:"User"},infoTitle:"User info",logout:"Logout"}}}},function(t,e){t.exports={igo:{auth:{accessAnonymous:"Rester anonyme",connection:"Connexion",login:"Connecter",password:"Mot de passe",signOut:"Se déconnecter",user:"Utilisateur",welcome:"Bienvenue {{name}}!"},bookmarkButton:{create:"Créer un contexte",dialog:{createMsg:"Le contexte '{{value}}' a été créé",createTitle:"Contexte créé",placeholder:"Titre",title:"Nouveau contexte"}},catalog:"Catalogue",catalogTool:{baseLayers:"Fonds de carte"},confirmDialog:{cancelBtn:"Annuler",confirmBtn:"Confirmer",title:"Confirmation"},context:{clone:"Cloner ce contexte",delete:"Supprimer ce contexte",dialog:{cloneMsg:"Le contexte '{{value}}' a été cloné",cloneTitle:"Contexte cloné",confirmDelete:"Êtes-vous sûr de vouloir supprimer ce context ?",deleteMsg:"Le contexte '{{value}}' a été supprimé",deleteTitle:"Contexte supprimé",favoriteMsg:"Le contexte '{{value}}' a été défini comme favori",favoriteTitle:"Favori sauvegardé",saveMsg:"Le contexte '{{value}}' a été sauvegardé",saveTitle:"Contexte sauvegardé"},edit:"Éditer ce contexte",favorite:"Favori",form:{edit:"Éditer",title:"Titre",titleRequired:"Le titre est obligatoire",uri:"URI",uriRequired:"Le URI est obligatoire"},invalid:{text:'Le contexte "{{value}}" est invalide',title:"Contexte invalide"},managePermissions:"Gérer les permissions du contexte",manageTools:"Gérer les outils du contexte",ourContexts:"Vos contextes",publicContexts:"Contextes publics",save:"Sauvegarder ce contexte",sharedContexts:"Contextes partagés"},contexts:"Contextes",download:{action:"Télécharger les données associées"},dropGeoFile:{invalid:{text:"Le fichier '{{value}}' est invalide",title:"Fichier invalide ({{i}}/{{count}})"},success:{text:"La couche '{{value}}' a été ajoutée à la carte",title:"Fichier importé ({{i}}/{{count}})"},unreadable:{text:"Le fichier '{{value}}' est impossible à lire",title:"Fichier illisible"}},filter:{addFilter:"Ajouter un filtre vidre à la liste courante",refreshFilters:"Mettre à jour la source de donnée avec les filtres actifs de la liste. Pour activer ce boutton, la couche doit être visible (et dans les échelles permises) ou veuillez modifier le présent filtre.",removeFilter:"Supprimer le présent filtre à la liste des filtres",toggleFilterState:"Activer/désactiver le présent filtre"},importExport:"Importation et exportation",importExportForm:{exportButton:"Exporter",exportFormatPlaceholder:"Format",exportLayerPlaceholder:"Couche",exportTabTitle:"Exporter",importButton:"Importer",importProjPlaceholder:"Projection de l'intrant (EPSG:4326)",importTabTitle:"Importer"},layer:{hideLayer:"Masquer la couche",loadingLegendText:"Chargement de la légende",lowerLayer:"Descendre la couche",noLegendText:"Aucune légende disponible pour cette couche",opacity:"Opacité",raiseLayer:"Monter la couche",removeLayer:"Retirer la couche de la carte",showFeaturesList:"Afficher la liste",showLayer:"Afficher la couche",showMetadata:"Montrer les métadonnées"},map:"Carte",mapButtons:{baselayerSwitcher:"Changer le fond de carte",geolocate:"Positionnement GPS",zoomIn:"Zoomer ({{zoom}})",zoomOut:"Dézoomer ({{zoom}})"},ogcFilter:"Filtrer par",operators:{And:"Et",Or:"Ou"},permission:{addBtn:"Ajouter",delete:"Retirer la permission",dialog:{addMsg:"La permission '{{value}}' a été ajoutée",addTitle:"Permission ajoutée",deleteMsg:"La permission '{{value}}' a été supprimée",deleteTitle:"Permission retirée",scopeChangedMsg:"La portée du contexte a été changée pour {{value}}",scopeChangedTitle:"Changement de la portée"},profil:"Profil",profilRequired:"Le profil est obligatoire",read:"Lecture seule",scope:{private:"Privé",protected:"Protégé",public:"Public"},write:"Lecture et écriture"},poiButton:{create:"Créer une zone d'intérêt",dialog:{confirmDelete:"Êtes-vous sûr de vouloir supprimer cette zone d'intérêt ?",createMsg:"La zone d'intérêt '{{value}}' a été créée",createTitle:"Zone d'intérêt créée",deleteMsg:"La zone d'intérêt '{{value}}' a été supprimée",deleteTitle:"Zone d'intérêt supprimée",placeholder:"Titre",title:"Nouvelle zone d'intérêt"},placeholder:"Zones d'intérêt"},print:"Imprimer",printForm:{format:"Format",landscape:"Paysage",portrait:"Portrait",printBtn:"Imprimer",resolution:"Résolution",title:"Titre"},search:{dataSources:{name:"Couches",properties:{abstract:"Description",group:"Groupe",title:"Titre",type:"Type",url:"URL"}}},searchResults:"Résultats de recherche",shareMap:{button:"Partager la carte",copy:"Copier le lien",dialog:{copyMsg:"Lien copié",copyTitle:"Lien"},placeholderLink:"Lien",share:"Partager"},sourceFields:{selectField:"Choisir un champ"},spatialSelector:{btnSetExtent:"Définir l'étendue du filtre selon l'étendue courante de la carte"},table:{filter:"Filtre"},targetHtmlUrl:"Ouvrir le lien externe",timeAnalysis:"Analyse Temporelle",timeFilter:{date:"Date",endDate:"Date de fin",startDate:"Date de début"},tool:{dialog:{addMsg:"L'outil a été ajouté",addTitle:"Outil ajouté",deleteMsg:"L'outil a été supprimé",deleteTitle:"Outil retiré"}},userButton:{dialog:{email:"Courriel",expiration:"Expiration",user:"Utilisateur"},infoTitle:"Info sur l'utilisateur",logout:"Se déconnecter"}}}},function(t,e){t.exports={igo:{auth:{accessAnonymous:"匿名存取",connection:"連接",login:"登入",password:"密碼",signOut:"簽出",user:"使用者",welcome:"歡迎 {{name}}!"},bookmarkButton:{create:"建立新的景況",dialog:{createMsg:"此景況 '{{value}}' 已經建立",createTitle:"景況建立",placeholder:"標題",title:"新的景況"}},catalog:"目錄",catalogTool:{baseLayers:"基礎圖層"},confirmDialog:{cancelBtn:"取消",confirmBtn:"確認",title:"確認"},context:{clone:"複製此景況",delete:"刪除此景況",dialog:{cloneMsg:"此景況 '{{value}}' 已經複製",cloneTitle:"景況已複製",confirmDelete:"您確定想要刪除這個景況?",deleteMsg:"此景況 '{{value}}' 已刪除",deleteTitle:"景況已刪除",favoriteMsg:"此景況 '{{value}}' 已經設定成我的最愛",favoriteTitle:"我的最愛已儲存",saveMsg:"此景況 '{{value}}' 已儲存",saveTitle:"景況已儲存"},edit:"編輯這個景況",favorite:"我的最愛",form:{edit:"編輯",title:"標題",titleRequired:"標題必須的",uri:"URI",uriRequired:"URI 必須的"},invalid:{text:"景況 '{{value}}' 不正確",title:"不正確的景況"},managePermissions:"管理景況的許可權",manageTools:"管理工具景況",ourContexts:"我的景況",publicContexts:"公開的景況",save:"儲存此景況",sharedContexts:"已分享景況"},contexts:"景況",download:{action:"下載資料"},dropGeoFile:{invalid:{text:"不正確的檔案 ({{i}}/{{count}})",title:"此檔案 '{{value}}' 不正確"},success:{text:"匯入的檔案 ({{i}}/{{count}})",title:"圖層 '{{value}}' 已經加入地圖中"},unreadable:{text:"不能讀取的檔案",title:"此檔案 '{{value}}' 不能讀取"}},filter:{addFilter:"加入空白的過濾條件到目前的列表中",refreshFilters:"Update this datasource with the active filter(s). To enable this button, the layer must be visible (or in the defined scale ranges) or you must modify the current filter.",removeFilter:"由目前的過濾列表中移除目前的過濾條件",toggleFilterState:"開啟/關閉 目前的過濾條件"},importExport:"匯入 & 匯出",importExportForm:{exportButton:"匯出",exportFormatPlaceholder:"格式",exportLayerPlaceholder:"圖層",exportTabTitle:"匯出",importButton:"匯入",importProjPlaceholder:"來源投影座標 (EPSG:4326)",importTabTitle:"匯入"},layer:{hideLayer:"隱藏圖層",loadingLegendText:"載入圖例",lowerLayer:"讓圖層退後",noLegendText:"此圖層可獲得的圖例",opacity:"透明度",raiseLayer:"讓圖層向前",removeLayer:"由地圖中移除此圖層",showFeaturesList:"顯示設備列表",showLayer:"顯示設備",showMetadata:"顯示中介資料"},map:"地圖",mapButtons:{baselayerSwitcher:"改變基礎圖層",geolocate:"地理定位",zoomIn:"放大",zoomOut:"縮小"},ogcFilter:"過濾由",operators:{And:"And",Or:"Or"},permission:{addBtn:"增加",delete:"移除許可權",dialog:{addMsg:"The permission '{{value}}' was added",addTitle:"許可權已增加",deleteMsg:"The permission '{{value}}' was removed",deleteTitle:"Permission removed",scopeChangedMsg:"The scope was changed to {{value}}",scopeChangedTitle:"Scope changed"},profil:"Profil",profilRequired:"Profil required",read:"唯讀",scope:{private:"私有的",protected:"受保護的",public:"公開的"},write:"讀取與寫入"},poiButton:{create:"建立新的喜好區域",dialog:{confirmDelete:"您確定想刪處這個喜好區域?",createMsg:"喜好區域 '{{value}}' 已經建立",createTitle:"喜好區域已建立",deleteMsg:"喜好區域 '{{value}}' 已經刪除",deleteTitle:"喜好區域已刪除",placeholder:"標題",title:"新增喜好區域"},placeholder:"喜好區域"},print:"列印",printForm:{format:"格式",landscape:"橫向方式",portrait:"直列方式",printBtn:"列印",resolution:"解析度",title:"標題"},search:{dataSources:{name:"圖層",properties:{abstract:"摘要",group:"群組",title:"標題",type:"種類",url:"URL"}}},searchResults:"搜尋結果",shareMap:{button:"分享地圖",copy:"複製到剪貼簿",dialog:{copyMsg:"連結到剪貼簿",copyTitle:"連結"},placeholderLink:"連結",share:"分享"},sourceFields:{selectField:"選擇一個欄位"},spatialSelector:{btnSetExtent:"定義空間過濾的範圍至目前的視景中"},table:{filter:"過濾條件"},targetHtmlUrl:"開啟外部連結",timeAnalysis:"時間分析",timeFilter:{date:"日期",endDate:"結束日期",startDate:"開始日期"},tool:{dialog:{addMsg:"工具 '{{value}}' 已增加",addTitle:"工具已增加",deleteMsg:"工具 '{{value}}' 已移除",deleteTitle:"工具已移除"}},featureDetails:"饋線詳細",userButton:{dialog:{email:"電子郵件",expiration:"已逾期",user:"使用者"},infoTitle:"使用者資訊",logout:"登出"},homePage:"首頁"}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IgoMissingTranslationHandler=function(){function t(){}return t.prototype.handle=function(t){if(!t.translateService.langs.length)throw new Error("Translations are not yet loaded. Check that the LanguageService is injected.");throw new Error('The Key "'+t.key+'" is missing in locale file.')},t}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(110),a=o(244);e.ActivityInterceptor=function(){function t(t){this.activityService=t}return t.prototype.intercept=function(t,e){var o=this,r=t.headers.get("activityInterceptor");if(r){var i=t.clone({headers:t.headers.delete("activityInterceptor")});if("false"===r)return e.handle(i)}var n=this.activityService.register();return e.handle(t).pipe(s.finalize((function(){o.activityService.unregister(n)})))},t=r([n.Injectable(),i("design:paramtypes",[a.ActivityService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(21);e.MediaService=function(){function t(){var t=this;this.media$=new s.BehaviorSubject(void 0),this.setMedia(),window.addEventListener("resize",(function(e){t.setMedia()}))}return t.prototype.getMedia=function(){var t=window.innerWidth,e=window.innerHeight,o="desktop";return t<=450||e<=450?o="mobile":t<=800&&(o="tablet"),o},t.prototype.setMedia=function(){var t=this.getMedia();t!==this.media&&(this.media=t,this.media$.next(t))},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(61),c=o(110),u=o(247),p=o(111),l=o(242);e.ErrorInterceptor=function(){function t(t,e){this.messageService=t,this.injector=e}return t.prototype.intercept=function(t,e){var o=this;return e.handle(t).pipe(a.catchError((function(e){return o.handleError(e,t)})),c.finalize((function(){return o.handleCaughtError()})),c.finalize((function(){return o.handleUncaughtError()})))},t.prototype.handleError=function(t,e){var o=e.method+" "+e.urlWithParams+" "+t.status+" ("+t.statusText+")";if(t instanceof s.HttpErrorResponse){var r="object"==typeof t.error?t.error:{};r.message=t.error.message||t.statusText,r.caught=!1,console.error(o,"\n",r.message,"\n\n",t),this.httpError=new s.HttpErrorResponse({error:r,headers:t.headers,status:t.status,statusText:t.statusText,url:t.url})}return new u.ErrorObservable(this.httpError)},t.prototype.handleCaughtError=function(){this.httpError&&this.httpError.error.toDisplay&&(this.httpError.error.caught=!0,this.messageService.error(this.httpError.error.message,this.httpError.error.title))},t.prototype.handleUncaughtError=function(){if(this.httpError&&!this.httpError.error.caught){var t=this.injector.get(l.LanguageService).translate;this.messageService.error(t.instant("igo.errors.uncaught.message"),t.instant("igo.errors.uncaught.title"))}this.httpError=void 0},t=r([n.Injectable(),i("design:paramtypes",[p.MessageService,n.Injector])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(808))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.MessageCenterComponent=function(){function t(){this._options={}}return e=t,Object.defineProperty(t.prototype,"options",{get:function(){return Object.assign({},e.defaultOptions,this._options)},set:function(t){this._options=t},enumerable:!0,configurable:!0}),t.defaultOptions={timeOut:5e3,hasCloseIcon:!1,showProgressBar:!0,pauseOnHover:!0,clickToClose:!0,maxLength:100,maxStack:3,preventDuplicates:!0},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"options",null),t=e=r([n.Component({selector:"igo-message-center",template:o(809),styles:[o(810)]}),i("design:paramtypes",[])],t);var e}()},function(t,e){t.exports='<simple-notifications\r\n  [ngClass]="{closeIcon: options.hasCloseIcon}"\r\n  [options]="options">\r\n</simple-notifications>\r\n'},function(t,e,o){var r=o(811);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>div.simple-notification-wrapper{bottom:0;right:calc(50% - 150px)}@media only screen and (max-height:450px),only screen and (max-width:450px){:host>>>div.simple-notification-wrapper{right:0;left:0;width:100%}}:host>>>div.simple-notification{min-height:50px;margin-bottom:5px;padding-left:45px;padding-right:25px}:host>>>div.simple-notification.noIcon{padding-left:25px}@media only screen and (max-height:450px),only screen and (max-width:450px){:host>>>div.simple-notification{margin-bottom:0}}:host>>>div.simple-notification .sn-title{line-height:23px;font-size:15px;font-weight:700}:host>>>div.simple-notification .sn-content{line-height:18px;font-size:15px}:host>>>div.simple-notification .icon{top:0;left:0;width:45px;height:100%;padding:7px}:host>>>div.simple-notification .icon mat-icon{display:flex;align-items:center;height:100%;font-size:32px}:host>>>div.simple-notification.error{background-color:#d32f2f}:host>>>div.simple-notification.error .sn-progress-loader span{background-color:#c41515}:host>>>.closeIcon>>>.sn-title:after{content:"close";font-family:Material Icons;font-feature-settings:"liga" 1;font-size:24px;font-weight:400;right:5px;top:5px;position:absolute}',""])},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(248)),r(o(813))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(137),a=o(21),c=o(29),u=o(248);e.MessageService=function(){function t(t,e){this.notificationService=t,this.configService=e,this.messages$=new a.BehaviorSubject([]),this.options=this.configService.getConfig("message")||{}}return t.prototype.showError=function(t){return t.error.caught=!0,this.error(t.error.message,t.error.title)},t.prototype.message=function(t){var e;if(this.messages$.next(this.messages$.value.concat([t])),t.options=t.options||{},(t=this.handleTemplate(t)).text)e=this.notificationService.create(t.title,t.text,t.type,t.options);else{if(!t.html)return;t.icon||(t.options.theClass=t.options.theClass?t.options.theClass+" noIcon":"noIcon"),e=this.notificationService.html(t.html,t.type,t.options)}return void 0!==t.icon&&this.addIcon(e,t.icon),e},t.prototype.success=function(t,e,o){return void 0===o&&(o={}),this.message({text:t,title:e,icon:o.icon||"check",options:o,type:u.MessageType.SUCCESS})},t.prototype.error=function(t,e,o){return void 0===o&&(o={}),this.message({text:t,title:e,icon:o.icon||"error_outline",options:o,type:u.MessageType.ERROR})},t.prototype.info=function(t,e,o){return void 0===o&&(o={}),this.message({text:t,title:e,icon:o.icon||"info_outline",options:o,type:u.MessageType.INFO})},t.prototype.alert=function(t,e,o){return void 0===o&&(o={}),this.message({text:t,title:e,icon:o.icon||"access_alarm",options:o,type:u.MessageType.ALERT})},t.prototype.remove=function(t){this.notificationService.remove(t)},t.prototype.addIcon=function(t,e){t.icon='\n      <mat-icon class="material-icons mat-icon mat-list-avatar">\n        '+e+"\n      </mat-icon>"},t.prototype.handleTemplate=function(t){if(!this.options.template||t.html)return t;var e=this.options.template;return e=(e=(e=e.replace("${text}",t.text)).replace("${title}",t.title)).replace("${icon}",t.icon),t.html=e,t.text=void 0,t.title=void 0,t.icon=void 0,t},t=r([n.Injectable(),i("design:paramtypes",[s.NotificationsService,c.ConfigService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(11),s=o(112),a=o(110);e.LoggingInterceptor=function(){function t(){}return t.prototype.intercept=function(t,e){var o,r=Date.now();return e.handle(t).pipe(s.tap((function(t){return o=t instanceof n.HttpResponse?"succeeded":""}),(function(t){return o="failed"})),a.finalize((function(){var e=Date.now()-r,i=t.method+' "'+t.urlWithParams+'"\n             '+o+" in "+e+" ms.";console.log(i)})))},t=r([i.Injectable()],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(816))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(52);e.ROUTE_SERVICE_OPTIONS=new s.InjectionToken("routeServiceOptions"),e.provideRouteServiceOptions=function(t){return{provide:e.ROUTE_SERVICE_OPTIONS,useValue:t}};var c=function(){function t(t,e){this.route=t;this.options=Object.assign({},{centerKey:"center",zoomKey:"zoom",projectionKey:"projection",contextKey:"context",searchKey:"search",visibleOnLayersKey:"visiblelayers",visibleOffLayersKey:"invisiblelayers"},e)}return Object.defineProperty(t.prototype,"queryParams",{get:function(){return this.route.queryParams},enumerable:!0,configurable:!0}),t=r([s.Injectable(),n(1,s.Inject(e.ROUTE_SERVICE_OPTIONS)),n(1,s.Optional()),i("design:paramtypes",[a.ActivatedRoute,Object])],t)}();e.RouteService=c},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(89),a=o(91);e.AuthInterceptor=function(){function t(t,e){this.tokenService=t,this.config=e,this.trustHosts=[],this.trustHosts=this.config.getConfig("auth.trustHosts")||[],this.trustHosts.push(window.location.hostname)}return t.prototype.intercept=function(t,e){var o=this.tokenService.get(),r=document.createElement("a");return r.href=t.url,e.handle(o||this.trustHosts.includes(r.hostname)?t.clone({headers:t.headers.set("Authorization","Bearer "+o)}):t)},t=r([n.Injectable(),i("design:paramtypes",[a.TokenService,s.ConfigService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(52),a=o(6),c=o(80);e.AuthGuard=function(){function t(t,e,o){this.authService=t,this.router=e,this.config=o}return t.prototype.canActivate=function(t,e){if(this.authService.logged)return!0;this.authService.redirectUrl=e.url;var o=this.config.getConfig("auth");return o.loginRoute&&this.router.navigateByUrl(o.loginRoute),!1},t=r([n.Injectable(),i("design:paramtypes",[c.AuthService,s.Router,a.ConfigService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(80);e.ProtectedDirective=function(){function t(t,e){t.isAuthenticated()||e.nativeElement.parentNode.removeChild(e.nativeElement)}return t=r([n.Directive({selector:"[igoProtected]"}),i("design:paramtypes",[s.AuthService,n.ElementRef])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(821),c=o(6);e.PoiService=function(){function t(t,e){this.http=t,this.config=e,this.baseUrl=this.config.getConfig("context.url")}return t.prototype.get=function(){return this.baseUrl?this.http.get(this.baseUrl+"/pois"):a.empty()},t.prototype.delete=function(t){return this.http.delete(this.baseUrl+"/pois/"+t)},t.prototype.create=function(t){return this.http.post(this.baseUrl+"/pois",JSON.stringify(t))},t=r([n.Injectable(),i("design:paramtypes",[s.HttpClient,c.ConfigService])],t)}()},function(t,e){t.exports=require("rxjs/observable/empty")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(52),c=o(6),u=o(40);e.AuthFormComponent=function(){function t(t,e,o){this.auth=t,this.config=e,this.router=o,this._alreadyConnectedDiv=!1,this._backgroundDisable=!0,this.visible=!0,this.options=this.config.getConfig("auth")||{},this.visible=0!==Object.getOwnPropertyNames(this.options).length,this.auth.decodeToken()&&(this.user={name:this.auth.decodeToken().user.sourceId})}return Object.defineProperty(t.prototype,"alreadyConnectedDiv",{get:function(){return this._alreadyConnectedDiv},set:function(t){this._alreadyConnectedDiv="true"===t.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundDisable",{get:function(){return this._backgroundDisable},set:function(t){this._backgroundDisable="true"===t.toString()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.analyzeRoute()},t.prototype.login=function(){this.auth.goToRedirectUrl()},t.prototype.logout=function(){var t=this;this.auth.logout().subscribe((function(){t.router&&t.options.loginRoute&&t.router.navigate([t.options.loginRoute])}))},t.prototype.analyzeRoute=function(){if(this.router){var t=this.options.logoutRoute,e=this.options.loginRoute,o=this.router.url,r=o===e;o===t?this.logout():r&&(this.backgroundDisable=!1,this.alreadyConnectedDiv=!0)}},r([s.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"alreadyConnectedDiv",null),r([s.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"backgroundDisable",null),t=r([s.Component({selector:"igo-auth-form",template:o(823),styles:[o(824)],changeDetection:s.ChangeDetectionStrategy.Default}),n(2,s.Optional()),i("design:paramtypes",[u.AuthService,c.ConfigService,a.Router])],t)}()},function(t,e){t.exports='<div *ngIf="visible">\r\n  <div *ngIf="!auth.logged && backgroundDisable" class="backgroundDisable"></div>\r\n\r\n  <div *ngIf="!auth.logged" class="login center-block">\r\n    <h1>{{\'igo.auth.connection\' | translate}}</h1>\r\n\r\n    <igo-auth-google\r\n      *ngIf="options.google && options.google.enabled !== false"\r\n      (onLogin)="login()">\r\n    </igo-auth-google>\r\n    <igo-auth-facebook\r\n      *ngIf="options.facebook && options.facebook.enabled !== false"\r\n      (onLogin)="login()">\r\n    </igo-auth-facebook>\r\n    <igo-auth-intern\r\n      *ngIf="!options.intern || options.intern.enabled !== false"\r\n      (onLogin)="login()">\r\n    </igo-auth-intern>\r\n  </div>\r\n\r\n  <div *ngIf="auth.logged && alreadyConnectedDiv" class="login center-block">\r\n    <p>{{\'igo.auth.welcome\' | translate: user}}</p>\r\n    <button type="button" (click)="logout()">{{\'igo.auth.signOut\' | translate}}</button>\r\n  </div>\r\n</div>\r\n'},function(t,e,o){var r=o(825);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{z-index:999}div.login{z-index:200;width:90%;min-width:360px;max-width:600px;padding:25px 50px;border:1px solid;background-color:#fff;border-color:#888}.center-block{position:fixed;top:20%;left:50%;transform:translate(-50%)}.backgroundDisable{position:fixed;top:0;left:0;background:#000;opacity:.8;z-index:100;height:100%;width:100%}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26),a=o(80);e.AuthInternComponent=function(){function t(t,e){this.auth=t,this.error="",this.onLogin=new n.EventEmitter,this.form=e.group({username:["",s.Validators.required],password:["",s.Validators.required]})}return t.prototype.login=function(t){var e=this;return this.auth.login(t.username,t.password).subscribe((function(){e.onLogin.emit(!0)}),(function(t){e.error=t.error.message})),!1},t.prototype.loginAnonymous=function(){var t=this;this.auth.loginAnonymous().subscribe((function(){t.onLogin.emit(!0)}))},r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"onLogin",void 0),t=r([n.Component({selector:"igo-auth-intern",template:o(827),styles:[o(828)],changeDetection:n.ChangeDetectionStrategy.Default}),i("design:paramtypes",[a.AuthService,s.FormBuilder])],t)}()},function(t,e){t.exports='<form [formGroup]="form" role="form">\r\n  <div>\r\n    <mat-form-field class="full-width">\r\n      <input matInput required placeholder="{{\'igo.auth.user\' | translate}}" formControlName="username">\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <div>\r\n    <mat-form-field class="full-width">\r\n      <input matInput required type="password" placeholder="{{\'igo.auth.password\' | translate}}" formControlName="password">\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <button mat-raised-button type="button" (click)="login(form.value)" [disabled]="!form.valid">{{\'igo.auth.login\' | translate}}</button>\r\n  <button mat-raised-button type="button" (click)="loginAnonymous()">{{\'igo.auth.accessAnonymous\' | translate }}</button>\r\n  <div *ngIf="error">\r\n    <br/>\r\n    <font size="3" color="red">{{error}}</font>\r\n  </div>\r\n</form>\r\n'},function(t,e,o){var r=o(829);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".full-width{width:100%}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(6),a=o(40);e.AuthFacebookComponent=function(){function t(t,e,o){this.authService=t,this.config=e,this.appRef=o,this.onLogin=new n.EventEmitter,this.options=this.config.getConfig("auth.google")||{},this.options.apiKey&&this.loadSDKFacebook()}return t.prototype.subscribeEvents=function(){var t=this;window.FB.Event.subscribe("auth.statusChange",(function(e){t.statusChangeCallback(e)}))},t.prototype.statusChangeCallback=function(t){"connected"===t.status&&this.login(t.authResponse.accessToken)},t.prototype.login=function(t){var e=this;this.authService.loginWithToken(t,"facebook").subscribe((function(){e.appRef.tick(),e.onLogin.emit(!0)}))},t.prototype.loadSDKFacebook=function(){var t=this;if(!document.getElementById("facebook-jssdk")){var e=document.getElementsByTagName("script")[0],o=document.createElement("script");o.id="facebook-jssdk",o.src="https://connect.facebook.net/fr_CA/sdk.js#xfbml=1&version=v2.9&appId="+this.options.apiKey,o.onload=function(){t.subscribeEvents()},e.parentNode.insertBefore(o,e)}},r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"onLogin",void 0),t=r([n.Component({selector:"igo-auth-facebook",template:o(831),styles:[o(832)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[a.AuthService,s.ConfigService,n.ApplicationRef])],t)}()},function(t,e){t.exports='<div scope="public_profile,email"\r\n     class="fb-login-button" data-max-rows="1" data-size="large"\r\n     data-button-type="continue_with" data-show-faces="false"\r\n     data-auto-logout-link="false" data-use-continue-as="false">\r\n</div>\r\n'},function(t,e,o){var r=o(833);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".fb-login-button{padding:10px 0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(6),a=o(40);e.AuthGoogleComponent=function(){function t(t,e,o){this.authService=t,this.config=e,this.appRef=o,this.onLogin=new n.EventEmitter,this.options=this.config.getConfig("auth.google")||{},this.options.apiKey&&this.options.clientId&&(this.loadSDKGoogle(),this.loadPlatform())}return t.prototype.handleSignInClick=function(){window.gapi.auth2.getAuthInstance().signIn()},t.prototype.handleSignOutClick=function(){window.gapi.auth2.getAuthInstance().signOut()},t.prototype.handleClientLoad=function(){var t=this;window.gapi.load("client:auth2",(function(){return t.initClient()}))},t.prototype.initClient=function(){var t=this;window.gapi.client.init({apiKey:this.options.apiKey,clientId:this.options.clientId,discoveryDocs:["https://people.googleapis.com/$discovery/rest?version=v1"],scope:"profile"}).then((function(){t.handleSignOutClick(),window.gapi.auth2.getAuthInstance().isSignedIn.listen((function(e){t.updateSigninStatus(e)}))}))},t.prototype.updateSigninStatus=function(t){t&&this.login(window.gapi.client.getToken().access_token)},t.prototype.login=function(t){var e=this;this.authService.loginWithToken(t,"google").subscribe((function(){e.appRef.tick(),e.onLogin.emit(!0)}))},t.prototype.loadSDKGoogle=function(){var t=this,e=document.getElementsByTagName("script")[0],o=document.createElement("script");o.id="google-jssdk",o.src="https://apis.google.com/js/api.js",o.onload=function(){t.handleClientLoad()},e.parentNode.insertBefore(o,e)},t.prototype.loadPlatform=function(){var t=document.getElementsByTagName("script")[0],e=document.createElement("script");e.id="google-platform",e.src="https://apis.google.com/js/platform.js",t.parentNode.insertBefore(e,t)},r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"onLogin",void 0),t=r([n.Component({selector:"igo-auth-google",template:o(835),styles:[o(836)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[a.AuthService,s.ConfigService,n.ApplicationRef])],t)}()},function(t,e){t.exports='<div class="g-signin2 google-login-button" data-height="40" data-width="265" data-longtitle="true">\r\n'},function(t,e,o){var r=o(837);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".google-login-button{padding:10px 0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(11),s=o(12),a=o(113),c=o(40);e.IgoAuthModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[c.AuthService,c.TokenService,c.PoiService,c.AuthGuard,{provide:n.HTTP_INTERCEPTORS,useClass:c.AuthInterceptor,multi:!0}]}},t=e=r([i.NgModule({imports:[s.IgoSharedModule],declarations:[a.AuthFormComponent,a.AuthInternComponent,a.AuthFacebookComponent,a.AuthGoogleComponent,c.ProtectedDirective],exports:[a.AuthFormComponent,c.ProtectedDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(59),s=o(249),a=o(26),c=o(11),u=o(840),p=o(88),l=o(79),h=o(250),d=o(251),f=o(252),y=o(254),m=o(114),g=o(255),v=o(256),b=o(257),_=o(259),w=o(260),M=o(261),S=o(263),x=o(264);e.IgoSharedModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e}},t=e=r([i.NgModule({imports:[n.CommonModule,s.CdkTableModule,a.FormsModule,a.ReactiveFormsModule,c.HttpClientModule,p.CustomMaterialModule,l.TranslateModule],exports:[n.CommonModule,a.FormsModule,a.ReactiveFormsModule,c.HttpClientModule,u.BrowserAnimationsModule,p.CustomMaterialModule,l.TranslateModule,h.ClickoutDirective,d.CollapsibleComponent,d.CollapseDirective,y.ClonePipe,m.DragAndDropDirective,v.KeyvaluePipe,g.SecureImagePipe,b.ListComponent,b.ListItemDirective,_.PanelComponent,w.SidenavShimDirective,M.SpinnerComponent,M.SpinnerBindingDirective,S.StopPropagationDirective,S.StopDropPropagationDirective,x.TableComponent],declarations:[h.ClickoutDirective,d.CollapsibleComponent,d.CollapseDirective,f.ConfirmDialogComponent,y.ClonePipe,m.DragAndDropDirective,v.KeyvaluePipe,g.SecureImagePipe,b.ListComponent,b.ListItemDirective,_.PanelComponent,w.SidenavShimDirective,M.SpinnerComponent,M.SpinnerBindingDirective,S.StopPropagationDirective,S.StopDropPropagationDirective,x.TableComponent],entryComponents:[f.ConfirmDialogComponent],providers:[f.ConfirmDialogService]})],t);var e}()},function(t,e){t.exports=require("@angular/platform-browser/animations")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ClickoutDirective=function(){function t(t){this.el=t,this.clickout=new n.EventEmitter}return t.prototype.handleMouseClick=function(t,e){e&&(this.el.nativeElement.contains(e)||this.clickout.emit(t))},r([n.Output(),i("design:type",Object)],t.prototype,"clickout",void 0),r([n.HostListener("document:click",["$event","$event.target"]),i("design:type",Function),i("design:paramtypes",[MouseEvent,HTMLElement]),i("design:returntype",void 0)],t.prototype,"handleMouseClick",null),t=r([n.Directive({selector:"[igoClickout]"}),i("design:paramtypes",[n.ElementRef])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.CollapsibleComponent=function(){function t(){this._title="",this._collapsed=!1}return Object.defineProperty(t.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"collapsed",{get:function(){return this._collapsed},set:function(t){this._collapsed=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"title",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"collapsed",null),t=r([n.Component({selector:"igo-collapsible",template:o(843),styles:[o(844)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  <mat-icon\r\n    class="igo-chevron"\r\n    mat-list-avatar\r\n    igoCollapse\r\n    [target]="content"\r\n    [collapsed]="collapsed">\r\n  </mat-icon>\r\n  <h4 matLine>{{title}}</h4>\r\n</mat-list-item>\r\n\r\n<div #content>\r\n  <ng-content></ng-content>\r\n</div>\r\n'},function(t,e,o){var r=o(845);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.CollapseDirective=function(){function t(t,e){this.renderer=t,this.el=e,this._collapsed=!1,this.toggle=new n.EventEmitter}return Object.defineProperty(t.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"collapsed",{get:function(){return this._collapsed},set:function(t){t?this.collapseTarget():this.expandTarget(),this._collapsed=t,this.toggle.emit(t)},enumerable:!0,configurable:!0}),t.prototype.click=function(){this.collapsed=!this.collapsed},t.prototype.collapseTarget=function(){this.renderer.addClass(this.target,"igo-collapsed"),this.renderer.addClass(this.el.nativeElement,"collapsed")},t.prototype.expandTarget=function(){this.renderer.removeClass(this.target,"igo-collapsed"),this.renderer.removeClass(this.el.nativeElement,"collapsed")},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Element])],t.prototype,"target",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"collapsed",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"toggle",void 0),r([n.HostListener("click"),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"click",null),t=r([n.Directive({selector:"[igoCollapse]"}),i("design:paramtypes",[n.Renderer2,n.ElementRef])],t)}()},function(t,e){t.exports="<h1 mat-dialog-title>{{'igo.confirmDialog.title' | translate}}</h1>\r\n<div mat-dialog-content>{{confirmMessage}}</div>\r\n<div mat-dialog-actions>\r\n  <button mat-button color=\"primary\" (click)=\"dialogRef.close(true)\">{{'igo.confirmDialog.confirmBtn' | translate}}</button>\r\n  <button mat-button (click)=\"dialogRef.close(false)\">{{'igo.confirmDialog.cancelBtn' | translate}}</button>\r\n</div>\r\n"},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5),a=o(253);e.ConfirmDialogService=function(){function t(t){this.dialog=t}return t.prototype.open=function(t){var e=this.dialog.open(a.ConfirmDialogComponent,{disableClose:!1});return e.componentInstance.confirmMessage=t,e.afterClosed()},t=r([n.Injectable(),i("design:paramtypes",[s.MatDialog])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0);e.ClonePipe=function(){function t(){}return t.prototype.transform=function(t,e){return void 0===t?t:t instanceof Array?t.map((function(t){return Object.assign(Object.create(t),t)})):Object.assign(Object.create(t),t)},t=r([i.Pipe({name:"clone"})],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.DragAndDropDirective=function(){function t(){this._allowed_extensions=[],this.filesDropped=new n.EventEmitter,this.filesInvalid=new n.EventEmitter,this.background="inherit"}return Object.defineProperty(t.prototype,"allowed_extensions",{get:function(){return this._allowed_extensions},set:function(t){this._allowed_extensions=t},enumerable:!0,configurable:!0}),t.prototype.onDragOver=function(t){t.preventDefault(),t.stopPropagation(),this.background="#999"},t.prototype.onDragLeave=function(t){t.preventDefault(),t.stopPropagation(),this.background="inherit"},t.prototype.onDrop=function(t){t.preventDefault(),t.stopPropagation(),this.background="inherit";var e=this.validExtensions(t);e.valid.length&&this.filesDropped.emit(e.valid),e.invalid.length&&this.filesInvalid.emit(e.invalid)},t.prototype.validExtensions=function(t){var e=t.dataTransfer.files,o={valid:[],invalid:[]};if(e.length>0)for(var r=0,i=e;r<i.length;r++){var n=i[r],s=n.name.split(".")[n.name.split(".").length-1];-1!==this.allowed_extensions.lastIndexOf(s)&&0!==n.size?o.valid.push(n):o.invalid.push(n)}return o},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Array])],t.prototype,"allowed_extensions",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"filesDropped",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"filesInvalid",void 0),r([n.HostBinding("style.background"),i("design:type",Object)],t.prototype,"background",void 0),r([n.HostListener("dragover",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onDragOver",null),r([n.HostListener("dragleave",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onDragLeave",null),r([n.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onDrop",null),t=r([n.Directive({selector:"[igoDragAndDrop]"}),i("design:paramtypes",[])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(60),c=o(852);e.SecureImagePipe=function(){function t(t){this.http=t}return t.prototype.transform=function(t){return this.http.get(t,{headers:{activityInterceptor:"false"},responseType:"blob"}).pipe(c.switchMap((function(t){return a.Observable.create((function(e){var o=new FileReader;o.readAsDataURL(t),o.onloadend=function(){e.next(o.result)}}))})))},t=r([n.Pipe({name:"secureImage"}),i("design:paramtypes",[s.HttpClient])],t)}()},function(t,e){t.exports=require("rxjs/operators/switchMap")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0);e.KeyvaluePipe=function(){function t(){}return t.prototype.transform=function(t,e){var o=[];return Object.getOwnPropertyNames(t).forEach((function(e){return o.push({key:e,value:t[e]})})),o},t=r([i.Pipe({name:"keyvalue"})],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(258);e.ListComponent=function(){function t(t){this.el=t,this._navigation=!0,this._selection=!0,this.subscriptions=[]}return Object.defineProperty(t.prototype,"navigation",{get:function(){return this._navigation},set:function(t){this._navigation=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedItem",{get:function(){return this._selectedItem},set:function(t){this.focusedItem=t,this._selectedItem=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusedItem",{get:function(){return this._focusedItem},set:function(t){this._focusedItem=t,void 0!==t&&this.scrollToItem(t)},enumerable:!0,configurable:!0}),t.prototype.handleKeyboardEvent=function(t){this.navigationEnabled&&(38===t.keyCode||40===t.keyCode?(t.preventDefault(),this.navigate(t.keyCode)):13===t.keyCode&&this.select(this.focusedItem))},t.prototype.ngOnInit=function(){this.enableNavigation()},t.prototype.ngAfterViewInit=function(){var t=this;this.listItems.length&&this.init(),this.listItems$$=this.listItems.changes.subscribe((function(e){return t.init()}))},t.prototype.ngOnDestroy=function(){this.listItems$$.unsubscribe()},t.prototype.focus=function(t){this.selection&&(this.unfocus(),void 0!==t&&(t.focused=!0))},t.prototype.unfocus=function(){void 0!==this.focusedItem&&(this.focusedItem.focused=!1),this.focusedItem=void 0},t.prototype.focusNext=function(){var t=this.getFocusedIndex();void 0===t&&(t=-1);var e=this.listItems.toArray();t!==e.length-1&&this.focus(e[t+1])},t.prototype.focusPrevious=function(){var t=this.getFocusedIndex(),e=this.listItems.toArray();0!==t&&this.focus(e[t-1])},t.prototype.select=function(t){this.selection&&(this.unselect(),void 0!==t&&(t.selected=!0))},t.prototype.unselect=function(){this.unfocus(),void 0!==this.selectedItem&&(this.selectedItem.selected=!1),this.selectedItem=void 0},t.prototype.enableNavigation=function(){this.navigation&&(this.navigationEnabled=!0)},t.prototype.disableNavigation=function(){this.navigationEnabled=!1},t.prototype.init=function(){this.subscribe(),this.selectedItem=this.findSelectedItem(),this.focusedItem=this.findFocusedItem(),this.enableNavigation()},t.prototype.subscribe=function(){var t=this;this.unsubscribe(),this.listItems.toArray().forEach((function(e){t.subscriptions.push(e.beforeSelect.subscribe((function(e){return t.handleItemBeforeSelect(e)}))),t.subscriptions.push(e.select.subscribe((function(e){return t.handleItemSelect(e)}))),t.subscriptions.push(e.beforeFocus.subscribe((function(e){return t.handleItemBeforeFocus(e)}))),t.subscriptions.push(e.focus.subscribe((function(e){return t.handleItemFocus(e)})))}),this)},t.prototype.unsubscribe=function(){this.subscriptions.forEach((function(t){return t.unsubscribe()})),this.subscriptions=[]},t.prototype.handleItemBeforeFocus=function(t){t!==this.focusedItem&&this.unselect()},t.prototype.handleItemFocus=function(t){this.focusedItem=t},t.prototype.handleItemBeforeSelect=function(t){t!==this.focusedItem&&this.unselect()},t.prototype.handleItemSelect=function(t){this.selectedItem=t},t.prototype.findSelectedItem=function(){return this.listItems.toArray().find((function(t){return t.selected}))},t.prototype.findFocusedItem=function(){return this.listItems.toArray().find((function(t){return t.focused}))},t.prototype.getFocusedIndex=function(){var t=this;return this.listItems.toArray().findIndex((function(e){return e===t.focusedItem}))},t.prototype.navigate=function(t){switch(t){case 38:this.focusPrevious();break;case 40:this.focusNext()}},t.prototype.scrollToItem=function(t){this.el.nativeElement.scrollTop=t.getOffsetTop()},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"navigation",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"selection",null),r([n.ContentChildren(s.ListItemDirective,{descendants:!0}),i("design:type",n.QueryList)],t.prototype,"listItems",void 0),r([n.HostListener("document:keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],t.prototype,"handleKeyboardEvent",null),t=r([n.Component({selector:"igo-list",template:o(855),styles:[o(856)]}),i("design:paramtypes",[n.ElementRef])],t)}()},function(t,e){t.exports='<mat-list\r\n  igoClickout\r\n  [ngClass]="{\'selectable\': selection}"\r\n  (clickout)="disableNavigation()"\r\n  (click)="enableNavigation()">\r\n  <ng-content></ng-content>\r\n</mat-list>\r\n'},function(t,e,o){var r=o(857);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{display:block;height:100%;overflow:auto;position:relative}mat-list{padding-top:0}:host{position:static}:host>>>.mat-list .mat-list-item .mat-list-text>*{white-space:normal;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;max-height:36px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}:host>>>.mat-list .mat-list-item.mat-list-item-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}:host>>>.mat-list .mat-list-item.mat-list-item-avatar{height:46px}:host>>>.mat-list .mat-list-item.mat-list-item-avatar .mat-list-item-content>mat-icon{padding:8px}:host>>>[igolistitem] mat-list-item [mat-list-avatar]{height:auto;width:40px}:host mat-list.selectable>>>[igolistitem] mat-list-item:hover{cursor:pointer}:host>>>[igolistitem]:focus{outline:none}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.PanelComponent=function(){function t(){}return Object.defineProperty(t.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"title",null),t=r([n.Component({selector:"igo-panel",template:o(859),styles:[o(860)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<div class="igo-panel-header">\r\n  <h3>\r\n    <ng-content select="[panelLeftButton]"></ng-content>\r\n    <div class="igo-panel-title">\r\n      {{title}}\r\n      <ng-content select="[panelHeader]"></ng-content>\r\n    </div>\r\n    <ng-content select="[panelRightButton]"></ng-content>\r\n  </h3>\r\n</div>\r\n<div class="igo-panel-content">\r\n  <ng-content></ng-content>\r\n</div>\r\n'},function(t,e,o){var r=o(861);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-panel-header{height:46px;padding:3px;text-align:center}.igo-panel-header h3{margin:0;height:40px}.igo-panel-header>>>[panelleftbutton]{float:left}.igo-panel-header>>>[panelrightbutton]{float:right}.igo-panel-content{height:calc(100% - 46px);overflow:auto}.igo-panel-title{display:block;width:calc(100% - 80px);height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(5);e.SidenavShimDirective=function(){function t(t,e){this.renderer=e}return t.prototype.onOpen=function(){this.focusedElement=document.activeElement},t.prototype.onCloseStart=function(){this.blurElement=document.activeElement!==this.focusedElement?this.focusedElement:void 0},t.prototype.onClose=function(){this.blurElement&&this.renderer.selectRootElement(this.blurElement).blur(),this.blurElement=void 0,this.focusedElement=void 0},r([s.HostListener("open",["$event"]),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"onOpen",null),r([s.HostListener("close-start",["$event"]),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"onCloseStart",null),r([s.HostListener("close",["$event"]),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"onClose",null),t=r([s.Directive({selector:"[igoSidenavShim]"}),n(0,s.Self()),i("design:paramtypes",[a.MatSidenav,s.Renderer2])],t)}()},function(t,e){t.exports='<div *ngIf="shown">\r\n  <div class="igo-spinner-background"></div>\r\n  <mat-progress-spinner diameter="40" mode="indeterminate"></mat-progress-spinner>\r\n</div>\r\n'},function(t,e,o){var r=o(865);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{pointer-events:none}mat-progress-spinner{height:40px;width:40px;border-radius:50%}.igo-spinner-background{height:36px;width:36px;border-radius:50%;border:4px solid #fff;position:absolute;top:2px;left:2px}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(6),c=o(262);e.SpinnerBindingDirective=function(){function t(t,e){this.activityService=e,this.component=t}return t.prototype.ngOnInit=function(){var t=this;this.counter$$=this.activityService.counter$.subscribe((function(e){return t.component.shown=e>0}))},t.prototype.ngOnDestroy=function(){this.counter$$.unsubscribe()},t=r([s.Directive({selector:"[igoSpinnerBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.SpinnerComponent,a.ActivityService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.StopPropagationDirective=function(){function t(){}return t.prototype.onClick=function(t){t.stopPropagation()},r([n.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onClick",null),t=r([n.Directive({selector:"[igoStopPropagation]"})],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.StopDropPropagationDirective=function(){function t(){}return t.prototype.onDrop=function(t){t.preventDefault(),t.stopPropagation()},r([n.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onDrop",null),t=r([n.Directive({selector:"[igoStopDropPropagation]"})],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5),a=o(53),c=o(39),u=o(870),p=o(19),l=o(265),h=o(266),d=o(268);e.TableComponent=function(){function t(){}return Object.defineProperty(t.prototype,"database",{get:function(){return this._database},set:function(t){this._database=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"model",{get:function(){return this._model},set:function(t){this._model=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.dataSource=new h.TableDataSource(this.database,this.model,this.sort),this.model&&(this.displayedColumns=this.model.columns.filter((function(t){return!1!==t.displayed})).map((function(t){return t.name})),this.model.actions&&this.model.actions.length&&this.displayedColumns.push("action")),u.fromEvent(this.filter.nativeElement,"keyup").pipe(a.debounceTime(150),c.distinctUntilChanged()).subscribe((function(){t.dataSource&&(t.dataSource.filter=t.filter.nativeElement.value)}))},t.prototype.ngOnChanges=function(t){t.database&&(this.dataSource=new h.TableDataSource(this.database,this.model,this.sort))},t.prototype.getActionColor=function(t){return d.TableActionColor[t]},t.prototype.getValue=function(t,e){return p.ObjectUtils.resolve(t,e)},r([n.Input(),i("design:type",l.TableDatabase),i("design:paramtypes",[l.TableDatabase])],t.prototype,"database",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"model",null),r([n.ViewChild("filter"),i("design:type",n.ElementRef)],t.prototype,"filter",void 0),r([n.ViewChild(s.MatSort),i("design:type",s.MatSort)],t.prototype,"sort",void 0),t=r([n.Component({selector:"igo-table",template:o(871),styles:[o(872)]})],t)}()},function(t,e){t.exports=require("rxjs/observable/fromEvent")},function(t,e){t.exports="<div class='table-container'>\r\n  <div class='table-header'>\r\n    <mat-form-field floatPlaceholder='never'>\r\n      <input matInput #filter [placeholder]=\"'igo.table.filter' | translate\">\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <mat-table #table [dataSource]='dataSource' matSort>\r\n\r\n    <ng-container [cdkColumnDef]='column.name' *ngFor='let column of model.columns'>\r\n      <ng-container *ngIf='column.sortable'>\r\n        <mat-header-cell *cdkHeaderCellDef mat-sort-header> {{column.title}} </mat-header-cell>\r\n      </ng-container>\r\n\r\n      <ng-container *ngIf='!column.sortable'>\r\n        <mat-header-cell *cdkHeaderCellDef> {{column.title}} </mat-header-cell>\r\n      </ng-container>\r\n\r\n      <mat-cell *cdkCellDef='let row' class=\"mat-cell-text\"> {{getValue(row, column.name)}} </mat-cell>\r\n    </ng-container>\r\n\r\n    \x3c!-- Action Column --\x3e\r\n    <ng-container cdkColumnDef='action'>\r\n      <mat-header-cell *cdkHeaderCellDef></mat-header-cell>\r\n      <mat-cell *cdkCellDef='let row'>\r\n        <button *ngFor='let action of model.actions'\r\n        mat-mini-fab\r\n        [color]='getActionColor(action.color)'\r\n        (click)='action.click(row)'>\r\n          <mat-icon>{{action.icon}}</mat-icon>\r\n        </button>\r\n      </mat-cell>\r\n    </ng-container>\r\n\r\n    <mat-header-row *cdkHeaderRowDef='displayedColumns'></mat-header-row>\r\n    <mat-row *cdkRowDef='let row; columns: displayedColumns;'></mat-row>\r\n\r\n  </mat-table>\r\n\r\n</div>\r\n"},function(t,e,o){var r=o(873);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{width:100%;height:100%;display:block}.table-container{display:flex;flex-direction:column;max-height:100%}.table-header{min-height:64px;max-width:500px;display:flex;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}.mat-input-container{font-size:14px;flex-grow:1;margin-left:32px}.mat-table{overflow:auto}.mat-header-row,.mat-row{height:60px}.mat-cell-text{overflow:hidden;word-wrap:break-word}button{margin-right:10px}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(52),s=o(113),a=[{path:"login",component:s.AuthFormComponent},{path:"logout",component:s.AuthFormComponent}];e.AuthRoutingModule=function(){function t(){}return t=r([i.NgModule({imports:[n.RouterModule.forChild(a)],exports:[n.RouterModule],providers:[]})],t)}()},function(t,e){t.exports=require("rxjs/operators/map")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(21),c=o(6),u=function(){function t(t,o){var r=this;this.http=t,this.config=o,this.tools$=new a.BehaviorSubject({}),this.toolHistory$=new a.BehaviorSubject([]),this.selectedTool$=new a.BehaviorSubject(void 0),this.baseUrl=this.config.getConfig("context.url"),this.tools$.subscribe((function(t){return r.handleToolsChange()})),this.setTools(Object.keys(e.toolDefs).map((function(t){return{name:t}})))}return e=t,t.register=function(t,o){e.toolDefs[t.name]=[Object.assign({},t),o]},t.prototype.get=function(){return this.http.get(this.baseUrl+"/tools")},t.prototype.setTools=function(t){var o={};t.forEach((function(t){var r=e.toolDefs[t.name],i=r?r[0]:{};o[t.name]=Object.assign({},i,t)})),this.tools$.next(o)},t.prototype.getTool=function(t){return this.tools$.value[t]},t.prototype.getToolClass=function(t){var o=e.toolDefs[t];return void 0===o?void 0:o[1]},t.prototype.selectTool=function(t,e){void 0===e&&(e=!1);var o=this.selectedTool$.value;if(e||!o||t.name!==o.name){var r=this.toolHistory$.value.filter((function(e){return e.name!==t.name})).concat([Object.assign({},t)]);this.toolHistory$.next(r),this.selectedTool$.next(r[r.length-1])}},t.prototype.selectPreviousTool=function(){var t=this.toolHistory$.value.slice(0,-1);this.toolHistory$.next(t),this.selectedTool$.next(t[t.length-1])},t.prototype.unselectTool=function(){this.toolHistory$.next([]),this.selectedTool$.next(void 0)},t.prototype.handleToolsChange=function(){var t=this.selectedTool$.value;if(void 0!==t){var e=this.getTool(t.name);void 0===e?this.unselectTool():this.selectTool(e,!0)}},t.toolDefs=window.igoToolDefs=void 0===window.igoToolDefs?{}:window.igoToolDefs,t=e=r([n.Injectable(),i("design:paramtypes",[s.HttpClient,c.ConfigService])],t);var e}();e.ToolService=u,e.Register=function(t){return function(e){u.register(t,e)}}},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(878),c=o(55),u=o(6),p=o(14),l=o(121),h=o(83),d=o(54);e.LayerContextDirective=function(){function t(t,e,o,r,i){this.component=t,this.contextService=e,this.dataSourceService=o,this.layerService=r,this.route=i}return Object.defineProperty(t.prototype,"map",{get:function(){return this.component.map},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;if(this.context$$=this.contextService.context$.pipe(c.filter((function(t){return void 0!==t}))).subscribe((function(e){return t.handleContextChange(e)})),this.route&&this.route.options.visibleOnLayersKey&&this.route.options.visibleOffLayersKey&&this.route.options.contextKey)var e=this.route.queryParams.pipe(a.skip(1)).subscribe((function(o){t.queryParams=o,e.unsubscribe()}))},t.prototype.ngOnDestroy=function(){this.context$$.unsubscribe()},t.prototype.handleContextChange=function(t){var e=this;void 0!==t.layers&&(this.map.removeLayers(),t.layers.forEach((function(t){e.addLayerToMap(t)})))},t.prototype.addLayerToMap=function(t){var e=this;t.maxScaleDenom&&(t.maxResolution=this.getResolutionFromScale(t.maxScaleDenom)),t.minScaleDenom&&(t.minResolution=this.getResolutionFromScale(t.minScaleDenom));var o=t.source,r=Object.assign({},t);delete r.source,this.dataSourceService.createAsyncDataSource(Object.assign({},r,o)).subscribe((function(t){e.getLayerParamVisibilityUrl(t.options.id?t.options.id:t.id,r),e.map.addLayer(e.layerService.createLayer(t,r))}))},t.prototype.getResolutionFromScale=function(t){return t/(25.4/.28*39.37)},t.prototype.getLayerParamVisibilityUrl=function(t,e){var o=this.queryParams,r=this.contextService.context$.value.uri,i=t;if(o&&i){var n=o[this.route.options.contextKey];if(n===r||!n){var s="",a="",c=[],u=[];this.route.options.visibleOnLayersKey&&o[this.route.options.visibleOnLayersKey]&&(s=o[this.route.options.visibleOnLayersKey]),this.route.options.visibleOffLayersKey&&o[this.route.options.visibleOffLayersKey]&&(a=o[this.route.options.visibleOffLayersKey]),"*"===s&&(e.visible=!0),"*"===a&&(e.visible=!1),c=s.split(","),u=a.split(","),c.indexOf(i)>-1&&(e.visible=!0),u.indexOf(i)>-1&&(e.visible=!1)}}},t=r([s.Directive({selector:"[igoLayerContext]"}),n(0,s.Self()),n(4,s.Optional()),i("design:paramtypes",[p.MapBrowserComponent,d.ContextService,l.DataSourceService,h.LayerService,u.RouteService])],t)}()},function(t,e){t.exports=require("rxjs/operators/skip")},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}var i=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(12),a=o(28),c=o(120),u=o(272),p=o(273),l=o(274),h=o(276),d=o(278),f=o(280),y=o(270),m=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[y.MapFactoryService,a.MapService]}},t=e=i([n.NgModule({imports:[s.IgoSharedModule],exports:[c.MapBrowserComponent,c.MapBrowserBindingDirective,u.ZoomButtonComponent,p.GeolocateButtonComponent,l.BookmarkButtonComponent,h.PoiButtonComponent,d.UserButtonComponent,f.BaseLayersSwitcherComponent],declarations:[c.MapBrowserComponent,c.MapBrowserBindingDirective,u.ZoomButtonComponent,p.GeolocateButtonComponent,l.BookmarkButtonComponent,l.BookmarkDialogComponent,h.PoiButtonComponent,h.PoiDialogComponent,d.UserButtonComponent,d.UserDialogComponent,f.BaseLayersSwitcherComponent,f.MiniBaseMapComponent],entryComponents:[l.BookmarkDialogComponent,h.PoiDialogComponent,d.UserDialogComponent]})],t);var e}();e.IgoMapModule=m,r(o(120)),r(o(272)),r(o(273)),r(o(274)),r(o(276)),r(o(278)),r(o(280)),r(o(28))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(881))},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(39),s=o(19);e.LayerWatcher=function(t){function e(){var e=t.call(this)||this;return e.loaded=0,e.loading=0,e.layers=[],e.subscriptions=[],e}return i(e,t),e.prototype.watch=function(){},e.prototype.unwatch=function(){var t=this;this.layers.forEach((function(e){return t.unwatchLayer(e)}),this)},e.prototype.watchLayer=function(t){var e=this;void 0!==t.status$&&(this.layers.push(t),this.subscriptions.push(t.status$.pipe(n.distinctUntilChanged()).subscribe((function(t){t===s.SubjectStatus.Working?e.loading+=1:t===s.SubjectStatus.Done&&(e.loaded+=1),e.loaded>=e.loading?(e.loading=e.loaded=0,e.status=s.SubjectStatus.Done):e.loading>0&&(e.status=s.SubjectStatus.Working)}))))},e.prototype.unwatchLayer=function(t){var e=this.layers.indexOf(t);e>=0&&([s.SubjectStatus.Working,s.SubjectStatus.Waiting].includes(t.watcher.status)&&(this.loaded+=1),this.subscriptions[e].unsubscribe(),this.subscriptions.splice(e,1),this.layers.splice(e,1))},e}(s.Watcher)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(117),a=o(81);e.ImageLayer=function(t){function e(e,o){var r=t.call(this,e,o)||this;return r.watcher=new s.ImageWatcher(r.dataSource.ol),r.status$=r.watcher.status$,r}return i(e,t),e.prototype.createOlLayer=function(){var t=Object.assign({},this.options.view||{},{source:this.dataSource.ol}),e=new n.layer.Image(t),o=this.options.token;if(o){var r=this;e.getSource().setImageLoadFunction((function(t,e){r.customLoader(t,e,o)}))}return e},e.prototype.add=function(e){this.watcher.subscribe((function(){})),t.prototype.add.call(this,e)},e.prototype.remove=function(){this.watcher.unsubscribe(),t.prototype.remove.call(this)},e.prototype.customLoader=function(t,e,o){var r=new XMLHttpRequest;r.open("GET",e),r.setRequestHeader("Authorization","Bearer "+o),r.responseType="arraybuffer",r.onload=function(){var e=new Uint8Array(this.response),o=new Blob([e],{type:"image/png"}),r=window.URL.createObjectURL(o);t.getImage().src=r},r.send()},e}(a.Layer)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(19);e.ImageWatcher=function(t){function e(e){var o=t.call(this)||this;return o.source=e,o.loaded=0,o.loading=0,o.id=n.uuid(),o}return i(e,t),e.prototype.watch=function(){this.source.on("imageloadstart",this.handleLoadStart,this),this.source.on("imageloadend",this.handleLoadEnd,this),this.source.on("imageloaderror",this.handleLoadEnd,this)},e.prototype.unwatch=function(){this.source.un("imageloadstart",this.handleLoadStart,this),this.source.un("imageloadend",this.handleLoadEnd,this),this.source.un("imageloaderror",this.handleLoadEnd,this)},e.prototype.handleLoadStart=function(t){t.image.__watchers__||(t.image.__watchers__=[]),t.image.__watchers__.push(this.id),this.loading+=1,this.status=n.SubjectStatus.Working},e.prototype.handleLoadEnd=function(t){if(t.image.__watchers__){var e=t.image.__watchers__.indexOf(this.id);if(!(e<0)){t.image.__watchers__.splice(e,1),this.loaded+=1;var o=this.loading;this.loaded>=o&&o===this.loading&&(this.status=n.SubjectStatus.Done,this.loaded=this.loading=0)}}},e}(n.Watcher)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(19);e.TileWatcher=function(t){function e(e){var o=t.call(this)||this;return o.source=e,o.loaded=0,o.loading=0,o.id=n.uuid(),o}return i(e,t),e.prototype.watch=function(){this.source.on("tileloadstart",this.handleLoadStart,this),this.source.on("tileloadend",this.handleLoadEnd,this),this.source.on("tileloaderror",this.handleLoadEnd,this)},e.prototype.unwatch=function(){this.source.un("tileloadstart",this.handleLoadStart,this),this.source.un("tileloadend",this.handleLoadEnd,this),this.source.un("tileloaderror",this.handleLoadEnd,this)},e.prototype.handleLoadStart=function(t){t.tile.__watchers__||(t.tile.__watchers__=[]),t.tile.__watchers__.push(this.id),this.loading+=1,this.status=n.SubjectStatus.Working},e.prototype.handleLoadEnd=function(t){if(t.tile.__watchers__){var e=t.tile.__watchers__.indexOf(this.id);if(!(e<0)){t.tile.__watchers__.splice(e,1),this.loaded+=1;var o=this.loading;this.loaded>=o&&o===this.loading&&(this.status=n.SubjectStatus.Done,this.loaded=this.loading=0)}}},e}(n.Watcher)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(117),a=o(81);e.TileLayer=function(t){function e(e,o){var r=t.call(this,e,o)||this;return r.watcher=new s.TileWatcher(r.dataSource.ol),r.status$=r.watcher.status$,r}return i(e,t),e.prototype.createOlLayer=function(){var t=Object.assign({},this.options.view||{},{source:this.dataSource.ol});return new n.layer.Tile(t)},e.prototype.add=function(e){this.watcher.subscribe((function(){})),t.prototype.add.call(this,e)},e.prototype.remove=function(){this.watcher.unsubscribe(),t.prototype.remove.call(this)},e}(a.Layer)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(81);e.VectorLayer=function(t){function e(e,o){return t.call(this,e,o)||this}return i(e,t),e.prototype.createOlLayer=function(){var t=Object.assign({},this.options||{},{source:this.dataSource.ol});return new n.layer.Vector(t)},e}(s.Layer)},function(t,e){t.exports='<div [id]="id" class="igo-map-browser-target"></div>\r\n<ng-content></ng-content>\r\n'},function(t,e,o){var r=o(889);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{position:relative;display:block}.igo-map-browser-target,:host{width:100%;height:100%}:host>>>igo-zoom-button{position:absolute;bottom:5px;right:5px}@media only screen and (max-height:450px),only screen and (max-width:450px){:host>>>igo-zoom-button{display:none}}:host>>>igo-user-button{position:absolute;bottom:5px;right:55px}@media only screen and (max-height:450px),only screen and (max-width:450px){:host>>>igo-user-button{right:95px}}:host>>>igo-geolocate-button{position:absolute;bottom:95px;right:5px}@media only screen and (max-height:450px),only screen and (max-width:450px){:host>>>igo-geolocate-button{bottom:5px}}:host>>>igo-baselayers-switcher{position:absolute;bottom:5px;left:5px}:host.igo-attribution-offset>>>.ol-attribution{left:90px;width:calc(100% - 200px)}@media only screen and (max-height:450px),only screen and (max-width:450px){:host.igo-attribution-offset>>>.ol-attribution{left:50px}}:host>>>.ol-attribution{left:5px;bottom:5px;text-align:left;padding:0;margin-right:90px;background-color:hsla(0,0%,100%,0);width:calc(100% - 100px)}:host>>>.ol-attribution.ol-logo-only{height:inherit}:host>>>.ol-attribution.ol-collapsed{background:none}:host>>>.ol-attribution.ol-collapsed button{transform:none}:host>>>.ol-attribution button{transform:rotate(180deg);background-color:#fff;cursor:pointer}:host>>>.ol-scale-line-inner{font-size:11px;text-align:center;margin:1px}:host>>>.ol-scale-line{background:hsla(0,0%,100%,0);border-radius:4px;bottom:2em;left:5px;padding:4px;position:absolute}:host>>>canvas{display:block}:host>>>.ol-overviewmap{left:.5em;bottom:4em}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(28),c=o(271);e.MapBrowserBindingDirective=function(){function t(t,e){this.mapService=e,this.component=t}return t.prototype.ngOnInit=function(){if(void 0!==this.mapService.getMap())throw new Error("No more than one map be binded to the map service.");this.mapService.setMap(this.component.map)},t.prototype.ngOnDestroy=function(){this.mapService.setMap(void 0)},t=r([s.Directive({selector:"[igoMapBrowserBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.MapBrowserComponent,a.MapService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(56);e.ZoomButtonComponent=function(){function t(){}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",s.IgoMap),i("design:paramtypes",[s.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"color",null),t=r([n.Component({selector:"igo-zoom-button",template:o(892),styles:[o(893)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<div class="igo-zoom-button-container">\r\n  <button\r\n    mat-icon-button\r\n    [matTooltip]="\'igo.mapButtons.zoomIn\' | translate: {zoom: map.getZoom()+1}"\r\n    matTooltipPosition="left"\r\n    [color]="color"\r\n    (click)="map.zoomIn()">\r\n    <mat-icon>\r\n      add\r\n    </mat-icon>\r\n  </button>\r\n\r\n  <button\r\n    mat-icon-button\r\n    [matTooltip]="\'igo.mapButtons.zoomOut\' | translate: {zoom: map.getZoom()-1}"\r\n    matTooltipPosition="left"\r\n    [color]="color"\r\n    (click)="map.zoomOut()">\r\n    <mat-icon>\r\n      remove\r\n    </mat-icon>\r\n  </button>\r\n</div>\r\n'},function(t,e,o){var r=o(894);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-zoom-button-container{width:40px}.igo-zoom-button-container button{background-color:#fff}.igo-zoom-button-container button:hover{background-color:#efefef}.igo-zoom-button-container button:first-child{margin-bottom:2px}:host>>>button .mat-button-ripple-round,button{border-radius:0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(56);e.GeolocateButtonComponent=function(){function t(){}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",s.IgoMap),i("design:paramtypes",[s.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"color",null),t=r([n.Component({selector:"igo-geolocate-button",template:o(896),styles:[o(897)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<div class="igo-geolocate-button-container">\r\n  <button\r\n    mat-icon-button\r\n    [matTooltip]="\'igo.mapButtons.geolocate\' | translate"\r\n    matTooltipPosition="left"\r\n    [color]="color"\r\n    (click)="map.geolocate()">\r\n    <mat-icon>\r\n      my_location\r\n    </mat-icon>\r\n  </button>\r\n</div>\r\n'},function(t,e,o){var r=o(898);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-geolocate-button-container{width:40px;background-color:#fff}.igo-geolocate-button-container:hover{background-color:#efefef}:host>>>button .mat-button-ripple-round,button{border-radius:0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5),a=o(6),c=o(54),u=o(28),p=o(275);e.BookmarkButtonComponent=function(){function t(t,e,o,r){this.dialog=t,this.contextService=e,this.languageService=o,this.messageService=r}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),t.prototype.createContext=function(){var t=this;this.dialog.open(p.BookmarkDialogComponent,{disableClose:!1}).afterClosed().subscribe((function(e){if(e){var o=t.contextService.getContextFromMap(t.map);o.title=e,t.contextService.create(o).subscribe((function(){var e=t.languageService.translate,r=e.instant("igo.bookmarkButton.dialog.createTitle"),i=e.instant("igo.bookmarkButton.dialog.createMsg",{value:o.title});t.messageService.success(i,r)}))}}))},r([n.Input(),i("design:type",u.IgoMap),i("design:paramtypes",[u.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"color",null),t=r([n.Component({selector:"igo-bookmark-button",template:o(901),styles:[o(902)]}),i("design:paramtypes",[s.MatDialog,c.ContextService,a.LanguageService,a.MessageService])],t)}()},function(t,e){t.exports='<h1 mat-dialog-title>{{ \'igo.bookmarkButton.dialog.title\' | translate }}</h1>\r\n<div mat-dialog-content>\r\n  <mat-form-field>\r\n    <input matInput required autocomplete="off"\r\n      [placeholder]="\'igo.bookmarkButton.dialog.placeholder\' | translate"\r\n      [(ngModel)]="title">\r\n  </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n  <button mat-button color="primary"\r\n         [disabled]="!title"\r\n         (click)="dialogRef.close(title)">\r\n    {{\'igo.confirmDialog.confirmBtn\' | translate}}\r\n  </button>\r\n  <button mat-button\r\n          (click)="dialogRef.close(false)">\r\n    {{\'igo.confirmDialog.cancelBtn\' | translate}}\r\n  </button>\r\n</div>\r\n'},function(t,e){t.exports='<div class="igo-bookmark-button-container">\r\n  <button\r\n    mat-icon-button\r\n    [matTooltip]="\'igo.bookmarkButton.create\' | translate"\r\n    matTooltipPosition="above"\r\n    [color]="color"\r\n    (click)="createContext()">\r\n    <mat-icon>\r\n      bookmark\r\n    </mat-icon>\r\n  </button>\r\n</div>\r\n'},function(t,e,o){var r=o(903);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-bookmark-button-container{width:40px}.igo-bookmark-button-container button{background-color:#fff}.igo-bookmark-button-container button:hover{background-color:#efefef}:host>>>button .mat-button-ripple-round,button{border-radius:0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5),a=o(10),c=o(6),u=o(12),p=o(24),l=o(28),h=o(277);e.PoiButtonComponent=function(){function t(t,e,o,r,i,n){this.dialog=t,this.authService=e,this.poiService=o,this.messageService=r,this.languageService=i,this.confirmDialogService=n}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.authenticate$$=this.authService.authenticate$.subscribe((function(e){e&&t.getPois()}))},t.prototype.ngOnDestroy=function(){this.authenticate$$.unsubscribe()},t.prototype.deletePoi=function(t){var e=this;if(t&&t.id){var o=this.languageService.translate;this.confirmDialogService.open(o.instant("igo.poiButton.dialog.confirmDelete")).subscribe((function(r){r&&e.poiService.delete(t.id).subscribe((function(){var r=o.instant("igo.poiButton.dialog.deleteTitle"),i=o.instant("igo.poiButton.dialog.deleteMsg",{value:t.title});e.messageService.info(i,r),e.pois=e.pois.filter((function(e){return e.id!==t.id}))}),(function(t){t.error.title="DELETE Pois",e.messageService.showError(t)}))}))}},t.prototype.getPois=function(){var t=this;this.poiService.get().subscribe((function(e){t.pois=e}),(function(e){e.error.title="GET Pois",t.messageService.showError(e)}))},t.prototype.createPoi=function(){var t=this,e=this.map.ol.getView(),o=e.getProjection().getCode(),r=new a.geom.Point(e.getCenter()).transform(o,"EPSG:4326"),i={title:"",x:r.getCoordinates()[0],y:r.getCoordinates()[1],zoom:e.getZoom()};this.dialog.open(h.PoiDialogComponent,{disableClose:!1}).afterClosed().subscribe((function(e){e&&(i.title=e,t.poiService.create(i).subscribe((function(e){var o=t.languageService.translate,r=o.instant("igo.poiButton.dialog.createTitle"),n=o.instant("igo.poiButton.dialog.createMsg",{value:i.title});t.messageService.success(n,r),i.id=e.id,t.pois.push(i)}),(function(e){e.error.title="POST Pois",t.messageService.showError(e)})))}))},t.prototype.zoomOnPoi=function(t){var e=this.pois.find((function(e){return e.id===t})),o=a.proj.fromLonLat([Number(e.x),Number(e.y)],this.map.projection);this.map.ol.getView().animate({center:o,zoom:e.zoom,duration:500,easing:a.easing.easeOut})},r([n.Input(),i("design:type",l.IgoMap),i("design:paramtypes",[l.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"color",null),t=r([n.Component({selector:"igo-poi-button",template:o(906),styles:[o(907)]}),i("design:paramtypes",[s.MatDialog,p.AuthService,p.PoiService,c.MessageService,c.LanguageService,u.ConfirmDialogService])],t)}()},function(t,e){t.exports='<h1 mat-dialog-title>{{ \'igo.poiButton.dialog.title\' | translate }}</h1>\r\n<div mat-dialog-content>\r\n  <mat-form-field>\r\n    <input matInput required autocomplete="off"\r\n      [placeholder]="\'igo.poiButton.dialog.placeholder\' | translate"\r\n      [(ngModel)]="title">\r\n  </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n  <button mat-button color="primary"\r\n         [disabled]="!title"\r\n         (click)="dialogRef.close(title)">\r\n    {{\'igo.confirmDialog.confirmBtn\' | translate}}\r\n  </button>\r\n  <button mat-button\r\n          (click)="dialogRef.close(false)">\r\n    {{\'igo.confirmDialog.cancelBtn\' | translate}}\r\n  </button>\r\n</div>\r\n'},function(t,e){t.exports='<mat-select [placeholder]="\'igo.poiButton.placeholder\' | translate"\r\n           floatPlaceholder="never">\r\n\r\n  <mat-option (click)="createPoi()">\r\n    <div class="titlePoi">{{ \'igo.poiButton.create\' | translate }}</div>\r\n    <button igoStopPropagation class="addPoi buttonPoi"\r\n      mat-icon-button\r\n      color="primary"\r\n      (click)="createPoi()">\r\n      <mat-icon>\r\n        <span></span>\r\n      </mat-icon>\r\n    </button>\r\n  </mat-option>\r\n  <mat-option *ngFor="let poi of pois" [value]="poi.id" (click)="zoomOnPoi(poi.id)">\r\n    <div class="titlePoi">{{ poi.title }}</div>\r\n    <button igoStopPropagation class="deletePoi buttonPoi"\r\n      mat-icon-button\r\n      color="warn"\r\n      (click)="deletePoi(poi)">\r\n      <mat-icon>\r\n        <span></span>\r\n      </mat-icon>\r\n    </button>\r\n  </mat-option>\r\n</mat-select>\r\n'},function(t,e,o){var r=o(908);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,'mat-select{width:150px;background-color:#fff;padding-top:0}mat-select,mat-select>>>.mat-select-trigger{height:40px}mat-select>>>.mat-select-placeholder,mat-select>>>.mat-select-value-text{padding:5px;top:12px;position:relative}.mat-option{text-overflow:inherit}.titlePoi{max-width:135px;overflow:hidden;text-overflow:ellipsis;float:left}.buttonPoi{float:right;margin:4px -10px 4px 0}.buttonPoi>>>.mat-icon{margin:0 8px}.deletePoi span:before{content:"delete"}.addPoi span:before{content:"add_circle"}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5),a=o(6),c=o(24),u=o(28),p=o(279),l=o(911);e.UserButtonComponent=function(){function t(t,e,o){this.dialog=t,this.config=e,this.auth=o,this.expand=!1,this.visible=!1,this.visible=!!this.config.getConfig("auth")}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),t.prototype.accountClick=function(){this.auth.authenticated?this.expand=!this.expand:this.auth.logout()},t.prototype.logout=function(){this.expand=!1,this.auth.logout()},t.prototype.infoUser=function(){this.dialog.open(p.UserDialogComponent,{disableClose:!1})},r([n.Input(),i("design:type",u.IgoMap),i("design:paramtypes",[u.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"color",null),t=r([n.Component({selector:"igo-user-button",template:o(912),styles:[o(913)],animations:[l.userButtonSlideInOut()]}),i("design:paramtypes",[s.MatDialog,a.ConfigService,c.AuthService])],t)}()},function(t,e){t.exports="<h1 mat-dialog-title>{{'igo.userButton.infoTitle' | translate}}</h1>\r\n<div mat-dialog-content>\r\n  <p>{{'igo.userButton.dialog.user' | translate}}: {{user.sourceId}}</p>\r\n  <p>{{'igo.userButton.dialog.email' | translate}}: {{user.email}}</p>\r\n  <p>{{'igo.userButton.dialog.expiration' | translate}}: {{exp}}</p>\r\n</div>\r\n<div mat-dialog-actions style=\"justify-content: center\">\r\n  <button mat-button color=\"primary\"\r\n         (click)=\"dialogRef.close(false)\">\r\n    OK\r\n  </button>\r\n</div>\r\n"},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(51);e.userButtonSlideInOut=function(){return r.trigger("userButtonState",[r.state("collapse",r.style({width:"0",overflow:"hidden",display:"none"})),r.state("expand",r.style({overflow:"hidden",display:"display"})),r.transition("collapse => expand",r.animate("200ms")),r.transition("expand => collapse",r.animate("200ms"))])}},function(t,e){t.exports='<div *ngIf="visible" class="igo-user-button-container">\r\n  <div class="igo-user-button-more-container" [@userButtonState]="expand ? \'expand\' : \'collapse\'">\r\n\r\n    <igo-poi-button [color]="color" [map]="map"></igo-poi-button>\r\n    <igo-bookmark-button [color]="color" [map]="map"></igo-bookmark-button>\r\n\r\n    <button\r\n      mat-icon-button\r\n      [matTooltip]="\'igo.userButton.infoTitle\' | translate"\r\n      matTooltipPosition="above"\r\n      [color]="color"\r\n      (click)="infoUser()">\r\n      <mat-icon>\r\n        info_outline\r\n      </mat-icon>\r\n    </button>\r\n\r\n    <button\r\n      mat-icon-button\r\n      [matTooltip]="\'igo.userButton.logout\' | translate"\r\n      matTooltipPosition="above"\r\n      [color]="color"\r\n      (click)="logout()">\r\n      <mat-icon>\r\n        power_settings_new\r\n      </mat-icon>\r\n    </button>\r\n\r\n  </div>\r\n\r\n  <button\r\n    mat-icon-button\r\n    [color]="auth.authenticated ? color : \'warn\'"\r\n    (click)="accountClick()">\r\n    <mat-icon>\r\n      account_box\r\n    </mat-icon>\r\n  </button>\r\n</div>\r\n'},function(t,e,o){var r=o(914);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-user-button-container button{background-color:#fff}.igo-user-button-container button:hover{background-color:#efefef}@media only screen and (max-height:450px),only screen and (max-width:450px){.igo-user-button-container>button{position:absolute;bottom:0}}.igo-user-button-more-container{float:left;height:40px}.igo-user-button-more-container>*{margin-right:2px;float:left}@media only screen and (max-height:450px),only screen and (max-width:450px){.igo-user-button-more-container{height:80px;width:150px;position:relative;left:24px}}:host>>>button .mat-button-ripple-round,button{border-radius:0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(6),a=o(28),c=o(916);e.BaseLayersSwitcherComponent=function(){function t(t){this.mediaService=t,this._baseLayers=[],this.expand=!1,"mobile"===this.mediaService.media$.value&&void 0===this.useStaticIcon&&(this.useStaticIcon=!0)}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"useStaticIcon",{get:function(){return this._useStaticIcon},set:function(t){this._useStaticIcon=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;this.layers$$=this.map.layers$.subscribe((function(e){t._baseLayers=e.filter((function(t){return t.baseLayer}))}))},t.prototype.ngOnDestroy=function(){this.layers$$.unsubscribe()},t.prototype.collapseOrExpand=function(){this.expand=!!(this.baseLayers.length>1||this.useStaticIcon)&&!this.expand},Object.defineProperty(t.prototype,"baseLayers",{get:function(){var t=this.map.resolution$.value,e=this._baseLayers.filter((function(e){return(!e.options.view.maxResolution||t<=e.options.view.maxResolution)&&(!e.options.view.minResolution||t>=e.options.view.minResolution)})),o=e.filter((function(t){return!t.visible}));return o.length+1===e.length?o:e},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",a.IgoMap),i("design:paramtypes",[a.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"useStaticIcon",null),t=r([n.Component({selector:"igo-baselayers-switcher",template:o(917),styles:[o(918)],animations:[c.baseLayersSwitcherSlideInOut()]}),i("design:paramtypes",[s.MediaService])],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(51);e.baseLayersSwitcherSlideInOut=function(){return r.trigger("baseLayerSwitcherState",[r.state("collapseIcon",r.style({height:"40px",width:"40px",overflow:"hidden"})),r.state("collapseMap",r.style({height:"85px",overflow:"hidden"})),r.state("expand",r.style({overflow:"hidden"})),r.transition("collapse => expand",r.animate("200ms")),r.transition("expand => collapse",r.animate("200ms"))])}},function(t,e){t.exports='<div *ngIf="baseLayers.length > 0"\r\n     class="igo-baselayers-switcher-container"\r\n     [ngClass]="{\'container-expand\': expand}"\r\n     [@baseLayerSwitcherState]="expand ? \'expand\' : useStaticIcon ? \'collapseIcon\' : \'collapseMap\'"\r\n     (@baseLayerSwitcherState.start)="showButton=false"\r\n     (@baseLayerSwitcherState.done)="showButton=true"\r\n     (click)="collapseOrExpand()">\r\n\r\n     <div *ngIf="useStaticIcon && !expand && showButton" class="igo-baselayers-switcher-button-container">\r\n       <button\r\n         mat-icon-button\r\n         [matTooltip]="\'igo.mapButtons.baselayerSwitcher\' | translate"\r\n         matTooltipPosition="right"\r\n         color="primary">\r\n         <mat-icon>\r\n           photo_library\r\n         </mat-icon>\r\n       </button>\r\n     </div>\r\n\r\n     <igo-mini-basemap *ngFor="let baseLayer of baseLayers; let i = index"\r\n       [map]="map"\r\n       [baseLayer]="baseLayer"\r\n       [display]="expand || (i === 0 && !useStaticIcon)"\r\n       [disabled]="!expand && baseLayers.length > 1">\r\n     </igo-mini-basemap>\r\n\r\n    <div class="more-baselayers">\r\n      <mat-icon class="material-icons mat-icon mat-list-avatar" color="primary">\r\n        arrow_drop_down\r\n      </mat-icon>\r\n    </div>\r\n\r\n</div>\r\n'},function(t,e,o){var r=o(919);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-baselayers-switcher-container{height:auto;position:relative}.container-expand{overflow:hidden;border-width:0}.more-baselayers{width:80px;height:20px;background-color:#fff;text-align:center;cursor:pointer}.more-baselayers:hover{background-color:#efefef}.igo-baselayers-switcher-button-container{width:40px;background-color:#fff}.igo-baselayers-switcher-button-container:hover{background-color:#efefef}:host>>>button .mat-button-ripple-round,button{border-radius:0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(83),a=o(281),c=o(28);e.MiniBaseMapComponent=function(){function t(t,e){this.layerService=t,this.mapFactoryService=e,this.basemap=this.mapFactoryService.createIgoMap({controls:{},interactions:!1})}return Object.defineProperty(t.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t,this.handleMoveEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseLayer",{get:function(){return this._baseLayer},set:function(t){this._baseLayer=t,this.handleBaseLayerChanged(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"display",{get:function(){return this._display},set:function(t){this._display=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.map.ol.on("moveend",this.handleMoveEnd,this),this.handleMoveEnd()},t.prototype.ngOnDestroy=function(){this.map.ol.un("moveend",this.handleMoveEnd,this)},t.prototype.changeBaseLayer=function(t){this.disabled||this.map.changeBaseLayer(t)},t.prototype.handleMoveEnd=function(){this.basemap.ol.setView(this.map.ol.getView())},t.prototype.handleBaseLayerChanged=function(t){this.basemap.removeLayers();var e=Object.assign(Object.create(t.options),t.options);e.visible=!0,this.basemap.addLayer(this.layerService.createLayer(t.dataSource,e))},r([n.Input(),i("design:type",c.IgoMap),i("design:paramtypes",[c.IgoMap])],t.prototype,"map",null),r([n.Input(),i("design:type",s.Layer),i("design:paramtypes",[s.Layer])],t.prototype,"baseLayer",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"disabled",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"display",null),t=r([n.Component({selector:"igo-mini-basemap",template:o(951),styles:[o(952)]}),i("design:paramtypes",[a.LayerService,c.MapFactoryService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(121);e.IgoDataSourceModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.DataSourceService,s.CapabilitiesService,s.WFSDataSourceService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[],declarations:[]})],t);var e}()},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(34);e.OSMDataSource=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createOlSource=function(){return new n.source.OSM(this.options)},e.prototype.generateId=function(){return"OSM"},e}(s.DataSource)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(82),a=o(34);e.XYZDataSource=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createOlSource=function(){return new n.source.XYZ(this.options)},e.prototype.generateId=function(){return s.Md5.hashStr("xyz"+this.options.url)},e}(a.DataSource)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(19),a=o(38),c=o(34),u=o(27);e.WFSDataSource=function(t){function e(e,o){var r=t.call(this,e,o)||this;return r.options=e,r.dataSourceService=o,r.ogcFilterWriter=new a.OgcFilterWriter,r.dataSourceService.checkWfsOptions(e),void 0===e.sourceFields||0===Object.keys(e.sourceFields).length?(e.sourceFields=[],r.dataSourceService.wfsGetCapabilities(e).pipe(u.map((function(t){return e.wfsCapabilities={xml:t.body,GetPropertyValue:!!/GetPropertyValue/gi.test(t.body)}}))).subscribe((function(t){return e.sourceFields=r.dataSourceService.defineFieldAndValuefromWFS(e)}))):e.sourceFields.filter((function(t){return void 0===t.values||0===t.values.length})).forEach((function(t){t.values=r.dataSourceService.getValueFromWfsGetPropertyValues(e,t.name,200,0,0)})),e.ogcFilters.filters?(e.ogcFilters.filters=r.ogcFilterWriter.checkIgoFiltersProperties(e.ogcFilters.filters,e.fieldNameGeometry,!0),e.ogcFilters.interfaceOgcFilters=r.ogcFilterWriter.defineInterfaceFilterSequence(e.ogcFilters.filters,e.fieldNameGeometry)):(e.ogcFilters.filters=void 0,e.ogcFilters.interfaceOgcFilters=[]),e.isOgcFilterable=void 0===e.isOgcFilterable||e.isOgcFilterable,e.ogcFilters.filtersAreEditable=void 0===e.ogcFilters.filtersAreEditable||e.ogcFilters.filtersAreEditable,r}return i(e,t),e.prototype.generateId=function(){return s.uuid()},e.prototype.createOlSource=function(){var t=this.options;return this.dataSourceService.checkWfsOptions(t),new n.source.Vector({format:this.dataSourceService.getFormatFromOptions(t),overlaps:!1,url:function(e,o,r){var i=t.url,n=t.outputFormat?"outputFormat="+t.outputFormat:"",s=t.version?"version="+t.version:"version=2.0.0",a="typename",c="maxFeatures";"2.0.0"!==t.version&&t.version||(a="typenames",c="count");var u=a+"="+t.featureTypes,p=t.maxFeatures?c+"="+t.maxFeatures:c+"=5000",l=t.srsname?"srsname="+t.srsname:"srsname="+r.getCode(),h=this.ogcFilterWriter.buildFilter(this.options.ogcFilters.filters,e,r,this.options.fieldNameGeometry);this.options.ogcFiltered=!!/filter=.*/gi.test(h);var d=i+"?service=WFS&request=GetFeature&"+s+"&"+u+"&";return d+=n+"&"+l+"&"+h+"&"+p,this.options.download=Object.assign({},this.options.download,{dynamicUrl:d}),d}.bind(this),strategy:n.loadingstrategy.bbox})},e.prototype.filterByOgc=function(t){},e}(c.DataSource)},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0);e.FilterableDataSourcePipe=function(){function t(){}return t.prototype.transform=function(t,e){var o;return"time"===e&&(o=t.filter((function(t){return t.isTimeFilterable()&&void 0!==t.options.timeFilter&&Object.keys(t.options.timeFilter).length}))),"ogc"===e&&(o=t.filter((function(t){return t.isOgcFilterable()}))),o},t=r([i.Pipe({name:"filterableDataSource"})],t)}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(10),i=o(19);e.OgcFilterWriter=function(){function t(){this.filterSequence=[],this.operators={PropertyIsEqualTo:{fieldRestrict:[]},PropertyIsNotEqualTo:{fieldRestrict:[]},PropertyIsLike:{fieldRestrict:["string"]},PropertyIsGreaterThan:{fieldRestrict:["number"]},PropertyIsGreaterThanOrEqualTo:{fieldRestrict:["number"]},PropertyIsLessThan:{fieldRestrict:["number"]},PropertyIsLessThanOrEqualTo:{fieldRestrict:["number"]},PropertyIsBetween:{fieldRestrict:["number"]},During:{fieldRestrict:[]},PropertyIsNull:{fieldRestrict:[]},Intersects:{fieldRestrict:[]},Within:{fieldRestrict:[]},Contains:{fieldRestrict:[]}}}return t.prototype.buildFilter=function(t,e,o,i){var n,s,a=r.format.filter;if(s=!/intersects|contains|within/gi.test(JSON.stringify(t)),t&&(i=void 0!==t.geometryName?t.geometryName:i),e&&t&&(n=a.bbox(i,e,o.getCode())),!t)return"bbox="+e.join(",")+",EPSG:3857";t=this.checkIgoFiltersProperties(t,i);var c={srsName:"",featureNS:"",featurePrefix:"",featureTypes:["featureTypes"],filter:e&&s?a.and(n,this.bundleFilter(t)):this.bundleFilter(t),outputFormat:"",geometryName:i},u=(new r.format.WFS).writeGetFeature(c);return"filter="+(new XMLSerializer).serializeToString(u).split(/typenames *=|typename *=\"featureTypes\" *>/gi)[1].split(/<\/Query><\/GetFeature>/gi)[0]},t.prototype.bundleFilter=function(t){var e=this;if(t instanceof Array){var o=[];return t.forEach((function(t){o.push(e.bundleFilter(t))})),o}return t.hasOwnProperty("logical")?this.createFilter({operator:t.logical,logical_array:this.bundleFilter(t.filters)}):t.hasOwnProperty("operator")?this.createFilter(t):void 0},t.prototype.createFilter=function(t){var e,o=t.operator,i=t.logical_array,n=r.format.filter,s=t.propertyName,a=t.pattern,c=!!t.matchCase&&t.matchCase,u=t.wildCard?t.wildCard:"*",p=t.singleChar?t.singleChar:".",l=t.escapeChar?t.escapeChar:"!",h=t.lowerBoundary,d=t.upperBoundary,f=t.geometryName,y=t.extent,m=t.wkt_geometry,g=t.srsName?t.srsName:"EPSG:3857",v=t.begin,b=t.end,_=t.expression;switch(m&&(e=(new r.format.WKT).readGeometry(m,{dataProjection:g,featureProjection:"EPSG:3857"})),o){case"BBOX":return n.bbox(f,y,g);case"PropertyIsBetween":return n.between(s,h,d);case"Contains":return n.contains(f,e,g);case"During":return n.during(s,v,b);case"PropertyIsEqualTo":return n.equalTo(s,_,c);case"PropertyIsGreaterThan":return n.greaterThan(s,_);case"PropertyIsGreaterThanOrEqualTo":return n.greaterThanOrEqualTo(s,_);case"Intersects":return n.intersects(f,e,g);case"PropertyIsNull":return n.isNull(s);case"PropertyIsLessThan":return n.lessThan(s,_);case"PropertyIsLessThanOrEqualTo":return n.lessThanOrEqualTo(s,_);case"PropertyIsLike":return n.like(s,a.replace(/[()_]/gi,p),u,p,l,c);case"PropertyIsNotEqualTo":return n.notEqualTo(s,_,c);case"Within":return n.within(f,e,g);case"And":return n.and.apply(null,i);case"Or":return n.or.apply(null,i);case"Not":return n.not.apply(null,i);default:return}},t.prototype.defineInterfaceFilterSequence=function(t,e,o,r){var i=this;return void 0===o&&(o=""),void 0===r&&(r=-1),t instanceof Array?t.forEach((function(t){i.filterSequence.concat(i.defineInterfaceFilterSequence(t,e,o,r))})):t.hasOwnProperty("logical")?(r+=1,this.filterSequence.concat(this.defineInterfaceFilterSequence(t.filters,e,t.logical,r))):t.hasOwnProperty("operator")&&this.filterSequence.push(this.addInterfaceFilter(t,e,r,o)),this.filterSequence},t.prototype.addInterfaceFilter=function(t,e,o,r){void 0===t&&(t={operator:"PropertyIsEqualTo"}),void 0===e&&(e=void 0),void 0===o&&(o=0),void 0===r&&(r="Or");var n={propertyName:"",operator:"",active:"",filterid:i.uuid(),begin:"",end:"",lowerBoundary:"",upperBoundary:"",expression:"",pattern:"",wildCard:"*",singleChar:".",escapeChar:"!",matchCase:!1,igoSpatialSelector:"",geometryName:"",geometry:"",extent:"",srsName:"",parentLogical:"",level:0};return Object.assign(n,{parentLogical:r,level:o,geometryName:e},t)},t.prototype.checkIgoFiltersProperties=function(t,e,o){var r=this;void 0===o&&(o=!1);var i=[];return t instanceof Array?(t.forEach((function(t){i.push(r.checkIgoFiltersProperties(t,e,o))})),i):t.hasOwnProperty("logical")?Object.assign({},{logical:t.logical,filters:this.checkIgoFiltersProperties(t.filters,e,o)}):t.hasOwnProperty("operator")?this.addFilterProperties(t,e,o):void 0},t.prototype.addFilterProperties=function(t,e,o){void 0===o&&(o=!1);var r=t.hasOwnProperty("filterid")?t.filterid:i.uuid(),n=t.hasOwnProperty("active")?t.active:o;return Object.assign({},{filterid:r,active:n,igoSpatialSelector:"fixedExtent"},t,{geometryName:e})},t.prototype.rebuiltIgoOgcFilterObjectFromSequence=function(t){if(t instanceof Array&&t.length>=1){var e,o,r=t[0].parentLogical,i=[];return t.forEach((function(n){var s=Object.assign({},n),a=t.indexOf(n);e=a>=0&&a<t.length-1?t[a+1]:s,delete s.active,delete s.filterid,delete s.parentLogical,i.push(s),1===t.length?o=s:r!==e.parentLogical&&(1===i.length?console.log("You must set at least two operator in a logical ("+r+")"):(o=Object.assign({},{logical:r,filters:i}),i=[o],r=e.parentLogical))})),o}},t}()},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(0),c=o(11),u=o(10),p=o(283);e.WFSDataSourceService=function(t){function e(e){var o=t.call(this)||this;return o.http=e,o}return i(e,t),e.prototype.getData=function(){return console.log("This is defining a datasource service."),"This is defining a datasource service."},e.prototype.getFormatFromOptions=function(t){var e,o=t.outputFormat.toLowerCase(),r=new RegExp(".*?gml.*?");return new RegExp(".*?json.*?").test(o)&&(e=u.format.GeoJSON),r.test(o)&&(e=u.format.WFS),new e},e.prototype.checkWfsOptions=function(t){var e=[];if(["url","featureTypes","fieldNameGeometry"].forEach((function(o){void 0===t[o]&&e.push(o)})),e.length>0)throw new Error("A mandatory parameter is missing\n        for your WFS datasource source.\n        (Mandatory parameter(s) missing :"+e);return new RegExp(".*?gml.*?").test(t.outputFormat)&&(t.version="1.1.0"),t.ogcFilters=void 0===t.ogcFilters?{filtersAreEditable:!0,filters:void 0}:t.ogcFilters,Object.assign({},t,{wfsCapabilities:{xml:"",GetPropertyValue:!1}})},e.prototype.buildBaseWfsUrl=function(t,e){var o="typename";"2.0.0"!==t.version&&t.version||(o="typenames");var r="service=wfs&request="+e,i=o+"="+t.featureTypes;return t.url+"?"+r+"&"+(t.version?"version="+t.version:"version=2.0.0")+"&"+i},e.prototype.wfsGetFeature=function(t,e,o,r){void 0===e&&(e=5e3),void 0===o&&(o=3857),void 0===r&&(r="");var i=this.buildBaseWfsUrl(t,"GetFeature"),n=t.outputFormat?"outputFormat="+t.outputFormat:"",s=t.srsname?"srsname="+t.srsname:"srsname=EPSG:"+o,a=""===r?r:"&propertyname="+r,c="maxFeatures";"2.0.0"!==t.version&&t.version||(c="count");var u=i+"&"+n+"&"+s+"&"+(5e3!==e?c+"="+e:t.maxFeatures?c+"="+t.maxFeatures:c+"="+e)+a;return new RegExp(".*?gml.*?").test(t.outputFormat.toLowerCase())?this.http.get(u,{responseType:"text"}):this.http.get(u)},e.prototype.getValueFromWfsGetPropertyValues=function(t,e,o,r,i){var n=this;void 0===o&&(o=30),void 0===r&&(r=0),void 0===i&&(i=0);var s=[];return this.wfsGetPropertyValue(t,e,o,r).subscribe((function(a){if(a=a.replace(/&#39;/gi,"'"),/exception/gi.test(a))++i<2&&(s=n.getValueFromWfsGetPropertyValues(t,e,o,r,i));else for(var c=new RegExp("<(.+?)"+e+">(.+?)</(.+?)"+e+">","gi"),u=void 0;null!==(u=c.exec(a));)u.index===c.lastIndex&&c.lastIndex++,-1===s.indexOf(u[2])&&s.push(u[2])}),(function(a){i<2&&(i++,s=n.getValueFromWfsGetPropertyValues(t,e,o,r,i))})),s},e.prototype.wfsGetCapabilities=function(t){return this.http.get(t.url+"?service=wfs&request=GetCapabilities&"+(t.version?"version="+t.version:"version=2.0.0"),{observe:"response",responseType:"text"})},e.prototype.defineFieldAndValuefromWFS=function(t){var e,o,r,i,n=this,s=[];return i=t.outputFormat.match(/gml/gi)?u.format.WFS:u.format.GeoJSON,t.wfsCapabilities.GetPropertyValue?this.wfsGetFeature(t,1).subscribe((function(a){var c=(new i).readFeatures(a);e=c[0].getKeys(),o=e.filter((function(t){return t!==c[0].getGeometryName()&&!t.match(/boundedby/gi)})),r=o.join(","),o.forEach((function(e){var o="object"==typeof c[0].get(e)?void 0:typeof c[0].get(e),r=n.getValueFromWfsGetPropertyValues(t,e,200);s.push({name:e,alias:e,type:o,values:r})}))})):this.wfsGetFeature(t,1).subscribe((function(a){var c=(new i).readFeatures(a);e=c[0].getKeys(),o=e.filter((function(t){return t!==c[0].getGeometryName()&&!t.match(/boundedby/gi)})),r=o.join(","),n.wfsGetFeature(t,200,3857,r).subscribe((function(t){var e=(new i).readFeatures(t);n.built_properties_value(e).forEach((function(t){s.push(t)}))}))})),s},e.prototype.built_properties_value=function(t){var e=Object.assign({},t[0].getProperties());delete e[t[0].getGeometryName()],delete e.boundedBy;var o=[];for(var r in e)if(e.hasOwnProperty(r)){var i="object"==typeof t[0].get(r)?void 0:typeof t[0].get(r);o.push({name:r,alias:r,type:i,values:[e[r]]})}return t.every((function(t){var r=t.getProperties();for(var i in r)!function(t){r.hasOwnProperty(t)&&t in e&&o.filter((function(e){return e.name===t})).forEach((function(e){-1===e.values.indexOf(r[t])&&e.values.push(r[t])}))}(i);return!0})),o},e.prototype.wfsGetPropertyValue=function(t,e,o,r){return void 0===o&&(o=30),void 0===r&&(r=0),this.http.get(t.url+"?service=wfs&request=GetPropertyValue&count="+o+"&version=2.0.0&typenames="+t.featureTypes+"&valueReference="+e,{responseType:"text"})},e=n([a.Injectable(),s("design:paramtypes",[c.HttpClient])],e)}(p.DataService)},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(82),a=o(122),c=o(34),u=o(38),p=o(27);e.WMSDataSource=function(t){function e(e,o){var r=t.call(this,e,o)||this;r.options=e,r.dataSourceService=o;var i,n=e.params;if(n&&n.version&&(n.VERSION=n.version),void 0!==e.sourceFields&&0!==Object.keys(e.sourceFields).length||(e.sourceFields=[{name:"",alias:""}]),e.wfsSource&&Object.keys(e.wfsSource).length>0){e.wfsSource=r.dataSourceService.checkWfsOptions(e.wfsSource),delete e.wfsSource.ogcFilters,e.fieldNameGeometry=e.wfsSource.fieldNameGeometry,1===e.sourceFields.length&&""===e.sourceFields[0].name?(e.sourceFields=[],r.dataSourceService.wfsGetCapabilities(e).pipe(p.map((function(t){return e.wfsSource.wfsCapabilities={xml:t.body,GetPropertyValue:!!/GetPropertyValue/gi.test(t.body)}}))).subscribe((function(t){return e.sourceFields=r.dataSourceService.defineFieldAndValuefromWFS(e.wfsSource)}))):e.sourceFields.filter((function(t){return void 0===t.values||0===t.values.length})).forEach((function(t){t.values=r.dataSourceService.getValueFromWfsGetPropertyValues(e.wfsSource,t.name,200,0,0)}));var s=void 0!==e.wfsSource.outputFormat?"outputFormat="+e.wfsSource.outputFormat:"",c="maxFeatures";"2.0.0"!==e.wfsSource.version&&e.wfsSource.version||(c="count");var l=e.wfsSource.maxFeatures?c+"="+e.wfsSource.maxFeatures:c+"=5000",h=e.wfsSource.srsname?"srsname="+e.wfsSource.srsname:"srsname=EPSG:3857",d=r.dataSourceService.buildBaseWfsUrl(e.wfsSource,"GetFeature");r.options.download=Object.assign({},r.options.download,{dynamicUrl:d+"&"+s+"&"+h+"&"+l})}switch(e.isOgcFilterable=void 0!==e.isOgcFilterable&&e.isOgcFilterable,e.ogcFilters=void 0===e.ogcFilters?{filtersAreEditable:!0,filters:void 0}:e.ogcFilters,e.isOgcFilterable&&(r.ogcFilterWriter=new u.OgcFilterWriter,e.ogcFilters&&e.ogcFilters.filters?(e.ogcFilters.filters=r.ogcFilterWriter.checkIgoFiltersProperties(e.ogcFilters.filters,e.fieldNameGeometry,!0),e.ogcFilters.interfaceOgcFilters=r.ogcFilterWriter.defineInterfaceFilterSequence(e.ogcFilters.filters,e.fieldNameGeometry),r.filterByOgc(r.ogcFilterWriter.buildFilter(e.ogcFilters.filters)),e.ogcFiltered=!0):(e.ogcFilters.filters=void 0,e.ogcFilters.interfaceOgcFilters=[],e.ogcFiltered=!1)),r.queryFormat){case a.QueryFormat.GML2:i="application/vnd.ogc.gml";break;case a.QueryFormat.GML3:i="application/vnd.ogc.gml/3.1.1";break;case a.QueryFormat.JSON:i="application/json";break;case a.QueryFormat.GEOJSON:i="application/geojson";break;case a.QueryFormat.TEXT:i="text/plain";break;case a.QueryFormat.HTML:i="text/html"}return r.queryInfoFormat=i,r}return i(e,t),Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryFormat",{get:function(){return this.options.queryFormat?this.options.queryFormat:a.QueryFormat.GML2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryTitle",{get:function(){return this.options.queryTitle?this.options.queryTitle:"title"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryHtmlTarget",{get:function(){return this.options.queryHtmlTarget?this.options.queryHtmlTarget:"newtab"},enumerable:!0,configurable:!0}),e.prototype.createOlSource=function(){return new n.source.ImageWMS(this.options)},e.prototype.generateId=function(){return s.Md5.hashStr("wms"+this.options.url+this.params.layers)},e.prototype.getLegend=function(){var e=t.prototype.getLegend.call(this);if(e.length>0)return e;var o=this.params,r=[];void 0!==o.layers&&(r=o.layers.split(","));var i=this.options.url.replace(/\?$/,""),n=["REQUEST=GetLegendGraphic","SERVICE=wms","FORMAT=image/png","SLD_VERSION=1.1.0","VERSION="+(o.version||"1.3.0")];return e=r.map((function(t){return{url:i+"?"+n.join("&")+"&LAYER="+t,title:r.length>1?t:void 0}}))},e.prototype.getQueryUrl=function(t){return this.ol.getGetFeatureInfoUrl(t.coordinates,t.resolution,t.projection,{INFO_FORMAT:this.queryInfoFormat,QUERY_LAYERS:this.params.layers,FEATURE_COUNT:this.params.feature_count||"5"})},e.prototype.reformatDateTime=function(t){var e=t.getFullYear(),o=t.getMonth()+1,r=t.getUTCDate(),i=t.getUTCHours();return Number(o)<10&&(o="0"+o),Number(r)<10&&(r="0"+r),Number(i)<10&&(i="0"+i),e+"-"+o+"-"+r+"T"+i+":00:00Z"},e.prototype.filterByDate=function(t){var e,o,r;if(Array.isArray(t)){var i=[];t[0]&&(o=this.reformatDateTime(t[0]),i.push(t[0])),t[1]&&(r=this.reformatDateTime(t[1]),i.push(t[1])),2===i.length&&o!==r&&(e=o+"/"+r),o===r&&(e=o)}else t&&(e=this.reformatDateTime(t));this.ol.updateParams({time:e})},e.prototype.filterByYear=function(t){var e,o,r;if(Array.isArray(t)){var i=[];t[0]&&(o=t[0],i.push(t[0])),t[1]&&(r=t[1],i.push(t[1])),2===i.length&&o!==r&&(e=o+"/"+r),o===r&&(e=o)}else t&&(e=t);this.ol.updateParams({time:e})},e.prototype.filterByOgc=function(t){this.ol.updateParams({filter:t.length>0?t.substr(7,t.length+1):void 0})},e}(c.DataSource)},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(284);e.IgoQueryModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.QueryService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[s.QueryDirective],declarations:[s.QueryDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(931),c=o(10),u=o(6),p=o(120),l=o(22),h=o(290);e.QueryDirective=function(){function t(t,e,o){this.component=t,this.queryService=e,this.languageService=o,this.queries$$=[],this.dragBox=new c.interaction.DragBox({condition:c.events.condition.platformModifierKeyOnly}),this._waitForAllQueries=!1,this.query=new s.EventEmitter}return Object.defineProperty(t.prototype,"map",{get:function(){return this.component.map},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"waitForAllQueries",{get:function(){return this._waitForAllQueries},set:function(t){this._waitForAllQueries=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;this.queryLayers$$=this.component.map.layers$.subscribe((function(e){return t.handleLayersChange(e)})),this.map.ol.on("singleclick",this.handleMapClick,this),this.dragBox=new c.interaction.DragBox({condition:c.events.condition.platformModifierKeyOnly}),this.map.ol.addInteraction(this.dragBox),this.dragBox.on("boxend",this.handleMapClick,this)},t.prototype.ngOnDestroy=function(){this.queryLayers$$.unsubscribe(),this.unsubscribeQueries(),this.map.ol.un("singleclick",this.handleMapClick,this)},t.prototype.handleLayersChange=function(t){var e=[];t.forEach((function(t){t.dataSource.isQueryable()&&e.push(t)})),this.queryLayers=e},t.prototype.manageFeatureByClick=function(t,e){if(999!==e.getZIndex()){var o;o=void 0!==e.get("title")?e.get("title"):this.map.layers.filter((function(t){return t.zIndex===e.getZIndex()}))[0].dataSource.options.title;var r="";return e.get("displayField")&&t.getProperties().hasOwnProperty(e.get("displayField"))&&(r=" ("+t.getProperties()[e.get("displayField")]+")"),t.set("clickedTitle",o+r),t}},t.prototype.handleMapClick=function(t){var e=this;this.unsubscribeQueries();var o=[],r=new c.format.GeoJSON,i=this.map.projection;if("singleclick"===t.type)this.map.ol.forEachFeatureAtPixel(t.pixel,(function(t,r){o.push(e.manageFeatureByClick(t,r))}),{hitTolerance:5});else if("boxend"===t.type){var n=this.dragBox.getGeometry().getExtent();this.map.layers.forEach((function(t){"VECTOR"===t.ol.type&&t.visible&&999!==t.zIndex&&t.dataSource.ol.forEachFeatureIntersectingExtent(n,(function(r){o.push(e.manageFeatureByClick(r,t.ol))}))}))}var s=JSON.parse(r.writeFeatures(o.filter((function(t){return void 0!==t})),{dataProjection:"EPSG:4326",featureProjection:i})),u=0,p=[];(p=s.features.map((function(t){return Object.assign({},t,{sourceType:l.SourceFeatureType.Click,source:e.languageService.translate.instant("igo.clickOnMap.clickedFeature"),id:t.properties.clickedTitle+" "+String(u++),icon:"mouse",title:t.properties.clickedTitle})}))).forEach((function(t){delete t.properties.clickedTitle}));var h=this.map.ol.getView(),d=this.queryService.query(this.queryLayers,{coordinates:t.coordinate,projection:this.map.projection,resolution:h.getResolution()});0===d.length?this.query.emit({features:p,event:t}):this.waitForAllQueries?this.queries$$.push(a.forkJoin.apply(void 0,d).subscribe((function(o){return e.query.emit({features:o.filter((function(t){return t.length>0})).concat(p),event:t})}))):this.queries$$=d.map((function(o){return o.subscribe((function(o){return e.query.emit({features:p.concat(o),event:t})}))}))},t.prototype.unsubscribeQueries=function(){this.queries$$.forEach((function(t){return t.unsubscribe()})),this.queries$$=[]},r([s.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"waitForAllQueries",null),r([s.Output(),i("design:type",Object)],t.prototype,"query",void 0),t=r([s.Directive({selector:"[igoQuery]"}),n(0,s.Self()),i("design:paramtypes",[p.MapBrowserComponent,h.QueryService,u.LanguageService])],t)}()},function(t,e){t.exports=require("rxjs/observable/forkJoin")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(57),a=o(285),c=o(287),u=o(289);e.IgoFeatureModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.FeatureService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[a.FeatureDetailsComponent,a.FeatureDetailsBindingDirective,c.FeatureListComponent,c.FeatureListBindingDirective,u.FeatureItemComponent,s.FeatureGroupPipe],declarations:[a.FeatureDetailsComponent,a.FeatureDetailsBindingDirective,c.FeatureListComponent,c.FeatureListBindingDirective,u.FeatureItemComponent,s.FeatureGroupPipe]})],t);var e}()},function(t,e,o){"use strict";var r,i,n;Object.defineProperty(e,"__esModule",{value:!0}),(r=e.FeatureType||(e.FeatureType={}))[r.DataSource="DataSource"]="DataSource",r[r.Feature="Feature"]="Feature",r[r.Record="Record"]="Record",(i=e.FeatureFormat||(e.FeatureFormat={}))[i.GeoJSON=0]="GeoJSON",i[i.JSON=1]="JSON",(n=e.SourceFeatureType||(e.SourceFeatureType={}))[n.Query="Query"]="Query",n[n.Search="Search"]="Search",n[n.Click="Click"]="Click",n[n.LocateXY="LocateXY"]="LocateXY"},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0);e.FeatureGroupPipe=function(){function t(){}return t.prototype.transform=function(t,e){var o={};return t.forEach((function(t){var e=t.source;void 0===o[e]&&(o[e]=[]),o[e].push(t)})),Object.keys(o).map((function(t){return[t,o[t]]}))},t=r([i.Pipe({name:"featureGroup"})],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(21);e.FeatureService=function(){function t(){this.features$=new s.BehaviorSubject([]),this.focusedFeature$=new s.BehaviorSubject(void 0),this.selectedFeature$=new s.BehaviorSubject(void 0)}return t.prototype.setFeatures=function(t){this.features$.next(t.sort(this.sortFeatures))},t.prototype.updateFeatures=function(t,e,o){this.features$.next(this.features$.value.filter((function(t){return t.source!==e&&(!o||o.includes(t.source))})).concat(t).sort(this.sortFeatures))},t.prototype.clear=function(){this.features$.next([]),this.unfocusFeature(),this.unselectFeature()},t.prototype.focusFeature=function(t){this.featuresAreTheSame(t,this.focusedFeature$.value)||this.focusedFeature$.next(t)},t.prototype.selectFeature=function(t){this.featuresAreTheSame(t,this.selectedFeature$.value)||this.selectedFeature$.next(t),this.focusFeature(t)},t.prototype.unfocusFeature=function(){this.focusFeature(void 0)},t.prototype.unselectFeature=function(){this.selectFeature(void 0)},t.prototype.featuresAreTheSame=function(t,e){return void 0!==t&&void 0!==e&&t.id===e.id&&t.source===e.source&&t.properties===e.properties},t.prototype.sortFeatures=function(t,e){return t.order-e.order},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<h3 style="background-color:#dddd65;">\r\n  {{infoText}}\r\n</h3>\r\n<p></p>\r\n<p></p>\r\n<table class="igo-striped" *ngIf="feature && isObject(feature.properties) && feature.properties.target !== \'innerhtml\'">\r\n  <tbody>\r\n    <tr *ngFor="let property of feature.properties | keyvalue">\r\n\r\n      <td *ngIf="feature.properties.target === \'_blank\' && property.key === \'url\'">\r\n        <mat-icon mat-list-avatar>{{feature.icon}}</mat-icon>\r\n      </td>\r\n\r\n      <td *ngIf="feature.properties.target === \'_blank\' && property.key === \'url\'">\r\n        <a href="{{property.value}}" target=\'_blank\'> {{ \'igo.targetHtmlUrl\' | translate }} {{feature.title}}</a>\r\n      </td>\r\n\r\n      <td *ngIf="feature.properties.target === undefined">\r\n        {{property.key }}\r\n      </td>\r\n\r\n      <td *ngIf="feature.properties.target === undefined && !isObject(property.value)" [innerHTML]=property.value>\r\n      </td>\r\n\r\n      <td *ngIf="feature.properties.target === undefined && isObject(property.value)" [innerHTML]="property.value | json">\r\n      </td>\r\n\r\n    </tr>\r\n  </tbody>\r\n</table>\r\n\r\n\r\n<iframe *ngIf="feature && isObject(feature.properties) && feature.properties.target === \'innerhtml\'" [src]=\'isUrl(feature.properties.url)\'></iframe>\r\n'},function(t,e,o){var r=o(938);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"table td{padding:5px}iframe{height:calc(100% - 4px);width:100%;border:0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(55),c=o(57),u=o(286);e.FeatureDetailsBindingDirective=function(){function t(t,e){this.featureService=e,this.component=t}return t.prototype.ngOnInit=function(){var t=this;this.focusedFeatures$$=this.featureService.focusedFeature$.pipe(a.filter((function(t){return void 0!==t}))).subscribe((function(e){return t.component.feature=e}))},t.prototype.ngOnDestroy=function(){this.focusedFeatures$$.unsubscribe()},t=r([s.Directive({selector:"[igoFeatureDetailsBinding]"}),n(0,s.Self()),i("design:paramtypes",[u.FeatureDetailsComponent,c.FeatureService])],t)}()},function(t,e){t.exports='<igo-list *ngIf="display" [navigation]="true">\r\n  <ng-container *ngIf="features.length > 0">\r\n\r\n    <ng-template #groupTemplate\r\n      ngFor let-sourceFeature let-i="index"\r\n      [ngForOf]="features | featureGroup">\r\n\r\n      <igo-collapsible *ngIf="groupFeatures; else withoutGroupTemplate"\r\n        title="{{sourceFeature[0]}} ({{sourceFeature[1].length}})">\r\n        <ng-container\r\n          *ngTemplateOutlet="featureItemTemplate; context: {sourceFeature: sourceFeature}">\r\n        </ng-container>\r\n      </igo-collapsible>\r\n\r\n      <ng-template #withoutGroupTemplate>\r\n        <ng-container\r\n          *ngTemplateOutlet="featureItemTemplate; context: {sourceFeature: sourceFeature}">\r\n        </ng-container>\r\n      </ng-template>\r\n    </ng-template>\r\n\r\n    <ng-template #featureItemTemplate let-sourceFeature="sourceFeature">\r\n      <ng-template ngFor let-feature let-j="index" [ngForOf]="sourceFeature[1]">\r\n        <igo-feature-item\r\n          igoListItem\r\n          color="accent"\r\n          [feature]="feature"\r\n          [focused]="((!focusedFeature && focusFirst && i + j === 0) ||\r\n                     (focusedFeature && feature.id === focusedFeature.id\r\n                      && focusedFeature.source === sourceFeature[0])) ? true : false"\r\n          (focus)="focus.emit(feature)"\r\n          (select)="select.emit(feature)"\r\n          (unfocus)="unfocus.emit(feature)"\r\n          (unselect)="unselect.emit(feature)">\r\n        </igo-feature-item>\r\n      </ng-template>\r\n    </ng-template>\r\n\r\n  </ng-container>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(942);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(55),c=o(53),u=o(57),p=o(288);e.FeatureListBindingDirective=function(){function t(t,e){this.featureService=e,this.initialized=!1,this.component=t}return t.prototype.onFocus=function(t){(this.initialized||void 0===this.featureService.focusedFeature$.value)&&this.featureService.focusFeature(t)},t.prototype.onSelect=function(t){(this.initialized||void 0===this.featureService.selectedFeature$.value)&&this.featureService.selectFeature(t)},t.prototype.ngOnInit=function(){var t=this;this.component.features=[],this.features$$=this.featureService.features$.subscribe((function(e){return t.handleFeaturesChange(e)})),this.focusedFeature$$=this.featureService.focusedFeature$.pipe(a.filter((function(t){return void 0!==t})),c.debounceTime(100)).subscribe((function(e){return t.component.focusedFeature=e})),this.initialized=!0},t.prototype.ngOnDestroy=function(){this.features$$.unsubscribe(),this.focusedFeature$$.unsubscribe()},t.prototype.handleFeaturesChange=function(t){t.length>0&&(this.component.focusedFeature=void 0),this.component.features=t},r([s.HostListener("focus",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onFocus",null),r([s.HostListener("select",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onSelect",null),t=r([s.Directive({selector:"[igoFeatureListBinding]"}),n(0,s.Self()),i("design:paramtypes",[p.FeatureListComponent,u.FeatureService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.FeatureItemComponent=function(){function t(){}return Object.defineProperty(t.prototype,"feature",{get:function(){return this._feature},set:function(t){this._feature=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.feature.title||this.feature.properties.title||this.feature.properties.label||this.feature.id},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"feature",null),t=r([n.Component({selector:"igo-feature-item",template:o(945),styles:[o(946)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  <mat-icon mat-list-avatar>{{feature.icon}}</mat-icon>\r\n  <h4 matLine *ngIf="feature.title_html" [innerHtml]="feature.title_html"></h4>\r\n  <h4 matLine *ngIf="!feature.title_html">{{title}}</h4>\r\n</mat-list-item>\r\n'},function(t,e,o){var r=o(947);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n=o(10),s=o(82),a=o(949),c=o(34);e.WMTSDataSource=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.createOlSource=function(){var t=Object.assign({tileGrid:a.createDefaultTileGrid(this.options.projection)},this.options);return new n.source.WMTS(t)},e.prototype.generateId=function(){return s.Md5.hashStr("wmts"+this.options.url+this.options.layer)},e}(c.DataSource)},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(10);e.createDefaultTileGrid=function(t){for(var e=r.proj.get(t||"EPSG:3857").getExtent(),o=r.extent.getWidth(e)/256,i=new Array(20),n=new Array(20),s=0;s<20;++s)i[s]=o/Math.pow(2,s),n[s]=s;return new r.tilegrid.WMTS({origin:r.extent.getTopLeft(e),resolutions:i,matrixIds:n})}},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(60),a=o(21),c=o(292),u=o(282),p=o(27);e.DataSourceService=function(){function t(t,e){this.capabilitiesService=t,this.wfsDataSourceService=e,this.datasources$=new a.BehaviorSubject([])}return t.prototype.createAsyncDataSource=function(t){var e;switch(t.type){case"osm":e=this.createOSMDataSource(t);break;case"vector":e=this.createFeatureDataSource(t);break;case"wfs":e=this.createWFSDataSource(t);break;case"wms":e=this.createWMSDataSource(t);break;case"wmts":e=this.createWMTSDataSource(t);break;case"xyz":e=this.createXYZDataSource(t)}return this.datasources$.next(this.datasources$.value.concat([e])),e},t.prototype.createOSMDataSource=function(t){return new s.Observable((function(e){return e.next(new u.OSMDataSource(t))}))},t.prototype.createFeatureDataSource=function(t){return new s.Observable((function(e){return e.next(new u.FeatureDataSource(t))}))},t.prototype.createWFSDataSource=function(t){var e=this;return new s.Observable((function(o){return o.next(new u.WFSDataSource(t,e.wfsDataSourceService))}))},t.prototype.createWMSDataSource=function(t){var e=this;return t.optionsFromCapabilities?this.capabilitiesService.getWMSOptions(t).pipe(p.map((function(t){return new u.WMSDataSource(t,e.wfsDataSourceService)}))):new s.Observable((function(o){return o.next(new u.WMSDataSource(t,e.wfsDataSourceService))}))},t.prototype.createWMTSDataSource=function(t){return t.optionsFromCapabilities?this.capabilitiesService.getWMTSOptions(t).pipe(p.map((function(t){return new u.WMTSDataSource(t)}))):new s.Observable((function(e){return e.next(new u.WMTSDataSource(t))}))},t.prototype.createXYZDataSource=function(t){return new s.Observable((function(e){return e.next(new u.XYZDataSource(t))}))},t=r([n.Injectable(),i("design:paramtypes",[c.CapabilitiesService,u.WFSDataSourceService])],t)}()},function(t,e){t.exports='<div class="igo-mini-basemap-container">\r\n\r\n  <div *ngIf="display" (click)="changeBaseLayer(baseLayer)">\r\n    <igo-map-browser [map]="basemap"></igo-map-browser>\r\n    <div class=\'igo-mini-basemap-title\'>{{baseLayer.title}}</div>\r\n  </div>\r\n\r\n</div>\r\n'},function(t,e,o){var r=o(953);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-mini-basemap-container{width:80px;height:80px;background-color:hsla(0,0%,100%,.01);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:pointer;margin-top:5px}.igo-mini-basemap-container:hover .igo-mini-basemap-title{text-shadow:0 0 5px #fff}.igo-mini-basemap-container>div{width:100%;height:100%}.igo-mini-basemap-title{position:relative;top:-76px;height:76px;width:76px;text-align:center;vertical-align:bottom;color:#fff;text-shadow:0 0 5px #000;white-space:normal;display:flex;align-items:flex-end;justify-content:center}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(55),c=o(14),u=o(54);e.MapContextDirective=function(){function t(t,e){this.contextService=e,this.component=t}return Object.defineProperty(t.prototype,"map",{get:function(){return this.component.map},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.context$$=this.contextService.context$.pipe(a.filter((function(t){return void 0!==t}))).subscribe((function(e){return t.handleContextChange(e)}))},t.prototype.ngOnDestroy=function(){this.context$$.unsubscribe()},t.prototype.handleContextChange=function(t){if(void 0!==t.map){var e=t.map.view;!0!==e.keepCurrentView&&(this.component.view=e)}},t=r([s.Directive({selector:"[igoMapContext]"}),n(0,s.Self()),i("design:paramtypes",[c.MapBrowserComponent,u.ContextService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(55),c=o(13),u=o(123),p=o(54);e.ToolContextDirective=function(){function t(t,e,o){this.contextService=e,this.toolService=o,this.component=t}return t.prototype.ngOnInit=function(){var t=this;this.context$$=this.contextService.context$.pipe(a.filter((function(t){return void 0!==t}))).subscribe((function(e){return t.handleContextChange(e)}))},t.prototype.ngOnDestroy=function(){this.context$$.unsubscribe()},t.prototype.handleContextChange=function(t){var e=this;if(void 0!==t.tools&&void 0!==t.toolbar){var o=[];(t.tools||[]).forEach((function(r){var i=e.toolService.getTool(r.name);void 0!==i&&t.toolbar.indexOf(r.name)>=0&&o.push(i)})),this.component.tools=o}},t=r([s.Directive({selector:"[igoToolContext]"}),n(0,s.Self()),i("design:paramtypes",[u.ToolbarComponent,p.ContextService,c.ToolService])],t)}()},function(t,e){t.exports='<igo-list [navigation]="false"> \r\n  <ng-template ngFor let-tool [ngForOf]="tools">\r\n    <igo-toolbar-item\r\n      igoListItem\r\n      color="accent"\r\n      [withTitle]="withTitle"\r\n      [withIcon]="withIcon"\r\n      [tool]=tool\r\n      [selected]="selectedTool && selectedTool.name === tool.name"\r\n      (select)="select.emit(tool)"\r\n      (unselect)="unselect.emit(tool)">\r\n    </igo-toolbar-item>\r\n  </ng-template>\r\n\r\n  <ng-content></ng-content>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(958);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host.horizontal igo-list{width:auto;white-space:nowrap}:host.horizontal igo-toolbar-item{display:inline-block}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(13),c=o(294);e.ToolbarBindingDirective=function(){function t(t,e){this.toolService=e,this.component=t}return t.prototype.onSelect=function(t){this.toolService.selectTool(t)},t.prototype.ngOnInit=function(){var t=this;this.selectedTool$$=this.toolService.selectedTool$.subscribe((function(e){return t.component.selectedTool=e}))},t.prototype.ngOnDestroy=function(){this.selectedTool$$.unsubscribe()},r([s.HostListener("select",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onSelect",null),t=r([s.Directive({selector:"[igoToolbarBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.ToolbarComponent,a.ToolService])],t)}()},function(t,e){t.exports='<igo-list [navigation]="true">\r\n  <ng-template ngFor let-groupContexts [ngForOf]="contexts | keyvalue">\r\n    <igo-collapsible *ngIf="groupContexts.value.length" [title]="titleMapping[groupContexts.key] | translate">\r\n\r\n      <ng-template ngFor let-context [ngForOf]="groupContexts.value">\r\n        <igo-context-item\r\n          igoListItem\r\n          color="accent"\r\n          [selected]="selectedContext && selectedContext.uri === context.uri"\r\n          [context]="context"\r\n          [default]="this.defaultContextId === context.id"\r\n          (edit)="edit.emit(context)"\r\n          (delete)="delete.emit(context)"\r\n          (clone)="clone.emit(context)"\r\n          (save)="save.emit(context)"\r\n          (favorite)="favorite.emit(context)"\r\n          (manageTools)="manageTools.emit(context)"\r\n          (managePermissions)="managePermissions.emit(context)"\r\n          (select)="select.emit(context)"\r\n          (unselect)="unselect.emit(context)">\r\n        </igo-context-item>\r\n      </ng-template>\r\n\r\n    </igo-collapsible>\r\n  </ng-template>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(962);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(53),c=o(6),u=o(12),p=o(14),l=o(24),h=o(36),d=o(296);e.ContextListBindingDirective=function(){function t(t,e,o,r,i,n,s){this.contextService=e,this.authService=o,this.mapService=r,this.languageService=i,this.confirmDialogService=n,this.messageService=s,this.component=t}return t.prototype.onSelect=function(t){this.contextService.loadContext(t.uri)},t.prototype.onEdit=function(t){this.contextService.loadEditedContext(t.uri)},t.prototype.onSave=function(t){var e=this,o=this.mapService.getMap(),r=this.contextService.getContextFromMap(o);this.contextService.update(t.id,{layers:r.layers,map:{view:r.map.view}}).subscribe((function(){var o=e.languageService.translate,r=o.instant("igo.context.dialog.saveMsg",{value:t.title}),i=o.instant("igo.context.dialog.saveTitle");e.messageService.success(r,i)}))},t.prototype.onFavorite=function(t){var e=this;this.authService.updateUser({defaultContextId:String(t.id)}).subscribe((function(){e.contextService.defaultContextId$.next(t.id);var o=e.languageService.translate,r=o.instant("igo.context.dialog.favoriteMsg",{value:t.title}),i=o.instant("igo.context.dialog.favoriteTitle");e.messageService.success(r,i)}))},t.prototype.onManageTools=function(t){this.contextService.loadEditedContext(t.uri)},t.prototype.onManagePermissions=function(t){this.contextService.loadEditedContext(t.uri)},t.prototype.onDelete=function(t){var e=this,o=this.languageService.translate;this.confirmDialogService.open(o.instant("igo.context.dialog.confirmDelete")).subscribe((function(r){r&&e.contextService.delete(t.id).subscribe((function(){var r=o.instant("igo.context.dialog.deleteMsg",{value:t.title}),i=o.instant("igo.context.dialog.deleteTitle");e.messageService.info(r,i)}))}))},t.prototype.onClone=function(t){var e=this;this.contextService.clone(t.id,{title:t.title+"-copy",uri:t.uri+"-copy"}).subscribe((function(){var o=e.languageService.translate,r=o.instant("igo.context.dialog.cloneMsg",{value:t.title}),i=o.instant("igo.context.dialog.cloneTitle");e.messageService.success(r,i)}))},t.prototype.ngOnInit=function(){var t=this;this.component.contexts={ours:[]},this.contexts$$=this.contextService.contexts$.subscribe((function(e){return t.handleContextsChange(e)})),this.defaultContextId$$=this.contextService.defaultContextId$.subscribe((function(e){t.component.defaultContextId=e})),this.selectedContext$$=this.contextService.context$.pipe(a.debounceTime(100)).subscribe((function(e){return t.component.selectedContext=e})),this.contextService.loadContexts()},t.prototype.ngOnDestroy=function(){this.contexts$$.unsubscribe(),this.selectedContext$$.unsubscribe(),this.defaultContextId$$.unsubscribe()},t.prototype.handleContextsChange=function(t){this.component.contexts=t},r([s.HostListener("select",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onSelect",null),r([s.HostListener("edit",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onEdit",null),r([s.HostListener("save",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onSave",null),r([s.HostListener("favorite",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onFavorite",null),r([s.HostListener("manageTools",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onManageTools",null),r([s.HostListener("managePermissions",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onManagePermissions",null),r([s.HostListener("delete",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onDelete",null),r([s.HostListener("clone",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onClone",null),t=r([s.Directive({selector:"[igoContextListBinding]"}),n(0,s.Self()),i("design:paramtypes",[d.ContextListComponent,h.ContextService,l.AuthService,p.MapService,c.LanguageService,u.ConfirmDialogService,c.MessageService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(24),a=o(116);e.ContextItemComponent=function(){function t(t){this.auth=t,this.typePermission=a.TypePermission,this.color="primary",this.collapsed=!0,this._default=!1,this.edit=new n.EventEmitter,this.delete=new n.EventEmitter,this.save=new n.EventEmitter,this.clone=new n.EventEmitter,this.favorite=new n.EventEmitter,this.managePermissions=new n.EventEmitter,this.manageTools=new n.EventEmitter}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(t){this._context=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"default",{get:function(){return this._default},set:function(t){this._default=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"context",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"default",null),r([n.Output(),i("design:type",Object)],t.prototype,"edit",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"delete",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"save",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"clone",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"favorite",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"managePermissions",void 0),r([n.Output(),i("design:type",Object)],t.prototype,"manageTools",void 0),t=r([n.Component({selector:"igo-context-item",template:o(965),styles:[o(966)]}),i("design:paramtypes",[s.AuthService])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  <button mat-list-avatar\r\n    mat-icon-button\r\n    igoStopPropagation\r\n    [matTooltip]="\'igo.context.favorite\' | translate"\r\n    matTooltipShowDelay="500"\r\n    [color]="default ? \'primary\' : \'default\'"\r\n    (click)="favorite.emit(context)">\r\n    <mat-icon *ngIf="!context.iconImage">\r\n      {{context.icon ? context.icon : context.scope === \'public\' ? \'public\' : \'star\'}}\r\n    </mat-icon>\r\n    <img *ngIf="context.iconImage" [src]="context.iconImage">\r\n  </button>\r\n  <h4 matLine>{{context.title}}</h4>\r\n\r\n  <div *ngIf="auth.authenticated && context.permission === typePermission[typePermission.read]"\r\n       igoStopPropagation\r\n       class="igo-actions-container">\r\n\r\n       <button\r\n         mat-icon-button\r\n         [matTooltip]="\'igo.context.clone\' | translate"\r\n         matTooltipShowDelay="500"\r\n         [color]="color"\r\n         (click)="clone.emit(context)">\r\n         <mat-icon>content_copy</mat-icon>\r\n       </button>\r\n </div>\r\n\r\n\r\n  <div *ngIf="context.permission === typePermission[typePermission.write]"\r\n       igoStopPropagation\r\n       class="igo-actions-container">\r\n\r\n     <button *ngIf="collapsed"\r\n       mat-icon-button\r\n       [matTooltip]="\'igo.context.save\' | translate"\r\n       matTooltipShowDelay="500"\r\n       [color]="color"\r\n       (click)="save.emit(context)">\r\n       <mat-icon>save</mat-icon>\r\n     </button>\r\n\r\n    <div #actions class="igo-actions-expand-container">\r\n\r\n      <button\r\n        mat-icon-button\r\n        [matTooltip]="\'igo.context.managePermissions\' | translate"\r\n        matTooltipShowDelay="500"\r\n        [color]="color"\r\n        (click)="managePermissions.emit(context)">\r\n        <mat-icon>perm_identity</mat-icon>\r\n      </button>\r\n\r\n      \x3c!--button\r\n        mat-icon-button\r\n        [matTooltip]="\'igo.context.manageTools\' | translate"\r\n        [color]="color"\r\n        (click)="manageTools.emit(context)">\r\n        <mat-icon>widgets</mat-icon>\r\n      </button--\x3e\r\n\r\n      <button\r\n        mat-icon-button\r\n        [matTooltip]="\'igo.context.clone\' | translate"\r\n        matTooltipShowDelay="500"\r\n        [color]="color"\r\n        (click)="clone.emit(context)">\r\n        <mat-icon>content_copy</mat-icon>\r\n      </button>\r\n\r\n      <button\r\n        mat-icon-button\r\n        [color]="color"\r\n        [matTooltip]="\'igo.context.edit\' | translate"\r\n        matTooltipShowDelay="500"\r\n        (click)="edit.emit(context)">\r\n        <mat-icon>edit</mat-icon>\r\n      </button>\r\n\r\n      <button\r\n        mat-icon-button\r\n        color="warn"\r\n        [matTooltip]="\'igo.context.delete\' | translate"\r\n        matTooltipShowDelay="500"\r\n        (click)="delete.emit(context)">\r\n        <mat-icon>delete</mat-icon>\r\n      </button>\r\n    </div>\r\n\r\n    <button\r\n      mat-icon-button\r\n      igoCollapse\r\n      [color]="color"\r\n      [target]="actions"\r\n      [collapsed]=collapsed\r\n      (click)="collapsed = !collapsed">\r\n      <mat-icon>more_horiz</mat-icon>\r\n    </button>\r\n\r\n  </div>\r\n\r\n</mat-list-item>\r\n'},function(t,e,o){var r=o(967);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}:host{overflow:hidden}.igo-actions-container{flex-shrink:0}.igo-actions-expand-container{display:inline-flex}mat-list-item>>>.mat-list-item-content .mat-list-text{padding:0}mat-list-item>>>.mat-list-item-content .mat-list-text>h4{padding:0 16px}mat-icon.disabled{color:rgba(0,0,0,.38)}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26),a=o(19);e.ContextFormComponent=function(){function t(t){this.formBuilder=t,this._disabled=!1,this.submitForm=new n.EventEmitter,this.clone=new n.EventEmitter,this.delete=new n.EventEmitter}return Object.defineProperty(t.prototype,"btnSubmitText",{get:function(){return this._btnSubmitText},set:function(t){this._btnSubmitText=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(t){this._context=t,this.buildForm()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.buildForm()},t.prototype.handleFormSubmit=function(t){var e=Object.assign({},t);(e=a.ObjectUtils.removeNull(e)).uri=e.uri.replace(" ",""),e.uri=e.uri?this.prefix+"-"+e.uri:this.prefix,this.submitForm.emit(e)},t.prototype.buildForm=function(){var t=this.context||{},e=t.uri.split("-");this.prefix=e.shift(),this.form=this.formBuilder.group({title:[t.title],uri:[e.join("-")||" "]})},r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"btnSubmitText",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"context",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"disabled",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"submitForm",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"clone",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"delete",void 0),t=r([n.Component({selector:"igo-context-form",template:o(969),styles:[o(970)]}),i("design:paramtypes",[s.FormBuilder])],t)}()},function(t,e){t.exports='<form class="igo-form" [formGroup]="form"\r\n  (ngSubmit)="handleFormSubmit(form.value)">\r\n\r\n  <mat-form-field class="full-width">\r\n    <input matInput required\r\n           [placeholder]="\'igo.context.form.title\' | translate"\r\n           formControlName="title">\r\n   <mat-error>\r\n    {{ \'igo.context.form.titleRequired\' | translate }}\r\n   </mat-error>\r\n  </mat-form-field>\r\n\r\n  <mat-form-field id="uriInput" class="full-width">\r\n    <span *ngIf="prefix" class="prefix">{{prefix}}-</span>\r\n    <span class="fieldWrapper">\r\n      <input matInput\r\n           [placeholder]="\'igo.context.form.uri\' | translate"\r\n           formControlName="uri">\r\n    </span>\r\n  </mat-form-field>\r\n\r\n  <div class="igo-form-button-group">\r\n    <button\r\n      mat-raised-button\r\n      type="submit"\r\n      [disabled]="!form.valid || disabled">\r\n      {{ \'igo.context.form.edit\' | translate }}\r\n    </button>\r\n  </div>\r\n\r\n</form>\r\n'},function(t,e,o){var r=o(971);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".full-width{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}",""])},function(t,e){t.exports='<igo-context-form *ngIf="context"\r\n   [btnSubmitText]="\'igo.context.save\' | translate"\r\n   [context]="context"\r\n   (submitForm)="submitForm.emit($event)">\r\n</igo-context-form>\r\n'},function(t,e,o){var r=o(974);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(6),c=o(36),u=o(300);e.ContextEditBindingDirective=function(){function t(t,e,o,r){this.contextService=e,this.messageService=o,this.languageService=r,this.component=t}return t.prototype.onEdit=function(t){var e=this;this.contextService.update(this.component.context.id,t).subscribe((function(){var o=e.languageService.translate,r=o.instant("igo.context.dialog.saveMsg",{value:t.title||e.component.context.title}),i=o.instant("igo.context.dialog.saveTitle");e.messageService.success(r,i)}))},t.prototype.ngOnInit=function(){var t=this;this.editedContext$$=this.contextService.editedContext$.subscribe((function(e){return t.handleEditedContextChange(e)}))},t.prototype.ngOnDestroy=function(){this.editedContext$$.unsubscribe()},t.prototype.handleEditedContextChange=function(t){this.component.context=t},r([s.HostListener("submitForm",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onEdit",null),t=r([s.Directive({selector:"[igoContextEditBinding]"}),n(0,s.Self()),i("design:paramtypes",[u.ContextEditComponent,c.ContextService,a.MessageService,a.LanguageService])],t)}()},function(t,e){t.exports='<div *ngIf="context">\r\n  <div *ngFor="let tool of tools" class="toolSection">\r\n    <mat-checkbox\r\n      [ngModel]="verifyIfContextToolExist(tool.id)"\r\n      (change)="handleToolChange($event, tool)">\r\n      {{tool.title || tool.name}}\r\n    </mat-checkbox>\r\n  </div>\r\n</div>\r\n'},function(t,e,o){var r=o(978);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".toolSection{margin:10px}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(6),c=o(13),u=o(36),p=o(302);e.ContextToolsBindingDirective=function(){function t(t,e,o,r,i){this.contextService=e,this.toolService=o,this.languageService=r,this.messageService=i,this.component=t}return t.prototype.onAddTool=function(t){var e=this;this.contextService.addToolAssociation(this.component.context.id,t.id).subscribe((function(){var o=t.title||t.name,r=e.languageService.translate,i=r.instant("igo.tool.dialog.addMsg",{value:o}),n=r.instant("igo.tool.dialog.addTitle");e.messageService.success(i,n)}))},t.prototype.onRemoveTool=function(t){var e=this;this.contextService.deleteToolAssociation(this.component.context.id,t.id).subscribe((function(){var o=t.title||t.name,r=e.languageService.translate,i=r.instant("igo.tool.dialog.removeMsg",{value:o}),n=r.instant("igo.tool.dialog.removeTitle");e.messageService.success(i,n)}))},t.prototype.ngOnInit=function(){var t=this;this.toolService.get().subscribe((function(e){return t.component.tools=e})),this.editedContext$$=this.contextService.editedContext$.subscribe((function(e){return t.handleEditedContextChange(e)}))},t.prototype.ngOnDestroy=function(){this.editedContext$$.unsubscribe()},t.prototype.handleEditedContextChange=function(t){this.component.context=t},r([s.HostListener("addTool",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onAddTool",null),r([s.HostListener("removeTool",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onRemoveTool",null),t=r([s.Directive({selector:"[igoContextToolsBinding]"}),n(0,s.Self()),i("design:paramtypes",[p.ContextToolsComponent,u.ContextService,c.ToolService,a.LanguageService,a.MessageService])],t)}()},function(t,e){t.exports='<div *ngIf="context">\r\n\r\n  <div class="scopeForm">\r\n    <mat-radio-group [(ngModel)]="context.scope"\r\n                    (change)="scopeChanged.emit(context)">\r\n      <mat-radio-button value="private">\r\n        {{ \'igo.permission.scope.private\' | translate }}\r\n      </mat-radio-button>\r\n      <mat-radio-button value="protected">\r\n        {{ \'igo.permission.scope.protected\' | translate }}\r\n      </mat-radio-button>\r\n      <mat-radio-button value="public">\r\n        {{ \'igo.permission.scope.public\' | translate }}\r\n      </mat-radio-button>\r\n    </mat-radio-group>\r\n  </div>\r\n\r\n  <form *ngIf="context.scope !== \'private\'" [formGroup]="form"\r\n    (ngSubmit)="handleFormSubmit(form.value)">\r\n\r\n    <mat-form-field class="full-width">\r\n      <input matInput required\r\n             [placeholder]="\'igo.permission.profil\' | translate"\r\n             formControlName="profil">\r\n     <mat-error>\r\n       {{ \'igo.permission.profilRequired\' | translate }}\r\n     </mat-error>\r\n    </mat-form-field>\r\n\r\n\r\n    <mat-radio-group formControlName="typePermission">\r\n      <mat-radio-button value="read">\r\n        {{ \'igo.permission.read\' | translate }}\r\n      </mat-radio-button>\r\n      <mat-radio-button value="write">\r\n        {{ \'igo.permission.write\' | translate }}\r\n      </mat-radio-button>\r\n    </mat-radio-group>\r\n\r\n\r\n    <div class="igo-form-button-group">\r\n      <button\r\n        mat-raised-button\r\n        type="submit"\r\n        [disabled]="!form.valid">\r\n        {{ \'igo.permission.addBtn\' | translate }}\r\n      </button>\r\n    </div>\r\n\r\n  </form>\r\n\r\n  <igo-list *ngIf="permissions && context.scope !== \'private\'">\r\n    <ng-template ngFor let-groupPermissions [ngForOf]="permissions | keyvalue">\r\n      <igo-collapsible\r\n        *ngIf="groupPermissions.value.length"\r\n        [title]="\'igo.permission.\' + groupPermissions.key | translate">\r\n\r\n        <ng-template ngFor let-permission [ngForOf]="groupPermissions.value">\r\n          <mat-list-item>\r\n            <mat-icon mat-list-avatar>perm_identity</mat-icon>\r\n            <h4 mat-line>{{permission.profil}}</h4>\r\n\r\n            <div igoStopPropagation\r\n                 class="igo-actions-container">\r\n\r\n               <button\r\n                 mat-icon-button\r\n                 [matTooltip]="\'igo.permission.delete\' | translate"\r\n                 matTooltipShowDelay="500"\r\n                 color="warn"\r\n                 (click)="removePermission.emit(permission)">\r\n                 <mat-icon>delete</mat-icon>\r\n               </button>\r\n            </div>\r\n\r\n          </mat-list-item>\r\n        </ng-template>\r\n      </igo-collapsible>\r\n    </ng-template>\r\n  </igo-list>\r\n\r\n</div>\r\n'},function(t,e,o){var r=o(982);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{margin:0 10px}.full-width{width:100%}mat-radio-button{padding:14px 14px 14px 0}.scopeForm,form{padding:5px}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(6),c=o(36),u=o(304);e.ContextPermissionsBindingDirective=function(){function t(t,e,o,r){this.contextService=e,this.languageService=o,this.messageService=r,this.component=t}return t.prototype.onAddPermission=function(t){var e=this;this.contextService.addPermissionAssociation(this.component.context.id,t.profil,t.typePermission).subscribe((function(o){for(var r=0,i=o;r<i.length;r++)e.component.permissions[t.typePermission].push(i[r]);var n=t.profil,s=e.languageService.translate,a=s.instant("igo.permission.dialog.addMsg",{value:n}),c=s.instant("igo.permission.dialog.addTitle");e.messageService.success(a,c)}))},t.prototype.onRemovePermission=function(t){var e=this;this.contextService.deletePermissionAssociation(this.component.context.id,t.id).subscribe((function(){var o=e.component.permissions[t.typePermission].findIndex((function(e){return e.id===t.id}));e.component.permissions[t.typePermission].splice(o,1);var r=t.profil,i=e.languageService.translate,n=i.instant("igo.permission.dialog.deleteMsg",{value:r}),s=i.instant("igo.permission.dialog.deleteTitle");e.messageService.success(n,s)}))},t.prototype.onScopeChanged=function(t){var e=this,o=t.scope;this.contextService.update(t.id,{scope:o}).subscribe((function(){var t=e.languageService.translate,r=t.instant("igo.permission.dialog.scopeChangedMsg",{value:t.instant("igo.permission.scope."+o)}),i=t.instant("igo.permission.dialog.scopeChangedTitle");e.messageService.success(r,i)}))},t.prototype.ngOnInit=function(){var t=this;this.editedContext$$=this.contextService.editedContext$.subscribe((function(e){return t.handleEditedContextChange(e)}))},t.prototype.ngOnDestroy=function(){this.editedContext$$.unsubscribe()},t.prototype.handleEditedContextChange=function(t){var e=this;this.component.context=t,t&&this.contextService.getPermissions(t.id).subscribe((function(t){var o={read:(t=t||[]).filter((function(t){return"read"===t.typePermission.toString()})),write:t.filter((function(t){return"write"===t.typePermission.toString()}))};return e.component.permissions=o}))},r([s.HostListener("addPermission",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onAddPermission",null),r([s.HostListener("removePermission",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onRemovePermission",null),r([s.HostListener("scopeChanged",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onScopeChanged",null),t=r([s.Directive({selector:"[igoContextPermissionsBinding]"}),n(0,s.Self()),i("design:paramtypes",[u.ContextPermissionsComponent,c.ContextService,a.LanguageService,a.MessageService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(84),a=o(305),c=o(306),u=o(324),p=o(326);e.IgoCatalogModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.CatalogService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[u.CatalogListComponent,u.CatalogListBindingDirective,a.CatalogItemComponent,c.CatalogLayersListComponent,c.CatalogLayersListBindingDirective,p.CatalogLayerItemComponent],declarations:[u.CatalogListComponent,u.CatalogListBindingDirective,a.CatalogItemComponent,c.CatalogLayersListComponent,c.CatalogLayersListBindingDirective,p.CatalogLayerItemComponent]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(11),a=o(21),c=o(6);e.CatalogService=function(){function t(t,e,o){this.http=t,this.config=e,this.languageService=o,this.catalog$=new a.BehaviorSubject(void 0),this.catalogs$=new a.BehaviorSubject(void 0),this.baseUrl=(this.config.getConfig("context")||{}).url}return t.prototype.get=function(){return this.http.get(this.baseUrl+"/catalogs")},t.prototype.getById=function(t){return this.http.get(this.baseUrl+"/catalogs/"+t)},t.prototype.getBaseLayers=function(t){return this.http.get(t)},t.prototype.selectCatalog=function(t){this.catalog$.value!==t&&this.catalog$.next(t)},t.prototype.load=function(){var t=this,e=this.config.getConfig("catalog")||{};this.baseUrl?this.get().subscribe((function(o){e.baseLayers&&o.unshift({title:t.languageService.translate.instant("igo.catalogTool.baseLayers"),url:t.baseUrl+"/baselayers",type:"layers"}),e.sources&&(o=o.concat(e.sources)),o&&t.catalogs$.next(o)})):e.sources&&this.catalogs$.next(e.sources)},t=r([n.Injectable(),i("design:paramtypes",[s.HttpClient,c.ConfigService,c.LanguageService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.CatalogItemComponent=function(){function t(){this.color="primary"}return Object.defineProperty(t.prototype,"catalog",{get:function(){return this._catalog},set:function(t){this._catalog=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"catalog",null),t=r([n.Component({selector:"igo-catalog-item",template:o(987),styles:[o(988)]})],t)}()},function(t,e){t.exports="<mat-list-item>\r\n  <mat-icon mat-list-avatar>photo_library</mat-icon>\r\n  <h4 mat-line>{{catalog.title}}</h4>\r\n</mat-list-item>\r\n"},function(t,e,o){var r=o(989);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}:host{overflow:hidden}',""])},function(t,e){t.exports='<igo-list [navigation]="true">\r\n  <ng-template ngFor let-group [ngForOf]="groupsLayers">\r\n    <igo-collapsible [title]="group.title" [collapsed]="group.collapsed !== false ? true : false">\r\n\r\n      <ng-template ngFor let-layer [ngForOf]="group.layers">\r\n        <igo-catalog-layer-item\r\n            igoListItem\r\n            [color]="color"\r\n            [layer]="layer"\r\n            (select)="select.emit(layer)"\r\n            (unselect)="unselect.emit(layer)">\r\n        </igo-catalog-layer-item>\r\n      </ng-template>\r\n\r\n    </igo-collapsible>\r\n  </ng-template>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(992);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(14),c=o(58),u=o(37),p=o(84),l=o(307);e.CatalogLayersListBindingDirective=function(){function t(t,e,o,r,i,n){this.catalogService=e,this.mapService=o,this.dataSourceService=r,this.layerService=i,this.capabilitiesService=n,this.component=t}return t.prototype.onSelect=function(t){var e=this,o=this.mapService.getMap(),r=t,i=r.source,n=Object.assign({},r);n.visible=!0,delete n.source,this.dataSourceService.createAsyncDataSource(Object.assign({},n,i)).subscribe((function(t){var r=e.layerService.createLayer(t,n);o.addLayer(r)}))},t.prototype.ngOnInit=function(){var t=this;this.selectedCatalog$$=this.catalogService.catalog$.subscribe((function(e){return t.handleCatalogChanged(e)}))},t.prototype.ngOnDestroy=function(){this.selectedCatalog$$.unsubscribe()},t.prototype.includeRecursiveLayer=function(t,e,o){for(var r,i,n=!0,s=0,a=e.Layer;s<a.length;s++){var c=a[s];if(!1!==c.queryable||void 0===c.Layer){i={title:e.Title,layers:e.Layer.reduce((function(e,o){if(n=!0,void 0!==t.regFilters)for(var i=0,s=t.regFilters;i<s.length;i++){var a=s[i];if(n=!1,r=new RegExp(a),!0===(n=r.test(o.Name)))break}return!0===n&&e.push({title:o.Title,type:"wms",url:t.url,params:{layers:o.Name}}),e}),[])},0!==i.layers.length&&o.push(i);break}this.includeRecursiveLayer(t,c,o)}},t.prototype.handleCatalogChanged=function(t){var e=this;if(t&&t.url)if("layers"!==t.type){var o=[];this.capabilitiesService.getCapabilities("wms",t.url).subscribe((function(r){e.includeRecursiveLayer(t,r.Capability.Layer,o),e.component.groupsLayers=o}))}else this.catalogService.getBaseLayers(t.url).subscribe((function(o){e.component.groupsLayers=[{title:t.title,layers:o,collapsed:!1}]}))},r([s.HostListener("select",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onSelect",null),t=r([s.Directive({selector:"[igoCatalogLayersListBinding]"}),n(0,s.Self()),i("design:paramtypes",[l.CatalogLayersListComponent,p.CatalogService,a.MapService,u.DataSourceService,c.LayerService,u.CapabilitiesService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(85),a=o(83),c=o(319),u=o(321),p=o(322);e.IgoLayerModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[a.LayerService,a.StyleService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule,s.IgoFilterModule],exports:[c.LayerItemComponent,u.LayerLegendComponent,p.LayerListComponent,p.LayerListBindingDirective],declarations:[c.LayerItemComponent,u.LayerLegendComponent,p.LayerListComponent,p.LayerListBindingDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(26),s=o(5),a=o(996),c=o(12),u=o(38),p=o(308),l=o(309),h=o(310),d=o(312),f=o(314),y=o(315),m=o(317);e.IgoFilterModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[{provide:s.MAT_DATE_LOCALE,useValue:"fr"}]}},t=e=r([i.NgModule({imports:[c.IgoSharedModule,n.ReactiveFormsModule,s.MatDatepickerModule,s.MatNativeDateModule,a.MatDatetimepickerModule,a.MatNativeDatetimeModule],exports:[u.FilterableDataSourcePipe,p.TimeFilterFormComponent,l.TimeFilterItemComponent,h.TimeFilterListComponent,h.TimeFilterListBindingDirective,d.OgcFilterFormComponent,f.OgcFilterableFormComponent,y.OgcFilterableItemComponent,m.OgcFilterableListComponent,m.OgcFilterableListBindingDirective],declarations:[u.FilterableDataSourcePipe,p.TimeFilterFormComponent,l.TimeFilterItemComponent,h.TimeFilterListComponent,h.TimeFilterListBindingDirective,d.OgcFilterFormComponent,f.OgcFilterableFormComponent,y.OgcFilterableItemComponent,m.OgcFilterableListComponent,m.OgcFilterableListBindingDirective]})],t);var e}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function r(t,e){for(var o=Array(t),r=0;r<t;r++)o[r]=e(r);return o}function i(){try{return I.apply(this,arguments)}catch(t){return W.errorObject.e=t,W.errorObject}}function n(t){return t.reduce((function(t,e){return t.concat(e instanceof z.UnsubscriptionError?e.errors:e)}),[])}function s(t){return t instanceof et||"syncErrorThrowable"in t&&t[Q.rxSubscriber]}function a(t){return Error("MatDatetimepicker: No provider found for "+t+". You must import one of the following modules at your application root: MatNativeDatetimeModule, MatMomentDatetimeModule, or provide a custom implementation.")}o.d(e,"NativeDatetimeModule",(function(){return R})),o.d(e,"MatNativeDatetimeModule",(function(){return E})),o.d(e,"DatetimeAdapter",(function(){return j})),o.d(e,"MAT_DATETIME_FORMATS",(function(){return k})),o.d(e,"NativeDatetimeAdapter",(function(){return C})),o.d(e,"MAT_NATIVE_DATETIME_FORMATS",(function(){return Y})),o.d(e,"MatDatetimepickerModule",(function(){return Ot})),o.d(e,"MatDatetimepickerCalendar",(function(){return ht})),o.d(e,"MatDatetimepickerCalendarCell",(function(){return dt})),o.d(e,"MatDatetimepickerCalendarBody",(function(){return ft})),o.d(e,"MatDatetimepickerContent",(function(){return gt})),o.d(e,"MatDatetimepicker",(function(){return vt})),o.d(e,"MatDatetimepickerFilterType",(function(){return lt})),o.d(e,"MAT_DATETIMEPICKER_VALUE_ACCESSOR",(function(){return bt})),o.d(e,"MAT_DATETIMEPICKER_VALIDATORS",(function(){return _t})),o.d(e,"MatDatetimepickerInputEvent",(function(){return wt})),o.d(e,"MatDatetimepickerInput",(function(){return Mt})),o.d(e,"MatDatetimepickerToggle",(function(){return St})),o.d(e,"MatDatetimepickerMonthView",(function(){return xt})),o.d(e,"MatDatetimepickerYearView",(function(){return Lt})),o.d(e,"ɵb",(function(){return yt})),o.d(e,"ɵa",(function(){return pt}));var c,u=o(0),p=(o.n(u),o(5)),l=(o.n(p),o(997)),h=(o.n(l),o(134)),d=(o.n(h),o(998)),f=(o.n(d),o(59)),y=(o.n(f),o(999)),m=(o.n(y),o(51)),g=(o.n(m),o(1e3)),v=(o.n(g),o(1001)),b=(o.n(v),o(1002)),_=(o.n(b),o(1003)),w=(o.n(_),o(63)),M=(o.n(w),o(1004)),S=(o.n(M),o(26)),x=(o.n(S),o(1005)),L=(o.n(x),o(267)),O=(o.n(L),o(109)),T=(o.n(O),this&&this.__extends||(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)})),j=function(t){function e(e){var o=t.call(this)||this;return o._delegate=e,o}return T(e,t),e.prototype.getHour=function(t){},e.prototype.getMinute=function(t){},e.prototype.getFirstDateOfMonth=function(t){},e.prototype.isInNextMonth=function(t,e){},e.prototype.getHourNames=function(){},e.prototype.getMinuteNames=function(){},e.prototype.addCalendarHours=function(t,e){},e.prototype.addCalendarMinutes=function(t,e){},e.prototype.createDatetime=function(t,e,o,r,i){},e.prototype.getValidDateOrNull=function(t){return this.isDateInstance(t)&&this.isValid(t)?t:null},e.prototype.compareDatetime=function(t,e){return this.compareDate(t,e)||this.getHour(t)-this.getHour(e)||this.getMinute(t)-this.getMinute(e)},e.prototype.sameDatetime=function(t,e){if(t&&e){var o=this.isValid(t),r=this.isValid(e);return o&&r?!this.compareDatetime(t,e):o===r}return t===e},e.prototype.sameYear=function(t,e){return t&&e&&this.getYear(t)===this.getYear(e)},e.prototype.sameDay=function(t,e){return t&&e&&this.getDate(t)===this.getDate(e)&&this.sameMonthAndYear(t,e)},e.prototype.sameHour=function(t,e){return t&&e&&this.getHour(t)===this.getHour(e)&&this.sameDay(t,e)},e.prototype.sameMinute=function(t,e){return t&&e&&this.getMinute(t)===this.getMinute(e)&&this.sameHour(t,e)},e.prototype.sameMonthAndYear=function(t,e){if(t&&e){var o=this.isValid(t),r=this.isValid(e);return o&&r?!(this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)):o===r}return t===e},e.prototype.clone=function(t){return this._delegate.clone(t)},e.prototype.addCalendarYears=function(t,e){return this._delegate.addCalendarYears(t,e)},e.prototype.addCalendarMonths=function(t,e){return this._delegate.addCalendarMonths(t,e)},e.prototype.addCalendarDays=function(t,e){return this._delegate.addCalendarDays(t,e)},e.prototype.getYear=function(t){return this._delegate.getYear(t)},e.prototype.getMonth=function(t){return this._delegate.getMonth(t)},e.prototype.getDate=function(t){return this._delegate.getDate(t)},e.prototype.getDayOfWeek=function(t){return this._delegate.getDayOfWeek(t)},e.prototype.getMonthNames=function(t){return this._delegate.getMonthNames(t)},e.prototype.getDateNames=function(){return this._delegate.getDateNames()},e.prototype.getDayOfWeekNames=function(t){return this._delegate.getDayOfWeekNames(t)},e.prototype.getYearName=function(t){return this._delegate.getYearName(t)},e.prototype.getFirstDayOfWeek=function(){return this._delegate.getFirstDayOfWeek()},e.prototype.getNumDaysInMonth=function(t){return this._delegate.getNumDaysInMonth(t)},e.prototype.createDate=function(t,e,o){return this._delegate.createDate(t,e,o)},e.prototype.today=function(){return this._delegate.today()},e.prototype.parse=function(t,e){return this._delegate.parse(t,e)},e.prototype.format=function(t,e){return this._delegate.format(t,e)},e.prototype.toIso8601=function(t){return this._delegate.toIso8601(t)},e.prototype.isDateInstance=function(t){return this._delegate.isDateInstance(t)},e.prototype.isValid=function(t){return this._delegate.isValid(t)},e.prototype.invalid=function(){return this._delegate.invalid()},e.prototype.clampDate=function(t,e,o){return e&&this.compareDatetime(t,e)<0?e:o&&this.compareDatetime(t,o)>0?o:t},e}(l.DateAdapter),k=new u.InjectionToken("mat-datetime-formats"),D=r(24,(function(t){return String(t)})),P=r(60,(function(t){return String(t)})),C=function(t){function e(e,o){var r=t.call(this,o)||this;return r.setLocale(e),r}return T(e,t),e.prototype.clone=function(t){return this.createDatetime(this.getYear(t),this.getMonth(t),this.getDate(t),this.getHour(t),this.getMinute(t))},e.prototype.getHour=function(t){return t.getHours()},e.prototype.getMinute=function(t){return t.getMinutes()},e.prototype.isInNextMonth=function(t,e){return this.sameMonthAndYear(this.getDateInNextMonth(t),e)},e.prototype.createDatetime=function(t,e,o,r,i){if(e<0||e>11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(o<1)throw Error('Invalid date "'+o+'". Date has to be greater than 0.');if(r<0||r>23)throw Error('Invalid hour "'+r+'". Hour has to be between 0 and 23.');if(i<0||i>59)throw Error('Invalid minute "'+i+'". Minute has to be between 0 and 59.');var n=this._createDateWithOverflow(t,e,o,r,i);if(n.getMonth()!==e)throw Error('Invalid date "'+o+'" for month with index "'+e+'".');return n},e.prototype.getDateInNextMonth=function(t){return new Date(t.getFullYear(),t.getMonth()+1,1,t.getHours(),t.getMinutes())},e.prototype.getFirstDateOfMonth=function(t){var e=new Date;return e.setFullYear(t.getFullYear(),t.getMonth(),1),e},e.prototype.getHourNames=function(){return D},e.prototype.getMinuteNames=function(){return P},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var o=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t),this.getHour(t),this.getMinute(t));return this.getMonth(o)!==((this.getMonth(t)+e)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0,this.getHour(t),this.getMinute(t))),o},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e,this.getHour(t),this.getMinute(t))},e.prototype.addCalendarHours=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t),this.getHour(t)+e,this.getMinute(t))},e.prototype.addCalendarMinutes=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t),this.getHour(t),this.getMinute(t)+e)},e.prototype.toIso8601=function(e){return t.prototype.toIso8601.call(this,e)+"T"+[this._2digit(e.getUTCHours()),this._2digit(e.getUTCMinutes())].join(":")},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._createDateWithOverflow=function(t,e,o,r,i){var n=new Date(t,e,o,r,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),n},e}(j);C.decorators=[{type:u.Injectable}],C.ctorParameters=function(){return[{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[p.MAT_DATE_LOCALE]}]},{type:p.DateAdapter}]};var Y={parse:{},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthInput:{month:"long"},datetimeInput:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},R=function(){};R.decorators=[{type:u.NgModule,args:[{imports:[p.NativeDateModule],providers:[{provide:j,useClass:C}]}]}],R.ctorParameters=function(){return[]};var E=function(){};E.decorators=[{type:u.NgModule,args:[{imports:[R,p.MatNativeDateModule],providers:[{provide:k,useValue:Y}]}]}],E.ctorParameters=function(){return[]};var I,F="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},A={isFunction:function(t){return"function"==typeof t}},N={isArray:Array.isArray||function(t){return t&&"number"==typeof t.length}},H={isObject:function(t){return null!=t&&"object"==typeof t}},W={errorObject:{e:{}}},B={tryCatch:function(t){return I=t,i}},V=F&&F.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},z={UnsubscriptionError:function(t){function e(e){t.call(this),this.errors=e;var o=Error.call(this,e?e.length+" errors occurred during unsubscription:\n  "+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"");this.name=o.name="UnsubscriptionError",this.stack=o.stack,this.message=o.message}return V(e,t),e}(Error)},U=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var o=this,r=o._parent,i=o._parents,s=o._unsubscribe,a=o._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var c=-1,u=i?i.length:0;r;)r.remove(this),r=++c<u&&i[c]||null;if(A.isFunction(s))B.tryCatch(s).call(this)===W.errorObject&&(e=!0,t=t||(W.errorObject.e instanceof z.UnsubscriptionError?n(W.errorObject.e.errors):[W.errorObject.e]));if(N.isArray(a))for(c=-1,u=a.length;++c<u;){var p=a[c];if(H.isObject(p))if(B.tryCatch(p.unsubscribe).call(p)===W.errorObject){e=!0,t=t||[];var l=W.errorObject.e;l instanceof z.UnsubscriptionError?t=t.concat(n(l.errors)):t.push(l)}}if(e)throw new z.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var o=e;switch(typeof e){case"function":o=new t(e);case"object":if(o.closed||"function"!=typeof o.unsubscribe)return o;if(this.closed)return o.unsubscribe(),o;if("function"!=typeof o._addParent){var r=o;(o=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(o),o._addParent(this),o},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var o=e.indexOf(t);-1!==o&&e.splice(o,1)}},t.prototype._addParent=function(t){var e=this._parent,o=this._parents;e&&e!==t?o?-1===o.indexOf(t)&&o.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}(),G={Subscription:U},q={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}},$="undefined"!=typeof window&&window,J="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,X=$||void 0!==F&&F||J,K=X;!function(){if(!X)throw new Error("RxJS could not find any global context (window, self, global)")}();var Z={root:K},Q=function(t,e){return o=(e={exports:{}}).exports,r=Z.root.Symbol,o.rxSubscriber="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber",o.$$rxSubscriber=o.rxSubscriber,e.exports;var o,r}(),tt=F&&F.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},et=function(t){function e(e,o,r){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=q;break;case 1:if(!e){this.destination=q;break}if("object"==typeof e){if(s(e)){var i=e[Q.rxSubscriber]();this.syncErrorThrowable=i.syncErrorThrowable,this.destination=i,i.add(this)}else this.syncErrorThrowable=!0,this.destination=new rt(this,e);break}default:this.syncErrorThrowable=!0,this.destination=new rt(this,e,o,r)}}return tt(e,t),e.prototype[Q.rxSubscriber]=function(){return this},e.create=function(t,o,r){var i=new e(t,o,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(G.Subscription),ot=et,rt=function(t){function e(e,o,r,i){t.call(this),this._parentSubscriber=e;var n,s=this;A.isFunction(o)?n=o:o&&(n=o.next,r=o.error,i=o.complete,o!==q&&(s=Object.create(o),A.isFunction(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=n,this._error=r,this._complete=i}return tt(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var o=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,o),this.unsubscribe()):(this.__tryOrUnsub(o),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,o){try{e.call(this._context,o)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(et),it={Subscriber:ot},nt=F&&F.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},st={EmptyError:function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return nt(e,t),e}(Error)},at=(T=F&&F.__extends||function(t,e){function o(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},function(t,e,o){return function(r){return r.lift(new ct(t,e,o,r))}}),ct=function(){function t(t,e,o,r){this.predicate=t,this.resultSelector=e,this.defaultValue=o,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new ut(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),ut=function(t){function e(e,o,r,i,n){t.call(this,e),this.predicate=o,this.resultSelector=r,this.defaultValue=i,this.source=n,this.index=0,this.hasCompleted=!1,this._emitted=!1}return T(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var o;try{o=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}o&&this._emit(t,e)},e.prototype._emit=function(t,e){this.resultSelector?this._tryResultSelector(t,e):this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var o;try{o=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(o)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new st.EmptyError):(t.next(this.defaultValue),t.complete())},e}(it.Subscriber),pt=(Object(m.trigger)("fadeInContent",[Object(m.state)("showing",Object(m.style)({opacity:1})),Object(m.transition)("void => showing",[Object(m.style)({opacity:0}),Object(m.animate)("150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]),Object(m.trigger)("slideCalendar",[Object(m.transition)("* => left",[Object(m.animate)(180,Object(m.keyframes)([Object(m.style)({transform:"translateX(100%)",offset:.5}),Object(m.style)({transform:"translateX(-100%)",offset:.51}),Object(m.style)({transform:"translateX(0)",offset:1})]))]),Object(m.transition)("* => right",[Object(m.animate)(180,Object(m.keyframes)([Object(m.style)({transform:"translateX(-100%)",offset:.5}),Object(m.style)({transform:"translateX(100%)",offset:.51}),Object(m.style)({transform:"translateX(0)",offset:1})]))])])),lt={DATE:0,HOUR:1,MINUTE:2};lt[lt.DATE]="DATE",lt[lt.HOUR]="HOUR",lt[lt.MINUTE]="MINUTE";var ht=function(){function t(t,e,o,r,i,n){var s=this;if(this._elementRef=t,this._intl=e,this._ngZone=o,this._adapter=r,this._dateFormats=i,this._userSelection=new u.EventEmitter,this.type="date",this.startView="month",this.timeInterval=1,this.selectedChange=new u.EventEmitter,this._dateFilterForViews=function(t){return!!t&&(!s.dateFilter||s.dateFilter(t,lt.DATE))&&(!s.minDate||s._adapter.compareDate(t,s.minDate)>=0)&&(!s.maxDate||s._adapter.compareDate(t,s.maxDate)<=0)},this._currentView="month",this._clockView="hour",!this._adapter)throw a("DatetimeAdapter");if(!this._dateFormats)throw a("MAT_DATETIME_FORMATS");this._intlChanges=e.changes.subscribe((function(){return n.markForCheck()}))}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt},set:function(t){this._startAt=this._adapter.getValidDateOrNull(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._adapter.getValidDateOrNull(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._adapter.getValidDateOrNull(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._adapter.getValidDateOrNull(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_activeDate",{get:function(){return this._clampedActiveDate},set:function(t){var e=this._clampedActiveDate;this._clampedActiveDate=this._adapter.clampDate(t,this.minDate,this.maxDate),e&&this._clampedActiveDate&&"month"===this._currentView&&!this._adapter.sameMonthAndYear(e,this._clampedActiveDate)&&this.calendarState(this._adapter.isInNextMonth(e,this._clampedActiveDate)?"right":"left")},enumerable:!0,configurable:!0}),t.prototype._userSelected=function(){this._userSelection.emit()},Object.defineProperty(t.prototype,"_yearLabel",{get:function(){return this._adapter.getYearName(this._activeDate)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_monthYearLabel",{get:function(){return"month"===this._currentView?this._adapter.getMonthNames("long")[this._adapter.getMonth(this._activeDate)]:this._adapter.getYearName(this._activeDate)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_dateLabel",{get:function(){return"month"===this.type?this._adapter.getMonthNames("long")[this._adapter.getMonth(this._activeDate)]:this._adapter.getDayOfWeekNames("short")[this._adapter.getDayOfWeek(this._activeDate)]+", "+this._adapter.getMonthNames("short")[this._adapter.getMonth(this._activeDate)]+" "+this._adapter.getDateNames()[this._adapter.getDate(this._activeDate)-1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_hoursLabel",{get:function(){return this._2digit(this._adapter.getHour(this._activeDate))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_minutesLabel",{get:function(){return this._2digit(this._adapter.getMinute(this._activeDate))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._activeDate=this.startAt||this._adapter.today(),this._focusActiveCell(),this._currentView="month"===this.type?"year":"time"===this.type?"clock":this.startView||"month"},t.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe()},t.prototype._dateSelected=function(t){"date"==this.type?this._adapter.sameDate(t,this.selected)||this.selectedChange.emit(t):(this._activeDate=t,this._currentView="clock")},t.prototype._monthSelected=function(t){"month"==this.type?this._adapter.sameMonthAndYear(t,this.selected)||this.selectedChange.emit(this._adapter.getFirstDateOfMonth(t)):(this._activeDate=t,this._currentView="month",this._clockView="hour")},t.prototype._timeSelected=function(t){"minute"!==this._clockView?(this._activeDate=t,this._clockView="minute"):this._adapter.sameDatetime(t,this.selected)||this.selectedChange.emit(t)},t.prototype._onActiveDateChange=function(t){this._activeDate=t},t.prototype._yearClicked=function(){this._currentView="year"},t.prototype._dateClicked=function(){"month"!==this.type&&(this._currentView="month")},t.prototype._hoursClicked=function(){this._currentView="clock",this._clockView="hour"},t.prototype._minutesClicked=function(){this._currentView="clock",this._clockView="minute"},t.prototype._previousClicked=function(){this._activeDate="month"===this._currentView?this._adapter.addCalendarMonths(this._activeDate,-1):this._adapter.addCalendarYears(this._activeDate,-1)},t.prototype._nextClicked=function(){this._activeDate="month"===this._currentView?this._adapter.addCalendarMonths(this._activeDate,1):this._adapter.addCalendarYears(this._activeDate,1)},t.prototype._previousEnabled=function(){return!this.minDate||!this.minDate||!this._isSameView(this._activeDate,this.minDate)},t.prototype._nextEnabled=function(){return!this.maxDate||!this._isSameView(this._activeDate,this.maxDate)},t.prototype._handleCalendarBodyKeydown=function(t){"month"===this._currentView?this._handleCalendarBodyKeydownInMonthView(t):"year"===this._currentView?this._handleCalendarBodyKeydownInYearView(t):this._handleCalendarBodyKeydownInClockView(t)},t.prototype._focusActiveCell=function(){var t=this;this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(at()).subscribe((function(){t._elementRef.nativeElement.focus()}))}))},t.prototype._isSameView=function(t,e){return"month"===this._currentView?this._adapter.getYear(t)==this._adapter.getYear(e)&&this._adapter.getMonth(t)==this._adapter.getMonth(e):this._adapter.getYear(t)==this._adapter.getYear(e)},t.prototype._handleCalendarBodyKeydownInMonthView=function(t){switch(t.keyCode){case y.LEFT_ARROW:this._activeDate=this._adapter.addCalendarDays(this._activeDate,-1);break;case y.RIGHT_ARROW:this._activeDate=this._adapter.addCalendarDays(this._activeDate,1);break;case y.UP_ARROW:this._activeDate=this._adapter.addCalendarDays(this._activeDate,-7);break;case y.DOWN_ARROW:this._activeDate=this._adapter.addCalendarDays(this._activeDate,7);break;case y.HOME:this._activeDate=this._adapter.addCalendarDays(this._activeDate,1-this._adapter.getDate(this._activeDate));break;case y.END:this._activeDate=this._adapter.addCalendarDays(this._activeDate,this._adapter.getNumDaysInMonth(this._activeDate)-this._adapter.getDate(this._activeDate));break;case y.PAGE_UP:this._activeDate=t.altKey?this._adapter.addCalendarYears(this._activeDate,-1):this._adapter.addCalendarMonths(this._activeDate,-1);break;case y.PAGE_DOWN:this._activeDate=t.altKey?this._adapter.addCalendarYears(this._activeDate,1):this._adapter.addCalendarMonths(this._activeDate,1);break;case y.ENTER:return void(this._dateFilterForViews(this._activeDate)&&(this._dateSelected(this._activeDate),t.preventDefault()));default:return}t.preventDefault()},t.prototype._handleCalendarBodyKeydownInYearView=function(t){switch(t.keyCode){case y.LEFT_ARROW:this._activeDate=this._adapter.addCalendarMonths(this._activeDate,-1);break;case y.RIGHT_ARROW:this._activeDate=this._adapter.addCalendarMonths(this._activeDate,1);break;case y.UP_ARROW:this._activeDate=this._prevMonthInSameCol(this._activeDate);break;case y.DOWN_ARROW:this._activeDate=this._nextMonthInSameCol(this._activeDate);break;case y.HOME:this._activeDate=this._adapter.addCalendarMonths(this._activeDate,-this._adapter.getMonth(this._activeDate));break;case y.END:this._activeDate=this._adapter.addCalendarMonths(this._activeDate,11-this._adapter.getMonth(this._activeDate));break;case y.PAGE_UP:this._activeDate=this._adapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case y.PAGE_DOWN:this._activeDate=this._adapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case y.ENTER:this._monthSelected(this._activeDate);break;default:return}t.preventDefault()},t.prototype._handleCalendarBodyKeydownInClockView=function(t){switch(t.keyCode){case y.UP_ARROW:this._activeDate="hour"==this._clockView?this._adapter.addCalendarHours(this._activeDate,1):this._adapter.addCalendarMinutes(this._activeDate,1);break;case y.DOWN_ARROW:this._activeDate="hour"==this._clockView?this._adapter.addCalendarHours(this._activeDate,-1):this._adapter.addCalendarMinutes(this._activeDate,-1);break;case y.ENTER:return void this._timeSelected(this._activeDate);default:return}t.preventDefault()},t.prototype._prevMonthInSameCol=function(t){return this._adapter.addCalendarMonths(t,this._adapter.getMonth(t)<=4?-5:this._adapter.getMonth(t)>=7?-7:-12)},t.prototype._nextMonthInSameCol=function(t){return this._adapter.addCalendarMonths(t,this._adapter.getMonth(t)<=4?7:this._adapter.getMonth(t)>=7?5:12)},t.prototype.calendarState=function(t){this._calendarState=t},t.prototype._calendarStateDone=function(){this._calendarState=""},t.prototype._2digit=function(t){return("00"+t).slice(-2)},t}();ht.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker-calendar",template:'\n    <div class="mat-datetimepicker-calendar-header">\n      <div *ngIf="type !== \'time\'"\n           class="mat-datetimepicker-calendar-header-year"\n           [class.active]="_currentView == \'year\'"\n           (click)="_yearClicked()">{{ _yearLabel }}</div>\n      <div class="mat-datetimepicker-calendar-header-date-time">\n        <span *ngIf="type !== \'time\'"\n              class="mat-datetimepicker-calendar-header-date"\n              [class.active]="_currentView == \'month\'"\n              [class.not-clickable]="type === \'month\'"\n              (click)="_dateClicked()">{{ _dateLabel }}</span>\n        <span *ngIf="type.endsWith(\'time\')"\n              class="mat-datetimepicker-calendar-header-time"\n              [class.active]="_currentView == \'clock\'">\n          <span class="mat-datetimepicker-calendar-header-hours"\n                [class.active]="_clockView == \'hour\'"\n                (click)="_hoursClicked()">{{ _hoursLabel }}</span>:<span class="mat-datetimepicker-calendar-header-minutes"\n                                                                         [class.active]="_clockView == \'minute\'"\n                                                                         (click)="_minutesClicked()">{{ _minutesLabel }}</span>\n        </span>\n      </div>\n    </div>\n    <div class="mat-datetimepicker-calendar-content" [ngSwitch]="_currentView">\n      <div class="mat-month-content" *ngIf="_currentView === \'month\' || _currentView === \'year\'">\n        <div class="mat-datetimepicker-calendar-controls">\n          <div class="mat-datetimepicker-calendar-previous-button"\n               [class.disabled]="!_previousEnabled()" (click)="_previousClicked()"\n               aria-label="Previous month">\n            <svg width="24" height="24" viewBox="0 0 24 24">\n              <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path>\n            </svg>\n          </div>\n          <div class="mat-datetimepicker-calendar-period-button" [@slideCalendar]="_calendarState" (@slideCalendar.done)="_calendarStateDone()">\n            <strong>{{ _monthYearLabel }}</strong>\n          </div>\n          <div class="mat-datetimepicker-calendar-next-button"\n               [class.disabled]="!_nextEnabled()" (click)="_nextClicked()"\n               aria-label="Next month">\n            <svg width="24" height="24" viewBox="0 0 24 24">\n              <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>\n            </svg>\n          </div>\n        </div>\n      </div>\n      <mat-datetimepicker-month-view *ngSwitchCase="\'month\'"\n                      [activeDate]="_activeDate"\n                      [type]="type"\n                      [selected]="selected"\n                      [dateFilter]="_dateFilterForViews"\n                      (selectedChange)="_dateSelected($event)"\n                      (_userSelection)="_userSelected()">\n      </mat-datetimepicker-month-view>\n      <mat-datetimepicker-year-view *ngSwitchCase="\'year\'"\n                     [activeDate]="_activeDate"\n                     [type]="type"\n                     [selected]="selected"\n                     [dateFilter]="_dateFilterForViews"\n                     (selectedChange)="_monthSelected($event)"\n                     (_userSelection)="_userSelected()">\n      </mat-datetimepicker-year-view>\n      <mat-datetimepicker-clock *ngSwitchDefault\n                 [startView]="_clockView"\n                 [interval]="timeInterval"\n                 [minDate]="minDate"\n                 [maxDate]="maxDate"\n                 [dateFilter]="dateFilter"\n                 [selected]="_activeDate"\n                 (activeDateChange)="_onActiveDateChange($event)"\n                 (selectedChange)="_timeSelected($event)"\n                 (_userSelection)="_userSelected()">\n      </mat-datetimepicker-clock>\n    </div>\n  ',styles:["\n    /**\n     * Applies styles for users in high contrast mode. Note that this only applies\n     * to Microsoft browsers. Chrome can be included by checking for the `html[hc]`\n     * attribute, however Chrome handles high contrast differently.\n     */\n    /* Theme for the ripple elements.*/\n    /* stylelint-disable material/no-prefixes */\n    /* stylelint-enable */\n    .mat-datetimepicker-calendar {\n      -webkit-user-select: none;\n      -moz-user-select: none;\n      -ms-user-select: none;\n      user-select: none;\n      display: block;\n      outline: none; }\n      .mat-datetimepicker-calendar[mode='landscape'] {\n        display: -webkit-box;\n        display: -ms-flexbox;\n        display: flex; }\n\n    .mat-datetimepicker-calendar-header {\n      padding: 16px;\n      font-size: 14px;\n      color: white;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box; }\n      [mode='landscape'] .mat-datetimepicker-calendar-header {\n        width: 150px;\n        min-width: 150px; }\n\n    .mat-datetimepicker-calendar-header-year,\n    .mat-datetimepicker-calendar-header-date-time {\n      width: 100%;\n      font-weight: 500;\n      white-space: nowrap; }\n\n    .mat-datetimepicker-calendar-header-date-time {\n      font-size: 30px;\n      line-height: 34px; }\n      [mode='landscape'] .mat-datetimepicker-calendar-header-date-time {\n        white-space: normal;\n        word-wrap: break-word; }\n\n    .mat-datetimepicker-calendar-header-year:not(.active),\n    .mat-datetimepicker-calendar-header-date:not(.active),\n    .mat-datetimepicker-calendar-header-hours:not(.active),\n    .mat-datetimepicker-calendar-header-minutes:not(.active) {\n      cursor: pointer;\n      opacity: 0.6; }\n\n    .mat-datetimepicker-calendar-header-year.not-clickable,\n    .mat-datetimepicker-calendar-header-date.not-clickable,\n    .mat-datetimepicker-calendar-header-hours.not-clickable,\n    .mat-datetimepicker-calendar-header-minutes.not-clickable {\n      cursor: initial; }\n\n    .mat-datetimepicker-calendar-header-time {\n      padding-left: 8px; }\n      .mat-datetimepicker-calendar-header-time:not(.active) {\n        opacity: 0.6; }\n        .mat-datetimepicker-calendar-header-time:not(.active) .mat-datetimepicker-calendar-header-hours,\n        .mat-datetimepicker-calendar-header-time:not(.active) .mat-datetimepicker-calendar-header-minutes {\n          cursor: pointer;\n          opacity: 1; }\n      [mode='landscape'] .mat-datetimepicker-calendar-header-time {\n        display: block;\n        padding-left: 0; }\n\n    .mat-datetimepicker-calendar-content {\n      width: 100%;\n      padding: 0 8px 8px 8px;\n      outline: none;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box;\n      overflow: hidden; }\n      [mode='landscape'] .mat-datetimepicker-calendar-content {\n        padding-top: 8px; }\n\n    .mat-datetimepicker-calendar-controls {\n      display: -webkit-box;\n      display: -ms-flexbox;\n      display: flex;\n      -webkit-box-pack: justify;\n          -ms-flex-pack: justify;\n              justify-content: space-between; }\n\n    .mat-datetimepicker-calendar-period-button {\n      display: inline-block;\n      height: 48px;\n      padding: 12px;\n      outline: none;\n      border: 0;\n      background: transparent;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box; }\n\n    .mat-datetimepicker-calendar-previous-button,\n    .mat-datetimepicker-calendar-next-button {\n      display: inline-block;\n      width: 48px;\n      height: 48px;\n      padding: 12px;\n      outline: none;\n      border: 0;\n      cursor: pointer;\n      background: transparent;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box; }\n      .mat-datetimepicker-calendar-previous-button.disabled,\n      .mat-datetimepicker-calendar-next-button.disabled {\n        color: rgba(0, 0, 0, 0.38);\n        pointer-events: none; }\n      .mat-datetimepicker-calendar-previous-button svg,\n      .mat-datetimepicker-calendar-next-button svg {\n        fill: currentColor;\n        vertical-align: top; }\n\n    .mat-datetimepicker-calendar-table {\n      border-spacing: 0;\n      border-collapse: collapse;\n      width: 100%; }\n\n    .mat-datetimepicker-calendar-table-header {\n      color: rgba(0, 0, 0, 0.38); }\n      .mat-datetimepicker-calendar-table-header th {\n        text-align: center;\n        font-size: 11px;\n        padding: 0 0 8px 0; }\n\n    @media (min-width: 480px) {\n      .mat-datetimepicker-calendar[mode='auto'] {\n        display: -webkit-box;\n        display: -ms-flexbox;\n        display: flex; }\n        .mat-datetimepicker-calendar[mode='auto'] .mat-datetimepicker-calendar-header {\n          width: 150px;\n          min-width: 150px; }\n        .mat-datetimepicker-calendar[mode='auto'] .mat-datetimepicker-calendar-header-date-time {\n          white-space: normal;\n          word-wrap: break-word; }\n        .mat-datetimepicker-calendar[mode='auto'] .mat-datetimepicker-calendar-header-time {\n          display: block;\n          padding-left: 0; }\n        .mat-datetimepicker-calendar[mode='auto'] .mat-datetimepicker-calendar-content {\n          padding-top: 8px; } }\n  "],host:{"[class.mat-datetimepicker-calendar]":"true",tabindex:"0","(keydown)":"_handleCalendarBodyKeydown($event)"},animations:[pt],encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush}]}],ht.ctorParameters=function(){return[{type:u.ElementRef},{type:p.MatDatepickerIntl},{type:u.NgZone},{type:j,decorators:[{type:u.Optional}]},{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[k]}]},{type:u.ChangeDetectorRef}]},ht.propDecorators={_userSelection:[{type:u.Output}],type:[{type:u.Input}],startAt:[{type:u.Input}],startView:[{type:u.Input}],selected:[{type:u.Input}],minDate:[{type:u.Input}],maxDate:[{type:u.Input}],timeInterval:[{type:u.Input}],dateFilter:[{type:u.Input}],selectedChange:[{type:u.Output}]};var dt=function(t,e,o,r){this.value=t,this.displayValue=e,this.ariaLabel=o,this.enabled=r},ft=function(){function t(){this.numCols=7,this.allowDisabledSelection=!1,this.activeCell=0,this.selectedValueChange=new u.EventEmitter}return t.prototype._cellClicked=function(t){(this.allowDisabledSelection||t.enabled)&&this.selectedValueChange.emit(t.value)},Object.defineProperty(t.prototype,"_firstRowOffset",{get:function(){return this.rows&&this.rows.length&&this.rows[0].length?this.numCols-this.rows[0].length:0},enumerable:!0,configurable:!0}),t.prototype._isActiveCell=function(t,e){var o=t*this.numCols+e;return t&&(o-=this._firstRowOffset),o===this.activeCell},t}();ft.decorators=[{type:u.Component,args:[{selector:"[mat-datetimepicker-calendar-body]",template:'\n    \x3c!--\n      If there\'s not enough space in the first row, create a separate label row. We mark this row as\n      aria-hidden because we don\'t want it to be read out as one of the weeks in the month.\n    --\x3e\n    <tr *ngIf="_firstRowOffset < labelMinRequiredCells" aria-hidden="true">\n      <td class="mat-datetimepicker-calendar-body-label" [attr.colspan]="numCols" >{{ label }}</td>\n    </tr>\n\n    \x3c!-- Create the first row separately so we can include a special spacer cell. --\x3e\n    <tr *ngFor="let row of rows; let rowIndex = index" role="row">\n      \x3c!--\n        We mark this cell as aria-hidden so it doesn\'t get read out as one of the days in the week.\n      --\x3e\n      <td *ngIf="rowIndex === 0 && _firstRowOffset"\n          aria-hidden="true"\n          class="mat-datetimepicker-calendar-body-label"\n          [attr.colspan]="_firstRowOffset">\n        {{ _firstRowOffset >= labelMinRequiredCells ? label : \'\' }}\n      </td>\n      <td *ngFor="let item of row; let colIndex = index"\n          role="gridcell"\n          class="mat-datetimepicker-calendar-body-cell"\n          [class.mat-datetimepicker-calendar-body-disabled]="!item.enabled"\n          [class.mat-datetimepicker-calendar-body-active]="_isActiveCell(rowIndex, colIndex)"\n          [attr.aria-label]="item.ariaLabel"\n          [attr.aria-disabled]="!item.enabled || null"\n          (click)="_cellClicked(item)">\n        <div class="mat-datetimepicker-calendar-body-cell-content"\n             [class.mat-datetimepicker-calendar-body-selected]="selectedValue === item.value"\n             [class.mat-datetimepicker-calendar-body-today]="todayValue === item.value">\n          {{ item.displayValue }}\n        </div>\n      </td>\n    </tr>\n  ',styles:["\n    /**\n     * Applies styles for users in high contrast mode. Note that this only applies\n     * to Microsoft browsers. Chrome can be included by checking for the `html[hc]`\n     * attribute, however Chrome handles high contrast differently.\n     */\n    /* Theme for the ripple elements.*/\n    /* stylelint-disable material/no-prefixes */\n    /* stylelint-enable */\n    .mat-datetimepicker-calendar-body {\n      font-size: 13px;\n      min-width: 224px; }\n\n    .mat-datetimepicker-calendar-body-label {\n      padding: 7.14286% 0 7.14286% 7.14286%;\n      height: 0;\n      line-height: 0;\n      color: rgba(0, 0, 0, 0.54);\n      -webkit-transform: translateX(-6px);\n              transform: translateX(-6px);\n      text-align: left; }\n\n    .mat-datetimepicker-calendar-body-cell {\n      position: relative;\n      width: 14.28571%;\n      height: 0;\n      line-height: 0;\n      padding: 7.14286% 0;\n      text-align: center;\n      outline: none;\n      cursor: pointer; }\n\n    .mat-datetimepicker-calendar-body-disabled {\n      cursor: default;\n      pointer-events: none; }\n\n    .mat-datetimepicker-calendar-body-cell-content {\n      position: absolute;\n      top: 5%;\n      left: 5%;\n      display: -webkit-box;\n      display: -ms-flexbox;\n      display: flex;\n      -webkit-box-align: center;\n          -ms-flex-align: center;\n              align-items: center;\n      -webkit-box-pack: center;\n          -ms-flex-pack: center;\n              justify-content: center;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box;\n      width: 90%;\n      height: 90%;\n      color: rgba(0, 0, 0, 0.87);\n      border: 1px solid transparent;\n      border-radius: 50%; }\n      .mat-datetimepicker-calendar-body-disabled > .mat-datetimepicker-calendar-body-cell-content:not(.mat-datetimepicker-calendar-body-selected) {\n        color: rgba(0, 0, 0, 0.38); }\n\n    :not(.mat-datetimepicker-calendar-body-disabled):hover > .mat-datetimepicker-calendar-body-cell-content:not(.mat-datetimepicker-calendar-body-selected),\n    .mat-calendar:focus .mat-datetimepicker-calendar-body-active > .mat-datetimepicker-calendar-body-cell-content:not(.mat-datetimepicker-calendar-body-selected) {\n      background-color: rgba(0, 0, 0, 0.12); }\n\n    .mat-datetimepicker-calendar-body-disabled > .mat-datetimepicker-calendar-body-today:not(.mat-datetimepicker-calendar-body-selected) {\n      border-color: rgba(0, 0, 0, 0.18); }\n\n    [dir='rtl'] .mat-datetimepicker-calendar-body-label {\n      padding: 0 7.14286% 0 0;\n      -webkit-transform: translateX(6px);\n              transform: translateX(6px);\n      text-align: right; }\n  "],host:{class:"mat-datetimepicker-calendar-body"},encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush}]}],ft.ctorParameters=function(){return[]},ft.propDecorators={label:[{type:u.Input}],rows:[{type:u.Input}],todayValue:[{type:u.Input}],selectedValue:[{type:u.Input}],labelMinRequiredCells:[{type:u.Input}],numCols:[{type:u.Input}],allowDisabledSelection:[{type:u.Input}],activeCell:[{type:u.Input}],selectedValueChange:[{type:u.Output}]};var yt=function(){function t(t,e){var o=this;this._element=t,this._adapter=e,this._userSelection=new u.EventEmitter,this._timeChanged=!1,this.interval=1,this.twelvehour=!1,this.selectedChange=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._hours=[],this._minutes=[],this._hourView=!0,this.mouseMoveListener=function(t){o._handleMousemove(t)},this.mouseUpListener=function(){o._handleMouseup()}}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=this._adapter.clampDate(t,this.minDate,this.maxDate),this._adapter.sameMinute(e,this._activeDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._adapter.getValidDateOrNull(this._adapter.deserialize(t)),this._selected&&(this.activeDate=this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._adapter.getValidDateOrNull(this._adapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._adapter.getValidDateOrNull(this._adapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startView",{set:function(t){this._hourView="minute"!=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_hand",{get:function(){this._selectedHour=this._adapter.getHour(this.activeDate),this._selectedMinute=this._adapter.getMinute(this.activeDate);var t=0,e=41.25;return this._hourView?(e=this._selectedHour>0&&this._selectedHour<13?41.25:27.5,this.twelvehour&&(e=41.25),t=Math.round(30*this._selectedHour)):t=Math.round(6*this._selectedMinute),{transform:"rotate("+t+"deg)",height:e+"%","margin-top":50-e+"%"}},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this.activeDate=this._activeDate||this._adapter.today(),this._init()},t.prototype._handleMousedown=function(t){this._timeChanged=!1,this.setTime(t),document.addEventListener("mousemove",this.mouseMoveListener),document.addEventListener("touchmove",this.mouseMoveListener),document.addEventListener("mouseup",this.mouseUpListener),document.addEventListener("touchend",this.mouseUpListener)},t.prototype._handleMousemove=function(t){t.preventDefault(),this.setTime(t)},t.prototype._handleMouseup=function(){document.removeEventListener("mousemove",this.mouseMoveListener),document.removeEventListener("touchmove",this.mouseMoveListener),document.removeEventListener("mouseup",this.mouseUpListener),document.removeEventListener("touchend",this.mouseUpListener),this._timeChanged&&(this.selectedChange.emit(this.activeDate),this._hourView||this._userSelection.emit())},t.prototype._init=function(){this._hours.length=0,this._minutes.length=0;var t=this._adapter.getHourNames(),e=this._adapter.getMinuteNames();if(this.twelvehour)for(var o=1;o<t.length/2+1;o++){var r=o/6*Math.PI,i=41.25,n=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),this._adapter.getDate(this.activeDate),o+1,0),s=(!this.minDate||this._adapter.compareDatetime(n,this.minDate)>=0)&&(!this.maxDate||this._adapter.compareDatetime(n,this.maxDate)<=0);this._hours.push({value:o,displayValue:0===o?"00":t[o],enabled:s,top:50-Math.cos(r)*i-7.0833,left:50+Math.sin(r)*i-7.0833})}else for(o=0;o<t.length;o++){r=o/6*Math.PI,i=o>0&&o<13?41.25:27.5,n=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),this._adapter.getDate(this.activeDate),o,0),s=(!this.minDate||this._adapter.compareDatetime(n,this.minDate)>=0)&&(!this.maxDate||this._adapter.compareDatetime(n,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(n,lt.HOUR));this._hours.push({value:o,displayValue:0===o?"00":t[o],enabled:s,top:50-Math.cos(r)*i-7.0833,left:50+Math.sin(r)*i-7.0833,fontSize:o>0&&o<13?"":"80%"})}for(o=0;o<e.length;o+=5){r=o/30*Math.PI,n=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),this._adapter.getDate(this.activeDate),this._adapter.getHour(this.activeDate),o),s=(!this.minDate||this._adapter.compareDatetime(n,this.minDate)>=0)&&(!this.maxDate||this._adapter.compareDatetime(n,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(n,lt.MINUTE));this._minutes.push({value:o,displayValue:0===o?"00":e[o],enabled:s,top:50-41.25*Math.cos(r)-7.0833,left:50+41.25*Math.sin(r)-7.0833})}},t.prototype.setTime=function(t){var e=this._element.nativeElement,o=e.getBoundingClientRect(),r=e.offsetWidth,i=e.offsetHeight,n=void 0!==t.pageX?t.pageX:t.touches[0].pageX,s=void 0!==t.pageY?t.pageY:t.touches[0].pageY,a=r/2-(n-o.left-window.pageXOffset),c=i/2-(s-o.top-window.pageYOffset),u=Math.atan2(-a,c),p=Math.PI/(this._hourView?6:this.interval?30/this.interval:30),l=Math.sqrt(a*a+c*c),h=this._hourView&&l>(.4125*r+.275*r)/2;u<0&&(u=2*Math.PI+u);var d,f=Math.round(u/p);this._hourView?(this.twelvehour?f=0===f?12:f:(12===f&&(f=0),f=h?0===f?12:f:0===f?0:f+12),d=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),this._adapter.getDate(this.activeDate),f,this._adapter.getMinute(this.activeDate))):(this.interval&&(f*=this.interval),60===f&&(f=0),d=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),this._adapter.getDate(this.activeDate),this._adapter.getHour(this.activeDate),f));var y=this._adapter.clampDate(d,this.minDate,this.maxDate);d===y&&(this._timeChanged=!0,this.activeDate=y,this.activeDateChange.emit(this.activeDate))},t}();yt.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker-clock",template:'\n    <div class="mat-datetimepicker-clock">\n      <div class="mat-datetimepicker-clock-center"></div>\n      <div class="mat-datetimepicker-clock-hand" [ngStyle]="_hand"></div>\n      <div class="mat-datetimepicker-clock-hours" [class.active]="_hourView">\n        <div *ngFor="let item of _hours"\n             class="mat-datetimepicker-clock-cell"\n             [class.mat-datetimepicker-clock-cell-selected]="_selectedHour == item.value"\n             [class.mat-datetimepicker-clock-cell-disabled]="!item.enabled"\n             [style.top]="item.top+\'%\'"\n             [style.left]="item.left+\'%\'"\n             [style.fontSize]="item.fontSize">{{ item.displayValue }}</div>\n      </div>\n      <div class="mat-datetimepicker-clock-minutes" [class.active]="!_hourView">\n        <div *ngFor="let item of _minutes"\n             class="mat-datetimepicker-clock-cell"\n             [class.mat-datetimepicker-clock-cell-selected]="_selectedMinute == item.value"\n             [class.mat-datetimepicker-clock-cell-disabled]="!item.enabled"\n             [style.top]="item.top+\'%\'"\n             [style.left]="item.left+\'%\'">{{ item.displayValue }}</div>\n      </div>\n    </div>\n  ',styles:["\n    /**\n     * Applies styles for users in high contrast mode. Note that this only applies\n     * to Microsoft browsers. Chrome can be included by checking for the `html[hc]`\n     * attribute, however Chrome handles high contrast differently.\n     */\n    /* Theme for the ripple elements.*/\n    /* stylelint-disable material/no-prefixes */\n    /* stylelint-enable */\n    :host {\n      position: relative;\n      display: block;\n      min-width: 224px;\n      margin: 8px;\n      font-size: 14px;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box;\n      -webkit-user-select: none;\n         -moz-user-select: none;\n          -ms-user-select: none;\n              user-select: none; }\n\n    .mat-datetimepicker-clock {\n      position: relative;\n      width: 100%;\n      height: 0;\n      padding-top: 100%;\n      background-color: #e0e0e0;\n      border-radius: 50%; }\n\n    .mat-datetimepicker-clock-center {\n      position: absolute;\n      top: 50%;\n      left: 50%;\n      width: 2%;\n      height: 2%;\n      margin: -1%;\n      border-radius: 50%; }\n\n    .mat-datetimepicker-clock-hand {\n      position: absolute;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n      width: 1px;\n      /*height: $mat-clock-hand-size;*/\n      margin: 0 auto;\n      -webkit-transform-origin: bottom;\n              transform-origin: bottom; }\n      .mat-datetimepicker-clock-hand::before {\n        content: '';\n        position: absolute;\n        top: -4px;\n        left: -4px;\n        width: 8px;\n        height: 8px;\n        border-radius: 50%; }\n\n    .mat-datetimepicker-clock-hours,\n    .mat-datetimepicker-clock-minutes {\n      position: absolute;\n      top: 0;\n      left: 0;\n      width: 100%;\n      height: 100%;\n      opacity: 0;\n      visibility: hidden;\n      -webkit-transition: 350ms;\n      transition: 350ms;\n      -webkit-transform: scale(1.2);\n              transform: scale(1.2); }\n      .mat-datetimepicker-clock-hours.active,\n      .mat-datetimepicker-clock-minutes.active {\n        opacity: 1;\n        visibility: visible;\n        -webkit-transform: scale(1);\n                transform: scale(1); }\n\n    .mat-datetimepicker-clock-minutes {\n      -webkit-transform: scale(0.8);\n              transform: scale(0.8); }\n\n    .mat-datetimepicker-clock-cell {\n      position: absolute;\n      display: -webkit-box;\n      display: -ms-flexbox;\n      display: flex;\n      width: 14.1666%;\n      height: 14.1666%;\n      color: rgba(0, 0, 0, 0.87);\n      -webkit-box-pack: center;\n          -ms-flex-pack: center;\n              justify-content: center;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box;\n      border-radius: 50%;\n      -webkit-box-align: center;\n          -ms-flex-align: center;\n              align-items: center;\n      cursor: pointer; }\n      .mat-datetimepicker-clock-cell:not(.mat-datetimepicker-clock-cell-selected):not(.mat-datetimepicker-clock-cell-disabled):hover {\n        background-color: rgba(0, 0, 0, 0.1); }\n      .mat-datetimepicker-clock-cell.mat-datetimepicker-clock-cell-disabled {\n        color: rgba(0, 0, 0, 0.38);\n        pointer-events: none; }\n      .mat-datetimepicker-clock-cell.mat-datetimepicker-clock-cell-selected {\n        color: white; }\n  "],host:{role:"clock","(mousedown)":"_handleMousedown($event)"}}]}],yt.ctorParameters=function(){return[{type:u.ElementRef},{type:j}]},yt.propDecorators={_userSelection:[{type:u.Output}],activeDate:[{type:u.Input}],selected:[{type:u.Input}],minDate:[{type:u.Input}],maxDate:[{type:u.Input}],startView:[{type:u.Input}],dateFilter:[{type:u.Input}],interval:[{type:u.Input}],twelvehour:[{type:u.Input}],selectedChange:[{type:u.Output}],activeDateChange:[{type:u.Output}]};var mt=0,gt=function(){function t(){}return t.prototype.ngAfterContentInit=function(){this._calendar._focusActiveCell()},t.prototype._handleKeydown=function(t){t.keyCode===y.ESCAPE&&(this.datetimepicker.close(),t.preventDefault(),t.stopPropagation())},t}();gt.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker-content",template:'\n    <mat-datetimepicker-calendar class="mat-typography" cdkTrapFocus\n                  [id]="datetimepicker.id"\n                  [attr.mode]="datetimepicker.mode"\n                  [startView]="datetimepicker.startView"\n                  [type]="datetimepicker.type"\n                  [timeInterval]="datetimepicker.timeInterval"\n                  [minDate]="datetimepicker._minDate"\n                  [maxDate]="datetimepicker._maxDate"\n                  [dateFilter]="datetimepicker._dateFilter"\n                  [selected]="datetimepicker._selected"\n                  [startAt]="datetimepicker.startAt"\n                  (selectedChange)="datetimepicker._select($event)"\n                  (_userSelection)="datetimepicker.close()">\n    </mat-datetimepicker-calendar>\n  ',styles:["\n    /**\n     * Applies styles for users in high contrast mode. Note that this only applies\n     * to Microsoft browsers. Chrome can be included by checking for the `html[hc]`\n     * attribute, however Chrome handles high contrast differently.\n     */\n    /* Theme for the ripple elements.*/\n    /* stylelint-disable material/no-prefixes */\n    /* stylelint-enable */\n    .mat-datetimepicker-content {\n      -webkit-box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n              box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n      display: block;\n      background-color: white;\n      border-radius: 2px;\n      overflow: hidden; }\n\n    .mat-datetimepicker-calendar {\n      width: 296px;\n      height: 405px; }\n      .mat-datetimepicker-calendar[mode='landscape'] {\n        width: 446px;\n        height: 328px; }\n\n    @media (min-width: 480px) {\n      .mat-datetimepicker-calendar[mode='auto'] {\n        width: 446px;\n        height: 328px; } }\n\n    .mat-datetimepicker-content-touch {\n      -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n              box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n      display: block;\n      -webkit-box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);\n              box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); }\n\n    .cdk-overlay-container, .cdk-global-overlay-wrapper {\n      pointer-events: none;\n      top: 0;\n      left: 0;\n      height: 100%;\n      width: 100%; }\n\n    .cdk-overlay-container {\n      position: fixed;\n      z-index: 1000; }\n\n    .cdk-global-overlay-wrapper {\n      display: -webkit-box;\n      display: -ms-flexbox;\n      display: flex;\n      position: absolute;\n      z-index: 1000; }\n\n    .cdk-overlay-pane {\n      position: absolute;\n      pointer-events: auto;\n      -webkit-box-sizing: border-box;\n              box-sizing: border-box;\n      z-index: 1000; }\n\n    .cdk-overlay-backdrop {\n      position: absolute;\n      top: 0;\n      bottom: 0;\n      left: 0;\n      right: 0;\n      z-index: 1000;\n      pointer-events: auto;\n      -webkit-transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n      transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n      opacity: 0; }\n\n    .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {\n      opacity: 0.48; }\n\n    .cdk-overlay-dark-backdrop {\n      background: rgba(0, 0, 0, 0.6); }\n\n    .mat-datetimepicker-dialog .mat-dialog-container {\n      padding: 0; }\n  "],host:{class:"mat-datetimepicker-content","[class.mat-datetimepicker-content-touch]":"datetimepicker?.touchUi","(keydown)":"_handleKeydown($event)"},encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush}]}],gt.ctorParameters=function(){return[]},gt.propDecorators={_calendar:[{type:u.ViewChild,args:[ht]}]};var vt=function(){function t(t,e,o,r,i,n,s,c){if(this._dialog=t,this._overlay=e,this._ngZone=o,this._viewContainerRef=r,this._scrollStrategy=i,this._dateAdapter=n,this._dir=s,this._document=c,this.startView="month",this.mode="auto",this.timeInterval=1,this._type="date",this._touchUi=!1,this.selectedChanged=new u.EventEmitter,this.openedStream=new u.EventEmitter,this.closedStream=new u.EventEmitter,this.opened=!1,this.id="mat-datetimepicker-"+mt++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=M.Subscription.EMPTY,this._disabledChange=new w.Subject,!this._dateAdapter)throw a("DateAdapter")}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openOnFocus",{get:function(){return this._openOnFocus},set:function(t){this._openOnFocus=Object(v.coerceBooleanProperty)(t)},enumerable:!0,configurable:!0}),t.prototype._handleFocus=function(){!this.opened&&this.openOnFocus&&this.open()},Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"date"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touchUi",{get:function(){return this._touchUi},set:function(t){this._touchUi=Object(v.coerceBooleanProperty)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(t){var e=Object(v.coerceBooleanProperty)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_selected",{get:function(){return this._validSelected},set:function(t){this._validSelected=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_minDate",{get:function(){return this._datepickerInput&&this._datepickerInput.min},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_maxDate",{get:function(){return this._datepickerInput&&this._datepickerInput.max},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_dateFilter",{get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&this._popupRef.dispose()},t.prototype._select=function(t){var e=this._selected;this._selected=t,this._dateAdapter.sameDatetime(e,this._selected)||this.selectedChanged.emit(t)},t.prototype._registerInput=function(t){var e=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(t){return e._selected=t}))},t.prototype.open=function(){if(!this.opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this.opened=!0,this.openedStream.emit()}},t.prototype.close=function(){var t=this;if(this.opened){this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();var e=function(){t.opened&&(t.opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}},t.prototype._openAsDialog=function(){var t=this;this._dialogRef=this._dialog.open(gt,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datetimepicker-dialog"}),this._dialogRef.afterClosed().subscribe((function(){return t.close()})),this._dialogRef.componentInstance.datetimepicker=this},t.prototype._openAsPopup=function(){var t=this;this._calendarPortal||(this._calendarPortal=new b.ComponentPortal(gt,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupRef.attach(this._calendarPortal).instance.datetimepicker=this,this._ngZone.onStable.asObservable().pipe(at()).subscribe((function(){t._popupRef.updatePosition()}))),this._popupRef.backdropClick().subscribe((function(){return t.close()}))},t.prototype._createPopup=function(){this._popupRef=this._overlay.create(new d.OverlayConfig({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir?this._dir.value:"ltr",scrollStrategy:this._scrollStrategy(),panelClass:"mat-datetimepicker-popup"}))},t.prototype._createPopupPositionStrategy=function(){return this._overlay.position().connectedTo(this._datepickerInput.getPopupConnectionElementRef(),{originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"})},t}();vt.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker",exportAs:"matDatetimepicker",template:"",changeDetection:u.ChangeDetectionStrategy.OnPush,encapsulation:u.ViewEncapsulation.None,preserveWhitespaces:!1}]}],vt.ctorParameters=function(){return[{type:_.MatDialog},{type:d.Overlay},{type:u.NgZone},{type:u.ViewContainerRef},{type:void 0,decorators:[{type:u.Inject,args:[p.MAT_DATEPICKER_SCROLL_STRATEGY]}]},{type:j,decorators:[{type:u.Optional}]},{type:g.Directionality,decorators:[{type:u.Optional}]},{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[f.DOCUMENT]}]}]},vt.propDecorators={startAt:[{type:u.Input}],startView:[{type:u.Input}],mode:[{type:u.Input}],timeInterval:[{type:u.Input}],openOnFocus:[{type:u.Input}],type:[{type:u.Input}],touchUi:[{type:u.Input}],disabled:[{type:u.Input}],selectedChanged:[{type:u.Output}],panelClass:[{type:u.Input}],openedStream:[{type:u.Output,args:["opened"]}],closedStream:[{type:u.Output,args:["closed"]}]};var bt={provide:S.NG_VALUE_ACCESSOR,useExisting:Object(u.forwardRef)((function(){return Mt})),multi:!0},_t={provide:S.NG_VALIDATORS,useExisting:Object(u.forwardRef)((function(){return Mt})),multi:!0},wt=function(t,e){this.target=t,this.targetElement=e,this.value=this.target.value},Mt=function(){function t(t,e,o,r,i){var n=this;if(this._elementRef=t,this._renderer=e,this._dateAdapter=o,this._dateFormats=r,this._formField=i,this.dateChange=new u.EventEmitter,this.dateInput=new u.EventEmitter,this._valueChange=new u.EventEmitter,this._disabledChange=new u.EventEmitter,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=M.Subscription.EMPTY,this._localeSubscription=M.Subscription.EMPTY,this._parseValidator=function(){return n._lastValueValid?null:{matDatepickerParse:{text:n._elementRef.nativeElement.value}}},this._minValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value));return!n.min||!e||n._dateAdapter.compareDatetime(n.min,e)<=0?null:{matDatepickerMin:{min:n.min,actual:e}}},this._maxValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value));return!n.max||!e||n._dateAdapter.compareDatetime(n.max,e)>=0?null:{matDatepickerMax:{max:n.max,actual:e}}},this._filterValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value));return n._dateFilter&&e&&!n._dateFilter(e,lt.DATE)?{matDatepickerFilter:!0}:null},this._validator=S.Validators.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw a("DatetimeAdapter");if(!this._dateFormats)throw a("MAT_DATETIME_FORMATS");this._localeSubscription=o.localeChanges.subscribe((function(){n.value=n.value}))}return Object.defineProperty(t.prototype,"matDatetimepicker",{set:function(t){this.registerDatepicker(t)},enumerable:!0,configurable:!0}),t.prototype.registerDatepicker=function(t){t&&(this._datepicker=t,this._datepicker._registerInput(this))},Object.defineProperty(t.prototype,"matDatepickerFilter",{set:function(t){this._dateFilter=t,this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){var e=this;t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._dateAdapter.getValidDateOrNull(t);var o=this.value;this._value=t,setTimeout((function(){e._renderer.setProperty(e._elementRef.nativeElement,"value",t?e._dateAdapter.format(t,e.getDisplayFormat()):""),e._dateAdapter.sameDatetime(o,t)||e._valueChange.emit(t)}))},enumerable:!0,configurable:!0}),t.prototype.getDisplayFormat=function(){switch(this._datepicker.type){case"date":return this._dateFormats.display.dateInput;case"datetime":return this._dateFormats.display.datetimeInput;case"time":return this._dateFormats.display.timeInput;case"month":return this._dateFormats.display.monthInput}},t.prototype.getParseFormat=function(){var t;switch(this._datepicker.type){case"date":t=this._dateFormats.parse.dateInput;break;case"datetime":t=this._dateFormats.parse.datetimeInput;break;case"time":t=this._dateFormats.parse.timeInput;break;case"month":t=this._dateFormats.parse.monthInput}return t||(t=this._dateFormats.parse.dateInput),t},Object.defineProperty(t.prototype,"min",{get:function(){return this._min},set:function(t){this._min=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(t){this._max=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return!!this._disabled},set:function(t){var e=Object(v.coerceBooleanProperty)(t);this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._datepicker&&(this._datepickerSubscription=this._datepicker.selectedChanged.subscribe((function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new wt(t,t._elementRef.nativeElement)),t.dateChange.emit(new wt(t,t._elementRef.nativeElement))})))},t.prototype.ngOnDestroy=function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()},t.prototype.registerOnValidatorChange=function(t){this._validatorOnChange=t},t.prototype.validate=function(t){return this._validator?this._validator(t):null},t.prototype.getPopupConnectionElementRef=function(){return this._formField?this._formField.underlineRef:this._elementRef},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this._cvaOnChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._onKeydown=function(t){t.altKey&&t.keyCode===y.DOWN_ARROW&&(this._datepicker.open(),t.preventDefault())},t.prototype._onInput=function(t){var e=this._dateAdapter.parse(t,this.getParseFormat());this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._dateAdapter.getValidDateOrNull(e),this._value=e,this._cvaOnChange(e),this._valueChange.emit(e),this.dateInput.emit(new wt(this,this._elementRef.nativeElement))},t.prototype._onChange=function(){this.dateChange.emit(new wt(this,this._elementRef.nativeElement))},t.prototype._onBlur=function(){this.value&&this._formatValue(this.value),this._onTouched()},t.prototype._formatValue=function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this.getDisplayFormat()):""},t}();Mt.decorators=[{type:u.Directive,args:[{selector:"input[matDatetimepicker]",providers:[bt,_t],host:{"[attr.aria-haspopup]":"true","[attr.aria-owns]":"(_datepicker?.opened && _datepicker.id) || null","[attr.min]":"min ? _dateAdapter.toIso8601(min) : null","[attr.max]":"max ? _dateAdapter.toIso8601(max) : null","[disabled]":"disabled","(focus)":"_datepicker._handleFocus()","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(blur)":"_onBlur()","(keydown)":"_onKeydown($event)"},exportAs:"matDatepickerInput"}]}],Mt.ctorParameters=function(){return[{type:u.ElementRef},{type:u.Renderer2},{type:j,decorators:[{type:u.Optional}]},{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[k]}]},{type:x.MatFormField,decorators:[{type:u.Optional}]}]},Mt.propDecorators={matDatetimepicker:[{type:u.Input}],matDatepickerFilter:[{type:u.Input}],value:[{type:u.Input}],min:[{type:u.Input}],max:[{type:u.Input}],disabled:[{type:u.Input}],dateChange:[{type:u.Output}],dateInput:[{type:u.Output}]};var St=function(){function t(t,e){this._intl=t,this._changeDetectorRef=e,this._stateChanges=M.Subscription.EMPTY}return Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled?this.datetimepicker.disabled:!!this._disabled},set:function(t){this._disabled=Object(v.coerceBooleanProperty)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.datepicker&&this._watchStateChanges()},t.prototype.ngOnDestroy=function(){this._stateChanges.unsubscribe()},t.prototype.ngAfterContentInit=function(){this._watchStateChanges()},t.prototype._open=function(t){this.datetimepicker&&!this.disabled&&(this.datetimepicker.open(),t.stopPropagation())},t.prototype._watchStateChanges=function(){var t=this,e=this.datetimepicker?this.datetimepicker._disabledChange:Object(O.of)(),o=this.datetimepicker&&this.datetimepicker._datepickerInput?this.datetimepicker._datepickerInput._disabledChange:Object(O.of)();this._stateChanges.unsubscribe(),this._stateChanges=Object(L.merge)(this._intl.changes,e,o).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},t}();St.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker-toggle",template:'\n    <button mat-icon-button type="button" [attr.aria-label]="_intl.openCalendarLabel"\n            [disabled]="disabled" (click)="_open($event)">\n      <mat-icon [ngSwitch]="datetimepicker.type">\n        <svg *ngSwitchCase="\'time\'" viewBox="0 0 24 24" width="100%" height="100%" fill="currentColor"\n                style="vertical-align: top" focusable="false">\n          <path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"></path>\n        </svg>\n        <svg *ngSwitchCase="\'datetime\'" viewBox="0 0 24 24" width="100%" height="100%" fill="currentColor"\n                style="vertical-align: top" focusable="false">\n          <path d="M15,13H16.5V15.82L18.94,17.23L18.19,18.53L15,16.69V13M19,8H5V19H9.67C9.24,18.09 9,17.07 9,16A7,7 0 0,1 16,9C17.07,9 18.09,9.24 19,9.67V8M5,21C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1H18V3H19A2,2 0 0,1 21,5V11.1C22.24,12.36 23,14.09 23,16A7,7 0 0,1 16,23C14.09,23 12.36,22.24 11.1,21H5M16,11.15A4.85,4.85 0 0,0 11.15,16C11.15,18.68 13.32,20.85 16,20.85A4.85,4.85 0 0,0 20.85,16C20.85,13.32 18.68,11.15 16,11.15Z"></path>\n        </svg>\n        <svg *ngSwitchDefault viewBox="0 0 24 24" width="100%" height="100%" fill="currentColor"\n            style="vertical-align: top" focusable="false">\n          <path d="M0 0h24v24H0z" fill="none"/>\n          <path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>\n        </svg>\n      </mat-icon>\n    </button>\n  ',host:{class:"mat-datetimepicker-toggle"},exportAs:"matDatetimepickerToggle",encapsulation:u.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:u.ChangeDetectionStrategy.OnPush}]}],St.ctorParameters=function(){return[{type:p.MatDatepickerIntl},{type:u.ChangeDetectorRef}]},St.propDecorators={datetimepicker:[{type:u.Input,args:["for"]}],disabled:[{type:u.Input}]};var xt=function(){function t(t,e){if(this._adapter=t,this._dateFormats=e,this.type="date",this._userSelection=new u.EventEmitter,this.selectedChange=new u.EventEmitter,!this._adapter)throw a("DatetimeAdapter");if(!this._dateFormats)throw a("MAT_DATETIME_FORMATS");var o=this._adapter.getFirstDayOfWeek(),r=this._adapter.getDayOfWeekNames("narrow"),i=this._adapter.getDayOfWeekNames("long").map((function(t,e){return{long:t,narrow:r[e]}}));this._weekdays=i.slice(o).concat(i.slice(0,o)),this._activeDate=this._adapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=t||this._adapter.today(),e&&this._activeDate&&!this._adapter.sameMonthAndYear(e,this._activeDate)&&(this._init(),this.calendarState(this._adapter.isInNextMonth(e,this._activeDate)?"right":"left"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this._selectedDate=this._getDateInCurrentMonth(this.selected)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._dateSelected=function(t){this.selectedChange.emit(this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),t,this._adapter.getHour(this.activeDate),this._adapter.getMinute(this.activeDate))),"date"===this.type&&this._userSelection.emit()},t.prototype._init=function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._adapter.today()),this._firstWeekOffset=(7+this._adapter.getDayOfWeek(this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),1,this._adapter.getHour(this.activeDate),this._adapter.getMinute(this.activeDate)))-this._adapter.getFirstDayOfWeek())%7,this._createWeekCells()},t.prototype._createWeekCells=function(){var t=this._adapter.getNumDaysInMonth(this.activeDate),e=this._adapter.getDateNames();this._weeks=[[]];for(var o=0,r=this._firstWeekOffset;o<t;o++,r++){7==r&&(this._weeks.push([]),r=0);var i=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),this._adapter.getMonth(this.activeDate),o+1,this._adapter.getHour(this.activeDate),this._adapter.getMinute(this.activeDate)),n=!this.dateFilter||this.dateFilter(i),s=this._adapter.format(i,this._dateFormats.display.dateA11yLabel);this._weeks[this._weeks.length-1].push(new dt(o+1,e[o],s,n))}},t.prototype._getDateInCurrentMonth=function(t){return this._adapter.sameMonthAndYear(t,this.activeDate)?this._adapter.getDate(t):null},t.prototype.calendarState=function(t){this._calendarState=t},t.prototype._calendarStateDone=function(){this._calendarState=""},t}();xt.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker-month-view",template:'\n    <table class="mat-datetimepicker-calendar-table">\n      <thead class="mat-datetimepicker-calendar-table-header">\n        <tr><th *ngFor="let day of _weekdays" [attr.aria-label]="day.long">{{day.narrow}}</th></tr>\n      </thead>\n      <tbody [@slideCalendar]="_calendarState"\n             (@slideCalendar.done)="_calendarStateDone()"\n             mat-datetimepicker-calendar-body\n             role="grid"\n             [rows]="_weeks"\n             [todayValue]="_todayDate"\n             [selectedValue]="_selectedDate"\n             [activeCell]="_adapter.getDate(activeDate) - 1"\n             (selectedValueChange)="_dateSelected($event)"></tbody>\n    </table>\n  ',animations:[pt],encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush}]}],xt.ctorParameters=function(){return[{type:j,decorators:[{type:u.Optional}]},{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[k]}]}]},xt.propDecorators={type:[{type:u.Input}],_userSelection:[{type:u.Output}],activeDate:[{type:u.Input}],selected:[{type:u.Input}],dateFilter:[{type:u.Input}],selectedChange:[{type:u.Output}]};var Lt=function(){function t(t,e){if(this._adapter=t,this._dateFormats=e,this._userSelection=new u.EventEmitter,this.type="date",this.selectedChange=new u.EventEmitter,!this._adapter)throw a("DatetimeAdapter");if(!this._dateFormats)throw a("MAT_DATETIME_FORMATS");this._activeDate=this._adapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=t||this._adapter.today(),e&&this._activeDate&&!this._adapter.sameYear(e,this._activeDate)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this._selectedMonth=this._getMonthInCurrentYear(this.selected)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._monthSelected=function(t){this.selectedChange.emit(this._adapter.createDatetime(this._adapter.getYear(this.activeDate),t,this._adapter.getDate(this.activeDate),this._adapter.getHour(this.activeDate),this._adapter.getMinute(this.activeDate))),"month"===this.type&&this._userSelection.emit()},t.prototype._init=function(){var t=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._adapter.today()),this._yearLabel=this._adapter.getYearName(this.activeDate);var e=this._adapter.getMonthNames("short");this._months=[[0,1,2,3,4],[5,6,7,8,9,10,11]].map((function(o){return o.map((function(o){return t._createCellForMonth(o,e[o])}))}))},t.prototype._getMonthInCurrentYear=function(t){return this._adapter.sameYear(t,this.activeDate)?this._adapter.getMonth(t):null},t.prototype._createCellForMonth=function(t,e){var o=this._adapter.format(this._adapter.createDatetime(this._adapter.getYear(this.activeDate),t,1,this._adapter.getHour(this.activeDate),this._adapter.getMinute(this.activeDate)),this._dateFormats.display.monthYearA11yLabel);return new dt(t,e.toLocaleUpperCase(),o,this._isMonthEnabled(t))},t.prototype._isMonthEnabled=function(t){if(!this.dateFilter)return!0;for(var e=this._adapter.createDatetime(this._adapter.getYear(this.activeDate),t,1,this._adapter.getHour(this.activeDate),this._adapter.getMinute(this.activeDate));this._adapter.getMonth(e)==t;e=this._adapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1},t.prototype._calendarStateDone=function(){this._calendarState=""},t}();Lt.decorators=[{type:u.Component,args:[{selector:"mat-datetimepicker-year-view",template:'\n    <table class="mat-datetimepicker-calendar-table">\n      <thead class="mat-datetimepicker-calendar-table-header"></thead>\n      <tbody [@slideCalendar]="_calendarState"\n             (@slideCalendar.done)="_calendarStateDone()"\n             mat-datetimepicker-calendar-body\n             role="grid"\n             allowDisabledSelection="true"\n             [label]="_yearLabel"\n             [rows]="_months"\n             [todayValue]="_todayMonth"\n             [selectedValue]="_selectedMonth"\n             [labelMinRequiredCells]="2"\n             [activeCell]="_adapter.getMonth(activeDate)"\n             (selectedValueChange)="_monthSelected($event)"></tbody>\n    </table>\n  ',animations:[pt],encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush}]}],Lt.ctorParameters=function(){return[{type:j,decorators:[{type:u.Optional}]},{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[k]}]}]},Lt.propDecorators={_userSelection:[{type:u.Output}],type:[{type:u.Input}],activeDate:[{type:u.Input}],selected:[{type:u.Input}],dateFilter:[{type:u.Input}],selectedChange:[{type:u.Output}]};var Ot=function(){};Ot.decorators=[{type:u.NgModule,args:[{imports:[f.CommonModule,p.MatButtonModule,p.MatDialogModule,p.MatIconModule,d.OverlayModule,h.A11yModule],entryComponents:[gt],declarations:[ht,ft,yt,vt,St,Mt,gt,xt,Lt],exports:[ht,ft,yt,vt,St,Mt,gt,xt,Lt]}]}],Ot.ctorParameters=function(){return[]}}.call(e,o(64))},function(t,e){t.exports=require("@angular/material/core")},function(t,e){t.exports=require("@angular/cdk/overlay")},function(t,e){t.exports=require("@angular/cdk/keycodes")},function(t,e){t.exports=require("@angular/cdk/bidi")},function(t,e){t.exports=require("@angular/cdk/coercion")},function(t,e){t.exports=require("@angular/cdk/portal")},function(t,e){t.exports=require("@angular/material/dialog")},function(t,e){t.exports=require("rxjs/Subscription")},function(t,e){t.exports=require("@angular/material/form-field")},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(5);e.TimeFilterFormComponent=function(){function t(){this.listYears=[],this.startListYears=[],this.endListYears=[],this.playIcon="play_circle_filled",this.change=new n.EventEmitter,this.yearChange=new n.EventEmitter}return Object.defineProperty(t.prototype,"options",{get:function(){return this._options},set:function(t){this._options=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentValue",{set:function(t){if(t&&"year"!==this.type){var e=t.split("/");if(e.length>0){var o=new Date(e[0]),r=new Date(e[1]);isNaN(o.valueOf())||(this.startDate=o),isNaN(r.valueOf())||(this.endDate=r)}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return void 0===this.options.type?"date":this.options.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRange",{get:function(){return void 0!==this.options.range&&"slider"!==this.options.style&&this.options.range},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return void 0===this.options.style?"slider":this.options.style},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"step",{get:function(){var t=108e5;if(void 0===this.options.step)switch(this.type){case"date":case"datetime":default:t=108e5;break;case"time":t=36e5;break;case"year":t=31536e6}else t=this.options.step;return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"timeInterval",{get:function(){return void 0===this.options.timeInterval?2e3:this.options.timeInterval},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return void 0===this.options.min?void 0:new Date(this.options.min)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return void 0===this.options.max?void 0:new Date(this.options.max)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"is",{get:function(){return void 0!==this.options.range&&this.options.range},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){if(void 0===this.startDate){var t=new Date(this.min);this.startDate=new Date(t.getTime()+6e4*t.getTimezoneOffset())}if(void 0===this.endDate){var e=new Date(this.max);this.endDate=new Date(e.getTime()+6e4*e.getTimezoneOffset())}if(void 0===this.startYear&&(this.startYear=new Date(this.startDate).getFullYear(),this.initStartYear=this.startYear),void 0===this.endYear&&(this.endYear=new Date(this.endDate).getFullYear(),this.initEndYear=this.endYear),this.isRange){for(var o=this.startYear;o<this.endYear;o++)this.startListYears.push(o);for(o=this.startYear+1;o<=this.endYear;o++)this.endListYears.push(o)}else for(o=this.startYear;o<=this.endYear+1;o++)this.listYears.push(o)},t.prototype.handleDateChange=function(t){this.setupDateOutput(),this.applyTypeChange(),this.change.emit([this.startDate,this.endDate])},t.prototype.handleYearChange=function(t){if(this.isRange){this.endListYears=[];for(var e=this.startYear+1;e<=this.initEndYear;e++)this.endListYears.push(e);this.startListYears=[];for(e=this.initStartYear+1;e<this.endYear;e++)this.startListYears.push(e);this.yearChange.emit([this.startYear,this.endYear])}else this.yearChange.emit(this.year)},t.prototype.handleListYearChange=function(t){this.handleYearChange([this.startYear,this.endYear])},t.prototype.handleListYearStartChange=function(t){this.change.emit([this.startDate,this.endDate])},t.prototype.dateToNumber=function(t){return(t?new Date(t):new Date(this.min)).getTime()},t.prototype.setSliderThumbLabel=function(t){var e=this.findThumbLabel(this.mySlider._elementRef.nativeElement.childNodes);e&&(e.textContent=t)},t.prototype.findThumbLabel=function(t){var e,o=this;return t.forEach((function(t){"mat-slider-thumb-label-text"===t.className&&(e=t),t.children.length>0&&!e&&(e=o.findThumbLabel(t.childNodes))}),this),e},t.prototype.playFilter=function(t){this.interval?this.stopFilter():(this.playIcon="pause_circle_filled",this.interval=setInterval((function(t){var e,o=new Date(t.max);e=void 0===t.date?t.min.getTime():t.date.getTime(),e+=t.mySlider.step,t.date=new Date(e),e>o.getTime()&&t.stopFilter(),t.handleDateChange({value:t.date,date:t.date})}),this.timeInterval,this))},t.prototype.stopFilter=function(){this.interval&&clearInterval(this.interval),this.interval=void 0,this.playIcon="play_circle_filled"},t.prototype.handleSliderDateChange=function(t){this.date=new Date(t.value),this.setSliderThumbLabel(this.handleSliderTooltip()),t.source.value=this.date,t.source.date=this.date,this.handleDateChange(t)},t.prototype.handleSliderValue=function(){return void 0===this.date?this.min.getTime():this.date.getTime()},t.prototype.handleSliderTooltip=function(){var t;switch(this.type){case"date":t=void 0===this.date?this.min.toDateString():this.date.toDateString();break;case"time":t=void 0===this.date?this.min.toTimeString():this.date.toTimeString();break;default:t=void 0===this.date?this.min.toUTCString():this.date.toUTCString()}return t},t.prototype.setupDateOutput=function(){"slider"===this.style?(this.startDate=new Date(this.date),this.startDate.setSeconds(-this.step/1e3),this.endDate=new Date(this.startDate),this.endDate.setSeconds(this.step/1e3)):!this.isRange&&this.date?(this.endDate=new Date(this.date),this.startDate=new Date(this.date)):(!this.isRange||!this.date&&this.date)&&this.date||(this.startDate=void 0===this.startDate?new Date(this.min):this.startDate,this.endDate=void 0===this.endDate?new Date(this.max):this.endDate)},t.prototype.applyTypeChange=function(){switch(this.type){case"date":void 0===this.startDate&&void 0===this.endDate||(this.startDate.setHours(0),this.startDate.setMinutes(0),this.startDate.setSeconds(0),this.endDate.setHours(23),this.endDate.setMinutes(59),this.endDate.setSeconds(59));break;case"time":if("calendar"===this.style){if(this.startDate.getDay()!==this.min.getDay()){var t=this.startDate.getHours(),e=this.startDate.getMinutes();this.startDate=this.min,this.startDate.setHours(t),this.startDate.setMinutes(e)}if(this.endDate.getDay()!==this.min.getDay()){t=this.endDate.getHours(),e=this.endDate.getMinutes();this.endDate=this.min,this.endDate.setHours(t),this.endDate.setMinutes(e)}}this.isRange||(this.startDate.setMinutes(0),this.startDate.setSeconds(0),this.endDate.setMinutes(59),this.endDate.setSeconds(59))}},t.prototype.getRangeMinDate=function(){return void 0===this.startDate?this.min:this.startDate},t.prototype.getRangeMaxDate=function(){return void 0===this.endDate?this.max:this.endDate},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"options",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"currentValue",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"change",void 0),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"yearChange",void 0),r([n.ViewChild(s.MatSlider),i("design:type",Object)],t.prototype,"mySlider",void 0),t=r([n.Component({selector:"igo-time-filter-form",template:o(1007),styles:[o(1008)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<div *ngIf="style === \'calendar\' && type !==\'year\'">\r\n  <div *ngIf="!isRange" class="igo-col igo-col-100 igo-col-100-m">\r\n    <mat-form-field>\r\n      <mat-datetimepicker-toggle [for]="datetimePicker" matSuffix></mat-datetimepicker-toggle>\r\n      <mat-datetimepicker #datetimePicker type="{{type}}" openOnFocus="true" timeInterval="5"></mat-datetimepicker>\r\n      <input matInput autocomplete="false"\r\n        placeholder="{{\'igo.timeFilter.date\' | translate}}"\r\n        [matDatetimepicker]="datetimePicker"\r\n        [(ngModel)]="date"\r\n        [min]="min"\r\n        [max]="max"\r\n        readonly="readonly"\r\n        (dateChange)="handleDateChange($event)">\r\n    </mat-form-field>\r\n\r\n  </div>\r\n\r\n  <div *ngIf="isRange">\r\n    <div class="igo-col igo-col-100">\r\n      <mat-form-field>\r\n        <mat-datetimepicker-toggle [for]="minDatetimePicker" matSuffix></mat-datetimepicker-toggle>\r\n        <mat-datetimepicker #minDatetimePicker type="{{type}}" openOnFocus="true" timeInterval="5"></mat-datetimepicker>\r\n        <input matInput autocomplete="false"\r\n          placeholder="{{\'igo.timeFilter.startDate\' | translate}}"\r\n          [matDatetimepicker]="minDatetimePicker"\r\n          [(ngModel)]="startDate"\r\n          [min]="min"\r\n          [max]="getRangeMaxDate()"\r\n          readonly="readonly"\r\n          (input)="startDate"\r\n          (dateChange)="handleDateChange($event)">\r\n      </mat-form-field>\r\n    </div>\r\n\r\n    <div class="igo-col igo-col-100">\r\n      <mat-form-field>\r\n        <mat-datetimepicker-toggle [for]="maxDatetimePicker" matSuffix></mat-datetimepicker-toggle>\r\n        <mat-datetimepicker #maxDatetimePicker type="{{type}}" openOnFocus="true" timeInterval="5"></mat-datetimepicker>\r\n        <input matInput autocomplete="false"\r\n          placeholder="{{\'igo.timeFilter.endDate\' | translate}}"\r\n          [matDatetimepicker]="maxDatetimePicker"\r\n          [(ngModel)]="endDate"\r\n          [min]="getRangeMinDate()"\r\n          [max]="max"\r\n          readonly="readonly"\r\n          (dateChange)="handleDateChange($event)">\r\n      </mat-form-field>\r\n    </div>\r\n  </div>\r\n</div>\r\n\r\n<div *ngIf="style === \'calendar\' && type ===\'year\'">\r\n\r\n  <div *ngIf="!isRange" class="igo-col igo-col-100 igo-col-100-m">\r\n        <mat-form-field>\r\n            <mat-select placeholder="{{\'igo.timeFilter.date\' | translate}}" [(ngModel)]="year" (change)="handleYearChange($event)">\r\n                  <mat-option [value]="year" *ngFor="let year of listYears">{{year}}</mat-option>\r\n            </mat-select>\r\n        </mat-form-field>\r\n  </div>\r\n\r\n  <div *ngIf="isRange">\r\n    <div class="igo-col igo-col-100">\r\n        <mat-form-field>\r\n            <mat-select placeholder="{{\'igo.timeFilter.startDate\' | translate}}" [(ngModel)]="startYear" (change)="handleYearChange($event)">\r\n              <mat-option [value]="startYear" *ngFor="let startYear of startListYears">{{startYear}}</mat-option>\r\n            </mat-select>\r\n      </mat-form-field>\r\n    </div>\r\n\r\n    <div class="igo-col igo-col-100">\r\n    <mat-form-field>\r\n        <mat-select placeholder="{{\'igo.timeFilter.endDate\' | translate}}" [(ngModel)]="endYear" (change)="handleYearChange($event)">\r\n              <mat-option [value]="endYear" *ngFor="let endYear of endListYears">{{endYear}}</mat-option>\r\n        </mat-select>\r\n      </mat-form-field>\r\n    </div>\r\n  </div>\r\n\r\n</div>\r\n\r\n\r\n  <br>\r\n\r\n\r\n<div *ngIf="style === \'slider\'" class="igo-col igo-col-100 igo-col-100-m">\r\n  <mat-slider\r\n      id="time-slider"\r\n      tickInterval="auto"\r\n      step="{{step}}"\r\n      [min]="dateToNumber(min)"\r\n      [max]="dateToNumber(max)"\r\n      [value]="handleSliderValue()"\r\n      thumbLabel\r\n      (input)="handleSliderDateChange($event)"\r\n      (change)="handleSliderDateChange($event)">\r\n  </mat-slider>\r\n  <p class="date-below">{{handleSliderTooltip()}}</p>\r\n  <button mat-icon-button color="primary" (click)="playFilter($event)">\r\n   <mat-icon>{{playIcon}}</mat-icon>\r\n  </button>\r\n</div>\r\n'},function(t,e,o){var r=o(1009);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,".igo-layer-filters-container{padding-left:5px}mat-slider>>>div.mat-slider-thumb-label{width:32px;height:32px;margin:0 auto}mat-slider>>>span.mat-slider-thumb-label-text{font-size:8px}#time-slider{width:70%;margin:0 auto}@media only screen and (max-height:450px),only screen and (max-width:450px){#time-slider{width:60%;margin:0 auto}}#playFilterIcon{font-size:32px;cursor:pointer}.date-below{margin:0}mat-form-field{text-align:center}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.TimeFilterItemComponent=function(){function t(){}return Object.defineProperty(t.prototype,"datasource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!0,configurable:!0}),t.prototype.handleYearChange=function(t){this.datasource.filterByYear(t)},t.prototype.handleDateChange=function(t){this.datasource.filterByDate(t)},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"datasource",null),t=r([n.Component({selector:"igo-time-filter-item",template:o(1011),styles:[o(1012)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  <mat-icon\r\n    class="igo-chevron"\r\n    mat-list-avatar\r\n    igoCollapse\r\n    [target]="filters"\r\n    [collapsed]="false">\r\n  </mat-icon>\r\n  <h4 matLine>{{datasource.title}}</h4>\r\n</mat-list-item>\r\n\r\n<div #filters class="igo-datasource-filters-container">\r\n  <igo-time-filter-form\r\n    [options]="datasource.options.timeFilter"\r\n    [currentValue]="datasource.options.params.time"\r\n    (change)="handleDateChange($event)"\r\n    (yearChange)="handleYearChange($event)">\r\n  </igo-time-filter-form>\r\n</div>\r\n'},function(t,e,o){var r=o(1013);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}:host{overflow:hidden}.igo-datasource-filters-container{text-align:center;width:100%;display:inline-block}',""])},function(t,e){t.exports='<igo-list [navigation]="false" [selection]="false">\r\n  <ng-template ngFor let-datasource [ngForOf]="datasources | filterableDataSource: \'time\'">\r\n    <igo-time-filter-item igoListItem [datasource]="datasource"></igo-time-filter-item>\r\n  </ng-template>\r\n\r\n  <ng-content></ng-content>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(1016);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(14),c=o(311);e.TimeFilterListBindingDirective=function(){function t(t,e){this.mapService=e,this.component=t}return t.prototype.ngOnInit=function(){var t=this;this.component.datasources=[],this.layers$$=this.mapService.getMap().layers$.subscribe((function(e){t.component.datasources=e.map((function(t){return t.dataSource}))}))},t.prototype.ngOnDestroy=function(){this.layers$$.unsubscribe()},t=r([s.Directive({selector:"[igoTimeFilterListBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.TimeFilterListComponent,a.MapService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(38),a=o(125),c=o(6);e.OgcFilterFormComponent=function(){function t(t,e,o){for(var r in this.cdRef=t,this.wktService=e,this.languageService=o,this._currentFilter={},this.value="",this.color="primary",this.snrc="",this.ogcFilterWriter=new s.OgcFilterWriter,this.operators=this.ogcFilterWriter.operators,this.operators)this.operators.hasOwnProperty(r)&&(this.operators[r]=Object.assign({},this.operators[r],{alias:this.languageService.translate.instant("igo.operators."+r)}));this.igoSpatialSelectors=[{type:"fixedExtent",alias:this.languageService.translate.instant("igo.spatialSelector.fixedExtent")},{type:"snrc",alias:this.languageService.translate.instant("igo.spatialSelector.snrc")}]}return Object.defineProperty(t.prototype,"datasource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,this.cdRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentFilter",{get:function(){return this._currentFilter},set:function(t){this._currentFilter=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeFilters",{get:function(){return this.updateField(),this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(t){return!0===t.active}))},enumerable:!0,configurable:!0}),t.prototype.disableRefreshFilter=function(){this.datasource.options.disableRefreshFilter=!1},t.prototype.updateField=function(t){var e=this;void 0===t&&(t=!0),t||this.disableRefreshFilter(),this.fields=this.datasource.options.sourceFields.sort((function(t,e){return t.name<e.name?-1:t.name>e.name?1:0})),this.datasource.options.sourceFields.filter((function(t){return t.name===e.currentFilter.propertyName})).forEach((function(t){e.values=void 0!==t.values?t.values.sort():[]}))},t.prototype.toggleFilterState=function(t,e,o){this.updateField(),t.checked?this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(t){return t.filterid===e.filterid})).forEach((function(t){t[o]=!0})):this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(t){return t.filterid===e.filterid})).forEach((function(t){t[o]=!1})),this.disableRefreshFilter()},t.prototype.deleteFilter=function(t){this.datasource.options.ogcFilters.interfaceOgcFilters=this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(e){return e.filterid!==t.filterid})),this.disableRefreshFilter()},t.prototype.changeNumericProperty=function(t,e,o){this.changeProperty(t,e,parseFloat(o)),this.disableRefreshFilter()},t.prototype.changeProperty=function(t,e,o){this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(e){return e.filterid===t.filterid})).forEach((function(t){t[e]=o})),this.disableRefreshFilter()},t.prototype.changeGeometry=function(t,e){var o=this;void 0===e&&(e=void 0),this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(e){return e.filterid===t.filterid})).forEach((function(r){"snrc"===t.igoSpatialSelector?r.wkt_geometry=o.wktService.snrcWKT(e):"fixedExtent"===t.igoSpatialSelector&&(r.wkt_geometry=o.wktService.mapExtentToWKT())})),this.disableRefreshFilter()},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"datasource",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"currentFilter",null),t=r([n.Component({selector:"igo-ogc-filter-form",template:o(1021),styles:[o(1022)]}),i("design:paramtypes",[n.ChangeDetectorRef,a.WktService,c.LanguageService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(313);e.IgoWktModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.WktService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[],declarations:[]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(10),a=o(14);e.WktService=function(){function t(t){this.mapService=t}return t.prototype.mapExtentToWKT=function(t){void 0===t&&(t=this.mapService.getMap().projection);var e=s.proj.transformExtent(this.mapService.getMap().getExtent(),this.mapService.getMap().projection,t);return e=this.roundCoordinateArray(e,t,0),(new s.format.WKT).writeGeometry(s.geom.Polygon.fromExtent(e))},t.prototype.roundCoordinateArray=function(t,e,o){return void 0===o&&(o=0),-1!==["ft","m","us-ft"].indexOf(s.proj.get(e).getUnits())&&(t=this.roundArray(t)),t},t.prototype.roundArray=function(t,e){void 0===e&&(e=0);for(var o=0;o<t.length;)t[o]=t[o].toFixed(e),o++;return t},t.prototype.snrcWKT=function(t,e){void 0===e&&(e="EPSG:3857"),t=t.toLowerCase();var o=[["m","n","o","p"],["l","k","j","i"],["e","f","g","h"],["d","c","b","a"]],r=[["13","14","15","16"],["12","11","10","09"],["05","06","07","08"],["04","03","02","01"]],i=!1,n=!1,a=!1;if(/\d{2,3}[a-l][0,1][0-9]/gi.test(t)?a=!0:/\d{2,3}[a-l]/gi.test(t)?n=!0:/\d{2,3}/gi.test(t)&&(i=!0),i?t+="a01":n&&(t+="01"),/\d{2,3}[a-l][0,1][0-9]/gi.test(t)){var c=t.split(/(?=[a-l])/gi),u=c[0],p=c[1][0],l=c[1].split(p)[1],h=1;3===u.length&&(h=2);var d=u.substring(0,h),f=u.substring(h),y=0,m=0,g=0,v=0;o.forEach((function(t){-1!==t.indexOf(p)&&(m=o.indexOf(t),y=t.indexOf(p))})),r.forEach((function(t){-1!==t.indexOf(l)&&(v=r.indexOf(t),g=t.indexOf(l))}));var b=0,_=0,w=0,M=0,S=8,x=4;n?(b=2*y,_=1*m,w=0,M=0,S=2,x=1):a&&(b=2*y,_=1*m,w=.5*g,M=.25*v,S=.5,x=.25);var L={ul:[{1:{from:-56,to:-64},2:{from:-64,to:-72},3:{from:-72,to:-80},4:{from:-80,to:-88},5:{from:-88,to:-96},6:{from:-96,to:-104},7:{from:-104,to:-112},8:{from:-112,to:-120},9:{from:-120,to:-128},10:{from:-128,to:-136}}[d].to+b+w,{1:{from:44,to:48},2:{from:48,to:52},3:{from:52,to:56},4:{from:56,to:60},5:{from:60,to:64},6:{from:64,to:68},7:{from:68,to:72},8:{from:72,to:76},9:{from:76,to:-128}}[f].to-_-M]};return L.lr=[L.ul[0]+S,L.ul[1]-x],L.ur=[L.ul[0],L.ul[1]-x],L.ll=[L.ul[0]+S,L.ul[1]],L.ul=s.proj.transform([L.ul[0],L.ul[1]],"EPSG:4326",e),L.lr=s.proj.transform([L.lr[0],L.lr[1]],"EPSG:4326",e),L.ur=s.proj.transform([L.ur[0],L.ur[1]],"EPSG:4326",e),L.ll=s.proj.transform([L.ll[0],L.ll[1]],"EPSG:4326",e),L.ul=this.roundCoordinateArray(L.ul,e,0),L.lr=this.roundCoordinateArray(L.lr,e,0),L.ur=this.roundCoordinateArray(L.ur,e,0),L.ll=this.roundCoordinateArray(L.ll,e,0),"POLYGON(("+[L.ul.join(" "),L.ur.join(" "),L.lr.join(" "),L.ll.join(" "),L.ul.join(" ")].join(",")+"))"}},t=r([n.Injectable(),i("design:paramtypes",[a.MapService])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n\r\n  <div class="igo-col igo-col-90 igo-col-100-m">\r\n    <mat-select class="logical" [disabled]="!currentFilter.active" (change)="disableRefreshFilter()" [(ngModel)]="currentFilter.parentLogical"\r\n      *ngIf="activeFilters.indexOf(currentFilter) !== 0 && currentFilter.active===true">\r\n      <mat-option value="And">{{\'igo.operators.And\' | translate}}</mat-option>\r\n      <mat-option value="Or">{{\'igo.operators.Or\' | translate}}</mat-option>\r\n    </mat-select>\r\n  </div>\r\n  \x3c!-- NON SPATIAL --\x3e\r\n  <div class="igo-col igo-col-90 igo-col-100-m" *ngIf="(currentFilter.operator !== \'Intersects\' && currentFilter.operator !== \'Contains\' && currentFilter.operator !== \'Within\')">\r\n    <span *ngIf="fields.length > 0 && fields[0].name !== \'\'">\r\n      <mat-select [disabled]="!currentFilter.active" *ngIf="[\'Contains\',\'Intersects\',\'Within\'].indexOf(currentFilter.operator) === -1"\r\n        [(ngModel)]="currentFilter.propertyName" tooltip-position="below" matTooltipShowDelay="500" [matTooltip]="\'igo.sourceFields.selectField\' | translate"\r\n        (change)="updateField(false)">\r\n        <mat-option *ngFor="let field of fields" [value]="field.name">{{field.alias}}</mat-option>\r\n      </mat-select>\r\n    </span>\r\n    <span *ngIf="fields.length === 1 && fields[0].name === \'\'">\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput #fieldPerUser (change)="changeProperty(currentFilter,\'propertyName\',fieldPerUser.value)"\r\n          (blur)="changeProperty(currentFilter,\'propertyName\',fieldPerUser.value)" [(ngModel)]="currentFilter.propertyName">\r\n\r\n        <button mat-button *ngIf="currentFilter.propertyName" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.propertyName=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n\r\n    </span>\r\n  </div>\r\n\r\n  <div class="igo-col igo-col-90 igo-col-100-m" *ngIf="(currentFilter.operator !== \'Intersects\' && currentFilter.operator !== \'Contains\' && currentFilter.operator !== \'Within\')">\r\n    <mat-select [disabled]="!currentFilter.active" [(ngModel)]="currentFilter.operator" (change)="disableRefreshFilter()">\r\n      <mat-option *ngFor="let operator of operators | keyvalue" [value]="operator.key">{{operator.value.alias}}</mat-option>\r\n    </mat-select>\r\n  </div>\r\n\r\n  <div class="igo-col igo-col-90 igo-col-100-m" *ngIf="(currentFilter.operator !== \'Intersects\' && currentFilter.operator !== \'Contains\' && currentFilter.operator !== \'Within\')">\r\n\r\n    \x3c!-- PropertyIsEqualTo --\x3e\r\n    <span *ngIf="currentFilter.operator === \'PropertyIsEqualTo\' || currentFilter.operator === \'PropertyIsNotEqualTo\'">\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #expressionequalto (change)="changeProperty(currentFilter,\'expression\',expressionequalto.value)"\r\n          (blur)="changeProperty(currentFilter,\'expression\',expressionequalto.value)" [(ngModel)]="currentFilter.expression">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values" [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.expression" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.expression=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n\r\n    </span>\r\n    \x3c!-- PropertyIsEqualTo  --\x3e\r\n\r\n\r\n    \x3c!-- PropertyIsLike  --\x3e\r\n    <span *ngIf="currentFilter.operator === \'PropertyIsLike\'">\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #pattern (change)="changeProperty(currentFilter,\'pattern\',pattern.value)"\r\n          (blur)="changeProperty(currentFilter,\'pattern\',pattern.value)" [(ngModel)]="currentFilter.pattern">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values" [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.pattern" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.pattern=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n\r\n    </span>\r\n    \x3c!-- PropertyIsLike  --\x3e\r\n\r\n    \x3c!-- PropertyIsNull  --\x3e\r\n    <span *ngIf="currentFilter.operator === \'PropertyIsNull\'"></span>\r\n    \x3c!-- PropertyIsNull  --\x3e\r\n\r\n    \x3c!-- PropertyIs_Than  --\x3e\r\n    <span *ngIf="currentFilter.operator === \'PropertyIsGreaterThan\' || currentFilter.operator === \'PropertyIsGreaterThanOrEqualTo\' || currentFilter.operator === \'PropertyIsLessThan\' || currentFilter.operator === \'PropertyIsLessThanOrEqualTo\'">\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #expressionthan type="number" (change)="changeNumericProperty(currentFilter,\'expression\',expressionthan.value)"\r\n          (blur)="changeNumericProperty(currentFilter,\'expression\',expressionthan.value)" [(ngModel)]="currentFilter.expression">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values" [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.expression" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.expression=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n    </span>\r\n    \x3c!-- PropertyIs_Than  --\x3e\r\n\r\n\r\n    \x3c!-- PropertyIsBetween --\x3e\r\n    <span *ngIf="currentFilter.operator === \'PropertyIsBetween\'">\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #lowerBoundary type="number" (change)="changeNumericProperty(currentFilter,\'lowerBoundary\',lowerBoundary.value)"\r\n          (blur)="changeNumericProperty(currentFilter,\'lowerBoundary\',lowerBoundary.value)" [(ngModel)]="currentFilter.lowerBoundary">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values" [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.lowerBoundary" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.lowerBoundary=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #upperBoundary type="number" (change)="changeNumericProperty(currentFilter,\'upperBoundary\',upperBoundary.value)"\r\n          (blur)="changeNumericProperty(currentFilter,\'upperBoundary\',upperBoundary.value)" [(ngModel)]="currentFilter.upperBoundary">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values" [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.upperBoundary" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.upperBoundary=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n\r\n    </span>\r\n    \x3c!-- PropertyIsBetween  --\x3e\r\n\r\n\r\n    \x3c!-- During --\x3e\r\n    <span *ngIf="currentFilter.operator === \'During\'">\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #begin (change)="changeProperty(currentFilter,\'begin\',begin.value)"\r\n          (blur)="changeProperty(currentFilter,\'begin\',begin.value)" [(ngModel)]="currentFilter.begin">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values " [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.begin" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.begin=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n\r\n      <mat-form-field>\r\n        <input [disabled]="!currentFilter.active" matInput [matAutocomplete]="auto" #end (change)="changeProperty(currentFilter,\'end\',end.value)"\r\n          (blur)="changeProperty(currentFilter,\'end\',end.value)" [(ngModel)]="currentFilter.end">\r\n        <mat-autocomplete #auto="matAutocomplete">\r\n          <mat-option *ngFor="let value of values" [value]="value">\r\n            <span>{{ value }}</span>\r\n          </mat-option>\r\n        </mat-autocomplete>\r\n        <button mat-button *ngIf="currentFilter.end" matSuffix mat-icon-button aria-label="Clear" (click)="currentFilter.end=\'\'">\r\n          <mat-icon>close</mat-icon>\r\n        </button>\r\n      </mat-form-field>\r\n\r\n\r\n    </span>\r\n    \x3c!-- During  --\x3e\r\n  </div>\r\n  \x3c!-- NON SPATIAL --\x3e\r\n\r\n\r\n  \x3c!-- PropertySpatial  --\x3e\r\n  <div class="igo-col igo-col-90 igo-col-100-m" *ngIf="(currentFilter.operator === \'Intersects\' || currentFilter.operator === \'Contains\' || currentFilter.operator === \'Within\')">\r\n    <mat-select [disabled]="!currentFilter.active" [(ngModel)]="currentFilter.operator" (change)="disableRefreshFilter()">\r\n      <mat-option *ngFor="let operator of operators | keyvalue" [value]="operator.key">{{operator.value.alias}}</mat-option>\r\n    </mat-select>\r\n  </div>\r\n  <div class="igo-col igo-col-90 igo-col-100-m" *ngIf="(currentFilter.operator === \'Intersects\' || currentFilter.operator === \'Contains\' || currentFilter.operator === \'Within\')">\r\n    <mat-select [disabled]="!currentFilter.active" [(ngModel)]="currentFilter.igoSpatialSelector" (change)="changeGeometry(currentFilter,value)">\r\n      <mat-option *ngFor="let igoSpatialSelector of igoSpatialSelectors" [value]="igoSpatialSelector.type">{{igoSpatialSelector.alias}}</mat-option>\r\n    </mat-select>\r\n  </div>\r\n\r\n  <div class="igo-col igo-col-90 igo-col-100-m" *ngIf="(currentFilter.operator === \'Intersects\' || currentFilter.operator === \'Contains\' || currentFilter.operator === \'Within\')">\r\n    <button mat-button [disabled]="!currentFilter.active" *ngIf="currentFilter.igoSpatialSelector === \'fixedExtent\'"\r\n      matSuffix mat-icon-button aria-label="Clear" (click)="changeGeometry(currentFilter,value)" tooltip-position="below" matTooltipShowDelay="500"\r\n      [matTooltip]="\'igo.spatialSelector.btnSetExtent\' | translate">\r\n      <mat-icon>\r\n        zoom_out_map\r\n      </mat-icon>\r\n    </button>\r\n\r\n\r\n    <mat-form-field *ngIf="currentFilter.igoSpatialSelector === \'snrc\'">\r\n      <input matInput #htmlSnrc (change)="changeGeometry(currentFilter,htmlSnrc.value)" (blur)="changeGeometry(currentFilter,htmlSnrc.value)"\r\n        [(ngModel)]="snrc">\r\n      <button mat-button *ngIf="snrc" matSuffix mat-icon-button aria-label="Clear" (click)="snrc=\'\'">\r\n        <mat-icon>close</mat-icon>\r\n      </button>\r\n    </mat-form-field>\r\n  </div>\r\n  \x3c!-- PropertySpatial  --\x3e\r\n\r\n  <div class="igo-col igo-col-100 igo-col-100-m">\r\n    <div class="igo-layer-button-group">\r\n      <mat-slide-toggle class="example-margin" (change)="toggleFilterState($event,currentFilter,\'active\')" tooltip-position="below"\r\n        matTooltipShowDelay="500" [matTooltip]="\'igo.filter.toggleFilterState\' | translate" [color]="color" [checked]="currentFilter.active"\r\n        [disabled]="disabled">\r\n      </mat-slide-toggle>\r\n      <button mat-icon-button tooltip-position="below" matTooltipShowDelay="500" [matTooltip]="\'igo.filter.removeFilter\' | translate"\r\n        color="warn" (click)="deleteFilter(currentFilter)">\r\n        <mat-icon>delete</mat-icon>\r\n      </button>\r\n    </div>\r\n  </div>\r\n  <mat-divider></mat-divider> \r\n</mat-list-item>\r\n'},function(t,e,o){var r=o(1023);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}:host{overflow:hidden}.mat-list-item{height:auto}.mat-list-item>>>div.mat-list-item-content{display:inline-table}.logical{font-weight:700}input,mat-select{margin-top:10px;text-align:center}.igo-layer-actions-container{width:100%;display:inline-block}.igo-layer-actions-container>div{text-align:center}.igo-layer-button-group{float:center;padding:0 3px}@media only screen and (max-height:450px),only screen and (max-width:450px){.igo-layer-button-group{float:none}}mat-icon.disabled{color:rgba(0,0,0,.38)}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.OgcFilterableFormComponent=function(){function t(){}return Object.defineProperty(t.prototype,"datasource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"datasource",null),t=r([n.Component({selector:"igo-ogc-filterable-form",template:o(1025),styles:[o(1026)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<igo-list [navigation]="false" [selection]="true">\r\n  <ng-template ngFor let-currentFilter [ngForOf]="this.datasource.options.ogcFilters.interfaceOgcFilters">\r\n    <igo-ogc-filter-form igoListItem [color]="color" [currentFilter]="currentFilter" [datasource]="datasource">\r\n    </igo-ogc-filter-form>\r\n  </ng-template>\r\n  <ng-content></ng-content>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(1027);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(14),a=o(126);e.OgcFilterableItemComponent=function(){function t(t,e){this.mapService=t,this.downloadService=e,this.color="primary",this.defaultLogicalParent="And"}return Object.defineProperty(t.prototype,"datasource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ogcFiltersHeaderShown",{get:function(){return this._ogcFiltersHeaderShown},set:function(t){this._ogcFiltersHeaderShown=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.layers$$=this.mapService.getMap().layers$.subscribe((function(e){t.layers=e.filter((function(e){return e.dataSource.options.id?e.dataSource.options.id===t.datasource.options.id:e.dataSource.id===t.datasource.id}))})),this.lastRunOgcFilter=JSON.parse(JSON.stringify(this.datasource.options.ogcFilters.interfaceOgcFilters)),this.datasource.options.disableRefreshFilter=!0},t.prototype.ngOnDestroy=function(){this.layers$$.unsubscribe()},t.prototype.addFilterToSequence=function(){var t=this.datasource.options.ogcFilters.interfaceOgcFilters,e=0===t.length?0:t[t.length-1].level,o="";this.datasource.options.sourceFields.length>0&&(o=void 0===this.datasource.options.sourceFields[0].name?"":this.datasource.options.sourceFields[0].name);var r=void 0;this.datasource.options.fieldNameGeometry?r=this.datasource.options.fieldNameGeometry:this.datasource.options.wfsSource&&this.datasource.options.wfsSource.fieldNameGeometry&&(r=this.datasource.options.wfsSource.fieldNameGeometry),t.push(this.datasource.ogcFilterWriter.addInterfaceFilter({propertyName:o,operator:"PropertyIsEqualTo",active:0===t.length,igoSpatialSelector:"fixedExtent"},r,e,this.defaultLogicalParent)),this.datasource.options.ogcFilters.interfaceOgcFilters=t},t.prototype.openDownload=function(){this.downloadService.open(this.layers[0])},t.prototype.refreshFilters=function(){var t=this.datasource.options.ogcFilters.interfaceOgcFilters.filter((function(t){return!0===t.active}));if(t.length>1&&(t[0].parentLogical=t[1].parentLogical),JSON.stringify(this.lastRunOgcFilter)!==JSON.stringify(t)){if("wfs"===this.layers[0].dataSource.options.type)this.layers[0].dataSource.options.ogcFilters.filters=this.layers[0].dataSource.ogcFilterWriter.rebuiltIgoOgcFilterObjectFromSequence(t),this.layers[0].dataSource.ol.clear();else if("wms"===this.layers[0].dataSource.options.type&&this.layers[0].dataSource.options.isOgcFilterable){var e="";t.length>=1&&(this.layers[0].dataSource.options.ogcFilters.filters=this.layers[0].dataSource.ogcFilterWriter.rebuiltIgoOgcFilterObjectFromSequence(t),e=this.layers[0].dataSource.ogcFilterWriter.buildFilter(this.layers[0].dataSource.options.ogcFilters.filters,void 0,void 0,this.layers[0].dataSource.options.fieldNameGeometry)),this.layers[0].dataSource.filterByOgc(e),this.datasource.options.ogcFiltered=0!==t.length}this.lastRunOgcFilter=JSON.parse(JSON.stringify(t)),this.datasource.options.disableRefreshFilter=!0}else this.datasource.options.disableRefreshFilter=!0},r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"datasource",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"ogcFiltersHeaderShown",null),t=r([n.Component({selector:"igo-ogc-filterable-item",template:o(1031),styles:[o(1032)]}),i("design:paramtypes",[s.MapService,a.DownloadService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(316);e.IgoDownloadModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.DownloadService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[],declarations:[]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(10),a=o(6),c=o(38);e.DownloadService=function(){function t(t,e){this.messageService=t,this.languageService=e,this.ogcFilterWriter=new c.OgcFilterWriter}return t.prototype.open=function(t){var e=this.languageService.translate,o=e.instant("igo.download.title");if(this.messageService.success(e.instant("igo.download.start"),o),Object.keys(t.dataSource.options.download).length>0)if(t.dataSource.options.download.dynamicUrl&&void 0===t.dataSource.options.download.url){var r,i=void 0===(r=t.dataSource.options.wfsSource&&Object.keys(t.dataSource.options.wfsSource).length>0?t.dataSource.options.wfsSource:t.dataSource.options).outputFormatDownload?"outputformat="+r.outputFormat:"outputformat="+r.outputFormatDownload,n=t.dataSource.options.download.dynamicUrl.replace(/&?outputformat=[^&]*/gi,"").replace(/&?filter=[^&]*/gi,"").replace(/&?bbox=[^&]*/gi,""),a=this.ogcFilterWriter.buildFilter(t.dataSource.options.ogcFilters.filters,t.map.getExtent(),new s.proj.Projection({code:t.map.projection}),r.fieldNameGeometry);window.open(n+"&"+a+"&"+i,"_blank")}else t.dataSource.options.download&&window.open(t.dataSource.options.download.url,"_blank")},t=r([n.Injectable(),i("design:paramtypes",[a.MessageService,a.LanguageService])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  \r\n  <mat-icon *ngIf="ogcFiltersHeaderShown" class="igo-chevron" mat-list-avatar igoCollapse [target]="ogcFilters" [collapsed]="false">\r\n  </mat-icon>\r\n  <h4 *ngIf="ogcFiltersHeaderShown" matLine [matTooltip]="datasource.title" matTooltipShowDelay="500">{{datasource.title}}</h4>\r\n  <h4 *ngIf="!ogcFiltersHeaderShown" matLine></h4>\r\n\r\n  \x3c!-- <span *ngIf="!datasource.options[\'disableRefreshFilter\'] && layers[0].visible"> --\x3e\r\n    <button mat-icon-button tooltip-position="below" matTooltipShowDelay="500" [matTooltip]="\'igo.filter.refreshFilters\' | translate"\r\n    [disabled]="!layers[0].visible || datasource.options[\'disableRefreshFilter\'] || !layers[0].isInResolutionsRange"\r\n    [color]="color" (click)="refreshFilters()">\r\n      <mat-icon>\r\n        refresh\r\n      </mat-icon>\r\n    </button>\r\n  \x3c!-- </span> --\x3e\r\n\r\n  <span *ngIf="datasource.options.download && ogcFiltersHeaderShown">\r\n    <button mat-icon-button tooltip-position="below" matTooltipShowDelay="500" [matTooltip]="\'igo.download.action\' | translate"\r\n      [color]="color" (click)="openDownload()">\r\n      <mat-icon>file_download</mat-icon>\r\n    </button>\r\n  </span>\r\n  <button [disabled]="datasource.options[\'sourceFields\'].length === 0" mat-icon-button tooltip-position="below" matTooltipShowDelay="500"\r\n    [matTooltip]="\'igo.filter.addFilter\' | translate" [color]="color" (click)="addFilterToSequence()">\r\n    <mat-icon>\r\n      add\r\n    </mat-icon>\r\n  </button>\r\n</mat-list-item>\r\n\r\n<div #ogcFilters class="igo-datasource-filters-container">\r\n  <igo-ogc-filterable-form [datasource]="datasource">\r\n  </igo-ogc-filterable-form>\r\n</div>\r\n'},function(t,e,o){var r=o(1033);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}:host{overflow:hidden}.igo-datasource-filters-container{text-align:center;width:100%;display:inline-block}mat-icon.disabled{color:rgba(0,0,0,.38)}',""])},function(t,e){t.exports='<igo-list [navigation]="false" [selection]="false">\r\n  <ng-template ngFor let-datasource [ngForOf]="datasources | filterableDataSource: \'ogc\'">\r\n    <igo-ogc-filterable-item igoListItem [ogcFiltersHeaderShown]="true" [datasource]="datasource"></igo-ogc-filterable-item>\r\n  </ng-template>\r\n  <ng-content></ng-content>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(1036);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(14),c=o(318);e.OgcFilterableListBindingDirective=function(){function t(t,e){this.mapService=e,this.component=t}return t.prototype.ngOnInit=function(){var t=this;this.component.datasources=[],this.layers$$=this.mapService.getMap().layers$.subscribe((function(e){t.component.datasources=e.map((function(t){return t.dataSource}))}))},t.prototype.ngOnDestroy=function(){this.layers$$.unsubscribe()},t=r([s.Directive({selector:"[igoOgcFilterableListBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.OgcFilterableListComponent,a.MapService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(10),a=o(119),c=o(22),u=o(127),p=o(126),l=o(33);e.LayerItemComponent=function(){function t(t,e,o,r,i){this.cdRef=t,this.mapService=e,this.featureService=o,this.metadataService=r,this.downloadService=i,this._edition=!1,this._color="primary",this._toggleLegendOnVisibilityChange=!1,this._ogcFilterInLayers=!1,this.legendLoaded=!1,this.ogcFilterCollapse=!1}return Object.defineProperty(t.prototype,"layer",{get:function(){return this._layer},set:function(t){this._layer=t,this.subscribeResolutionObserver()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"edition",{get:function(){return this._edition},set:function(t){this._edition=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toggleLegendOnVisibilityChange",{get:function(){return this._toggleLegendOnVisibilityChange},set:function(t){this._toggleLegendOnVisibilityChange=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ogcFilterInLayerItem",{get:function(){return this._ogcFilterInLayers},set:function(t){this._ogcFilterInLayers=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"opacity",{get:function(){return 100*this.layer.opacity},set:function(t){this.layer.opacity=t/100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.layer.dataSource.options.id?this.layer.dataSource.options.id:this.layer.id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ogcFilterableOptions",{get:function(){return this.layer.dataSource.options},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.resolution$$.unsubscribe()},t.prototype.toggleLegend=function(t){this.layer.collapsed=t,this.legendLoaded=!t||this.legendLoaded},t.prototype.toggleVisibility=function(){this.layer.visible=!this.layer.visible,this.toggleLegendOnVisibilityChange&&this.toggleLegend(!this.layer.visible)},t.prototype.toggleOgcFilter=function(){this.layer.isInResolutionsRange&&(this.ogcFilterCollapse=!this.ogcFilterCollapse)},t.prototype.openMetadata=function(t){this.metadataService.open(t)},t.prototype.openDownload=function(t){this.downloadService.open(t)},t.prototype.showFeaturesList=function(t){this.featureService.unfocusFeature(),this.featureService.unselectFeature();var e=this.mapService.getMap(),o=t.dataSource.ol.getFeatures(),r=new s.format.GeoJSON,i=0;this.featureService.setFeatures(JSON.parse(r.writeFeatures(o,{dataProjection:"EPSG:4326",featureProjection:e.projection})).features.map((function(e){return Object.assign({},e,{source:t.dataSource.title,id:t.dataSource.title+String(i++)})})))},t.prototype.isVectorLayer=function(t){return t instanceof l.VectorLayer},t.prototype.subscribeResolutionObserver=function(){var t=this;this.layer&&this.layer.map&&(this.resolution$$=this.layer.map.resolution$.subscribe((function(e){t.cdRef.detectChanges()})))},r([n.Input(),i("design:type",l.Layer),i("design:paramtypes",[l.Layer])],t.prototype,"layer",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"edition",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"color",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"toggleLegendOnVisibilityChange",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"ogcFilterInLayerItem",null),t=r([n.Component({selector:"igo-layer-item",template:o(1041),styles:[o(1042)],changeDetection:n.ChangeDetectionStrategy.Default}),i("design:paramtypes",[n.ChangeDetectorRef,a.MapService,c.FeatureService,u.MetadataService,p.DownloadService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(320);e.IgoMetadataModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.MetadataService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[],declarations:[]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.MetadataService=function(){function t(){}return t.prototype.open=function(t){t.extern&&window.open(t.url,"_blank")},t=r([n.Injectable(),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  <mat-icon\r\n    class="igo-chevron"\r\n    mat-list-avatar\r\n    igoCollapse\r\n    [target]="legend"\r\n    [collapsed]="layer.collapsed"\r\n    (toggle)="toggleLegend($event)">\r\n  </mat-icon>\r\n  <h4 matLine [matTooltip]="layer.title" matTooltipShowDelay="500">{{layer.title}}</h4>\r\n\r\n  <mat-checkbox\r\n    (change)="toggleVisibility()"\r\n    [checked] ="layer.visible">\r\n  </mat-checkbox>\r\n  \x3c!--原本的開關圖層按鈕--\x3e\r\n  \x3c!--<button--\x3e\r\n  \x3c!--mat-icon-button--\x3e\r\n  \x3c!--collapsibleButton--\x3e\r\n  \x3c!--tooltip-position="below"--\x3e\r\n  \x3c!--matTooltipShowDelay="500"--\x3e\r\n  \x3c!--[matTooltip]="layer.visible ?--\x3e\r\n  \x3c!--(\'igo.layer.hideLayer\' | translate) :--\x3e\r\n  \x3c!--(\'igo.layer.showLayer\' | translate)"--\x3e\r\n  \x3c!--[color]="layer.visible ? color : \'default\'"--\x3e\r\n  \x3c!--(click)="toggleVisibility()">--\x3e\r\n  \x3c!--<mat-icon--\x3e\r\n  \x3c!--[ngClass]=\'{disabled: !layer.isInResolutionsRange}\'>--\x3e\r\n  \x3c!--<ng-container *ngIf="layer.visible">--\x3e\r\n  \x3c!--visibility--\x3e\r\n  \x3c!--</ng-container>--\x3e\r\n  \x3c!--<ng-container *ngIf="!layer.visible">--\x3e\r\n  \x3c!--visibility_off--\x3e\r\n  \x3c!--</ng-container>--\x3e\r\n  \x3c!--</mat-icon>--\x3e\r\n  \x3c!--</button>--\x3e\r\n  \x3c!--透明度下拉button--\x3e\r\n  \x3c!--<button--\x3e\r\n  \x3c!--mat-icon-button--\x3e\r\n  \x3c!--igoCollapse--\x3e\r\n  \x3c!--[color]="color"--\x3e\r\n  \x3c!--[target]="actions"--\x3e\r\n  \x3c!--[collapsed]="true">--\x3e\r\n  \x3c!--<mat-icon>more_horiz</mat-icon>--\x3e\r\n  \x3c!--</button>--\x3e\r\n</mat-list-item>\r\n\r\n<div #actions class="igo-layer-actions-container">\r\n  <div class="igo-col igo-col-100 igo-col-100-m">\r\n    <mat-slider\r\n      id="opacity-slider"\r\n      thumbLabel\r\n      tickInterval="5"\r\n      step="5"\r\n      [min]="0"\r\n      [max]="100"\r\n      [(ngModel)]="opacity"\r\n      [matTooltip]="\'igo.layer.opacity\' | translate"\r\n      matTooltipShowDelay="500"\r\n      tooltip-position="below">\r\n    </mat-slider>\r\n  </div>\r\n\r\n  <div class="igo-col igo-col-100 igo-col-100-m">\r\n    <div class="igo-layer-button-group">\r\n        <button *ngIf="ogcFilterableOptions.isOgcFilterable\r\n        && ogcFilterableOptions.ogcFilters.filtersAreEditable && ogcFilterInLayerItem"\r\n          mat-icon-button\r\n          collapsibleButton\r\n          tooltip-position="below"\r\n          matTooltipShowDelay="500"\r\n          [matTooltip]="\'igo.ogcFilter\' | translate"\r\n          [color]="color"\r\n          (click)="toggleOgcFilter()">\r\n          <mat-icon\r\n          [ngClass]=\'{disabled: !layer.isInResolutionsRange}\'>\r\n          filter_list</mat-icon>\r\n        </button>\r\n      <button\r\n        *ngIf="isVectorLayer(layer)"\r\n        mat-icon-button\r\n        tooltip-position="below"\r\n        matTooltipShowDelay="500"\r\n        [matTooltip]="\'igo.layer.showFeaturesList\' | translate"\r\n        [color]="color"\r\n        (click)="showFeaturesList(layer)">\r\n        <mat-icon>list</mat-icon>\r\n      </button>\r\n\r\n      <button\r\n        *ngIf="layer.dataSource.options.metadata && layer.dataSource.options.metadata.url"\r\n        mat-icon-button\r\n        tooltip-position="below"\r\n        matTooltipShowDelay="500"\r\n        [matTooltip]="\'igo.layer.showMetadata\' | translate"\r\n        [color]="color"\r\n        (click)="openMetadata(layer.dataSource.options.metadata)">\r\n        <mat-icon>info_outline</mat-icon>\r\n      </button>\r\n\r\n      <button\r\n      *ngIf="layer.dataSource.options.download && (layer.dataSource.options.download[\'dynamicUrl\'] || layer.dataSource.options.download[\'url\']) "\r\n      mat-icon-button\r\n      tooltip-position="below"\r\n      matTooltipShowDelay="500"\r\n      [matTooltip]="\'igo.download.action\' | translate"\r\n      [color]="color"\r\n      (click)="openDownload(layer)">\r\n      <mat-icon>file_download</mat-icon>\r\n    </button>\r\n\r\n      <button\r\n        mat-icon-button\r\n        tooltip-position="below"\r\n        matTooltipShowDelay="500"\r\n        [matTooltip]="\'igo.layer.raiseLayer\' | translate"\r\n        [color]="color"\r\n        (click)="layer.map.raiseLayer(layer)">\r\n        <mat-icon>arrow_upward</mat-icon>\r\n      </button>\r\n\r\n      <button\r\n        mat-icon-button\r\n        tooltip-position="below"\r\n        matTooltipShowDelay="500"\r\n        [matTooltip]="\'igo.layer.lowerLayer\' | translate"\r\n        [color]="color"\r\n        (click)="layer.map.lowerLayer(layer)">\r\n        <mat-icon>arrow_downward</mat-icon>\r\n      </button>\r\n\r\n      <button\r\n        mat-icon-button\r\n        tooltip-position="below"\r\n        matTooltipShowDelay="500"\r\n        [matTooltip]="\'igo.layer.removeLayer\' | translate"\r\n        color="warn"\r\n        (click)="layer.map.removeLayer(layer)">\r\n        <mat-icon>delete</mat-icon>\r\n      </button>\r\n\r\n      <ng-content select="[igoLayerAction]"></ng-content>\r\n    </div>\r\n  </div>\r\n  <div #ogcFilter class="igo-layer-actions-container">\r\n    <igo-ogc-filterable-item *ngIf="ogcFilterCollapse && ogcFilterableOptions.isOgcFilterable" igoListItem\r\n    [ogcFiltersHeaderShown]="false"\r\n    [datasource]="layer.dataSource"></igo-ogc-filterable-item>\r\n  </div>\r\n</div>\r\n\r\n<div #legend class="igo-layer-legend-container">\r\n  <igo-layer-legend *ngIf="layer.dataSource.getLegend()" [layer]="layer"></igo-layer-legend>\r\n</div>\r\n'},function(t,e,o){var r=o(1043);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host>>>.mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}.igo-collapsed{display:none!important}[igocollapse].igo-chevron:after{content:"expand_less"}[igocollapse].igo-chevron,[igocollapse].igo-chevron:after{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse].igo-chevron{width:auto;height:auto}[igocollapse].igo-chevron.collapsed{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transition:.3s ease-in-out;-moz-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}[igocollapse]:hover{cursor:pointer}:host{overflow:hidden}.igo-layer-actions-container,.igo-layer-legend-container{width:100%;display:inline-block}.igo-layer-actions-container{display:none}.igo-layer-actions-container>div{text-align:center}.igo-layer-legend-container{padding-left:18px}#opacity-slider{width:100%}@media only screen and (max-height:450px),only screen and (max-width:450px){#opacity-slider{width:70%}}.igo-layer-button-group{float:right;padding:0 3px}@media only screen and (max-height:450px),only screen and (max-width:450px){.igo-layer-button-group{float:none}}mat-icon.disabled{color:rgba(0,0,0,.38)}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(33);e.LayerLegendComponent=function(){function t(){}return Object.defineProperty(t.prototype,"layer",{get:function(){return this._layer},set:function(t){this._layer=t,this._legend=t.dataSource.getLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"legend",{get:function(){return this._legend&&!1===this._legend.display?[]:this._legend},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",s.Layer),i("design:paramtypes",[s.Layer])],t.prototype,"layer",null),t=r([n.Component({selector:"igo-layer-legend",template:o(1045),styles:[o(1046)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<small *ngIf="legend.length === 0">\r\n  {{\'igo.layer.noLegendText\' | translate}}\r\n</small>\r\n\r\n<ng-template ngFor let-item [ngForOf]="legend">\r\n  <mat-list-item *ngIf="item.title">\r\n    <mat-icon\r\n      id="legend-toggle"\r\n      class="igo-chevron"\r\n      mat-list-avatar\r\n      igoCollapse\r\n      [target]="legend"\r\n      [collapsed]="false">\r\n    </mat-icon>\r\n    <h4 matLine>{{item.title}}</h4>\r\n  </mat-list-item>\r\n\r\n  <div  #legend class="igo-layer-legend" [ngClass]="{\'with-title\': item.title}">\r\n    <img\r\n      *ngIf="item.url"\r\n      src="{{(item.url | secureImage) | async}}"\r\n      alt="{{\'igo.layer.loadingLegendText\' | translate}}">\r\n    <div\r\n      [ngStyle]="item.style"\r\n      [innerHTML]="item.html"\r\n      *ngIf="item.html">\r\n    </div>\r\n  </div>\r\n</ng-template>\r\n'},function(t,e,o){var r=o(1047);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"img{max-width:100%}.igo-layer-legend.with-title{padding-left:18px}",""])},function(t,e){t.exports='<igo-list [navigation]="false" [selection]="false">\r\n  <ng-template ngFor let-layer [ngForOf]="layers">\r\n    <igo-layer-item *ngIf="!(excludeBaseLayers && layer.baseLayer)"\r\n        igoListItem\r\n        [color]="color"\r\n        [layer]="layer"\r\n        [ogcFilterInLayerItem]="ogcFilterInLayerItem"\r\n        [toggleLegendOnVisibilityChange]="toggleLegendOnVisibilityChange">\r\n    </igo-layer-item>\r\n  </ng-template>\r\n\r\n  <ng-content></ng-content>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(1050);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(14),c=o(323);e.LayerListBindingDirective=function(){function t(t,e){this.mapService=e,this.component=t}return t.prototype.ngOnInit=function(){var t=this;this.component.layers=[],this.layers$$=this.mapService.getMap().layers$.subscribe((function(e){return t.component.layers=e}))},t.prototype.ngOnDestroy=function(){this.layers$$.unsubscribe()},t=r([s.Directive({selector:"[igoLayerListBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.LayerListComponent,a.MapService])],t)}()},function(t,e){t.exports='<igo-list [navigation]="true">\r\n    <ng-template ngFor let-catalog [ngForOf]="catalogs">\r\n      <igo-catalog-item\r\n        igoListItem\r\n        color="accent"\r\n        [selected]="selectedCatalog"\r\n        [catalog]="catalog"\r\n        (select)="select.emit(catalog)"\r\n        (unselect)="unselect.emit(catalog)">\r\n      </igo-catalog-item>\r\n    </ng-template>\r\n</igo-list>\r\n'},function(t,e,o){var r=o(1054);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(84),c=o(325);e.CatalogListBindingDirective=function(){function t(t,e){this.catalogService=e,this.component=t}return t.prototype.onSelect=function(t){this.catalogService.selectCatalog(t)},t.prototype.ngOnInit=function(){var t=this;this.catalogs$$=this.catalogService.catalogs$.subscribe((function(e){return t.handleCatalogsChange(e)})),this.catalogService.load()},t.prototype.ngOnDestroy=function(){this.catalogs$$.unsubscribe()},t.prototype.handleCatalogsChange=function(t){this.component.catalogs=t},r([s.HostListener("select",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onSelect",null),t=r([s.Directive({selector:"[igoCatalogListBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.CatalogListComponent,a.CatalogService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.CatalogLayerItemComponent=function(){function t(){this._color="primary"}return Object.defineProperty(t.prototype,"layer",{get:function(){return this._layer},set:function(t){this._layer=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"layer",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"color",null),t=r([n.Component({selector:"igo-catalog-layer-item",template:o(1057),styles:[o(1058)],changeDetection:n.ChangeDetectionStrategy.OnPush}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<mat-list-item>\r\n  <mat-icon mat-list-avatar>layers</mat-icon>\r\n  <h4 mat-line\r\n    [matTooltip]="layer.title"\r\n    matTooltipShowDelay="500">\r\n    {{layer.title}}\r\n  </h4>\r\n</mat-list-item>\r\n'},function(t,e,o){var r=o(1059);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{overflow:hidden}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(14),a=o(328);e.IgoFormModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule,s.IgoMapModule],exports:[a.MapFieldComponent],declarations:[a.MapFieldComponent]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26),a=o(10),c=o(56);e.MapFieldComponent=function(){function t(){this._decimals=6,this._readonly=!1,this.map=new c.IgoMap,this.projection="EPSG:4326",this.onChange=function(){},this.onTouched=function(){}}return e=t,Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decimals",{get:function(){return this._decimals},set:function(t){this._decimals=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){if(this.map.clearOverlay(),void 0!==t){if(!isNaN(+t[0])&&!isNaN(+t[1])){var e=[+t[0],+t[1]];this.addOverlay(e),this._value=[+e[0].toFixed(this.decimals),+e[1].toFixed(this.decimals)],this.onChange(this._value),this.onTouched()}}else this._value=t,this.onChange(this._value)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t,void 0!==this.map&&this.map.setView(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"layers",{get:function(){return this._layers},set:function(t){this._layers=t,this.map.removeLayers(),this.map.addLayers(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.map.ol.on("singleclick",this.handleMapClick,this)},t.prototype.ngOnDestroy=function(){this.map.ol.un("singleclick",this.handleMapClick,this)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){t&&(this.value=t)},t.prototype.handleValueChange=function(t){this.value=this.parseValue(t)},t.prototype.handleMapClick=function(t){this.value=a.proj.transform(t.coordinate,this.map.projection,this.projection)},t.prototype.parseValue=function(t){if(void 0!==t&&""!==t){var e=t.split(",").filter((function(t){return""!==t}));return 2===e.length?[+e[0],+e[1]]:void 0}},t.prototype.addOverlay=function(t){var e=new a.geom.Point(a.proj.transform(t,this.projection,this.map.projection)),o=e.getExtent(),r=new a.Feature({geometry:e});this.map.moveToExtent(o),this.map.addOverlay(r)},r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"placeholder",null),r([n.Input(),i("design:type",Number),i("design:paramtypes",[Number])],t.prototype,"decimals",null),r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"readonly",null),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"value",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"view",null),r([n.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"layers",null),t=e=r([n.Component({selector:"igo-map-field",template:o(1062),styles:[o(1063)],providers:[{provide:s.NG_VALUE_ACCESSOR,useExisting:n.forwardRef((function(){return e})),multi:!0}]}),i("design:paramtypes",[])],t);var e}()},function(t,e){t.exports='<div>\r\n  <mat-form-field>\r\n    <input\r\n      matInput\r\n      [placeholder]="placeholder"\r\n      [readonly]="readonly"\r\n      [ngModel]="value"\r\n      (ngModelChange)="handleValueChange($event)">\r\n  </mat-form-field>\r\n  <igo-map-browser [map]="map" [view]="view"></igo-map-browser>\r\n</div>\r\n'},function(t,e,o){var r=o(1064);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{position:relative;display:block}.igo-map-browser-target,:host{width:100%;height:100%}input,mat-form-field{width:100%}",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(328))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(329),a=o(129);e.IgoImportExportModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[a.ImportExportService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[s.ImportExportComponent,a.DropGeoFileDirective],declarations:[s.ImportExportComponent,a.DropGeoFileDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26),a=o(14),c=o(33),u=o(129);e.ImportExportComponent=function(){function t(t,e,o){this.importExportService=t,this.mapService=e,this.formBuilder=o,this.formats=u.ExportFormat,this.buildForm()}return t.prototype.loadFile=function(t){this.importExportService.import(t,this.inputProj)},t.prototype.handleFormSubmit=function(t){this.importExportService.export(t)},t.prototype.ngOnDestroy=function(){this.layers$$.unsubscribe()},t.prototype.ngOnInit=function(){var t=this;this.layers$$=this.mapService.getMap().layers$.subscribe((function(e){t.layers=e.filter((function(t){return t instanceof c.VectorLayer}))}))},t.prototype.buildForm=function(){this.form=this.formBuilder.group({format:["",[s.Validators.required]],layer:["",[s.Validators.required]]})},t=r([n.Component({selector:"igo-import-export",template:o(1070),styles:[o(1071)]}),i("design:paramtypes",[u.ImportExportService,a.MapService,s.FormBuilder])],t)}()},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(0),c=o(114),u=o(330);e.DropGeoFileDirective=function(t){function e(e){var o=t.call(this)||this;return o.allowed_extensions=["zip","geojson","kml","gml","json"],o.filesDropped.subscribe((function(t){return e.import(t)})),o.filesInvalid.subscribe((function(t){return e.onFilesInvalid(t)})),o}return i(e,t),e=n([a.Directive({selector:"[igoDropGeoFile]"}),s("design:paramtypes",[u.ImportExportService])],e)}(c.DragAndDropDirective)},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExportFormat=o(90).strEnum(["GeoJSON","KML","GML","shapefile"])},function(t,e){t.exports='<mat-tab-group>\r\n\r\n  <mat-tab [label]="\'igo.importExportForm.importTabTitle\' | translate">\r\n    <form class="igo-form">\r\n      <div class="igo-input-container">\r\n        <mat-form-field>\r\n          <input\r\n            matInput\r\n            placeholder="{{\'igo.importExportForm.importProjPlaceholder\' | translate}}"\r\n            name="inputProj"\r\n            [(ngModel)]="inputProj">\r\n        </mat-form-field>\r\n      </div>\r\n\r\n      <div class="igo-form-button-group">\r\n        <button mat-raised-button type="button" (click)="inputFile.click()">\r\n          {{\'igo.importExportForm.importButton\' | translate}}\r\n        </button>\r\n        <input #inputFile type="file" [style.display]="\'none\'" (change)="loadFile($event.target.files)">\r\n      </div>\r\n    </form>\r\n  </mat-tab>\r\n\r\n  <mat-tab [label]="\'igo.importExportForm.exportTabTitle\' | translate">\r\n    <form class="igo-form" [formGroup]="form">\r\n\r\n      <div class="igo-input-container">\r\n        <mat-form-field>\r\n          <mat-select\r\n            formControlName="layer"\r\n            placeholder="{{\'igo.importExportForm.exportLayerPlaceholder\' | translate}}">\r\n            <mat-option *ngFor="let layer of layers" [value]="layer.id">\r\n              {{layer.title}}\r\n            </mat-option>\r\n          </mat-select>\r\n        </mat-form-field>\r\n      </div>\r\n\r\n      <div class="igo-input-container">\r\n        <mat-form-field>\r\n          <mat-select\r\n            formControlName="format"\r\n            placeholder="{{\'igo.importExportForm.exportFormatPlaceholder\' | translate}}">\r\n            <mat-option *ngFor="let format of formats | keyvalue " [value]="format.key">\r\n              {{format.value}}\r\n            </mat-option>\r\n          </mat-select>\r\n        </mat-form-field>\r\n      </div>\r\n\r\n      <div class="igo-form-button-group">\r\n        <button\r\n          mat-raised-button\r\n          type="button"\r\n          [disabled]="!form.valid"\r\n          (click)="handleFormSubmit(form.value)">\r\n          {{\'igo.importExportForm.exportButton\' | translate}}\r\n        </button>\r\n      </div>\r\n\r\n    </form>\r\n  </mat-tab>\r\n\r\n</mat-tab-group>\r\n'},function(t,e,o){var r=o(1072);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"mat-form-field{width:100%}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(331);e.IgoOverlayModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.OverlayService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[s.OverlayDirective],declarations:[s.OverlayDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(10),c=o(14),u=o(22),p=o(332);e.OverlayDirective=function(){function t(t,e){this.component=t,this.overlayService=e,this.format=new a.format.GeoJSON}return Object.defineProperty(t.prototype,"map",{get:function(){return this.component.map},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.features$$=this.overlayService.features$.subscribe((function(e){return t.handleFeatures(e[0],e[1])}))},t.prototype.ngOnDestroy=function(){this.features$$.unsubscribe()},t.prototype.handleFeatures=function(t,e){var o=this;if(this.map.clearOverlay(),t&&0!==t.length){var r,i,n=a.extent.createEmpty();t.forEach((function(t){var e=o.format.readFeature(t,{dataProjection:t.projection,featureProjection:o.map.projection});i=e.getGeometry(),r=o.getFeatureExtent(t),a.extent.isEmpty(r)&&null!==i&&(r=i.getExtent()),a.extent.extend(n,r),o.map.addOverlay(e)}),this),t[0].sourceType===u.SourceFeatureType.Click&&(e=a.extent.intersects(r,this.map.getExtent())?"none":"move"),a.extent.isEmpty(r)||("zoom"===e?this.map.zoomToExtent(n):"move"===e&&this.map.moveToExtent(n))}},t.prototype.getFeatureExtent=function(t){var e=a.extent.createEmpty();return t.extent&&t.projection&&(e=a.proj.transformExtent(t.extent,t.projection,this.map.projection)),e},t=r([s.Directive({selector:"[igoOverlay]"}),n(0,s.Self()),i("design:paramtypes",[c.MapBrowserComponent,p.OverlayService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(334),a=o(337),c=o(86);e.IgoPrintModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[c.PrintService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[s.PrintComponent,s.PrintBindingDirective,a.PrintFormComponent],declarations:[s.PrintComponent,s.PrintBindingDirective,a.PrintFormComponent]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(63),a=o(19),c=o(6),u=o(336);e.PrintService=function(){function t(t,e){this.messageService=t,this.activityService=e}return t.prototype.print=function(t,e){var o=this,r=new s.Subject,i=e.format,n=+e.resolution,c=e.orientation===u.PrintOrientation.portrait?u.PrintDimension[i]:u.PrintDimension[i].slice().reverse(),p=[20,10,20,10],l=[c[0]-p[3]-p[1],c[1]-p[0]-p[2]],h=this.activityService.register(),d=new jsPDF(e.orientation,void 0,i);return void 0!==e.title&&this.addTitle(d,e.title,c[0]),this.addMap(d,t,n,l,p).subscribe((function(t){t===a.SubjectStatus.Done&&d.save("map.pdf"),t!==a.SubjectStatus.Done&&t!==a.SubjectStatus.Error||(o.activityService.unregister(h),r.next(a.SubjectStatus.Done))})),r},t.prototype.addTitle=function(t,e,o){var r,i=812.8/96*e.length;r=i>o?0:(o-i)/2,t.setFont("courier"),t.setFontSize(32),t.text(r,15,e)},t.prototype.addCanvas=function(t,e,o,r){var i;try{i=e.toDataURL("image/jpeg")}catch(t){throw this.messageService.error("Security error: This map cannot be printed.","Print","print"),new Error(t)}void 0!==i&&(t.addImage(i,"JPEG",r[3],r[0],o[0],o[1]),t.rect(r[3],r[0],o[0],o[1]))},t.prototype.addMap=function(t,e,o,r,i){var n,c=this,u=new s.Subject,p=e.ol.getSize(),l=e.ol.getView().calculateExtent(p),h=Math.round(r[0]*o/25.4),d=Math.round(r[1]*o/25.4);return e.ol.once("postcompose",(function(o){var s=o.context.canvas,h=e.status$.subscribe((function(o){if(clearTimeout(n),o===a.SubjectStatus.Done){h.unsubscribe();var d=a.SubjectStatus.Done;try{c.addCanvas(t,s,r,i)}catch(t){d=a.SubjectStatus.Error}c.renderMap(e,p,l),u.next(d)}}));n=window.setTimeout((function(){h.unsubscribe();var o=a.SubjectStatus.Done;try{c.addCanvas(t,s,r,i)}catch(t){o=a.SubjectStatus.Error}c.renderMap(e,p,l),u.next(o)}),200)})),this.renderMap(e,[h,d],l),u},t.prototype.renderMap=function(t,e,o){t.ol.setSize(e),t.ol.getView().fit(o),t.ol.renderSync()},t=r([n.Injectable(),i("design:paramtypes",[c.MessageService,c.ActivityService])],t)}()},function(t,e){t.exports='<igo-print-form\r\n  [format]="format"\r\n  [orientation]="orientation"\r\n  [resolution]="resolution"\r\n  [disabled]="disabled"\r\n  (submit)="handleFormSubmit($event)">    \r\n</igo-print-form>\r\n'},function(t,e,o){var r=o(1079);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(14),c=o(335);e.PrintBindingDirective=function(){function t(t,e){this.mapService=e,this.component=t}return t.prototype.ngOnInit=function(){this.component.map=this.mapService.getMap()},t=r([s.Directive({selector:"[igoPrintBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.PrintComponent,a.MapService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(26),a=o(86);e.PrintFormComponent=function(){function t(t){this.formBuilder=t,this.formats=a.PrintFormat,this.orientations=a.PrintOrientation,this.resolutions=a.PrintResolution,this._disabled=!1,this.submit=new n.EventEmitter,this.form=this.formBuilder.group({title:["",[]],format:["",[s.Validators.required]],resolution:["",[s.Validators.required]],orientation:["",[s.Validators.required]]})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"format",{get:function(){return this.formatField.value},set:function(t){this.formatField.setValue(t||a.PrintFormat.Letter,{onlySelf:!0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.orientationField.value},set:function(t){this.orientationField.setValue(t||a.PrintOrientation.landscape,{onlySelf:!0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolution",{get:function(){return this.resolutionField.value},set:function(t){this.resolutionField.setValue(t||a.PrintResolution[96],{onlySelf:!0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.titleField.value},set:function(t){this.titleField.setValue(t,{onlySelf:!0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formatField",{get:function(){return this.form.controls.format},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientationField",{get:function(){return this.form.controls.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolutionField",{get:function(){return this.form.controls.resolution},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titleField",{get:function(){return this.form.controls.title},enumerable:!0,configurable:!0}),t.prototype.handleFormSubmit=function(t,e){this.submitted=!0,e&&this.submit.emit(t)},r([n.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"disabled",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"format",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"orientation",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"resolution",null),r([n.Input(),i("design:type",String),i("design:paramtypes",[String])],t.prototype,"title",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"submit",void 0),t=r([n.Component({selector:"igo-print-form",template:o(1082),styles:[o(1083)]}),i("design:paramtypes",[s.FormBuilder])],t)}()},function(t,e){t.exports='<form class="igo-form" [formGroup]="form">\r\n\r\n  <div class="igo-input-container">\r\n    <mat-form-field>\r\n      <input\r\n        matInput\r\n        formControlName="title"\r\n        placeholder="{{\'igo.printForm.title\' | translate}}">\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <div class="igo-input-container">\r\n    <mat-form-field>\r\n      <mat-select\r\n        formControlName="format"\r\n        placeholder="{{\'igo.printForm.format\' | translate}}">\r\n        <mat-option *ngFor="let format of formats | keyvalue " [value]="format.key">\r\n          {{format.value}}\r\n        </mat-option>\r\n      </mat-select>\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <div class="igo-input-container">\r\n    <mat-form-field>\r\n      <mat-select\r\n        formControlName="resolution"\r\n        placeholder="{{\'igo.printForm.resolution\' | translate}}">\r\n        <mat-option *ngFor="let resolution of resolutions | keyvalue " [value]="resolution.key">\r\n          {{resolution.value + \' PPI\'}}\r\n        </mat-option>\r\n      </mat-select>\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <div class="igo-input-container">\r\n    <mat-radio-group formControlName="orientation" class="horizontal">\r\n      <mat-radio-button *ngFor="let orientation of orientations | keyvalue " [value]="orientation.key">\r\n        {{(\'igo.printForm.\' + orientation.value) | translate}}\r\n      </mat-radio-button>\r\n    </mat-radio-group>\r\n  </div>\r\n\r\n  <div class="igo-form-button-group">\r\n    <button\r\n      mat-raised-button\r\n      type="button"\r\n      [disabled]="!form.valid || disabled"\r\n      (click)="handleFormSubmit(form.value, form.valid)">\r\n      {{\'igo.printForm.printBtn\' | translate}}\r\n    </button>\r\n  </div>\r\n\r\n</form>\r\n'},function(t,e,o){var r=o(1084);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"mat-form-field{width:100%}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(131),a=o(340);e.IgoSearchModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.provideSearchSourceService(),s.SearchService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[a.SearchBarComponent,a.SearchUrlParamDirective],declarations:[a.SearchBarComponent,a.SearchUrlParamDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(22),a=o(339);e.SearchService=function(){function t(t,e){this.searchSourceService=t,this.featureService=e}return t.prototype.locate=function(t,e){var o=this;return void 0===e&&(e=18),this.searchSourceService.sources.filter((function(t){return t.enabled})).map((function(r){return o.locateSource(r,t,e)}))},t.prototype.search=function(t){var e=this;if(t&&""!==t)return this.searchSourceService.sources.filter((function(t){return t.enabled})).map((function(o){return e.searchSource(o,t)}));this.featureService.clear()},t.prototype.locateSource=function(t,e,o){return t.locate(e,o)},t.prototype.searchSource=function(t,e){return t.search(e)},t=r([n.Injectable(),i("design:paramtypes",[a.SearchSourceService,s.FeatureService])],t)}()},function(t,e){t.exports='<mat-form-field [floatLabel]="floatLabel">\r\n  <input\r\n    #input\r\n    matInput\r\n    autocomplete="off"\r\n    [ngClass]="{\'hasSearchIcon\': searchIcon}"\r\n    [disabled]="disabled"\r\n    [placeholder]="placeholder"\r\n    [ngModel]="term"\r\n    (keyup)="keyup($event)"\r\n    (touchend)="keyup($event)">\r\n</mat-form-field>\r\n\r\n<div class="searchButtonDiv">\r\n  <button\r\n    mat-icon-button\r\n    [color]="color"\r\n    *ngIf="searchIcon">\r\n    <mat-icon>search</mat-icon>\r\n  </button>\r\n\r\n  <button\r\n    mat-icon-button\r\n    [color]="color"\r\n    (click)="clear()"\r\n    *ngIf="term.length > 0 ? true : false">\r\n    <mat-icon>clear</mat-icon>\r\n  </button>\r\n</div>\r\n'},function(t,e,o){var r=o(1089);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,':host{position:relative;display:block}mat-form-field{width:100%}input{padding-left:10px;padding-right:40px}input.hasSearchIcon{padding-right:80px}.searchButtonDiv{position:absolute;right:0;top:0}.searchButtonDiv>button:nth-child(2):before{content:"";position:absolute;left:0;top:5px;border-right:1px solid #ddd;height:28px}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(6),c=o(341);e.SearchUrlParamDirective=function(){function t(t,e,o){this.component=t,this.ref=e,this.route=o}return t.prototype.ngOnInit=function(){var t=this;this.route&&this.route.options.searchKey&&this.route.queryParams.subscribe((function(e){var o=e[t.route.options.searchKey];o&&(t.component.setTerm(o),t.ref.detectChanges())}))},t=r([s.Directive({selector:"[igoSearchUrlParam]"}),n(0,s.Self()),n(2,s.Optional()),i("design:paramtypes",[c.SearchBarComponent,s.ChangeDetectorRef,a.RouteService])],t)}()},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(35)),r(o(1092)),r(o(342)),r(o(343)),r(o(345)),r(o(344))},function(t,e,o){"use strict";function r(t,e){return new d.TgosSearchSource(t,e)}function i(t,e){return new p.NominatimSearchSource(t,e)}function n(t,e){return new l.IChercheSearchSource(t,e)}function s(t,e,o){return new h.DataSourceSearchSource(t,e,o)}Object.defineProperty(e,"__esModule",{value:!0});var a=o(11),c=o(6),u=o(35),p=o(342),l=o(343),h=o(344),d=o(345);e.tgosSearchSourceFactory=r,e.provideTgosSearchSource=function(){return{provide:u.SearchSource,useFactory:r,multi:!0,deps:[a.HttpClient,c.ConfigService]}},e.nominatimSearchSourcesFactory=i,e.provideNominatimSearchSource=function(){return{provide:u.SearchSource,useFactory:i,multi:!0,deps:[a.HttpClient,c.ConfigService]}},e.ichercheSearchSourcesFactory=n,e.provideIChercheSearchSource=function(){return{provide:u.SearchSource,useFactory:n,multi:!0,deps:[a.HttpClient,c.ConfigService]}},e.dataSourceSearchSourcesFactory=s,e.provideDataSourceSearchSource=function(){return{provide:u.SearchSource,useFactory:s,multi:!0,deps:[a.HttpClient,c.ConfigService,c.LanguageService]}}},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(346),a=o(133);e.IgoShareMapModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[a.ShareMapService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule],exports:[s.ShareMapComponent,s.ShareMapBindingDirective],declarations:[s.ShareMapComponent,s.ShareMapBindingDirective]})],t);var e}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(6),c=o(115);e.ShareMapService=function(){function t(t,e,o,r){this.config=t,this.contextService=e,this.messageService=o,this.route=r,this.urlApi=this.config.getConfig("context.url")}return t.prototype.getUrl=function(t,e){return this.urlApi?this.getUrlWithApi(t,e):this.getUrlWithoutApi(t)},t.prototype.getUrlWithApi=function(t,e){var o=this,r=this.contextService.getContextFromMap(t);return r.scope="public",r.title=e.title,r.uri=e.uri,this.contextService.create(r).subscribe((function(t){}),(function(t){t.error.title="Share Map",o.messageService.showError(t)})),location.origin+location.pathname+"?context="+e.uri},t.prototype.getUrlWithoutApi=function(t){if(this.route&&this.route.options.visibleOnLayersKey&&this.route.options.visibleOffLayersKey&&t.getZoom()){var e=this.route.options.visibleOnLayersKey,o=this.route.options.visibleOffLayersKey,r=t.layers,i=r.filter((function(t){return t.visible})),n=r.filter((function(t){return!t.visible})),s="",a=[];i.length>n.length?(s=e+"=*&"+o+"=",a=n):(s=o+"=*&"+e+"=",a=i);for(var c=0,u=a;c<u.length;c++){var p=u[c];p.id&&(s+=p.id+",")}s=s.substr(0,s.length-1);var l="zoom="+t.getZoom(),h="center="+(t.getCenter("EPSG:4326")||[]).toString(),d="";return this.contextService.context$.value&&(d="context="+this.contextService.context$.value.uri),location.origin+location.pathname+"?"+d+"&"+l+"&"+h+"&"+s}},t=r([s.Injectable(),n(3,s.Optional()),i("design:paramtypes",[a.ConfigService,c.ContextService,a.MessageService,a.RouteService])],t)}()},function(t,e){t.exports='<form class="igo-form" [formGroup]="form"\r\n  (ngSubmit)="resetUrl(form.value)">\r\n\r\n  <div *ngIf="hasApi" class="igo-input-container">\r\n    <mat-form-field>\r\n      <input matInput required\r\n             [placeholder]="\'igo.context.form.title\' | translate"\r\n             formControlName="title">\r\n     <mat-error>\r\n      {{ \'igo.context.form.titleRequired\' | translate }}\r\n     </mat-error>\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <div *ngIf="hasApi" id="uriInput" class="igo-input-container">\r\n    <mat-form-field>\r\n      <span *ngIf="userId" class="prefix">{{userId}}-</span>\r\n      <span class="fieldWrapper">\r\n        <input matInput required\r\n             [readonly]="!userId"\r\n             [placeholder]="\'igo.context.form.uri\' | translate"\r\n             formControlName="uri">\r\n       </span>\r\n     <mat-error>\r\n      {{ \'igo.context.form.uriRequired\' | translate }}\r\n     </mat-error>\r\n    </mat-form-field>\r\n  </div>\r\n\r\n  <div *ngIf="hasShareMapButton" class="igo-form-button-group">\r\n    <button\r\n      mat-raised-button\r\n      type="submit"\r\n      [disabled]="!form.valid">\r\n      {{ \'igo.shareMap.button\' | translate }}\r\n    </button>\r\n  </div>\r\n\r\n</form>\r\n\r\n<div *ngIf="url" class="igo-input-container linkToShare">\r\n  <mat-form-field>\r\n    <textarea #textArea matInput readonly rows="1"\r\n      [placeholder]="\'igo.shareMap.placeholderLink\' | translate"\r\n      [value]="url"></textarea>\r\n    <button\r\n      mat-icon-button\r\n      tooltip-position="below"\r\n      matTooltipShowDelay="500"\r\n      [matTooltip]="\'igo.shareMap.copy\' | translate"\r\n      color="primary"\r\n      (click)="copyTextToClipboard(textArea)">\r\n      <mat-icon>content_copy</mat-icon>\r\n    </button>\r\n  </mat-form-field>\r\n\r\n  <div *ngIf="hasCopyLinkButton" class="igo-form-button-group">\r\n    <button\r\n      mat-raised-button\r\n      (click)="copyTextToClipboard(textArea)">\r\n      <mat-icon>content_copy</mat-icon>\r\n      {{ \'igo.shareMap.copy\' | translate }}\r\n    </button>\r\n  </div>\r\n\r\n</div>\r\n'},function(t,e,o){var r=o(1097);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"mat-form-field{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}.linkToShare{padding:25px 5px 5px}.linkToShare textarea{resize:none;width:calc(100% - 60px);line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare mat-form-field>button{float:right;margin:-10px 0}",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},n=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=o(14),c=o(347);e.ShareMapBindingDirective=function(){function t(t,e){this.mapService=e,this.component=t}return t.prototype.ngOnInit=function(){this.component.map=this.mapService.getMap()},t=r([s.Directive({selector:"[igoShareMapBinding]"}),n(0,s.Self()),i("design:paramtypes",[c.ShareMapComponent,a.MapService])],t)}()},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0);e.ToolbarItemComponent=function(){function t(){this._withTitle=!0,this._withIcon=!0,this.select=new n.EventEmitter}return Object.defineProperty(t.prototype,"tool",{get:function(){return this._tool},set:function(t){this._tool=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"withTitle",{get:function(){return this._withTitle},set:function(t){this._withTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"withIcon",{get:function(){return this._withIcon},set:function(t){this._withIcon=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltip",{get:function(){return this._tooltip},set:function(t){this._tooltip=t},enumerable:!0,configurable:!0}),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"tool",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"withTitle",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"withIcon",null),r([n.Input(),i("design:type",Object),i("design:paramtypes",[String])],t.prototype,"tooltip",null),r([n.Output(),i("design:type",n.EventEmitter)],t.prototype,"select",void 0),t=r([n.Component({selector:"igo-toolbar-item",template:o(1100),styles:[o(1101)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<mat-list-item\r\n  tooltip-position="below"\r\n  matTooltipShowDelay="500"\r\n  [matTooltip]="tool.tooltip | translate"\r\n  (select)="select.emit(tool)">\r\n\r\n  <mat-icon *ngIf="withIcon && !tool.iconImage"\r\n    mat-list-avatar\r\n    tooltip-position="below"\r\n    matTooltipClass="toolbarItemTooltip"\r\n    matTooltipShowDelay="500"\r\n    [matTooltip]="tool.tooltip ? \'\' : (tool.title | translate)">\r\n      {{tool.icon}}\r\n  </mat-icon>\r\n\r\n  <button *ngIf="withIcon && tool.iconImage"\r\n    mat-list-avatar\r\n    mat-icon-button\r\n    igoStopPropagation\r\n    [matTooltip]="tool.tooltip ? \'\' : (tool.title | translate)"\r\n    matTooltipClass="toolbarItemTooltip"\r\n    matTooltipShowDelay="500">\r\n\r\n    <img [src]="tool.iconImage">\r\n  </button>\r\n\r\n  <h4 *ngIf="withTitle" matLine>{{tool.title | translate}}</h4>\r\n\r\n</mat-list-item>\r\n'},function(t,e,o){var r=o(1102);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(21),a=o(39),c=o(13),u=o(351);e.ToolboxComponent=function(){function t(t,e,o){this.resolver=t,this.cdRef=e,this.toolService=o,this._animate=!1,this._toolState="center",this.depth=0,this.viewInitialized=!1,this.animating$=new s.BehaviorSubject(!1)}return Object.defineProperty(t.prototype,"animate",{get:function(){return this._animate},set:function(t){this._animate=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toolState",{get:function(){return this.animate?this._toolState:"none"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.toolHistory$$=this.toolService.toolHistory$.pipe(a.distinctUntilChanged()).subscribe((function(e){t.animate?t.subscribeToAnimation((function(){return t.handleToolHistoryChange(e)})):t.handleToolHistoryChange(e)}))},t.prototype.ngOnDestroy=function(){this.toolHistory$$.unsubscribe(),this.viewInitialized=!1,this.destroyComponent()},t.prototype.ngAfterViewInit=function(){this.viewInitialized=!0,this.createComponent(this.selectedTool)},t.prototype.animationStart=function(t){this.animating$.next(!0)},t.prototype.animationDone=function(t){this.animating$.next(!1)},t.prototype.subscribeToAnimation=function(t){var e=this;this.unsubscribeToAnimation(),this.animating$$=this.animating$.subscribe((function(o){o||(t.call(e),e.unsubscribeToAnimation())}))},t.prototype.unsubscribeToAnimation=function(){this.animating$$&&this.animating$$.unsubscribe()},t.prototype.handleToolHistoryChange=function(t){var e=t.length;this._toolState=e>=this.depth?"right":"left",this.depth=e,this.selectTool(t[e-1])},t.prototype.selectTool=function(t){this.viewInitialized&&(t?this.createComponent(t):this.destroyComponent()),this.selectedTool=t,this._toolState="center"},t.prototype.createComponent=function(t){var e=this.selectedTool;if(this.viewInitialized&&t)if(this.component&&e&&e.name===t.name)this.setOptions(t.options);else{var o=this.toolService.getToolClass(t.name);if(void 0!==o){this.destroyComponent();var r=this.resolver.resolveComponentFactory(o),i=this.target.createComponent(r);this.component=i,this.setOptions(t.options),this.cdRef.detectChanges()}}},t.prototype.destroyComponent=function(){void 0!==this.component&&this.component.destroy()},t.prototype.setOptions=function(t){void 0!==this.component&&this.component.instance.hasOwnProperty("options")&&(this.component.instance.options=t||{})},r([n.ViewChild("target",{read:n.ViewContainerRef}),i("design:type",n.ViewContainerRef)],t.prototype,"target",void 0),r([n.Input(),i("design:type",Object),i("design:paramtypes",[Boolean])],t.prototype,"animate",null),t=r([n.Component({selector:"igo-toolbox",template:o(1104),styles:[o(1105)],animations:[u.toolSlideInOut()]}),i("design:paramtypes",[n.ComponentFactoryResolver,n.ChangeDetectorRef,c.ToolService])],t)}()},function(t,e){t.exports='<div\r\n  [@toolSlideInOut]="toolState"\r\n  (@toolSlideInOut.start)="animationStart($event)"\r\n  (@toolSlideInOut.done)="animationDone($event)">\r\n  <ng-template #target></ng-template>\r\n</div>\r\n'},function(t,e,o){var r=o(1106);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,":host{display:block;overflow:hidden;width:100%}",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1108))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.ContextManagerToolComponent=function(){function t(t){this.toolService=t}return t.prototype.editContext=function(){var t=this.toolService.getTool("contextEditor");t&&this.toolService.selectTool(t)},t.prototype.manageTools=function(){var t=this.toolService.getTool("toolsContextManager");t&&this.toolService.selectTool(t)},t.prototype.managePermissions=function(){var t=this.toolService.getTool("permissionsContextManager");t&&this.toolService.selectTool(t)},t=r([s.Register({name:"contextManager",title:"igo.contexts",icon:"bookmark"}),n.Component({selector:"igo-context-manager-tool",template:o(1109),styles:[o(1110)]}),i("design:paramtypes",[s.ToolService])],t)}()},function(t,e){t.exports='<igo-context-list\r\n  igoContextListBinding\r\n  (edit)="editContext()"\r\n  (manageTools)="manageTools()"\r\n  (managePermissions)="managePermissions()">\r\n</igo-context-list>\r\n'},function(t,e,o){var r=o(1111);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1113))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.ContextEditorToolComponent=function(){function t(){}return t=r([s.Register({name:"contextEditor",title:"igo.contexts",icon:"settings"}),n.Component({selector:"igo-context-editor-tool",template:o(1114),styles:[o(1115)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-context-edit igoContextEditBinding></igo-context-edit>\r\n"},function(t,e,o){var r=o(1116);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1118))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.CatalogToolComponent=function(){function t(t){this.toolService=t}return t.prototype.handleFeatureSelect=function(){var t=this.toolService.getTool("catalogLayers");t&&this.toolService.selectTool(t)},t=r([s.Register({name:"catalog",title:"igo.catalog",icon:"photo_library"}),n.Component({selector:"igo-catalog-tool",template:o(1119),styles:[o(1120)]}),i("design:paramtypes",[s.ToolService])],t)}()},function(t,e){t.exports='<igo-catalog-list\r\n  igoCatalogListBinding\r\n  (select)="handleFeatureSelect()">\r\n</igo-catalog-list>\r\n'},function(t,e,o){var r=o(1121);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1123))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.CatalogLayersToolComponent=function(){function t(){}return t=r([s.Register({name:"catalogLayers",title:"igo.catalog",icon:"photo_library"}),n.Component({selector:"igo-catalog-layers-tool",template:o(1124),styles:[o(1125)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-catalog-layers-list igoCatalogLayersListBinding>\r\n</igo-catalog-layers-list>\r\n"},function(t,e,o){var r=o(1126);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1128))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.ImportExportToolComponent=function(){function t(){}return t=r([s.Register({name:"importExport",title:"igo.importExport",icon:"import_export"}),n.Component({selector:"igo-import-export-tool",template:o(1129),styles:[o(1130)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-import-export></igo-import-export>\r\n"},function(t,e,o){var r=o(1131);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1133))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.ToolsContextManagerToolComponent=function(){function t(){}return t=r([s.Register({name:"toolsContextManager",title:"igo.contexts",icon:"settings"}),n.Component({selector:"igo-tools-context-manager-tool",template:o(1134),styles:[o(1135)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-context-tools igoContextToolsBinding></igo-context-tools>\r\n"},function(t,e,o){var r=o(1136);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1138))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.PermissionsContextManagerToolComponent=function(){function t(){}return t=r([s.Register({name:"permissionsContextManager",title:"igo.contexts",icon:"settings"}),n.Component({selector:"igo-permissions-context-manager-tool",template:o(1139),styles:[o(1140)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\r\n"},function(t,e,o){var r=o(1141);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1143))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.MapDetailsToolComponent=function(){function t(){this.options={}}return Object.defineProperty(t.prototype,"toggleLegendOnVisibilityChange",{get:function(){return void 0!==this.options.toggleLegendOnVisibilityChange&&this.options.toggleLegendOnVisibilityChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"excludeBaseLayers",{get:function(){return void 0!==this.options.excludeBaseLayers&&this.options.excludeBaseLayers},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ogcFilterInLayerItem",{get:function(){return void 0===this.options.ogcFiltersInLayers||this.options.ogcFiltersInLayers},enumerable:!0,configurable:!0}),t=r([s.Register({name:"mapDetails",title:"igo.map",icon:"map"}),n.Component({selector:"igo-map-details-tool",template:o(1144),styles:[o(1145)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<igo-layer-list\r\n  igoLayerListBinding\r\n  [excludeBaseLayers]="excludeBaseLayers"\r\n  [ogcFilterInLayerItem]="ogcFilterInLayerItem"\r\n  [toggleLegendOnVisibilityChange]="toggleLegendOnVisibilityChange">\r\n</igo-layer-list>\r\n'},function(t,e,o){var r=o(1146);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1148))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.PrintToolComponent=function(){function t(){}return t=r([s.Register({name:"print",title:"igo.print",icon:"print"}),n.Component({selector:"igo-print-tool",template:o(1149),styles:[o(1150)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-print igoPrintBinding></igo-print>\r\n"},function(t,e,o){var r=o(1151);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1153))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(22),a=o(130),c=o(37),u=o(58),p=o(14),l=o(13);e.SearchResultsToolComponent=function(){function t(t,e,o,r){this.overlayService=t,this.mapService=e,this.layerService=o,this.dataSourceService=r}return t.prototype.handleFeatureFocus=function(t){t.type===s.FeatureType.Feature&&this.overlayService.setFeatures([t],"move")},t.prototype.handleFeatureSelect=function(t){var e=this;if(t.type===s.FeatureType.Feature)this.overlayService.setFeatures([t],"zoom");else if(t.type===s.FeatureType.DataSource){var o=this.mapService.getMap();void 0!==o&&this.dataSourceService.createAsyncDataSource(t.layer).subscribe((function(r){o.addLayer(e.layerService.createLayer(r,t.layer))}))}},t=r([l.Register({name:"searchResults",title:"igo.searchResults",icon:"search"}),n.Component({selector:"igo-search-results-tool",template:o(1154),styles:[o(1155)]}),i("design:paramtypes",[a.OverlayService,p.MapService,u.LayerService,c.DataSourceService])],t)}()},function(t,e){t.exports='<igo-feature-list\r\n  igoFeatureListBinding\r\n  [focusFirst]="true"\r\n  (focus)="handleFeatureFocus($event)"\r\n  (select)="handleFeatureSelect($event)">\r\n</igo-feature-list>\r\n'},function(t,e,o){var r=o(1156);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1158))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.ShareMapToolComponent=function(){function t(){this.options={}}return Object.defineProperty(t.prototype,"hasCopyLinkButton",{get:function(){return void 0!==this.options.hasCopyLinkButton&&this.options.hasCopyLinkButton},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasShareMapButton",{get:function(){return void 0!==this.options.hasShareMapButton&&this.options.hasShareMapButton},enumerable:!0,configurable:!0}),t=r([s.Register({name:"shareMap",title:"igo.shareMap.share",icon:"share"}),n.Component({selector:"igo-share-map-tool",template:o(1159),styles:[o(1160)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports='<igo-share-map\r\n  igoShareMapBinding\r\n  [hasCopyLinkButton]="hasCopyLinkButton"\r\n  [hasShareMapButton]="hasShareMapButton"\r\n></igo-share-map>\r\n'},function(t,e,o){var r=o(1161);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1163))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.TimeAnalysisToolComponent=function(){function t(){}return t=r([s.Register({name:"timeAnalysis",title:"igo.timeAnalysis",icon:"history"}),n.Component({selector:"igo-time-analysis-tool",template:o(1164),styles:[o(1165)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\r\n"},function(t,e,o){var r=o(1166);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1168))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13);e.OgcFilterToolComponent=function(){function t(){}return t=r([s.Register({name:"ogcFilter",title:"igo.ogcFilter",icon:"filter_list"}),n.Component({selector:"igo-ogc-filter-tool",template:o(1169),styles:[o(1170)]}),i("design:paramtypes",[])],t)}()},function(t,e){t.exports="<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\r\n\r\n\r\n"},function(t,e,o){var r=o(1171);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(1173))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13),a=o(57);e.FeatureDetailToolComponent=function(){function t(t){this.featureService=t}return t=r([s.Register({name:"featureDetails",title:"igo.featureDetails",icon:"description"}),n.Component({selector:"igo-feature-detail-tool",template:o(1174),styles:[o(1175)]}),i("design:paramtypes",[a.FeatureService])],t)}()},function(t,e){t.exports='<igo-feature-details\r\n  [feature]="featureService.focusedFeature$ | async">\r\n\r\n</igo-feature-details>\r\n'},function(t,e,o){var r=o(1176);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,"",""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),s=o(13),a=o(29),c=o(354),u=o(2);e.HomePageComponent=function(){function t(t,e){var o=this;this.config=t,this.etlOutsideService=e,this.options={},this.phases=this.config.getConfig("homePage.phases")||{},this.etlOutsideService.getEtloutsideInfoEndTime().subscribe((function(t){return o.date=u(t[0].endtime).format("YYYY/MM/DD")}))}return t.prototype.ngOnInit=function(){},t=r([s.Register({name:"homePage",title:"igo.homePage",icon:"home"}),n.Component({selector:"igo-home-page",template:o(1180),styles:[o(1181)]}),i("design:paramtypes",[a.ConfigService,c.EtloutsideInfoService])],t)}()},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,o){function r(t){return o(i(t))}function i(t){var e=n[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var n={"./af":355,"./af.js":355,"./ar":356,"./ar-dz":357,"./ar-dz.js":357,"./ar-kw":358,"./ar-kw.js":358,"./ar-ly":359,"./ar-ly.js":359,"./ar-ma":360,"./ar-ma.js":360,"./ar-sa":361,"./ar-sa.js":361,"./ar-tn":362,"./ar-tn.js":362,"./ar.js":356,"./az":363,"./az.js":363,"./be":364,"./be.js":364,"./bg":365,"./bg.js":365,"./bm":366,"./bm.js":366,"./bn":367,"./bn.js":367,"./bo":368,"./bo.js":368,"./br":369,"./br.js":369,"./bs":370,"./bs.js":370,"./ca":371,"./ca.js":371,"./cs":372,"./cs.js":372,"./cv":373,"./cv.js":373,"./cy":374,"./cy.js":374,"./da":375,"./da.js":375,"./de":376,"./de-at":377,"./de-at.js":377,"./de-ch":378,"./de-ch.js":378,"./de.js":376,"./dv":379,"./dv.js":379,"./el":380,"./el.js":380,"./en-SG":381,"./en-SG.js":381,"./en-au":382,"./en-au.js":382,"./en-ca":383,"./en-ca.js":383,"./en-gb":384,"./en-gb.js":384,"./en-ie":385,"./en-ie.js":385,"./en-il":386,"./en-il.js":386,"./en-nz":387,"./en-nz.js":387,"./eo":388,"./eo.js":388,"./es":389,"./es-do":390,"./es-do.js":390,"./es-us":391,"./es-us.js":391,"./es.js":389,"./et":392,"./et.js":392,"./eu":393,"./eu.js":393,"./fa":394,"./fa.js":394,"./fi":395,"./fi.js":395,"./fo":396,"./fo.js":396,"./fr":397,"./fr-ca":398,"./fr-ca.js":398,"./fr-ch":399,"./fr-ch.js":399,"./fr.js":397,"./fy":400,"./fy.js":400,"./ga":401,"./ga.js":401,"./gd":402,"./gd.js":402,"./gl":403,"./gl.js":403,"./gom-latn":404,"./gom-latn.js":404,"./gu":405,"./gu.js":405,"./he":406,"./he.js":406,"./hi":407,"./hi.js":407,"./hr":408,"./hr.js":408,"./hu":409,"./hu.js":409,"./hy-am":410,"./hy-am.js":410,"./id":411,"./id.js":411,"./is":412,"./is.js":412,"./it":413,"./it-ch":414,"./it-ch.js":414,"./it.js":413,"./ja":415,"./ja.js":415,"./jv":416,"./jv.js":416,"./ka":417,"./ka.js":417,"./kk":418,"./kk.js":418,"./km":419,"./km.js":419,"./kn":420,"./kn.js":420,"./ko":421,"./ko.js":421,"./ku":422,"./ku.js":422,"./ky":423,"./ky.js":423,"./lb":424,"./lb.js":424,"./lo":425,"./lo.js":425,"./lt":426,"./lt.js":426,"./lv":427,"./lv.js":427,"./me":428,"./me.js":428,"./mi":429,"./mi.js":429,"./mk":430,"./mk.js":430,"./ml":431,"./ml.js":431,"./mn":432,"./mn.js":432,"./mr":433,"./mr.js":433,"./ms":434,"./ms-my":435,"./ms-my.js":435,"./ms.js":434,"./mt":436,"./mt.js":436,"./my":437,"./my.js":437,"./nb":438,"./nb.js":438,"./ne":439,"./ne.js":439,"./nl":440,"./nl-be":441,"./nl-be.js":441,"./nl.js":440,"./nn":442,"./nn.js":442,"./pa-in":443,"./pa-in.js":443,"./pl":444,"./pl.js":444,"./pt":445,"./pt-br":446,"./pt-br.js":446,"./pt.js":445,"./ro":447,"./ro.js":447,"./ru":448,"./ru.js":448,"./sd":449,"./sd.js":449,"./se":450,"./se.js":450,"./si":451,"./si.js":451,"./sk":452,"./sk.js":452,"./sl":453,"./sl.js":453,"./sq":454,"./sq.js":454,"./sr":455,"./sr-cyrl":456,"./sr-cyrl.js":456,"./sr.js":455,"./ss":457,"./ss.js":457,"./sv":458,"./sv.js":458,"./sw":459,"./sw.js":459,"./ta":460,"./ta.js":460,"./te":461,"./te.js":461,"./tet":462,"./tet.js":462,"./tg":463,"./tg.js":463,"./th":464,"./th.js":464,"./tl-ph":465,"./tl-ph.js":465,"./tlh":466,"./tlh.js":466,"./tr":467,"./tr.js":467,"./tzl":468,"./tzl.js":468,"./tzm":469,"./tzm-latn":470,"./tzm-latn.js":470,"./tzm.js":469,"./ug-cn":471,"./ug-cn.js":471,"./uk":472,"./uk.js":472,"./ur":473,"./ur.js":473,"./uz":474,"./uz-latn":475,"./uz-latn.js":475,"./uz.js":474,"./vi":476,"./vi.js":476,"./x-pseudo":477,"./x-pseudo.js":477,"./yo":478,"./yo.js":478,"./zh-cn":479,"./zh-cn.js":479,"./zh-hk":480,"./zh-hk.js":480,"./zh-tw":481,"./zh-tw.js":481};r.keys=function(){return Object.keys(n)},r.resolve=i,t.exports=r,r.id=1179},function(t,e){t.exports='\r\n<ol>\r\n  <li *ngFor="let phase of phases">\r\n    {{phase}}<p>\r\n  </li>\r\n  <li>最近更新日期：{{date}}</li>\r\n</ol>\r\n'},function(t,e,o){var r=o(1182);t.exports="string"==typeof r?r:r.toString()},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,'ol{counter-reset:item;padding-left:10px}li{display:block}li:before{content:counters(item,".") ". ";counter-increment:item}',""])},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(12),s=o(269),a=o(37),c=o(22),u=o(85),p=o(58),l=o(14),h=o(124),d=o(128),f=o(333),y=o(132),m=o(13),g=o(123),v=o(349),b=o(350),_=o(352),w=o(353),M=o(354),S=[_.ContextManagerToolComponent,_.ContextEditorToolComponent,_.ImportExportToolComponent,_.ToolsContextManagerToolComponent,_.PermissionsContextManagerToolComponent,_.MapDetailsToolComponent,_.CatalogToolComponent,_.CatalogLayersToolComponent,_.SearchResultsToolComponent,_.PrintToolComponent,_.ShareMapToolComponent,_.TimeAnalysisToolComponent,_.OgcFilterToolComponent,_.FeatureDetailToolComponent,w.HomePageComponent];e.IgoToolModule=function(){function t(){}return e=t,t.forRoot=function(){return{ngModule:e,providers:[m.ToolService]}},t=e=r([i.NgModule({imports:[n.IgoSharedModule,s.IgoContextModule,a.IgoDataSourceModule,c.IgoFeatureModule,u.IgoFilterModule,p.IgoLayerModule,l.IgoMapModule,h.IgoCatalogModule,d.IgoImportExportModule,f.IgoPrintModule,y.IgoShareMapModule],exports:[g.ToolbarComponent,g.ToolbarBindingDirective,v.ToolbarItemComponent,b.ToolboxComponent].concat(S),declarations:[g.ToolbarComponent,g.ToolbarBindingDirective,v.ToolbarItemComponent,b.ToolboxComponent].concat(S),providers:[M.EtloutsideInfoService],schemas:[i.CUSTOM_ELEMENTS_SCHEMA],entryComponents:S})],t);var e}()}]);
//# sourceMappingURL=/sm/9118e25e4347f4383a405a1a6e4497f0550488df9c8af514450e17c5c5431f7f.map